Test Report : TEST-memops_test-20231112202642.xml
Test Suite: memops_test-20231112202642
Results
| Duration | 4.506 sec |
| Tests | 1 |
| Failures | 0 |
Tests
memops_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 4.506 sec |
| Failed | None |
None
Suite stdout:
[1699820802304] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1699820802304] [INFO] FW-UPD Initialized
[1699820802304] [DBG] FW-UPD enter <function device_base.set_hub at 0x7fcb90560360> (<uclient.hub.HUB object at 0x7fcb905a3d10>,)
[1699820802304] [DBG] FW-UPD exit <function device_base.set_hub at 0x7fcb90560360> ret: None
[1699820802304] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7fcb90772ca0> ('<48:3f:da:55:07:5b/status', '-1')
[1699820802304] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7fcb90772ca0> ret: None
[1699820802304] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7fcb90772a20> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7fcb905a3d10>>,)
[1699820802304] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7fcb90772a20> ret: None
[1699820802304] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7fcb90772b60> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7fcb905a3d10>>,)
[1699820802304] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7fcb90772b60> ret: None
[1699820802304] [DBG] MQTT enter <function mqtt_transport.connect at 0x7fcb90771e40> ('x.ks.ua', 1883)
[1699820803450] [INFO] HUB Connected
[1699820803450] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcb90772660> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcb905a3d10>>)
[1699820803493] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcb90772660> ret: None
[1699820803493] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcb90772660> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcb905a3d10>>)
[1699820803536] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcb90772660> ret: None
[1699820803536] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1699820803536] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcb90772660> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcb905a3d10>>)
[1699820803580] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcb90772660> ret: None
[1699820803580] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1699820803580] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcb90772660> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcb905a3d10>>)
[1699820803624] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcb90772660> ret: None
[1699820803624] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1699820803624] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcb90772660> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcb905a3d10>>)
[1699820803668] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcb90772660> ret: None
[1699820803668] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1699820803668] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcb90772660> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcb905a3d10>>)
[1699820803712] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcb90772660> ret: None
[1699820803712] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1699820803712] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcb90772660> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcb905a3d10>>)
[1699820803756] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcb90772660> ret: None
[1699820803756] [DBG] MQTT exit <function mqtt_transport.connect at 0x7fcb90771e40> ret: None
[1699820803757] [DBG] HUB Step, state: 0 (next: 1699820804757)
[1699820803757] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1699820803757] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fcb90772520> ('/reg', '48:3f:da:55:07:5b')
[1699820803804] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fcb90772520> ret: None
[1699820803844] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1699820803808 }
[1699820803844] [INFO] HUB Registration finish, time: 1699820803808
[1699820803844] [DBG] FW-UPD enter <function device_base.register at 0x7fcb90560860> (1699820803,)
[1699820803844] [INFO] FW-UPD Device 3996365522 registration on the server @ 1699820803
[1699820803844] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1699820803844] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7fcb90772660> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fcb905a3d10>>)
[1699820803888] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7fcb90772660> ret: None
[1699820803889] [DBG] FW-UPD exit <function device_base.register at 0x7fcb90560860> ret: None
[1699820804757] [DBG] HUB Step, state: 1 (next: 1699820805757)
[1699820804757] [DBG] FW-UPD enter <function device_base.info_req at 0x7fcb90561120> ()
[1699820804757] [DBG] FW-UPD exit <function device_base.info_req at 0x7fcb90561120> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1699820803}}
[1699820804757] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231112;master;ad086b669325bee6ce018858acdd31cd9dd85e70", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1699820803}}]} }
[1699820804757] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fcb90772520> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231112;master;ad086b669325bee6ce018858acdd31cd9dd85e70", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1699820803}}]}')
[1699820804757] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fcb90772520> ret: None
[1699820805780] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1699820805780] [INFO] FW-UPD Reading memory: @32[64]
[1699820805780] [INFO] HUB Publish message: { topic: 3996365522/read, value: "64;3LpYpDd+3UD8b0WbUhnIiXrrkZthlh6Y3699KiKZtnpsa1ygxgX/5g95gOgIkw6iklAD5CLIoWHlYzppCDpbyg==" }
[1699820805780] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fcb90772520> ('<48:3f:da:55:07:5b/3996365522/read', '"64;3LpYpDd+3UD8b0WbUhnIiXrrkZthlh6Y3699KiKZtnpsa1ygxgX/5g95gOgIkw6iklAD5CLIoWHlYzppCDpbyg=="')
[1699820805780] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fcb90772520> ret: None
[1699820806794] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;qsvWX3BIyk5zBgUCdU/61RNnB5sSM2+8Ro5CXTHlpwkt01uEsMvDf8fDbZfvZfgCs7puXwFRbiS08aVfhN32zg==" }
[1699820806794] [INFO] HUB Publish message: { topic: 3996365522/write, value: "32;64" }
[1699820806794] [DBG] MQTT enter <function mqtt_transport.publish at 0x7fcb90772520> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1699820806794] [DBG] MQTT exit <function mqtt_transport.publish at 0x7fcb90772520> ret: None
[1699820806806] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7fcb907728e0> ()
[1699820806806] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7fcb907728e0> ret: None
[1699820806808] [WARN] HUB Disconecting from broker
Suite stderr:
2023-11-12 20:26:44,764 - TEST - INFO - OP take: 1007.261 ms
2023-11-12 20:26:44,774 - TEST - INFO - Connected with result code: 0
2023-11-12 20:26:44,777 - TEST - INFO - OP take: 10.119 ms
2023-11-12 20:26:45,778 - TEST - INFO - [dev] => { 'read' : '32;64' }
2023-11-12 20:26:45,793 - TEST - INFO - OP take: 10.182 ms
2023-11-12 20:26:46,793 - TEST - INFO - [dev] => { 'write' : '32;qsvWX3BIyk5zBgUCdU/61RNnB5sSM' }
2023-11-12 20:26:46,806 - TEST - INFO - OP take: 10.128 ms
2023-11-12 20:26:46,808 - TEST - WARNING - Disconecting from broker