Test Report : TEST-memops_test-20240331122236.xml
Test Suite: memops_test-20240331122236
Results
| Duration | 4.364 sec |
| Tests | 1 |
| Failures | 0 |
Tests
memops_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 4.364 sec |
| Failed | None |
None
Suite stdout:
[1711887756338] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1711887756338] [INFO] FW-UPD Initialized
[1711887756338] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f1f7f25c680> (<uclient.hub.HUB object at 0x7f1f7f0d8890>,)
[1711887756338] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f1f7f25c680> ret: None
[1711887756338] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f1f7f46efc0> ('<48:3f:da:55:07:5b/status', '-1')
[1711887756338] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f1f7f46efc0> ret: None
[1711887756339] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f1f7f46ed40> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f1f7f0d8890>>,)
[1711887756339] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f1f7f46ed40> ret: None
[1711887756339] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f1f7f46ee80> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f1f7f0d8890>>,)
[1711887756339] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f1f7f46ee80> ret: None
[1711887756339] [WARN] HUB Try to connect without uri-schema
[1711887756339] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f1f7f46e700> ('x.ks.ua',)
[1711887757342] [INFO] HUB Connected
[1711887757342] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f1f7f46e980> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1f7f0d8890>>)
[1711887757386] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f1f7f46e980> ret: None
[1711887757386] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f1f7f46e980> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1f7f0d8890>>)
[1711887757430] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f1f7f46e980> ret: None
[1711887757430] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1711887757430] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f1f7f46e980> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1f7f0d8890>>)
[1711887757474] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f1f7f46e980> ret: None
[1711887757474] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1711887757474] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f1f7f46e980> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1f7f0d8890>>)
[1711887757518] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f1f7f46e980> ret: None
[1711887757518] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1711887757518] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f1f7f46e980> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1f7f0d8890>>)
[1711887757562] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f1f7f46e980> ret: None
[1711887757562] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1711887757562] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f1f7f46e980> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1f7f0d8890>>)
[1711887757606] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f1f7f46e980> ret: None
[1711887757606] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1711887757606] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f1f7f46e980> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1f7f0d8890>>)
[1711887757650] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f1f7f46e980> ret: None
[1711887757650] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f1f7f46e700> ret: None
[1711887757650] [DBG] HUB Step, state: 0 (next: 1711887758650)
[1711887757650] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1711887757650] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f1f7f46e840> ('/reg', '48:3f:da:55:07:5b')
[1711887757694] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f1f7f46e840> ret: None
[1711887757738] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1711887757698 }
[1711887757738] [INFO] HUB Registration finish, time: 1711887757698
[1711887757738] [DBG] FW-UPD enter <function device_base.register at 0x7f1f7f25cb80> (1711887757,)
[1711887757738] [INFO] FW-UPD Device 3996365522 registration on the server @ 1711887757
[1711887757738] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1711887757738] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f1f7f46e980> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f1f7f0d8890>>)
[1711887757782] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f1f7f46e980> ret: None
[1711887757782] [DBG] FW-UPD exit <function device_base.register at 0x7f1f7f25cb80> ret: None
[1711887758650] [DBG] HUB Step, state: 1 (next: 1711887759650)
[1711887758650] [DBG] FW-UPD enter <function device_base.info_req at 0x7f1f7f25d440> ()
[1711887758650] [DBG] FW-UPD exit <function device_base.info_req at 0x7f1f7f25d440> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1711887757}}
[1711887758650] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240331;master;5183e637011d54c26955b17b85024fc74d20124c", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1711887757}}]} }
[1711887758650] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f1f7f46e840> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240331;master;5183e637011d54c26955b17b85024fc74d20124c", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1711887757}}]}')
[1711887758650] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f1f7f46e840> ret: None
[1711887759671] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1711887759671] [INFO] FW-UPD Reading memory: @32[64]
[1711887759671] [INFO] HUB Publish message: { topic: 3996365522/read, value: "64;CTgmR2wXQUzwRxcegxR15qsbakzg6izZESV5IfQ4W6C0zgZtt3EPyuiIRjU7csqQP2CAW/fu9EO0PMhmAPVXEw==" }
[1711887759671] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f1f7f46e840> ('<48:3f:da:55:07:5b/3996365522/read', '"64;CTgmR2wXQUzwRxcegxR15qsbakzg6izZESV5IfQ4W6C0zgZtt3EPyuiIRjU7csqQP2CAW/fu9EO0PMhmAPVXEw=="')
[1711887759671] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f1f7f46e840> ret: None
[1711887760687] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;J04XqmK8TOIbuwrzZOmkhmMu4UwMqvKxa4E+cNS3huGQ0oQHw5uzG3tw4rFK5/Ldm8wYqYt1s1jOWCbAfZAHoQ==" }
[1711887760688] [INFO] HUB Publish message: { topic: 3996365522/write, value: "32;64" }
[1711887760688] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f1f7f46e840> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1711887760688] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f1f7f46e840> ret: None
[1711887760690] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f1f7f46ec00> ()
[1711887760691] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f1f7f46ec00> ret: None
[1711887760691] [WARN] HUB Disconecting from broker
Suite stderr:
2024-03-31 12:22:38,655 - TEST - INFO - OP take: 1004.737 ms
2024-03-31 12:22:38,661 - TEST - INFO - Connected with result code: 0
2024-03-31 12:22:38,668 - TEST - INFO - OP take: 10.162 ms
2024-03-31 12:22:39,669 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-03-31 12:22:39,686 - TEST - INFO - OP take: 10.119 ms
2024-03-31 12:22:40,687 - TEST - INFO - [dev] => { 'write' : '32;J04XqmK8TOIbuwrzZOmkhmMu4UwMq' }
2024-03-31 12:22:40,690 - TEST - INFO - OP take: 0.002 ms
2024-03-31 12:22:40,696 - TEST - WARNING - Disconecting from broker
2024-03-31 12:22:40,707 - TEST - WARNING - Disconecting from broker