Test Report : TEST-version_topic_test-20240120190452.xml
Test Suite: version_topic_test-20240120190452
Results
| Duration | 3.345 sec |
| Tests | 1 |
| Failures | 0 |
Tests
version_topic_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.345 sec |
| Failed | None |
None
Suite stdout:
[1705777492545] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1705777492545] [INFO] FW-UPD Initialized
[1705777492545] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f8c024442c0> (<uclient.hub.HUB object at 0x7f8c022dcb50>,)
[1705777492545] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f8c024442c0> ret: None
[1705777492545] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f8c026bac00> ('<48:3f:da:55:07:5b/status', '-1')
[1705777492545] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f8c026bac00> ret: None
[1705777492545] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f8c026ba980> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f8c022dcb50>>,)
[1705777492545] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f8c026ba980> ret: None
[1705777492545] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f8c026baac0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f8c022dcb50>>,)
[1705777492545] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f8c026baac0> ret: None
[1705777492545] [WARN] HUB Try to connect without uri-schema
[1705777492545] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f8c026b9da0> ('x.ks.ua',)
[1705777493548] [INFO] HUB Connected
[1705777493548] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8c022dcb50>>)
[1705777493591] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ret: None
[1705777493591] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8c022dcb50>>)
[1705777493635] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ret: None
[1705777493635] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1705777493635] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8c022dcb50>>)
[1705777493679] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ret: None
[1705777493679] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1705777493679] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8c022dcb50>>)
[1705777493723] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ret: None
[1705777493723] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1705777493723] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8c022dcb50>>)
[1705777493767] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ret: None
[1705777493767] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1705777493767] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8c022dcb50>>)
[1705777493811] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ret: None
[1705777493811] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1705777493811] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8c022dcb50>>)
[1705777493855] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ret: None
[1705777493855] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f8c026b9da0> ret: None
[1705777493856] [DBG] HUB Step, state: 0 (next: 1705777494856)
[1705777493856] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1705777493856] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f8c026ba480> ('/reg', '48:3f:da:55:07:5b')
[1705777493899] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f8c026ba480> ret: None
[1705777493943] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1705777493903 }
[1705777493943] [INFO] HUB Registration finish, time: 1705777493903
[1705777493943] [DBG] FW-UPD enter <function device_base.register at 0x7f8c024447c0> (1705777493,)
[1705777493943] [INFO] FW-UPD Device 3996365522 registration on the server @ 1705777493
[1705777493943] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1705777493943] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8c022dcb50>>)
[1705777493990] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f8c026ba5c0> ret: None
[1705777493990] [DBG] FW-UPD exit <function device_base.register at 0x7f8c024447c0> ret: None
[1705777494856] [DBG] HUB Step, state: 1 (next: 1705777495856)
[1705777494856] [DBG] FW-UPD enter <function device_base.info_req at 0x7f8c02445080> ()
[1705777494856] [DBG] FW-UPD exit <function device_base.info_req at 0x7f8c02445080> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1705777493}}
[1705777494856] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240120;master;8222f96dd73c289fcc6652c68753a172c6033809", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1705777493}}]} }
[1705777494856] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f8c026ba480> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240120;master;8222f96dd73c289fcc6652c68753a172c6033809", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1705777493}}]}')
[1705777494856] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f8c026ba480> ret: None
[1705777495878] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/version, value: version }
[1705777495878] [INFO] HUB Publish message: { topic: version, value: R240120;master;8222f96dd73c289fcc6652c68753a172c6033809 }
[1705777495878] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f8c026ba480> ('<48:3f:da:55:07:5b/version', 'R240120;master;8222f96dd73c289fcc6652c68753a172c6033809')
[1705777495879] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f8c026ba480> ret: None
[1705777495888] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f8c026ba840> ()
[1705777495889] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f8c026ba840> ret: None
Suite stderr:
2024-01-20 19:04:54,864 - TEST - INFO - OP take: 1008.427 ms
2024-01-20 19:04:54,873 - TEST - INFO - Connected with result code: 0
2024-01-20 19:04:54,877 - TEST - INFO - OP take: 10.083 ms
2024-01-20 19:04:55,877 - TEST - INFO - [hub] => { 'version' : 'version' }
2024-01-20 19:04:55,888 - TEST - INFO - OP take: 10.177 ms
2024-01-20 19:04:55,889 - TEST - WARNING - Disconecting from broker