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

Test testlibrary_tests/ir_framework/tests/TestPrivilegedMode.java fails with release build

XMLWordPrintable

    • 24
    • b11
    • generic
    • generic

        Test log snippet:
        STDOUT:
        IR verification disabled due to not running a debug build (required for PrintIdealand PrintOptoAssembly), running with -Xint, or -Xcomp (use warm-up of 0 instead)
        Skip Flag VM due to not performing IR verification.
        Run Test VM:
        Command line: [/var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/java -cp /var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/11/testlibrary_tests/ir_framework/tests/TestPrivilegedMode.d:/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/testlibrary_tests/ir_framework/tests:/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/11/test/lib:/var/tmp/tone/run/jtreg/jdk-repo/test/lib:/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/11:/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg:/var/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/var/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar -Djava.library.path=/var/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Djdk.lang.processReaperUseDefaultStackSize=true -Dtest.wisp.socketAddress=www.alibabacloud.com -Xmixed -ea -esa -Dir.framework.server.port=39067 -XX:-BackgroundCompilation -XX:CompileCommand=quiet compiler.lib.ir_framework.test.TestVM ir_framework.tests.TestPrivilegedMode ]
        [2024-08-09T10:45:33.519775771Z] Gathering output for process 1022474
        [2024-08-09T10:45:33.531373782Z] Waiting for completion for process 1022474
        [2024-08-09T10:45:33.863238320Z] Waiting for completion finished for process 1022474
        Output and diagnostic info for process 1022474 was saved into 'pid-1022474-output.log'
        IR verification disabled either due to no @IR annotations, through explicitly setting -DVerify=false, due to not running a debug build, using a non-whitelisted JTreg VM or Javaopts flag like -Xint, or running the test VM with other VM flags added by user code that make the IR verification impossible (e.g. -XX:-UseCompile, -XX:TieredStopAtLevel=[1,2,3], etc.).

        STDERR:
        java.lang.RuntimeException: should not reach
        at jdk.test.lib.Asserts.fail(Asserts.java:691)
        at ir_framework.tests.TestPrivilegedMode.main(TestPrivilegedMode.java:47

          1. configure.log
            19 kB
          2. configure-command.txt
            0.6 kB
          3. TestPrivilegedMode.java.log
            11 kB
          4. version-info.txt
            2 kB

              syan Sendao Yan
              syan Sendao Yan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: