<?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>3523</bug_id>
          
          <creation_ts>2012-12-03 15:44:09 +0000</creation_ts>
          <short_desc>Disk space monitoring gives error: Unknown event</short_desc>
          <delta_ts>2013-02-18 08:43:23 +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.4</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stoicescu Cornel">corneliux.stoicescu</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>liang.li2</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>27900</commentid>
    <comment_count>0</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2012-12-03 15:44:09 +0000</bug_when>
    <thetext>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:
BB_DISKMON_DIRS = &quot;STOPTASKS,${TMPDIR},40G,4510K&quot;
BB_DISKMON_WARNINTERVAL = &quot;50M,5K&quot;
3. Run &quot;bitbake core-image-sato&quot; to build a image.

Notice error: 
&quot;
ERROR: No new tasks can be excuted since the disk space monitor action is &quot;STOPTASKS&quot;!
ERROR: Unknown event: &lt;bb.event.DiskFull object at 0x2ab6310&gt;
&quot;

Note: Disk space monitor is apparently working fine, it stops bitbake from creating new tasks. Also the ABORT and WARN options work as they should.

Tested on:

Build Configuration:
BB_VERSION        = &quot;1.17.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-12.04&quot;
TARGET_SYS        = &quot;x86_64-poky-linux&quot;
MACHINE           = &quot;qemux86-64&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.3+snapshot-20121203&quot;
TUNE_FEATURES     = &quot;m64&quot;
TARGET_FPU        = &quot;&quot;
meta
meta-yocto
meta-yocto-bsp    = &quot;(nobranch):247b6a3754c2c50318e2a73d79981ba0e9cb560b&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29891</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2013-02-18 02:31:48 +0000</bug_when>
    <thetext>Merged into master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e36994f69a6780e4eb858262f16732d714c922f0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29908</commentid>
    <comment_count>2</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2013-02-18 08:43:23 +0000</bug_when>
    <thetext>below the mesages changed (no &quot;Unknown event&quot; ERROR) :
--------
... 
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
WARNING: The free space of /dev/sda10 is running low (0.111GB left)
ERROR: No new tasks can be excuted since the disk space monitor action is &quot;STOPTASKS&quot;!
NOTE: Tasks Summary: Attempted 2191 tasks of which 2191 didn&apos;t need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
--------
git info :c7b23ab68aafc04d9830ef318015912e5d4f0672
git branch: poky/master</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>