Test Report : TEST-client_registration_test-20231102152126.xml
Test Suite: client_registration_test-20231102152126
Results
| Duration | 3.586 sec |
| Tests | 1 |
| Failures | 0 |
Tests
client_registration_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.586 sec |
| Failed | None |
None
Suite stdout:
[1698938486529] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1698938486529] [INFO] FW-UPD Initialized
[1698938486529] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f412bfac680> (<uclient.hub.HUB object at 0x7f412be4a9d0>,)
[1698938486529] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f412bfac680> ret: None
[1698938486529] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f412c222de0> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f412be4a9d0>>,)
[1698938486529] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f412c222de0> ret: None
[1698938486529] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f412c222f20> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f412be4a9d0>>,)
[1698938486529] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f412c222f20> ret: None
[1698938486529] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f412c221b20> ('x.ks.ua', 1883)
[1698938487628] [INFO] HUB Connected
[1698938487628] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f412c222a20> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f412be4a9d0>>)
[1698938487672] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f412c222a20> ret: None
[1698938487673] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f412c222a20> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f412be4a9d0>>)
[1698938487716] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f412c222a20> ret: None
[1698938487717] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1698938487717] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f412c222a20> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f412be4a9d0>>)
[1698938487760] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f412c222a20> ret: None
[1698938487760] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1698938487760] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f412c222a20> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f412be4a9d0>>)
[1698938487804] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f412c222a20> ret: None
[1698938487804] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1698938487804] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f412c222a20> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f412be4a9d0>>)
[1698938487848] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f412c222a20> ret: None
[1698938487848] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1698938487848] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f412c222a20> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f412be4a9d0>>)
[1698938487892] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f412c222a20> ret: None
[1698938487892] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1698938487892] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f412c222a20> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f412be4a9d0>>)
[1698938487936] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f412c222a20> ret: None
[1698938487936] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f412c221b20> ret: None
[1698938487937] [DBG] HUB Step, state: 0 (next: 1698938488937)
[1698938487937] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1698938487937] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f412c2228e0> ('/reg', '48:3f:da:55:07:5b')
[1698938487981] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f412c2228e0> ret: None
[1698938488024] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1698938487988 }
[1698938488024] [INFO] HUB Registration finish, time: 1698938487988
[1698938488024] [DBG] FW-UPD enter <function device_base.register at 0x7f412bfacb80> (1698938487,)
[1698938488024] [INFO] FW-UPD Device 3996365522 registration on the server @ 1698938487
[1698938488024] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1698938488024] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f412c222a20> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f412be4a9d0>>)
[1698938488068] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f412c222a20> ret: None
[1698938488068] [DBG] FW-UPD exit <function device_base.register at 0x7f412bfacb80> ret: None
[1698938488937] [DBG] HUB Step, state: 1 (next: 1698938489937)
[1698938488937] [DBG] FW-UPD enter <function device_base.info_req at 0x7f412bfad440> ()
[1698938488937] [DBG] FW-UPD exit <function device_base.info_req at 0x7f412bfad440> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1698938487}}
[1698938488937] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231102;master;e9b306c7e765ddf633df5089542fbb0d0e965da4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1698938487}}]} }
[1698938488937] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f412c2228e0> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231102;master;e9b306c7e765ddf633df5089542fbb0d0e965da4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1698938487}}]}')
[1698938488937] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f412c2228e0> ret: None
[1698938490100] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f412c222ca0> ()
[1698938490100] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f412c222ca0> ret: None
[1698938490102] [WARN] HUB Disconecting from broker
Suite stderr:
2023-11-02 15:21:28,947 - TEST - INFO - OP take: 1009.841 ms
2023-11-02 15:21:29,080 - TEST - INFO - Connected with result code: 0
2023-11-02 15:21:29,099 - TEST - INFO - OP take: 148.045 ms
2023-11-02 15:21:30,108 - TEST - WARNING - Disconecting from broker