diff --git a/.buildkite/pipelines/periodic.template.yml b/.buildkite/pipelines/periodic.template.yml index 5edb8f7b992ff..b19c41319fcc8 100644 --- a/.buildkite/pipelines/periodic.template.yml +++ b/.buildkite/pipelines/periodic.template.yml @@ -121,6 +121,73 @@ steps: allowed: true permit_on_passed: false reason: "Retry with smart test selection if desired" + - group: java-fips-140-3-matrix + steps: + - label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.GRADLE_TASK}} / java-fips-140-3-matrix" + command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true -Dtests.fips.enabled=true -Dtests.fips.mode=140-3 $$GRADLE_TASK + timeout_in_minutes: 300 + matrix: + setup: + ES_RUNTIME_JAVA: + - openjdk21 + GRADLE_TASK: + - checkPart1 + - checkPart2 + - checkPart3 + - checkPart4 + - checkPart5 + - checkPart6 + - checkRestCompat + agents: + provider: gcp + image: family/elasticsearch-ubuntu-2404 + machineType: n1-standard-32 + buildDirectory: /dev/shm/bk + env: + ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}" + GRADLE_TASK: "{{matrix.GRADLE_TASK}}" + retry: + automatic: + - exit_status: "-1" + limit: 3 + signal_reason: none + - signal_reason: agent_stop + limit: 3 + - exit_status: "1" + limit: 1 + manual: + allowed: true + permit_on_passed: false + reason: "Retry with smart test selection if desired" + - label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.BWC_VERSION}} / java-fips-140-3-matrix-bwc" + command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true -Dtests.fips.enabled=true -Dtests.fips.mode=140-3 v$$BWC_VERSION#bwcTest + timeout_in_minutes: 300 + matrix: + setup: + ES_RUNTIME_JAVA: + - openjdk21 + BWC_VERSION: $BWC_LIST + agents: + provider: gcp + image: family/elasticsearch-ubuntu-2404 + machineType: n1-standard-32 + buildDirectory: /dev/shm/bk + env: + ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}" + BWC_VERSION: "{{matrix.BWC_VERSION}}" + retry: + automatic: + - exit_status: "-1" + limit: 3 + signal_reason: none + - signal_reason: agent_stop + limit: 3 + - exit_status: "1" + limit: 1 + manual: + allowed: true + permit_on_passed: false + reason: "Retry with smart test selection if desired" - group: java-matrix steps: - label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.GRADLE_TASK}} / java-matrix" diff --git a/.buildkite/pipelines/periodic.yml b/.buildkite/pipelines/periodic.yml index 073d80c00606a..77ece50cccf35 100644 --- a/.buildkite/pipelines/periodic.yml +++ b/.buildkite/pipelines/periodic.yml @@ -647,6 +647,73 @@ steps: allowed: true permit_on_passed: false reason: "Retry with smart test selection if desired" + - group: java-fips-140-3-matrix + steps: + - label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.GRADLE_TASK}} / java-fips-140-3-matrix" + command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true -Dtests.fips.enabled=true -Dtests.fips.mode=140-3 $$GRADLE_TASK + timeout_in_minutes: 300 + matrix: + setup: + ES_RUNTIME_JAVA: + - openjdk21 + GRADLE_TASK: + - checkPart1 + - checkPart2 + - checkPart3 + - checkPart4 + - checkPart5 + - checkPart6 + - checkRestCompat + agents: + provider: gcp + image: family/elasticsearch-ubuntu-2404 + machineType: n1-standard-32 + buildDirectory: /dev/shm/bk + env: + ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}" + GRADLE_TASK: "{{matrix.GRADLE_TASK}}" + retry: + automatic: + - exit_status: "-1" + limit: 3 + signal_reason: none + - signal_reason: agent_stop + limit: 3 + - exit_status: "1" + limit: 1 + manual: + allowed: true + permit_on_passed: false + reason: "Retry with smart test selection if desired" + - label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.BWC_VERSION}} / java-fips-140-3-matrix-bwc" + command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true -Dtests.fips.enabled=true -Dtests.fips.mode=140-3 v$$BWC_VERSION#bwcTest + timeout_in_minutes: 300 + matrix: + setup: + ES_RUNTIME_JAVA: + - openjdk21 + BWC_VERSION: ["8.19.10", "9.1.10", "9.2.4", "9.3.0", "9.4.0"] + agents: + provider: gcp + image: family/elasticsearch-ubuntu-2404 + machineType: n1-standard-32 + buildDirectory: /dev/shm/bk + env: + ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}" + BWC_VERSION: "{{matrix.BWC_VERSION}}" + retry: + automatic: + - exit_status: "-1" + limit: 3 + signal_reason: none + - signal_reason: agent_stop + limit: 3 + - exit_status: "1" + limit: 1 + manual: + allowed: true + permit_on_passed: false + reason: "Retry with smart test selection if desired" - group: java-matrix steps: - label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.GRADLE_TASK}} / java-matrix" diff --git a/.buildkite/pipelines/pull-request/part-1-fips-140-3.yml b/.buildkite/pipelines/pull-request/part-1-fips-140-3.yml index 49d82fd7a3703..87cfa63c101fe 100644 --- a/.buildkite/pipelines/pull-request/part-1-fips-140-3.yml +++ b/.buildkite/pipelines/pull-request/part-1-fips-140-3.yml @@ -1,6 +1,6 @@ config: allow-labels: - - test-fips-140-3 + - test-fips steps: - label: part-1-fips-140-3 command: .ci/scripts/run-gradle.sh -Dignore.tests.seed -Dtests.fips.enabled=true -Dtests.fips.mode=140-3 checkPart1 diff --git a/.buildkite/pipelines/pull-request/part-2-fips-140-3.yml b/.buildkite/pipelines/pull-request/part-2-fips-140-3.yml index 17c97618e1a95..cbc0e1da03a3a 100644 --- a/.buildkite/pipelines/pull-request/part-2-fips-140-3.yml +++ b/.buildkite/pipelines/pull-request/part-2-fips-140-3.yml @@ -1,6 +1,6 @@ config: allow-labels: - - test-fips-140-3 + - test-fips steps: - label: part-2-fips-140-3 command: .ci/scripts/run-gradle.sh -Dignore.tests.seed -Dtests.fips.enabled=true -Dtests.fips.mode=140-3 checkPart2 diff --git a/.buildkite/pipelines/pull-request/part-3-fips-140-3.yml b/.buildkite/pipelines/pull-request/part-3-fips-140-3.yml index 0c3ff0153613b..f0a5c41bfe7f0 100644 --- a/.buildkite/pipelines/pull-request/part-3-fips-140-3.yml +++ b/.buildkite/pipelines/pull-request/part-3-fips-140-3.yml @@ -1,6 +1,6 @@ config: allow-labels: - - test-fips-140-3 + - test-fips steps: - label: part-3-fips-140-3 command: .ci/scripts/run-gradle.sh -Dignore.tests.seed -Dtests.fips.enabled=true -Dtests.fips.mode=140-3 checkPart3 diff --git a/.buildkite/pipelines/pull-request/part-4-fips-140-3.yml b/.buildkite/pipelines/pull-request/part-4-fips-140-3.yml index 7a3ce2de4bbd7..ae0e3dc4d97f4 100644 --- a/.buildkite/pipelines/pull-request/part-4-fips-140-3.yml +++ b/.buildkite/pipelines/pull-request/part-4-fips-140-3.yml @@ -1,6 +1,6 @@ config: allow-labels: - - test-fips-140-3 + - test-fips steps: - label: part-4-fips-140-3 command: .ci/scripts/run-gradle.sh -Dignore.tests.seed -Dtests.fips.enabled=true -Dtests.fips.mode=140-3 checkPart4 diff --git a/.buildkite/pipelines/pull-request/part-5-fips-140-3.yml b/.buildkite/pipelines/pull-request/part-5-fips-140-3.yml index 440793ad7b649..696a2a4ca7ec3 100644 --- a/.buildkite/pipelines/pull-request/part-5-fips-140-3.yml +++ b/.buildkite/pipelines/pull-request/part-5-fips-140-3.yml @@ -1,6 +1,6 @@ config: allow-labels: - - test-fips-140-3 + - test-fips steps: - label: part-5-fips-140-3 command: .ci/scripts/run-gradle.sh -Dignore.tests.seed -Dtests.fips.enabled=true -Dtests.fips.mode=140-3 checkPart5 diff --git a/.buildkite/pipelines/pull-request/part-6-fips-140-3.yml b/.buildkite/pipelines/pull-request/part-6-fips-140-3.yml index fe10c7dadc584..eee5050a1d0b3 100644 --- a/.buildkite/pipelines/pull-request/part-6-fips-140-3.yml +++ b/.buildkite/pipelines/pull-request/part-6-fips-140-3.yml @@ -1,6 +1,6 @@ config: allow-labels: - - test-fips-140-3 + - test-fips steps: - label: part-6-fips-140-3 command: .ci/scripts/run-gradle.sh -Dignore.tests.seed -Dtests.fips.enabled=true -Dtests.fips.mode=140-3 checkPart6