Test Report : TEST-client_registration_test-20240503193651.xml

  • client_registration_test

Test Suite: client_registration_test-20240503193651

Results

Duration3.108 sec
Tests1
Failures0

Tests

client_registration_test

Test case:test
Outcome:Passed
Duration:3.108 sec
FailedNone
None

Suite stdout:

[1714765011235] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1714765011235] [INFO] FW-UPD  Initialized
[1714765011235]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7f69d4d6cc20> (<uclient.hub.HUB object at 0x7f69d4bee610>,)
[1714765011235]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7f69d4d6cc20> ret: None
[1714765011235]  [DBG] HUB  enter <function HUB.register_root_cb at 0x7f69d4d6eca0> ('>user/dev', <bound method user_device.on_user_dev of <uclient.fwupd.fwupd_device object at 0x7f69d4bee510>>)
[1714765011235]  [DBG] HUB  exit <function HUB.register_root_cb at 0x7f69d4d6eca0> ret: None
[1714765011235]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7f69d4f5b380> ('<48:3f:da:55:07:5c/status', '-1')
[1714765011235]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7f69d4f5b380> ret: None
[1714765011235]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7f69d4f5b100> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f69d4bee610>>,)
[1714765011235]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7f69d4f5b100> ret: None
[1714765011235]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7f69d4f5b240> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f69d4bee610>>,)
[1714765011235]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7f69d4f5b240> ret: None
[1714765011235]  [DBG] HUB  enter <function HUB.connect at 0x7f69d4d6f560> ()
[1714765011235] [WARN] HUB  Try to connect without uri-schema
[1714765011235]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7f69d4f5aac0> ('x.ks.ua',)
[1714765012298]  [DBG] HUB  enter <function HUB.__on_connect at 0x7f69d4d6e660> ()
[1714765012298] [INFO] HUB  Connected
[1714765012298]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ('>hub', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f69d4bee610>>)
[1714765012298]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ret: None
[1714765012298]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ('>user/dev', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f69d4bee610>>)
[1714765012298]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ret: None
[1714765012298]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f69d4d6dda0> ('time', '/')
[1714765012298] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5c/time }
[1714765012298]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ('/48:3f:da:55:07:5c/time', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f69d4bee610>>)
[1714765012298]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ret: None
[1714765012298]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f69d4d6dda0> ret: None
[1714765012298]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f69d4d6dda0> ('lifetime', '>')
[1714765012298] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/lifetime }
[1714765012298]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ('>48:3f:da:55:07:5c/lifetime', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f69d4bee610>>)
[1714765012299]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ret: None
[1714765012299]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f69d4d6dda0> ret: None
[1714765012299]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f69d4d6dda0> ('error', '>')
[1714765012299] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/error }
[1714765012299]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ('>48:3f:da:55:07:5c/error', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f69d4bee610>>)
[1714765012299]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ret: None
[1714765012299]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f69d4d6dda0> ret: None
[1714765012299]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f69d4d6dda0> ('ping', '>')
[1714765012299] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/ping }
[1714765012299]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ('>48:3f:da:55:07:5c/ping', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f69d4bee610>>)
[1714765012299]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ret: None
[1714765012299]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f69d4d6dda0> ret: None
[1714765012299]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f69d4d6dda0> ('version', '>')
[1714765012299] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/version }
[1714765012299]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ('>48:3f:da:55:07:5c/version', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f69d4bee610>>)
[1714765012299]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ret: None
[1714765012299]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f69d4d6dda0> ret: None
[1714765012299]  [DBG] HUB  exit <function HUB.__on_connect at 0x7f69d4d6e660> ret: None
[1714765012299]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7f69d4f5aac0> ret: None
[1714765012299]  [DBG] HUB  exit <function HUB.connect at 0x7f69d4d6f560> ret: None
[1714765012309]  [DBG] HUB  Step, state: 0 (next: 1714765013309)
[1714765012309]  [DBG] HUB  enter <function HUB.__send_reg at 0x7f69d4d6e520> ()
[1714765012309] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5c
[1714765012310]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f69d4f5ac00> ('/reg', '48:3f:da:55:07:5c')
[1714765012310]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f69d4f5ac00> ret: None
[1714765012310]  [DBG] HUB  exit <function HUB.__send_reg at 0x7f69d4d6e520> ret: None
[1714765012347]  [DBG] HUB  enter <function HUB.__on_message at 0x7f69d4d6ea20> ('/48:3f:da:55:07:5c/time', b'1714765012346')
[1714765012347] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5c/time, value: 1714765012346 }
[1714765012347]  [DBG] HUB  enter <function HUB.__time_hnd at 0x7f69d4d6dee0> ('1714765012346',)
[1714765012347] [INFO] HUB  Registration finish, time: 1714765012346
[1714765012347]  [DBG] FW-UPD  enter <function device_base.register at 0x7f69d4d6d120> (1714765012,)
[1714765012347] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1714765012
[1714765012347]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f69d4d6dda0> ('3996365522/#', '>')
[1714765012347] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/3996365522/# }
[1714765012347]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ('>48:3f:da:55:07:5c/3996365522/#', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f69d4bee610>>)
[1714765012347]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f69d4f5ad40> ret: None
[1714765012347]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f69d4d6dda0> ret: None
[1714765012347]  [DBG] FW-UPD  exit <function device_base.register at 0x7f69d4d6d120> ret: None
[1714765012347]  [DBG] HUB  exit <function HUB.__time_hnd at 0x7f69d4d6dee0> ret: None
[1714765012347]  [DBG] HUB  exit <function HUB.__on_message at 0x7f69d4d6ea20> ret: None
[1714765013312]  [DBG] HUB  Step, state: 1 (next: 1714765014312)
[1714765013312]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7f69d4d6d9e0> ()
[1714765013312]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7f69d4d6d9e0> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1714765012}}
[1714765013312]  [DBG] HUB  enter <function HUB.pub_hub at 0x7f69d4d6dc60> ('info', '{"mac": "48:3f:da:55:07:5c", "version": "R240430;master;38274a5b8a83c5fa684f71a958848479413f7085", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714765012}}]}', '/')
[1714765013312] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5c", "version": "R240430;master;38274a5b8a83c5fa684f71a958848479413f7085", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714765012}}]} }
[1714765013312]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f69d4f5ac00> ('/48:3f:da:55:07:5c/info', '{"mac": "48:3f:da:55:07:5c", "version": "R240430;master;38274a5b8a83c5fa684f71a958848479413f7085", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714765012}}]}')
[1714765013315]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f69d4f5ac00> ret: None
[1714765013315]  [DBG] HUB  exit <function HUB.pub_hub at 0x7f69d4d6dc60> ret: None
[1714765014340]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7f69d4f5afc0> ()
[1714765014341]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7f69d4f5afc0> ret: None
[1714765014347]  [DBG] HUB  enter <function HUB.__on_disconnect at 0x7f69d4d6e7a0> ()
[1714765014347] [WARN] HUB  Disconecting from broker
[1714765014347]  [DBG] HUB  exit <function HUB.__on_disconnect at 0x7f69d4d6e7a0> ret: None

Suite stderr:

2024-05-03 19:36:53,328 - TEST - INFO - OP take: 1028.264 ms
2024-05-03 19:36:53,332 - TEST - INFO - Connected with result code: 0
2024-05-03 19:36:53,340 - TEST - INFO - OP take: 10.119 ms
2024-05-03 19:36:54,341 - TEST - WARNING - Disconecting from broker