Bug 14580 - bitbake-selftest fails test_no_setscenevalid
Summary: bitbake-selftest fails test_no_setscenevalid
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.0
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2021-09-28 14:26 UTC by Oleksiy Obitotskyy
Modified: 2022-02-10 13:20 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksiy Obitotskyy 2021-09-28 14:26:21 UTC
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('\s+', ' ', value_in_callback.strip())
................................................................................................................................................................................................................................................................................................ssss.ssssssssssssssss.sssss.............................................F.....F..................................................................................
======================================================================
FAIL: test_no_setscenevalid (bb.tests.runqueue.RunQueueTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/tests/runqueue.py", line 40, in run_bitbakecmd
    output = subprocess.check_output(cmd, env=env, stderr=subprocess.STDOUT,universal_newlines=True, cwd=builddir)
  File "/usr/lib64/python3.7/subprocess.py", line 411, in check_output
    **kwargs).stdout
subprocess.CalledProcessError: Command '['bitbake', 'a1']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/tests/runqueue.py", line 57, in test_no_setscenevalid
    tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/tests/runqueue.py", line 43, in run_bitbakecmd
    self.fail("Command %s failed with %s" % (cmd, e.output))
AssertionError: Command ['bitbake', 'a1'] failed with NOTE: Reconnecting to bitbake server...
ERROR: Error parsing configuration files
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/cookerdata.py", line 267, in CookerDataBuilder.parseBaseConfiguration():
             try:
    >            self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
     
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/cookerdata.py", line 336, in CookerDataBuilder.parseConfigurationFiles(prefiles=[], postfiles=[], mc='default'):
     
    >        layerconf = self._findLayerConf(data)
             if layerconf:
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/cookerdata.py", line 326, in CookerDataBuilder._findLayerConf(data=<bb.data_smart.DataSmart object at 0x7efc91c47790>):
         def _findLayerConf(self, data):
    >        return findConfigFile("bblayers.conf", data)
     
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/cookerdata.py", line 200, in findConfigFile(configfile='bblayers.conf', data=<bb.data_smart.DataSmart object at 0x7efc91c47790>):
                 search.append(os.path.join(i, "conf", configfile))
    >    path = os.getcwd()
         while path != "/":
FileNotFoundError: [Errno 2] No such file or directory
...
Comment 1 Randy MacLeod 2021-09-30 15:06:17 UTC
A race in one of bitbake's tests. Only seen once.