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

REGRESSION: JCK1.5: most of vm/jdwp test fail with -Xconcgc or -Xincgc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 6
    • hotspot
    • generic
    • generic

      JCK : jck1.5a
      J2SE : FAIL - mustang b29 - b33
                       PASS - mustang b28
      Platform[s] : FAIL - solaris, windows
      switch/Mode : FAIL - - Xconcgc
                       PASS - default

      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

      Failing Tests:
      ===============
      Most of tests under vm/jdwp fail (attached result report report.tar)
      Tests that passed 17
      Tests that failed 84
      Tests that had errors 1
      Total 102

      Test source location:
      =====================
      /net/cady/export/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a/tests/vm/jdwp/

      jtr file location:
      ==================
      /net/jsqalab.sfbay/export/results/6.0/b32/jck/jck-15a_runtime-Sol10AMD64_Xconcgc-XXUseParNewGC/workDir/vm/jdwp
      /net/jsqalab.sfbay/export/results/6.0/b32/jck/jck-15a_runtime-winXPhome_Xconcgc/workDir/vm/jdwp

      Also, attached one for reference (getvalues001.jtr)

      How to reproduce:
      ====================
      Test run through harness
      * Part I - Test Preparation Tip:
      (A) Make sure your test machine is mounted to jsqalab.sfbay where the testsuite is located
      (B) Start passive agent in any host machine (login to the host machine and run attached script for start_passive_agent_1.6.0.ksh)

      * Part II - make test environment and execute
      1) $ mkdir /export/try // make workdir
      2) $ cd /export/try
      3) download attached twc_gen_cfg and twc.cfg file to this current directory
      4) update twc.cfg file with your information:
      - PRODUCT
      - WORK_DIRECTORY
      5) $ sh twc_gen_cfg -t twc.cfg //generate the test environment
      6) $ cd AT*
      7) $ cd RUNTIME.DEFAULT.OJVM
      8) update the jck.jti file for passiveHost (need to set where you started your passive agent: see above (B) for host name)
         1. comment out the CHECKSUM
         2. jck.env.runtime.remoteAgent.passiveHost=<your passive host>
      9) $ javatest.sh // start executing test

      10) your test result file is stored under /export/try/workDir

      Test output:
      =============
      Test fails in the section: remote.networkAgent testExecute
      Writing JDWP packet...
      Reading JDWP packet...
      # ERROR: Wrong header of reply packet for command VirtualMachine.ClassesBySignature:
      # ERROR: Unexpected error code in reply packet header: 0x006e (110)
      Reply packet:
      0000 (length) : 0x00000010 (16)
      0004 (id) : 0x00000005 (5)
      0008 (flags) : 0x80 (-128)
      000a (error) : 0x006e (110)
      Entire packet (16 bytes):
      0000: 00 00 00 10 00 00 00 05 80 00 6e 00 00 00 01 01 ..........n.....
      Packet end
      >>> Finishing test
      Sending signal to debugee: quit
      Waiting for debugee exits
      Writing JDWP packet...
      Reading JDWP packet...
      Target VM is disposed via VM.Dispose command
      ...
      # ERROR: TEST FAILED: Wrong reply packet received for command: VirtualMachine.ClassesBySignature
      javasoft.sqe.jck.lib.jpda.Failure: Wrong reply packet received for command: VirtualMachine.ClassesBySignature
      at javasoft.sqe.jck.lib.jpda.jdwp.Debugee.receiveReplyFor(Debugee.java:1053)
      at javasoft.sqe.jck.lib.jpda.jdwp.Debugee.getReferenceTypeID(Debugee.java:1165)
      at javasoft.sqe.tests.vm.jdwp.ArrayReference.GetValues.getvalues001.runIt(getvalues001.java:137)
      at javasoft.sqe.tests.vm.jdwp.ArrayReference.GetValues.getvalues001.run(getvalues001.java:102)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      Specific Machine Info:
      =====================
      $ uname -a
      SunOS sunfire002 5.10 Generic i86pc i386 i86pc

      ###@###.### 2005-04-26 00:15:55 GMT

            alanb Alan Bateman
            jsongsunw Joo Song (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: