-
Notifications
You must be signed in to change notification settings - Fork 183
tests: fix failed ostree.sync
on c10s/rhcos10.1
#4328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request refactors the ostree.sync
test to use a dedicated systemd service for continuous file writing, instead of systemd-run
. This is a good improvement for robustness and clarity. The associated path changes from /var/tmp
to /var/mnt
are applied consistently. My review includes a suggestion to simplify the writer script by removing redundant sudo
calls, as the script is already executed with root privileges by the systemd service.
06ea6c4
to
77c6901
Compare
Run
|
ostree.sync
on c10s/rhcos10.1
bd975fd
to
b975df9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. minor suggestion
mantle/kola/tests/ostree/sync.go
Outdated
if err != nil { | ||
c.Fatalf("failed to run nfs-random-write: %v", err) | ||
} | ||
_, err := c.SSH(client, "sudo systemctl start nfs-random-write@{1..4}.service") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add --no-block
to start all 4 at the same time ?
/hold |
cd8e03a
to
16a85b0
Compare
Move the continuous writing to service instead of systemd-run. Fixes openshift/os#1751
16a85b0
to
56aa961
Compare
Move the continuous writing to service instead of systemd-run.
Fixes openshift/os#1751