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 1nJ0XY-0002s3-UQ for pgsql-hackers@arkaria.postgresql.org; Sat, 12 Feb 2022 22:06:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nJ0XX-00021u-KQ for pgsql-hackers@arkaria.postgresql.org; Sat, 12 Feb 2022 22:06:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJ0XX-0001zF-9w for pgsql-hackers@lists.postgresql.org; Sat, 12 Feb 2022 22:06:47 +0000 Received: from mail-io1-xd2b.google.com ([2607:f8b0:4864:20::d2b]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nJ0XU-0008AR-BM for pgsql-hackers@postgresql.org; Sat, 12 Feb 2022 22:06:46 +0000 Received: by mail-io1-xd2b.google.com with SMTP id h7so15730185iof.3 for ; Sat, 12 Feb 2022 14:06:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=zKtKDVqZFV0wQJbyZkCYv6NwTMfOz4H7xxoqH1pb9X8=; b=5/2ZVq3oGyp0ez3ucDhZCEfmNmP1+EYJagE0nzdUf6bY/qWytvNMuiXWzuIKk/y8sd wSEuLh0Hcc1TcBpjwgaco3BDsYM9BAxNG25pdW4zKzsf7qJKd0H8rzD/DPyYL5AoqlAF wCBDd2/mI0U9GN77TCTlA453n5xGuIJUj9gMLCGG4rcc30jtLmZpAdNmHJlGpAidpQ8I GGaAe23oNkKHsjw2p1OWSfFEUbT7Rpwv8EtWQGMeBiBOQHAXVu6N2hUSp4tuBeK/mqsh pQR+5hIN3tg39M1hrF4/V+PT0iofGyBZz1FUAihGZLoXeLOA/Ydiiov+2++jpIvq0TMX ER6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=zKtKDVqZFV0wQJbyZkCYv6NwTMfOz4H7xxoqH1pb9X8=; b=DL9oHJ1ZSyIhkE3svAac6gW4eRG0y0fV0hYxnBSP6waF0OPjDBuIvsvODmkejrTqRV pYioXLPCMLp+EDu0ufEb3LUTNzK+VNF6m4QOvTsvY6wRUbT2z6kRW1bbjqoA/kDvTeTj n4Dvf3c8pg4hxD4hU9EBtPBIH2sEw5qRXeqbmaqeth0Ya5jfhmP7OoGvBftBYxKK2TXf j7rjBshmTr0G/joOG3DySi0f5MRUtQ0XHsX/jSs6qbniZldBK3Kb/TsmikenRaqo/bUn j6Kt9qL3roSRgsG++z/76aAirHU4RqKVm6PCUUwOj/D8zZzj5lJXU3XtXZjfCgp9VDoG OtDQ== X-Gm-Message-State: AOAM531O2LdgRDDpHsHr0KwlFiPXBKS6qR8fXpIxxNNzb/mr/rszGTG3 rPMkE7d4b8rrpD8bV8H9KY5QyQ== X-Google-Smtp-Source: ABdhPJwcLNuQlitduYq0DBQ8X5thiF7laqkLL/qR44jEgejYHufAcNIGpdMNTzUCYKv5WOx5JbSb3w== X-Received: by 2002:a05:6602:727:: with SMTP id g7mr3864505iox.90.1644703602460; Sat, 12 Feb 2022 14:06:42 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id b9sm16502445iow.31.2022.02.12.14.06.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Feb 2022 14:06:41 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 108BA8044FC; Sat, 12 Feb 2022 16:06:40 -0600 (CST) Date: Sat, 12 Feb 2022 16:06:40 -0600 From: Justin Pryzby To: Andres Freund Cc: Tom Lane , Robert Haas , Andrew Dunstan , pgsql-hackers@postgresql.org, Thomas Munro , Melanie Plageman , Peter Eisentraut , Daniel Gustafsson Subject: Re: Adding CI to our tree Message-ID: <20220212220640.GL31460@telsasoft.com> References: <20220117181946.bmvubqpzqxlvmgeh@alap3.anarazel.de> <20220117192510.txue5mihjaxlngep@alap3.anarazel.de> <85428.1642447853@sss.pgh.pa.us> <20220117201619.3ltudwhgk2krmoki@alap3.anarazel.de> <20220118210847.GC23027@telsasoft.com> <20220203035827.GG23027@telsasoft.com> <20220203195718.smqo5xg4ygp5qktq@alap3.anarazel.de> <20220204050403.GL23027@telsasoft.com> <20220206032339.tuyo534rfbvu4mbh@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220206032339.tuyo534rfbvu4mbh@alap3.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 18, 2022 at 05:16:26PM -0800, Andres Freund wrote: > On 2022-01-18 15:08:47 -0600, Justin Pryzby wrote: > > On Mon, Jan 17, 2022 at 12:16:19PM -0800, Andres Freund wrote: > > > I think it might still be worth adding stopgap way of running all tap tests on > > > windows though. Having a vcregress.pl function to find all directories with t/ > > > and run the tests there, shouldn't be a lot of code... > > > > I started doing that, however it makes CI/windows even slower. ... > > I think it'll be necessary to run prove with all the tap tests to > > parallelize them, rather than looping around directories, many of which have > > only a single file, and are run serially. > > That's unfortunately not trivially possible. Quite a few tests currently rely > on being called in a specific directory. We should fix this, but it's not a > trivial amount of work. On Sat, Feb 05, 2022 at 07:23:39PM -0800, Andres Freund wrote: > On 2022-02-03 23:04:04 -0600, Justin Pryzby wrote: > > > I assume this doesn't yet work to a meaningful degree? Last time I checked > > > there were quite a few tests that needed to be invoked in a specific > > > directory. > > > > It works - tap_check() does chdir(). > > Ah, I thought you'd implemented a target that does it all in one prove > invocation... I had some success with that, but it doesn't seem to be significantly faster - it looks a lot like the tests are not actually running in parallel. I tried some variations like passing the list of dirs vs the list of files, and --jobs=9 vs -j9, without success. https://cirrus-ci.com/task/5580584675180544 https://github.com/justinpryzby/postgres/commit/a865adc5b8c fc7b3ea8bce vcregress/ci: test modules/contrib with NO_INSTALLCHECK=1 03adb043d16 wip: vcsregress: add alltaptests 63bf0796ffd wip: vcregress: run alltaptests in parallel 9dc327f6b30 f!wip: vcregress: run alltaptests in a single prove invocation a865adc5b8c tmp: run tap tests first > > It currently fails in 027_stream_regress.pl, although I keep hoping that it > > had been fixed... > > That's likely because you're not setting REGRESS_OUTPUTDIR like > src/test/recovery/Makefile and recoverycheck() are doing. Yes, thanks. -- Justin