rules_jvm_external icon indicating copy to clipboard operation
rules_jvm_external copied to clipboard

UnsafeSharedCacheTest is failing on macOS JDK 11 agents

Open jin opened this issue 4 years ago • 0 comments

https://storage.googleapis.com/bazel-untrusted-buildkite-artifacts/302c53f4-16a6-456a-aa41-182c24e79956/tests/com/jvm/external/UnsafeSharedCacheTest/test.log

exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //tests/com/jvm/external:UnsafeSharedCacheTest
-----------------------------------------------------------------------------
JUnit4 Test Runner
.E
Time: 0.013
There was 1 failure:
1) test_jarsOnClassPath_areInTheSharedCache(com.jvm.external.UnsafeSharedCacheTest)
java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
	at com.jvm.external.UnsafeSharedCacheTest.test_jarsOnClassPath_areInTheSharedCache(UnsafeSharedCacheTest.java:29)

FAILURES!!!
Tests run: 1,  Failures: 1


BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.

-- JVM shutdown starting at 2021-10-21 00:30:01 --

jin avatar Oct 21 '21 11:10 jin