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

TestCompilerCounts fails after 8354727

XMLWordPrintable

    • Fix Understood

      We see test failures after JDK-8354727 in the new test from JDK-8356000:

      java.lang.AssertionError: Option 'CICompilerCount' is expected to have '12' value

      at jdk.test.lib.cli.CommandLineOptionTest.verifyOptionValue(CommandLineOptionTest.java:309)
      at jdk.test.lib.cli.CommandLineOptionTest.verifyOptionValue(CommandLineOptionTest.java:282)
      at jdk.test.lib.cli.CommandLineOptionTest.verifyOptionValueForSameVM(CommandLineOptionTest.java:408)
      at compiler.arguments.TestCompilerCounts.pass(TestCompilerCounts.java:168)
      at compiler.arguments.TestCompilerCounts.main(TestCompilerCounts.java:137)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
      at java.base/java.lang.Thread.run(Thread.java:1474)
      Caused by: java.lang.RuntimeException: 'CICompilerCount\\s*:?=\\s*12' missing from stdout/stderr
      at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:372)
      at jdk.test.lib.cli.CommandLineOptionTest.verifyOptionValue(CommandLineOptionTest.java:301)
      ... 8 more


      We got for example:
           intx CICompilerCount = 8 {product} {ergonomic}
      Or:
           intx CICompilerCount = 6 {product} {ergonomic}

            mhaessig Manuel Hässig
            mdoerr Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: