← Back to team overview

maas-devel team mailing list archive

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

 

See <http://10.189.74.2:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/271/>

------------------------------------------
[...truncated 4293 lines...]
 > 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
 - Loading initial data for maasserver.
Installed 0 object(s) from 0 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         ... waiting 
[ OK ]
squid-deb-proxy stop/waiting
squid-deb-proxy start/running, process 28919
maas-txlongpoll start/running, process 28985
maas-region-celery start/running, process 29046
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 25117 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 ... ok
maas-integration.TestMAASIntegration.test_set_nodes_ipmi_config ... ok
maas-integration.TestMAASIntegration.test_commission_nodes ... ok
maas-integration.TestMAASIntegration.test_check_nodes_ready ... ok
maas-integration.TestMAASIntegration.test_apply_tag_to_all_nodes ... ok
maas-integration.TestMAASIntegration.test_check_tag_applied_to_all_nodes ... ok
maas-integration.TestMAASIntegration.test_configure_juju ... ok
maas-integration.TestMAASIntegration.test_juju_bootstrap ... ok
maas-integration.TestMAASIntegration.test_juju_setup ... ok
maas-integration.TestMAASIntegration.test_juju_deploy_mediawiki ... ok
maas-integration.TestMAASIntegration.test_mediawiki_homepage ... ERROR
SKIP: Not testing Cluster controller

======================================================================
ERROR: maas-integration.TestMAASIntegration.test_mediawiki_homepage
----------------------------------------------------------------------
_StringException: juju status: {{{{'environment': 'maas', 'services': {'mediawiki': {'units': {'mediawiki/0': {'agent-state': 'error', 'agent-state-info': 'hook failed: "install"', 'public-address': '48649.master', 'machine': '2', 'agent-version': '1.16.0.1'}, 'mediawiki/1': {'agent-state': 'started', 'machine': '3', 'public-address': 'dygbw.master', 'agent-version': '1.16.0.1', 'open-ports': ['80/tcp']}}, 'charm': 'cs:precise/mediawiki-10', 'relations': {'db': ['mysql']}, 'exposed': True}, 'mysql': {'units': {'mysql/0': {'agent-state': 'started', 'machine': '1', 'public-address': 'cmmxx.master', 'agent-version': '1.16.0.1'}}, 'charm': 'cs:precise/mysql-28', 'relations': {'cluster': ['mysql'], 'db': ['mediawiki']}, 'exposed': False}}, 'machines': {'1': {'agent-state': 'started', 'series': 'precise', 'agent-version': '1.16.0.1', 'instance-id': '/MAAS/api/1.0/nodes/node-27661e26-4103-11e3-a9f3-525400123456/', 'dns-name': 'cmmxx.master'}, '0': {'agent-state': 'started', 'series': 'precise', 'agent-version': '1.16.0.1', 'instance-id': '/MAAS/api/1.0/nodes/node-2765d2fe-4103-11e3-b6ff-525400123456/', 'dns-name': 'ekmj7.master'}, '3': {'agent-state': 'started', 'series': 'precise', 'agent-version': '1.16.0.1', 'instance-id': '/MAAS/api/1.0/nodes/node-27890f94-4103-11e3-a9f3-525400123456/', 'dns-name': 'dygbw.master'}, '2': {'agent-state': 'started', 'series': 'precise', 'agent-version': '1.16.0.1', 'instance-id': '/MAAS/api/1.0/nodes/node-2788041e-4103-11e3-b6ff-525400123456/', 'dns-name': '48649.master'}}}}}}

Traceback (most recent call last):
  File "/tmp/tmp.Gpekz1Sz1u/ubtree1-ubtree/debian/tests/utils.py", line 55, in wrapper
    result = func(*args, **kwargs)
  File "/tmp/tmp.Gpekz1Sz1u/ubtree1-ubtree/debian/tests/maas-integration.py", line 678, in test_mediawiki_homepage
    sleep(15)
  File "/tmp/tmp.Gpekz1Sz1u/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.0001s
