<?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>10741</bug_id>
          
          <creation_ts>2016-11-29 16:46:39 +0000</creation_ts>
          <short_desc>memres: heartbeat and disk monitoring needs further testing</short_desc>
          <delta_ts>2017-07-08 12:36:06 +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>RESOLVED</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>2.4 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick Ohly">patrick.ohly</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <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>68686</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Ohly">patrick.ohly</who>
    <bug_when>2016-11-29 16:46:39 +0000</bug_when>
    <thetext>While testing the bitbake and OE-core &quot;system statistics sampling&quot; patches, some oddities were observed which will have to be re-tested once memres is considered more stable.

1. Add BB_HEARTBEAT_EVENT=&quot;foo&quot; to local.conf, run a build. ProcessServer.run() should print a warning about &quot;Ignoring invalid BB_HEARTBEAT_EVENT&quot; but that wasn&apos;t visible anywhere (neither console nor log file).

2. INHERIT += &quot;buildstats&quot;, run a build. Check tmp/buildstats/*/monitor_disk.log. It should be non-empty, but was when using memres bitbake. This implies that bb.event.HeartbeatEvent and/or bb.event.MonitorDiskEvent were not getting emitted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74863</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-07-07 14:03:10 +0000</bug_when>
    <thetext>These issues are both because memres bitbake uses server/xmlrpc.py and Patrick only added Heartbeat code to server/process.py.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74882</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-07-08 12:36:06 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=3c602dd4a5adbd40a79224452fc20e1a8641c7a1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>