Test Report : TEST-memops_test-20240413182545.xml
Test Suite: memops_test-20240413182545
Results
| Duration | 4.375 sec |
| Tests | 1 |
| Failures | 0 |
Tests
memops_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 4.375 sec |
| Failed | None |
None
Suite stdout:
[1713032745830] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1713032745830] [INFO] FW-UPD Initialized
[1713032745830] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f2eb78ac680> (<uclient.hub.HUB object at 0x7f2eb83a4cd0>,)
[1713032745830] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f2eb78ac680> ret: None
[1713032745830] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f2eb7b22fc0> ('<48:3f:da:55:07:5b/status', '-1')
[1713032745830] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f2eb7b22fc0> ret: None
[1713032745830] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f2eb7b22d40> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f2eb83a4cd0>>,)
[1713032745830] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f2eb7b22d40> ret: None
[1713032745830] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f2eb7b22e80> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f2eb83a4cd0>>,)
[1713032745830] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f2eb7b22e80> ret: None
[1713032745830] [WARN] HUB Try to connect without uri-schema
[1713032745830] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f2eb7b22700> ('x.ks.ua',)
[1713032746834] [INFO] HUB Connected
[1713032746834] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f2eb7b22980> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2eb83a4cd0>>)
[1713032746878] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f2eb7b22980> ret: None
[1713032746878] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f2eb7b22980> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2eb83a4cd0>>)
[1713032746923] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f2eb7b22980> ret: None
[1713032746923] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1713032746923] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f2eb7b22980> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2eb83a4cd0>>)
[1713032746966] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f2eb7b22980> ret: None
[1713032746966] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1713032746966] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f2eb7b22980> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2eb83a4cd0>>)
[1713032747010] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f2eb7b22980> ret: None
[1713032747010] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1713032747010] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f2eb7b22980> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2eb83a4cd0>>)
[1713032747054] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f2eb7b22980> ret: None
[1713032747054] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1713032747054] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f2eb7b22980> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2eb83a4cd0>>)
[1713032747098] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f2eb7b22980> ret: None
[1713032747098] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1713032747098] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f2eb7b22980> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2eb83a4cd0>>)
[1713032747142] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f2eb7b22980> ret: None
[1713032747142] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f2eb7b22700> ret: None
[1713032747143] [DBG] HUB Step, state: 0 (next: 1713032748143)
[1713032747143] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1713032747143] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f2eb7b22840> ('/reg', '48:3f:da:55:07:5b')
[1713032747187] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f2eb7b22840> ret: None
[1713032747230] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1713032747188 }
[1713032747230] [INFO] HUB Registration finish, time: 1713032747188
[1713032747230] [DBG] FW-UPD enter <function device_base.register at 0x7f2eb78acb80> (1713032747,)
[1713032747230] [INFO] FW-UPD Device 3996365522 registration on the server @ 1713032747
[1713032747230] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1713032747230] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f2eb7b22980> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f2eb83a4cd0>>)
[1713032747274] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f2eb7b22980> ret: None
[1713032747275] [DBG] FW-UPD exit <function device_base.register at 0x7f2eb78acb80> ret: None
[1713032748143] [DBG] HUB Step, state: 1 (next: 1713032749143)
[1713032748143] [DBG] FW-UPD enter <function device_base.info_req at 0x7f2eb78ad440> ()
[1713032748143] [DBG] FW-UPD exit <function device_base.info_req at 0x7f2eb78ad440> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1713032747}}
[1713032748143] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240331;master;283e2051d299580edb55e5b0202453ee37bd3631", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1713032747}}]} }
[1713032748143] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f2eb7b22840> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240331;master;283e2051d299580edb55e5b0202453ee37bd3631", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1713032747}}]}')
[1713032748143] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f2eb7b22840> ret: None
[1713032749168] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1713032749168] [INFO] FW-UPD Reading memory: @32[64]
[1713032749168] [INFO] HUB Publish message: { topic: 3996365522/read, value: "64;5DxvBwTp2wBmUU98FMmyZAnRzyMNdu6SfcOH7oBWYeQjeVi7bhrRH4g8o3OlpmW57NLsavOoxBB7iCORpz6hqQ==" }
[1713032749168] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f2eb7b22840> ('<48:3f:da:55:07:5b/3996365522/read', '"64;5DxvBwTp2wBmUU98FMmyZAnRzyMNdu6SfcOH7oBWYeQjeVi7bhrRH4g8o3OlpmW57NLsavOoxBB7iCORpz6hqQ=="')
[1713032749168] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f2eb7b22840> ret: None
[1713032750184] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;ccF799Rc2zwaSoAoz8wAuhe0tvF9GRsW9EDC/M9cO0xYrYKhPURnZbjZPux4ycDfPJ557000J3VEa0B7tv9gZQ==" }
[1713032750184] [INFO] HUB Publish message: { topic: 3996365522/write, value: "32;64" }
[1713032750184] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f2eb7b22840> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1713032750184] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f2eb7b22840> ret: None
[1713032750191] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f2eb7b22c00> ()
[1713032750192] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f2eb7b22c00> ret: None
[1713032750192] [WARN] HUB Disconecting from broker
Suite stderr:
2024-04-13 18:25:48,152 - TEST - INFO - OP take: 1008.978 ms
2024-04-13 18:25:48,160 - TEST - INFO - Connected with result code: 0
2024-04-13 18:25:48,165 - TEST - INFO - OP take: 10.076 ms
2024-04-13 18:25:49,166 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-04-13 18:25:49,182 - TEST - INFO - OP take: 10.14 ms
2024-04-13 18:25:50,182 - TEST - INFO - [dev] => { 'write' : '32;ccF799Rc2zwaSoAoz8wAuhe0tvF9G' }
2024-04-13 18:25:50,189 - TEST - INFO - OP take: 0.003 ms
2024-04-13 18:25:50,197 - TEST - WARNING - Disconecting from broker