Re: [Gluster-devel] FreeBSD smoke failure

2016-02-20 Thread Emmanuel Dreyfus
Jeff Darcy  wrote:

> OK, so are you proposing that we add the same thing on the FreeBSD
> slaves?

This is how I fixed that exact same problem for NetBSD.


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] FreeBSD smoke failure

2016-02-20 Thread Jeff Darcy
> On NetBSD Jenkins slaves slave VM, /opt/qa/build.sh contains this:
> 
> PYDIR=`$PYTHONBIN -c 'from distutils.sysconfig import get_python_lib;
> print(get_python_lib())'`
> su -m root -c "/usr/bin/install -d -o jenkins -m 755 $PYDIR/gluster"

OK, so are you proposing that we add the same thing on the FreeBSD
slaves?  If that's both where "make install" will try to put things
and where the tests themselves will expect to find them, then it
would seem sufficient.
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] FreeBSD smoke failure

2016-02-20 Thread Emmanuel Dreyfus
Jeff Darcy  wrote:

> What solution do you suggest? 

On NetBSD Jenkins slaves slave VM, /opt/qa/build.sh contains this:

PYDIR=`$PYTHONBIN -c 'from distutils.sysconfig import get_python_lib;
print(get_python_lib())'`
su -m root -c "/usr/bin/install -d -o jenkins -m 755 $PYDIR/gluster"



--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] FreeBSD smoke failure

2016-02-20 Thread Jeff Darcy
> The problem is that glusterfs install target copies glupy python module
> outside of glusterfs install directory. The permissions must be
> propeperly setup for the unprivilegied build process to succeed the
> copy.

What solution do you suggest?  If these files were installed elsewhere,
we'd probably have other test failures unless/until we can hunt down
all the places that need to point their Python paths at the new
location.  Is that really our only option?
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] FreeBSD smoke failure

2016-02-20 Thread Emmanuel Dreyfus
Jeff Darcy  wrote:

> I've seen the same thing, but not all the time even for the same code.
> The fact that it's not consistent suggests that it's a configuration
> issue on some of the workers.

The problem is that glusterfs install target copies glupy python module
outside of glusterfs install directory. The permissions must be
propeperly setup for the unprivilegied build process to succeed the
copy.


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel