-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Bring back "Lock scratch directory during tool execution" #7291
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
Conversation
@swift-ci please test |
Ah yes, that would do it:
So looks like the self-hosted CI jobs are kind of inherently broken because they share a single build directory during parallel test execution. |
Same thing is also broken on smoke tests... |
OK, the issue here is actually kind of interesting:
I'm not 100% sure what this means for the implementation:
|
a7130fb
to
7ff2cae
Compare
We ended up going with a modified approach 2, commands can now opt-out of the upwards search and |
@swift-ci please test |
@swift-ci please test windows |
Hm, seems like Linux self-hosted is probably hanging? |
7ff2cae
to
0e77a24
Compare
@swift-ci please test linux |
OK, this wasn't actually a solution, several subcommands can still fail:
Though I'm not sure I understand why we only see these failures on Linux? |
I think the only option we have is locking based on whether a tool actually uses |
05f5991
to
17ede9e
Compare
@swift-ci please test |
17ede9e
to
d308cd6
Compare
@swift-ci please test |
@swift-ci please test windows |
|
@swift-ci please test windows |
It looks as if "swift-inspect" is being built with |
Ah, maybe the current implementation is specific to how |
d308cd6
to
247c5fa
Compare
@swift-ci please test windows |
3 similar comments
@swift-ci please test windows |
@swift-ci please test windows |
@swift-ci please test windows |
Seems like this was indeed the issues exposed by Windows CI, fixed now. |
@swift-ci please test macOS |
@swift-ci please test linux |
247c5fa
to
189c5c8
Compare
@swift-ci please test |
@swift-ci please test windows |
189c5c8
to
1d4dec4
Compare
@swift-ci please test |
@swift-ci please test windows |
This reverts commit e92df2d and brings back the changes from #7269.