You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was a recent commit that increased sleep times in some tests. If you're encountering these types of failing tests can you make sure to rebase off of master?
Update: There are a lot of flaky tests in CircleCI recently (race tests, tests involving sleeps, CLI tests, etc.). This may be the result of our CircleCI tests being run on a slower machine. The flaky tests are a pain for PR reviews because there are a lot of cases where it is not clear if the changes in a PR are triggering failures or if the existing flaky tests are triggering failures. It does not help that the failure output in CircleCI is usually not very informative - in many cases, the stdout/stderr logs are displayed, but the failed assertion is not immediately observable.
I think the next steps here should be to:
Address the flaky tests either by making sure tests run on a faster machine and/or updating tests to eliminate flaky behavior
Figure out how to make failed assertions immediately observable in CircleCI so PR reviewers/contributors don't have to spend time hunting down the source
I've updated the OP title to reflect that this is an issue not just with the push tests.
yondonfu
changed the title
Push tests flaky data race
Address flaky tests in CircleCI
Feb 25, 2021
Describe the bug
Push tests failing in CI occasionally when checking for data races using the
-race
flagThe text was updated successfully, but these errors were encountered: