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 1jlA9p-0001sZ-TD for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Jun 2020 11:53:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jlA9n-0004so-Cz for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Jun 2020 11:53:35 +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 1jlA9n-0004sh-1m for pgsql-hackers@lists.postgresql.org; Tue, 16 Jun 2020 11:53:35 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jlA9k-0005N7-01 for pgsql-hackers@postgresql.org; Tue, 16 Jun 2020 11:53:34 +0000 Received: by mail-qk1-x741.google.com with SMTP id b27so18740983qka.4 for ; Tue, 16 Jun 2020 04:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=gqasnJfmLTFFKDVQEIyAlDkjMRdih1rIY3slmBA1Hl8=; b=0TJnwPQaeJIrzU4Y7KKWGiU9hbjkCymsyfqbBfGKvYXeunVyax2GgfIY73tfHKKQ2k APC7h2XghM1Nu2beD/+w27tgmAZnsLdMEwxivhpkzBFqLui/TicCKJJwuIMs6xB49/Zi OnPiP+MfvDv4qVWLmPPNgzRQV2fjk0vJQ2VbeKWnW19faLdJhE+bmwrgeq19fNwdYQdY N8IjNdQ6BIgOiPX5g9kk2rAOg3fSZxiRr4W6dNdqLjEtXGVdYUf0FKvgm3Iy6j7BWoBA h6Rw0OxqVokZy5/sRi1D0bw7SumVIlaxGXeL/ivd6/X8J+QGBcpfg00m6lBIVFk2tb7P ZPgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=gqasnJfmLTFFKDVQEIyAlDkjMRdih1rIY3slmBA1Hl8=; b=PK5BUIC6H0ROc2QZ6Ak4f/tMlmsNsVMG+GWfpsqHvKQ3CzEksmHXmVjRAQGF/TJVYV demNbiB7JgVLRg1n1sNMnTIaTnaP0hwCXc4nHMGurg5BshlsCEnPPulz9GuZDzIc9RY6 p/PRFGA+eJgeKr9fz73VI4a8T2jfEphyUn6TdxjYTd+y7IdFLgIjgd1oklU7bjGWx5ny s3pS4XS1VDbaLea6IMRYNFUUmzFRph3E+qjKXB3qXiX3Q6NrxJX8RRdICRZ8Qkeon7mN /pVPGsncDUkkXGXrGy1O+e8aeGmZ7epHD6X7LvDtJkFIejjaUQpt1B/DyEsq199dmdgt NoAg== X-Gm-Message-State: AOAM530Tcxxsn+WhavNKgwOHC+4xsIBycWxgiSpYOf3t7YO+aYSGakUM IGUdjoieE5L7o6rKPT1KKqsp1Vvt04W4ceJW4r1mSPPpDhw+zeLXYfCsLiX0vS2xXZH5oicMN35 pTpsl3DDcfwHMnkmkzlQ1sSyzS65gu4G0AEilj+uDKqTE4mgYJEBVK+aaey3BhXgBJtTvmmIhFx UQerrblg/Ze0b56OE= X-Google-Smtp-Source: ABdhPJzrFX/YBA8LCz/UPzv4ywIkVTVWkgqRQ6vopb+BiSdw93BhTx1sOPm9AdHsSpUPJoSjLo/dMA== X-Received: by 2002:a37:a648:: with SMTP id p69mr20024547qke.190.1592308409142; Tue, 16 Jun 2020 04:53:29 -0700 (PDT) Received: from [192.168.10.146] (99-10-92-30.lightspeed.rlghnc.sbcglobal.net. [99.10.92.30]) by smtp.gmail.com with ESMTPSA id y13sm14691606qto.23.2020.06.16.04.53.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Jun 2020 04:53:28 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: TAP tests and symlinks on Windows To: Michael Paquier , =?UTF-8?Q?Juan_Jos=c3=a9_Santamar=c3=ada_Flecha?= Cc: =?UTF-8?Q?Dagfinn_Ilmari_Manns=c3=a5ker?= , Peter Eisentraut , pgsql-hackers References: <20200609071931.GE38342@paquier.xyz> <89a38304-8900-2e6b-de26-19a0312f3a87@2ndquadrant.com> <87sgf4pmb8.fsf@wibble.ilmari.org> <20200612065957.GA3362@paquier.xyz> <20200613060054.GM3362@paquier.xyz> <20200615062319.GF52676@paquier.xyz> Autocrypt: addr=andrew.dunstan@2ndQuadrant.com; prefer-encrypt=mutual; keydata= mQENBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAG0L0FuZHJldyBEdW5zdGFuIDxhbmRyZXcuZHVuc3RhbkAybmRRdWFkcmFudC5jb20+iQFY BBMBAgBCAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgBYhBOQ+WEYd/Hy/RGkVpZn6f8tZ /DuBAhkBBQJd1pSYBQkSzqM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WeJiWBFIDyjzYxrjku8ty9TZJVsaRXnS+OFQzXz9Eu2wTpKdHij46uY Message-ID: <11c4ee09-3706-5912-ffd7-dc3657de7a5e@2ndQuadrant.com> Date: Tue, 16 Jun 2020 07:53:26 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200615062319.GF52676@paquier.xyz> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 6/15/20 2:23 AM, Michael Paquier wrote: > On Sat, Jun 13, 2020 at 03:00:54PM +0900, Michael Paquier wrote: >> My take would be to actually enforce that as a requirement for 14~ if >> that works reliably, and of course not backpatch that change as that's >> clearly an improvement and not a bug fix. It would be good to check >> the status of each buildfarm member first though. And I would need to >> also check my own stuff to begin with.. > So, I have been looking at that. And indeed as Peter said we are > visibly missing one call to perl2host in 010_pg_basebackup.pl. > > Another thing I spotted is that Win32::Symlink does not allow to > detect properly if a path is a symlink using -l, causing one of the > tests of pg_basebackup to fail when checking if a tablespace path has > been updted. It would be good to get more people to test this patch > with different environments than mine. I am also adding Andrew > Dunstan in CC as the owner of the buildfarm animals running currently > TAP tests for confirmation about the presence of Win32::Symlink > there as I am afraid it would cause failures: drongo, fairywen, > jacana and bowerbird. Not one of them has it. I think we'll need a dynamic test for its presence rather than just assuming it's there. (Use require in an eval for this). However, since all of them would currently fail we wouldn't actually have any test coverage. I could see about installing it on one or two animals (jacana would be a problem, it's using a very old and limited perl to run TAP tests.) cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services