From eb9eeae5ed36fe6e598d8176cf35e480261dd9d9 Mon Sep 17 00:00:00 2001 From: David Turner Date: Thu, 2 Feb 2023 12:03:51 +0000 Subject: [PATCH] More investigation into 93271 (#93454) We still don't properly understand why this test is failing, and it doesn't reproduce locally, so this commit adds a little extra logging to capture extra detail from a failure in CI. --- qa/rolling-upgrade/build.gradle | 3 +++ .../org/elasticsearch/upgrades/SnapshotBasedRecoveryIT.java | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/qa/rolling-upgrade/build.gradle b/qa/rolling-upgrade/build.gradle index 6aae99b863afb..d3078dd8c9381 100644 --- a/qa/rolling-upgrade/build.gradle +++ b/qa/rolling-upgrade/build.gradle @@ -39,6 +39,9 @@ BuildParams.bwcVersions.withWireCompatible { bwcVersion, baseName -> setting 'repositories.url.allowed_urls', 'http://snapshot.test*' setting 'path.repo', "${buildDir}/cluster/shared/repo/${baseName}" setting 'xpack.security.enabled', 'false' + setting 'logger.org.elasticsearch.cluster.service.MasterService', 'TRACE' + setting 'logger.org.elasticsearch.cluster.routing.allocation.allocator.DesiredBalanceShardsAllocator', 'TRACE' + setting 'logger.org.elasticsearch.cluster.routing.allocation.decider.AllocationDeciders', 'TRACE' requiresFeature 'es.index_mode_feature_flag_registered', Version.fromString("8.0.0") } diff --git a/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/SnapshotBasedRecoveryIT.java b/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/SnapshotBasedRecoveryIT.java index 992ef3d0d97ae..ba6bf68267048 100644 --- a/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/SnapshotBasedRecoveryIT.java +++ b/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/SnapshotBasedRecoveryIT.java @@ -42,7 +42,6 @@ public class SnapshotBasedRecoveryIT extends AbstractRollingTestCase { - @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/93271") public void testSnapshotBasedRecovery() throws Exception { final String indexName = "snapshot_based_recovery"; final String repositoryName = "snapshot_based_recovery_repo";