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

Two nashorn tests test/script/basic/runsunspider-eager.js and test/script/basic/runsunspider-lazy.js fail on Windows

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_7
    • Verification:
      Verified

      Description

      Testsuite name: Nashorn
      Test names: test/script/basic/runsunspider-eager.js , test/script/basic/runsunspider-lazy.js
      JDK tested: JDK 8 b101
      OS tested: Windows 7 x64
      Tests fail against jdk 8 b99 and jdk 8 b100 also.

      LOG:

      <testcase name="test/script/basic/runsunspider-lazy.js" time="3.529" classname="jdk.nashorn.internal.test.framework.ScriptRunnable">
          <error type="java.lang.AssertionError" message="file:/C:/local/aurora/sandbox/nashorn~source/test/script/basic/runsunspider.js:89 TypeError: ASSERTION FAILED: -1.3524862408537381 should be -0.16906933525822856 has no such function &quot;printStackTrace&quot;
      file:/C:/local/aurora/sandbox/nashorn~source/test/script/basic/runsunspider.js:89 TypeError: ASSERTION FAILED: -1.3524862408537381 should be -0.16906933525822856 has no such function &quot;printStackTrace&quot;
      at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:66)
      at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:222)
      at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:194)
      at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:181)
      at jdk.nashorn.internal.runtime.linker.NashornBottomLinker.linkBean(NashornBottomLinker.java:93)
      at jdk.nashorn.internal.runtime.linker.NashornBottomLinker.getGuardedInvocation(NashornBottomLinker.java:64)
      at jdk.internal.dynalink.support.CompositeGuardingDynamicLinker.getGuardedInvocation(CompositeGuardingDynamicLinker.java:124)
      at jdk.internal.dynalink.support.LinkerServicesImpl.getGuardedInvocation(LinkerServicesImpl.java:138)
      at jdk.internal.dynalink.DynamicLinker.relink(DynamicLinker.java:232)
      at jdk.nashorn.internal.scripts.Script$Lazy$runsuite$runsunspider.runsuite(file:/C:/local/aurora/sandbox/nashorn~source/test/script/basic/runsunspider.js:89)
      at jdk.nashorn.internal.scripts.Script$runsunspider.runScript(file:/C:/local/aurora/sandbox/nashorn~source/test/script/basic/runsunspider.js:345)
      at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:518)
      at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:204)
      at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:366)
      at jdk.nashorn.internal.runtime.Context.evaluateSource(Context.java:736)
      at jdk.nashorn.internal.runtime.Context.load(Context.java:495)
      at jdk.nashorn.internal.objects.Global.load(Global.java:770)
      at jdk.nashorn.internal.scripts.Script$runsunspider_lazy.runScript(test/script/basic/runsunspider-lazy.js:33)
      at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:518)
      at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:204)
      at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:366)
      at jdk.nashorn.tools.Shell.apply(Shell.java:386)
      at jdk.nashorn.tools.Shell.runScripts(Shell.java:315)
      at jdk.nashorn.tools.Shell.run(Shell.java:179)
      at jdk.nashorn.tools.Shell.main(Shell.java:143)
      at jdk.nashorn.internal.test.framework.SeparateContextEvaluator.run(SeparateContextEvaluator.java:38)
      at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.evaluateScript(AbstractScriptRunnable.java:192)
      at jdk.nashorn.internal.test.framework.ScriptRunnable.executeInThisProcess(ScriptRunnable.java:148)
      at jdk.nashorn.internal.test.framework.ScriptRunnable.execute(ScriptRunnable.java:87)
      at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.runTest(AbstractScriptRunnable.java:129)
      at jdk.nashorn.internal.test.framework.ScriptRunnable.runTest(ScriptRunnable.java:79)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      at org.testng.TestRunner.privateRun(TestRunner.java:767)
      at org.testng.TestRunner.run(TestRunner.java:617)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      at org.testng.SuiteRunner.run(SuiteRunner.java:240)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
      at org.testng.TestNG.run(TestNG.java:1030)
      at org.testng.TestNG.privateMain(TestNG.java:1337)
      at org.testng.TestNG.main(TestNG.java:1306)
      ">
            <![CDATA[java.lang.AssertionError: file:/C:/local/aurora/sandbox/nashorn~source/test/script/basic/runsunspider.js:89 TypeError: ASSERTION FAILED: -1.3524862408537381 should be -0.16906933525822856 has no such function "printStackTrace"
      file:/C:/local/aurora/sandbox/nashorn~source/test/script/basic/runsunspider.js:89 TypeError: ASSERTION FAILED: -1.3524862408537381 should be -0.16906933525822856 has no such function "printStackTrace"
      at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:66)
      at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:222)
      at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:194)
      at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:181)
      at jdk.nashorn.internal.runtime.linker.NashornBottomLinker.linkBean(NashornBottomLinker.java:93)
      at jdk.nashorn.internal.runtime.linker.NashornBottomLinker.getGuardedInvocation(NashornBottomLinker.java:64)
      at jdk.internal.dynalink.support.CompositeGuardingDynamicLinker.getGuardedInvocation(CompositeGuardingDynamicLinker.java:124)
      at jdk.internal.dynalink.support.LinkerServicesImpl.getGuardedInvocation(LinkerServicesImpl.java:138)
      at jdk.internal.dynalink.DynamicLinker.relink(DynamicLinker.java:232)
      at jdk.nashorn.internal.scripts.Script$Lazy$runsuite$runsunspider.runsuite(file:/C:/local/aurora/sandbox/nashorn~source/test/script/basic/runsunspider.js:89)
      at jdk.nashorn.internal.scripts.Script$runsunspider.runScript(file:/C:/local/aurora/sandbox/nashorn~source/test/script/basic/runsunspider.js:345)
      at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:518)
      at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:204)
      at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:366)
      at jdk.nashorn.internal.runtime.Context.evaluateSource(Context.java:736)
      at jdk.nashorn.internal.runtime.Context.load(Context.java:495)
      at jdk.nashorn.internal.objects.Global.load(Global.java:770)
      at jdk.nashorn.internal.scripts.Script$runsunspider_lazy.runScript(test/script/basic/runsunspider-lazy.js:33)
      at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:518)
      at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:204)
      at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:366)
      at jdk.nashorn.tools.Shell.apply(Shell.java:386)
      at jdk.nashorn.tools.Shell.runScripts(Shell.java:315)
      at jdk.nashorn.tools.Shell.run(Shell.java:179)
      at jdk.nashorn.tools.Shell.main(Shell.java:143)
      at jdk.nashorn.internal.test.framework.SeparateContextEvaluator.run(SeparateContextEvaluator.java:38)
      at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.evaluateScript(AbstractScriptRunnable.java:192)
      at jdk.nashorn.internal.test.framework.ScriptRunnable.executeInThisProcess(ScriptRunnable.java:148)
      at jdk.nashorn.internal.test.framework.ScriptRunnable.execute(ScriptRunnable.java:87)
      at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.runTest(AbstractScriptRunnable.java:129)
      at jdk.nashorn.internal.test.framework.ScriptRunnable.runTest(ScriptRunnable.java:79)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      at org.testng.TestRunner.privateRun(TestRunner.java:767)
      at org.testng.TestRunner.run(TestRunner.java:617)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      at org.testng.SuiteRunner.run(SuiteRunner.java:240)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
      at org.testng.TestNG.run(TestNG.java:1030)
      at org.testng.TestNG.privateMain(TestNG.java:1337)
      at org.testng.TestNG.main(TestNG.java:1306)

      at org.testng.Assert.fail(Assert.java:89)
      at jdk.nashorn.internal.test.framework.ScriptRunnable.fail(ScriptRunnable.java:101)
      at jdk.nashorn.internal.test.framework.ScriptRunnable.executeInThisProcess(ScriptRunnable.java:159)
      at jdk.nashorn.internal.test.framework.ScriptRunnable.execute(ScriptRunnable.java:87)
      at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.runTest(AbstractScriptRunnable.java:129)
      at jdk.nashorn.internal.test.framework.ScriptRunnable.runTest(ScriptRunnable.java:79)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      at org.testng.TestRunner.privateRun(TestRunner.java:767)
      at org.testng.TestRunner.run(TestRunner.java:617)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      at org.testng.SuiteRunner.run(SuiteRunner.java:240)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
      at org.testng.TestNG.run(TestNG.java:1030)
      at org.testng.TestNG.privateMain(TestNG.java:1337)
      at org.testng.TestNG.main(TestNG.java:1306)
      ]]>
          </error>
        </testcase> <!-- C:/local/aurora/sandbox/nashorn~source/test/script/basic/runsunspider-lazy.js -->

        Attachments

          Activity

            People

            • Assignee:
              sundar Sundararajan Athijegannathan
              Reporter:
              kshefov Konstantin Shefov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: