Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pHwyF-0002LQ-HM for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Jan 2023 01:10:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pHwyE-0006zo-CS for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Jan 2023 01:10:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pHwyD-0006ze-U7 for pgsql-hackers@lists.postgresql.org; Wed, 18 Jan 2023 01:10:30 +0000 Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pHwy6-000184-Nw for pgsql-hackers@lists.postgresql.org; Wed, 18 Jan 2023 01:10:28 +0000 Received: by mail-il1-x129.google.com with SMTP id f8so10267022ilj.5 for ; Tue, 17 Jan 2023 17:10:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=vdWn6whH3zI5MnhbLdHbUIcf9qI5tGGIKThiL3DTuSU=; b=tK5lAojRkeRiMcyjgtuvD4MCH7THuJG948MbIqieKDHoE4aLms+uGPHznD9sgL1n3K GeMpyaFc+eP2DjomZXKFIENyl4UbFsJexrZVAKt/eVfN3C4p5mDchrev4lWaype6buEq fl+mV8phtQEF3Y59SHkt1Z6hPTNnE7Xqi5dTCyE9wU7AyLyd5irnTA0822eXruYgkw8l R9vlRCBs4zn5PPcMOyXr/ZX/2rOTsf4CM4dvUrVZtLNOz7+0XPhRPJEAika+L2ZkPdtg MC0Csq8PGHiLD8DePq4eESnnhYtDcmMxPaUoLnuz4iAcKYyXO9Be9jzDpUld/RAJaV2G sZ0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vdWn6whH3zI5MnhbLdHbUIcf9qI5tGGIKThiL3DTuSU=; b=Y8pmyP+c9TWY2AX1JV7BL1v1kMoA2bMyk3p7vhZEQL+AbnwhboGrBA1ImqCvi+wUhs LJEXjNAXoDxfmHC5Y9UiDc1mVN8wM15nQOad4U+vEHsJEsT+KfPKninJhTsh9pWMuKz9 6j6cWbw6AMPGm/jG6DFeQjcBPZlxGD1sLTd9dqt9CeZzr+DLDCT1M3NK7h2iq+9KF/jr l20pRpe8i6e10kcdG0BozE4RxsG6ngvylsTnhdr7056CozXPblb9qjCodkl89Garcta4 ZAEHJL4p7dPi0lFEGbDjnM42EgpqU/F3mP5I2f99J7F1+mHMuILdmUXoDrQIY2ycBbOI twsg== X-Gm-Message-State: AFqh2krD3Ewtv9GK9qGPGkD9olxYuyFYLOD4Feo5GLjbGNXu1liMBSNC flIqAWfLprV7N0T6NX3lTle5TQ== X-Google-Smtp-Source: AMrXdXuaPyhcDROCOgWSFHUj+HPWAG0iF2ytcvIvlycmSqeT4yAykb/Aq34rsTVqNzz/t+4jIRqTyA== X-Received: by 2002:a92:cda2:0:b0:30e:ed47:7915 with SMTP id g2-20020a92cda2000000b0030eed477915mr5539752ild.2.1674004221590; Tue, 17 Jan 2023 17:10:21 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id a88-20020a029461000000b0039e5786d7b7sm10095956jai.18.2023.01.17.17.10.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 17:10:20 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id BD82F80074A; Tue, 17 Jan 2023 19:10:18 -0600 (CST) Date: Tue, 17 Jan 2023 19:10:18 -0600 From: Justin Pryzby To: Andres Freund Cc: Andrew Dunstan , Thomas Munro , pgsql-hackers@lists.postgresql.org, Noah Misch , Michael Paquier , Anastasia Lubennikova , Tom Lane , Robert Haas , Melanie Plageman , Peter Eisentraut , Daniel Gustafsson , samay sharma Subject: Re: CI and test improvements Message-ID: <20230118011018.GY9837@telsasoft.com> References: <20220828212802.r6eymfffrgr3lxxt@awork3.anarazel.de> <20220910200542.GX31833@telsasoft.com> <20221104235412.GE16921@telsasoft.com> <20221105015946.yrxijqb7h4rqhp6d@awork3.anarazel.de> <20221113235303.GA26337@telsasoft.com> <20221121224542.p2zapvyvb7objluw@alap3.anarazel.de> <20221122225744.GF11463@telsasoft.com> <20230104234424.GE3109@telsasoft.com> <20230117173509.GV9837@telsasoft.com> <20230117195642.vkanrt4yjeanogqr@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230117195642.vkanrt4yjeanogqr@awork3.anarazel.de> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Jan 17, 2023 at 11:56:42AM -0800, Andres Freund wrote: > > $(CF_PGP_TESTS) is missing from contrib/pgcrypto/meson.build > > Assume that's the false positive? Yes > > I also tried but failed to write something to warn if "meson test" was > > run with a list of tests but without tmp_install. Help wanted. > > That doesn't even catch the worst case - when there's tmp_install, but it's > too old. I don't understand what you mean by "too old" ? > > I propose to put something like this into "SanityCheck". > > Perhaps we instead could add it as a separate "meson-only" test? Then it'd > fail on developer's machines, instead of later in CI. We could pass the test > information from the 'tests' array, or it could look at the metadata in > meson-info/intro-tests.json I guess you mean that it should be *able* to fail on developer machines *in addition* to cirrusci. But, a meson-only test might not be so helpful, as it assumes that the developer is using meson, in which case the problem would tend not to have occured in the first place. BTW I also noticed that: meson.build:meson_binpath_r = run_command(python, 'src/tools/find_meson', check: true) meson.build- meson.build-if meson_binpath_r.returncode() != 0 or meson_binpath_r.stdout() == '' meson.build- error('huh, could not run find_meson.\nerrcode: @0@\nstdout: @1@\nstderr: @2@'.format( The return code will never be nonzero since check==true, right ? -- Justin