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

(file) java/nio/file/FileStore/Basic.java fails if the same file system is mounted more than once

XMLWordPrintable

    • b114
    • x86
    • linux_redhat_5.0
    • Verified

      Testsuite name: regression
      test: java/nio/file/FileStore/Basic.java
      JDK/JRE tested: jdk 7b106
      OS/architecture: rhel5-x64
      Reproducible: Always
      Reproducible on machine: stt-57.russia
      Is it a platform specific regression: N
      Is it a Regression: N

      Test run log location:
      [stt-robot@stt-57]$ cat cur/work/java/nio/file/FileStore/Basic.jtr
      #Test Results (version 2)
      #Tue Aug 24 19:45:36 MSD 2010
      #checksum:71fcaa940578e600
      #-----testdescription-----
      $file=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/java/nio/file/FileStore/Basic.java
      $root=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test
      keywords=bug4313887 bug6873621
      library=..
      run=ASSUMED_ACTION main Basic\n
      source=Basic.java
      title=Unit test for java.nio.file.FileStore

      #-----environment-----

      #-----testresult-----
      description=file:///net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/java/nio/file/FileStore/Basic.java
      end=Tue Aug 24 19:45:36 MSD 2010
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Assertion failed
      javatestOS=Linux 2.6.18-194.el5 (i386)
      javatestVersion=3.2.2_03
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build main
      start=Tue Aug 24 19:45:36 MSD 2010
      test=java/nio/file/FileStore/Basic.java
      work=/export/JQA/regression/cur/work/java/nio/file/FileStore

      #section:script_messages
      ----------messages:(4/186)----------
      JDK under test: (/export/jdk/jdk1.7.0b106)
      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b106)
      Java HotSpot(TM) Client VM (build 19.0-b05, mixed mode, sharing)

      #section:build
      ----------messages:(3/90)----------
      command: build Basic
      reason: Named class compiled on demand
      elapsed time (seconds): 0.001
      result: Passed. All files up to date

      #section:main
      ----------messages:(3/109)----------
      command: main Basic
      reason: Assumed action based on file name: run main Basic
      elapsed time (seconds): 0.275
      ----------System.out:(10/578)----------
      / (/dev/mapper/VolGroup00-LogVol00) (name=/dev/mapper/VolGroup00-LogVol00 type=ext3)
      /proc (proc) (name=proc type=proc)
      /sys (sysfs) (name=sysfs type=sysfs)
      /dev/pts (devpts) (name=devpts type=devpts)
      /boot (/dev/sda1) (name=/dev/sda1 type=ext3)
      /dev/shm (tmpfs) (name=tmpfs type=tmpfs)
      /proc/sys/fs/binfmt_misc (none) (name=none type=binfmt_misc)
      /var/lib/nfs/rpc_pipefs (sunrpc) (name=sunrpc type=rpc_pipefs)
      /net/vice/export (vice:/export) (name=vice:/export type=nfs)
      /net/vice.russia.sun.com/export (vice.russia.sun.com:/export) (name=vice.russia.sun.com:/export type=nfs)
      ----------System.err:(15/759)----------
      java.lang.RuntimeException: Assertion failed
      at Basic.assertTrue(Basic.java:48)
      at Basic.doTests(Basic.java:92)
      at Basic.main(Basic.java:40)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:613)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
      at java.lang.Thread.run(Thread.java:717)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Assertion failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Assertion failed
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Assertion failed


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Assertion failed

      Steps to reproduce:
      [stt-robot@stt-57]$ /export/jdk/jdk1.7.0b106/bin/javac Basic.java
      [stt-robot@stt-57]$ /export/jdk/jdk1.7.0b106/bin/java Basic
      / (/dev/mapper/VolGroup00-LogVol00) (name=/dev/mapper/VolGroup00-LogVol00 type=ext3)
      /proc (proc) (name=proc type=proc)
      /sys (sysfs) (name=sysfs type=sysfs)
      /dev/pts (devpts) (name=devpts type=devpts)
      /boot (/dev/sda1) (name=/dev/sda1 type=ext3)
      /dev/shm (tmpfs) (name=tmpfs type=tmpfs)
      /proc/sys/fs/binfmt_misc (none) (name=none type=binfmt_misc)
      /var/lib/nfs/rpc_pipefs (sunrpc) (name=sunrpc type=rpc_pipefs)
      /net/vice/export (vice:/export) (name=vice:/export type=nfs)
      /net/vice.russia.sun.com/export (vice.russia.sun.com:/export) (name=vice.russia.sun.com:/export type=nfs)
      Exception in thread "main" java.lang.RuntimeException: Assertion failed
      at Basic.assertTrue(Basic.java:48)
      at Basic.doTests(Basic.java:92)
      at Basic.main(Basic.java:40)

            alanb Alan Bateman
            ikobzaresunw Ivan Kobzarev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: