t7063-status-untracked-cache.sh test failure on next

5 messages, 3 authors, 2016-06-15 · open the first message on its own page

t7063-status-untracked-cache.sh test failure on next

From: Ramsay Jones <hidden>
Date: 2016-06-15 23:06:56

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

Re: t7063-status-untracked-cache.sh test failure on next

From: Torsten Bögershausen <hidden>
Date: 2016-06-15 23:06:56

On 21.10.15 16:37, Ramsay Jones wrote:
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)
[]
 
Signed-off-by: David Turner <redacted>
---
 t/t7063-status-untracked-cache.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/t/t7063-status-untracked-cache.sh b/t/t7063-status-untracked-cache.sh
index 37a24c1..0e8d0d4 100755
--- a/t/t7063-status-untracked-cache.sh
+++ b/t/t7063-status-untracked-cache.sh
@@ -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
 '

Re: t7063-status-untracked-cache.sh test failure on next

From: Ramsay Jones <hidden>
Date: 2016-06-15 23:06:56


On 21/10/15 17:05, Torsten Bögershausen wrote:
On 21.10.15 16:37, Ramsay Jones wrote:
quoted
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)
[]
 
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 hunk
Signed-off-by: David Turner <redacted>
---
 t/t7063-status-untracked-cache.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/t/t7063-status-untracked-cache.sh b/t/t7063-status-untracked-cache.sh
index 37a24c1..0e8d0d4 100755
--- a/t/t7063-status-untracked-cache.sh
+++ b/t/t7063-status-untracked-cache.sh
@@ -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
 '

Re: t7063-status-untracked-cache.sh test failure on next

From: David Turner <hidden>
Date: 2016-06-15 23:06:56

On Wed, 2015-10-21 at 18:05 +0200, Torsten Bögershausen wrote:
On 21.10.15 16:37, Ramsay Jones wrote:
quoted
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)
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.  

Re: t7063-status-untracked-cache.sh test failure on next

From: Ramsay Jones <hidden>
Date: 2016-06-15 23:07:01


On 21/10/15 18:50, David Turner wrote:
On Wed, 2015-10-21 at 18:05 +0200, Torsten Bögershausen wrote:
quoted
On 21.10.15 16:37, Ramsay Jones wrote:
quoted
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)
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help