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.94.2) (envelope-from ) id 1tziqw-005isK-Sc for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Apr 2025 21:08:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tziqv-006fsG-HJ for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Apr 2025 21:08:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tziqv-006fs7-62 for pgsql-hackers@lists.postgresql.org; Tue, 01 Apr 2025 21:08:57 +0000 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tziqs-002pVa-2p for pgsql-hackers@postgresql.org; Tue, 01 Apr 2025 21:08:56 +0000 Received: by mail-qv1-xf2b.google.com with SMTP id 6a1803df08f44-6ed0cc5eca4so2379086d6.1 for ; Tue, 01 Apr 2025 14:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1743541732; x=1744146532; darn=postgresql.org; h=in-reply-to:autocrypt:content-language:from:references:cc:to :subject:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=H7X/b0sl3rXN80bBBfG7O9zQftX2ES6mhUOnZOV0pFI=; b=gfgPya3lAVop1vLjQ6VVjttX6wpdsbwHA++uCMJrfK5tdmThdE5QGhSq1Cd78r+tLo lpRtflXzOsqwMM1cTvJLopCwi035xt5cinRfWKtGkjw7rnewjZ15PDhlZ30cNiSNBv+V 5ywOqN40gw9SCEKZgoXRyGndQc1BGMwTNm2dVrBCgJvtCgmoNP0Vd8H7T1fWbh+k0Uzw 6Bth44G0SJ3sUg8BeK+4bE6YkRhxDP17KWK5wjazFHzzBHaGii+wvzjNkExk1CiIoVn+ BnYu2vIZTi9fwdjfxOltEgSgNmj7GfXa9WySY1HBFzFRT6Rc72Fup00zCEAV+mVI8B6i 06tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743541732; x=1744146532; h=in-reply-to:autocrypt:content-language:from:references:cc:to :subject:user-agent:mime-version:date:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=H7X/b0sl3rXN80bBBfG7O9zQftX2ES6mhUOnZOV0pFI=; b=bgwNZWHtZGdjkQ5eQnNoCHTnFLiwl9+W1zq+Aor1jfubxUFOZDLznrt3oaknUgAC/L WkDNi16B6jC76QdVviL1TAFXVxllyC6vTb7SAWOGaVS0N1JmB+3iuE5WAb/Mw2UnvlxO TC1HwKPW6+SlReF4H3blsY9dlQhokLNOTEbwDzyDMBFfai0BEr4DarWZHWuSLFjx0yTN PnD4NYBRbmsW+VirwA44XvSEd3pQobnjzAVr4JdxBGP97VsyjuLeXE//yxuaX+N3Qfs3 h80+TJtqcCt8G7oLSI3OYdkNQJ/iPQrHTOmaeRoG83AaXaXTlvWHdPs3S1DgDCgraAR4 TQog== X-Gm-Message-State: AOJu0YymHqW5AHEsWYlzhS92LmIpP3G+shfRErnLlvy0NYKz6fKlVw0a M+uV+OOvuGxYTqpyLxfAwkJcfLOZW4mze4ygUa+AvX10qEiMJ6Qa+hDANzOO1zQ= X-Gm-Gg: ASbGncvr74Ks6lnYuOEdOi1iS1HOTRUFh41CyIFoELfqvoPjsT614q64lhdx722jdN3 qObTgTlLKtlbrA+HHvO9EF6fH8TNi5QFvOq8CIDMQrPNm4Q9nPjRcpwPNomQwMKwgqoz56++6/Y e66ZDef3tG7NuW+n4XPH+g57JOgWeS0Lh5OiEBEujnYd9qIRy0L6iyH4larzTxtGKNiR+A29LIB vGs/CNSWQ711Op4VPyl21RsTJrUJgfuUk60trOpVhSevE3i/9J1Sw3z3RtZHQQOi4ASZ/9pgbMW IIoBpNUOBa2kX/aI3G4QKEyia9Ehd217wKzNhLyMw+Ecb5NPuO7Bixo= X-Google-Smtp-Source: AGHT+IERLuZH9I5sxjFiXfnCFoKcgxjJEM7GNL5Gw2dO6yRK9vx8fxfHvlummeNECYmBOOhNNVw9HA== X-Received: by 2002:a05:6214:d04:b0:6ef:a8:4062 with SMTP id 6a1803df08f44-6ef00a840edmr21399986d6.0.1743541731808; Tue, 01 Apr 2025 14:08:51 -0700 (PDT) Received: from ?IPV6:2605:a601:a681:6b00::1cb? ([2605:a601:a681:6b00::1cb]) by smtp.googlemail.com with ESMTPSA id 6a1803df08f44-6eec9797081sm66229206d6.111.2025.04.01.14.08.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Apr 2025 14:08:51 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------ZWDxNUmQBhX1qDC2M5OHOy7T" Message-ID: <7dc78fd9-0afc-484e-bcba-c6f58567ab81@dunslane.net> Date: Tue, 1 Apr 2025 17:08:49 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: TEMP_CONFIG vs test_aio To: Andres Freund , Todd Cook Cc: "pgsql-hackers@postgresql.org" , Noah Misch References: <4fi62oxjougycbzfuynokg2gajxx3j4ue6velmbzgtski5jlpz@72ri5hvlntac> From: Andrew Dunstan Content-Language: en-US Autocrypt: addr=andrew@dunslane.net; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAV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wHwEGAEIACYCGwwWIQTkPlhGHfx8v0RpFaWZ+n/LWfw7gQUCZFlx 5wUJGVGAjgAKCRCZ+n/LWfw7gf+iB/4g8CPY5jihf5r/8EsoIGe2H+dpVmpPF8YGBzTIvCz/ fQoOq8AX/pE76QEuFnFZWfjw+wgBXgCVmkox2Eflkk6z4ND3pcwGZ6CfCxTQCDk/dij+2DQ4 6bmDCy/sBgcbz9mTpoLC11HLoPae6YN9nBNQRZDcEFEu54OaVOqlIdbA6m+POIBCXZdHOFc0 WoDTgxHRzC1jgQNidyd6tKqcsVJs0dzF0oKTmFFmUAqTdJO12LBuNA1rlqrR3EtpYk8B/wtS 5dIMD7Q8hwQpL+4C6GNpb6ZKnPkLi47pDOLhz2qBrqN+rqUEsT3YnExYpzj5yOBi+FlmV1Hw 49QYe1sn2ZPs In-Reply-To: <4fi62oxjougycbzfuynokg2gajxx3j4ue6velmbzgtski5jlpz@72ri5hvlntac> 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. --------------ZWDxNUmQBhX1qDC2M5OHOy7T Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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" > 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 >>> >>> 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 --------------ZWDxNUmQBhX1qDC2M5OHOy7T Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit


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@anarazel.de <mailto:andres@anarazel.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&amp;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
--------------ZWDxNUmQBhX1qDC2M5OHOy7T--