Test Report : TEST-client_registration_test-20240211154804.xml

  • client_registration_test

Test Suite: client_registration_test-20240211154804

Results

Duration3.342 sec
Tests1
Failures0

Tests

client_registration_test

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

Suite stdout:

[1707666484427] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1707666484427] [INFO] FW-UPD  Initialized
[1707666484427]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7fb1c2a54cc0> (<uclient.hub.HUB object at 0x7fb1c28bef90>,)
[1707666484427]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7fb1c2a54cc0> ret: None
[1707666484427]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7fb1c2c434c0> ('<48:3f:da:55:07:5b/status', '-1')
[1707666484427]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7fb1c2c434c0> ret: None
[1707666484427]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7fb1c2c43240> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7fb1c28bef90>>,)
[1707666484427]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7fb1c2c43240> ret: None
[1707666484427]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7fb1c2c43380> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7fb1c28bef90>>,)
[1707666484427]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7fb1c2c43380> ret: None
[1707666484427] [WARN] HUB  Try to connect without uri-schema
[1707666484427]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7fb1c2c42c00> ('x.ks.ua',)
[1707666485431] [INFO] HUB  Connected
[1707666485431]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb1c28bef90>>)
[1707666485475]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ret: None
[1707666485476]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb1c28bef90>>)
[1707666485519]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ret: None
[1707666485520] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1707666485520]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb1c28bef90>>)
[1707666485565]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ret: None
[1707666485565] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1707666485565]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb1c28bef90>>)
[1707666485607]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ret: None
[1707666485607] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1707666485607]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb1c28bef90>>)
[1707666485651]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ret: None
[1707666485651] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1707666485651]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb1c28bef90>>)
[1707666485695]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ret: None
[1707666485696] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1707666485696]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb1c28bef90>>)
[1707666485739]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ret: None
[1707666485739]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7fb1c2c42c00> ret: None
[1707666485740]  [DBG] HUB  Step, state: 0 (next: 1707666486740)
[1707666485740] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1707666485740]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fb1c2c42d40> ('/reg', '48:3f:da:55:07:5b')
[1707666485784]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fb1c2c42d40> ret: None
[1707666485827] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1707666485787 }
[1707666485827] [INFO] HUB  Registration finish, time: 1707666485787
[1707666485827]  [DBG] FW-UPD  enter <function device_base.register at 0x7fb1c2a551c0> (1707666485,)
[1707666485827] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1707666485
[1707666485827] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1707666485827]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb1c28bef90>>)
[1707666485871]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb1c2c42e80> ret: None
[1707666485871]  [DBG] FW-UPD  exit <function device_base.register at 0x7fb1c2a551c0> ret: None
[1707666486740]  [DBG] HUB  Step, state: 1 (next: 1707666487740)
[1707666486740]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7fb1c2a55a80> ()
[1707666486740]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7fb1c2a55a80> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1707666485}}
[1707666486740] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240211;master;c7a377ab91e966dd8ef50ec839bbd0cd5f178bbe", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1707666485}}]} }
[1707666486740]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fb1c2c42d40> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240211;master;c7a377ab91e966dd8ef50ec839bbd0cd5f178bbe", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1707666485}}]}')
[1707666486740]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fb1c2c42d40> ret: None
[1707666487759]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7fb1c2c43100> ()
[1707666487761]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7fb1c2c43100> ret: None
[1707666487761] [WARN] HUB  Disconecting from broker

Suite stderr:

2024-02-11 15:48:06,746 - TEST - INFO - OP take: 1005.509 ms
2024-02-11 15:48:06,753 - TEST - INFO - Connected with result code: 0
2024-02-11 15:48:06,759 - TEST - INFO - OP take: 10.136 ms
2024-02-11 15:48:07,768 - TEST - WARNING - Disconecting from broker