Build failed in Jenkins: raring-proposed-adt-unattended-upgrades » amd64,albali #4

Jenkins Notification devnull at canonical.com
Tue Nov 6 21:54:06 UTC 2012


See <http://10.189.74.2:8080/job/raring-proposed-adt-unattended-upgrades/./ARCH=amd64,label=albali/4/>

------------------------------------------
[...truncated 1027 lines...]
  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.BkhE7fXbSh/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.BkhE7fXbSh/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.BkhE7fXbSh/dsc0-build/unattended-upgrades-0.79.3ubuntu4/test/unattended_upgrade.py:545: ResourceWarning: unclosed file <_io.FileIO name=21 mode='rb'>
  pkg_md5sum = get_md5sum_for_file_in_deb(destFile, conf_file)
/tmp/tmp.BkhE7fXbSh/dsc0-build/unattended-upgrades-0.79.3ubuntu4/test/unattended_upgrade.py:545: ResourceWarning: unclosed file <_io.TextIOWrapper name=22 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
/tmp/tmp.BkhE7fXbSh/dsc0-build/unattended-upgrades-0.79.3ubuntu4/test/unattended_upgrade.py:525: ResourceWarning: unclosed file <_io.FileIO name=25 mode='rb'>
  pkg_md5sum = get_md5sum_for_file_in_deb(destFile, conf_file)
/tmp/tmp.BkhE7fXbSh/dsc0-build/unattended-upgrades-0.79.3ubuntu4/test/unattended_upgrade.py:525: ResourceWarning: unclosed file <_io.TextIOWrapper name=26 encoding='UTF-8'>
  pkg_md5sum = get_md5sum_for_file_in_deb(destFile, conf_file)
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.123s

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.155s

OK
./test_minimal_partitions.py:46: ResourceWarning: unclosed file <_io.TextIOWrapper name=31 mode='r' encoding='UTF-8'>
  self.cache, pkgs_to_upgrade, "", [])
./test_minimal_partitions.py:46: ResourceWarning: unclosed file <_io.TextIOWrapper name=32 mode='w' encoding='UTF-8'>
  self.cache, pkgs_to_upgrade, "", [])
./test_minimal_partitions.py:46: ResourceWarning: unclosed file <_io.TextIOWrapper name=33 mode='r' encoding='UTF-8'>
  self.cache, pkgs_to_upgrade, "", [])
./test_minimal_partitions.py:46: ResourceWarning: unclosed file <_io.TextIOWrapper name=34 mode='w' encoding='UTF-8'>
  self.cache, pkgs_to_upgrade, "", [])
.
----------------------------------------------------------------------
Ran 1 test in 3.777s

OK
.
----------------------------------------------------------------------
Ran 1 test in 1.596s

OK
............
----------------------------------------------------------------------
Ran 12 tests in 0.170s

OK
............
----------------------------------------------------------------------
Ran 12 tests in 0.164s

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.3/subprocess.py", line 521, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.3/subprocess.py", line 818, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.3/subprocess.py", line 1424, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [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_conffile.py with python3
Running ./test_conffile.py with python
Running ./test_minimal_partitions.py with python3
 100.0
Running ./test_minimal_partitions.py with python
('', 100.0)
Running ./test_mail.py with python3
Running ./test_mail.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.BkhE7fXbSh:-/|/tmp/tmp.BkhE7fXbSh/!
+ 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-06 21:54:04: Failure: adt-run exited with status 4.\n
2012-11-06 21:54:04: Failure: adt-run exited with status 4.
+ [ 0 -eq 0 ]
+ mkdir -p <http://10.189.74.2:8080/job/raring-proposed-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 54332 -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]:54332' (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 54332 ubuntu at localhost:/home/ubuntu/adt-log/*
    /var/crash/*crash /var/log/syslog <http://10.189.74.2:8080/job/raring-proposed-adt-unattended-upgrades/./ARCH=amd64,label=albali/ws/results>
+ true
+ log_info_msg Test artifacts copied to <http://10.189.74.2:8080/job/raring-proposed-adt-unattended-upgrades/./ARCH=amd64,label=albali/ws/results>
+ log_msg Info: Test artifacts copied to <http://10.189.74.2:8080/job/raring-proposed-adt-unattended-upgrades/./ARCH=amd64,label=albali/ws/results\n>
+ date +%F %X
+ printf 2012-11-06 21:54:05: Info: Test artifacts copied to <http://10.189.74.2:8080/job/raring-proposed-adt-unattended-upgrades/./ARCH=amd64,label=albali/ws/results\n>
2012-11-06 21:54:05: Info: Test artifacts copied to <http://10.189.74.2:8080/job/raring-proposed-adt-unattended-upgrades/./ARCH=amd64,label=albali/ws/results>
+ [ -n 2012-11-06_21-01-35 ]
+ log_info_msg Updating Jenkins results
+ log_msg Info: Updating Jenkins results\n
+ date +%F %X
+ printf 2012-11-06 21:54:05: Info: Updating Jenkins results\n
2012-11-06 21:54:05: Info: Updating Jenkins results
+ res=fail
+ [ 4 -eq 0 ]
+ OPTS=-d
+ [ 1 -eq 1 ]
+ OPTS=-d -P
+ /var/lib/ubuntu-iso-testing/auto-package-testing/bin/../jenkins/update-adt-result -d -P -r raring unattended-upgrades amd64 fail
2012-11-06 21:54:05,545 DEBUG Debug mode enabled
2012-11-06 21:54:05,545 DEBUG aptroot: /var/lib/ubuntu-iso-testing/auto-package-testing/aptroot/raring-proposed-amd64
2012-11-06 21:54:05,545 DEBUG Loading status from /var/lib/ubuntu-iso-testing/auto-package-testing/aptroot/raring-proposed-amd64/var/cache/adt/raring-proposed_amd64_unattended-upgrades
2012-11-06 21:54:05,546 DEBUG Writing status file
2012-11-06 21:54:05,546 INFO Writing results to /var/lib/ubuntu-iso-testing/auto-package-testing/aptroot/raring-proposed-amd64/../raring/raring-proposed_unattended-upgrades_20121106-215405
+ [ 0 -eq 0 ]
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/cache/adt/disks/adtkey -p 54332 -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]:54332' (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-06 21:54:06: Info: Cleaning up\n
2012-11-06 21:54:06: Info: Cleaning up
+ [ -f /dev/shm/adt/raring-amd64-unattended-upgrades-20121106_214924.img.pid ]
+ cat /dev/shm/adt/raring-amd64-unattended-upgrades-20121106_214924.img.pid
+ kill -9 59465
+ rm -f /dev/shm/adt/raring-amd64-unattended-upgrades-20121106_214924.img.pid
+ rm -f /dev/shm/adt/raring-amd64-unattended-upgrades-20121106_214924.img
+ rm -f /var/lock/adt/ssh.54332.lock
+ rm -f /var/lock/adt/vnc.5920.lock
+ [ -d /tmp/adt-amd64.v3zSXp ]
+ rm -Rf /tmp/adt-amd64.v3zSXp
+ exit 4
Build step 'Execute shell' marked build as failure
Archiving artifacts



More information about the ubuntu-testing-notifications mailing list