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

CTE_REGTEST/Generic/4861802 fails, mustang

XMLWordPrintable

    • 6
    • b58
    • sparc
    • solaris_9

      J2SE : FAIL - mustang
                        PASS - tiger, tiger update
      Platform[s] : FAIL - Solaris9 sparc
      Failing Tests : CTE_REGTEST/Generic/4861802

      Executed command /usr/sbin/chroot /chroot ./jre1.6.0/bin/java -version
      Error shows "dl failure on line 679Error: failed /jre1.6.0/lib/sparc/client/libjvm.so, because ld.so.1: java: fatal: libdoor.so.1: open failed: No such file or directory"

      Test Output
      =========================================================================
      # uname -a
      SunOS parislv 5.9 Generic_117171-07 sun4u sparc SUNW,Ultra-60
      # pwd
      /chroot
      # ls
      bin j2re1.4.2_09 jre1.6.0 sbin var
      dev jre1.5.0 lib tmp
      etc jre1.5.0_05 opt usr
      # /usr/sbin/chroot /chroot ./j2re1.4.2_09/bin/java -version
      java version "1.4.2_09"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
      Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
      # /usr/sbin/chroot /chroot ./jre1.5.0_05/bin/java -version
      java version "1.5.0_05"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b04)
      Java HotSpot(TM) Client VM (build 1.5.0_05-b04, mixed mode, sharing)
      # /usr/sbin/chroot /chroot ./jre1.6.0/bin/java -version
      dl failure on line 679Error: failed /jre1.6.0/lib/sparc/client/libjvm.so, because ld.so.1: java: fatal: libdoor.so.1: open failed: No such file or directory

      Test Location:
      =========================================================================
      /net/jdk.sfbay/export/jpse04/Regression/1.6.0/test/CTE_REGTEST/Generic/4861802:

      TEST - 4861802
       -- missing /proc/<pid> dir in chroot env. causes 1.4.1 java to fail
      Fixed in JDK1.4.1_05
      Fixed in JDK1.4.2_02
       
      This test procedure must be performed from 'root' user account
         so please be careful about the commands
       
      Instructions:
      1. Open a terminal window and login as user 'root'
      2. Make sure that '/chroot' directory does not exists
      3. Goto the following directory
      /net/cady.sfbay/export/sqa/joos/regression/results/jdk60/JTwork/scratch
      4. Run the following command
            # ksh ./mkchroot /chroot
         This program will create a directory 'chroot' under '/' directory
         and copies lots of libraries into it.
      5. goto /chroot directory and run the following commands
           # cp /usr/lib/libC* /chroot/usr/lib
           # cp /usr/lib/sparcv9/libC* /chroot/usr/lib/sparcv9
           # cp /usr/lib/libsched.so.1 /chroot/usr/lib
      6. Install JRE of the tested JDK version into current directory (/chroot)
           (it will create jre1.#.#_## directory)
      7. Run the following command
           # /usr/sbin/chroot /chroot ./jre1.#.#_##/bin/java -version

            asaha Abhijit Saha
            jsongsunw Joo Song (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: