Test Report : TEST-memops_test-20231119212322.xml
Test Suite: memops_test-20231119212322
Results
| Duration | 4.42 sec |
| Tests | 1 |
| Failures | 0 |
Tests
memops_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 4.42 sec |
| Failed | None |
None
Suite stdout:
[1700429002169] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1700429002169] [INFO] FW-UPD Initialized
[1700429002169] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f7a0ddd4360> (<uclient.hub.HUB object at 0x7f7a0dc48c90>,)
[1700429002169] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f7a0ddd4360> ret: None
[1700429002169] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f7a0dfe6ca0> ('<48:3f:da:55:07:5b/status', '-1')
[1700429002169] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f7a0dfe6ca0> ret: None
[1700429002169] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f7a0dfe6a20> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f7a0dc48c90>>,)
[1700429002169] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f7a0dfe6a20> ret: None
[1700429002170] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f7a0dfe6b60> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f7a0dc48c90>>,)
[1700429002170] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f7a0dfe6b60> ret: None
[1700429002170] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f7a0dfe5e40> ('x.ks.ua', 1883)
[1700429003174] [INFO] HUB Connected
[1700429003174] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7a0dc48c90>>)
[1700429003216] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ret: None
[1700429003217] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7a0dc48c90>>)
[1700429003260] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ret: None
[1700429003261] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1700429003261] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7a0dc48c90>>)
[1700429003304] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ret: None
[1700429003304] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1700429003305] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7a0dc48c90>>)
[1700429003348] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ret: None
[1700429003348] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1700429003348] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7a0dc48c90>>)
[1700429003392] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ret: None
[1700429003392] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1700429003393] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7a0dc48c90>>)
[1700429003436] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ret: None
[1700429003436] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1700429003436] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7a0dc48c90>>)
[1700429003481] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ret: None
[1700429003481] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f7a0dfe5e40> ret: None
[1700429003482] [DBG] HUB Step, state: 0 (next: 1700429004482)
[1700429003482] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1700429003482] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f7a0dfe6520> ('/reg', '48:3f:da:55:07:5b')
[1700429003525] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f7a0dfe6520> ret: None
[1700429003568] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1700429003530 }
[1700429003568] [INFO] HUB Registration finish, time: 1700429003530
[1700429003568] [DBG] FW-UPD enter <function device_base.register at 0x7f7a0ddd4860> (1700429003,)
[1700429003568] [INFO] FW-UPD Device 3996365522 registration on the server @ 1700429003
[1700429003568] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1700429003568] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7a0dc48c90>>)
[1700429003612] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7a0dfe6660> ret: None
[1700429003612] [DBG] FW-UPD exit <function device_base.register at 0x7f7a0ddd4860> ret: None
[1700429004482] [DBG] HUB Step, state: 1 (next: 1700429005482)
[1700429004482] [DBG] FW-UPD enter <function device_base.info_req at 0x7f7a0ddd5120> ()
[1700429004482] [DBG] FW-UPD exit <function device_base.info_req at 0x7f7a0ddd5120> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1700429003}}
[1700429004482] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231119;master;c5493d6a3d66a18e791cea35edb8dfef668730bf", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1700429003}}]} }
[1700429004482] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f7a0dfe6520> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231119;master;c5493d6a3d66a18e791cea35edb8dfef668730bf", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1700429003}}]}')
[1700429004482] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f7a0dfe6520> ret: None
[1700429005577] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1700429005577] [INFO] FW-UPD Reading memory: @32[64]
[1700429005577] [INFO] HUB Publish message: { topic: 3996365522/read, value: "64;Pr0w7UQb26FR1BE4sRCqu8SHZszhj9DXelU0l6WEF5Z+nzClUvXOFH/DpEga+Stp5IMbGRD10bUgbDr2pfNpkw==" }
[1700429005577] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f7a0dfe6520> ('<48:3f:da:55:07:5b/3996365522/read', '"64;Pr0w7UQb26FR1BE4sRCqu8SHZszhj9DXelU0l6WEF5Z+nzClUvXOFH/DpEga+Stp5IMbGRD10bUgbDr2pfNpkw=="')
[1700429005577] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f7a0dfe6520> ret: None
[1700429006583] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;pbuxIJogK5b/I7AMYII/w/GeUQACYqS9e6Uw4de0ldMAjyx+oPMG4yX/ZJ5LAO9CMQtOpO5AKFK2LkVH2BFPXg==" }
[1700429006583] [INFO] HUB Publish message: { topic: 3996365522/write, value: "32;64" }
[1700429006583] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f7a0dfe6520> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1700429006583] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f7a0dfe6520> ret: None
[1700429006587] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f7a0dfe68e0> ()
[1700429006587] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f7a0dfe68e0> ret: None
[1700429006589] [WARN] HUB Disconecting from broker
Suite stderr:
2023-11-19 21:23:24,490 - TEST - INFO - OP take: 1007.925 ms
2023-11-19 21:23:24,564 - TEST - INFO - Connected with result code: 0
2023-11-19 21:23:24,575 - TEST - INFO - OP take: 81.627 ms
2023-11-19 21:23:25,576 - TEST - INFO - [dev] => { 'read' : '32;64' }
2023-11-19 21:23:25,582 - TEST - INFO - OP take: 0.006 ms
2023-11-19 21:23:26,582 - TEST - INFO - [dev] => { 'write' : '32;pbuxIJogK5b/I7AMYII/w/GeUQACY' }
2023-11-19 21:23:26,586 - TEST - INFO - OP take: 0.003 ms
2023-11-19 21:23:26,588 - TEST - WARNING - Disconecting from broker