<?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>7955</bug_id>
          
          <creation_ts>2015-07-03 15:57:12 +0000</creation_ts>
          <short_desc>Toaster fails to retrieve recipe and machine information from the layer index</short_desc>
          <delta_ts>2015-09-18 13:41:01 +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>Toaster</product>
          <component>toaster</component>
          <version>1.8</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.9 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="brian avery">brian.avery</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>bluelightning</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>michael.g.wood</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</qa_contact>
          <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>52132</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-07-03 15:57:12 +0000</bug_when>
    <thetext>On master:7a402301c9c8fa9a5262d6d29b2ea199ff0dc07a

When you set up Toaster from scratch (creating a new database), after selecting the Toaster configuration file you want to use, fetching information from the layer index fails with the following error:

Cannot find layer version  OpenEmbedded (1) 65 fido
Failure while trying to import the toaster config file: Layer_Version
matching query does not exist.

Recipe and machine project tables appear empty as a result. 

According to Michael Wood, this is &quot;an exception caught in models.py line 892&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52148</commentid>
    <comment_count>1</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-07-06 18:59:20 +0000</bug_when>
    <thetext>Someone has mentioned this is happening also in Fido. I am starting to think this might be a problem in the layer index.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52171</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2015-07-07 14:06:25 +0000</bug_when>
    <thetext>This is a bug in Toaster, triggered by invalid data coming in from the Layer Index.

The data sanity check in Toaster correctly identified the issue, but escalated it to a show-stopper status, where as the invalid can be safely ignored at this point and the processing can continue.

Fixing the underlying data in Layer Index is outside the scope of this bug.

Pushed for review:
https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=adamian/20150707_bugs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52174</commentid>
    <comment_count>3</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-07-07 14:55:38 +0000</bug_when>
    <thetext>I know normally we don&apos;t back port stuff, but I think it would be good to back port this one to Fido.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52445</commentid>
    <comment_count>4</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-07-16 15:28:54 +0000</bug_when>
    <thetext>*** Bug 8023 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53914</commentid>
    <comment_count>5</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-09-10 10:58:32 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c159b3c1175d554f1cc60a41e1287d9ca4b3962f

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=fido&amp;id=0c0ec8611098e306cf428191e5205d81df032b7c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54266</commentid>
    <comment_count>6</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-09-18 13:41:01 +0000</bug_when>
    <thetext>Verified on master: ea562de57590c966cd5a75fda8defecd397e6436</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>