{"thread":{"id":"44773","subject":"Intermittent failure of t0021","startedAt":"2016-12-27T19:27:18Z","lastAt":"2016-12-27T19:30:25Z","messageCount":2,"participants":["Michael Haggerty"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"308409","messageId":"ec454def-88a7-5562-1bfe-9d52de42dc55@alum.mit.edu","threadId":"44773","inReplyTo":null,"subject":"Intermittent failure of t0021","fromName":"Michael Haggerty","fromEmail":"mhagger@alum.mit.edu","sentAt":"2016-12-27T19:21:07Z","receivedAt":"2016-12-27T19:27:18Z","isPatch":false,"sender":{"key":"mhagger@alum.mit.edu","avatar":"https://avatars.githubusercontent.com/u/119718?v=4"},"body":"Hi,\n\nI'm seeing intermittent failures of t0021. If I run it as follows (using\na ramdisk as temporary space, and `EXPENSIVE` turned off), it fails on\naverage about every 40 attempts:\n\n$ make -j8 O=0 && (cd t && for i in $(seq 200); do if ./t0021-*.sh ;\nthen echo \"passed attempt $i\"; else echo \"failed on attempt $i\"; break;\nfi ; done )\n\n(I've also seen it fail while running the whole test suite, so it is not\nthe tight test loop that triggers the problem.)\n\nThe output when it fails is\n\nInitialized empty Git repository in\n/home/mhagger/self/proj/git/git/t/trash\ndirectory.t0021-conversion/repo/.git/\n[master (root-commit) 56d459b] test commit 1\n Author: A U Thor <author@example.com>\n 1 file changed, 1 insertion(+)\n create mode 100644 .gitattributes\n[master c30c7fc] test commit 2\n Author: A U Thor <author@example.com>\n 4 files changed, 5 insertions(+)\n create mode 100644 test.r\n create mode 100644 test2.r\n create mode 100644 test4-empty.r\n create mode 100644 testsubdir/test3 'sq',$x.r\nsort: cannot read: rot13-filter.log: No such file or directory\n--- expected.log\t2016-12-27 17:58:18.017505012 +0000\n+++ rot13-filter.log\t2016-12-27 17:58:18.017505012 +0000\n@@ -1,7 +0,0 @@\n-x IN: clean test.r 57 [OK] -- OUT: 57 . [OK]\n-x IN: clean test2.r 14 [OK] -- OUT: 14 . [OK]\n-x IN: clean test4-empty.r 0 [OK] -- OUT: 0  [OK]\n-x IN: clean testsubdir/test3 'sq',$x.r 49 [OK] -- OUT: 49 . [OK]\n-      1 START\n-      1 STOP\n-      1 init handshake complete\nnot ok 15 - required process filter should filter data\n\nThe failure bisects to\n\n    9c48b4f \"t0021: minor filter process test cleanup\", 2016-12-04\n\nIf I test the two parts of that commit separately, it is the removal of\nthe `.` arguments from `git commit` that triggers the failures (i.e.,\nnot the removal of the creation of `.gitignore`).\n\nIt's possible that the test was unreliable or racy even before this\nchange, but I have run the same test 1000+ times against the parent\ncommit (b18f6a00662524443cfb82f5fed7d3b54524c8ab) under the same\nconditions without seeing a single failure. So *something* seems to have\nbeen changed for the worse by this commit.\n\nI don't plan to look into it any further, but if you have trouble\nreproducing the problem don't hesitate to contact me.\n\nMichael\n"},{"id":"308410","messageId":"2c2c574c-a840-4eb9-848f-8c56f1ad7d66@alum.mit.edu","threadId":"44773","inReplyTo":"ec454def-88a7-5562-1bfe-9d52de42dc55@alum.mit.edu","subject":"Re: Intermittent failure of t0021","fromName":"Michael Haggerty","fromEmail":"mhagger@alum.mit.edu","sentAt":"2016-12-27T19:30:04Z","receivedAt":"2016-12-27T19:30:25Z","isPatch":false,"sender":{"key":"mhagger@alum.mit.edu","avatar":"https://avatars.githubusercontent.com/u/119718?v=4"},"body":"On 12/27/2016 08:21 PM, Michael Haggerty wrote:\n> I'm seeing intermittent failures of t0021. [...]\n\nJust after submitting this, I saw that the problem has already been\nreported and a fix proposed:\n\nhttp://public-inbox.org/git/dd8decbc-f856-4f68-6d77-7ea9d5f9d126@ramsayjones.plus.com/\n\nSorry for the noise.\n\nMichael\n\n"}]}