[Bug 2054902] Re: apport test error: /bin/bash not found
Launchpad Bug Tracker
2054902 at bugs.launchpad.net
Thu Apr 18 22:37:17 UTC 2024
This bug was fixed in the package apport - 2.28.1-0ubuntu1
---------------
apport (2.28.1-0ubuntu1) noble; urgency=medium
[ Benjamin Drung ]
* New bug-fix upstream release
- Ignore missing `COREDUMP_FILENAME` (LP: #2058380)
- fix integration tests for bash >= 5.2.21-2ubuntu2 and coreutils
>= 9.4-3ubuntu1 (LP: #2054902)
* Stop shipping debian-installer package hook (LP: #2060581)
* general-hooks/ubuntu.py: Drop upstart integration
* apport: Install python3-zstandard when using systemd-coredump (LP: #2061753)
* Disable Launchpad crash reports for the 24.04 release
[ Sebastien Bacher ]
* ubuntu-desktop-installer has been replaced by ubuntu-desktop-bootstrap
-- Benjamin Drung <bdrung at ubuntu.com> Thu, 18 Apr 2024 15:46:28 +0200
** Changed in: apport (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2054902
Title:
apport test error: /bin/bash not found
Status in Apport:
Fix Released
Status in apport package in Ubuntu:
Fix Released
Bug description:
This looks like fallout from the completion of usrmerge.
https://autopkgtest.ubuntu.com/packages/apport
=================================== FAILURES ===================================
367s ___________________________ T.test_get_file_package ____________________________
367s
367s self = <tests.integration.test_packaging_apt_dpkg.T testMethod=test_get_file_package>
367s
367s def test_get_file_package(self):
367s """get_file_package() on installed files."""
367s > self.assertEqual(impl.get_file_package("/bin/bash"), "bash")
367s E AssertionError: None != 'bash'
367s
367s tests/integration/test_packaging_apt_dpkg.py:158: AssertionError
367s _______________________________ T.test_get_files _______________________________
367s
367s self = <tests.integration.test_packaging_apt_dpkg.T testMethod=test_get_files>
367s
367s def test_get_files(self):
367s """get_files()."""
367s self.assertRaises(ValueError, impl.get_files, "nonexisting")
367s > self.assertIn("/bin/bash", impl.get_files("bash"))
367s E AssertionError: '/bin/bash' not found in ['/.', '/etc', '/etc/bash.bashrc', '/etc/skel', '/etc/skel/.bash_logout', '/etc/skel/.bashrc', '/etc/skel/.profile', '/usr', '/usr/bin', '/usr/bin/bash', '/usr/bin/bashbug',
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2054902/+subscriptions
More information about the foundations-bugs
mailing list