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

(zipfs) jdk/nio/zipfs/ZipFSTester.java RuntimeException: CHECK_FAILED! (getAttribute.crc <entries20> failed 6af4413c vs 0 ...)

    Details

    • Subcomponent:
    • Resolved In Build:
      b21

      Backports

        Description

        open/test/jdk/jdk/nio/zipfs/ZipFSTester.java

        ----------System.out:(95/2624)----------
        [/]
          foo.jar
          [/META-INF]
            MANIFEST.MF
          [/dir1]
            foo
            [/dir1/dir3]
              fooo
          [/dir2]
            bar
        checking </tmp/testzipfs_16184370724208013164zip> vs </tmp/testzipfs_16184370724208013164zip>...
        checking </tmp/testzipfs_16184370724208013164zip> vs </xyz73/efg8/foo.class>...
        checking </tmp/testzipfs_16184370724208013164zip> vs </tmp/testzipfs_16184370724208013164zip_Tmp>...
        checking </tmp/testzipfs_16184370724208013164zip> vs </tmp/testzipfs_16184370724208013164zip_Tmp0>...
        [/]
          [/xyz73]
            [/xyz73/efg8]
          [/tmp]
          foo.jar
          [/META-INF]
            MANIFEST.MF_TMP
          [/dir1]
            foo
            [/dir1/dir3]
              fooo
          [/dir2]
            bar
        checking </tmp/testzipfs_16184370724208013164zip> vs </tmp/testzipfs_16184370724208013164zip>...
        checking </tmp/testzipfs_16184370724208013164zip> vs </tmp/testzipfs_16184370724208013164zip_Tmp>...
        test ByteChannel...
           sbc[0]: pos=0, size=12345
           sbc[1]: read=12345, pos=12345, size=12345
           sbc[2]: pos=120, size=12345
           sbc[3]: read=100, pos=220, size=12345
           sbc[4]: bb[120]=199, bb1[0]=199
        walking: /foo.jar
        [/]
          srcInjarjar
          [/dir2]
            bar
          [/dir1]
            [/dir1/dir3]
              fooo
            foo
          [/META-INF]
            MANIFEST.MF
        checking </tmp/testzipfs_16184370724208013164zip> vs </srcInjarjar>...
        checking </tmp/testzipfs_16184370724208013164zip> vs </tmp/testzipfs_16184370724208013164zip>...
        checking </tmp/testzipfs_16184370724208013164zip> vs </tmp/testzipfs_16184370724208013164zip_Tmp>...
        test ByteChannel...
           sbc[0]: pos=0, size=12345
           sbc[1]: read=12345, pos=12345, size=12345
           sbc[2]: pos=120, size=12345
           sbc[3]: read=100, pos=220, size=12345
           sbc[4]: bb[120]=199, bb1[0]=199
        copy src: fs -> fs0...
        open fs0 as fs1
        listing...
        copying/removing...
        closing: fs1, fs2
        checkEqual: fs vs fs3
        checking </META-INF/MANIFEST.MF> vs </META-INF/MANIFEST.MF>...
        checking </dir1/foo> vs </dir1/foo>...
        checking </dir1/dir3/fooo> vs </dir1/dir3/fooo>...
        checking </dir2/bar> vs </dir2/bar>...
        closing: fs3
        opening: fs3 as fs4
        checkEqual: fs vs fs4
        checking </dir2/bar> vs </dir2/bar>...
        checking </META-INF/MANIFEST.MF> vs </META-INF/MANIFEST.MF>...
        checking </dir1/foo> vs </dir1/foo>...
        checking </dir1/dir3/fooo> vs </dir1/dir3/fooo>...
        walking: fs4
        [/]
          [/dir2]
            bar
          [/META-INF]
            MANIFEST.MF
          [/dir1]
            foo
            [/dir1/dir3]
              fooo
        closing: fs4
        failed=0
        read()/position() failed
        read()/position() failed
        read()/position() failed
        read()/position() failed
        read()/position() failed
        read()/position() failed
        read()/position() failed
        read()/position() failed
        read()/position() failed
        read()/position() failed
         getAttribute.crc <entries20> failed 6af4413c vs 0 ...
        ----------System.err:(27/1771)----------
        java.nio.file.FileSystemException: /xyz73/efg8 -> is a directory
        at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.newInputStream(ZipFileSystem.java:583)
        at jdk.zipfs/jdk.nio.zipfs.ZipPath.newInputStream(ZipPath.java:721)
        at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newInputStream(ZipFileSystemProvider.java:278)
        at java.base/java.nio.file.Files.newInputStream(Files.java:158)
        at ZipFSTester.test1(ZipFSTester.java:228)
        at ZipFSTester.main(ZipFSTester.java:94)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
        at java.base/java.lang.Thread.run(Thread.java:830)
        java.lang.RuntimeException: CHECK FAILED!
        at ZipFSTester.checkRead(ZipFSTester.java:446)
        at ZipFSTester.testStreamChannel(ZipFSTester.java:553)
        at ZipFSTester.main(ZipFSTester.java:97)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
        at java.base/java.lang.Thread.run(Thread.java:830)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  clanger Christoph Langer
                  Reporter:
                  ljiang Leo Jiang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: