Bug 12442 - FAILED: oe-selftest -r devtool.DevtoolTests.test_create_workspace
Summary: FAILED: oe-selftest -r devtool.DevtoolTests.test_create_workspace
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.5 M2
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-12-21 03:16 UTC by Robert Yang
Modified: 2018-02-04 11:42 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2017-12-21 03:16:10 UTC
Fixed:
$ oe-selftest -r devtool.DevtoolTests.test_create_workspace
[snip]
2017-12-20 18:28:59,404 - oe-selftest - INFO - Traceback (most recent call last):
  File "/workspace2/lyang1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/workspace2/lyang1/poky/meta/lib/oeqa/selftest/cases/devtool.py", line 177, in test_create_workspace
    self.assertTrue('/workspace' not in result.output, 'This test cannot be run with a workspace layer in bblayers.conf')
AssertionError: False is not true : This test cannot be run with a workspace layer in bblayers.conf
[snip]

$ bitbake-layers show-layers
NOTE: Starting bitbake server...
layer                 path                                      priority
==========================================================================
meta                  /workspace2/lyang1/poky/meta              5   
meta-poky             /workspace2/lyang1/poky/meta-poky         5   
meta-yocto-bsp        /workspace2/lyang1/poky/meta-yocto-bsp    5   
meta-selftest         /workspace2/lyang1/poky/meta-selftest     5   

There is no workspace layer, but I'm in /workspace2
Comment 1 Ross Burton 2017-12-21 09:54:24 UTC
Reassigning to Paul.

The state is in progress review but I can't see a patch on the list, is it not posted or should the status be changed?
Comment 2 Robert Yang 2017-12-21 10:47:47 UTC
Sorry, I sent it just now. I re-assign to me know.