apport test error: /bin/bash not found

Bug #2054902 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apport
Fix Released
High
Unassigned
apport (Ubuntu)
Fix Released
High
Unassigned

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',

Benjamin Drung (bdrung)
Changed in apport:
importance: Undecided → High
milestone: none → 2.28.1
Revision history for this message
Benjamin Drung (bdrung) wrote :
Changed in apport:
status: New → In Progress
Revision history for this message
Benjamin Drung (bdrung) wrote :
Changed in apport:
status: In Progress → Fix Committed
Benjamin Drung (bdrung)
Changed in apport:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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 <email address hidden> Thu, 18 Apr 2024 15:46:28 +0200

Changed in apport (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.