Test Report : TEST-version_topic_test-20240211155322.xml
Test Suite: version_topic_test-20240211155322
Results
| Duration | 3.362 sec |
| Tests | 1 |
| Failures | 0 |
Tests
version_topic_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.362 sec |
| Failed | None |
None
Suite stdout:
[1707666802161] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1707666802161] [INFO] FW-UPD Initialized
[1707666802161] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f544973c5e0> (<uclient.hub.HUB object at 0x7f54495b92d0>,)
[1707666802161] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f544973c5e0> ret: None
[1707666802161] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f5449952f20> ('<48:3f:da:55:07:5b/status', '-1')
[1707666802161] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f5449952f20> ret: None
[1707666802161] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f5449952ca0> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f54495b92d0>>,)
[1707666802161] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f5449952ca0> ret: None
[1707666802161] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f5449952de0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f54495b92d0>>,)
[1707666802161] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f5449952de0> ret: None
[1707666802161] [WARN] HUB Try to connect without uri-schema
[1707666802162] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f5449952660> ('x.ks.ua',)
[1707666803165] [INFO] HUB Connected
[1707666803165] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f54499528e0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f54495b92d0>>)
[1707666803207] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f54499528e0> ret: None
[1707666803208] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f54499528e0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f54495b92d0>>)
[1707666803251] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f54499528e0> ret: None
[1707666803251] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1707666803251] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f54499528e0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f54495b92d0>>)
[1707666803295] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f54499528e0> ret: None
[1707666803295] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1707666803295] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f54499528e0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f54495b92d0>>)
[1707666803339] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f54499528e0> ret: None
[1707666803339] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1707666803339] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f54499528e0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f54495b92d0>>)
[1707666803383] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f54499528e0> ret: None
[1707666803383] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1707666803383] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f54499528e0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f54495b92d0>>)
[1707666803427] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f54499528e0> ret: None
[1707666803427] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1707666803428] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f54499528e0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f54495b92d0>>)
[1707666803471] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f54499528e0> ret: None
[1707666803471] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f5449952660> ret: None
[1707666803473] [DBG] HUB Step, state: 0 (next: 1707666804473)
[1707666803473] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1707666803473] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f54499527a0> ('/reg', '48:3f:da:55:07:5b')
[1707666803519] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f54499527a0> ret: None
[1707666803559] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1707666803518 }
[1707666803559] [INFO] HUB Registration finish, time: 1707666803518
[1707666803559] [DBG] FW-UPD enter <function device_base.register at 0x7f544973cae0> (1707666803,)
[1707666803559] [INFO] FW-UPD Device 3996365522 registration on the server @ 1707666803
[1707666803559] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1707666803559] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f54499528e0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f54495b92d0>>)
[1707666803603] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f54499528e0> ret: None
[1707666803604] [DBG] FW-UPD exit <function device_base.register at 0x7f544973cae0> ret: None
[1707666804473] [DBG] HUB Step, state: 1 (next: 1707666805473)
[1707666804473] [DBG] FW-UPD enter <function device_base.info_req at 0x7f544973d3a0> ()
[1707666804473] [DBG] FW-UPD exit <function device_base.info_req at 0x7f544973d3a0> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1707666803}}
[1707666804473] [INFO] HUB Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240211;master;c7a377ab91e966dd8ef50ec839bbd0cd5f178bbe", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1707666803}}]} }
[1707666804473] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f54499527a0> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240211;master;c7a377ab91e966dd8ef50ec839bbd0cd5f178bbe", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1707666803}}]}')
[1707666804473] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f54499527a0> ret: None
[1707666805498] [INFO] HUB Message: {topic: >48:3f:da:55:07:5b/version, value: version }
[1707666805498] [INFO] HUB Publish message: { topic: version, value: R240211;master;c7a377ab91e966dd8ef50ec839bbd0cd5f178bbe }
[1707666805498] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f54499527a0> ('<48:3f:da:55:07:5b/version', 'R240211;master;c7a377ab91e966dd8ef50ec839bbd0cd5f178bbe')
[1707666805498] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f54499527a0> ret: None
[1707666805521] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f5449952b60> ()
[1707666805521] [WARN] HUB Disconecting from broker
[1707666805521] [WARN] MQTT Reconnecting in 1s
[1707666805521] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f5449952b60> ret: None
Suite stderr:
2024-02-11 15:53:24,480 - TEST - INFO - OP take: 1007.673 ms
2024-02-11 15:53:24,489 - TEST - INFO - Connected with result code: 0
2024-02-11 15:53:24,493 - TEST - INFO - OP take: 10.07 ms
2024-02-11 15:53:25,494 - TEST - INFO - [hub] => { 'version' : 'version' }
2024-02-11 15:53:25,520 - TEST - INFO - OP take: 10.226 ms
2024-02-11 15:53:25,522 - TEST - WARNING - Disconecting from broker