Test Report : TEST-memops_test-20240202134124.xml

Test Suite: memops_test-20240202134124

Results

Duration4.368 sec
Tests1
Failures0

Tests

memops_test

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

Suite stdout:

[1706881284307] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1706881284307] [INFO] FW-UPD  Initialized
[1706881284307]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7f1ca1654360> (<uclient.hub.HUB object at 0x7f1ca14c9050>,)
[1706881284307]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7f1ca1654360> ret: None
[1706881284307]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7f1ca1862ca0> ('<48:3f:da:55:07:5b/status', '-1')
[1706881284307]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7f1ca1862ca0> ret: None
[1706881284307]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7f1ca1862a20> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f1ca14c9050>>,)
[1706881284307]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7f1ca1862a20> ret: None
[1706881284307]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7f1ca1862b60> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f1ca14c9050>>,)
[1706881284307]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7f1ca1862b60> ret: None
[1706881284307] [WARN] HUB  Try to connect without uri-schema
[1706881284307]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7f1ca1861e40> ('x.ks.ua',)
[1706881285312] [INFO] HUB  Connected
[1706881285312]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f1ca1862660> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1ca14c9050>>)
[1706881285355]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f1ca1862660> ret: None
[1706881285355]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f1ca1862660> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1ca14c9050>>)
[1706881285399]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f1ca1862660> ret: None
[1706881285399] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1706881285399]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f1ca1862660> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1ca14c9050>>)
[1706881285444]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f1ca1862660> ret: None
[1706881285444] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1706881285444]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f1ca1862660> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1ca14c9050>>)
[1706881285487]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f1ca1862660> ret: None
[1706881285487] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1706881285487]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f1ca1862660> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1ca14c9050>>)
[1706881285531]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f1ca1862660> ret: None
[1706881285531] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1706881285531]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f1ca1862660> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1ca14c9050>>)
[1706881285575]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f1ca1862660> ret: None
[1706881285575] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1706881285575]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f1ca1862660> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1ca14c9050>>)
[1706881285619]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f1ca1862660> ret: None
[1706881285619]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7f1ca1861e40> ret: None
[1706881285620]  [DBG] HUB  Step, state: 0 (next: 1706881286620)
[1706881285620] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1706881285620]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f1ca1862520> ('/reg', '48:3f:da:55:07:5b')
[1706881285663]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f1ca1862520> ret: None
[1706881285707] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1706881285671 }
[1706881285707] [INFO] HUB  Registration finish, time: 1706881285671
[1706881285707]  [DBG] FW-UPD  enter <function device_base.register at 0x7f1ca1654860> (1706881285,)
[1706881285707] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1706881285
[1706881285707] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1706881285707]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f1ca1862660> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1ca14c9050>>)
[1706881285751]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f1ca1862660> ret: None
[1706881285751]  [DBG] FW-UPD  exit <function device_base.register at 0x7f1ca1654860> ret: None
[1706881286620]  [DBG] HUB  Step, state: 1 (next: 1706881287620)
[1706881286620]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7f1ca1655120> ()
[1706881286620]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7f1ca1655120> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1706881285}}
[1706881286620] [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": 1706881285}}]} }
[1706881286620]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f1ca1862520> ('/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": 1706881285}}]}')
[1706881286620]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f1ca1862520> ret: None
[1706881287645] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1706881287645] [INFO] FW-UPD  Reading memory: @32[64]
[1706881287646] [INFO] HUB  Publish message: { topic: 3996365522/read, value: "64;Xl3SrOcERWkd45Rp+nN+M8a4eMWFWa7rCjxK9vUpGcWCdfXCrmLYMPxtVfIDnS6249ueuzNF4bUYATpus3Ik3g==" }
[1706881287646]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f1ca1862520> ('<48:3f:da:55:07:5b/3996365522/read', '"64;Xl3SrOcERWkd45Rp+nN+M8a4eMWFWa7rCjxK9vUpGcWCdfXCrmLYMPxtVfIDnS6249ueuzNF4bUYATpus3Ik3g=="')
[1706881287646]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f1ca1862520> ret: None
[1706881288654] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;zGIMo5eR76yqZH7sYq1wdNupJ404b/cjFhuurQVQ4jWbnZvtMgb7Wtw1Gb6iqj8yHx9lEV72yaX8BvpRAQfG1w==" }
[1706881288654] [INFO] HUB  Publish message: { topic: 3996365522/write, value: "32;64" }
[1706881288654]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f1ca1862520> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1706881288654]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f1ca1862520> ret: None
[1706881288661]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7f1ca18628e0> ()
[1706881288661]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7f1ca18628e0> ret: None
[1706881288662] [WARN] HUB  Disconecting from broker

Suite stderr:

2024-02-02 13:41:26,629 - TEST - INFO - OP take: 1009.703 ms
2024-02-02 13:41:26,637 - TEST - INFO - Connected with result code: 0
2024-02-02 13:41:26,642 - TEST - INFO - OP take: 10.142 ms
2024-02-02 13:41:27,644 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-02-02 13:41:27,651 - TEST - INFO - OP take: 0.003 ms
2024-02-02 13:41:28,652 - TEST - INFO - [dev] => { 'write' : '32;zGIMo5eR76yqZH7sYq1wdNupJ404b' }
2024-02-02 13:41:28,661 - TEST - INFO - OP take: 0.004 ms
2024-02-02 13:41:28,668 - TEST - WARNING - Disconecting from broker
2024-02-02 13:41:28,674 - TEST - WARNING - Disconecting from broker