Re: xid_wraparound tests intermittent failure.

From: Alexander Lakhin <exclusion(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Masahiko Sawada <msawada(at)postgresql(dot)org>
Subject: Re: xid_wraparound tests intermittent failure.
Date: 2024-07-21 20:08:08
Message-ID: 02373ec3-50c6-df5a-0d65-5b9b1c0c86d6@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

21.07.2024 20:34, Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>> I noticed this when working on the PostgreSQL::Test::Session project I
>> have in hand. All the tests pass except occasionally the xid_wraparound
>> tests fail. It's not always the same test script that fails either. I
>> tried everything but couldn't make the failure stop. So then I switched
>> out my patch so it's running on plain master and set things running in a
>> loop. Lo and behold it can be relied on to fail after only a few
>> iterations.
> I have been noticing xid_wraparound failures in the buildfarm too.
> They seemed quite infrequent, but it wasn't till just now that
> I realized that xid_wraparound is not run by default. (You have to
> put "xid_wraparound" in PG_TEST_EXTRA to enable it.) AFAICS the
> only buildfarm animals that have enabled it are dodo and perentie.
> dodo is failing this test fairly often:
>
> https://buildfarm.postgresql.org/cgi-bin/show_history.pl?nm=dodo&br=HEAD

I think this failure is counted at [1]. Please look at the linked message
[2], where I described what makes the test fail.

[1]
https://wiki.postgresql.org/wiki/Known_Buildfarm_Test_Failures#001_emergency_vacuum.pl_fails_to_wait_for_datfrozenxid_advancing
[2] https://www.postgresql.org/message-id/5811175c-1a31-4869-032f-7af5e3e4506a@gmail.com

Best regards,
Alexander

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2024-07-21 20:14:46 Re: Lock-free compaction. Why not?
Previous Message Andrey M. Borodin 2024-07-21 19:31:51 Re: WIP: parallel GiST index builds