From 6a9309e47b821591fc2774b6bb33eb35f27e6af8 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Sat, 6 Dec 2025 13:18:02 +0800 Subject: [PATCH] test: Check rpm-ostree and rpm-ostreed service status And collect info for flaky "error: System transaction in progress" Signed-off-by: Xiaofeng Wang --- tmt/tests/booted/test-image-pushpull-upgrade.nu | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tmt/tests/booted/test-image-pushpull-upgrade.nu b/tmt/tests/booted/test-image-pushpull-upgrade.nu index 5367dcc8..39f757b5 100644 --- a/tmt/tests/booted/test-image-pushpull-upgrade.nu +++ b/tmt/tests/booted/test-image-pushpull-upgrade.nu @@ -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) }