t7063-status-untracked-cache.sh test failure on next
Hi Junio,
While testing the next branch today, I had a test failure, viz:
$ tail ntest-out-fail
Test Summary Report
-------------------
t7063-status-untracked-cache.sh (Wstat: 256 Tests: 32 Failed: 22)
Failed tests: 1-18, 20-21, 25, 29
Non-zero exit status: 1
Files=726, Tests=13035, 394 wallclock secs ( 3.61 usr 0.51 sys + 82.93 cusr 256.21 csys = 343.26 CPU)
Result: FAIL
make[1]: *** [prove] Error 1
make[1]: Leaving directory `/home/ramsay/git/t'
make: *** [test] Error 2
$ However, I have not been able to reproduce the failure, so it seems to be an intermittent fault. (Unfortunately, I trashed the 'trash' directory before thinking to save it - although I almost always find it useless for debugging if you haven't run the test with '-i -v' anyway.)
So, this is just a 'heads up', since I can't debug it. :(
ATB,
Ramsay Jones
Quoted 8 lines · Ramsay Jones
Hi Junio,
While testing the next branch today, I had a test failure, viz:
$ tail ntest-out-fail Test Summary Report ------------------- t7063-status-untracked-cache.sh (Wstat: 256 Tests: 32 Failed: 22)
Does this patch help ?
(Recently send & tested by David. I just copy & paste the diff) []
--- t/t7063-status-untracked-cache.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
t/t7063-status-untracked-cache.sh +3 -1
@@ -412,7 +412,9 @@ test_expect_success 'create/modify files, some of which are gitignored' ' echo two bis >done/two && echo three >done/three && # three is gitignored echo four >done/four && # four is gitignored at a higher level - echo five >done/five # five is not gitignored + echo five >done/five && # five is not gitignored + echo test >base && #we need to ensure that the root dir is touched + rm base '
Quoted 5 lines · Torsten Bögershausen
Quoted 4 lines · Ramsay Jones
Hi Junio,
While testing the next branch today, I had a test failure, viz:
Quoted 7 lines
Quoted 4 lines
$ tail ntest-out-fail Test Summary Report ------------------- t7063-status-untracked-cache.sh (Wstat: 256 Tests: 32 Failed: 22)Does this patch help ?
(Recently send & tested by David. I just copy & paste the diff)
My patch fixes one of the tests, but Ramsay has a zillion failures (presumably because test 1 fails and most everything else follows from that).
That test could fail if your clock were running fast and you had 1-second resolution timetamps on your filesystem and you were somewhat unlucky.
Quoted 14 lines · David Turner
Quoted 5 lines · Torsten Bögershausen
Quoted 4 lines · Ramsay Jones
Hi Junio,
While testing the next branch today, I had a test failure, viz:
Quoted 7 lines
Quoted 4 lines
$ tail ntest-out-fail Test Summary Report ------------------- t7063-status-untracked-cache.sh (Wstat: 256 Tests: 32 Failed: 22)Does this patch help ?
(Recently send & tested by David. I just copy & paste the diff)
Quoted 7 lines
My patch fixes one of the tests, but Ramsay has a zillion failures (presumably because test 1 fails and most everything else follows from that).
That test could fail if your clock were running fast and you had 1-second resolution timetamps on your filesystem and you were somewhat unlucky.
yep. I've just stopped running the test in a loop after about an hour. In that time it has executed the test about 130+ times (yeah, I forgot the count), with no failures. I'm going to give up now and declare that I was simply unlucky! :-D
ATB,
Ramsay Jones
Quoted 5 lines · Torsten Bögershausen
Quoted 4 lines · Ramsay Jones
Hi Junio,
While testing the next branch today, I had a test failure, viz:
Quoted 9 lines
Quoted 4 lines
$ tail ntest-out-fail Test Summary Report ------------------- t7063-status-untracked-cache.sh (Wstat: 256 Tests: 32 Failed: 22)Does this patch help ?
(Recently send & tested by David. I just copy & paste the diff) []
No, that patch is already in next and was part of the build that failed:
$ git log -1 --oneline 9b680fbd3
9b680fb t7063: fix flaky untracked-cache test
$ git branch --contains 9b680fbd3
* next
pu
$ Again, I haven't been able to reproduce the failure ...
[I should have said the this is today's next branch @ 3b31934 Sync with master. This is on Linux Mint 17.2]
Thanks.
ATB,
Ramsay Jones
Quoted 20 lines
Signed-off-by David Turner <[email protected]>--- t/t7063-status-untracked-cache.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)t/t7063-status-untracked-cache.sh +3
-1@@ -412,7 +412,9 @@ test_expect_success 'create/modify files, some of which are gitignored' ' echo two bis >done/two && echo three >done/three && # three is gitignored echo four >done/four && # four is gitignored at a higher level - echo five >done/five # five is not gitignored + echo five >done/five && # five is not gitignored + echo test >base && #we need to ensure that the root dir is touched + rm base '