JDK-8039372 : TEST_BUG: Test sun/misc/Version/Version.java fails in 8u11 nightly
  • Type: Bug
  • Component: core-libs
  • Affected Version: 8u11
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2014-04-07
  • Updated: 2014-05-07
  • Resolved: 2014-05-07
Related Reports
Duplicate :  
Relates :  
Description
Testsuite name: Regression
Test name: sun/misc/Version/Version.java
JDK tested: 8u11 nightly build:  /net/aurora-ds.us.oracle.com/data/export/aurora/sca/scanas411/export/java-re/build/re3/nightlyws/jdk8u-cpu/b03_2014-04-04-0902_2643/ws-b03_2014-04-04-0902_2643
OS tested: ALL

LOG:

----------System.out:(4/213)----------
newVersionInfo: input=1.8.0_11-ea-langtools-nightly-h2652-20140405-b03 output=1.8.0_11-b3
JDK version = 1.8.0_11-b3  1.8.0_11-b3
newVersionInfo: input=25.11-b01 output=25.1.0-b0
JVM version = 25.1.0-b0 25.11.0-b1
----------System.err:(12/622)----------
java.lang.RuntimeException: Unmatched version: 25.1.0-b0 vs 25.11.0-b1
	at Version.main(Version.java:56)
	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:483)
	at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:754)
	at java.lang.Thread.run(Thread.java:745)

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

result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unmatched version: 25.1.0-b0 vs 25.11.0-b1


test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unmatched version: 25.1.0-b0 vs 25.11.0-b1
Comments
Please include a path to a downloadable binary that I can use to reproduce or I will reclose.
07-05-2014

Able to reproduce this bug. Please see the comments for more details.
07-05-2014

Thanks Raghu, this appears to be a dup of 8032678. (I've filed a critical-request so I'll close this as a dup)
07-05-2014

/export/local/aurora/sandbox/jdk has been removed already. Can you point me to the failing binary? I'm still not 100% convinced this is a test issue.
06-05-2014

This test fails with same problem again in 8u11 nightly testing: Aurora: http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=476699.CORELIBS-JDK8u-NIGHTLY-JTREG-6 http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=476708.CORELIBS-JDK8u-NIGHTLY-JTREG-6 http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=476730.CORELIBS-JDK8u-NIGHTLY-JTREG-6 Log location: http://aurora-ds3.us.oracle.com:9502/runs%2F476708.CORELIBS-JDK8u-NIGHTLY-JTREG-6/results/workDir/sun/misc/Version/Version.jtr
06-05-2014

Hi Konstantin, I'm closing this as non-reproducible as none of the promoted builds can replicate this issue. I had looked at the nightly binary before, but I can't seem to find that anymore. Can you point me to it if you still have it. I had planned on modifying the regex slightly but this doesn't appear to be necessary and I'm wondering if there was actually a problem with the nightly build reporting an incorrect version string. If you can still reproduce, please poin me to a binary and I'll get it fixed quickly.
30-04-2014

java.lang.RuntimeException: Unmatched version: 25.1.0-b0 vs 25.11.0-b2 at Version.main(Version.java:56) 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:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:754) at java.lang.Thread.run(Thread.java:745)
18-04-2014

Test bug similar to JDK-8009634
07-04-2014

This test passes on previous nightly build. Regression.
07-04-2014