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

Bug 1680789 - Properly shut down glean in tests (RLB) #1375

Merged
merged 2 commits into from
Dec 9, 2020

Conversation

Dexterp37
Copy link
Contributor

FOG tests sometimes don't do anything other than initializing Glean. In these cases, nothing blocks on the dispatcher and tests might end up triggering init twice, in parallel, locking files on the disk or corrupting local data. This, in turn, makes FOG tests flaky and even RLB tests occasionally fail.

@Dexterp37 Dexterp37 requested a review from badboy December 9, 2020 10:11
@Dexterp37 Dexterp37 self-assigned this Dec 9, 2020
@auto-assign auto-assign bot requested a review from brizental December 9, 2020 10:12
@Dexterp37 Dexterp37 removed the request for review from brizental December 9, 2020 10:12
@Dexterp37
Copy link
Contributor Author

The code in this PR is currently being tested in FOG CI. The BR jobs should not fail due to Glean problems :) Unfortunately, they can't be retriggered in a simple way, so Aryx is doing us the gigantic favour of triggering them manually. Moreover, they can't run in parallel, so Aryx will trigger them throughout his day. One by one.

@Dexterp37 Dexterp37 merged commit df57ba6 into mozilla:main Dec 9, 2020
@Dexterp37
Copy link
Contributor Author

All right, this indeed seems to fix the FOG problems!

@Dexterp37 Dexterp37 deleted the flaky_rust_tests branch December 9, 2020 13:19
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