Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8247966

runtime/logging/loadLibraryTest/LoadLibraryTest.java failed "RuntimeException: 'Unloaded library with handle' missing from stdout/stderr"

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      x86_64
    • OS:
      windows

      Description

      The following test failed in the JDK16 CI:

      runtime/logging/loadLibraryTest/LoadLibraryTest.java

      Here's a snippet from the log file:

      ----------System.err:(52/4717)*----------
       stdout: [[0.338s][info][library] Failed to find _JNI_OnLoad_net@8 in library with handle 0x00007ff7b86c0000
      [0.338s][info][library] Failed to find JNI_OnLoad_net in library with handle 0x00007ff7b86c0000
      [0.341s][info][library] Loaded library C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-16+2-14\\windows-x64-debug.jdk\\jdk-16\\fastdebug\\bin\\net.dll, handle 0x00007fff57240000
      [0.342s][info][library] Failed to find _JNI_OnLoad@8 in library with handle 0x00007fff57240000
      [0.342s][info][library] Found JNI_OnLoad in library with handle 0x00007fff57240000
      [0.343s][info][library] Failed to find _JNI_OnLoad_nio@8 in library with handle 0x00007ff7b86c0000
      [0.343s][info][library] Failed to find JNI_OnLoad_nio in library with handle 0x00007ff7b86c0000
      [0.344s][info][library] Loaded library C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-16+2-14\\windows-x64-debug.jdk\\jdk-16\\fastdebug\\bin\\nio.dll, handle 0x00007fff56a10000
      [0.344s][info][library] Failed to find _JNI_OnLoad@8 in library with handle 0x00007fff56a10000
      [0.344s][info][library] Found JNI_OnLoad in library with handle 0x00007fff56a10000
      [0.346s][info][library] Failed to find Java_sun_nio_ch_IOUtil_initIDs in library with handle 0x00007fff57240000
      [0.346s][info][library] Found Java_sun_nio_ch_IOUtil_initIDs in library with handle 0x00007fff56a10000
      [0.346s][info][library] Failed to find Java_sun_nio_ch_IOUtil_iovMax in library with handle 0x00007fff57240000
      [0.346s][info][library] Found Java_sun_nio_ch_IOUtil_iovMax in library with handle 0x00007fff56a10000
      [0.346s][info][library] Failed to find Java_sun_nio_ch_FileChannelImpl_initIDs in library with handle 0x00007fff57240000
      [0.346s][info][library] Found Java_sun_nio_ch_FileChannelImpl_initIDs in library with handle 0x00007fff56a10000
      [0.352s][info][library] Failed to find Java_sun_nio_ch_FileDispatcherImpl_size0 in library with handle 0x00007fff57240000
      [0.352s][info][library] Found Java_sun_nio_ch_FileDispatcherImpl_size0 in library with handle 0x00007fff56a10000
      [0.378s][info][library] Failed to find Java_sun_nio_ch_FileChannelImpl_map0 in library with handle 0x00007fff57240000
      [0.378s][info][library] Found Java_sun_nio_ch_FileChannelImpl_map0 in library with handle 0x00007fff56a10000
      [0.378s][info][library] Failed to find Java_sun_nio_ch_FileDispatcherImpl_duplicateHandle in library with handle 0x00007fff57240000
      [0.378s][info][library] Found Java_sun_nio_ch_FileDispatcherImpl_duplicateHandle in library with handle 0x00007fff56a10000
      [0.388s][info][library] Failed to find _JNI_OnLoad_LoadLibraryClass@8 in library with handle 0x00007ff7b86c0000
      [0.388s][info][library] Failed to find JNI_OnLoad_LoadLibraryClass in library with handle 0x00007ff7b86c0000
      [0.388s][info][library] Failed to find _JNI_OnLoad_LoadLibraryClass@8 in library with handle 0x00007ff7b86c0000
      [0.388s][info][library] Failed to find JNI_OnLoad_LoadLibraryClass in library with handle 0x00007ff7b86c0000
      [0.390s][info][library] Loaded library C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-16+2-14\\windows-x64-debug.test\\hotspot\\jtreg\\native\\LoadLibraryClass.dll, handle 0x00007fff5c2c0000
      [0.390s][info][library] Failed to find _JNI_OnLoad@8 in library with handle 0x00007fff5c2c0000
      [0.390s][info][library] Failed to find JNI_OnLoad in library with handle 0x00007fff5c2c0000
      [0.391s][info][library] Failed to find Java_LoadLibraryTest_00024LoadLibraryClass_nTest in library with handle 0x00007fff5c2c0000
      [0.391s][info][library] Found Java_LoadLibraryTest_00024LoadLibraryClass_nTest__ in library with handle 0x00007fff5c2c0000
      [0.425s][info][library] Failed to find Java_sun_nio_ch_FileChannelImpl_unmap0 in library with handle 0x00007fff57240000
      [0.425s][info][library] Found Java_sun_nio_ch_FileChannelImpl_unmap0 in library with handle 0x00007fff56a10000
      Class LoadLibraryClass was unloaded
      ];
       stderr: []
       exitValue = 0

      java.lang.RuntimeException: 'Unloaded library with handle' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:189)
      at LoadLibraryTest.main(LoadLibraryTest.java:132)
      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.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Unloaded library with handle' missing from stdout/stderr


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Unloaded library with handle' missing from stdout/stderr

        Attachments

          Activity

            People

            • Assignee:
              hseigel Harold Seigel
              Reporter:
              dcubed Daniel Daugherty
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: