Test Report : TEST-memops_test-20240414061507.xml
Test Suite: memops_test-20240414061507
Results
| Duration | 4.368 sec |
| Tests | 1 |
| Failures | 0 |
Tests
memops_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 4.368 sec |
| Failed | None |
None
Suite stdout:
[1713075307235] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1713075307235] [INFO] FW-UPD Initialized
[1713075307236] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f7c39f88680> (<uclient.hub.HUB object at 0x7f7c3a973d10>,)
[1713075307236] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f7c39f88680> ret: None
[1713075307236] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f7c3a19afc0> ('<48:3f:da:55:07:5b/status', '-1')
[1713075307236] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f7c3a19afc0> ret: None
[1713075307236] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f7c3a19ad40> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f7c3a973d10>>,)
[1713075307236] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f7c3a19ad40> ret: None
[1713075307236] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f7c3a19ae80> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f7c3a973d10>>,)
[1713075307236] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f7c3a19ae80> ret: None
[1713075307236] [WARN] HUB Try to connect without uri-schema
[1713075307236] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f7c3a19a700> ('x.ks.ua',)
[1713075308240] [INFO] HUB Connected
[1713075308240] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7c3a19a980> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7c3a973d10>>)
[1713075308282] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7c3a19a980> ret: None
[1713075308282] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7c3a19a980> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7c3a973d10>>)
[1713075308326] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7c3a19a980> ret: None
[1713075308326] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1713075308326] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7c3a19a980> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7c3a973d10>>)
[1713075308370] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7c3a19a980> ret: None
[1713075308370] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1713075308370] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7c3a19a980> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7c3a973d10>>)
[1713075308414] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7c3a19a980> ret: None
[1713075308414] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1713075308414] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7c3a19a980> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7c3a973d10>>)
[1713075308458] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7c3a19a980> ret: None
[1713075308458] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1713075308458] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7c3a19a980> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7c3a973d10>>)
[1713075308502] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7c3a19a980> ret: None
[1713075308502] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1713075308502] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7c3a19a980> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7c3a973d10>>)
[1713075308546] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7c3a19a980> ret: None
[1713075308546] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f7c3a19a700> ret: None
[1713075308547] [DBG] HUB Step, state: 0 (next: 1713075309547)
[1713075308547] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1713075308547] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f7c3a19a840> ('/reg', '48:3f:da:55:07:5b')
[1713075308590] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f7c3a19a840> ret: None
[1713075308634] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1713075308593 }
[1713075308634] [INFO] HUB Registration finish, time: 1713075308593
[1713075308634] [DBG] FW-UPD enter <function device_base.register at 0x7f7c39f88b80> (1713075308,)
[1713075308634] [INFO] FW-UPD Device 3996365522 registration on the server @ 1713075308
[1713075308634] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1713075308634] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7c3a19a980> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7c3a973d10>>)
[1713075308678] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7c3a19a980> ret: None
[1713075308678] [DBG] FW-UPD exit <function device_base.register at 0x7f7c39f88b80> ret: None
[1713075309547] [DBG] HUB Step, state: 1 (next: 1713075310547)
[1713075309547] [DBG] FW-UPD enter <function device_base.info_req at 0x7f7c39f89440> ()
[1713075309547] [DBG] FW-UPD exit <function device_base.info_req at 0x7f7c39f89440> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1713075308}}
[1713075309547] [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": 1713075308}}]} }
[1713075309547] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f7c3a19a840> ('/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": 1713075308}}]}')
[1713075309547] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f7c3a19a840> ret: None
[1713075310568] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1713075310568] [INFO] FW-UPD Reading memory: @32[64]
[1713075310568] [INFO] HUB Publish message: { topic: 3996365522/read, value: "64;jhpecmE4gNlVPo+wf7BAKCIyWhVG9NFg/tupypX5goSTxJEFHwbVzBthwgBZavB0DiIGvhq8Eypd8MiBYGM7Wg==" }
[1713075310568] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f7c3a19a840> ('<48:3f:da:55:07:5b/3996365522/read', '"64;jhpecmE4gNlVPo+wf7BAKCIyWhVG9NFg/tupypX5goSTxJEFHwbVzBthwgBZavB0DiIGvhq8Eypd8MiBYGM7Wg=="')
[1713075310568] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f7c3a19a840> ret: None
[1713075311574] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;42Sw4tJsPndn8j3LIztU8AYvTE6we7E5jPjbAAvcHPDM9VFp8j5A1iSRI3WcnuIGxyApK1d20nWzSOfpsuCDpw==" }
[1713075311574] [INFO] HUB Publish message: { topic: 3996365522/write, value: "32;64" }
[1713075311574] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f7c3a19a840> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1713075311574] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f7c3a19a840> ret: None
[1713075311585] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f7c3a19ac00> ()
[1713075311585] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f7c3a19ac00> ret: None
[1713075311586] [WARN] HUB Disconecting from broker
Suite stderr:
2024-04-14 06:15:09,552 - TEST - INFO - OP take: 1005.537 ms
2024-04-14 06:15:09,561 - TEST - INFO - Connected with result code: 0
2024-04-14 06:15:09,566 - TEST - INFO - OP take: 10.104 ms
2024-04-14 06:15:10,567 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-04-14 06:15:10,572 - TEST - INFO - OP take: 0.005 ms
2024-04-14 06:15:11,573 - TEST - INFO - [dev] => { 'write' : '32;42Sw4tJsPndn8j3LIztU8AYvTE6we' }
2024-04-14 06:15:11,584 - TEST - INFO - OP take: 10.106 ms
2024-04-14 06:15:11,592 - TEST - WARNING - Disconecting from broker
2024-04-14 06:15:11,614 - TEST - WARNING - Disconecting from broker