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

tst_QUdpSocket fails on a new Ubuntu 16.04 template

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.4
    • 5.9.3
    • Network: Sockets
    • None
    • Ubuntu 16.04 x86_64
    •  4a11243d3c37ab6917c8e99275259853d1970ec5

    Description

      The following tests fail on a new Ubuntu 16.04 template:

      ********* Start testing of tst_QUdpSocket *********
      Config: Using QtTest library 5.9.4, Qt 5.9.4 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.4.0 20160609)
      PASS   : tst_QUdpSocket::initTestCase()
      QWARN  : tst_QUdpSocket::constructing(WithoutProxy) QIODevice::read (QUdpSocket): device not open
      PASS   : tst_QUdpSocket::constructing(WithoutProxy)
      PASS   : tst_QUdpSocket::unconnectedServerAndClientTest(WithoutProxy)
      FAIL!  : tst_QUdpSocket::broadcasting(WithoutProxy) 'dgram.isValid()' returned FALSE. ()
         Loc: [../tst_qudpsocket.cpp(400)]
      PASS   : tst_QUdpSocket::loop(WithoutProxy:"Almond!" | "Joy!")
      PASS   : tst_QUdpSocket::loop(WithoutProxy:"A" | "B")
      PASS   : tst_QUdpSocket::loop(WithoutProxy:"AB" | "B")
      PASS   : tst_QUdpSocket::loop(WithoutProxy:"AB" | "BB")
      PASS   : tst_QUdpSocket::loop(WithoutProxy:"A\0B" | "B\0B")
      PASS   : tst_QUdpSocket::loop(WithoutProxy:"(nil)" | "(nil)")
      PASS   : tst_QUdpSocket::loop(WithoutProxy:Bigmessage)
      PASS   : tst_QUdpSocket::ipv6Loop(WithoutProxy:"Almond!" | "Joy!")
      PASS   : tst_QUdpSocket::ipv6Loop(WithoutProxy:"A" | "B")
      PASS   : tst_QUdpSocket::ipv6Loop(WithoutProxy:"AB" | "B")
      PASS   : tst_QUdpSocket::ipv6Loop(WithoutProxy:"AB" | "BB")
      PASS   : tst_QUdpSocket::ipv6Loop(WithoutProxy:"A\0B" | "B\0B")
      PASS   : tst_QUdpSocket::ipv6Loop(WithoutProxy:"(nil)" | "(nil)")
      PASS   : tst_QUdpSocket::ipv6Loop(WithoutProxy:Bigmessage)
      PASS   : tst_QUdpSocket::dualStack(WithoutProxy)
      PASS   : tst_QUdpSocket::dualStackAutoBinding(WithoutProxy)
      PASS   : tst_QUdpSocket::dualStackNoIPv4onV6only(WithoutProxy)
      PASS   : tst_QUdpSocket::connectToHost(WithoutProxy)
      PASS   : tst_QUdpSocket::bindAndConnectToHost(WithoutProxy)
      FAIL!  : tst_QUdpSocket::pendingDatagramSize(WithoutProxy) Compared values are not the same
         Actual   (server.pendingDatagramSize()): 10
         Expected (qint64(0))                   : 0
         Loc: [../tst_qudpsocket.cpp(830)]
      PASS   : tst_QUdpSocket::writeDatagram(WithoutProxy)
      QDEBUG : tst_QUdpSocket::performance(WithoutProxy) 	18969.53MB/5.00s: 3793.91MB/s
      PASS   : tst_QUdpSocket::performance(WithoutProxy)
      PASS   : tst_QUdpSocket::bindMode(WithoutProxy)
      PASS   : tst_QUdpSocket::writeDatagramToNonExistingPeer(WithoutProxy:localhost-unbound)
      PASS   : tst_QUdpSocket::writeDatagramToNonExistingPeer(WithoutProxy:localhost-bound)
      PASS   : tst_QUdpSocket::writeDatagramToNonExistingPeer(WithoutProxy:remote-unbound)
      PASS   : tst_QUdpSocket::writeDatagramToNonExistingPeer(WithoutProxy:remote-bound)
      SKIP   : tst_QUdpSocket::writeToNonExistingPeer(WithoutProxy:localhost) Connected-mode UDP sockets and their behaviour are erratic
         Loc: [../tst_qudpsocket.cpp(1028)]
      SKIP   : tst_QUdpSocket::writeToNonExistingPeer(WithoutProxy:remote) Connected-mode UDP sockets and their behaviour are erratic
         Loc: [../tst_qudpsocket.cpp(1028)]
      PASS   : tst_QUdpSocket::outOfProcessConnectedClientServerTest(WithoutProxy)
      PASS   : tst_QUdpSocket::outOfProcessUnconnectedClientServerTest(WithoutProxy)
      PASS   : tst_QUdpSocket::zeroLengthDatagram(WithoutProxy)
      PASS   : tst_QUdpSocket::multicastTtlOption(WithoutProxy:0.0.0.0 0)
      PASS   : tst_QUdpSocket::multicastTtlOption(WithoutProxy:0.0.0.0 1)
      PASS   : tst_QUdpSocket::multicastTtlOption(WithoutProxy:0.0.0.0 2)
      PASS   : tst_QUdpSocket::multicastTtlOption(WithoutProxy:0.0.0.0 128)
      PASS   : tst_QUdpSocket::multicastTtlOption(WithoutProxy:0.0.0.0 255)
      PASS   : tst_QUdpSocket::multicastTtlOption(WithoutProxy:0.0.0.0 1024)
      PASS   : tst_QUdpSocket::multicastTtlOption(WithoutProxy::: 0)
      PASS   : tst_QUdpSocket::multicastTtlOption(WithoutProxy::: 1)
      PASS   : tst_QUdpSocket::multicastTtlOption(WithoutProxy::: 2)
      PASS   : tst_QUdpSocket::multicastTtlOption(WithoutProxy::: 128)
      PASS   : tst_QUdpSocket::multicastTtlOption(WithoutProxy::: 255)
      PASS   : tst_QUdpSocket::multicastTtlOption(WithoutProxy::: 1024)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy:0.0.0.0 0)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy:0.0.0.0 1)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy:0.0.0.0 2)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy:0.0.0.0 0 again)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy:0.0.0.0 2 again)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy:0.0.0.0 0 last time)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy:0.0.0.0 1 again)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy::: 0)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy::: 1)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy::: 2)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy::: 0 again)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy::: 2 again)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy::: 0 last time)
      PASS   : tst_QUdpSocket::multicastLoopbackOption(WithoutProxy::: 1 again)
      PASS   : tst_QUdpSocket::multicastJoinBeforeBind(WithoutProxy:valid ipv4 group address)
      PASS   : tst_QUdpSocket::multicastJoinBeforeBind(WithoutProxy:invalid ipv4 group address)
      PASS   : tst_QUdpSocket::multicastJoinBeforeBind(WithoutProxy:valid ipv6 group address)
      PASS   : tst_QUdpSocket::multicastJoinBeforeBind(WithoutProxy:invalid ipv6 group address)
      PASS   : tst_QUdpSocket::multicastLeaveAfterClose(WithoutProxy:ipv4)
      PASS   : tst_QUdpSocket::multicastLeaveAfterClose(WithoutProxy:ipv6)
      PASS   : tst_QUdpSocket::setMulticastInterface(WithoutProxy:lo:127.0.0.1)
      PASS   : tst_QUdpSocket::setMulticastInterface(WithoutProxy:lo:::1)
      PASS   : tst_QUdpSocket::setMulticastInterface(WithoutProxy:ens3:10.215.150.135)
      PASS   : tst_QUdpSocket::setMulticastInterface(WithoutProxy:ens3:fe80::aeb7:347a:5876:38a3%ens3)
      PASS   : tst_QUdpSocket::multicast(WithoutProxy:valid bind, group ipv4 address)
      PASS   : tst_QUdpSocket::multicast(WithoutProxy:valid bind, invalid group ipv4 address)
      PASS   : tst_QUdpSocket::multicast(WithoutProxy:same bind, group ipv4 address)
      PASS   : tst_QUdpSocket::multicast(WithoutProxy:valid bind, group ipv6 address)
      PASS   : tst_QUdpSocket::multicast(WithoutProxy:valid bind, invalid group ipv6 address)
      BPASS  : tst_QUdpSocket::multicast(WithoutProxy:same bind, group ipv6 address)
      PASS   : tst_QUdpSocket::multicast(WithoutProxy:dual bind, group ipv4 address)
      PASS   : tst_QUdpSocket::multicast(WithoutProxy:dual bind, group ipv6 address)
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:writeDatagram) packets in 1 out 0
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:writeDatagram) packets in 2 out 1
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:writeDatagram) packets in 3 out 2
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:writeDatagram) packets in 4 out 3
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:writeDatagram) packets in 5 out 4
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:writeDatagram) packets in 6 out 5
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:writeDatagram) packets in 7 out 6
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:writeDatagram) packets in 8 out 7
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:writeDatagram) packets in 9 out 8
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:writeDatagram) packets in 10 out 9
      BPASS  : tst_QUdpSocket::echo(WithoutProxy:writeDatagram)
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:write) packets in 1 out 0
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:write) packets in 2 out 1
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:write) packets in 3 out 2
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:write) packets in 4 out 3
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:write) packets in 5 out 4
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:write) packets in 6 out 5
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:write) packets in 7 out 6
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:write) packets in 8 out 7
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:write) packets in 9 out 8
      QDEBUG : tst_QUdpSocket::echo(WithoutProxy:write) packets in 10 out 9
      BPASS  : tst_QUdpSocket::echo(WithoutProxy:write)
      QDEBUG : tst_QUdpSocket::linkLocalIPv6(WithoutProxy) QHostAddress("fe80::aeb7:347a:5876:38a3%ens3")
      PASS   : tst_QUdpSocket::linkLocalIPv6(WithoutProxy)
      SKIP   : tst_QUdpSocket::linkLocalIPv4(WithoutProxy) No IPv4 link local addresses
         Loc: [../tst_qudpsocket.cpp(1732)]
      PASS   : tst_QUdpSocket::readyRead(WithoutProxy)
      FAIL!  : tst_QUdpSocket::readyReadForEmptyDatagram(WithoutProxy) Compared values are not the same
         Actual   (receiver.pendingDatagramSize()): -1
         Expected (qint64(0))                     : 0
         Loc: [../tst_qudpsocket.cpp(1872)]
      PASS   : tst_QUdpSocket::asyncReadDatagram(WithoutProxy)
      PASS   : tst_QUdpSocket::writeInHostLookupState(WithoutProxy)
      PASS   : tst_QUdpSocket::cleanupTestCase()
      Totals: 80 passed, 3 failed, 3 skipped, 3 blacklisted, 17492ms
      

        

      Attachments

        1. working.tar.gz
          14 kB
        2. failing.tar.gz
          14 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            jojantti Joni Jäntti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes