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

TEST java/net/MulticastSocket/IPMulticastIF.java fails on linux-aarch64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 23
    • core-libs
    • b04
    • aarch64
    • linux

        TEST java/net/MulticastSocket/IPMulticastIF.java fails on linux-aarch64

        test log snippet:
        --- testSetGetInterfaceBound bindAddr=[iZbp16qsgpomcsq1pwzhjiZ/[fe80:0:0:0:216:3eff:fe30:9088]:0], nif=[name:docker0 (docker0)]
        test IPMulticastIF.testSetGetInterfaceBound(java.net.InetSocketAddress@7c45b3b8, name:docker0 (docker0)): failure
        java.net.SocketException: Invalid argument
        at java.base/sun.nio.ch.Net.setInterface6(Native Method)
        at java.base/sun.nio.ch.DatagramChannelImpl.setOption(DatagramChannelImpl.java:381)
        at java.base/sun.nio.ch.DatagramSocketAdaptor.setOption(DatagramSocketAdaptor.java:379)
        at java.base/sun.nio.ch.DatagramSocketAdaptor.setNetworkInterface(DatagramSocketAdaptor.java:564)
        at java.base/java.net.MulticastSocket.setNetworkInterface(MulticastSocket.java:444)
        at IPMulticastIF.testSetGetInterfaceBound(IPMulticastIF.java:79)

        --- testSetGetInterfaceBound bindAddr=[iZbp16qsgpomcsq1pwzhjiZ/[fe80:0:0:0:216:3eff:fe30:9088]:0], nif=[name:veth28fedcd (veth28fedcd)]
        test IPMulticastIF.testSetGetInterfaceBound(java.net.InetSocketAddress@a5773c1, name:veth28fedcd (veth28fedcd)): failure
        java.net.SocketException: Invalid argument
        at java.base/sun.nio.ch.Net.setInterface6(Native Method)
        at java.base/sun.nio.ch.DatagramChannelImpl.setOption(DatagramChannelImpl.java:381)
        at java.base/sun.nio.ch.DatagramSocketAdaptor.setOption(DatagramSocketAdaptor.java:379)
        at java.base/sun.nio.ch.DatagramSocketAdaptor.setNetworkInterface(DatagramSocketAdaptor.java:564)
        at java.base/java.net.MulticastSocket.setNetworkInterface(MulticastSocket.java:444)
        at IPMulticastIF.testSetGetInterfaceBound(IPMulticastIF.java:79)

        # ifconfig
        docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
                inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
                inet6 fe80::42:21ff:fe59:20e7 prefixlen 64 scopeid 0x20<link>
                ether 02:42:21:59:20:e7 txqueuelen 0 (Ethernet)
                RX packets 0 bytes 0 (0.0 B)
                RX errors 0 dropped 0 overruns 0 frame 0
                TX packets 15 bytes 1392 (1.3 KiB)
                TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

        eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
                inet 172.16.2.95 netmask 255.255.255.0 broadcast 172.16.2.255
                inet6 fe80::216:3eff:fe30:9088 prefixlen 64 scopeid 0x20<link>
                ether 00:16:3e:30:90:88 txqueuelen 1000 (Ethernet)
                RX packets 2121929 bytes 2842179249 (2.6 GiB)
                RX errors 0 dropped 0 overruns 0 frame 0
                TX packets 774677 bytes 59693634 (56.9 MiB)
                TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

        lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
                inet 127.0.0.1 netmask 255.0.0.0
                inet6 ::1 prefixlen 128 scopeid 0x10<host>
                loop txqueuelen 1000 (Local Loopback)
                RX packets 1674 bytes 335277 (327.4 KiB)
                RX errors 0 dropped 0 overruns 0 frame 0
                TX packets 1674 bytes 335277 (327.4 KiB)
                TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

        veth28fedcd: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
                inet6 fe80::9c14:abff:fe73:f6cb prefixlen 64 scopeid 0x20<link>
                ether 9e:14:ab:73:f6:cb txqueuelen 0 (Ethernet)
                RX packets 0 bytes 0 (0.0 B)
                RX errors 0 dropped 0 overruns 0 frame 0
                TX packets 34 bytes 2977 (2.9 KiB)
                TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

              dfuchs Daniel Fuchs
              syan Sendao Yan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: