Skip to content

Commit 9a2e869

Browse files
authored
[ES-12998] Invoking gradle continue flag on periodic runs to allow for more information on test failures (elastic#136900) (elastic#137354)
* Add --continue flag to invoke maven when a task failure has been hit so that we can see the outcome of more testing over time. (cherry picked from commit 78b4f85) # Conflicts: # .buildkite/pipelines/periodic.template.yml # .buildkite/pipelines/periodic.yml
1 parent 6a04519 commit 9a2e869

File tree

5 files changed

+81
-47
lines changed

5 files changed

+81
-47
lines changed

.buildkite/pipelines/periodic-fwc.template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
steps:
22
- label: "{{matrix.FWC_VERSION}} / fwc"
3-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v$$FWC_VERSION#fwcTest -Dtests.bwc.snapshot=false
3+
command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true v$$FWC_VERSION#fwcTest -Dtests.bwc.snapshot=false
44
timeout_in_minutes: 300
55
agents:
66
provider: gcp

.buildkite/pipelines/periodic-fwc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is auto-generated. See .buildkite/pipelines/periodic-fwc.template.yml
22
steps:
33
- label: "{{matrix.FWC_VERSION}} / fwc"
4-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v$$FWC_VERSION#fwcTest -Dtests.bwc.snapshot=false
4+
command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true v$$FWC_VERSION#fwcTest -Dtests.bwc.snapshot=false
55
timeout_in_minutes: 300
66
agents:
77
provider: gcp

.buildkite/pipelines/periodic.bwc.template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- label: $BWC_VERSION / bwc
2-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v$BWC_VERSION#bwcTest
2+
command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true v$BWC_VERSION#bwcTest
33
timeout_in_minutes: 300
44
agents:
55
provider: gcp

.buildkite/pipelines/periodic.template.yml

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ steps:
22
- group: bwc
33
steps: $BWC_STEPS
44
- label: concurrent-search-tests
5-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dtests.jvm.argline=-Des.concurrent_search=true -Des.concurrent_search=true functionalTests
5+
command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true -Dtests.jvm.argline=-Des.concurrent_search=true -Des.concurrent_search=true functionalTests
66
timeout_in_minutes: 420
77
agents:
88
provider: gcp
99
image: family/elasticsearch-ubuntu-2404
1010
diskSizeGb: 350
1111
machineType: custom-32-98304
12+
1213
- label: encryption-at-rest
1314
command: .buildkite/scripts/encryption-at-rest.sh
1415
timeout_in_minutes: 420
@@ -17,6 +18,7 @@ steps:
1718
image: family/elasticsearch-ubuntu-2404
1819
diskSizeGb: 350
1920
machineType: custom-32-98304
21+
2022
- label: eql-correctness
2123
command: .buildkite/scripts/eql-correctness.sh
2224
timeout_in_minutes: 300
@@ -25,6 +27,7 @@ steps:
2527
image: family/elasticsearch-ubuntu-2404
2628
machineType: custom-32-98304
2729
buildDirectory: /dev/shm/bk
30+
2831
- label: example-plugins
2932
command: |-
3033
cd $$WORKSPACE/plugins/examples
@@ -36,10 +39,11 @@ steps:
3639
image: family/elasticsearch-ubuntu-2404
3740
machineType: custom-32-98304
3841
buildDirectory: /dev/shm/bk
42+
3943
- group: java-fips-matrix
4044
steps:
4145
- label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.GRADLE_TASK}} / java-fips-matrix"
42-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dtests.fips.enabled=true $$GRADLE_TASK
46+
command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true -Dtests.fips.enabled=true $$GRADLE_TASK
4347
timeout_in_minutes: 300
4448
matrix:
4549
setup:
@@ -61,8 +65,9 @@ steps:
6165
env:
6266
ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}"
6367
GRADLE_TASK: "{{matrix.GRADLE_TASK}}"
68+
6469
- label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.BWC_VERSION}} / java-fips-matrix-bwc"
65-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dtests.fips.enabled=true v$$BWC_VERSION#bwcTest
70+
command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true -Dtests.fips.enabled=true v$$BWC_VERSION#bwcTest
6671
timeout_in_minutes: 300
6772
matrix:
6873
setup:
@@ -77,10 +82,11 @@ steps:
7782
env:
7883
ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}"
7984
BWC_VERSION: "{{matrix.BWC_VERSION}}"
85+
8086
- group: java-matrix
8187
steps:
8288
- label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.GRADLE_TASK}} / java-matrix"
83-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true $$GRADLE_TASK
89+
command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true $$GRADLE_TASK
8490
timeout_in_minutes: 300
8591
matrix:
8692
setup:
@@ -106,8 +112,9 @@ steps:
106112
env:
107113
ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}"
108114
GRADLE_TASK: "{{matrix.GRADLE_TASK}}"
115+
109116
- label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.BWC_VERSION}} / java-matrix-bwc"
110-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v$$BWC_VERSION#bwcTest
117+
command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true v$$BWC_VERSION#bwcTest
111118
timeout_in_minutes: 300
112119
matrix:
113120
setup:
@@ -126,6 +133,7 @@ steps:
126133
env:
127134
ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}"
128135
BWC_VERSION: "{{matrix.BWC_VERSION}}"
136+
129137
- label: release-tests
130138
command: .buildkite/scripts/release-tests.sh
131139
timeout_in_minutes: 360
@@ -134,22 +142,24 @@ steps:
134142
image: family/elasticsearch-ubuntu-2404
135143
diskSizeGb: 350
136144
machineType: custom-32-98304
145+
137146
- label: single-processor-node-tests
138-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dtests.configure_test_clusters_with_one_processor=true functionalTests
147+
command: .ci/scripts/run-gradle.sh --continue -Dbwc.checkout.align=true -Dtests.configure_test_clusters_with_one_processor=true functionalTests
139148
timeout_in_minutes: 420
140149
agents:
141150
provider: gcp
142151
image: family/elasticsearch-ubuntu-2404
143152
diskSizeGb: 350
144153
machineType: custom-32-98304
154+
145155
- group: third-party tests
146156
steps:
147157
- label: third-party / azure-sas
148158
command: |
149159
export azure_storage_container=elasticsearch-ci-thirdparty-sas
150160
export azure_storage_base_path=$BUILDKITE_BRANCH
151161
152-
.ci/scripts/run-gradle.sh azureThirdPartyTest
162+
.ci/scripts/run-gradle.sh --continue azureThirdPartyTest
153163
env:
154164
USE_3RD_PARTY_AZURE_SAS_CREDENTIALS: "true"
155165
timeout_in_minutes: 30
@@ -158,12 +168,13 @@ steps:
158168
image: family/elasticsearch-ubuntu-2404
159169
machineType: n2-standard-8
160170
buildDirectory: /dev/shm/bk
171+
161172
- label: third-party / azure
162173
command: |
163174
export azure_storage_container=elasticsearch-ci-thirdparty
164175
export azure_storage_base_path=$BUILDKITE_BRANCH
165176
166-
.ci/scripts/run-gradle.sh azureThirdPartyTest
177+
.ci/scripts/run-gradle.sh --continue azureThirdPartyTest
167178
env:
168179
USE_3RD_PARTY_AZURE_CREDENTIALS: "true"
169180
timeout_in_minutes: 30
@@ -172,12 +183,13 @@ steps:
172183
image: family/elasticsearch-ubuntu-2404
173184
machineType: n2-standard-8
174185
buildDirectory: /dev/shm/bk
186+
175187
- label: third-party / gcs
176188
command: |
177189
export google_storage_bucket=elasticsearch-ci-thirdparty
178190
export google_storage_base_path=$BUILDKITE_BRANCH
179191
180-
.ci/scripts/run-gradle.sh gcsThirdPartyTest
192+
.ci/scripts/run-gradle.sh --continue gcsThirdPartyTest
181193
env:
182194
USE_3RD_PARTY_GCS_CREDENTIALS: "true"
183195
timeout_in_minutes: 30
@@ -186,21 +198,23 @@ steps:
186198
image: family/elasticsearch-ubuntu-2404
187199
machineType: n2-standard-8
188200
buildDirectory: /dev/shm/bk
201+
189202
- label: third-party / geoip
190203
command: |
191-
.ci/scripts/run-gradle.sh :modules:ingest-geoip:internalClusterTest -Dtests.jvm.argline="-Dgeoip_use_service=true"
204+
.ci/scripts/run-gradle.sh --continue :modules:ingest-geoip:internalClusterTest -Dtests.jvm.argline="-Dgeoip_use_service=true"
192205
timeout_in_minutes: 30
193206
agents:
194207
provider: gcp
195208
image: family/elasticsearch-ubuntu-2404
196209
machineType: n2-standard-8
197210
buildDirectory: /dev/shm/bk
211+
198212
- label: third-party / s3
199213
command: |
200214
export amazon_s3_bucket=elasticsearch-ci.us-west-2
201215
export amazon_s3_base_path=$BUILDKITE_BRANCH
202216
203-
.ci/scripts/run-gradle.sh s3ThirdPartyTest
217+
.ci/scripts/run-gradle.sh --continue s3ThirdPartyTest
204218
env:
205219
USE_3RD_PARTY_S3_CREDENTIALS: "true"
206220
timeout_in_minutes: 30
@@ -209,9 +223,10 @@ steps:
209223
image: family/elasticsearch-ubuntu-2404
210224
machineType: n2-standard-8
211225
buildDirectory: /dev/shm/bk
226+
212227
- label: third-party / ms-graph
213228
command: |
214-
.ci/scripts/run-gradle.sh msGraphThirdPartyTest
229+
.ci/scripts/run-gradle.sh --continue msGraphThirdPartyTest
215230
env:
216231
USE_3RD_PARTY_MS_GRAPH_CREDENTIALS: "true"
217232
timeout_in_minutes: 30
@@ -231,13 +246,15 @@ steps:
231246
machineType: n2-standard-8
232247
buildDirectory: /dev/shm/bk
233248
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$$/
249+
234250
- label: check-branch-consistency
235251
command: .ci/scripts/run-gradle.sh branchConsistency
236252
timeout_in_minutes: 15
237253
agents:
238254
provider: gcp
239255
image: family/elasticsearch-ubuntu-2404
240256
machineType: n2-standard-2
257+
241258
- label: check-branch-protection-rules
242259
command: .buildkite/scripts/branch-protection.sh
243260
timeout_in_minutes: 5

0 commit comments

Comments
 (0)