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

ProblemList serviceability/sa/sadebugd/DisableRegistryTest.java on ZGC

XMLWordPrintable

    • b20

      The following test fails in the JDK17 CI with ZGC:

      serviceability/sa/sadebugd/DisableRegistryTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/169)----------
      command: main DisableRegistryTest
      reason: User specified action: run main/othervm DisableRegistryTest
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 18.537
      ----------configuration:(0/0)----------
      ----------System.out:(18/3081)----------
      Command line: ['/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+20-1639/linux-x64-debug.jdk/jdk-17/fastdebug/bin/java' '-XX:MaxRAMPercentage=4' '-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78971/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5c72f367-bad9-4ffa-897b-7e6e2b389d73/runs/b5112ed9-2083-4ef9-8a50-5b8c66a1b000/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/tmp' '-XX:+CreateCoredumpOnCrash' '-XX:+UseZGC' '-cp' '/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78971/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5c72f367-bad9-4ffa-897b-7e6e2b389d73/runs/b5112ed9-2083-4ef9-8a50-5b8c66a1b000/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/2/serviceability/sa/sadebugd/DisableRegistryTest.d:/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78971/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5c72f367-bad9-4ffa-897b-7e6e2b389d73/runs/b5112ed9-2083-4ef9-8a50-5b8c66a1b000/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/2/test/lib' 'jdk.test.lib.apps.LingeredApp' '4a4c4dbd-406e-41b6-890c-6b06dec25ca2.lck']
      Command line: ['/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+20-1639/linux-x64-debug.jdk/jdk-17/fastdebug/bin/java' '-XX:MaxRAMPercentage=4' '-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78971/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5c72f367-bad9-4ffa-897b-7e6e2b389d73/runs/b5112ed9-2083-4ef9-8a50-5b8c66a1b000/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/tmp' '-XX:+CreateCoredumpOnCrash' '-XX:+UseZGC' '-cp' '/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78971/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5c72f367-bad9-4ffa-897b-7e6e2b389d73/runs/b5112ed9-2083-4ef9-8a50-5b8c66a1b000/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/2/serviceability/sa/sadebugd/DisableRegistryTest.d:/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78971/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5c72f367-bad9-4ffa-897b-7e6e2b389d73/runs/b5112ed9-2083-4ef9-8a50-5b8c66a1b000/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/2/test/lib' 'jdk.test.lib.apps.LingeredApp' '347019ed-ce88-4ccb-9a8b-e3b5cd793e9d.lck']
      [2021-04-22T18:40:48.248224900Z] Gathering output for process 12474
      Attaching to remote server localhost:10000, please wait...
      Debugger attached successfully.
      Server compiler detected.
      JVM version is 17-ea+20-LTS-1639
      Java System Properties:


      [2021-04-22T18:40:49.664191385Z] Waiting for completion for process 12474
      [2021-04-22T18:40:49.664441467Z] Waiting for completion finished for process 12474
       LingeredApp stdout: [];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
       LingeredApp stdout: [];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
      ----------System.err:(89/6378)----------
      java.lang.ExceptionInInitializerError
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZAddress.is_weak_bad(ZAddress.java:43)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZAddress.is_weak_good_or_null(ZAddress.java:51)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZBarrier.is_weak_good_or_null_fast_path(ZBarrier.java:32)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZBarrier.weak_barrier(ZBarrier.java:76)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZCollectedHeap.oop_load_barrier(ZCollectedHeap.java:88)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZCollectedHeap.oop_load_in_native(ZCollectedHeap.java:110)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.VMOopHandle.resolve(VMOopHandle.java:60)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.Klass.getJavaMirror(Klass.java:114)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.InstanceKlass.iterateStaticFields(InstanceKlass.java:651)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VM.readSystemProperties(VM.java:1092)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VM.getSystemProperties(VM.java:1085)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.SysPropsDumper.run(SysPropsDumper.java:44)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JInfo$1.run(JInfo.java:80)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JInfo.run(JInfo.java:95)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:278)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:241)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:134)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JInfo.runWithArgs(JInfo.java:139)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JInfo.main(JInfo.java:144)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJINFO(SALauncher.java:352)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:499)
      Caused by: java.lang.RuntimeException: No long constant named "ZAddressSpaceStart" present in type database
      at jdk.hotspot.agent/sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupLongConstant(BasicTypeDataBase.java:113)
      at jdk.hotspot.agent/sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupLongConstant(BasicTypeDataBase.java:106)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZGlobals.initialize(ZGlobals.java:93)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZGlobals.lambda$static$0(ZGlobals.java:65)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver(VM.java:578)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZGlobals.<clinit>(ZGlobals.java:65)
      ... 21 more

       stdout: [Attaching to remote server localhost:10000, please wait...
      Debugger attached successfully.
      Server compiler detected.
      JVM version is 17-ea+20-LTS-1639
      Java System Properties:

      ];
       stderr: [java.lang.ExceptionInInitializerError
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZAddress.is_weak_bad(ZAddress.java:43)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZAddress.is_weak_good_or_null(ZAddress.java:51)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZBarrier.is_weak_good_or_null_fast_path(ZBarrier.java:32)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZBarrier.weak_barrier(ZBarrier.java:76)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZCollectedHeap.oop_load_barrier(ZCollectedHeap.java:88)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZCollectedHeap.oop_load_in_native(ZCollectedHeap.java:110)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.VMOopHandle.resolve(VMOopHandle.java:60)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.Klass.getJavaMirror(Klass.java:114)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.InstanceKlass.iterateStaticFields(InstanceKlass.java:651)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VM.readSystemProperties(VM.java:1092)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VM.getSystemProperties(VM.java:1085)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.SysPropsDumper.run(SysPropsDumper.java:44)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JInfo$1.run(JInfo.java:80)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JInfo.run(JInfo.java:95)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:278)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:241)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:134)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JInfo.runWithArgs(JInfo.java:139)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JInfo.main(JInfo.java:144)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJINFO(SALauncher.java:352)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:499)
      Caused by: java.lang.RuntimeException: No long constant named "ZAddressSpaceStart" present in type database
      at jdk.hotspot.agent/sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupLongConstant(BasicTypeDataBase.java:113)
      at jdk.hotspot.agent/sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupLongConstant(BasicTypeDataBase.java:106)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZGlobals.initialize(ZGlobals.java:93)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZGlobals.lambda$static$0(ZGlobals.java:65)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver(VM.java:578)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZGlobals.<clinit>(ZGlobals.java:65)
      ... 21 more
      ]
       exitValue = 1

      java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: stderr was not empty
      at DisableRegistryTest.main(DisableRegistryTest.java:101)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)
      Caused by: java.lang.RuntimeException: stderr was not empty
      at jdk.test.lib.process.OutputAnalyzer.stderrShouldBeEmptyIgnoreDeprecatedWarnings(OutputAnalyzer.java:162)
      at DisableRegistryTest.test(DisableRegistryTest.java:73)
      at DisableRegistryTest.main(DisableRegistryTest.java:96)
      ... 6 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: stderr was not empty
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: stderr was not empty
      ----------rerun:(36/7165)*----------


      This failure first occurs in jdk-17+20-1639-tier3 which includes:

      JDK-8263636 Add --disable-registry option to jhsdb debugd

      so it's likely that JDK-8263636 is the cause of these failures.

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

              Created:
              Updated:
              Resolved: