Build failed in Jenkins: quantal-adt-maas » amd64,maas-lenovo-lab #153

Jenkins Notification devnull at canonical.com
Tue Dec 11 16:19:20 UTC 2012


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

------------------------------------------
[...truncated 2396 lines...]
Considering dependency proxy for proxy_http:
Enabling module proxy.
Enabling module proxy_http.
To activate the new configuration, you need to run:
  service apache2 restart
Enabling module expires.
To activate the new configuration, you need to run:
  service apache2 restart
Module wsgi already enabled
rsyslog stop/waiting
rsyslog start/running, process 5688
squid-deb-proxy stop/waiting
squid-deb-proxy start/running, process 5738
 * Restarting message broker rabbitmq-server
   ...done.
Creating user "maas_longpoll" ...
...done.
Creating vhost "/maas_longpoll" ...
...done.
Setting permissions for user "maas_longpoll" in vhost "/maas_longpoll" ...
...done.
Creating user "maas_workers" ...
...done.
Creating vhost "/maas_workers" ...
...done.
Setting permissions for user "maas_workers" in vhost "/maas_workers" ...
...done.
 * Restarting PostgreSQL 9.1 database server
   ...done.
dbconfig-common: writing config to /etc/dbconfig-common/maas-region-controller.conf

Creating config file /etc/dbconfig-common/maas-region-controller.conf with new version
creating postgres user maas:  success.
verifying creation of user: success.
creating database maasdb: success.
verifying database maasdb exists: success.
dbconfig-common: flushing administrative password
Syncing...
Creating tables ...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table piston_nonce
Creating table piston_consumer
Creating table piston_token
Creating table south_migrationhistory
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

Synced:
 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > django.contrib.sites
 > django.contrib.messages
 > django.contrib.staticfiles
 > piston
 > south

Not synced (use migrations):
 - maasserver
 - metadataserver
(use ./manage.py migrate to migrate these)
Running migrations for maasserver:
 - Migrating forwards to 0046_add_nodegroup_maas_url.
 > maasserver:0001_initial
 > maasserver:0002_add_token_to_node
 > maasserver:0002_macaddress_unique
 > maasserver:0003_rename_sshkeys
 > maasserver:0004_add_node_error
 > maasserver:0005_sshkey_user_and_key_unique_together
 > maasserver:0006_increase_filestorage_filename_length
 > maasserver:0007_common_info_created_add_time
 > maasserver:0008_node_power_address
 > maasserver:0009_add_nodegroup
 > maasserver:0010_add_node_netboot
 > maasserver:0011_add_dns_zone_serial_sequence
 > maasserver:0012_DHCPLease
 > maasserver:0013_connect_node_node_group
 > maasserver:0014_nodegroup_dhcp_settings_are_optional
 > maasserver:0016_node_nodegroup_not_null
 > maasserver:0017_add_dhcp_key_to_nodegroup
 > maasserver:0018_activate_worker_user
 > maasserver:0019_add_nodegroup_dhcp_interface
 > maasserver:0020_nodegroup_dhcp_interfaces_is_plural
 > maasserver:0021_add_uuid_to_nodegroup
 > maasserver:0022_add_status_to_nodegroup
 > maasserver:0023_add_bootimage_model
 > maasserver:0024_add_nodegroupinterface
 > maasserver:0025_remove_unused_fields_in_nodegroup
 > maasserver:0026_add_node_distro_series
 > maasserver:0027_add_tag_table
 > maasserver:0028_add_node_hardware_details
 > maasserver:0029_zone_sharing
 > maasserver:0030_ip_address_to_generic_ip_address
 > maasserver:0031_node_architecture_field_size
 > maasserver:0032_node_subarch
 > maasserver:0033_component_error
 > maasserver:0034_timestamp_component_error
 > maasserver:0035_add_nodegroup_cluster_name
 > maasserver:0036_populate_nodegroup_cluster_name
 > maasserver:0037_nodegroup_cluster_name_unique
 > 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
 - Loading initial data for maasserver.
Installed 0 object(s) from 0 fixture(s)
Running migrations for metadataserver:
 - Migrating forwards to 0004_add_commissioningscript.
 > metadataserver:0001_initial
 > metadataserver:0002_add_nodecommissionresult
 > metadataserver:0003_populate_hardware_details
 > metadataserver:0004_add_commissioningscript
 - Loading initial data for metadataserver.
Installed 1 object(s) from 1 fixture(s)
 * Restarting web server apache2
apache2: apr_sockaddr_info_get() failed for autopkgtest
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
 ... waiting apache2: apr_sockaddr_info_get() failed for autopkgtest
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
   ...done.
squid-deb-proxy stop/waiting
squid-deb-proxy start/running, process 6883
maas-txlongpoll start/running, process 6952
maas-region-celery start/running, process 7016
Processing triggers for ureadahead ...
Setting up maas (0.1+bzr1395+dfsg-0ubuntu2) ...
Setting up maas-dns (0.1+bzr1395+dfsg-0ubuntu2) ...
 * Stopping domain name service... bind9
waiting for pid 4671 to die
   ...done.
 * Starting domain name service... bind9
   ...done.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
 -> Finished parsing the build-deps
adt-run: trace: & ubtree0t-maas-package-test: [----------------------------------------
+ buildtree=/tmp/tmp.D5lUVOXNWH/ubtree0-ubtree/
+ shift
+ rm -rf -- /tmp/tmp.D5lUVOXNWH/ubtree0t-maas-package-test-testtmp /tmp/tmp.D5lUVOXNWH/ubtree0t-maas-package-test-testtmp/tmpdir /tmp/tmp.D5lUVOXNWH/ubtree0t-maas-package-test-testtmp/adttmp
+ mkdir -- /tmp/tmp.D5lUVOXNWH/ubtree0t-maas-package-test-testtmp /tmp/tmp.D5lUVOXNWH/ubtree0t-maas-package-test-testtmp/tmpdir /tmp/tmp.D5lUVOXNWH/ubtree0t-maas-package-test-testtmp/adttmp
adt-run: trace: & ubtree0t-maas-package-test:  - - - - - - - - - - results - - - - - - - - - -
ubtree0t-maas-package-test FAIL non-zero exit status 1
adt-run: trace: & ubtree0t-maas-package-test:  - - - - - - - - - - stdout - - - - - - - - - -
maas-integration.TestMAASIntegration.test_01_create_admin ... ok
maas-integration.TestMAASIntegration.test_02_update_maas_url ... ok
maas-integration.TestMAASIntegration.test_03_restart_dbus_avahi ... ok
maas-integration.TestMAASIntegration.test_04_update_pxe_config ... ok
maas-integration.TestMAASIntegration.test_05_import_pxe_files ... ok
maas-integration.TestMAASIntegration.test_06_update_preseed_arm ... ok
maas-integration.TestMAASIntegration.test_07_login_api ... ok
maas-integration.TestMAASIntegration.test_08_set_up_dhcp ... ok
maas-integration.TestMAASIntegration.test_09_update_dns_config ... ok
maas-integration.TestMAASIntegration.test_10_boot_nodes_enlist ... ok
maas-integration.TestMAASIntegration.test_11_check_nodes_declared ... ERROR

======================================================================
ERROR: maas-integration.TestMAASIntegration.test_11_check_nodes_declared
----------------------------------------------------------------------
_StringException: maas-cli maas ['nodes', 'list']: {{{('[]\n', '')}}}

Traceback (most recent call last):
  File "/tmp/tmp.D5lUVOXNWH/ubtree0-ubtree/debian/tests/timeout.py", line 20, in wrapper
    result = func(*args, **kwargs)
  File "/tmp/tmp.D5lUVOXNWH/ubtree0-ubtree/debian/tests/maas-integration.py", line 335, in test_11_check_nodes_declared
    self._wait_nodes(0)
  File "/tmp/tmp.D5lUVOXNWH/ubtree0-ubtree/debian/tests/maas-integration.py", line 327, in _wait_nodes
    sleep(5)
  File "/tmp/tmp.D5lUVOXNWH/ubtree0-ubtree/debian/tests/timeout.py", line 14, in _handle_timeout
    raise TimeoutError(error_message)
TimeoutError: Timer expired


----------------------------------------------------------------------
Ran 11 tests in 406.475s

FAILED (errors=1)
adt-run: trace: & ubtree0t-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.D5lUVOXNWH:-/|/tmp/tmp.D5lUVOXNWH/!
+ RC=4
+ [ 0 -eq 1 ]
+ chown -R ubuntu /home/ubuntu/adt-log
+ chmod og+r /var/log/syslog
+ chmod og+r /var/crash/*
+ true
+ exit 4
+ 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 2012-12-11 11:18:56: Failure: adt-run exited with status 4.\n
2012-12-11 11:18:56: Failure: adt-run exited with status 4.
+ [ 0 -eq 0 ]
+ mkdir -p <http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results>
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/tmp/adt/jenkins/disks/adtkey -p 54553 -t -o BatchMode=yes -l ubuntu localhost sudo chown -R ubuntu /home/ubuntu/adt-log; find /home/ubuntu/adt-log -type f -empty | xargs rm
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: Permanently added '[localhost]:54553' (ECDSA) to the list of known hosts.
sudo: unable to resolve host autopkgtest
+ scp -r -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/tmp/adt/jenkins/disks/adtkey -P 54553 ubuntu at localhost:/home/ubuntu/adt-log/*
    /var/crash/*crash /var/log/syslog <http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results>
+ true
+ log_info_msg Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results>
+ log_msg Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results\n>
+ date +%F %X
+ printf 2012-12-11 11:18:57: Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results\n>
2012-12-11 11:18:57: Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results>
+ [ 0 -eq 0 ]
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/tmp/adt/jenkins/disks/adtkey -p 54553 -t -o BatchMode=yes -l ubuntu localhost sudo poweroff
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: Permanently added '[localhost]:54553' (ECDSA) to the list of known hosts.
sudo: unable to resolve host autopkgtest
+ exit 4
+ on_exit
+ log_info_msg Cleaning up
+ log_msg Info: Cleaning up\n
+ date +%F %X
+ printf 2012-12-11 11:18:57: Info: Cleaning up\n
2012-12-11 11:18:57: Info: Cleaning up
+ [ -f /var/tmp/adt/jenkins/disks/quantal-amd64-maas-20121211_110632.img.pid ]
+ cat /var/tmp/adt/jenkins/disks/quantal-amd64-maas-20121211_110632.img.pid
+ kill -9 7791
+ rm -f /var/tmp/adt/jenkins/disks/quantal-amd64-maas-20121211_110632.img.pid
+ rm -f /var/tmp/adt/jenkins/disks/quantal-amd64-maas-20121211_110632.img
+ rm -f /var/lock/adt/ssh.54553.lock
+ rm -f /var/lock/adt/vnc.6235.lock
+ [ -d /tmp/adt-amd64.TW2Fvw ]
+ rm -Rf /tmp/adt-amd64.TW2Fvw
+ exit 4
Build step 'Execute shell' marked build as failure
Archiving artifacts



More information about the ubuntu-testing-notifications mailing list