From d96963ccdd3ff1c306648931f1ffc622119d5537 Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Wed, 11 Dec 2024 14:15:04 -0700 Subject: [PATCH 1/3] Update BaseMakeCalibrations.callpipetask to remove a call to ack.print_vars. This call is not really doing anything and the method is no longer available in kafka version of ts-salobj. --- python/lsst/ts/externalscripts/base_make_calibrations.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/lsst/ts/externalscripts/base_make_calibrations.py b/python/lsst/ts/externalscripts/base_make_calibrations.py index 3005deae..ea19a8bc 100644 --- a/python/lsst/ts/externalscripts/base_make_calibrations.py +++ b/python/lsst/ts/externalscripts/base_make_calibrations.py @@ -1002,15 +1002,12 @@ async def verify_calib(self, image_type, job_id_calib): f"Received acknowledgement of ocps command for {image_type} verification." ) - ack.print_vars() job_id_verify = json.loads(ack.result)["job_id"] ack = await self.ocps.cmd_execute.next_ackcmd(ack) self.log.debug( f"Received command completion acknowledgement from ocps ({image_type})" ) - if ack.ack != salobj.SalRetCode.CMD_COMPLETE: - ack.print_vars() while True: msg = await self.ocps.evt_job_result.next( From fb0c4e666fc8266a883be0349366d1030a77b63f Mon Sep 17 00:00:00 2001 From: Sebastian Aranda Sanchez Date: Thu, 12 Dec 2024 17:27:33 -0300 Subject: [PATCH 2/3] Move make_love_stress_tests received messages log from debug to info level. --- python/lsst/ts/externalscripts/make_love_stress_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lsst/ts/externalscripts/make_love_stress_tests.py b/python/lsst/ts/externalscripts/make_love_stress_tests.py index 57b51e46..9a2e228c 100644 --- a/python/lsst/ts/externalscripts/make_love_stress_tests.py +++ b/python/lsst/ts/externalscripts/make_love_stress_tests.py @@ -224,7 +224,7 @@ async def run(self): await asyncio.sleep(self.loop_time_message_collection) for client in self.clients: msg_count += len(client.msg_traces) - self.log.debug( + self.log.info( f"Received {msg_count}/{self.config.number_of_messages} messages" ) self.log.info( From aada3d2398f5cacd27e9d32a91569b80b7365550 Mon Sep 17 00:00:00 2001 From: edennihy Date: Fri, 13 Dec 2024 11:21:57 -0700 Subject: [PATCH 3/3] Add news fragments. --- doc/news/DM-47890.feature.1.rst | 1 + doc/news/DM-47890.feature.rst | 1 + 2 files changed, 2 insertions(+) create mode 100644 doc/news/DM-47890.feature.1.rst create mode 100644 doc/news/DM-47890.feature.rst diff --git a/doc/news/DM-47890.feature.1.rst b/doc/news/DM-47890.feature.1.rst new file mode 100644 index 00000000..8366cac1 --- /dev/null +++ b/doc/news/DM-47890.feature.1.rst @@ -0,0 +1 @@ +Move make_love_stress_tests received messages log from debug to info level. diff --git a/doc/news/DM-47890.feature.rst b/doc/news/DM-47890.feature.rst new file mode 100644 index 00000000..fed0f2e3 --- /dev/null +++ b/doc/news/DM-47890.feature.rst @@ -0,0 +1 @@ +Update BaseMakeCalibrations.callpipetask to remove a call to ack.print_vars.