<?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>2142</bug_id>
          
          <creation_ts>2012-03-20 03:37:01 +0000</creation_ts>
          <short_desc>bitbake not be stoped when force exit hob in early parising recipes after selected a new arch</short_desc>
          <delta_ts>2012-07-05 03:30:30 +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>Hob</product>
          <component>hob</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>(QA testing completed) Done </status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="anliming">limingx.l.an</reporter>
          <assigned_to name="Kai Kang">kai.kang</assigned_to>
          <cc>dongxiao.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>scott.a.garman</cc>
    
    <cc>shane.wang</cc>
    
    <cc>song.liu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>19247</commentid>
    <comment_count>0</comment_count>
    <who name="anliming">limingx.l.an</who>
    <bug_when>2012-03-20 03:37:01 +0000</bug_when>
    <thetext>at parsing recipsed phase, if clicked the window &apos;exit&apos; button will pop the &apos;Exit Hob&apos; dialog, then selected the &apos;Exit Hob&apos;, the window will be closed, but the bitbake can&apos;t be stoped, if you use the &apos;ps -aux | grep -i bitbake&apos; to see it, so we should do some related handler for stop it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20237</commentid>
    <comment_count>1</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-04-12 13:53:41 +0000</bug_when>
    <thetext>knotty doesn&apos;t have this issue.

The feeder exits correctly. parsers don&apos;t on the bitbake server side.

When I changed the parallel number to single process, it disappeared.

Dongxiao said with xmlrpc we don&apos;t have the issue.

Through bisect, the commit is cf60f95d9fc53828c1aa95198f24917aae2617e3.

So far I can&apos;t root cause;-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20238</commentid>
    <comment_count>2</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-04-12 13:55:17 +0000</bug_when>
    <thetext>I submit a walkaround for this one. Hob doesn&apos;t allow users to exit when Hob is busy because at that time, the mouse is a watch instead of a pointer. If the user really wants to exit, he/she can click &quot;Stop&quot; to cancel it first and then &quot;Exit Hob&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20284</commentid>
    <comment_count>3</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-04-13 09:46:58 +0000</bug_when>
    <thetext>More update on the bug:

depexp has the same issue.

The issue is:

If the bitbake client trigger to parse recipes, then close the bitbake client. The backend &quot;python&quot; processes are still alive. So the phenomenon is the bitbake client hangs.

And this happens sometimes. Sometimes the backend &quot;python&quot; processes will also end. Very strange!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20357</commentid>
    <comment_count>4</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-04-14 07:53:01 +0000</bug_when>
    <thetext>walkaround at http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4997801bad7ae2a43221dd58151c8f2facd03210</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20396</commentid>
    <comment_count>5</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2012-04-14 23:53:47 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4997801bad7ae2a43221dd58151c8f2facd03210</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20498</commentid>
    <comment_count>6</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-04-17 06:52:54 +0000</bug_when>
    <thetext>Reopen it since so far we only have walkaround but not root caused.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20499</commentid>
    <comment_count>7</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-04-17 06:53:17 +0000</bug_when>
    <thetext>knotty has the same issue:

yocto-build5@yocto-build5:~/poky-contrib/build2$ bitbake core-image-minimal
Pseudo is not present but is required, building this first before the main build
1
^Crsing recipes:   3% |##                                                           | ETA:  00:00:21
Keyboard Interrupt, closing down...

^C
Second Keyboard Interrupt, stopping...

^C^CExecution was interrupted, returning a non-zero exit code.
^C^C^C^C^C




^C^C^C^C^C^C


^C^C^C^C^C^C^C^C</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21134</commentid>
    <comment_count>8</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-05-07 03:21:40 +0000</bug_when>
    <thetext>Assign to Kai to begin with bug fixing since he starts to work on Hob during v1.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21486</commentid>
    <comment_count>9</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2012-05-21 09:14:13 +0000</bug_when>
    <thetext>It hangs on server/process.py class BitBakeServerConnection::terminate
 
  else:
      self.procserver.join()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21764</commentid>
    <comment_count>10</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2012-05-31 02:48:57 +0000</bug_when>
    <thetext>Merged on commit f28209d9d3c67203a2c7a2b25cacfe31643d1bfa</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21824</commentid>
    <comment_count>11</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-06-05 04:07:40 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; at parsing recipsed phase, if clicked the window &apos;exit&apos; button will pop the
