Test Report : TEST-memops_test-20240430184209.xml
Test Suite: memops_test-20240430184209
Results
| Duration | 4.077 sec |
| Tests | 1 |
| Failures | 0 |
Tests
memops_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 4.077 sec |
| Failed | None |
None
Suite stdout:
[1714502529767] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1714502529767] [INFO] FW-UPD Initialized
[1714502529767] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f7601720720> (<uclient.hub.HUB object at 0x7f76020a38d0>,)
[1714502529767] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f7601720720> ret: None
[1714502529767] [DBG] HUB enter <function HUB.register_root_cb at 0x7f76017227a0> ('>user/dev', <bound method user_device.on_user_dev of <uclient.fwupd.fwupd_device object at 0x7f7601592410>>)
[1714502529767] [DBG] HUB exit <function HUB.register_root_cb at 0x7f76017227a0> ret: None
[1714502529767] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f760199b060> ('<48:3f:da:55:07:5c/status', '-1')
[1714502529767] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f760199b060> ret: None
[1714502529767] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f760199ade0> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f76020a38d0>>,)
[1714502529767] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f760199ade0> ret: None
[1714502529767] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f760199af20> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f76020a38d0>>,)
[1714502529767] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f760199af20> ret: None
[1714502529767] [DBG] HUB enter <function HUB.connect at 0x7f7601723060> ()
[1714502529767] [WARN] HUB Try to connect without uri-schema
[1714502529767] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f760199a7a0> ('x.ks.ua',)
[1714502530772] [DBG] HUB enter <function HUB.__on_connect at 0x7f7601722160> ()
[1714502530772] [INFO] HUB Connected
[1714502530772] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f760199aa20> ('>hub', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f76020a38d0>>)
[1714502530772] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f760199aa20> ret: None
[1714502530772] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f760199aa20> ('>user/dev', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f76020a38d0>>)
[1714502530772] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f760199aa20> ret: None
[1714502530772] [DBG] HUB enter <function HUB.subscribe_hub at 0x7f76017218a0> ('time', '/')
[1714502530772] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5c/time }
[1714502530772] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f760199aa20> ('/48:3f:da:55:07:5c/time', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f76020a38d0>>)
[1714502530773] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f760199aa20> ret: None
[1714502530773] [DBG] HUB exit <function HUB.subscribe_hub at 0x7f76017218a0> ret: None
[1714502530773] [DBG] HUB enter <function HUB.subscribe_hub at 0x7f76017218a0> ('lifetime', '>')
[1714502530773] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/lifetime }
[1714502530773] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f760199aa20> ('>48:3f:da:55:07:5c/lifetime', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f76020a38d0>>)
[1714502530773] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f760199aa20> ret: None
[1714502530773] [DBG] HUB exit <function HUB.subscribe_hub at 0x7f76017218a0> ret: None
[1714502530773] [DBG] HUB enter <function HUB.subscribe_hub at 0x7f76017218a0> ('error', '>')
[1714502530773] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/error }
[1714502530773] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f760199aa20> ('>48:3f:da:55:07:5c/error', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f76020a38d0>>)
[1714502530773] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f760199aa20> ret: None
[1714502530773] [DBG] HUB exit <function HUB.subscribe_hub at 0x7f76017218a0> ret: None
[1714502530773] [DBG] HUB enter <function HUB.subscribe_hub at 0x7f76017218a0> ('ping', '>')
[1714502530773] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/ping }
[1714502530773] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f760199aa20> ('>48:3f:da:55:07:5c/ping', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f76020a38d0>>)
[1714502530773] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f760199aa20> ret: None
[1714502530773] [DBG] HUB exit <function HUB.subscribe_hub at 0x7f76017218a0> ret: None
[1714502530773] [DBG] HUB enter <function HUB.subscribe_hub at 0x7f76017218a0> ('version', '>')
[1714502530773] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/version }
[1714502530773] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f760199aa20> ('>48:3f:da:55:07:5c/version', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f76020a38d0>>)
[1714502530773] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f760199aa20> ret: None
[1714502530773] [DBG] HUB exit <function HUB.subscribe_hub at 0x7f76017218a0> ret: None
[1714502530773] [DBG] HUB exit <function HUB.__on_connect at 0x7f7601722160> ret: None
[1714502530773] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f760199a7a0> ret: None
[1714502530773] [DBG] HUB exit <function HUB.connect at 0x7f7601723060> ret: None
[1714502530784] [DBG] HUB Step, state: 0 (next: 1714502531784)
[1714502530784] [DBG] HUB enter <function HUB.__send_reg at 0x7f7601722020> ()
[1714502530784] [INFO] HUB Publish reg token: 48:3f:da:55:07:5c
[1714502530784] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f760199a8e0> ('/reg', '48:3f:da:55:07:5c')
[1714502530784] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f760199a8e0> ret: None
[1714502530784] [DBG] HUB exit <function HUB.__send_reg at 0x7f7601722020> ret: None
[1714502530824] [DBG] HUB enter <function HUB.__on_message at 0x7f7601722520> ('/48:3f:da:55:07:5c/time', b'1714502530821')
[1714502530824] [INFO] HUB Message: {topic: /48:3f:da:55:07:5c/time, value: 1714502530821 }
[1714502530824] [DBG] HUB enter <function HUB.__time_hnd at 0x7f76017219e0> ('1714502530821',)
[1714502530824] [INFO] HUB Registration finish, time: 1714502530821
[1714502530824] [DBG] FW-UPD enter <function device_base.register at 0x7f7601720c20> (1714502530,)
[1714502530824] [INFO] FW-UPD Device 3996365522 registration on the server @ 1714502530
[1714502530824] [DBG] HUB enter <function HUB.subscribe_hub at 0x7f76017218a0> ('3996365522/#', '>')
[1714502530824] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/3996365522/# }
[1714502530825] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f760199aa20> ('>48:3f:da:55:07:5c/3996365522/#', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f76020a38d0>>)
[1714502530825] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f760199aa20> ret: None
[1714502530825] [DBG] HUB exit <function HUB.subscribe_hub at 0x7f76017218a0> ret: None
[1714502530825] [DBG] FW-UPD exit <function device_base.register at 0x7f7601720c20> ret: None
[1714502530825] [DBG] HUB exit <function HUB.__time_hnd at 0x7f76017219e0> ret: None
[1714502530825] [DBG] HUB exit <function HUB.__on_message at 0x7f7601722520> ret: None
[1714502531784] [DBG] HUB Step, state: 1 (next: 1714502532784)
[1714502531784] [DBG] FW-UPD enter <function device_base.info_req at 0x7f76017214e0> ()
[1714502531784] [DBG] FW-UPD exit <function device_base.info_req at 0x7f76017214e0> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1714502530}}
[1714502531784] [DBG] HUB enter <function HUB.pub_hub at 0x7f7601721760> ('info', '{"mac": "48:3f:da:55:07:5c", "version": "R240430;master;82e78ab3cb504ee2727a21589ce1ba8e1629dbc4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714502530}}]}', '/')
[1714502531784] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5c", "version": "R240430;master;82e78ab3cb504ee2727a21589ce1ba8e1629dbc4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714502530}}]} }
[1714502531785] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f760199a8e0> ('/48:3f:da:55:07:5c/info', '{"mac": "48:3f:da:55:07:5c", "version": "R240430;master;82e78ab3cb504ee2727a21589ce1ba8e1629dbc4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714502530}}]}')
[1714502531787] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f760199a8e0> ret: None
[1714502531787] [DBG] HUB exit <function HUB.pub_hub at 0x7f7601721760> ret: None
[1714502532821] [DBG] HUB enter <function HUB.__on_message at 0x7f7601722520> ('>48:3f:da:55:07:5c/3996365522/read', b'"32;64"')
[1714502532821] [INFO] HUB Message: {topic: >48:3f:da:55:07:5c/3996365522/read, value: "32;64" }
[1714502532821] [INFO] FW-UPD Reading memory: @32[64]
[1714502532822] [DBG] HUB enter <function HUB.pub at 0x7f7601720040> ('3996365522/read', '"64;AcAgoGkJ+IbDdTCRUCAaBXSrpunxDH47ok13DeVsKzEiDhIQeN3vNpynBYsSD5K4FVJOB17I9n5HzCiU9tzafw=="')
[1714502532822] [DBG] HUB enter <function HUB.pub_hub at 0x7f7601721760> ('3996365522/read', '"64;AcAgoGkJ+IbDdTCRUCAaBXSrpunxDH47ok13DeVsKzEiDhIQeN3vNpynBYsSD5K4FVJOB17I9n5HzCiU9tzafw=="')
[1714502532822] [INFO] HUB Publish message: { topic: 3996365522/read, value: "64;AcAgoGkJ+IbDdTCRUCAaBXSrpunxDH47ok13DeVsKzEiDhIQeN3vNpynBYsSD5K4FVJOB17I9n5HzCiU9tzafw==" }
[1714502532822] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f760199a8e0> ('<48:3f:da:55:07:5c/3996365522/read', '"64;AcAgoGkJ+IbDdTCRUCAaBXSrpunxDH47ok13DeVsKzEiDhIQeN3vNpynBYsSD5K4FVJOB17I9n5HzCiU9tzafw=="')
[1714502532822] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f760199a8e0> ret: None
[1714502532822] [DBG] HUB exit <function HUB.pub_hub at 0x7f7601721760> ret: None
[1714502532822] [DBG] HUB exit <function HUB.pub at 0x7f7601720040> ret: True
[1714502532822] [DBG] HUB exit <function HUB.__on_message at 0x7f7601722520> ret: None
[1714502533833] [DBG] HUB enter <function HUB.__on_message at 0x7f7601722520> ('>48:3f:da:55:07:5c/3996365522/write', b'"32;l+aGAyKWNhItQ71gZnbcV9Kkk7zwcN4NvXX5jjzuArWBt+4SLtkUvblqagRCyXRzj9X9K3eqt41kwL/Z4AwQMQ=="')
[1714502533833] [INFO] HUB Message: {topic: >48:3f:da:55:07:5c/3996365522/write, value: "32;l+aGAyKWNhItQ71gZnbcV9Kkk7zwcN4NvXX5jjzuArWBt+4SLtkUvblqagRCyXRzj9X9K3eqt41kwL/Z4AwQMQ==" }
[1714502533833] [DBG] HUB enter <function HUB.pub at 0x7f7601720040> ('3996365522/write', '"32;64"')
[1714502533833] [DBG] HUB enter <function HUB.pub_hub at 0x7f7601721760> ('3996365522/write', '"32;64"')
[1714502533833] [INFO] HUB Publish message: { topic: 3996365522/write, value: "32;64" }
[1714502533833] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f760199a8e0> ('<48:3f:da:55:07:5c/3996365522/write', '"32;64"')
[1714502533834] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f760199a8e0> ret: None
[1714502533834] [DBG] HUB exit <function HUB.pub_hub at 0x7f7601721760> ret: None
[1714502533834] [DBG] HUB exit <function HUB.pub at 0x7f7601720040> ret: True
[1714502533834] [DBG] HUB exit <function HUB.__on_message at 0x7f7601722520> ret: None
[1714502533842] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f760199aca0> ()
[1714502533842] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f760199aca0> ret: None
Suite stderr:
2024-04-30 18:42:11,806 - TEST - INFO - OP take: 1032.604 ms
2024-04-30 18:42:11,810 - TEST - INFO - Connected with result code: 0
2024-04-30 18:42:11,818 - TEST - INFO - OP take: 10.131 ms
2024-04-30 18:42:12,819 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-04-30 18:42:12,830 - TEST - INFO - OP take: 10.159 ms
2024-04-30 18:42:13,831 - TEST - INFO - [dev] => { 'write' : '32;l+aGAyKWNhItQ71gZnbcV9Kkk7zwc' }
2024-04-30 18:42:13,842 - TEST - INFO - OP take: 10.164 ms
2024-04-30 18:42:13,843 - TEST - WARNING - Disconecting from broker