[{"id":32027,"web_url":"https://patchwork.libcamera.org/comment/32027/","msgid":"<173080187805.3353069.7626157063410905768@ping.linuxembedded.co.uk>","date":"2024-11-05T10:17:58","subject":"Re: [PATCH] test: py: Fix log level restore in SimpleTestMethods()","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Quoting Laurent Pinchart (2024-11-05 00:07:03)\n> The SimpleTestMethods() function tests that incorrect calls to the\n> Camera.acquire() method raise an exception. Before doing so, it sets the\n> log level for the Camera category to FATAL, in order to avoid showing\n> misleading errors in the test log, and then restores the log level to\n> ERROR after running the test. ERROR is however not the default log\n> level. Restore the log level to INFO instead, in order to avoid losing\n> log messages in subsequent tests.\n> \n> Fixes: 06cb7130c4fa (\"py: Add unittests.py\")\n> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n> ---\n>  test/py/unittests.py | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n> \n> diff --git a/test/py/unittests.py b/test/py/unittests.py\n> index 1caea98eb946..8cb850d4e71c 100755\n> --- a/test/py/unittests.py\n> +++ b/test/py/unittests.py\n> @@ -66,7 +66,7 @@ class SimpleTestMethods(BaseTestCase):\n>          libcam.log_set_level('Camera', 'FATAL')\n\nPerhaps log_set_level should return the previous level for restoration ?\n\n>          with self.assertRaises(RuntimeError):\n>              cam.acquire()\n> -        libcam.log_set_level('Camera', 'ERROR')\n> +        libcam.log_set_level('Camera', 'INFO')\n\nBut this is fine...\n\n\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n>  \n>          cam.release()\n>  \n> \n> base-commit: f028b09b7becf4e7847112b2e8044e5e30e01c58\n> -- \n> Regards,\n> \n> Laurent Pinchart\n>","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 1AC8DBDB1C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  5 Nov 2024 10:18:03 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C30EC653F1;\n\tTue,  5 Nov 2024 11:18:02 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E52C4653E7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  5 Nov 2024 11:18:00 +0100 (CET)","from pendragon.ideasonboard.com\n\t(cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 8C83222E;\n\tTue,  5 Nov 2024 11:17:53 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"KXfMVtud\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1730801873;\n\tbh=ZzSti2kEm4n3CBgkV8o1vg/VIIe8sAg7Gr8NKQCEKYI=;\n\th=In-Reply-To:References:Subject:From:Cc:To:Date:From;\n\tb=KXfMVtud9IQwHEqlKrKUD25WXCqI5JpfLIgR4dIVtQeq8f+nTECZoDgC4Yu8hE7RZ\n\t1gw7eXpJj13C5Gy3ZKUvdOEWsvW74gcxA1jXMG6HrdVDS9ZeNlXH4QxKdXgKVnynjs\n\tH22pZyzIVzuGY/tzQiGe+DhgxzyRnx+RbJ6iF4eM=","Content-Type":"text/plain; charset=\"utf-8\"","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<20241105000703.22037-1-laurent.pinchart@ideasonboard.com>","References":"<20241105000703.22037-1-laurent.pinchart@ideasonboard.com>","Subject":"Re: [PATCH] test: py: Fix log level restore in SimpleTestMethods()","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Cc":"Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tlibcamera-devel@lists.libcamera.org","Date":"Tue, 05 Nov 2024 10:17:58 +0000","Message-ID":"<173080187805.3353069.7626157063410905768@ping.linuxembedded.co.uk>","User-Agent":"alot/0.10","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}},{"id":32028,"web_url":"https://patchwork.libcamera.org/comment/32028/","msgid":"<151a2839-e5a7-41fd-bf9c-89e2030a43be@ideasonboard.com>","date":"2024-11-05T10:23:23","subject":"Re: [PATCH] test: py: Fix log level restore in SimpleTestMethods()","submitter":{"id":109,"url":"https://patchwork.libcamera.org/api/people/109/","name":"Tomi Valkeinen","email":"tomi.valkeinen@ideasonboard.com"},"content":"Hi,\n\nOn 05/11/2024 12:17, Kieran Bingham wrote:\n> Quoting Laurent Pinchart (2024-11-05 00:07:03)\n>> The SimpleTestMethods() function tests that incorrect calls to the\n>> Camera.acquire() method raise an exception. Before doing so, it sets the\n>> log level for the Camera category to FATAL, in order to avoid showing\n>> misleading errors in the test log, and then restores the log level to\n>> ERROR after running the test. ERROR is however not the default log\n>> level. Restore the log level to INFO instead, in order to avoid losing\n>> log messages in subsequent tests.\n>>\n>> Fixes: 06cb7130c4fa (\"py: Add unittests.py\")\n>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n>> ---\n>>   test/py/unittests.py | 2 +-\n>>   1 file changed, 1 insertion(+), 1 deletion(-)\n>>\n>> diff --git a/test/py/unittests.py b/test/py/unittests.py\n>> index 1caea98eb946..8cb850d4e71c 100755\n>> --- a/test/py/unittests.py\n>> +++ b/test/py/unittests.py\n>> @@ -66,7 +66,7 @@ class SimpleTestMethods(BaseTestCase):\n>>           libcam.log_set_level('Camera', 'FATAL')\n> \n> Perhaps log_set_level should return the previous level for restoration ?\n\nDo we have means to get the current level?\n\n> \n>>           with self.assertRaises(RuntimeError):\n>>               cam.acquire()\n>> -        libcam.log_set_level('Camera', 'ERROR')\n>> +        libcam.log_set_level('Camera', 'INFO')\n> \n> But this is fine...\n> \n> \n> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\nReviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>\n\n  Tomi\n\n> \n>>   \n>>           cam.release()\n>>   \n>>\n>> base-commit: f028b09b7becf4e7847112b2e8044e5e30e01c58\n>> -- \n>> Regards,\n>>\n>> Laurent Pinchart\n>>","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id C6E6EBE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  5 Nov 2024 10:23:30 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E0BFA653F1;\n\tTue,  5 Nov 2024 11:23:29 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 0CD9C653E7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  5 Nov 2024 11:23:28 +0100 (CET)","from [192.168.88.20] (91-157-155-49.elisa-laajakaista.fi\n\t[91.157.155.49])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 0139F22E;\n\tTue,  5 Nov 2024 11:23:19 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"j3ydYp//\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1730802200;\n\tbh=rinc4Q/+CXsCx2d1FyoeyIF2kuqYpRT59hhBlAXfNQY=;\n\th=Date:Subject:To:References:From:In-Reply-To:From;\n\tb=j3ydYp//etdZSBMIapH8ID7/iNX311iBb5WfH3oJIrFifbS9ed0DGx/njmvBE/77V\n\tCWfPLNg7W7kmq6rmwNG2AUBXrfUmwASOEhYZiT3sawnJeJhuqUDbqA4nUKuuUvKfYX\n\t+y71AXHsS37HEUCcHk35VvorL94gEH9HpU/OzoPI=","Message-ID":"<151a2839-e5a7-41fd-bf9c-89e2030a43be@ideasonboard.com>","Date":"Tue, 5 Nov 2024 12:23:23 +0200","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH] test: py: Fix log level restore in SimpleTestMethods()","To":"Kieran Bingham <kieran.bingham@ideasonboard.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tlibcamera-devel@lists.libcamera.org","References":"<20241105000703.22037-1-laurent.pinchart@ideasonboard.com>\n\t<173080187805.3353069.7626157063410905768@ping.linuxembedded.co.uk>","Content-Language":"en-US","From":"Tomi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-Reply-To":"<173080187805.3353069.7626157063410905768@ping.linuxembedded.co.uk>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"7bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}},{"id":32030,"web_url":"https://patchwork.libcamera.org/comment/32030/","msgid":"<20241105104253.GN27775@pendragon.ideasonboard.com>","date":"2024-11-05T10:42:53","subject":"Re: [PATCH] test: py: Fix log level restore in SimpleTestMethods()","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"On Tue, Nov 05, 2024 at 12:23:23PM +0200, Tomi Valkeinen wrote:\n> On 05/11/2024 12:17, Kieran Bingham wrote:\n> > Quoting Laurent Pinchart (2024-11-05 00:07:03)\n> >> The SimpleTestMethods() function tests that incorrect calls to the\n> >> Camera.acquire() method raise an exception. Before doing so, it sets the\n> >> log level for the Camera category to FATAL, in order to avoid showing\n> >> misleading errors in the test log, and then restores the log level to\n> >> ERROR after running the test. ERROR is however not the default log\n> >> level. Restore the log level to INFO instead, in order to avoid losing\n> >> log messages in subsequent tests.\n> >>\n> >> Fixes: 06cb7130c4fa (\"py: Add unittests.py\")\n> >> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n> >> ---\n> >>   test/py/unittests.py | 2 +-\n> >>   1 file changed, 1 insertion(+), 1 deletion(-)\n> >>\n> >> diff --git a/test/py/unittests.py b/test/py/unittests.py\n> >> index 1caea98eb946..8cb850d4e71c 100755\n> >> --- a/test/py/unittests.py\n> >> +++ b/test/py/unittests.py\n> >> @@ -66,7 +66,7 @@ class SimpleTestMethods(BaseTestCase):\n> >>           libcam.log_set_level('Camera', 'FATAL')\n> > \n> > Perhaps log_set_level should return the previous level for restoration ?\n> \n> Do we have means to get the current level?\n\nNo we don't. I thought about adding that, but then decided to let\nsomeone else do it if they really need it :-)\n\n> >>           with self.assertRaises(RuntimeError):\n> >>               cam.acquire()\n> >> -        libcam.log_set_level('Camera', 'ERROR')\n> >> +        libcam.log_set_level('Camera', 'INFO')\n> > \n> > But this is fine...\n> > \n> > \n> > Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n> \n> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>\n> \n> >>   \n> >>           cam.release()\n> >>   \n> >>\n> >> base-commit: f028b09b7becf4e7847112b2e8044e5e30e01c58","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id AFD98BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  5 Nov 2024 10:43:03 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id ABC6C653F2;\n\tTue,  5 Nov 2024 11:43:02 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 043386035B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  5 Nov 2024 11:43:01 +0100 (CET)","from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi\n\t[81.175.209.231])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 4EBFE22E;\n\tTue,  5 Nov 2024 11:42:53 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"NAiyP3iN\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1730803373;\n\tbh=OZYMV6vBYEH7moYsijAlm3Ie6wAJS15ExzHqVVokuL0=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=NAiyP3iNLIAYVNBIIV3pi30dByvYxfLp18tWJWRkP6HADzhktNiDl3d+dXzl7/Zex\n\tiJxQXX5iyxnSXRPLa6B30oaa/vSvPep+sBCV3zli61o3gl9LjqBQRWgJaU0nX3OuOV\n\tPz7U2YZ/tSOGFnDijlVg61QewCwiz3VRsTbSH+rU=","Date":"Tue, 5 Nov 2024 12:42:53 +0200","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>","Cc":"Kieran Bingham <kieran.bingham@ideasonboard.com>,\n\tlibcamera-devel@lists.libcamera.org","Subject":"Re: [PATCH] test: py: Fix log level restore in SimpleTestMethods()","Message-ID":"<20241105104253.GN27775@pendragon.ideasonboard.com>","References":"<20241105000703.22037-1-laurent.pinchart@ideasonboard.com>\n\t<173080187805.3353069.7626157063410905768@ping.linuxembedded.co.uk>\n\t<151a2839-e5a7-41fd-bf9c-89e2030a43be@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<151a2839-e5a7-41fd-bf9c-89e2030a43be@ideasonboard.com>","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]