# Checking port 52256 # Found port 52256 Name: main Data directory: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/archives Connection string: port=52256 host=/tmp/CLyscWCiFn Log file: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/log/004_pg_dump_parallel_main.log [17:38:20.383](0.016s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/tmp_install/initdb-template /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/pgdata # Running: /tmp/cirrus-ci-build/src/bin/pg_dump/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/pgdata ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/pgdata -l /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/log/004_pg_dump_parallel_main.log -o --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 28370 # Running: createdb regression_src # Running: createdb regression_dest1 # Running: createdb regression_dest2 # Running: pg_dump -Fd --no-sync -j2 -f /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup/dump1 port=52256 host=/tmp/CLyscWCiFn dbname='regression_src' ================================================================= ==28447==ERROR: AddressSanitizer: global-buffer-overflow on address 0x5590c597a67c at pc 0x5590c5909cd3 bp 0x7ffcb02d3620 sp 0x7ffcb02d3618 READ of size 4 at 0x5590c597a67c thread T0 #0 0x5590c5909cd2 in DOTypeNameCompare /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:204 #1 0x5590c5948c04 in pg_qsort ../../src/include/lib/sort_template.h:364 #2 0x5590c590e3e9 in sortDumpableObjectsByTypeName /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:192 #3 0x5590c58fe555 in main /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump.c:993 #4 0x7f90d6ec5d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x5590c58b3ec9 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump+0x3aec9) 0x5590c597a67c is located 0 bytes to the right of global variable 'dbObjectTypePriority' defined in 'pg_dump_sort.c:105:18' (0x5590c597a5c0) of size 188 SUMMARY: AddressSanitizer: global-buffer-overflow /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:204 in DOTypeNameCompare Shadow bytes around the buggy address: 0x0ab298b27470: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 0x0ab298b27480: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 0x0ab298b27490: 00 00 00 00 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 0x0ab298b274a0: 03 f9 f9 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 0x0ab298b274b0: 00 00 06 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 =>0x0ab298b274c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04] 0x0ab298b274d0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x0ab298b274e0: 00 00 00 00 00 00 00 04 f9 f9 f9 f9 00 00 00 00 0x0ab298b274f0: 07 f9 f9 f9 f9 f9 f9 f9 07 f9 f9 f9 f9 f9 f9 f9 0x0ab298b27500: 00 00 00 00 00 05 f9 f9 f9 f9 f9 f9 00 00 00 06 0x0ab298b27510: f9 f9 f9 f9 00 00 00 00 00 f9 f9 f9 f9 f9 f9 f9 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==28447==ABORTING [17:38:21.305](0.921s) not ok 1 - parallel dump [17:38:21.305](0.000s) [17:38:21.305](0.000s) # Failed test 'parallel dump' # at t/004_pg_dump_parallel.pl line 49. # Running: pg_restore -v -d port=52256 host=/tmp/CLyscWCiFn dbname='regression_dest1' -j3 /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup/dump1 pg_restore: error: directory "/tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup/dump1" does not appear to be a valid archive ("toc.dat" does not exist) [17:38:21.326](0.021s) not ok 2 - parallel restore [17:38:21.326](0.000s) [17:38:21.326](0.000s) # Failed test 'parallel restore' # at t/004_pg_dump_parallel.pl line 56. # Running: pg_dump -Fd --no-sync -j2 -f /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup/dump2 --inserts port=52256 host=/tmp/CLyscWCiFn dbname='regression_src' ================================================================= ==28484==ERROR: AddressSanitizer: global-buffer-overflow on address 0x56345ecae67c at pc 0x56345ec3dcd3 bp 0x7ffc2b3a9fd0 sp 0x7ffc2b3a9fc8 READ of size 4 at 0x56345ecae67c thread T0 #0 0x56345ec3dcd2 in DOTypeNameCompare /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:204 #1 0x56345ec7cc04 in pg_qsort ../../src/include/lib/sort_template.h:364 #2 0x56345ec423e9 in sortDumpableObjectsByTypeName /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:192 #3 0x56345ec32555 in main /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump.c:993 #4 0x7f1cad11dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x56345ebe7ec9 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump+0x3aec9) 0x56345ecae67c is located 0 bytes to the right of global variable 'dbObjectTypePriority' defined in 'pg_dump_sort.c:105:18' (0x56345ecae5c0) of size 188 SUMMARY: AddressSanitizer: global-buffer-overflow /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:204 in DOTypeNameCompare Shadow bytes around the buggy address: 0x0ac70bd8dc70: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 0x0ac70bd8dc80: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 0x0ac70bd8dc90: 00 00 00 00 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 0x0ac70bd8dca0: 03 f9 f9 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 0x0ac70bd8dcb0: 00 00 06 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 =>0x0ac70bd8dcc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04] 0x0ac70bd8dcd0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x0ac70bd8dce0: 00 00 00 00 00 00 00 04 f9 f9 f9 f9 00 00 00 00 0x0ac70bd8dcf0: 07 f9 f9 f9 f9 f9 f9 f9 07 f9 f9 f9 f9 f9 f9 f9 0x0ac70bd8dd00: 00 00 00 00 00 05 f9 f9 f9 f9 f9 f9 00 00 00 06 0x0ac70bd8dd10: f9 f9 f9 f9 00 00 00 00 00 f9 f9 f9 f9 f9 f9 f9 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==28484==ABORTING [17:38:21.712](0.386s) not ok 3 - parallel dump as inserts [17:38:21.712](0.000s) [17:38:21.712](0.000s) # Failed test 'parallel dump as inserts' # at t/004_pg_dump_parallel.pl line 64. # Running: pg_restore -v -d port=52256 host=/tmp/CLyscWCiFn dbname='regression_dest2' -j3 /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup/dump2 pg_restore: error: directory "/tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup/dump2" does not appear to be a valid archive ("toc.dat" does not exist) [17:38:21.722](0.010s) not ok 4 - parallel restore as inserts [17:38:21.722](0.000s) [17:38:21.722](0.000s) # Failed test 'parallel restore as inserts' # at t/004_pg_dump_parallel.pl line 73. [17:38:21.723](0.000s) 1..4 ### Stopping node "main" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "main" [17:38:21.833](0.111s) # Looks like you failed 4 tests of 4.