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

tst_grpc_client_unarycall failed too often

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.9
    • GRPC
    • None
    • Linux/X11

    Description

      https://testresults.qt.io/grafana/d/d8bebf9c-6e1c-4bff-a214-8d506943f23c/new-flaky-crashed-failed-tests?var-branch=1&var-test_case_n=1765&var-test_function_n=145477&var-group_by_interval=1d&orgId=1&from=now-30d&to=now&timezone=browser

      Started about one week ago, it failed very often on different linux platforms.

      See also

      https://testresults.qt.io/coin/integration/qt/qt5/tasks/web_qt_qt5_1736497475872
      https://testresults.qt.io/coin/api/log/qt/qtgrpc/e7df06903f3e2a485cc8f905cfe96c780accb9a4/LinuxUbuntu_22_04x86_64LinuxUbuntu_22_04x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-51-3c7990PinCores_Sccache_TestOnly/dd53265ac7012aeacc470e9f214c9d147ab7f9f3/forceRun/test_1736497634/log.txt.gz

      agent:2025/01/10 08:30:19 build.go:404:       Start 46: tst_grpc_client_unarycall
      agent:2025/01/10 08:30:22 build.go:404: 46/73 Test #46: tst_grpc_client_unarycall .........................***Failed    3.32 sec
      agent:2025/01/10 08:30:22 build.go:404: qt-testrunner.py     INFO: Will write XML test logs to directory COIN_CTEST_RESULTSDIR=/home/qt/work/testresults
      agent:2025/01/10 08:30:22 build.go:404: qt-testrunner.py    DEBUG: Running test command line: ['/home/qt/work/qt/qtgrpc_standalone_tests/tests/auto/grpc/client/unarycall/tst_grpc_client_unarycall', '-o', '/home/qt/work/testresults/tst_grpc_client_unarycall-1736497819550.xml,xml', '-o', '/home/qt/work/testresults/tst_grpc_client_unarycall-1736497819550.junit.xml,junitxml', '-o', '/home/qt/work/testresults/tst_grpc_client_unarycall-1736497819550.txt,txt', '-o', '-,txt']
      agent:2025/01/10 08:30:22 build.go:404: Testserver started "/home/qt/work/qt/qtgrpc_standalone_tests/tests/auto/grpc/client/shared/test_server/grpc_testserver"
      agent:2025/01/10 08:30:22 build.go:404: ********* Start testing of QtGrpcClientUnaryCallTest *********
      agent:2025/01/10 08:30:22 build.go:404: Config: Using QtTest library 6.9.0, Qt 6.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.4.0), ubuntu 22.04
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::initTestCase()
      agent:2025/01/10 08:30:22 build.go:404: QWARN  : QtGrpcClientUnaryCallTest::callIsValid(Http2Client) testMethod called with:  "Hello Qt!"
      agent:2025/01/10 08:30:22 build.go:404: QDEBUG : QtGrpcClientUnaryCallTest::callIsValid(Http2Client) Error occurred( QAbstractSocket::SocketError(13) ): "The certificate is self-signed, and untrusted" QUrl("https://localhost:50052")
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::callIsValid(Http2Client)
      agent:2025/01/10 08:30:22 build.go:404: QWARN  : QtGrpcClientUnaryCallTest::callIsValid(Http2ClientUnix) testMethod called with:  "Hello Qt!"
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::callIsValid(Http2ClientUnix)
      agent:2025/01/10 08:30:22 build.go:404: QDEBUG : QtGrpcClientUnaryCallTest::callIsValid(Http2ClientSSL) Error occurred( QAbstractSocket::SocketError(13) ): "The certificate is self-signed, and untrusted" QUrl("https://localhost:50052")
      agent:2025/01/10 08:30:22 build.go:404: FAIL!  : QtGrpcClientUnaryCallTest::callIsValid(Http2ClientSSL) The computed value is expected to be equal to the baseline, but is not
      agent:2025/01/10 08:30:22 build.go:404:    Computed (status.code())         : Unavailable
      agent:2025/01/10 08:30:22 build.go:404:    Baseline (QtGrpc::StatusCode::Ok): Ok
      agent:2025/01/10 08:30:22 build.go:404:    Loc: [/home/qt/work/qt/qtgrpc/tests/auto/grpc/client/unarycall/tst_grpc_client_unarycall.cpp(61)]
      agent:2025/01/10 08:30:22 build.go:404: FAIL!  : QtGrpcClientUnaryCallTest::callIsValid(Http2ClientSSL) The computed value is expected to be equal to the baseline, but is not
      agent:2025/01/10 08:30:22 build.go:404:    Computed (waitForReply): 0
      agent:2025/01/10 08:30:22 build.go:404:    Baseline (true)        : 1
      agent:2025/01/10 08:30:22 build.go:404:    Loc: [/home/qt/work/qt/qtgrpc/tests/auto/grpc/client/unarycall/tst_grpc_client_unarycall.cpp(70)]
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::immediateCancel(Http2Client)
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::immediateCancel(Http2ClientUnix)
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::immediateCancel(Http2ClientSSL)
      agent:2025/01/10 08:30:22 build.go:404: QWARN  : QtGrpcClientUnaryCallTest::deferredCancel(Http2Client) testMethod called with:  "sleep"
      agent:2025/01/10 08:30:22 build.go:404: QDEBUG : QtGrpcClientUnaryCallTest::deferredCancel(Http2Client) Error occurred( QAbstractSocket::SocketError(13) ): "The certificate is self-signed, and untrusted" QUrl("https://localhost:50052")
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::deferredCancel(Http2Client)
      agent:2025/01/10 08:30:22 build.go:404: QWARN  : QtGrpcClientUnaryCallTest::deferredCancel(Http2ClientUnix) testMethod called with:  "sleep"
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::deferredCancel(Http2ClientUnix)
      agent:2025/01/10 08:30:22 build.go:404: QDEBUG : QtGrpcClientUnaryCallTest::deferredCancel(Http2ClientSSL) Error occurred( QAbstractSocket::SocketError(13) ): "The certificate is self-signed, and untrusted" QUrl("https://localhost:50052")
      agent:2025/01/10 08:30:22 build.go:404: FAIL!  : QtGrpcClientUnaryCallTest::deferredCancel(Http2ClientSSL) The computed value is expected to be equal to the baseline, but is not
      agent:2025/01/10 08:30:22 build.go:404:    Computed (args.first().value<QGrpcStatus>().code()): Unavailable
      agent:2025/01/10 08:30:22 build.go:404:    Baseline (QtGrpc::StatusCode::Cancelled)           : Cancelled
      agent:2025/01/10 08:30:22 build.go:404:    Loc: [/home/qt/work/qt/qtgrpc/tests/auto/grpc/client/unarycall/tst_grpc_client_unarycall.cpp(107)]
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::asyncClientStatusMessage(Http2Client)
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::asyncClientStatusMessage(Http2ClientUnix)
      agent:2025/01/10 08:30:22 build.go:404: QDEBUG : QtGrpcClientUnaryCallTest::asyncClientStatusMessage(Http2ClientSSL) Error occurred( QAbstractSocket::SocketError(13) ): "The certificate is self-signed, and untrusted" QUrl("https://localhost:50052")
      agent:2025/01/10 08:30:22 build.go:404: FAIL!  : QtGrpcClientUnaryCallTest::asyncClientStatusMessage(Http2ClientSSL) Compared values are not the same
      agent:2025/01/10 08:30:22 build.go:404:    Actual   (qvariant_cast<QGrpcStatus>(replyFinishedSpy.at(0).first()).message()): "Network error occurred 13"
      agent:2025/01/10 08:30:22 build.go:404:    Expected (request.testFieldString())                                           : "Some status message"
      agent:2025/01/10 08:30:22 build.go:404:    Loc: [/home/qt/work/qt/qtgrpc/tests/auto/grpc/client/unarycall/tst_grpc_client_unarycall.cpp(122)]
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::asyncStatusMessage(Http2Client)
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::asyncStatusMessage(Http2ClientUnix)
      agent:2025/01/10 08:30:22 build.go:404: QDEBUG : QtGrpcClientUnaryCallTest::asyncStatusMessage(Http2ClientSSL) Error occurred( QAbstractSocket::SocketError(13) ): "The certificate is self-signed, and untrusted" QUrl("https://localhost:50052")
      agent:2025/01/10 08:30:22 build.go:404: FAIL!  : QtGrpcClientUnaryCallTest::asyncStatusMessage(Http2ClientSSL) Compared values are not the same
      agent:2025/01/10 08:30:22 build.go:404:    Actual   (args.first().value<QGrpcStatus>().message()): "Network error occurred 13"
      agent:2025/01/10 08:30:22 build.go:404:    Expected (request.testFieldString())                  : "Some status message"
      agent:2025/01/10 08:30:22 build.go:404:    Loc: [/home/qt/work/qt/qtgrpc/tests/auto/grpc/client/unarycall/tst_grpc_client_unarycall.cpp(139)]
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::metadata(Http2Client)
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::metadata(Http2ClientUnix)
      agent:2025/01/10 08:30:22 build.go:404: QDEBUG : QtGrpcClientUnaryCallTest::metadata(Http2ClientSSL) Error occurred( QAbstractSocket::SocketError(13) ): "The certificate is self-signed, and untrusted" QUrl("https://localhost:50052")
      agent:2025/01/10 08:30:22 build.go:404: FAIL!  : QtGrpcClientUnaryCallTest::metadata(Http2ClientSSL) The computed value is expected to be equal to the baseline, but is not
      agent:2025/01/10 08:30:22 build.go:404:    Computed (serverHeaderCount): 0
      agent:2025/01/10 08:30:22 build.go:404:    Baseline (1)                : 1
      agent:2025/01/10 08:30:22 build.go:404:    Loc: [/home/qt/work/qt/qtgrpc/tests/auto/grpc/client/unarycall/tst_grpc_client_unarycall.cpp(174)]
      agent:2025/01/10 08:30:22 build.go:404: PASS   : QtGrpcClientUnaryCallTest::cleanupTestCase()
      agent:2025/01/10 08:30:22 build.go:404: Totals: 15 passed, 5 failed, 0 skipped, 0 blacklisted, 1041ms
      agent:2025/01/10 08:30:22 build.go:404: ********* Finished testing of QtGrpcClientUnaryCallTest *********
      

       

      Attachments

        Issue Links

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

          Activity

            People

              semlanik Alexey Edelev
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes