Test Report : TEST-memops_test-20231118123542.xml

Test Suite: memops_test-20231118123542

Results

Duration4.359 sec
Tests1
Failures0

Tests

memops_test

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

Suite stdout:

[1700310942135] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1700310942135] [INFO] FW-UPD  Initialized
[1700310942135]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7fb52c4d0360> (<uclient.hub.HUB object at 0x7fb52c5c8d90>,)
[1700310942135]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7fb52c4d0360> ret: None
[1700310942135]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7fb52c6e2ca0> ('<48:3f:da:55:07:5b/status', '-1')
[1700310942135]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7fb52c6e2ca0> ret: None
[1700310942135]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7fb52c6e2a20> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7fb52c5c8d90>>,)
[1700310942135]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7fb52c6e2a20> ret: None
[1700310942135]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7fb52c6e2b60> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7fb52c5c8d90>>,)
[1700310942135]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7fb52c6e2b60> ret: None
[1700310942135]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7fb52c6e1e40> ('x.ks.ua', 1883)
[1700310943139] [INFO] HUB  Connected
[1700310943139]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb52c6e2660> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb52c5c8d90>>)
[1700310943180]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb52c6e2660> ret: None
[1700310943180]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb52c6e2660> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb52c5c8d90>>)
[1700310943224]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb52c6e2660> ret: None
[1700310943224] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1700310943224]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb52c6e2660> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb52c5c8d90>>)
[1700310943268]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb52c6e2660> ret: None
[1700310943268] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1700310943268]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb52c6e2660> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb52c5c8d90>>)
[1700310943312]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb52c6e2660> ret: None
[1700310943312] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1700310943312]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb52c6e2660> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb52c5c8d90>>)
[1700310943356]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb52c6e2660> ret: None
[1700310943356] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1700310943356]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb52c6e2660> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb52c5c8d90>>)
[1700310943400]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb52c6e2660> ret: None
[1700310943400] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1700310943400]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb52c6e2660> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb52c5c8d90>>)
[1700310943444]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb52c6e2660> ret: None
[1700310943444]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7fb52c6e1e40> ret: None
[1700310943445]  [DBG] HUB  Step, state: 0 (next: 1700310944445)
[1700310943445] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1700310943445]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fb52c6e2520> ('/reg', '48:3f:da:55:07:5b')
[1700310943488]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fb52c6e2520> ret: None
[1700310943536] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1700310943494 }
[1700310943536] [INFO] HUB  Registration finish, time: 1700310943494
[1700310943536]  [DBG] FW-UPD  enter <function device_base.register at 0x7fb52c4d0860> (1700310943,)
[1700310943536] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1700310943
[1700310943536] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1700310943536]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fb52c6e2660> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fb52c5c8d90>>)
[1700310943580]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fb52c6e2660> ret: None
[1700310943580]  [DBG] FW-UPD  exit <function device_base.register at 0x7fb52c4d0860> ret: None
[1700310944445]  [DBG] HUB  Step, state: 1 (next: 1700310945445)
[1700310944445]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7fb52c4d1120> ()
[1700310944445]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7fb52c4d1120> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1700310943}}
[1700310944445] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231118;master;08d7b27b385d4025b813ff924b091926c599eabf", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1700310943}}]} }
[1700310944445]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fb52c6e2520> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231118;master;08d7b27b385d4025b813ff924b091926c599eabf", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1700310943}}]}')
[1700310944445]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fb52c6e2520> ret: None
[1700310945466] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1700310945466] [INFO] FW-UPD  Reading memory: @32[64]
[1700310945466] [INFO] HUB  Publish message: { topic: 3996365522/read, value: "64;FNngma9eMTCgPD1H/bCSRput8myeAoVO7P2D4jvDEE8mQoPzEsKZk3l0hlilnken+b7jFPMWVhOe/PvpCeCYmw==" }
[1700310945466]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fb52c6e2520> ('<48:3f:da:55:07:5b/3996365522/read', '"64;FNngma9eMTCgPD1H/bCSRput8myeAoVO7P2D4jvDEE8mQoPzEsKZk3l0hlilnken+b7jFPMWVhOe/PvpCeCYmw=="')
[1700310945467]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fb52c6e2520> ret: None
[1700310946479] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;11h/JsoaipWWHvAeBToBVxFGjLfmXb/tyK0Gf4tujNOfOq8yqfPGXj7Nf1gfpWhT6Rnb7A+ugJ2oP8H/sHhP4A==" }
[1700310946480] [INFO] HUB  Publish message: { topic: 3996365522/write, value: "32;64" }
[1700310946480]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fb52c6e2520> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1700310946480]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fb52c6e2520> ret: None
[1700310946492]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7fb52c6e28e0> ()
[1700310946492]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7fb52c6e28e0> ret: None
[1700310946494] [WARN] HUB  Disconecting from broker

Suite stderr:

2023-11-18 12:35:44,452 - TEST - INFO - OP take: 1006.524 ms
2023-11-18 12:35:44,461 - TEST - INFO - Connected with result code: 0
2023-11-18 12:35:44,465 - TEST - INFO - OP take: 10.118 ms
2023-11-18 12:35:45,466 - TEST - INFO - [dev] => { 'read' : '32;64' }
2023-11-18 12:35:45,478 - TEST - INFO - OP take: 10.103 ms
2023-11-18 12:35:46,479 - TEST - INFO - [dev] => { 'write' : '32;11h/JsoaipWWHvAeBToBVxFGjLfmX' }
2023-11-18 12:35:46,492 - TEST - INFO - OP take: 10.124 ms
2023-11-18 12:35:46,493 - TEST - WARNING - Disconecting from broker