Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSTlj-0000Tc-7y for pgsql-committers@arkaria.postgresql.org; Sun, 19 May 2019 21:54:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hSTlh-00018N-PX for pgsql-committers@arkaria.postgresql.org; Sun, 19 May 2019 21:54:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSTlh-00018G-IW for pgsql-committers@lists.postgresql.org; Sun, 19 May 2019 21:54:57 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSTle-0002kM-Gg for pgsql-committers@lists.postgresql.org; Sun, 19 May 2019 21:54:57 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D4DA624276; Sun, 19 May 2019 17:54:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 19 May 2019 17:54:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=+jK9oNDonEOVL5E4dk8AdJCqDj3 8UBCtgn7a+6nTWIQ=; b=lPS+aL5+407LHXcH1ef+dEHBA1BDLtG0VQjZUFwJiq3 BhBc3n+713czcC2ZvSUQPbDFT7bgdh3khrq5YIMqQmqJAiycWlv/Rupn9qA/Pp5u JeTT6v2gXYS/dO0lljyuy7Y7Z4y01B7h4VJGTZNc1N3eWBdnIf/kyGCjLD0kMa/G C+pYz8ftbP7bir5GOlIcGm+Gsr6bG/JeR4ggt/irjDZXFWKrsmUhfJzkKzzPB7mP A0cbvyJCvZGPqgyIRz5kNUlzy/+5OYirtYg5sPszbRRiGoCkSbyYV00yDTtbOhjO 0OkUkOPfI6Qo3N8OnqGMqwjtHy04DxKeTCt/DeiTksQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=+jK9oN DonEOVL5E4dk8AdJCqDj38UBCtgn7a+6nTWIQ=; b=FqjtzsN4LumVHN3V9Vff2+ +B5iBGAo56h8fagIaXxYtNHJXSLr8IuqIYWA2JtMjBZL9Jn9bdJrImEO9/uWLEiO +latJgXWBvCXerEceYS5DNaoEmDj4L/MSXIG+hdWotTcze8Vp/+/b3w4+fnCeRXh iHAadMGMhFvMl9hhri78tu2UsrNpV/mMxyesVLwVhuUTLeD/Q81jYKqjmIQgoPod cqE/TjBcHXiARkXIQ3pQHqJeBbWEORxMdDDWLifeFtzn5SrE+ThadrwUCVDHx6wu 83JymWC2MNUpDRm7So8iW70oRmow3MqxxjR8vwcrrXc/SfvKX65nyeD7gvy1uIEw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddruddtjedgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucffohhmrg hinhepphhoshhtghhrvghsqhhlrdhorhhgnecukfhppeelkedrvddutddrudegtddrudej udenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdrug gvnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 1AA7080059; Sun, 19 May 2019 17:54:51 -0400 (EDT) Date: Sun, 19 May 2019 14:54:50 -0700 From: Andres Freund To: Noah Misch Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: In the pg_upgrade test suite, don't write to src/test/regress. Message-ID: <20190519215450.b6b3mww3mwljurhc@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2019-05-19 21:40:43 +0000, Noah Misch wrote: > In the pg_upgrade test suite, don't write to src/test/regress. > > When this suite runs installcheck, redirect file creations from > src/test/regress to src/bin/pg_upgrade/tmp_check/regress. This closes a > race condition in "make -j check-world". If the pg_upgrade suite wrote > to a given src/test/regress/results file in parallel with the regular > src/test/regress invocation writing it, a test failed spuriously. Even > without parallelism, in "make -k check-world", the suite finishing > second overwrote the other's regression.diffs. This revealed test > "largeobject" assuming @abs_builddir@ is getcwd(), so fix that, too. > > Buildfarm client REL_10, released forty-five days ago, supports saving > regression.diffs from its new location. When an older client reports a > pg_upgradeCheck failure, it will no longer include regression.diffs. > Back-patch to 9.5, where pg_upgrade moved to src/bin. > > Reviewed by Andrew Dunstan. The buildfarm decidedly is not a fan of this: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=spurfowl&dt=2019-05-19%2021%3A43%3A32 Greetings, Andres Freund