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

gc/shenandoah/mxbeans/TestPauseNotifications.java randomly failed with -Xcomp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      generic
    • OS:
      generic

      Description

      This fails on both aarch64 and x86.

      #Test Results (version 2)
      #Wed Dec 30 04:56:21 UTC 2020
      #-----testdescription-----
      $file=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.java
      $root=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg
      id=id0
      keywords=othervm
      requires=vm.gc.Shenandoah
      run=USER_SPECIFIED main/othervm -Xmx128m -XX\:+UnlockDiagnosticVMOptions -XX\:+UnlockExperimentalVMOptions -XX\:+UseShenandoahGC -XX\:ShenandoahGCMode\=passive -XX\:+ShenandoahDegeneratedGC TestPauseNotifications\nUSER_SPECIFIED main/othervm -Xmx128m -XX\:+UnlockDiagnosticVMOptions -XX\:+UnlockExperimentalVMOptions -XX\:+UseShenandoahGC -XX\:ShenandoahGCMode\=passive -XX\:-ShenandoahDegeneratedGC TestPauseNotifications\n
      source=TestPauseNotifications.java
      title=Check that MX notifications are reported for all cycles

      #-----environment-----

      #-----testresult-----
      description=file\:/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.java\#id0
      elapsed=17288 0\:00\:17.288
      end=Wed Dec 30 04\:56\:21 UTC 2020
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.IllegalStateException\: Pauses expected \= [1; 9223372036854775807], actual \= 0
      harnessLoaderMode=Classpath Loader
      harnessVariety=Full Bundle
      hostname=ent-arm-15-ubuntu-openjdk-test
      javatestOS=Linux 4.15.0-55-generic (aarch64)
      javatestVersion=6.0-ea+b11-2020-12-21
      jtregVersion=jtreg 5.1 dev b01
      script=com.sun.javatest.regtest.exec.RegressionScript
      sections=script_messages build compile main
      start=Wed Dec 30 04\:56\:03 UTC 2020
      test=gc/shenandoah/mxbeans/TestPauseNotifications.java\#id0
      testJDK=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk
      totalTime=17290
      user.name=ent-user
      work=/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/gc/shenandoah/mxbeans

      #section:script_messages
      ----------messages:(4/290)----------
      JDK under test: /home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk
      openjdk version "16-internal" 2021-03-16
      OpenJDK Runtime Environment (fastdebug build 16-internal+0-git-fb607f165)
      OpenJDK 64-Bit Server VM (fastdebug build 16-internal+0-git-fb607f165, compiled mode, sharing)

      #section:build
      ----------messages:(5/157)----------
      command: build TestPauseNotifications
      reason: Named class compiled on demand
      Test directory:
        compile: TestPauseNotifications
      elapsed time (seconds): 0.788
      result: Passed. Build successful

      #section:compile
      ----------messages:(5/243)----------
      command: compile /home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.java
      reason: .class file out of date or does not exist
      Mode: agentvm
      Agent id: 1
      elapsed time (seconds): 0.787
      ----------configuration:(10/672)----------
      Boot Layer (javac runtime environment)
        class path: /home/ent-user/jtreg/jtreg-hg/build/images/jtreg/lib/javatest.jar
                    /home/ent-user/jtreg/jtreg-hg/build/images/jtreg/lib/jtreg.jar
        patch: java.base /home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/patches/java.base

      javac compilation environment
        source path: /home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans
        class path: /home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans
                     /home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestPauseNotifications_id0.d

      ----------rerun:(34/3369)*----------
      cd /home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/scratch && \\
      DISPLAY=:99 \\
      HOME=/home/ent-user \\
      PATH=/bin:/usr/bin:/usr/sbin \\
          /home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk/bin/javac \\
              -J-ea \\
              -J-esa \\
              -J-Xmx768m \\
              -J-server \\
              -J-Xcomp \\
              -J-Dgraalunit.libs=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk/../test/hotspot/jtreg/graal \\
              -J-Djdk.test.docker.image.name=ubuntu \\
              -J-Djdk.test.docker.image.version=20.04 \\
              -J-Djava.net.preferIPv4Stack=true \\
              -J-Djava.library.path=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/test/hotspot/jtreg/native \\
              -J-Dtest.vm.opts='-ea -esa -Xmx768m -server -Xcomp -Dgraalunit.libs=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk/../test/hotspot/jtreg/graal -Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=20.04 -Djava.net.preferIPv4Stack=true' \\
              -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx768m -J-server -J-Xcomp -J-Dgraalunit.libs=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk/../test/hotspot/jtreg/graal -J-Djdk.test.docker.image.name=ubuntu -J-Djdk.test.docker.image.version=20.04 -J-Djava.net.preferIPv4Stack=true' \\
              -J-Dtest.compiler.opts= \\
              -J-Dtest.java.opts= \\
              -J-Dtest.jdk=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk \\
              -J-Dcompile.jdk=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk \\
              -J-Dtest.timeout.factor=16.0 \\
              -J-Dtest.nativepath=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/test/hotspot/jtreg/native \\
              -J-Dtest.root=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg \\
              -J-Dtest.name=gc/shenandoah/mxbeans/TestPauseNotifications.java#id0 \\
              -J-Dtest.file=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.java \\
              -J-Dtest.src=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans \\
              -J-Dtest.src.path=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans \\
              -J-Dtest.classes=/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestPauseNotifications_id0.d \\
              -J-Dtest.class.path=/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestPauseNotifications_id0.d \\
              -J-Dtest.class.path.prefix=/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestPauseNotifications_id0.d:/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans \\
              -d /home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestPauseNotifications_id0.d \\
              -sourcepath /home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans \\
              -classpath /home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans:/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestPauseNotifications_id0.d /home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.java
      result: Passed. Compilation successful

      #section:main
      ----------messages:(4/479)----------
      command: main -Xmx128m -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive -XX:+ShenandoahDegeneratedGC TestPauseNotifications
      reason: User specified action: run main/othervm -Xmx128m -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive -XX:+ShenandoahDegeneratedGC TestPauseNotifications
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 16.498
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(13/938)----------
      java.lang.IllegalStateException: Pauses expected = [1; 9223372036854775807], actual = 0
      at TestPauseNotifications.main(TestPauseNotifications.java:164)
      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:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: java.lang.IllegalStateException: Pauses expected = [1; 9223372036854775807], actual = 0
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.IllegalStateException: Pauses expected = [1; 9223372036854775807], actual = 0
      ----------rerun:(39/3462)*----------
      cd /home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/scratch && \\
      DISPLAY=:99 \\
      HOME=/home/ent-user \\
      PATH=/bin:/usr/bin:/usr/sbin \\
      CLASSPATH=/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestPauseNotifications_id0.d:/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans:/home/ent-user/jtreg/jtreg-hg/build/images/jtreg/lib/javatest.jar:/home/ent-user/jtreg/jtreg-hg/build/images/jtreg/lib/jtreg.jar \\
          /home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk/bin/java \\
              -Dtest.vm.opts='-ea -esa -Xmx768m -server -Xcomp -Dgraalunit.libs=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk/../test/hotspot/jtreg/graal -Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=20.04 -Djava.net.preferIPv4Stack=true' \\
              -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx768m -J-server -J-Xcomp -J-Dgraalunit.libs=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk/../test/hotspot/jtreg/graal -J-Djdk.test.docker.image.name=ubuntu -J-Djdk.test.docker.image.version=20.04 -J-Djava.net.preferIPv4Stack=true' \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts= \\
              -Dtest.jdk=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk \\
              -Dcompile.jdk=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk \\
              -Dtest.timeout.factor=16.0 \\
              -Dtest.nativepath=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/test/hotspot/jtreg/native \\
              -Dtest.root=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg \\
              -Dtest.name=gc/shenandoah/mxbeans/TestPauseNotifications.java#id0 \\
              -Dtest.file=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.java \\
              -Dtest.src=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans \\
              -Dtest.src.path=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans \\
              -Dtest.classes=/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestPauseNotifications_id0.d \\
              -Dtest.class.path=/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestPauseNotifications_id0.d \\
              -Dtest.class.path.prefix=/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestPauseNotifications_id0.d:/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans \\
              -ea \\
              -esa \\
              -Xmx768m \\
              -server \\
              -Xcomp \\
              -Dgraalunit.libs=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk/../test/hotspot/jtreg/graal \\
              -Djdk.test.docker.image.name=ubuntu \\
              -Djdk.test.docker.image.version=20.04 \\
              -Djava.net.preferIPv4Stack=true \\
              -Djava.library.path=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/test/hotspot/jtreg/native \\
              -Xmx128m \\
              -XX:+UnlockDiagnosticVMOptions \\
              -XX:+UnlockExperimentalVMOptions \\
              -XX:+UseShenandoahGC \\
              -XX:ShenandoahGCMode=passive \\
              -XX:+ShenandoahDegeneratedGC \\
              com.sun.javatest.regtest.agent.MainWrapper /home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/gc/shenandoah/mxbeans/TestPauseNotifications_id0.d/main.0.jta
      result: Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Pauses expected = [1; 9223372036854775807], actual = 0

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              eliu Eric Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: