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 1oaONX-00077Y-Ni for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Sep 2022 21:32:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oaONV-000413-J4 for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Sep 2022 21:32: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 1oaONT-00040j-SV for pgsql-hackers@lists.postgresql.org; Mon, 19 Sep 2022 21:32:33 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oaONM-0007xU-3V for pgsql-hackers@lists.postgresql.org; Mon, 19 Sep 2022 21:32:30 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id A92F7320047A; Mon, 19 Sep 2022 17:32:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 19 Sep 2022 17:32:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1663623139; x=1663709539; bh=aB439+FW/r Uz6E4Vj9VL16EqpX7aFhvg343EuP+QQbM=; b=T/1CjEreJUHLSUTev84Ocd3kbN 3BHqmGgpE8zbYIbPB+jkF/myyy+O/6ppywz8cM4JeMjhkQ3LxbCQFYNrW5d776dE CFD7SzLYJMxCDZA3CRZlR3M4iKSCULrlA8VI9v8wwm75yhgkVu05FX76OKKHha5p y1lUfiT0HONfnk0fYnW2e2J0tmHkXvcuBnaqPPS1f/ySVi8wisD3PiI8zmlvpjsD HQs1dtXZNZ5TuKG3LV9hEz6dIlCYHG8lxu36JpKrfF5qb+nFLyG9g0zZTNss6SE6 bjGVJlS96VuL7FZzgmt/mIoBibLav3JSB2FIm7dNirK10n1RZw2nPnp7xFmw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1663623139; x=1663709539; bh=aB439+FW/rUz6E4Vj9VL16EqpX7a Fhvg343EuP+QQbM=; b=hoW/L7ZO25zmk+4pWRXBSacUCXLXNMKxTKipWEb1Y5L8 PTRFYjoAP9QR/wM8snlFArgki5npRwasocSWo4BZg/9EHREfHbVarV1P5YVItrKG QFiBogBgs41CCaH2wMAmKZifroMyI+Qk8r2wMtIX4dEuO12uMSrmpQhrVg0YnXfv FJeSQ6G10BBUDn8d4fm2rRH+2Q6VrXSVGbkOER3dG1Y2tqbUlXI1zKHXMKiliXmf 2YBuVscm8eiFMeh5ksmMJhE0qtOdM0uuUC2Azd7Q9NeglKQh69OVrw+p4bgRkFaN Mt71eGxoagvL7j+EnDWBoy7bpO3wp+nYjkcdIZy6iA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedvjedgudeigecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpedtjefghefhfefhtdfgkeejgfekheffteelheeviedvueeuvdevhfei tefgleegieenucffohhmrghinheptghirhhruhhsqdgtihdrtghomhdpphhoshhtghhrrd gvshenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegr nhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 19 Sep 2022 17:32:18 -0400 (EDT) Date: Mon, 19 Sep 2022 14:32:17 -0700 From: Andres Freund To: Michael Paquier Cc: pgsql-hackers@lists.postgresql.org Subject: pg_upgrade test failure Message-ID: <20220919213217.ptqfdlcc5idk5xup@awork3.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: Archived-At: Precedence: bulk Hi, After my last rebase of the meson tree I encountered the following test failure: https://cirrus-ci.com/task/5532444261613568 [20:23:04.171] ------------------------------------- 8< ------------------------------------- [20:23:04.171] stderr: [20:23:04.171] # Failed test 'pg_upgrade_output.d/ not removed after pg_upgrade --check success' [20:23:04.171] # at C:/cirrus/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 249. [20:23:04.171] # Failed test 'pg_upgrade_output.d/ removed after pg_upgrade success' [20:23:04.171] # at C:/cirrus/src/bin/pg_upgrade/t/002_pg_upgrade.pl line 261. [20:23:04.171] # Looks like you failed 2 tests of 13. regress_log: https://api.cirrus-ci.com/v1/artifact/task/5532444261613568/testrun/build/testrun/pg_upgrade/002_pg_upgrade/log/regress_log_002_pg_upgrade The pg_upgrade output contains these potentially relevant warnings: ... *Clusters are compatible* pg_upgrade: warning: could not remove file or directory "C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20220919T201958.511/log": Directory not empty pg_upgrade: warning: could not remove file or directory "C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20220919T201958.511": Directory not empty ... I don't know if actually related to the commit below, but there've been a lot of runs of the pg_upgrade tests in the meson branch, and this is the first failure of this kind. Unfortunately the error seems to be transient - rerunning the tests succeeded. On 2022-09-13 01:39:59 +0000, Michael Paquier wrote: > Move any remaining files generated by pg_upgrade into an internal subdir > > This change concerns a couple of .txt files (for internal state checks) > that were still written in the path where the binary is executed, and > not in the subdirectory located in the target cluster. Like the other > .txt files doing already so (like loadable_libraries.txt), these are > saved in the base output directory. Note that on failure, the logs > report the full path to the .txt file generated, so these are easy to > find. > > Oversight in 38bfae3. > > Author: Daniel Gustafsson > Reviewed-by: Michael Paquier, Justin Prysby > Discussion: https://postgr.es/m/181A6DA8-3B7F-4B71-82D5-363FF0146820@yesql.se > Backpatch-through: 15 Greetings, Andres Freund