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

tst_oauth2authentication fails on Red Hat 6.6 .64

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.6
    • Fix Version/s: None
    • Component/s: (Inactive) Enginio
    • Labels:
      None
    • Environment:
      linux-g++_developer-build_qtnamespace_qtlibinfix_RHEL_6.6_x64
    • Commits:
      Machine reconfigured properly

      Description

      QtQA::App::TestRunner: begin tst_oauth2authentication: [./tst_oauth2authentication] [-silent] [-o] [/work/ci/qt/qt5/dev/_artifacts/test-logs/tst_oauth2authentication-testresults-00.xml,xml] [-o] [-,txt]
      Could not open a file "/home/qt/enginio/credentials" . Backend setup failed!
      Testing tst_OAuth2Authentication
      FAIL! : tst_OAuth2Authentication::initTestCase() '_backendManager.createBackend(_backendName)' returned FALSE. ()
      Loc: [../common/identitycommon.h(76)]
      FAIL! : tst_OAuth2Authentication::cleanupTestCase() '_backendManager.removeBackend(_backendName)' returned FALSE. ()
      Loc: [../common/identitycommon.h(105)]
      Totals: 0 passed, 2 failed, 0 skipped, 0 blacklisted
      QtQA::App::TestRunner: test failed, running again to see if it is flaky...
      Could not open a file "/home/qt/enginio/credentials" . Backend setup failed!

                      • Start testing of tst_OAuth2Authentication *********
                        Config: Using QtTest library 5.6.0, Qt 5.6.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 4.9.1 20140922 (Red Hat 4.9.1-10))
                        QDEBUG : tst_OAuth2Authentication::initTestCase() ## Creating backend: tst_OAuth2Auth1431979896115
                        QDEBUG : tst_OAuth2Authentication::initTestCase() SignalSpy caught errors:
                        QDEBUG : tst_OAuth2Authentication::initTestCase() NetworkReply: QNetworkReplyHttpImpl(0x1862730)
                        QDEBUG : tst_OAuth2Authentication::initTestCase() Request URL: "https://api.engin.io/v1/account/apps"
                        QDEBUG : tst_OAuth2Authentication::initTestCase() Operation: "CUSTOM"
                        QDEBUG : tst_OAuth2Authentication::initTestCase() HTTP return code: 401
                        QDEBUG : tst_OAuth2Authentication::initTestCase() Headers[Content-Type]: QVariant(QString, "application/json")
                        QDEBUG : tst_OAuth2Authentication::initTestCase() Raw headers: ("Content-Type", "User-Agent", "X-Request-Id", "Content-Length")
                        QDEBUG : tst_OAuth2Authentication::initTestCase() RawHeaders[Accept]: ""
                        QDEBUG : tst_OAuth2Authentication::initTestCase() RawHeaders[Authorization]: ""
                        QDEBUG : tst_OAuth2Authentication::initTestCase() RawHeaders[Content-Type]: "application/json"
                        QDEBUG : tst_OAuth2Authentication::initTestCase() RawHeaders[X_Request_Id]: "4ab6be8d2b904eecaef36472e078bc15"
                        QDEBUG : tst_OAuth2Authentication::initTestCase() Reply Data: " {\"message\":\"Not logged in\"}

                        "
                        FAIL! : tst_OAuth2Authentication::initTestCase() '_backendManager.createBackend(_backendName)' returned FALSE. ()
                        Loc: [../common/identitycommon.h(76)]
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() ## Deleting backend: tst_OAuth2Auth1431979896115
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() SignalSpy caught errors:
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() NetworkReply: QNetworkReplyHttpImpl(0x1926710)
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() Request URL: "https://api.engin.io/v1/account/apps"
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() Operation: "CUSTOM"
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() HTTP return code: 401
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() Headers[Content-Type]: QVariant(QString, "application/json")
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() Raw headers: ("Content-Type", "User-Agent", "X-Request-Id")
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() RawHeaders[Accept]: ""
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() RawHeaders[Authorization]: ""
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() RawHeaders[Content-Type]: "application/json"
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() RawHeaders[X_Request_Id]: "2222546eb8a6406ba9b80bc7ea375925"
                        QDEBUG : tst_OAuth2Authentication::cleanupTestCase() Reply Data: "

                        {\"message\":\"Not logged in\"}

                        "
                        FAIL! : tst_OAuth2Authentication::cleanupTestCase() '_backendManager.removeBackend(_backendName)' returned FALSE. ()
                        Loc: [../common/identitycommon.h(105)]
                        Totals: 0 passed, 2 failed, 0 skipped, 0 blacklisted

                      • Finished testing of tst_OAuth2Authentication *********
                        QtQA::App::TestRunner: test failure could be reproduced twice consecutively
                        QtQA::App::TestRunner: end tst_oauth2authentication: 1 seconds, exit code 2
                        QtQA::App::TestScheduler: tst_oauth2authentication failed

        Attachments

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

          Activity

            People

            Assignee:
            nierob Nierob
            Reporter:
            javahaka Jani Vähäkangas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes