Test Report : TEST-version_topic_test-20240202134626.xml
Test Suite: version_topic_test-20240202134626
Results
| Duration | 3.362 sec |
| Tests | 1 |
| Failures | 0 |
Tests
version_topic_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.362 sec |
| Failed | None |
None
Suite stdout:
[1706881586943] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1706881586943] [INFO] FW-UPD Initialized
[1706881586943] [DBG] FW-UPD enter <function device_base.set_hub at 0x7fa3518bc2c0> (<uclient.hub.HUB object at 0x7fa3518b3c50>,)
[1706881586943] [DBG] FW-UPD exit <function device_base.set_hub at 0x7fa3518bc2c0> ret: None
[1706881586943] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7fa351b32c00> ('<48:3f:da:55:07:5b/status', '-1')
[1706881586943] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7fa351b32c00> ret: None
[1706881586943] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7fa351b32980> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7fa3518b3c50>>,)
[1706881586943] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7fa351b32980> ret: None
[1706881586943] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7fa351b32ac0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7fa3518b3c50>>,)
[1706881586943] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7fa351b32ac0> ret: None
[1706881586943] [WARN] HUB Try to connect without uri-schema
[1706881586943] [DBG] MQTT enter <function mqtt_transport.connect at 0x7fa351b31da0> ('x.ks.ua',)
[1706881587946] [INFO] HUB Connected
[1706881587947] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fa351b325c0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa3518b3c50>>)
[1706881587991] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fa351b325c0> ret: None
[1706881587991] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fa351b325c0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa3518b3c50>>)
[1706881588035] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fa351b325c0> ret: None
[1706881588035] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1706881588035] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fa351b325c0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa3518b3c50>>)
[1706881588079] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fa351b325c0> ret: None
[1706881588079] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1706881588079] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fa351b325c0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa3518b3c50>>)
[1706881588123] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fa351b325c0> ret: None
[1706881588123] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1706881588123] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fa351b325c0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa3518b3c50>>)
[1706881588167] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fa351b325c0> ret: None
[1706881588167] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1706881588167] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fa351b325c0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa3518b3c50>>)
[1706881588211] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fa351b325c0> ret: None
[1706881588211] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1706881588211] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fa351b325c0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa3518b3c50>>)
[1706881588255] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fa351b325c0> ret: None
[1706881588255] [DBG] MQTT exit <function mqtt_transport.connect at 0x7fa351b31da0> ret: None
[1706881588256] [DBG] HUB Step, state: 0 (next: 1706881589256)
[1706881588256] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1706881588256] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fa351b32480> ('/reg', '48:3f:da:55:07:5b')
[1706881588299] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fa351b32480> ret: None
[1706881588343] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1706881588302 }
[1706881588343] [INFO] HUB Registration finish, time: 1706881588302
[1706881588343] [DBG] FW-UPD enter <function device_base.register at 0x7fa3518bc7c0> (1706881588,)
[1706881588343] [INFO] FW-UPD Device 3996365522 registration on the server @ 1706881588
[1706881588343] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1706881588343] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fa351b325c0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa3518b3c50>>)
[1706881588387] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fa351b325c0> ret: None
[1706881588387] [DBG] FW-UPD exit <function device_base.register at 0x7fa3518bc7c0> ret: None
[1706881589256] [DBG] HUB Step, state: 1 (next: 1706881590256)
[1706881589256] [DBG] FW-UPD enter <function device_base.info_req at 0x7fa3518bd080> ()
[1706881589256] [DBG] FW-UPD exit <function device_base.info_req at 0x7fa3518bd080> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1706881588}}
[1706881589256] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240201;master;e89029bf60793daed45c8101ee145a73cc811f6e", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1706881588}}]} }
[1706881589256] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fa351b32480> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240201;master;e89029bf60793daed45c8101ee145a73cc811f6e", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1706881588}}]}')
[1706881589256] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fa351b32480> ret: None
[1706881590287] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/version, value: version }
[1706881590287] [INFO] HUB Publish message: { topic: version, value: R240201;master;e89029bf60793daed45c8101ee145a73cc811f6e }
[1706881590287] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fa351b32480> ('<48:3f:da:55:07:5b/version', 'R240201;master;e89029bf60793daed45c8101ee145a73cc811f6e')
[1706881590288] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fa351b32480> ret: None
[1706881590298] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7fa351b32840> ()
[1706881590298] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7fa351b32840> ret: None
[1706881590298] [WARN] HUB Disconecting from broker
Suite stderr:
2024-02-02 13:46:29,262 - TEST - INFO - OP take: 1006.011 ms
2024-02-02 13:46:29,271 - TEST - INFO - Connected with result code: 0
2024-02-02 13:46:29,275 - TEST - INFO - OP take: 10.101 ms
2024-02-02 13:46:30,283 - TEST - INFO - [hub] => { 'version' : 'version' }
2024-02-02 13:46:30,297 - TEST - INFO - OP take: 10.136 ms
2024-02-02 13:46:30,298 - TEST - WARNING - Disconecting from broker
2024-02-02 13:46:30,309 - TEST - WARNING - Disconecting from broker