Ricardo Wurmus writes: > As of 62d48234e20c732ebefc1b4deb425f590b4241ca git fails at least one of > its tests on my servers: > > --8<---------------cut here---------------start------------->8--- > not ok 185 - --contains and --no-contains work in a deep repo > # > # >expect && > # i=1 && > # while test $i -lt 8000 > # do > # echo "commit refs/heads/master > # committer A U Thor $((1000000000 + $i * 100)) +0200 > # data < # commit #$i > # EOF" > # test $i = 1 && echo "from refs/heads/master^0" > # i=$(($i + 1)) > # done | git fast-import && > # git checkout master && > # git tag far-far-away HEAD^ && > # run_with_limited_stack git tag --contains HEAD >actual && > # test_cmp expect actual && > # run_with_limited_stack git tag --no-contains HEAD >actual && > # test_line_count "-gt" 10 actual > # > --8<---------------cut here---------------end--------------->8--- > > The server has 1.5TB RAM and 192 cores. I’ve tried to build git about 5 > times; some of these times I used “--cores=1” to force a sequential > build, but the tests would still fail. I wonder if this has anything to do with the fact that this test (and one other) limits the stack size to 128 kB (ulimit -s). FWIW here is the commit that added this test: https://github.com/git/git/commit/cbc60b67201e083a4970c8731c5382a575357e36 It has since been increased from 64kB to 128kB, so I wonder if the attached patch will make any difference. Can you try it?