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

jdk/jshell/ExternalEditorTest.java testStatementMush() fails frequently on all platform

    Details

    • Subcomponent:
    • Resolved In Build:
      b148
    • Verification:
      Verified

      Description

      ----------System.out:(75/4082)----------
      [TestNG] Running:
        jdk/jshell/ExternalEditorTest.java

      config ExternalEditorTest.setUpExternalEditorTest(): success
      config ReplToolTesting.setUp(): success
      test EditorTestBase.testAccept(): success
      config ReplToolTesting.setUp(): success
      test EditorTestBase.testCancel(): success
      config ReplToolTesting.setUp(): success
      test EditorTestBase.testDoNothing(): success
      config ReplToolTesting.setUp(): success
      test EditorTestBase.testEditClass2(): success
      config ReplToolTesting.setUp(): success
      test EditorTestBase.testEditMethod2(): success
      config ReplToolTesting.setUp(): success
      test EditorTestBase.testEditNegative(): success
      config ReplToolTesting.setUp(): success
      test EditorTestBase.testEditVariable1(): success
      config ReplToolTesting.setUp(): success
      test EditorTestBase.testEditVariable2(): success
      config ReplToolTesting.setUp(): success
      test EditorTestBase.testNoArguments(): success
      config ReplToolTesting.setUp(): success
      test EditorTestBase.testStartup(): success
      config ReplToolTesting.setUp(): success
      test EditorTestBase.testStatementMush(): failure
      java.lang.AssertionError: Expected empty output, got: Hello
       expected [true] but found [false]
      at org.testng.Assert.fail(Assert.java:94)
      at org.testng.Assert.failNotEquals(Assert.java:496)
      at org.testng.Assert.assertTrue(Assert.java:42)
      at ReplToolTesting.testRaw(ReplToolTesting.java:276)
      at ReplToolTesting.test(ReplToolTesting.java:214)
      at ReplToolTesting.test(ReplToolTesting.java:202)
      at EditorTestBase.testEditor(EditorTestBase.java:49)
      at ExternalEditorTest.testEditor(ExternalEditorTest.java:119)
      at EditorTestBase.testEditor(EditorTestBase.java:45)
      at EditorTestBase.testStatementMush(EditorTestBase.java:250)
      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:537)
      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.TestNGAction$TestNGRunner.main(TestNGAction.java:220)
      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:537)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
      at java.base/java.lang.Thread.run(Thread.java:844)
      config ReplToolTesting.setUp(): success
      test ExternalEditorTest.setUnknownEditor(): success
      config ExternalEditorTest.shutdown(): success

      ===============================================
      jdk/jshell/ExternalEditorTest.java
      Total tests run: 12, Failures: 1, Skips: 0
      ===============================================

      ----------System.err:(12/733)----------
      java.lang.Exception: failures: 1
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223)
      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:537)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
      at java.base/java.lang.Thread.run(Thread.java:844)

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

      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: failures: 1

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfield Robert Field
                Reporter:
                fyuan Frank Yuan
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: