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

nsk/jvmti/scenarios/capability/CM03/cm03t001 fails with "ERROR: cm03t001.cpp, 119: jvmti_env->ClearFieldAccessWatch(klass, field)"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 21, 22, 23
    • hotspot
    • x86_64
    • os_x, windows

      The following test failed in the JDK21 CI:

      vmTestbase/nsk/jvmti/scenarios/capability/CM03/cm03t001/TestDescription.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(8/415)----------
      command: main -agentlib:cm03t001=-waittime=5 nsk.jvmti.scenarios.capability.CM03.cm03t001
      reason: User specified action: run main/othervm/native -agentlib:cm03t001=-waittime=5 nsk.jvmti.scenarios.capability.CM03.cm03t001
      started: Mon Feb 27 01:03:50 GMT 2023
      Mode: othervm [/othervm specified]
      Timeout information:
      --- Timeout information end.
      finished: Mon Feb 27 01:26:16 GMT 2023
      elapsed time (seconds): 1346.0
      ----------configuration:(0/0)----------
      ----------System.out:(1476/88475)----------
      ThreadState(thread='MainThread', state='init') waiting for state debuggeeStarted
      ThreadState(thread='Debuggee Thread', state='init') set state to debuggeeStarted
      ThreadState(thread='Debuggee Thread', state='debuggeeStarted') waiting for state jvmtiInited
      ThreadState(thread='MainThread', state='debuggeeStarted') got state debuggeeStarted
      ThreadState(thread='MainThread', state='debuggeeStarted') set state to jvmtiInited
      ThreadState(thread='MainThread', state='jvmtiInited') waiting for state debuggeeWaiting
      ThreadState(thread='Debuggee Thread', state='jvmtiInited') got state jvmtiInited
      ThreadState(thread='Debuggee Thread', state='jvmtiInited') set state to debuggeeWaiting
      ThreadState(thread='MainThread', state='debuggeeWaiting') got state debuggeeWaiting
      ThreadState(thread='Debuggee Thread', state='debuggeeWaiting') set state to debuggeeWaiting
      ThreadState(thread='Debuggee Thread', state='debuggeeWaiting') set state to debuggeeThreadDeath
      The following fake exception stacktrace is for failure analysis.
      nsk.share.Fake_Exception_for_RULE_Creation: (cm03t001.cpp:119) jvmti_env->ClearFieldAccessWatch(klass, field)
      at nsk_lvcomplain(nsk_tools.cpp:172)
      # ERROR: cm03t001.cpp, 119: jvmti_env->ClearFieldAccessWatch(klass, field)
      # jvmti error: code=21, name=JVMTI_ERROR_INVALID_CLASS
      # ERROR: cm03t001.cpp, 119: jvmti_env->ClearFieldAccessWatch(klass, field)
      # jvmti error: code=21, name=JVMTI_ERROR_INVALID_CLASS
      # ERROR: cm03t001.cpp, 119: jvmti_env->ClearFieldAccessWatch(klass, field)
      # jvmti error: code=21, name=JVMTI_ERROR_INVALID_CLASS

      <snip>

      # ERROR: cm03t001.cpp, 119: jvmti_env->ClearFieldAccessWatch(klass, field)
      # jvmti error: code=21, name=JVMTI_ERROR_INVALID_CLASS
      # ERROR: cm03t001.cpp, 119: jvmti_env->ClearFieldAccessWatch(klass, field)
      # jvmti error: code=21, name=JVMTI_ERROR_INVALID_CLASS
      # ERROR: cm03t001.cpp, 119: jvmti_env->ClearFieldAccessWatch(klass, field)
      # jvmti error:

      ...
      Output overflow:
      JT Harness has limited the test output to the text
      at the beginning and the end, so that you can see how the
      test began, and how it completed.

      If you need to see more of the output from the test,
      set the system property javatest.maxOutputSize to a higher
      value. The current value is 100000
      ...

      rror: code=21, name=JVMTI_ERROR_INVALID_CLASS
      # jvmti error: code=21, name=JVMTI_ERROR_INVALID_CLASS
      # jvmti error: code=21, name=JVMTI_ERROR_INVALID_CLASS
      # jvmti error: code=21, name=JVMTI_ERROR_INVALID_CLASS

      <snip>

      # jvmti error: code=21, name=JVMTI_ERROR_INVALID_CLASS
      # jvmti error: code=21, name=JVMTI_ERROR_INVALID_CLASS
      # jvmti error: code=21, name=JVMTI_ERROR_INVALID_CLASS
      ----------System.err:(0/0)----------
      ----------rerun:(38/9273)*----------

      <snip>

      result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-21+12-919/macosx-x64-debug.jdk/jdk-21/fastdebug/bin/java' timed out (timeout set to 1200000ms, elapsed time including timeout handling was 1345987ms).


      This is the third unresolved issue for this test:
      vmTestbase/nsk/jvmti/scenarios/capability/CM03/cm03t001/TestDescription.java

            sspitsyn Serguei Spitsyn
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: