adoptium / aqa-tests

Home of test infrastructure for Adoptium builds
https://adoptium.net/aqavit
Apache License 2.0
132 stars 312 forks source link

JTReg Test Failure: java/lang/ProcessBuilder/checkHandles/CheckHandles.java #1773

Open M-Davies opened 4 years ago

M-Davies commented 4 years ago

Describe the bug https://github.com/AdoptOpenJDK/openjdk-jdk11u/blob/master/test/jdk/java/lang/ProcessBuilder/checkHandles/CheckHandles.java is failing on JDK11/HS/x86_32-windows

To Reproduce Steps to reproduce the behavior (or Grinder rerun link): https://ci.adoptopenjdk.net/job/Grinder/parambuild/?JDK_VERSION=11&JDK_IMPL=hotspot&BUILD_LIST=openjdk&PLATFORM=x86-32_windows&TARGET=jdk_lang_0

Expected behavior test passes

Screenshots

java.lang.UnsatisfiedLinkError: 'long CheckHandles.getProcessHandleCount()'
    at CheckHandles.getProcessHandleCount(Native Method)
    at CheckHandles.main(CheckHandles.java:64)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
    at java.base/java.lang.Thread.run(Thread.java:834)

JavaTest Message: Test threw exception: java.lang.UnsatisfiedLinkError
JavaTest Message: shutting down test

Additional context

M-Davies commented 4 years ago

Exclude PR https://github.com/AdoptOpenJDK/openjdk-tests/pull/1774

M-Davies commented 4 years ago

Similar error seen on aarch_64XL_j9 test-packet-ubuntu1604-armv8-2 https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk11_j9_sanity.openjdk_aarch64_linux_xl/104/

com/sun/crypto/provider/Cipher/AEAD/GCMLargeDataKAT.java

java.lang.UnsatisfiedLinkError: 'long CheckHandles.getProcessHandleCount()'
    at CheckHandles.getProcessHandleCount(Native Method)
    at CheckHandles.main(CheckHandles.java:64)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
    at java.base/java.lang.Thread.run(Thread.java:834)