-
Notifications
You must be signed in to change notification settings - Fork 309
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
DAOS-15651 control: fail fast on invalid rank for integrate #14165
Conversation
Ticket title is 'dmg pool reintegrate with an invalid rank will timeout' |
f61a133
to
3fbb455
Compare
check rank against membership before issuing rank update for integrate. Also fix a minor unit test bug related to getting syslog Signed-off-by: Chris Davis <[email protected]>
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.
Change looks good.
Will the syslog changes to restrict since one minutes have any wider ranging effects? |
The test just uses that command to figure out if the user running the tests has permissions to access the journal. The output isn't used. In our development environments, the command can run for a long time and cause a test timeout. |
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. I was going to suggest that a test case be added to the PoolReintegrate unit tests, but those don't exist! I guess they weren't added when the handler was added. I've created DAOS-15669 to address that.
Yeah I was looking for that test as well. Thanks for filing that. |
To land this, you (or someone else) will need to create a PR from a branch in the main repo rather than a fork. This is an unfortunately limitaiton of Intel CI. Since you are in DAOS org, probably better for your to do yourself. Recommendation is something like cdavis28/DAOS-15651 for branch name to avoid conflicts with others |
Moved to #14213 |
D'oh. Sorry @cdavis28, didn't even notice this. @brianjmurrell: Does this limitation of not running tests from forks still exist with the |
I haven't tried in a while TBH but it should work (mostly at least, if not entirely). There could be limitations of some actions we use working correctly on forks but I am not recalling anything specific and I am trying to keep my eye out for such things. I'd say it's well worth a try and report if there are any issues with it. This is the direction we want to go in ultimately. I really should be trying to work from my own fork when I am working on the GHA workflows just to keep it honest. |
how is this used? update to the commit message Yes.
should do the trick.
That's an interesting thought, but no, not currently. Another common workflow I have seen in other GitHub repos/Actions is to add a comment with a command in it to trigger something, so that's another (future) possibility. But for now, the only supported method is the above commit message. In the future, you can include the Ultimately, I would like to use a more automatic heuristic to decide if the build and test should run in GHA or not but unfortunately for just about every heuristic that I can come up with, there are exceptions that break it. |
Add logic to not sleep and retry on a bad rank provided for a pool reintegrate.
Before requesting gatekeeper:
Features:
(orTest-tag*
) commit pragma was used or there is a reason documented that there are no appropriate tags for this PR.Gatekeeper: