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

QtWebSocket fails with OpenSSL 1.1.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.12
    • WebSockets
    • None
    • Windows 7 and Windows 10
    • Windows
    • 7022a1f7e8f703815022bc7d0956da54f9f7a3c1

    Description

      test fail after upgrading to openssl 1 1 1 on windows 7 and 10(did not test other platforms yet as they are harder to change)

      http://10.212.3.36:8080/coin/integration/qt/qt5/tasks/web_rescheduled_qt_qt5_1541160187694
      http://10.212.3.36:8080/coin/api/results/qt/qtwebsockets/3e29fc1458e1f74186ce488d6ceb1ab68c4767c6/WindowsWindows_10x86_64WindowsWindows_10x86_64MSVC2015qtci-windows-10-x86_64-10-02c49cDebugAndRelease_Release_ForceDebugInfo_OpenGLDynamic/3a7d6cf42956beec9257082be91058d77fcb7acb/test_1542731182/log.txt.gz Executing instruction 46 of 53 - RunQtUnitTest
      agent:2018/11/02 12:11:40 build.go:313: [c:\users\qt\MSVC2015.bat jom check] 900 900
      agent:2018/11/02 12:11:40 build.go:193: 
      agent:2018/11/02 12:11:40 build.go:193: C:\Users\qt\work\qt\qtwebsockets\tests\auto\websockets\qwebsocketserver>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 
      agent:2018/11/02 12:11:41 build.go:193: 
      agent:2018/11/02 12:11:41 build.go:193: jom 1.1.2 - empower your cores
      agent:2018/11/02 12:11:41 build.go:193: 
      agent:2018/11/02 12:11:41 build.go:193: C:\Utils\Jom\jom.exe -f Makefile.Release check
      agent:2018/11/02 12:11:41 build.go:193: call C:\Users\qt\work\qt\qtwebsockets\tests\auto\websockets\qwebsocketserver\target_wrapper.bat release\tst_qwebsocketserver.exe -o C:\Users\qt\work\testresults\tests\auto\websockets\qwebsocketserver243057267,xml -o -,txt
      agent:2018/11/02 12:11:41 build.go:193: ********* Start testing of tst_QWebSocketServer *********
      agent:2018/11/02 12:11:41 build.go:193: Config: Using QtTest library 5.12.0, Qt 5.12.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2015)
      agent:2018/11/02 12:11:41 build.go:193: PASS : tst_QWebSocketServer::initTestCase()
      agent:2018/11/02 12:11:41 build.go:193: PASS : tst_QWebSocketServer::tst_initialisation()
      agent:2018/11/02 12:11:41 build.go:193: PASS : tst_QWebSocketServer::tst_settersAndGetters()
      agent:2018/11/02 12:11:41 build.go:193: PASS : tst_QWebSocketServer::tst_listening()
      agent:2018/11/02 12:11:41 build.go:193: PASS : tst_QWebSocketServer::tst_connectivity()
      agent:2018/11/02 12:11:41 build.go:193: FAIL! : tst_QWebSocketServer::tst_preSharedKey() Compared values are not the same
      agent:2018/11/02 12:11:41 build.go:193: Actual (authenticator->identityHint()): ""
      agent:2018/11/02 12:11:41 build.go:193: Expected (PSK_SERVER_IDENTITY_HINT) : "QtTestServerHint"
      agent:2018/11/02 12:11:41 build.go:193: tst_qwebsocketserver.cpp(74) : failure location
      agent:2018/11/02 12:11:57 build.go:193: FAIL! : tst_QWebSocketServer::tst_preSharedKey() Compared values are not the same
      agent:2018/11/02 12:11:57 build.go:193: Actual (((socketConnectedSpy.count()))): 0
      agent:2018/11/02 12:11:57 build.go:193: Expected (1) : 1
      agent:2018/11/02 12:11:57 build.go:193: tst_qwebsocketserver.cpp(443) : failure location
      agent:2018/11/02 12:11:57 build.go:193: PASS : tst_QWebSocketServer::tst_maxPendingConnections()
      agent:2018/11/02 12:11:57 build.go:193: PASS : tst_QWebSocketServer::tst_serverDestroyedWhileSocketConnected()
      agent:2018/11/02 12:11:57 build.go:193: PASS : tst_QWebSocketServer::tst_scheme()
      agent:2018/11/02 12:11:57 build.go:193: PASS : tst_QWebSocketServer::tst_handleConnection()
      agent:2018/11/02 12:11:57 build.go:193: PASS : tst_QWebSocketServer::cleanupTestCase()
      agent:2018/11/02 12:11:57 build.go:193: Totals: 10 passed, 2 failed, 0 skipped, 0 blacklisted, 16018ms
      agent:2018/11/02 12:11:57 build.go:193: ********* Finished testing of tst_QWebSocketServer *********
      agent:2018/11/02 12:11:57 build.go:193: jom: C:\Users\qt\work\qt\qtwebsockets\tests\auto\websockets\qwebsocketserver\Makefile.Release [check] Error 2
      agent:2018/11/02 12:11:57 build.go:193: jom: C:\Users\qt\work\qt\qtwebsockets\tests\auto\websockets\qwebsocketserver\Makefile [release-check] Error 2
      agent:2018/11/02 12:11:57 build.go:237: Process finished with error: exit status 2
      agent:2018/11/02 12:11:57 build.go:196: Error reading from stdout/err: exit status 2
      agent:2018/11/02 12:12:17 runner.go:151: Re-running tests/auto/websockets/qwebsocketserver with TESTARGS=tst_preSharedKey
      agent:2018/11/02 12:12:17 build.go:313: [c:\users\qt\MSVC2015.bat jom check] 900 900
      agent:2018/11/02 12:12:17 build.go:193: 
      agent:2018/11/02 12:12:17 build.go:193: C:\Users\qt\work\qt\qtwebsockets\tests\auto\websockets\qwebsocketserver>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 
      agent:2018/11/02 12:12:19 build.go:193: 
      agent:2018/11/02 12:12:19 build.go:193: jom 1.1.2 - empower your cores
      agent:2018/11/02 12:12:19 build.go:193: 
      agent:2018/11/02 12:12:19 build.go:193: C:\Utils\Jom\jom.exe -f Makefile.Release check
      agent:2018/11/02 12:12:19 build.go:193: call C:\Users\qt\work\qt\qtwebsockets\tests\auto\websockets\qwebsocketserver\target_wrapper.bat release\tst_qwebsocketserver.exe tst_preSharedKey
      agent:2018/11/02 12:12:19 build.go:193: ********* Start testing of tst_QWebSocketServer *********
      agent:2018/11/02 12:12:19 build.go:193: Config: Using QtTest library 5.12.0, Qt 5.12.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2015)
      agent:2018/11/02 12:12:19 build.go:193: PASS : tst_QWebSocketServer::initTestCase()
      agent:2018/11/02 12:12:19 build.go:193: FAIL! : tst_QWebSocketServer::tst_preSharedKey() Compared values are not the same
      agent:2018/11/02 12:12:19 build.go:193: Actual (authenticator->identityHint()): ""
      agent:2018/11/02 12:12:19 build.go:193: Expected (PSK_SERVER_IDENTITY_HINT) : "QtTestServerHint"
      agent:2018/11/02 12:12:19 build.go:193: tst_qwebsocketserver.cpp(74) : failure location
      agent:2018/11/02 12:12:34 build.go:193: FAIL! : tst_QWebSocketServer::tst_preSharedKey() Compared values are not the same
      agent:2018/11/02 12:12:34 build.go:193: Actual (((socketConnectedSpy.count()))): 0
      agent:2018/11/02 12:12:34 build.go:193: Expected (1) : 1
      agent:2018/11/02 12:12:34 build.go:193: tst_qwebsocketserver.cpp(443) : failure location
      agent:2018/11/02 12:12:34 build.go:193: PASS : tst_QWebSocketServer::cleanupTestCase()
      agent:2018/11/02 12:12:34 build.go:193: Totals: 2 passed, 2 failed, 0 skipped, 0 blacklisted, 15356ms
      agent:2018/11/02 12:12:34 build.go:193: ********* Finished testing of tst_QWebSocketServer *********
      agent:2018/11/02 12:12:34 build.go:193: jom: C:\Users\qt\work\qt\qtwebsockets\tests\auto\websockets\qwebsocketserver\Makefile.Release [check] Error 2
      agent:2018/11/02 12:12:34 build.go:193: jom: C:\Users\qt\work\qt\qtwebsockets\tests\auto\websockets\qwebsocketserver\Makefile [release-check] Error 2
      agent:2018/11/02 12:12:34 build.go:237: Process finished with error: exit status 2
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-71560
          # Subject Branch Project Status CR V

          Activity

            People

              manordheim Mårten Nordheim
              hehalmet Heikki Halmet
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes