Test Report : TEST-memops_test-20240407045854.xml

Test Suite: memops_test-20240407045854

Results

Duration4.381 sec
Tests1
Failures0

Tests

memops_test

Test case:test
Outcome:Passed
Duration:4.381 sec
FailedNone
None

Suite stdout:

[1712465934371] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1712465934371] [INFO] FW-UPD  Initialized
[1712465934371]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7f8d06384680> (<uclient.hub.HUB object at 0x7f8d062009d0>,)
[1712465934371]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7f8d06384680> ret: None
[1712465934371]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7f8d065fefc0> ('<48:3f:da:55:07:5b/status', '-1')
[1712465934371]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7f8d065fefc0> ret: None
[1712465934371]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7f8d065fed40> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f8d062009d0>>,)
[1712465934371]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7f8d065fed40> ret: None
[1712465934371]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7f8d065fee80> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f8d062009d0>>,)
[1712465934371]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7f8d065fee80> ret: None
[1712465934371] [WARN] HUB  Try to connect without uri-schema
[1712465934371]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7f8d065fe700> ('x.ks.ua',)
[1712465935374] [INFO] HUB  Connected
[1712465935375]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f8d065fe980> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8d062009d0>>)
[1712465935418]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f8d065fe980> ret: None
[1712465935418]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f8d065fe980> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8d062009d0>>)
[1712465935462]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f8d065fe980> ret: None
[1712465935462] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1712465935462]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f8d065fe980> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8d062009d0>>)
[1712465935506]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f8d065fe980> ret: None
[1712465935506] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1712465935506]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f8d065fe980> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8d062009d0>>)
[1712465935550]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f8d065fe980> ret: None
[1712465935550] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1712465935550]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f8d065fe980> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8d062009d0>>)
[1712465935594]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f8d065fe980> ret: None
[1712465935594] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1712465935594]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f8d065fe980> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8d062009d0>>)
[1712465935638]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f8d065fe980> ret: None
[1712465935638] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1712465935638]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f8d065fe980> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8d062009d0>>)
[1712465935682]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f8d065fe980> ret: None
[1712465935682]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7f8d065fe700> ret: None
[1712465935685]  [DBG] HUB  Step, state: 0 (next: 1712465936685)
[1712465935685] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1712465935685]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f8d065fe840> ('/reg', '48:3f:da:55:07:5b')
[1712465935726]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f8d065fe840> ret: None
[1712465935770] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1712465935734 }
[1712465935770] [INFO] HUB  Registration finish, time: 1712465935734
[1712465935770]  [DBG] FW-UPD  enter <function device_base.register at 0x7f8d06384b80> (1712465935,)
[1712465935770] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1712465935
[1712465935770] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1712465935770]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f8d065fe980> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f8d062009d0>>)
[1712465935814]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f8d065fe980> ret: None
[1712465935814]  [DBG] FW-UPD  exit <function device_base.register at 0x7f8d06384b80> ret: None
[1712465936685]  [DBG] HUB  Step, state: 1 (next: 1712465937685)
[1712465936685]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7f8d06385440> ()
[1712465936685]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7f8d06385440> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1712465935}}
[1712465936685] [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": 1712465935}}]} }
[1712465936685]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f8d065fe840> ('/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": 1712465935}}]}')
[1712465936685]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f8d065fe840> ret: None
[1712465937718] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/read, value: "32;64" }
[1712465937719] [INFO] FW-UPD  Reading memory: @32[64]
[1712465937719] [INFO] HUB  Publish message: { topic: 3996365522/read, value: "64;CWebgMSWvlxty4Km+Abg6qlIHDW7uWAo0+5g/Vl9sOjfA91nIwLdUFLVahFwD3eLMoVhBdq3C4AblvT4CJUMVw==" }
[1712465937719]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f8d065fe840> ('<48:3f:da:55:07:5b/3996365522/read', '"64;CWebgMSWvlxty4Km+Abg6qlIHDW7uWAo0+5g/Vl9sOjfA91nIwLdUFLVahFwD3eLMoVhBdq3C4AblvT4CJUMVw=="')
[1712465937720]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f8d065fe840> ret: None
[1712465938726] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/3996365522/write, value: "32;yr47gfPJrKk1/WLZo2XmLGMGHUt/tH9alCqmQ0IrGeg9ZcikVM389l3Xy3HLzTwLjzqC29E5cNe9FGx/jzqE/g==" }
[1712465938727] [INFO] HUB  Publish message: { topic: 3996365522/write, value: "32;64" }
[1712465938727]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f8d065fe840> ('<48:3f:da:55:07:5b/3996365522/write', '"32;64"')
[1712465938727]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f8d065fe840> ret: None
[1712465938733]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7f8d065fec00> ()
[1712465938733]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7f8d065fec00> ret: None
[1712465938734] [WARN] HUB  Disconecting from broker

Suite stderr:

2024-04-07 04:58:56,693 - TEST - INFO - OP take: 1009.313 ms
2024-04-07 04:58:56,707 - TEST - INFO - Connected with result code: 0
2024-04-07 04:58:56,712 - TEST - INFO - OP take: 10.088 ms
2024-04-07 04:58:57,715 - TEST - INFO - [dev] => { 'read' : '32;64' }
2024-04-07 04:58:57,725 - TEST - INFO - OP take: 0.003 ms
2024-04-07 04:58:58,725 - TEST - INFO - [dev] => { 'write' : '32;yr47gfPJrKk1/WLZo2XmLGMGHUt/t' }
2024-04-07 04:58:58,732 - TEST - INFO - OP take: 0.004 ms
2024-04-07 04:58:58,740 - TEST - WARNING - Disconecting from broker
2024-04-07 04:58:58,789 - TEST - WARNING - Disconecting from broker