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

tst_QWebSocketServer has failing tests on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.2
    • WebSockets
    • None
    • Android

    Description

      tst_QWebSocketServer test has cases of tst_scheme and tst_handshakeTimeout failing

      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_handshakeTimeout() : QSslSocket::startServerEncryption: TLS initialization failed
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_handshakeTimeout() : The backend "cert-only" does not support QSslKey
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_handshakeTimeout() : Active TLS backend does not support key creation
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_handshakeTimeout() : The backend "cert-only" does not support QSslKey
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_handshakeTimeout() : Active TLS backend does not support key creation
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_handshakeTimeout() : The backend "cert-only" does not support QSslSocket
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_handshakeTimeout() : The backend named "cert-only" does not support TLS
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_handshakeTimeout() : QSslSocket::startServerEncryption: TLS initialization failed
      agent:2022/04/13 15:38:43 build.go:394: 4: QDEBUG : tst_QWebSocketServer::tst_handshakeTimeout() Error occurred in the client: QAbstractSocket::UnsupportedSocketOperationError
      agent:2022/04/13 15:38:43 build.go:394: 4: FAIL!  : tst_QWebSocketServer::tst_handshakeTimeout() Compared values are not the same
      agent:2022/04/13 15:38:43 build.go:394: 4:    Actual   (((secureServerConnectionSpy.count()))): 0
      agent:2022/04/13 15:38:43 build.go:394: 4:    Expected (1)                                    : 1
      agent:2022/04/13 15:38:43 build.go:394: 4:    Loc: [/home/qt/work/qt/qtwebsockets/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp(836)]
      
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_scheme() : The backend "cert-only" does not support QSslKey
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_scheme() : Active TLS backend does not support key creation
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_scheme() : The backend "cert-only" does not support QSslKey
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_scheme() : Active TLS backend does not support key creation
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_scheme() : The backend "cert-only" does not support QSslKey
      agent:2022/04/13 15:38:43 build.go:394: 4: QWARN  : tst_QWebSocketServer::tst_scheme() : Active TLS backend does not support key creation
      agent:2022/04/13 15:38:43 build.go:394: 4: FAIL!  : tst_QWebSocketServer::tst_scheme() Compared values are not the same
      agent:2022/04/13 15:38:43 build.go:394: 4:    Actual   (((secureServerConnectionSpy.count()))): 0
      agent:2022/04/13 15:38:43 build.go:394: 4:    Expected (1)                                    : 1
      agent:2022/04/13 15:38:43 build.go:394: 4:    Loc: [/home/qt/work/qt/qtwebsockets/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp(674)]
      

      Attachments

        Issue Links

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

          Activity

            People

              qtandroidteam Qt Android Team
              assam Assam Boudjelthia
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes