<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8268</bug_id>
          
          <creation_ts>2015-09-08 11:37:14 +0000</creation_ts>
          <short_desc>Killing bitbake with SIGKILL does not always kill child processes.</short_desc>
          <delta_ts>2015-09-18 14:07:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Flanagan">elizabeth.flanagan</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>53837</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2015-09-08 11:37:14 +0000</bug_when>
    <thetext>From:

https://autobuilder.yoctoproject.org/main/builders/nightly-x86-64/builds/492

This build was interrupted by buildbot (SIGKILL) however processes are still hanging about:

[eflanagan@fedora21 ~]$ ps aux|grep bitbake
pokybui+  2345  0.0  0.0 217836  2400 ?        SNs  Sep04   0:05 python /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-64/build/bitbake/bin/bitbake-worker decafbad
pokybui+  2724  0.0  0.0 205440  2400 ?        SNs  Sep04   0:00 python /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-64/build/bitbake/bin/bitbake-worker decafbad
eflanag+  7005  0.0  0.0 113004  2340 pts/2    S+   11:26   0:00 grep --color=auto bitbake
pokybui+  8454  0.0  0.0 430820  3116 ?        SNs  Sep04   0:06 python /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-64/build/bitbake/bin/bitbake-worker decafbad

I would think that this isn&apos;t an autobuilder issue as the autobuilder is reporting:

command interrupted, attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=4928.831333

So autobuilder is picking up that it killed the parent process but it seems some of the children are still about.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54064</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-09-15 09:31:49 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6271fcb5896464d0c71172b02de548195191abf8
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=85256c8fa986f2a3258e75a22bb8d0656ffa41bf
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=335260cbfcedc7c348f2e190400efbae67ad92ff
(there were also other bitbake SIGTERM and other cleanup patches around these commits too)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54271</commentid>
    <comment_count>2</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-09-18 14:07:48 +0000</bug_when>
    <thetext>Verified on master: ea562de57590c966cd5a75fda8defecd397e6436</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>