From e27af25ecfc153ebe91c6e53a4c7fcf310e14e2a Mon Sep 17 00:00:00 2001 From: kurilova Date: Wed, 29 Apr 2026 15:12:12 +0000 Subject: [PATCH 1/3] Join log messages for mqtt --- framework/python/src/core/testrun.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/framework/python/src/core/testrun.py b/framework/python/src/core/testrun.py index 262713631..ab8c96f97 100644 --- a/framework/python/src/core/testrun.py +++ b/framework/python/src/core/testrun.py @@ -522,12 +522,13 @@ def _device_discovered(self, mac_addr): if device is not None: if mac_addr != device.mac_addr: - msg = f'Found device with mac addr: {mac_addr} but was ignored' - self._mqtt_client.send_message(mqtt.MQTTTopic.INFO, {'message': msg}) - LOGGER.info(msg) - msg = f'Expected device mac address is {device.mac_addr}' - self._mqtt_client.send_message(mqtt.MQTTTopic.INFO, {'message': msg}) - LOGGER.info(msg) + msg_found = f'Found device with mac addr: {mac_addr} but was ignored' + LOGGER.info(msg_found) + msg_expected = f'Expected device mac address is {device.mac_addr}' + LOGGER.info(msg_expected) + full_message = f"{msg_found}\n{msg_expected}" + self._mqtt_client.send_message( + mqtt.MQTTTopic.INFO, {'message': full_message}) # Ignore discovered device because it is not the target device return else: From 72a626e169a4b71d9ae846cb92fab81ce50df10c Mon Sep 17 00:00:00 2001 From: kurilova Date: Wed, 29 Apr 2026 15:14:58 +0000 Subject: [PATCH 2/3] Fix pylint --- framework/python/src/core/testrun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/python/src/core/testrun.py b/framework/python/src/core/testrun.py index ab8c96f97..26570014d 100644 --- a/framework/python/src/core/testrun.py +++ b/framework/python/src/core/testrun.py @@ -526,7 +526,7 @@ def _device_discovered(self, mac_addr): LOGGER.info(msg_found) msg_expected = f'Expected device mac address is {device.mac_addr}' LOGGER.info(msg_expected) - full_message = f"{msg_found}\n{msg_expected}" + full_message = f'{msg_found}\n{msg_expected}' self._mqtt_client.send_message( mqtt.MQTTTopic.INFO, {'message': full_message}) # Ignore discovered device because it is not the target device From e8f7561a19ad8c7f49d2d1c54030ddec68ff6f93 Mon Sep 17 00:00:00 2001 From: kurilova Date: Wed, 29 Apr 2026 16:13:42 +0000 Subject: [PATCH 3/3] Update version --- make/DEBIAN/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/DEBIAN/control b/make/DEBIAN/control index c9b25857f..e8bd20802 100644 --- a/make/DEBIAN/control +++ b/make/DEBIAN/control @@ -1,5 +1,5 @@ Package: Testrun -Version: 2.3.4-beta.1 +Version: 2.3.4-beta.2 Architecture: amd64 Maintainer: Google Homepage: https://github.com/google/testrun