<?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>6689</bug_id>
          
          <creation_ts>2014-09-05 13:53:28 +0000</creation_ts>
          <short_desc>Buildhistory reports no error if recipes go backward</short_desc>
          <delta_ts>2014-09-15 16:21: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>OE-Core</product>
          <component>configuration</component>
          <version>1.7</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.7 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Costin">costin.c.constantin</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>bluelightning</cc>
          
          <qa_contact name="Costin">costin.c.constantin</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45424</commentid>
    <comment_count>0</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2014-09-05 13:53:28 +0000</bug_when>
    <thetext>Hello,

On commit: a44006262cf3b810ec78b4cccd8076102a7a0f3e
Test case 294

Test case content:
&quot;
1. Enable buildhistory in local.conf (add INHERIT += &quot;buildhistory&quot; and BUILDHISTORY_COMMIT = &quot;1&quot;)
1. build some recipes and get the buildhistory log(for example, recipe &quot;xcursor-transparent-theme&quot;)
2. change the PR of xcursor-transparent-theme backwards, for example from &quot;r4&quot; to &quot;r3&quot;
3. re-build the recipe
&quot;

While doing the above, nothing happens:

output:
...
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 252 tasks of which 239 didn&apos;t need to be rerun and all succeeded.
NOTE: Writing buildhistory

The behavior is similar to bug 5088, only this time meta-yocto/conf/distro/poky.conf contains the necessary version-going-backwards
ERROR_QA = &quot;... version-going-backwards&quot;

I also observed that on a fresh copy of poky without adding PRSERV_HOST = &quot;localhost:0&quot; to local.conf the buildhistory dir is not created.
OS tested on: Ubuntu 14.04 LTS 

Costin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45511</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-09-10 10:59:19 +0000</bug_when>
    <thetext>I&apos;m pretty sure this is fixed by the following patch, which is out for review:

http://patchwork.openembedded.org/patch/80189/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45520</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-09-10 15:09:35 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a41d97a23bc8bd01c9bc625d21a3c933d392dcc0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45617</commentid>
    <comment_count>3</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2014-09-15 16:21:21 +0000</bug_when>
    <thetext>Hello Paul,

Comming across usual weekly tests, this time for 1.7_MC3_RC2   hash: 429802fe6691c8a70ec9735c0db4c6a4e1e1b038, everything is fine. Issue is solved. I will mark the call as verified.

COstin</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>