Skip to content

Commit 23d05ac

Browse files
committed
Merge remote-tracking branch 'upstream/main' into dlm-tiny-retentions
* upstream/main: (43 commits) Unmute testAckedIndexing to see if it still fails on main (elastic#134682) Silence time zone ID deprecation warning for JDK 25 due to log4j2 bug. (elastic#134719) Adding a getUnmodifiableSourceAndMetadata() method to IngestDocument (elastic#134816) Mark the create-index-from-source action as publicly available on Serverless (elastic#134953) ESQL: Rename command from INLINESTATS to INLINE STATS (elastic#134827) Document multi index query support for simplified retrievers (elastic#134980) [ML] Fix YAMl test to use correct query parameter type (elastic#134999) [Transform] Wait for PIT to close (elastic#134955) Add XPath to XmlUtils (elastic#134923) Fixing conditional processor mutability bugs (elastic#134936) [Transform] Lower loglevel of 3 transform-related error messages from ERROR to WARN (elastic#134985) Unmute pattern text tests. (elastic#134981) Integrate weights into simplified RRF retriever syntax (elastic#132680) Mute org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT test {csv-spec:stats.CountDistinctWithConditions} elastic#134993 Update periodic java-ea build to test java 26 pre-release (elastic#134983) Mute org.elasticsearch.xpack.esql.ccq.MultiClusterSpecIT test {csv-spec:stats.CountDistinctWithConditions} elastic#134984 Fix and unmute testIndexSettingProviderPrivateSetting (elastic#134861) Add missing common cat params (elastic#134870) Support querying multiple indices with the simplified RRF retriever (elastic#134822) Allow including semantic field embeddings in _source (elastic#134717) ...
2 parents d763603 + 6a1d6bf commit 23d05ac

File tree

259 files changed

+7779
-6420
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

259 files changed

+7779
-6420
lines changed

.buildkite/pipelines/intake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ steps:
6565
timeout_in_minutes: 300
6666
matrix:
6767
setup:
68-
BWC_VERSION: ["8.18.8", "8.19.4", "9.1.4", "9.2.0"]
68+
BWC_VERSION: ["8.18.8", "8.19.4", "9.0.8", "9.1.4", "9.2.0"]
6969
agents:
7070
provider: gcp
7171
image: family/elasticsearch-ubuntu-2404

.buildkite/pipelines/periodic-java-ea.template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
env:
2-
JAVA_EA_VERSION: "${JAVA_EA_VERSION:-25-pre}"
2+
JAVA_EA_VERSION: "${JAVA_EA_VERSION:-26-pre}"
33

44
steps:
55
- group: bwc

.buildkite/pipelines/periodic-java-ea.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is auto-generated. See .buildkite/pipelines/periodic-java-ea.template.yml
22
env:
3-
JAVA_EA_VERSION: "${JAVA_EA_VERSION:-25-pre}"
3+
JAVA_EA_VERSION: "${JAVA_EA_VERSION:-26-pre}"
44

55
steps:
66
- group: bwc
@@ -385,8 +385,8 @@ steps:
385385
- signal_reason: agent_stop
386386
limit: 3
387387

388-
- label: 9.0.7 / bwc
389-
command: .ci/scripts/run-gradle.sh -Druntime.java=$$JAVA_EA_VERSION -Dbwc.checkout.align=true v9.0.7#bwcTest
388+
- label: 9.0.8 / bwc
389+
command: .ci/scripts/run-gradle.sh -Druntime.java=$$JAVA_EA_VERSION -Dbwc.checkout.align=true v9.0.8#bwcTest
390390
timeout_in_minutes: 300
391391
agents:
392392
provider: gcp
@@ -395,7 +395,7 @@ steps:
395395
buildDirectory: /dev/shm/bk
396396
preemptible: true
397397
env:
398-
BWC_VERSION: 9.0.7
398+
BWC_VERSION: 9.0.8
399399
retry:
400400
automatic:
401401
- exit_status: "-1"
@@ -519,7 +519,7 @@ steps:
519519
timeout_in_minutes: 300
520520
matrix:
521521
setup:
522-
BWC_VERSION: ["8.18.8", "8.19.4", "9.1.4", "9.2.0"]
522+
BWC_VERSION: ["8.18.8", "8.19.4", "9.0.8", "9.1.4", "9.2.0"]
523523
agents:
524524
provider: gcp
525525
image: family/elasticsearch-ubuntu-2404

.buildkite/pipelines/periodic-packaging.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@ steps:
350350
env:
351351
BWC_VERSION: 8.19.4
352352

353-
- label: "{{matrix.image}} / 9.0.7 / packaging-tests-upgrade"
354-
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v9.0.7
353+
- label: "{{matrix.image}} / 9.0.8 / packaging-tests-upgrade"
354+
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v9.0.8
355355
timeout_in_minutes: 300
356356
matrix:
357357
setup:
@@ -364,7 +364,7 @@ steps:
364364
machineType: custom-16-32768
365365
buildDirectory: /dev/shm/bk
366366
env:
367-
BWC_VERSION: 9.0.7
367+
BWC_VERSION: 9.0.8
368368

369369
- label: "{{matrix.image}} / 9.1.4 / packaging-tests-upgrade"
370370
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v9.1.4

.buildkite/pipelines/periodic.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ steps:
382382
- signal_reason: agent_stop
383383
limit: 3
384384

385-
- label: 9.0.7 / bwc
386-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v9.0.7#bwcTest
385+
- label: 9.0.8 / bwc
386+
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v9.0.8#bwcTest
387387
timeout_in_minutes: 300
388388
agents:
389389
provider: gcp
@@ -392,7 +392,7 @@ steps:
392392
buildDirectory: /dev/shm/bk
393393
preemptible: true
394394
env:
395-
BWC_VERSION: 9.0.7
395+
BWC_VERSION: 9.0.8
396396
retry:
397397
automatic:
398398
- exit_status: "-1"
@@ -506,7 +506,7 @@ steps:
506506
setup:
507507
ES_RUNTIME_JAVA:
508508
- openjdk21
509-
BWC_VERSION: ["8.18.8", "8.19.4", "9.1.4", "9.2.0"]
509+
BWC_VERSION: ["8.18.8", "8.19.4", "9.0.8", "9.1.4", "9.2.0"]
510510
agents:
511511
provider: gcp
512512
image: family/elasticsearch-ubuntu-2404
@@ -550,7 +550,7 @@ steps:
550550
ES_RUNTIME_JAVA:
551551
- openjdk21
552552
- openjdk23
553-
BWC_VERSION: ["8.18.8", "8.19.4", "9.1.4", "9.2.0"]
553+
BWC_VERSION: ["8.18.8", "8.19.4", "9.0.8", "9.1.4", "9.2.0"]
554554
agents:
555555
provider: gcp
556556
image: family/elasticsearch-ubuntu-2404

.buildkite/pull-requests.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"retrigger_label_regex": "v[0-9]+\\.[0-9]+\\.[0-9]+",
3434
"cancel_intermediate_builds": true,
3535
"cancel_intermediate_builds_on_comment": false,
36-
"skip_duplicate_builds": true
36+
"skip_duplicate_builds": true,
37+
"skip_ci_label": "skip-transport-version-generation"
3738
},
3839
{
3940
"enabled": true,

.buildkite/scripts/update-transport-versions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ fi
3131

3232
.ci/scripts/run-gradle.sh generateTransportVersion --backport-branches="${backport_branches}"
3333

34-
if git diff --exit-code; then
35-
echo "No changes found after updating transport versions. Don't need to auto commit."
34+
if git diff --quiet -- "server/src/main/resources/transport/**"; then
35+
echo "No transport version changes found after update. Skipping auto commit."
3636
exit 0
3737
fi
3838

.ci/bwcVersions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ BWC_VERSION:
1919
- "8.17.10"
2020
- "8.18.8"
2121
- "8.19.4"
22-
- "9.0.7"
22+
- "9.0.8"
2323
- "9.1.4"
2424
- "9.2.0"

.ci/snapshotBwcVersions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
BWC_VERSION:
22
- "8.18.8"
33
- "8.19.4"
4+
- "9.0.8"
45
- "9.1.4"
56
- "9.2.0"

build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/transport/AbstractTransportVersionFuncTest.groovy

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,9 @@ class AbstractTransportVersionFuncTest extends AbstractGradleFuncTest {
126126
currentUpperBoundName = '9.2'
127127
}
128128
"""
129-
referableTransportVersion("existing_91", "8012000")
130-
referableTransportVersion("existing_92", "8123000,8012001")
129+
referableAndReferencedTransportVersion("existing_91", "8012000")
130+
referableAndReferencedTransportVersion("older_92", "8122000")
131+
referableAndReferencedTransportVersion("existing_92", "8123000,8012001")
131132
unreferableTransportVersion("initial_9.0.0", "8000000")
132133
unreferableTransportVersion("initial_8.19.7", "7123001")
133134
transportVersionUpperBound("9.2", "existing_92", "8123000")
@@ -140,10 +141,6 @@ class AbstractTransportVersionFuncTest extends AbstractGradleFuncTest {
140141
return null;
141142
}
142143
""")
143-
javaSource("myserver", "org.elasticsearch", "Dummy", "", """
144-
static final TransportVersion existing91 = TransportVersion.fromName("existing_91");
145-
static final TransportVersion existing92 = TransportVersion.fromName("existing_92");
146-
""")
147144

148145
file("myplugin/build.gradle") << """
149146
apply plugin: 'java-library'
@@ -155,7 +152,11 @@ class AbstractTransportVersionFuncTest extends AbstractGradleFuncTest {
155152
"""
156153

157154
setupLocalGitRepo()
158-
execute("git checkout -b main")
155+
String currentBranch = execute("git branch --show-current")
156+
if (currentBranch.strip().equals("main") == false) {
157+
// make sure a main branch exists, some CI doesn't have main set as the default branch
158+
execute("git checkout -b main")
159+
}
159160
execute("git checkout -b test")
160161
}
161162

0 commit comments

Comments
 (0)