Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-976

JGroups testsuite failures with link-local IPv6 addresses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2.8
    • None
    • None
    • Sun JDK 1.6.0_13, Fedora 8, IPv6 link-local addresses

      These failures is turning up when we run the JGroups 2.4.6.GA testsuite with scoped link-local addresses - MergeTest / DisconnectTest and MultiplexerMergeTest are failing with this exception:

      [junit] 4603 [DEBUG] NAKACK.handleMessage(): - fe80:0:0:0:215:58ff:fec8:81a8%eth0:35158: received fe80:0:0:0:215:58ff:fec8:81a8%eth0:35158#0
      [junit] 4603 [DEBUG] NAKACK.handleMessage(): - fe80:0:0:0:215:58ff:fec8:81a8%eth0:35158: received fe80:0:0:0:215:58ff:fec8:81a8%eth0:35158#0
      [junit] 4607 [DEBUG] RouterStub.reconnect(): - failed reconnecting
      [junit] java.net.SocketException: Invalid argument or cannot assign requested address
      [junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
      [junit] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
      [junit] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
      [junit] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
      [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      [junit] at java.net.Socket.connect(Socket.java:519)
      [junit] at java.net.Socket.connect(Socket.java:469)
      [junit] at java.net.Socket.<init>(Socket.java:366)
      [junit] at java.net.Socket.<init>(Socket.java:240)
      [junit] at org.jgroups.stack.RouterStub.connect(RouterStub.java:143)
      [junit] at org.jgroups.stack.RouterStub.reconnect(RouterStub.java:363)
      [junit] at org.jgroups.stack.RouterStub.reconnect(RouterStub.java:379)
      [junit] at org.jgroups.protocols.TUNNEL$Reconnector.run(TUNNEL.java:446)

      I believe this may be a Sun JDK bug. Commenst to follow will explain.

              rachmato@redhat.com Richard Achmatowicz
              rachmato@redhat.com Richard Achmatowicz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: