Test Report : TEST-client_registration_test-20240202134109.xml
Test Suite: client_registration_test-20240202134109
Results
| Duration | 3.686 sec |
| Tests | 1 |
| Failures | 0 |
Tests
client_registration_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.686 sec |
| Failed | None |
None
Suite stdout:
[1706881269176] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1706881269176] [INFO] FW-UPD Initialized
[1706881269176] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f5e60e08860> (<uclient.hub.HUB object at 0x7f5e60c9ebd0>,)
[1706881269176] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f5e60e08860> ret: None
[1706881269176] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f5e61063100> ('<48:3f:da:55:07:5b/status', '-1')
[1706881269176] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f5e61063100> ret: None
[1706881269176] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f5e61062e80> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f5e60c9ebd0>>,)
[1706881269176] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f5e61062e80> ret: None
[1706881269176] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f5e61062fc0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f5e60c9ebd0>>,)
[1706881269176] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f5e61062fc0> ret: None
[1706881269176] [WARN] HUB Try to connect without uri-schema
[1706881269176] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f5e61061b20> ('x.ks.ua',)
[1706881270375] [INFO] HUB Connected
[1706881270375] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5e61062ac0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5e60c9ebd0>>)
[1706881270419] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5e61062ac0> ret: None
[1706881270419] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5e61062ac0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5e60c9ebd0>>)
[1706881270463] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5e61062ac0> ret: None
[1706881270463] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1706881270463] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5e61062ac0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5e60c9ebd0>>)
[1706881270507] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5e61062ac0> ret: None
[1706881270507] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1706881270507] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5e61062ac0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5e60c9ebd0>>)
[1706881270551] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5e61062ac0> ret: None
[1706881270551] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1706881270551] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5e61062ac0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5e60c9ebd0>>)
[1706881270595] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5e61062ac0> ret: None
[1706881270595] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1706881270595] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5e61062ac0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5e60c9ebd0>>)
[1706881270639] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5e61062ac0> ret: None
[1706881270639] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1706881270639] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5e61062ac0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5e60c9ebd0>>)
[1706881270683] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5e61062ac0> ret: None
[1706881270683] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f5e61061b20> ret: None
[1706881270684] [DBG] HUB Step, state: 0 (next: 1706881271684)
[1706881270684] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1706881270684] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f5e61062980> ('/reg', '48:3f:da:55:07:5b')
[1706881270727] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f5e61062980> ret: None
[1706881270775] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1706881270733 }
[1706881270775] [INFO] HUB Registration finish, time: 1706881270733
[1706881270775] [DBG] FW-UPD enter <function device_base.register at 0x7f5e60e08d60> (1706881270,)
[1706881270775] [INFO] FW-UPD Device 3996365522 registration on the server @ 1706881270
[1706881270775] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1706881270775] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5e61062ac0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5e60c9ebd0>>)
[1706881270819] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5e61062ac0> ret: None
[1706881270819] [DBG] FW-UPD exit <function device_base.register at 0x7f5e60e08d60> ret: None
[1706881271684] [DBG] HUB Step, state: 1 (next: 1706881272684)
[1706881271684] [DBG] FW-UPD enter <function device_base.info_req at 0x7f5e60e09620> ()
[1706881271684] [DBG] FW-UPD exit <function device_base.info_req at 0x7f5e60e09620> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1706881270}}
[1706881271684] [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": 1706881270}}]} }
[1706881271684] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f5e61062980> ('/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": 1706881270}}]}')
[1706881271684] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f5e61062980> ret: None
[1706881272843] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f5e61062d40> ()
[1706881272843] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f5e61062d40> ret: None
[1706881272845] [WARN] HUB Disconecting from broker
Suite stderr:
2024-02-02 13:41:11,694 - TEST - INFO - OP take: 1010.008 ms
2024-02-02 13:41:11,838 - TEST - INFO - Connected with result code: 0
2024-02-02 13:41:11,842 - TEST - INFO - OP take: 145.393 ms
2024-02-02 13:41:12,851 - TEST - WARNING - Disconecting from broker
2024-02-02 13:41:12,867 - TEST - WARNING - Disconecting from broker