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 1oaRkx-0005ea-In for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Sep 2022 01:08:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oaRkw-0005HF-4Y for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Sep 2022 01:08:58 +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 1oaRkv-0005H5-7B for pgsql-hackers@lists.postgresql.org; Tue, 20 Sep 2022 01:08:57 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oaRko-00033y-5Y for pgsql-hackers@lists.postgresql.org; Tue, 20 Sep 2022 01:08:56 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 895A63200201; Mon, 19 Sep 2022 21:08:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 19 Sep 2022 21:08:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; 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=1663636125; x=1663722525; bh=X4jzHKhbma TZ/ykKjP6wMytPqFuBmH16Ut6aislgMn8=; b=YAf5Zp/gIf8bwg6ximaf9sMK3l Etp/m43EZOlvNY7zsRUWfYOuTCzFG5DpSxsqh8kV9SA9F/ZbwGWiRsRrGRVB5ARg Bn/+7yI/k3nHNup+X/Grf9o1D33OPBcLBX37qZEzb2haUzqKZpkWtLxaNRwN+14m DQ51WZ+DYY0J2yAKH3WlXNsYv+IbY0mNLpzUP2dn2YE8awBWXMygnNqgv2tLSAWe MCEZRLnf080Pzles6Pu3aYyu25x0hW9kZOfxIAVJXtfLXK0c0ucURfp2fb+gWDwv +oA6BTaVxNGa0Lr+mVsv1rUZMdgPqA7GhNyW+8vQOMBFE3aTEoOtjJETTkRw== 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=1663636125; x=1663722525; bh=X4jzHKhbmaTZ/ykKjP6wMytPqFuB mH16Ut6aislgMn8=; b=01gXEgGTEMNzxpvpEBpV8L3/U569VXlAFkTnq5WCuQ8f 2V7I9KPdHS1p0OiVos7HN1apBxq6S0OIuJFBQrRg8KdEvtRbueO8hniBlHFXIZoH /eJJxmtN4rtwPGWfRcynSfS4fRmjN2EPrQtS1JwDK0r07EHyZLyGU1XkGCy8plT3 BHTKTwMH+XYVpnENZ+zB5EUwAurUAJGmwcr8IBgLdfGPWj5u019z5Yr8DqvfgHWv GunUH6UYKuZjrSFTaqyO+uXFMfjy9rOFfxTw0OuZpK+3YidpqfEeOdY/7B7h2h0K cj2IMApCxA0rfJ8v1CUOzIThf8kWB6RgwYIARJxbVw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedvkedggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 19 Sep 2022 21:08:43 -0400 (EDT) Date: Tue, 20 Sep 2022 10:08:41 +0900 From: Michael Paquier To: Andres Freund Cc: pgsql-hackers@lists.postgresql.org Subject: Re: pg_upgrade test failure Message-ID: References: <20220919213217.ptqfdlcc5idk5xup@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qWHXUa8dvA6esTx5" Content-Disposition: inline In-Reply-To: <20220919213217.ptqfdlcc5idk5xup@awork3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --qWHXUa8dvA6esTx5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Sep 19, 2022 at 02:32:17PM -0700, Andres Freund wrote: > 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. This smells to me like a race condition in pg_upgrade (or even pg_ctl for SERVER_LOG_FILE) where the code still has handles on some of the files in the log/ subdirectory, causing its removal to not be able to finish happen. If this proves to be rather easy to reproduce, giving a list of the files still present in this path would give a hint easy to follow. Does this reproduce with a good frequency? -- Michael --qWHXUa8dvA6esTx5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmMpEpkACgkQnvQgOdby QH3y3A/5AWJXmjORLLcvjnfZ5gpAwbSHDD8qzRYAQl1DlWOZm8u+1Gwo3oFKV2Pz bxTDN5u6xiAIlRDSv6JwrKPN8vHCFtPuc7TIlEWjD8dkwwRNTdAVmon5sh71Onse qf5TPjZceaBx+fNU5HkC79lN8Bgy1Po5uFK2AEVI74KS8vtDsH2nA3YAR258qihD j8a1cKSzNVmbj7J2rTQDL8PRzy1E05L98O7tljymEiqwXA3LpJFdUNJCfUCppGOS L9gmZvVkPcQj496ZWzLA7wvb9+EIqOJooQQOfMYrY8GAfaGNvGKlRyiH7lpt4Nmo v22bQT5b8FgQkj6QKfE4wIkPdbs6JVBT3arTIlcdxqgz3wQs1DXP9q58U0BbZRbM q0aFxtE42OZPMb1SlHa2uQvpxZzE+FRVLei0rpAc0PcWWTFW407V5zAHnamjDWTv 6SCv/XjsuL6BBcYMv9IEcqiM7pX2xcEZ4pK93dQS+YxjJAfsPiqKF+87KaiWOAKw eISHscWKMygFmUa/9wa1+x3qLzZWSwPw74FPaqb+RZi8yHQk8WULLRPEGCO4zX2e 5wU+K2ymlce5eKFbac95T69/gEGMn39VU66U+CgdWPFB94/9b58c+k8jC9Xi6D8g bxrkmx5TcCb5eM7IapVLnF1Zh6R4ack5Y8C5iIp+/9RZGpjPCeg= =TepO -----END PGP SIGNATURE----- --qWHXUa8dvA6esTx5--