git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* t7063-status-untracked-cache.sh test failure on next
@ 2015-10-21 14:37 Ramsay Jones
  2015-10-21 16:05 ` Torsten Bögershausen
  0 siblings, 1 reply; 5+ messages in thread
From: Ramsay Jones @ 2015-10-21 14:37 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: GIT Mailing-list

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: t7063-status-untracked-cache.sh test failure on next
  2015-10-21 14:37 t7063-status-untracked-cache.sh test failure on next Ramsay Jones
@ 2015-10-21 16:05 ` Torsten Bögershausen
  2015-10-21 16:22   ` Ramsay Jones
  2015-10-21 17:50   ` David Turner
  0 siblings, 2 replies; 5+ messages in thread
From: Torsten Bögershausen @ 2015-10-21 16:05 UTC (permalink / raw)
  To: Ramsay Jones, Junio C Hamano; +Cc: GIT Mailing-list, David Turner

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 <dturner@twopensource.com>
---
 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
 '

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: t7063-status-untracked-cache.sh test failure on next
  2015-10-21 16:05 ` Torsten Bögershausen
@ 2015-10-21 16:22   ` Ramsay Jones
  2015-10-21 17:50   ` David Turner
  1 sibling, 0 replies; 5+ messages in thread
From: Ramsay Jones @ 2015-10-21 16:22 UTC (permalink / raw)
  To: Torsten Bögershausen, Junio C Hamano; +Cc: GIT Mailing-list, David Turner



On 21/10/15 17:05, Torsten Bögershausen wrote:
> 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)
> []
>  

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


> Signed-off-by: David Turner <dturner@twopensource.com>
> ---
>  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
>  '
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: t7063-status-untracked-cache.sh test failure on next
  2015-10-21 16:05 ` Torsten Bögershausen
  2015-10-21 16:22   ` Ramsay Jones
@ 2015-10-21 17:50   ` David Turner
  2015-10-21 19:51     ` Ramsay Jones
  1 sibling, 1 reply; 5+ messages in thread
From: David Turner @ 2015-10-21 17:50 UTC (permalink / raw)
  To: Torsten Bögershausen; +Cc: Ramsay Jones, Junio C Hamano, GIT Mailing-list

On Wed, 2015-10-21 at 18:05 +0200, Torsten Bögershausen wrote:
> 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)

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.  

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: t7063-status-untracked-cache.sh test failure on next
  2015-10-21 17:50   ` David Turner
@ 2015-10-21 19:51     ` Ramsay Jones
  0 siblings, 0 replies; 5+ messages in thread
From: Ramsay Jones @ 2015-10-21 19:51 UTC (permalink / raw)
  To: David Turner, Torsten Bögershausen; +Cc: Junio C Hamano, GIT Mailing-list



On 21/10/15 18:50, David Turner wrote:
> On Wed, 2015-10-21 at 18:05 +0200, Torsten Bögershausen wrote:
>> 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)
> 
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-21 19:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-21 14:37 t7063-status-untracked-cache.sh test failure on next Ramsay Jones
2015-10-21 16:05 ` Torsten Bögershausen
2015-10-21 16:22   ` Ramsay Jones
2015-10-21 17:50   ` David Turner
2015-10-21 19:51     ` Ramsay Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).