Test Report : TEST-memops_test-20240422015301.xml
Test Suite: memops_test-20240422015301
Results
| Duration | 4.407 sec |
| Tests | 1 |
| Failures | 0 |
Tests
memops_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 4.407 sec |
| Failed | None |
None
Suite stdout:
[1713750781658] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1713750781658] [INFO] FW-UPD Initialized
[1713750781658] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f0e37730680> (<uclient.hub.HUB object at 0x7f0e380b38d0>,)
[1713750781658] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f0e37730680> ret: None
[1713750781658] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f0e379aafc0> ('<48:3f:da:55:07:5b/status', '-1')
[1713750781658] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f0e379aafc0> ret: None
[1713750781658] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f0e379aad40> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f0e380b38d0>>,)
[1713750781658] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f0e379aad40> ret: None
[1713750781658] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f0e379aae80> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f0e380b38d0>>,)
[1713750781658] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f0e379aae80> ret: None
[1713750781658] [WARN] HUB Try to connect without uri-schema
[1713750781658] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f0e379aa700> ('x.ks.ua',)
[1713750782662] [INFO] HUB Connected
[1713750782662] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f0e379aa980> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f0e380b38d0>>)
[1713750782706] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f0e379aa980> ret: None
[1713750782706] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f0e379aa980> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f0e380b38d0>>)
[1713750782750] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f0e379aa980> ret: None
[1713750782750] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1713750782750] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f0e379aa980> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f0e380b38d0>>)
[1713750782794] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f0e379aa980> ret: None
[1713750782794] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1713750782794] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f0e379aa980> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f0e380b38d0>>)
[1713750782838] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f0e379aa980> ret: None
[1713750782838] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1713750782838] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f0e379aa980> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f0e380b38d0>>)
[1713750782882] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f0e379aa980> ret: None
[1713750782882] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1713750782882] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f0e379aa980> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f0e380b38d0>>)
[1713750782926] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f0e379aa980> ret: None
[1713750782926] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1713750782926] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f0e379aa980> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f0e380b38d0>>)
[1713750782970] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f0e379aa980> ret: None
[1713750782970] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f0e379aa700> ret: None
[1713750782971] [DBG] HUB Step, state: 0 (next: 1713750783971)
[1713750782971] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1713750782971] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f0e379aa840> ('/reg', '48:3f:da:55:07:5b')
[1713750783015] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f0e379aa840> ret: None
[1713750783058] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1713750783022 }
[1713750783058] [INFO] HUB Registration finish, time: 1713750783022
[1713750783058] [DBG] FW-UPD enter <function device_base.register at 0x7f0e37730b80> (1713750783,)
[1713750783058] [INFO] FW-UPD Device 3996365522 registration on the server @ 1713750783
[1713750783058] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1713750783058] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f0e379aa980> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f0e380b38d0>>)
[1713750783102] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f0e379aa980> ret: None
[1713750783102] [DBG] FW-UPD exit <function device_base.register at 0x7f0e37730b80> ret: None
[1713750783971] [DBG] HUB Step, state: 1 (next: 1713750784971)
[1713750783971] [DBG] FW-UPD enter <function device_base.info_req at 0x7f0e37731440> ()
[1713750783971] [DBG] FW-UPD exit <function device_base.info_req at 0x7f0e37731440> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1713750783}}
[1713750783971] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240414;master;d98ab4d8ece41a102d19b961364f22d5e93d21ca", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1713750783}}]} }
[1713750783971] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f0e379aa840> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240414;master;d98ab4d8ece41a102d19b961364f22d5e93d21ca", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1713750783}}]}')
[1713750783971] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f0e379aa840> ret: None
[1713750785043] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1713750785043] [INFO] FW-UPD Reading memory: @32[64]
[1713750785043] [INFO] HUB Publish message: { topic: 3996365522/read, value: "64;krU02d9q1DTgDiCMkTw8Yp/KVvum5H44ggZxUkdeSNUxa494uCm65e1zNJmsKGVF2fh9+pgIg1tRyobyTwRW8Q==" }
[1713750785043] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f0e379aa840> ('<48:3f:da:55:07:5b/3996365522/read', '"64;krU02d9q1DTgDiCMkTw8Yp/KVvum5H44ggZxUkdeSNUxa494uCm65e1zNJmsKGVF2fh9+pgIg1tRyobyTwRW8Q=="')
[1713750785043] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f0e379aa840> ret: None
[1713750786050] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;ZpPvOP6pk5honrnGICgts/CQEQp7Rd3pO743o2dl77RJFhm/r4cDcFn6Yq6rzxIBmeL+Z9AhGyYXK3QEcvj6nA==" }
[1713750786050] [INFO] HUB Publish message: { topic: 3996365522/write, value: "32;64" }
[1713750786050] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f0e379aa840> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1713750786050] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f0e379aa840> ret: None
[1713750786053] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f0e379aac00> ()
[1713750786053] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f0e379aac00> ret: None
[1713750786054] [WARN] HUB Disconecting from broker
Suite stderr:
2024-04-22 01:53:03,976 - TEST - INFO - OP take: 1004.964 ms
2024-04-22 01:53:04,033 - TEST - INFO - Connected with result code: 0
2024-04-22 01:53:04,040 - TEST - INFO - OP take: 60.86 ms
2024-04-22 01:53:05,041 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-04-22 01:53:05,048 - TEST - INFO - OP take: 0.005 ms
2024-04-22 01:53:06,049 - TEST - INFO - [dev] => { 'write' : '32;ZpPvOP6pk5honrnGICgts/CQEQp7R' }
2024-04-22 01:53:06,053 - TEST - INFO - OP take: 0.002 ms
2024-04-22 01:53:06,059 - TEST - WARNING - Disconecting from broker