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

Tst_QOpcUaClient::getChildren is flaky

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.2
    • 5.11, 5.12
    • OpcUA

    Description

      Test fails with following log:

      ********* Start testing of Tst_QOpcUaClient *********
      Config: Using QtTest library 5.12.0, Qt 5.12.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.4.0 20160609)
      QDEBUG : Tst_QOpcUaClient::initTestCase() [ 0.000 D] default unknown - Using SDK plugin: "open62541"
      QDEBUG : Tst_QOpcUaClient::initTestCase() [ 0.006 D] default unknown - Using SDK plugin: "freeopcua"
      QDEBUG : Tst_QOpcUaClient::initTestCase() [ 2.007 D] default unknown - Using endpoint: "opc.tcp://localhost:43344"
      PASS : Tst_QOpcUaClient::initTestCase()
      PASS : Tst_QOpcUaClient::getChildren(open62541)
      [2018-02-27 05:44:39.957] [UaClient] [info] ua_client | creating session ...
      [2018-02-27 05:44:39.987] [UaClient] [info] ua_client | create session OK
      [2018-02-27 05:44:39.987] [UaClient] [info] ua_client | activating session ...
      [2018-02-27 05:44:40.018] [UaClient] [info] ua_client | activate session OK
      [2018-02-27 05:44:40.026] [UaClient] [info] keep_alive_thread | starting
      [2018-02-27 05:44:40.096] [UaClient] [info] keep_alive_thread | stopped
      QWARN : Tst_QOpcUaClient::getChildren(freeopcua) [ 13.495 W] qt.opcua.plugins.freeopcua unknown - Could not disconnect from endpoint: Response timed out
      FAIL! : Tst_QOpcUaClient::getChildren(freeopcua) QTestLib: This test case check ("(((opcuaClient->state() == QOpcUaClient::Disconnected)))") failed because the requested timeout (5000 ms) was too short, 9900 ms would have been sufficient this time.
      Loc: [tst_client.cpp(92)]
      PASS : Tst_QOpcUaClient::cleanupTestCase()
      [2018-02-27 05:44:50.151] [UaClient] [error] binary_client | ReceiveThread: error receiving data: Connection was closed by host. Success.
      Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 13559ms
      ********* Finished testing of Tst_QOpcUaClient *********
      Makefile:274: recipe for target 'check' failed
      make: *** [check] Error 1

      Can be found from these integrations:

      http://ci-files01-hki.intra.qt.io:8080/coin/integration/qt/tqtc-qt5/tasks/1519757501

      http://ci-files01-hki.intra.qt.io:8080/coin/integration/qt/tqtc-qt5/tasks/1519755581

       

      See flakiness history in Grafana:

      https://testresults.qt.io/grafana/dashboard/db/coin-single-test-details?orgId=1&var-project=qt%2Fqtopcua&var-testcase=tests%2Fauto%2Fqopcuaclient&var-testfunction=getChildren&var-branch=5.11&var-branch=dev&var-inter=24h

      Attachments

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

        Activity

          People

            basyskom.jannis.voelker Jannis Völker
            sanurmen Sami Nurmenniemi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes