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

Windows: Tst_MqttConformance::basic_test and some others in same testcase fails with "Could not connect to broker" when removing Python 2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 5.15
    • MQTT
    • None
    • Windows
    • 9f860fd78 (tqtc/lts-5.15)

    Description

      When trying to remove Python 2 from lts-5.15:

      All 6 windows targets failed in mqtt two times in integration with same failings:

      Images in use with those 6 targets:

      • qtci-windows-10_21H2-x86_64-52
      • qtci-windows-10_21H2-x86_64-52
      • qtci-windows-10_21H2-x86_64-52
      • qtci-windows-11_22H2-x86_64-50
      • qtci-windows-7-x86-3
      • qtci-windows-7-x86-3

       

      Logs:

      https://ci-files01-hki.ci.qt.io:8081/coin/log/qt/qtmqtt/7a8d019001e09c11da444c5240401ee5ccf1586a/WindowsWindows_10_21H2x86_64WindowsWindows_10_21H2x86MSVC2019qtci-windows-10_21H2-x86_64-52-cca680Packaging/b58c70c06f839eb9ea23075da3fd544395230c61/test_1729765561 

      agent:2024/10/24 10:14:55 build.go:404: ********* Start testing of Tst_MqttConformance *********
      agent:2024/10/24 10:14:55 build.go:404: Config: Using QtTest library 5.15.18, Qt 5.15.18 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2019), windows 10
      agent:2024/10/24 10:14:55 build.go:404: QDEBUG : Tst_MqttConformance::initTestCase() Launching broker: "C:\\Python38_64/python.exe" ("C:\\Utils\\paho.mqtt.testing-20bad2475c27a6e1d24a56d90a9fceb40963261e\\interoperability\\startbroker.py", "-c", "C:\\Utils\\paho.mqtt.testing-20bad2475c27a6e1d24a56d90a9fceb40963261e\\interoperability\\localhost_testing.conf")
      agent:2024/10/24 10:14:57 build.go:404: PASS   : Tst_MqttConformance::initTestCase()
      agent:2024/10/24 10:15:17 build.go:404: FAIL!  : Tst_MqttConformance::basic_test(V3.1.1) '(client.state() == QMqttClient::Connected)' returned FALSE. (Could not connect to broker)
      agent:2024/10/24 10:15:17 build.go:404: tst_conformance.cpp(102) : failure location
      agent:2024/10/24 10:15:21 build.go:404: PASS   : Tst_MqttConformance::basic_test(V5.0.0)
      agent:2024/10/24 10:15:40 build.go:404: FAIL!  : Tst_MqttConformance::retained_message_test(4:receiveRetain) '(client.state() == QMqttClient::Connected)' returned FALSE. (Could not connect to broker)
      agent:2024/10/24 10:15:40 build.go:404: tst_conformance.cpp(176) : failure location
      agent:2024/10/24 10:15:58 build.go:404: FAIL!  : Tst_MqttConformance::retained_message_test(4:clearRetain) '(client.state() == QMqttClient::Connected)' returned FALSE. (Could not connect to broker)
      agent:2024/10/24 10:15:58 build.go:404: tst_conformance.cpp(176) : failure location
      agent:2024/10/24 10:16:00 build.go:404: QWARN  : Tst_MqttConformance::retained_message_test(5:receiveRetain) qt.mqtt.connection: Attempt to read past the data
      agent:2024/10/24 10:16:00 build.go:404: QDEBUG : Tst_MqttConformance::retained_message_test(5:receiveRetain) Message received, current count: 1
      agent:2024/10/24 10:16:00 build.go:404: QDEBUG : Tst_MqttConformance::retained_message_test(5:receiveRetain) Message received, current count: 2
      agent:2024/10/24 10:16:00 build.go:404: QDEBUG : Tst_MqttConformance::retained_message_test(5:receiveRetain) Message received, current count: 3
      agent:2024/10/24 10:16:00 build.go:404: PASS   : Tst_MqttConformance::retained_message_test(5:receiveRetain)
      agent:2024/10/24 10:16:03 build.go:404: QWARN  : Tst_MqttConformance::retained_message_test(5:clearRetain) qt.mqtt.connection: Attempt to read past the data
      agent:2024/10/24 10:16:06 build.go:404: PASS   : Tst_MqttConformance::retained_message_test(5:clearRetain)
      agent:2024/10/24 10:16:24 build.go:404: FAIL!  : Tst_MqttConformance::will_message_test(V3.1.1) '(client.state() == QMqttClient::Connected)' returned FALSE. (Could not connect to broker)
      agent:2024/10/24 10:16:24 build.go:404: tst_conformance.cpp(229) : failure location
      agent:2024/10/24 10:16:29 build.go:404: QWARN  : Tst_MqttConformance::will_message_test(V5.0.0) QIODevice::write (QTcpSocket): device not open
      agent:2024/10/24 10:16:29 build.go:404: PASS   : Tst_MqttConformance::will_message_test(V5.0.0)
      agent:2024/10/24 10:16:31 build.go:404: PASS   : Tst_MqttConformance::zero_length_clientid_test(4:noncleanSession)
      agent:2024/10/24 10:16:49 build.go:404: FAIL!  : Tst_MqttConformance::zero_length_clientid_test(4:cleanSession) '(client.state() == QMqttClient::Connected)' returned FALSE. (Could not connect to broker.)
      agent:2024/10/24 10:16:49 build.go:404: tst_conformance.cpp(289) : failure location
      agent:2024/10/24 10:16:52 build.go:404: PASS   : Tst_MqttConformance::zero_length_clientid_test(5:noncleanSession)
      agent:2024/10/24 10:16:54 build.go:404: PASS   : Tst_MqttConformance::zero_length_clientid_test(5:cleanSession)
      agent:2024/10/24 10:17:12 build.go:404: FAIL!  : Tst_MqttConformance::offline_message_queueing_test(V3.1.1) '(client.state() == QMqttClient::Connected)' returned FALSE. (Could not connect to broker.)
      agent:2024/10/24 10:17:12 build.go:404: tst_conformance.cpp(306) : failure location

       

      Same failing with these:

      https://ci-files01-hki.ci.qt.io:8081/coin/log/qt/qtmqtt/7a8d019001e09c11da444c5240401ee5ccf1586a/WindowsWindows_10_21H2x86_64WindowsWindows_10_21H2x86_64MSVC2019qtci-windows-10_21H2-x86_64-52-cca680Packaging/3d9b0b40370d280a261eec903a57e1168667df13/test_1729765566

      https://ci-files01-hki.ci.qt.io:8081/coin/log/qt/qtmqtt/7a8d019001e09c11da444c5240401ee5ccf1586a/WindowsWindows_10_21H2x86_64WindowsWindows_10_21H2x86_64Mingwqtci-windows-10_21H2-x86_64-52-cca680Packaging/18d0bbdca99b6584ab9c88d8900dcbb967f2ff2e/test_1729765564

      https://ci-files01-hki.ci.qt.io:8081/coin/log/qt/qtmqtt/7a8d019001e09c11da444c5240401ee5ccf1586a/WindowsWindows_11_22H2x86_64WindowsWindows_11_22H2x86_64MSVC2019qtci-windows-11_22H2-x86_64-50-10b1fb/14e61a1a1a59ce34a5be479875745fd99e5682eb/test_1729765562

      https://ci-files01-hki.ci.qt.io:8081/coin/log/qt/qtmqtt/7a8d019001e09c11da444c5240401ee5ccf1586a/WindowsWindows_7x86WindowsWindows_7x86Mingwqtci-windows-7-x86-3-6ca532/e28fcb271a6eb14fd4b77389dc116c6aedb37be6/test_1729765563

      https://ci-files01-hki.ci.qt.io:8081/coin/log/qt/qtmqtt/7a8d019001e09c11da444c5240401ee5ccf1586a/WindowsWindows_7x86WindowsWindows_7x86Mingwqtci-windows-7-x86-3-6ca532Packaging/4e953a7ff3d27c69f41a5b62b0f7eb7d4156402a/test_1729765565

      Attachments

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

        Activity

          People

            teheikki Tero Heikkinen
            teheikki Tero Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes