Bug 2158224
Summary: | [RFE: EPEL8] EPEL8 branch for dumb-init | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pat Riehecky <riehecky> |
Component: | dumb-init | Assignee: | Artur Frenszek-Iwicki <fedora> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | alsadi, fedora |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | dumb-init-1.2.5-7.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-03-01 00:35:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pat Riehecky
2023-01-04 17:35:25 UTC
I managed to successfully build dumb-init in EPEL8 mock, so this should work. Building in koji failed on s390x: https://koji.fedoraproject.org/koji/taskinfo?taskID=95767898 > =================================== FAILURES =================================== > ________________________ test_working_directories[1-0] _________________________ > @pytest.mark.usefixtures('both_debug_modes', 'both_setsid_modes') > def test_working_directories(): > """The child process must start in the working directory in which > dumb-init was invoked, but dumb-init itself should not keep a > reference to that.""" > > # We need absolute path to dumb-init since we pass cwd=/tmp to get > # predictable output - so we can't rely on dumb-init being found > # in the "." directory. > dumb_init = os.path.realpath(shutil.which('dumb-init')) > proc = run((dumb_init, > 'sh', '-c', 'readlink /proc/$PPID/cwd && readlink /proc/$$/cwd'), > cwd="/tmp", stdout=PIPE, stderr=PIPE) > > assert proc.returncode == 0 > > assert proc.stdout == b'/\n/tmp\n' > E AssertionError: assert b'/tmp\n/tmp\n' == b'/\n/tmp\n' > E At index 1 diff: 116 != 10 > E Left contains more items, first extra item: 109 > E Full diff: > E - b'/tmp\n/tmp\n' > E ? --- > E + b'/\n/tmp\n' > tests/cwd_test.py:22: AssertionError > ===================== 1 failed, 181 passed in 9.65 seconds ===================== I'll try to find a fix for this. If I can't, I guess I'll just add "ExcludeArch: s390x". FEDORA-EPEL-2023-85bd9419d1 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-85bd9419d1 Sorry for taking so long - I admit I completely forgot about this ticket. Whatever was causing the tests to fail on s390x appears to have been fixed. Enjoy! FEDORA-EPEL-2023-85bd9419d1 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-85bd9419d1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2023-85bd9419d1 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. |