I am pretty sure this is a duplicate of https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2073935
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/2073934 Title: tests/integration/test_hookutils.py::T::test_recent_syslog_overflow fails on ppc64el Status in Apport: New Status in apport package in Ubuntu: New Bug description: The Apport 2.29.0 test case `tests/integration/test_hookutils.py::T::test_recent_syslog_overflow` fails on ppc64el: ``` 334s =================================== FAILURES =================================== 334s ________________________ T.test_recent_syslog_overflow _________________________ 334s 334s self = <tests.integration.test_hookutils.T testMethod=test_recent_syslog_overflow> 334s 334s def test_recent_syslog_overflow(self): 334s """recent_syslog on a huge file""" 334s log = os.path.join(self.workdir, "syslog") 334s with open(log, "w", encoding="utf-8") as f: 334s lines = 1000000 334s while lines >= 0: 334s f.write("Apr 20 11:30:00 komputer kernel: bogus message\n") 334s lines -= 1 334s 334s mem_before = self._get_mem_usage() 334s data = apport.hookutils.recent_syslog(re.compile("kernel"), path=log) 334s mem_after = self._get_mem_usage() 334s delta_kb = mem_after - mem_before 334s sys.stderr.write(f"[Δ {delta_kb} kB] ") 334s self.assertLess(delta_kb, 5000) 334s 334s > self.assertRegex(data, "^Apr 20 11:30:00 komputer kernel: bogus message\n") 334s E AssertionError: Regex didn't match: '^Apr 20 11:30:00 komputer kernel: bogus message\n' not found in '' 334s 334s tests/integration/test_hookutils.py:372: AssertionError 334s ----------------------------- Captured stderr call ----------------------------- 334s [Δ 0 kB] ``` Full log: https://autopkgtest.ubuntu.com/results/autopkgtest- oracular/oracular/ppc64el/a/apport/20240619_111133_19d11@/log.gz To manage notifications about this bug go to: https://bugs.launchpad.net/apport/+bug/2073934/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp