Closed albertzaharovits closed 2 years ago
Pinging @elastic/es-security (Team:Security)
Three more instances of this failure:
I suspect this failure is related to jdk8 problem:
@albertzaharovits Can you confirm this (^)?
I fail to reproduce this locally with JAVA_HOME=$JAVA12_HOME RUNTIME_JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home ./gradlew ':server:unitTest' -Dtests.class=org.elasticsearch.common.settings.KeyStoreWrapperTests
=======================================
Elasticsearch Build Hamster says Hello!
Gradle Version : 5.4.1
OS Info : Mac OS X 10.16 (x86_64)
Compiler JDK Version : 12 (Oracle Corporation 12.0.2 [OpenJDK 64-Bit Server VM 12.0.2+10])
Compiler java.home : /Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home
Runtime JDK Version : 1.8 (Azul Systems, Inc. 1.8.0_292 [OpenJDK 64-Bit Server VM 25.292-b10])
Runtime java.home : /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home
Gradle JDK Version : 12 (Oracle Corporation 12.0.2 [OpenJDK 64-Bit Server VM 12.0.2+10])
Gradle java.home : /Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home
Random Testing Seed : 8D065E2C597692
=======================================
But it does fail regularly on CI.
Maybe the MacOS build is not exhibiting the same problem.
The JDK bug https://bugs.openjdk.java.net/browse/JDK-8266261?jql=project%20%3D%2010100%20AND%20labels%20%3D%20webbug is serious and it is introduced in a build candidate (25.292-b10
) so hopefully it will be fixed soon.
Mutting for all JDK8s ...
This is only applicable to 6.8 and is already muted. Closing this as won't fix since 6.8 is EOL
Tests failing: testBackcompatV1 testBackcompatV2
Looks related: https://github.com/elastic/elasticsearch/issues/72359 . most likely a race bug in the latest build of JDK 8.
Build scan: https://gradle-enterprise.elastic.co/s/s4i32zznnh2wo
Repro line:
Reproduces locally?: Probably (sporadically - race)
Applicable branches: 6.8
Failure history: https://gradle-enterprise.elastic.co/scans/failures?failures.failureClassification=all_failures&failures.failureMessage=Execution%20failed%20for%20task%20%27:server:unitTest%27.%0A%3E%20There%20were%20test%20failures:%201229%20suites%20(1%20ignored),%208350%20tests,%20*%20ignored%20*%20assumptions)%20%5Bseed:%20*&search.relativeStartTime=P7D&search.timeZoneId=Europe/Bucharest
Failure excerpt: