Test Report : TEST-client_registration_test-20240505093613.xml
Test Suite: client_registration_test-20240505093613
Results
| Duration | 3.397 sec |
| Tests | 1 |
| Failures | 0 |
Tests
client_registration_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.397 sec |
| Failed | None |
None
Suite stdout:
[1714901773272] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1714901773272] [INFO] FW-UPD Initialized
[1714901773272] [DBG] FW-UPD enter <function device_base.set_hub at 0x7fd9bbc40e00> (<uclient.hub.HUB object at 0x7fd9bbaca790>,)
[1714901773272] [DBG] FW-UPD exit <function device_base.set_hub at 0x7fd9bbc40e00> ret: None
[1714901773272] [DBG] HUB enter <function HUB.register_root_cb at 0x7fd9bbc42e80> ('>user/dev', <bound method user_device.on_user_dev of <uclient.fwupd.fwupd_device object at 0x7fd9bbaca690>>)
[1714901773272] [DBG] HUB exit <function HUB.register_root_cb at 0x7fd9bbc42e80> ret: None
[1714901773272] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7fd9bbe9f600> ('<48:3f:da:55:07:5c/status', '-1')
[1714901773272] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7fd9bbe9f600> ret: None
[1714901773272] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7fd9bbe9f380> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fd9bbaca790>>,)
[1714901773272] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7fd9bbe9f380> ret: None
[1714901773272] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7fd9bbe9f4c0> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fd9bbaca790>>,)
[1714901773272] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7fd9bbe9f4c0> ret: None
[1714901773272] [DBG] HUB enter <function HUB.connect at 0x7fd9bbc43740> ()
[1714901773272] [WARN] HUB Try to connect without uri-schema
[1714901773272] [DBG] MQTT enter <function mqtt_transport.connect at 0x7fd9bbe9ed40> ('x.ks.ua',)
[1714901774425] [DBG] HUB enter <function HUB.__on_connect at 0x7fd9bbc42840> ()
[1714901774425] [INFO] HUB Connected
[1714901774425] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ('>hub', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fd9bbaca790>>)
[1714901774425] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ret: None
[1714901774425] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ('>user/dev', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fd9bbaca790>>)
[1714901774425] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ret: None
[1714901774425] [DBG] HUB enter <function HUB.subscribe_hub at 0x7fd9bbc41f80> ('time', '/')
[1714901774425] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5c/time }
[1714901774425] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ('/48:3f:da:55:07:5c/time', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fd9bbaca790>>)
[1714901774425] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ret: None
[1714901774425] [DBG] HUB exit <function HUB.subscribe_hub at 0x7fd9bbc41f80> ret: None
[1714901774425] [DBG] HUB enter <function HUB.subscribe_hub at 0x7fd9bbc41f80> ('lifetime', '>')
[1714901774425] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/lifetime }
[1714901774426] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ('>48:3f:da:55:07:5c/lifetime', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fd9bbaca790>>)
[1714901774426] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ret: None
[1714901774426] [DBG] HUB exit <function HUB.subscribe_hub at 0x7fd9bbc41f80> ret: None
[1714901774426] [DBG] HUB enter <function HUB.subscribe_hub at 0x7fd9bbc41f80> ('error', '>')
[1714901774426] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/error }
[1714901774426] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ('>48:3f:da:55:07:5c/error', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fd9bbaca790>>)
[1714901774426] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ret: None
[1714901774426] [DBG] HUB exit <function HUB.subscribe_hub at 0x7fd9bbc41f80> ret: None
[1714901774426] [DBG] HUB enter <function HUB.subscribe_hub at 0x7fd9bbc41f80> ('ping', '>')
[1714901774426] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/ping }
[1714901774426] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ('>48:3f:da:55:07:5c/ping', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fd9bbaca790>>)
[1714901774426] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ret: None
[1714901774426] [DBG] HUB exit <function HUB.subscribe_hub at 0x7fd9bbc41f80> ret: None
[1714901774426] [DBG] HUB enter <function HUB.subscribe_hub at 0x7fd9bbc41f80> ('version', '>')
[1714901774426] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/version }
[1714901774426] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ('>48:3f:da:55:07:5c/version', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fd9bbaca790>>)
[1714901774426] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ret: None
[1714901774426] [DBG] HUB exit <function HUB.subscribe_hub at 0x7fd9bbc41f80> ret: None
[1714901774426] [DBG] HUB exit <function HUB.__on_connect at 0x7fd9bbc42840> ret: None
[1714901774426] [DBG] MQTT exit <function mqtt_transport.connect at 0x7fd9bbe9ed40> ret: None
[1714901774426] [DBG] HUB exit <function HUB.connect at 0x7fd9bbc43740> ret: None
[1714901774437] [DBG] HUB Step, state: 0 (next: 1714901775437)
[1714901774437] [DBG] HUB enter <function HUB.__send_reg at 0x7fd9bbc42700> ()
[1714901774437] [INFO] HUB Publish reg token: 48:3f:da:55:07:5c
[1714901774438] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fd9bbe9ee80> ('/reg', '48:3f:da:55:07:5c')
[1714901774438] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fd9bbe9ee80> ret: None
[1714901774438] [DBG] HUB exit <function HUB.__send_reg at 0x7fd9bbc42700> ret: None
[1714901774474] [DBG] HUB enter <function HUB.__on_message at 0x7fd9bbc42c00> ('/48:3f:da:55:07:5c/time', b'1714901774473')
[1714901774475] [INFO] HUB Message: {topic: /48:3f:da:55:07:5c/time, value: 1714901774473 }
[1714901774475] [DBG] HUB enter <function HUB.__time_hnd at 0x7fd9bbc420c0> ('1714901774473',)
[1714901774475] [INFO] HUB Registration finish, time: 1714901774473
[1714901774475] [DBG] FW-UPD enter <function device_base.register at 0x7fd9bbc41300> (1714901774,)
[1714901774475] [INFO] FW-UPD Device 3996365522 registration on the server @ 1714901774
[1714901774475] [DBG] HUB enter <function HUB.subscribe_hub at 0x7fd9bbc41f80> ('3996365522/#', '>')
[1714901774475] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/3996365522/# }
[1714901774475] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ('>48:3f:da:55:07:5c/3996365522/#', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fd9bbaca790>>)
[1714901774475] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fd9bbe9efc0> ret: None
[1714901774475] [DBG] HUB exit <function HUB.subscribe_hub at 0x7fd9bbc41f80> ret: None
[1714901774475] [DBG] FW-UPD exit <function device_base.register at 0x7fd9bbc41300> ret: None
[1714901774475] [DBG] HUB exit <function HUB.__time_hnd at 0x7fd9bbc420c0> ret: None
[1714901774475] [DBG] HUB exit <function HUB.__on_message at 0x7fd9bbc42c00> ret: None
[1714901775446] [DBG] HUB Step, state: 1 (next: 1714901776446)
[1714901775446] [DBG] FW-UPD enter <function device_base.info_req at 0x7fd9bbc41bc0> ()
[1714901775446] [DBG] FW-UPD exit <function device_base.info_req at 0x7fd9bbc41bc0> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1714901774}}
[1714901775446] [DBG] HUB enter <function HUB.pub_hub at 0x7fd9bbc41e40> ('info', '{"mac": "48:3f:da:55:07:5c", "version": "R240503;master;c2667ff72f2b1f6acb109be9b5c2675332675736", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714901774}}]}', '/')
[1714901775446] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5c", "version": "R240503;master;c2667ff72f2b1f6acb109be9b5c2675332675736", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714901774}}]} }
[1714901775447] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fd9bbe9ee80> ('/48:3f:da:55:07:5c/info', '{"mac": "48:3f:da:55:07:5c", "version": "R240503;master;c2667ff72f2b1f6acb109be9b5c2675332675736", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714901774}}]}')
[1714901775450] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fd9bbe9ee80> ret: None
[1714901775450] [DBG] HUB exit <function HUB.pub_hub at 0x7fd9bbc41e40> ret: None
[1714901776668] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7fd9bbe9f240> ()
[1714901776668] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7fd9bbe9f240> ret: None
Suite stderr:
2024-05-05 09:36:15,462 - TEST - INFO - OP take: 1034.25 ms
2024-05-05 09:36:15,665 - TEST - INFO - Connected with result code: 0
2024-05-05 09:36:15,667 - TEST - INFO - OP take: 204.406 ms
2024-05-05 09:36:16,668 - TEST - WARNING - Disconecting from broker