Test Report : TEST-version_topic_test-20231108215407.xml

  • version_topic_test

Test Suite: version_topic_test-20231108215407

Results

Duration3.362 sec
Tests1
Failures0

Tests

version_topic_test

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

Suite stdout:

[1699480447195] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1699480447195] [INFO] FW-UPD  Initialized
[1699480447196]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7f159da582c0> (<uclient.hub.HUB object at 0x7f159d8d07d0>,)
[1699480447196]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7f159da582c0> ret: None
[1699480447196]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7f159dc6ac00> ('<48:3f:da:55:07:5b/status', '-1')
[1699480447196]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7f159dc6ac00> ret: None
[1699480447196]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7f159dc6a980> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f159d8d07d0>>,)
[1699480447196]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7f159dc6a980> ret: None
[1699480447196]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7f159dc6aac0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f159d8d07d0>>,)
[1699480447196]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7f159dc6aac0> ret: None
[1699480447196]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7f159dc69da0> ('x.ks.ua', 1883)
[1699480448200] [INFO] HUB  Connected
[1699480448200]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f159d8d07d0>>)
[1699480448245]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ret: None
[1699480448245]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f159d8d07d0>>)
[1699480448288]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ret: None
[1699480448288] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1699480448288]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f159d8d07d0>>)
[1699480448332]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ret: None
[1699480448332] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1699480448333]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f159d8d07d0>>)
[1699480448376]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ret: None
[1699480448376] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1699480448376]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f159d8d07d0>>)
[1699480448420]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ret: None
[1699480448420] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1699480448420]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f159d8d07d0>>)
[1699480448464]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ret: None
[1699480448464] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1699480448465]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f159d8d07d0>>)
[1699480448508]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ret: None
[1699480448508]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7f159dc69da0> ret: None
[1699480448510]  [DBG] HUB  Step, state: 0 (next: 1699480449510)
[1699480448510] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1699480448510]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f159dc6a480> ('/reg', '48:3f:da:55:07:5b')
[1699480448553]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f159dc6a480> ret: None
[1699480448596] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1699480448554 }
[1699480448596] [INFO] HUB  Registration finish, time: 1699480448554
[1699480448596]  [DBG] FW-UPD  enter <function device_base.register at 0x7f159da587c0> (1699480448,)
[1699480448596] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1699480448
[1699480448596] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1699480448596]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f159d8d07d0>>)
[1699480448640]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f159dc6a5c0> ret: None
[1699480448640]  [DBG] FW-UPD  exit <function device_base.register at 0x7f159da587c0> ret: None
[1699480449510]  [DBG] HUB  Step, state: 1 (next: 1699480450510)
[1699480449510]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7f159da59080> ()
[1699480449510]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7f159da59080> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1699480448}}
[1699480449510] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231108;master;41227627d69a88d88bb532de6fc4a842fc1a2e9c", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1699480448}}]} }
[1699480449510]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f159dc6a480> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231108;master;41227627d69a88d88bb532de6fc4a842fc1a2e9c", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1699480448}}]}')
[1699480449510]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f159dc6a480> ret: None
[1699480450533] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/version, value: version }
[1699480450533] [INFO] HUB  Publish message: { topic: version, value: R231108;master;41227627d69a88d88bb532de6fc4a842fc1a2e9c }
[1699480450533]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f159dc6a480> ('<48:3f:da:55:07:5b/version', 'R231108;master;41227627d69a88d88bb532de6fc4a842fc1a2e9c')
[1699480450534]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f159dc6a480> ret: None
[1699480450548]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7f159dc6a840> ()
[1699480450549]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7f159dc6a840> ret: None
[1699480450550] [WARN] HUB  Disconecting from broker

Suite stderr:

2023-11-08 21:54:09,519 - TEST - INFO - OP take: 1009.085 ms
2023-11-08 21:54:09,528 - TEST - INFO - Connected with result code: 0
2023-11-08 21:54:09,532 - TEST - INFO - OP take: 10.106 ms
2023-11-08 21:54:10,532 - TEST - INFO - [hub] => { 'version' : 'version' }
2023-11-08 21:54:10,548 - TEST - INFO - OP take: 10.184 ms
2023-11-08 21:54:10,556 - TEST - WARNING - Disconecting from broker