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.98.2) (envelope-from ) id 1xPzh0-000000014a5-1SHr for pgsql-hackers@arkaria.postgresql.org; Sun, 08 Nov 2026 10:00:07 +0000 Received: from localhost ([127.0.0.1]:49018 helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xPzh0-00000005zNa-38mp for pgsql-hackers@arkaria.postgresql.org; Sun, 08 Nov 2026 10:00:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]:35074) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xPzh0-00000005zNS-1hhm for pgsql-hackers@lists.postgresql.org; Sun, 08 Nov 2026 10:00:06 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1xPzgy-000000011sz-0I5u for pgsql-hackers@lists.postgresql.org; Sun, 08 Nov 2026 10:00:06 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4a35db1f202so1700945e9.3 for ; Sun, 08 Nov 2026 02:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794132002; x=1794736802; darn=lists.postgresql.org; h=in-reply-to:content-language:from:references:cc:to:subject :user-agent:mime-version:date:message-id:content-type:from:to:cc :subject:date:message-id:reply-to:content-type; bh=6IXaIfiL1hzlziO8DRGf1i7/mAPrjZKc1zpdDxEUTGU=; b=b/M7lWt1P0RTjMoD54KpT3mY1eRLofWDblxnirM/hHOiyFlQe3yFAd9WMAwyegjv3L 9b/YO5wPKaadMclIgPRMpvKy++SUABEl3zjwIgPeDN3t/Wa0uMjuz0FFOCic8qKpXRNs lF8w6GVMrL/3bEOfbqYgMCfxuDcKxudzoijFtms0hV2sHtS986EEtYsOb68Px84jNfhp ZW8gzXjFNmwqQH0lkFa5t5MrYsdkOveIbdhJGzlosZK4HN2ZpDP2DrN5INrE3ebGd6D6 cFZPKdeRNQuptJr7iXNWCXjUDByDEFVwbqIdzwdN8md2zflHi5o6Qq16Y/Zd+RZ2Vnsf B5zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794132002; x=1794736802; h=in-reply-to:content-language:from:references:cc:to:subject :user-agent:mime-version:date:message-id:content-type:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=6IXaIfiL1hzlziO8DRGf1i7/mAPrjZKc1zpdDxEUTGU=; b=P1krnGXSiM+C19fFv/Tmab1EEjRxm9wXrBMI4ku+F+sFG65TEU6ShTUf7NSXIGRlO7 05TCu0CWdGJtIP1HAQTMumX9zkgjCF2PzCyEHJKnzf15w3Z684zlxvwbVmbw8/ou1Xww d6LCO20Jr6opDO4/+jCn7dVAy0Y96kibdfztII5gYp9rlR7wJvv2CzN1ww8tLwc7i3Dy LA4H96sN9+lx4xWvviZkB7nMRJffeQCa+agRh4j/4FGXbAgsyDER4kwZjBKQP+yBb9z2 iGFtR9KAc9D+IXaPzltEDczSjPb9POq4iELJcdipWvW5QRM9l2Mt10fOBtkyT9c6x8wP 3EBQ== X-Forwarded-Encrypted: i=1; AL+hErEcrqGosqTQ5DFz3/6qg9FnNPsw568uwXNJubqiSxnAg2zxuNdRL0zJBWQBiJNO0sd6suKTVhCnhOsYq7kv@lists.postgresql.org X-Gm-Message-State: APuU4Z/bL/GFITwnCnUc1uOeTmwuBjtikqgvwT0yE1N0thX4rtg3sH5R gBoHYWFPBBsKpMNDoBFViCoF2U/XluBmWsDZPsiYs/YB9u09Fc5cfmBo X-Gm-Gg: AYBFou2N0EROJHFTK2UuMbIaPBTWC892AxpLGibahkSsrgIe3Gg96fX/dBxlfpggoT6 ZIIS7qo4WPXnNXFiQgpL2W2o3TsyzLatJFbrzTkVDXEXrPiLk/PcLzd2xNvUK4HOccnwdttG+Cx GxDgZqbmp4nWk2uWsg4IRoRfkNYxC/B4A3PVQlvjSyw3mKaG0CKvsVNAyLo7g3FPTM4tPWIO8JW hvAaxT2LYy+q8nbSmaXurD6QqvF+X+0YgD9V34lC/mVEYYxGOINePCX0CEgvyZ0Hzhc95pYTcPP i0pjTtxaPa2NjPfeM+EIb1af4VhSXmsgTiDF9RF3C8LgkkhdJtVa/jkC5lx8MG/DHTkrz4/8YXk QkjjhuYADFAKTRnedlF8M9f7NsErZMyeF9FLgYGwjMwIhhnslSDqfrnhtTd3hz8mLM5+eYpngL1 mxCzOsinex9FHxiLCkRZo2QIX/x1AxboBpkoay3R1l/bpe1q62gfNXSRUNXEcbZ7wWLcbqUjWYw 3xsQKqwgk+ojAyelVcw5unDoVl2j90Z7InYNPnkvH6NeBQtgaTHxvqHy0wU2pUfsTEmoLB1QzVn 2zkAuSafPS5nyGIdPSNSO9oB8TChrmqtlWXAEkazu2DstRUOClc= X-Received: by 2002:a05:600c:6990:b0:4a6:30c3:1114 with SMTP id 5b1f17b1804b1-4b960e9a77cmr20310135e9.12.1794132002293; Sun, 08 Nov 2026 02:00:02 -0800 (PST) Received: from [192.168.0.50] ([89.149.93.246]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-495b464f1c7sm3566919f8f.12.2026.11.08.02.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Nov 2026 02:00:01 -0800 (PST) Content-Type: multipart/alternative; boundary="------------BrpyYCKkovRSLRP0X75Blz7V" Message-ID: <078be990-1420-4ab5-997f-82e7afb86f7c@gmail.com> Date: Sun, 8 Nov 2026 12:00:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Emptying oauth_validator_libraries doesn't stop OAuth logins To: Daniel Gustafsson , Zsolt Parragi Cc: shihao zhong , Jacob Champion , PostgreSQL Hackers References: <6EF90036-EE83-4E72-B420-52FDF3445768@yesql.se> From: Alexander Lakhin Content-Language: en-US In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------BrpyYCKkovRSLRP0X75Blz7V Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------BrpyYCKkovRSLRP0X75Blz7V Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
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
--------------BrpyYCKkovRSLRP0X75Blz7V--