Skip to content
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

[tests] Fix version test determinism #3422

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

terrelln
Copy link
Contributor

@terrelln terrelln commented Jan 13, 2023

The dictionary source files were taken from the dev branch before this
commit, which could introduce non-determinism on PR jobs. Instead take
the sources from the PR checkout.

This PR also adds stderr logging, and verbose output for the jobs that
are failing, to help catch the failure if it occurs again.

@terrelln terrelln force-pushed the 2022-12-20-version-test-fix branch 20 times, most recently from 0f2feb7 to c63ba5a Compare January 13, 2023 21:46
@terrelln
Copy link
Contributor Author

Alright, I've run the version test ~250 times and have seen no failures. It seems to be either consistently passing, or consistently failing. So I will resume debugging if it starts failing again on PRs, and hope I can repro it then.

@terrelln terrelln force-pushed the 2022-12-20-version-test-fix branch 4 times, most recently from 1393e26 to 4e47051 Compare January 17, 2023 19:39
@terrelln terrelln changed the title [wip] Try to debug version test [tests] Fix version test determinism Jan 17, 2023
@terrelln
Copy link
Contributor Author

Still haven't been able to reproduce the failure, but this PR now makes the tests more deterministic, and should help us debug if the failure shows up again.

The dictionary source files were taken from the `dev` branch before this
commit, which could introduce non-determinism on PR jobs. Instead take
the sources from the PR checkout.

This PR also adds stderr logging, and verbose output for the jobs that
are failing, to help catch the failure if it occurs again.
@terrelln terrelln merged commit 860548c into facebook:dev Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants