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

Windows: Tst_MqttConformance silently fails with "Could not connect to broker" in lts-6.5 and needs MQTT broker update to get fixed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.5
    • MQTT
    • None
    • Windows
    • 774e33825 (tqtc/lts-6.5)

      Latest merge log to lts-6.5:

      Shows that MQTT with Win 10 and 11 is passing but Tst_MqttConformance silently fails:

      FAIL! : Tst_MqttConformance::basic_test(V3.1.1) 'client.state() == QMqttClient::Connected' returned FALSE. (Could not connect to broker)
      FAIL! : Tst_MqttConformance::retained_message_test(4:receiveRetain) 'client.state() == QMqttClient::Connected' returned FALSE. (Could not connect to broker)
      FAIL! : Tst_MqttConformance::retained_message_test(4:clearRetain) 'client.state() == QMqttClient::Connected' returned FALSE. (Could not connect to broker)
      FAIL! : Tst_MqttConformance::will_message_test(V3.1.1) 'client.state() == QMqttClient::Connected' returned FALSE. (Could not connect to broker)
      FAIL! : Tst_MqttConformance::zero_length_clientid_test(4:cleanSession) 'client.state() == QMqttClient::Connected' returned FALSE. (Could not connect to broker.)
      FAIL! : Tst_MqttConformance::offline_message_queueing_test(V3.1.1) 'client.state() == QMqttClient::Connected' returned FALSE. (Could not connect to broker.)

      And tst_conformance fails:

      1/10 Test #1: tst_conformance ...................***Failed

      But Coin ignores it:

      Process finished with error exit status 8 but the result is ignored as instructed by Coin.

      There is a ticket where same tests have failed in 5.15 and the fix was to update MQTT broker

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

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

              Created:
              Updated:

                There are no open Gerrit changes