← Back to team overview

maas-builds team mailing list archive

Jenkins Failure - trusty-adt-maas-daily 228

 

See http://d-jenkins.ubuntu-ci:8080/job/trusty-adt-maas-daily/228/

[...truncated 4562 lines...]
 > maasserver:0038_nodegroupinterface_ip_range_fix
 > maasserver:0039_add_filestorage_content
 > maasserver:0039_add_nodegroup_to_bootimage
 > maasserver:0040_make_filestorage_data_not_null
 > maasserver:0041_remove_filestorage_data
 > maasserver:0042_fix_039_conflict
 > maasserver:0043_unique_hostname_preparation
 > maasserver:0044_node_hostname_unique
 > maasserver:0045_add_tag_kernel_opts
 > maasserver:0046_add_nodegroup_maas_url
 > maasserver:0047_add_owner_to_filestorage
 > maasserver:0048_add_key_to_filestorage
 > maasserver:0049_filestorage_key_unique
 > maasserver:0050_shared_to_per_tenant_storage
 > maasserver:0051_bigger_distro_series_name
 > maasserver:0052_add_node_storage
 > maasserver:0053_node_routers
 > maasserver:0054_download_progress
 > maasserver:0055_nullable_bytes_downloaded
 > maasserver:0056_netboot_off_for_allocated_nodes
 > maasserver:0057_remove_hardware_details
 > maasserver:0058_add_agent_name_to_node
 > maasserver:0059_dhcp_detection_model
 > maasserver:0060_add_zone_object
 > maasserver:0061_add_ref_from_node_to_zone
 > maasserver:0062_add_vlan_model
 > maasserver:0063_create_default_zone
 > maasserver:0064_set_default_zone
 > maasserver:0065_set_default_zone_as_model_default
 > maasserver:0066_rename_vlan_add_link_node_network
 > maasserver:0067_default_commissioning_trusty
 > maasserver:0068_network_description_textfield
 > maasserver:0069_add_mac_network_relation
 > maasserver:0070_drop_network_node_relation
 > maasserver:0071_drop_after_commissioning_action
 > maasserver:0072_remove_ipmi_autodetect
 > maasserver:0073_add_label_to_bootimage
 > maasserver:0074_boot_images_timestamp
 - Loading initial data for maasserver.
Installed 1 object(s) from 1 fixture(s)
Running migrations for metadataserver:
 - Migrating forwards to 0014_commission_result_rename_data_bin_col.
 > metadataserver:0001_initial
 > metadataserver:0002_add_nodecommissionresult
 > metadataserver:0003_populate_hardware_details
 > metadataserver:0004_add_commissioningscript
 > metadataserver:0005_nodecommissionresult_add_timestamp
 > metadataserver:0006_nodecommissionresult_add_status
 > metadataserver:0007_nodecommissionresult_change_name_size
 > metadataserver:0008_rename_lshw_commissioning_output
 > metadataserver:0009_delete_status
 > metadataserver:0010_add_script_result
 > metadataserver:0011_commission_result_binary_data_col
 > metadataserver:0012_commission_result_binary_data_recode
 > metadataserver:0013_commission_result_drop_old_data_col
 > metadataserver:0014_commission_result_rename_data_bin_col
 - Loading initial data for metadataserver.
Installed 1 object(s) from 1 fixture(s)
 * Restarting web server apache2
   ...done.
squid-deb-proxy stop/waiting
squid-deb-proxy start/running, process 32556
maas-txlongpoll start/running, process 32637
maas-region-celery start/running, process 32715
Setting up python-testtools (0.9.35-0ubuntu1) ...
Setting up python-extras (0.0.3-2ubuntu1) ...
Setting up libnss3-nssdb (2:3.15.4-1ubuntu7) ...
Setting up libnss3:amd64 (2:3.15.4-1ubuntu7) ...
Setting up librados2 (0.79-0ubuntu1) ...
Setting up librbd1 (0.79-0ubuntu1) ...
Setting up tgt (1:1.0.43-0ubuntu4) ...
tgt start/running, process 318
Processing triggers for ureadahead (0.100.0-16) ...
Setting up maas-cluster-controller (1.5+bzr2252+2257+276~ppa0~ubuntu14.04.1) ...
 * Restarting web server apache2
   ...done.
