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

OpenSSL 3.1.2: tests fail with tst_QSslSocket and tst_QDtls

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • dev
    • None

    Description

      I'm trying to update OpenSSL 3.0.7 -> 3.1.2 in Coin provisioning.

       

      Gerrit change:

      https://codereview.qt-project.org/c/qt/qt5/+/497794

      Coin run:

      http://coin.ci.qt.io/coin/integration/qt/qt5/tasks/web_qt_qt5_1692559900849

      There are failing tests with OpenSSL 3.1.2 in Qtbase:

      ********* Start testing of tst_QSslSocket *********
      Config: Using QtTest library 6.7.0, Qt 6.7.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019), windows 11
       
      FAIL!  : tst_QSslSocket::simpleConnect(WithoutProxy) Compared values are not the same
          Actual   (sslErrorsSpy.size()): 0
          Expected (1)
      FAIL!  : tst_QSslSocket::simpleConnectWithIgnore(WithoutProxy) Compared values are not the same
       
      FAIL!  : tst_QSslSocket::sslErrors(WithoutProxy:qt-test-server) 'sslErrors.contains(QSslError::HostNameMismatch)' returned FALSE. ()
       
      FAIL!  : tst_QSslSocket::sslErrors(WithSocks5Proxy:qt-test-server) 'sslErrors.contains(QSslError::HostNameMismatch)' returned FALSE. ()
       
      FAIL!  : tst_QSslSocket::sslErrors(WithSocks5ProxyAuth:qt-test-server) 'sslErrors.contains(QSslError::HostNameMismatch)' returned FALSE. ()
       
      FAIL!  : tst_QSslSocket::sslErrors(WithHttpProxy:qt-test-server) 'sslErrors.contains(QSslError::HostNameMismatch)' returned FALSE. ()
       
      FAIL!  : tst_QSslSocket::sslErrors(WithHttpProxyBasicAuth:qt-test-server) 'sslErrors.contains(QSslError::HostNameMismatch)' returned FALSE. ()
       
      C:\Users\qt\work\qt\qtbase\tests\auto\network\ssl\qsslsocket\tst_qsslsocket.cpp(966) : failure location
       
      ********* Start testing of tst_QDtls *********
      Config: Using QtTest library 6.7.0, Qt 6.7.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019), windows 11
       
      FAIL!  : tst_QDtls::protocolVersionMatching(DtlsV1_0 <-> DtlsV1_0) 'clientCrypto->doHandshake(&clientSocket)' returned FALSE. ()
       
      FAIL!  : tst_QDtls::protocolVersionMatching(DtlsV1_0OrLater <-> DtlsV1_0) 'clientCrypto->doHandshake(&clientSocket)' returned FALSE. ()
       
      FAIL!  : tst_QDtls::protocolVersionMatching(DtlsV1_2 <-> DtlsV1_0) 'clientCrypto->doHandshake(&clientSocket)' returned FALSE. ()
       
      FAIL!  : tst_QDtls::protocolVersionMatching(DtlsV1_2OrLater <-> DtlsV1_0) 'clientCrypto->doHandshake(&clientSocket)' returned FALSE. ()
      C:\Users\qt\work\qt\qtbase\tests\auto\network\ssl\qdtls\tst_qdtls.cpp(629) : failure location
       
      FAIL!  : tst_QDtls::protocolVersionMatching(DtlsV1_0 <-> DtlsV1_0OrLater) 'serverCrypto->isConnectionEncrypted()' returned FALSE. ()
       
      C:\Users\qt\work\qt\qtbase\tests\auto\network\ssl\qdtls\tst_qdtls.cpp(634) : failure location
      

      Same errors in windows-11_22h2-mingw11-developer-build and opensuse-15.4-developer-build.

       

      Attachments

        Issue Links

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

          Activity

            People

              manordheim Mårten Nordheim
              eltoivol Elias Toivola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes