Details
-
Sub-task
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
-
None
Description
Gradle task :runners:extensions-java:metrics:test fails during Java 11 Precommit job
Example stack trace
> Task :runners:extensions-java:metrics:test FAILED Build cache key for task ':runners:extensions-java:metrics:test' is b5fe8f75576d2ea59a0fae51414b5c67 Task ':runners:extensions-java:metrics:test' is not up-to-date because: No history is available. Custom actions are attached to task ':runners:extensions-java:metrics:test'. Starting process 'Gradle Test Executor 187'. Working directory: /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java11_Phrase/src/runners/extensions-java/metrics Command: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dorg.gradle.native=false -javaagent:build/tmp/expandedArchives/org.jacoco.agent-0.8.2.jar_2aca8b620b19ecd063f63feff8caaa38/jacocoagent.jar=destfile=build/jacoco/test.exec,append=true,inclnolocationclasses=false,dumponexit=true,output=file,jmx=false @/tmp/gradle-worker-classpath3076868897892794496txt -Xmx2g -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -ea worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 187' Successfully started process 'Gradle Test Executor 187' org.apache.beam.runners.extensions.metrics.MetricsHttpSinkTest > testWriteMetricsWithCommittedUnSupported STANDARD_ERROR SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. org.apache.beam.runners.extensions.metrics.MetricsHttpSinkTest > testWriteMetricsWithCommittedUnSupported FAILED java.lang.NoClassDefFoundError: javax/xml/ws/http/HTTPException at org.apache.beam.runners.extensions.metrics.MetricsHttpSinkTest.testWriteMetricsWithCommittedUnSupported(MetricsHttpSinkTest.java:107) Caused by: java.lang.ClassNotFoundException: javax.xml.ws.http.HTTPException at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583) at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 1 more org.apache.beam.runners.extensions.metrics.MetricsHttpSinkTest > testWriteMetricsWithCommittedSupported FAILED java.lang.NoClassDefFoundError: javax/xml/ws/http/HTTPException at org.apache.beam.runners.extensions.metrics.MetricsHttpSinkTest.testWriteMetricsWithCommittedSupported(MetricsHttpSinkTest.java:85) Caused by: java.lang.ClassNotFoundException: javax.xml.ws.http.HTTPException at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583) at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 1 more 4 tests completed, 2 failed
Attachments
Issue Links
- links to