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

test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh with CNF

    XMLWordPrintable

Details

    • b117
    • Not verified

    Backports

      Description

        JDK-6543856 recently "fixed" this test but it seems to be failing again, this time with a CNF exception. Here's an example log:

        #Test Results (version 2)
        #Tue Nov 12 21:22:34 GMT 2013
        #checksum:65e1d9429d228212
        #-----testdescription-----
        $file=/u/alanb/ws/tl/jdk/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh
        $root=/u/alanb/ws/tl/jdk/test
        keywords=bug4990825 shell
        library=../../testlibrary
        run=USER_SPECIFIED build Sleeper\nUSER_SPECIFIED build JavaProcess\nUSER_SPECIFIED build MonitorVmStartTerminate\nUSER_SPECIFIED shell MonitorVmStartTerminate.sh\n
        source=MonitorVmStartTerminate.sh
        title=attach to external but local JVM processes

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

        #-----testresult-----
        description=file\:/u/alanb/ws/tl/jdk/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh
        elapsed=224 0\:00\:00.224
        end=Tue Nov 12 21\:22\:34 GMT 2013
        environment=regtest
        execStatus=Failed. Execution failed\: exit code 1
        hostname=ashtown.ie.oracle.com
        javatestOS=Linux 3.2.0-23-generic (amd64)
        javatestVersion=4.4
        jtregVersion=jtreg 4.1 fcs b07
        script=com.sun.javatest.regtest.RegressionScript
        sections=script_messages build build build shell
        start=Tue Nov 12 21\:22\:34 GMT 2013
        test=sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh
        user.name=albatem
        work=/u/alanb/testing/jtreg/JTwork/sun/jvmstat/monitor/MonitoredVm

        #section:script_messages
        ----------messages:(5/271)----------
        JDK under test: (/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image)
        java version "1.8.0-internal"
        Java(TM) SE Runtime Environment (build 1.8.0-internal-albatem_2013_11_09_10_09-b00)
        Java HotSpot(TM) 64-Bit Server VM (build 25.0-b57, mixed mode)


        #section:build
        ----------messages:(3/101)----------
        command: build Sleeper
        reason: User specified action: run build Sleeper
        elapsed time (seconds): 0.0
        result: Passed. All files up to date

        #section:build
        ----------messages:(3/109)----------
        command: build JavaProcess
        reason: User specified action: run build JavaProcess
        elapsed time (seconds): 0.0
        result: Passed. All files up to date

        #section:build
        ----------messages:(3/133)----------
        command: build MonitorVmStartTerminate
        reason: User specified action: run build MonitorVmStartTerminate
        elapsed time (seconds): 0.0
        result: Passed. All files up to date

        #section:shell
        ----------messages:(3/141)----------
        command: shell MonitorVmStartTerminate.sh
        reason: User specified action: run shell MonitorVmStartTerminate.sh
        elapsed time (seconds): 0.221
        ----------System.out:(0/0)----------
        ----------System.err:(12/716)----------
        Exception in thread "main" java.lang.NoClassDefFoundError: JavaProcess
        at MonitorVmStartTerminate$SleeperStarter.<init>(MonitorVmStartTerminate.java:202)
        at MonitorVmStartTerminate.main(MonitorVmStartTerminate.java:52)
        Caused by: java.lang.ClassNotFoundException: JavaProcess
        at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 2 more
        ----------rerun:(16/982)*----------
        HOME=/home/albatem \\
        LANG=en_IE.UTF-8 \\
        PATH=/bin:/usr/bin \\
        TESTSRC=/u/alanb/ws/tl/jdk/test/sun/jvmstat/monitor/MonitoredVm \\
        TESTSRCPATH=/u/alanb/ws/tl/jdk/test/sun/jvmstat/monitor/MonitoredVm:/u/alanb/ws/tl/jdk/test/sun/jvmstat/testlibrary \\
        TESTCLASSES=/u/alanb/testing/jtreg/JTwork/classes/sun/jvmstat/monitor/MonitoredVm \\
        TESTCLASSPATH=/u/alanb/testing/jtreg/JTwork/classes/sun/jvmstat/monitor/MonitoredVm:/u/alanb/testing/jtreg/JTwork/classes/sun/jvmstat/testlibrary \\
        COMPILEJAVA=/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
        TESTJAVA=/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
        'TESTVMOPTS=-ea -esa -Xmx256m -DCompatibilityTest.disableNetwork=true' \\
        'TESTTOOLVMOPTS=-J-ea -J-esa -J-Xmx256m -J-DCompatibilityTest.disableNetwork=true' \\
        TESTJAVACOPTS= \\
        TESTJAVAOPTS= \\
        TESTTIMEOUTFACTOR=5.0 \\
            sh \\
                /u/alanb/ws/tl/jdk/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh
        result: Failed. Execution failed: exit code 1


        test result: Failed. Execution failed: exit code 1

        Attachments

          Issue Links

            Activity

              People

                alanb Alan Bateman
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: