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

Jenkins Notification devnull at canonical.com
Thu Nov 8 20:18:26 UTC 2012


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

------------------------------------------
[...truncated 1733 lines...]
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 ... ERROR
maas-integration.TestMAASIntegration.test_08_set_up_dhcp ... ERROR
maas-integration.TestMAASIntegration.test_09_update_dns_config ... ERROR
maas-integration.TestMAASIntegration.test_10_boot_nodes_enlist ... ERROR
maas-integration.TestMAASIntegration.test_11_check_nodes_declared ... ERROR
maas-integration.TestMAASIntegration.test_12_set_nodes_ipmi_config ... ERROR
maas-integration.TestMAASIntegration.test_13_commission_nodes ... ERROR
maas-integration.TestMAASIntegration.test_14_boot_nodes_commission ... ERROR
maas-integration.TestMAASIntegration.test_15_check_nodes_ready ... ERROR

======================================================================
ERROR: maas-integration.TestMAASIntegration.test_07_login_api
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 139, in test_07_login_api
    ["maas-cli", "login", "maas", api_url, token_str])
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 59, in _run_command
    process = Popen(args, stdout=PIPE, stderr=PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


======================================================================
ERROR: maas-integration.TestMAASIntegration.test_08_set_up_dhcp
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/timeout.py", line 20, in wrapper
    result = func(*args, **kwargs)
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 147, in test_08_set_up_dhcp
    output, err = self._run_maas_cli(["node-groups", "list"])
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 64, in _run_maas_cli
    return self._run_command(["maas-cli", "maas"] + args)
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 59, in _run_command
    process = Popen(args, stdout=PIPE, stderr=PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


======================================================================
ERROR: maas-integration.TestMAASIntegration.test_09_update_dns_config
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 180, in test_09_update_dns_config
    dns_config = open("/etc/bind/named.conf.options", 'w')
IOError: [Errno 2] No such file or directory: '/etc/bind/named.conf.options'


======================================================================
ERROR: maas-integration.TestMAASIntegration.test_10_boot_nodes_enlist
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 205, in test_10_boot_nodes_enlist
    self._boot_nodes()
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 198, in _boot_nodes
    self.power_off(ipmi_address, POWER_USER, POWER_PASS)
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 193, in power_off
    ["ipmipower", "-h", ip, "-u", user, "-p", password, "--off"])
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 59, in _run_command
    process = Popen(args, stdout=PIPE, stderr=PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


======================================================================
ERROR: maas-integration.TestMAASIntegration.test_11_check_nodes_declared
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/timeout.py", line 20, in wrapper
    result = func(*args, **kwargs)
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 222, in test_11_check_nodes_declared
    self._wait_nodes(0)
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 209, in _wait_nodes
    output, err = self._run_maas_cli(["nodes", "list"])
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 64, in _run_maas_cli
    return self._run_command(["maas-cli", "maas"] + args)
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 59, in _run_command
    process = Popen(args, stdout=PIPE, stderr=PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


======================================================================
ERROR: maas-integration.TestMAASIntegration.test_12_set_nodes_ipmi_config
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 232, in test_12_set_nodes_ipmi_config
    ["nodes", "list", "mac_address=%s" % mac])
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 64, in _run_maas_cli
    return self._run_command(["maas-cli", "maas"] + args)
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 59, in _run_command
    process = Popen(args, stdout=PIPE, stderr=PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


======================================================================
ERROR: maas-integration.TestMAASIntegration.test_13_commission_nodes
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 248, in test_13_commission_nodes
    output, err = self._run_maas_cli(["nodes","accept-all"])
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 64, in _run_maas_cli
    return self._run_command(["maas-cli", "maas"] + args)
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 59, in _run_command
    process = Popen(args, stdout=PIPE, stderr=PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


======================================================================
ERROR: maas-integration.TestMAASIntegration.test_14_boot_nodes_commission
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 255, in test_14_boot_nodes_commission
    self._boot_nodes()
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 198, in _boot_nodes
    self.power_off(ipmi_address, POWER_USER, POWER_PASS)
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 193, in power_off
    ["ipmipower", "-h", ip, "-u", user, "-p", password, "--off"])
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 59, in _run_command
    process = Popen(args, stdout=PIPE, stderr=PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


======================================================================
ERROR: maas-integration.TestMAASIntegration.test_15_check_nodes_ready
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/timeout.py", line 20, in wrapper
    result = func(*args, **kwargs)
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 259, in test_15_check_nodes_ready
    self._wait_nodes(4)
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 209, in _wait_nodes
    output, err = self._run_maas_cli(["nodes", "list"])
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 64, in _run_maas_cli
    return self._run_command(["maas-cli", "maas"] + args)
  File "/tmp/tmp.KqcnNZgoDV/ubtree0-ubtree/debian/tests/maas-integration.py", line 59, in _run_command
    process = Popen(args, stdout=PIPE, stderr=PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


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


----------------------------------------------------------------------
Ran 15 tests in 37.699s

FAILED (errors=9, failures=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.KqcnNZgoDV:-/|/tmp/tmp.KqcnNZgoDV/!
+ 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-08 15:17:22: Failure: adt-run exited with status 4.\n
2012-11-08 15:17:22: 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 54400 -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]:54400' (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 54400 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-08 15:17:23: 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-08 15:17:23: 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 54400 -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]:54400' (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-08 15:17:24: Info: Cleaning up\n
2012-11-08 15:17:24: Info: Cleaning up
+ [ -f /var/tmp/adt/jenkins/disks/precise-amd64-maas-20121108_151244.img.pid ]
+ cat /var/tmp/adt/jenkins/disks/precise-amd64-maas-20121108_151244.img.pid
+ kill -9 1149
+ rm -f /var/tmp/adt/jenkins/disks/precise-amd64-maas-20121108_151244.img.pid
+ rm -f /var/tmp/adt/jenkins/disks/precise-amd64-maas-20121108_151244.img
+ rm -f /var/lock/adt/ssh.54400.lock
+ rm -f /var/lock/adt/vnc.6081.lock
+ [ -d /tmp/adt-amd64.PcfgaL ]
+ rm -Rf /tmp/adt-amd64.PcfgaL
+ exit 4
Build step 'Execute shell' marked build as failure
Archiving artifacts



More information about the ubuntu-testing-notifications mailing list