[Bug 2073935] Please test proposed package

Robie Basak 2073935 at bugs.launchpad.net
Thu Nov 14 12:45:55 UTC 2024


Hello Benjamin, or anyone else affected,

Accepted apport into noble-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.28.1-0ubuntu3.3 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

-- 
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/2073935

Title:
  tests/integration/test_hookutils.py::T::test_recent_syslog fails on
  s390x

Status in Apport:
  Fix Released
Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Noble:
  Fix Committed

Bug description:
  [ Impact ]

  The recent syslog in Apport reports might not be complete. This bug
  causes the test_recent_syslog to fail sometimes.

  [ Test Plan ]

  Check that the fixed Apport does not have failing unit-and-
  integration-tests autopkgtests on all archs.

  [ Where problems could occur ]

  The patch fixes apport.hookutils.recent_syslog. This could lead to
  more syslog output in bug report making the report longer.

  [ Original report ]

  The Apport 2.29.0 test case
  `tests/integration/test_hookutils.py::T::test_recent_syslog` fails on
  s390x:

  ```
  349s =================================== FAILURES ===================================
  349s _____________________________ T.test_recent_syslog _____________________________
  349s
  349s self = <tests.integration.test_hookutils.T testMethod=test_recent_syslog>
  349s
  349s     def test_recent_syslog(self):
  349s         """recent_syslog"""
  349s         self.assertEqual(
  349s             apport.hookutils.recent_syslog(re.compile("."), path="/nonexisting"), ""
  349s         )
  349s         self.assertEqual(
  349s             apport.hookutils.recent_syslog(re.compile("ThisCantPossiblyHitAnything")),
  349s             "",
  349s         )
  349s         if os.path.exists("/run/systemd/system") or os.access(
  349s             "/var/log/syslog", os.R_OK
  349s         ):
  349s >           self.assertNotEqual(len(apport.hookutils.recent_syslog(re.compile("."))), 0)
  349s E           AssertionError: 0 == 0
  349s
  349s tests/integration/test_hookutils.py:208: AssertionError
  349s ----------------------------- Captured stderr call -----------------------------
  349s tail: cannot open '/nonexisting' for reading: No such file or directory
  ```

  Full log: https://autopkgtest.ubuntu.com/results/autopkgtest-
  oracular/oracular/s390x/a/apport/20240722_004756_30d6c@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2073935/+subscriptions




More information about the foundations-bugs mailing list