Test Report : TEST-memops_test-20240130082811.xml

Test Suite: memops_test-20240130082811

Results

Duration4.359 sec
Tests1
Failures0

Tests

memops_test

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

Suite stdout:

[1706603291317] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1706603291318] [INFO] FW-UPD  Initialized
[1706603291318]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7fd4b035c360> (<uclient.hub.HUB object at 0x7fd4b036bc50>,)
[1706603291318]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7fd4b035c360> ret: None
[1706603291318]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7fd4b056aca0> ('<48:3f:da:55:07:5b/status', '-1')
[1706603291318]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7fd4b056aca0> ret: None
[1706603291318]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7fd4b056aa20> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7fd4b036bc50>>,)
[1706603291318]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7fd4b056aa20> ret: None
[1706603291318]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7fd4b056ab60> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7fd4b036bc50>>,)
[1706603291318]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7fd4b056ab60> ret: None
[1706603291318] [WARN] HUB  Try to connect without uri-schema
[1706603291318]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7fd4b0569e40> ('x.ks.ua',)
[1706603292322] [INFO] HUB  Connected
[1706603292322]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd4b056a660> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd4b036bc50>>)
[1706603292363]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd4b056a660> ret: None
[1706603292363]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd4b056a660> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd4b036bc50>>)
[1706603292407]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd4b056a660> ret: None
[1706603292407] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1706603292407]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd4b056a660> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd4b036bc50>>)
[1706603292451]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd4b056a660> ret: None
[1706603292451] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1706603292451]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd4b056a660> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd4b036bc50>>)
[1706603292495]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd4b056a660> ret: None
[1706603292495] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1706603292495]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd4b056a660> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd4b036bc50>>)
[1706603292539]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd4b056a660> ret: None
[1706603292539] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1706603292539]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd4b056a660> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd4b036bc50>>)
[1706603292583]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd4b056a660> ret: None
[1706603292583] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1706603292583]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd4b056a660> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd4b036bc50>>)
[1706603292627]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd4b056a660> ret: None
[1706603292627]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7fd4b0569e40> ret: None
[1706603292628]  [DBG] HUB  Step, state: 0 (next: 1706603293628)
[1706603292628] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1706603292628]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fd4b056a520> ('/reg', '48:3f:da:55:07:5b')
[1706603292671]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fd4b056a520> ret: None
[1706603292715] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1706603292675 }
[1706603292715] [INFO] HUB  Registration finish, time: 1706603292675
[1706603292715]  [DBG] FW-UPD  enter <function device_base.register at 0x7fd4b035c860> (1706603292,)
[1706603292715] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1706603292
[1706603292715] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1706603292715]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd4b056a660> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd4b036bc50>>)
[1706603292759]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd4b056a660> ret: None
[1706603292759]  [DBG] FW-UPD  exit <function device_base.register at 0x7fd4b035c860> ret: None
[1706603293628]  [DBG] HUB  Step, state: 1 (next: 1706603294628)
[1706603293628]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7fd4b035d120> ()
[1706603293628]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7fd4b035d120> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1706603292}}
[1706603293628] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240129;master;2ef3211e388ad8de8753e73738ad72b1dbe8c3e9", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1706603292}}]} }
[1706603293628]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fd4b056a520> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240129;master;2ef3211e388ad8de8753e73738ad72b1dbe8c3e9", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1706603292}}]}')
[1706603293628]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fd4b056a520> ret: None
[1706603294648] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1706603294649] [INFO] FW-UPD  Reading memory: @32[64]
[1706603294649] [INFO] HUB  Publish message: { topic: 3996365522/read, value: "64;yB1HhkFHVVvDr//GDm74YWz013eWA/kXTcTQ/mHey0NCdIFv+MNLnEKTU0d+r/Gi/LfXVnYuh0UCmiRiD2Sq7w==" }
[1706603294649]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fd4b056a520> ('<48:3f:da:55:07:5b/3996365522/read', '"64;yB1HhkFHVVvDr//GDm74YWz013eWA/kXTcTQ/mHey0NCdIFv+MNLnEKTU0d+r/Gi/LfXVnYuh0UCmiRiD2Sq7w=="')
[1706603294649]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fd4b056a520> ret: None
[1706603295652] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;Z7Ap2tSuuu7Kd66hhx6800BpUS5LGRdaTj+qrhgssUQWhFI8BrWx0TLpVcGSpkz4sjHngLgGEWwI/trOuesZ+Q==" }
[1706603295653] [INFO] HUB  Publish message: { topic: 3996365522/write, value: "32;64" }
[1706603295653]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fd4b056a520> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1706603295653]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fd4b056a520> ret: None
[1706603295658]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7fd4b056a8e0> ()
[1706603295659]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7fd4b056a8e0> ret: None
[1706603295659] [WARN] HUB  Disconecting from broker

Suite stderr:

2024-01-30 08:28:13,634 - TEST - INFO - OP take: 1005.583 ms
2024-01-30 08:28:13,641 - TEST - INFO - Connected with result code: 0
2024-01-30 08:28:13,647 - TEST - INFO - OP take: 10.117 ms
2024-01-30 08:28:14,647 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-01-30 08:28:14,651 - TEST - INFO - OP take: 0.005 ms
2024-01-30 08:28:15,651 - TEST - INFO - [dev] => { 'write' : '32;Z7Ap2tSuuu7Kd66hhx6800BpUS5LG' }
2024-01-30 08:28:15,657 - TEST - INFO - OP take: 0.004 ms
2024-01-30 08:28:15,671 - TEST - WARNING - Disconecting from broker
2024-01-30 08:28:15,677 - TEST - WARNING - Disconecting from broker