Test Report : TEST-client_registration_test-20240130082756.xml

  • client_registration_test

Test Suite: client_registration_test-20240130082756

Results

Duration3.534 sec
Tests1
Failures0

Tests

client_registration_test

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

Suite stdout:

[1706603276133] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1706603276133] [INFO] FW-UPD  Initialized
[1706603276133]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7f1635284860> (<uclient.hub.HUB object at 0x7f163511af50>,)
[1706603276133]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7f1635284860> ret: None
[1706603276133]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7f16354e3100> ('<48:3f:da:55:07:5b/status', '-1')
[1706603276133]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7f16354e3100> ret: None
[1706603276133]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7f16354e2e80> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f163511af50>>,)
[1706603276133]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7f16354e2e80> ret: None
[1706603276133]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7f16354e2fc0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f163511af50>>,)
[1706603276133]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7f16354e2fc0> ret: None
[1706603276133] [WARN] HUB  Try to connect without uri-schema
[1706603276133]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7f16354e1b20> ('x.ks.ua',)
[1706603277271] [INFO] HUB  Connected
[1706603277271]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f16354e2ac0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f163511af50>>)
[1706603277315]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f16354e2ac0> ret: None
[1706603277315]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f16354e2ac0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f163511af50>>)
[1706603277359]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f16354e2ac0> ret: None
[1706603277359] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1706603277359]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f16354e2ac0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f163511af50>>)
[1706603277403]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f16354e2ac0> ret: None
[1706603277403] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1706603277403]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f16354e2ac0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f163511af50>>)
[1706603277447]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f16354e2ac0> ret: None
[1706603277447] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1706603277447]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f16354e2ac0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f163511af50>>)
[1706603277491]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f16354e2ac0> ret: None
[1706603277491] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1706603277491]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f16354e2ac0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f163511af50>>)
[1706603277535]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f16354e2ac0> ret: None
[1706603277535] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1706603277535]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f16354e2ac0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f163511af50>>)
[1706603277579]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f16354e2ac0> ret: None
[1706603277579]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7f16354e1b20> ret: None
[1706603277580]  [DBG] HUB  Step, state: 0 (next: 1706603278580)
[1706603277580] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1706603277580]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f16354e2980> ('/reg', '48:3f:da:55:07:5b')
[1706603277625]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f16354e2980> ret: None
[1706603277671] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1706603277629 }
[1706603277671] [INFO] HUB  Registration finish, time: 1706603277629
[1706603277671]  [DBG] FW-UPD  enter <function device_base.register at 0x7f1635284d60> (1706603277,)
[1706603277671] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1706603277
[1706603277671] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1706603277671]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f16354e2ac0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f163511af50>>)
[1706603277715]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f16354e2ac0> ret: None
[1706603277715]  [DBG] FW-UPD  exit <function device_base.register at 0x7f1635284d60> ret: None
[1706603278580]  [DBG] HUB  Step, state: 1 (next: 1706603279580)
[1706603278580]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7f1635285620> ()
[1706603278580]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7f1635285620> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1706603277}}
[1706603278580] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240129;master;2ef3211e388ad8de8753e73738ad72b1dbe8c3e9", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1706603277}}]} }
[1706603278580]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f16354e2980> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240129;master;2ef3211e388ad8de8753e73738ad72b1dbe8c3e9", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1706603277}}]}')
[1706603278580]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f16354e2980> ret: None
[1706603279653]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7f16354e2d40> ()
[1706603279653]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7f16354e2d40> ret: None
[1706603279654] [WARN] HUB  Disconecting from broker

Suite stderr:

2024-01-30 08:27:58,586 - TEST - INFO - OP take: 1005.216 ms
2024-01-30 08:27:58,649 - TEST - INFO - Connected with result code: 0
2024-01-30 08:27:58,652 - TEST - INFO - OP take: 57.592 ms
2024-01-30 08:27:59,660 - TEST - WARNING - Disconecting from broker