Repository navigation
fix(vhd): retry NPD package holds on dpkg lock contention - #10202
Closed
Artur Khantimirov (r2k1) wants to merge 1 commit into
Closed
Artur Khantimirov (r2k1) wants to merge 1 commit into
Artur Khantimirov (r2k1) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
Windows Unit Test Results 3 files 21 suites 1m 17s ⏱️ Results for commit a9d29cb. |
Contributor
Contributor
Contributor
|
Contributor
Author
|
Closing. A retry on the NPD hold fixes only 1 of 4 failed Packer attempts in build 193348731. A background apt-get races several apt calls after the reboot. A replacement PR will stop that process instead. |
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.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
a9d29cbb225a411ee06fb107f47bab602867c770↓ Full install-helper suite needs Linux; VHD rerun not performed.
↓ The competing process is not identified.
↓ Retry recovery in that VHD job remains unverified.
What this PR does / why we need it:
Retry Ubuntu NPD package holds with the existing
holdWALinuxAgentpattern (120 attempts, 5-second delay, 25-second per-attempt timeout). Recreate the selection input on each attempt. Keep errors visible and fail when retries are exhausted. Azure Linux behavior is unchanged.Daily VHD build 193348731 failed in
build2004cvmgen2containerd. Log 1707, lines 13257–13283, shows NPD installed successfully, thenholdNPDPackagefailed on the dpkg frontend lock and exited 9. The lock holder is unknown; the log already shows apt-daily services masked and timers disabled.Validation:
shellspec --shell bash --format d --example 'NPD Ubuntu package hold lock contention' spec/vhdbuilder/packer/install_npd_spec.sh: both tests failed before the fix; both pass after it.shellcheck -e SC2034 vhdbuilder/packer/install-npd.sh spec/vhdbuilder/packer/install_npd_spec.sh: passed; SC2034 is excluded by repository validation.shellcheck --shell=sh -i SC3010,SC3014 vhdbuilder/packer/install-npd.sh spec/vhdbuilder/packer/install_npd_spec.sh: passed.git diff --check: passed.shellspec --shell bash --format d spec/vhdbuilder/packer/install_npd_spec.sh: failed on macOS with the same five baseline failures and one warning from protected/optwrites. Docker is unavailable. Linux validation and a VHD rerun are still needed.Which issue(s) this PR fixes:
Triage ledger:
linux-vhd-6a80cd8915. No GitHub issue.