Commit graph

2054 commits

Author SHA1 Message Date
elasticsearchmachine
062e8bc7a2 Mute org.elasticsearch.multiproject.test.XpackWithMultipleProjectsClientYamlTestSuiteIT test {yaml=esql/10_basic/basic with documents_found} #127088 2025-04-19 16:32:04 +10:00
elasticsearchmachine
d5332ce2bc Mute org.elasticsearch.packaging.test.DockerTests test026InstallBundledRepositoryPlugins #127081 2025-04-19 09:24:42 +10:00
Brendan Cully
26254e3f42
RepositoryAnalysisFailureIT: disrupt earlier (#127032)
The fix to #126747 was only for one test. This applies
that change to all the tests in this suite that need it.

Fixes #127029
2025-04-18 11:38:49 -07:00
elasticsearchmachine
70d46d675b Mute org.elasticsearch.xpack.esql.qa.single_node.EsqlSpecIT test {rrf.SimpleRrf ASYNC} #127063 2025-04-19 01:28:18 +10:00
elasticsearchmachine
75f8e4a97b Mute org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT test {rerank.Reranker before a limit ASYNC} #127051 2025-04-18 20:14:02 +10:00
elasticsearchmachine
aebb1de41e Mute org.elasticsearch.xpack.test.rest.XPackRestIT test {p0=esql/10_basic/basic with documents_found} #127039 2025-04-18 07:54:52 +10:00
elasticsearchmachine
633539108f Mute org.elasticsearch.repositories.blobstore.testkit.analyze.RepositoryAnalysisFailureIT testFailsOnReadError #127029 2025-04-18 04:04:19 +10:00
Armin Braun
5a3c9e7dc1
Fix AsyncSearchActionIT tests (#127010)
Missed a spot here when moving this to delayed deserialization, we can leak pending batch results here on exceptions.

closes #126994
closes #126995
closes #126975
closes #126999
closes #127001
closes #126974
closes #127008
2025-04-17 19:31:58 +02:00
Luca Cavanna
f274ab7402
Remove empty results before merging (#126770)
We addressed the empty top docs issue with #126385 specifically for scenarios where
empty top docs don't go through the wire. Yet they may be serialized from data node
back to the coord node, in which case they will no longer be equal to Lucene#EMPTY_TOP_DOCS.

This commit expands the existing filtering of empty top docs to include also those that
did go through serialization.

Closes #126742
2025-04-17 17:36:20 +02:00
elasticsearchmachine
a4b1692148 Mute org.elasticsearch.packaging.test.DockerTests test024InstallPluginFromArchiveUsingConfigFile #126936 2025-04-18 01:23:57 +10:00
elasticsearchmachine
cd138b02f2 Mute org.elasticsearch.xpack.search.AsyncSearchActionIT testDeleteCleanupIndex #127008 2025-04-18 00:56:59 +10:00
Niels Bauman
16070a342f
Fix tests in TimeSeriesDataStreamsIT (#126851)
These tests had the potential to fail when subsequent requests would hit
different nodes with different versions of the cluster state.

Only one of these tests failed already, but we fix the other ones
proactively to avoid future failures.

Fixes #126746
2025-04-17 16:35:43 +02:00
elasticsearchmachine
0f0f0ef596 Mute org.elasticsearch.xpack.search.AsyncSearchActionIT testRestartAfterCompletion #126974 2025-04-17 23:52:50 +10:00
elasticsearchmachine
f94b41667e Mute org.elasticsearch.xpack.search.AsyncSearchActionIT testUpdateStoreKeepAlive #127001 2025-04-17 23:51:15 +10:00
elasticsearchmachine
ff07ce8d60 Mute org.elasticsearch.xpack.search.AsyncSearchActionIT testCleanupOnFailure #126999 2025-04-17 23:32:18 +10:00
elasticsearchmachine
721fd140d0 Mute org.elasticsearch.xpack.search.AsyncSearchActionIT testRemoveAsyncIndex #126975 2025-04-17 23:15:19 +10:00
elasticsearchmachine
316ec175d9 Mute org.elasticsearch.xpack.search.AsyncSearchActionIT testMaxResponseSize #126995 2025-04-17 23:12:33 +10:00
elasticsearchmachine
2de225a048 Mute org.elasticsearch.xpack.search.AsyncSearchActionIT testDeleteCancelRunningTask #126994 2025-04-17 23:12:28 +10:00
Nick Tindall
d378185054
Fix GCS tests broken by idempotency token (#126972) 2025-04-17 04:42:32 +02:00
elasticsearchmachine
1c9ff3a728 Mute org.elasticsearch.cli.keystore.AddStringKeyStoreCommandTests testStdinWithMultipleValues #126882 2025-04-17 08:53:07 +10:00
Niels Bauman
5383f0fcdf
Fix PolicyStepsRegistry cache concurrency issue (#126840)
The following order of events was possible:
- An ILM policy update cleared `cachedSteps`
- ILM retrieves the step definition for an index, this populates `cachedSteps` with the outdated policy
- The updated policy is put in `lifecyclePolicyMap`

Any subsequent cache retrievals will see the old step definition.

By clearing `cachedSteps` _after_ we update `lifecyclePolicyMap`, we
ensure eventual consistency between the policy and the cache.

Fixes #118406
2025-04-16 13:58:12 +02:00
elasticsearchmachine
9a9f827e8a Mute org.elasticsearch.xpack.ml.integration.ClassificationHousePricingIT testFeatureImportanceValues #124341 2025-04-16 21:47:52 +10:00
elasticsearchmachine
e701fce695 Mute org.elasticsearch.index.engine.CompletionStatsCacheTests testCompletionStatsCache #126910 2025-04-16 21:06:00 +10:00
elasticsearchmachine
0a842620b9 Mute org.elasticsearch.repositories.gcs.GoogleCloudStorageBlobStoreRepositoryTests testSnapshotWithLargeSegmentFiles #126909 2025-04-16 20:43:58 +10:00
elasticsearchmachine
9d92cce824 Mute org.elasticsearch.repositories.gcs.GoogleCloudStorageBlobStoreRepositoryTests testWriteFileMultipleOfChunkSize #126908 2025-04-16 20:43:49 +10:00
elasticsearchmachine
e28fca26c5 Mute org.elasticsearch.repositories.gcs.GoogleCloudStorageBlobStoreRepositoryTests testWriteReadLarge #126903 2025-04-16 20:04:49 +10:00
elasticsearchmachine
4e14dd128d Mute org.elasticsearch.repositories.gcs.GoogleCloudStorageBlobStoreRepositoryTests testRequestStats #126902 2025-04-16 20:04:40 +10:00
elasticsearchmachine
85cb5f9a23 Mute org.elasticsearch.xpack.test.rest.XPackRestIT test {p0=ml/inference_crud/Test delete given unused trained model} #126881 2025-04-16 08:03:13 +10:00
elasticsearchmachine
d3d40db062 Mute org.elasticsearch.xpack.test.rest.XPackRestIT test {p0=transform/transforms_stats/Test get multiple transform stats where one does not have a task} #126863 2025-04-16 03:55:44 +10:00
Simon Cooper
1f249c74eb
Tweak the delta used for vector scorer tests (#126849)
New panama operations in Lucene 10.2 change the results we get from vector operations slightly
2025-04-15 15:46:23 +01:00
elasticsearchmachine
ac0972bd67 Mute org.elasticsearch.simdvec.VectorScorerFactoryTests testRandomScorerChunkSizeSmall #126847 2025-04-15 23:13:05 +10:00
Ioana Tagirta
050ac273a1
Unmute fixed FORK test (#126706) 2025-04-15 12:57:37 +02:00
Jim Ferenczi
46c3657255
Fix and unmute SemanticInferenceMetadataFieldsRecoveryTests (#126784)
Use the TranslogOperationAsserter to compare the raw operations.

Closes #124383
Closes #124384
Closes #124385
2025-04-15 08:36:20 +02:00
elasticsearchmachine
9584bb880e Mute org.elasticsearch.search.SearchServiceSingleNodeTests testLookUpSearchContext #126813 2025-04-15 15:35:28 +10:00
elasticsearchmachine
378c276109 Mute org.elasticsearch.search.SearchServiceSingleNodeTests testBeforeShardLockDuringShardCreate #126812 2025-04-15 15:35:20 +10:00
elasticsearchmachine
ff42cb6b3e Mute org.elasticsearch.simdvec.VectorScorerFactoryTests testRandomScorerMax #126797 2025-04-15 05:09:09 +10:00
Nik Everett
af686b2606
Reenable test now that this if fixed in 8.x (#126789)
Relates to #126765
2025-04-15 03:43:29 +10:00
Brendan Cully
d02b65308e
S3BlobContainer: Revert broadened exception handler (#126731)
Catching Exception instead of AmazonClientException in copyBlob and
executeMultipart led to failures in S3RepositoryAnalysisRestIT due to
the injected exceptions getting wrapped in IOExceptions that prevented
them from being caught and handled in BlobAnalyzeAction.

Closes #126576
2025-04-14 19:20:11 +02:00
Brendan Cully
2a2491897f
RepositoryAnalysisFailureIT: fix testFailsOnWriteException (#126750)
With the addition of copy coverage in the repository analyzer,
blob count is no longer 1:1 with blob analyzer request count: requests
that create a copy count as two blobs. This can cause
testFailsOnWriteException to sometimes fail, because this test randomly
injects a failure somewhere between the first and blobCounth request,
which may never happen if enough of the requests create copies.

This simple fix is to inject the failure within blobCount/2 requests,
which we will see even if every request generates a copy. An alternative
could be to add a knob to the request to disallow copies and use that
during this test.

Closes #126747
2025-04-14 19:19:34 +02:00
Mary Gouseti
e461717627
Test fix: align timeouts in testDataStreamLifecycleDownsampleRollingRestart (#123769) (#126682)
Recently we changed the implementation of
`testDataStreamLifecycleDownsampleRollingRestart` to use a temporary
state listener. We missed that the listener also had a timeout that was
quite shorter than the `safeGet` timeout we were configuring. In this PR
we align these two timeouts.

Fixes: #123769
2025-04-15 02:53:59 +10:00
Mary Gouseti
58a29396a5
Mute test (#126768) 2025-04-14 12:09:24 +03:00
elasticsearchmachine
411a946b7f Mute org.elasticsearch.xpack.test.rest.XPackRestIT test {p0=transform/transforms_start_stop/Test start/stop/start continuous transform} #126755 2025-04-14 15:42:42 +10:00
elasticsearchmachine
4ed1a000ab Mute org.elasticsearch.repositories.blobstore.testkit.analyze.RepositoryAnalysisFailureIT testFailsOnWriteException #126747 2025-04-13 07:45:29 +10:00
elasticsearchmachine
31b8e36146 Mute org.elasticsearch.xpack.ilm.TimeSeriesDataStreamsIT testShrinkActionInPolicyWithoutHotPhase #126746 2025-04-13 07:31:26 +10:00
Patrick Doyle
4cbc5eb156
Fix test: set up mocks before starting the service (#126719)
* Change testInvalidJSON to set up mocks before starting the service

* Move another mock setup before the service starts
2025-04-11 15:19:53 -07:00
Patrick Doyle
5c5a87aba4
Fix RepositoriesFileSettingsIT to wait for metadataVersion (#126720) 2025-04-11 22:00:27 +02:00
Patrick Doyle
448ca02f85
Unmute FileAccessTreeTests.testDuplicatePrunedPaths (#126717) 2025-04-11 12:13:43 -07:00
Tanguy Leroux
f57be54001
[CI] Fix IndexShardTests.testReentrantEngineReadLockAcquisitionInRefreshListener (#126685)
I suspect the test resets/closes the reference manager
between the refresh and the retrieval of the segment
generation after the refresh.

By executing segmentGenerationAfterRefresh while
holding the engine reset lock we make sure there
are no concurrent engine resets meanwhile.

In the future, we should also ensure that
IndexShard.refresh() uses withEngine.

Closes #126628
2025-04-11 18:45:18 +02:00
Niels Bauman
507f40cd72
Fix ILMDownsampleDisruptionIT.testILMDownsampleRollingRestart (#126692)
Wait for the index to exist on the master node to ensure all nodes have
the latest cluster state.

Fixes #126495
2025-04-11 17:45:45 +02:00
Niels Bauman
ac7eccc1e4
Unmute #126348 (#126690)
This was already fixed by #126501.

Fixes #126348
2025-04-12 01:27:09 +10:00