Test Report : TEST-version_topic_test-20231118124045.xml
Test Suite: version_topic_test-20231118124045
Results
| Duration | 3.363 sec |
| Tests | 1 |
| Failures | 0 |
Tests
version_topic_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.363 sec |
| Failed | None |
None
Suite stdout:
[1700311245746] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1700311245746] [INFO] FW-UPD Initialized
[1700311245747] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f04a84302c0> (<uclient.hub.HUB object at 0x7f04a82a8a50>,)
[1700311245747] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f04a84302c0> ret: None
[1700311245747] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f04a8646c00> ('<48:3f:da:55:07:5b/status', '-1')
[1700311245747] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f04a8646c00> ret: None
[1700311245747] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f04a8646980> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f04a82a8a50>>,)
[1700311245747] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f04a8646980> ret: None
[1700311245747] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f04a8646ac0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f04a82a8a50>>,)
[1700311245747] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f04a8646ac0> ret: None
[1700311245747] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f04a8645da0> ('x.ks.ua', 1883)
[1700311246751] [INFO] HUB Connected
[1700311246751] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f04a86465c0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04a82a8a50>>)
[1700311246792] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f04a86465c0> ret: None
[1700311246793] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f04a86465c0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04a82a8a50>>)
[1700311246836] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f04a86465c0> ret: None
[1700311246837] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1700311246837] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f04a86465c0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04a82a8a50>>)
[1700311246880] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f04a86465c0> ret: None
[1700311246880] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1700311246880] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f04a86465c0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04a82a8a50>>)
[1700311246924] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f04a86465c0> ret: None
[1700311246924] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1700311246924] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f04a86465c0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04a82a8a50>>)
[1700311246968] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f04a86465c0> ret: None
[1700311246968] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1700311246968] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f04a86465c0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04a82a8a50>>)
[1700311247012] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f04a86465c0> ret: None
[1700311247012] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1700311247012] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f04a86465c0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04a82a8a50>>)
[1700311247056] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f04a86465c0> ret: None
[1700311247056] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f04a8645da0> ret: None
[1700311247058] [DBG] HUB Step, state: 0 (next: 1700311248058)
[1700311247058] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1700311247058] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f04a8646480> ('/reg', '48:3f:da:55:07:5b')
[1700311247102] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f04a8646480> ret: None
[1700311247144] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1700311247102 }
[1700311247144] [INFO] HUB Registration finish, time: 1700311247102
[1700311247144] [DBG] FW-UPD enter <function device_base.register at 0x7f04a84307c0> (1700311247,)
[1700311247144] [INFO] FW-UPD Device 3996365522 registration on the server @ 1700311247
[1700311247144] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1700311247144] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f04a86465c0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04a82a8a50>>)
[1700311247189] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f04a86465c0> ret: None
[1700311247189] [DBG] FW-UPD exit <function device_base.register at 0x7f04a84307c0> ret: None
[1700311248058] [DBG] HUB Step, state: 1 (next: 1700311249058)
[1700311248058] [DBG] FW-UPD enter <function device_base.info_req at 0x7f04a8431080> ()
[1700311248058] [DBG] FW-UPD exit <function device_base.info_req at 0x7f04a8431080> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1700311247}}
[1700311248058] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231118;master;08d7b27b385d4025b813ff924b091926c599eabf", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1700311247}}]} }
[1700311248058] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f04a8646480> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231118;master;08d7b27b385d4025b813ff924b091926c599eabf", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1700311247}}]}')
[1700311248058] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f04a8646480> ret: None
[1700311249082] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/version, value: version }
[1700311249082] [INFO] HUB Publish message: { topic: version, value: R231118;master;08d7b27b385d4025b813ff924b091926c599eabf }
[1700311249082] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f04a8646480> ('<48:3f:da:55:07:5b/version', 'R231118;master;08d7b27b385d4025b813ff924b091926c599eabf')
[1700311249082] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f04a8646480> ret: None
[1700311249095] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f04a8646840> ()
[1700311249095] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f04a8646840> ret: None
[1700311249096] [WARN] HUB Disconecting from broker
Suite stderr:
2023-11-18 12:40:48,067 - TEST - INFO - OP take: 1009.377 ms
2023-11-18 12:40:48,077 - TEST - INFO - Connected with result code: 0
2023-11-18 12:40:48,080 - TEST - INFO - OP take: 10.119 ms
2023-11-18 12:40:49,081 - TEST - INFO - [hub] => { 'version' : 'version' }
2023-11-18 12:40:49,095 - TEST - INFO - OP take: 10.162 ms
2023-11-18 12:40:49,102 - TEST - WARNING - Disconecting from broker