Test Report : TEST-client_registration_test-20231126185915.xml
Test Suite: client_registration_test-20231126185915
Results
| Duration | 3.527 sec |
| Tests | 1 |
| Failures | 0 |
Tests
client_registration_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.527 sec |
| Failed | None |
None
Suite stdout:
[1701025155174] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1701025155174] [INFO] FW-UPD Initialized
[1701025155174] [DBG] FW-UPD enter <function device_base.set_hub at 0x7fbb82ff8860> (<uclient.hub.HUB object at 0x7fbb82e7e990>,)
[1701025155174] [DBG] FW-UPD exit <function device_base.set_hub at 0x7fbb82ff8860> ret: None
[1701025155174] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7fbb831eb100> ('<48:3f:da:55:07:5b/status', '-1')
[1701025155174] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7fbb831eb100> ret: None
[1701025155174] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7fbb831eae80> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7fbb82e7e990>>,)
[1701025155174] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7fbb831eae80> ret: None
[1701025155174] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7fbb831eafc0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7fbb82e7e990>>,)
[1701025155174] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7fbb831eafc0> ret: None
[1701025155174] [WARN] HUB Try to connect without uri-schema
[1701025155174] [DBG] MQTT enter <function mqtt_transport.connect at 0x7fbb831e9b20> ('x.ks.ua',)
[1701025156245] [INFO] HUB Connected
[1701025156245] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fbb831eaac0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fbb82e7e990>>)
[1701025156287] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fbb831eaac0> ret: None
[1701025156287] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fbb831eaac0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fbb82e7e990>>)
[1701025156331] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fbb831eaac0> ret: None
[1701025156331] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1701025156331] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fbb831eaac0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fbb82e7e990>>)
[1701025156375] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fbb831eaac0> ret: None
[1701025156375] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1701025156376] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fbb831eaac0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fbb82e7e990>>)
[1701025156419] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fbb831eaac0> ret: None
[1701025156419] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1701025156419] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fbb831eaac0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fbb82e7e990>>)
[1701025156463] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fbb831eaac0> ret: None
[1701025156463] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1701025156463] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fbb831eaac0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fbb82e7e990>>)
[1701025156507] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fbb831eaac0> ret: None
[1701025156507] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1701025156507] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fbb831eaac0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fbb82e7e990>>)
[1701025156551] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fbb831eaac0> ret: None
[1701025156551] [DBG] MQTT exit <function mqtt_transport.connect at 0x7fbb831e9b20> ret: None
[1701025156552] [DBG] HUB Step, state: 0 (next: 1701025157552)
[1701025156552] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1701025156552] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fbb831ea980> ('/reg', '48:3f:da:55:07:5b')
[1701025156595] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fbb831ea980> ret: None
[1701025156639] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1701025156610 }
[1701025156639] [INFO] HUB Registration finish, time: 1701025156610
[1701025156639] [DBG] FW-UPD enter <function device_base.register at 0x7fbb82ff8d60> (1701025156,)
[1701025156639] [INFO] FW-UPD Device 3996365522 registration on the server @ 1701025156
[1701025156639] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1701025156639] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fbb831eaac0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fbb82e7e990>>)
[1701025156684] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fbb831eaac0> ret: None
[1701025156684] [DBG] FW-UPD exit <function device_base.register at 0x7fbb82ff8d60> ret: None
[1701025157552] [DBG] HUB Step, state: 1 (next: 1701025158552)
[1701025157552] [DBG] FW-UPD enter <function device_base.info_req at 0x7fbb82ff9620> ()
[1701025157552] [DBG] FW-UPD exit <function device_base.info_req at 0x7fbb82ff9620> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1701025156}}
[1701025157552] [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": 1701025156}}]} }
[1701025157552] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fbb831ea980> ('/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": 1701025156}}]}')
[1701025157552] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fbb831ea980> ret: None
[1701025158692] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7fbb831ead40> ()
[1701025158693] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7fbb831ead40> ret: None
[1701025158694] [WARN] HUB Disconecting from broker
Suite stderr:
2023-11-26 18:59:17,558 - TEST - INFO - OP take: 1006.023 ms
2023-11-26 18:59:17,687 - TEST - INFO - Connected with result code: 0
2023-11-26 18:59:17,692 - TEST - INFO - OP take: 132.125 ms
2023-11-26 18:59:18,700 - TEST - WARNING - Disconecting from broker
2023-11-26 18:59:18,707 - TEST - WARNING - Disconecting from broker