Details
-
Bug
-
Resolution: Fixed
-
P4
-
16
-
b04
Description
gtest/GTestWrapper.java fails in tier1 reliably on multiple machines. It seems to have started recently. I assume this is infra/build issue, assigning there.
This reproduces on clean checkout of jdk/jdk:
$ sh ./configure --with-debug-level=fastdebug --with-boot-jdk=/home/shade/Install/jdk14-ea/ --with-jtreg=/home/shade/Install/jtreg
$ CONF=linux-x86_64-server-fastdebug make run-test TEST=jtreg:gtest/GTestWrapper.java
STDERR:
java.lang.Error: TESTBUG: the library has not been found in /home/shade/trunks/jdk-jdk/build/linux-x86_64-server-fastdebug/images/test/hotspot/jtreg/native
at GTestWrapper.main(GTestWrapper.java:60)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:832)
JavaTest Message: Test threw exception: java.lang.Error
JavaTest Message: shutting down test
This reproduces on clean checkout of jdk/jdk:
$ sh ./configure --with-debug-level=fastdebug --with-boot-jdk=/home/shade/Install/jdk14-ea/ --with-jtreg=/home/shade/Install/jtreg
$ CONF=linux-x86_64-server-fastdebug make run-test TEST=jtreg:gtest/GTestWrapper.java
STDERR:
java.lang.Error: TESTBUG: the library has not been found in /home/shade/trunks/jdk-jdk/build/linux-x86_64-server-fastdebug/images/test/hotspot/jtreg/native
at GTestWrapper.main(GTestWrapper.java:60)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:832)
JavaTest Message: Test threw exception: java.lang.Error
JavaTest Message: shutting down test
Attachments
Issue Links
- relates to
-
JDK-8245610 remove in-tree copy on gtest
- Resolved