diff --git a/build-tools-internal/src/main/groovy/elasticsearch.bwc-test.gradle b/build-tools-internal/src/main/groovy/elasticsearch.bwc-test.gradle index 77e509ea9787..6456da18212c 100644 --- a/build-tools-internal/src/main/groovy/elasticsearch.bwc-test.gradle +++ b/build-tools-internal/src/main/groovy/elasticsearch.bwc-test.gradle @@ -47,7 +47,7 @@ plugins.withType(InternalJavaRestTestPlugin) { tasks.withType(StandaloneRestIntegTestTask).configureEach { testClassesDirs = sourceSets.javaRestTest.output.classesDirs classpath = sourceSets.javaRestTest.runtimeClasspath - usesDefaultDistribution() + usesDefaultDistribution("BWC tests require full distribution for now") } } diff --git a/build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestTestBasePlugin.java b/build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestTestBasePlugin.java index a9f7267cb501..1259d13773ce 100644 --- a/build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestTestBasePlugin.java +++ b/build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestTestBasePlugin.java @@ -198,6 +198,11 @@ public class RestTestBasePlugin implements Plugin { task.getExtensions().getExtraProperties().set("usesDefaultDistribution", new Closure(task) { @Override public Void call(Object... args) { + if (reasonForUsageProvided(args) == false) { + throw new IllegalArgumentException( + "Reason for using `usesDefaultDistribution` required.\nUse usesDefaultDistribution(\"reason why default distro is required here\")." + ); + } task.dependsOn(defaultDistro); registerDistributionInputs(task, defaultDistro); @@ -212,6 +217,10 @@ public class RestTestBasePlugin implements Plugin { return null; } + + private static boolean reasonForUsageProvided(Object[] args) { + return args.length == 1 && args[0] instanceof String && ((String) args[0]).isBlank() == false; + } }); // Add `usesBwcDistribution(version)` extension method to test tasks to indicate they require a BWC distribution diff --git a/modules/data-streams/build.gradle b/modules/data-streams/build.gradle index 6a76dbd55623..262ce63104e2 100644 --- a/modules/data-streams/build.gradle +++ b/modules/data-streams/build.gradle @@ -26,7 +26,7 @@ dependencies { } tasks.withType(StandaloneRestIntegTestTask).configureEach { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } if (buildParams.inFipsJvm){ diff --git a/modules/dot-prefix-validation/build.gradle b/modules/dot-prefix-validation/build.gradle index a4ddd92d982f..657ab3478512 100644 --- a/modules/dot-prefix-validation/build.gradle +++ b/modules/dot-prefix-validation/build.gradle @@ -21,10 +21,10 @@ restResources { } tasks.named('yamlRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } tasks.named('yamlRestCompatTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") systemProperty 'es.queryable_built_in_roles_enabled', 'false' } diff --git a/modules/ingest-common/build.gradle b/modules/ingest-common/build.gradle index 0de79a04681e..e539b5618f8d 100644 --- a/modules/ingest-common/build.gradle +++ b/modules/ingest-common/build.gradle @@ -33,7 +33,7 @@ restResources { } tasks.withType(StandaloneRestIntegTestTask).configureEach { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } testClusters.configureEach { diff --git a/plugins/repository-hdfs/build.gradle b/plugins/repository-hdfs/build.gradle index eac0109bc499..1ea3577e515f 100644 --- a/plugins/repository-hdfs/build.gradle +++ b/plugins/repository-hdfs/build.gradle @@ -111,7 +111,7 @@ tasks.named("dependencyLicenses").configure { } tasks.withType(RestIntegTestTask).configureEach { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") buildParams.withFipsEnabledOnly(it) jvmArgs '--add-exports', 'java.security.jgss/sun.security.krb5=ALL-UNNAMED' } diff --git a/qa/ccs-unavailable-clusters/build.gradle b/qa/ccs-unavailable-clusters/build.gradle index e013ccaf9341..1f8812c7b6ef 100644 --- a/qa/ccs-unavailable-clusters/build.gradle +++ b/qa/ccs-unavailable-clusters/build.gradle @@ -13,5 +13,5 @@ apply plugin: 'elasticsearch.internal-java-rest-test' tasks.withType(StandaloneRestIntegTestTask).configureEach { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/test/external-modules/error-query/build.gradle b/test/external-modules/error-query/build.gradle index 39b1c17706bb..a66242290247 100644 --- a/test/external-modules/error-query/build.gradle +++ b/test/external-modules/error-query/build.gradle @@ -11,7 +11,7 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-test' apply plugin: 'elasticsearch.internal-java-rest-test' tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") it.onlyIf("snapshot build") { buildParams.snapshotBuild } } diff --git a/test/external-modules/esql-heap-attack/build.gradle b/test/external-modules/esql-heap-attack/build.gradle index e760f1bd067c..4d5f9ba60c45 100644 --- a/test/external-modules/esql-heap-attack/build.gradle +++ b/test/external-modules/esql-heap-attack/build.gradle @@ -19,6 +19,6 @@ esplugin { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") it.onlyIf("snapshot build") { buildParams.snapshotBuild } } diff --git a/test/external-modules/jvm-crash/build.gradle b/test/external-modules/jvm-crash/build.gradle index cf67fdc786e2..d92dfde962ed 100644 --- a/test/external-modules/jvm-crash/build.gradle +++ b/test/external-modules/jvm-crash/build.gradle @@ -19,6 +19,6 @@ esplugin { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") it.onlyIf("snapshot build") { buildParams.snapshotBuild } } diff --git a/test/external-modules/multi-project/build.gradle b/test/external-modules/multi-project/build.gradle index 5970226d1ef8..bee5892516bc 100644 --- a/test/external-modules/multi-project/build.gradle +++ b/test/external-modules/multi-project/build.gradle @@ -15,7 +15,7 @@ dependencies { } tasks.withType(StandaloneRestIntegTestTask).configureEach { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } tasks.named("javaRestTest").configure { diff --git a/test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/distribution/LocalDistributionResolver.java b/test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/distribution/LocalDistributionResolver.java index dfc705619954..a853576d9b37 100644 --- a/test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/distribution/LocalDistributionResolver.java +++ b/test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/distribution/LocalDistributionResolver.java @@ -42,7 +42,7 @@ public class LocalDistributionResolver implements DistributionResolver { + "tasks.named('" + taskName + "') {\n" - + " usesDefaultDistribution()\n" + + " usesDefaultDistribution(\"Reason why default distribution is required\")\n" + "}" ); } else { diff --git a/x-pack/plugin/async-search/qa/security/build.gradle b/x-pack/plugin/async-search/qa/security/build.gradle index c44abb47f39b..79a379c48bc6 100644 --- a/x-pack/plugin/async-search/qa/security/build.gradle +++ b/x-pack/plugin/async-search/qa/security/build.gradle @@ -7,5 +7,5 @@ dependencies { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/build.gradle b/x-pack/plugin/build.gradle index 18a9286a8e3c..a8e17dd25292 100644 --- a/x-pack/plugin/build.gradle +++ b/x-pack/plugin/build.gradle @@ -55,7 +55,7 @@ if (buildParams.snapshotBuild == false) { } tasks.withType(StandaloneRestIntegTestTask).configureEach { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } tasks.named("yamlRestTest").configure { diff --git a/x-pack/plugin/downsample/qa/mixed-cluster/build.gradle b/x-pack/plugin/downsample/qa/mixed-cluster/build.gradle index 236c851febd6..2cf2f602cff4 100644 --- a/x-pack/plugin/downsample/qa/mixed-cluster/build.gradle +++ b/x-pack/plugin/downsample/qa/mixed-cluster/build.gradle @@ -31,7 +31,7 @@ def supportedVersion = bwcVersion -> { buildParams.bwcVersions.withWireCompatible(supportedVersion) { bwcVersion, baseName -> def yamlRestTest = tasks.register("v${bwcVersion}#yamlRestTest", StandaloneRestIntegTestTask) { - usesDefaultDistribution() + usesDefaultDistribution("BWC tests require full distribution for now") usesBwcDistribution(bwcVersion) systemProperty("tests.old_cluster_version", bwcVersion) testClassesDirs = sourceSets.yamlRestTest.output.classesDirs diff --git a/x-pack/plugin/downsample/qa/rest/build.gradle b/x-pack/plugin/downsample/qa/rest/build.gradle index 5efe9982029a..4384010b06ad 100644 --- a/x-pack/plugin/downsample/qa/rest/build.gradle +++ b/x-pack/plugin/downsample/qa/rest/build.gradle @@ -25,10 +25,10 @@ artifacts { } tasks.named('yamlRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } tasks.named('yamlRestCompatTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } if (buildParams.inFipsJvm){ // This test cluster is using a BASIC license and FIPS 140 mode is not supported in BASIC diff --git a/x-pack/plugin/eql/qa/multi-cluster-with-security/build.gradle b/x-pack/plugin/eql/qa/multi-cluster-with-security/build.gradle index ddafb5f0a994..75db831b527a 100644 --- a/x-pack/plugin/eql/qa/multi-cluster-with-security/build.gradle +++ b/x-pack/plugin/eql/qa/multi-cluster-with-security/build.gradle @@ -5,6 +5,6 @@ dependencies { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") maxParallelForks = 1 } diff --git a/x-pack/plugin/eql/qa/rest/build.gradle b/x-pack/plugin/eql/qa/rest/build.gradle index 0ffecefb934f..568a37945556 100644 --- a/x-pack/plugin/eql/qa/rest/build.gradle +++ b/x-pack/plugin/eql/qa/rest/build.gradle @@ -25,14 +25,14 @@ artifacts { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") maxParallelForks = 1 } tasks.named('yamlRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } tasks.named('yamlRestCompatTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } if (buildParams.inFipsJvm){ diff --git a/x-pack/plugin/eql/qa/security/build.gradle b/x-pack/plugin/eql/qa/security/build.gradle index 9072a9a7bad3..1bda5b4b85f1 100644 --- a/x-pack/plugin/eql/qa/security/build.gradle +++ b/x-pack/plugin/eql/qa/security/build.gradle @@ -12,7 +12,7 @@ dependencies { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } if (buildParams.inFipsJvm){ diff --git a/x-pack/plugin/esql/qa/security/build.gradle b/x-pack/plugin/esql/qa/security/build.gradle index c04595ef2283..0abb3d4ecc38 100644 --- a/x-pack/plugin/esql/qa/security/build.gradle +++ b/x-pack/plugin/esql/qa/security/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'elasticsearch.internal-java-rest-test' apply plugin: 'elasticsearch.internal-test-artifact' tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } dependencies { diff --git a/x-pack/plugin/esql/qa/server/multi-node/build.gradle b/x-pack/plugin/esql/qa/server/multi-node/build.gradle index 2dcc001c4e15..846b55a12de0 100644 --- a/x-pack/plugin/esql/qa/server/multi-node/build.gradle +++ b/x-pack/plugin/esql/qa/server/multi-node/build.gradle @@ -17,7 +17,7 @@ dependencies { GradleUtils.extendSourceSet(project, "javaRestTest", "yamlRestTest") tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } restResources { @@ -30,6 +30,6 @@ restResources { } tasks.named('yamlRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") maxParallelForks = 1 } diff --git a/x-pack/plugin/esql/qa/server/single-node/build.gradle b/x-pack/plugin/esql/qa/server/single-node/build.gradle index a6b6ad46740d..48880634fe34 100644 --- a/x-pack/plugin/esql/qa/server/single-node/build.gradle +++ b/x-pack/plugin/esql/qa/server/single-node/build.gradle @@ -36,12 +36,12 @@ restResources { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") maxParallelForks = 1 jvmArgs('--add-opens=java.base/java.nio=ALL-UNNAMED') } tasks.named('yamlRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") maxParallelForks = 1 } diff --git a/x-pack/plugin/fleet/qa/rest/build.gradle b/x-pack/plugin/fleet/qa/rest/build.gradle index 0959e883997d..91e73be7b60b 100644 --- a/x-pack/plugin/fleet/qa/rest/build.gradle +++ b/x-pack/plugin/fleet/qa/rest/build.gradle @@ -20,10 +20,10 @@ artifacts { } tasks.named('yamlRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } tasks.named('yamlRestCompatTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } if (buildParams.inFipsJvm){ // This test cluster is using a BASIC license and FIPS 140 mode is not supported in BASIC diff --git a/x-pack/plugin/graph/qa/with-security/build.gradle b/x-pack/plugin/graph/qa/with-security/build.gradle index d345b271c155..60157eea11f9 100644 --- a/x-pack/plugin/graph/qa/with-security/build.gradle +++ b/x-pack/plugin/graph/qa/with-security/build.gradle @@ -15,5 +15,5 @@ restResources { } tasks.named("yamlRestTest") { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/ilm/qa/with-security/build.gradle b/x-pack/plugin/ilm/qa/with-security/build.gradle index 94dd375c56b1..aac8b424d99e 100644 --- a/x-pack/plugin/ilm/qa/with-security/build.gradle +++ b/x-pack/plugin/ilm/qa/with-security/build.gradle @@ -5,5 +5,5 @@ dependencies { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() -} \ No newline at end of file + usesDefaultDistribution("to be triaged") +} diff --git a/x-pack/plugin/inference/build.gradle b/x-pack/plugin/inference/build.gradle index 283abf123900..c71603c5f2a9 100644 --- a/x-pack/plugin/inference/build.gradle +++ b/x-pack/plugin/inference/build.gradle @@ -398,6 +398,6 @@ tasks.named("thirdPartyAudit").configure { } tasks.named('yamlRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/inference/qa/inference-service-tests/build.gradle b/x-pack/plugin/inference/qa/inference-service-tests/build.gradle index 052cb8d7184f..21bd99d10f67 100644 --- a/x-pack/plugin/inference/qa/inference-service-tests/build.gradle +++ b/x-pack/plugin/inference/qa/inference-service-tests/build.gradle @@ -9,5 +9,5 @@ dependencies { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/inference/qa/test-service-plugin/build.gradle b/x-pack/plugin/inference/qa/test-service-plugin/build.gradle index 145869bf6c34..0fa560501466 100644 --- a/x-pack/plugin/inference/qa/test-service-plugin/build.gradle +++ b/x-pack/plugin/inference/qa/test-service-plugin/build.gradle @@ -16,5 +16,5 @@ dependencies { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/kql/build.gradle b/x-pack/plugin/kql/build.gradle index 3d27906b0bc8..d2e524fe516a 100644 --- a/x-pack/plugin/kql/build.gradle +++ b/x-pack/plugin/kql/build.gradle @@ -32,7 +32,7 @@ dependencies { } tasks.named('yamlRestTest').configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } /********************************** diff --git a/x-pack/plugin/logsdb/build.gradle b/x-pack/plugin/logsdb/build.gradle index bef07258a8e3..9042d7fbd269 100644 --- a/x-pack/plugin/logsdb/build.gradle +++ b/x-pack/plugin/logsdb/build.gradle @@ -36,9 +36,9 @@ dependencies { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } tasks.named('yamlRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/logsdb/qa/with-basic/build.gradle b/x-pack/plugin/logsdb/qa/with-basic/build.gradle index 9729ac9c29ce..41c10cae63ae 100644 --- a/x-pack/plugin/logsdb/qa/with-basic/build.gradle +++ b/x-pack/plugin/logsdb/qa/with-basic/build.gradle @@ -15,5 +15,5 @@ tasks.named("javaRestTest").configure { // This test cluster is using a BASIC license and FIPS 140 mode is not supported in BASIC buildParams.withFipsEnabledOnly(it) - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/logsdb/qa/with-custom-cutoff/build.gradle b/x-pack/plugin/logsdb/qa/with-custom-cutoff/build.gradle index 9729ac9c29ce..41c10cae63ae 100644 --- a/x-pack/plugin/logsdb/qa/with-custom-cutoff/build.gradle +++ b/x-pack/plugin/logsdb/qa/with-custom-cutoff/build.gradle @@ -15,5 +15,5 @@ tasks.named("javaRestTest").configure { // This test cluster is using a BASIC license and FIPS 140 mode is not supported in BASIC buildParams.withFipsEnabledOnly(it) - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/ml/qa/ml-inference-service-tests/build.gradle b/x-pack/plugin/ml/qa/ml-inference-service-tests/build.gradle index 83226acb383c..67eba59550fc 100644 --- a/x-pack/plugin/ml/qa/ml-inference-service-tests/build.gradle +++ b/x-pack/plugin/ml/qa/ml-inference-service-tests/build.gradle @@ -8,5 +8,5 @@ dependencies { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/repositories-metering-api/qa/s3/build.gradle b/x-pack/plugin/repositories-metering-api/qa/s3/build.gradle index 5c83e8980a47..e1f5dd885183 100644 --- a/x-pack/plugin/repositories-metering-api/qa/s3/build.gradle +++ b/x-pack/plugin/repositories-metering-api/qa/s3/build.gradle @@ -39,7 +39,7 @@ if (!s3AccessKey && !s3SecretKey && !s3Bucket && !s3BasePath) { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") systemProperty("tests.use.fixture", Boolean.toString(useFixture)) systemProperty 'test.s3.bucket', s3Bucket systemProperty("s3AccessKey", s3AccessKey) diff --git a/x-pack/plugin/searchable-snapshots/qa/hdfs/build.gradle b/x-pack/plugin/searchable-snapshots/qa/hdfs/build.gradle index 4577935e4e08..f0cc0c181f3a 100644 --- a/x-pack/plugin/searchable-snapshots/qa/hdfs/build.gradle +++ b/x-pack/plugin/searchable-snapshots/qa/hdfs/build.gradle @@ -26,7 +26,7 @@ restResources { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") buildParams.withFipsEnabledOnly(it) jvmArgs '--add-exports', 'java.security.jgss/sun.security.krb5=ALL-UNNAMED' } diff --git a/x-pack/plugin/searchable-snapshots/qa/minio/build.gradle b/x-pack/plugin/searchable-snapshots/qa/minio/build.gradle index 2d6b6e80d4bd..93977b49d9ff 100644 --- a/x-pack/plugin/searchable-snapshots/qa/minio/build.gradle +++ b/x-pack/plugin/searchable-snapshots/qa/minio/build.gradle @@ -11,7 +11,7 @@ dependencies { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } restResources { diff --git a/x-pack/plugin/searchable-snapshots/qa/s3/build.gradle b/x-pack/plugin/searchable-snapshots/qa/s3/build.gradle index b95e07090baf..9a074d16f8b5 100644 --- a/x-pack/plugin/searchable-snapshots/qa/s3/build.gradle +++ b/x-pack/plugin/searchable-snapshots/qa/s3/build.gradle @@ -41,7 +41,7 @@ if (!s3AccessKey && !s3SecretKey && !s3Bucket && !s3BasePath) { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") systemProperty("tests.use.fixture", Boolean.toString(useFixture)) systemProperty 'test.s3.bucket', s3Bucket systemProperty("s3AccessKey", s3AccessKey) diff --git a/x-pack/plugin/searchable-snapshots/qa/url/build.gradle b/x-pack/plugin/searchable-snapshots/qa/url/build.gradle index 850fe85ece3c..659869b5f4a5 100644 --- a/x-pack/plugin/searchable-snapshots/qa/url/build.gradle +++ b/x-pack/plugin/searchable-snapshots/qa/url/build.gradle @@ -15,5 +15,5 @@ restResources { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/security/qa/audit/build.gradle b/x-pack/plugin/security/qa/audit/build.gradle index f160e4ae3f1d..74b4f7a260e9 100644 --- a/x-pack/plugin/security/qa/audit/build.gradle +++ b/x-pack/plugin/security/qa/audit/build.gradle @@ -8,5 +8,5 @@ dependencies { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/security/qa/basic-enable-security/build.gradle b/x-pack/plugin/security/qa/basic-enable-security/build.gradle index 72deed1af72d..d4b11b29a40f 100644 --- a/x-pack/plugin/security/qa/basic-enable-security/build.gradle +++ b/x-pack/plugin/security/qa/basic-enable-security/build.gradle @@ -16,5 +16,5 @@ tasks.named("javaRestTest").configure { // This test cluster is using a BASIC license and FIPS 140 mode is not supported in BASIC buildParams.withFipsEnabledOnly(it) - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/security/qa/jwt-realm/build.gradle b/x-pack/plugin/security/qa/jwt-realm/build.gradle index 1f7b7c1038fa..8978d8223457 100644 --- a/x-pack/plugin/security/qa/jwt-realm/build.gradle +++ b/x-pack/plugin/security/qa/jwt-realm/build.gradle @@ -17,5 +17,5 @@ dependencies { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/security/qa/multi-project/build.gradle b/x-pack/plugin/security/qa/multi-project/build.gradle index 09ba4ee95b62..e3c8dfaf13ba 100644 --- a/x-pack/plugin/security/qa/multi-project/build.gradle +++ b/x-pack/plugin/security/qa/multi-project/build.gradle @@ -5,6 +5,6 @@ dependencies { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") it.onlyIf("snapshot build") { buildParams.snapshotBuild } } diff --git a/x-pack/plugin/security/qa/operator-privileges-tests/build.gradle b/x-pack/plugin/security/qa/operator-privileges-tests/build.gradle index e3bad85a4256..8a585afcd2b3 100644 --- a/x-pack/plugin/security/qa/operator-privileges-tests/build.gradle +++ b/x-pack/plugin/security/qa/operator-privileges-tests/build.gradle @@ -15,5 +15,5 @@ dependencies { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/security/qa/profile/build.gradle b/x-pack/plugin/security/qa/profile/build.gradle index b0a1927ab9df..1c3a0503d249 100644 --- a/x-pack/plugin/security/qa/profile/build.gradle +++ b/x-pack/plugin/security/qa/profile/build.gradle @@ -15,6 +15,6 @@ dependencies { boolean literalUsername = buildParams.random.nextBoolean() tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") systemProperty 'test.literalUsername', literalUsername } diff --git a/x-pack/plugin/security/qa/secondary-auth-actions/build.gradle b/x-pack/plugin/security/qa/secondary-auth-actions/build.gradle index b99bc6594a5e..78895b8288f8 100644 --- a/x-pack/plugin/security/qa/secondary-auth-actions/build.gradle +++ b/x-pack/plugin/security/qa/secondary-auth-actions/build.gradle @@ -25,5 +25,5 @@ dependencies { tasks.named("javadoc").configure { enabled = false } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/security/qa/security-basic/build.gradle b/x-pack/plugin/security/qa/security-basic/build.gradle index 766598edc6f0..e153c500b354 100644 --- a/x-pack/plugin/security/qa/security-basic/build.gradle +++ b/x-pack/plugin/security/qa/security-basic/build.gradle @@ -23,7 +23,7 @@ dependencies { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } tasks.named("javadoc").configure { enabled = false } diff --git a/x-pack/plugin/security/qa/security-disabled/build.gradle b/x-pack/plugin/security/qa/security-disabled/build.gradle index 6fa100f392b9..3026779bd2bc 100644 --- a/x-pack/plugin/security/qa/security-disabled/build.gradle +++ b/x-pack/plugin/security/qa/security-disabled/build.gradle @@ -21,7 +21,7 @@ dependencies { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") // Test clusters run with security disabled buildParams.withFipsEnabledOnly(it) } diff --git a/x-pack/plugin/security/qa/security-trial/build.gradle b/x-pack/plugin/security/qa/security-trial/build.gradle index f6b7185c08b3..3e24ebbb16c6 100644 --- a/x-pack/plugin/security/qa/security-trial/build.gradle +++ b/x-pack/plugin/security/qa/security-trial/build.gradle @@ -9,6 +9,6 @@ dependencies { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/security/qa/smoke-test-all-realms/build.gradle b/x-pack/plugin/security/qa/smoke-test-all-realms/build.gradle index 282630443fe1..cb09fe8671b7 100644 --- a/x-pack/plugin/security/qa/smoke-test-all-realms/build.gradle +++ b/x-pack/plugin/security/qa/smoke-test-all-realms/build.gradle @@ -14,5 +14,5 @@ dependencies { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/slm/qa/with-security/build.gradle b/x-pack/plugin/slm/qa/with-security/build.gradle index d99d050254c2..aac8b424d99e 100644 --- a/x-pack/plugin/slm/qa/with-security/build.gradle +++ b/x-pack/plugin/slm/qa/with-security/build.gradle @@ -5,5 +5,5 @@ dependencies { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/snapshot-based-recoveries/qa/s3/build.gradle b/x-pack/plugin/snapshot-based-recoveries/qa/s3/build.gradle index 07909bf4cdbc..0c082b8e54c1 100644 --- a/x-pack/plugin/snapshot-based-recoveries/qa/s3/build.gradle +++ b/x-pack/plugin/snapshot-based-recoveries/qa/s3/build.gradle @@ -39,7 +39,7 @@ if (!s3AccessKey && !s3SecretKey && !s3Bucket && !s3BasePath) { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") systemProperty("tests.use.fixture", Boolean.toString(useFixture)) systemProperty 'test.s3.bucket', s3Bucket systemProperty("s3AccessKey", s3AccessKey) diff --git a/x-pack/plugin/snapshot-repo-test-kit/qa/hdfs/build.gradle b/x-pack/plugin/snapshot-repo-test-kit/qa/hdfs/build.gradle index d4615260952d..fab8e3d6f403 100644 --- a/x-pack/plugin/snapshot-repo-test-kit/qa/hdfs/build.gradle +++ b/x-pack/plugin/snapshot-repo-test-kit/qa/hdfs/build.gradle @@ -31,7 +31,7 @@ dependencies { // Disable integration test if Fips mode tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") description = "Runs rest tests against an elasticsearch cluster with HDFS." buildParams.withFipsEnabledOnly(it) // required for krb5kdc-fixture to work diff --git a/x-pack/plugin/snapshot-repo-test-kit/qa/minio/build.gradle b/x-pack/plugin/snapshot-repo-test-kit/qa/minio/build.gradle index 6e8993a7a141..582b3dc2da9c 100644 --- a/x-pack/plugin/snapshot-repo-test-kit/qa/minio/build.gradle +++ b/x-pack/plugin/snapshot-repo-test-kit/qa/minio/build.gradle @@ -22,5 +22,5 @@ restResources { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/plugin/snapshot-repo-test-kit/qa/s3/build.gradle b/x-pack/plugin/snapshot-repo-test-kit/qa/s3/build.gradle index 33398d5b8064..0773f3395d95 100644 --- a/x-pack/plugin/snapshot-repo-test-kit/qa/s3/build.gradle +++ b/x-pack/plugin/snapshot-repo-test-kit/qa/s3/build.gradle @@ -37,7 +37,7 @@ if (!s3AccessKey && !s3SecretKey && !s3Bucket && !s3BasePath) { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") systemProperty("tests.use.fixture", Boolean.toString(useFixture)) systemProperty 'test.s3.bucket', s3Bucket systemProperty("s3AccessKey", s3AccessKey) diff --git a/x-pack/plugin/sql/qa/server/build.gradle b/x-pack/plugin/sql/qa/server/build.gradle index cee10d81c957..ad320e87fc16 100644 --- a/x-pack/plugin/sql/qa/server/build.gradle +++ b/x-pack/plugin/sql/qa/server/build.gradle @@ -53,7 +53,7 @@ subprojects { } else { apply plugin: 'elasticsearch.internal-java-rest-test' tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } } diff --git a/x-pack/qa/kerberos-tests/build.gradle b/x-pack/qa/kerberos-tests/build.gradle index 0ec7044ed18a..f941165913fa 100644 --- a/x-pack/qa/kerberos-tests/build.gradle +++ b/x-pack/qa/kerberos-tests/build.gradle @@ -8,7 +8,7 @@ dependencies { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") description = "Runs rest tests against an elasticsearch cluster with Kerberos." // required for krb5kdc-fixture to work jvmArgs '--add-exports', 'java.security.jgss/sun.security.krb5=ALL-UNNAMED' diff --git a/x-pack/qa/multi-project/xpack-rest-tests-with-multiple-projects/build.gradle b/x-pack/qa/multi-project/xpack-rest-tests-with-multiple-projects/build.gradle index 0f18b99e549f..12657c0a289c 100644 --- a/x-pack/qa/multi-project/xpack-rest-tests-with-multiple-projects/build.gradle +++ b/x-pack/qa/multi-project/xpack-rest-tests-with-multiple-projects/build.gradle @@ -22,7 +22,7 @@ restResources { } tasks.named("yamlRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") ArrayList blacklist = [ /* These tests don't work on multi-project yet - we need to go through each of them and make them work */ '^analytics/boxplot/*', diff --git a/x-pack/qa/oidc-op-tests/build.gradle b/x-pack/qa/oidc-op-tests/build.gradle index 43d1cd12cdfb..f308e3b4e9aa 100644 --- a/x-pack/qa/oidc-op-tests/build.gradle +++ b/x-pack/qa/oidc-op-tests/build.gradle @@ -14,7 +14,7 @@ dependencies { } tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") // test suite uses jks which is not supported in fips mode buildParams.withFipsEnabledOnly(it) } diff --git a/x-pack/qa/password-protected-keystore/build.gradle b/x-pack/qa/password-protected-keystore/build.gradle index d7af31c85e46..efdf3b156a6e 100644 --- a/x-pack/qa/password-protected-keystore/build.gradle +++ b/x-pack/qa/password-protected-keystore/build.gradle @@ -6,5 +6,5 @@ apply plugin: 'elasticsearch.internal-java-rest-test' tasks.named('javaRestTest') { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/qa/reindex-tests-with-security/build.gradle b/x-pack/qa/reindex-tests-with-security/build.gradle index c1eb99a1446b..86aa578d0108 100644 --- a/x-pack/qa/reindex-tests-with-security/build.gradle +++ b/x-pack/qa/reindex-tests-with-security/build.gradle @@ -1,5 +1,5 @@ apply plugin: 'elasticsearch.internal-yaml-rest-test' tasks.named("yamlRestTest") { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") } diff --git a/x-pack/qa/runtime-fields/with-security/build.gradle b/x-pack/qa/runtime-fields/with-security/build.gradle index 996413417b6c..16877ee8effb 100644 --- a/x-pack/qa/runtime-fields/with-security/build.gradle +++ b/x-pack/qa/runtime-fields/with-security/build.gradle @@ -1,5 +1,5 @@ apply plugin: 'elasticsearch.internal-java-rest-test' tasks.named("javaRestTest").configure { - usesDefaultDistribution() -} \ No newline at end of file + usesDefaultDistribution("to be triaged") +} diff --git a/x-pack/qa/saml-idp-tests/build.gradle b/x-pack/qa/saml-idp-tests/build.gradle index 1c41e58ffb0d..6abc1b44735e 100644 --- a/x-pack/qa/saml-idp-tests/build.gradle +++ b/x-pack/qa/saml-idp-tests/build.gradle @@ -9,5 +9,5 @@ dependencies { } tasks.named("javaRestTest").configure { - usesDefaultDistribution() + usesDefaultDistribution("to be triaged") }