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

test/java/io/File/GetXSpace.java fails on Windows

XMLWordPrintable

    • b09
    • x86
    • windows_2000

      test/java/io/File/GetXSpace.java fails on Windows 2000

      Here is the .jtr file:

      #Test Results (version 2)
      #Tue Dec 05 13:24:04 PST 2006
      #checksum:2d7ac8087df8342a
      #-----testdescription-----
      $file=C:\\tbell\\SBW\\j2se\\test\\java\\io\\File\\GetXSpace.java
      $root=C:\\tbell\\SBW\\j2se\\test
      keywords=bug4057701 bug6286712 bug6364377 shell
      run=USER_SPECIFIED build GetXSpace\r\nUSER_SPECIFIED shell GetXSpace.sh\r\n
      source=GetXSpace.java
      title=Basic functionality of File.get-X-Space methods.

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

      #-----testresult-----
      description=file:///C:/tbell/SBW/j2se/test/java/io/File/GetXSpace.java
      end=Tue Dec 05 13:24:04 PST 2006
      environment=regtest
      execStatus=Failed. Execution failed: exit code 1
      javatestOS=Windows 2000 5.0 (x86)
      javatestVersion=2.1.6
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile shell
      start=Tue Dec 05 13:24:01 PST 2006
      status=Failed. Execution failed: exit code 1
      test=java/io/File/GetXSpace.java
      work=C:\\tbell\\SBW\\j2se\\test\\java\\io\\File\\JTwork\\java\\io\\File

      #section:script_messages
      ----------messages:(4/285)----------
      JDK under test: (C:/tbell/b03PIT/control/build/windows-i586/j2sdk-image)
      java version "1.7.0-tbell_2006_11_28.15.09.07"
      Java(TM) SE Runtime Environment (build 1.7.0-tbell_2006_11_28.15.09.07-b332)
      Java HotSpot(TM) Client VM (build 1.7.0-tbell_2006_11_28.15.09.07-b332, mixed mode)

      #section:build
      ----------messages:(3/111)----------
      command: build GetXSpace
      reason: User specified action: run build GetXSpace
      elapsed time (seconds): 1.579
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/160)*----------
      command: compile C:\\tbell\\SBW\\j2se\\test\\java\\io\\File\\GetXSpace.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 1.579
      ----------System.out:(0/0)----------
      ----------System.err:(2/155)*----------
      Note: C:\\tbell\\SBW\\j2se\\test\\java\\io\\File\\GetXSpace.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      result: Passed. Compilation successful

      #section:shell
      ----------messages:(3/117)----------
      command: shell GetXSpace.sh
      reason: User specified action: run shell GetXSpace.sh
      elapsed time (seconds): 1.734
      ----------System.out:(73/5103)----------
      --- Testing df
      SecurityManager = null
      //?/Volume{8f51ef86-535b-11d9-96f5-806d6172696f}/:
        df total= 137427943424 free = 0 usable = 108545937408
        getX total= 0 free = 0 usable = 0
      //jdk.sfbay.sun.com/local-java:
        df total= 48619323392 free = 0 usable = 31267487744
        getX total= 48619323392 free = 31267487744 usable = 31267487744
      //jano.sfbay.sun.com/java-devtool:
        df total= 21474836480 free = 0 usable = 4119330816
        getX total= 21474836480 free = 4119330816 usable = 4119330816
      //vmsqe.sfbay.sun.com/export:
        df total= 7855013888 free = 0 usable = 998637568
        getX total= 7855013888 free = 998637568 usable = 998637568

      SecurityManager = GetXSpace$Allow
      //?/Volume{8f51ef86-535b-11d9-96f5-806d6172696f}/:
        df total= 137427943424 free = 0 usable = 108545937408
        getX total= 0 free = 0 usable = 0
      //jdk.sfbay.sun.com/local-java:
        df total= 48619323392 free = 0 usable = 31267487744
        getX total= 48619323392 free = 31267487744 usable = 31267487744
      //jano.sfbay.sun.com/java-devtool:
        df total= 21474836480 free = 0 usable = 4119330816
        getX total= 21474836480 free = 4119330816 usable = 4119330816
      //vmsqe.sfbay.sun.com/export:
        df total= 7855013888 free = 0 usable = 998637568
        getX total= 7855013888 free = 998637568 usable = 998637568

      SecurityManager = GetXSpace$DenyFSA
      //?/Volume{8f51ef86-535b-11d9-96f5-806d6172696f}/:
         getTotalSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
          getFreeSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
        getUsableSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
      //jdk.sfbay.sun.com/local-java:
         getTotalSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
          getFreeSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
        getUsableSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
      //jano.sfbay.sun.com/java-devtool:
         getTotalSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
          getFreeSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
        getUsableSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
      //vmsqe.sfbay.sun.com/export:
         getTotalSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
          getFreeSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
        getUsableSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected

      SecurityManager = GetXSpace$DenyRead
      //?/Volume{8f51ef86-535b-11d9-96f5-806d6172696f}/:
         getTotalSpace: "java.security.AccessControlException: access denied (java.lang.RuntimePermission getFileSystemAttributes)" thrown as expected
          getFreeSpace: "java.security.AccessControlException: access denied (java.lang.RuntimePermission getFileSystemAttributes)" thrown as expected
        getUsableSpace: "java.security.AccessControlException: access denied (java.lang.RuntimePermission getFileSystemAttributes)" thrown as expected
      //jdk.sfbay.sun.com/local-java:
         getTotalSpace: "java.security.AccessControlException: access denied (java.lang.RuntimePermission getFileSystemAttributes)" thrown as expected
          getFreeSpace: "java.security.AccessControlException: access denied (java.lang.RuntimePermission getFileSystemAttributes)" thrown as expected
        getUsableSpace: "java.security.AccessControlException: access denied (java.lang.RuntimePermission getFileSystemAttributes)" thrown as expected
      //jano.sfbay.sun.com/java-devtool:
         getTotalSpace: "java.security.AccessControlException: access denied (java.lang.RuntimePermission getFileSystemAttributes)" thrown as expected
          getFreeSpace: "java.security.AccessControlException: access denied (java.lang.RuntimePermission getFileSystemAttributes)" thrown as expected
        getUsableSpace: "java.security.AccessControlException: access denied (java.lang.RuntimePermission getFileSystemAttributes)" thrown as expected
      //vmsqe.sfbay.sun.com/export:
         getTotalSpace: "java.security.AccessControlException: access denied (java.lang.RuntimePermission getFileSystemAttributes)" thrown as expected
          getFreeSpace: "java.security.AccessControlException: access denied (java.lang.RuntimePermission getFileSystemAttributes)" thrown as expected
        getUsableSpace: "java.security.AccessControlException: access denied (java.lang.RuntimePermission getFileSystemAttributes)" thrown as expected
      FAILED
      --- Testing c:/temp/tmp1_1780/foo
      c:/temp/tmp1_1780/foo:
        df total= 137427943424 free = 0 usable = 108545933312
        getX total= 137427943424 free = 108545933312 usable = 108545933312
      all 4 tests passed
      Passed

      1 test(s) failed
      ----------System.err:(12/765)----------
      FAILED: '//?/Volume{8f51ef86-535b-11d9-96f5-806d6172696f}/': 137427943424 != 0
      FAILED: '//?/Volume{8f51ef86-535b-11d9-96f5-806d6172696f}/': 108545937408 ?? 0
      FAILED: '//?/Volume{8f51ef86-535b-11d9-96f5-806d6172696f}/': 137427943424 != 0
      FAILED: '//?/Volume{8f51ef86-535b-11d9-96f5-806d6172696f}/': 108545937408 ?? 0
      Exception in thread "main" java.lang.RuntimeException: 104 tests: 4 failure(s), first
      at GetXSpace.main(GetXSpace.java:359)
      Caused by: java.lang.RuntimeException: '//?/Volume{8f51ef86-535b-11d9-96f5-806d6172696f}/': 137427943424 != 0
      at GetXSpace.setFirst(GetXSpace.java:75)
      at GetXSpace.fail(GetXSpace.java:60)
      at GetXSpace.compare(GetXSpace.java:200)
      at GetXSpace.testDF(GetXSpace.java:343)
      at GetXSpace.main(GetXSpace.java:355)
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1

            iignatyev Igor Ignatyev (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: