From patchwork Sat Jan 26 00:15:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: crew-stable test failure in ubuntu 12.10 From: Giorgos Keramidas X-Patchwork-Id: 740 Message-Id: <20130126001544.GA29876@saturn> To: mercurial-devel@selenic.com Date: Sat, 26 Jan 2013 01:15:46 +0100 I've recently pulled a crew-stable snapshot from rev ddbe689af784 and tried to build it on Ubuntu 12.10: $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.10 DISTRIB_CODENAME=quantal DISTRIB_DESCRIPTION="Ubuntu 12.10" $ hg log -r crew-stable changeset: 18479:ddbe689af784 branch: stable bookmark: crew-stable tag: tip user: FUJIWARA Katsunori date: Thu Jan 24 00:21:22 2013 +0900 summary: doc: use "tag" revset predicate instead of "tagged" for example in help but it fails to pass any inotify related tests, with errors like the ones attached below. Is this something I managed to break on my side, by doing something stupid with inotify? ERROR: /home/gkeramidas/hg/mercurial/gker/tests/test-inotify.t output changed ===== start of error log ===== --- /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-debuginotify.t +++ /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-debuginotify.t.err @@ -7,7 +7,13 @@ inserve $ hg inserve -d --pid-file=hg.pid + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + abort: child process failed to start + [255] $ cat hg.pid >> "$DAEMON_PIDS" + cat: hg.pid: No such file or directory + [1] let the daemon finish its stuff @@ -16,26 +22,125 @@ empty $ hg debuginotify - directories being watched: - / - .hg/ + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start + ** unknown exception encountered, please report by visiting + ** http://mercurial.selenic.com/wiki/BugTracker + ** Python 2.7.3 (default, Sep 26 2012, 21:51:14) [GCC 4.7.2] + ** Mercurial Distributed SCM (version 2.4.2+244-2.5-rc+15-aa2f6c4fb5d4+ddbe689af784+20130125) + ** Extensions loaded: inotify + Traceback (most recent call last): + File "/tmp/hgtests.s9UEKm/install/bin/hg", line 38, in + mercurial.dispatch.run() + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 28, in run + sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 65, in dispatch + return _runcatch(req) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 88, in _runcatch + return _dispatch(req) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 743, in _dispatch + cmdpats, cmdoptions) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 514, in runcommand + ret = _runcommand(ui, options, cmd, d) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 833, in _runcommand + return checkargs() + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 804, in checkargs + return cmdfunc() + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 740, in + d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/util.py", line 475, in check + return func(*args, **kwargs) + File "/tmp/hgtests.s9UEKm/install/lib/python/hgext/inotify/__init__.py", line 30, in debuginotify + response = cli.debugquery() + File "/tmp/hgtests.s9UEKm/install/lib/python/hgext/inotify/client.py", line 59, in decorated_function + raise QueryFailed('inotify query failed') + hgext.inotify.client.QueryFailed: inotify query failed + [1] $ mkdir a $ sleep 1 only 'a $ hg debuginotify - directories being watched: - / - .hg/ - a/ + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start + ** unknown exception encountered, please report by visiting + ** http://mercurial.selenic.com/wiki/BugTracker + ** Python 2.7.3 (default, Sep 26 2012, 21:51:14) [GCC 4.7.2] + ** Mercurial Distributed SCM (version 2.4.2+244-2.5-rc+15-aa2f6c4fb5d4+ddbe689af784+20130125) + ** Extensions loaded: inotify + Traceback (most recent call last): + File "/tmp/hgtests.s9UEKm/install/bin/hg", line 38, in + mercurial.dispatch.run() + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 28, in run + sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 65, in dispatch + return _runcatch(req) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 88, in _runcatch + return _dispatch(req) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 743, in _dispatch + cmdpats, cmdoptions) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 514, in runcommand + ret = _runcommand(ui, options, cmd, d) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 833, in _runcommand + return checkargs() + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 804, in checkargs + return cmdfunc() + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 740, in + d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/util.py", line 475, in check + return func(*args, **kwargs) + File "/tmp/hgtests.s9UEKm/install/lib/python/hgext/inotify/__init__.py", line 30, in debuginotify + response = cli.debugquery() + File "/tmp/hgtests.s9UEKm/install/lib/python/hgext/inotify/client.py", line 59, in decorated_function + raise QueryFailed('inotify query failed') + hgext.inotify.client.QueryFailed: inotify query failed + [1] $ rmdir a $ sleep 1 empty again $ hg debuginotify - directories being watched: - / - .hg/ + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start + ** unknown exception encountered, please report by visiting + ** http://mercurial.selenic.com/wiki/BugTracker + ** Python 2.7.3 (default, Sep 26 2012, 21:51:14) [GCC 4.7.2] + ** Mercurial Distributed SCM (version 2.4.2+244-2.5-rc+15-aa2f6c4fb5d4+ddbe689af784+20130125) + ** Extensions loaded: inotify + Traceback (most recent call last): + File "/tmp/hgtests.s9UEKm/install/bin/hg", line 38, in + mercurial.dispatch.run() + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 28, in run + sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 65, in dispatch + return _runcatch(req) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 88, in _runcatch + return _dispatch(req) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 743, in _dispatch + cmdpats, cmdoptions) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 514, in runcommand + ret = _runcommand(ui, options, cmd, d) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 833, in _runcommand + return checkargs() + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 804, in checkargs + return cmdfunc() + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/dispatch.py", line 740, in + d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) + File "/tmp/hgtests.s9UEKm/install/lib/python/mercurial/util.py", line 475, in check + return func(*args, **kwargs) + File "/tmp/hgtests.s9UEKm/install/lib/python/hgext/inotify/__init__.py", line 30, in debuginotify + response = cli.debugquery() + File "/tmp/hgtests.s9UEKm/install/lib/python/hgext/inotify/client.py", line 59, in decorated_function + raise QueryFailed('inotify query failed') + hgext.inotify.client.QueryFailed: inotify query failed + [1] $ kill `cat hg.pid` + cat: hg.pid: No such file or directory + /tmp/tmpyw76XYhg-tst: 30: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or + kill -l [exitstatus] + [2] ERROR: /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-debuginotify.t output changed ! --- /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-dirty-dirstate.t +++ /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-dirty-dirstate.t.err @@ -9,33 +9,62 @@ $ hg init test; cd test $ hg inserve -d --pid-file=../hg.pid + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + abort: child process failed to start + [255] $ cat ../hg.pid >> "$DAEMON_PIDS" + cat: ../hg.pid: No such file or directory + [1] $ echo foo > foo $ hg add adding foo $ hg ci -m foo + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ cd .. $ hg --config "inotify.pidfile=../hg2.pid" clone test test2 + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files updating to branch default + inotify-client: could not start inotify server: child process failed to start 1 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cat ../hg2.pid >> "$DAEMON_PIDS" + cat: ../hg2.pid: No such file or directory + [1] $ cd test2 $ echo bar > bar $ hg add adding bar $ hg ci -m bar + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ cd ../test $ echo spam > spam $ hg add adding spam $ hg ci -m spam + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ cd ../test2 $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start abort, outstanding changes $ hg fetch -q + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ cd .. issue1719: inotify and mq @@ -47,26 +76,56 @@ inserve $ hg inserve -d --pid-file=../hg-test-1719.pid + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + abort: child process failed to start + [255] $ cat ../hg-test-1719.pid >> "$DAEMON_PIDS" + cat: ../hg-test-1719.pid: No such file or directory + [1] $ echo content > file $ hg add file $ hg qnew -f test.patch + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ hg status + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ hg qpop + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start popping test.patch patch queue now empty st should not output anything $ hg status + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ hg qpush + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start applying test.patch now at: test.patch st should not output anything $ hg status + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ hg qrefresh + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ hg status + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ cd .. ERROR: /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-dirty-dirstate.t output changed ! --- /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-issue1371.t +++ /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-issue1371.t.err @@ -8,15 +8,23 @@ inserve $ hg inserve -d --pid-file=hg.pid 2>&1 + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + abort: child process failed to start + [255] $ cat hg.pid >> "$DAEMON_PIDS" + cat: hg.pid: No such file or directory + [1] $ hg ci -Am m + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files adding a adding b adding c adding d adding e adding f - adding hg.pid + inotify-client: could not start inotify server: child process failed to start let the daemon finish its stuff @@ -25,12 +33,18 @@ eed to test all file operations $ hg rm a + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ rm b $ echo c >> c $ touch g $ hg add g $ hg mv e h $ hg status + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start M c A g A h @@ -42,3 +56,7 @@ Are we able to kill the service? if not, the service died on some error $ kill `cat hg.pid` + cat: hg.pid: No such file or directory + /tmp/tmpHqiYjkhg-tst: 36: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or + kill -l [exitstatus] + [2] ERROR: /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-issue1371.t output changed ! --- /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-issue1542.t +++ /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-issue1542.t.err @@ -12,12 +12,20 @@ inserve $ hg inserve -d --pid-file=hg.pid 2>&1 + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + abort: child process failed to start + [255] $ cat hg.pid >> "$DAEMON_PIDS" + cat: hg.pid: No such file or directory + [1] $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start A dir/c ? a ? dir/b - ? hg.pid moving dir out @@ -26,11 +34,17 @@ status $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start ! dir/c ? a - ? hg.pid $ sleep 1 Are we able to kill the service? if not, the service died on some error $ kill `cat hg.pid` + cat: hg.pid: No such file or directory + /tmp/tmpm7Y01jhg-tst: 32: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or + kill -l [exitstatus] + [2] ERROR: /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-issue1542.t output changed ! --- /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-issue1556.t +++ /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-issue1556.t.err @@ -16,16 +16,28 @@ inserve $ hg inserve -d --pid-file=hg.pid 2>&1 + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + abort: child process failed to start + [255] $ cat hg.pid >> "$DAEMON_PIDS" + cat: hg.pid: No such file or directory + [1] status $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start A a ! b - ? hg.pid $ sleep 1 Are we able to kill the service? if not, the service died on some error $ kill `cat hg.pid` + cat: hg.pid: No such file or directory + /tmp/tmpqJMQmdhg-tst: 26: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or + kill -l [exitstatus] + [2] ERROR: /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-issue1556.t output changed ! --- /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-lookup.t +++ /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-lookup.t.err @@ -4,11 +4,31 @@ $ echo "[extensions]" > .hg/hgrc $ echo "inotify=" >> .hg/hgrc $ hg inserve -d --pid-file .hg/inotify.pid + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + abort: child process failed to start + [255] $ echo a > a $ hg ci -Aqm0 + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ hg co -q null + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ hg co -q + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ cat a a $ kill `cat .hg/inotify.pid` + cat: .hg/inotify.pid: No such file or directory + /tmp/tmpVSTqYohg-tst: 24: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or + kill -l [exitstatus] + [2] ERROR: /home/gkeramidas/hg/mercurial/gker/tests/test-inotify-lookup.t output changed ! --- /home/gkeramidas/hg/mercurial/gker/tests/test-inotify.t +++ /home/gkeramidas/hg/mercurial/gker/tests/test-inotify.t.err @@ -28,17 +28,30 @@ and make sure that inotify.pidfile works $ hg --config "inotify.pidfile=../hg2.pid" status + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start M a make sure that pidfile worked. Output should be silent. $ kill `cat ../hg2.pid` + cat: ../hg2.pid: No such file or directory + /tmp/tmpEHSOHahg-tst: 32: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or + kill -l [exitstatus] + [2] $ cd ../repo1 inserve $ hg inserve -d --pid-file=hg.pid + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + abort: child process failed to start + [255] $ cat hg.pid >> "$DAEMON_PIDS" + cat: hg.pid: No such file or directory + [1] let the daemon finish its stuff @@ -47,17 +60,23 @@ cannot start, already bound $ hg inserve - abort: inotify-server: cannot start: socket is already bound + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files [255] issue907 $ hg status - ? hg.pid + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start clean $ hg status -c + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start C a C b C c @@ -70,7 +89,6 @@ all $ hg status -A - ? hg.pid C a C b C c @@ -84,12 +102,20 @@ $ echo x > dir/x $ hg status . + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start M dir/x - ? hg.pid $ hg status dir + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start M dir/x $ cd dir $ hg status . + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start M x $ cd .. @@ -100,36 +126,77 @@ $ mkdir h $ echo h > h/h $ hg ci -Am t + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files adding h/h - adding hg.pid + inotify-client: could not start inotify server: child process failed to start $ hg rm h + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start removing h/h $ echo h >h $ hg add h $ hg status + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start A h R h/h $ hg ci -m0 + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start Test for issue1735: inotify watches files in .hg/merge $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ echo a > a $ hg ci -Am a - $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start + $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ echo b >> a $ hg ci -m ab - $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start + $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ echo c >> a $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start M a $ HGMERGE=internal:local hg up 0 - 1 files updated, 1 files merged, 2 files removed, 0 files unresolved - $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start + 1 files updated, 1 files merged, 1 files removed, 0 files unresolved + $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start M a $ HGMERGE=internal:local hg up - 3 files updated, 1 files merged, 0 files removed, 0 files unresolved - $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start + 2 files updated, 1 files merged, 0 files removed, 0 files unresolved + $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start M a Test for 1844: "hg ci folder" will not commit all changes beneath "folder" @@ -139,14 +206,23 @@ $ hg add 1844 adding 1844/foo $ hg ci -m 'working' + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ echo b >> 1844/foo $ hg ci 1844 -m 'broken' + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start Test for issue884: "Build products not ignored until .hgignore is touched" $ echo '^build$' > .hgignore $ hg add .hgignore $ hg ci .hgignore -m 'ignorelist' + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start Now, lets add some build products... @@ -157,7 +233,14 @@ build/x & build/y shouldn't appear in "hg st" $ hg st + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ kill `cat hg.pid` + cat: hg.pid: No such file or directory + /tmp/tmpEHSOHahg-tst: 130: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or + kill -l [exitstatus] + [2] $ cd .. @@ -170,13 +253,21 @@ $ cd 60_456789_70_456789_80_456789_90_456789_100_56789_ $ hg --config inotify.pidfile=hg3.pid clone -q ../../repo1 + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files + inotify-client: could not start inotify server: child process failed to start $ readlink repo1/.hg/inotify.sock - */inotify.sock (glob) + [1] Trying to start the server a second time should fail as usual. $ hg --cwd repo1 inserve - abort: inotify-server: cannot start: socket is already bound + Exception AttributeError: 'fd' in > ignored + abort: inotify service not available: Too many open files [255] $ kill `cat hg3.pid` + cat: hg3.pid: No such file or directory + /tmp/tmpEHSOHahg-tst: 148: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or + kill -l [exitstatus] + [2]