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

[TESTBUG] gc/shenandoah/mxbeans/TestPauseNotifications.java fails in windows-x64 / test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 24
    • hotspot
    • gc
    • x86_64
    • windows

      GHA Sanity Checks workflow seemed to catch a test bug in shenandoah,
      https://github.com/pengxiaolong/jdk/actions/runs/9704355781/job/26785677573#logs

      windows-x64 / test

      ```
      TEST: gc/shenandoah/mxbeans/TestPauseNotifications.java#passive
      TEST JDK: d:\a\jdk\jdk\bundles\jdk\jdk-24\fastdebug

      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.157 seconds
      messages:
      command: build TestPauseNotifications
      reason: Named class compiled on demand
      started: Thu Jun 27 23:50:25 UTC 2024
      Test directory:
        compile: TestPauseNotifications
      finished: Thu Jun 27 23:50:25 UTC 2024
      elapsed time (seconds): 0.157

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.157 seconds
      messages:
      command: compile D:\a\jdk\jdk\test\hotspot\jtreg\gc\shenandoah\mxbeans\TestPauseNotifications.java
      reason: .class file out of date or does not exist
      started: Thu Jun 27 23:50:25 UTC 2024
      Mode: agentvm
      Agent id: 7
      finished: Thu Jun 27 23:50:25 UTC 2024
      elapsed time (seconds): 0.157
      configuration:
      Boot Layer (javac runtime environment)
        class path: D:\a\jdk\jdk\jtreg\installed\lib\javatest.jar
                    D:\a\jdk\jdk\jtreg\installed\lib\jtreg.jar
        patch: java.base D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\patches\java.base

      javac compilation environment
        source path: D:\a\jdk\jdk\test\hotspot\jtreg\gc\shenandoah\mxbeans
                     D:\a\jdk\jdk\test\lib
                     D:\a\jdk\jdk\test\hotspot\jtreg
        class path: D:\a\jdk\jdk\test\hotspot\jtreg\gc\shenandoah\mxbeans
                     D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_passive.d
                     D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\test\lib
                     D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes

      at TestPauseNotifications.main(TestPauseNotifications.java:226)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      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.IllegalStateException: Pauses duration (590) is expected to be not larger than cycles duration (560)
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.IllegalStateException: Pauses duration (590) is expected to be not larger than cycles duration (560)
      rerun:
      cd 'D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\scratch_1' && \
      PATH='C:\hostedtoolcache\windows\msys2\msys64\usr\bin;D:\a\_temp\setup-msys2' \
      SystemDrive=C: \
      SystemRoot='C:\Windows' \
      TEMP='C:\Users\RUNNER~1\AppData\Local\Temp' \
      TEST_IMAGE_DIR='d:\a\jdk\jdk\bundles\tests' \
      TMP='C:\Users\RUNNER~1\AppData\Local\Temp' \
      _NT_SYMBOL_PATH=' d:\a\jdk\jdk\bundles\symbols\jdk-24\fastdebug\bin;d:\a\jdk\jdk\bundles\symbols\jdk-24\fastdebug\bin\server' \
      windir='C:\Windows' \
      CLASSPATH='D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_passive.d;D:\a\jdk\jdk\test\hotspot\jtreg\gc\shenandoah\mxbeans;D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\test\lib;D:\a\jdk\jdk\test\lib;D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes;D:\a\jdk\jdk\test\hotspot\jtreg;D:\a\jdk\jdk\jtreg\installed\lib\javatest.jar;D:\a\jdk\jdk\jtreg\installed\lib\jtreg.jar' \
          'd:\a\jdk\jdk\bundles\jdk\jdk-24\fastdebug\bin\java' \
              -Dtest.vm.opts='-XX:MaxRAMPercentage=25 -Dtest.boot.jdk=d:\a\jdk\jdk\bootjdk\jdk -Djava.io.tmpdir=d:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\tmp -XX:+CreateCoredumpOnCrash' \
              -Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=25 -J-Dtest.boot.jdk=d:\a\jdk\jdk\bootjdk\jdk -J-Djava.io.tmpdir=d:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\tmp -J-XX:+CreateCoredumpOnCrash' \
              -Dtest.compiler.opts= \
              -Dtest.java.opts=-XX:-CreateCoredumpOnCrash \
              -Dtest.jdk='d:\a\jdk\jdk\bundles\jdk\jdk-24\fastdebug' \
              -Dcompile.jdk='d:\a\jdk\jdk\bundles\jdk\jdk-24\fastdebug' \
              -Dtest.timeout.factor=4.0 \
              -Dtest.nativepath='d:\a\jdk\jdk\bundles\tests\hotspot\jtreg\native' \
              -Dtest.root='D:\a\jdk\jdk\test\hotspot\jtreg' \
              -Dtest.name=gc/shenandoah/mxbeans/TestPauseNotifications.java#passive \
              -Dtest.file='D:\a\jdk\jdk\test\hotspot\jtreg\gc\shenandoah\mxbeans\TestPauseNotifications.java' \
              -Dtest.src='D:\a\jdk\jdk\test\hotspot\jtreg\gc\shenandoah\mxbeans' \
              -Dtest.src.path='D:\a\jdk\jdk\test\hotspot\jtreg\gc\shenandoah\mxbeans;D:\a\jdk\jdk\test\lib;D:\a\jdk\jdk\test\hotspot\jtreg' \
              -Dtest.classes='D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_passive.d' \
              -Dtest.class.path='D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_passive.d;D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\test\lib;D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes' \
              -Dtest.class.path.prefix='D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\gc\shenandoah\mxbeans\TestPauseNotifications_passive.d;D:\a\jdk\jdk\test\hotspot\jtreg\gc\shenandoah\mxbeans;D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes\test\lib;D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\classes' \
              -XX:MaxRAMPercentage=25 \
              '-Dtest.boot.jdk=d:\a\jdk\jdk\bootjdk\jdk' \
              '-Djava.io.tmpdir=d:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\tmp' \
              -XX:+CreateCoredumpOnCrash \
              -XX:-CreateCoredumpOnCrash \
              '-Djava.library.path=d:\a\jdk\jdk\bundles\tests\hotspot\jtreg\native' \
              -Xmx128m \
              -XX:+UnlockDiagnosticVMOptions \
              -XX:+UnlockExperimentalVMOptions \
              -XX:+UseShenandoahGC \
              -XX:ShenandoahGCMode=passive \
              -XX:+ShenandoahDegeneratedGC \
              com.sun.javatest.regtest.agent.MainWrapper 'D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_gc\gc\shenandoah\mxbeans\TestPauseNotifications_passive.d\main.0.jta'

      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Pauses duration (590) is expected to be not larger than cycles duration (560)
      ```

            Unassigned Unassigned
            xpeng Xiaolong Peng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: