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 1n8bze-0006yA-Kn for pgsql-hackers@arkaria.postgresql.org; Sat, 15 Jan 2022 05:52:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n8bzd-00011V-5j for pgsql-hackers@arkaria.postgresql.org; Sat, 15 Jan 2022 05:52:49 +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 1n8bzc-00011M-RF for pgsql-hackers@lists.postgresql.org; Sat, 15 Jan 2022 05:52:48 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n8bza-0006K9-CK for pgsql-hackers@lists.postgresql.org; Sat, 15 Jan 2022 05:52:47 +0000 Received: by mail-pj1-x102a.google.com with SMTP id a1-20020a17090a688100b001b3fd52338eso15044881pjd.1 for ; Fri, 14 Jan 2022 21:52:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=oHNqtwh+/1j1aLemOirJV3ULJRUZ5zxJNgQgFj31X98=; b=Ie+L0OWJG7U4dfDz+kv39cLJfkeDswZd/ppcCmGd2Yfby0kVWzJQqVhNiutREm22AD hRcoW99o1NqhymBUpKqAReSuXlrIEezaEu2qgv1BeWyah3jlmoAEnViZte/2A0amPrPo Bs12YlXZc9Ub5YshH8gu7V0dPhUvMtvLDTXUIqEeIumEHcIoEkQ4wO/Kr5Gnntc/hLuW OpcPQzvLITjLdPSzRbiUCdUc0Xc91A/qy+kEM6PB7B2exZzsLP4qS7pHv88cDn3qdWcS dRjW32vnQ7PmsUo64mjr334UAcyqWK2w1NeES+nB9u/n5M40rIybRSUDeWq18EBXdu5Z ARIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=oHNqtwh+/1j1aLemOirJV3ULJRUZ5zxJNgQgFj31X98=; b=jaHBF8+dMXtlK6dxfp4vKgSJUykADuNF6pbePMmh2MF22dssxyGvTVZrwPCRzF9qCt oQQa6uyN6hrvRzlqar95Ntp1ytueFv3W24sFgSvUyF/8GMrnVWcUDAiO4K664WwE8xQs cTyMaIYG3IY3CQA+x9rAtIk9WwO5sm8CHWY6oQLrODUtofsHxYf3x4er1+kacsc4dbQo rQ+Q24tstXcvUT0hvY4p7uYsP5j05QwwzAC/jNHOfSOqrZRAQHjugumZ76/t35+s3ULE jWNFZEOnvbNbtjwWo4uJa6JfaUNZG5b1NxRm7at3yD2MDmy94pKtI4h7aLoJ258vXmHl f1Ng== X-Gm-Message-State: AOAM533VbuK1RnMJe0UzSXLh6tKzssxIeQ5UpEgGOLb9UCISPrpQi3jN EESJNrjZFKDFNZ1PijmdKRg= X-Google-Smtp-Source: ABdhPJzDlUcEzt7sMCjCmPz5boROFNDrMLu9kosBGJvGlrR3WJFSFWZZ1yxBbTrveNmzuK8PX0PZXw== X-Received: by 2002:a17:902:c086:b0:14a:6828:388d with SMTP id j6-20020a170902c08600b0014a6828388dmr12615423pld.17.1642225965197; Fri, 14 Jan 2022 21:52:45 -0800 (PST) Received: from jrouhaud (1-171-185-43.dynamic-ip.hinet.net. [1.171.185.43]) by smtp.gmail.com with ESMTPSA id m7sm3998977pff.64.2022.01.14.21.52.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jan 2022 21:52:43 -0800 (PST) Date: Sat, 15 Jan 2022 13:52:39 +0800 From: Julien Rouhaud To: Michael Paquier Cc: Andres Freund , Tom Lane , Andrew Dunstan , Postgres hackers Subject: Re: Rewriting the test of pg_upgrade as a TAP test - take three - remastered set Message-ID: <20220115055239.6i5mp7ujtcpto2mg@jrouhaud> References: <3715954.1633208613@sss.pgh.pa.us> <0f70fc0f-c51a-7a58-7e12-c702352eb076@dunslane.net> <3735235.1633232078@sss.pgh.pa.us> <20211214020824.azjrighbeucby5yc@alap3.anarazel.de> <20211214061449.ynrygtcddn3ujunn@alap3.anarazel.de> 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, On Tue, Jan 11, 2022 at 04:14:25PM +0900, Michael Paquier wrote: > The CF bot is unhappy, so here is a rebase, with some typo fixes > reported by Justin offlist. The cfbot still complains about this patch on Windows: https://cirrus-ci.com/task/6411385683836928 https://api.cirrus-ci.com/v1/artifact/task/6411385683836928/tap/src/bin/pg_upgrade/tmp_check/log/regress_log_002_pg_upgrade # Running: pg_upgrade --no-sync -d c:/cirrus/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -D c:/cirrus/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -b C:/cirrus/tmp_install/bin -B C:/cirrus/tmp_install/bin -p 56296 -P 56297 libpq environment variable PGHOST has a non-local server value: C:/Users/ContainerAdministrator/AppData/Local/Temp/FhBIlsw6SV Failure, exiting not ok 3 - run of pg_upgrade for new instance # Failed test 'run of pg_upgrade for new instance' # at t/002_pg_upgrade.pl line 255. ### Starting node "new_node" # Running: pg_ctl -w -D c:/cirrus/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -l c:/cirrus/src/bin/pg_upgrade/tmp_check/log/002_pg_upgrade_new_node.log -o --cluster-name=new_node start waiting for server to start.... done server started # Postmaster PID for node "new_node" is 5748 # Running: pg_dumpall --no-sync -d port=56297 host=C:/Users/ContainerAdministrator/AppData/Local/Temp/FhBIlsw6SV dbname='postgres' -f C:\cirrus\src\bin\pg_upgrade\tmp_check\tmp_test_X4aZ/dump2.sql # Running: diff -q C:\cirrus\src\bin\pg_upgrade\tmp_check\tmp_test_X4aZ/dump1.sql C:\cirrus\src\bin\pg_upgrade\tmp_check\tmp_test_X4aZ/dump2.sql Files C:\cirrus\src\bin\pg_upgrade\tmp_check\tmp_test_X4aZ/dump1.sql and C:\cirrus\src\bin\pg_upgrade\tmp_check\tmp_test_X4aZ/dump2.sql differ not ok 4 - old and new dump match after pg_upgrade # Failed test 'old and new dump match after pg_upgrade'