JDK-7112804 : M&M test failures on MacOS X
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2011-11-17
  • Updated: 2012-04-05
  • Resolved: 2012-04-05
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 7
7u6Resolved
Related Reports
Duplicate :  
Description
Here is a snippet from TestSystemLoadAvg.jtr:

Exception in thread "main" java.lang.NumberFormatException: For input string: ":53"
        at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
        at java.lang.Double.parseDouble(Double.java:540)
        at GetSystemLoadAverage.checkLoadAvg(GetSystemLoadAverage.java:99)
        at GetSystemLoadAverage.main(GetSystemLoadAverage.java:64)
Exception in thread "main" java.lang.NumberFormatException: For input string: ":53"
        at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
        at java.lang.Double.parseDouble(Double.java:540)
        at GetSystemLoadAverage.checkLoadAvg(GetSystemLoadAverage.java:99)
        at GetSystemLoadAverage.main(GetSystemLoadAverage.java:64)
Exception in thread "main" java.lang.NumberFormatException: For input string: ":53"
        at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
        at java.lang.Double.parseDouble(Double.java:540)
        at GetSystemLoadAverage.checkLoadAvg(GetSystemLoadAverage.java:99)
        at GetSystemLoadAverage.main(GetSystemLoadAverage.java:64)
Exception in thread "main" java.lang.NumberFormatException: For input string: ":54"
        at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
        at java.lang.Double.parseDouble(Double.java:540)
        at GetSystemLoadAverage.checkLoadAvg(GetSystemLoadAverage.java:99)
        at GetSystemLoadAverage.main(GetSystemLoadAverage.java:64)
Exception in thread "main" java.lang.NumberFormatException: For input string: ":54"
        at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
        at java.lang.Double.parseDouble(Double.java:540)
        at GetSystemLoadAverage.checkLoadAvg(GetSystemLoadAverage.java:99)
        at GetSystemLoadAverage.main(GetSystemLoadAverage.java:64)
result: Failed. Execution failed: exit code 1


test result: Failed. Execution failed: exit code 1
Here is a snippet from GetProcessCpuLoad.jtr:

java.lang.UnsatisfiedLinkError: com.sun.management.UnixOperatingSystem.getProcessCpuLoad()D
        at com.sun.management.UnixOperatingSystem.getProcessCpuLoad(Native Metho
d)
        at GetProcessCpuLoad.main(GetProcessCpuLoad.java:41)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
94)
        at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: java.lang.UnsatisfiedLinkError: com.sun.
management.UnixOperatingSystem.getProcessCpuLoad()D
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.UnsatisfiedLinkError: com.sun.management.UnixOperatingSystem.getProcessCpuLoad()D
result: Failed. Execution failed: `main' threw exception: java.lang.UnsatisfiedL
inkError: com.sun.management.UnixOperatingSystem.getProcessCpuLoad()D

test result: Failed. Execution failed: `main' threw exception: java.lang.Unsatis
fiedLinkError: com.sun.management.UnixOperatingSystem.getProcessCpuLoad()D
During my baseline testing of the MacOS X port, I ran into
two SDK/JDK mm_csm tests, one SDK/JDK mm_jlm test, and one
SDK/JDK mm_jmx test that failed consistently. Here is the
summary section from my ck_test_results script:

Summary of Test Results (12 result dirs)
=========================================
    all executed: 1180  all passed: 1167  all ignored: 4  all FAILED: 9
    UNEXPECTED: 8
    time: 1 hour(s) 52 minute(s)

    Failed test logs:
    test name: com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java
    log file: sdk-mm_csm-prod-server-prod-comp.macosx-amd64/JTwork/com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.jtr
        This is an UNEXPECTED test FAILure.
    test name: com/sun/management/OperatingSystemMXBean/GetSystemCpuLoad.java
    log file: sdk-mm_csm-prod-server-prod-comp.macosx-amd64/JTwork/com/sun/management/OperatingSystemMXBean/GetSystemCpuLoad.jtr
        This is an UNEXPECTED test FAILure.
    test name: com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java
    log file: sdk-mm_csm-prod-server-prod-mixed.macosx-amd64/JTwork/com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.jtr
        This is an UNEXPECTED test FAILure.
    test name: com/sun/management/OperatingSystemMXBean/GetSystemCpuLoad.java
    log file: sdk-mm_csm-prod-server-prod-mixed.macosx-amd64/JTwork/com/sun/management/OperatingSystemMXBean/GetSystemCpuLoad.jtr
        This is an UNEXPECTED test FAILure.
    test name: java/lang/management/OperatingSystemMXBean/TestSystemLoadAvg.sh
    log file: sdk-mm_jlm-prod-server-prod-comp.macosx-amd64/JTwork/java/lang/management/OperatingSystemMXBean/TestSystemLoadAvg.jtr
        This is an UNEXPECTED test FAILure.
        on allbugs list via: 6367473 6511738 6765107
    test name: java/lang/management/OperatingSystemMXBean/TestSystemLoadAvg.sh
    log file: sdk-mm_jlm-prod-server-prod-mixed.macosx-amd64/JTwork/java/lang/management/OperatingSystemMXBean/TestSystemLoadAvg.jtr
        This is an UNEXPECTED test FAILure.
        on allbugs list via: 6367473 6511738 6765107
    test name: javax/management/MBeanServer/OldMBeanServerTest.java
    log file: sdk-mm_jmx-prod-server-prod-comp.macosx-amd64/JTwork/javax/management/MBeanServer/OldMBeanServerTest.jtr
        This is an UNEXPECTED test FAILure.
    test name: javax/management/MBeanServer/OldMBeanServerTest.java
    log file: sdk-mm_jmx-prod-server-prod-mixed.macosx-amd64/JTwork/javax/management/MBeanServer/OldMBeanServerTest.jtr
        This is an UNEXPECTED test FAILure.