Test Report : TEST-version_topic_test-20240130083313.xml
Test Suite: version_topic_test-20240130083313
Results
| Duration | 3.365 sec |
| Tests | 1 |
| Failures | 0 |
Tests
version_topic_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.365 sec |
| Failed | None |
None
Suite stdout:
[1706603593772] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1706603593773] [INFO] FW-UPD Initialized
[1706603593773] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f60df0542c0> (<uclient.hub.HUB object at 0x7f60deec8e90>,)
[1706603593773] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f60df0542c0> ret: None
[1706603593773] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f60df2cec00> ('<48:3f:da:55:07:5b/status', '-1')
[1706603593773] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f60df2cec00> ret: None
[1706603593773] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f60df2ce980> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f60deec8e90>>,)
[1706603593773] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f60df2ce980> ret: None
[1706603593773] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f60df2ceac0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f60deec8e90>>,)
[1706603593773] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f60df2ceac0> ret: None
[1706603593773] [WARN] HUB Try to connect without uri-schema
[1706603593773] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f60df2cdda0> ('x.ks.ua',)
[1706603594778] [INFO] HUB Connected
[1706603594778] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f60deec8e90>>)
[1706603594819] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ret: None
[1706603594819] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f60deec8e90>>)
[1706603594863] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ret: None
[1706603594863] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1706603594863] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f60deec8e90>>)
[1706603594907] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ret: None
[1706603594907] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1706603594907] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f60deec8e90>>)
[1706603594951] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ret: None
[1706603594951] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1706603594951] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f60deec8e90>>)
[1706603594995] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ret: None
[1706603594995] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1706603594995] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f60deec8e90>>)
[1706603595039] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ret: None
[1706603595039] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1706603595039] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f60deec8e90>>)
[1706603595083] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ret: None
[1706603595083] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f60df2cdda0> ret: None
[1706603595084] [DBG] HUB Step, state: 0 (next: 1706603596084)
[1706603595084] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1706603595084] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f60df2ce480> ('/reg', '48:3f:da:55:07:5b')
[1706603595127] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f60df2ce480> ret: None
[1706603595171] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1706603595131 }
[1706603595171] [INFO] HUB Registration finish, time: 1706603595131
[1706603595171] [DBG] FW-UPD enter <function device_base.register at 0x7f60df0547c0> (1706603595,)
[1706603595171] [INFO] FW-UPD Device 3996365522 registration on the server @ 1706603595
[1706603595171] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1706603595171] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f60deec8e90>>)
[1706603595215] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f60df2ce5c0> ret: None
[1706603595215] [DBG] FW-UPD exit <function device_base.register at 0x7f60df0547c0> ret: None
[1706603596084] [DBG] HUB Step, state: 1 (next: 1706603597084)
[1706603596084] [DBG] FW-UPD enter <function device_base.info_req at 0x7f60df055080> ()
[1706603596084] [DBG] FW-UPD exit <function device_base.info_req at 0x7f60df055080> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1706603595}}
[1706603596084] [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": 1706603595}}]} }
[1706603596084] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f60df2ce480> ('/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": 1706603595}}]}')
[1706603596084] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f60df2ce480> ret: None
[1706603597106] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/version, value: version }
[1706603597106] [INFO] HUB Publish message: { topic: version, value: R240129;master;2ef3211e388ad8de8753e73738ad72b1dbe8c3e9 }
[1706603597106] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f60df2ce480> ('<48:3f:da:55:07:5b/version', 'R240129;master;2ef3211e388ad8de8753e73738ad72b1dbe8c3e9')
[1706603597106] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f60df2ce480> ret: None
[1706603597119] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f60df2ce840> ()
[1706603597119] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f60df2ce840> ret: None
[1706603597120] [WARN] HUB Disconecting from broker
Suite stderr:
2024-01-30 08:33:16,093 - TEST - INFO - OP take: 1008.792 ms
2024-01-30 08:33:16,098 - TEST - INFO - Connected with result code: 0
2024-01-30 08:33:16,105 - TEST - INFO - OP take: 10.101 ms
2024-01-30 08:33:17,105 - TEST - INFO - [hub] => { 'version' : 'version' }
2024-01-30 08:33:17,119 - TEST - INFO - OP take: 10.131 ms
2024-01-30 08:33:17,135 - TEST - WARNING - Disconecting from broker