Test Report : TEST-version_topic_test-20240422015805.xml

  • version_topic_test

Test Suite: version_topic_test-20240422015805

Results

Duration3.349 sec
Tests1
Failures0

Tests

version_topic_test

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

Suite stdout:

[1713751085677] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1713751085678] [INFO] FW-UPD  Initialized
[1713751085678]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7f309103c5e0> (<uclient.hub.HUB object at 0x7f30912afc50>,)
[1713751085678]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7f309103c5e0> ret: None
[1713751085678]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7f30912baf20> ('<48:3f:da:55:07:5b/status', '-1')
[1713751085678]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7f30912baf20> ret: None
[1713751085678]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7f30912baca0> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7f30912afc50>>,)
[1713751085678]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7f30912baca0> ret: None
[1713751085678]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7f30912bade0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7f30912afc50>>,)
[1713751085678]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7f30912bade0> ret: None
[1713751085678] [WARN] HUB  Try to connect without uri-schema
[1713751085678]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7f30912ba660> ('x.ks.ua',)
[1713751086681] [INFO] HUB  Connected
[1713751086681]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f30912ba8e0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f30912afc50>>)
[1713751086722]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f30912ba8e0> ret: None
[1713751086722]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f30912ba8e0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f30912afc50>>)
[1713751086766]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f30912ba8e0> ret: None
[1713751086766] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1713751086766]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f30912ba8e0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f30912afc50>>)
[1713751086810]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f30912ba8e0> ret: None
[1713751086810] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1713751086810]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f30912ba8e0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f30912afc50>>)
[1713751086855]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f30912ba8e0> ret: None
[1713751086855] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1713751086855]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f30912ba8e0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f30912afc50>>)
[1713751086898]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f30912ba8e0> ret: None
[1713751086898] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1713751086898]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f30912ba8e0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f30912afc50>>)
[1713751086942]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f30912ba8e0> ret: None
[1713751086942] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1713751086942]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f30912ba8e0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f30912afc50>>)
[1713751086986]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f30912ba8e0> ret: None
[1713751086986]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7f30912ba660> ret: None
[1713751086987]  [DBG] HUB  Step, state: 0 (next: 1713751087987)
[1713751086987] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1713751086987]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f30912ba7a0> ('/reg', '48:3f:da:55:07:5b')
[1713751087030]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f30912ba7a0> ret: None
[1713751087074] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1713751087033 }
[1713751087074] [INFO] HUB  Registration finish, time: 1713751087033
[1713751087074]  [DBG] FW-UPD  enter <function device_base.register at 0x7f309103cae0> (1713751087,)
[1713751087074] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1713751087
[1713751087074] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1713751087074]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7f30912ba8e0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7f30912afc50>>)
[1713751087118]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7f30912ba8e0> ret: None
[1713751087118]  [DBG] FW-UPD  exit <function device_base.register at 0x7f309103cae0> ret: None
[1713751087987]  [DBG] HUB  Step, state: 1 (next: 1713751088987)
[1713751087987]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7f309103d3a0> ()
[1713751087987]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7f309103d3a0> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1713751087}}
[1713751087987] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240422;master;1cbe23275f06225250929fe7fe58dd3456c46af0", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1713751087}}]} }
[1713751087987]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f30912ba7a0> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240422;master;1cbe23275f06225250929fe7fe58dd3456c46af0", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1713751087}}]}')
[1713751087987]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f30912ba7a0> ret: None
[1713751089006] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/version, value: version }
[1713751089006] [INFO] HUB  Publish message: { topic: version, value: R240422;master;1cbe23275f06225250929fe7fe58dd3456c46af0 }
[1713751089006]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7f30912ba7a0> ('<48:3f:da:55:07:5b/version', 'R240422;master;1cbe23275f06225250929fe7fe58dd3456c46af0')
[1713751089006]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7f30912ba7a0> ret: None
[1713751089011]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7f30912bab60> ()
[1713751089011]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7f30912bab60> ret: None
[1713751089013] [WARN] HUB  Disconecting from broker

Suite stderr:

2024-04-22 01:58:07,992 - TEST - INFO - OP take: 1004.905 ms
2024-04-22 01:58:07,997 - TEST - INFO - Connected with result code: 0
2024-04-22 01:58:08,004 - TEST - INFO - OP take: 10.115 ms
2024-04-22 01:58:09,005 - TEST - INFO - [hub] => { 'version' : 'version' }
2024-04-22 01:58:09,011 - TEST - INFO - OP take: 0.005 ms
2024-04-22 01:58:09,019 - TEST - WARNING - Disconecting from broker
2024-04-22 01:58:09,031 - TEST - WARNING - Disconecting from broker