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

sun/tools/jps/* tests java.lang.RuntimeException: The line '' does not match pattern '^\\d+\\s+.*': expected true, was false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 9
    • core-svc
    • None
    • sparc
    • solaris

      sun/tools/jps/TestJpsClass.java
      sun/tools/jps/TestJpsJar.java

      JDK under test: (/export/local/aurora/CommonData/JDK_DIR)
      java version "1.9.0-internal-fastdebug"
      Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150703142024.ddaugher.merge_main_to_rt-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-fastdebug-20150703142024.ddaugher.merge_main_to_rt-b00, mixed mode)

      Exception in thread "main" java.lang.RuntimeException: The line '' does not match pattern '^\\d+\\s+.*': expected true, was false
      at jdk.testlibrary.Asserts.fail(Asserts.java:536)
      at jdk.testlibrary.Asserts.assertTrue(Asserts.java:486)
      at jdk.testlibrary.OutputAnalyzer.shouldMatchByLine(OutputAnalyzer.java:526)
      at jdk.testlibrary.OutputAnalyzer.stdoutShouldMatchByLine(OutputAnalyzer.java:503)
      at jdk.testlibrary.OutputAnalyzer.stdoutShouldMatchByLine(OutputAnalyzer.java:451)
      at JpsHelper.verifyJpsOutput(JpsHelper.java:186)
      at JpsBase.main(JpsBase.java:121)

       stderr: [Exception in thread "main" java.lang.RuntimeException: The line '' does not match pattern '^\\d+\\s+.*': expected true, was false
      at jdk.testlibrary.Asserts.fail(Asserts.java:536)
      at jdk.testlibrary.Asserts.assertTrue(Asserts.java:486)
      at jdk.testlibrary.OutputAnalyzer.shouldMatchByLine(OutputAnalyzer.java:526)
      at jdk.testlibrary.OutputAnalyzer.stdoutShouldMatchByLine(OutputAnalyzer.java:503)
      at jdk.testlibrary.OutputAnalyzer.stdoutShouldMatchByLine(OutputAnalyzer.java:451)
      at JpsHelper.verifyJpsOutput(JpsHelper.java:186)
      at JpsBase.main(JpsBase.java:121)
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:353)
      at TestJpsClass.main(TestJpsClass.java:62)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

      log:
      http://aurora.ru.oracle.com/slot-gw/986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03-240/results/workDir/sun/tools/jps/TestJpsClass.jtr
      http://aurora.ru.oracle.com/slot-gw/986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03-240/results/workDir/sun/tools/jps/TestJpsJar.jtr

      http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03-240

            ykantser Yekaterina Kantserova (Inactive)
            jiangli Jiangli Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: