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

java/net/ipv6tests/TcpTest.java failed intermittently with java.net.BindException: Address already in use: NET_Bind

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b101
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        This happened in jdk 9 dev nightly with b89-2015-10-23.
        OS is Windows 8.1 X64

        There is a similar history bug JDK-8078577, but if we look at stacktrace in detail, they are different. So filed a new bug for this failure.

        See the following test output:
        ----------System.out:(1/11)----------
        Test1: OK
        ----------System.err:(20/1122)----------
        java.net.BindException: Address already in use: NET_Bind
        at java.net.DualStackPlainSocketImpl.bind0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)
        at java.net.ServerSocket.bind(ServerSocket.java:376)
        at java.net.ServerSocket.<init>(ServerSocket.java:238)
        at java.net.ServerSocket.<init>(ServerSocket.java:130)
        at TcpTest.test1(TcpTest.java:73)
        at TcpTest.main(TcpTest.java:64)
        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:520)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
        at java.lang.Thread.run(Thread.java:747)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                xiaofeya Xiaofeng Yang
                Reporter:
                xiaofeya Xiaofeng Yang
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: