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

Top flaky test: Tst_QOpcUaSecurity::initTestCase

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.11
    • OpcUA

      Test case: Tst_QOpcUaSecurity::initTestCase has failed 11 times, crashed 0 and was flaky 0 times last week.

      The test has blocked around 5 Gerrit changes past week

      Coin log excerpt from failed run:

      agent:2025/09/23 16:35:17 build.go:413: ********* Start testing of Tst_QOpcUaSecurity ********* agent:2025/09/23 16:35:17 build.go:413: Config: Using QtTest library 6.11.0, Qt 6.11.0 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 10.2.0), b2qt 3.2 agent:2025/09/23 16:35:17 build.go:413: QDEBUG : Tst_QOpcUaSecurity::initTestCase() PKI data available at "/tmp/tst_security-RRvfGZ" agent:2025/09/23 16:35:17 build.go:413: QDEBUG : Tst_QOpcUaSecurity::initTestCase() Using endpoint: "opc.tcp://127.0.0.1:43344" agent:2025/09/23 16:35:17 build.go:413: QINFO : Tst_QOpcUaSecurity::initTestCase() qt.opcua.plugins.open62541.sdk.eventloop: Starting the EventLoop agent:2025/09/23 16:35:17 build.go:413: QINFO : Tst_QOpcUaSecurity::initTestCase() qt.opcua.plugins.open62541.sdk.network: TCP 12 | Opening a connection to "127.0.0.1" on port 43344 agent:2025/09/23 16:35:17 build.go:413: QINFO : Tst_QOpcUaSecurity::initTestCase() qt.opcua.plugins.open62541.sdk.network: TCP 12 | The connection closes with error 111 agent:2025/09/23 16:35:17 build.go:413: QINFO : Tst_QOpcUaSecurity::initTestCase() qt.opcua.plugins.open62541.sdk.securechannel: TCP 12 | SC 0 | SecureChannel closed agent:2025/09/23 16:35:17 build.go:413: QCRITICAL: Tst_QOpcUaSecurity::initTestCase() qt.opcua.plugins.open62541.sdk.client: Could not open a TCP connection to the Endpoint at opc.tcp://127.0.0.1:43344 agent:2025/09/23 16:35:17 build.go:413: QINFO : Tst_QOpcUaSecurity::initTestCase() qt.opcua.plugins.open62541.sdk.client: Client Status: ChannelState: Fresh, SessionState: Closed, ConnectStatus: BadConnectionRejected agent:2025/09/23 16:35:17 build.go:413: QINFO : Tst_QOpcUaSecurity::initTestCase() qt.opcua.plugins.open62541.sdk.network: TCP 12 | Socket closed agent:2025/09/23 16:35:17 build.go:413: QWARN : Tst_QOpcUaSecurity::initTestCase() Failed to retrieve endpoints from opc.tcp://127.0.0.1:43344 with status BadConnectionRejected agent:2025/09/23 16:35:17 build.go:413: QINFO : Tst_QOpcUaSecurity::initTestCase() qt.opcua.plugins.open62541.sdk.eventloop: Stopping the EventLoop agent:2025/09/23 16:35:17 build.go:413: QINFO : Tst_QOpcUaSecurity::initTestCase() qt.opcua.plugins.open62541.sdk.network: UDP | Shutting down the ConnectionManager agent:2025/09/23 16:35:17 build.go:413: QINFO : Tst_QOpcUaSecurity::initTestCase() qt.opcua.plugins.open62541.sdk.network: TCP | Shutting down the ConnectionManager agent:2025/09/23 16:35:17 build.go:413: QINFO : Tst_QOpcUaSecurity::initTestCase() qt.opcua.plugins.open62541.sdk.eventloop: The EventLoop has stopped agent:2025/09/23 16:35:17 build.go:413: FAIL! : Tst_QOpcUaSecurity::initTestCase() 'desc.size() > 0' returned FALSE. () agent:2025/09/23 16:35:17 build.go:413: Loc: [/home/qt/work/qt/qtopcua/tests/auto/security/tst_security.cpp(223)] agent:2025/09/23 16:35:17 build.go:413: PASS : Tst_QOpcUaSecurity::cleanupTestCase() agent:2025/09/23 16:35:17 build.go:413: Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 1481ms agent:2025/09/23 16:35:17 build.go:413: ********* Finished testing of Tst_QOpcUaSecurity ********* agent:2025/09/23 16:35:17 build.go:413: qt-testrunner.py INFO: Test process exited with code: 1 agent:2025/09/23 16:35:17 build.go:413: qt-testrunner.py INFO: Parsed XML file /home/qt/work/testresults/tst_security-1758645315433.xml in 0.000 seconds agent:2025/09/23 16:35:17 build.go:413: qt-testrunner.py INFO: Found 1 passes and 1 failures agent:2025/09/23 16:35:17 build.go:413: qt-testrunner.py WARNING: Failure detected in the special test function 'initTestCase' which can not be re-run individually agent:2025/09/23 16:35:17 build.go:413: qt-testrunner.py INFO: Will re-run the full test executable agent:2025/09/23 16:35:17 build.go:413: qt-testrunner.py DEBUG: Running test command line: ['/home/qt/work/qt/qtopcua_standalone_tests/tests/auto/security/tst_security', '-o', '/home/qt/work/testresults/tst_security-1758645317020.xml,xml', '-o', '/home/qt/work/testresults/tst_security-1758645317020.junit.xml,junitxml', '-o', '/home/qt/work/testresults/tst_security-1758645317020.txt,txt', '-o', '-,txt']

      Full log at: coin link 

      Statistics about test fails: link to Grafana dashboard

      Information about the Qt test system: Qt auto tests execution information

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

            basyskom.jannis.voelker Jannis Völker
            testresults_metrics_bot Testresults Metrics Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes