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

tst_QTcpSocket::suddenRemoteDisconnect() is flaky

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.2.1, 5.9, 5.10
    • Fix Version/s: 5.9.3
    • Component/s: Network: Sockets
    • Labels:
    • Environment:
      OSX 10.9, MingW+win7
    • Commits:
      1a647926528136850c8a0e4c2aa5ae23e22172ea

      Description

      qtbase stable 8bb5dba0cba4d953794124d7f1b33887d1b5bd8d

      QT_PLUGIN_PATH=/Users/liangqi/qt/qt5-build/qtbase/plugins DYLD_LIBRARY_PATH=/Users/liangqi/qt/qt5-build/qtbase/lib${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH} cd ../ &&  ./tst_qtcpsocket.app/Contents/MacOS/tst_qtcpsocket 
      ********* Start testing of tst_QTcpSocket *********
      Config: Using QtTest library 5.2.2, Qt 5.2.2
      QDEBUG : tst_QTcpSocket::initTestCase() "qt-test-server.qt-test-net" 
      PASS   : tst_QTcpSocket::initTestCase()
      ...
      FAIL!  : tst_QTcpSocket::suddenRemoteDisconnect(WithoutProxy:Qt4 Client <-> Qt4 Server) 'serverProcess.waitForStarted()' returned FALSE. (Could not start /Users/liangqi/qt/qt5/qtbase/tests/auto/network/socket/qtcpsocket/stressTest/stressTest: No such file or directory)
         Loc: [/Users/liangqi/qt/qt5/qtbase/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp(2250)]
      PASS   : tst_QTcpSocket::suddenRemoteDisconnect(WithSocks5Proxy:Qt4 Client <-> Qt4 Server)
      PASS   : tst_QTcpSocket::suddenRemoteDisconnect(WithSocks5ProxyAuth:Qt4 Client <-> Qt4 Server)
      PASS   : tst_QTcpSocket::suddenRemoteDisconnect(WithHttpProxy:Qt4 Client <-> Qt4 Server)
      PASS   : tst_QTcpSocket::suddenRemoteDisconnect(WithHttpProxyBasicAuth:Qt4 Client <-> Qt4 Server)
      PASS   : tst_QTcpSocket::suddenRemoteDisconnect(WithoutProxy SSL:Qt4 Client <-> Qt4 Server)
      PASS   : tst_QTcpSocket::suddenRemoteDisconnect(WithSocks5Proxy SSL:Qt4 Client <-> Qt4 Server)
      PASS   : tst_QTcpSocket::suddenRemoteDisconnect(WithSocks5AuthProxy SSL:Qt4 Client <-> Qt4 Server)
      PASS   : tst_QTcpSocket::suddenRemoteDisconnect(WithHttpProxy SSL:Qt4 Client <-> Qt4 Server)
      PASS   : tst_QTcpSocket::suddenRemoteDisconnect(WithHttpProxyBasicAuth SSL:Qt4 Client <-> Qt4 Server)
      ...
      Totals: 831 passed, 1 failed, 1 skipped
      ********* Finished testing of tst_QTcpSocket *********
      

      Edit (Timur): the description is outdated (I do not see this failure on macOS). Today it shows up on Windows.

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes