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

gc/shenandoah/mxbeans tests fail with -Xcomp

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b07
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        gc/shenandoah/mxbeans/TestChurnNotifications.java got failure on both x86 and other aarch64 platforms.

        #Test Results (version 2)
        #Wed Dec 30 04:54:12 UTC 2020
        #-----testdescription-----
        $file=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestChurnNotifications.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 -Dprecise\=true TestChurnNotifications\nUSER_SPECIFIED main/othervm -Xmx128m -XX\:+UnlockDiagnosticVMOptions -XX\:+UnlockExperimentalVMOptions -XX\:+UseShenandoahGC -XX\:ShenandoahGCMode\=passive -XX\:-ShenandoahDegeneratedGC -Dprecise\=true TestChurnNotifications\n
        source=TestChurnNotifications.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/TestChurnNotifications.java\#id0
        elapsed=19364 0\:00\:19.364
        end=Wed Dec 30 04\:54\:12 UTC 2020
        environment=regtest
        execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.IllegalStateException\: Expected \= [1871; 2127] (1999), 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\:53\:52 UTC 2020
        test=gc/shenandoah/mxbeans/TestChurnNotifications.java\#id0
        testJDK=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_build/images/jdk
        totalTime=19366
        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 TestChurnNotifications
        reason: Named class compiled on demand
        Test directory:
          compile: TestChurnNotifications
        elapsed time (seconds): 2.821
        result: Passed. Build successful

        #section:compile
        ----------messages:(5/242)----------
        command: compile /home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestChurnNotifications.java
        reason: .class file out of date or does not exist
        Mode: agentvm
        Agent id: 1
        elapsed time (seconds): 2.82
        ----------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/TestChurnNotifications_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/TestChurnNotifications.java#id0 \\
                -J-Dtest.file=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestChurnNotifications.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/TestChurnNotifications_id0.d \\
                -J-Dtest.class.path=/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestChurnNotifications_id0.d \\
                -J-Dtest.class.path.prefix=/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestChurnNotifications_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/TestChurnNotifications_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/TestChurnNotifications_id0.d /home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestChurnNotifications.java
        result: Passed. Compilation successful

        #section:main
        ----------messages:(4/509)----------
        command: main -Xmx128m -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive -XX:+ShenandoahDegeneratedGC -Dprecise=true TestChurnNotifications
        reason: User specified action: run main/othervm -Xmx128m -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive -XX:+ShenandoahDegeneratedGC -Dprecise=true TestChurnNotifications
        Mode: othervm [/othervm specified]
        elapsed time (seconds): 16.542
        ----------configuration:(0/0)----------
        ----------System.out:(0/0)----------
        ----------System.err:(13/902)----------
        java.lang.IllegalStateException: Expected = [1871; 2127] (1999), actual = 0
        at TestChurnNotifications.main(TestChurnNotifications.java:173)
        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: Expected = [1871; 2127] (1999), actual = 0
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.IllegalStateException: Expected = [1871; 2127] (1999), actual = 0
        ----------rerun:(40/3488)*----------
        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/TestChurnNotifications_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/TestChurnNotifications.java#id0 \\
                -Dtest.file=/home/ent-user/ci-scripts/work-vmoptsXcomp/jdk_src/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestChurnNotifications.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/TestChurnNotifications_id0.d \\
                -Dtest.class.path=/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestChurnNotifications_id0.d \\
                -Dtest.class.path.prefix=/home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/classes/gc/shenandoah/mxbeans/TestChurnNotifications_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 \\
                -Dprecise=true \\
                com.sun.javatest.regtest.agent.MainWrapper /home/ent-user/ci-scripts/work-vmoptsXcomp/jtwork_rerun/gc/shenandoah/mxbeans/TestChurnNotifications_id0.d/main.0.jta
        result: Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Expected = [1871; 2127] (1999), actual = 0

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: