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

TestClhsdbJstackLock.java fails intermittently

XMLWordPrintable

      The following test failed due to an exception on Solaris X64
      in the release config using jdk11+19 bits:

      serviceability/sa/TestClhsdbJstackLock.java

      The test only failed in 1 of 3 'release' bits runs so I'm
      tagging this bug as intermittent. It did not fail at all in the
      'fastdebug' or 'slowdebug' bits runs.

      Here is a snippet from the log file:

      ----------System.out:(3/207)----------
      Started LingeredApp with pid 5621
      /work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/solaris-x86_64-normal-server-release/images/jdk/bin/jhsdb clhsdb --pid 5621
      Command not valid until attached to a VM
      ----------System.err:(21/2216)----------
      Command line: ['/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/solaris-x86_64-normal-server-release/images/jdk/bin/java' '-XX:MaxRAMPercentage=1' '-cp' '/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/solaris-x86_64-normal-server-release/test-support/jtreg_open_test_hotspot_jtreg_tier1/classes/14/serviceability/sa/TestClhsdbJstackLock.d:/work/shared/bug_hunt/thread_SMR_stress/jdk11_exp/build/solaris-x86_64-normal-server-release/test-support/jtreg_open_test_hotspot_jtreg_tier1/classes/14/test/lib' 'LingeredAppWithLock' 'bf0c7ea1-57d4-4757-ab26-ccd4daf94b60.lck' ]
       LingeredApp stdout: [];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
      java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: classLockOwnerFound = false, classLockWaiterFound = false, objectLockOwnerFound = false, primitiveLockOwnerFound = false
              at TestClhsdbJstackLock.verifyJStackOutput(TestClhsdbJstackLock.java:98)
              at TestClhsdbJstackLock.main(TestClhsdbJstackLock.java:160)
              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.MainWrapper$MainThread.run(MainWrapper.java:115)
              at java.base/java.lang.Thread.run(Thread.java:832)
      Caused by: java.lang.RuntimeException: classLockOwnerFound = false, classLockWaiterFound = false, objectLockOwnerFound = false, primitiveLockOwnerFound = false
              at TestClhsdbJstackLock.verifyJStackOutput(TestClhsdbJstackLock.java:88)
              ... 7 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: classLockOwnerFound = false, classLockWaiterFound = false, objectLockOwnerFound = false, primitiveLockOwnerFound = false
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: classLockOwnerFound = false, classLockWaiterFound = false, objectLockOwnerFound = false, primitiveLockOwnerFound = false
      ----------rerun:(26/3612)*----------

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: