Test Report : TEST-ping_topic_test-20231126190439.xml
Test Suite: ping_topic_test-20231126190439
Results
| Duration | 3.344 sec |
| Tests | 1 |
| Failures | 0 |
Tests
ping_topic_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.344 sec |
| Failed | None |
None
Suite stdout:
[1701025479702] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1701025479703] [INFO] FW-UPD Initialized
[1701025479703] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f790ca542c0> (<uclient.hub.HUB object at 0x7f790c8ccb10>,)
[1701025479703] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f790ca542c0> ret: None
[1701025479703] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f790cc5ac00> ('<48:3f:da:55:07:5b/status', '-1')
[1701025479703] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f790cc5ac00> ret: None
[1701025479703] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f790cc5a980> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f790c8ccb10>>,)
[1701025479703] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f790cc5a980> ret: None
[1701025479703] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f790cc5aac0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f790c8ccb10>>,)
[1701025479703] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f790cc5aac0> ret: None
[1701025479703] [WARN] HUB Try to connect without uri-schema
[1701025479703] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f790cc59da0> ('x.ks.ua',)
[1701025480707] [INFO] HUB Connected
[1701025480707] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f790c8ccb10>>)
[1701025480752] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ret: None
[1701025480752] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f790c8ccb10>>)
[1701025480795] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ret: None
[1701025480795] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1701025480795] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f790c8ccb10>>)
[1701025480839] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ret: None
[1701025480839] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1701025480839] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f790c8ccb10>>)
[1701025480883] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ret: None
[1701025480883] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1701025480883] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f790c8ccb10>>)
[1701025480927] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ret: None
[1701025480927] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1701025480927] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f790c8ccb10>>)
[1701025480971] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ret: None
[1701025480971] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1701025480971] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f790c8ccb10>>)
[1701025481015] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ret: None
[1701025481015] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f790cc59da0> ret: None
[1701025481016] [DBG] HUB Step, state: 0 (next: 1701025482016)
[1701025481016] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1701025481016] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f790cc5a480> ('/reg', '48:3f:da:55:07:5b')
[1701025481060] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f790cc5a480> ret: None
[1701025481103] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1701025481065 }
[1701025481103] [INFO] HUB Registration finish, time: 1701025481065
[1701025481103] [DBG] FW-UPD enter <function device_base.register at 0x7f790ca547c0> (1701025481,)
[1701025481103] [INFO] FW-UPD Device 3996365522 registration on the server @ 1701025481
[1701025481103] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1701025481103] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f790c8ccb10>>)
[1701025481147] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f790cc5a5c0> ret: None
[1701025481147] [DBG] FW-UPD exit <function device_base.register at 0x7f790ca547c0> ret: None
[1701025482016] [DBG] HUB Step, state: 1 (next: 1701025483016)
[1701025482016] [DBG] FW-UPD enter <function device_base.info_req at 0x7f790ca55080> ()
[1701025482016] [DBG] FW-UPD exit <function device_base.info_req at 0x7f790ca55080> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1701025481}}
[1701025482016] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231126;master;d3e04e489d5bbf002244999aaf54b970400edf00", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1701025481}}]} }
[1701025482016] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f790cc5a480> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231126;master;d3e04e489d5bbf002244999aaf54b970400edf00", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1701025481}}]}')
[1701025482016] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f790cc5a480> ret: None
[1701025483038] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/ping, value: ping }
[1701025483038] [INFO] HUB Ping command
[1701025483038] [INFO] HUB Publish message: { topic: ping, value: OK }
[1701025483039] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f790cc5a480> ('<48:3f:da:55:07:5b/ping', 'OK')
[1701025483039] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f790cc5a480> ret: None
[1701025483044] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f790cc5a840> ()
[1701025483045] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f790cc5a840> ret: None
[1701025483046] [WARN] HUB Disconecting from broker
Suite stderr:
2023-11-26 19:04:42,023 - TEST - INFO - OP take: 1006.78 ms
2023-11-26 19:04:42,027 - TEST - INFO - Connected with result code: 0
2023-11-26 19:04:42,034 - TEST - INFO - OP take: 10.118 ms
2023-11-26 19:04:43,036 - TEST - INFO - [hub] => { 'ping' : 'ping' }
2023-11-26 19:04:43,043 - TEST - INFO - OP take: 0.009 ms
2023-11-26 19:04:43,045 - TEST - WARNING - Disconecting from broker