Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6962604

Testcase sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • core-svc
    • b109
    • generic
    • generic
    • Verified

      Testcase seems to be unstable on Linux x64 system, could be colliding with other tests.

      --------------------------------------------------
      TEST: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh
      JDK under test: (/tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product)
      java version "1.7.0-201006182049.ohair.jdk"
      Java(TM) SE Runtime Environment (build 1.7.0-201006182049.ohair.jdk-jprtadm_2010_06_18_17_38-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 19.0-b02, mixed mode)

      ACTION: build -- Passed. Build successful
      REASON: User specified action: run build Sleeper
      TIME: 0.014 seconds
      messages:
      command: build Sleeper
      reason: User specified action: run build Sleeper
      elapsed time (seconds): 0.014

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.013 seconds
      messages:
      command: compile /tmp/jprt/P2/T/204952.ohair/source/test/sun/jvmstat/monitor/MonitoredVm/../../testlibrary/Sleeper.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.013

      ACTION: build -- Passed. Build successful
      REASON: User specified action: run build JavaProcess
      TIME: 0.027 seconds
      messages:
      command: build JavaProcess
      reason: User specified action: run build JavaProcess
      elapsed time (seconds): 0.027

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.026 seconds
      messages:
      command: compile /tmp/jprt/P2/T/204952.ohair/source/test/sun/jvmstat/monitor/MonitoredVm/../../testlibrary/JavaProcess.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.026

      ACTION: build -- Passed. Build successful
      REASON: User specified action: run build MonitorVmStartTerminate
      TIME: 0.046 seconds
      messages:
      command: build MonitorVmStartTerminate
      reason: User specified action: run build MonitorVmStartTerminate
      elapsed time (seconds): 0.046

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.045 seconds
      messages:
      command: compile /tmp/jprt/P2/T/204952.ohair/source/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.045
      direct:
      Note: /tmp/jprt/P2/T/204952.ohair/source/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.

      ACTION: shell -- Failed. Execution failed: exit code 1
      REASON: User specified action: run shell MonitorVmStartTerminate.sh
      TIME: 34.326 seconds
      messages:
      command: shell MonitorVmStartTerminate.sh []
      reason: User specified action: run shell MonitorVmStartTerminate.sh
      elapsed time (seconds): 34.326
      STDOUT:
      Waiting for 10 sleepers to terminate
      Starting 10 sleepers
      Starting Sleeper 0
      exec'ing: /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/jre/bin/java -classpath /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/lib/tools.jar:/tmp/jprt/P2/T/204952.ohair/source/build/linux-amd64/testoutput/jdk_tools2/JTwork/classes/sun/jvmstat/monitor/MonitoredVm Sleeper 5000 1276909268406 0
      Started: 20519: "/opt/jprt/products/P2/jtreg4.1-latest/jtreg/lib/jtreg.jar -samevm -server -Duser.home=/tmp/jprt/P2/T/204952.ohair -Djava.io.tmpdir=/tmp/jprt/P2/T/204952.ohair/io -vmoption:-server -vmoption:-Duser.home=/tmp/jprt/P2/T/204952.ohair -vmoption:-Djava.io.tmpdir=/tmp/jprt/P2/T/204952.ohair/io -a -ea -esa -v:fail,error,time -retain:fail,error -ignore:quiet -timeoutFactor:4 -r:/tmp/jprt/P2/T/204952.ohair/source/test/../build/linux-amd64/testoutput/jdk_tools2/JTreport -w:/tmp/jprt/P2/T/204952.ohair/source/test/../build/linux-amd64/testoutput/jdk_tools2/JTwork -jdk:/tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product -exclude:/tmp/jprt/P2/T/204952.ohair/source/test/../build/linux-amd64/testoutput/jdk_tools2/excludelist.txt com/sun/tools sun/jvmstat sun/tools tools vm com/sun/servicetag com/sun/tracing closed/tools closed/vm": does not match pattern - ignored
      Started: 3542: "/opt/jprt/dist/jprt.jar startclient -instancename P1": does not match pattern - ignored
      Started: 22365: "Sleeper 5000 1276909268406 0": matches pattern - recorded
      Started: 22348: "MonitorVmStartTerminate": does not match pattern - ignored
      Started: 3541: "/opt/jprt/dist/jprt.jar startclient -instancename P2": does not match pattern - ignored
      Started: 3554: "/opt/jprt/dist/jprt.jar startclient -instancename T1": does not match pattern - ignored
      Starting Sleeper 1
      exec'ing: /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/jre/bin/java -classpath /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/lib/tools.jar:/tmp/jprt/P2/T/204952.ohair/source/build/linux-amd64/testoutput/jdk_tools2/JTwork/classes/sun/jvmstat/monitor/MonitoredVm Sleeper 5000 1276909268406 1
      Started: 22381: "Sleeper 5000 1276909268406 1": matches pattern - recorded
      Terminated: 22365: matches pattern - termination recorded
      Starting Sleeper 2
      exec'ing: /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/jre/bin/java -classpath /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/lib/tools.jar:/tmp/jprt/P2/T/204952.ohair/source/build/linux-amd64/testoutput/jdk_tools2/JTwork/classes/sun/jvmstat/monitor/MonitoredVm Sleeper 5000 1276909268406 2
      Terminated: 22381: matches pattern - termination recorded
      Starting Sleeper 3
      exec'ing: /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/jre/bin/java -classpath /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/lib/tools.jar:/tmp/jprt/P2/T/204952.ohair/source/build/linux-amd64/testoutput/jdk_tools2/JTwork/classes/sun/jvmstat/monitor/MonitoredVm Sleeper 5000 1276909268406 3
      Started: 22411: "Sleeper 5000 1276909268406 3": matches pattern - recorded
      Starting Sleeper 4
      exec'ing: /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/jre/bin/java -classpath /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/lib/tools.jar:/tmp/jprt/P2/T/204952.ohair/source/build/linux-amd64/testoutput/jdk_tools2/JTwork/classes/sun/jvmstat/monitor/MonitoredVm Sleeper 5000 1276909268406 4
      Started: 22426: "Sleeper 5000 1276909268406 4": matches pattern - recorded
      Terminated: 22397: does not match pattern - ignored
      Terminated: 22411: matches pattern - termination recorded
      Starting Sleeper 5
      exec'ing: /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/jre/bin/java -classpath /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/lib/tools.jar:/tmp/jprt/P2/T/204952.ohair/source/build/linux-amd64/testoutput/jdk_tools2/JTwork/classes/sun/jvmstat/monitor/MonitoredVm Sleeper 5000 1276909268406 5
      Started: 22441: "Sleeper 5000 1276909268406 5": matches pattern - recorded
      Terminated: 22426: matches pattern - termination recorded
      Starting Sleeper 6
      exec'ing: /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/jre/bin/java -classpath /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/lib/tools.jar:/tmp/jprt/P2/T/204952.ohair/source/build/linux-amd64/testoutput/jdk_tools2/JTwork/classes/sun/jvmstat/monitor/MonitoredVm Sleeper 5000 1276909268406 6
      Started: 22455: "Sleeper 5000 1276909268406 6": matches pattern - recorded
      Terminated: 22441: matches pattern - termination recorded
      Starting Sleeper 7
      exec'ing: /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/jre/bin/java -classpath /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/lib/tools.jar:/tmp/jprt/P2/T/204952.ohair/source/build/linux-amd64/testoutput/jdk_tools2/JTwork/classes/sun/jvmstat/monitor/MonitoredVm Sleeper 5000 1276909268406 7
      Started: 22472: "Sleeper 5000 1276909268406 7": matches pattern - recorded
      Terminated: 22455: matches pattern - termination recorded
      Starting Sleeper 8
      exec'ing: /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/jre/bin/java -classpath /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/lib/tools.jar:/tmp/jprt/P2/T/204952.ohair/source/build/linux-amd64/testoutput/jdk_tools2/JTwork/classes/sun/jvmstat/monitor/MonitoredVm Sleeper 5000 1276909268406 8
      Started: 22486: "Sleeper 5000 1276909268406 8": matches pattern - recorded
      Terminated: 22472: matches pattern - termination recorded
      Starting Sleeper 9
      exec'ing: /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/jre/bin/java -classpath /tmp/jprt/P2/T/204952.ohair/testproduct/linux_x64_2.6-product/lib/tools.jar:/tmp/jprt/P2/T/204952.ohair/source/build/linux-amd64/testoutput/jdk_tools2/JTwork/classes/sun/jvmstat/monitor/MonitoredVm Sleeper 5000 1276909268406 9
      Started: 22509: "Sleeper 5000 1276909268406 9": matches pattern - recorded
      Terminated: 22486: matches pattern - termination recorded
      Terminated: 22509: matches pattern - termination recorded
      STDERR:
      Unexpected MonitorException: 22397 not found
      Exception in thread "main" java.lang.RuntimeException: Too few sleepers started: started = 9 SLEEPERS = 10
      at MonitorVmStartTerminate.main(MonitorVmStartTerminate.java:65)

      TEST RESULT: Failed. Execution failed: exit code 1
      --------------------------------------------------

            dcubed Daniel Daugherty
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: