Test Report : TEST-version_topic_test-20240330135204.xml

  • version_topic_test

Test Suite: version_topic_test-20240330135204

Results

Duration3.342 sec
Tests1
Failures0

Tests

version_topic_test

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

Suite stdout:

[1711806724723] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1711806724724] [INFO] FW-UPD  Initialized
[1711806724724]  [DBG] FW-UPD  enter <function device_base.set_hub at 0x7ff72f6785e0> (<uclient.hub.HUB object at 0x7ff72f4f5150>,)
[1711806724724]  [DBG] FW-UPD  exit <function device_base.set_hub at 0x7ff72f6785e0> ret: None
[1711806724724]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7ff72f8f6f20> ('<48:3f:da:55:07:5b/status', '-1')
[1711806724724]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7ff72f8f6f20> ret: None
[1711806724724]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7ff72f8f6ca0> (<bound method HUB.__on_connect of <uclient.hub.HUB object at 0x7ff72f4f5150>>,)
[1711806724724]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7ff72f8f6ca0> ret: None
[1711806724724]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7ff72f8f6de0> (<bound method HUB.__on_disconnect of <uclient.hub.HUB object at 0x7ff72f4f5150>>,)
[1711806724724]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7ff72f8f6de0> ret: None
[1711806724724] [WARN] HUB  Try to connect without uri-schema
[1711806724724]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7ff72f8f6660> ('x.ks.ua',)
[1711806725727] [INFO] HUB  Connected
[1711806725727]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ('>hub', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff72f4f5150>>)
[1711806725770]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ret: None
[1711806725770]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ('>user/dev', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff72f4f5150>>)
[1711806725814]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ret: None
[1711806725814] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5b/time }
[1711806725814]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ('/48:3f:da:55:07:5b/time', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff72f4f5150>>)
[1711806725858]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ret: None
[1711806725858] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/lifetime }
[1711806725858]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ('>48:3f:da:55:07:5b/lifetime', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff72f4f5150>>)
[1711806725902]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ret: None
[1711806725902] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/error }
[1711806725902]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ('>48:3f:da:55:07:5b/error', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff72f4f5150>>)
[1711806725946]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ret: None
[1711806725946] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/ping }
[1711806725946]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ('>48:3f:da:55:07:5b/ping', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff72f4f5150>>)
[1711806725990]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ret: None
[1711806725990] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/version }
[1711806725990]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ('>48:3f:da:55:07:5b/version', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff72f4f5150>>)
[1711806726034]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ret: None
[1711806726034]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7ff72f8f6660> ret: None
[1711806726035]  [DBG] HUB  Step, state: 0 (next: 1711806727035)
[1711806726035] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5b
[1711806726035]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7ff72f8f67a0> ('/reg', '48:3f:da:55:07:5b')
[1711806726078]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7ff72f8f67a0> ret: None
[1711806726122] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5b/time, value: 1711806726081 }
[1711806726122] [INFO] HUB  Registration finish, time: 1711806726081
[1711806726122]  [DBG] FW-UPD  enter <function device_base.register at 0x7ff72f678ae0> (1711806726,)
[1711806726122] [INFO] FW-UPD  Device 3996365522 registration on the server @ 1711806726
[1711806726122] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5b/3996365522/# }
[1711806726122]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ('>48:3f:da:55:07:5b/3996365522/#', <bound method HUB.__on_message of <uclient.hub.HUB object at 0x7ff72f4f5150>>)
[1711806726166]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7ff72f8f68e0> ret: None
[1711806726166]  [DBG] FW-UPD  exit <function device_base.register at 0x7ff72f678ae0> ret: None
[1711806727035]  [DBG] HUB  Step, state: 1 (next: 1711806728035)
[1711806727035]  [DBG] FW-UPD  enter <function device_base.info_req at 0x7ff72f6793a0> ()
[1711806727035]  [DBG] FW-UPD  exit <function device_base.info_req at 0x7ff72f6793a0> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1711806726}}
[1711806727035] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5b", "version": "R240330;master;d9604b086c82824a652e822a8dd1b981e006f9bd", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1711806726}}]} }
[1711806727035]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7ff72f8f67a0> ('/48:3f:da:55:07:5b/info', '{"mac": "48:3f:da:55:07:5b", "version": "R240330;master;d9604b086c82824a652e822a8dd1b981e006f9bd", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1711806726}}]}')
[1711806727035]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7ff72f8f67a0> ret: None
[1711806728054] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5b/version, value: version }
[1711806728054] [INFO] HUB  Publish message: { topic: version, value: R240330;master;d9604b086c82824a652e822a8dd1b981e006f9bd }
[1711806728054]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7ff72f8f67a0> ('<48:3f:da:55:07:5b/version', 'R240330;master;d9604b086c82824a652e822a8dd1b981e006f9bd')
[1711806728054]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7ff72f8f67a0> ret: None
[1711806728064]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7ff72f8f6b60> ()
[1711806728064]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7ff72f8f6b60> ret: None
[1711806728065] [WARN] HUB  Disconecting from broker

Suite stderr:

2024-03-30 13:52:07,040 - TEST - INFO - OP take: 1004.916 ms
2024-03-30 13:52:07,047 - TEST - INFO - Connected with result code: 0
2024-03-30 13:52:07,053 - TEST - INFO - OP take: 10.119 ms
2024-03-30 13:52:08,053 - TEST - INFO - [hub] => { 'version' : 'version' }
2024-03-30 13:52:08,064 - TEST - INFO - OP take: 10.15 ms
2024-03-30 13:52:08,065 - TEST - WARNING - Disconecting from broker