On 10/02/2012 07:24 AM, Pierre-Yves Chibon wrote:
[cut]
I like this,but for jenkins I am seeing more problems such as:
File
"/home/hudson/.hudson/jobs/FedoraReview/workspace/test/fr_testcase.py",
line 72, in init_test
os.chdir(cd)
OSError: [Errno 2] No such file or directory:
'/home/hudson/.hudson/jobs/FedoraReview/workspace/options'
Seems to indicate that jenkins has changed directory to
/home/hudson/.hudson/jobs/FedoraReview/workspace. This will not work,
tests assumes a cd
being the test directory. This should be fixed even when invoked from
other directories by 'run-tests.py":
os.chdir(os.path.dirname(os.path.realpath(__file__)))
Possibly, if jenkins has some strange symlinked/bind
mount/chrooted/whatever setup this could be a problem, don't know.