JDK-8148169 : Test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java fails
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris
  • Submitted: 2016-01-25
  • Updated: 2016-01-25
  • Resolved: 2016-01-25
Related Reports
Duplicate :  
Description
Testsuite name: hotspot
Test name(s): runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java
Product(s) tested: JDK 9 b101
OS/architecture: Solaris 11 x64

Reproducible: Always

Is it a Regression: Yes (Test passes for JDK 9 b88 and fails for JDK 9 b89)

Is it a platform specific issue: Yes (test passes on Oracle Linux 7.0, x64)
[If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No
[If new configuration testing] Issue specific to execution mode or OS/browser version:

Exception/Error from Log:

----------System.err:(23/1581)----------
TEST FAILED: Error processing option VMThreadStackSize with valid value '-XX:VMThreadStackSize=1'! JVM exited with unexpected error code = 11
stdout content[]
stderr content[]

java.lang.RuntimeException: 1 tests failed! (Error processing option VMThreadStackSize with valid value '-XX:VMThreadStackSize=1'! JVM exited with unexpected error code = 11)
 (assert failed: 1 == 0)
	at jdk.test.lib.Asserts.error(Asserts.java:447)
	at jdk.test.lib.Asserts.assertTrue(Asserts.java:374)
	at jdk.test.lib.Asserts.assertEquals(Asserts.java:169)
	at jdk.test.lib.Asserts.assertEQ(Asserts.java:143)
	at TestOptionsWithRanges.main(TestOptionsWithRanges.java:166)
	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:520)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:804)

JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 tests failed! (Error processing option VMThreadStackSize with valid value '-XX:VMThreadStackSize=1'! JVM exited with unexpected error code = 11)
 (assert failed: 1 == 0)
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 1 tests failed! (Error processing option VMThreadStackSize with valid value '-XX:VMThreadStackSize=1'! JVM exited with unexpected error code = 11) (assert failed: 1 == 0)

Comments
This looks like a duplicate of: JDK-8140520 segfault on solaris-amd64 with "-XX:VMThreadStackSize=1" option which was filed for a JDK9-B89 PIT failure.
25-01-2016

RULE "runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java" Exception java.lang.RuntimeException: ... tests failed! (Error processing option VMThreadStackSize with valid value '-XX:VMThreadStackSize=1'! JVM exited with unexpected error code = ...) (assert failed: ... == ...)
25-01-2016