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

RandomCommandsTest fails due to unexpected VM exit code after JDK-8282797

    XMLWordPrintable

Details

    • 22
    • b03

    Description

      RandomCommandsTest fails intermittently (with fairly low frequency) with the following exception:

       stdout: [CompileCommand: print compiler/compilercontrol@%/share/pool/subpack/Klass.*nonexistent()V bool print = true
      CompileCommand: ControlIntrinsic nonexistent*.$method* const char* ControlIntrinsic = '-maxF'
      CompileCommand: An error occurred during parsing
      Error: Unrecognized intrinsic detected in ControlIntrinsic: maxF
      Line: 'ControlIntrinsic nonexistent* $method* -maxF'

      Usage: '-XX:CompileCommand=<option>,<method pattern>' - to set boolean option to true
      Usage: '-XX:CompileCommand=<option>,<method pattern>,<value>'
      Use: '-XX:CompileCommand=help' for more information and to list all option.

      ];
       stderr: [Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:490)
      at compiler.compilercontrol.share.scenario.Scenario.execute(Scenario.java:118)
      at compiler.compilercontrol.share.MultiCommand.test(MultiCommand.java:103)
      at compiler.compilercontrol.mixed.RandomCommandsTest.main(RandomCommandsTest.java:43)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
      at java.base/java.lang.Thread.run(Thread.java:1583)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]

      Also seen for other intrinsics, e.g.:

      Line: 'ControlIntrinsic,*,- (Ljava/lang/Float;)Ljava/lang/Double;,+fabs'

      Attachments

        Issue Links

          Activity

            People

              thartmann Tobias Hartmann
              rcastanedalo Roberto Castaneda Lozano
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: