Skip to content

Conversation

@HuijingHei
Copy link
Member

There is a race condition for ostree.sync and kdump.crash.nfs to bind port 2049, according to #4117 (comment), add tag reprovision to force it to run serially now.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a 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 correctly addresses a race condition between tests using the same NFS port by adding the reprovision tag to the ostree.sync test, forcing it to run serially. The change is appropriate. I have added one suggestion to include a comment in the code, which will improve maintainability by explaining the purpose of this tag.

@HuijingHei HuijingHei force-pushed the ostree-sync-reprovision branch from f93a878 to 724de62 Compare November 6, 2025 06:19
@HuijingHei
Copy link
Member Author

@dustymabe just tag "reprovision" to ostree.sync, in this case kdump.crash.nfs will still be running in tag=!reprovision suite, and will avoid the race condition, is this right?

@HuijingHei HuijingHei requested a review from dustymabe November 6, 2025 06:24
@HuijingHei HuijingHei force-pushed the ostree-sync-reprovision branch from 724de62 to 1b199ce Compare November 6, 2025 08:33
@dustymabe
Copy link
Member

@dustymabe just tag "reprovision" to ostree.sync, in this case kdump.crash.nfs will still be running in tag=!reprovision suite, and will avoid the race condition, is this right?

#4361 (comment)

There is a race condition for `ostree.sync` and `kdump.crash.nfs`
to bind port 2049, according to coreos#4117 (comment),
add tag `reprovision` to force them to run serially now.
@HuijingHei HuijingHei force-pushed the ostree-sync-reprovision branch from 1b199ce to 16ae150 Compare November 7, 2025 01:10
Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

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

LGTM

@dustymabe dustymabe enabled auto-merge (rebase) November 7, 2025 02:31
@dustymabe dustymabe merged commit fe44cd3 into coreos:main Nov 7, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants