Source: unattended-upgrades Version: 1.5 Severity: serious Tags: ftbfs Some recent change in unstable makes unattended-upgrades FTBFS:
https://tests.reproducible-builds.org/debian/history/unattended-upgrades.html https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/unattended-upgrades.html ... ====================================================================== FAIL: test_remove_unused_dependencies (__main__.TestRemoveUnused) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_remove_unused.py", line 111, in test_remove_unused_dependencies "Can not find '%s' in '%s'" % (needle, haystack)) AssertionError: False is not true : Can not find 'Packages that were successfully auto-removed: old-unused-dependency test-package-dependency' in '2018-09-20 20:38:43,234 INFO Initial blacklisted packages: 2018-09-20 20:38:43,235 INFO Initial whitelisted packages: 2018-09-20 20:38:43,235 INFO Starting unattended upgrades script 2018-09-20 20:38:43,236 INFO Allowed origins are: o=Ubuntu,a=lucid-security 2018-09-20 20:38:43,464 DEBUG APT::VersionedKernelPackages is not set 2018-09-20 20:38:43,466 DEBUG Checking: test-package ([<Origin component:'main' archive:'lucid-security' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>]) 2018-09-20 20:38:43,470 DEBUG pkgs that look like they should be upgraded: test-package 2018-09-20 20:38:43,478 DEBUG fetch.run() result: 0 2018-09-20 20:38:43,479 DEBUG <apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1 FileSize: 624 DestFile:'/build/1st/unattended-upgrades-1.5/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb' DescURI: 'http://archive.ubuntu.com/ubuntu/test-package_2.0_all.deb' ID:0 ErrorText: ''> 2018-09-20 20:38:43,480 DEBUG check_conffile_prompt(/build/1st/unattended-upgrades-1.5/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb) 2018-09-20 20:38:43,481 DEBUG found pkg: test-package 2018-09-20 20:38:43,481 DEBUG blacklist: [] 2018-09-20 20:38:43,481 DEBUG whitelist: [] 2018-09-20 20:38:43,481 INFO Packages that will be upgraded: test-package 2018-09-20 20:38:43,482 INFO Writing dpkg log to ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log 2018-09-20 20:38:43,490 DEBUG applying set ['test-package'] 2018-09-20 20:38:43,951 DEBUG left to upgrade set() 2018-09-20 20:38:43,951 INFO All upgrades installed 2018-09-20 20:38:43,960 DEBUG InstCount=1 DelCount=0 BrokenCount=0 2018-09-20 20:38:43,968 DEBUG Extracting content from ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2018-09-20 20:38:43 ' ====================================================================== FAIL: test_remove_unused_dependencies_new_unused_only (__main__.TestRemoveUnused) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_remove_unused.py", line 138, in test_remove_unused_dependencies_new_unused_only "Can not find '%s' in '%s'" % (needle, haystack)) AssertionError: False is not true : Can not find 'Packages that were successfully auto-removed: test-package-dependency' in '2018-09-20 20:38:43,984 INFO Initial blacklisted packages: 2018-09-20 20:38:43,985 INFO Initial whitelisted packages: 2018-09-20 20:38:43,985 INFO Starting unattended upgrades script 2018-09-20 20:38:43,985 INFO Allowed origins are: o=Ubuntu,a=lucid-security 2018-09-20 20:38:44,278 DEBUG Using (^linux-image|^.*-modules|^linux-headers) regexp to find kernel packages 2018-09-20 20:38:44,284 DEBUG Using (^linux-image.*4.9.0-8-amd64|4.9.0-8-amd64.*-modules|^linux-headers.*4.9.0-8-amd64) regexp to find running kernel packages 2018-09-20 20:38:44,286 DEBUG Checking: test-package ([<Origin component:'main' archive:'lucid-security' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>]) 2018-09-20 20:38:44,288 DEBUG pkgs that look like they should be upgraded: test-package 2018-09-20 20:38:44,298 DEBUG fetch.run() result: 0 2018-09-20 20:38:44,299 DEBUG <apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1 FileSize: 624 DestFile:'/build/1st/unattended-upgrades-1.5/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb' DescURI: 'http://archive.ubuntu.com/ubuntu/test-package_2.0_all.deb' ID:0 ErrorText: ''> 2018-09-20 20:38:44,299 DEBUG check_conffile_prompt(/build/1st/unattended-upgrades-1.5/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb) 2018-09-20 20:38:44,299 DEBUG found pkg: test-package 2018-09-20 20:38:44,300 DEBUG blacklist: [] 2018-09-20 20:38:44,300 DEBUG whitelist: [] 2018-09-20 20:38:44,301 INFO Packages that will be upgraded: test-package 2018-09-20 20:38:44,301 INFO Writing dpkg log to ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log 2018-09-20 20:38:44,312 DEBUG applying set ['test-package'] 2018-09-20 20:38:44,318 DEBUG InstCount=1 DelCount=0 BrokenCount=0 2018-09-20 20:38:44,318 DEBUG InstCount=1 DelCount=0 BrokenCount=0 2018-09-20 20:38:44,322 DEBUG Extracting content from ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2018-09-20 20:38:43 2018-09-20 20:38:44,322 DEBUG Extracting content from ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2018-09-20 20:38:43 ' ---------------------------------------------------------------------- Ran 2 tests in 1.110s FAILED (failures=2) /build/1st/unattended-upgrades-1.5/test/unattended_upgrade.py:1158: ResourceWarning: unclosed file <_io.TextIOWrapper name=14 mode='w' encoding='ANSI_X3.4-1968'> pkg_install_success = False /build/1st/unattended-upgrades-1.5/test/unattended_upgrade.py:1158: ResourceWarning: unclosed file <_io.TextIOWrapper name=13 mode='r' encoding='ANSI_X3.4-1968'> pkg_install_success = False F ====================================================================== FAIL: test_remove_unused_dependencies (__main__.TestRemoveUnused) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_remove_unused.py", line 111, in test_remove_unused_dependencies "Can not find '%s' in '%s'" % (needle, haystack)) AssertionError: False is not true : Can not find 'Packages that were successfully auto-removed: old-unused-dependency test-package-dependency' in '2018-09-20 20:38:43,234 INFO Initial blacklisted packages: 2018-09-20 20:38:43,235 INFO Initial whitelisted packages: 2018-09-20 20:38:43,235 INFO Starting unattended upgrades script 2018-09-20 20:38:43,236 INFO Allowed origins are: o=Ubuntu,a=lucid-security 2018-09-20 20:38:43,464 DEBUG APT::VersionedKernelPackages is not set 2018-09-20 20:38:43,466 DEBUG Checking: test-package ([<Origin component:'main' archive:'lucid-security' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>]) 2018-09-20 20:38:43,470 DEBUG pkgs that look like they should be upgraded: test-package 2018-09-20 20:38:43,478 DEBUG fetch.run() result: 0 2018-09-20 20:38:43,479 DEBUG <apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1 FileSize: 624 DestFile:'/build/1st/unattended-upgrades-1.5/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb' DescURI: 'http://archive.ubuntu.com/ubuntu/test-package_2.0_all.deb' ID:0 ErrorText: ''> 2018-09-20 20:38:43,480 DEBUG check_conffile_prompt(/build/1st/unattended-upgrades-1.5/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb) 2018-09-20 20:38:43,481 DEBUG found pkg: test-package 2018-09-20 20:38:43,481 DEBUG blacklist: [] 2018-09-20 20:38:43,481 DEBUG whitelist: [] 2018-09-20 20:38:43,481 INFO Packages that will be upgraded: test-package 2018-09-20 20:38:43,482 INFO Writing dpkg log to ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log 2018-09-20 20:38:43,490 DEBUG applying set ['test-package'] 2018-09-20 20:38:43,951 DEBUG left to upgrade set() 2018-09-20 20:38:43,951 INFO All upgrades installed 2018-09-20 20:38:43,960 DEBUG InstCount=1 DelCount=0 BrokenCount=0 2018-09-20 20:38:43,968 DEBUG Extracting content from ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2018-09-20 20:38:43 ' ====================================================================== FAIL: test_remove_unused_dependencies_new_unused_only (__main__.TestRemoveUnused) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_remove_unused.py", line 138, in test_remove_unused_dependencies_new_unused_only "Can not find '%s' in '%s'" % (needle, haystack)) AssertionError: False is not true : Can not find 'Packages that were successfully auto-removed: test-package-dependency' in '2018-09-20 20:38:43,984 INFO Initial blacklisted packages: 2018-09-20 20:38:43,985 INFO Initial whitelisted packages: 2018-09-20 20:38:43,985 INFO Starting unattended upgrades script 2018-09-20 20:38:43,985 INFO Allowed origins are: o=Ubuntu,a=lucid-security 2018-09-20 20:38:44,278 DEBUG Using (^linux-image|^.*-modules|^linux-headers) regexp to find kernel packages 2018-09-20 20:38:44,284 DEBUG Using (^linux-image.*4.9.0-8-amd64|4.9.0-8-amd64.*-modules|^linux-headers.*4.9.0-8-amd64) regexp to find running kernel packages 2018-09-20 20:38:44,286 DEBUG Checking: test-package ([<Origin component:'main' archive:'lucid-security' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>]) 2018-09-20 20:38:44,288 DEBUG pkgs that look like they should be upgraded: test-package 2018-09-20 20:38:44,298 DEBUG fetch.run() result: 0 2018-09-20 20:38:44,299 DEBUG <apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1 FileSize: 624 DestFile:'/build/1st/unattended-upgrades-1.5/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb' DescURI: 'http://archive.ubuntu.com/ubuntu/test-package_2.0_all.deb' ID:0 ErrorText: ''> 2018-09-20 20:38:44,299 DEBUG check_conffile_prompt(/build/1st/unattended-upgrades-1.5/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb) 2018-09-20 20:38:44,299 DEBUG found pkg: test-package 2018-09-20 20:38:44,300 DEBUG blacklist: [] 2018-09-20 20:38:44,300 DEBUG whitelist: [] 2018-09-20 20:38:44,301 INFO Packages that will be upgraded: test-package 2018-09-20 20:38:44,301 INFO Writing dpkg log to ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log 2018-09-20 20:38:44,312 DEBUG applying set ['test-package'] 2018-09-20 20:38:44,318 DEBUG InstCount=1 DelCount=0 BrokenCount=0 2018-09-20 20:38:44,318 DEBUG InstCount=1 DelCount=0 BrokenCount=0 2018-09-20 20:38:44,322 DEBUG Extracting content from ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2018-09-20 20:38:43 2018-09-20 20:38:44,322 DEBUG Extracting content from ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2018-09-20 20:38:43 ' ---------------------------------------------------------------------- Ran 2 tests in 1.114s FAILED (failures=2) make[2]: *** [Makefile:6: check] Error 1