<?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>11037</bug_id>
          
          <creation_ts>2017-02-09 15:57:03 +0000</creation_ts>
          <short_desc>selftest: Optimize use of get_bb_var</short_desc>
          <delta_ts>2017-03-02 16:13:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</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>enhancement</bug_severity>
          <target_milestone>2.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mariano Lopez">mariano.lopez</reporter>
          <assigned_to name="Mariano Lopez">mariano.lopez</assigned_to>
          <cc>benjamin.esquivel</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>70585</commentid>
    <comment_count>0</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2017-02-09 15:57:03 +0000</bug_when>
    <thetext>get_bb_var uses bitbake -e to fetch variables, this consumes about 7 seconds to get a variable. It exists get_bb_vars that gets a list of variables in just one bitbake -e run, so if there are two or more get_bb_var together it would be possible to use this function instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70594</commentid>
    <comment_count>1</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2017-02-09 16:31:35 +0000</bug_when>
    <thetext>Sent patch to the mailing list:

https://patchwork.openembedded.org/series/5239/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71046</commentid>
    <comment_count>2</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2017-03-02 16:13:53 +0000</bug_when>
    <thetext>This has been solved in commit:

http://cgit.openembedded.org/openembedded-core/commit/?id=e53f86ba8aeb6d2e9eb259329001d27d62401072</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>