Test Report : TEST-client_registration_test-20231210165545.xml
Test Suite: client_registration_test-20231210165545
Results
| Duration | 3.57 sec |
| Tests | 1 |
| Failures | 0 |
Tests
client_registration_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.57 sec |
| Failed | None |
None
Suite stdout:
[1702227345380] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1702227345381] [INFO] FW-UPD Initialized
[1702227345381] [DBG] FW-UPD enter <function device_base.set_hub at 0x7fb8ff608860> (<uclient.hub.HUB object at 0x7fb8ff49ebd0>,)
[1702227345381] [DBG] FW-UPD exit <function device_base.set_hub at 0x7fb8ff608860> ret: None
[1702227345381] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7fb8ff863100> ('<48:3f:da:55:07:5b/status', '-1')
[1702227345381] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7fb8ff863100> ret: None
[1702227345381] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7fb8ff862e80> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7fb8ff49ebd0>>,)
[1702227345381] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7fb8ff862e80> ret: None
[1702227345381] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7fb8ff862fc0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7fb8ff49ebd0>>,)
[1702227345381] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7fb8ff862fc0> ret: None
[1702227345381] [WARN] HUB Try to connect without uri-schema
[1702227345381] [DBG] MQTT enter <function mqtt_transport.connect at 0x7fb8ff861b20> ('x.ks.ua',)
[1702227346509] [INFO] HUB Connected
[1702227346509] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb8ff49ebd0>>)
[1702227346551] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ret: None
[1702227346551] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb8ff49ebd0>>)
[1702227346595] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ret: None
[1702227346595] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1702227346595] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb8ff49ebd0>>)
[1702227346639] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ret: None
[1702227346639] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1702227346639] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb8ff49ebd0>>)
[1702227346683] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ret: None
[1702227346683] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1702227346683] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb8ff49ebd0>>)
[1702227346727] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ret: None
[1702227346727] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1702227346727] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb8ff49ebd0>>)
[1702227346771] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ret: None
[1702227346771] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1702227346771] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb8ff49ebd0>>)
[1702227346815] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ret: None
[1702227346815] [DBG] MQTT exit <function mqtt_transport.connect at 0x7fb8ff861b20> ret: None
[1702227346816] [DBG] HUB Step, state: 0 (next: 1702227347816)
[1702227346816] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1702227346816] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fb8ff862980> ('/reg', '48:3f:da:55:07:5b')
[1702227346859] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fb8ff862980> ret: None
[1702227346903] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1702227346864 }
[1702227346903] [INFO] HUB Registration finish, time: 1702227346864
[1702227346903] [DBG] FW-UPD enter <function device_base.register at 0x7fb8ff608d60> (1702227346,)
[1702227346903] [INFO] FW-UPD Device 3996365522 registration on the server @ 1702227346
[1702227346903] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1702227346903] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb8ff49ebd0>>)
[1702227346947] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fb8ff862ac0> ret: None
[1702227346947] [DBG] FW-UPD exit <function device_base.register at 0x7fb8ff608d60> ret: None
[1702227347816] [DBG] HUB Step, state: 1 (next: 1702227348816)
[1702227347816] [DBG] FW-UPD enter <function device_base.info_req at 0x7fb8ff609620> ()
[1702227347816] [DBG] FW-UPD exit <function device_base.info_req at 0x7fb8ff609620> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1702227346}}
[1702227347816] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231210;master;e46d1687d9b13615140f1b18b85d3462da1a4742", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1702227346}}]} }
[1702227347816] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fb8ff862980> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231210;master;e46d1687d9b13615140f1b18b85d3462da1a4742", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1702227346}}]}')
[1702227347816] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fb8ff862980> ret: None
[1702227348929] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7fb8ff862d40> ()
[1702227348931] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7fb8ff862d40> ret: None
[1702227348932] [WARN] HUB Disconecting from broker
Suite stderr:
2023-12-10 16:55:47,821 - TEST - INFO - OP take: 1004.952 ms
2023-12-10 16:55:47,922 - TEST - INFO - Connected with result code: 0
2023-12-10 16:55:47,928 - TEST - INFO - OP take: 103.93 ms
2023-12-10 16:55:48,938 - TEST - WARNING - Disconecting from broker