Test Report : TEST-memops_test-20240120185949.xml
Test Suite: memops_test-20240120185949
Results
| Duration | 4.358 sec |
| Tests | 1 |
| Failures | 0 |
Tests
memops_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 4.358 sec |
| Failed | None |
None
Suite stdout:
[1705777189674] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1705777189674] [INFO] FW-UPD Initialized
[1705777189675] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f5f946dc360> (<uclient.hub.HUB object at 0x7f5f94550b90>,)
[1705777189675] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f5f946dc360> ret: None
[1705777189675] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f5f948eaca0> ('<48:3f:da:55:07:5b/status', '-1')
[1705777189675] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f5f948eaca0> ret: None
[1705777189675] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f5f948eaa20> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f5f94550b90>>,)
[1705777189675] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f5f948eaa20> ret: None
[1705777189675] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f5f948eab60> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f5f94550b90>>,)
[1705777189675] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f5f948eab60> ret: None
[1705777189675] [WARN] HUB Try to connect without uri-schema
[1705777189675] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f5f948e9e40> ('x.ks.ua',)
[1705777190678] [INFO] HUB Connected
[1705777190678] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5f948ea660> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5f94550b90>>)
[1705777190719] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5f948ea660> ret: None
[1705777190720] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5f948ea660> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5f94550b90>>)
[1705777190763] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5f948ea660> ret: None
[1705777190763] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1705777190763] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5f948ea660> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5f94550b90>>)
[1705777190807] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5f948ea660> ret: None
[1705777190807] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1705777190807] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5f948ea660> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5f94550b90>>)
[1705777190851] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5f948ea660> ret: None
[1705777190851] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1705777190851] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5f948ea660> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5f94550b90>>)
[1705777190895] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5f948ea660> ret: None
[1705777190895] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1705777190895] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5f948ea660> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5f94550b90>>)
[1705777190939] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5f948ea660> ret: None
[1705777190939] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1705777190939] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5f948ea660> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5f94550b90>>)
[1705777190983] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5f948ea660> ret: None
[1705777190983] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f5f948e9e40> ret: None
[1705777190984] [DBG] HUB Step, state: 0 (next: 1705777191984)
[1705777190984] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1705777190984] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f5f948ea520> ('/reg', '48:3f:da:55:07:5b')
[1705777191028] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f5f948ea520> ret: None
[1705777191071] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1705777191031 }
[1705777191071] [INFO] HUB Registration finish, time: 1705777191031
[1705777191071] [DBG] FW-UPD enter <function device_base.register at 0x7f5f946dc860> (1705777191,)
[1705777191071] [INFO] FW-UPD Device 3996365522 registration on the server @ 1705777191
[1705777191071] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1705777191071] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f5f948ea660> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f5f94550b90>>)
[1705777191115] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f5f948ea660> ret: None
[1705777191115] [DBG] FW-UPD exit <function device_base.register at 0x7f5f946dc860> ret: None
[1705777191984] [DBG] HUB Step, state: 1 (next: 1705777192984)
[1705777191984] [DBG] FW-UPD enter <function device_base.info_req at 0x7f5f946dd120> ()
[1705777191984] [DBG] FW-UPD exit <function device_base.info_req at 0x7f5f946dd120> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1705777191}}
[1705777191984] [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": 1705777191}}]} }
[1705777191984] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f5f948ea520> ('/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": 1705777191}}]}')
[1705777191984] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f5f948ea520> ret: None
[1705777193006] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1705777193006] [INFO] FW-UPD Reading memory: @32[64]
[1705777193007] [INFO] HUB Publish message: { topic: 3996365522/read, value: "64;eFAq5FY40qxhxSviqjpMrGD+SfZORuPnILt7AFa/Wt2U8JI1AiOP6FhmGaVASCuEdRP44cgBDIgoS5fae+ac2w==" }
[1705777193007] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f5f948ea520> ('<48:3f:da:55:07:5b/3996365522/read', '"64;eFAq5FY40qxhxSviqjpMrGD+SfZORuPnILt7AFa/Wt2U8JI1AiOP6FhmGaVASCuEdRP44cgBDIgoS5fae+ac2w=="')
[1705777193007] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f5f948ea520> ret: None
[1705777194018] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;Mffp+E5ufGez+IcKy+TvHhstMIU+XX3MkKfe/dVusAs1CNUDO6sbXA2N8gF16JmjFRcIkoTd2CWv1Um0DxMUbw==" }
[1705777194018] [INFO] HUB Publish message: { topic: 3996365522/write, value: "32;64" }
[1705777194018] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f5f948ea520> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1705777194018] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f5f948ea520> ret: None
[1705777194021] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f5f948ea8e0> ()
[1705777194021] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f5f948ea8e0> ret: None
[1705777194021] [WARN] HUB Disconecting from broker
Suite stderr:
2024-01-20 18:59:51,990 - TEST - INFO - OP take: 1005.988 ms
2024-01-20 18:59:51,999 - TEST - INFO - Connected with result code: 0
2024-01-20 18:59:52,003 - TEST - INFO - OP take: 10.071 ms
2024-01-20 18:59:53,005 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-01-20 18:59:53,016 - TEST - INFO - OP take: 10.139 ms
2024-01-20 18:59:54,017 - TEST - INFO - [dev] => { 'write' : '32;Mffp+E5ufGez+IcKy+TvHhstMIU+X' }
2024-01-20 18:59:54,020 - TEST - INFO - OP take: 0.002 ms
2024-01-20 18:59:54,026 - TEST - WARNING - Disconecting from broker