Test Report : TEST-memops_test-20231102152141.xml

Test Suite: memops_test-20231102152141

Results

Duration4.389 sec
Tests1
Failures0

Tests

memops_test

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

Suite stdout:

[1698938501454] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1698938501454] [INFO] FW-UPD  Initialized
[1698938501454]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7f04ff4d0180> (<uclient.hub.HUB object at 0x7f04ff344590>,)
[1698938501454]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7f04ff4d0180> ret: None
[1698938501454]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7f04ff6e2980> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f04ff344590>>,)
[1698938501454]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7f04ff6e2980> ret: None
[1698938501454]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7f04ff6e2ac0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f04ff344590>>,)
[1698938501454]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7f04ff6e2ac0> ret: None
[1698938501454]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7f04ff6e1e40> ('x.ks.ua', 1883)
[1698938502459] [INFO] HUB  Connected
[1698938502459]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04ff344590>>)
[1698938502500]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ret: None
[1698938502500]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04ff344590>>)
[1698938502544]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ret: None
[1698938502545] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1698938502545]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04ff344590>>)
[1698938502588]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ret: None
[1698938502588] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1698938502589]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04ff344590>>)
[1698938502632]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ret: None
[1698938502632] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1698938502632]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04ff344590>>)
[1698938502676]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ret: None
[1698938502676] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1698938502676]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04ff344590>>)
[1698938502720]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ret: None
[1698938502720] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1698938502720]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04ff344590>>)
[1698938502764]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ret: None
[1698938502764]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7f04ff6e1e40> ret: None
[1698938502765]  [DBG] HUB  Step, state: 0 (next: 1698938503765)
[1698938502765] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1698938502766]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f04ff6e2480> ('/reg', '48:3f:da:55:07:5b')
[1698938502810]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f04ff6e2480> ret: None
[1698938502852] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1698938502812 }
[1698938502852] [INFO] HUB  Registration finish, time: 1698938502812
[1698938502852]  [DBG] FW-UPD  enter <function device_base.register at 0x7f04ff4d0680> (1698938502,)
[1698938502852] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1698938502
[1698938502852] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1698938502852]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f04ff344590>>)
[1698938502896]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f04ff6e25c0> ret: None
[1698938502897]  [DBG] FW-UPD  exit <function device_base.register at 0x7f04ff4d0680> ret: None
[1698938503765]  [DBG] HUB  Step, state: 1 (next: 1698938504765)
[1698938503765]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7f04ff4d0f40> ()
[1698938503765]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7f04ff4d0f40> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1698938502}}
[1698938503765] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231102;master;e9b306c7e765ddf633df5089542fbb0d0e965da4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1698938502}}]} }
[1698938503765]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f04ff6e2480> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231102;master;e9b306c7e765ddf633df5089542fbb0d0e965da4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1698938502}}]}')
[1698938503765]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f04ff6e2480> ret: None
[1698938504786] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1698938504786] [INFO] FW-UPD  Reading memory: @32[64]
[1698938504786] [INFO] HUB  Publish message: { topic: 3996365522/read, value: "64;4fz8unEdqEKpduJc6O1etnKCNQHNdlAoWrueC0/aFVH2EQmb4XhkMz0bBYd1OQ7X1wpwROVp1WQW0CFPch/iuw==" }
[1698938504786]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f04ff6e2480> ('<48:3f:da:55:07:5b/3996365522/read', '"64;4fz8unEdqEKpduJc6O1etnKCNQHNdlAoWrueC0/aFVH2EQmb4XhkMz0bBYd1OQ7X1wpwROVp1WQW0CFPch/iuw=="')
[1698938504786]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f04ff6e2480> ret: None
[1698938505793] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;VPNp+w1lqO/Z39bpHL1fwtQZJ4jOZ9DW8jwf+CeldkaTGwZhAqUJz8RpLMOWI+jQb/HAxA6uMnwBCVwQCcCLnA==" }
[1698938505793] [INFO] HUB  Publish message: { topic: 3996365522/write, value: "32;64" }
[1698938505793]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f04ff6e2480> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1698938505793]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f04ff6e2480> ret: None
[1698938505799]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7f04ff6e2840> ()
[1698938505801]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7f04ff6e2840> ret: None
[1698938505804] [WARN] HUB  Disconecting from broker

Suite stderr:

2023-11-02 15:21:43,771 - TEST - INFO - OP take: 1005.348 ms
2023-11-02 15:21:43,778 - TEST - INFO - Connected with result code: 0
2023-11-02 15:21:43,783 - TEST - INFO - OP take: 10.186 ms
2023-11-02 15:21:44,785 - TEST - INFO - [dev] => { 'read' : '32;64' }
2023-11-02 15:21:44,790 - TEST - INFO - OP take: 0.004 ms
2023-11-02 15:21:45,791 - TEST - INFO - [dev] => { 'write' : '32;VPNp+w1lqO/Z39bpHL1fwtQZJ4jOZ' }
2023-11-02 15:21:45,798 - TEST - INFO - OP take: 0.007 ms
2023-11-02 15:21:45,825 - TEST - WARNING - Disconecting from broker