Add Retry Install To Deb Integration Tests
Description of the issue
dpkg: error: dpkg frontend lock is locked by another process It is a random occurrence. There are many reasons a package lock can be held. It is probably a process trying to update. This is how we solve this issue in our internal pipeline and adot team solves the same problem.
Description of changes
Add retry for install deb package
Tests
https://github.com/sethAmazon/amazon-cloudwatch-agent/actions/runs/3236445078/jobs/5302425581
Requirements
Before commit the code, please do the following steps.
- Run
make fmtandmake fmt-sh - Run
make linter
Codecov Report
Merging #610 (5e73e3f) into master (5c348eb) will decrease coverage by
0.24%. The diff coverage isn/a.
@@ Coverage Diff @@
## master #610 +/- ##
==========================================
- Coverage 56.87% 56.63% -0.25%
==========================================
Files 374 375 +1
Lines 17743 17838 +95
==========================================
+ Hits 10092 10102 +10
- Misses 7061 7145 +84
- Partials 590 591 +1
| Impacted Files | Coverage Δ | |
|---|---|---|
| translator/cmdutil/userutil_darwin.go | 10.52% <0.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
This PR was marked stale due to lack of activity.