<?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>14580</bug_id>
          
          <creation_ts>2021-09-28 14:26:21 +0000</creation_ts>
          <short_desc>bitbake-selftest fails test_no_setscenevalid</short_desc>
          <delta_ts>2022-02-10 13:20:33 +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>BitBake</product>
          <component>bitbake</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>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Oleksiy Obitotskyy">oobitots</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          
          <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>91605</commentid>
    <comment_count>0</comment_count>
    <who name="Oleksiy Obitotskyy">oobitots</who>
    <bug_when>2021-09-28 14:26:21 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/2600

oe-selftest-fedora fedora31-ty-1 

/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/tests/utils.py:421: DeprecationWarning: invalid escape sequence \s
  testvalue = re.sub(&apos;\s+&apos;, &apos; &apos;, value_in_callback.strip())
................................................................................................................................................................................................................................................................................................ssss.ssssssssssssssss.sssss.............................................F.....F..................................................................................
======================================================================
FAIL: test_no_setscenevalid (bb.tests.runqueue.RunQueueTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/tests/runqueue.py&quot;, line 40, in run_bitbakecmd
    output = subprocess.check_output(cmd, env=env, stderr=subprocess.STDOUT,universal_newlines=True, cwd=builddir)
  File &quot;/usr/lib64/python3.7/subprocess.py&quot;, line 411, in check_output
    **kwargs).stdout
subprocess.CalledProcessError: Command &apos;[&apos;bitbake&apos;, &apos;a1&apos;]&apos; returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/tests/runqueue.py&quot;, line 57, in test_no_setscenevalid
    tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/tests/runqueue.py&quot;, line 43, in run_bitbakecmd
    self.fail(&quot;Command %s failed with %s&quot; % (cmd, e.output))
AssertionError: Command [&apos;bitbake&apos;, &apos;a1&apos;] failed with NOTE: Reconnecting to bitbake server...
ERROR: Error parsing configuration files
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/cookerdata.py&quot;, line 267, in CookerDataBuilder.parseBaseConfiguration():
             try:
    &gt;            self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
     
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/cookerdata.py&quot;, line 336, in CookerDataBuilder.parseConfigurationFiles(prefiles=[], postfiles=[], mc=&apos;default&apos;):
     
    &gt;        layerconf = self._findLayerConf(data)
             if layerconf:
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/cookerdata.py&quot;, line 326, in CookerDataBuilder._findLayerConf(data=&lt;bb.data_smart.DataSmart object at 0x7efc91c47790&gt;):
         def _findLayerConf(self, data):
    &gt;        return findConfigFile(&quot;bblayers.conf&quot;, data)
     
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/cookerdata.py&quot;, line 200, in findConfigFile(configfile=&apos;bblayers.conf&apos;, data=&lt;bb.data_smart.DataSmart object at 0x7efc91c47790&gt;):
                 search.append(os.path.join(i, &quot;conf&quot;, configfile))
    &gt;    path = os.getcwd()
         while path != &quot;/&quot;:
FileNotFoundError: [Errno 2] No such file or directory
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91633</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-09-30 15:06:17 +0000</bug_when>
    <thetext>A race in one of bitbake&apos;s tests. Only seen once.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92502</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-02-10 13:20:33 +0000</bug_when>
    <thetext>https://git.yoctoproject.org/poky/commit/bitbake/lib/bb/tests/runqueue.py?id=9e4b20119e2548d70fdc732176d7dd9d8c38bf49</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>