# Intermittent failure of t1700-split-index.sh

3 messages from 2017-01-27 to 2017-01-27. Participants: Ramsay Jones, Jeff King, Christian Couder.
Thread: https://gitlist.dev/t/44984

## Ramsay Jones, 2017-01-27 02:45

Subject: Intermittent failure of t1700-split-index.sh
Message-ID: <818851a6-c3ef-618e-4146-518fbe6bd837@ramsayjones.plus.com>
URL: https://gitlist.dev/e/818851a6-c3ef-618e-4146-518fbe6bd837%40ramsayjones.plus.com

```
Hi Christian,

I noticed the intermittent failure of t1700-split-index.sh
(tests #17 and #18) yesterday. It failed in a full test-suite
run, but would not fail when run by hand, until I ran it
like so:

    $ cd t
    $ for i in `seq 100`; do
    > echo "== $i =="
    > ./t1700-split-index.sh -i -v || break
    > done

... when it failed on the 82nd run!

I only had a brief look in the trash directory, but I could
see that the 'twelve' file did not exist, 'eleven' did exist
and was in the index (well, git ls-files showed it), and that
there were only two '.git/sharedindex.*' files and that their
timestamps had not been changed.

I can't devote any time to looking at this further tonight
(it's 2-45am here, I'm off to bed!). Can you reproduce the
problem, or is it just me? :)

ATB,
Ramsay Jones


```

## Jeff King, 2017-01-27 03:58

Subject: Re: Intermittent failure of t1700-split-index.sh
Message-ID: <20170127035806.rtvlas7dja5ikvxg@sigill.intra.peff.net>
URL: https://gitlist.dev/e/20170127035806.rtvlas7dja5ikvxg%40sigill.intra.peff.net
In-Reply-To: <818851a6-c3ef-618e-4146-518fbe6bd837@ramsayjones.plus.com>

```
On Fri, Jan 27, 2017 at 02:45:15AM +0000, Ramsay Jones wrote:

> I can't devote any time to looking at this further tonight
> (it's 2-45am here, I'm off to bed!). Can you reproduce the
> problem, or is it just me? :)

I can reproduce here with 'pu'. t1700.17 seems to fail reliably with my
stress script after 5-10 seconds.

It bisects to ff97d10f57c2f99b6d86da8f07c16659979b2780, but take that
with a moderate grain of salt, as I may have marked a bad commit as
"good" if it simply got lucky and didn't fail as quickly.

-Peff

```

## Christian Couder, 2017-01-27 06:38

Subject: Re: Intermittent failure of t1700-split-index.sh
Message-ID: <CAP8UFD3EBKxP7mgsQvJCTdjnPt4C-9i4ssLDNxhezbLo0kxhpA@mail.gmail.com>
URL: https://gitlist.dev/e/CAP8UFD3EBKxP7mgsQvJCTdjnPt4C-9i4ssLDNxhezbLo0kxhpA%40mail.gmail.com
In-Reply-To: <20170127035806.rtvlas7dja5ikvxg@sigill.intra.peff.net>

```
On Fri, Jan 27, 2017 at 4:58 AM, Jeff King <peff@peff.net> wrote:
> On Fri, Jan 27, 2017 at 02:45:15AM +0000, Ramsay Jones wrote:
>
>> I can't devote any time to looking at this further tonight
>> (it's 2-45am here, I'm off to bed!). Can you reproduce the
>> problem, or is it just me? :)
>
> I can reproduce here with 'pu'. t1700.17 seems to fail reliably with my
> stress script after 5-10 seconds.
>
> It bisects to ff97d10f57c2f99b6d86da8f07c16659979b2780, but take that
> with a moderate grain of salt, as I may have marked a bad commit as
> "good" if it simply got lucky and didn't fail as quickly.

Thanks both for your tests and your report. I will take a look.

```
