From 1d50843461f66d3ced1e9125b000f873f24c412f Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Tue, 2 May 2023 14:07:21 -0400 Subject: [PATCH 01/13] Only linux test enabled --- .github/workflows/integration-test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index cd66b86093..03b5640c99 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -450,6 +450,7 @@ jobs: needs: [ MakeBinary, BuildMSI, StartLocalStack, GenerateTestMatrix ] name: 'EC2NVIDIAGPUIntegrationTest' runs-on: ubuntu-latest + if: false strategy: fail-fast: false matrix: @@ -587,7 +588,7 @@ jobs: if: steps.ec2-linux-integration-test.outputs.cache-hit != 'true' uses: nick-fields/retry@v2 with: - max_attempts: 3 + max_attempts: 1 timeout_minutes: 60 retry_wait_seconds: 5 command: | @@ -625,6 +626,7 @@ jobs: needs: [BuildMSI, GenerateTestMatrix] name: 'EC2WinIntegrationTest' runs-on: ubuntu-latest + if: false strategy: fail-fast: false matrix: @@ -694,6 +696,7 @@ jobs: needs: [MakeMacPkg, EC2LinuxIntegrationTest, GenerateTestMatrix] name: 'EC2DarwinIntegrationTest' runs-on: ubuntu-latest + if: false strategy: fail-fast: false matrix: @@ -798,6 +801,7 @@ jobs: name: 'ECSEC2IntegrationTest' runs-on: ubuntu-latest needs: [ MakeBinary, GenerateTestMatrix ] + if: false strategy: fail-fast: false matrix: @@ -868,6 +872,7 @@ jobs: name: 'ECSFargateIntegrationTest' runs-on: ubuntu-latest needs: [MakeBinary, GenerateTestMatrix] + if: false strategy: fail-fast: false matrix: @@ -934,6 +939,7 @@ jobs: name: "StressTrackingTest" needs: [MakeBinary, EC2LinuxIntegrationTest, ECSEC2IntegrationTest, ECSFargateIntegrationTest, GenerateTestMatrix] runs-on: ubuntu-latest + if: false strategy: fail-fast: false matrix: From 1c03e3b84e3de48e8d08813f67cb616761e02cd4 Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Tue, 2 May 2023 14:14:00 -0400 Subject: [PATCH 02/13] Point to test fork branch --- .github/workflows/integration-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 03b5640c99..5556250444 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -8,9 +8,9 @@ env: S3_INTEGRATION_BUCKET: ${{ secrets.S3_INTEGRATION_BUCKET }} KEY_NAME: ${{ secrets.KEY_NAME }} ECR_INTEGRATION_TEST_REPO: "cwagent-integration-test" - CWA_GITHUB_TEST_REPO_NAME: "aws/amazon-cloudwatch-agent-test" - CWA_GITHUB_TEST_REPO_URL: "https://github.com/aws/amazon-cloudwatch-agent-test.git" - CWA_GITHUB_TEST_REPO_BRANCH: "main" + CWA_GITHUB_TEST_REPO_NAME: "zhihonl/amazon-cloudwatch-agent-test" + CWA_GITHUB_TEST_REPO_URL: "https://github.com/zhihonl/amazon-cloudwatch-agent-test.git" + CWA_GITHUB_TEST_REPO_BRANCH: "collectd-fix" on: push: From 9d2278fdcd903b41c8ef56336776838f749afcd5 Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Tue, 2 May 2023 15:11:09 -0400 Subject: [PATCH 03/13] Allow three attempts --- .github/workflows/integration-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 5556250444..fe869fadfc 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -588,7 +588,7 @@ jobs: if: steps.ec2-linux-integration-test.outputs.cache-hit != 'true' uses: nick-fields/retry@v2 with: - max_attempts: 1 + max_attempts: 3 timeout_minutes: 60 retry_wait_seconds: 5 command: | From 071e8d31ad517821be7230c344bbe6098906942e Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Fri, 5 May 2023 16:04:17 -0400 Subject: [PATCH 04/13] Only attempt once for tests --- .github/workflows/integration-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index fe869fadfc..5556250444 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -588,7 +588,7 @@ jobs: if: steps.ec2-linux-integration-test.outputs.cache-hit != 'true' uses: nick-fields/retry@v2 with: - max_attempts: 3 + max_attempts: 1 timeout_minutes: 60 retry_wait_seconds: 5 command: | From 3283918eb4dc371100605e32d840533cc4830de1 Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Tue, 9 May 2023 16:14:10 -0400 Subject: [PATCH 05/13] Add userdata test --- .github/workflows/integration-test.yml | 77 ++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 5556250444..9d93f5ca41 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -143,6 +143,7 @@ jobs: ec2_mac_matrix: ${{ steps.set-matrix.outputs.ec2_mac_matrix }} ec2_performance_matrix: ${{steps.set-matrix.outputs.ec2_performance_matrix}} ec2_stress_matrix: ${{steps.set-matrix.outputs.ec2_stress_matrix}} + ec2_userdata_matrix: ${{ steps.set-matrix.outputs.ec2_userdata_matrix }} ecs_ec2_launch_daemon_matrix: ${{ steps.set-matrix.outputs.ecs_ec2_launch_daemon_matrix }} ecs_fargate_matrix: ${{ steps.set-matrix.outputs.ecs_fargate_matrix }} steps: @@ -551,6 +552,7 @@ jobs: needs: [MakeBinary, StartLocalStack, GenerateTestMatrix] name: 'Test' runs-on: ubuntu-latest + if: false strategy: fail-fast: false matrix: @@ -622,6 +624,81 @@ jobs: retry_wait_seconds: 5 command: cd terraform/ec2/linux && terraform destroy --auto-approve + EC2UserDataIntegrationTest: + needs: [MakeBinary, StartLocalStack, GenerateTestMatrix] + name: 'Test' + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + arrays: ${{ fromJson(needs.GenerateTestMatrix.outputs.ec2_userdata_matrix) }} + permissions: + id-token: write + contents: read + steps: + - uses: actions/checkout@v3 + with: + repository: ${{env.CWA_GITHUB_TEST_REPO_NAME}} + ref: ${{env.CWA_GITHUB_TEST_REPO_BRANCH}} + + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + role-to-assume: ${{ env.TERRAFORM_AWS_ASSUME_ROLE }} + aws-region: us-west-2 + + - name: Cache if success + id: ec2-userdata-integration-test + uses: actions/cache@v3 + with: + path: go.mod + key: ec2-userdata-integration-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.arc }}-${{ matrix.arrays.test_dir }} + + - name: Echo Test Info + run: echo run on ec2 instance os ${{ matrix.arrays.os }} arc ${{ matrix.arrays.arc }} test dir ${{ matrix.arrays.test_dir }} + + - name: Verify Terraform version + run: terraform --version + + # nick-fields/retry@v2 starts at base dir + - name: Terraform apply + if: steps.ec2-userdata-integration-test.outputs.cache-hit != 'true' + uses: nick-fields/retry@v2 + with: + max_attempts: 1 + timeout_minutes: 60 + retry_wait_seconds: 5 + command: | + cd terraform/ec2/linux + terraform init + if terraform apply --auto-approve \ + -var="ssh_key_value=${PRIVATE_KEY}" -var="github_test_repo=${{env.CWA_GITHUB_TEST_REPO_URL}}" \ + -var="cwa_github_sha=${GITHUB_SHA}" -var="install_agent=${{ matrix.arrays.installAgentCommand }}" \ + -var="github_test_repo_branch=${{env.CWA_GITHUB_TEST_REPO_BRANCH}}" \ + -var="ec2_instance_type=${{ matrix.arrays.instanceType }}" \ + -var="user=${{ matrix.arrays.username }}" \ + -var="ami=${{ matrix.arrays.ami }}" \ + -var="ca_cert_path=${{ matrix.arrays.caCertPath }}" \ + -var="arc=${{ matrix.arrays.arc }}" \ + -var="binary_name=${{ matrix.arrays.binaryName }}" \ + -var="local_stack_host_name=${{ needs.StartLocalStack.outputs.local_stack_host_name }}" \ + -var="s3_bucket=${S3_INTEGRATION_BUCKET}" \ + -var="plugin_tests='${{ github.event.inputs.plugins }}'" \ + -var="ssh_key_name=${KEY_NAME}" \ + -var="test_dir=${{ matrix.arrays.test_dir }}" ; then terraform destroy -auto-approve + else + terraform destroy -auto-approve && exit 1 + fi + #This is here just in case workflow cancel + - name: Terraform destroy + if: ${{ cancelled() && steps.ec2-linux-integration-test.outputs.cache-hit != 'true' }} + uses: nick-fields/retry@v2 + with: + max_attempts: 3 + timeout_minutes: 8 + retry_wait_seconds: 5 + command: cd terraform/ec2/linux && terraform destroy --auto-approve + EC2WinIntegrationTest: needs: [BuildMSI, GenerateTestMatrix] name: 'EC2WinIntegrationTest' From ee074a1266c5eae817db6be30ffa82c09003a9d9 Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Tue, 9 May 2023 17:04:39 -0400 Subject: [PATCH 06/13] Fixing userdata matrix --- .github/workflows/integration-test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 9d93f5ca41..8e6d65e38f 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -167,6 +167,7 @@ jobs: echo "::set-output name=ec2_mac_matrix::$(echo $(cat generator/resources/ec2_mac_complete_test_matrix.json))" echo "::set-output name=ec2_performance_matrix::$(echo $(cat generator/resources/ec2_performance_complete_test_matrix.json))" echo "::set-output name=ec2_stress_matrix::$(echo $(cat generator/resources/ec2_stress_complete_test_matrix.json))" + echo "::set-output name=ec2_userdata_matrix::$(echo $(cat generator/resources/ec2_userdata_complete_test_matrix.json))" echo "::set-output name=ecs_ec2_launch_daemon_matrix::$(echo $(cat generator/resources/ecs_ec2_daemon_complete_test_matrix.json))" echo "::set-output name=ecs_fargate_matrix::$(echo $(cat generator/resources/ecs_fargate_complete_test_matrix.json))" @@ -178,6 +179,7 @@ jobs: echo "ec2_mac_matrix: ${{ steps.set-matrix.outputs.ec2_mac_matrix }}" echo "ec2_performance_matrix: ${{ steps.set-matrix.outputs.ec2_performance_matrix}}" echo "ec2_stress_matrix: ${{ steps.set-matrix.outputs.ec2_stress_matrix}}" + echo "ec2_userdata_matrix: ${{ steps.set-matrix.outputs.ec2_userdata_matrix}}" echo "ecs_ec2_launch_daemon_matrix${{ steps.set-matrix.outputs.ecs_ec2_launch_daemon_matrix }}" echo "ecs_fargate_matrix${{ steps.set-matrix.outputs.ecs_fargate_matrix }}" @@ -550,7 +552,7 @@ jobs: EC2LinuxIntegrationTest: needs: [MakeBinary, StartLocalStack, GenerateTestMatrix] - name: 'Test' + name: 'EC2LinuxIntegrationTest' runs-on: ubuntu-latest if: false strategy: @@ -626,7 +628,7 @@ jobs: EC2UserDataIntegrationTest: needs: [MakeBinary, StartLocalStack, GenerateTestMatrix] - name: 'Test' + name: 'EC2UserDataIntegrationTest' runs-on: ubuntu-latest strategy: fail-fast: false From f4551bea12b632b1063c346e30cc8c1fd7f7bf32 Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Tue, 9 May 2023 17:24:46 -0400 Subject: [PATCH 07/13] Change main file path for userdata test --- .github/workflows/integration-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 8e6d65e38f..ccd3c2dfdd 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -627,7 +627,7 @@ jobs: command: cd terraform/ec2/linux && terraform destroy --auto-approve EC2UserDataIntegrationTest: - needs: [MakeBinary, StartLocalStack, GenerateTestMatrix] + needs: [StartLocalStack, GenerateTestMatrix] name: 'EC2UserDataIntegrationTest' runs-on: ubuntu-latest strategy: @@ -671,7 +671,7 @@ jobs: timeout_minutes: 60 retry_wait_seconds: 5 command: | - cd terraform/ec2/linux + cd terraform/ec2/userdata terraform init if terraform apply --auto-approve \ -var="ssh_key_value=${PRIVATE_KEY}" -var="github_test_repo=${{env.CWA_GITHUB_TEST_REPO_URL}}" \ From a78e7ac0f07ad87eab8d0e95e1e6cc2c9e3601ee Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Wed, 10 May 2023 15:54:00 -0400 Subject: [PATCH 08/13] remove cache --- .github/workflows/integration-test.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index ccd3c2dfdd..7d97f83084 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -649,13 +649,6 @@ jobs: role-to-assume: ${{ env.TERRAFORM_AWS_ASSUME_ROLE }} aws-region: us-west-2 - - name: Cache if success - id: ec2-userdata-integration-test - uses: actions/cache@v3 - with: - path: go.mod - key: ec2-userdata-integration-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.arc }}-${{ matrix.arrays.test_dir }} - - name: Echo Test Info run: echo run on ec2 instance os ${{ matrix.arrays.os }} arc ${{ matrix.arrays.arc }} test dir ${{ matrix.arrays.test_dir }} From d1b9690f662bc8239ed8e61dbac8fc38e9091547 Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Wed, 10 May 2023 16:29:39 -0400 Subject: [PATCH 09/13] Fix var lines --- .github/workflows/integration-test.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 7d97f83084..fb80ab0bfb 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -649,6 +649,13 @@ jobs: role-to-assume: ${{ env.TERRAFORM_AWS_ASSUME_ROLE }} aws-region: us-west-2 + - name: Cache if success + id: ec2-userdata-integration-test + uses: actions/cache@v3 + with: + path: go.mod + key: ec2-userdata-integration-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.arc }}-${{ matrix.arrays.test_dir }} + - name: Echo Test Info run: echo run on ec2 instance os ${{ matrix.arrays.os }} arc ${{ matrix.arrays.arc }} test dir ${{ matrix.arrays.test_dir }} @@ -667,8 +674,10 @@ jobs: cd terraform/ec2/userdata terraform init if terraform apply --auto-approve \ - -var="ssh_key_value=${PRIVATE_KEY}" -var="github_test_repo=${{env.CWA_GITHUB_TEST_REPO_URL}}" \ - -var="cwa_github_sha=${GITHUB_SHA}" -var="install_agent=${{ matrix.arrays.installAgentCommand }}" \ + -var="ssh_key_value=${PRIVATE_KEY}" \ + -var="github_test_repo=${{env.CWA_GITHUB_TEST_REPO_URL}}" \ + -var="cwa_github_sha=${GITHUB_SHA}" \ + -var="install_agent=${{ matrix.arrays.installAgentCommand }}" \ -var="github_test_repo_branch=${{env.CWA_GITHUB_TEST_REPO_BRANCH}}" \ -var="ec2_instance_type=${{ matrix.arrays.instanceType }}" \ -var="user=${{ matrix.arrays.username }}" \ From 0669ab6c08ae5905f9017c3ba96ba254b9d3b61e Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Wed, 10 May 2023 16:34:46 -0400 Subject: [PATCH 10/13] Revert to old ways --- .github/workflows/integration-test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index fb80ab0bfb..ccd3c2dfdd 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -674,10 +674,8 @@ jobs: cd terraform/ec2/userdata terraform init if terraform apply --auto-approve \ - -var="ssh_key_value=${PRIVATE_KEY}" \ - -var="github_test_repo=${{env.CWA_GITHUB_TEST_REPO_URL}}" \ - -var="cwa_github_sha=${GITHUB_SHA}" \ - -var="install_agent=${{ matrix.arrays.installAgentCommand }}" \ + -var="ssh_key_value=${PRIVATE_KEY}" -var="github_test_repo=${{env.CWA_GITHUB_TEST_REPO_URL}}" \ + -var="cwa_github_sha=${GITHUB_SHA}" -var="install_agent=${{ matrix.arrays.installAgentCommand }}" \ -var="github_test_repo_branch=${{env.CWA_GITHUB_TEST_REPO_BRANCH}}" \ -var="ec2_instance_type=${{ matrix.arrays.instanceType }}" \ -var="user=${{ matrix.arrays.username }}" \ From 28ec40855441a6b2feaf06f96752578689378dfb Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Wed, 10 May 2023 17:41:12 -0400 Subject: [PATCH 11/13] Run linux integration test --- .github/workflows/integration-test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index ccd3c2dfdd..09efeed5f8 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -10,7 +10,7 @@ env: ECR_INTEGRATION_TEST_REPO: "cwagent-integration-test" CWA_GITHUB_TEST_REPO_NAME: "zhihonl/amazon-cloudwatch-agent-test" CWA_GITHUB_TEST_REPO_URL: "https://github.com/zhihonl/amazon-cloudwatch-agent-test.git" - CWA_GITHUB_TEST_REPO_BRANCH: "collectd-fix" + CWA_GITHUB_TEST_REPO_BRANCH: "linux-integ-test" on: push: @@ -554,7 +554,6 @@ jobs: needs: [MakeBinary, StartLocalStack, GenerateTestMatrix] name: 'EC2LinuxIntegrationTest' runs-on: ubuntu-latest - if: false strategy: fail-fast: false matrix: @@ -627,7 +626,7 @@ jobs: command: cd terraform/ec2/linux && terraform destroy --auto-approve EC2UserDataIntegrationTest: - needs: [StartLocalStack, GenerateTestMatrix] + needs: [MakeBinary, StartLocalStack, GenerateTestMatrix] name: 'EC2UserDataIntegrationTest' runs-on: ubuntu-latest strategy: From 9170870cd26e9a8d7f381ae8257486660def292f Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Wed, 10 May 2023 20:13:35 -0400 Subject: [PATCH 12/13] Rever to main setting --- .github/workflows/integration-test.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 09efeed5f8..7eaab43b7a 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -8,9 +8,9 @@ env: S3_INTEGRATION_BUCKET: ${{ secrets.S3_INTEGRATION_BUCKET }} KEY_NAME: ${{ secrets.KEY_NAME }} ECR_INTEGRATION_TEST_REPO: "cwagent-integration-test" - CWA_GITHUB_TEST_REPO_NAME: "zhihonl/amazon-cloudwatch-agent-test" - CWA_GITHUB_TEST_REPO_URL: "https://github.com/zhihonl/amazon-cloudwatch-agent-test.git" - CWA_GITHUB_TEST_REPO_BRANCH: "linux-integ-test" + CWA_GITHUB_TEST_REPO_NAME: "aws/amazon-cloudwatch-agent-test" + CWA_GITHUB_TEST_REPO_URL: "https://github.com/aws/amazon-cloudwatch-agent-test.git" + CWA_GITHUB_TEST_REPO_BRANCH: "main" on: push: @@ -453,7 +453,6 @@ jobs: needs: [ MakeBinary, BuildMSI, StartLocalStack, GenerateTestMatrix ] name: 'EC2NVIDIAGPUIntegrationTest' runs-on: ubuntu-latest - if: false strategy: fail-fast: false matrix: @@ -704,7 +703,6 @@ jobs: needs: [BuildMSI, GenerateTestMatrix] name: 'EC2WinIntegrationTest' runs-on: ubuntu-latest - if: false strategy: fail-fast: false matrix: @@ -774,7 +772,6 @@ jobs: needs: [MakeMacPkg, EC2LinuxIntegrationTest, GenerateTestMatrix] name: 'EC2DarwinIntegrationTest' runs-on: ubuntu-latest - if: false strategy: fail-fast: false matrix: @@ -879,7 +876,6 @@ jobs: name: 'ECSEC2IntegrationTest' runs-on: ubuntu-latest needs: [ MakeBinary, GenerateTestMatrix ] - if: false strategy: fail-fast: false matrix: @@ -950,7 +946,6 @@ jobs: name: 'ECSFargateIntegrationTest' runs-on: ubuntu-latest needs: [MakeBinary, GenerateTestMatrix] - if: false strategy: fail-fast: false matrix: @@ -1017,7 +1012,6 @@ jobs: name: "StressTrackingTest" needs: [MakeBinary, EC2LinuxIntegrationTest, ECSEC2IntegrationTest, ECSFargateIntegrationTest, GenerateTestMatrix] runs-on: ubuntu-latest - if: false strategy: fail-fast: false matrix: From 5cf68347aa2e079085b09ddd53d37a444297e7b8 Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Wed, 10 May 2023 20:15:36 -0400 Subject: [PATCH 13/13] Three attempts for linux --- .github/workflows/integration-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 7eaab43b7a..f98db0933b 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -590,7 +590,7 @@ jobs: if: steps.ec2-linux-integration-test.outputs.cache-hit != 'true' uses: nick-fields/retry@v2 with: - max_attempts: 1 + max_attempts: 3 timeout_minutes: 60 retry_wait_seconds: 5 command: |