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

com/sun/jdi/GetLocalVariables3Test.java 'Howdy' missing from stdout/stderr

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • core-svc
    • aarch64
    • os_x

      The following test failed in the JDK24 CI:

      com/sun/jdi/GetLocalVariables3Test.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/307)----------
      command: main GetLocalVariables3Test
      reason: User specified action: run main/othervm GetLocalVariables3Test
      started: Sat Aug 03 15:22:06 GMT 2024
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jdi
      finished: Sat Aug 03 15:22:14 GMT 2024
      elapsed time (seconds): 8.107
      ----------configuration:(3/35)----------
      Boot Layer
        add modules: jdk.jdi

      ----------System.out:(37/4462)----------
      Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+10-1007/macosx-aarch64-debug.jdk/jdk-24/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S160584/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8a9a8051-d2e2-4f66-9277-e72b6827cec9/runs/39cfe144-7bb9-409a-b155-af4c003cafdb/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/3/com/sun/jdi/GetLocalVariables3Test.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+10-1007/src.full/open/test/jdk/com/sun/jdi:/System/Volumes/Data/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S160584/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8a9a8051-d2e2-4f66-9277-e72b6827cec9/runs/39cfe144-7bb9-409a-b155-af4c003cafdb/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/3/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+10-1007/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/jtreg.jar -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/22/36/bundles/macos-aarch64/jdk-22_macos-aarch64_bin.tar.gz/jdk-22.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S160584/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8a9a8051-d2e2-4f66-9277-e72b6827cec9/runs/39cfe144-7bb9-409a-b155-af4c003cafdb/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa -XX:+UseZGC -XX:-ZGenerational -agentlib:jdwp=transport=dt_socket,server=y,suspend=y GetLocalVariables3Targ ]
      [debuggee]:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+10-1007/macosx-aarch64-debug.jdk/jdk-24/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S160584/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8a9a8051-d2e2-4f66-9277-e72b6827cec9/runs/39cfe144-7bb9-409a-b155-af4c003cafdb/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/3/com/sun/jdi/GetLocalVariables3Test.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+10-1007/src.full/open/test/jdk/com/sun/jdi:/System/Volumes/Data/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S160584/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8a9a8051-d2e2-4f66-9277-e72b6827cec9/runs/39cfe144-7bb9-409a-b155-af4c003cafdb/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/3/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+10-1007/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/jtreg.jar -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/22/36/bundles/macos-aarch64/jdk-22_macos-aarch64_bin.tar.gz/jdk-22.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S160584/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8a9a8051-d2e2-4f66-9277-e72b6827cec9/runs/39cfe144-7bb9-409a-b155-af4c003cafdb/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa -XX:+UseZGC -XX:-ZGenerational -agentlib:jdwp=transport=dt_socket,server=y,suspend=y GetLocalVariables3Targ
      [debuggee] Listening for transport dt_socket at address: 58122
      [jdb] Set uncaught java.lang.Throwable
      [jdb] Set deferred uncaught java.lang.Throwable
      [jdb] Initializing jdb ...
      [jdb]
      [jdb] VM Started: > No frames on the current call stack
      [jdb]
      [jdb] main[1]
      > stop at GetLocalVariables3Targ:45
      [jdb] Deferring breakpoint GetLocalVariables3Targ:45.
      [jdb] It will be set after the class is loaded.
      [jdb] main[1]
      > run
      [debuggee] Howdy!
      [jdb] > Set deferred breakpoint GetLocalVariables3Targ:45
      [jdb]
      [jdb] Breakpoint hit: "thread=main", GetLocalVariables3Targ.main(), line=45 bci=16
      [jdb] 45 k = j; i = k - 1; // @1 breakpoint
      [jdb]
      [jdb] main[1]
      > locals
      [jdb] Method arguments:
      [jdb] args = instance of java.lang.String[0] (id=766)
      [jdb] Local variables:
      [jdb] i = 1
      [jdb] j = 1
      [jdb] main[1]
      > cont
      [debuggee] Goodbye from GetLocalVariables3Targ!
      [jdb] >
      [jdb] The application exited
      [jdb]
      =======================================
      Exception thrown during test execution: 'Howdy' missing from stdout/stderr
      =======================================
      ----------System.err:(22/1654)----------
      Java HotSpot(TM) 64-Bit Server VM warning: Option ZGenerational was deprecated in version 23.0 and will likely be removed in a future release.
      Java HotSpot(TM) 64-Bit Server VM warning: Non-generational ZGC is deprecated.
      [debuggee] Java HotSpot(TM) 64-Bit Server VM warning: Option ZGenerational was deprecated in version 23.0 and will likely be removed in a future release.
      [debuggee] Java HotSpot(TM) 64-Bit Server VM warning: Non-generational ZGC is deprecated.
       stdout: [Java HotSpot(TM) 64-Bit Server VM warning: Option ZGenerational was deprecated in version 23.0 and will likely be removed in a future release.];
       stderr: [Java HotSpot(TM) 64-Bit Server VM warning: Option ZGenerational was deprecated in version 23.0 and will likely be removed in a future release.]
       exitValue = -1

      java.lang.RuntimeException: 'Howdy' missing from stdout/stderr
      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:252)
      at GetLocalVariables3Test.runCases(GetLocalVariables3Test.java:76)
      at lib.jdb.JdbTest.run(JdbTest.java:96)
      at GetLocalVariables3Test.main(GetLocalVariables3Test.java:54)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:588)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 'Howdy' missing from stdout/stderr
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 'Howdy' missing from stdout/stderr
      ----------rerun:(41/7345)*----------


      Please note the following line in the output:

      [debuggee] Howdy!

      I don't know if that's the 'Howdy' that the test was expecting,
      but it's not on a line by itself so maybe that's the issue.

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

              Created:
              Updated: