Setting connection to tcp://rhel7x-mosquitto-stateful-01.messaging.lab.eng.brq.redhat.com:1883/testq 20170307 201725.556 Starting test 6 - connectionLost and will messages ========================================================= Trace Output Product name: Paho Synchronous MQTT C Client Library Version: 1.0.3 Build level: Tue Mar 7 15:02:00 UTC 2017 /proc/version: Linux version 4.9.13-200.fc25.x86_64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC) ) #1 SMP Mon Feb 27 16:48:42 UTC 2017 ========================================================= 20170307 201726.719 4 Client_1 -> CONNECT cleansession: 1 (0) 20170307 201726.878 4 Client_1 <- CONNACK rc: 0 20170307 201726.882 Connecting Client_2 ... 20170307 201727.879 5 Client_2 -> CONNECT cleansession: 1 (0) 20170307 201728.107 5 Client_2 <- CONNACK rc: 0 20170307 201728.115 5 Client_2 -> SUBSCRIBE msgid: 1 (0) 20170307 201728.312 5 Client_2 <- SUBACK msgid: 1 20170307 201728.318 Waiting to receive the will message 20170307 201731.000 4 Client_1 -> PINGREQ (-1) 20170307 201731.000 Error sending PINGREQ for client Client_1 on socket 4, disconnecting 20170307 201731.000 4 Client_1 -> DISCONNECT (-1) Client-1 -> Callback: connection lost 20170307 201731.000 5 Client_2 <- PUBLISH msgid: 1 qos: 1 retained: 0 payload: will message from Cl 20170307 201731.000 5 Client_2 -> PUBACK msgid: 1 (0) Client-2 -> Callback: message received on topic 'C Test 2: will topic' is 'will message from Client-1'. 20170307 201731.317 5 Client_2 -> UNSUBSCRIBE msgid: 2 (0) 20170307 201731.486 5 Client_2 <- UNSUBACK msgid: 2 20170307 201731.490 passed: test test6. 12 tests run, 0 failures. 20170307 201731.490 verdict pass