You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
backup.test intermittently fails due to missing backup message output #941
f.s....... deep/name2
backed up deep/name2 to deep/name2~
no backup message output for deep/name1
In other failing runs the failure is reversed:
f..t...... deep/name1
backed up deep/name1 to deep/name1~
no backup message output for deep/name2
Test:
The failure occurs in `testsuite/backup.test`.
The relevant check is:
for fn in deep/name1 deep/name2; do
grep "backed up $fn to $fn~" "$outfile" >/dev/null ||
test_fail "no backup message output for $fn"
done
The test appears to expect both files to generate backup messages, but intermittently only one file is reported as updated.
Additional Notes:
The issue appears to be timing or environment dependent because:
Most test runs pass successfully.
Repeated executions show intermittent failures.
The failing file alternates between `deep/name1` and `deep/name2`.
Please let me know if there is additional debug information that would be useful.
I think the next useful thing is whether the backup is actually missing or only the --info=backup message is missing. The Python test checks the message first then checks the copied file and backup contents so the current failure stops before we know which part diverged.
Could you try and repro just this test with the scratch directory preserved and share the relevant from, to, chk and rsync.out contents from a failing run?
If the backup files exist and match but the message is absent this is likely an output/reporting issue. If one backup file is absent or does not match, the issue is deeper in the transfer/backup path. Since this is happening under qemux86-64, it would also help to know the filesystem used for the test scratch directory and its timestamp granularity.
Activity
steadytao commentedon Jun 3, 2026
I think the next useful thing is whether the backup is actually missing or only the
--info=backupmessage is missing. The Python test checks the message first then checks the copied file and backup contents so the current failure stops before we know which part diverged.Could you try and repro just this test with the scratch directory preserved and share the relevant
from,to,chkandrsync.outcontents from a failing run?The most useful checks from a failing scratch tree would be:
If the backup files exist and match but the message is absent this is likely an output/reporting issue. If one backup file is absent or does not match, the issue is deeper in the transfer/backup path. Since this is happening under qemux86-64, it would also help to know the filesystem used for the test scratch directory and its timestamp granularity.