JDK-7149181 : sun/management/jmxremote/startstop/JMXStartStopTest.sh failing on all platforms
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-02-27
  • Updated: 2013-04-30
  • Resolved: 2012-03-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b29Fixed
Related Reports
Relates :  
Relates :  
Description
This test was pushed to jdk8/tl via this change-set:

http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1e737abbff6f

but seems to be failing on all platforms.

Here's an example from solaris-sparc:

#Test Results (version 2)
#Mon Feb 27 18:18:52 GMT 2012
#checksum:7ad818bbea6b99db
#-----testdescription-----
$file=/export/Users/ab23780/ws/jdk8/tl/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.sh
$root=/export/Users/ab23780/ws/jdk8/tl/jdk/test
keywords=bug7110104 shell
run=USER_SPECIFIED build JMXStartStopTest JMXStartStopDoSomething\nUSER_SPECIFIED shell JMXStartStopTest.sh --jtreg --no-compile\n
source=JMXStartStopTest.sh
title=No word Failed expected in the test output

#-----environment-----

#-----testresult-----
description=file:/export/Users/ab23780/ws/jdk8/tl/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.sh
elapsed=10961 0:00:10.961
end=Mon Feb 27 18:18:52 GMT 2012
environment=regtest
execStatus=Failed. Execution failed: exit code 1
hostname=rialto.ie.oracle.com
javatestOS=SunOS 5.10 (sparc)
javatestVersion=4.1.4
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile shell
start=Mon Feb 27 18:18:42 GMT 2012
test=sun/management/jmxremote/startstop/JMXStartStopTest.sh
work=/export/Users/ab23780/jtreg/JTwork/sun/management/jmxremote/startstop

#section:script_messages
----------messages:(4/196)----------
JDK under test: (/java/re/jdk/8/latest/binaries/solaris-sparc)
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b27)
Java HotSpot(TM) Server VM (build 23.0-b16, mixed mode)

#section:build
----------messages:(3/169)----------
command: build JMXStartStopTest JMXStartStopDoSomething
reason: User specified action: run build JMXStartStopTest JMXStartStopDoSomething 
elapsed time (seconds): 0.242
result: Passed. Build successful

#section:compile
----------messages:(4/316)----------
command: compile /export/Users/ab23780/ws/jdk8/tl/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java /export/Users/ab23780/ws/jdk8/tl/jdk/test/sun/management/jmxremote/startstop/JMXStartStopDoSomething.java
reason: .class file out of date or does not exist
Mode: AGENTVM
elapsed time (seconds): 0.241
----------direct:(12/1077)----------
/export/Users/ab23780/ws/jdk8/tl/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java:43: warning: AgentConfigurationError is internal proprietary API and may be removed in a future release
import sun.management.AgentConfigurationError;
                     ^
/export/Users/ab23780/ws/jdk8/tl/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java:44: warning: ConnectorBootstrap is internal proprietary API and may be removed in a future release
import sun.management.jmxremote.ConnectorBootstrap;
                               ^
/export/Users/ab23780/ws/jdk8/tl/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java:93: warning: ConnectorAddressLink is internal proprietary API and may be removed in a future release
            jmxUrlStr = sun.management.ConnectorAddressLink.importFrom(pid);
                                      ^
Note: /export/Users/ab23780/ws/jdk8/tl/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 warnings
result: Passed. Compilation successful

#section:shell
----------messages:(3/173)----------
command: shell JMXStartStopTest.sh [--jtreg, --no-compile]
reason: User specified action: run shell JMXStartStopTest.sh --jtreg --no-compile 
elapsed time (seconds): 10.717
----------System.out:(2/71)----------
**** Test one ****
Failed r1(OK):OK_CONN r2(NO):OK_CONN r3(OK):NO_CONN
----------System.err:(1/113)----------
/export/Users/ab23780/ws/jdk8/tl/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.sh: -1: bad number
result: Failed. Execution failed: exit code 1


test result: Failed. Execution failed: exit code 1

Comments
EVALUATION see description
07-03-2012