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

OpenSUSE 15.4: OpenSSL 3.1.0 causes errors in test cases

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • dev
    • Network: SSL
    • None
    • Linux/X11

    Description

      Gerrit change:

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

      Coin run (configurations: opensuse-15.4-developer-build + webassembly-linux-thread-asyncify):

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

      Test: qt/qtbase, log:

      http://coin.ci.qt.io/coin/api/log/qt/qtbase/440935e350040f373beb30c3dfe1c080bf68be24/LinuxopenSUSE_15_4x86_64LinuxopenSUSE_15_4x86_64GCCqtci-linux-openSUSE-15.4-x86_64-50-ae9c06Sccache_UseConfigure_WarningsAreErrors/322620543ebee8ec03bde9f84302d0fe59735535/test_1690550289/log.txt.gz

       

      New run without WASM:

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

      Same errors in Test: qt/qtbase.

       

      All errors:

       

      * Start testing of tst_QSslSocket *
      FAIL!  : tst_QSslSocket::simpleConnect(WithoutProxy) Compared values are not the same
      Actual   (sslErrorsSpy.size()): 0
      Expected (1)
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp(863)]
      FAIL!  : tst_QSslSocket::simpleConnectWithIgnore(WithoutProxy) Compared values are not the same
      Actual   (sslErrorsSpy.size()): 0
      Expected (1)
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp(902)]
      FAIL!  : tst_QSslSocket::sslErrors(WithoutProxy:qt-test-server) 'sslErrors.contains(QSslError::HostNameMismatch)' returned FALSE. ()
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp(966)]
      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. ()
      FAIL!  : tst_QSslSocket::resume(WithoutProxy:DoNotIgnoreErrors) Compared values are not the same
      Actual   (sslErrorSpy.size()): 0
      Expected (1) 
      FAIL!  : tst_QSslSocket::waitForConnectedEncryptedReadyRead(WithoutProxy) 'socket->waitForReadyRead(10000)' returned FALSE. ()
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp(1990)]
      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_0 <-> DtlsV1_0OrLater) 'serverCrypto->isConnectionEncrypted()' 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. ()
      

      I've ran the configuration 3 times and their logs stay the same so it doesn't seem to be flaky. OpenSSL 3.0.7 passes those tests without problems. 

      Attachments

        Issue Links

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

          Activity

            People

              cnn Qt Core & Network
              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