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

Jenkins Notification devnull at canonical.com
Thu Nov 15 00:51:32 UTC 2012


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

------------------------------------------
[...truncated 1817 lines...]
 > piston
 > south

Not synced (use migrations):
 - maasserver
 - metadataserver
(use ./manage.py migrate to migrate these)
Running migrations for maasserver:
 - Migrating forwards to 0042_fix_039_conflict.
 > 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
 - Loading initial data for maasserver.
No fixtures found.
Running migrations for metadataserver:
 - Migrating forwards to 0003_populate_hardware_details.
 > metadataserver:0001_initial
 > metadataserver:0002_add_nodecommissionresult
 > metadataserver:0003_populate_hardware_details
 - 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 20990
maas-txlongpoll start/running, process 21056
maas-region-celery start/running, process 21117
Setting up maas (0.1+bzr1297+dfsg-0ubuntu1~12.04.2~ppa1) ...
Setting up python-txzookeeper (0.9.5-0ubuntu1) ...
Setting up python-txaws (0.2-0ubuntu10) ...
Setting up juju (0.5+bzr531-0ubuntu1.3) ...
Setting up maas-dns (0.1+bzr1297+dfsg-0ubuntu1~12.04.2~ppa1) ...
 * Stopping domain name service... bind9
waiting for pid 19347 to die
   ...done.
 * Starting domain name service... bind9
   ...done.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
 -> Finished parsing the build-deps
adt-run: trace: & ubtree0t-maas-package-test: [----------------------------------------
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 ... FAIL
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 ... ERROR
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
maas-integration.TestMAASIntegration.test_12_set_nodes_ipmi_config ... ok
maas-integration.TestMAASIntegration.test_13_commission_nodes ... ok
maas-integration.TestMAASIntegration.test_14_check_nodes_ready ... ERROR
maas-integration.TestMAASIntegration.test_15_juju_bootstrap ... FAIL
maas-integration.TestMAASIntegration.test_16_juju_deploy_wordpress ... FAIL

======================================================================
ERROR: maas-integration.TestMAASIntegration.test_08_set_up_dhcp
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.VhJ0YL50eK/ubtree0-ubtree/debian/tests/timeout.py", line 20, in wrapper
    result = func(*args, **kwargs)
  File "/tmp/tmp.VhJ0YL50eK/ubtree0-ubtree/debian/tests/maas-integration.py", line 232, in test_08_set_up_dhcp
    node_group = loads(output)
  File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 413, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 402, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 420, in raw_decode
    raise JSONDecodeError("No JSON object could be decoded", s, idx)
JSONDecodeError: No JSON object could be decoded: line 1 column 0 (char 0)


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


======================================================================
ERROR: maas-integration.TestMAASIntegration.test_14_check_nodes_ready
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.VhJ0YL50eK/ubtree0-ubtree/debian/tests/timeout.py", line 20, in wrapper
    result = func(*args, **kwargs)
  File "/tmp/tmp.VhJ0YL50eK/ubtree0-ubtree/debian/tests/maas-integration.py", line 320, in test_14_check_nodes_ready
    self._wait_nodes(4)
  File "/tmp/tmp.VhJ0YL50eK/ubtree0-ubtree/debian/tests/maas-integration.py", line 280, in _wait_nodes
    sleep(5)
  File "/tmp/tmp.VhJ0YL50eK/ubtree0-ubtree/debian/tests/timeout.py", line 14, in _handle_timeout
    raise TimeoutError(error_message)
TimeoutError: Timer expired


======================================================================
FAIL: maas-integration.TestMAASIntegration.test_03_restart_dbus_avahi
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.VhJ0YL50eK/ubtree0-ubtree/debian/tests/maas-integration.py", line 167, in test_03_restart_dbus_avahi
    self.assertThat(output, StartsWith('dbus start/running'))
MismatchError: '''\
dbus stop/waiting
dbus start/running, process 21386
''' does not start with 'dbus start/running'.


======================================================================
FAIL: maas-integration.TestMAASIntegration.test_15_juju_bootstrap
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.VhJ0YL50eK/ubtree0-ubtree/debian/tests/timeout.py", line 20, in wrapper
    result = func(*args, **kwargs)
  File "/tmp/tmp.VhJ0YL50eK/ubtree0-ubtree/debian/tests/maas-integration.py", line 333, in test_15_juju_bootstrap
    self.assertIn("INFO 'bootstrap' command finished successfully", err)
MismatchError: "INFO 'bootstrap' command finished successfully" not in '2012-11-15 00:47:38,913 INFO Bootstrapping environment \'maas\' (origin: ppa type: maas)...\nUnhandled Error\nTraceback (most recent call last):\n  File "/usr/lib/python2.7/dist-packages/juju/control/__init__.py", line 188, in main\n    options.command(options)\n  File "/usr/lib/python2.7/dist-packages/juju/control/command.py", line 44, in __call__\n    reactor.run()\n  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1169, in run\n    self.mainLoop()\n  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop\n    self.runUntilCurrent()\n--- <exception caught here> ---\n  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 800, in runUntilCurrent\n    call.func(*call.args, **call.kw)\n  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 362, in resolveAddress\n    self._setRealAddress(self.addr[0])\n  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 369, in _setRealAddress\n    self.doConnect()\n  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 395, in doConnect\n    connectResult = self.socket.connect_ex(self.realAddress)\n  File "/usr/lib/python2.7/socket.py", line 224, in meth\n    return getattr(self._sock,name)(*args)\nexceptions.TypeError: an integer is required\nUnexpected TimeoutError interacting with provider: User timeout caused connection failure.\n2012-11-15 00:48:08,915 ERROR Unexpected TimeoutError interacting with provider: User timeout caused connection failure.\n'


======================================================================
FAIL: maas-integration.TestMAASIntegration.test_16_juju_deploy_wordpress
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.VhJ0YL50eK/ubtree0-ubtree/debian/tests/timeout.py", line 20, in wrapper
    result = func(*args, **kwargs)
  File "/tmp/tmp.VhJ0YL50eK/ubtree0-ubtree/debian/tests/maas-integration.py", line 345, in test_16_juju_deploy_wordpress
    self.assertIn("INFO 'status' command finished successfully", err)
MismatchError: "INFO 'status' command finished successfully" not in '2012-11-15 00:50:13,229 INFO Connecting to environment...\nUnhandled Error\nTraceback (most recent call last):\n  File "/usr/lib/python2.7/dist-packages/juju/control/__init__.py", line 188, in main\n    options.command(options)\n  File "/usr/lib/python2.7/dist-packages/juju/control/command.py", line 44, in __call__\n    reactor.run()\n  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1169, in run\n    self.mainLoop()\n  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop\n    self.runUntilCurrent()\n--- <exception caught here> ---\n  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 800, in runUntilCurrent\n    call.func(*call.args, **call.kw)\n  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 362, in resolveAddress\n    self._setRealAddress(self.addr[0])\n  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 369, in _setRealAddress\n    self.doConnect()\n  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 395, in doConnect\n    connectResult = self.socket.connect_ex(self.realAddress)\n  File "/usr/lib/python2.7/socket.py", line 224, in meth\n    return getattr(self._sock,name)(*args)\nexceptions.TypeError: an integer is required\n2012-11-15 00:50:43,241 ERROR Cannot connect to environment: Unexpected TimeoutError interacting with provider: User timeout caused connection failure.\nTraceback (most recent call last):\n  File "/usr/lib/python2.7/dist-packages/juju/providers/common/connect.py", line 42, in run\n    client = yield self._internal_connect(share)\nProviderInteractionError: Unexpected TimeoutError interacting with provider: User timeout caused connection failure.\nUnexpected TimeoutError interacting with provider: User timeout caused connection failure.\n2012-11-15 00:50:43,242 ERROR Unexpected TimeoutError interacting with provider: User timeout caused connection failure.\n'


----------------------------------------------------------------------
Ran 16 tests in 4415.333s

FAILED (errors=3, failures=3)
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.VhJ0YL50eK:-/|/tmp/tmp.VhJ0YL50eK/!
+ 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-11-14 19:49:35: Failure: adt-run exited with status 4.\n
2012-11-14 19:49:35: Failure: adt-run exited with status 4.
+ [ 0 -eq 0 ]
+ mkdir -p <http://10.189.74.2:8080/job/precise-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 54322 -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]:54322' (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 54322 ubuntu at localhost:/home/ubuntu/adt-log/*
    /var/crash/*crash /var/log/syslog <http://10.189.74.2:8080/job/precise-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/precise-adt-maas/./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/./ARCH=amd64,label=maas-lenovo-lab/ws/results\n>
+ date +%F %X
+ printf 2012-11-14 19:50:05: Info: Test artifacts copied to <http://10.189.74.2:8080/job/precise-adt-maas/./ARCH=amd64,label=maas-lenovo-lab/ws/results\n>
2012-11-14 19:50:05: Info: Test artifacts copied to <http://10.189.74.2:8080/job/precise-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 54322 -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]:54322' (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-11-14 19:50:16: Info: Cleaning up\n
2012-11-14 19:50:16: Info: Cleaning up
+ [ -f /var/tmp/adt/jenkins/disks/precise-amd64-maas-20121114_183143.img.pid ]
+ cat /var/tmp/adt/jenkins/disks/precise-amd64-maas-20121114_183143.img.pid
+ kill -9 5825
+ rm -f /var/tmp/adt/jenkins/disks/precise-amd64-maas-20121114_183143.img.pid
+ rm -f /var/tmp/adt/jenkins/disks/precise-amd64-maas-20121114_183143.img
+ rm -f /var/lock/adt/ssh.54322.lock
+ rm -f /var/lock/adt/vnc.6120.lock
+ [ -d /tmp/adt-amd64.KDbY4c ]
+ rm -Rf /tmp/adt-amd64.KDbY4c
+ exit 4
Build step 'Execute shell' marked build as failure
Archiving artifacts



More information about the ubuntu-testing-notifications mailing list