When running test/format with block-based backups, I hit a failure when trying to remove files missing from the list.
t: FAILED: active_files_remove_missing/174: unlink(filename): error return: -1 (gdb) bt #0 0x00007fc49e9735f7 in raise () from /lib64/libc.so.6 #1 0x00007fc49e974ce8 in abort () from /lib64/libc.so.6 #2 0x00000000004159e3 in testutil_die (e=-1, fmt=0x604e71 "%s/%d: %s") at ../../../test/utility/misc.c:66 #3 0x00000000004033ab in active_files_remove_missing (prev=0x7fc476ffce90, cur=0x7fc476ffce80) at ../../../test/format/backup.c:174 #4 0x000000000040474f in backup (arg=0x0) at ../../../test/format/backup.c:471 #5 0x00007fc49f32ddc5 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fc49ea34c9d in clone () from /lib64/libc.so.6 (gdb) frame 3 #3 0x00000000004033ab in active_files_remove_missing (prev=0x7fc476ffce90, cur=0x7fc476ffce80) at ../../../test/format/backup.c:174 174 error_sys_check(unlink(filename)); (gdb) p filename $1 = "RUNDIR/BACKUP/WiredTigerLog.0000000010\000\000 \312\377v\304\177\000\000\060\311\377v\304\177\000\000P\311\377v\304\177\000\000\071Ea\000\000\000\000\000\340e\031\210\304\177\000\000\021\000\000\000\000\000\000\000\340\310\377v\304\177\000\000\000\000\000\000\000\000\000\000\300\331\377v\304\177\000\000\000\327\377v\304\177\000\000\340:J\000\000\000\000\000`\314\377v\304\177\000\000\030\311\377v\304\177\000\000\217\337a\000\000\000\000\000\060\311\377v\304\177\000\000\031\000\000\000\000\000\000\000\240\022\017\210\304\177\000\000\060\000\000\000[\000\000\000\060\311\377v\030\000\000\000\360\311\377v\304\177\000\000"...
And the BACKUP directory does not contain that log file:
[sue@ip-172-30-0-18 (1) format]$ ls RUNDIR BACKUP WiredTigerLog.0000000001 WiredTigerLog.0000000009 BACKUP_COPY WiredTigerLog.0000000002 WiredTigerLog.0000000010 CONFIG WiredTigerLog.0000000003 WiredTigerLog.0000000011 rand WiredTigerLog.0000000004 WiredTigerLog.0000000012 WiredTiger WiredTigerLog.0000000005 WiredTigerLog.0000000013 WiredTiger.basecfg WiredTigerLog.0000000006 WiredTiger.turtle WiredTigerHS.wt WiredTigerLog.0000000007 WiredTiger.wt WiredTiger.lock WiredTigerLog.0000000008 wt.wt [sue@ip-172-30-0-18 (1) format]$ ls RUNDIR/B* RUNDIR/BACKUP: WiredTiger WiredTiger.basecfg WiredTigerLog.0000000011 wt.wt WiredTiger.backup WiredTigerHS.wt WiredTigerLog.0000000012