595fb98473
I've seen intermittent failures of the test suite with v6 for a long time, it seems to have possibly gotten worse with the changes around v7. Or just being unlucky; all tests failed today. Seen on amd64 and i386 builders, repeatedly but intermittently: unused: FAIL (4.86s) Test.hs:928: git diff did not show changes to unlocked file And I think other such failures, all involving v7/v6 mode tests. I managed to reproduce the unused failure with --keep-failures, and inside the repo, git diff was indeed not showing any changes for the modified unlocked file. The two stats will be the same other than mtime; the old and new files have the same size and inode, since the test case writes to the file and then overwrites it. Indeed, notice the identical timestamps: builder@orca:~/gitbuilder/build/.t/tmprepo335$ echo 1 > foo; stat foo; echo 2 > foo; stat foo File: foo Size: 2 Blocks: 8 IO Block: 4096 regular file Device: 801h/2049d Inode: 3546179 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ builder) Gid: ( 1000/ builder) Access: 2018-10-29 22:14:10.894942036 +0000 Modify: 2018-10-29 22:14:10.894942036 +0000 Change: 2018-10-29 22:14:10.894942036 +0000 Birth: - File: foo Size: 2 Blocks: 8 IO Block: 4096 regular file Device: 801h/2049d Inode: 3546179 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ builder) Gid: ( 1000/ builder) Access: 2018-10-29 22:14:10.894942036 +0000 Modify: 2018-10-29 22:14:10.898942036 +0000 Change: 2018-10-29 22:14:10.898942036 +0000 Birth: - I'm seeing this in Linux VMs; it doesn't happen on my laptop. I've also not experienced the intermittent test suite failures on my laptop. So, I hope that this small delay will avoid the problem. Update: I didn't, indeed I then reproduced the same failure on my laptop, so it must be due to something else. But keeping this change anyway since not needing to worry about lowish-resolution mtime in the test suite seems worthwhile. |
||
---|---|---|
.. | ||
android | ||
Android | ||
assistant | ||
automatic_conflict_resolution | ||
backends | ||
bare_repositories | ||
benchmarking | ||
bugs | ||
coding_style | ||
contribute | ||
copies | ||
design | ||
devblog | ||
direct_mode | ||
download | ||
ekg | ||
encryption | ||
footer | ||
forum | ||
future_proofing | ||
git-annex-add | ||
git-annex-addurl | ||
git-annex-adjust | ||
git-annex-checkpresentkey | ||
git-annex-config | ||
git-annex-copy | ||
git-annex-direct | ||
git-annex-drop | ||
git-annex-enableremote | ||
git-annex-find | ||
git-annex-importfeed | ||
git-annex-metadata | ||
git-annex-move | ||
git-annex-preferred-content | ||
git-annex-reinject | ||
git-annex-rmurl | ||
git-annex-setpresentkey | ||
git-annex-sync | ||
git-annex-test | ||
git-annex-unannex | ||
git-annex-undo | ||
git-annex-unused | ||
git-annex-whereis | ||
how_it_works | ||
install | ||
internals | ||
license | ||
links | ||
metadata | ||
news | ||
not | ||
polls | ||
preferred_content | ||
required_content | ||
scalability | ||
security | ||
special_remotes | ||
stickers | ||
sync | ||
templates | ||
testimonials | ||
thanks | ||
tips | ||
todo | ||
trust | ||
tuning | ||
upgrades | ||
use_case | ||
users | ||
videos | ||
walkthrough | ||
Android.mdwn | ||
assistant.mdwn | ||
automatic_conflict_resolution.mdwn | ||
backends.mdwn | ||
bare_repositories.mdwn | ||
benchmarking.mdwn | ||
bugs.mdwn | ||
builds.mdwn | ||
chunking.mdwn | ||
coding_style.mdwn | ||
comments.mdwn | ||
contact.mdwn | ||
contribute.mdwn | ||
copies.mdwn | ||
design.mdwn | ||
devblog.mdwn | ||
direct_mode.mdwn | ||
distributed_version_control.mdwn | ||
download.mdwn | ||
ekg.mdwn | ||
encryption.mdwn | ||
favicon.ico | ||
forum.mdwn | ||
future_proofing.mdwn | ||
git-annex-add.mdwn | ||
git-annex-addunused.mdwn | ||
git-annex-addurl.mdwn | ||
git-annex-adjust.mdwn | ||
git-annex-assistant.mdwn | ||
git-annex-calckey.mdwn | ||
git-annex-checkpresentkey.mdwn | ||
git-annex-config.mdwn | ||
git-annex-contentlocation.mdwn | ||
git-annex-copy.mdwn | ||
git-annex-dead.mdwn | ||
git-annex-describe.mdwn | ||
git-annex-diffdriver.mdwn | ||
git-annex-direct.mdwn | ||
git-annex-drop.mdwn | ||
git-annex-dropkey.mdwn | ||
git-annex-dropunused.mdwn | ||
git-annex-edit.mdwn | ||
git-annex-enable-tor.mdwn | ||
git-annex-enableremote.mdwn | ||
git-annex-examinekey.mdwn | ||
git-annex-expire.mdwn | ||
git-annex-export.mdwn | ||
git-annex-find.mdwn | ||
git-annex-findref.mdwn | ||
git-annex-fix.mdwn | ||
git-annex-forget.mdwn | ||
git-annex-fromkey.mdwn | ||
git-annex-fsck.mdwn | ||
git-annex-fuzztest.mdwn | ||
git-annex-get.mdwn | ||
git-annex-group.mdwn | ||
git-annex-groupwanted.mdwn | ||
git-annex-import.mdwn | ||
git-annex-importfeed.mdwn | ||
git-annex-indirect.mdwn | ||
git-annex-info.mdwn | ||
git-annex-init.mdwn | ||
git-annex-initremote.mdwn | ||
git-annex-inprogress.mdwn | ||
git-annex-list.mdwn | ||
git-annex-lock.mdwn | ||
git-annex-log.mdwn | ||
git-annex-lookupkey.mdwn | ||
git-annex-map.mdwn | ||
git-annex-matchexpression.mdwn | ||
git-annex-matching-options.mdwn | ||
git-annex-merge.mdwn | ||
git-annex-metadata.mdwn | ||
git-annex-migrate.mdwn | ||
git-annex-mirror.mdwn | ||
git-annex-move.mdwn | ||
git-annex-multicast.mdwn | ||
git-annex-numcopies.mdwn | ||
git-annex-p2p.mdwn | ||
git-annex-post-receive.mdwn | ||
git-annex-pre-commit.mdwn | ||
git-annex-preferred-content.mdwn | ||
git-annex-proxy.mdwn | ||
git-annex-readpresentkey.mdwn | ||
git-annex-registerurl.mdwn | ||
git-annex-reinit.mdwn | ||
git-annex-reinject.mdwn | ||
git-annex-rekey.mdwn | ||
git-annex-remotedaemon.mdwn | ||
git-annex-repair.mdwn | ||
git-annex-required.mdwn | ||
git-annex-resolvemerge.mdwn | ||
git-annex-rmurl.mdwn | ||
git-annex-schedule.mdwn | ||
git-annex-semitrust.mdwn | ||
git-annex-setkey.mdwn | ||
git-annex-setpresentkey.mdwn | ||
git-annex-shell.mdwn | ||
git-annex-smudge.mdwn | ||
git-annex-status.mdwn | ||
git-annex-sync.mdwn | ||
git-annex-test.mdwn | ||
git-annex-testremote.mdwn | ||
git-annex-transferkey.mdwn | ||
git-annex-transferkeys.mdwn | ||
git-annex-trust.mdwn | ||
git-annex-unannex.mdwn | ||
git-annex-undo.mdwn | ||
git-annex-ungroup.mdwn | ||
git-annex-uninit.mdwn | ||
git-annex-unlock.mdwn | ||
git-annex-untrust.mdwn | ||
git-annex-unused.mdwn | ||
git-annex-upgrade.mdwn | ||
git-annex-vadd.mdwn | ||
git-annex-vcycle.mdwn | ||
git-annex-version.mdwn | ||
git-annex-vfilter.mdwn | ||
git-annex-vicfg.mdwn | ||
git-annex-view.mdwn | ||
git-annex-vpop.mdwn | ||
git-annex-wanted.mdwn | ||
git-annex-watch.mdwn | ||
git-annex-webapp.mdwn | ||
git-annex-whereis.mdwn | ||
git-annex.mdwn | ||
git-remote-tor-annex.mdwn | ||
git-union-merge.mdwn | ||
how_it_works.mdwn | ||
index.mdwn | ||
install.mdwn | ||
internals.mdwn | ||
license.mdwn | ||
location_tracking.mdwn | ||
logo-old-bw.svg | ||
logo-old.png | ||
logo-old.svg | ||
logo-old_small.png | ||
logo.mdwn | ||
logo.svg | ||
logo_16x16.png | ||
logo_32x32.png | ||
logo_small.png | ||
meta.mdwn | ||
metadata.mdwn | ||
news.mdwn | ||
not.mdwn | ||
polls.mdwn | ||
preferred_content.mdwn | ||
privacy.mdwn | ||
publicrepos.mdwn | ||
related_software.mdwn | ||
repomap.png | ||
required_content.mdwn | ||
scalability.mdwn | ||
security.mdwn | ||
shortcuts.mdwn | ||
sidebar.mdwn | ||
sitemap.mdwn | ||
special_remotes.mdwn | ||
stickers.mdwn | ||
submodules.mdwn | ||
summary.mdwn | ||
sync.mdwn | ||
testimonials.mdwn | ||
thanks.mdwn | ||
tips.mdwn | ||
todo.mdwn | ||
transferring_data.mdwn | ||
trust.mdwn | ||
tuning.mdwn | ||
upgrades.mdwn | ||
users.mdwn | ||
videos.mdwn | ||
Void.mdwn | ||
walkthrough.mdwn | ||
workflow.mdwn |