maas-builds team mailing list archive
-
maas-builds team
-
Mailing list archive
-
Message #00126
Jenkins Failure - saucy-adt-maas-daily 32
See http://d-jenkins.ubuntu-ci:8080/job/saucy-adt-maas-daily/32/
[...truncated 4128 lines...]
Successfully installed nose-timer
Cleaning up...
maas-integration.TestMAASIntegration.test_create_admin ... ok
maas-integration.TestMAASIntegration.test_restart_dbus_avahi ... ok
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_pxe_config ... ok
maas-integration.TestMAASIntegration.test_import_pxe_files ... ok
maas-integration.TestMAASIntegration.test_update_preseed_arm ... ok
maas-integration.TestMAASIntegration.test_login_api ... ok
maas-integration.TestMAASIntegration.test_set_http_proxy ... SKIP: Not testing proxy.
maas-integration.TestMAASIntegration.test_cluster_connected ... ok
maas-integration.TestMAASIntegration.test_set_up_dhcp_region ... ok
maas-integration.TestMAASIntegration.test_check_dhcp_service ... ok
maas-integration.TestMAASIntegration.test_set_up_dhcp_cluster ... SKIP: Not testing cluster controller
maas-integration.TestMAASIntegration.test_update_dns_config ... ok
maas-integration.TestMAASIntegration.test_boot_nodes_enlist ... ok
maas-integration.TestMAASIntegration.test_check_nodes_declared ... ERROR
SKIP: Not testing Cluster controller
======================================================================
ERROR: maas-integration.TestMAASIntegration.test_check_nodes_declared
----------------------------------------------------------------------
_StringException: Empty attachments:
stderr for maas-cli maas ['nodes', 'list']
retcode for maas-cli maas ['nodes', 'list']: {{{0}}}
stdout for maas-cli maas ['nodes', 'list']: {{{
[
{
"status": 0,
"macaddress_set": [
{
"resource_uri": "/MAAS/api/1.0/nodes/node-5f1f8cb2-7cbd-11e3-9842-525400123456/macs/00:e0:81:d1:b1:47/",
"mac_address": "00:e0:81:d1:b1:47"
},
{
"resource_uri": "/MAAS/api/1.0/nodes/node-5f1f8cb2-7cbd-11e3-9842-525400123456/macs/00:e0:81:d1:b1:48/",
"mac_address": "00:e0:81:d1:b1:48"
}
],
"hostname": "xkp8g.master",
"power_type": "ipmi",
"routers": null,
"netboot": true,
"cpu_count": 0,
"storage": 0,
"system_id": "node-5f1f8cb2-7cbd-11e3-9842-525400123456",
"architecture": "amd64/generic",
"memory": 0,
"owner": null,
"tag_names": [],
"ip_addresses": [
"192.168.21.16"
],
"resource_uri": "/MAAS/api/1.0/nodes/node-5f1f8cb2-7cbd-11e3-9842-525400123456/"
},
{
"status": 0,
"macaddress_set": [
{
"resource_uri": "/MAAS/api/1.0/nodes/node-5f34035e-7cbd-11e3-a927-525400123456/macs/00:e0:81:dd:d4:11/",
"mac_address": "00:e0:81:dd:d4:11"
},
{
"resource_uri": "/MAAS/api/1.0/nodes/node-5f34035e-7cbd-11e3-a927-525400123456/macs/00:e0:81:dd:d4:12/",
"mac_address": "00:e0:81:dd:d4:12"
}
],
"hostname": "4thwp.master",
"power_type": "ipmi",
"routers": null,
"netboot": true,
"cpu_count": 0,
"storage": 0,
"system_id": "node-5f34035e-7cbd-11e3-a927-525400123456",
"architecture": "amd64/generic",
"memory": 0,
"owner": null,
"tag_names": [],
"ip_addresses": [
"192.168.21.17"
],
"resource_uri": "/MAAS/api/1.0/nodes/node-5f34035e-7cbd-11e3-a927-525400123456/"
},
{
"status": 0,
"macaddress_set": [
{
"resource_uri": "/MAAS/api/1.0/nodes/node-5f5e2940-7cbd-11e3-9842-525400123456/macs/00:e0:81:dd:d1:0b/",
"mac_address": "00:e0:81:dd:d1:0b"
},
{
"resource_uri": "/MAAS/api/1.0/nodes/node-5f5e2940-7cbd-11e3-9842-525400123456/macs/00:e0:81:dd:d1:0c/",
"mac_address": "00:e0:81:dd:d1:0c"
}
],
"hostname": "dh4er.master",
"power_type": "ipmi",
"routers": null,
"netboot": true,
"cpu_count": 0,
"storage": 0,
"system_id": "node-5f5e2940-7cbd-11e3-9842-525400123456",
"architecture": "amd64/generic",
"memory": 0,
"owner": null,
"tag_names": [],
"ip_addresses": [
"192.168.21.18"
],
"resource_uri": "/MAAS/api/1.0/nodes/node-5f5e2940-7cbd-11e3-9842-525400123456/"
}
]
}}}
Traceback (most recent call last):
File "/tmp/adt-run.NGk0i1/ubtree0-build/real-tree/debian/tests/utils.py", line 67, in wrapper
result = func(*args, **kwargs)
File "/tmp/adt-run.NGk0i1/ubtree0-build/real-tree/debian/tests/maas-integration.py", line 529, in test_check_nodes_declared
self._wait_nodes(0)
File "/tmp/adt-run.NGk0i1/ubtree0-build/real-tree/debian/tests/maas-integration.py", line 521, in _wait_nodes
sleep(5)
File "/tmp/adt-run.NGk0i1/ubtree0-build/real-tree/debian/tests/utils.py", line 61, in _handle_timeout
raise TimeoutError(error_message)
TimeoutError: Timer expired
maas-integration.TestMAASIntegration.test_update_pxe_config: 0.0004s
maas-integration.TestMAASIntegration.test_check_initial_services: 0.0367s
maas-integration.TestMAASIntegration.test_update_preseed_arm: 0.0415s
maas-integration.TestMAASIntegration.test_restart_provisioning_server: 0.0575s
maas-integration.TestMAASIntegration.test_restart_dbus_avahi: 0.1375s
maas-integration.TestMAASIntegration.test_create_admin: 0.1681s
maas-integration.TestMAASIntegration.test_cluster_connected: 0.2002s
maas-integration.TestMAASIntegration.test_boot_nodes_enlist: 0.4383s
maas-integration.TestMAASIntegration.test_update_dns_config: 1.3018s
maas-integration.TestMAASIntegration.test_login_api: 1.7190s
maas-integration.TestMAASIntegration.test_update_maas_url: 2.1912s
maas-integration.TestMAASIntegration.test_set_up_dhcp_region: 2.4988s
maas-integration.TestMAASIntegration.test_check_dhcp_service: 5.0783s
maas-integration.TestMAASIntegration.test_check_nodes_declared: 420.0270s
maas-integration.TestMAASIntegration.test_import_pxe_files: 476.9770s
----------------------------------------------------------------------
Ran 17 tests in 911.025s
FAILED (SKIP=3, errors=1)
adt-run1: testbed executing test finished with exit status 1
adt-run: & ubtree0t-maas-package-test: ----------------------------------------]
adt-run: & ubtree0t-maas-package-test: - - - - - - - - - - results - - - - - - - - - -
ubtree0t-maas-package-test FAIL non-zero exit status 1
adt-run1: ** needs_reset, previously=False
adt-run: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ tests done.
adt-run1: ** stop
adt-run1: ** close, scratch=tb-scratch~/tmp/adt-run.NGk0i1:-/|/tmp/adt-run.NGk0i1/!
+ 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-01-13 20:48:27: Failure: adt-run exited with status 4.\n
2014-01-13 20:48:27: Failure: adt-run exited with status 4.
+ [ 0 -eq 0 ]
+ mkdir -p /home/ubuntu/jenkins-jobs/workspace/saucy-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/saucy-adt-maas-daily/results
+ true
+ log_info_msg Test artifacts copied to /home/ubuntu/jenkins-jobs/workspace/saucy-adt-maas-daily/results
+ log_msg Info: Test artifacts copied to /home/ubuntu/jenkins-jobs/workspace/saucy-adt-maas-daily/results\n
+ date +%F %X
+ printf 2014-01-13 20:48:29: Info: Test artifacts copied to /home/ubuntu/jenkins-jobs/workspace/saucy-adt-maas-daily/results\n
2014-01-13 20:48:29: Info: Test artifacts copied to /home/ubuntu/jenkins-jobs/workspace/saucy-adt-maas-daily/results
+ [ -f /home/ubuntu/jenkins-jobs/workspace/saucy-adt-maas-daily/results/summary.log ]
+ [ -n 2014-01-14_01-28-15 ]
+ ls -tr /home/ubuntu/jenkins-jobs/workspace/saucy-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-01-13 20:48:29: Failure: Test didn't end normally. Generating error file\n
2014-01-13 20:48:29: Failure: Test didn't end normally. Generating error file
+ date +%Y%m%d-%H%M%S
+ errfile=/home/ubuntu/jenkins-jobs/workspace/saucy-adt-maas-daily/results/saucy_amd64_maas_20140113-204829.error
+ echo saucy amd64 maas
+ rsync -a /home/ubuntu/jenkins-jobs/workspace/saucy-adt-maas-daily/results/saucy_amd64_maas_20140113-204829.error /saucy/tmp/
rsync: mkdir "/saucy/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/0) at 20:48 ...
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-01-13 20:48:29: Info: Cleaning up\n
2014-01-13 20:48:29: Info: Cleaning up
+ [ -f /var/tmp/adt/disks/run/saucy-amd64-maas-20140113_202838.eiBJ9W.img.pid ]
+ cat /var/tmp/adt/disks/run/saucy-amd64-maas-20140113_202838.eiBJ9W.img.pid
+ kill -9 5773
+ rm -f /var/tmp/adt/disks/run/saucy-amd64-maas-20140113_202838.eiBJ9W.img.pid
+ rm -f /var/tmp/adt/disks/run/saucy-amd64-maas-20140113_202838.eiBJ9W.img
+ rm -f /var/tmp/adt/disks/run/saucy-amd64-maas-20140113_202838.eiBJ9W.img.monitor /var/tmp/adt/disks/run/saucy-amd64-maas-20140113_202838.eiBJ9W.img.serial
+ rm -f /var/lock/adt/ssh.54323.lock
+ rm -f /var/lock/adt/vnc.5911.lock
+ [ -d /tmp/adt-amd64.MzmHzi ]
+ rm -Rf /tmp/adt-amd64.MzmHzi
+ rm -f /var/tmp/adt/disks/run/saucy-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