Test Report : TEST-memops_test-20240427173551.xml

Test Suite: memops_test-20240427173551

Results

Duration4.572 sec
Tests1
Failures0

Tests

memops_test

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

Suite stdout:

[1714239351034] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1714239351035] [INFO] FW-UPD  Initialized
[1714239351035]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7f435d3d0680> (<uclient.hub.HUB object at 0x7f435d24c7d0>,)
[1714239351035]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7f435d3d0680> ret: None
[1714239351035]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7f435d5e2fc0> ('<48:3f:da:55:07:5b/status', '-1')
[1714239351035]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7f435d5e2fc0> ret: None
[1714239351035]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7f435d5e2d40> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f435d24c7d0>>,)
[1714239351035]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7f435d5e2d40> ret: None
[1714239351035]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7f435d5e2e80> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f435d24c7d0>>,)
[1714239351035]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7f435d5e2e80> ret: None
[1714239351035] [WARN] HUB  Try to connect without uri-schema
[1714239351035]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7f435d5e2700> ('x.ks.ua',)
[1714239352240] [INFO] HUB  Connected
[1714239352240]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f435d5e2980> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f435d24c7d0>>)
[1714239352282]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f435d5e2980> ret: None
[1714239352282]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f435d5e2980> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f435d24c7d0>>)
[1714239352326]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f435d5e2980> ret: None
[1714239352326] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1714239352326]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f435d5e2980> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f435d24c7d0>>)
[1714239352370]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f435d5e2980> ret: None
[1714239352370] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1714239352370]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f435d5e2980> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f435d24c7d0>>)
[1714239352414]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f435d5e2980> ret: None
[1714239352414] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1714239352414]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f435d5e2980> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f435d24c7d0>>)
[1714239352458]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f435d5e2980> ret: None
[1714239352458] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1714239352458]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f435d5e2980> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f435d24c7d0>>)
[1714239352502]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f435d5e2980> ret: None
[1714239352502] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1714239352502]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f435d5e2980> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f435d24c7d0>>)
[1714239352546]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f435d5e2980> ret: None
[1714239352546]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7f435d5e2700> ret: None
[1714239352547]  [DBG] HUB  Step, state: 0 (next: 1714239353547)
[1714239352547] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1714239352547]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f435d5e2840> ('/reg', '48:3f:da:55:07:5b')
[1714239352590]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f435d5e2840> ret: None
[1714239352634] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1714239352601 }
[1714239352634] [INFO] HUB  Registration finish, time: 1714239352601
[1714239352634]  [DBG] FW-UPD  enter <function device_base.register at 0x7f435d3d0b80> (1714239352,)
[1714239352634] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1714239352
[1714239352634] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1714239352634]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f435d5e2980> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f435d24c7d0>>)
[1714239352678]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f435d5e2980> ret: None
[1714239352678]  [DBG] FW-UPD  exit <function device_base.register at 0x7f435d3d0b80> ret: None
[1714239353547]  [DBG] HUB  Step, state: 1 (next: 1714239354547)
[1714239353547]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7f435d3d1440> ()
[1714239353547]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7f435d3d1440> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1714239352}}
[1714239353547] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240414;master;d98ab4d8ece41a102d19b961364f22d5e93d21ca", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714239352}}]} }
[1714239353547]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f435d5e2840> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240414;master;d98ab4d8ece41a102d19b961364f22d5e93d21ca", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714239352}}]}')
[1714239353547]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f435d5e2840> ret: None
[1714239354568] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1714239354569] [INFO] FW-UPD  Reading memory: @32[64]
[1714239354569] [INFO] HUB  Publish message: { topic: 3996365522/read, value: "64;nbz1JzXZozk55d5bo0WGpLFn///mlWCEyL75jMBM+28DJuFvXAOwslY+ulTgadhsu6AjITKJU0k+rY6Uy774vw==" }
[1714239354569]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f435d5e2840> ('<48:3f:da:55:07:5b/3996365522/read', '"64;nbz1JzXZozk55d5bo0WGpLFn///mlWCEyL75jMBM+28DJuFvXAOwslY+ulTgadhsu6AjITKJU0k+rY6Uy774vw=="')
[1714239354569]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f435d5e2840> ret: None
[1714239355577] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;+xrXC7d8EdG2KMHj9loT+eyY8BOj8RCBhJofE6MR8D8Y/MXhCLJf+KOM8T2TApYiVpx1YA+gpV2uEndkgTeH4Q==" }
[1714239355578] [INFO] HUB  Publish message: { topic: 3996365522/write, value: "32;64" }
[1714239355578]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f435d5e2840> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1714239355578]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f435d5e2840> ret: None
[1714239355592]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7f435d5e2c00> ()
[1714239355592]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7f435d5e2c00> ret: None
[1714239355593] [WARN] HUB  Disconecting from broker

Suite stderr:

2024-04-27 17:35:53,554 - TEST - INFO - OP take: 1006.41 ms
2024-04-27 17:35:53,560 - TEST - INFO - Connected with result code: 0
2024-04-27 17:35:53,566 - TEST - INFO - OP take: 10.087 ms
2024-04-27 17:35:54,567 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-04-27 17:35:54,575 - TEST - INFO - OP take: 0.006 ms
2024-04-27 17:35:55,576 - TEST - INFO - [dev] => { 'write' : '32;+xrXC7d8EdG2KMHj9loT+eyY8BOj8' }
2024-04-27 17:35:55,591 - TEST - INFO - OP take: 10.196 ms
2024-04-27 17:35:55,605 - TEST - WARNING - Disconecting from broker
2024-04-27 17:35:55,605 - TEST - WARNING - Disconecting from broker