-
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
In a concurrent removal test, don't remove concurrently with builds #18664
In a concurrent removal test, don't remove concurrently with builds #18664
Conversation
This test is intended to test concurrent removals, so don't risk a removal breaking a build. Fixes containers#18659 . (The sitaution that removals can break a build WIP is a real problem that should be fixed, but that's not a target of this test.) Signed-off-by: Miloslav Trmač <mitr@redhat.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mtrmac The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The duplication in defining /lgtm Thanks! |
Yeah, that and the 4 copies of I’m… trying to balance keeping Podman running, and getting at least a chance to work on my supposedly-primary projects. |
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
"image rm concurrent" test is still failing, even after containers#18664: Error: no contents in "/tmp/podman_test967723851/Dockerfile" Probable cause: the images are built in parallel, and p.BuildImage() writes one single Dockerfile. (This almost certainly renders the test less effective than intended, since the generated images might end up being identical). Solution: write and use a uniquely-named Dockerfile Signed-off-by: Ed Santiago <santiago@redhat.com>
"image rm concurrent" test is still failing, even after containers#18664: Error: no contents in "/tmp/podman_test967723851/Dockerfile" Probable cause: the images are built in parallel, and p.BuildImage() writes one single Dockerfile. (This almost certainly renders the test less effective than intended, since the generated images might end up being identical). Solution: write and use a uniquely-named Dockerfile Signed-off-by: Ed Santiago <santiago@redhat.com>
"image rm concurrent" test is still failing, even after containers#18664: Error: no contents in "/tmp/podman_test967723851/Dockerfile" Probable cause: the images are built in parallel, and p.BuildImage() writes one single Dockerfile. (This almost certainly renders the test less effective than intended, since the generated images might end up being identical). Solution: write and use a uniquely-named Dockerfile Signed-off-by: Ed Santiago <santiago@redhat.com>
This test is intended to test concurrent removals, so don't risk a removal breaking a build.
Fixes #18659 .
(The situation that removals can break a build in progress is a real problem that should be fixed, but that's not a target of this test.)
Cc: @vrothberg , the test was added in #9266, to make sure I didn’t misunderstand the purpose.
Does this PR introduce a user-facing change?