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

test/java/io/File/GetXSpace.java fails when it hits a Solaris/ZFS filesystem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 6
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris_10

      Description

      When accessing a ZFS filesystem (directly or via NFS) the numbers
      returned do not add up for GetXSpace.java and the test fails:

      ----------System.err:(16/835)----------
      FAILED: '/v': 17704157184 != 17704076288
      FAILED: '/v/martin': 17704157184 != 17704074240
      FAILED: '/net/lonepeak.sfbay/w': 47596492800 != 47596493312
      FAILED: '/net/lonepeak.sfbay/w/devtools': 49513117696 != 49513118208
      FAILED: '/v': 17704157184 != 17704076288
      FAILED: '/v/martin': 17704157184 != 17704074240
      FAILED: '/net/lonepeak.sfbay/w': 47596492800 != 47596493312
      FAILED: '/net/lonepeak.sfbay/w/devtools': 49513117696 != 49513118208
      Exception in thread "main" java.lang.RuntimeException: 546 tests: 8 failure(s), first
      at GetXSpace.main(GetXSpace.java:359)
      Caused by: java.lang.RuntimeException: '/v': 17704157184 != 17704076288
      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



      The full .jtr file is too large to include here - see attachments.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tbell Tim Bell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Imported:
                Indexed: