On Sat, Apr 4, 2020 at 11:13 AM Tom Lane <t...@sss.pgh.pa.us> wrote: > Fabien COELHO <coe...@cri.ensmp.fr> writes: > > The only strange thing under buildroot I found is: > > > HEAD/pgsql.build/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/open_directory_fails/pg_subtrans/ > > > this last directory perms are d--------- which seems to break cleanup.
Same here, on elver. I see pg_subtrans has been chmod(0)'d, presumably by the perl subroutine mutilate_open_directory_fails. I see this in my inbox (the build farm wrote it to stderr or stdout rather than the log file): cannot chdir to child for pgsql.build/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/open_directory_fails/pg_subtrans: Permission denied at ./run_build.pl line 1013. cannot remove directory for pgsql.build/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/open_directory_fails: Directory not empty at ./run_build.pl line 1013. cannot remove directory for pgsql.build/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup: Directory not empty at ./run_build.pl line 1013. cannot remove directory for pgsql.build/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data: Directory not empty at ./run_build.pl line 1013. cannot remove directory for pgsql.build/src/bin/pg_validatebackup/tmp_check: Directory not empty at ./run_build.pl line 1013. cannot remove directory for pgsql.build/src/bin/pg_validatebackup: Directory not empty at ./run_build.pl line 1013. cannot remove directory for pgsql.build/src/bin: Directory not empty at ./run_build.pl line 1013. cannot remove directory for pgsql.build/src: Directory not empty at ./run_build.pl line 1013. cannot remove directory for pgsql.build: Directory not empty at ./run_build.pl line 1013. cannot chdir to child for pgsql.build/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/open_directory_fails/pg_subtrans: Permission denied at ./run_build.pl line 589. cannot remove directory for pgsql.build/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup/open_directory_fails: Directory not empty at ./run_build.pl line 589. cannot remove directory for pgsql.build/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data/backup: Directory not empty at ./run_build.pl line 589. cannot remove directory for pgsql.build/src/bin/pg_validatebackup/tmp_check/t_003_corruption_master_data: Directory not empty at ./run_build.pl line 589. cannot remove directory for pgsql.build/src/bin/pg_validatebackup/tmp_check: Directory not empty at ./run_build.pl line 589. cannot remove directory for pgsql.build/src/bin/pg_validatebackup: Directory not empty at ./run_build.pl line 589. cannot remove directory for pgsql.build/src/bin: Directory not empty at ./run_build.pl line 589. cannot remove directory for pgsql.build/src: Directory not empty at ./run_build.pl line 589. cannot remove directory for pgsql.build: Directory not empty at ./run_build.pl line 589.