<?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>3695</bug_id>
          
          <creation_ts>2013-01-09 12:21:17 +0000</creation_ts>
          <short_desc>incorrect message when using ABORT in disk space monitoring</short_desc>
          <delta_ts>2013-02-18 08:10:21 +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>1.2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stoicescu Cornel">corneliux.stoicescu</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>zhenfeng.zhao</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>28660</commentid>
    <comment_count>0</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-01-09 12:21:17 +0000</bug_when>
    <thetext>branch: denzil; commit: 3456295898bf157e40ea1f8c335f0b7285d3d8a7

1. Download the source and set build environment.
2. Follow the meta-yocto/conf/local.conf.sample.extended to enable disk monitor. For example, add the following lines to conf/local.conf:

#please adapt values to your situation
BB_DISKMON_DIRS = &quot;ABORT,${TMPDIR},40G,4510K&quot; 
BB_DISKMON_WARNINTERVAL = &quot;50M,5K&quot;

3. Run &quot;bitbake core-image-sato&quot; to build a image.

4. Notice incorect message &quot;Waiting for 5 running tasks to finish:&quot;

Expected result: Message should suggest all tasks are aborted and are not allowed to finish

Result: 

&quot;
WARNING: The free space of /dev/sdb1 is running low (103.987GB left)
ERROR: Immediately abort since the disk space monitor action is &quot;ABORT&quot;!
NOTE: Sending SIGTERM to remaining 8 tasks
NOTE: package perl-5.14.2-r6: task do_package_write_rpm_setscene: Succeeded
NOTE: Tasks Summary: Attempted 449 tasks of which 375 didn&apos;t need to be rerun and all succeeded.
Waiting for 5 running tasks to finish:
0: eglibc-locale-2.13-r20 do_package_setscene (pid 24495)
1: perl-5.14.2-r6 do_package_setscene (pid 25107)
2: file-5.11-r0 do_package_setscene (pid 25137)
3: libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r20 do_package_setscene (pid 25249)
4: libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r20 do_populate_sysroot_setscene (pid 25248)

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
&quot;

Please note that all the tasks are aborted are not allowed to finish, only the message is wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29434</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2013-02-01 06:43:46 +0000</bug_when>
    <thetext>Hi Saul or RP:

The master branch doesn&apos;t have this problem, but denzil has, the problem is that there is a &quot;Waiting for 5 running tasks to finish:&quot; which seems not match with the &quot;Immediately abort since the disk space monitor action ...&quot;:

ERROR: Immediately abort since the disk space monitor action is &quot;ABORT&quot;!
[snip]
Waiting for 5 running tasks to finish:
[snip]

The tasks indeed quit immediately, the only problem is that there is a &quot;Waiting for 5 running tasks to finish&quot;.

I&apos;m not sure whether we have a next release for denzil, and I think that we should fix the knotty.py if we need fix this problem, I&apos;m not sure whether we need fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29906</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2013-02-18 08:10:21 +0000</bug_when>
    <thetext>We decide won&apos;t fix it since it is minor and there is no next release for denzil after talked with Saul.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>