Test Report : TEST-client_registration_test-20240414061452.xml
Test Suite: client_registration_test-20240414061452
Results
| Duration | 3.348 sec |
| Tests | 1 |
| Failures | 0 |
Tests
client_registration_test
| Test case: | test |
| Outcome: | Passed |
| Duration: | 3.348 sec |
| Failed | None |
None
Suite stdout:
[1713075292268] [INFO] DEV-3996365522 Device 3996365522 (type: 1) has been created
[1713075292268] [INFO] FW-UPD Initialized
[1713075292268] [DBG] FW-UPD enter <function device_base.set_hub at 0x7ff9161f4cc0> (<uclient.hub.HUB object at 0x7ff916051d10>,)
[1713075292268] [DBG] FW-UPD exit <function device_base.set_hub at 0x7ff9161f4cc0> ret: None
[1713075292268] [DBG] MQTT enter <function mqtt_transport.set_lastwill at 0x7ff9163e34c0> ('<48:3f:da:55:07:5b/status', '-1')
[1713075292268] [DBG] MQTT exit <function mqtt_transport.set_lastwill at 0x7ff9163e34c0> ret: None
[1713075292268] [DBG] MQTT enter <function mqtt_transport.on_connect at 0x7ff9163e3240> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7ff916051d10>>,)
[1713075292268] [DBG] MQTT exit <function mqtt_transport.on_connect at 0x7ff9163e3240> ret: None
[1713075292268] [DBG] MQTT enter <function mqtt_transport.on_disconnect at 0x7ff9163e3380> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7ff916051d10>>,)
[1713075292268] [DBG] MQTT exit <function mqtt_transport.on_disconnect at 0x7ff9163e3380> ret: None
[1713075292268] [WARN] HUB Try to connect without uri-schema
[1713075292268] [DBG] MQTT enter <function mqtt_transport.connect at 0x7ff9163e2c00> ('x.ks.ua',)
[1713075293272] [INFO] HUB Connected
[1713075293272] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7ff9163e2e80> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff916051d10>>)
[1713075293314] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7ff9163e2e80> ret: None
[1713075293315] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7ff9163e2e80> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff916051d10>>)
[1713075293358] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7ff9163e2e80> ret: None
[1713075293358] [INFO] HUB (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1713075293358] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7ff9163e2e80> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff916051d10>>)
[1713075293402] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7ff9163e2e80> ret: None
[1713075293402] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1713075293402] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7ff9163e2e80> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff916051d10>>)
[1713075293446] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7ff9163e2e80> ret: None
[1713075293446] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1713075293446] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7ff9163e2e80> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff916051d10>>)
[1713075293490] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7ff9163e2e80> ret: None
[1713075293490] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1713075293490] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7ff9163e2e80> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff916051d10>>)
[1713075293534] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7ff9163e2e80> ret: None
[1713075293534] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1713075293534] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7ff9163e2e80> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff916051d10>>)
[1713075293578] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7ff9163e2e80> ret: None
[1713075293578] [DBG] MQTT exit <function mqtt_transport.connect at 0x7ff9163e2c00> ret: None
[1713075293580] [DBG] HUB Step, state: 0 (next: 1713075294580)
[1713075293580] [INFO] HUB Publish reg token: 48:3f:da:55:07:5b
[1713075293580] [DBG] MQTT enter <function mqtt_transport.publish at 0x7ff9163e2d40> ('/reg', '48:3f:da:55:07:5b')
[1713075293623] [DBG] MQTT exit <function mqtt_transport.publish at 0x7ff9163e2d40> ret: None
[1713075293666] [INFO] HUB Message: {topic: /48:3f:da:55:07:5b/time, value: 1713075293632 }
[1713075293666] [INFO] HUB Registration finish, time: 1713075293632
[1713075293666] [DBG] FW-UPD enter <function device_base.register at 0x7ff9161f51c0> (1713075293,)
[1713075293666] [INFO] FW-UPD Device 3996365522 registration on the server @ 1713075293
[1713075293666] [INFO] HUB (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1713075293666] [DBG] MQTT enter <function mqtt_transport.subscribe at 0x7ff9163e2e80> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff916051d10>>)
[1713075293710] [DBG] MQTT exit <function mqtt_transport.subscribe at 0x7ff9163e2e80> ret: None
[1713075293710] [DBG] FW-UPD exit <function device_base.register at 0x7ff9161f51c0> ret: None
[1713075294580] [DBG] HUB Step, state: 1 (next: 1713075295580)
[1713075294580] [DBG] FW-UPD enter <function device_base.info_req at 0x7ff9161f5a80> ()
[1713075294580] [DBG] FW-UPD exit <function device_base.info_req at 0x7ff9161f5a80> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1713075293}}
[1713075294580] [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": 1713075293}}]} }
[1713075294580] [DBG] MQTT enter <function mqtt_transport.publish at 0x7ff9163e2d40> ('/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": 1713075293}}]}')
[1713075294580] [DBG] MQTT exit <function mqtt_transport.publish at 0x7ff9163e2d40> ret: None
[1713075295604] [DBG] MQTT enter <function mqtt_transport.disconnect at 0x7ff9163e3100> ()
[1713075295605] [DBG] MQTT exit <function mqtt_transport.disconnect at 0x7ff9163e3100> ret: None
[1713075295608] [WARN] HUB Disconecting from broker
Suite stderr:
2024-04-14 06:14:54,589 - TEST - INFO - OP take: 1009.042 ms
2024-04-14 06:14:54,601 - TEST - INFO - Connected with result code: 0
2024-04-14 06:14:54,604 - TEST - INFO - OP take: 10.621 ms
2024-04-14 06:14:55,615 - TEST - WARNING - Disconecting from broker