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

b4482614 fails on Solaris 9

XMLWordPrintable

    • sparc
    • solaris_9




      Name: pvR10198 Date: 10/17/2002


      --------------------------------------
      Test : nsk/regression/b4482614
      TestBase : testbase_nsk
      VM : Client VM, Server VM
      Mode : mixed, comp
      Platform : sparc
      OS : Solaris 9, Solaris 10
      ----------------------------------------

      This is a regression test for the bug
          4482614 (P3/S3) LINUX: process reaping is broken
          Release summary: merlin-beta
          Hardware version: generic
          O/S version (unbundled products): Linux

      The test starts NUMBER_OF_THREADS threads, each thread then executes
      "perl -version" command NUMBER_OF_PROCESSES times (perl is passed to the
      test as an argument). The test defines timeout variable -- 80% of Tonga
      TIMEOUT variable, but not less then 15 minutes.

      After this time expires, the test checks if all threads are alive. If none
      threads hang, isAlive() always return false. If any thread is hung,
      isAlive() returns true. The test expects that all threads are dead after
      that period of time. If so, it returns 95 (PASS).Otherwise, it returns 97
      code (FAIL).

      This failure is reproduced only on Solaris 9 and Solaris 10.
      For all other OS the test passed, as well as for Solaris 8.
      Actually NUMBER_OF_THREADS=10 and NUMBER_OF_PROCESSES=800.
      If you reduce NUMBER_OF_PROCESSES to 200 the test will pass,
      so I guess this is perfomance issue.

      Steps to reproduce
      ================
      1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
      2. sh doit.sh $JAVA_HOME [-v] [timeout [perl [-options]]]

      where JAVA_HOME should point to testable JDK
            -v produce verbose output
            timeout time to wait in minutes (default=15)
            perl point to perl (default=/usr/dist/exe/perl5)
            -options Java options

      Failing log:
      -----------------------------------------------------
      java version "1.4.2-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b03)
      Java HotSpot(TM) Client VM (build 1.4.2-beta-b03, mixed mode)
      Thu Oct 17 16:45:45 PDT 2002: 0 is alive true
      Thu Oct 17 16:45:45 PDT 2002: interrupting 0
      Thu Oct 17 16:45:45 PDT 2002: 1 is alive true
      Thu Oct 17 16:45:45 PDT 2002: interrupting 1
      Thu Oct 17 16:45:45 PDT 2002: 2 is alive true
      Thu Oct 17 16:45:45 PDT 2002: interrupting 2
      Thu Oct 17 16:45:45 PDT 2002: 3 is alive true
      Thu Oct 17 16:45:45 PDT 2002: interrupting 3
      Thu Oct 17 16:45:45 PDT 2002: 4 is alive true
      Thu Oct 17 16:45:45 PDT 2002: interrupting 4
      Thu Oct 17 16:45:45 PDT 2002: 5 is alive true
      Thu Oct 17 16:45:45 PDT 2002: interrupting 5
      Thu Oct 17 16:45:45 PDT 2002: 6 is alive true
      Thu Oct 17 16:45:45 PDT 2002: interrupting 6
      Thu Oct 17 16:45:45 PDT 2002: 7 is alive true
      Thu Oct 17 16:45:45 PDT 2002: interrupting 7
      Thu Oct 17 16:45:45 PDT 2002: 8 is alive true
      Thu Oct 17 16:45:45 PDT 2002: interrupting 8
      Thu Oct 17 16:45:45 PDT 2002: 9 is alive true
      Thu Oct 17 16:45:45 PDT 2002: interrupting 9
      TEST FAILED.
      Exit Code: 97
      -----------------------------------------------------
      ======================================================================

            collins Gary Collins (Inactive)
            vpnsunw Vpn Vpn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: