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

runtime/threads/FileStreamThreadTest001 fails on SLES 9 and RHEL 4.0

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      linux_2.6

      Description

      --------------------------------------------
      Failing Test : runtime/threads/FileStreamThreadTest001
      JDK : 1.6.0-b14
      VM : client, server & 64bit
      Platform : SLES 9 (x86 & amd64), RHEL 4(x86)
      --------------------------------------------

      Machine Name : opteron004.sfbay
      Kernel version :
      Linux version 2.6.5-7.97-smp (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Fri Jul 2 14:21:59 UTC 2004

      DESCRIPTION OF TEST :
      Many threads are writing simultaneously to a file. The
      test FileInputStreamThreadTest001 checks to make sure
      that no characters are lost in the process.

      TESTBASE LOCATION:
      /net/sqe.sfbay/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/GC_FULLLOOK/testbase

      PLEASE NOTE:
      1) This test also fails on SLES 9 (x86 & amd64), RHEL 4(x86) with 1.5.0 JDK
      2) This test passes in SLES 8 (x86 and amd64), and RHAS 3 (x86) with 1.5.0 and 1.6.0 b14 JDK (2.4 kernel)

      TO REPRODUCE:
      cd /net/jano.sfbay/export/disk20/GammaBase/Bugs/{this_bug_number}/
      JAVA_HOME=/net/koori.sfbay/onestop/jdk/1.6.0/promoted/all/b14/binaries/linux-i586/
      $JAVA_HOME/bin/java FileStreamThreadTest001

      Test output:
      -----------------------------------------------------------------------
      # $JAVA_HOME/bin/java -version
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b14)
      Java HotSpot(TM) Server VM (build 1.6.0-ea-b14, mixed mode)

      # $JAVA_HOME/bin/java FileStreamThreadTest001
      1 writer 1 reader 1 byte per record
      Status=0
      1 writer 1 reader 1024 bytes per record
      Status=0
      1 writer 1 reader 1025 bytes per record
      Status=0
      8 writers 1 reader 1 byte per record
      File length=70
      nRead=70 nAuth=8 RecCnt=10
      Status=1
      8 writers 1 reader 1024 bytes per record
      Status=1
      8 writers 1 reader 1025 bytes per record
      File length=80975
      nRead=79 nAuth=8 RecCnt=10
      Status=2
      8 writers 1 reader 10240 bytes per record
      File length=573440
      nRead=56 nAuth=8 RecCnt=10
      File length=614400
      nRead=60 nAuth=8 RecCnt=10
      File length=716800
      nRead=70 nAuth=8 RecCnt=10
      File length=460800
      nRead=45 nAuth=8 RecCnt=10
      File length=481280
      nRead=47 nAuth=8 RecCnt=10
      File length=471040
      nRead=46 nAuth=8 RecCnt=10
      File length=604160
      nRead=59 nAuth=8 RecCnt=10
      File length=512000
      nRead=50 nAuth=8 RecCnt=10
      File length=491520
      nRead=48 nAuth=8 RecCnt=10
      Status=11
      -----------------------------------------------------

      ###@###.### 2004-12-09 01:13:14 GMT

        Attachments

          Activity

            People

            • Assignee:
              hhuangsunw Hui Huang (Inactive)
              Reporter:
              aramanatsunw Ashwin Ramanathan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: