-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
mypyc incremental failures on master #13572
Comments
I wonder if this might have been caused by an update to the ubuntu image github actions uses. This is the current version:
The date is suspiciously close to the first day this started happening. The first known failure was using this image. Unfortunately, it doesn't look like there's a way to downgrade the runner to validate this hypothesis. An earlier successful build uses a different image:
I looked at pip dependencies and it doesn't look like any point release of a dependency could have caused the regression. |
Looking at the readmes of the different GitHub image versions, none of the changes seem particularly likely to have caused this. Since the failures are somewhat random, it's possible that there is a race condition that has been around for some time that gets triggered now more frequently. We could try running the tests sequentially to test this hypothesis. |
It looks like |
As a wild guess: maybe GitHub actions now somehow magically turn (some) files into symlinks? Docs for |
Actually I misread the docs I think, the default seems to be |
It looks like Or, perhaps a call to |
I tried moving mtime back 10 seconds but it didn't help. |
As suggested by godlygeek in python#13572
Now I'm seeing the failure locally using master, on Ubuntu 20.04. I wonder if an Ubuntu upgrade broke the tests. At least this makes it easier to debug the failures. |
Temporary workaround to #13572 that slows down mypyc tests.
I merged a workaround that adds a |
Oh interesting. I'd tested on 20.04 without being able to repro. Let me play around more... |
Temporary workaround to #13572 that slows down mypyc tests.
We've started seeing non deterministic failures of mypyc incremental tests in CI.
The first test failure on master was on 840a310 (succeeded on retry).
The earliest test failure I've observed was on #13557 when it was based on d9bdd6d.
No known changes to Python version or dependencies. The underlying Github runner image did change, but nothing stands out in the changelog and it doesn't seem likely to cause failures.
To my knowledge, no one has been able to reproduce failures locally.
When running locally on Linux, I get deterministic failures on:
But these deterministically reproduce and are unrelated to incremental, and reproduce on master hundreds of commits ago, so seem unrelated.
The text was updated successfully, but these errors were encountered: