crew-stable test failure in ubuntu 12.10

Matt Mackall mpm at selenic.com
Fri Jan 25 18:53:51 CST 2013


On Sat, 2013-01-26 at 01:15 +0100, Giorgos Keramidas wrote:
> 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 <foozy at lares.dti.ne.jp>
>     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?
> 
> ===== 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 <bound method watcher.__del__ of <hgext.inotify.linux.watcher.watcher object at 0x28e13f8>> ignored
> +  abort: inotify service not available: Too many open files

Sounds like you have too many inotify instances.

       EMFILE The user limit on the total number of inotify instances has been
       reached.

https://www.kernel.org/doc/man-pages/online/pages/man2/inotify_init.2.html

       /proc/sys/fs/inotify/max_user_instances
              This specifies an upper limit on the number of inotify instances that
              can be created per real user ID.

https://www.kernel.org/doc/man-pages/online/pages/man7/inotify.7.html

$ cat /proc/sys/fs/inotify/max_user_instances 
128

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list