<?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>5088</bug_id>
          
          <creation_ts>2013-08-30 10:53:03 +0000</creation_ts>
          <short_desc>[OE-Core]Buildhistory fails to report error if PR of some recipes go backwards</short_desc>
          <delta_ts>2013-09-04 13:58:25 +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>core</component>
          <version>1.5</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.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Palalau">alexandrux.palalau</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36088</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-08-30 10:53:03 +0000</bug_when>
    <thetext>STATUS: FAILED
BUILD: 1.5: 5745e45b18e5099e94b4d5a73bc97dc6d4cdc91f
ENVIRONMENT: Multiple environments
STEPS TO REPRODUCE: 1. build some recipes and get the buildhistory log(for example, recipe &quot;man&quot;)
2. change the PR of man backwards, for example from &quot;r1&quot; to &quot;r0&quot;
3. re-build the recipe

EXPECTED OUTCOME: pkghistory reports error if PR of some recipes go backwards .

Build Configuration:
BB_VERSION        = &quot;1.19.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Fedora-18&quot;
TARGET_SYS        = &quot;x86_64-poky-linux&quot;
MACHINE           = &quot;qemux86-64&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.4+snapshot-20130830&quot;
TUNE_FEATURES     = &quot;m64&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master:5745e45b18e5099e94b4d5a73bc97dc6d4cdc91f&quot;

The actual outcome is that the package is successfully built without any warning or error on PR change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36188</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-09-03 10:13:17 +0000</bug_when>
    <thetext>This is because this check was changed to use &quot;version-going-backwards&quot; in WARN_QA or ERROR_QA in order to enable the check, and this has not been added to poky.conf. I&apos;ve sent a patch to do this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36246</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-09-04 10:18:40 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8318816e27040dabe1db18aba50075128648df19

In case it&apos;s not clear, this issue only affected master, previous release versions are unaffected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36265</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-09-04 13:58:25 +0000</bug_when>
    <thetext>Verified on master branch.
Commit ID:f1c74a33835f97c6b42235358d80851882b4687e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>