-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
False
-
-
False
-
Committed
-
python-oslo-rootwrap-7.0.1-18.0.20231030094658.b72372b.el9ost
-
Committed
-
Committed
-
No
-
Release Note Not Required
-
-
-
Moderate
Hello,
we observe a failure in RPM job executed as part of Component CI for OSP 18
```
oslo_rootwrap.tests.test_rootwrap.RootwrapTestCase.test_KillFilter
------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/zuul/src/code.engineering.redhat.com/oslo.rootwrap/oslo_rootwrap/tests/test_rootwrap.py", line 211, in test_KillFilter
self.assertTrue(f.match(usercmd) or f2.match(usercmd))
File "/usr/lib64/python3.9/unittest/case.py", line 688, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true
```
What we do in the job, is:
– we fetch the spec file and install the RPM dependencies listed there,
– we install some missing RPMs identified (that should be in spec file probably, but they are not),
– we run the tests defined in tox.
The additional RPMs we install are listed here:
https://github.com/RedHatCRE/znoyder/blob/58d71ba641ab69acca20d096627f1b64ed45af27/znoyder/config.d/43-override-OSP-18.yml#L349
So, in essence, this is a tox job but with truncated requirement.txt and site-packages enabled.
You can use this change for debugging the issue.
https://code.engineering.redhat.com/gerrit/c/oslo.rootwrap/+/446899
Yours,
Szymon
- external trackers
- links to
-
RHBA-2024:133297 Release of components for Red Hat OpenStack Services on OpenShift 18.0