1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 06:45:13 +01:00

test: Check rpm-ostree and rpm-ostreed service status

And collect info for flaky "error: System transaction in progress"

Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>
This commit is contained in:
Xiaofeng Wang
2025-12-06 13:18:02 +08:00
committed by Colin Walters
parent 47f237099c
commit 6a9309e47b

View File

@@ -86,6 +86,11 @@ RUN echo test content > /usr/share/blah.txt
# Test for https://github.com/ostreedev/ostree/issues/3544
# Add a quoted karg using rpm-ostree if available
if not $is_composefs {
# Check rpm-ostree and rpm-ostreed service status before run rpm-ostree
# And collect info for flaky error "error: System transaction in progress"
rpm-ostree status
journalctl -u rpm-ostreed
print "Adding quoted karg via rpm-ostree to test ostree issue #3544"
rpm-ostree kargs --append=($quoted_karg)
}