Commit graph

80771 commits

Author SHA1 Message Date
Mark Vieira
289a8239c4
Allow overriding of plugin metadata files in integration tests (#120245) (#120298) 2025-01-17 04:16:57 +11:00
Jan Kuipers
4849cee246
backport datafeeds test fixes (#120289) (#120303)
* Fix(?) and unmute DatafeedJobsRestIT. (#119839)

* Fix(?) and unmute DatafeedJobsRestIT.

* [CI] Auto commit changes from spotless

---------



* Datafeed jobs it wait for task cancel (#120177)

* Fix task cancellation in DatafeedJobsIT.

* fix

* unmute DatafeedJobsIT

* unmute

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
2025-01-17 04:13:04 +11:00
Mark Vieira
e45ad2555f
Bump versions after 7.17.27 release 2025-01-16 08:14:49 -08:00
elasticsearchmachine
12cb945c6f Mute org.elasticsearch.gradle.internal.InternalDistributionBwcSetupPluginFuncTest bwc expanded distribution folder can be resolved as bwc project artifact #119869 2025-01-17 02:09:45 +11:00
elasticsearchmachine
223391c6ea Mute org.elasticsearch.gradle.internal.InternalDistributionBwcSetupPluginFuncTest supports linux aarch distributions #119868 2025-01-17 02:09:39 +11:00
elasticsearchmachine
4c7ae04c79 Mute org.elasticsearch.gradle.internal.InternalDistributionBwcSetupPluginFuncTest builds distribution from branches via archives extractedAssemble [bwcDistVersion: 8.1.3, bwcProject: bugfix2, expectedAssembleTaskName: extractedAssemble, #3] #119261 2025-01-17 02:09:33 +11:00
elasticsearchmachine
d147b9a994 Mute org.elasticsearch.gradle.internal.InternalDistributionBwcSetupPluginFuncTest supports darwin aarch distributions #119947 2025-01-17 02:09:26 +11:00
elasticsearchmachine
2a43baca11 Mute org.elasticsearch.xpack.ml.integration.InferenceIngestInputConfigIT testIngestWithInputFields #120283 2025-01-17 01:13:38 +11:00
elasticsearchmachine
5cd7606ba3 Mute org.elasticsearch.xpack.ml.integration.InferenceIngestInputConfigIT testIngestWithMultipleInputFields #120282 2025-01-17 01:13:22 +11:00
Pat Whelan
db506c30c4
[ML] Update docs to say PUT instead of POST (#120215) (#120229) 2025-01-16 06:19:18 +11:00
Liam Thompson
df303d2b90
[DOCS] More targeted link for ESQL in CCS overview (#120125) (#120183) 2025-01-15 20:58:14 +11:00
Ignacio Vera
0710a9dcd9
Fix potential file leak in ES816BinaryQuantizedVectorsWriter (#120014) (#120091)
We are creating tmp files that might not get closed if an exception happens just after it. This commit makes sure all
errors are handle properly and files are getting closed and deleted.
# Conflicts:
#	muted-tests.yml
2025-01-14 20:00:42 +11:00
Mike Pellegrini
7141ff1866
[8.16] Update Text Similarity Reranker to Properly Handle Aliases (#120062) (#120077)
* Update Text Similarity Reranker to Properly Handle Aliases (#120062)

(cherry picked from commit 264d1c29d4)

# Conflicts:
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/InferenceFeatures.java

* Fix compilation error
2025-01-14 07:03:09 +11:00
elasticsearchmachine
c6141dd49f
Update docs for v8.16.3 release (#120011) 2025-01-13 11:00:15 +01:00
Carlos Delgado
4705bde926
ESQL - Update QSTR docs (#120026) (#120028) 2025-01-13 20:09:13 +11:00
Zach Brisson
43b7524a04
Include enrich.cache_size breaking change in 8.16 doc (#118161)
This commit adds an "Ingest changes" to the breaking changes section to outline this new behavior.
2025-01-13 01:15:21 +00:00
Mark Vieira
c58409013c
Surface failures when cloning test repo in gradle functional tests (#120005) (#120009) 2025-01-11 11:46:19 +11:00
Liam Thompson
304d45d85c
[DOCS] Improve/fix documentation on stored scripts (#119921) (#119972)
* Improve/fix documentation on stored scripts

* Update docs/reference/scripting/using.asciidoc

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>

* Update docs/reference/scripting/using.asciidoc

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>

* Update docs/reference/transform/painless-examples.asciidoc

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>

---------

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
(cherry picked from commit 1e608dc223)

Co-authored-by: Valentin Crettaz <valentin.crettaz@consulthys.com>
2025-01-11 04:17:50 +11:00
Liam Thompson
213f7a6604
Update Sharepoint Online connector documentation (#119933) (#119958)
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
(cherry picked from commit f2d069e2bf)

Co-authored-by: Artem Shelkovnikov <lavatroublebubble@gmail.com>
2025-01-11 02:31:33 +11:00
Pooya Salehi
eb6c6fdb60
Issue S3 web identity token refresh call with sufficient permissions (#119748) (#119929)
Closes #119747
2025-01-10 21:48:10 +11:00
Mark Vieira
2eb78bceb8
Include full stacktrace in gradle functional test failures (#119900) (#119905) 2025-01-10 10:03:47 +11:00
Michael Peterson
87211f249c
Resolve/cluster should mark remotes as not connected when a security exception is thrown (#119793) (#119866)
Fixes two bugs in _resolve/cluster.

First, the code that detects older clusters versions and does a fallback to the _resolve/index
endpoint was using an outdated string match for error detection. That has been adjusted.

Second, upon security exceptions, the _resolve/cluster endpoint was marking the clusters as connected: true,
under the assumption that all security exceptions related to cross cluster calls and remote index access were
coming from the remote cluster, but that is not always the case. Some cross-cluster security violations can
be detected on the local querying cluster after issuing the remoteClient.execute call but before the transport
layer actually sends the request remotely. So we now mark the connected status as false for all ElasticsearchSecurityException cases. End user docs have been updated with this information.
2025-01-10 01:57:36 +11:00
Felix Barnsteiner
7324f31e01
Add missing traces ilm policy for OTel traces data streams (#119449) (#119825) 2025-01-09 18:55:23 +11:00
Niels Bauman
0522df05c4
Fix ILMDownsampleDisruptionIT.testILMDownsampleRollingRestart (#119196) (#119815)
This removes a redundant thread creation when triggering a rolling
restart as the method is already async and drops the check for cluster
health as that might hit a node that's being shut down (the master node
in particular).
2025-01-09 14:33:29 +11:00
Mark Vieira
d316013670
Provide better error message when attempting to run incompatible tests (#119699) (#119768) 2025-01-09 03:36:10 +11:00
Jonathan Buttner
e7ba9f45d0
[ML] Fix loss of context in the inference API for streaming APIs (#118999) (#119223)
* Adding context preserving fix

* Update docs/changelog/118999.yaml

* Update docs/changelog/118999.yaml

* Using a setonce and adding a test

* Updating the changelog

(cherry picked from commit 7ba3cb9d0d)

# Conflicts:
#	x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/InferenceBaseRestTest.java
#	x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/InferenceCrudIT.java
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/InferencePlugin.java
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/rest/RestUnifiedCompletionInferenceAction.java
#	x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/rest/RestUnifiedCompletionInferenceActionTests.java
2025-01-07 14:25:49 -05:00
Rene Groeschke
5db05ea87c
[Gradle] Fix :docs:yamlRest test cc compatibility (#119680) (#119686)
- reference a Gradle script object from a Groovy closure during execution phase is not allowed
2025-01-08 04:33:41 +11:00
Nikolaj Volgushev
da8c68c7ea
Merge (#119683) 2025-01-08 04:08:24 +11:00
Jan Kuipers
1dddbd7e4b
Fix spike detection for short spikes at the tail of the data. (#119637) (#119668)
* Fix spike detection for short spikes at the tail of the data.

* Update docs/changelog/119637.yaml
2025-01-08 03:39:01 +11:00
Liam Thompson
e3352ad7f6
Update rejected-requests.asciidoc (#119547) (#119672)
I believe this is a typo, as in our 8.16.1 cluster this field appears to be called `combined_coordinating_and_primary`

Co-authored-by: Ian Lee <IanLee1521@gmail.com>
2025-01-08 02:49:37 +11:00
Carlos Delgado
f4ffe90720
Skips synonym test in mixed cluster bwc tests instead of YAML rest compat (#119044) (#119665)
(cherry picked from commit cc0e53e883)
2025-01-07 16:47:32 +01:00
Jan Kuipers
054308ba17
[8.x] Backport 119578 + 114289 (#119638) (#119645)
* Refactor change point detection (#114289)

* Move change detection code to separate class

* Uniformize ChangeDetector and SkipeAndDipDetector

* Separate ChangeDetectorTests and ChangePointAggregatorTests.

* Public entrypoint for change point detection

* Move p-value computation to ChangeDetector

* Move main entrypoint to a separate file

* Fix change point detection for uncertain non-stationary distributions. (#119578)

* Fix change point detection for uncertain non-stationary distributions.

* Replace -1 by ChangeType.NO_CHANGE_POINT
2025-01-08 01:55:54 +11:00
Liam Thompson
c8b5b9a10d
[DOCS] RAG overview (#119590) (#119649) 2025-01-08 01:44:42 +11:00
Liam Thompson
e3ea188adb
[8.16] [DOCS] Add full-text search overview (#119462) (#119605)
* [DOCS] Add full-text search overview (#119462)

* Fix info per 8.16
2025-01-07 21:47:40 +11:00
Rene Groeschke
a2d5aa4bc5
[Gradle] Fix deprecation warning in release tests after 8.12 update (#119608) (#119626) 2025-01-07 20:05:58 +11:00
Rene Groeschke
d878f6bbfc
[Gradle] Fix deprecation warning in branchConsistency task (#119587) (#119597)
The groovy syntax we use in branchConsistency task was deprecated in
gradle 8.12
2025-01-07 19:10:50 +11:00
Mark Vieira
dcf2b010f2
Use unsecure entropy source in docker packaging tests (#119598) (#119611) 2025-01-06 13:42:53 -08:00
Mark Vieira
0009de3575
Upgrade Bouncy Castle FIPS dependencies (#112989) (#119614)
This PR updates `bc-fips` and `bctls-fips` dependencies to the latest
minor versions.

(cherry picked from commit 6ea3e01958)

Co-authored-by: Slobodan Adamović <slobodanadamovic@users.noreply.github.com>
2025-01-07 08:03:17 +11:00
Ignacio Vera
ff58e0cb51
Construct list manually in AggregatorsReducer#get (#119565) (#119568) 2025-01-06 00:04:44 +11:00
Mark Vieira
5386acee8f
Fix vcs revision label in docker images (#119531) (#119540) 2025-01-04 06:08:21 +11:00
Pawan Kartik
347527a1c1
fix: do not let _resolve/cluster hang if remote is unresponsive (#119516) (#119526)
* fix: do not let `_resolve/cluster` hang if remote is unresponsive

Previously, `_resolve/cluster` would wait for a response from a remote
as part of the connection strategy. If the remote were to be
unresponsive, this API would wait until `netty` would terminate the
connection with a handshake exception. The threshold for terminating the
connection is `10s`. This means that the API would wait for `10s` before
determining that the remote is unresponsive. This strategy is now
replaced with a fail fast where a response is sent back to the user
immediately rather than waiting for a connection termination.

* Update docs/changelog/119516.yaml
2025-01-04 04:36:24 +11:00
elasticsearchmachine
88b949aa54 Mute org.elasticsearch.xpack.apmdata.APMYamlTestSuiteIT test {yaml=/10_apm/Test template reinstallation} #116445 2025-01-04 04:33:52 +11:00
Rene Groeschke
433661eb56
[Gradle] Make DistroTestPlugin configuration cache compatible (#119497) (#119523) 2025-01-04 04:08:16 +11:00
Rene Groeschke
95a478846a
[Gradle] Make CopyCheckStyleConfTask usage cc compatible in serverless (#119249) (#119493)
This ensures we can use gradle configuration cache with elasticsearch serverless build

(cherry picked from commit 1d5706edfd)

# Conflicts:
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/CheckstylePrecommitPlugin.java
2025-01-03 16:18:26 +01:00
Rene Groeschke
3c025d78a6
[Build] Update krb5kdc test fixture base image and krb5 library (#119403) (#119490)
(cherry picked from commit 957064b279)

# Conflicts:
#	muted-tests.yml
2025-01-03 16:18:08 +01:00
elasticsearchmachine
b681d4220d Mute org.elasticsearch.gradle.LoggedExecFuncTest failed tasks output logged to console when spooling true #119509 2025-01-04 01:02:59 +11:00
Edoardo Tenani
5542d7c1fe
[DOCS] update recommended template priority for override to 500 (#119450) (#119498) 2025-01-03 21:37:54 +11:00
Mark Vieira
8573b3b2d2
Print thread dump when ES fails to start during Docker packaging tests (#119477) (#119483)
(cherry picked from commit 577d102740)
2025-01-03 10:01:10 +11:00
Keith Massey
bea8da1c97
Fixing GetDatabaseConfigurationAction response serialization (#119233) (#119471)
Co-authored-by: Joe Gallo <joe.gallo@elastic.co>
2025-01-03 06:07:35 +11:00
elasticsearchmachine
bfda619bb7 Mute org.elasticsearch.ingest.common.DateProcessorTests testJavaPatternDefaultYear #119391 2025-01-01 04:23:16 +11:00