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

loom: nsk/jdi/ObjectReference/invokeMethod/invokemethod010 fails with "TEST FAILED: wrong invocation"

XMLWordPrintable

      The following test failed in the jdk-19-loomvt CI:

      vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod010/TestDescription.java

      Here's a snippet from the log file:

      Verifying the single threaded invocation (INVOKE_SINGLE_THREADED):
      CHECK PASSED: invoking debuggee thread instance of java.lang.VirtualThread(name='invokemethod010tThr', id=272)
      is resumed as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr1', id=437)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr2', id=440)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr3', id=451)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr4', id=445)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr5', id=449)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr6', id=829)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr7', id=830)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr8', id=831)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr9', id=832)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr10', id=833)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr11', id=834)
      is suspended as expected
      Thread "InvokingThread" done

      Verifying threads status after method invocation:
      # ERROR: TEST FAILED: wrong invocation:
      # ERROR: invoking debuggee thread instance of java.lang.VirtualThread(name='invokemethod010tThr', id=272)
      # ERROR: is not suspended again after the invocation
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: TEST FAILED: wrong invocation: invoking debuggee thread instance of java.lang.VirtualThread(name='invokemethod010tThr', id=272)
      at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
      at nsk.share.Log.complain(Log.java:403)
      at nsk.jdi.ObjectReference.invokeMethod.invokemethod010.checkThreads(invokemethod010.java:257)
      at nsk.jdi.ObjectReference.invokeMethod.invokemethod010.runIt(invokemethod010.java:212)
      at nsk.jdi.ObjectReference.invokeMethod.invokemethod010.run(invokemethod010.java:107)
      at nsk.jdi.ObjectReference.invokeMethod.invokemethod010.main(invokemethod010.java:103)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:1585)
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr1', id=437)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr2', id=440)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr3', id=451)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr4', id=445)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr5', id=449)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr6', id=829)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr7', id=830)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr8', id=831)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr9', id=832)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr10', id=833)
      is suspended as expected
      CHECK PASSED: non-invoking debuggee thread instance of nsk.jdi.ObjectReference.invokeMethod.invokemethod010t$invokemethod010Thr(name='invokemethod010tThr11', id=834)
      is suspended as expected
      debugee.stderr> invokemethod010tDummyClass: longMeth: exiting
      InvokingThread: the method returned 9223372036854775807
      InvokingThread: exiting
      Timeout refired 480 times
      ----------System.err:(0/0)----------
      ----------rerun:(39/6889)*----------

      <snip>

      result: Error. Program `c:\ade\mesos\work_dir\jib-master\install\jdk-19-loomvt+1-55\windows-x64-debug.jdk\jdk-19\fastdebug\bin\java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 545286ms).

            cjplummer Chris Plummer
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: