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

test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion

XMLWordPrintable

    • b07

        The test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java test runs various tests and one of them involves creating a FIFO file using the "mkfifo" native call.

        This FIFO file gets created in the usual test specific scratch directory and the test upon completion (unintentionally) leaves it around. If for whatever reason this file is then open()ed (for reading) by any tool/code, then the open will block forever since there's no other side of this pipe.

        One part of the test post processing in our CI involves archiving the test specific artifacts if a particular test fails. So if the AsyncCloseAndInterrupt test fails for whatever reason, then the archiving process blocks forever. This is the reason why we haven't been able to collect the test specific artifacts for the AsyncCloseAndInterrupt test in our CI when it has been seen failing in https://bugs.openjdk.org/browse/JDK-8310069

              jpai Jaikiran Pai
              jpai Jaikiran Pai
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: