pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Lakhin <exclusion@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
To: Zsolt Parragi <zsolt.parragi@percona.com>
Cc: shihao zhong <zhong950419@gmail.com>
Cc: Jacob Champion <jacob.champion@enterprisedb.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Emptying oauth_validator_libraries doesn't stop OAuth logins
Date: Sun, 8 Nov 2026 12:00:00 +0200
Message-ID: <078be990-1420-4ab5-997f-82e7afb86f7c@gmail.com> (raw)
In-Reply-To: <C6EE5C79-AC29-4F3D-B0BD-B07E9298051A@yesql.se>
References: <CAN4CZFNbWXwC=s4t9Xu1kitLsQvTe-EwpVtFCjixWCHBxRTraQ@mail.gmail.com>
	<CAOYmi+nbiz5vL97mz701xToCHw_eMxVR-0j=AZGG5JA09i5Wjg@mail.gmail.com>
	<CAGRkXqTyttnAq_KBb2E4fVVH1z3ioUL_kuLSRsJvgvJkexKGEA@mail.gmail.com>
	<6EF90036-EE83-4E72-B420-52FDF3445768@yesql.se>
	<CAN4CZFMTasSzM_udbhm+UYrcYWxp4MuAzv2uNxme-sb+mvhBKQ@mail.gmail.com>
	<C6EE5C79-AC29-4F3D-B0BD-B07E9298051A@yesql.se>

Hello Daniel and Zsolt,

05.11.2026 23:17, Daniel Gustafsson wrote:
> I pushed this earlier today, but according the buildfarm the backpatch of the
> test to 18 wasn't entirely correct.  Will fix when back at the laptop.

Recent changes to oauth_validator/001_server.pl increased its duration so
it fails now on overloaded (due to concurrent activity?) animals, like in
[1] and [2]:
# die: IPC::Run: timeout on timer #1 at /usr/share/perl5/IPC/Run.pm line 3361.
# Looks like your test exited with 29 just after 151.

# die: IPC::Run: timeout on timer #1 at /usr/share/perl5/IPC/Run.pm line 3361.
# Looks like your test exited with 2 just after 133.

Logs of these animals show that other tests also ran for longer in these
runs, e.g. compare [2]:
218/401 recovery - postgresql:recovery/027_stream_regress OK             1048.99s   11 subtests passed
392/401 oauth_validator - postgresql:oauth_validator/001_server ERROR           191.48s   exit status 2

vs the next successful run [3]
183/401 recovery - postgresql:recovery/027_stream_regress OK               88.70s   11 subtests passed
400/401 oauth_validator - postgresql:oauth_validator/001_server OK               55.08s   173 subtests passed

Out of 200+ animals, only 25 have "oauth" in PG_TEST_EXTRA plus libcurl
enabled -- this can explain why definitely slower animals didn't fail the
test.

Could you please look if the test can be made more resilient against such slowdowns?

[1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=grassquit&dt=2026-11-07%2000%3A31%3A47
[2] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=olingo&dt=2026-11-07%2000%3A31%3A30
[3] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=olingo&dt=2026-11-07%2002%3A52%3A57

Best regards,
Alexander

view thread (14+ messages)  latest in thread

Message-ID: <078be990-1420-4ab5-997f-82e7afb86f7c@gmail.com>
Permalink:  ../078be990-1420-4ab5-997f-82e7afb86f7c@gmail.com/
Also on:    postgresql.org/message-id/078be990-1420-4ab5-997f-82e7afb86f7c@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, daniel@yesql.se, zsolt.parragi@percona.com, zhong950419@gmail.com, jacob.champion@enterprisedb.com
  Subject: Re: Emptying oauth_validator_libraries doesn't stop OAuth logins
  In-Reply-To: <078be990-1420-4ab5-997f-82e7afb86f7c@gmail.com>
  References: <CAN4CZFNbWXwC=s4t9Xu1kitLsQvTe-EwpVtFCjixWCHBxRTraQ@mail.gmail.com> <CAOYmi+nbiz5vL97mz701xToCHw_eMxVR-0j=AZGG5JA09i5Wjg@mail.gmail.com> <CAGRkXqTyttnAq_KBb2E4fVVH1z3ioUL_kuLSRsJvgvJkexKGEA@mail.gmail.com> <6EF90036-EE83-4E72-B420-52FDF3445768@yesql.se> <CAN4CZFMTasSzM_udbhm+UYrcYWxp4MuAzv2uNxme-sb+mvhBKQ@mail.gmail.com> <C6EE5C79-AC29-4F3D-B0BD-B07E9298051A@yesql.se> <078be990-1420-4ab5-997f-82e7afb86f7c@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