Test Report : TEST-memops_test-20240210232502.xml

Test Suite: memops_test-20240210232502

Results

Duration4.491 sec
Tests1
Failures0

Tests

memops_test

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

Suite stdout:

[1707607502270] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1707607502271] [INFO] FW-UPD  Initialized
[1707607502271]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7fa88b100680> (<uclient.hub.HUB object at 0x7fa88b113c50>,)
[1707607502271]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7fa88b100680> ret: None
[1707607502271]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7fa88b37afc0> ('<48:3f:da:55:07:5b/status', '-1')
[1707607502271]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7fa88b37afc0> ret: None
[1707607502271]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7fa88b37ad40> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7fa88b113c50>>,)
[1707607502271]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7fa88b37ad40> ret: None
[1707607502271]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7fa88b37ae80> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7fa88b113c50>>,)
[1707607502271]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7fa88b37ae80> ret: None
[1707607502271] [WARN] HUB  Try to connect without uri-schema
[1707607502271]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7fa88b37a700> ('x.ks.ua',)
[1707607503393] [INFO] HUB  Connected
[1707607503393]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fa88b37a980> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa88b113c50>>)
[1707607503435]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fa88b37a980> ret: None
[1707607503435]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fa88b37a980> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa88b113c50>>)
[1707607503479]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fa88b37a980> ret: None
[1707607503479] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1707607503479]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fa88b37a980> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa88b113c50>>)
[1707607503523]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fa88b37a980> ret: None
[1707607503523] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1707607503523]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fa88b37a980> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa88b113c50>>)
[1707607503567]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fa88b37a980> ret: None
[1707607503567] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1707607503567]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fa88b37a980> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa88b113c50>>)
[1707607503611]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fa88b37a980> ret: None
[1707607503611] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1707607503611]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fa88b37a980> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa88b113c50>>)
[1707607503655]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fa88b37a980> ret: None
[1707607503655] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1707607503655]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fa88b37a980> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa88b113c50>>)
[1707607503699]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fa88b37a980> ret: None
[1707607503699]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7fa88b37a700> ret: None
[1707607503700]  [DBG] HUB  Step, state: 0 (next: 1707607504700)
[1707607503700] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1707607503700]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fa88b37a840> ('/reg', '48:3f:da:55:07:5b')
[1707607503744]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fa88b37a840> ret: None
[1707607503787] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1707607503745 }
[1707607503787] [INFO] HUB  Registration finish, time: 1707607503745
[1707607503787]  [DBG] FW-UPD  enter <function device_base.register at 0x7fa88b100b80> (1707607503,)
[1707607503787] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1707607503
[1707607503787] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1707607503787]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fa88b37a980> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fa88b113c50>>)
[1707607503831]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fa88b37a980> ret: None
[1707607503831]  [DBG] FW-UPD  exit <function device_base.register at 0x7fa88b100b80> ret: None
[1707607504700]  [DBG] HUB  Step, state: 1 (next: 1707607505700)
[1707607504700]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7fa88b101440> ()
[1707607504700]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7fa88b101440> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1707607503}}
[1707607504700] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240201;master;e89029bf60793daed45c8101ee145a73cc811f6e", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1707607503}}]} }
[1707607504700]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fa88b37a840> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240201;master;e89029bf60793daed45c8101ee145a73cc811f6e", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1707607503}}]}')
[1707607504700]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fa88b37a840> ret: None
[1707607505722] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1707607505722] [INFO] FW-UPD  Reading memory: @32[64]
[1707607505722] [INFO] HUB  Publish message: { topic: 3996365522/read, value: "64;n7VBEae568+gu+QjlQkoi4fNXSklTNcPN4c0cHCMwWiybUWZ97VTKjjf3TsvqZOhQj6A831Yc9267tul1VIlOA==" }
[1707607505722]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fa88b37a840> ('<48:3f:da:55:07:5b/3996365522/read', '"64;n7VBEae568+gu+QjlQkoi4fNXSklTNcPN4c0cHCMwWiybUWZ97VTKjjf3TsvqZOhQj6A831Yc9267tul1VIlOA=="')
[1707607505722]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fa88b37a840> ret: None
[1707607506739] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;yD8MDd+oxVo9+aRmEw/VM98O1aqngfY3BvvG3p0MIZtPA8RBOBPeG4xuLg101rSCdFmXbHQ+bJjpLMUmXEZxyQ==" }
[1707607506740] [INFO] HUB  Publish message: { topic: 3996365522/write, value: "32;64" }
[1707607506740]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fa88b37a840> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1707607506740]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fa88b37a840> ret: None
[1707607506753]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7fa88b37ac00> ()
[1707607506753]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7fa88b37ac00> ret: None
[1707607506754] [WARN] HUB  Disconecting from broker

Suite stderr:

2024-02-10 23:25:04,707 - TEST - INFO - OP take: 1006.873 ms
2024-02-10 23:25:04,715 - TEST - INFO - Connected with result code: 0
2024-02-10 23:25:04,719 - TEST - INFO - OP take: 10.08 ms
2024-02-10 23:25:05,720 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-02-10 23:25:05,737 - TEST - INFO - OP take: 10.123 ms
2024-02-10 23:25:06,738 - TEST - INFO - [dev] => { 'write' : '32;yD8MDd+oxVo9+aRmEw/VM98O1aqng' }
2024-02-10 23:25:06,753 - TEST - INFO - OP take: 10.134 ms
2024-02-10 23:25:06,759 - TEST - WARNING - Disconecting from broker