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 1lHZVe-0005kb-VK for pgsql-committers@arkaria.postgresql.org; Wed, 03 Mar 2021 21:58:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lHZVd-0007hz-MX for pgsql-committers@arkaria.postgresql.org; Wed, 03 Mar 2021 21:58:21 +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 1lHZVd-0007hr-HF for pgsql-committers@lists.postgresql.org; Wed, 03 Mar 2021 21:58:21 +0000 Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lHZVY-0005Ff-82 for pgsql-committers@lists.postgresql.org; Wed, 03 Mar 2021 21:58:19 +0000 X-Originating-IP: 99.10.92.30 Received: from [192.168.10.146] (99-10-92-30.lightspeed.rlghnc.sbcglobal.net [99.10.92.30]) (Authenticated sender: adsend@dunslane.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id BE68D60008; Wed, 3 Mar 2021 21:58:11 +0000 (UTC) Subject: Re: pgsql: pg_upgrade: Check version of target cluster binaries To: Tom Lane , Peter Eisentraut Cc: pgsql-committers@lists.postgresql.org References: <1208787.1614803332@sss.pgh.pa.us> From: Andrew Dunstan Message-ID: <9df301a8-78bf-7fe4-c6bb-22ef7727385c@dunslane.net> Date: Wed, 3 Mar 2021 16:58:09 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <1208787.1614803332@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/3/21 3:28 PM, Tom Lane wrote: > Peter Eisentraut writes: >> pg_upgrade: Check version of target cluster binaries > Crake says this patch broke its cross-version upgrade tests: > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=crake&dt=2021-03-03%2009%3A02%3A31 > > where the important bit is > > check for "/home/andrew/bf/root/upgrade.crake/REL9_2_STABLE/inst/bin/postgres" failed: incorrect version: found "postgres (PostgreSQL) 9.2.24", expected "postgres (PostgreSQL) 14devel" > > It's not at all clear from here whether that's a bug in the patch > or in the buildfarm's test harness. > > This has worked for years ... here's the latest code: The invocation of pg_upgrade is at line 560. The log says: check for "/home/andrew/bf/root/upgrade.crake/REL9_2_STABLE/inst/bin/postgres" failed: incorrect version: found "postgres (PostgreSQL) 9.2.24", expected "postgres (PostgreSQL) 14devel" But that makes no sense at all. Looks like we're confusing the source and the target. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com