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

compiler/c2/irTests/TestFewIterationsCountedLoop.java fails with "Did not find IR encoding"

    XMLWordPrintable

Details

    • x86_64
    • windows

    Description

      The following test failed in the JDK19 CI:

      compiler/c2/irTests/TestFewIterationsCountedLoop.java

      Here's a snippet from the log file:

      ----------System.out:(34/12011)*----------
      Run Flag VM:
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\windows-x64-debug.jdk\\jdk-19\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1\\compiler\\c2\\irTests\\TestFewIterationsCountedLoop.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\src.full\\open\\test\\hotspot\\jtreg\\compiler\\c2\\irTests;C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1\\test\\lib;C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jtreg.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\junit.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\hamcrest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\testng.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jcommander.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\guice.jar -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=c:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Dtest.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\windows-x64-debug.jdk\\jdk-19\\fastdebug -Djava.library.path=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\windows-x64-debug.test\\hotspot\\jtreg\\native -cp C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1\\compiler\\c2\\irTests\\TestFewIterationsCountedLoop.d;C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1\\test\\lib;C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:LoopUnrollLimit=0 compiler.lib.ir_framework.flag.FlagVM compiler.c2.irTests.TestFewIterationsCountedLoop ]
      [2022-06-21T09:11:14.292048400Z] Gathering output for process 28076
      [2022-06-21T09:11:15.806406800Z] Waiting for completion for process 28076
      [2022-06-21T09:11:15.806406800Z] Waiting for completion finished for process 28076
      Output and diagnostic info for process 28076 was saved into 'pid-28076-output.log'
      [2022-06-21T09:11:15.819033900Z] Waiting for completion for process 28076
      [2022-06-21T09:11:15.819033900Z] Waiting for completion finished for process 28076
      Run Test VM - [-XX:LoopUnrollLimit=0]:
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\windows-x64-debug.jdk\\jdk-19\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1\\compiler\\c2\\irTests\\TestFewIterationsCountedLoop.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\src.full\\open\\test\\hotspot\\jtreg\\compiler\\c2\\irTests;C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1\\test\\lib;C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jtreg.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\junit.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\hamcrest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\testng.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jcommander.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\guice.jar -Djava.library.path=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\windows-x64-debug.test\\hotspot\\jtreg\\native -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=c:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Dir.framework.server.port=53045 -XX:LoopUnrollLimit=0 -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation -XX:CompileCommand=log,compiler.c2.irTests.TestFewIterationsCountedLoop::* -XX:CompileCommand=option,compiler.c2.irTests.TestFewIterationsCountedLoop::*,bool,PrintIdeal,true -XX:CompileCommand=option,compiler.c2.irTests.TestFewIterationsCountedLoop::*,bool,PrintOptoAssembly,true -XX:-OmitStackTraceInFastThrow -DShouldDoIRVerification=true -XX:-BackgroundCompilation -XX:CompileCommand=quiet compiler.lib.ir_framework.test.TestVM compiler.c2.irTests.TestFewIterationsCountedLoop ]
      [2022-06-21T09:11:15.829118400Z] Gathering output for process 7920
      [2022-06-21T09:11:17.482258600Z] Waiting for completion for process 7920
      [2022-06-21T09:11:17.482258600Z] Waiting for completion finished for process 7920
      Output and diagnostic info for process 7920 was saved into 'pid-7920-output.log'
      [2022-06-21T09:11:17.482258600Z] Waiting for completion for process 7920
      [2022-06-21T09:11:17.482258600Z] Waiting for completion finished for process 7920

      Run Flag VM:
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\windows-x64-debug.jdk\\jdk-19\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1\\compiler\\c2\\irTests\\TestFewIterationsCountedLoop.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\src.full\\open\\test\\hotspot\\jtreg\\compiler\\c2\\irTests;C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1\\test\\lib;C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jtreg.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\junit.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\hamcrest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\testng.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jcommander.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\guice.jar -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=c:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Dtest.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\windows-x64-debug.jdk\\jdk-19\\fastdebug -Djava.library.path=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\windows-x64-debug.test\\hotspot\\jtreg\\native -cp C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1\\compiler\\c2\\irTests\\TestFewIterationsCountedLoop.d;C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1\\test\\lib;C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI compiler.lib.ir_framework.flag.FlagVM compiler.c2.irTests.TestFewIterationsCountedLoop ]
      [2022-06-21T09:11:17.685390100Z] Gathering output for process 22708
      [2022-06-21T09:11:20.722117100Z] Waiting for completion for process 22708
      [2022-06-21T09:11:20.722117100Z] Waiting for completion finished for process 22708
      Output and diagnostic info for process 22708 was saved into 'pid-22708-output.log'
      [2022-06-21T09:11:20.722117100Z] Waiting for completion for process 22708
      [2022-06-21T09:11:20.722117100Z] Waiting for completion finished for process 22708
      Run Test VM:
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\windows-x64-debug.jdk\\jdk-19\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1\\compiler\\c2\\irTests\\TestFewIterationsCountedLoop.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\src.full\\open\\test\\hotspot\\jtreg\\compiler\\c2\\irTests;C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1\\test\\lib;C:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\classes\\1;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jtreg.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\junit.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\hamcrest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\testng.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jcommander.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\guice.jar -Djava.library.path=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-19+28-2097\\windows-x64-debug.test\\hotspot\\jtreg\\native -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=c:\\sb\\prod\\1655802285\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_compiler_1\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Dir.framework.server.port=53055 -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation -XX:CompileCommand=log,compiler.c2.irTests.TestFewIterationsCountedLoop::* -XX:CompileCommand=option,compiler.c2.irTests.TestFewIterationsCountedLoop::*,bool,PrintIdeal,true -XX:CompileCommand=option,compiler.c2.irTests.TestFewIterationsCountedLoop::*,bool,PrintOptoAssembly,true -XX:-OmitStackTraceInFastThrow -DShouldDoIRVerification=true -XX:-BackgroundCompilation -XX:CompileCommand=quiet compiler.lib.ir_framework.test.TestVM compiler.c2.irTests.TestFewIterationsCountedLoop ]
      [2022-06-21T09:11:20.737744400Z] Gathering output for process 26204
      [2022-06-21T09:11:22.712401600Z] Waiting for completion for process 26204
      [2022-06-21T09:11:22.712401600Z] Waiting for completion finished for process 26204
      Output and diagnostic info for process 26204 was saved into 'pid-26204-output.log'
      [2022-06-21T09:13:07.156611100Z] Waiting for completion for process 26204
      [2022-06-21T09:13:07.156611100Z] Waiting for completion finished for process 26204

      ----------System.err:(23/1805)----------
      compiler.lib.ir_framework.shared.TestFrameworkException: Internal Test Framework exception - please file a bug:
      Did not find IR encoding
      at compiler.lib.ir_framework.TestFramework.check(TestFramework.java:745)
      at compiler.lib.ir_framework.driver.irmatching.parser.IREncodingParser.getIREncodingLines(IREncodingParser.java:101)
      at compiler.lib.ir_framework.driver.irmatching.parser.IREncodingParser.parseIREncoding(IREncodingParser.java:82)
      at compiler.lib.ir_framework.driver.irmatching.parser.IREncodingParser.createCompilationsMap(IREncodingParser.java:73)
      at compiler.lib.ir_framework.driver.irmatching.parser.IREncodingParser.parseIRMethods(IREncodingParser.java:63)
      at compiler.lib.ir_framework.driver.irmatching.parser.IRMethodParser.parse(IRMethodParser.java:51)
      at compiler.lib.ir_framework.driver.irmatching.IRMatcher.<init>(IRMatcher.java:41)
      at compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:729)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:698)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:329)
      at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:215)
      at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:204)
      at compiler.c2.irTests.TestFewIterationsCountedLoop.main(TestFewIterationsCountedLoop.java:41)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:1596)

      JavaTest Message: Test threw exception: compiler.lib.ir_framework.shared.TestFrameworkException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: compiler.lib.ir_framework.shared.TestFrameworkException: Internal Test Framework exception - please file a bug: Did not find IR encoding

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: