--- Begin Message ---
Source: unattended-upgrades
Version: 2.7
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/test/packages/equivs.aYtbGH'
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> create-stamp debian/debhelper-build-stamp
> dh_prep
> dh_install
> dh_installdocs
> dh_installchangelogs
> dh_perl
> dh_link
> dh_strip_nondeterminism
> dh_compress
> dh_fixperms
> dh_missing
> dh_installdeb
> dh_gencontrol
> dh_md5sums
> dh_builddeb
> dpkg-deb: building package 'test-package' in '../test-package_1.3_all.deb'.
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/test/packages/equivs.aYtbGH'
> dpkg-genbuildinfo --build=binary
> dpkg-genchanges --build=binary >../test-package_1.3_amd64.changes
> dpkg-genchanges: info: binary-only upload (no source code included)
> dpkg-source --after-build .
> dpkg-buildpackage: info: binary-only upload (no source included)
>
> The package has been created.
> Attention, the package has been created in the current directory,
> not in ".." as indicated by the message above!
> Conffiles:
> dpkg-deb -I test-package_1.3_all.deb conffiles
> /etc/configuration-file/configuration-file
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/test/packages'
> set -e; \
> find . -name 'test_*.py' | \
> while read file; do \
> if [ -x $file ]; then \
> echo "Running $file with python3"; \
> python3 $file 2>&1; \
> echo "Running $file with python3-coverage"; \
> python3 -m coverage run -a $file 2>&1; \
> fi \
> done
> Running ./test_log_install_progress.py with python3
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.001s
>
> OK
> Running ./test_log_install_progress.py with python3-coverage
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.002s
>
> OK
> Running ./test_regression.py with python3
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.002s
>
> OK
> Running ./test_regression.py with python3-coverage
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.004s
>
> OK
> Running ./test_on_battery.py with python3
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.003s
>
> OK
> Running ./test_on_battery.py with python3-coverage
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.003s
>
> OK
> Running ./test_logdir.py with python3
> ./<<PKGBUILDDIR>>/test/./test_logdir.py:44: ResourceWarning: unclosed file
> <_io.TextIOWrapper name='/tmp/tmpjb30zfek/mylog/unattended-upgrades.log'
> mode='a' encoding='UTF-8'>
> logging.root.handlers = []
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> .
> ----------------------------------------------------------------------
> Ran 2 tests in 0.003s
>
> OK
> Running ./test_logdir.py with python3-coverage
> ./<<PKGBUILDDIR>>/test/test_logdir.py:44: ResourceWarning: unclosed file
> <_io.TextIOWrapper name='/tmp/tmpt7rvd7yf/mylog/unattended-upgrades.log'
> mode='a' encoding='UTF-8'>
> logging.root.handlers = []
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> .
> ----------------------------------------------------------------------
> Ran 2 tests in 0.004s
>
> OK
> Running ./test_motd.py with python3
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.001s
>
> OK
> Running ./test_motd.py with python3-coverage
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.001s
>
> OK
> Running ./test_pep8.py with python3
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.924s
>
> OK
> Running ./test_pep8.py with python3-coverage
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.924s
>
> OK
> Running ./test_remove_unused.py with python3
> Starting unattended upgrades script
> Allowed origins are: o=Ubuntu,a=lucid-security
> Initial blacklist:
> Initial whitelist (not strict):
> Marking not allowed <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> Applying pinning: PkgFilePin(id=0, priority=-32768)
> Applying pin -32768 to package_file: <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> APT::VersionedKernelPackages is not set
> Checking: test-package ([<Origin component:'main' archive:'lucid-security'
> origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
> pkgs that look like they should be upgraded: test-package
>
> Fetched 0 B in 0s (0 B/s)
>
> fetch.run() result: 0
> <apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1
> FileSize: 624
> DestFile:'/<<PKGBUILDDIR>>/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: ''>
> check_conffile_prompt(/<<PKGBUILDDIR>>/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb)
> found pkg: test-package
> conffile /etc/configuration-file in missing on the system
> Packages blacklist due to conffile prompts: []
> Packages that will be upgraded: test-package
> Writing dpkg log to
> ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log
> applying set ['test-package']
> Marking not allowed <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> Applying pinning: PkgFilePin(id=0, priority=-32768)
> Applying pin -32768 to package_file: <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> left to upgrade set()
> All upgrades installed
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1538: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=10 mode='w' encoding='UTF-8'>
> pkg_install_success = upgrade_in_minimal_steps(
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1538: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=8 mode='r' encoding='UTF-8'>
> pkg_install_success = upgrade_in_minimal_steps(
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> marking any-old-unused-modules for removal
> Marking not allowed <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> Applying pinning: PkgFilePin(id=0, priority=-32768)
> Applying pin -32768 to package_file: <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1883: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=10 mode='w' encoding='UTF-8'>
> res, error = cache_commit(cache, logfile_dpkg, verbose)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1883: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=8 mode='r' encoding='UTF-8'>
> res, error = cache_commit(cache, logfile_dpkg, verbose)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> marking linux-image-4.05.0-1021-kvm for removal
> Marking not allowed <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> Applying pinning: PkgFilePin(id=0, priority=-32768)
> Applying pin -32768 to package_file: <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1883: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=10 mode='w' encoding='UTF-8'>
> res, error = cache_commit(cache, logfile_dpkg, verbose)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1883: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=8 mode='r' encoding='UTF-8'>
> res, error = cache_commit(cache, logfile_dpkg, verbose)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> marking old-unused-dependency for removal
> Marking not allowed <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> Applying pinning: PkgFilePin(id=0, priority=-32768)
> Applying pin -32768 to package_file: <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1883: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=10 mode='w' encoding='UTF-8'>
> res, error = cache_commit(cache, logfile_dpkg, verbose)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1883: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=8 mode='r' encoding='UTF-8'>
> res, error = cache_commit(cache, logfile_dpkg, verbose)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> marking test-package-dependency for removal
> Marking not allowed <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> Applying pinning: PkgFilePin(id=0, priority=-32768)
> Applying pin -32768 to package_file: <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1883: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=10 mode='w' encoding='UTF-8'>
> res, error = cache_commit(cache, logfile_dpkg, verbose)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1883: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=8 mode='r' encoding='UTF-8'>
> res, error = cache_commit(cache, logfile_dpkg, verbose)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> Packages that were successfully auto-removed: any-old-unused-modules
> linux-image-4.05.0-1021-kvm old-unused-dependency test-package-dependency
> Packages that are kept back:
> InstCount=0 DelCount=0 BrokenCount=0
> Extracting content from
> ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log
> since 2021-01-20 17:47:59
> .Starting unattended upgrades script
> Allowed origins are: o=Ubuntu,a=lucid-security
> Initial blacklist:
> Initial whitelist (not strict):
> Marking not allowed <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> Applying pinning: PkgFilePin(id=0, priority=-32768)
> Applying pin -32768 to package_file: <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> Using
> (^linux-image-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-modules-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^linux-headers-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$)
> regexp to find kernel packages
> Using
> (^linux-image-4\.19\.0\-6\-cloud\-amd64$|^linux-image-4\.19\.0\-6$|^.*-modules-4\.19\.0\-6\-cloud\-amd64$|^.*-modules-4\.19\.0\-6$|^linux-headers-4\.19\.0\-6\-cloud\-amd64$|^linux-headers-4\.19\.0\-6$)
> regexp to find running kernel packages
> Checking: test-package ([<Origin component:'main' archive:'lucid-security'
> origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>])
> pkgs that look like they should be upgraded: test-package
>
> Fetched 0 B in 0s (0 B/s)
>
> fetch.run() result: 0
> <apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1
> FileSize: 624
> DestFile:'/<<PKGBUILDDIR>>/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: ''>
> check_conffile_prompt(/<<PKGBUILDDIR>>/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb)
> found pkg: test-package
> conffile /etc/configuration-file in missing on the system
> Packages blacklist due to conffile prompts: []
> Packages that will be upgraded: test-package
> Writing dpkg log to
> ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log
> applying set ['test-package']
> Marking not allowed <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> Applying pinning: PkgFilePin(id=0, priority=-32768)
> Applying pin -32768 to package_file: <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> left to upgrade set()
> All upgrades installed
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1538: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=10 mode='w' encoding='UTF-8'>
> pkg_install_success = upgrade_in_minimal_steps(
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1538: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=8 mode='r' encoding='UTF-8'>
> pkg_install_success = upgrade_in_minimal_steps(
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> marking test-package-dependency for removal
> Marking not allowed <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> Applying pinning: PkgFilePin(id=0, priority=-32768)
> Applying pin -32768 to package_file: <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1883: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=10 mode='w' encoding='UTF-8'>
> res, error = cache_commit(cache, logfile_dpkg, verbose)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/unattended_upgrade.py:1883: ResourceWarning: unclosed
> file <_io.TextIOWrapper name=8 mode='r' encoding='UTF-8'>
> res, error = cache_commit(cache, logfile_dpkg, verbose)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> Packages that were successfully auto-removed: test-package-dependency
> Packages that are kept back:
> InstCount=0 DelCount=0 BrokenCount=0
> Extracting content from
> ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log
> since 2021-01-20 17:48:00
> FAllowed origins are: o=Ubuntu,a=lucid-security, o=Ubuntu,a=lucid-security
> Initial blacklist:
> Initial whitelist (not strict):
> Marking not allowed <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> Applying pinning: PkgFilePin(id=0, priority=-32768)
> Applying pin -32768 to package_file: <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> Using
> (^linux-image-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-modules-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^linux-headers-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$)
> regexp to find kernel packages
> Using
> (^linux-image-4\.19\.0\-6\-cloud\-amd64$|^linux-image-4\.19\.0\-6$|^.*-modules-4\.19\.0\-6\-cloud\-amd64$|^.*-modules-4\.19\.0\-6$|^linux-headers-4\.19\.0\-6\-cloud\-amd64$|^linux-headers-4\.19\.0\-6$)
> regexp to find running kernel packages
> {'any-old-unused-modules', 'old-unused-dependency'}
> Keeping auto-removable test-package-dependency package(s) because it would
> also remove the following packages which should be kept in this step:
> old-unused-dependency
> The following packages are marked for installation or upgrade which is not
> allowed when performing autoremovals: forbidden-dependency
> .
> ======================================================================
> FAIL: test_remove_unused_dependencies_new_unused_only
> (__main__.TestRemoveUnused)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/./test_remove_unused.py", line 164, in
> test_remove_unused_dependencies_new_unused_only
> self.assertTrue(needle_kernel_good in haystack,
> AssertionError: False is not true : Can not find 'Removing unused kernel
> packages: linux-image-4.05.0-1021-kvm
> ' in '2021-01-20 17:48:00,255 INFO Starting unattended upgrades script
> 2021-01-20 17:48:00,256 INFO Allowed origins are: o=Ubuntu,a=lucid-security
> 2021-01-20 17:48:00,256 INFO Initial blacklist:
> 2021-01-20 17:48:00,256 INFO Initial whitelist (not strict):
> 2021-01-20 17:48:00,346 DEBUG Marking not allowed <apt_pkg.PackageFile
> object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> 2021-01-20 17:48:00,346 DEBUG Applying pinning: PkgFilePin(id=0,
> priority=-32768)
> 2021-01-20 17:48:00,346 DEBUG Applying pin -32768 to package_file:
> <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> 2021-01-20 17:48:00,350 DEBUG Using
> (^linux-image-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-modules-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^linux-headers-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$)
> regexp to find kernel packages
> 2021-01-20 17:48:00,350 DEBUG Using
> (^linux-image-4\.19\.0\-6\-cloud\-amd64$|^linux-image-4\.19\.0\-6$|^.*-modules-4\.19\.0\-6\-cloud\-amd64$|^.*-modules-4\.19\.0\-6$|^linux-headers-4\.19\.0\-6\-cloud\-amd64$|^linux-headers-4\.19\.0\-6$)
> regexp to find running kernel packages
> 2021-01-20 17:48:00,351 DEBUG Checking: test-package ([<Origin
> component:'main' archive:'lucid-security' origin:'Ubuntu' label:'Ubuntu'
> site:'archive.ubuntu.com' isTrusted:True>])
> 2021-01-20 17:48:00,354 DEBUG pkgs that look like they should be upgraded:
> test-package
> 2021-01-20 17:48:00,357 DEBUG fetch.run() result: 0
> 2021-01-20 17:48:00,359 DEBUG <apt_pkg.AcquireItem object:Status: 2 Complete:
> 1 Local: 1 IsTrusted: 1 FileSize: 624
> DestFile:'/<<PKGBUILDDIR>>/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: ''>
> 2021-01-20 17:48:00,359 DEBUG
> check_conffile_prompt(/<<PKGBUILDDIR>>/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb)
> 2021-01-20 17:48:00,359 DEBUG found pkg: test-package
> 2021-01-20 17:48:00,364 DEBUG conffile /etc/configuration-file in missing on
> the system
> 2021-01-20 17:48:00,364 DEBUG Packages blacklist due to conffile prompts: []
> 2021-01-20 17:48:00,364 INFO Packages that will be upgraded: test-package
> 2021-01-20 17:48:00,364 INFO Writing dpkg log to
> ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log
> 2021-01-20 17:48:00,368 DEBUG applying set ['test-package']
> 2021-01-20 17:48:00,566 DEBUG Marking not allowed <apt_pkg.PackageFile
> object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> 2021-01-20 17:48:00,566 DEBUG Applying pinning: PkgFilePin(id=0,
> priority=-32768)
> 2021-01-20 17:48:00,566 DEBUG Applying pin -32768 to package_file:
> <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> 2021-01-20 17:48:00,566 DEBUG left to upgrade set()
> 2021-01-20 17:48:00,566 INFO All upgrades installed
> 2021-01-20 17:48:00,569 DEBUG marking test-package-dependency for removal
> 2021-01-20 17:48:00,804 DEBUG Marking not allowed <apt_pkg.PackageFile
> object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> with -32768 pin
> 2021-01-20 17:48:00,804 DEBUG Applying pinning: PkgFilePin(id=0,
> priority=-32768)
> 2021-01-20 17:48:00,804 DEBUG Applying pin -32768 to package_file:
> <apt_pkg.PackageFile object:
> filename:'/<<PKGBUILDDIR>>/test/root.unused-deps/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages'
> a=lucid-updates,c=main,v=10.04,o=Ubuntu,l=Ubuntu arch='amd64'
> site='archive.ubuntu.com' IndexType='Debian Package Index' Size=106 ID:0>
> 2021-01-20 17:48:00,804 INFO Packages that were successfully auto-removed:
> test-package-dependency
> 2021-01-20 17:48:00,805 INFO Packages that are kept back:
> 2021-01-20 17:48:00,805 DEBUG InstCount=0 DelCount=0 BrokenCount=0
> 2021-01-20 17:48:00,805 DEBUG Extracting content from
> ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log
> since 2021-01-20 17:48:00
> '
>
> ----------------------------------------------------------------------
> Ran 3 tests in 1.897s
>
> FAILED (failures=1)
> make[2]: *** [Makefile:9: check] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/01/20/unattended-upgrades_2.7_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
--- End Message ---