-
Notifications
You must be signed in to change notification settings - Fork 290
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
teuthology/suite: initialize lua prng using run's seed #1926
Conversation
cddd8b7
to
af04998
Compare
@zmc here's a run I did with this: https://pulpito.ceph.com/?branch=wip-batrick-testing-20240320.145742 and here's a ceph dependency: (I think this is pretty cool!) I don't think the jenkins failures are related. can you confirm? |
@batrick this is cool! I do see a legitimate CI failure: |
When a script may use Lua's prng, we want it to produce the same sequence during a rerun. Signed-off-by: Patrick Donnelly <[email protected]>
@zmc thanks, I think I fixed it to make jenkins happy but it's pretty wonky. |
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.
@batrick thanks for making this change, logic seems correct to me and the all CI passed.
Tested branch this on my teuthology clone:
Works fine for me |
When a script may use Lua's prng, we want it to produce the same sequence during a rerun.
Looks like: