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

TEST_BUG: no proper sync with agent thread in hs103t002

XMLWordPrintable

    • b71
    • generic
    • generic

        The follwoing is from Dan's notes:
        New nsk.jvmti failures (from 2006.03.06)
          nsk/jvmti/scenarios/hotswap/HS103/hs103t002
                This test failed with exit code 96 on Linux IA32 Client VM
                (machine john). The .err file is empty and the .out file does
                not give any indication as to the problem. The exit code in the
                .tlog file is all we have for now.

                This test was previously covered by the following test bug:
                    6334987 3/4 Tests are failing due to unsatisfied link error
                                on windows-i586 only.
                which was marked as "Fix Delivered" in time for the 2006.03.06
                nightly run.

        #!/bin/sh

        PATH=/export/gtee/Work/JDK/NIGHTLY/Serv_Baseline/linux-i586/bin:/bin:/usr/bin:/export/gtee/Work/JDK/NIGHTLY/Serv_Baseline/linux-i586/jre/bin:/mksnt
        SHELL=/bin/sh
        RAS_OPTIONS=
        HOME=/var/tmp
        CLASSPATH=/export/gtee/Work/exec/nsk.jvmti-NIGHTLY-Serv_Baseline-ClientVM-comp-linux-i386-2006-03-06-19-39-51/run2/fhsu.Linux.i386/hs103t002:/net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/classes:/export/gtee/Work/JDK/NIGHTLY/Serv_Baseline/linux-i586/lib/tools.jar
        DISPLAY=vmsqe.sfbay:0.0
        LD_LIBRARY_PATH=/net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/lib/linux-i586/nsk/jvmti/scenarios/hotswap/HS103:/net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/src/nsk/share/lib/linux-i586:/export/gtee/Work/JDK/NIGHTLY/Serv_Baseline/linux-i586/jre/lib/i386:/export/gtee/Work/JDK/NIGHTLY/Serv_Baseline/linux-i586/jre/lib/i386/client

        while [ $# -gt 0 ];
        do
          if [ $1 = "-jdk" ]; then
        shift 1
        PATH=${1}/bin:${PATH}
        shift 1
          else
        if [ $1 = "-d" ]; then
        shift 1
        if [ $# -gt 0 ]; then
        DISPLAY=$1
        shift 1
        else
        DISPLAY=:0.0
        fi
        fi
          fi
        done

        export PATH
        export SHELL
        export RAS_OPTIONS
        export HOME
        export CLASSPATH
        export DISPLAY
        export LD_LIBRARY_PATH

        #annotate TEST javaopt=-client -Xcomp "-agentlib:hs103t002=pathToNewByteCode=/net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin -waittime=2 package=nsk samples=100 mode=compiled"
        /export/gtee/Work/JDK/NIGHTLY/Serv_Baseline/linux-i586/bin/java -client -Xcomp -DHANGINGJAVA23681 "-agentlib:hs103t002=pathToNewByteCode=/net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin -waittime=2 package=nsk samples=100 mode=compiled" nsk.jvmti.scenarios.hotswap.HS103.hs103t002.hs103t002
        ##Exit status of execution step=96
        ##!checkExitCode

        #Agent:: VM.. Started..
        # Agent Thread Created..
        # In side the redefine method..
        ## info :: File = /net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/newclass00/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/MyThread.class
        ## info **Agent:: opening file /net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/newclass00/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/MyThread.class
        ## info file size= 968
        # File red completely
        #
        #MyClass :: Successfully redefined..
        # In side the redefine method..
        ## info :: File = /net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/newclass00/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/MyThread.class
        ## info **Agent:: opening file /net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/newclass00/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/MyThread.class
        ## info file size= 968
        # File red completely
        #
        #MyClass :: Successfully redefined..
        # In side the redefine method..
        ## info :: File = /net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/newclass00/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/MyThread.class
        ## info **Agent:: opening file /net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/newclass00/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/MyThread.class
        ## info file size= 968
        # File red completely
        #
        #MyClass :: Successfully redefined..
        # In side the redefine method..
        ## info :: File = /net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/newclass00/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/MyThread.class
        ## info **Agent:: opening file /net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/newclass00/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/MyThread.class
        ## info file size= 968
        # File red completely
        #
        #MyClass :: Successfully redefined..
        # In side the redefine method..
        ## info :: File = /net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/newclass00/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/MyThread.class
        ## info **Agent:: opening file /net/gtee.sfbay/export/gtee/suites/testbase_vm.1.6/vm/bin/newclass00/nsk/jvmti/scenarios/hotswap/HS103/hs103t002/MyThread.class
        ## info file size= 968

              sla Staffan Larsen (Inactive)
              sspitsyn Serguei Spitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: