Test Report : TEST-client_registration_test-20231112202627.xml
Test Suite: client_registration_test-20231112202627
Results
| Duration | 3.55 sec |
| Tests | 1 |
| Failures | 0 |
Tests
client_registration_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.55 sec |
| Failed | None |
None
Suite stdout:
[1699820787672] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1699820787673] [INFO] FW-UPD Initialized
[1699820787673] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f2570e9c860> (<uclient.hub.HUB object at 0x7f2570d12910>,)
[1699820787673] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f2570e9c860> ret: None
[1699820787673] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f25710a3100> ('<48:3f:da:55:07:5b/status', '-1')
[1699820787673] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f25710a3100> ret: None
[1699820787673] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f25710a2e80> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f2570d12910>>,)
[1699820787673] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f25710a2e80> ret: None
[1699820787673] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f25710a2fc0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f2570d12910>>,)
[1699820787673] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f25710a2fc0> ret: None
[1699820787673] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f25710a1b20> ('x.ks.ua', 1883)
[1699820788792] [INFO] HUB Connected
[1699820788792] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f25710a2ac0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2570d12910>>)
[1699820788836] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f25710a2ac0> ret: None
[1699820788836] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f25710a2ac0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2570d12910>>)
[1699820788880] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f25710a2ac0> ret: None
[1699820788880] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1699820788880] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f25710a2ac0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2570d12910>>)
[1699820788924] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f25710a2ac0> ret: None
[1699820788924] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1699820788924] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f25710a2ac0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2570d12910>>)
[1699820788968] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f25710a2ac0> ret: None
[1699820788968] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1699820788969] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f25710a2ac0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2570d12910>>)
[1699820789012] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f25710a2ac0> ret: None
[1699820789012] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1699820789012] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f25710a2ac0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2570d12910>>)
[1699820789056] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f25710a2ac0> ret: None
[1699820789056] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1699820789057] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f25710a2ac0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2570d12910>>)
[1699820789100] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f25710a2ac0> ret: None
[1699820789100] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f25710a1b20> ret: None
[1699820789101] [DBG] HUB Step, state: 0 (next: 1699820790101)
[1699820789101] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1699820789101] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f25710a2980> ('/reg', '48:3f:da:55:07:5b')
[1699820789144] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f25710a2980> ret: None
[1699820789188] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1699820789150 }
[1699820789188] [INFO] HUB Registration finish, time: 1699820789150
[1699820789188] [DBG] FW-UPD enter <function device_base.register at 0x7f2570e9cd60> (1699820789,)
[1699820789188] [INFO] FW-UPD Device 3996365522 registration on the server @ 1699820789
[1699820789188] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1699820789188] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f25710a2ac0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2570d12910>>)
[1699820789234] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f25710a2ac0> ret: None
[1699820789234] [DBG] FW-UPD exit <function device_base.register at 0x7f2570e9cd60> ret: None
[1699820790101] [DBG] HUB Step, state: 1 (next: 1699820791101)
[1699820790101] [DBG] FW-UPD enter <function device_base.info_req at 0x7f2570e9d620> ()
[1699820790101] [DBG] FW-UPD exit <function device_base.info_req at 0x7f2570e9d620> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1699820789}}
[1699820790101] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231112;master;ad086b669325bee6ce018858acdd31cd9dd85e70", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1699820789}}]} }
[1699820790101] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f25710a2980> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231112;master;ad086b669325bee6ce018858acdd31cd9dd85e70", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1699820789}}]}')
[1699820790101] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f25710a2980> ret: None
[1699820791220] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f25710a2d40> ()
[1699820791221] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f25710a2d40> ret: None
Suite stderr:
2023-11-12 20:26:30,110 - TEST - INFO - OP take: 1008.841 ms
2023-11-12 20:26:30,211 - TEST - INFO - Connected with result code: 0
2023-11-12 20:26:30,220 - TEST - INFO - OP take: 105.397 ms
2023-11-12 20:26:31,222 - TEST - WARNING - Disconecting from broker