Skip to content

Commit

Permalink
added retries for filebeat flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oakrizan committed Apr 24, 2024
1 parent ecf04f8 commit 1710f61
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .buildkite/auditbeat/auditbeat-pipeline.yml
Expand Up @@ -70,6 +70,10 @@ steps:
command: |
Set-Location -Path auditbeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "gcp"
image: "${IMAGE_WIN_2016}"
Expand All @@ -87,6 +91,10 @@ steps:
command: |
Set-Location -Path auditbeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "gcp"
image: "${IMAGE_WIN_2022}"
Expand Down Expand Up @@ -145,6 +153,10 @@ steps:
source .buildkite/scripts/install_macos_tools.sh
cd auditbeat
mage unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "orka"
imagePrefix: "${IMAGE_MACOS_X86_64}"
Expand All @@ -159,6 +171,10 @@ steps:
source .buildkite/scripts/install_macos_tools.sh
cd auditbeat
mage unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "orka"
imagePrefix: "${IMAGE_MACOS_ARM}"
Expand All @@ -176,6 +192,10 @@ steps:
command: |
Set-Location -Path auditbeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "gcp"
image: "${IMAGE_WIN_2019}"
Expand All @@ -192,6 +212,10 @@ steps:
command: |
Set-Location -Path auditbeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "gcp"
image: "${IMAGE_WIN_10}"
Expand All @@ -208,6 +232,10 @@ steps:
command: |
Set-Location -Path auditbeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "gcp"
image: "${IMAGE_WIN_11}"
Expand Down
44 changes: 44 additions & 0 deletions .buildkite/filebeat/filebeat-pipeline.yml
Expand Up @@ -30,6 +30,10 @@ steps:
command: |
cd filebeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -45,6 +49,10 @@ steps:
command: |
cd filebeat
mage goIntegTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -60,6 +68,10 @@ steps:
command: |
cd filebeat
mage pythonIntegTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: gcp
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -76,6 +88,10 @@ steps:
command: |
Set-Location -Path filebeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "gcp"
image: "${IMAGE_WIN_2016}"
Expand All @@ -94,6 +110,10 @@ steps:
command: |
Set-Location -Path filebeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "gcp"
image: "${IMAGE_WIN_2022}"
Expand All @@ -118,6 +138,10 @@ steps:
source .buildkite/scripts/install_macos_tools.sh
cd filebeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "orka"
imagePrefix: "${IMAGE_MACOS_X86_64}"
Expand All @@ -136,6 +160,10 @@ steps:
source .buildkite/scripts/install_macos_tools.sh
cd filebeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "orka"
imagePrefix: "${IMAGE_MACOS_ARM}"
Expand All @@ -152,6 +180,10 @@ steps:
command: |
cd filebeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "aws"
imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}"
Expand All @@ -172,6 +204,10 @@ steps:
command: |
Set-Location -Path filebeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "gcp"
image: "${IMAGE_WIN_2019}"
Expand All @@ -190,6 +226,10 @@ steps:
command: |
Set-Location -Path filebeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "gcp"
image: "${IMAGE_WIN_11}"
Expand All @@ -208,6 +248,10 @@ steps:
command: |
Set-Location -Path filebeat
mage build unitTest
retry:
automatic:
- exit_status: 1
limit: 3
agents:
provider: "gcp"
image: "${IMAGE_WIN_10}"
Expand Down

0 comments on commit 1710f61

Please sign in to comment.