Test Report : TEST-user_remove_test-20240430184454.xml

  • user_remove_test

Test Suite: user_remove_test-20240430184454

Results

Duration93.23 sec
Tests1
Failures0

Tests

user_remove_test

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

Suite stdout:

[1714502694412] [INFO] DEV-3996365522  Device 3996365522 (type: 1)  has been created
[1714502694412]  [DBG] DEV-3996365522  enter <function device_base.set_hub at 0x7fed6162d800> (<uclient.hub.HUB object at 0x7fed6094c190>,)
[1714502694412]  [DBG] DEV-3996365522  exit <function device_base.set_hub at 0x7fed6162d800> ret: None
[1714502694412]  [DBG] HUB  enter <function HUB.register_root_cb at 0x7fed60ad4fe0> ('>user/dev', <bound method user_device.on_user_dev of <uclient.userdev.user_device object at 0x7fed6094c350>>)
[1714502694412]  [DBG] HUB  exit <function HUB.register_root_cb at 0x7fed60ad4fe0> ret: None
[1714502694412]  [DBG] MQTT  enter <function mqtt_transport.set_lastwill at 0x7fed60ad6700> ('<48:3f:da:55:07:5c/status', '-1')
[1714502694412]  [DBG] MQTT  exit <function mqtt_transport.set_lastwill at 0x7fed60ad6700> ret: None
[1714502694412]  [DBG] MQTT  enter <function mqtt_transport.on_connect at 0x7fed60ad6980> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fed6094c190>>,)
[1714502694412]  [DBG] MQTT  exit <function mqtt_transport.on_connect at 0x7fed60ad6980> ret: None
[1714502694412]  [DBG] MQTT  enter <function mqtt_transport.on_disconnect at 0x7fed60ad6840> (<bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fed6094c190>>,)
[1714502694412]  [DBG] MQTT  exit <function mqtt_transport.on_disconnect at 0x7fed60ad6840> ret: None
[1714502694412]  [DBG] HUB  enter <function HUB.connect at 0x7fed60ad4720> ()
[1714502694412] [WARN] HUB  Try to connect without uri-schema
[1714502694412]  [DBG] MQTT  enter <function mqtt_transport.connect at 0x7fed60ad6fc0> ('x.ks.ua',)
[1714502695418]  [DBG] HUB  enter <function HUB.__on_connect at 0x7fed60ad5620> ()
[1714502695418] [INFO] HUB  Connected
[1714502695419]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fed60ad6d40> ('>hub', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fed6094c190>>)
[1714502695419]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fed60ad6d40> ret: None
[1714502695419]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fed60ad6d40> ('>user/dev', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fed6094c190>>)
[1714502695419]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fed60ad6d40> ret: None
[1714502695419]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7fed60ad5ee0> ('time', '/')
[1714502695419] [INFO] HUB  (HUB) Subscribe to : {topic: /48:3f:da:55:07:5c/time }
[1714502695419]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fed60ad6d40> ('/48:3f:da:55:07:5c/time', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fed6094c190>>)
[1714502695419]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fed60ad6d40> ret: None
[1714502695419]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7fed60ad5ee0> ret: None
[1714502695419]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7fed60ad5ee0> ('lifetime', '>')
[1714502695419] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/lifetime }
[1714502695419]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fed60ad6d40> ('>48:3f:da:55:07:5c/lifetime', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fed6094c190>>)
[1714502695419]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fed60ad6d40> ret: None
[1714502695419]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7fed60ad5ee0> ret: None
[1714502695419]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7fed60ad5ee0> ('error', '>')
[1714502695419] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/error }
[1714502695419]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fed60ad6d40> ('>48:3f:da:55:07:5c/error', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fed6094c190>>)
[1714502695419]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fed60ad6d40> ret: None
[1714502695419]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7fed60ad5ee0> ret: None
[1714502695419]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7fed60ad5ee0> ('ping', '>')
[1714502695419] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/ping }
[1714502695419]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fed60ad6d40> ('>48:3f:da:55:07:5c/ping', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fed6094c190>>)
[1714502695419]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fed60ad6d40> ret: None
[1714502695419]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7fed60ad5ee0> ret: None
[1714502695419]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7fed60ad5ee0> ('version', '>')
[1714502695419] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/version }
[1714502695419]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fed60ad6d40> ('>48:3f:da:55:07:5c/version', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fed6094c190>>)
[1714502695419]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fed60ad6d40> ret: None
[1714502695419]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7fed60ad5ee0> ret: None
[1714502695419]  [DBG] HUB  exit <function HUB.__on_connect at 0x7fed60ad5620> ret: None
[1714502695419]  [DBG] MQTT  exit <function mqtt_transport.connect at 0x7fed60ad6fc0> ret: None
[1714502695419]  [DBG] HUB  exit <function HUB.connect at 0x7fed60ad4720> ret: None
[1714502695430]  [DBG] HUB  Step, state: 0 (next: 1714502696430)
[1714502695430]  [DBG] HUB  enter <function HUB.__send_reg at 0x7fed60ad5760> ()
[1714502695430] [INFO] HUB  Publish reg token: 48:3f:da:55:07:5c
[1714502695430]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fed60ad6e80> ('/reg', '48:3f:da:55:07:5c')
[1714502695430]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fed60ad6e80> ret: None
[1714502695430]  [DBG] HUB  exit <function HUB.__send_reg at 0x7fed60ad5760> ret: None
[1714502695468]  [DBG] HUB  enter <function HUB.__on_message at 0x7fed60ad5260> ('/48:3f:da:55:07:5c/time', b'1714502695465')
[1714502695468] [INFO] HUB  Message: {topic: /48:3f:da:55:07:5c/time, value: 1714502695465 }
[1714502695468]  [DBG] HUB  enter <function HUB.__time_hnd at 0x7fed60ad5da0> ('1714502695465',)
[1714502695468] [INFO] HUB  Registration finish, time: 1714502695465
[1714502695468]  [DBG] DEV-3996365522  enter <function device_base.register at 0x7fed6162dd00> (1714502695,)
[1714502695468] [INFO] DEV-3996365522  Device 3996365522 registration on the server @ 1714502695
[1714502695468]  [DBG] HUB  enter <function HUB.subscribe_hub at 0x7fed60ad5ee0> ('3996365522/#', '>')
[1714502695468] [INFO] HUB  (HUB) Subscribe to : {topic: >48:3f:da:55:07:5c/3996365522/# }
[1714502695468]  [DBG] MQTT  enter <function mqtt_transport.subscribe at 0x7fed60ad6d40> ('>48:3f:da:55:07:5c/3996365522/#', <bound method log.dbg_wr.<locals>.wrapper of <uclient.hub.HUB object at 0x7fed6094c190>>)
[1714502695468]  [DBG] MQTT  exit <function mqtt_transport.subscribe at 0x7fed60ad6d40> ret: None
[1714502695468]  [DBG] HUB  exit <function HUB.subscribe_hub at 0x7fed60ad5ee0> ret: None
[1714502695468]  [DBG] DEV-3996365522  exit <function device_base.register at 0x7fed6162dd00> ret: None
[1714502695468]  [DBG] HUB  exit <function HUB.__time_hnd at 0x7fed60ad5da0> ret: None
[1714502695468]  [DBG] HUB  exit <function HUB.__on_message at 0x7fed60ad5260> ret: None
[1714502696433]  [DBG] HUB  Step, state: 1 (next: 1714502697433)
[1714502696433]  [DBG] DEV-3996365522  enter <function device_base.info_req at 0x7fed6162e5c0> ()
[1714502696433]  [DBG] DEV-3996365522  exit <function device_base.info_req at 0x7fed6162e5c0> ret: {'s': 3996365522, 't': 1, 'r': {0: 3996365522, 1: 1714502695}}
[1714502696433]  [DBG] HUB  enter <function HUB.pub_hub at 0x7fed60ad6020> ('info', '{"mac": "48:3f:da:55:07:5c", "version": "R240430;master;82e78ab3cb504ee2727a21589ce1ba8e1629dbc4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714502695}}]}', '/')
[1714502696433] [INFO] HUB  Publish message: { topic: info, value: {"mac": "48:3f:da:55:07:5c", "version": "R240430;master;82e78ab3cb504ee2727a21589ce1ba8e1629dbc4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714502695}}]} }
[1714502696433]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fed60ad6e80> ('/48:3f:da:55:07:5c/info', '{"mac": "48:3f:da:55:07:5c", "version": "R240430;master;82e78ab3cb504ee2727a21589ce1ba8e1629dbc4", "type": "mpy", "prot": 2, "devices": [{"s": 3996365522, "t": 1, "r": {"0": 3996365522, "1": 1714502695}}]}')
[1714502696434]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fed60ad6e80> ret: None
[1714502696434]  [DBG] HUB  exit <function HUB.pub_hub at 0x7fed60ad6020> ret: None
[1714502696464]  [DBG] HUB  enter <function HUB.__on_message at 0x7fed60ad5260> ('>48:3f:da:55:07:5c/3996365522/user/add', b'"J8GTl7SsleUnuPB7dDFeuC8H9p0DqRakOESA2TMzPdt87U7HJ6xID8J+Pl1Yor/PRyw5Sg9xDF9ssU76TnMeSdU6CAUEj513Bn7xmNXaPaW9fd+mhgp2UthablkMIRPr7QGz0Lw+YXRLzpJmVpisNg==.6KMI62AT1YzWAQ4SWOxESxwfDhoAm1+JBIBvUQsvuco="')
[1714502696464] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5c/3996365522/user/add, value: "J8GTl7SsleUnuPB7dDFeuC8H9p0DqRakOESA2TMzPdt87U7HJ6xID8J+Pl1Yor/PRyw5Sg9xDF9ssU76TnMeSdU6CAUEj513Bn7xmNXaPaW9fd+mhgp2UthablkMIRPr7QGz0Lw+YXRLzpJmVpisNg==.6KMI62AT1YzWAQ4SWOxESxwfDhoAm1+JBIBvUQsvuco=" }
[1714502696466] [INFO] DEV-3996365522  User created. User count: 1
[1714502696466]  [DBG] HUB  enter <function HUB.pub at 0x7fed60ad6160> ('3996365522/user/add', '"hdMU2nT5by40zEY21b1Ufg==.F1SYOOcOwzmUSeNJDfOJjHHt6JMjw/o3mwEREqPbwWE="')
[1714502696466]  [DBG] HUB  enter <function HUB.pub_hub at 0x7fed60ad6020> ('3996365522/user/add', '"hdMU2nT5by40zEY21b1Ufg==.F1SYOOcOwzmUSeNJDfOJjHHt6JMjw/o3mwEREqPbwWE="')
[1714502696466] [INFO] HUB  Publish message: { topic: 3996365522/user/add, value: "hdMU2nT5by40zEY21b1Ufg==.F1SYOOcOwzmUSeNJDfOJjHHt6JMjw/o3mwEREqPbwWE=" }
[1714502696466]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fed60ad6e80> ('<48:3f:da:55:07:5c/3996365522/user/add', '"hdMU2nT5by40zEY21b1Ufg==.F1SYOOcOwzmUSeNJDfOJjHHt6JMjw/o3mwEREqPbwWE="')
[1714502696466]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fed60ad6e80> ret: None
[1714502696466]  [DBG] HUB  exit <function HUB.pub_hub at 0x7fed60ad6020> ret: None
[1714502696466]  [DBG] HUB  exit <function HUB.pub at 0x7fed60ad6160> ret: True
[1714502696466]  [DBG] HUB  exit <function HUB.__on_message at 0x7fed60ad5260> ret: None
[1714502697508]  [DBG] HUB  enter <function HUB.__on_message at 0x7fed60ad5260> ('>48:3f:da:55:07:5c/3996365522/user/remove', b'"dbyq3W+2J4kjD/RrI7R6PihJov1NYaAsbouMdgtWUT7/0vm7EbfI6OCrdE83TSgs.1OkHHtQehW/rZlrcdfLN+bqDcWNVkutjvI4SV/m3m98="')
[1714502697508] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5c/3996365522/user/remove, value: "dbyq3W+2J4kjD/RrI7R6PihJov1NYaAsbouMdgtWUT7/0vm7EbfI6OCrdE83TSgs.1OkHHtQehW/rZlrcdfLN+bqDcWNVkutjvI4SV/m3m98=" }
[1714502697509]  [DBG] HUB  exit <function HUB.__on_message at 0x7fed60ad5260> ret: None
[1714502727515]  [DBG] HUB  enter <function HUB.__on_message at 0x7fed60ad5260> ('>48:3f:da:55:07:5c/3996365522/user/add', b'"YJKHLSEQC5hO6e4NsMQiReZEafwhKgl9S2/9Q5hSn442W82tuP2edNYegbRusya5UMEHkSf286qnA+gWiYIuasK3v4SbCgFwi85fBNEsXVJ0Sm/RA+2UplbDs0+AdpJd0Zm9RGalUnHISR+9ZGXzlw==.H3XuXYAVTIH9QzuicNL6aikE7nAQGTy750rtrQA2ugE="')
[1714502727515] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5c/3996365522/user/add, value: "YJKHLSEQC5hO6e4NsMQiReZEafwhKgl9S2/9Q5hSn442W82tuP2edNYegbRusya5UMEHkSf286qnA+gWiYIuasK3v4SbCgFwi85fBNEsXVJ0Sm/RA+2UplbDs0+AdpJd0Zm9RGalUnHISR+9ZGXzlw==.H3XuXYAVTIH9QzuicNL6aikE7nAQGTy750rtrQA2ugE=" }
[1714502727518] [INFO] DEV-3996365522  User created. User count: 2
[1714502727519]  [DBG] HUB  enter <function HUB.pub at 0x7fed60ad6160> ('3996365522/user/add', '"hdMU2nT5by40zEY21b1Ufg==.F1SYOOcOwzmUSeNJDfOJjHHt6JMjw/o3mwEREqPbwWE="')
[1714502727519]  [DBG] HUB  enter <function HUB.pub_hub at 0x7fed60ad6020> ('3996365522/user/add', '"hdMU2nT5by40zEY21b1Ufg==.F1SYOOcOwzmUSeNJDfOJjHHt6JMjw/o3mwEREqPbwWE="')
[1714502727519] [INFO] HUB  Publish message: { topic: 3996365522/user/add, value: "hdMU2nT5by40zEY21b1Ufg==.F1SYOOcOwzmUSeNJDfOJjHHt6JMjw/o3mwEREqPbwWE=" }
[1714502727519]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fed60ad6e80> ('<48:3f:da:55:07:5c/3996365522/user/add', '"hdMU2nT5by40zEY21b1Ufg==.F1SYOOcOwzmUSeNJDfOJjHHt6JMjw/o3mwEREqPbwWE="')
[1714502727520]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fed60ad6e80> ret: None
[1714502727520]  [DBG] HUB  exit <function HUB.pub_hub at 0x7fed60ad6020> ret: None
[1714502727520]  [DBG] HUB  exit <function HUB.pub at 0x7fed60ad6160> ret: True
[1714502727520]  [DBG] HUB  exit <function HUB.__on_message at 0x7fed60ad5260> ret: None
[1714502727525]  [DBG] HUB  enter <function HUB.__on_message at 0x7fed60ad5260> ('>48:3f:da:55:07:5c/3996365522/user/remove', b'"YJKHLSEQC5hO6e4NsMQiReZEafwhKgl9S2/9Q5hSn469ScI+Wr/KHGtAO0/Sodqj.ME6hMIMMxfRAnSsnse3GPXV/5QsJODxDKN/nKQxxYkA="')
[1714502727525] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5c/3996365522/user/remove, value: "YJKHLSEQC5hO6e4NsMQiReZEafwhKgl9S2/9Q5hSn469ScI+Wr/KHGtAO0/Sodqj.ME6hMIMMxfRAnSsnse3GPXV/5QsJODxDKN/nKQxxYkA=" }
[1714502727526]  [DBG] HUB  enter <function HUB.pub at 0x7fed60ad6160> ('3996365522/user/remove', '"LY4YVzC3waUcqthcsYyA6A==.qOn6Czfan1IbrJmfXjdBHXmv4Qr1zMEhFuMrfWrEVng="')
[1714502727526]  [DBG] HUB  enter <function HUB.pub_hub at 0x7fed60ad6020> ('3996365522/user/remove', '"LY4YVzC3waUcqthcsYyA6A==.qOn6Czfan1IbrJmfXjdBHXmv4Qr1zMEhFuMrfWrEVng="')
[1714502727526] [INFO] HUB  Publish message: { topic: 3996365522/user/remove, value: "LY4YVzC3waUcqthcsYyA6A==.qOn6Czfan1IbrJmfXjdBHXmv4Qr1zMEhFuMrfWrEVng=" }
[1714502727526]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fed60ad6e80> ('<48:3f:da:55:07:5c/3996365522/user/remove', '"LY4YVzC3waUcqthcsYyA6A==.qOn6Czfan1IbrJmfXjdBHXmv4Qr1zMEhFuMrfWrEVng="')
[1714502727526]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fed60ad6e80> ret: None
[1714502727526]  [DBG] HUB  exit <function HUB.pub_hub at 0x7fed60ad6020> ret: None
[1714502727526]  [DBG] HUB  exit <function HUB.pub at 0x7fed60ad6160> ret: True
[1714502727526]  [DBG] HUB  exit <function HUB.__on_message at 0x7fed60ad5260> ret: None
[1714502727581]  [DBG] HUB  enter <function HUB.__on_message at 0x7fed60ad5260> ('>48:3f:da:55:07:5c/3996365522/user/add', b'"fzDWbz2FiT8iZzyelySK57O79crxqEOemUZG0QYlf4O/tcs7vMlPFUpE32benCNcAibEC7ixewngsvTiLCpQaXVAvKmcDk+GfUt6V+HbtoAXntuAK910KzTZZo2rvyKVH/bzhGNaaPBhZN9UQZ3asg==.cQPbo++VVi5/4Z+dWyQMnjUGY+tw5DLf+3SexR8BD60="')
[1714502727581] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5c/3996365522/user/add, value: "fzDWbz2FiT8iZzyelySK57O79crxqEOemUZG0QYlf4O/tcs7vMlPFUpE32benCNcAibEC7ixewngsvTiLCpQaXVAvKmcDk+GfUt6V+HbtoAXntuAK910KzTZZo2rvyKVH/bzhGNaaPBhZN9UQZ3asg==.cQPbo++VVi5/4Z+dWyQMnjUGY+tw5DLf+3SexR8BD60=" }
[1714502727586] [INFO] DEV-3996365522  User created. User count: 2
[1714502727587]  [DBG] HUB  enter <function HUB.pub at 0x7fed60ad6160> ('3996365522/user/add', '"hdMU2nT5by40zEY21b1Ufg==.F1SYOOcOwzmUSeNJDfOJjHHt6JMjw/o3mwEREqPbwWE="')
[1714502727587]  [DBG] HUB  enter <function HUB.pub_hub at 0x7fed60ad6020> ('3996365522/user/add', '"hdMU2nT5by40zEY21b1Ufg==.F1SYOOcOwzmUSeNJDfOJjHHt6JMjw/o3mwEREqPbwWE="')
[1714502727587] [INFO] HUB  Publish message: { topic: 3996365522/user/add, value: "hdMU2nT5by40zEY21b1Ufg==.F1SYOOcOwzmUSeNJDfOJjHHt6JMjw/o3mwEREqPbwWE=" }
[1714502727587]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fed60ad6e80> ('<48:3f:da:55:07:5c/3996365522/user/add', '"hdMU2nT5by40zEY21b1Ufg==.F1SYOOcOwzmUSeNJDfOJjHHt6JMjw/o3mwEREqPbwWE="')
[1714502727587]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fed60ad6e80> ret: None
[1714502727587]  [DBG] HUB  exit <function HUB.pub_hub at 0x7fed60ad6020> ret: None
[1714502727587]  [DBG] HUB  exit <function HUB.pub at 0x7fed60ad6160> ret: True
[1714502727587]  [DBG] HUB  exit <function HUB.__on_message at 0x7fed60ad5260> ret: None
[1714502727634]  [DBG] HUB  enter <function HUB.__on_message at 0x7fed60ad5260> ('>48:3f:da:55:07:5c/3996365522/user/remove', b'"Wmc63RoaveGWZziAmNbSW9gr9nZNM7Dw3SiyCle9t+SNAJ7ofrkiDPRT0Dp1Aovs.S+WBLJqmMTECX7GR7SWOUCfX2Ug3PU1OP0iSHTOd/BM="')
[1714502727634] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5c/3996365522/user/remove, value: "Wmc63RoaveGWZziAmNbSW9gr9nZNM7Dw3SiyCle9t+SNAJ7ofrkiDPRT0Dp1Aovs.S+WBLJqmMTECX7GR7SWOUCfX2Ug3PU1OP0iSHTOd/BM=" }
[1714502727634]  [ERR] DEV-3996365522  User (amiable.patricia@tlc.ks.ua (6a0556ec2b38cb8784df0ed8407e2f01b1da68fa44cd854198e492e39a831ae7)) don't have permission to remove users
[1714502727634]  [DBG] HUB  exit <function HUB.__on_message at 0x7fed60ad5260> ret: None
[1714502756441]  [DBG] HUB  Step, state: 2 (next: 1714502816441)
[1714502756441]  [DBG] HUB  enter <function HUB.pub_hub at 0x7fed60ad6020> ('status', 4, '/')
[1714502756441] [INFO] HUB  Publish message: { topic: status, value: 4 }
[1714502756441]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fed60ad6e80> ('/48:3f:da:55:07:5c/status', 4)
[1714502756442]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fed60ad6e80> ret: None
[1714502756442]  [DBG] HUB  exit <function HUB.pub_hub at 0x7fed60ad6020> ret: None
[1714502756442]  [DBG] DEV-3996365522  enter <function device_base.publish_status at 0x7fed6162dbc0> ()
[1714502756442]  [DBG] HUB  enter <function HUB.pub_hub at 0x7fed60ad6020> ('3996365522/status', 4)
[1714502756442] [INFO] HUB  Publish message: { topic: 3996365522/status, value: 4 }
[1714502756442]  [DBG] MQTT  enter <function mqtt_transport.publish at 0x7fed60ad6e80> ('<48:3f:da:55:07:5c/3996365522/status', 4)
[1714502756442]  [DBG] MQTT  exit <function mqtt_transport.publish at 0x7fed60ad6e80> ret: None
[1714502756442]  [DBG] HUB  exit <function HUB.pub_hub at 0x7fed60ad6020> ret: None
[1714502756442]  [DBG] DEV-3996365522  exit <function device_base.publish_status at 0x7fed6162dbc0> ret: None
[1714502757638]  [DBG] HUB  enter <function HUB.__on_message at 0x7fed60ad5260> ('>48:3f:da:55:07:5c/3996365522/user/remove', b'"t4A0rgiyQGewXHe34p0tZrReXsqBu0LlUs2Clpw24bhRVXnIoHyWsb2dhIHDSV9E.gRC+lb9eqDYZntPUQiKgAQBJYvrm831Q8+Qa4N+Dsu0="')
[1714502757638] [INFO] HUB  Message: {topic: >48:3f:da:55:07:5c/3996365522/user/remove, value: "t4A0rgiyQGewXHe34p0tZrReXsqBu0LlUs2Clpw24bhRVXnIoHyWsb2dhIHDSV9E.gRC+lb9eqDYZntPUQiKgAQBJYvrm831Q8+Qa4N+Dsu0=" }
[1714502757639]  [ERR] DEV-3996365522  User can't remove himself
[1714502757639]  [DBG] HUB  exit <function HUB.__on_message at 0x7fed60ad5260> ret: None
[1714502787638]  [DBG] MQTT  enter <function mqtt_transport.disconnect at 0x7fed60ad6ac0> ()
[1714502787639]  [DBG] MQTT  exit <function mqtt_transport.disconnect at 0x7fed60ad6ac0> ret: None

Suite stderr:

2024-04-30 18:44:56,447 - TEST - INFO - OP take: 1026.715 ms
2024-04-30 18:44:56,450 - TEST - INFO - Connected with result code: 0
2024-04-30 18:44:56,458 - TEST - INFO - OP take: 10.108 ms
2024-04-30 18:44:56,459 - TEST - INFO - Create user: admin@admin.com pwd: 11223344 user_id: fb81c4cc20a3d5d1c700b89c4ebaecf786ea76c0518c7592119b6949f912d44e
2024-04-30 18:44:56,459 - TEST - INFO - [dev] => { 'user/add' : 'J8GTl7SsleUnuPB7dDFeuC8H9p0DqRak' }
2024-04-30 18:44:56,504 - TEST - INFO - OP take: 40.917 ms
2024-04-30 18:44:56,505 - TEST - INFO - User created: "OK"
2024-04-30 18:44:57,505 - TEST - INFO - ##### Unknown user remove test #####
2024-04-30 18:44:57,507 - TEST - INFO - [dev] => { 'user/remove' : 'dbyq3W+2J4kjD/RrI7R6PihJov1NYaAs' }
2024-04-30 18:45:27,508 - TEST - INFO - Error was returned as planned
2024-04-30 18:45:27,509 - TEST - INFO - ##### Known user remove test #####
2024-04-30 18:45:27,510 - TEST - INFO - Create user: gregarious.james@dlab.pw pwd: 2bkkfj0c user_id: c34cf77a8e0997f38580845af428837e998c189fc1cf723d6dbd83c2eb292887
2024-04-30 18:45:27,512 - TEST - INFO - [dev] => { 'user/add' : 'YJKHLSEQC5hO6e4NsMQiReZEafwhKgl9' }
2024-04-30 18:45:27,521 - TEST - INFO - OP take: 0.002 ms
2024-04-30 18:45:27,522 - TEST - INFO - User created: "OK"
2024-04-30 18:45:27,523 - TEST - INFO - [dev] => { 'user/remove' : 'YJKHLSEQC5hO6e4NsMQiReZEafwhKgl9' }
2024-04-30 18:45:27,577 - TEST - INFO - OP take: 50.874 ms
2024-04-30 18:45:27,577 - TEST - INFO - User removed. OK
2024-04-30 18:45:27,577 - TEST - INFO - ##### Known user remove without permissions test #####
2024-04-30 18:45:27,578 - TEST - INFO - Create user: amiable.patricia@tlc.ks.ua pwd: kye6i2jc user_id: 6a0556ec2b38cb8784df0ed8407e2f01b1da68fa44cd854198e492e39a831ae7
2024-04-30 18:45:27,578 - TEST - INFO - [dev] => { 'user/add' : 'fzDWbz2FiT8iZzyelySK57O79crxqEOe' }
2024-04-30 18:45:27,632 - TEST - INFO - OP take: 50.596 ms
2024-04-30 18:45:27,633 - TEST - INFO - User created: "OK"
2024-04-30 18:45:27,633 - TEST - INFO - [dev] => { 'user/remove' : 'Wmc63RoaveGWZziAmNbSW9gr9nZNM7Dw' }
2024-04-30 18:45:57,634 - TEST - INFO - Error was returned as planned
2024-04-30 18:45:57,634 - TEST - INFO - ##### Removing myself test #####
2024-04-30 18:45:57,635 - TEST - INFO - [dev] => { 'user/remove' : 't4A0rgiyQGewXHe34p0tZrReXsqBu0Ll' }
2024-04-30 18:46:27,636 - TEST - INFO - Error was returned as planned
2024-04-30 18:46:27,640 - TEST - WARNING - Disconecting from broker