Test Report : TEST-memops_test-20240503193706.xml

Test Suite: memops_test-20240503193706

Results

Duration4.075 sec
Tests1
Failures0

Tests

memops_test

Test case:test
Outcome:Passed
Duration:4.075 sec
FailedNone
None

Suite stdout:

[1714765026981] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1714765026982] [INFO] FW-UPD  Initialized
[1714765026982]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7f669894c720> (<uclient.hub.HUB object at 0x7f66987c8210>,)
[1714765026982]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7f669894c720> ret: None
[1714765026982]  [DBG] HUB  enter <function HUB.register_root_cb at 0x7f669894e7a0> ('>user/dev', <bound method user_device.on_user_dev of <uclient.fwupd.fwupd_device object at 0x7f66987c82d0>>)
[1714765026982]  [DBG] HUB  exit <function HUB.register_root_cb at 0x7f669894e7a0> ret: None
[1714765026982]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7f6698b5f060> ('<48:3f:da:55:07:5c/status', '-1')
[1714765026982]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7f6698b5f060> ret: None
[1714765026982]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7f6698b5ede0> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f66987c8210>>,)
[1714765026982]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7f6698b5ede0> ret: None
[1714765026982]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7f6698b5ef20> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f66987c8210>>,)
[1714765026982]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7f6698b5ef20> ret: None
[1714765026982]  [DBG] HUB  enter <function HUB.connect at 0x7f669894f060> ()
[1714765026982] [WARN] HUB  Try to connect without uri-schema
[1714765026982]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7f6698b5e7a0> ('x.ks.ua',)
[1714765027986]  [DBG] HUB  enter <function HUB.__on_connect at 0x7f669894e160> ()
[1714765027986] [INFO] HUB  Connected
[1714765027986]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f6698b5ea20> ('>hub', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f66987c8210>>)
[1714765027986]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f6698b5ea20> ret: None
[1714765027986]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f6698b5ea20> ('>user/dev', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f66987c8210>>)
[1714765027986]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f6698b5ea20> ret: None
[1714765027986]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f669894d8a0> ('time', '/')
[1714765027986] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5c/time }
[1714765027986]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f6698b5ea20> ('/48:3f:da:55:07:5c/time', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f66987c8210>>)
[1714765027986]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f6698b5ea20> ret: None
[1714765027986]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f669894d8a0> ret: None
[1714765027986]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f669894d8a0> ('lifetime', '>')
[1714765027986] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/lifetime }
[1714765027986]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f6698b5ea20> ('>48:3f:da:55:07:5c/lifetime', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f66987c8210>>)
[1714765027986]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f6698b5ea20> ret: None
[1714765027986]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f669894d8a0> ret: None
[1714765027986]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f669894d8a0> ('error', '>')
[1714765027986] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/error }
[1714765027986]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f6698b5ea20> ('>48:3f:da:55:07:5c/error', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f66987c8210>>)
[1714765027986]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f6698b5ea20> ret: None
[1714765027986]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f669894d8a0> ret: None
[1714765027986]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f669894d8a0> ('ping', '>')
[1714765027986] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/ping }
[1714765027986]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f6698b5ea20> ('>48:3f:da:55:07:5c/ping', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f66987c8210>>)
[1714765027986]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f6698b5ea20> ret: None
[1714765027986]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f669894d8a0> ret: None
[1714765027986]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f669894d8a0> ('version', '>')
[1714765027986] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/version }
[1714765027986]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f6698b5ea20> ('>48:3f:da:55:07:5c/version', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f66987c8210>>)
[1714765027986]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f6698b5ea20> ret: None
[1714765027986]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f669894d8a0> ret: None
[1714765027986]  [DBG] HUB  exit <function HUB.__on_connect at 0x7f669894e160> ret: None
[1714765027986]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7f6698b5e7a0> ret: None
[1714765027986]  [DBG] HUB  exit <function HUB.connect at 0x7f669894f060> ret: None
[1714765027997]  [DBG] HUB  Step, state: 0 (next: 1714765028997)
[1714765027997]  [DBG] HUB  enter <function HUB.__send_reg at 0x7f669894e020> ()
[1714765027997] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5c
[1714765027997]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f6698b5e8e0> ('/reg', '48:3f:da:55:07:5c')
[1714765027997]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f6698b5e8e0> ret: None
[1714765027997]  [DBG] HUB  exit <function HUB.__send_reg at 0x7f669894e020> ret: None
[1714765028032]  [DBG] HUB  enter <function HUB.__on_message at 0x7f669894e520> ('/48:3f:da:55:07:5c/time', b'1714765028031')
[1714765028032] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5c/time, value: 1714765028031 }
[1714765028032]  [DBG] HUB  enter <function HUB.__time_hnd at 0x7f669894d9e0> ('1714765028031',)
[1714765028032] [INFO] HUB  Registration finish, time: 1714765028031
[1714765028032]  [DBG] FW-UPD  enter <function device_base.register at 0x7f669894cc20> (1714765028,)
[1714765028032] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1714765028
[1714765028032]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f669894d8a0> ('3996365522/#', '>')
[1714765028032] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/3996365522/# }
[1714765028032]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f6698b5ea20> ('>48:3f:da:55:07:5c/3996365522/#', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f66987c8210>>)
[1714765028033]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f6698b5ea20> ret: None
[1714765028033]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f669894d8a0> ret: None
[1714765028033]  [DBG] FW-UPD  exit <function device_base.register at 0x7f669894cc20> ret: None
[1714765028033]  [DBG] HUB  exit <function HUB.__time_hnd at 0x7f669894d9e0> ret: None
[1714765028033]  [DBG] HUB  exit <function HUB.__on_message at 0x7f669894e520> ret: None
[1714765029007]  [DBG] HUB  Step, state: 1 (next: 1714765030007)
[1714765029007]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7f669894d4e0> ()
[1714765029007]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7f669894d4e0> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1714765028}}
[1714765029007]  [DBG] HUB  enter <function HUB.pub_hub at 0x7f669894d760> ('info', '{"mac": "48:3f:da:55:07:5c", "version": "R240430;master;38274a5b8a83c5fa684f71a958848479413f7085", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714765028}}]}', '/')
[1714765029007] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5c", "version": "R240430;master;38274a5b8a83c5fa684f71a958848479413f7085", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714765028}}]} }
[1714765029007]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f6698b5e8e0> ('/48:3f:da:55:07:5c/info', '{"mac": "48:3f:da:55:07:5c", "version": "R240430;master;38274a5b8a83c5fa684f71a958848479413f7085", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714765028}}]}')
[1714765029008]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f6698b5e8e0> ret: None
[1714765029008]  [DBG] HUB  exit <function HUB.pub_hub at 0x7f669894d760> ret: None
[1714765030034]  [DBG] HUB  enter <function HUB.__on_message at 0x7f669894e520> ('>48:3f:da:55:07:5c/3996365522/read', b'"32;64"')
[1714765030034] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5c/3996365522/read, value: "32;64" }
[1714765030034] [INFO] FW-UPD  Reading memory: @32[64]
[1714765030034]  [DBG] HUB  enter <function HUB.pub at 0x7f669894c040> ('3996365522/read', '"64;HUwLz+8KG7WORuVo9kVRk0kcleCRuDDJVEgVgvzNMuxGepeAIrhJ1jIywHdDWPAfcD9ODgVIWCp/U+CwA7Eb0A=="')
[1714765030034]  [DBG] HUB  enter <function HUB.pub_hub at 0x7f669894d760> ('3996365522/read', '"64;HUwLz+8KG7WORuVo9kVRk0kcleCRuDDJVEgVgvzNMuxGepeAIrhJ1jIywHdDWPAfcD9ODgVIWCp/U+CwA7Eb0A=="')
[1714765030034] [INFO] HUB  Publish message: { topic: 3996365522/read, value: "64;HUwLz+8KG7WORuVo9kVRk0kcleCRuDDJVEgVgvzNMuxGepeAIrhJ1jIywHdDWPAfcD9ODgVIWCp/U+CwA7Eb0A==" }
[1714765030034]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f6698b5e8e0> ('<48:3f:da:55:07:5c/3996365522/read', '"64;HUwLz+8KG7WORuVo9kVRk0kcleCRuDDJVEgVgvzNMuxGepeAIrhJ1jIywHdDWPAfcD9ODgVIWCp/U+CwA7Eb0A=="')
[1714765030034]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f6698b5e8e0> ret: None
[1714765030034]  [DBG] HUB  exit <function HUB.pub_hub at 0x7f669894d760> ret: None
[1714765030034]  [DBG] HUB  exit <function HUB.pub at 0x7f669894c040> ret: True
[1714765030034]  [DBG] HUB  exit <function HUB.__on_message at 0x7f669894e520> ret: None
[1714765031045]  [DBG] HUB  enter <function HUB.__on_message at 0x7f669894e520> ('>48:3f:da:55:07:5c/3996365522/write', b'"32;HAvlP67z42Yl/A2+KOXFKkAcVO9AEI9ce8AYghAbtSXbKU+aV9Pwc1oHsroEjurm6eUF5zy7OomAdK7gcz9Tuw=="')
[1714765031045] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5c/3996365522/write, value: "32;HAvlP67z42Yl/A2+KOXFKkAcVO9AEI9ce8AYghAbtSXbKU+aV9Pwc1oHsroEjurm6eUF5zy7OomAdK7gcz9Tuw==" }
[1714765031045]  [DBG] HUB  enter <function HUB.pub at 0x7f669894c040> ('3996365522/write', '"32;64"')
[1714765031045]  [DBG] HUB  enter <function HUB.pub_hub at 0x7f669894d760> ('3996365522/write', '"32;64"')
[1714765031045] [INFO] HUB  Publish message: { topic: 3996365522/write, value: "32;64" }
[1714765031045]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f6698b5e8e0> ('<48:3f:da:55:07:5c/3996365522/write', '"32;64"')
[1714765031045]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f6698b5e8e0> ret: None
[1714765031045]  [DBG] HUB  exit <function HUB.pub_hub at 0x7f669894d760> ret: None
[1714765031045]  [DBG] HUB  exit <function HUB.pub at 0x7f669894c040> ret: True
[1714765031045]  [DBG] HUB  exit <function HUB.__on_message at 0x7f669894e520> ret: None
[1714765031055]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7f6698b5eca0> ()
[1714765031055]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7f6698b5eca0> ret: None

Suite stderr:

2024-05-03 19:37:09,021 - TEST - INFO - OP take: 1033.959 ms
2024-05-03 19:37:09,023 - TEST - INFO - Connected with result code: 0
2024-05-03 19:37:09,032 - TEST - INFO - OP take: 10.117 ms
2024-05-03 19:37:10,033 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-05-03 19:37:10,043 - TEST - INFO - OP take: 10.096 ms
2024-05-03 19:37:11,044 - TEST - INFO - [dev] => { 'write' : '32;HAvlP67z42Yl/A2+KOXFKkAcVO9AE' }
2024-05-03 19:37:11,054 - TEST - INFO - OP take: 10.121 ms
2024-05-03 19:37:11,055 - TEST - WARNING - Disconecting from broker