Test Report : TEST-memops_test-20240330134701.xml
Test Suite: memops_test-20240330134701
Results
| Duration | 4.505 sec |
| Tests | 1 |
| Failures | 0 |
Tests
memops_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 4.505 sec |
| Failed | None |
None
Suite stdout:
[1711806421858] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1711806421859] [INFO] FW-UPD Initialized
[1711806421859] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f4e3410c680> (<uclient.hub.HUB object at 0x7f4e33fa46d0>,)
[1711806421859] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f4e3410c680> ret: None
[1711806421859] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f4e34382fc0> ('<48:3f:da:55:07:5b/status', '-1')
[1711806421859] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f4e34382fc0> ret: None
[1711806421859] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f4e34382d40> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f4e33fa46d0>>,)
[1711806421859] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f4e34382d40> ret: None
[1711806421859] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f4e34382e80> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f4e33fa46d0>>,)
[1711806421859] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f4e34382e80> ret: None
[1711806421859] [WARN] HUB Try to connect without uri-schema
[1711806421859] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f4e34382700> ('x.ks.ua',)
[1711806422994] [INFO] HUB Connected
[1711806422994] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f4e34382980> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f4e33fa46d0>>)
[1711806423038] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f4e34382980> ret: None
[1711806423038] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f4e34382980> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f4e33fa46d0>>)
[1711806423082] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f4e34382980> ret: None
[1711806423082] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1711806423082] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f4e34382980> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f4e33fa46d0>>)
[1711806423126] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f4e34382980> ret: None
[1711806423126] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1711806423126] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f4e34382980> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f4e33fa46d0>>)
[1711806423170] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f4e34382980> ret: None
[1711806423170] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1711806423170] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f4e34382980> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f4e33fa46d0>>)
[1711806423214] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f4e34382980> ret: None
[1711806423214] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1711806423214] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f4e34382980> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f4e33fa46d0>>)
[1711806423258] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f4e34382980> ret: None
[1711806423258] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1711806423258] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f4e34382980> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f4e33fa46d0>>)
[1711806423302] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f4e34382980> ret: None
[1711806423302] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f4e34382700> ret: None
[1711806423303] [DBG] HUB Step, state: 0 (next: 1711806424303)
[1711806423303] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1711806423303] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f4e34382840> ('/reg', '48:3f:da:55:07:5b')
[1711806423346] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f4e34382840> ret: None
[1711806423390] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1711806423351 }
[1711806423390] [INFO] HUB Registration finish, time: 1711806423351
[1711806423390] [DBG] FW-UPD enter <function device_base.register at 0x7f4e3410cb80> (1711806423,)
[1711806423390] [INFO] FW-UPD Device 3996365522 registration on the server @ 1711806423
[1711806423390] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1711806423390] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f4e34382980> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f4e33fa46d0>>)
[1711806423434] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f4e34382980> ret: None
[1711806423434] [DBG] FW-UPD exit <function device_base.register at 0x7f4e3410cb80> ret: None
[1711806424303] [DBG] HUB Step, state: 1 (next: 1711806425303)
[1711806424303] [DBG] FW-UPD enter <function device_base.info_req at 0x7f4e3410d440> ()
[1711806424303] [DBG] FW-UPD exit <function device_base.info_req at 0x7f4e3410d440> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1711806423}}
[1711806424303] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240211;master;b48a960de2b1f0e64477f527a2e95d41f5d6be7a", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1711806423}}]} }
[1711806424303] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f4e34382840> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240211;master;b48a960de2b1f0e64477f527a2e95d41f5d6be7a", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1711806423}}]}')
[1711806424303] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f4e34382840> ret: None
[1711806425323] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1711806425323] [INFO] FW-UPD Reading memory: @32[64]
[1711806425324] [INFO] HUB Publish message: { topic: 3996365522/read, value: "64;NfYtMlXWP2JYNotImc2wecfmLjaxEvgTedL7UvvgnAdlzxF0txUShKLRyslCwamXToMSN8hTB36fx8nVfg7+Jg==" }
[1711806425324] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f4e34382840> ('<48:3f:da:55:07:5b/3996365522/read', '"64;NfYtMlXWP2JYNotImc2wecfmLjaxEvgTedL7UvvgnAdlzxF0txUShKLRyslCwamXToMSN8hTB36fx8nVfg7+Jg=="')
[1711806425324] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f4e34382840> ret: None
[1711806426340] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;GrCbor87+KvdP96swhBuw76lMVe0LDO1s2oTBSEdoGbaIPZrTCIvhOZilvmp3caABmkKniSM3In6TUQYp9+qJQ==" }
[1711806426341] [INFO] HUB Publish message: { topic: 3996365522/write, value: "32;64" }
[1711806426341] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f4e34382840> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1711806426341] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f4e34382840> ret: None
[1711806426351] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f4e34382c00> ()
[1711806426351] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f4e34382c00> ret: None
[1711806426352] [WARN] HUB Disconecting from broker
Suite stderr:
2024-03-30 13:47:04,309 - TEST - INFO - OP take: 1005.315 ms
2024-03-30 13:47:04,318 - TEST - INFO - Connected with result code: 0
2024-03-30 13:47:04,321 - TEST - INFO - OP take: 10.076 ms
2024-03-30 13:47:05,322 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-03-30 13:47:05,337 - TEST - INFO - OP take: 10.171 ms
2024-03-30 13:47:06,338 - TEST - INFO - [dev] => { 'write' : '32;GrCbor87+KvdP96swhBuw76lMVe0L' }
2024-03-30 13:47:06,350 - TEST - INFO - OP take: 10.104 ms
2024-03-30 13:47:06,357 - TEST - WARNING - Disconecting from broker