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

TEST_BUG: java/io/pathNames/GeneralWin32.java failing intermittently in concurrent test runs [win]

    XMLWordPrintable

    Details

      Description


      When running the tests with -concurrency then this test fails intermittently on Windows. The jtr file is too big to paste it all here but the relevant sections are included.

      In this example the agent is using C:\\alanb\\JTwork\\scratch\\2 as its scratch directory but towards the end of the test it appears to stray into a scratch directory for another agent VM that is running tests. That results in interference and test failure.


      #Test Results (version 2)
      #Tue Nov 27 10:54:42 GMT 2012
      #checksum:2fd76806e0096cfd
      #-----testdescription-----
      $file=C\:\\alanb\\tl-jdk\\test\\java\\io\\pathNames\\GeneralWin32.java
      $root=C\:\\alanb\\tl-jdk\\test
      author=Mark Reinhold
      keywords=bug4032066 bug4039597 bug4046914 bug4054511 bug4065189 bug4109131 bug4875229 bug6983520
      maxTimeout=600
      run=USER_SPECIFIED build General GeneralWin32\r\nUSER_SPECIFIED main/timeout\=600 GeneralWin32\r\n
      source=GeneralWin32.java
      title=General exhaustive test of win32 pathname handling

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

      #-----testresult-----
      description=file\:/C\:/alanb/tl-jdk/test/java/io/pathNames/GeneralWin32.java
      elapsed=1027 0\:00\:01.027
      end=Tue Nov 27 10\:54\:42 GMT 2012
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.io.FileNotFoundException\: .\\..\\0\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaa
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaa
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\areallylongfilenamethatsforsurAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA (The
      system cannot find the file specified)
      hostname=IRL10086.uk.oracle.com
      javatestOS=Windows Server 2008 R2 6.1 (amd64)
      javatestVersion=4.4
      jtregVersion=jtreg 4.1 fcs b04
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile build main
      start=Tue Nov 27 10\:54\:41 GMT 2012
      test=java/io/pathNames/GeneralWin32.java
      user.name=Administrator
      work=C\:\\alanb\\JTwork\\java\\io\\pathNames

      #section:script_messages
      ----------messages:(4/216)*----------
      JDK under test: (C:\\alanb\\jdk1.8)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-201211261514.albatem.tl-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b09, mixed mode)

      #section:build
      ----------messages:(3/132)----------
      command: build General GeneralWin32
      reason: User specified action: run build General GeneralWin32
      elapsed time (seconds): 0.092
      result: Passed. Build successful

      #section:compile
      ----------messages:(3/223)*----------
      command: compile C:\\alanb\\tl-jdk\\test\\java\\io\\pathNames\\General.java C:\\alanb\\tl-jdk\\test\\java\\io\\pathNames\\GeneralWin32.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.091
      ----------direct:(2/155)*----------
      Note: C:\\alanb\\tl-jdk\\test\\java\\io\\pathNames\\General.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      result: Passed. Compilation successful

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

      #section:main
      ----------messages:(3/126)----------
      command: main GeneralWin32
      reason: User specified action: run main/timeout=600 GeneralWin32
      elapsed time (seconds): 0.934
      ----------System.err:(1265/86067)*----------
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\FOO_bar_BAZ\\GLORPified <== XyZzY0123\\FOO_bar_BAZ\\GLORPified
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\FOO_bar_BAZ\\GLORPified <== xyzzy0123\\foo_bar_baz\\glorpified
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\FOO_bar_BAZ\\GLORPified <== XYZZY0123\\FOO_BAR_BAZ\\GLORPIFIED
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== XyZzY0123\\mumble
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== XyZzY0123\\mumble/
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo/
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo\\foo1 <== XyZzY0123\\mumble/foo/foo1
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo/.
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== XyZzY0123\\mumble/foo/..
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo//
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo\\foo1 <== XyZzY0123\\mumble/foo//foo1
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo//.
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== XyZzY0123\\mumble/foo//..
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo///
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo\\foo1 <== XyZzY0123\\mumble/foo///foo1
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo///.
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== XyZzY0123\\mumble/foo///..
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo\\
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo\\foo1 <== XyZzY0123\\mumble/foo\\foo1
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo\\.
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== XyZzY0123\\mumble/foo\\..
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo\\\\
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo\\foo1 <== XyZzY0123\\mumble/foo\\\\foo1
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo\\\\.
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== XyZzY0123\\mumble/foo\\\\..
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo\\/
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo\\foo1 <== XyZzY0123\\mumble/foo\\/foo1
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo\\/.
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== XyZzY0123\\mumble/foo\\/..
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo/\\
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo\\foo1 <== XyZzY0123\\mumble/foo/\\foo1
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo/\\.
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== XyZzY0123\\mumble/foo/\\..
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo\\\\\\
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo\\foo1 <== XyZzY0123\\mumble/foo\\\\\\foo1
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble\\foo <== XyZzY0123\\mumble/foo\\\\\\.
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== XyZzY0123\\mumble/foo\\\\\\..
      :
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== ./.\\\\\\XyZzY0123\\mumble
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123 <== ./.\\\\\\XyZzY0123
      C:\\alanb\\JTwork\\scratch\\2\\foo <== ./.\\\\\\foo
      C:\\alanb\\JTwork\\scratch\\2 <== ./.\\\\\\.
      C:\\alanb\\JTwork\\scratch <== ./.\\\\\\..
      C:\\alanb\\JTwork\\scratch <== ./..
      C:\\alanb\\JTwork\\scratch <== ./../
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== ./../2\\XyZzY0123\\mumble
      C:\\alanb\\JTwork\\scratch\\0 <== ./../0
      C:\\alanb\\JTwork\\scratch\\foo <== ./../foo
      C:\\alanb\\JTwork\\scratch <== ./../.
      C:\\alanb\\JTwork <== ./../..
      C:\\alanb\\JTwork\\scratch <== ./..//
      C:\\alanb\\JTwork\\scratch\\0\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\areallylongfilenamethatsforsurAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB <== ./..//0\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\areallylongfilenamethatsforsurAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB
      C:\\alanb\\JTwork\\scratch\\0 <== ./..//0
      C:\\alanb\\JTwork\\scratch\\foo <== ./..//foo
      C:\\alanb\\JTwork\\scratch <== ./..//.
      C:\\alanb\\JTwork <== ./..//..
      C:\\alanb\\JTwork\\scratch <== ./..///
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== ./..///2\\XyZzY0123\\mumble
      C:\\alanb\\JTwork\\scratch\\0 <== ./..///0
      C:\\alanb\\JTwork\\scratch\\foo <== ./..///foo
      C:\\alanb\\JTwork\\scratch <== ./..///.
      C:\\alanb\\JTwork <== ./..///..
      C:\\alanb\\JTwork\\scratch <== ./..\\
      C:\\alanb\\JTwork\\scratch\\0\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\areallylongfilenamethatsforsurAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA <== ./..\\0\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\areallylongfilenamethatsforsurAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
      C:\\alanb\\JTwork\\scratch\\0 <== ./..\\0
      C:\\alanb\\JTwork\\scratch\\foo <== ./..\\foo
      C:\\alanb\\JTwork\\scratch <== ./..\\.
      C:\\alanb\\JTwork <== ./..\\..
      C:\\alanb\\JTwork\\scratch <== ./..\\\\
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== ./..\\\\2\\XyZzY0123\\mumble
      C:\\alanb\\JTwork\\scratch\\0 <== ./..\\\\0
      C:\\alanb\\JTwork\\scratch\\foo <== ./..\\\\foo
      C:\\alanb\\JTwork\\scratch <== ./..\\\\.
      C:\\alanb\\JTwork <== ./..\\\\..
      C:\\alanb\\JTwork\\scratch <== ./..\\/
      C:\\alanb\\JTwork\\scratch\\2\\XyZzY0123\\mumble <== ./..\\/2\\XyZzY0123\\mumble
      C:\\alanb\\JTwork\\scratch\\0 <== ./..\\/0
      C:\\alanb\\JTwork\\scratch\\foo <== ./..\\/foo
      C:\\alanb\\JTwork\\scratch <== ./..\\/.
      C:\\alanb\\JTwork <== ./..\\/..
      C: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aaaaaaaaaaaaaaaaaaaaaaaaaa\\areallylongfilenamethatsforsurAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA (The system cannot find the file specified)
      java.io.FileNotFoundException: .\\..\\0\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\\areallylongfilenamethatsforsurAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA (The system cannot find the file specified)
              at java.io.FileInputStream.open(Native Method)
              at java.io.FileInputStream.<init>(FileInputStream.java:128)
              at java.io.FileInputStream.<init>(FileInputStream.java:87)
              at General.check(General.java:237)
              at General.checkSlashes(General.java:290)
              at General.checkNames(General.java:319)
              at General.checkSlash(General.java:279)
              at General.checkSlashes(General.java:300)
              at General.checkNames(General.java:342)
              at General.checkSlash(General.java:279)
              at General.checkSlashes(General.java:293)
              at General.checkNames(General.java:331)
              at GeneralWin32.checkRelativePaths(GeneralWin32.java:105)
              at GeneralWin32.main(GeneralWin32.java:170)
              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:474)
              at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:698)
              at java.lang.Thread.run(Thread.java:722)

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

      result: Failed. Execution failed: `main' threw exception: java.io.FileNotFoundException: .\..\0\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\areallylongfilenamethatsforsurAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA (The system cannot find the file specified)


      test result: Failed. Execution failed: `main' threw exception: java.io.FileNotFoundException: .\..\0\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\areallylongfilenamethatsforsurAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA (The system cannot find the file specified)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ewang Eric Wang (Inactive)
              Reporter:
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: