Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wfkKW-005djM-2V for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jul 2026 20:17:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wfkKT-008yHZ-1J for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jul 2026 20:17:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wfkKS-008yHP-1k for pgsql-hackers@lists.postgresql.org; Fri, 03 Jul 2026 20:17:41 +0000 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wfkKP-00000001Vq1-0c6p for pgsql-hackers@lists.postgresql.org; Fri, 03 Jul 2026 20:17:39 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 21856140006E; Fri, 3 Jul 2026 16:17:35 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Fri, 03 Jul 2026 16:17:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm3; t=1783109855; x= 1783196255; bh=99hlBKOvlUYNkPUL4M5Q8xfUg07ty5+KQELfNeboqzE=; b=J pLoplneE/SAxP4YA3O+i2I84vMzgz+sBhETDqhAgjrTEvDrkuKL/0oe0bk9EO2ja FRLlV72TCrE1+EbWQfLd+vZyVK71QOxQlfvXb1jj+gpRmPR0+Mh8/t+IvhcSV535 AuLlnA64MMcJaSszq4HpWPXh2otbY3Mo4qgiD+7ezQp3i0yX3cxwl1QnlTpG77yc ZzpOJk9TCAgaZpIRDMiBEZB6j9WQrXfIjzSzbveDLr4dM5ulOCc9samruYbT1uZp VX5qaEbIcmZdwwxt3VfXD9uRH2fco4LT69IVmXfcSoYrPqCe1NgTwubSpmtK3yDf L9uKd3hc2fZMOssCYUvSA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1783109855; x=1783196255; bh=9 9hlBKOvlUYNkPUL4M5Q8xfUg07ty5+KQELfNeboqzE=; b=YHh5ai0aBTRaxJXK7 MmP3whPQOtd/0ER5PvJHR3d/js+EBckW+7+Kbud+pfmTNDK/YPV04wv5HJoI0bqD maAXZHxLescuDmpUFzJfpqgKmxLs9ohdpb2Iey5ry19BBx4lj3t1HoyaLu9hIeji lt9C9RwLb79mzGNAhXgNdwtaMH701y9jk5gIcpazAQ284NlUgfO3pQ6icaQHkYgZ QW+NXPiu2ktSqRaeJyScfxKJByGVwKsq7tA/OPeoU/UhZUNfgl0AhxHwts9iAM46 RevqpjBrrW5EmVQ9w4vVVMLsvTuV4r5kkuGlJdz9CrDBWlCrwOYJfZq1tIIpZ8+M Kemqg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGD1d6Dj8Mp5ElpIVdId6CPOKjbYkvhBTPSS/QyymQgfC0R0YW67wjxTpTHp9TnrC IRz/xGohMzfQ2J9uurvro2prVcN89UkuURIH72JUZucYMH5OksclxPFX5GmTW85u5HGRu4 n4/lEbiK3JLtwctdTJpk/uRGAGHj5wjcSqgbmwiDJsSSlmyTFo1PVfyvqxz1rPhYqTPhMi YhAvZXWnldZeZuPjN2uMaDvD04+3O44CY1NRWFfJA6MMaN98dCFh0ZCffCoH+sPQ7c+EaL 07uITY9d6vJdgRxQNtF65X9dETGcSR/YstRAfDkhLe1RrSUYzGJvlAjlBKQyqIvDGgZlfx zHqwefOtq8kjGmcyeEcRFW5ZFjd0nZgXvz+PRqH4lH3UFAh4cpzXlbc2JvEy1/VcxvsV+7 PIu0ftZtg6yWXiIEJqK0yr2mlqEf070dH+F5hpPzZ206FZrK9hk7d8/gVT+J1YqKUcT4WA JnBaVPzDPwtZjbUfN8KVwdVqV/3vb+1vspZGwKgZUSattrks0qmKz6qYuc56sTxvMl/Fyi 1TZTT8Un1u9Xo/Q/3dZm5JNDuf4zoCo9OPqPeXFUxfRf88TNWncQzFHCtLDOfmbHerps2+ sYaSOOtJNSN+WXj/SqwiTLsy8Cj0OUiaogIpxuDXjb0aEMK77GCbzlQKRN3A X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 Jul 2026 16:17:34 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1783109851; bh=Ar7T2bvNGmYqSORiPOnfRBS77eADSjRxBbeKm1hOA/s=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=ezIRjcZHIVPwrJMefgG9idk5yOZLGT7Tp47iO24Q9sqqyKF0xclXk6S3eCht6ICvS vAaa1engtu2jW/hZoGJZFHws4FjAd5u7fY/wbLUbTIhpEAj5EYp+MHJt6ySz0Ae5oH 3fb2X0ptRktg4eryKRfjxVoTbjy1IOAZKOcuhpofQ6QOmOkJgCM01gDS7gNcpK+OIx U+xLYRGoJQzcFpZuGVwqzfa3pxl7EqEEYRX3FIov7rJJqakRwM8yYl7MryTxfWmqHJ dUvZ4De6JvDNC4QzgqHOy25SF/XStmmyRxpSl13aY4HpMesseQwGSc8TfF7m23EDKc dyPeO94Kcxj2w== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id 1B56FB006AE; Fri, 03 Jul 2026 22:17:31 +0200 (CEST) Date: Fri, 3 Jul 2026 22:17:31 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Jacob Champion Cc: "Jonathan Gonzalez V." , pgsql-hackers@lists.postgresql.org Subject: Re: Coverage (lcov) failing with inconsistent error in versions 2.x Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-Jul-01, Jacob Champion wrote: > We could rewrite https://wiki.postgresql.org/wiki/CodeCoverage, maybe. We could rewrite it, yes, but lower effort for me today was to _reread_ it, and in doing so I realized that we disabled branch reporting seven years ago while we waited for a new GCC version; that fixed GCC version being now ancient history, I have reenabled branch coverage. One totally not funny thing is that with that enabled, lcov fails in even more interesting ways; now you need to give "inconsistent,mismatch" in LCOVFLAGS. So the whole thing is make coverage-html LCOVFLAGS="-q -j0 --ignore-errors usage,negative,inconsistent,mismatch" GENHTML_FLAGS="-q -j0 --legend --ignore-errors unmapped,corrupt,inconsistent,range" I added -j0 to both so that they run parallel processes, which should be a few second faster. In practice it may make no difference, because the real time eater is the xid_wraparound test, which lasts for 10 minutes after all the other tests have completed: # +++ tap check in src/test/modules/xid_wraparound +++ t/002_limits.pl ............ ok t/004_notify_freeze.pl ..... ok t/001_emergency_vacuum.pl .. ok t/003_wraparounds.pl ....... ok All tests successful. Files=4, Tests=23, 415 wallclock secs ( 0.04 usr 0.00 sys + 7.31 cusr 3.81 csys = 11.16 CPU) Result: PASS Regards -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Uno puede defenderse de los ataques; contra los elogios se esta indefenso"