Public bug reported:

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

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2073935

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to