Details
-
Bug
-
Resolution: Fixed
-
P2
-
18
-
b15
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8274017 | 17.0.2 | Joe Darcy | P2 | Closed | Fixed | b01 |
JDK-8275117 | 11.0.15-oracle | Ravi Reddy | P2 | Closed | Fixed | b01 |
JDK-8278495 | 11.0.15 | Goetz Lindenmaier | P2 | Resolved | Fixed | b01 |
Description
java/util/DoubleStreamSums/CompensatedSums.java
Here's a snippet from the log file:
#section:testng
----------messages:(5/148)----------
command: testng CompensatedSums
reason: User specified action: run testng CompensatedSums
Mode: agentvm
Agent id: 11
elapsed time (seconds): 7.298
----------configuration:(14/1604)----------
Boot Layer
class path: /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar
/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar
/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar
/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar
/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar
/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar
/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar
patch: java.base /opt/mach5/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S14152/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0aca7fce-f9c3-4f63-b471-a1c61ff4c32a/runs/3e6ae3e0-c791-4f37-8ca8-cf8029e465ca/testoutput/test-support/jtreg_open_test_jdk_tier1_part2/patches/java.base
Test Layer
class path: /opt/mach5/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S14152/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0aca7fce-f9c3-4f63-b471-a1c61ff4c32a/runs/3e6ae3e0-c791-4f37-8ca8-cf8029e465ca/testoutput/test-support/jtreg_open_test_jdk_tier1_part2/classes/5/java/util/DoubleStreamSums/CompensatedSums.d
/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+14-758/src.full/open/test/jdk/java/util/DoubleStreamSums
----------rerun:(29/5062)*----------
<snip>
----------System.out:(45/2917)----------
test CompensatedSums.testCompensatedSums(): failure
java.lang.AssertionError: expected [0.0] but found [3.1554436208840472E-30]
at org.testng.Assert.fail(Assert.java:99)
at org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng.Assert.assertEquals(Assert.java:701)
at org.testng.Assert.assertEquals(Assert.java:712)
at CompensatedSums.testCompensatedSums(CompensatedSums.java:90)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.testng.TestRunner.privateRun(TestRunner.java:764)
at org.testng.TestRunner.run(TestRunner.java:585)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
at org.testng.SuiteRunner.run(SuiteRunner.java:286)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
at org.testng.TestNG.runSuites(TestNG.java:1069)
at org.testng.TestNG.run(TestNG.java:1037)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
===============================================
java/util/DoubleStreamSums/CompensatedSums.java
Total tests run: 1, Passes: 0, Failures: 1, Skips: 0
===============================================
----------System.err:(12/714)----------
java.lang.Exception: failures: 1
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
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
- backported by
-
JDK-8278495 java/util/DoubleStreamSums/CompensatedSums.java failure
- Resolved
-
JDK-8274017 java/util/DoubleStreamSums/CompensatedSums.java failure
- Closed
-
JDK-8275117 java/util/DoubleStreamSums/CompensatedSums.java failure
- Closed
- relates to
-
JDK-8214761 Bug in parallel Kahan summation implementation
- Closed
- links to
-
Commit openjdk/jdk11u-dev/16bfc05b
-
Commit openjdk/jdk17u/74de3ef2
-
Commit openjdk/jdk/f531b5c7
-
Review openjdk/jdk11u-dev/708
-
Review openjdk/jdk17u/82
-
Review openjdk/jdk/5430