Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-116503

tst_QUdpSocket failing on some IPv6 multicast tests on QNX

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6
    • Network: Sockets
    • None
    • QNX
    • ac8fe3e64 (dev)

    Description

      QDEBUG : tst_QUdpSocket::initTestCase() Will use multicast groups QHostAddress("239.215.228.0") QHostAddress("ff14::e4:d771:6224:307f") QList()
      PASS   : tst_QUdpSocket::multicastJoinBeforeBind(WithoutProxy:valid ipv6 group address)
      PASS   : tst_QUdpSocket::multicastJoinBeforeBind(WithoutProxy:invalid ipv6 group address)
      FAIL!  : tst_QUdpSocket::multicastLeaveAfterClose(WithoutProxy:ipv6) 'udpSocket.joinMulticastGroup(groupAddress, interfaceForGroup(groupAddress))' returned FALSE. (Unknown error)
         Loc: [/home/qt/work/qt/qtbase/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp(1388)]
      PASS   : tst_QUdpSocket::multicast(WithoutProxy:valid bind, invalid group ipv6 address)
      FAIL!  : tst_QUdpSocket::multicast(WithoutProxy:valid bind, group ipv6 address) 'receiver.joinMulticastGroup(groupAddress, interfaceForGroup(groupAddress)) == joinResult' returned FALSE. (Unknown error)
         Loc: [/home/qt/work/qt/qtbase/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp(1503)]
      PASS   : tst_QUdpSocket::multicast(WithoutProxy:valid bind, invalid group ipv6 address)
      PASS   : tst_QUdpSocket::multicast(WithoutProxy:dual bind, group ipv4 address)
      FAIL!  : tst_QUdpSocket::multicast(WithoutProxy:dual bind, group ipv6 address) 'receiver.joinMulticastGroup(groupAddress, interfaceForGroup(groupAddress)) == joinResult' returned FALSE. (Unknown error)
         Loc: [/home/qt/work/qt/qtbase/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp(1503)]
      ...
      SKIP   : tst_QUdpSocket::linkLocalIPv6(WithoutProxy) No IPv6 link local addresses
      SKIP   : tst_QUdpSocket::linkLocalIPv4(WithoutProxy) No IPv4 link local addresses
      

      The fact that QNetworkInterface couldn't find any IPv6 link-local addresses, despite IPv6 being supported, may be a red herring. The QNX API does not support either getifaddrs(), so that may be a simple limitation of QNetworkInterface. But it might be: this is failing for a non-link-local IPv6 multicast address, which is the same case where interfaceForGroup() needs to have found such an interface.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            myrjana Marianne Yrjänä
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes