Skip to content
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

Workaround for apt db locked by WALinuxAgent #1883

Merged
merged 10 commits into from
Nov 2, 2020
Merged

Workaround for apt db locked by WALinuxAgent #1883

merged 10 commits into from
Nov 2, 2020

Conversation

dsame
Copy link
Contributor

@dsame dsame commented Oct 23, 2020

Description

Bug fixing

WALinuxAgent running on agent hosts updates omsagent with apt related tools and locks apt database for a while. All the others attempts to instal/udate/remove apt packages fail.

The PR adds catch and retry logic by replacing the the real apt tools with custom scripts placed before the real binaries in the search path

Related issue: https://github.com/actions/virtual-environments-internal/issues/1339

Check list

  • Related issue / work item is attached
  • Changes are tested and related VM images are successfully generated

@AlenaSviridenko
Copy link
Contributor

/azp run ubuntu1604, ubuntu1804, ubuntu2004

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

Copy link
Contributor

@maxim-lobanov maxim-lobanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't replace customer's apt command

@maxim-lobanov maxim-lobanov merged commit 173a5dd into actions:main Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants