amazon-cloudwatch-agent icon indicating copy to clipboard operation
amazon-cloudwatch-agent copied to clipboard

Add Retry Install To Deb Integration Tests

Open sethAmazon opened this issue 3 years ago • 1 comments

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.

  1. Run make fmt and make fmt-sh
  2. Run make linter

sethAmazon avatar Oct 12 '22 14:10 sethAmazon

Codecov Report

Merging #610 (5e73e3f) into master (5c348eb) will decrease coverage by 0.24%. The diff coverage is n/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.

codecov-commenter avatar Oct 12 '22 16:10 codecov-commenter

This PR was marked stale due to lack of activity.

github-actions[bot] avatar Nov 01 '22 00:11 github-actions[bot]