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

tools/jdeps/DotFileTest.java fails on Win-X64

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b05
    • CPU:
      x86_64
    • OS:
      windows

      Description

      The following test failed in the JDK12 CI on Win-X64

      tools/jdeps/DotFileTest.java

      Here is a snippet of the log file:

      ----------System.err:(37/5612)*----------
      jdeps -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      jdeps -P -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      jdeps -classpath T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\p
      jdeps -P -classpath T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\p
      jdeps -verbose:class -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      jdeps -P -verbose:class -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      jdeps -classpath T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d -verbose:package -filter:none -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\p
      jdeps -P -classpath T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d -verbose:package -filter:none -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\p
      jdeps -classpath T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d -verbose:package -filter:archive -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\p
      jdeps -P -classpath T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d -verbose:package -filter:archive -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\p
      jdeps -verbose:class -p p -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      jdeps -P -verbose:class -p p -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      jdeps -verbose:class -e p\\..* -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      jdeps -P -verbose:class -e p\\..* -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      jdeps -verbose:package -e java\\.lang\\..* -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      jdeps -P -verbose:package -e java\\.lang\\..* -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      jdeps -v -classpath T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      jdeps -P -v -classpath T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      jdeps -classpath T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d -dotoutput T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\Test.class
      java.nio.file.DirectoryNotEmptyException: T:\\testoutput\\jtreg\\JTwork\\classes\\2\\tools\\jdeps\\DotFileTest.d\\dots
      at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:267)
      at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105)
      at java.base/java.nio.file.Files.delete(Files.java:1141)
      at DotFileTest.jdeps(DotFileTest.java:177)
      at DotFileTest.testSummary(DotFileTest.java:166)
      at DotFileTest.run(DotFileTest.java:107)
      at DotFileTest.main(DotFileTest.java:49)
      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:566)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:834)

      JavaTest Message: Test threw exception: java.nio.file.DirectoryNotEmptyException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.nio.file.DirectoryNotEmptyException: T:\testoutput\jtreg\JTwork\classes\2\tools\jdeps\DotFileTest.d\dots


      test result: Failed. Execution failed: `main' threw exception: java.nio.file.DirectoryNotEmptyException: T:\testoutput\jtreg\JTwork\classes\2\tools\jdeps\DotFileTest.d\dots

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjg Jonathan Gibbons
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: