<?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>9151</bug_id>
          
          <creation_ts>2016-02-22 13:20:47 +0000</creation_ts>
          <short_desc>oe-selftest toaster tests failing</short_desc>
          <delta_ts>2016-03-16 09:30:22 +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>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Roman">alexandru.costinx.roman</reporter>
          <assigned_to name="Mihail Stanciu">stanciux.mihail</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Alexandru Roman">alexandru.costinx.roman</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>59330</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Roman">alexandru.costinx.roman</who>
    <bug_when>2016-02-22 13:20:47 +0000</bug_when>
    <thetext>Most of oe-selftest toaster tests fail with an error like this:


Traceback (most recent call last):
  File &quot;/home/romanalx/yocto/poky/meta/lib/oeqa/utils/decorators.py&quot;, line 106, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/romanalx/yocto/poky/meta/lib/oeqa/selftest/_toaster.py&quot;, line 257, in test_Package_Build_Id
    packages = Package.objects.filter(~Q(size = -1)).values(&apos;id&apos;, &apos;build_id&apos;)
  File &quot;/usr/lib/python2.7/site-packages/django/db/models/query.py&quot;, line 606, in values
    return self._clone(klass=ValuesQuerySet, setup=True, _fields=fields)
  File &quot;/usr/lib/python2.7/site-packages/django/db/models/query.py&quot;, line 960, in _clone
    c._setup_query()
  File &quot;/usr/lib/python2.7/site-packages/django/db/models/query.py&quot;, line 1136, in _setup_query
    self.query.add_fields(self.field_names, True)
  File &quot;/usr/lib/python2.7/site-packages/django/db/models/sql/query.py&quot;, line 1698, in add_fields
    name.split(LOOKUP_SEP), opts, alias, allow_many=allow_m2m)
  File &quot;/usr/lib/python2.7/site-packages/django/db/models/sql/query.py&quot;, line 1472, in setup_joins
    names, opts, allow_many, fail_on_missing=True)
  File &quot;/usr/lib/python2.7/site-packages/django/db/models/sql/query.py&quot;, line 1373, in names_to_path
    if field.is_relation and not field.related_model:
  File &quot;/usr/lib/python2.7/site-packages/django/utils/functional.py&quot;, line 59, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File &quot;/usr/lib/python2.7/site-packages/django/db/models/fields/related.py&quot;, line 110, in related_model
    apps.check_models_ready()
  File &quot;/usr/lib/python2.7/site-packages/django/apps/registry.py&quot;, line 131, in check_models_ready
    raise AppRegistryNotReady(&quot;Models aren&apos;t loaded yet.&quot;)
AppRegistryNotReady: Models aren&apos;t loaded yet.


Superficial investigations suggest the tests might need to be rewritten.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59860</commentid>
    <comment_count>1</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2016-03-10 11:49:51 +0000</bug_when>
    <thetext>These tests have been dropped. They are no longer used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60000</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Roman">alexandru.costinx.roman</who>
    <bug_when>2016-03-16 09:30:22 +0000</bug_when>
    <thetext>Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>