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

tst_QUdpSocket::broadcasting(WithoutProxy) and zeroLengthDatagram(WithoutProxy) failed on OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 5.7.1
    • Network: Sockets
    • failed in all osx below 10.11 in CI
    • macOS

    Description

      https://codereview.qt-project.org/162802

      http://testresults.qt.io/logs/qt/qtbase/63402972b570d93665b60e8d3c59365e96d74e53/OSXOSX_10_08x86_64OSXOSX_10_08x86_64ClangRelease_NoFramework/85d6b000f945a84bc84a4f01f53ac65bc05cbe86/testrun_1466283357/testlog.txt.gz

      ********* Start testing of tst_QUdpSocket *********
       Config: Using QtTest library 5.7.0, Qt 5.7.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 5.1 (clang-503.0.40) (Apple))
       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) Network operation timed out
          Loc: [../tst_qudpsocket.cpp(323)]
      ...
      Totals: 51 passed, 2 failed, 4 skipped, 33 blacklisted, 54346ms
       ********* Finished testing of tst_QUdpSocket *********
      
      ********* Start testing of tst_QUdpSocket *********
       Config: Using QtTest library 5.7.0, Qt 5.7.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 5.1 (clang-503.0.40) (Apple))
      ...
      FAIL!  : tst_QUdpSocket::zeroLengthDatagram(WithoutProxy) 'receiver.waitForReadyRead(1000)' returned FALSE. (local=0.0.0.0:58449, type=QAbstractSocket::SocketType(UdpSocket), state=QAbstractSocket::BoundState, error=QAbstractSocket::SocketTimeoutError: Network operation timed out)
          Loc: [../tst_qudpsocket.cpp(1086)]
      ...
      Totals: 51 passed, 1 failed, 4 skipped, 34 blacklisted, 54148ms
       ********* Finished testing of tst_QUdpSocket *********
      

      Attachments

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes