Bug 11993 - oe-selftest devtool.DevtoolTests.test_create_workspace fails with bb_server_timeout set
Summary: oe-selftest devtool.DevtoolTests.test_create_workspace fails with bb_server_t...
Status: RESOLVED FIXED
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High normal
Target Milestone: 2.4 M4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 11818
  Show dependency tree
 
Reported: 2017-08-28 20:48 UTC by Aníbal Limón
Modified: 2017-09-07 14:17 UTC (History)
2 users (show)

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


Attachments
test_create_workspace fails (2.69 KB, text/plain)
2017-08-28 20:48 UTC, Aníbal Limón
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aníbal Limón 2017-08-28 20:48:43 UTC
Created attachment 3956 [details]
test_create_workspace fails

When execute:

$ BB_SERVER_TIMEOUT=100 oe-selftest -r devtool.DevtoolTests.test_create_workspace

It fails, the layer is added in conf/bblayers.conf but bitbake-layers doesn't display it, see attachment.
Comment 1 Aníbal Limón 2017-08-29 14:26:52 UTC
Seems that the bb server remains in memory and don't update the snapshot of configuration when a local.conf or bblayers.conf are modified.
Comment 2 Aníbal Limón 2017-08-29 19:07:30 UTC
(In reply to comment #1)
> Seems that the bb server remains in memory and don't update the snapshot of
> configuration when a local.conf or bblayers.conf are modified.

A simple test to reproduce it will be,

BB_SERVER_TIMEOUT=100 oe-selftest -r bblayers.BitbakeLayers.test_bitbakelayers_add_remove
Comment 3 Richard Purdie 2017-08-30 13:37:04 UTC
Patch in -next and on the mailing list, waiting on testing now.
Comment 4 Richard Purdie 2017-09-07 14:17:23 UTC
As of commit http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c69722616840be627981ebc7e77c986c246d9f8d, all oe-selftest failures with BB_SERVER_TIMEOUT were fixed.