-
Notifications
You must be signed in to change notification settings - Fork 7
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
Investigate flaky tests on CI #700
Conversation
Set up a temporary workflow to run all flaky tests repeatedly on CI for further investigation.
7c2a1d6
to
bd0d2b7
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #700 +/- ##
===========================================
- Coverage 76.32% 64.82% -11.50%
===========================================
Files 69 69
Lines 5596 5584 -12
===========================================
- Hits 4271 3620 -651
- Misses 911 1630 +719
+ Partials 414 334 -80 |
3b16a83
to
90499ac
Compare
Well, this looks like it helped a bit. |
Hm. Well, I'm going to try increasing the timeout. |
fe433fc
to
bd76081
Compare
@Stebalien Tests seem to only fail when run in conjunction with other tests. To me so far this seems like some kind of congestion issue deep in libp2p/pubsub stack. |
Or just a timing issue? We're using a mock network, so at least it's not some kind of port issue. But yeah, it sounds like the solution is to simply not run them in parallel. |
Repeated runs on CI shows that there is some contention when `f3_test.go` tests are run in parallel. See #700. Avoid F3 test flakiness by running them serially. This fixes the symptom that is test flakiness but not the root cause. The root cause may be within one of the test dependencies. Fixes #623, #659, #684, #699
Findings:
|
Repeated runs on CI shows that there is some contention when `f3_test.go` tests are run in parallel. See #700. Avoid F3 test flakiness by running them serially. This fixes the symptom that is test flakiness but not the root cause. The root cause may be within one of the test dependencies. Fixes #623, #659, #684, #699
Set up a temporary workflow to run all flaky tests repeatedly on CI for further investigation.