-
Notifications
You must be signed in to change notification settings - Fork 225
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
Raise aio-max-nr on GHA #596
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #596 +/- ##
==========================================
+ Coverage 81.21% 81.23% +0.01%
==========================================
Files 191 192 +1
Lines 27033 27061 +28
Branches 4944 4980 +36
==========================================
+ Hits 21956 21982 +26
+ Misses 3483 3436 -47
- Partials 1594 1643 +49 ☔ View full report in Codecov by Sentry. |
Ah, it's io_setup in probeAsyncIO that's failing with EAGAIN due to aio-nr reaching aio-max-nr. I'm not sure what probeAsyncIO should actually do in this case -- it probably shouldn't just report success, but on the other hand it doesn't seem good to fail dqlite_node_create because of a temporary condition. Maybe probeAsyncIO should have a retry loop with backoff internally? |
731e925
to
ba76637
Compare
7bd9e7f
to
0f3ad28
Compare
Summary: the issue with the flaky test Lines 44 to 63 in c9eda92
This is trickier to fix because the error is propagated all the way out to the client. We don't want to put a retry loop inside dqlite or raft library code; that should live inside the test suite, wherever we call I think aio-max-nr wasn't a problem before in raft or dqlite CI because we didn't run as many tests in parallel. Now that we have the raft tests and the dqlite tests running in the same CI job and at the same time, there's more contention for this scarce resource. |
a927c1a
to
68a1235
Compare
Signed-off-by: Cole Miller <[email protected]>
Raising aio-max-nr to 1000000 seems to reduce the rate at which these tests fail. |
No description provided.