Skip to content

Commit 4e1d6ad

Browse files
committed
test: Check rpm-ostree and rpm-ostreed service status
And collect info for flaky "error: System transaction in progress" Signed-off-by: Xiaofeng Wang <[email protected]>
1 parent c4e2302 commit 4e1d6ad

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tmt/tests/booted/test-image-pushpull-upgrade.nu

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ RUN echo test content > /usr/share/blah.txt
8686
# Test for https://github.com/ostreedev/ostree/issues/3544
8787
# Add a quoted karg using rpm-ostree if available
8888
if not $is_composefs {
89+
# Check rpm-ostree and rpm-ostreed service status before run rpm-ostree
90+
# And collect info for flaky error "error: System transaction in progress"
91+
rpm-ostree status
92+
journalctl -u rpm-ostreed
93+
8994
print "Adding quoted karg via rpm-ostree to test ostree issue #3544"
9095
rpm-ostree kargs --append=($quoted_karg)
9196
}

0 commit comments

Comments
 (0)