RFR: 8256736: Zero: GTest tests fail with "unsuppported vm variant"

David Holmes dholmes at openjdk.java.net
Tue Nov 24 02:10:56 UTC 2020


On Fri, 20 Nov 2020 11:04:56 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Manifests as `tier1` test:
> 
> $ CONF=linux-x86_64-zero-fastdebug make exploded-test TEST=jtreg:gtest/MetaspaceGtests.java
> 
> 00:16:40 java.lang.Error: TESTBUG: unsuppported vm variant
> 00:16:40 at GTestWrapper.getJVMVariantSubDir(GTestWrapper.java:122)
> 00:16:40 at GTestWrapper.main(GTestWrapper.java:50)
> 00:16:40 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 00:16:40 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
> 00:16:40 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 00:16:40 at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> 00:16:40 at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
> 00:16:40 at java.base/java.lang.Thread.run(Thread.java:831)
> 
> Let's make the wrapper know about the Zero variant.
> 
> Additional testing:
>  - [x] Affected tests (they still fail, but because of Zero problems)

Seems fine and trivial.

Thanks,
David

-------------

Marked as reviewed by dholmes (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/1344


More information about the hotspot-dev mailing list