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

tst_QNetworkReply tests fail CI on VxWorks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9
    • Device Creation, Network
    • None

    Description

      There are currently 16 errors in tests of QNetworkReply on VxWorks, excerpt from logs:

      FAIL!  : tst_QNetworkReply::getFromFile(no-background-attribute) Compared values are not the same
      Actual   (reply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 0
      Expected (file.size())                                                     : 40
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(1916)]
      FAIL!  : tst_QNetworkReply::getFromFile(background-attribute) Compared values are not the same
      Actual   (reply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 0
      Expected (file.size())                                                     : 40
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(1916)]
      FAIL!  : tst_QNetworkReply::ioGetFromFile(generic) Compared values are not the same
      Actual   (reply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 0
      Expected (file.size())                                                     : 25
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(3760)]
      FAIL!  : tst_QNetworkReply::ioGetFromFile(small) Compared values are not the same
      Actual   (reply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 0
      Expected (file.size())                                                     : 43
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(3760)]
      FAIL!  : tst_QNetworkReply::ioGetFromFile(with-nul) Compared values are not the same
      Actual   (reply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 0
      Expected (file.size())                                                     : 12
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(3760)]
      FAIL!  : tst_QNetworkReply::ioGetFromFile(4k+1) Compared values are not the same
      Actual   (reply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 0
      Expected (file.size())                                                     : 4097
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(3760)]
      FAIL!  : tst_QNetworkReply::ioGetFromFile(128k+1) Compared values are not the same
      Actual   (reply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 131072
      Expected (file.size())                                                     : 131073
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(3760)]
      FAIL!  : tst_QNetworkReply::ioGetFromFile(2MB+1) Compared values are not the same
      Actual   (reply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 2097152
      Expected (file.size())                                                     : 2097153
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(3760)]
      FAIL!  : tst_QNetworkReply::chaining(generic) Compared values are not the same
      Actual   (getReply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 0
      Expected (sourceFile.size())                                                  : 25
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(6163)]
      FAIL!  : tst_QNetworkReply::chaining(small) Compared values are not the same
      Actual   (getReply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 0
      Expected (sourceFile.size())                                                  : 43
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(6163)]
      FAIL!  : tst_QNetworkReply::chaining(with-nul) Compared values are not the same
      Actual   (getReply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 0
      Expected (sourceFile.size())                                                  : 12
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(6163)]
      FAIL!  : tst_QNetworkReply::chaining(4k+1) Compared values are not the same
      Actual   (getReply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 0
      Expected (sourceFile.size())                                                  : 4097
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(6163)]
      FAIL!  : tst_QNetworkReply::chaining(128k+1) Compared values are not the same
      Actual   (getReply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 131072
      Expected (sourceFile.size())                                                  : 131073
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(6163)]
      FAIL!  : tst_QNetworkReply::chaining(2MB+1) Compared values are not the same
      Actual   (getReply->header(QNetworkRequest::ContentLengthHeader).toLongLong()): 2097152
      Expected (sourceFile.size())                                                  : 2097153
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(6163)]
      FAIL!  : tst_QNetworkReply::getFromUnreachableIp() Compared values are not the same
      Actual   (waitForFinish(reply)): 0
      Expected (int(Failure))        : 2
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(7616)]
      FAIL!  : tst_QNetworkReply::moreActivitySignals(localDns4) Compared values are not the same
      Actual   (spy2.size()): 0
      Expected (1)          : 1
      Loc: [/home/qt/work/qt/qtbase/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp(10189)]
      

      Error found on Nightly build:
      https://testresults.qt.io/coin/integration/qt/qtbase/tasks/nightly1730160003

      Attachments

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

        Activity

          People

            jarlamsa Jarno Lämsä
            michal.los Michał Łoś
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes