Bug 1225943 - [Build 20240603] systemd_nspawn: systemd-run -tM test1 /bin/bash -c date returns 1
Summary: [Build 20240603] systemd_nspawn: systemd-run -tM test1 /bin/bash -c date retu...
Status: RESOLVED WORKSFORME
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: systemd maintainers
QA Contact: E-mail List
URL: https://openqa.opensuse.org/tests/424...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-04 14:48 UTC by Dominique Leuenberger
Modified: 2024-06-10 11:23 UTC (History)
3 users (show)

See Also:
Found By: openQA
Services Priority:
Business Priority:
Blocker: Yes
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2024-06-04 14:48:06 UTC
## Observation

This test is newly failing since the update to systemd 255.7


The test code leading up to this is:


    systemctl start systemd-nspawn@test1
    systemctl status systemd-nspawn@test1
    # Wait for container to boot
    systemd-run -tM test1 /bin/bash -c date"



openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-extra_tests_textmode@64bit fails in
[systemd_nspawn](https://openqa.opensuse.org/tests/4247521/modules/systemd_nspawn/steps/134)

## Test suite description
Maintainer: slindomansilla@suse.de.
Mainly post-installation console extra tests.


## Reproducible

Fails since (at least) Build [20240603](https://openqa.opensuse.org/tests/4246337)


## Expected result

Last good: [20240531](https://openqa.opensuse.org/tests/4242031) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=extra_tests_textmode&version=Tumbleweed)
Comment 1 Guillaume GARDET 2024-06-05 07:03:40 UTC
*** Bug 1225930 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Blume 2024-06-05 08:19:37 UTC
Looks like a duplicate of bug 1217029.
See https://bugzilla.suse.com/show_bug.cgi?id=1217029#c21 for details.
Comment 3 Dominique Leuenberger 2024-06-05 08:44:34 UTC
(In reply to Thomas Blume from comment #2)
> Looks like a duplicate of bug 1217029.
> See https://bugzilla.suse.com/show_bug.cgi?id=1217029#c21 for details.

No - this very bug only shows up since the update to systemd 255.7 - it's possibly masking the other error now, but not a DUP.

This needs to be fixed first
Comment 4 Franck Bui 2024-06-05 15:48:18 UTC
I unfortunately couldn't reproduce the issue.

However after looking at the changes introduced by v255.7, I found an regression introduced by commit 182b80bed [1], which is likely to be related to this bug report.

I submitted a fix https://github.com/systemd/systemd/pull/33216 to upstream, let's see how far it goes.

In the meantime is there any way to test the patch with openQA ?

[1] https://github.com/openSUSE/systemd/commit/182b80bede28ef6e9c0d0edd34c56a467d22dee5
Comment 5 Franck Bui 2024-06-05 15:49:55 UTC
(In reply to Franck Bui from comment #4)
> However after looking at the changes introduced by v255.7, I found an
> regression introduced by commit 182b80bed [1], which is likely to be related

s/likely to/might/
Comment 6 Dominique Leuenberger 2024-06-07 21:42:28 UTC
OpenQA confirmed the revert, as submitted by fbi, works:

https://openqa.opensuse.org/tests/4256579
Comment 7 Franck Bui 2024-06-10 11:23:15 UTC
Given the fact that the problem was not reproducible on my side, I cannot tell whether the revert is the actual for this issue.

Let's close the bug as "worksforme" for now.