From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de>, Todd Cook <cookt(at)blackduck(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Noah Misch <noah(at)leadboat(dot)com> |
Subject: | Re: TEMP_CONFIG vs test_aio |
Date: | 2025-04-01 21:08:49 |
Message-ID: | 7dc78fd9-0afc-484e-bcba-c6f58567ab81@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On 2025-04-01 Tu 4:17 PM, Andres Freund wrote:
> Hi,
>
> On 2025-04-01 20:12:29 +0000, Todd Cook wrote:
>> On 4/1/25, 3:42 PM, "Andres Freund" <andres(at)anarazel(dot)de <mailto:andres(at)anarazel(dot)de>> wrote:
>>> I just committed the tests for AIO, and unfortunately they (so far) fail on
>>> one buildfarm animal:
>>> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=bumblebee&dt=2025-04-01%2018%3A55%3A01 <https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=bumblebee&dt=2025-04-01%2018%3A55%3A01>
>>>
>>> The reason for the failure is simple, the buildfarm animal specifies
>>> io_method=io_uring (thanks to "cookt" for setting that up so quickly, whoever
>>> you are :)) and the test is assuming that the -c io_method=... it passes to
>>> initdb is actually going to be used, but it's overwritten by the TEMP_CONFIG.
>> You're welcome!
>>
>> Is there an alternate way I could use to configure the io_method on bumblebee?
> You could use PG_TEST_INITDB_EXTRA_OPTS, but I think you did it the right
> way.
>
> For one using PG_TEST_INITDB_EXTRA_OPTS would probably require changing the
> buildfarm code, because the buildfarm code filters out environment variables
> that aren't on an allowlist (I really dislike that).
Uh, not quite. Anything in the config's build_env is not filtered out.
That change was made a year ago.
cheers
andrew
--
Andrew Dunstan
EDB:https://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2025-04-01 21:34:19 | Re: TEMP_CONFIG vs test_aio |
Previous Message | Tom Lane | 2025-04-01 20:50:32 | pgsql: Fix detection and handling of strchrnul() for macOS 15.4. |
From | Date | Subject | |
---|---|---|---|
Next Message | Corey Huinker | 2025-04-01 21:24:57 | Re: Add partial :-variable expansion to psql \copy |
Previous Message | David Rowley | 2025-04-01 21:06:59 | Re: Add estimated hit ratio to Memoize in EXPLAIN to explain cost adjustment |