Test Report : TEST-memops_test-20240211154819.xml

Test Suite: memops_test-20240211154819

Results

Duration4.369 sec
Tests1
Failures0

Tests

memops_test

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

Suite stdout:

[1707666499385] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1707666499386] [INFO] FW-UPD  Initialized
[1707666499386]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7f12ca154680> (<uclient.hub.HUB object at 0x7f12c9fec6d0>,)
[1707666499386]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7f12ca154680> ret: None
[1707666499386]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7f12ca3cafc0> ('<48:3f:da:55:07:5b/status', '-1')
[1707666499386]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7f12ca3cafc0> ret: None
[1707666499386]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7f12ca3cad40> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f12c9fec6d0>>,)
[1707666499386]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7f12ca3cad40> ret: None
[1707666499386]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7f12ca3cae80> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f12c9fec6d0>>,)
[1707666499386]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7f12ca3cae80> ret: None
[1707666499386] [WARN] HUB  Try to connect without uri-schema
[1707666499386]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7f12ca3ca700> ('x.ks.ua',)
[1707666500389] [INFO] HUB  Connected
[1707666500390]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f12ca3ca980> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f12c9fec6d0>>)
[1707666500432]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f12ca3ca980> ret: None
[1707666500432]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f12ca3ca980> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f12c9fec6d0>>)
[1707666500475]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f12ca3ca980> ret: None
[1707666500475] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1707666500476]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f12ca3ca980> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f12c9fec6d0>>)
[1707666500519]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f12ca3ca980> ret: None
[1707666500520] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1707666500520]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f12ca3ca980> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f12c9fec6d0>>)
[1707666500563]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f12ca3ca980> ret: None
[1707666500563] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1707666500563]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f12ca3ca980> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f12c9fec6d0>>)
[1707666500611]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f12ca3ca980> ret: None
[1707666500611] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1707666500611]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f12ca3ca980> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f12c9fec6d0>>)
[1707666500655]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f12ca3ca980> ret: None
[1707666500655] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1707666500655]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f12ca3ca980> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f12c9fec6d0>>)
[1707666500699]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f12ca3ca980> ret: None
[1707666500699]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7f12ca3ca700> ret: None
[1707666500700]  [DBG] HUB  Step, state: 0 (next: 1707666501700)
[1707666500700] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1707666500700]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f12ca3ca840> ('/reg', '48:3f:da:55:07:5b')
[1707666500744]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f12ca3ca840> ret: None
[1707666500787] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1707666500756 }
[1707666500787] [INFO] HUB  Registration finish, time: 1707666500756
[1707666500787]  [DBG] FW-UPD  enter <function device_base.register at 0x7f12ca154b80> (1707666500,)
[1707666500787] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1707666500
[1707666500787] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1707666500787]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f12ca3ca980> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f12c9fec6d0>>)
[1707666500831]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f12ca3ca980> ret: None
[1707666500831]  [DBG] FW-UPD  exit <function device_base.register at 0x7f12ca154b80> ret: None
[1707666501700]  [DBG] HUB  Step, state: 1 (next: 1707666502700)
[1707666501700]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7f12ca155440> ()
[1707666501700]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7f12ca155440> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1707666500}}
[1707666501700] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240211;master;c7a377ab91e966dd8ef50ec839bbd0cd5f178bbe", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1707666500}}]} }
[1707666501700]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f12ca3ca840> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240211;master;c7a377ab91e966dd8ef50ec839bbd0cd5f178bbe", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1707666500}}]}')
[1707666501700]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f12ca3ca840> ret: None
[1707666502727] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1707666502727] [INFO] FW-UPD  Reading memory: @32[64]
[1707666502727] [INFO] HUB  Publish message: { topic: 3996365522/read, value: "64;H0gKvZL04K7wYBgy5Y1onfnlbsAgZTA7ejGXxI2uUZzTLJI0Y0vTp885P30y2+xkmNOUioBZyFtgx4EUFbGKkw==" }
[1707666502727]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f12ca3ca840> ('<48:3f:da:55:07:5b/3996365522/read', '"64;H0gKvZL04K7wYBgy5Y1onfnlbsAgZTA7ejGXxI2uUZzTLJI0Y0vTp885P30y2+xkmNOUioBZyFtgx4EUFbGKkw=="')
[1707666502727]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f12ca3ca840> ret: None
[1707666503749] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;q5HRbHFXItKh1WEEdTtfz6JyS9DWzr2VeGji9Cr+Sg5q2M8MVWPypfoVRkXG/YUhde1gBf01+qbyXvgcKr1ruA==" }
[1707666503750] [INFO] HUB  Publish message: { topic: 3996365522/write, value: "32;64" }
[1707666503750]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f12ca3ca840> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1707666503750]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f12ca3ca840> ret: None
[1707666503753]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7f12ca3cac00> ()
[1707666503753] [WARN] HUB  Disconecting from broker
[1707666503753] [WARN] MQTT  Reconnecting in 1s
[1707666503753]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7f12ca3cac00> ret: None

Suite stderr:

2024-02-11 15:48:21,706 - TEST - INFO - OP take: 1006.306 ms
2024-02-11 15:48:21,714 - TEST - INFO - Connected with result code: 0
2024-02-11 15:48:21,719 - TEST - INFO - OP take: 10.082 ms
2024-02-11 15:48:22,722 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-02-11 15:48:22,744 - TEST - INFO - OP take: 10.112 ms
2024-02-11 15:48:23,747 - TEST - INFO - [dev] => { 'write' : '32;q5HRbHFXItKh1WEEdTtfz6JyS9DWz' }
2024-02-11 15:48:23,752 - TEST - INFO - OP take: 0.002 ms
2024-02-11 15:48:23,753 - TEST - WARNING - Disconecting from broker
2024-02-11 15:48:23,754 - TEST - WARNING - Disconecting from broker