Test Report : TEST-version_topic_test-20231102152643.xml
Test Suite: version_topic_test-20231102152643
Results
| Duration | 3.364 sec |
| Tests | 1 |
| Failures | 0 |
Tests
version_topic_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.364 sec |
| Failed | None |
None
Suite stdout:
[1698938803881] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1698938803882] [INFO] FW-UPD Initialized
[1698938803882] [DBG] FW-UPD enter <function device_base.set_hub at 0x7fcc511240e0> (<uclient.hub.HUB object at 0x7fcc50f9c950>,)
[1698938803882] [DBG] FW-UPD exit <function device_base.set_hub at 0x7fcc511240e0> ret: None
[1698938803882] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7fcc513a28e0> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7fcc50f9c950>>,)
[1698938803882] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7fcc513a28e0> ret: None
[1698938803882] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7fcc513a2a20> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7fcc50f9c950>>,)
[1698938803882] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7fcc513a2a20> ret: None
[1698938803882] [DBG] MQTT enter <function mqtt_transport.connect at 0x7fcc513a1da0> ('x.ks.ua', 1883)
[1698938804894] [INFO] HUB Connected
[1698938804894] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc513a2520> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc50f9c950>>)
[1698938804936] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc513a2520> ret: None
[1698938804936] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc513a2520> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc50f9c950>>)
[1698938804981] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc513a2520> ret: None
[1698938804981] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1698938804981] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc513a2520> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc50f9c950>>)
[1698938805024] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc513a2520> ret: None
[1698938805025] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1698938805025] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc513a2520> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc50f9c950>>)
[1698938805068] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc513a2520> ret: None
[1698938805068] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1698938805068] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc513a2520> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc50f9c950>>)
[1698938805112] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc513a2520> ret: None
[1698938805112] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1698938805112] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc513a2520> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc50f9c950>>)
[1698938805156] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc513a2520> ret: None
[1698938805156] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1698938805156] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc513a2520> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc50f9c950>>)
[1698938805200] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc513a2520> ret: None
[1698938805200] [DBG] MQTT exit <function mqtt_transport.connect at 0x7fcc513a1da0> ret: None
[1698938805201] [DBG] HUB Step, state: 0 (next: 1698938806201)
[1698938805201] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1698938805201] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fcc513a23e0> ('/reg', '48:3f:da:55:07:5b')
[1698938805244] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fcc513a23e0> ret: None
[1698938805288] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1698938805248 }
[1698938805288] [INFO] HUB Registration finish, time: 1698938805248
[1698938805288] [DBG] FW-UPD enter <function device_base.register at 0x7fcc511245e0> (1698938805,)
[1698938805288] [INFO] FW-UPD Device 3996365522 registration on the server @ 1698938805
[1698938805288] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1698938805288] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc513a2520> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc50f9c950>>)
[1698938805332] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc513a2520> ret: None
[1698938805332] [DBG] FW-UPD exit <function device_base.register at 0x7fcc511245e0> ret: None
[1698938806201] [DBG] HUB Step, state: 1 (next: 1698938807201)
[1698938806201] [DBG] FW-UPD enter <function device_base.info_req at 0x7fcc51124ea0> ()
[1698938806201] [DBG] FW-UPD exit <function device_base.info_req at 0x7fcc51124ea0> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1698938805}}
[1698938806201] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231102;master;f37bdeed0cc654c9dd8bdd7b30ba0d2ebff97aba", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1698938805}}]} }
[1698938806201] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fcc513a23e0> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231102;master;f37bdeed0cc654c9dd8bdd7b30ba0d2ebff97aba", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1698938805}}]}')
[1698938806201] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fcc513a23e0> ret: None
[1698938807221] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/version, value: version }
[1698938807221] [INFO] HUB Publish message: { topic: version, value: R231102;master;f37bdeed0cc654c9dd8bdd7b30ba0d2ebff97aba }
[1698938807221] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fcc513a23e0> ('<48:3f:da:55:07:5b/version', 'R231102;master;f37bdeed0cc654c9dd8bdd7b30ba0d2ebff97aba')
[1698938807221] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fcc513a23e0> ret: None
[1698938807236] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7fcc513a27a0> ()
[1698938807236] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7fcc513a27a0> ret: None
[1698938807237] [WARN] HUB Disconecting from broker
Suite stderr:
2023-11-02 15:26:46,207 - TEST - INFO - OP take: 1006.074 ms
2023-11-02 15:26:46,215 - TEST - INFO - Connected with result code: 0
2023-11-02 15:26:46,219 - TEST - INFO - OP take: 10.118 ms
2023-11-02 15:26:47,220 - TEST - INFO - [hub] => { 'version' : 'version' }
2023-11-02 15:26:47,235 - TEST - INFO - OP take: 10.158 ms
2023-11-02 15:26:47,244 - TEST - WARNING - Disconecting from broker