Build failed in Jenkins: quantal-adt-unattended-upgrades » amd64,albali #13
Jenkins Notification
devnull at canonical.com
Tue Oct 16 12:00:25 UTC 2012
See <http://10.189.74.2:8080/job/quantal-adt-unattended-upgrades/./ARCH=amd64,label=albali/13/>
------------------------------------------
[...truncated 962 lines...]
Setting up libpython3.2 (3.2.3-6ubuntu3) ...
Setting up zlib1g-dev:amd64 (1:1.2.7.dfsg-13) ...
Setting up libssl-dev (1.0.1c-3ubuntu2) ...
Setting up python-coverage (3.4-3ubuntu1) ...
Setting up python2.7-dev (2.7.3-5ubuntu4) ...
Setting up python-dev (2.7.3-0ubuntu7) ...
Setting up python3.2-dev (3.2.3-6ubuntu3) ...
Setting up python3-dev (3.2.3-5ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
-> Finished parsing the build-deps
adt-run: trace: & dsc0t-run-tests: [----------------------------------------
+ buildtree=/tmp/tmp.pZv8QG2dkl/dsc0-build/unattended-upgrades-0.79.3ubuntu4/
+ shift
+ rm -rf -- /tmp/tmp.pZv8QG2dkl/dsc0t-run-tests-testtmp /tmp/tmp.pZv8QG2dkl/dsc0t-run-tests-testtmp/tmpdir /tmp/tmp.pZv8QG2dkl/dsc0t-run-tests-testtmp/adttmp
+ mkdir -- /tmp/tmp.pZv8QG2dkl/dsc0t-run-tests-testtmp /tmp/tmp.pZv8QG2dkl/dsc0t-run-tests-testtmp/tmpdir /tmp/tmp.pZv8QG2dkl/dsc0t-run-tests-testtmp/adttmp
adt-run: trace: & dsc0t-run-tests: - - - - - - - - - - results - - - - - - - - - -
dsc0t-run-tests FAIL status: 2, stderr: ./test_minimal_partitions.py:46: Re...
adt-run: trace: & dsc0t-run-tests: - - - - - - - - - - stderr - - - - - - - - - -
./test_minimal_partitions.py:46: ResourceWarning: unclosed file <_io.TextIOWrapper name=23 mode='r' encoding='UTF-8'>
self.cache, pkgs_to_upgrade, "", [])
./test_minimal_partitions.py:46: ResourceWarning: unclosed file <_io.TextIOWrapper name=24 mode='w' encoding='UTF-8'>
self.cache, pkgs_to_upgrade, "", [])
./test_minimal_partitions.py:46: ResourceWarning: unclosed file <_io.TextIOWrapper name=25 mode='r' encoding='UTF-8'>
self.cache, pkgs_to_upgrade, "", [])
./test_minimal_partitions.py:46: ResourceWarning: unclosed file <_io.TextIOWrapper name=26 mode='w' encoding='UTF-8'>
self.cache, pkgs_to_upgrade, "", [])
.
----------------------------------------------------------------------
Ran 1 test in 3.746s
OK
.
----------------------------------------------------------------------
Ran 1 test in 1.465s
OK
DEBUG:root:check_conffile_prompt('./packages/conf-test-package_1.0.deb')
DEBUG:root:found pkg: test-package
DEBUG:root:conffile line: '/etc/not-available-config-file 99b99d59ac8f5ecd3375107755ee8599'
DEBUG:root:conffile line: '/etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527'
DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b
/tmp/tmp.pZv8QG2dkl/dsc0-build/unattended-upgrades-0.79.3ubuntu4/test/unattended_upgrade.py:525: ResourceWarning: unclosed file <_io.FileIO name=9 mode='rb'>
pkg_md5sum = get_md5sum_for_file_in_deb(destFile, conf_file)
/tmp/tmp.pZv8QG2dkl/dsc0-build/unattended-upgrades-0.79.3ubuntu4/test/unattended_upgrade.py:525: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 encoding='UTF-8'>
pkg_md5sum = get_md5sum_for_file_in_deb(destFile, conf_file)
DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527
DEBUG:root:conffile line: '/etc/not-available-config-file2 88b99d59ac8f5ecd3375107755ee8588'
DEBUG:root:conffile line: '/etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7'
DEBUG:root:'/etc/configuration-file2' not in package conffiles '/etc/configuration-file'
.DEBUG:root:check_conffile_prompt('./packages/conf-test-package-no-conffiles-anymore_2.deb')
DEBUG:root:found pkg: test-package
DEBUG:root:No conffiles in deb './packages/conf-test-package-no-conffiles-anymore_2.deb' (There is no member named 'conffiles')
DEBUG:root:conffile line: '/etc/not-available-config-file 99b99d59ac8f5ecd3375107755ee8599'
DEBUG:root:conffile line: '/etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527'
DEBUG:root:'/etc/configuration-file' not in package conffiles ''
DEBUG:root:conffile line: '/etc/not-available-config-file2 88b99d59ac8f5ecd3375107755ee8588'
DEBUG:root:conffile line: '/etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7'
DEBUG:root:'/etc/configuration-file2' not in package conffiles ''
.DEBUG:root:check_conffile_prompt('./packages/conf-test-package_1.1.deb')
DEBUG:root:found pkg: test-package
DEBUG:root:conffile line: '/etc/not-available-config-file 99b99d59ac8f5ecd3375107755ee8599'
DEBUG:root:conffile line: '/etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527'
DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b
/tmp/tmp.pZv8QG2dkl/dsc0-build/unattended-upgrades-0.79.3ubuntu4/test/unattended_upgrade.py:525: ResourceWarning: unclosed file <_io.FileIO name=17 mode='rb'>
pkg_md5sum = get_md5sum_for_file_in_deb(destFile, conf_file)
/tmp/tmp.pZv8QG2dkl/dsc0-build/unattended-upgrades-0.79.3ubuntu4/test/unattended_upgrade.py:525: ResourceWarning: unclosed file <_io.TextIOWrapper name=18 encoding='UTF-8'>
pkg_md5sum = get_md5sum_for_file_in_deb(destFile, conf_file)
DEBUG:root:pkg_md5sum: c1d49253da76b8d6b7662b751e8d6229
.DEBUG:root:check_conffile_prompt('./packages/conf-test-package-new-conffile_1.deb')
DEBUG:root:found pkg: test-package-new-conffile
DEBUG:root:found conffile '/etc/configuration-file5' in new pkg but on dpkg status
/tmp/tmp.pZv8QG2dkl/dsc0-build/unattended-upgrades-0.79.3ubuntu4/test/unattended_upgrade.py:545: ResourceWarning: unclosed file <_io.FileIO name=5 mode='rb'>
pkg_md5sum = get_md5sum_for_file_in_deb(destFile, conf_file)
/tmp/tmp.pZv8QG2dkl/dsc0-build/unattended-upgrades-0.79.3ubuntu4/test/unattended_upgrade.py:545: ResourceWarning: unclosed file <_io.TextIOWrapper name=6 encoding='UTF-8'>
pkg_md5sum = get_md5sum_for_file_in_deb(destFile, conf_file)
.DEBUG:root:check_conffile_prompt('./packages/multiple-conffiles_2_all.deb')
DEBUG:root:found pkg: multiple-conffiles
DEBUG:root:conffile line: '/etc/configuration-file1 cb9a458f0fdc96e10b4d23923f16e3a0'
DEBUG:root:current md5: cb9a458f0fdc96e10b4d23923f16e3a0
DEBUG:root:conffile line: '/etc/configuration-file2 8bf10a884dcfe6a8c3e57039e14d2b92'
DEBUG:root:current md5: 404d877bbd67dc2412ba80d7c92d6bc7
DEBUG:root:pkg_md5sum: 7383fed9a71055c8b78d74c8166fd290
.DEBUG:root:check_conffile_prompt('./packages/conf-test-package-257-conffiles_1.deb')
DEBUG:root:found pkg: test-package
DEBUG:root:conffile line: '/etc/not-available-config-file 99b99d59ac8f5ecd3375107755ee8599'
DEBUG:root:conffile line: '/etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527'
DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b
/tmp/tmp.pZv8QG2dkl/dsc0-build/unattended-upgrades-0.79.3ubuntu4/test/unattended_upgrade.py:525: ResourceWarning: unclosed file <_io.FileIO name=13 mode='rb'>
pkg_md5sum = get_md5sum_for_file_in_deb(destFile, conf_file)
/tmp/tmp.pZv8QG2dkl/dsc0-build/unattended-upgrades-0.79.3ubuntu4/test/unattended_upgrade.py:525: ResourceWarning: unclosed file <_io.TextIOWrapper name=14 encoding='UTF-8'>
pkg_md5sum = get_md5sum_for_file_in_deb(destFile, conf_file)
DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527
DEBUG:root:conffile line: '/etc/not-available-config-file2 88b99d59ac8f5ecd3375107755ee8588'
DEBUG:root:conffile line: '/etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7'
DEBUG:root:current md5: 404d877bbd67dc2412ba80d7c92d6bc7
....
----------------------------------------------------------------------
Ran 9 tests in 0.128s
OK
DEBUG:root:check_conffile_prompt('./packages/conf-test-package_1.0.deb')
DEBUG:root:found pkg: test-package
DEBUG:root:conffile line: '/etc/not-available-config-file 99b99d59ac8f5ecd3375107755ee8599'
DEBUG:root:conffile line: '/etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527'
DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b
DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527
DEBUG:root:conffile line: '/etc/not-available-config-file2 88b99d59ac8f5ecd3375107755ee8588'
DEBUG:root:conffile line: '/etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7'
DEBUG:root:'/etc/configuration-file2' not in package conffiles '/etc/configuration-file'
.DEBUG:root:check_conffile_prompt('./packages/conf-test-package-no-conffiles-anymore_2.deb')
DEBUG:root:found pkg: test-package
DEBUG:root:No conffiles in deb './packages/conf-test-package-no-conffiles-anymore_2.deb' (There is no member named 'conffiles')
DEBUG:root:conffile line: '/etc/not-available-config-file 99b99d59ac8f5ecd3375107755ee8599'
DEBUG:root:conffile line: '/etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527'
DEBUG:root:'/etc/configuration-file' not in package conffiles ''
DEBUG:root:conffile line: '/etc/not-available-config-file2 88b99d59ac8f5ecd3375107755ee8588'
DEBUG:root:conffile line: '/etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7'
DEBUG:root:'/etc/configuration-file2' not in package conffiles ''
.DEBUG:root:check_conffile_prompt('./packages/conf-test-package_1.1.deb')
DEBUG:root:found pkg: test-package
DEBUG:root:conffile line: '/etc/not-available-config-file 99b99d59ac8f5ecd3375107755ee8599'
DEBUG:root:conffile line: '/etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527'
DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b
DEBUG:root:pkg_md5sum: c1d49253da76b8d6b7662b751e8d6229
.DEBUG:root:check_conffile_prompt('./packages/conf-test-package-new-conffile_1.deb')
DEBUG:root:found pkg: test-package-new-conffile
DEBUG:root:found conffile '/etc/configuration-file5' in new pkg but on dpkg status
.DEBUG:root:check_conffile_prompt('./packages/multiple-conffiles_2_all.deb')
DEBUG:root:found pkg: multiple-conffiles
DEBUG:root:conffile line: '/etc/configuration-file1 cb9a458f0fdc96e10b4d23923f16e3a0'
DEBUG:root:current md5: cb9a458f0fdc96e10b4d23923f16e3a0
DEBUG:root:conffile line: '/etc/configuration-file2 8bf10a884dcfe6a8c3e57039e14d2b92'
DEBUG:root:current md5: 404d877bbd67dc2412ba80d7c92d6bc7
DEBUG:root:pkg_md5sum: 7383fed9a71055c8b78d74c8166fd290
.DEBUG:root:check_conffile_prompt('./packages/conf-test-package-257-conffiles_1.deb')
DEBUG:root:found pkg: test-package
DEBUG:root:conffile line: '/etc/not-available-config-file 99b99d59ac8f5ecd3375107755ee8599'
DEBUG:root:conffile line: '/etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527'
DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b
DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527
DEBUG:root:conffile line: '/etc/not-available-config-file2 88b99d59ac8f5ecd3375107755ee8588'
DEBUG:root:conffile line: '/etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7'
DEBUG:root:current md5: 404d877bbd67dc2412ba80d7c92d6bc7
....
----------------------------------------------------------------------
Ran 9 tests in 0.145s
OK
E
======================================================================
ERROR: test_all_code (__main__.PackagePep8TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test_pep8.py", line 12, in test_all_code
res += subprocess.call(["pep8", "--repeat", ] + py_files)
File "/usr/lib/python3.2/subprocess.py", line 471, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python3.2/subprocess.py", line 745, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.2/subprocess.py", line 1371, in _execute_child
raise child_exception_type(errno_num, err_msg)
OSError: [Errno 2] No such file or directory: 'pep8'
----------------------------------------------------------------------
Ran 1 test in 0.008s
FAILED (errors=1)
make: *** [check] Error 1
adt-run: trace: & dsc0t-run-tests: - - - - - - - - - - stdout - - - - - - - - - -
# test with both py2 and py3 for now and also use coverage for the py2
set -e; \
find . -name 'test_*.py' | \
while read file; do \
if [ -x $file ]; then \
echo "Running $file with python3"; \
python3 $file ; \
echo "Running $file with python"; \
python-coverage run -a $file; \
fi \
done
Running ./test_minimal_partitions.py with python3
100.0
Running ./test_minimal_partitions.py with python
('', 100.0)
Running ./test_conffile.py with python3
Running ./test_conffile.py with python
Running ./test_pep8.py with python3
adt-run: trace: & dsc0t-run-tests: ----------------------------------------]
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.pZv8QG2dkl:-/|/tmp/tmp.pZv8QG2dkl/!
+ RC=4
+ [ 0 -eq 1 ]
+ chown -R ubuntu /home/ubuntu/adt-log
+ chmod og+r /var/log/syslog
+ chmod og+r /var/crash/*
chmod: cannot access `/var/crash/*': No such file or directory
+ 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-10-16 12:00:22: Failure: adt-run exited with status 4.\n
2012-10-16 12:00:22: Failure: adt-run exited with status 4.
+ [ 0 -eq 0 ]
+ mkdir -p <http://10.189.74.2:8080/job/quantal-adt-unattended-upgrades/./ARCH=amd64,label=albali/ws/results>
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/cache/adt/disks/adtkey -p 54400 -t -o BatchMode=yes -l ubuntu localhost sudo chown -R ubuntu /home/ubuntu/adt-log; find -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
find: `./.autopkgtest/gpg': Permission denied
+ scp -r -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/cache/adt/disks/adtkey -P 54400 ubuntu at localhost:/home/ubuntu/adt-log/* /var/crash/*crash /var/log/syslog <http://10.189.74.2:8080/job/quantal-adt-unattended-upgrades/./ARCH=amd64,label=albali/ws/results>
Warning: Permanently added '[localhost]:54400' (ECDSA) to the list of known hosts.
scp: /var/crash/*crash: No such file or directory
+ true
+ log_info_msg Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-unattended-upgrades/./ARCH=amd64,label=albali/ws/results>
+ log_msg Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-unattended-upgrades/./ARCH=amd64,label=albali/ws/results\n>
+ date +%F %X
+ printf 2012-10-16 12:00:23: Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-unattended-upgrades/./ARCH=amd64,label=albali/ws/results\n>
2012-10-16 12:00:23: Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-unattended-upgrades/./ARCH=amd64,label=albali/ws/results>
+ [ 0 -eq 0 ]
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/cache/adt/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-10-16 12:00:24: Info: Cleaning up\n
2012-10-16 12:00:24: Info: Cleaning up
+ [ -f /dev/shm/adt/quantal-amd64-unattended-upgrades-20121016_115519.img.pid ]
+ cat /dev/shm/adt/quantal-amd64-unattended-upgrades-20121016_115519.img.pid
+ kill -9 79960
+ rm -f /dev/shm/adt/quantal-amd64-unattended-upgrades-20121016_115519.img.pid
+ rm -f /dev/shm/adt/quantal-amd64-unattended-upgrades-20121016_115519.img
+ rm -f /var/lock/adt/ssh.54400.lock
+ rm -f /var/lock/adt/vnc.5988.lock
+ [ -d /tmp/adt-amd64.LezFMx ]
+ rm -Rf /tmp/adt-amd64.LezFMx
+ exit 4
Build step 'Execute shell' marked build as failure
Archiving artifacts
More information about the ubuntu-testing-notifications
mailing list