Test Report : TEST-memops_test-20231126185930.xml

Test Suite: memops_test-20231126185930

Results

Duration4.489 sec
Tests1
Failures0

Tests

memops_test

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

Suite stdout:

[1701025170457] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1701025170458] [INFO] FW-UPD  Initialized
[1701025170458]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7fd314b6c360> (<uclient.hub.HUB object at 0x7fd3149e1010>,)
[1701025170458]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7fd314b6c360> ret: None
[1701025170458]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7fd314d7aca0> ('<48:3f:da:55:07:5b/status', '-1')
[1701025170458]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7fd314d7aca0> ret: None
[1701025170458]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7fd314d7aa20> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7fd3149e1010>>,)
[1701025170458]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7fd314d7aa20> ret: None
[1701025170458]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7fd314d7ab60> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7fd3149e1010>>,)
[1701025170458]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7fd314d7ab60> ret: None
[1701025170458] [WARN] HUB  Try to connect without uri-schema
[1701025170458]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7fd314d79e40> ('x.ks.ua',)
[1701025171462] [INFO] HUB  Connected
[1701025171462]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd314d7a660> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd3149e1010>>)
[1701025171503]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd314d7a660> ret: None
[1701025171503]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd314d7a660> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd3149e1010>>)
[1701025171547]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd314d7a660> ret: None
[1701025171547] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1701025171547]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd314d7a660> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd3149e1010>>)
[1701025171591]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd314d7a660> ret: None
[1701025171591] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1701025171591]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd314d7a660> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd3149e1010>>)
[1701025171635]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd314d7a660> ret: None
[1701025171635] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1701025171635]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd314d7a660> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd3149e1010>>)
[1701025171679]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd314d7a660> ret: None
[1701025171679] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1701025171679]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd314d7a660> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd3149e1010>>)
[1701025171723]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd314d7a660> ret: None
[1701025171723] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1701025171723]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd314d7a660> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd3149e1010>>)
[1701025171767]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd314d7a660> ret: None
[1701025171767]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7fd314d79e40> ret: None
[1701025171768]  [DBG] HUB  Step, state: 0 (next: 1701025172768)
[1701025171768] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1701025171768]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fd314d7a520> ('/reg', '48:3f:da:55:07:5b')
[1701025171811]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fd314d7a520> ret: None
[1701025171855] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1701025171815 }
[1701025171855] [INFO] HUB  Registration finish, time: 1701025171815
[1701025171855]  [DBG] FW-UPD  enter <function device_base.register at 0x7fd314b6c860> (1701025171,)
[1701025171855] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1701025171
[1701025171855] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1701025171855]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fd314d7a660> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7fd3149e1010>>)
[1701025171899]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fd314d7a660> ret: None
[1701025171899]  [DBG] FW-UPD  exit <function device_base.register at 0x7fd314b6c860> ret: None
[1701025172768]  [DBG] HUB  Step, state: 1 (next: 1701025173768)
[1701025172768]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7fd314b6d120> ()
[1701025172768]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7fd314b6d120> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1701025171}}
[1701025172768] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R231119;master;c5493d6a3d66a18e791cea35edb8dfef668730bf", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1701025171}}]} }
[1701025172768]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fd314d7a520> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R231119;master;c5493d6a3d66a18e791cea35edb8dfef668730bf", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1701025171}}]}')
[1701025172768]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fd314d7a520> ret: None
[1701025173897] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1701025173897] [INFO] FW-UPD  Reading memory: @32[64]
[1701025173897] [INFO] HUB  Publish message: { topic: 3996365522/read, value: "64;Smo88vhC0tLc63yzQnsgyLM0Q92wfe4KKIeDTsT5/OeCPl3uC7BxFD1ub33KBw/zU1DaoHLvufQUB9pYHh8Aqg==" }
[1701025173897]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fd314d7a520> ('<48:3f:da:55:07:5b/3996365522/read', '"64;Smo88vhC0tLc63yzQnsgyLM0Q92wfe4KKIeDTsT5/OeCPl3uC7BxFD1ub33KBw/zU1DaoHLvufQUB9pYHh8Aqg=="')
[1701025173897]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fd314d7a520> ret: None
[1701025174913] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;wkL806MS6KY+DMiHYe1ZLtd6G90y8HAADkfZd3gIGI3y9cCyAFn2VJ08i0Xpqzchh7mp1kMOeKCysimHn8pnoQ==" }
[1701025174913] [INFO] HUB  Publish message: { topic: 3996365522/write, value: "32;64" }
[1701025174913]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fd314d7a520> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1701025174913]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fd314d7a520> ret: None
[1701025174927]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7fd314d7a8e0> ()
[1701025174927]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7fd314d7a8e0> ret: None
[1701025174928] [WARN] HUB  Disconecting from broker

Suite stderr:

2023-11-26 18:59:32,776 - TEST - INFO - OP take: 1007.314 ms
2023-11-26 18:59:32,887 - TEST - INFO - Connected with result code: 0
2023-11-26 18:59:32,895 - TEST - INFO - OP take: 112.494 ms
2023-11-26 18:59:33,896 - TEST - INFO - [dev] => { 'read' : '32;64' }
2023-11-26 18:59:33,911 - TEST - INFO - OP take: 10.127 ms
2023-11-26 18:59:34,912 - TEST - INFO - [dev] => { 'write' : '32;wkL806MS6KY+DMiHYe1ZLtd6G90y8' }
2023-11-26 18:59:34,926 - TEST - INFO - OP take: 10.131 ms
2023-11-26 18:59:34,935 - TEST - WARNING - Disconecting from broker
2023-11-26 18:59:34,951 - TEST - WARNING - Disconecting from broker