-
Notifications
You must be signed in to change notification settings - Fork 18.9k
TestBuildUserNamespaceValidateCapabilitiesAreV2: cleanup daemon storage #42995
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
TestBuildUserNamespaceValidateCapabilitiesAreV2: cleanup daemon storage #42995
Conversation
f31faa8 to
0bd0a90
Compare
00c5cc3 to
e9a62ac
Compare
https://pkg.go.dev/testing#T.Fatalf
Though maybe we can use |
Oh! Looks like I was mistaken; I guess I followed the code path to the logger interface. In any case, it didn't solve the issue; currently just trying to disable code to see at what point it starts to fail. But it's a bit of a pain, because once it fails, the Jenkins agent can no longer be used (so I need to delete the agent before trying again😫) |
e9a62ac to
ce9819b
Compare
bb0d761 to
63cde01
Compare
The storage-driver directory caused Jenkins cleanup to fail. While at it, also removing other directories that we do not include in the "bundles" that are stored as Jenkins artifacts. Signed-off-by: Sebastiaan van Stijn <[email protected]>
63cde01 to
9244cc5
Compare
This should help with Jenkins failing to clean up the Workspace: - make sure "cleanup" is also called in the defer for all daemons. keeping the daemon's storage around prevented Jenkins from cleaning up. - close client connections and some readers (just to be sure) Signed-off-by: Sebastiaan van Stijn <[email protected]>
9244cc5 to
eea2758
Compare
|
OK; looks like this is working now; the culprit was the I updated the test-utility's |
tianon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
|
This is green, with the exception of |
cpuguy83
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
fixes #42974
testutil: daemon.Cleanup(): cleanup more directories
The storage-driver directory caused Jenkins cleanup to fail. While at it, also
removing other directories that we do not include in the "bundles" that are
stored as Jenkins artifacts.
TestBuildUserNamespaceValidateCapabilitiesAreV2: cleanup daemon storage
This should help with Jenkins failing to clean up the Workspace:
the daemon's storage around prevented Jenkins from cleaning up.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)