Test Report : TEST-client_registration_test-20240413182530.xml

  • client_registration_test

Test Suite: client_registration_test-20240413182530

Results

Duration3.662 sec
Tests1
Failures0

Tests

client_registration_test

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

Suite stdout:

[1713032730711] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1713032730712] [INFO] FW-UPD  Initialized
[1713032730712]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7fb3bd1bccc0> (<uclient.hub.HUB object at 0x7fb3bd046150>,)
[1713032730712]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7fb3bd1bccc0> ret: None
[1713032730712]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7fb3bd41b4c0> ('<48:3f:da:55:07:5b/status', '-1')
[1713032730712]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7fb3bd41b4c0> ret: None
[1713032730712]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7fb3bd41b240> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7fb3bd046150>>,)
[1713032730712]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7fb3bd41b240> ret: None
[1713032730712]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7fb3bd41b380> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7fb3bd046150>>,)
[1713032730712]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7fb3bd41b380> ret: None
[1713032730712] [WARN] HUB  Try to connect without uri-schema
[1713032730712]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7fb3bd41ac00> ('x.ks.ua',)
[1713032731869] [INFO] HUB  Connected
[1713032731869]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb3bd046150>>)
[1713032731910]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ret: None
[1713032731910]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb3bd046150>>)
[1713032731954]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ret: None
[1713032731954] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1713032731954]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb3bd046150>>)
[1713032731998]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ret: None
[1713032731998] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1713032731998]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb3bd046150>>)
[1713032732042]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ret: None
[1713032732042] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1713032732042]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb3bd046150>>)
[1713032732086]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ret: None
[1713032732086] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1713032732086]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb3bd046150>>)
[1713032732130]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ret: None
[1713032732130] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1713032732130]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb3bd046150>>)
[1713032732174]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ret: None
[1713032732174]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7fb3bd41ac00> ret: None
[1713032732175]  [DBG] HUB  Step, state: 0 (next: 1713032733175)
[1713032732175] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1713032732175]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fb3bd41ad40> ('/reg', '48:3f:da:55:07:5b')
[1713032732222]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fb3bd41ad40> ret: None
[1713032732262] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1713032732226 }
[1713032732262] [INFO] HUB  Registration finish, time: 1713032732226
[1713032732262]  [DBG] FW-UPD  enter <function device_base.register at 0x7fb3bd1bd1c0> (1713032732,)
[1713032732262] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1713032732
[1713032732262] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1713032732262]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb3bd046150>>)
[1713032732306]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb3bd41ae80> ret: None
[1713032732306]  [DBG] FW-UPD  exit <function device_base.register at 0x7fb3bd1bd1c0> ret: None
[1713032733175]  [DBG] HUB  Step, state: 1 (next: 1713032734175)
[1713032733175]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7fb3bd1bda80> ()
[1713032733175]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7fb3bd1bda80> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1713032732}}
[1713032733175] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240331;master;283e2051d299580edb55e5b0202453ee37bd3631", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1713032732}}]} }
[1713032733175]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fb3bd41ad40> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240331;master;283e2051d299580edb55e5b0202453ee37bd3631", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1713032732}}]}')
[1713032733175]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fb3bd41ad40> ret: None
[1713032734353]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7fb3bd41b100> ()
[1713032734353]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7fb3bd41b100> ret: None
[1713032734355] [WARN] HUB  Disconecting from broker

Suite stderr:

2024-04-13 18:25:33,181 - TEST - INFO - OP take: 1006.348 ms
2024-04-13 18:25:33,338 - TEST - INFO - Connected with result code: 0
2024-04-13 18:25:33,352 - TEST - INFO - OP take: 164.353 ms
2024-04-13 18:25:34,362 - TEST - WARNING - Disconecting from broker
2024-04-13 18:25:34,384 - TEST - WARNING - Disconecting from broker