Test Report : TEST-memops_test-20240505093627.xml

Test Suite: memops_test-20240505093627

Results

Duration4.067 sec
Tests1
Failures0

Tests

memops_test

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

Suite stdout:

[1714901787557] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1714901787557] [INFO] FW-UPD  Initialized
[1714901787557]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7f62e2564900> (<uclient.hub.HUB object at 0x7f62e305ccd0>,)
[1714901787557]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7f62e2564900> ret: None
[1714901787557]  [DBG] HUB  enter <function HUB.register_root_cb at 0x7f62e2566980> ('>user/dev', <bound method user_device.on_user_dev of <uclient.fwupd.fwupd_device object at 0x7f62e23f6650>>)
[1714901787557]  [DBG] HUB  exit <function HUB.register_root_cb at 0x7f62e2566980> ret: None
[1714901787557]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7f62e27db2e0> ('<48:3f:da:55:07:5c/status', '-1')
[1714901787557]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7f62e27db2e0> ret: None
[1714901787557]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7f62e27db060> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f62e305ccd0>>,)
[1714901787557]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7f62e27db060> ret: None
[1714901787557]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7f62e27db1a0> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f62e305ccd0>>,)
[1714901787557]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7f62e27db1a0> ret: None
[1714901787557]  [DBG] HUB  enter <function HUB.connect at 0x7f62e2567240> ()
[1714901787557] [WARN] HUB  Try to connect without uri-schema
[1714901787557]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7f62e27daa20> ('x.ks.ua',)
[1714901788561]  [DBG] HUB  enter <function HUB.__on_connect at 0x7f62e2566340> ()
[1714901788561] [INFO] HUB  Connected
[1714901788561]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f62e27daca0> ('>hub', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f62e305ccd0>>)
[1714901788561]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f62e27daca0> ret: None
[1714901788561]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f62e27daca0> ('>user/dev', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f62e305ccd0>>)
[1714901788561]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f62e27daca0> ret: None
[1714901788561]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f62e2565a80> ('time', '/')
[1714901788561] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5c/time }
[1714901788561]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f62e27daca0> ('/48:3f:da:55:07:5c/time', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f62e305ccd0>>)
[1714901788561]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f62e27daca0> ret: None
[1714901788561]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f62e2565a80> ret: None
[1714901788561]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f62e2565a80> ('lifetime', '>')
[1714901788561] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/lifetime }
[1714901788561]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f62e27daca0> ('>48:3f:da:55:07:5c/lifetime', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f62e305ccd0>>)
[1714901788561]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f62e27daca0> ret: None
[1714901788561]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f62e2565a80> ret: None
[1714901788561]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f62e2565a80> ('error', '>')
[1714901788562] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/error }
[1714901788562]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f62e27daca0> ('>48:3f:da:55:07:5c/error', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f62e305ccd0>>)
[1714901788562]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f62e27daca0> ret: None
[1714901788562]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f62e2565a80> ret: None
[1714901788562]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f62e2565a80> ('ping', '>')
[1714901788562] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/ping }
[1714901788562]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f62e27daca0> ('>48:3f:da:55:07:5c/ping', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f62e305ccd0>>)
[1714901788562]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f62e27daca0> ret: None
[1714901788562]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f62e2565a80> ret: None
[1714901788562]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f62e2565a80> ('version', '>')
[1714901788562] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/version }
[1714901788562]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f62e27daca0> ('>48:3f:da:55:07:5c/version', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f62e305ccd0>>)
[1714901788562]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f62e27daca0> ret: None
[1714901788562]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f62e2565a80> ret: None
[1714901788562]  [DBG] HUB  exit <function HUB.__on_connect at 0x7f62e2566340> ret: None
[1714901788562]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7f62e27daa20> ret: None
[1714901788562]  [DBG] HUB  exit <function HUB.connect at 0x7f62e2567240> ret: None
[1714901788573]  [DBG] HUB  Step, state: 0 (next: 1714901789573)
[1714901788573]  [DBG] HUB  enter <function HUB.__send_reg at 0x7f62e2566200> ()
[1714901788573] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5c
[1714901788573]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f62e27dab60> ('/reg', '48:3f:da:55:07:5c')
[1714901788573]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f62e27dab60> ret: None
[1714901788573]  [DBG] HUB  exit <function HUB.__send_reg at 0x7f62e2566200> ret: None
[1714901788609]  [DBG] HUB  enter <function HUB.__on_message at 0x7f62e2566700> ('/48:3f:da:55:07:5c/time', b'1714901788607')
[1714901788609] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5c/time, value: 1714901788607 }
[1714901788609]  [DBG] HUB  enter <function HUB.__time_hnd at 0x7f62e2565bc0> ('1714901788607',)
[1714901788609] [INFO] HUB  Registration finish, time: 1714901788607
[1714901788609]  [DBG] FW-UPD  enter <function device_base.register at 0x7f62e2564e00> (1714901788,)
[1714901788609] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1714901788
[1714901788609]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7f62e2565a80> ('3996365522/#', '>')
[1714901788609] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/3996365522/# }
[1714901788609]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f62e27daca0> ('>48:3f:da:55:07:5c/3996365522/#', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7f62e305ccd0>>)
[1714901788609]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f62e27daca0> ret: None
[1714901788609]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7f62e2565a80> ret: None
[1714901788609]  [DBG] FW-UPD  exit <function device_base.register at 0x7f62e2564e00> ret: None
[1714901788609]  [DBG] HUB  exit <function HUB.__time_hnd at 0x7f62e2565bc0> ret: None
[1714901788609]  [DBG] HUB  exit <function HUB.__on_message at 0x7f62e2566700> ret: None
[1714901789574]  [DBG] HUB  Step, state: 1 (next: 1714901790574)
[1714901789574]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7f62e25656c0> ()
[1714901789574]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7f62e25656c0> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1714901788}}
[1714901789574]  [DBG] HUB  enter <function HUB.pub_hub at 0x7f62e2565940> ('info', '{"mac": "48:3f:da:55:07:5c", "version": "R240503;master;c2667ff72f2b1f6acb109be9b5c2675332675736", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714901788}}]}', '/')
[1714901789574] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5c", "version": "R240503;master;c2667ff72f2b1f6acb109be9b5c2675332675736", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714901788}}]} }
[1714901789574]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f62e27dab60> ('/48:3f:da:55:07:5c/info', '{"mac": "48:3f:da:55:07:5c", "version": "R240503;master;c2667ff72f2b1f6acb109be9b5c2675332675736", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714901788}}]}')
[1714901789575]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f62e27dab60> ret: None
[1714901789575]  [DBG] HUB  exit <function HUB.pub_hub at 0x7f62e2565940> ret: None
[1714901790600]  [DBG] HUB  enter <function HUB.__on_message at 0x7f62e2566700> ('>48:3f:da:55:07:5c/3996365522/read', b'"32;64"')
[1714901790600] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5c/3996365522/read, value: "32;64" }
[1714901790600] [INFO] FW-UPD  Reading memory: @32[64]
[1714901790600]  [DBG] HUB  enter <function HUB.pub at 0x7f62e2564220> ('3996365522/read', '"64;wl6RqtPj+2UoIM48xdJ7IfL+u0ZzEIlZ1kINFzKNbK5xfy3rWUMAbYdYMuw3HtPrK34RjNcnriyya11e6WGpaQ=="')
[1714901790601]  [DBG] HUB  enter <function HUB.pub_hub at 0x7f62e2565940> ('3996365522/read', '"64;wl6RqtPj+2UoIM48xdJ7IfL+u0ZzEIlZ1kINFzKNbK5xfy3rWUMAbYdYMuw3HtPrK34RjNcnriyya11e6WGpaQ=="')
[1714901790601] [INFO] HUB  Publish message: { topic: 3996365522/read, value: "64;wl6RqtPj+2UoIM48xdJ7IfL+u0ZzEIlZ1kINFzKNbK5xfy3rWUMAbYdYMuw3HtPrK34RjNcnriyya11e6WGpaQ==" }
[1714901790601]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f62e27dab60> ('<48:3f:da:55:07:5c/3996365522/read', '"64;wl6RqtPj+2UoIM48xdJ7IfL+u0ZzEIlZ1kINFzKNbK5xfy3rWUMAbYdYMuw3HtPrK34RjNcnriyya11e6WGpaQ=="')
[1714901790601]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f62e27dab60> ret: None
[1714901790601]  [DBG] HUB  exit <function HUB.pub_hub at 0x7f62e2565940> ret: None
[1714901790601]  [DBG] HUB  exit <function HUB.pub at 0x7f62e2564220> ret: True
[1714901790601]  [DBG] HUB  exit <function HUB.__on_message at 0x7f62e2566700> ret: None
[1714901791609]  [DBG] HUB  enter <function HUB.__on_message at 0x7f62e2566700> ('>48:3f:da:55:07:5c/3996365522/write', b'"32;ckUDbiv+YUvvlGKWZBsjH0NHeu8C3Ffq77bIprO1wCv1wwrhya95VEWlE++u34fUtd3d/2thzS+rwiINPFGQPg=="')
[1714901791609] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5c/3996365522/write, value: "32;ckUDbiv+YUvvlGKWZBsjH0NHeu8C3Ffq77bIprO1wCv1wwrhya95VEWlE++u34fUtd3d/2thzS+rwiINPFGQPg==" }
[1714901791610]  [DBG] HUB  enter <function HUB.pub at 0x7f62e2564220> ('3996365522/write', '"32;64"')
[1714901791610]  [DBG] HUB  enter <function HUB.pub_hub at 0x7f62e2565940> ('3996365522/write', '"32;64"')
[1714901791610] [INFO] HUB  Publish message: { topic: 3996365522/write, value: "32;64" }
[1714901791610]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f62e27dab60> ('<48:3f:da:55:07:5c/3996365522/write', '"32;64"')
[1714901791610]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f62e27dab60> ret: None
[1714901791610]  [DBG] HUB  exit <function HUB.pub_hub at 0x7f62e2565940> ret: None
[1714901791610]  [DBG] HUB  exit <function HUB.pub at 0x7f62e2564220> ret: True
[1714901791610]  [DBG] HUB  exit <function HUB.__on_message at 0x7f62e2566700> ret: None
[1714901791621]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7f62e27daf20> ()
[1714901791622]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7f62e27daf20> ret: None

Suite stderr:

2024-05-05 09:36:29,585 - TEST - INFO - OP take: 1021.922 ms
2024-05-05 09:36:29,588 - TEST - INFO - Connected with result code: 0
2024-05-05 09:36:29,596 - TEST - INFO - OP take: 10.156 ms
2024-05-05 09:36:30,597 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-05-05 09:36:30,608 - TEST - INFO - OP take: 10.161 ms
2024-05-05 09:36:31,608 - TEST - INFO - [dev] => { 'write' : '32;ckUDbiv+YUvvlGKWZBsjH0NHeu8C3' }
2024-05-05 09:36:31,620 - TEST - INFO - OP take: 10.158 ms
2024-05-05 09:36:31,623 - TEST - WARNING - Disconecting from broker
2024-05-05 09:36:31,624 - TEST - WARNING - Disconecting from broker