Test Report : TEST-client_registration_test-20240430184155.xml
Test Suite: client_registration_test-20240430184155
Results
| Duration | 3.046 sec |
| Tests | 1 |
| Failures | 0 |
Tests
client_registration_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.046 sec |
| Failed | None |
None
Suite stdout:
[1714502515704] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1714502515704] [INFO] FW-UPD Initialized
[1714502515704] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f643e088c20> (<uclient.hub.HUB object at 0x7f643df16a90>,)
[1714502515704] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f643e088c20> ret: None
[1714502515704] [DBG] HUB enter <function HUB.register_root_cb at 0x7f643e08aca0> ('>user/dev', <bound method user_device.on_user_dev of <uclient.fwupd.fwupd_device object at 0x7f643df16390>>)
[1714502515704] [DBG] HUB exit <function HUB.register_root_cb at 0x7f643e08aca0> ret: None
[1714502515704] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f643e283380> ('<48:3f:da:55:07:5c/status', '-1')
[1714502515704] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f643e283380> ret: None
[1714502515704] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f643e283100> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f643df16a90>>,)
[1714502515704] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f643e283100> ret: None
[1714502515704] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f643e283240> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f643df16a90>>,)
[1714502515704] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f643e283240> ret: None
[1714502515704] [DBG] HUB enter <function HUB.connect at 0x7f643e08b560> ()
[1714502515704] [WARN] HUB Try to connect without uri-schema
[1714502515704] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f643e282ac0> ('x.ks.ua',)
[1714502516708] [DBG] HUB enter <function HUB.__on_connect at 0x7f643e08a660> ()
[1714502516708] [INFO] HUB Connected
[1714502516708] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f643e282d40> ('>hub', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f643df16a90>>)
[1714502516708] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f643e282d40> ret: None
[1714502516708] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f643e282d40> ('>user/dev', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f643df16a90>>)
[1714502516708] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f643e282d40> ret: None
[1714502516708] [DBG] HUB enter <function HUB.subscribe_hub at 0x7f643e089da0> ('time', '/')
[1714502516708] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5c/time }
[1714502516708] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f643e282d40> ('/48:3f:da:55:07:5c/time', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f643df16a90>>)
[1714502516708] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f643e282d40> ret: None
[1714502516708] [DBG] HUB exit <function HUB.subscribe_hub at 0x7f643e089da0> ret: None
[1714502516708] [DBG] HUB enter <function HUB.subscribe_hub at 0x7f643e089da0> ('lifetime', '>')
[1714502516708] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/lifetime }
[1714502516708] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f643e282d40> ('>48:3f:da:55:07:5c/lifetime', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f643df16a90>>)
[1714502516708] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f643e282d40> ret: None
[1714502516708] [DBG] HUB exit <function HUB.subscribe_hub at 0x7f643e089da0> ret: None
[1714502516708] [DBG] HUB enter <function HUB.subscribe_hub at 0x7f643e089da0> ('error', '>')
[1714502516708] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/error }
[1714502516708] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f643e282d40> ('>48:3f:da:55:07:5c/error', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f643df16a90>>)
[1714502516708] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f643e282d40> ret: None
[1714502516708] [DBG] HUB exit <function HUB.subscribe_hub at 0x7f643e089da0> ret: None
[1714502516708] [DBG] HUB enter <function HUB.subscribe_hub at 0x7f643e089da0> ('ping', '>')
[1714502516708] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/ping }
[1714502516708] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f643e282d40> ('>48:3f:da:55:07:5c/ping', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f643df16a90>>)
[1714502516708] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f643e282d40> ret: None
[1714502516708] [DBG] HUB exit <function HUB.subscribe_hub at 0x7f643e089da0> ret: None
[1714502516708] [DBG] HUB enter <function HUB.subscribe_hub at 0x7f643e089da0> ('version', '>')
[1714502516708] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/version }
[1714502516708] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f643e282d40> ('>48:3f:da:55:07:5c/version', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f643df16a90>>)
[1714502516708] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f643e282d40> ret: None
[1714502516708] [DBG] HUB exit <function HUB.subscribe_hub at 0x7f643e089da0> ret: None
[1714502516708] [DBG] HUB exit <function HUB.__on_connect at 0x7f643e08a660> ret: None
[1714502516708] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f643e282ac0> ret: None
[1714502516709] [DBG] HUB exit <function HUB.connect at 0x7f643e08b560> ret: None
[1714502516719] [DBG] HUB Step, state: 0 (next: 1714502517719)
[1714502516719] [DBG] HUB enter <function HUB.__send_reg at 0x7f643e08a520> ()
[1714502516719] [INFO] HUB Publish reg token: 48:3f:da:55:07:5c
[1714502516719] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f643e282c00> ('/reg', '48:3f:da:55:07:5c')
[1714502516720] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f643e282c00> ret: None
[1714502516720] [DBG] HUB exit <function HUB.__send_reg at 0x7f643e08a520> ret: None
[1714502516761] [DBG] HUB enter <function HUB.__on_message at 0x7f643e08aa20> ('/48:3f:da:55:07:5c/time', b'1714502516760')
[1714502516761] [INFO] HUB Message: {topic: /48:3f:da:55:07:5c/time, value: 1714502516760 }
[1714502516761] [DBG] HUB enter <function HUB.__time_hnd at 0x7f643e089ee0> ('1714502516760',)
[1714502516761] [INFO] HUB Registration finish, time: 1714502516760
[1714502516762] [DBG] FW-UPD enter <function device_base.register at 0x7f643e089120> (1714502516,)
[1714502516762] [INFO] FW-UPD Device 3996365522 registration on the server @ 1714502516
[1714502516762] [DBG] HUB enter <function HUB.subscribe_hub at 0x7f643e089da0> ('3996365522/#', '>')
[1714502516762] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/3996365522/# }
[1714502516762] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f643e282d40> ('>48:3f:da:55:07:5c/3996365522/#', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f643df16a90>>)
[1714502516762] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f643e282d40> ret: None
[1714502516762] [DBG] HUB exit <function HUB.subscribe_hub at 0x7f643e089da0> ret: None
[1714502516762] [DBG] FW-UPD exit <function device_base.register at 0x7f643e089120> ret: None
[1714502516762] [DBG] HUB exit <function HUB.__time_hnd at 0x7f643e089ee0> ret: None
[1714502516762] [DBG] HUB exit <function HUB.__on_message at 0x7f643e08aa20> ret: None
[1714502517723] [DBG] HUB Step, state: 1 (next: 1714502518723)
[1714502517723] [DBG] FW-UPD enter <function device_base.info_req at 0x7f643e0899e0> ()
[1714502517723] [DBG] FW-UPD exit <function device_base.info_req at 0x7f643e0899e0> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1714502516}}
[1714502517723] [DBG] HUB enter <function HUB.pub_hub at 0x7f643e089c60> ('info', '{"mac": "48:3f:da:55:07:5c", "version": "R240430;master;82e78ab3cb504ee2727a21589ce1ba8e1629dbc4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714502516}}]}', '/')
[1714502517724] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5c", "version": "R240430;master;82e78ab3cb504ee2727a21589ce1ba8e1629dbc4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714502516}}]} }
[1714502517724] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f643e282c00> ('/48:3f:da:55:07:5c/info', '{"mac": "48:3f:da:55:07:5c", "version": "R240430;master;82e78ab3cb504ee2727a21589ce1ba8e1629dbc4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714502516}}]}')
[1714502517724] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f643e282c00> ret: None
[1714502517724] [DBG] HUB exit <function HUB.pub_hub at 0x7f643e089c60> ret: None
[1714502518749] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f643e282fc0> ()
[1714502518749] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f643e282fc0> ret: None
Suite stderr:
2024-04-30 18:41:57,737 - TEST - INFO - OP take: 1027.709 ms
2024-04-30 18:41:57,742 - TEST - INFO - Connected with result code: 0
2024-04-30 18:41:57,748 - TEST - INFO - OP take: 10.133 ms
2024-04-30 18:41:58,749 - TEST - WARNING - Disconecting from broker