&gt; &apos;Exit Hob&apos; dialog, then selected the &apos;Exit Hob&apos;, the window will be closed,
&gt; but the bitbake can&apos;t be stoped, if you use the &apos;ps -aux | grep -i bitbake&apos;
&gt; to see it, so we should do some related handler for stop it.

I tried that, at parsing recipes phase,clicked the window close button, will not pop the &apos;Exit Hob&apos; dialog.
only when parsing recipes phase finished,clicked the window close button, will not pop the &apos;Exit Hob&apos; dialog. no bitbake process will be seen use command &apos;ps -aux | grep -i bitbake&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21825</commentid>
    <comment_count>12</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-06-05 04:10:36 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; knotty has the same issue:
&gt; 
&gt; yocto-build5@yocto-build5:~/poky-contrib/build2$ bitbake core-image-minimal
&gt; Pseudo is not present but is required, building this first before the main
&gt; build
&gt; 1
&gt; ^Crsing recipes:   3% |##                                                   
&gt; | ETA:  00:00:21
&gt; Keyboard Interrupt, closing down...
&gt; 
&gt; ^C
&gt; Second Keyboard Interrupt, stopping...
&gt; 
&gt; ^C^CExecution was interrupted, returning a non-zero exit code.
&gt; ^C^C^C^C^C
&gt; 
&gt; 
&gt; 
&gt; 
&gt; ^C^C^C^C^C^C
&gt; 
&gt; 
&gt; ^C^C^C^C^C^C^C^C

I tried that , following output:

---------------
liangli@liangli-OptiPlex-745:~/poky-git-build_97$ bitbake core-image-minimal
Pseudo is not present but is required, building this first before the main build
Loading cache: 100% |###########################################| ETA:  00:00:00
Loaded 140 entries from dependency cache.
^Crsing recipes:  40% |################                         | ETA:  00:00:59
Keyboard Interrupt, closing down...

ERROR: Command execution failed: Exited with 1

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Execution was interrupted, returning a non-zero exit code.

liangli@liangli-OptiPlex-745:~/poky-git-build_97$
---------------

test env:
host: ubuntu 12.04 x86_64
os kernel: 3.2.0-24-generic #39-Ubuntu SMP</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21826</commentid>
    <comment_count>13</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-06-05 04:15:11 +0000</bug_when>
    <thetext>verified on :
git info:348da93e283b2b8454fd9cde80d4b17378e2a168
git branch: poky/master

test env:
host: ubuntu 12.04 x86_64
os kernel: 3.2.0-24-generic #39-Ubuntu SMP

if anyone see the similar error,please reopen it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22820</commentid>
    <comment_count>14</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-07-05 03:30:30 +0000</bug_when>
    <thetext>(In reply to comment #13)
&gt; verified on :
&gt; git info:348da93e283b2b8454fd9cde80d4b17378e2a168
&gt; git branch: poky/master
&gt; 
&gt; test env:
&gt; host: ubuntu 12.04 x86_64
&gt; os kernel: 3.2.0-24-generic #39-Ubuntu SMP
&gt; 
&gt; if anyone see the similar error,please reopen it.

also verified on :
git commit:73cdebf60df225ee10f2eb215935be3b61e1b831
git branch: poky/denzil

test env:
host: ubuntu 12.04 x86_64
os kernel:3.2.0-25-generic #40-Ubuntu SMP

git commit f28209d9d3c67203a2c7a2b25cacfe31643d1bfa in master info exists in denzil branch:4c4924ad1b7a169ea35446ec9fe6fb33eb452014</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>