Tests fail: osutil.so: failed to map segment from shared object: Operation not permitted

anatoly techtonik techtonik at gmail.com
Thu Jun 19 00:32:18 CDT 2014


On Thu, Jun 19, 2014 at 4:42 AM, Greg Ward <greg at gerg.ca> wrote:

> On 18 June 2014, anatoly techtonik said:
> > # ./run-tests.py test-tag.t
> >
> > --- /root/delme/hg/tests/test-tag.t
> > +++ /root/delme/hg/tests/test-tag.t.err
> > @@ -1,405 +1,24 @@
> >    $ hg init test
> > +  Traceback (most recent call last):
> > +    File "/usr/bin/hg", line 36, in <module>
> > +      mercurial.util.setbinary(fp)
> > +    File
> > "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/demandimport.py", line
> > 106, in __getattribute__
> > +      self._load()
> > +    File
> > "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/demandimport.py", line
> > 78, in _load
> > +      mod = _hgextimport(_import, head, globals, locals, None, level)
> > +    File
> > "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/demandimport.py", line
> > 47, in _hgextimport
> > +      return importfunc(name, globals, *args)
> > +    File "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/util.py",
> line
> > 66, in <module>
> > +      statfiles = getattr(osutil, 'statfiles', platform.statfiles)
> > +    File
> > "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/demandimport.py", line
> > 106, in __getattribute__
> > +      self._load()
> > +    File
> > "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/demandimport.py", line
> > 78, in _load
> > +      mod = _hgextimport(_import, head, globals, locals, None, level)
> > +    File
> > "/tmp/hgtests.XBeRv0/install/lib/python/mercurial/demandimport.py", line
> > 47, in _hgextimport
> > +      return importfunc(name, globals, *args)
> > +  ImportError:
> /tmp/hgtests.XBeRv0/install/lib/python/mercurial/osutil.so:
> > failed to map segment from shared object: Operation not permitted
> > +  [1]
>
> Your runtime environment is badly broken. Not sure what more Mercurial
> can or should do in the face of such a fundamental problem.


What exactly is broken? Then it is broken for all services that run on
drone.io

Could it be that in some Linux contexts execution from /tmp is forbidden.
SELinux or something?
-- 
anatoly t.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140619/f4f57772/attachment.html>


More information about the Mercurial-devel mailing list