From 823852797a5e5fef64f39926f582f5792857fff9 Mon Sep 17 00:00:00 2001 From: Olga Naidjonoka Date: Wed, 24 Apr 2024 12:16:06 +0300 Subject: [PATCH] added retries for filebeat flaky tests --- .buildkite/auditbeat/auditbeat-pipeline.yml | 28 +++++++++++++ .buildkite/filebeat/filebeat-pipeline.yml | 44 +++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/.buildkite/auditbeat/auditbeat-pipeline.yml b/.buildkite/auditbeat/auditbeat-pipeline.yml index b8d95689950f..2c5cab90e8af 100644 --- a/.buildkite/auditbeat/auditbeat-pipeline.yml +++ b/.buildkite/auditbeat/auditbeat-pipeline.yml @@ -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}" @@ -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}" @@ -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}" @@ -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}" @@ -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}" @@ -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}" @@ -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}" diff --git a/.buildkite/filebeat/filebeat-pipeline.yml b/.buildkite/filebeat/filebeat-pipeline.yml index 7eedd9d76fba..99b118aae329 100644 --- a/.buildkite/filebeat/filebeat-pipeline.yml +++ b/.buildkite/filebeat/filebeat-pipeline.yml @@ -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}" @@ -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}" @@ -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}" @@ -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}" @@ -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}" @@ -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}" @@ -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}" @@ -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}" @@ -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}" @@ -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}" @@ -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}"