Windows test suite timeouts

Matt Harbison matt_harbison at yahoo.com
Fri Jan 4 18:35:30 CST 2013


Mads Kiilerich wrote:
> On 01/04/2013 04:06 AM, Matt Harbison wrote:
>> Every so often, I've noticed that some tests on Windows will take a
>> really long time, and then timeout:
>>
>> $ python run-tests.py -i test-largefiles.t
>>
>> ERROR: c:\Users\Matt\Projects\hg\tests\test-largefiles.t timed out
>> t
>> Failed test-largefiles.t: timed out
>> # Ran 1 tests, 0 skipped, 1 failed.
>>
>> It seems like once this occurs, it will occur every time until a
>> reboot. Some other tests (I randomly tried
>> test-subrepo-deep-nested-change.t) run fine even after the timeout. I
>> haven't noticed a pattern of events leading up to the problem.
>>
>> Is there something I can do to debug this?
>
> You could try to run run-tests with -d. That will show you were it is
> hanging and give a hint what the problem could be. One reason could be a
> hanging hg serve.
>
> /Mads

This is curious... I got a ton out output and then it came grinding to a 
halt:

+ hg pull ../e
pulling from ../e
searching for changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 4 changes to 4 files (+1 heads)
(run 'hg heads' to see heads, 'hg merge' to merge)
caching new largefiles
2 largefiles cached
+ echo SALT1357343164.18 1147 0
SALT1357343164.18 1147 0
+ hg merge
merging sub/large4
largefile sub/large4 has a merge conflict
keep (l)ocal or take (o)ther?

(the test file has 'l' hardcoded in it at the end of that last line).  I 
answered 'l' and the test completed without timeout, but a subsequent 
run without -d timed out again.

This is the only instance of this prompt in that test. 
test-merge-tools.t has the same prompt, but it works.  test-subrepo.t 
(with the 'local source/remote source' prompt) works.  It has the 'l' on 
a separate line, but that didn't help the largefiles test.


The only other possibly helpful things I can think of is that:

   - I interrupted a test with Ctrl+C prior to the initial timeout this
     time (possibly several runs before, I don't recall)

   - It seems to be more frequent lately (last month or two), but not so
     frequent that I can bisect it)

   - I haven't seen it on Linux

Anything else I can help with?

--Matt


More information about the Mercurial-devel mailing list