Test Report : TEST-client_registration_test-20240407045838.xml
Test Suite: client_registration_test-20240407045838
Results
| Duration | 3.669 sec |
| Tests | 1 |
| Failures | 0 |
Tests
client_registration_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.669 sec |
| Failed | None |
None
Suite stdout:
[1712465918865] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1712465918866] [INFO] FW-UPD Initialized
[1712465918866] [DBG] FW-UPD enter <function device_base.set_hub at 0x7f7d98e98cc0> (<uclient.hub.HUB object at 0x7f7d98d22090>,)
[1712465918866] [DBG] FW-UPD exit <function device_base.set_hub at 0x7f7d98e98cc0> ret: None
[1712465918866] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7f7d990934c0> ('<48:3f:da:55:07:5b/status', '-1')
[1712465918866] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7f7d990934c0> ret: None
[1712465918866] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7f7d99093240> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f7d98d22090>>,)
[1712465918866] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7f7d99093240> ret: None
[1712465918866] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7f7d99093380> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f7d98d22090>>,)
[1712465918866] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7f7d99093380> ret: None
[1712465918866] [WARN] HUB Try to connect without uri-schema
[1712465918866] [DBG] MQTT enter <function mqtt_transport.connect at 0x7f7d99092c00> ('x.ks.ua',)
[1712465920055] [INFO] HUB Connected
[1712465920055] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7d99092e80> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7d98d22090>>)
[1712465920098] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7d99092e80> ret: None
[1712465920098] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7d99092e80> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7d98d22090>>)
[1712465920142] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7d99092e80> ret: None
[1712465920142] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1712465920142] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7d99092e80> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7d98d22090>>)
[1712465920186] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7d99092e80> ret: None
[1712465920186] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1712465920186] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7d99092e80> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7d98d22090>>)
[1712465920230] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7d99092e80> ret: None
[1712465920230] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1712465920230] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7d99092e80> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7d98d22090>>)
[1712465920274] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7d99092e80> ret: None
[1712465920274] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1712465920274] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7d99092e80> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7d98d22090>>)
[1712465920318] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7d99092e80> ret: None
[1712465920318] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1712465920318] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7d99092e80> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7d98d22090>>)
[1712465920362] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7d99092e80> ret: None
[1712465920362] [DBG] MQTT exit <function mqtt_transport.connect at 0x7f7d99092c00> ret: None
[1712465920363] [DBG] HUB Step, state: 0 (next: 1712465921363)
[1712465920363] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1712465920363] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f7d99092d40> ('/reg', '48:3f:da:55:07:5b')
[1712465920406] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f7d99092d40> ret: None
[1712465920450] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1712465920417 }
[1712465920450] [INFO] HUB Registration finish, time: 1712465920417
[1712465920450] [DBG] FW-UPD enter <function device_base.register at 0x7f7d98e991c0> (1712465920,)
[1712465920450] [INFO] FW-UPD Device 3996365522 registration on the server @ 1712465920
[1712465920450] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1712465920450] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7f7d99092e80> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f7d98d22090>>)
[1712465920494] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7f7d99092e80> ret: None
[1712465920494] [DBG] FW-UPD exit <function device_base.register at 0x7f7d98e991c0> ret: None
[1712465921363] [DBG] HUB Step, state: 1 (next: 1712465922363)
[1712465921363] [DBG] FW-UPD enter <function device_base.info_req at 0x7f7d98e99a80> ()
[1712465921363] [DBG] FW-UPD exit <function device_base.info_req at 0x7f7d98e99a80> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1712465920}}
[1712465921363] [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": 1712465920}}]} }
[1712465921363] [DBG] MQTT enter <function mqtt_transport.publish at 0x7f7d99092d40> ('/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": 1712465920}}]}')
[1712465921363] [DBG] MQTT exit <function mqtt_transport.publish at 0x7f7d99092d40> ret: None
[1712465922530] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7f7d99093100> ()
[1712465922531] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7f7d99093100> ret: None
[1712465922538] [WARN] HUB Disconecting from broker
Suite stderr:
2024-04-07 04:58:41,372 - TEST - INFO - OP take: 1009.022 ms
2024-04-07 04:58:41,527 - TEST - INFO - Connected with result code: 0
2024-04-07 04:58:41,529 - TEST - INFO - OP take: 153.361 ms
2024-04-07 04:58:42,532 - TEST - WARNING - Disconecting from broker
2024-04-07 04:58:42,537 - TEST - WARNING - Disconecting from broker