pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Lakhin <exclusion@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Subject: Re: Recent 027_streaming_regress.pl hangs
Date: Tue, 4 Jun 2024 13:00:00 +0300
Message-ID: <f748ee55-9e73-3f5e-e879-8865c5e9933a@gmail.com> (raw)
In-Reply-To: <20240404170055.qynecay7szu3dgvu@awork3.anarazel.de>
References: <b871cdd5-153b-bf91-e24d-fab90394c022@gmail.com>
	<CA+hUKGJScMYiyM5SmwQ23Fwh1394=vQ+nxiV0ke2WocupThs+Q@mail.gmail.com>
	<2378342.1710449799@sss.pgh.pa.us>
	<20240321004145.obrbakt4ugzcsphy@awork3.anarazel.de>
	<20240326035607.grqoyrxjvpyhnkrf@awork3.anarazel.de>
	<2750204.1711425638@sss.pgh.pa.us>
	<20240326042832.4urkzpnwhawyngah@awork3.anarazel.de>
	<2756083.1711428894@sss.pgh.pa.us>
	<20240326075912.sia3wlvnaqnbf47u@awork3.anarazel.de>
	<7e914807-eeaa-5c44-3543-bb2888030122@gmail.com>
	<20240404170055.qynecay7szu3dgvu@awork3.anarazel.de>

Hello Andres,

>> So it looks like the issue resolved, but there is another apparently
>> performance-related issue: deadlock-parallel test failures.
> I reduced test concurrency a bit. I hadn't quite realized how the buildfarm
> config and meson test concurrency interact.  But there's still something off
> with the frequency of fsyncs during replay, but perhaps that doesn't qualify
> as a bug.

It looks like that set of animals is still suffering from extreme load.
Please take a look at the today's failure:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2024-06-04%2002%3A44%3A19

1/1 postgresql:regress-running / regress-running/regress TIMEOUT        3000.06s   killed by signal 15 SIGTERM

inst/logfile ends with:
2024-06-04 03:39:24.664 UTC [3905755][client backend][5/1787:16793] ERROR:  column "c2" of relation "test_add_column" 
already exists
2024-06-04 03:39:24.664 UTC [3905755][client backend][5/1787:16793] STATEMENT:  ALTER TABLE test_add_column
         ADD COLUMN c2 integer, -- fail because c2 already exists
         ADD COLUMN c3 integer primary key;
2024-06-04 03:39:30.815 UTC [3905755][client backend][5/0:0] LOG: could not send data to client: Broken pipe
2024-06-04 03:39:30.816 UTC [3905755][client backend][5/0:0] FATAL: connection to client lost

"ALTER TABLE test_add_column" is from the alter_table test, which executed
in the group 21 out of 25.

Another similar failure:
https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=skink&dt=2024-05-24%2002%3A22%3A26...

1/1 postgresql:regress-running / regress-running/regress TIMEOUT        3000.06s   killed by signal 15 SIGTERM

inst/logfile ends with:
2024-05-24 03:18:51.469 UTC [998579][client backend][7/1792:16786] ERROR:  could not change table "logged1" to unlogged 
because it references logged table "logged2"
2024-05-24 03:18:51.469 UTC [998579][client backend][7/1792:16786] STATEMENT:  ALTER TABLE logged1 SET UNLOGGED;
(This is the alter_table test again.)

I've analyzed duration of the regress-running/regress test for the recent
167 runs on skink and found that the average duration is 1595 seconds, but
there were much longer test runs:
2979.39: 
https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=skink&dt=2024-05-01%2004%3A15%3A29...
2932.86: 
https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=skink&dt=2024-04-28%2018%3A57%3A37...
2881.78: 
https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=skink&dt=2024-05-15%2020%3A53%3A30...

So it seems that the default timeout is not large enough for these
conditions. (I've counted 10 such timeout failures of 167 test runs.)

Also, 027_stream_regress still fails due to the same reason:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=serinus&dt=2024-05-22%2021%3A55%3A03
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=flaviventris&dt=2024-05-22%2021%3A54%3A5...
(It's remarkable that these two animals failed at the same time.)

Best regards,
Alexander





view thread (31+ messages)  latest in thread

Message-ID: <f748ee55-9e73-3f5e-e879-8865c5e9933a@gmail.com>
Permalink:  ../f748ee55-9e73-3f5e-e879-8865c5e9933a@gmail.com/
Also on:    postgresql.org/message-id/f748ee55-9e73-3f5e-e879-8865c5e9933a@gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: exclusion@gmail.com, andres@anarazel.de, tgl@sss.pgh.pa.us, thomas.munro@gmail.com, michael@paquier.xyz, bharath.rupireddyforpostgres@gmail.com
  Subject: Re: Recent 027_streaming_regress.pl hangs
  In-Reply-To: <f748ee55-9e73-3f5e-e879-8865c5e9933a@gmail.com>
  References: <b871cdd5-153b-bf91-e24d-fab90394c022@gmail.com> <CA+hUKGJScMYiyM5SmwQ23Fwh1394=vQ+nxiV0ke2WocupThs+Q@mail.gmail.com> <2378342.1710449799@sss.pgh.pa.us> <20240321004145.obrbakt4ugzcsphy@awork3.anarazel.de> <20240326035607.grqoyrxjvpyhnkrf@awork3.anarazel.de> <2750204.1711425638@sss.pgh.pa.us> <20240326042832.4urkzpnwhawyngah@awork3.anarazel.de> <2756083.1711428894@sss.pgh.pa.us> <20240326075912.sia3wlvnaqnbf47u@awork3.anarazel.de> <7e914807-eeaa-5c44-3543-bb2888030122@gmail.com> <20240404170055.qynecay7szu3dgvu@awork3.anarazel.de> <f748ee55-9e73-3f5e-e879-8865c5e9933a@gmail.com>

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

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