maas-pserv start/running, process 568
maas-cluster-celery start/running, process 602
Processing triggers for ureadahead (0.100.0-16) ...
Setting up maas (1.5+bzr2252+2257+276~ppa0~ubuntu14.04.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
 -> Finished parsing the build-deps
adt-run1: shared downtmp with FIFO supported, showing test output in realtime
adt-run [2014-04-22 20:42:15]: & ubtree0t-maas-package-test: [-----------------------
Ignoring indexes: https://pypi.python.org/simple/
Downloading/unpacking nose-timer
  Running setup.py (path:/tmp/pip_build_root/nose-timer/setup.py) egg_info for package nose-timer
    
Installing collected packages: nose-timer
  Running setup.py install for nose-timer
    
Successfully installed nose-timer
Cleaning up...
maas-integration.TestMAASIntegration.test_create_admin ... ok
maas-integration.TestMAASIntegration.test_restart_dbus_avahi ... SKIP: Avahi/DBUS are not used anymore
maas-integration.TestMAASIntegration.test_update_maas_url ... ok
maas-integration.TestMAASIntegration.test_restart_provisioning_server ... ok
maas-integration.TestMAASIntegration.test_check_initial_services ... ok
maas-integration.TestMAASIntegration.test_update_preseed_arm ... ok
maas-integration.TestMAASIntegration.test_login_api ... FAIL
SKIP: Not testing Cluster controller

======================================================================
FAIL: maas-integration.TestMAASIntegration.test_login_api
----------------------------------------------------------------------
_StringException: Empty attachments:
  ['maas', 'login', 'maas', 'http://192.168.21.5/MAAS/api/1.0/', u'ytbXc46aB2HQUfXxSY:RZWREzy8zayvJtEAE9:d8bgjCpd8GXUeRfHTzyXhtfdvgsWpA9p'] stdout

['maas', 'login', 'maas', 'http://192.168.21.5/MAAS/api/1.0/', u'ytbXc46aB2HQUfXxSY:RZWREzy8zayvJtEAE9:d8bgjCpd8GXUeRfHTzyXhtfdvgsWpA9p'] stderr: {{{
500 Internal Server Error:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at 
 webmaster@localhost to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at 192.168.21.5 Port 80</address>
</body></html>
}}}

Traceback (most recent call last):
  File "/tmp/adt-run.QP7Ree/ubtree0-build/real-tree/debian/tests/maas-integration.py", line 337, in test_login_api
    assertCommandReturnCode(self, cmd, expected_output)
  File "/tmp/adt-run.QP7Ree/ubtree0-build/real-tree/debian/tests/utils.py", line 135, in assertCommandReturnCode
    runner.assertThat(output, Contains(expected_output))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: '\nYou are now logged in to the MAAS server' not in ''


maas-integration.TestMAASIntegration.test_update_preseed_arm: 0.0006s
maas-integration.TestMAASIntegration.test_check_initial_services: 0.0615s
maas-integration.TestMAASIntegration.test_restart_provisioning_server: 0.0975s
maas-integration.TestMAASIntegration.test_create_admin: 0.1248s
maas-integration.TestMAASIntegration.test_login_api: 0.9905s
maas-integration.TestMAASIntegration.test_update_maas_url: 1.2547s
----------------------------------------------------------------------
Ran 7 tests in 2.546s

FAILED (SKIP=2, failures=1)
adt-run1: testbed executing test finished with exit status 1
adt-run [2014-04-22 20:42:22]: & ubtree0t-maas-package-test: -----------------------]
ubtree0t-maas-package-test FAIL non-zero exit status 1
adt-run: & ubtree0t-maas-package-test:  - - - - - - - - - - results - - - - - - - - - -
adt-run1: ** needs_reset, previously=False, requested by run_tests() line 1213
adt-run1: ** needs_reset, previously=True, requested by process_actions() line 2216
adt-run: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ tests done.
adt-run1: ** stop
adt-run1: ** close, scratch=/tmp/adt-run.QP7Ree
+ RC=4
+ [ 4 -eq 20 ]
+ [ 0 -eq 1 ]
+ [ -x /home/ubuntu/adt-export-result ]
+ RES=PASS
+ [ 4 -gt 0 ]
+ RES=FAIL
+ /home/ubuntu/adt-export-result -D /root/adt-log maas FAIL
+ chown -R ubuntu /root/adt-log /var/tmp/testresults
+ chmod og+r /var/log/syslog
+ ls /var/crash/
+ [ -n  ]
+ exit 4
Connection to localhost closed.
+ RET=4
+ [ 0 -eq 1 ]
+ [ 4 -gt 0 ]
+ log_failure_msg adt-run exited with status 4.
+ log_msg Failure: adt-run exited with status 4.\n
+ date +%F %X
+ printf 2014-04-22 20:42:23: Failure: adt-run exited with status 4.\n
2014-04-22 20:42:23: Failure: adt-run exited with status 4.
+ [ 0 -eq 0 ]
+ mkdir -p /home/ubuntu/jenkins-jobs/workspace/trusty-adt-maas-daily/results
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/tmp/adt/disks/adtkey -p 54323 -tt -o BatchMode=yes -l ubuntu localhost sudo chown -R ubuntu /root/adt-log; find /root/adt-log -type f -empty | xargs rm 2>/dev/null
Warning: Permanently added '[localhost]:54323' (ECDSA) to the list of known hosts.
find: `/root/adt-log': Permission denied
Connection to localhost closed.
+ true
+ scp -r -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/tmp/adt/disks/adtkey -P 54323 ubuntu@localhost:/root/adt-log/* /var/crash/*crash /var/log/syslog /var/tmp/testresults /home/ubuntu/jenkins-jobs/workspace/trusty-adt-maas-daily/results
+ true
+ log_info_msg Test artifacts copied to /home/ubuntu/jenkins-jobs/workspace/trusty-adt-maas-daily/results
+ log_msg Info: Test artifacts copied to /home/ubuntu/jenkins-jobs/workspace/trusty-adt-maas-daily/results\n
+ date +%F %X
+ printf 2014-04-22 20:42:24: Info: Test artifacts copied to /home/ubuntu/jenkins-jobs/workspace/trusty-adt-maas-daily/results\n
2014-04-22 20:42:24: Info: Test artifacts copied to /home/ubuntu/jenkins-jobs/workspace/trusty-adt-maas-daily/results
+ [ -f /home/ubuntu/jenkins-jobs/workspace/trusty-adt-maas-daily/results/summary.log ]
+ [ -n 2014-04-23_00-33-08 ]
+ ls -tr /home/ubuntu/jenkins-jobs/workspace/trusty-adt-maas-daily/results/*.result
+ tail -1
+ resfile=
+ [ -n  ]
+ log_failure_msg Test didn't end normally. Generating error file
+ log_msg Failure: Test didn't end normally. Generating error file\n
+ date +%F %X
+ printf 2014-04-22 20:42:24: Failure: Test didn't end normally. Generating error file\n
2014-04-22 20:42:24: Failure: Test didn't end normally. Generating error file
+ date +%Y%m%d-%H%M%S
+ errfile=/home/ubuntu/jenkins-jobs/workspace/trusty-adt-maas-daily/results/trusty_amd64_maas_20140422-204224.error
+ echo trusty amd64 maas
+ rsync -a /home/ubuntu/jenkins-jobs/workspace/trusty-adt-maas-daily/results/trusty_amd64_maas_20140422-204224.error /trusty/tmp/
rsync: mkdir "/trusty/tmp" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(674) [Receiver=3.1.0]
+ true
+ [ 0 -eq 0 ]
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/tmp/adt/disks/adtkey -p 54323 -tt -o BatchMode=yes -l ubuntu localhost sudo poweroff
Warning: Permanently added '[localhost]:54323' (ECDSA) to the list of known hosts.


Broadcast message from ubuntu@autopkgtest

	(/dev/pts/1) at 20:42 ...




The system is going down for power off NOW!

Connection to localhost closed.
+ exit 4
+ on_exit
+ log_info_msg Cleaning up
+ log_msg Info: Cleaning up\n
+ date +%F %X
+ printf 2014-04-22 20:42:24: Info: Cleaning up\n
2014-04-22 20:42:24: Info: Cleaning up
+ [ -f /var/tmp/adt/disks/run/trusty-amd64-maas-20140422_203345.DDWpKh.img.pid ]
+ cat /var/tmp/adt/disks/run/trusty-amd64-maas-20140422_203345.DDWpKh.img.pid
+ kill -9 25155
+ rm -f /var/tmp/adt/disks/run/trusty-amd64-maas-20140422_203345.DDWpKh.img.pid
+ rm -f /var/tmp/adt/disks/run/trusty-amd64-maas-20140422_203345.DDWpKh.img
+ rm -f /var/lock/adt/ssh.54323.lock
+ rm -f /var/lock/adt/vnc.5911.lock
+ [ -d /tmp/adt-amd64.W8PYJ6 ]
+ rm -Rf /tmp/adt-amd64.W8PYJ6
+ rm -f /var/tmp/adt/disks/run/trusty-amd64-maas-*.img*
+ find /var/lock/adt -name *.lock -mtime +1
+ exit 4
Build step 'Execute shell' marked build as failure
Archiving artifacts
Email was triggered for: Failure
Sending email for trigger: Failure


Follow ups