maas-integration.TestMAASIntegration.test_check_initial_services: 0.0242s
maas-integration.TestMAASIntegration.test_update_preseed_arm: 0.0311s
maas-integration.TestMAASIntegration.test_create_admin: 0.1689s
maas-integration.TestMAASIntegration.test_restart_dbus_avahi: 0.1913s
maas-integration.TestMAASIntegration.test_apply_tag_to_all_nodes: 0.2301s
maas-integration.TestMAASIntegration.test_cluster_connected: 0.2400s
maas-integration.TestMAASIntegration.test_check_tag_applied_to_all_nodes: 0.2489s
maas-integration.TestMAASIntegration.test_commission_nodes: 0.4224s
maas-integration.TestMAASIntegration.test_boot_nodes_enlist: 0.4605s
maas-integration.TestMAASIntegration.test_update_maas_url: 1.1254s
maas-integration.TestMAASIntegration.test_update_dns_config: 1.2215s
maas-integration.TestMAASIntegration.test_login_api: 1.4769s
maas-integration.TestMAASIntegration.test_set_nodes_ipmi_config: 2.5042s
maas-integration.TestMAASIntegration.test_set_up_dhcp_region: 2.6736s
maas-integration.TestMAASIntegration.test_check_dhcp_service: 5.1275s
maas-integration.TestMAASIntegration.test_configure_juju: 5.6660s
maas-integration.TestMAASIntegration.test_juju_setup: 21.4486s
maas-integration.TestMAASIntegration.test_check_nodes_declared: 161.8418s
maas-integration.TestMAASIntegration.test_check_nodes_ready: 198.8736s
maas-integration.TestMAASIntegration.test_mediawiki_homepage: 360.0459s
maas-integration.TestMAASIntegration.test_juju_deploy_mediawiki: 639.3803s
maas-integration.TestMAASIntegration.test_juju_bootstrap: 691.2160s
maas-integration.TestMAASIntegration.test_import_pxe_files: 2526.5177s
----------------------------------------------------------------------
Ran 26 tests in 4621.191s

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.Gpekz1Sz1u:-/|/tmp/tmp.Gpekz1Sz1u/!
+ 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-10-29 22:04:52: Failure: adt-run exited with status 4.\n
2013-10-29 22:04:52: Failure: adt-run exited with status 4.
+ [ 0 -eq 0 ]
+ mkdir -p <http://10.189.74.2:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results>
+ dirname /root/adt-log
+ 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; find /root/adt-log -type f -empty | xargs rm -Rf
Warning: Permanently added '[localhost]:54323' (ECDSA) to the list of known hosts.
Connection to localhost closed.
+ 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://10.189.74.2:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results>
+ true
+ log_info_msg Test artifacts copied to <http://10.189.74.2:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results>
+ log_msg Info: Test artifacts copied to <http://10.189.74.2:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results\n>
+ date +%F %X
+ printf 2013-10-29 22:05:12: Info: Test artifacts copied to <http://10.189.74.2:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results\n>
2013-10-29 22:05:12: Info: Test artifacts copied to <http://10.189.74.2:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results>
+ [ -f <http://10.189.74.2:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/271/artifact/results/summary.log> ]
+ mkdir -p <http://10.189.74.2:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results/testresults/>
+ summary2xml <http://10.189.74.2:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/271/artifact/results/summary.log>
+ [ ! -f <http://10.189.74.2:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/271/artifact/results/summary.log> ]
+ classname=summary
+ tc=
+ fails=0
+ tests=0
+ read t r e
+ echo non-zero exit status 1
+ sed -e s~&~\&amp;~g -e s~<~\&lt;~g -e s~>~\&gt;~g -e s~"~\&quot;~g
+ e=non-zero exit status 1
+ [ FAIL = FAIL ]
+ fails=1
+ tc=\n\t<testcase classname='summary' name='ubtree1t-maas-package-test' time='0.01'>
+ tc=\n\t<testcase classname='summary' name='ubtree1t-maas-package-test' time='0.01'>\n\t\t<failure message='' type=''>non-zero exit status 1</failure>\n\t</testcase>
+ tests=1
+ read t r e
+ echo -n <?xml version='1.0' encoding='utf-8'?>
<testsuite failures='1' name='summary' skipped='0' tests='1'>
+ echo \n\t<testcase classname='summary' name='ubtree1t-maas-package-test' time='0.01'>\n\t\t<failure message='' type=''>non-zero exit status 1</failure>\n\t</testcase>
+ echo </testsuite>
+ [ -n 2013-10-30_00-27-19 ]
+ log_info_msg Updating Jenkins results
+ log_msg Info: Updating Jenkins results\n
+ date +%F %X
+ printf 2013-10-29 22:05:12: Info: Updating Jenkins results\n
2013-10-29 22:05:12: Info: Updating Jenkins results
+ rsync -a <http://10.189.74.2:8080/job/precise-adt-maas-daily/./ARCH=amd64,label=maas-lenovo-lab/ws/results/precise_amd64_maas_20131030-020452.result> /precise/out/
rsync: mkdir "/precise/out" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(605) [Receiver=3.0.9]
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
+ 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 22:05 ...




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-10-29 22:05:20: Info: Cleaning up\n
2013-10-29 22:05:20: Info: Cleaning up
+ [ -f /var/tmp/adt/disks/run/precise-amd64-maas-20131029_203746.9eGx36.img.pid ]
+ cat /var/tmp/adt/disks/run/precise-amd64-maas-20131029_203746.9eGx36.img.pid
+ kill -9 15855
+ rm -f /var/tmp/adt/disks/run/precise-amd64-maas-20131029_203746.9eGx36.img.pid
+ rm -f /var/tmp/adt/disks/run/precise-amd64-maas-20131029_203746.9eGx36.img
+ rm -f /var/tmp/adt/disks/run/precise-amd64-maas-20131029_203746.9eGx36.img.monitor
+ rm -f /var/lock/adt/ssh.54323.lock
+ rm -f /var/lock/adt/vnc.5911.lock
+ [ -d /tmp/adt-amd64.Feg3Q0 ]
+ rm -Rf /tmp/adt-amd64.Feg3Q0
+ 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