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 1n9KxS-0003gb-C1 for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Jan 2022 05:53:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n9KxR-0005Ky-3e for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Jan 2022 05:53:33 +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 1n9KxQ-0005Kn-Iu for pgsql-hackers@lists.postgresql.org; Mon, 17 Jan 2022 05:53:32 +0000 Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n9KxN-0003vk-Ud for pgsql-hackers@postgresql.org; Mon, 17 Jan 2022 05:53:31 +0000 Received: by mail-ot1-x32b.google.com with SMTP id i5-20020a05683033e500b0057a369ac614so18499731otu.10 for ; Sun, 16 Jan 2022 21:53:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=cw0GNTXEzWZ/VLSSpEYETRQvY07r/dYCP2BU/TsCk38=; b=NOGtPSXiXxtZvd4iz3xYoVS+JRsucIo1UXwFUdsBhEq+CCda3UI8kc5VmbalrZocq3 U3TMY2T8naRmAWQFkf5y8u7vDA5xa0R9GXrZ7ssR+LD2McfIctCqRFM1lyrpEGt2bWyP iKqUM6Pcx+v4Wjrjw0wM1iA6xNOobKz1HR3z4= 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=cw0GNTXEzWZ/VLSSpEYETRQvY07r/dYCP2BU/TsCk38=; b=PJCAKkkDH+5eMQv7sss2QJQz/cIkTBdelQ4O7LTaLQctS2We/0JmaXnzC4qTyWu65K xdEIXdtzJ194A8AK+sbwKvLpid9wo+n9dbPfAv+br8GHIFLVxMN7Hj2OGIs9CiFe+eUM Lroem/uCL8kFriT9Dq5ljQi3a2DHE9+gDirKYn/amwjEie4Krvt7gUymSH+8+xx/1rMS tKTDev6mSTe45R8R48iBnO0G/CBAmINzkItn+wdoe5V7x8qlBbZZw9DLJMnOVks7GC+7 KBSEhCvYlVV4NPfHXvuQHew4ryRa5sxFSPie/x7lMEKZDsVOOpnsWpmCNa6TX4vPK7ak WycQ== X-Gm-Message-State: AOAM5339wDEQ02BmxgFuEcy2m34WTDrvfMS3M9uWLR9ZgLf4i0/NuVxV /dMAvxLz7d/CZAmyiS2dRS2e2w== X-Google-Smtp-Source: ABdhPJy3Wtznd08QF7qSmz5KjceZJ/xteT9fnZdqw2dCZeWeE16M9hfZs2H4yft2gC/Cu54KqCl8HQ== X-Received: by 2002:a05:6830:1685:: with SMTP id k5mr6414785otr.21.1642398809245; Sun, 16 Jan 2022 21:53:29 -0800 (PST) Received: from rfd.leadboat.com ([2600:1702:a20:5750::2e]) by smtp.gmail.com with ESMTPSA id 186sm5866021oig.28.2022.01.16.21.53.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Jan 2022 21:53:28 -0800 (PST) Date: Sun, 16 Jan 2022 21:53:26 -0800 From: Noah Misch To: Thomas Munro Cc: Andres Freund , Michael Paquier , Andrew Dunstan , Anastasia Lubennikova , Tom Lane , pgsql-hackers Subject: Re: A test for replay of regression tests Message-ID: <20220117055326.GD756210@rfd.leadboat.com> References: <20211209213605.6lwb7o2kzdla34qk@alap3.anarazel.de> <20220114234947.av4kkhuj7netsy5r@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Jan 17, 2022 at 05:25:19PM +1300, Thomas Munro wrote: > Here's how it failed on fairywren, in case someone knowledgeable of > MSYS path translation etc can spot the problem: > > psql::1: ERROR: directory > "/home/pgrunner/bf/root/HEAD/pgsql.build/src/test/modules/test_misc/tmp_check/t_002_tablespace_main_data/ts1" > does not exist > not ok 1 - create tablespace with absolute path > > I think that means chmod() failed with ENOENT. That's weird, because > the .pl does: > > +my $TS1_LOCATION = $node->basedir() . "/ts1"; > +mkdir($TS1_LOCATION); You likely need a PostgreSQL::Test::Utils::perl2host() call. MSYS Perl understands Cygwin-style names like /home/... as well as Windows-style names, but this PostgreSQL configuration understands only Windows-style names.