-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[tests] gotestsum: Device or resource busy #34691
Labels
ci-cd
CI, CD, testing, build issues
flaky test
a test is flaky
needs triage
New item requiring triage
os:windows
Comments
crobert-1
added
flaky test
a test is flaky
ci-cd
CI, CD, testing, build issues
os:windows
labels
Aug 14, 2024
|
This was referenced Aug 27, 2024
I'm not tracking each occurrence but a cursory look at Windows CI failures show this one at, or near, the top of the failures. I can't repro it locally and happens with different components, we may have to change gotestsum settings to try to get some more information that can help get to the bottom of it. |
This was referenced Sep 14, 2024
jriguera
pushed a commit
to springernature/opentelemetry-collector-contrib
that referenced
this issue
Oct 4, 2024
…etry#35192) **Description:** The error "Device or resource busy" happens intermittently when running the `build-and-test-windows` workflow on CI. Examining a few instances of the error it becomes clear that the concurrent run of component tests trigger concurrent builds of `gotestsum`. This can cause one of the runs to clash with the other and fail to build the `gotestsum` target. The fix is to add a explicit step to build `gotestsum` in the CI workflow. This way the local dev modus operandi is not altered (they can still rely on `make test` to build any tool necessary for the test). If any other tools are added to the `test` target they should also be added to the workflow on Windows. **Link to tracking Issue:** Fix open-telemetry#34691 **Testing:** Validated on repository fork. **Documentation:** N/A
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ci-cd
CI, CD, testing, build issues
flaky test
a test is flaky
needs triage
New item requiring triage
os:windows
Component(s)
No response
Describe the issue you're reporting
I've seen this at least twice, it seems to be happening only on Windows.
https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/10187830131/job/28182730990?pr=34358#step:6:21
https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/10393361946/job/28780698354?pr=34656#step:6:21
/label os:windows
The text was updated successfully, but these errors were encountered: