← Back to team overview

maas-builds team mailing list archive

Build failed in Jenkins: precise-adt-maas-daily » amd64,maas-lenovo-lab #292

 

See <http://d-jenkins.ubuntu-ci:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/292/>

------------------------------------------
[...truncated 4396 lines...]
 > 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         ... waiting 
[ OK ]
squid-deb-proxy stop/waiting
squid-deb-proxy start/running, process 29678
maas-txlongpoll start/running, process 29744
maas-region-celery start/running, process 29805
Setting up maas (1.4+bzr1701+dfsg-0+1718+212~ppa0~ubuntu12.04.1) ...
Setting up maas-dns (1.4+bzr1701+dfsg-0+1718+212~ppa0~ubuntu12.04.1) ...
 * Stopping domain name service... bind9        waiting for pid 25871 to die

[ OK ]
 * Starting domain name service... bind9        
[ OK ]
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
 -> Finished parsing the build-deps
adt-run: trace: & ubtree1t-maas-package-test: [----------------------------------------
adt-run: trace: & ubtree1t-maas-package-test:  - - - - - - - - - - results - - - - - - - - - -
ubtree1t-maas-package-test FAIL non-zero exit status 1
adt-run: trace: & ubtree1t-maas-package-test:  - - - - - - - - - - stdout - - - - - - - - - -
Ignoring indexes: http://pypi.python.org/simple/
Downloading/unpacking nose-timer
  Running 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 ... ok
maas-integration.TestMAASIntegration.test_update_maas_url ... 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-88a9a26c-57be-11e3-bfd8-525400123456/macs/00:e0:81:dd:d5:99/", 
                "mac_address": "00:e0:81:dd:d5:99"
            }, 
            {
                "resource_uri": "/MAAS/api/1.0/nodes/node-88a9a26c-57be-11e3-bfd8-525400123456/macs/00:e0:81:dd:d5:9a/", 
                "mac_address": "00:e0:81:dd:d5:9a"
            }
        ], 
        "hostname": "jknjd.master", 
        "power_type": "ipmi", 
        "routers": null, 
        "netboot": true, 
        "cpu_count": 0, 
        "storage": 0, 
        "system_id": "node-88a9a26c-57be-11e3-bfd8-525400123456", 
        "architecture": "amd64/generic", 
        "memory": 0, 
        "owner": null, 
        "tag_names": [], 
        "ip_addresses": [
            "192.168.21.11"
        ], 
        "resource_uri": "/MAAS/api/1.0/nodes/node-88a9a26c-57be-11e3-bfd8-525400123456/"
    }, 
    {
        "status": 0, 
        "macaddress_set": [
            {
                "resource_uri": "/MAAS/api/1.0/nodes/node-88bb87a2-57be-11e3-8235-525400123456/macs/00:e0:81:dd:d1:0b/", 
                "mac_address": "00:e0:81:dd:d1:0b"
            }, 
            {
                "resource_uri": "/MAAS/api/1.0/nodes/node-88bb87a2-57be-11e3-8235-525400123456/macs/00:e0:81:dd:d1:0c/", 
                "mac_address": "00:e0:81:dd:d1:0c"
            }
        ], 
        "hostname": "39hcm.master", 
        "power_type": "ipmi", 
        "routers": null, 
        "netboot": true, 
        "cpu_count": 0, 
        "storage": 0, 
        "system_id": "node-88bb87a2-57be-11e3-8235-525400123456", 
        "architecture": "amd64/generic", 
        "memory": 0, 
        "owner": null, 
        "tag_names": [], 
        "ip_addresses": [
            "192.168.21.13"
        ], 
        "resource_uri": "/MAAS/api/1.0/nodes/node-88bb87a2-57be-11e3-8235-525400123456/"
    }
]
}}}

Traceback (most recent call last):
  File "/tmp/tmp.mKyK0zSNHn/ubtree1-ubtree/debian/tests/utils.py", line 55, in wrapper
    result = func(*args, **kwargs)
  File "/tmp/tmp.mKyK0zSNHn/ubtree1-ubtree/debian/tests/maas-integration.py", line 518, in test_check_nodes_declared
    self._wait_nodes(0)
  File "/tmp/tmp.mKyK0zSNHn/ubtree1-ubtree/debian/tests/maas-integration.py", line 510, in _wait_nodes
    sleep(5)
  File "/tmp/tmp.mKyK0zSNHn/ubtree1-ubtree/debian/tests/utils.py", line 49, in _handle_timeout
    raise TimeoutError(error_message)
TimeoutError: Timer expired


maas-integration.TestMAASIntegration.test_update_pxe_config: 0.0003s
maas-integration.TestMAASIntegration.test_update_preseed_arm: 0.0262s
maas-integration.TestMAASIntegration.test_check_initial_services: 0.0336s
maas-integration.TestMAASIntegration.test_restart_dbus_avahi: 0.1345s
maas-integration.TestMAASIntegration.test_create_admin: 0.1629s
maas-integration.TestMAASIntegration.test_cluster_connected: 0.2201s
maas-integration.TestMAASIntegration.test_update_maas_url: 1.1317s
maas-integration.TestMAASIntegration.test_login_api: 1.2161s
maas-integration.TestMAASIntegration.test_update_dns_config: 1.8524s
maas-integration.TestMAASIntegration.test_set_up_dhcp_region: 2.5875s
maas-integration.TestMAASIntegration.test_check_dhcp_service: 5.2074s
maas-integration.TestMAASIntegration.test_boot_nodes_enlist: 6.8327s
maas-integration.TestMAASIntegration.test_check_nodes_declared: 420.0338s
maas-integration.TestMAASIntegration.test_import_pxe_files: 485.5279s
----------------------------------------------------------------------
Ran 16 tests in 925.010s

FAILED (SKIP=3, errors=1)
adt-run: trace: & ubtree1t-maas-package-test: ----------------------------------------]
adt-run: trace1: ** needs_reset, previously=False
adt-run: trace: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ tests done.
adt-run: trace: ** stop
adt-run: trace: ** close, scratch=tb-scratch~/tmp/tmp.mKyK0zSNHn:-/|/tmp/tmp.mKyK0zSNHn/!
+ 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 2013-11-27 18:52:55: Failure: adt-run exited with status 4.\n
2013-11-27 18:52:55: Failure: adt-run exited with status 4.
+ [ 0 -eq 0 ]
+ mkdir -p <http://d-jenkins.ubuntu-ci:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/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 <http://d-jenkins.ubuntu-ci:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results>
+ true
+ log_info_msg Test artifacts copied to <http://d-jenkins.ubuntu-ci:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results>
+ log_msg Info: Test artifacts copied to <http://d-jenkins.ubuntu-ci:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results\n>
+ date +%F %X
+ printf 2013-11-27 18:53:18: Info: Test artifacts copied to <http://d-jenkins.ubuntu-ci:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results\n>
2013-11-27 18:53:18: Info: Test artifacts copied to <http://d-jenkins.ubuntu-ci:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results>
+ [ -f <http://d-jenkins.ubuntu-ci:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/292/artifact/results/summary.log> ]
+ [ -n 2013-11-27_23-25-57 ]
+ ls -tr <http://d-jenkins.ubuntu-ci:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/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 2013-11-27 18:53:18: Failure: Test didn't end normally. Generating error file\n
2013-11-27 18:53:18: Failure: Test didn't end normally. Generating error file
+ date +%Y%m%d-%H%M%S
+ errfile=<http://d-jenkins.ubuntu-ci:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results/precise_amd64_maas_20131127-185318.error>
+ echo precise amd64 maas
+ rsync -a <http://d-jenkins.ubuntu-ci:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results/precise_amd64_maas_20131127-185318.error> /precise/tmp/
rsync: mkdir "/precise/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 18:53 ...




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 2013-11-27 18:53:29: Info: Cleaning up\n
2013-11-27 18:53:29: Info: Cleaning up
+ [ -f /var/tmp/adt/disks/run/precise-amd64-maas-20131127_182555.lnHlcA.img.pid ]
+ cat /var/tmp/adt/disks/run/precise-amd64-maas-20131127_182555.lnHlcA.img.pid
+ kill -9 29622
+ rm -f /var/tmp/adt/disks/run/precise-amd64-maas-20131127_182555.lnHlcA.img.pid
+ rm -f /var/tmp/adt/disks/run/precise-amd64-maas-20131127_182555.lnHlcA.img
+ rm -f /var/tmp/adt/disks/run/precise-amd64-maas-20131127_182555.lnHlcA.img.monitor /var/tmp/adt/disks/run/precise-amd64-maas-20131127_182555.lnHlcA.img.serial
+ rm -f /var/lock/adt/ssh.54323.lock
+ rm -f /var/lock/adt/vnc.5911.lock
+ [ -d /tmp/adt-amd64.R1Shms ]
+ rm -Rf /tmp/adt-amd64.R1Shms
+ rm -f /var/tmp/adt/disks/run/precise-amd64-maas-*.img*
+ find /var/lock/adt -name *.lock -mtime +1
+ exit 4
Build step 'Execute shell' marked build as failure
Archiving artifacts


Follow ups

References