-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[CI] Numerous :build-tools:integTest fail in darwin builds #41431
Copy link
Copy link
Closed
Labels
:Delivery/BuildBuild or test infrastructureBuild or test infrastructure>test-failureTriaged test failures from CITriaged test failures from CITeam:DeliveryMeta label for Delivery teamMeta label for Delivery team
Description
There have been several darwin builds where many integration tests of the build tools have failed with little indication of the cause:
- https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-darwin-compatibility/350/console
- https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.0+multijob-darwin-compatibility/124/console
- https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.0+multijob-darwin-compatibility/125/console
I tried to reproduce this locally on my mac using ./gradlew :build-tools:integTest on both the 7.0 and master branches but that command was successful for both branches.
The errors in the build log are not very expansive about what went wrong:
org.elasticsearch.gradle.precommit.ThirdPartyAuditTaskIT > testViolationFoundAndCompileOnlyIgnored FAILED
org.gradle.testkit.runner.UnexpectedBuildFailure at ThirdPartyAuditTaskIT.java:32
org.elasticsearch.gradle.precommit.ThirdPartyAuditTaskIT > testWithEmptyRules FAILED
org.gradle.testkit.runner.UnexpectedBuildFailure at ThirdPartyAuditTaskIT.java:32
org.elasticsearch.gradle.precommit.ThirdPartyAuditTaskIT > testJarHellWithJDK FAILED
org.gradle.testkit.runner.UnexpectedBuildFailure at ThirdPartyAuditTaskIT.java:32
org.elasticsearch.gradle.precommit.ThirdPartyAuditTaskIT > testClassNotFoundAndCompileOnlyIgnored FAILED
org.gradle.testkit.runner.UnexpectedBuildFailure at ThirdPartyAuditTaskIT.java:32
org.elasticsearch.gradle.precommit.JarHellTaskIT > testJarHellDetected FAILED
java.lang.AssertionError at JarHellTaskIT.java:34
org.elasticsearch.gradle.precommit.ThirdPartyAuditTaskIT > testElasticsearchIgnoredWithViolations FAILED
org.gradle.testkit.runner.UnexpectedBuildFailure at ThirdPartyAuditTaskIT.java:32
org.elasticsearch.gradle.precommit.ThirdPartyAuditTaskIT > testElasticsearchIgnored FAILED
org.gradle.testkit.runner.UnexpectedBuildFailure at ThirdPartyAuditTaskIT.java:32
org.elasticsearch.gradle.precommit.TestingConventionsTasksIT > testNamingConvention FAILED
java.lang.AssertionError at TestingConventionsTasksIT.java:50
org.elasticsearch.gradle.precommit.TestingConventionsTasksIT > testValidSetupWithBaseClass FAILED
org.gradle.testkit.runner.UnexpectedBuildFailure at TestingConventionsTasksIT.java:103
org.elasticsearch.gradle.precommit.TestingConventionsTasksIT > testValidSetupWithoutBaseClass FAILED
org.gradle.testkit.runner.UnexpectedBuildFailure at TestingConventionsTasksIT.java:96
org.elasticsearch.gradle.precommit.TestingConventionsTasksIT > testTaskNotImplementBaseClass FAILED
java.lang.AssertionError at TestingConventionsTasksIT.java:83
org.elasticsearch.gradle.precommit.TestingConventionsTasksIT > testNoEmptyTasks FAILED
java.lang.AssertionError at TestingConventionsTasksIT.java:63
org.elasticsearch.gradle.precommit.TestingConventionsTasksIT > testTestsInMain FAILED
java.lang.AssertionError at TestingConventionsTasksIT.java:111
org.elasticsearch.gradle.precommit.TestingConventionsTasksIT > testAllTestTasksIncluded FAILED
java.lang.AssertionError at TestingConventionsTasksIT.java:73
org.elasticsearch.gradle.precommit.TestingConventionsTasksIT > testInnerClasses FAILED
java.lang.AssertionError at TestingConventionsTasksIT.java:36
For example ThirdPartyAuditTaskIT.java:32 is the .build() line in:
// Build the sample jars
getGradleRunner("thirdPartyAudit")
.withArguments("build", "-s")
.build();
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Delivery/BuildBuild or test infrastructureBuild or test infrastructure>test-failureTriaged test failures from CITriaged test failures from CITeam:DeliveryMeta label for Delivery teamMeta label for Delivery team
Type
Fields
Give feedbackNo fields configured for issues without a type.