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

java/net/Socket/asyncClose/AsyncClose.java fails intermittently

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b21

      Backports

        Description

        java/net/Socket/asyncClose/AsyncClose.java fails intermittently.

        ----------System.out:(28/628)----------
        ******************************
        Test: Socket.getInputStream().read()
        Passed.

        ******************************
        Test: Socket.getInputStream().read() (with timeout)
        Passed.

        ******************************
        Test: Socket.getOutputStream().write()
        Passed.

        ******************************
        Test: DatagramSocket.receive(DatagramPacket)
        Passed.

        ******************************
        Test: DatagramSocket.receive(DatagramPacket) (timeout specified)
        Passed.

        ******************************
        Test: ServerSocket.accept()
        Failed: ServerSocket.accept() wasn't preempted

        ******************************
        Test: ServerSocket.accept() (with timeout)
        Passed.

        ----------System.err:(12/619)----------
        java.lang.Exception: 1 sub-tests failed - see log.
        at AsyncClose.main(AsyncClose.java:71)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:502)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
        at java.lang.Thread.run(Thread.java:745)

        JavaTest Message: Test threw exception: java.lang.Exception
        JavaTest Message: shutting down test

        result: Failed. Execution failed: `main' threw exception: java.lang.Exception: 1 sub-tests failed - see log.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                xyin Chris Yin (Inactive)
                Reporter:
                amlu Amy Lu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: