Open
Conversation
34c2848 to
b07a1a5
Compare
b07a1a5 to
a6344fe
Compare
a6344fe to
b4c64ed
Compare
dda0f02 to
92de52c
Compare
92de52c to
1a3d0b2
Compare
1a3d0b2 to
4225bab
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pr attempts to tackle sporadic (but frequent) cases where zypper is left running from a previous process, preventing ansible from using it. The new tasks behave as follows:
check for the existence of a zypper lock file (
zypp.pid)check if it is empty or contains a pid
in the second case, kill the process with that pid and wait to confirm it's dead
delete the zypp.pid files to prevent any stale locks (deleting the files doesn't cause problems, as they are recreated if needed)
Related Ticket: https://jira.suse.com/browse/TEAM-8689
Verification Runs: (all fail due to wrong token, but the relevant point passes):
https://openqa.suse.de/tests/12744839
https://openqa.suse.de/tests/12744840
https://openqa.suse.de/tests/12744841
https://openqa.suse.de/tests/12744807