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

dcmd VMVersionTest.java failed due to missing output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 14
    • core-svc
    • x86_64
    • linux

      The following test failed in the JDK14 CI:

      serviceability/dcmd/framework/VMVersionTest.java

      Here's a snippet from the log file:

      debugee.stdout> Test Java process started!
      debugee.stdout> Waiting for the quit command from the test ...
      Running DCMD 'VM.version' through 'MainClassJcmdExecutor'
      Executing command '[/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+16-655/linux-x64-debug.jdk/jdk-14/fastdebug/bin/jcmd, process.TestJavaProcess, VM.version]'
      [2019-09-25T00:00:02.138894Z] Gathering output for process 18401
      [2019-09-25T00:00:03.368971Z] Waiting for completion for process 18401
      [2019-09-25T00:00:03.369306Z] Waiting for completion finished for process 18401
      Command returned with exit code 1
      ---------------- stdout ----------------

      ---------------- stderr ----------------
      Could not find any processes matching : 'process.TestJavaProcess'

      ----------------------------------------

      [2019-09-25T00:00:03.375415Z] Waiting for completion for process 18401
      [2019-09-25T00:00:03.375706Z] Waiting for completion finished for process 18401
      test VMVersionTest.mainClass(): failure
      java.lang.RuntimeException: '.*(?:HotSpot|OpenJDK).*VM.*' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:306)
      at VMVersionTest.run(VMVersionTest.java:53)
      at VMVersionTest.mainClass(VMVersionTest.java:66)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      at org.testng.TestRunner.privateRun(TestRunner.java:773)
      at org.testng.TestRunner.run(TestRunner.java:623)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      at org.testng.SuiteRunner.run(SuiteRunner.java:259)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
      at org.testng.TestNG.run(TestNG.java:1018)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)
      debugee.stdout> 'quit' received
      debugee.stdout> Test Java process started!
      debugee.stdout> Waiting for the quit command from the test ...
      Running DCMD 'VM.version' through 'MainClassJcmdExecutor'
      Executing command '[/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+16-655/linux-x64-debug.jdk/jdk-14/fastdebug/bin/jcmd, testprocess.jar, VM.version]'
      [2019-09-25T00:00:04.428567Z] Gathering output for process 18526
      [2019-09-25T00:00:05.862491Z] Waiting for completion for process 18526
      [2019-09-25T00:00:05.862987Z] Waiting for completion finished for process 18526
      Command returned with exit code 0
      ---------------- stdout ----------------

            amenkov Alex Menkov
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: