[Buildbot-devel] Failed shell command and failed to kill the process

Li Chao lchao at idengines.com
Thu Apr 20 03:59:34 UTC 2006


Hello, all,

I am running the buildbot on Unix. I run some simple shell command.  Now
there are some problems even with "ls" command. See the following
example. I just pass in the simple "ls -la" command, it finished the
command, but the buildbot will still wait for 30 seconds until the time
out, it shows failure and also it failed to kill the process. When I do
"ps" in unix, I found that the command "ls" looks like " 6211 ttyr5-  ZW
0:00.00 (ls)". There are bracket surround "ls" , which means the "ls" is
already finished.   
 
 
ls -al
 in dir
/amd/xserve-nfs/Volumes/RAID0/Home/releng/buildbot/slave2_ebbtide_riptid
e/testfailure/build (timeout 30 secs)
 argv: ['ls', '-al']
 environment: {'SSH_CLIENT': '10.0.5.183 1566 22', 'SU_FROM': 'lchao',
'USER': 'releng', 'PATH':
'/home/releng/bin:/home/releng/jupiter/bin/:/usr/bin:/bin:/usr/sbin:/sbi
n:/usr/pkg/bin:/usr/pkg/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/b
in:/home/releng/lib/python', 'HOME': '/home/releng', 'LD_LIBRARY_PATH':
'/usr/X11R6/lib/', 'TERM': 'xterm', 'SHELL': '/usr/pkg/bin/bash',
'SHLVL': '3', 'DISPLAY': 'localhost:28.0', 'WINDOWID': '41943054',
'EDITOR': 'vi', 'LOGNAME': 'lchao', 'SVN_EDITOR': 'vi', 'PYTHONPATH':
'/home/releng/bin:/home/releng/jupiter/bin/:/usr/bin:/bin:/usr/sbin:/sbi
n:/usr/pkg/bin:/usr/pkg/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/b
in:/home/releng/lib/python', 'VISUAL': 'vi', '_':
'/home/releng/bin/buildbot', 'TERMCAP': 'xterm|vs100|xterm terminal
emulator (X Window
System):am:bs:km:mi:ms:ut:xn:co#80:it#8:li#24:Co#8:pa#64:AB=\\E[4%dm:AF=
\\E[3%dm:op=\\E[m:@1=\\EOE:@7=\\EOF:@8=\\EOM:k;=\\E[21~:ac=``aaffggjjkkl
lmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:AL=\\E[%dL:DC=\\E[%dP:DL=\\E[%dM:D
O=\\E[%dB:IC=\\E[%d@:K1=\\EOw:K2=\\EOy:K3=\\EOu:K4=\\EOq:K5=\\EOs:LE=\\E
[%dD:RI=\\E[%dC:UP=\\E[%dA:ae=^O:al=\\E[L:as=^N:bl=^G:bt=\\E[Z:cd=\\E[J:
ce=\\E[K:cl=\\E[H\\E[2J:cm=\\E[%i%d;%dH:cr=^M:cs=\\E[%i%d;%dr:ct=\\E[3g:
dc=\\E[P:dl=\\E[M:do=^J:eA=\\E(B\\E)0:ec=\\E[%dX:ei=\\E[4l:ho=\\E[H:im=\
\E[4h:is=\\E[m\\E7\\E[r\\E[?7h\\E[?1;3;4;6l\\E[4l\\E8\\E>:k1=\\EOP:k2=\\
EOQ:k3=\\EOR:k4=\\EOS:k5=\\E[15~:k6=\\E[17~:k7=\\E[18~:k8=\\E[19~:k9=\\E
[20~:kD=\\E[3~:kI=\\E[2~:kN=\\E[6~:kP=\\E[5~:kd=\\EOB:ke=\\E[?1l\\E>:kh=
\\EOH:kl=\\EOD:kr=\\EOC:ks=\\E[?1h\\E=:ku=\\EOA:le=^H:md=\\E[1m:me=\\E[m
:mr=\\E[7m:nd=\\E[C:rc=\\E8:sc=\\E7:se=\\E[m:sf=^J:so=\\E[7m:sr=\\EM:st=
\\EH:ta=^I:te=\\E[2J\\E[?47l\\E8:ti=\\E7\\E[?47h:ue=\\E[m:up=\\E[A:us=\\
E[4m:ve=\\E[?25h:vi=\\E[?25l:vs=\\E[?25h::ZZ=0x581000:kb=\\010:',
'OLDPWD': '/home/releng/buildbot/slave2_ebbtide_riptide/testfailure',
'PWD': '/home/releng/buildbot/slave2_ebbtide_riptide', 'MAIL':
'/var/mail/lchao', 'SSH_CONNECTION': '10.0.5.183 1566 10.0.1.61 22',
'PAGER': 'less'}
total 16
drwxr-xr-x  2 releng  wheel   68 Apr 19 17:06 .
drwx------  3 releng  wheel  102 Apr 19 17:06 ..
 
command timed out: 30 seconds without output, killing pid 6116
SIGKILL failed to kill process
using fake rc=-1
program finished with exit code -1
 
remoteFailed: [Failure instance: Traceback from remote host -- Traceback
(most recent call last):
Failure: buildbot.slave.commands.TimeoutError: SIGKILL failed to kill
process
]

 

Anyone has any idea what happened here? 

Thank you 

Li Chao 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20060419/ef533039/attachment.html>


More information about the devel mailing list