diff --git a/muted-tests.yml b/muted-tests.yml index b591971ae9b6c..afa6033baa4be 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -66,9 +66,6 @@ tests: - class: org.elasticsearch.xpack.test.rest.XPackRestIT method: test {p0=transform/transforms_start_stop/Test start already started transform} issue: https://github.com/elastic/elasticsearch/issues/98802 -- class: org.elasticsearch.action.search.SearchPhaseControllerTests - method: testProgressListener - issue: https://github.com/elastic/elasticsearch/issues/116149 - class: org.elasticsearch.xpack.deprecation.DeprecationHttpIT method: testDeprecatedSettingsReturnWarnings issue: https://github.com/elastic/elasticsearch/issues/108628 @@ -95,9 +92,6 @@ tests: - class: org.elasticsearch.discovery.ClusterDisruptionIT method: testAckedIndexing issue: https://github.com/elastic/elasticsearch/issues/117024 -- class: org.elasticsearch.xpack.test.rest.XPackRestIT - method: test {p0=snapshot/10_basic/Create a source only snapshot and then restore it} - issue: https://github.com/elastic/elasticsearch/issues/117295 - class: org.elasticsearch.xpack.inference.InferenceRestIT method: test {p0=inference/40_semantic_text_query/Query a field that uses the default ELSER 2 endpoint} issue: https://github.com/elastic/elasticsearch/issues/117027 @@ -174,8 +168,6 @@ tests: - class: org.elasticsearch.xpack.test.rest.XPackRestIT method: test {p0=ml/3rd_party_deployment/Test start deployment fails while model download in progress} issue: https://github.com/elastic/elasticsearch/issues/120810 -- class: org.elasticsearch.indices.mapping.UpdateMappingIntegrationIT - issue: https://github.com/elastic/elasticsearch/issues/116126 - class: org.elasticsearch.xpack.security.authc.service.ServiceAccountIT method: testAuthenticateShouldNotFallThroughInCaseOfFailure issue: https://github.com/elastic/elasticsearch/issues/120902 @@ -203,64 +195,206 @@ tests: - class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT method: test {p0=nodes.stats/11_indices_metrics/indices mappings exact count test for indices level} issue: https://github.com/elastic/elasticsearch/issues/120950 -- class: org.elasticsearch.xpack.shutdown.AllocationFailuresResetOnShutdownIT - method: testResetAllocationFailuresOnNodeShutdown - issue: https://github.com/elastic/elasticsearch/issues/121129 - class: org.elasticsearch.xpack.security.FileSettingsRoleMappingsRestartIT method: testFileSettingsReprocessedOnRestartWithoutVersionChange issue: https://github.com/elastic/elasticsearch/issues/120964 - class: org.elasticsearch.xpack.ml.integration.PyTorchModelIT issue: https://github.com/elastic/elasticsearch/issues/121165 -- class: org.elasticsearch.xpack.test.rest.XPackRestIT - method: test {p0=transform/*} - issue: https://github.com/elastic/elasticsearch/issues/120816 -- class: org.elasticsearch.xpack.test.rest.XPackRestIT - method: test {p0=ml/*} - issue: https://github.com/elastic/elasticsearch/issues/120816 - class: org.elasticsearch.xpack.security.authc.ldap.ActiveDirectorySessionFactoryTests issue: https://github.com/elastic/elasticsearch/issues/121285 - class: org.elasticsearch.env.NodeEnvironmentTests method: testGetBestDowngradeVersion issue: https://github.com/elastic/elasticsearch/issues/121316 -- class: org.elasticsearch.index.engine.ShuffleForcedMergePolicyTests - method: testDiagnostics - issue: https://github.com/elastic/elasticsearch/issues/121336 -- class: org.elasticsearch.search.CrossClusterSearchUnavailableClusterIT - method: testSearchSkipUnavailable - issue: https://github.com/elastic/elasticsearch/issues/121497 -- class: org.elasticsearch.compute.operator.exchange.ExchangeServiceTests - method: testExchangeSourceContinueOnFailure - issue: https://github.com/elastic/elasticsearch/issues/122408 -- class: org.elasticsearch.repositories.blobstore.testkit.analyze.MinioRepositoryAnalysisRestIT - method: testRepositoryAnalysis - issue: https://github.com/elastic/elasticsearch/issues/122670 +- class: org.elasticsearch.test.rest.yaml.CcsCommonYamlTestSuiteIT + issue: https://github.com/elastic/elasticsearch/issues/121407 - class: org.elasticsearch.analysis.common.CommonAnalysisClientYamlTestSuiteIT method: test {yaml=analysis-common/40_token_filters/stemmer_override file access} issue: https://github.com/elastic/elasticsearch/issues/121625 +- class: org.elasticsearch.xpack.application.CohereServiceUpgradeIT + issue: https://github.com/elastic/elasticsearch/issues/121537 +- class: org.elasticsearch.test.rest.ClientYamlTestSuiteIT + method: test {yaml=snapshot.delete/10_basic/Delete a snapshot asynchronously} + issue: https://github.com/elastic/elasticsearch/issues/122102 +- class: org.elasticsearch.smoketest.SmokeTestMonitoringWithSecurityIT + method: testHTTPExporterWithSSL + issue: https://github.com/elastic/elasticsearch/issues/122220 +- class: org.elasticsearch.blocks.SimpleBlocksIT + method: testConcurrentAddBlock + issue: https://github.com/elastic/elasticsearch/issues/122324 +- class: org.elasticsearch.xpack.esql.heap_attack.HeapAttackIT + method: testEnrichExplosionManyMatches + issue: https://github.com/elastic/elasticsearch/issues/122913 +- class: org.elasticsearch.xpack.ilm.TimeSeriesLifecycleActionsIT + method: testHistoryIsWrittenWithFailure + issue: https://github.com/elastic/elasticsearch/issues/123203 - class: org.elasticsearch.packaging.test.DockerTests method: test151MachineDependentHeapWithSizeOverride issue: https://github.com/elastic/elasticsearch/issues/123437 -- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT - method: test {yaml=reference/cat/nodes/line_361} - issue: https://github.com/elastic/elasticsearch/issues/124103 +- class: org.elasticsearch.action.admin.cluster.node.tasks.CancellableTasksIT + method: testChildrenTasksCancelledOnTimeout + issue: https://github.com/elastic/elasticsearch/issues/123568 +- class: org.elasticsearch.xpack.searchablesnapshots.FrozenSearchableSnapshotsIntegTests + method: testCreateAndRestorePartialSearchableSnapshot + issue: https://github.com/elastic/elasticsearch/issues/123773 +- class: org.elasticsearch.xpack.test.rest.XPackRestIT + method: test {p0=snapshot/10_basic/Create a source only snapshot and then restore it} + issue: https://github.com/elastic/elasticsearch/issues/122755 +- class: org.elasticsearch.smoketest.MlWithSecurityIT + method: test {yaml=ml/data_frame_analytics_crud/Test get stats given multiple analytics} + issue: https://github.com/elastic/elasticsearch/issues/123034 +- class: org.elasticsearch.indices.recovery.IndexRecoveryIT + method: testSourceThrottling + issue: https://github.com/elastic/elasticsearch/issues/123680 +- class: org.elasticsearch.xpack.esql.heap_attack.HeapAttackIT + method: testLookupExplosionNoFetch + issue: https://github.com/elastic/elasticsearch/issues/123432 +- class: org.elasticsearch.entitlement.runtime.policy.FileAccessTreeTests + method: testDuplicatePrunedPaths + issue: https://github.com/elastic/elasticsearch/issues/124006 +- class: org.elasticsearch.smoketest.MlWithSecurityIT + method: test {yaml=ml/3rd_party_deployment/Test start deployment fails while model download in progress} + issue: https://github.com/elastic/elasticsearch/issues/120814 +- class: org.elasticsearch.smoketest.MlWithSecurityIT + method: test {yaml=ml/start_data_frame_analytics/Test start classification analysis when the dependent variable is missing} + issue: https://github.com/elastic/elasticsearch/issues/124168 +- class: org.elasticsearch.smoketest.MlWithSecurityIT + method: test {yaml=ml/3rd_party_deployment/Test start and stop multiple deployments} + issue: https://github.com/elastic/elasticsearch/issues/124315 +- class: org.elasticsearch.xpack.inference.mapper.SemanticInferenceMetadataFieldsRecoveryTests + method: testSnapshotRecovery {p0=false p1=true} + issue: https://github.com/elastic/elasticsearch/issues/124383 +- class: org.elasticsearch.xpack.inference.mapper.SemanticInferenceMetadataFieldsRecoveryTests + method: testSnapshotRecovery {p0=true p1=false} + issue: https://github.com/elastic/elasticsearch/issues/124384 +- class: org.elasticsearch.xpack.inference.mapper.SemanticInferenceMetadataFieldsRecoveryTests + method: testSnapshotRecovery {p0=false p1=false} + issue: https://github.com/elastic/elasticsearch/issues/124385 +- class: org.elasticsearch.env.NodeEnvironmentTests + method: testIndexCompatibilityChecks + issue: https://github.com/elastic/elasticsearch/issues/124388 +- class: org.elasticsearch.xpack.restart.FullClusterRestartIT + method: testWatcherWithApiKey {cluster=UPGRADED} + issue: https://github.com/elastic/elasticsearch/issues/124159 +- class: org.elasticsearch.multiproject.test.CoreWithMultipleProjectsClientYamlTestSuiteIT + method: test {yaml=data_stream/190_failure_store_redirection/Redirect ingest failure in data stream to failure store} + issue: https://github.com/elastic/elasticsearch/issues/124518 +- class: org.elasticsearch.xpack.esql.expression.function.aggregate.ValuesTests + method: "testGroupingAggregate {TestCase=<s> #2}" + issue: https://github.com/elastic/elasticsearch/issues/124571 +- class: org.elasticsearch.multiproject.test.CoreWithMultipleProjectsClientYamlTestSuiteIT + method: test {yaml=data_stream/150_tsdb/created the data stream} + issue: https://github.com/elastic/elasticsearch/issues/124575 - class: org.elasticsearch.xpack.restart.MLModelDeploymentFullClusterRestartIT method: testDeploymentSurvivesRestart {cluster=OLD} issue: https://github.com/elastic/elasticsearch/issues/124160 -- class: org.elasticsearch.xpack.ilm.history.ILMHistoryItemTests - method: testTruncateLongError - issue: https://github.com/elastic/elasticsearch/issues/125216 +- class: org.elasticsearch.lucene.spatial.CartesianCentroidCalculatorTests + method: testAddDifferentDimensionalType + issue: https://github.com/elastic/elasticsearch/issues/124609 +- class: org.elasticsearch.multiproject.test.CoreWithMultipleProjectsClientYamlTestSuiteIT + method: test {yaml=search.vectors/41_knn_search_byte_quantized/kNN search plus query} + issue: https://github.com/elastic/elasticsearch/issues/124687 +- class: org.elasticsearch.packaging.test.BootstrapCheckTests + method: test20RunWithBootstrapChecks + issue: https://github.com/elastic/elasticsearch/issues/124940 +- class: org.elasticsearch.xpack.esql.action.CrossClusterAsyncQueryStopIT + method: testStopQueryLocal + issue: https://github.com/elastic/elasticsearch/issues/121672 +- class: org.elasticsearch.packaging.test.BootstrapCheckTests + method: test10Install + issue: https://github.com/elastic/elasticsearch/issues/124957 +- class: org.elasticsearch.packaging.test.DockerTests + method: test011SecurityEnabledStatus + issue: https://github.com/elastic/elasticsearch/issues/124990 +- class: org.elasticsearch.packaging.test.DockerTests + method: test012SecurityCanBeDisabled + issue: https://github.com/elastic/elasticsearch/issues/116636 +- class: org.elasticsearch.index.engine.ThreadPoolMergeSchedulerTests + method: testSchedulerCloseWaitsForRunningMerge + issue: https://github.com/elastic/elasticsearch/issues/125236 - class: org.elasticsearch.index.shard.StoreRecoveryTests method: testAddIndices issue: https://github.com/elastic/elasticsearch/issues/124104 +- class: org.elasticsearch.xpack.esql.parser.StatementParserTests + method: testInvalidJoinPatterns + issue: https://github.com/elastic/elasticsearch/issues/125536 +- class: org.elasticsearch.smoketest.MlWithSecurityIT + method: test {yaml=ml/data_frame_analytics_crud/Test get stats on newly created config} + issue: https://github.com/elastic/elasticsearch/issues/121726 - class: org.elasticsearch.smoketest.MlWithSecurityIT - method: test {yaml=ml/trained_model_cat_apis/Test cat trained models} - issue: https://github.com/elastic/elasticsearch/issues/125750 -- class: org.elasticsearch.xpack.migrate.action.ReindexDataStreamTransportActionIT - method: testAlreadyUpToDateDataStream - issue: https://github.com/elastic/elasticsearch/issues/125727 -- class: org.elasticsearch.ingest.geoip.EnterpriseGeoIpDownloaderIT - method: testEnterpriseDownloaderTask - issue: https://github.com/elastic/elasticsearch/issues/126124 + method: test {yaml=ml/data_frame_analytics_cat_apis/Test cat data frame analytics all jobs with header and column selection} + issue: https://github.com/elastic/elasticsearch/issues/125641 +- class: org.elasticsearch.smoketest.MlWithSecurityIT + method: test {yaml=ml/data_frame_analytics_cat_apis/Test cat data frame analytics single job with header} + issue: https://github.com/elastic/elasticsearch/issues/125642 +- class: org.elasticsearch.packaging.test.DockerTests + method: test010Install + issue: https://github.com/elastic/elasticsearch/issues/125680 +- class: org.elasticsearch.xpack.ilm.actions.SearchableSnapshotActionIT + method: testSearchableSnapshotsInHotPhasePinnedToHotNodes + issue: https://github.com/elastic/elasticsearch/issues/125683 +- class: org.elasticsearch.xpack.esql.spatial.SpatialExtentAggregationNoLicenseIT + method: testStExtentAggregationWithPoints + issue: https://github.com/elastic/elasticsearch/issues/125735 +- class: org.elasticsearch.xpack.test.rest.XPackRestIT + method: test {p0=transform/transforms_start_stop/Test schedule_now on an already started transform} + issue: https://github.com/elastic/elasticsearch/issues/120720 +- class: org.elasticsearch.index.engine.ThreadPoolMergeExecutorServiceTests + method: testIORateIsAdjustedForRunningMergeTasks + issue: https://github.com/elastic/elasticsearch/issues/125842 +- class: org.elasticsearch.xpack.test.rest.XPackRestIT + method: test {p0=transform/transforms_start_stop/Verify start transform creates destination index with appropriate mapping} + issue: https://github.com/elastic/elasticsearch/issues/125854 +- class: org.elasticsearch.xpack.core.common.notifications.AbstractAuditorTests + method: testRecreateTemplateWhenDeleted + issue: https://github.com/elastic/elasticsearch/issues/123232 +- class: org.elasticsearch.xpack.ilm.TimeSeriesDataStreamsIT + method: testSearchableSnapshotAction + issue: https://github.com/elastic/elasticsearch/issues/125867 +- class: org.elasticsearch.xpack.downsample.DataStreamLifecycleDownsampleDisruptionIT + method: testDataStreamLifecycleDownsampleRollingRestart + issue: https://github.com/elastic/elasticsearch/issues/123769 +- class: org.elasticsearch.xpack.test.rest.XPackRestIT + method: test {p0=ml/start_data_frame_analytics/Test start given dest index is not empty} + issue: https://github.com/elastic/elasticsearch/issues/125909 +- class: org.elasticsearch.indices.stats.IndexStatsIT + method: testThrottleStats + issue: https://github.com/elastic/elasticsearch/issues/125910 +- class: org.elasticsearch.xpack.esql.action.ManyShardsIT + method: testCancelUnnecessaryRequests + issue: https://github.com/elastic/elasticsearch/issues/125947 +- class: org.elasticsearch.xpack.ilm.actions.SearchableSnapshotActionIT + method: testResumingSearchableSnapshotFromPartialToFull + issue: https://github.com/elastic/elasticsearch/issues/125789 +- class: org.elasticsearch.xpack.test.rest.XPackRestIT + method: test {p0=transform/transforms_stats/Test get transform stats with timeout} + issue: https://github.com/elastic/elasticsearch/issues/125975 +- class: org.elasticsearch.search.SearchServiceSingleNodeTests + method: testSlicingBehaviourForParallelCollection + issue: https://github.com/elastic/elasticsearch/issues/125899 +- class: org.elasticsearch.packaging.test.DockerTests + method: test021InstallPlugin + issue: https://github.com/elastic/elasticsearch/issues/116147 +- class: org.elasticsearch.action.RejectionActionIT + method: testSimulatedSearchRejectionLoad + issue: https://github.com/elastic/elasticsearch/issues/125901 +- class: org.elasticsearch.search.CCSDuelIT + method: testTerminateAfter + issue: https://github.com/elastic/elasticsearch/issues/126085 +- class: org.elasticsearch.index.mapper.blockloader.KeywordFieldBlockLoaderTests + method: testBlockLoaderForFieldInObject {preference=Params[syntheticSource=false, preference=DOC_VALUES]} + issue: https://github.com/elastic/elasticsearch/issues/126088 +- class: org.elasticsearch.search.sort.GeoDistanceIT + method: testDistanceSortingWithUnmappedField + issue: https://github.com/elastic/elasticsearch/issues/126118 +- class: org.elasticsearch.index.mapper.blockloader.KeywordFieldBlockLoaderTests + method: testBlockLoader {preference=Params[syntheticSource=false, preference=DOC_VALUES]} + issue: https://github.com/elastic/elasticsearch/issues/126121 +- class: org.elasticsearch.search.basic.SearchWithRandomDisconnectsIT + method: testSearchWithRandomDisconnects + issue: https://github.com/elastic/elasticsearch/issues/122707 +- class: org.elasticsearch.xpack.security.authz.RBACEngineTests + method: testBuildUserPrivilegeResponseCombinesIndexPrivileges + issue: https://github.com/elastic/elasticsearch/issues/126130 # Examples: # diff --git a/x-pack/plugin/migrate/src/internalClusterTest/java/org/elasticsearch/xpack/migrate/action/ReindexDataStreamTransportActionIT.java b/x-pack/plugin/migrate/src/internalClusterTest/java/org/elasticsearch/xpack/migrate/action/ReindexDataStreamTransportActionIT.java index b6ff76095ac16..156e3da41fc69 100644 --- a/x-pack/plugin/migrate/src/internalClusterTest/java/org/elasticsearch/xpack/migrate/action/ReindexDataStreamTransportActionIT.java +++ b/x-pack/plugin/migrate/src/internalClusterTest/java/org/elasticsearch/xpack/migrate/action/ReindexDataStreamTransportActionIT.java @@ -69,10 +69,7 @@ public void testAlreadyUpToDateDataStream() throws Exception { dataStreamName ); final int backingIndexCount = createDataStream(dataStreamName); - AcknowledgedResponse response = client().execute( - new ActionType(ReindexDataStreamAction.NAME), - reindexDataStreamRequest - ).actionGet(); + client().execute(new ActionType(ReindexDataStreamAction.NAME), reindexDataStreamRequest).actionGet(); String persistentTaskId = "reindex-data-stream-" + dataStreamName; AtomicReference runningTask = new AtomicReference<>(); for (TransportService transportService : internalCluster().getInstances(TransportService.class)) { @@ -91,12 +88,14 @@ public void testAlreadyUpToDateDataStream() throws Exception { ); } ReindexDataStreamTask task = runningTask.get(); - assertNotNull(task); - assertThat(task.getStatus().complete(), equalTo(true)); - assertNull(task.getStatus().exception()); - assertThat(task.getStatus().pending(), equalTo(0)); - assertThat(task.getStatus().inProgress(), equalTo(Set.of())); - assertThat(task.getStatus().errors().size(), equalTo(0)); + assertBusy(() -> { + assertNotNull(task); + assertThat(task.getStatus().complete(), equalTo(true)); + assertNull(task.getStatus().exception()); + assertThat(task.getStatus().pending(), equalTo(0)); + assertThat(task.getStatus().inProgress(), equalTo(Set.of())); + assertThat(task.getStatus().errors().size(), equalTo(0)); + }); assertBusy(() -> { GetMigrationReindexStatusAction.Response statusResponse = client().execute(