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

java/io/pathNames/GeneralWin32.java fail intermittently on windows-x64

    XMLWordPrintable

Details

    • b153

    Description

      2 types of issues which might be same issue.
      ============ type 1 ============
      C:\\jenkins\\workspace\\9-dev-tier2-windows-x64\\JTwork\\jdk_test\\scratch\\0 <== C:../0
      C:\\jenkins\\workspace\\9-dev-tier2-windows-x64\\JTwork\\jdk_test\\scratch\\foo <== C:../foo
      C:\\jenkins\\workspace\\9-dev-tier2-windows-x64\\JTwork\\jdk_test\\scratch <== C:../.
      C:\\jenkins\\workspace\\9-dev-tier2-windows-x64\\JTwork\\jdk_test <== C:../..
      C:\\jenkins\\workspace\\9-dev-tier2-windows-x64\\JTwork\\jdk_test\\scratch <== C:..//
      C:\\jenkins\\workspace\\9-dev-tier2-windows-x64\\JTwork\\jdk_test\\scratch\\0\\x.ParameterCheck <-- C:..//0\\x.ParameterCheck ==> java.io.FileNotFoundException: C:..\\0\\x.ParameterCheck (The process cannot access the file because it is being used by another process)
      java.io.FileNotFoundException: C:..\\0\\x.ParameterCheck (The process cannot access the file because it is being used by another process)
      at java.io.RandomAccessFile.open0(java.base@9-ea/Native Method)
      at java.io.RandomAccessFile.open(java.base@9-ea/RandomAccessFile.java:327)
      at java.io.RandomAccessFile.<init>(java.base@9-ea/RandomAccessFile.java:243)
      at java.io.RandomAccessFile.<init>(java.base@9-ea/RandomAccessFile.java:124)
      at General.check(General.java:268)
      at General.checkSlashes(General.java:319)
      at General.checkNames(General.java:348)
      at General.checkSlash(General.java:308)
      at General.checkSlashes(General.java:323)
      at General.checkNames(General.java:371)
      at GeneralWin32.checkDrive(GeneralWin32.java:136)
      at GeneralWin32.checkDrivePaths(GeneralWin32.java:140)
      at GeneralWin32.main(GeneralWin32.java:174)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:804)

      JavaTest Message: Test threw exception: java.io.FileNotFoundException
      JavaTest Message: shutting down test


      ========== type 2 ============
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch\\0 <== C:../0
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch\\foo <== C:../foo
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch <== C:../.
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test <== C:../..
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch <== C:..//
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch\\4\\testfile.txt <== C:..//4\\testfile.txt
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch\\0 <== C:..//0
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch\\foo <== C:..//foo
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch <== C:..//.
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test <== C:..//..
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch <== C:..///
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch\\4\\testfile.txt <== C:..///4\\testfile.txt
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch\\0 <== C:..///0
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch\\foo <== C:..///foo
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch <== C:..///.
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test <== C:..///..
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch <== C:..\\
      C:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch\\4\\testfile.txt <-- C:..\\4\\testfile.txt ==> java.io.FileNotFoundException: C:..\\4\\testfile.txt (The system cannot find the file specified)
      java.io.FileNotFoundException: C:..\\4\\testfile.txt (The system cannot find the file specified)
      at java.io.FileInputStream.open0(java.base@9-ea/Native Method)
      at java.io.FileInputStream.open(java.base@9-ea/FileInputStream.java:195)
      at java.io.FileInputStream.<init>(java.base@9-ea/FileInputStream.java:138)
      at java.io.FileInputStream.<init>(java.base@9-ea/FileInputStream.java:93)
      at General.check(General.java:266)
      at General.checkSlashes(General.java:319)
      at General.checkNames(General.java:348)
      at General.checkSlash(General.java:308)
      at General.checkSlashes(General.java:326)
      at General.checkNames(General.java:371)
      at GeneralWin32.checkDrive(GeneralWin32.java:136)
      at GeneralWin32.checkDrivePaths(GeneralWin32.java:140)
      at GeneralWin32.main(GeneralWin32.java:174)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:804)

      JavaTest Message: Test threw exception: java.io.FileNotFoundException
      JavaTest Message: shutting down test

      Attachments

        Issue Links

          Activity

            People

              amlu Amy Lu (Inactive)
              mli Hamlin Li
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: