agora inbox for pgsql-hackers@postgresql.org  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Narek Galstyan <narek.galstyan@enterprisedb.com>
Cc: pgsql-hackers@postgresql.org, "narekg@berkeley.edu" <narekg@berkeley.edu>
Cc: ngalstyan4@gmail.com
Subject: Re: Coverage with make coverage-html is broken on latest Debian using lcov v2
Date: Sat, 3 Oct 2026 23:32:39 +0200
Message-ID: <asFzNIrD0_SAD995@alvherre.pgsql> (raw)
In-Reply-To: <44mk7ctqddpmo5666am4nagw4ocovrubvqjdg3zpm5t3qatwaf@qx5zshy6mogj>

On 2026-Oct-03, Andres Freund wrote:

> - The intentional use of SIGQUIT shutdowns in a lot of tests leads to
>   incomplete coverage
> 
>   That doesn't trigger gcov / lcov / genhtml errors, but it leads to things
>   being assumed uncovered that aren't.
> 
>   Because we shut down a lot of tap test clusters with immediate mode, this
>   actually has pretty large impact.
> 
>   I've experimented with replacing all the _exit() uses in the backend with
>   something that triggers flushing of the coverage information in some cases
>   that can be considered kinda maybe safe.

We had these threads about this problem
https://postgr.es/m/58ce1068-0cfc-3394-df69-ee0d03aaebb5%402ndquadrant.com
https://postgr.es/m/816a4de5-3f15-4d66-1ec1-791cab2ca6df@gmail.com
but I don't think we did anything about that.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/






view thread (10+ messages)  latest in thread

Message-ID: <asFzNIrD0_SAD995@alvherre.pgsql>
Permalink:  ../asFzNIrD0_SAD995@alvherre.pgsql/
Also on:    postgresql.org/message-id/asFzNIrD0_SAD995@alvherre.pgsql

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@kurilemu.de, andres@anarazel.de, tgl@sss.pgh.pa.us, narek.galstyan@enterprisedb.com, narekg@berkeley.edu, ngalstyan4@gmail.com
  Subject: Re: Coverage with make coverage-html is broken on latest Debian using lcov v2
  In-Reply-To: <asFzNIrD0_SAD995@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox