Bug 1354422

Summary: Regression tests do not set the right paths
Product: [Community] GlusterFS Reporter: Nigel Babu <nigelb>
Component: project-infrastructureAssignee: Nigel Babu <nigelb>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, gluster-infra, pgurusid
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://review.gluster.org/#/c/14748/
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-13 09:28:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nigel Babu 2016-07-11 09:48:51 UTC
For regression tests, we do not install glusterfs in the right path, so we need to set the following paths: PKG_CONFIG_PATH, LIBRARY_PATH, C_INCLUDE_PATH.

This is causing the review in URL to fail.

Comment 1 Nigel Babu 2016-07-11 09:49:20 UTC
What should be the value for these variables?

Comment 2 Poornima G 2016-07-12 09:09:17 UTC
Nigel,

If the chroot of source install is /build/install, then:
export PKG_CONFIG_PATH="/build/install/lib/pkgconfig" needs to be set on all the slaves.

LIBRARY_PATH, C_INCLUDE_PATH are not required as PKG_CONFIG_PATH will have the path for lib and header

Comment 3 Poornima G 2016-07-12 14:36:54 UTC
Is it defined on all the slaves? I have retriggered couple of times, and the behavior is different on each slave.

Comment 4 Nigel Babu 2016-07-12 14:45:30 UTC
I've set it on the job itself, rather than the machine. So it should work across all machines.

Comment 5 Nigel Babu 2016-07-13 09:28:31 UTC
According to ndevos on the review, this is not needed anymore. Reverted the script change on the rackspace-regression-2gb-triggered job.

Closing this bug.