AS part of my buildbot setup, I am executing a shell command in the slave environment. (This has been coded as part of the master.cfg file)<br><br><span style="font-weight: bold; text-decoration: underline;">This command is failing</span><br>
f1.addStep(shell.ShellCommand, description= "chdir", command= ['cd', './tempGitBranch'])<br><br>******* Log Says *************<br><br><pre><span class="stdout">Upon execvpe cd ['cd', './tempGitBranch'] in environment id -1214057092:<br>
Traceback (most recent call last):<br> File "/usr/lib/python2.4/site-packages/twisted/internet/process.py", line 772, in __init__<br> os.execvpe(command, args, environment)<br> File "/usr/lib/python2.4/os.py", line 350, in execvpe<br>
_execvpe(file, args, env)<br> File "/usr/lib/python2.4/os.py", line 379, in _execvpe<br> func(fullname, *argrest)<br>OSError: [Errno 2] No such file or directory<br></span></pre>**************** Log End *************<br>
<br><br><span style="font-weight: bold; text-decoration: underline;">This command is succeeding</span> (means that directory is present in the environment)<br><br>f1.addStep(shell.ShellCommand, description= "list", command= ['ls', '-al', 'tempGitBranch'])<br>
<br><br><br><div><span class="gmail_quote">On 8/21/08, <b class="gmail_sendername"><a href="mailto:fhauck@srcpsolutions.com">fhauck@srcpsolutions.com</a></b> <<a href="mailto:fhauck@srcpsolutions.com">fhauck@srcpsolutions.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I will be out of the office from 08/15/2008 to<br> 08/25/2008<br> <br> If this is urgent please contact <a href="mailto:rgrizzaffi@srcpsolutions.com">rgrizzaffi@srcpsolutions.com</a><br> <br> <br> <br> _______________________________________________<br>
Twisted-Python mailing list<br> <a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br> <a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</blockquote></div><br>