Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2
-
None
Description
qthttpserver module's qhttpserver ssl test cases fail on Android, this is because the openssl libs are not deployed with the apk in CI (seeĀ QTBUG-89053).
1: FAIL! : tst_QHttpServer::routeGet(hello world, ssl) Compared values are not the same 1: Actual (reply->header(QNetworkRequest::ContentTypeHeader)): QVariant() 1: Expected (type) : "text/plain" 1: Loc: [/home/qt/work/qt/qthttpserver/tests/auto/qhttpserver/tst_qhttpserver.cpp(642)] 1: QWARN : tst_QHttpServer::routeGet(post-and-get, get, ssl) : QSslSocket::connectToHostEncrypted: TLS initialization failed 1: FAIL! : tst_QHttpServer::routeGet(post-and-get, get, ssl) Compared values are not the same 1: Actual (reply->header(QNetworkRequest::ContentTypeHeader)): QVariant() 1: Expected (type) : "text/plain" 1: Loc: [/home/qt/work/qt/qthttpserver/tests/auto/qhttpserver/tst_qhttpserver.cpp(642)] 1: QWARN : tst_QHttpServer::routeGet(invalid-rule-method, get, ssl) : QSslSocket::connectToHostEncrypted: TLS initialization failed 1: FAIL! : tst_QHttpServer::routeGet(invalid-rule-method, get, ssl) Compared values are not the same 1: Actual (reply->header(QNetworkRequest::ContentTypeHeader)): QVariant() 1: Expected (type) : "application/x-empty" 1: Loc: [/home/qt/work/qt/qthttpserver/tests/auto/qhttpserver/tst_qhttpserver.cpp(642)] 1: QWARN : tst_QHttpServer::routeGet(check custom type, data=1, ssl) : QSslSocket::connectToHostEncrypted: TLS initialization failed 1: FAIL! : tst_QHttpServer::routeGet(check custom type, data=1, ssl) Compared values are not the same 1: Actual (reply->header(QNetworkRequest::ContentTypeHeader)): QVariant() 1: Expected (type) : "text/plain" 1: Loc: [/home/qt/work/qt/qthttpserver/tests/auto/qhttpserver/tst_qhttpserver.cpp(642)] 1: PASS : tst_QHttpServer::routeKeepAlive() 1: PASS : tst_QHttpServer::routePost(hello world) 1: PASS : tst_QHttpServer::routePost(post-and-get, post) 1: PASS : tst_QHttpServer::routePost(any, post) 1: PASS : tst_QHttpServer::routePost(post-body) 1: PASS : tst_QHttpServer::routePost(post-body - huge body, chunk test) 1: PASS : tst_QHttpServer::routePost(req-and-resp) 1: PASS : tst_QHttpServer::routePost(resp-and-req) 1: QWARN : tst_QHttpServer::routePost(post-and-get, post, ssl) : QSslSocket::connectToHostEncrypted: TLS initialization failed 1: FAIL! : tst_QHttpServer::routePost(post-and-get, post, ssl) Compared values are not the same 1: Actual (reply->header(QNetworkRequest::ContentTypeHeader)): QVariant() 1: Expected (type) : "text/plain" 1: Loc: [/home/qt/work/qt/qthttpserver/tests/auto/qhttpserver/tst_qhttpserver.cpp(812)] 1: QWARN : tst_QHttpServer::routePost(any, post, ssl) : QSslSocket::connectToHostEncrypted: TLS initialization failed 1: FAIL! : tst_QHttpServer::routePost(any, post, ssl) Compared values are not the same 1: Actual (reply->header(QNetworkRequest::ContentTypeHeader)): QVariant() 1: Expected (type) : "text/plain" 1: Loc: [/home/qt/work/qt/qthttpserver/tests/auto/qhttpserver/tst_qhttpserver.cpp(812)] 1: QWARN : tst_QHttpServer::routePost(post-body, ssl) : QSslSocket::connectToHostEncrypted: TLS initialization failed 1: FAIL! : tst_QHttpServer::routePost(post-body, ssl) Compared values are not the same 1: Actual (reply->header(QNetworkRequest::ContentTypeHeader)): QVariant() 1: Expected (type) : "text/plain" 1: Loc: [/home/qt/work/qt/qthttpserver/tests/auto/qhttpserver/tst_qhttpserver.cpp(812)] 1: QWARN : tst_QHttpServer::routePost(post-body - huge body, chunk test, ssl) : QSslSocket::connectToHostEncrypted: TLS initialization failed 1: FAIL! : tst_QHttpServer::routePost(post-body - huge body, chunk test, ssl) Compared values are not the same 1: Actual (reply->header(QNetworkRequest::ContentTypeHeader)): QVariant() 1: Expected (type) : "text/plain" 1: Loc: [/home/qt/work/qt/qthttpserver/tests/auto/qhttpserver/tst_qhttpserver.cpp(812)] 1: PASS : tst_QHttpServer::routeDelete(post-and-get, delete) 1: PASS : tst_QHttpServer::routeDelete(any, delete) 1: QWARN : tst_QHttpServer::routeDelete(post-and-get, delete, ssl) : QSslSocket::connectToHostEncrypted: TLS initialization failed 1: FAIL! : tst_QHttpServer::routeDelete(post-and-get, delete, ssl) Compared values are not the same 1: Actual (reply->header(QNetworkRequest::ContentTypeHeader)): QVariant() 1: Expected (type) : "application/x-empty" 1: Loc: [/home/qt/work/qt/qthttpserver/tests/auto/qhttpserver/tst_qhttpserver.cpp(866)] 1: QWARN : tst_QHttpServer::routeDelete(any, delete, ssl) : QSslSocket::connectToHostEncrypted: TLS initialization failed 1: FAIL! : tst_QHttpServer::routeDelete(any, delete, ssl) Compared values are not the same 1: Actual (reply->header(QNetworkRequest::ContentTypeHeader)): QVariant() 1: Expected (type) : "text/plain" 1: Loc: [/home/qt/work/qt/qthttpserver/tests/auto/qhttpserver/tst_qhttpserver.cpp(866)]
Attachments
Issue Links
- relates to
-
QTBUG-102709 Report failing tests for other modules
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-103712 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
412212,4 | Android: add Qt::Gui deependency for tests and ignore ssl tests result | dev | qt/qthttpserver | Status: MERGED | +2 | 0 |