-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
mongodb devservices tests failing accessing docker binary on M1 runner #28779
Comments
I personally have no idea why only the mongo tests would be affected by this... |
Some sort of shell-forking behaviour is my best theory, but I can't find any evidence of it in the build scripts. It's just so weird. This is a relatively new failure. I looked through the code for recent changes and there wasn't anything in an area which seemed relevant. That's consistent with it not reproducing on my own mac, and suggests it's a machine issue ... but it leaves me none the wiser about what's actually going on. |
Thinking about it, I will disable the tests, for two reasons. I'm normally reluctant to disable M1 tests just because they fail, since that kind of defeats the point of having tests to tell you things don't work. But it will reduce noise in the builds in the short term, while we try and diagnose. It will also be a useful diagnostic tool. If the failure moves to the next suite along, we know it's something in an earlier suite that messes up the env. If everything is green, we know it's something in this suite which is off. |
👍🏼 |
And the verdict from that build is that it's green on M1. The runner seems to be having some annoying disk space issues with purgeable files not being cleared out, so if the mongodb artifacts are especially big, that maybe could account for some i/o strangeness ... but it's still odd it would fail just for the one test, and then recover. |
See also #29094 (comment), a similar failure, but with a testcontainers stack trace. |
Describe the bug
The headline symptom is that all the tests in the mongodb-devservices suite fail, only on the Mac M1 runner.
The headline failure is
The root cause is this:
It's the exact same error you get if you don't have podman on your machine and try to run the docker tests. But it's only affecting one test, so it's obviously not a machine-wide issue. I wonder if it's some sort of cwd issue, or a fork of the shell that means it can't find the binary.
This is the line of code which is failing. Only for the mongodb dev services tests, even though the code is in util and couldn't be more common:
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
Not reproducible locally. Appears on M1 CI/CD builds.
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: