Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions tmt/tests/booted/test-factory-reset.nu
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ def initial_build [] {
# nu's cp doesn't have -T
/usr/bin/cp -r -T $workdir_root $"($new_stateroot_path)/($workdir_root)"

# Check reset status before reboot
RUST_LOG=trace bootc status

# Sometimes systemd daemons are still running old binaries and response "Access denied" when send reboot request
# Force a full sync before reboot
sync
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But this looks like purely a systemd bug that we should report right?

I don't understand why systemd would have old binaries...we shouldn't be touching the running OS?

# Allow more delay for bootc to settle
sleep 30sec

tmt-reboot
}

Expand Down