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

java/nio/channels/AsynchronousSocketChannel/Basic.java fails intermittently with "InterruptedByTimeoutException expected"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 9
    • core-libs
    • None

      java/nio/channels/AsynchronousSocketChannel/Basic.java

      There are existing bugs reported that this test fail (JDK-8078590) or timed out ( JDK-8067656). This failure seems a different one.

      ----------System.out:(13/268)----------
      -- bind --
      -- socket options --
      -- connect --
      -- asynchronous close when connecting --
      -- asynchronous close when reading --
      -- asynchronous close when writing --
      -- cancel --
      -- read (1) --
      -- read (2) --
      -- read (3) --
      -- write (1) --
      -- write (2) --
      -- timeouts --
      ----------System.err:(14/810)----------
      java.lang.RuntimeException: InterruptedByTimeoutException expected
      at Basic.testTimeout(Basic.java:779)
      at Basic.testTimeout(Basic.java:752)
      at Basic.main(Basic.java:70)
      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.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: InterruptedByTimeoutException expected

            Unassigned Unassigned
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: