Test Report : TEST-version_topic_test-20231210170104.xml
Test Suite: version_topic_test-20231210170104
Results
| Duration | 3.349 sec |
| Tests | 1 |
| Failures | 0 |
Tests
version_topic_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.349 sec |
| Failed | None |
None
Suite stdout:
[1702227664640] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1702227664640] [INFO] FW-UPD Initialized
[1702227664640] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f5bb29402c0> (<uclient.hub.HUB object at 0x7f5bb2944cd0>,)
[1702227664640] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f5bb29402c0> ret: None
[1702227664640] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f5bb2bb6c00> ('<48:3f:da:55:07:5b/status', '-1')
[1702227664640] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f5bb2bb6c00> ret: None
[1702227664640] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f5bb2bb6980> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f5bb2944cd0>>,)
[1702227664640] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f5bb2bb6980> ret: None
[1702227664640] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f5bb2bb6ac0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f5bb2944cd0>>,)
[1702227664641] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f5bb2bb6ac0> ret: None
[1702227664641] [WARN] HUB Try to connect without uri-schema
[1702227664641] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f5bb2bb5da0> ('x.ks.ua',)
[1702227665644] [INFO] HUB Connected
[1702227665645] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5bb2944cd0>>)
[1702227665687] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ret: None
[1702227665687] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5bb2944cd0>>)
[1702227665731] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ret: None
[1702227665731] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1702227665731] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5bb2944cd0>>)
[1702227665775] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ret: None
[1702227665775] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1702227665775] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5bb2944cd0>>)
[1702227665819] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ret: None
[1702227665819] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1702227665819] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5bb2944cd0>>)
[1702227665863] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ret: None
[1702227665863] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1702227665863] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5bb2944cd0>>)
[1702227665907] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ret: None
[1702227665907] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1702227665907] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5bb2944cd0>>)
[1702227665951] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ret: None
[1702227665951] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f5bb2bb5da0> ret: None
[1702227665952] [DBG] HUB Step, state: 0 (next: 1702227666952)
[1702227665952] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1702227665952] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f5bb2bb6480> ('/reg', '48:3f:da:55:07:5b')
[1702227665995] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f5bb2bb6480> ret: None
[1702227666039] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1702227665999 }
[1702227666039] [INFO] HUB Registration finish, time: 1702227665999
[1702227666039] [DBG] FW-UPD enter <function device_base.register at 0x7f5bb29407c0> (1702227665,)
[1702227666039] [INFO] FW-UPD Device 3996365522 registration on the server @ 1702227665
[1702227666039] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1702227666039] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5bb2944cd0>>)
[1702227666083] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5bb2bb65c0> ret: None
[1702227666083] [DBG] FW-UPD exit <function device_base.register at 0x7f5bb29407c0> ret: None
[1702227666952] [DBG] HUB Step, state: 1 (next: 1702227667952)
[1702227666952] [DBG] FW-UPD enter <function device_base.info_req at 0x7f5bb2941080> ()
[1702227666952] [DBG] FW-UPD exit <function device_base.info_req at 0x7f5bb2941080> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1702227665}}
[1702227666952] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231210;master;e46d1687d9b13615140f1b18b85d3462da1a4742", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1702227665}}]} }
[1702227666952] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f5bb2bb6480> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231210;master;e46d1687d9b13615140f1b18b85d3462da1a4742", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1702227665}}]}')
[1702227666952] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f5bb2bb6480> ret: None
[1702227667972] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/version, value: version }
[1702227667972] [INFO] HUB Publish message: { topic: version, value: R231210;master;e46d1687d9b13615140f1b18b85d3462da1a4742 }
[1702227667972] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f5bb2bb6480> ('<48:3f:da:55:07:5b/version', 'R231210;master;e46d1687d9b13615140f1b18b85d3462da1a4742')
[1702227667972] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f5bb2bb6480> ret: None
[1702227667984] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f5bb2bb6840> ()
[1702227667986] [WARN] HUB Disconecting from broker
[1702227667986] [WARN] MQTT Reconnecting in 1s
[1702227667986] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f5bb2bb6840> ret: None
Suite stderr:
2023-12-10 17:01:06,958 - TEST - INFO - OP take: 1005.933 ms
2023-12-10 17:01:06,965 - TEST - INFO - Connected with result code: 0
2023-12-10 17:01:06,971 - TEST - INFO - OP take: 10.147 ms
2023-12-10 17:01:07,971 - TEST - INFO - [hub] => { 'version' : 'version' }
2023-12-10 17:01:07,984 - TEST - INFO - OP take: 10.196 ms
2023-12-10 17:01:07,987 - TEST - WARNING - Disconecting from broker
2023-12-10 17:01:07,988 - TEST - WARNING - Disconecting from broker