[05:31:30.424](0.021s) # testing using transfer mode --copy # Checking port 16117 # Found port 16117 Name: old_node Version: 19devel Data directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/archives Connection string: port=16117 host=/tmp/zHleHy6EAv Log file: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/log/002_pg_upgrade_old_node.log [05:31:30.442](0.018s) # initializing database system by running initdb # Running: initdb --no-sync --pgdata /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata --auth trust --wal-segsize 1 --allow-group-access --encoding UTF-8 --lc-collate C --lc-ctype C --locale-provider builtin --builtin-locale C.UTF-8 The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: builtin default collation: C.UTF-8 LC_COLLATE: C LC_CTYPE: C LC_MESSAGES: C LC_MONETARY: C.UTF-8 LC_NUMERIC: C LC_TIME: C.UTF-8 The default text search configuration will be set to "english". Data page checksums are enabled. creating directory /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default "max_connections" ... 100 selecting default "shared_buffers" ... 128MB selecting default time zone ... Etc/UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/src/bin/pg_upgrade/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata ### Starting node "old_node" # Running: pg_ctl --wait --pgdata /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata --log /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/log/002_pg_upgrade_old_node.log --options --cluster-name=old_node start waiting for server to start.... done server started # Postmaster PID for node "old_node" is 43069 [05:31:36.792](6.350s) ok 1 - check locales in original cluster # Running: createdb regression\"\  !"#$%&'()*+,-\\"\\\ [05:31:37.043](0.251s) ok 2 - created database with ASCII characters from 1 to 45 # Running: createdb regression./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [05:31:37.221](0.179s) ok 3 - created database with ASCII characters from 46 to 90 # Running: createdb regression[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ [05:31:37.343](0.122s) ok 4 - created database with ASCII characters from 91 to 127 # Running: /tmp/cirrus-ci-build/src/bin/pg_upgrade/../../../src/test/regress/pg_regress --dlpath=/tmp/cirrus-ci-build/src/test/regress --bindir= --host=/tmp/zHleHy6EAv --port=16117 --schedule=/tmp/cirrus-ci-build/src/test/regress/parallel_schedule --max-concurrent-tests=20 --inputdir=/tmp/cirrus-ci-build/src/test/regress --outputdir=/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check [05:34:32.866](175.523s) not ok 5 - regression tests in old instance [05:34:32.866](0.000s) [05:34:32.866](0.000s) # Failed test 'regression tests in old instance' # at t/002_pg_upgrade.pl line 286. [05:34:32.866](0.000s) # ---------- command failed ---------- [05:34:32.866](0.000s) # /tmp/cirrus-ci-build/src/bin/pg_upgrade/../../../src/test/regress/pg_regress --dlpath=/tmp/cirrus-ci-build/src/test/regress --bindir= --host=/tmp/zHleHy6EAv --port=16117 --schedule=/tmp/cirrus-ci-build/src/test/regress/parallel_schedule --max-concurrent-tests=20 --inputdir=/tmp/cirrus-ci-build/src/test/regress --outputdir=/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check [05:34:32.866](0.000s) # -------------- stdout -------------- [05:34:32.866](0.000s) # # using postmaster on /tmp/zHleHy6EAv, port 16117 # ok 1 - test_setup 1377 ms # # parallel group (20 tests): varchar name oid char int2 txid text int4 pg_lsn float4 boolean money int8 regproc float8 uuid bit enum numeric rangetypes # ok 2 + boolean 689 ms # ok 3 + char 386 ms # ok 4 + name 305 ms # ok 5 + varchar 276 ms # ok 6 + text 538 ms # ok 7 + int2 506 ms # ok 8 + int4 567 ms # ok 9 + int8 770 ms # ok 10 + oid 315 ms # ok 11 + float4 573 ms # ok 12 + float8 874 ms # ok 13 + bit 1062 ms # ok 14 + numeric 2561 ms # ok 15 + txid 461 ms # ok 16 + uuid 969 ms # ok 17 + enum 1044 ms # ok 18 + money 698 ms # ok 19 + rangetypes 3259 ms # ok 20 + pg_lsn 490 ms # ok 21 + regproc 781 ms # # parallel group (20 tests): md5 lseg line path circle time point timetz macaddr numerology macaddr8 date inet timestamp interval polygon timestamptz strings box multirangetypes # ok 22 + strings 1939 ms # ok 23 + md5 186 ms # ok 24 + numerology 663 ms # ok 25 + point 535 ms # ok 26 + lseg 222 ms # ok 27 + line 205 ms [05:34:32.866](0.000s) # ... 207 lines omitted ... [05:34:32.867](0.000s) # ok 220 + partition_merge 5026 ms # ok 221 + partition_split 6184 ms # ok 222 + partition_join 6850 ms # ok 223 + partition_prune 7055 ms # ok 224 + reloptions 732 ms # ok 225 + hash_part 514 ms # ok 226 + indexing 8509 ms # ok 227 + partition_aggregate 4952 ms # ok 228 + partition_info 1259 ms # ok 229 + tuplesort 6670 ms # ok 230 + explain 988 ms # ok 231 + memoize 1884 ms # ok 232 + stats 6177 ms # ok 233 + predicate 1321 ms # ok 234 + numa 577 ms # ok 235 + eager_aggregate 3220 ms # ok 236 + graph_table_rls 1546 ms # ok 237 + planner_est 513 ms # # parallel group (4 tests): compression_pglz compression compression_lz4 cluster # ok 238 + compression 591 ms # ok 239 + compression_lz4 725 ms # ok 240 + compression_pglz 105 ms # ok 241 + cluster 1523 ms # # parallel group (2 tests): oidjoins event_trigger # ok 242 + oidjoins 801 ms # ok 243 + event_trigger 974 ms # ok 244 - event_trigger_login 317 ms # ok 245 - fast_default 2396 ms # ok 246 - tablespace 3194 ms # 1..246 [05:34:32.867](0.000s) # -------------- stderr -------------- [05:34:32.867](0.000s) # # diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/goo.out /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/results/goo.out # # --- /tmp/cirrus-ci-build/src/test/regress/expected/goo.out 2026-05-06 05:24:43.631583987 +0000 # # +++ /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/results/goo.out 2026-05-06 05:32:48.417196136 +0000 # # @@ -139,8 +139,8 @@ # # JOIN dim3 ON fact.dim3_id = dim3.id # # JOIN dim4 ON fact.dim4_id = dim4.id # # WHERE dim1.id < 5; # # - QUERY PLAN # # ---------------------------------------------------------------------- # # + QUERY PLAN # # +--------------------------------------------------------------------------- # # Aggregate # # -> Nested Loop # # Join Filter: (fact.dim4_id = dim4.id) # # @@ -149,15 +149,15 @@ # # -> Seq Scan on dim3 # # -> Hash # # -> Hash Join # # - Hash Cond: (fact.dim1_id = dim1.id) # # - -> Hash Join # # - Hash Cond: (fact.dim2_id = dim2.id) # # - -> Seq Scan on fact # # - -> Hash # # - -> Seq Scan on dim2 # # + Hash Cond: (dim2.id = fact.dim2_id) # # + -> Seq Scan on dim2 # # -> Hash # # - -> Seq Scan on dim1 # # - Filter: (id < 5) # # + -> Hash Join [05:34:32.867](0.000s) # ... 16 lines omitted ... [05:34:32.867](0.000s) # # Aggregate # # -> Hash Join # # Hash Cond: (t2.a = t1.a) # # - -> Nested Loop # # - -> Hash Join # # - Hash Cond: (t6.e = t5.f) # # - -> Seq Scan on t6 # # - -> Hash # # - -> Seq Scan on t5 # # - Filter: (d < 3) # # - -> Seq Scan on t2 # # + -> Seq Scan on t2 # # -> Hash # # - -> Seq Scan on t1 # # - Filter: (a < 5) # # + -> Nested Loop # # + -> Hash Join # # + Hash Cond: (t6.e = t5.f) # # + -> Seq Scan on t6 # # + -> Hash # # + -> Seq Scan on t5 # # + Filter: (d < 3) # # + -> Seq Scan on t1 # # + Filter: (a < 5) # # (14 rows) # # # # -- # # 1 of 246 tests failed. # # The differences that caused some tests to fail can be viewed in the file "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/regression.diffs". # # A copy of the test summary that you see above is saved in the file "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/regression.out". [05:34:32.867](0.000s) # ------------------------------------ # Checking port 16118 # Found port 16118 Name: new_node Version: 19devel Data directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/archives Connection string: port=16118 host=/tmp/zHleHy6EAv Log file: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/log/002_pg_upgrade_new_node.log [05:34:32.885](0.018s) # initializing database system by running initdb # Running: initdb --no-sync --pgdata /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata --auth trust --wal-segsize 1 --allow-group-access --encoding SQL_ASCII --locale-provider libc The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: libc LC_COLLATE: C.UTF-8 LC_CTYPE: C.UTF-8 LC_MESSAGES: C LC_MONETARY: C.UTF-8 LC_NUMERIC: C LC_TIME: C.UTF-8 The default text search configuration will be set to "english". Data page checksums are enabled. creating directory /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default "max_connections" ... 100 selecting default "shared_buffers" ... 128MB selecting default time zone ... Etc/UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/src/bin/pg_upgrade/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata ### Restarting node "old_node" # Running: pg_ctl --wait --pgdata /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata --log /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/log/002_pg_upgrade_old_node.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "old_node" is 57577 # Checking port 16119 # Found port 16119 Name: dst_node Version: 19devel Data directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_dst_node_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_dst_node_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_dst_node_data/archives Connection string: port=16119 host=/tmp/zHleHy6EAv Log file: /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/log/002_pg_upgrade_dst_node.log [05:34:37.928](5.043s) ok 6 # skip regress_dump_restore not enabled in PG_TEST_EXTRA # Running: pg_dumpall --no-sync --restrict-key test --dbname port=16117 host=/tmp/zHleHy6EAv dbname='postgres' --file /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/tmp_test_k0CF/dump1.sql [05:34:46.792](8.864s) ok 7 - dump before running pg_upgrade ### Stopping node "old_node" using mode fast # Running: pg_ctl --pgdata /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata --mode fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "old_node" # Running: pg_upgrade --no-sync --old-datadir /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata --new-datadir /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata --old-bindir /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/does/not/exist/ --new-bindir /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin --socketdir /tmp/zHleHy6EAv --old-port 16117 --new-port 16118 --copy --check [05:34:47.144](0.352s) ok 8 - run of pg_upgrade --check for new instance with incorrect binary path status (got 1 vs expected 1) [05:34:47.145](0.001s) ok 9 - run of pg_upgrade --check for new instance with incorrect binary path stdout /(?^:check for ".*?does/not/exist" failed)/ [05:34:47.145](0.000s) ok 10 - pg_upgrade_output.d/ not removed after pg_upgrade failure # Running: pg_upgrade --no-sync --old-datadir /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata --new-datadir /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata --old-bindir /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin --new-bindir /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin --socketdir /tmp/zHleHy6EAv --old-port 16117 --new-port 16118 --copy --check [05:34:47.882](0.737s) ok 11 - invalid database causes failure status (got 1 vs expected 1) [05:34:47.882](0.000s) ok 12 - invalid database causes failure stdout /(?^:datconnlimit)/ [05:34:47.882](0.000s) ok 13 - invalid database causes failure stderr /(?^:^$)/ ### Starting node "old_node" # Running: pg_ctl --wait --pgdata /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata --log /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/log/002_pg_upgrade_old_node.log --options --cluster-name=old_node start waiting for server to start.... done server started # Postmaster PID for node "old_node" is 58582 ### Stopping node "old_node" using mode fast # Running: pg_ctl --pgdata /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata --mode fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "old_node" # Running: pg_upgrade --no-sync --old-datadir /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata --new-datadir /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata --old-bindir /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin --new-bindir /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin --socketdir /tmp/zHleHy6EAv --old-port 16117 --new-port 16118 --copy --check [05:34:54.100](6.218s) ok 14 - run of pg_upgrade --check for new instance [05:34:54.101](0.000s) ok 15 - pg_upgrade_output.d/ removed after pg_upgrade --check success # Running: pg_upgrade --no-sync --old-datadir /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_old_node_data/pgdata --new-datadir /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata --old-bindir /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin --new-bindir /tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin --socketdir /tmp/zHleHy6EAv --old-port 16117 --new-port 16118 --copy [05:35:24.870](30.769s) ok 16 - run of pg_upgrade for new instance [05:35:24.870](0.000s) ok 17 - pg_upgrade_output.d/ removed after pg_upgrade success ### Starting node "new_node" # Running: pg_ctl --wait --pgdata /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata --log /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/log/002_pg_upgrade_new_node.log --options --cluster-name=new_node start waiting for server to start.... done server started # Postmaster PID for node "new_node" is 60805 [05:35:25.072](0.202s) ok 18 - check that locales in new cluster match original cluster # Running: pg_dumpall --no-sync --restrict-key test --dbname port=16118 host=/tmp/zHleHy6EAv dbname='postgres' --file /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/tmp_test_k0CF/dump2.sql [05:35:30.467](5.396s) ok 19 - dump after running pg_upgrade [05:35:30.668](0.200s) ok 20 - old and new dumps match after pg_upgrade [05:35:30.668](0.000s) 1..20 ### Stopping node "new_node" using mode immediate # Running: pg_ctl --pgdata /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata --mode immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "new_node" [05:35:30.784](0.116s) # Looks like you failed 1 test of 20.