Test Report : TEST-client_registration_test-20240120185934.xml
Test Suite: client_registration_test-20240120185934
Results
| Duration | 3.347 sec |
| Tests | 1 |
| Failures | 0 |
Tests
client_registration_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.347 sec |
| Failed | None |
None
Suite stdout:
[1705777174449] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1705777174449] [INFO] FW-UPD Initialized
[1705777174449] [DBG] FW-UPD enter <function device_base.set_hub at 0x7fcc85034860> (<uclient.hub.HUB object at 0x7fcc84ecaa90>,)
[1705777174449] [DBG] FW-UPD exit <function device_base.set_hub at 0x7fcc85034860> ret: None
[1705777174449] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7fcc8528f100> ('<48:3f:da:55:07:5b/status', '-1')
[1705777174449] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7fcc8528f100> ret: None
[1705777174449] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7fcc8528ee80> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7fcc84ecaa90>>,)
[1705777174449] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7fcc8528ee80> ret: None
[1705777174449] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7fcc8528efc0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7fcc84ecaa90>>,)
[1705777174449] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7fcc8528efc0> ret: None
[1705777174449] [WARN] HUB Try to connect without uri-schema
[1705777174449] [DBG] MQTT enter <function mqtt_transport.connect at 0x7fcc8528db20> ('x.ks.ua',)
[1705777175452] [INFO] HUB Connected
[1705777175453] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc8528eac0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc84ecaa90>>)
[1705777175495] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc8528eac0> ret: None
[1705777175495] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc8528eac0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc84ecaa90>>)
[1705777175539] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc8528eac0> ret: None
[1705777175539] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1705777175539] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc8528eac0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc84ecaa90>>)
[1705777175583] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc8528eac0> ret: None
[1705777175583] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1705777175583] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc8528eac0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc84ecaa90>>)
[1705777175627] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc8528eac0> ret: None
[1705777175627] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1705777175627] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc8528eac0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc84ecaa90>>)
[1705777175671] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc8528eac0> ret: None
[1705777175671] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1705777175671] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc8528eac0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc84ecaa90>>)
[1705777175715] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc8528eac0> ret: None
[1705777175715] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1705777175716] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc8528eac0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc84ecaa90>>)
[1705777175759] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc8528eac0> ret: None
[1705777175759] [DBG] MQTT exit <function mqtt_transport.connect at 0x7fcc8528db20> ret: None
[1705777175760] [DBG] HUB Step, state: 0 (next: 1705777176760)
[1705777175760] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1705777175760] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fcc8528e980> ('/reg', '48:3f:da:55:07:5b')
[1705777175803] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fcc8528e980> ret: None
[1705777175851] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1705777175807 }
[1705777175851] [INFO] HUB Registration finish, time: 1705777175807
[1705777175851] [DBG] FW-UPD enter <function device_base.register at 0x7fcc85034d60> (1705777175,)
[1705777175851] [INFO] FW-UPD Device 3996365522 registration on the server @ 1705777175
[1705777175851] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1705777175851] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcc8528eac0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcc84ecaa90>>)
[1705777175895] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcc8528eac0> ret: None
[1705777175895] [DBG] FW-UPD exit <function device_base.register at 0x7fcc85034d60> ret: None
[1705777176760] [DBG] HUB Step, state: 1 (next: 1705777177760)
[1705777176760] [DBG] FW-UPD enter <function device_base.info_req at 0x7fcc85035620> ()
[1705777176760] [DBG] FW-UPD exit <function device_base.info_req at 0x7fcc85035620> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1705777175}}
[1705777176761] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231119;master;c5493d6a3d66a18e791cea35edb8dfef668730bf", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1705777175}}]} }
[1705777176761] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fcc8528e980> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231119;master;c5493d6a3d66a18e791cea35edb8dfef668730bf", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1705777175}}]}')
[1705777176762] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fcc8528e980> ret: None
[1705777177783] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7fcc8528ed40> ()
[1705777177783] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7fcc8528ed40> ret: None
[1705777177784] [WARN] HUB Disconecting from broker
Suite stderr:
2024-01-20 18:59:36,769 - TEST - INFO - OP take: 1009.31 ms
2024-01-20 18:59:36,779 - TEST - INFO - Connected with result code: 0
2024-01-20 18:59:36,782 - TEST - INFO - OP take: 10.08 ms
2024-01-20 18:59:37,796 - TEST - WARNING - Disconecting from broker
2024-01-20 18:59:37,797 - TEST - WARNING - Disconecting from broker