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 1rsSSw-007CkG-ON for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Apr 2024 19:09:39 +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 1rsSSv-00C9jQ-Oj for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Apr 2024 19:09:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rsSSv-00C9fc-9w for pgsql-hackers@lists.postgresql.org; Thu, 04 Apr 2024 19:09:37 +0000 Received: from dd25110.kasserver.com ([85.13.146.49]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rsSSs-000aJ8-ED for pgsql-hackers@postgresql.org; Thu, 04 Apr 2024 19:09:36 +0000 Received: from [192.168.0.101] (ip-037-201-153-175.um10.pools.vodafone-ip.de [37.201.153.175]) by dd25110.kasserver.com (Postfix) with ESMTPSA id 11A21E1A00DA; Thu, 4 Apr 2024 21:09:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=technowledgy.de; s=kas202308201259; t=1712257771; bh=Y4Hv1IH/wjXKOoENSXZbo0fAygxx9WBdcHfeZf0UOxU=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From; b=ensUo/MH0d/KiG9XgWLZHCHrCLfi1e/htaBjmSAl9oOKLD/40ZZsQUG2x2dDyzh0n mxw2PAVP6W+uKkS56qbz+VrVUXDq0cqhnONgb1hgPRP0LT59cZ9DRetxGCYGmgAJMs FIpeARTiWF4vaW8n4RMbUsVZYj4Fu/Gy73FeErc9SM/KOrlGV5jKRxHaoIlaLx8Hsi 4Twwiy+WOubwyTUlZIQkndua5ZzRz2Al0L4u+GGbGVzW+iPBFw0POThNkXdMaNWvkq U04fwF3CSMQ1x8ggnxf9D4Bmpo+jv7H+advnEnlZie49cz6Nxe8QjSC58FBBfYeYq8 wLhH08ArWSfNw== Message-ID: <9b7cc292-9feb-46c9-af2c-ecd55fbd413a@technowledgy.de> Date: Thu, 4 Apr 2024 21:09:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Wolfgang Walther Subject: Re: Building with musl in CI and the build farm Content-Language: en-US To: Tom Lane Cc: Peter Eisentraut , Andres Freund , PostgreSQL-development References: <4093813.1710899588@sss.pgh.pa.us> <4095435.1710900216@sss.pgh.pa.us> <477fa513-6bf0-456d-8d24-1e22a19df671@technowledgy.de> <20240322001948.atp2eetusylgjyw2@awork3.anarazel.de> <40543180-a0a2-495b-8d34-23b46c28f533@technowledgy.de> <20240326001447.wcatfvx45tkmizji@awork3.anarazel.de> <0a48d551-50e1-4bd3-8d46-8421e3b1b724@technowledgy.de> <7764f41f-29f6-428f-b40d-43ba2da38170@eisentraut.org> <545893.1712241401@sss.pgh.pa.us> <12606570-50cc-4e66-9c5c-d9e61764551d@technowledgy.de> <562618.1712243951@sss.pgh.pa.us> In-Reply-To: <562618.1712243951@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: / List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Tom Lane: >> You'd have to commit a failing patch first to break CI for all other >> developers. > > No, what I'm more worried about is some change in the environment > causing the build to start failing. When that happens, it'd better > be an environment that many of us are familiar with and can test/fix. The way I understand how this work is, that the images for the VMs in which those CI tasks run, are not just dynamically updated - but are actually tested before they are used in CI. So the environment doesn't just change suddenly. See e.g. [1] for a pull request to the repo containing those images to update the linux debian image from bullseye to bookworm. This is exactly the image we're talking about. Before this image is used in postgres CI, it's tested and confirmed that it actually works there. If one of the jobs was using musl - that would be tested as well. So this job would not just suddenly start failing for everybody. I do see the "familiarity" argument for the SanityCheck task, but for a different reason: Even though it's unlikely for this job to fail for musl specific reasons - if you're not familiar with musl and can't easily test it locally, you might not be able to tell immediately whether it's musl specific or not. If musl was run in one of the later jobs, it's much different: You see all tests failing - alright, not musl specific. You see only the musl test failing - yeah, musl problem. This should give developers much more confidence looking at the results. Best, Wolfgang [1]: https://github.com/anarazel/pg-vm-images/pull/91