Skip to content

OEQA framework add support of threaded mode and enable in SDK

Aníbal Limón openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17testsdk.bbclass: Remove unused import of OEStreamLoggermeta/classes/testsdk.bbclass+0 -10 replies
2/17oeqa/sdk/context.py: Import argparse_oe at OESDKTestContext.run methodmeta/lib/oeqa/sdk/context.py+2 -20 replies
3/17oeqa/sdk/context.py: Add return to OESDKTestContext.run() methodmeta/lib/oeqa/sdk/context.py+1 -10 replies
4/17oeqa/core: Don't expose OEStreamLogger in OETestContextmeta/lib/oeqa/core/context.py meta/lib/oeqa/core/runner.py+5 -40 replies
5/17oeqa/core/runner: OETestResult remove unneeded override of startTestmeta/lib/oeqa/core/runner.py+0 -30 replies
6/17oeqa/core: Move OETestContext.log{Summary, Details} into OETestResultmeta/classes/testimage.bbclass meta/classes/testsdk.bbclass meta/lib/oeqa/core/context.py +1 more+97 -960 replies
7/17oeqa/core/threaded: Add new module with OETestLoaderThreadedmeta/lib/oeqa/core/threaded.py+91 -00 replies
8/17oeqa/core/threaded: Add OEStreamLoggerThreaded classmeta/lib/oeqa/core/threaded.py+25 -00 replies
9/17oeqa/core/runner: OETestResult add internal _tc_map_resultsmeta/lib/oeqa/core/runner.py+2 -00 replies
10/17oeqa/core/threaded: Add OETestResultThreaded{, Internal} classesmeta/lib/oeqa/core/threaded.py+72 -10 replies
11/17oeqa/core/threaded: Add support of OETestRunnerThreadedmeta/lib/oeqa/core/threaded.py+74 -10 replies
12/17oeqa/core/threaded: Add OETestContextThreaded classmeta/lib/oeqa/core/threaded.py+14 -00 replies
13/17oeqa/core/decorator/depends: Add support for threading modemeta/lib/oeqa/core/decorator/depends.py+7 -10 replies
14/17oeqa/core/decorator/oetimeout: Add support for OEQA threaded modemeta/lib/oeqa/core/decorator/oetimeout.py+30 -100 replies
15/17oeqa/core/tests: Add tests of OEQA Threaded modemeta/lib/oeqa/core/tests/cases/loader/threaded/threaded.py meta/lib/oeqa/core/tests/cases/loader/threaded/threaded_alone.py meta/lib/oeqa/core/tests/cases/loader/threaded/threaded_depends.py +4 more+93 -10 replies
16/17oeqa/sdkext/cases: Move sdk_update test into devtool modulemeta/lib/oeqa/sdkext/cases/devtool.py meta/lib/oeqa/sdkext/cases/sdk_update.py+32 -390 replies
17/17oeqa/sdk: Enable usage of OEQA thread modemeta/classes/testsdk.bbclass meta/lib/oeqa/sdk/context.py+7 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/17] OEQA framework add support of threaded mode and enable in SDK

This series enables support of OEQA framework threaded runs, it implements a new module oeqa.core.threaded with OETest{Context, Loader, Runner, StreamLogger, Result} versions supporting parallelized runs.

The {e,}SDK test component was enable to use threaded mode by default.

The following changes since commit 381897c64069ea43d595380a3ae913bcc79cf7e1:

build-appliance-image: Update to master head revision (2017-05-01 08:56:47 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib alimon/oeqa_threaded
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=alimon/oeqa_threaded

Aníbal Limón (17):
testsdk.bbclass: Remove unused import of OEStreamLogger oeqa/sdk/context.py: Import argparse_oe at OESDKTestContext.run method oeqa/sdk/context.py: Add return to OESDKTestContext.run() method oeqa/core: Don't expose OEStreamLogger in OETestContext oeqa/core/runner: OETestResult remove unneeded override of startTest oeqa/core: Move OETestContext.log{Summary, Details} into OETestResult oeqa/core/threaded: Add new module with OETestLoaderThreaded oeqa/core/threaded: Add OEStreamLoggerThreaded class oeqa/core/runner: OETestResult add internal _tc_map_results oeqa/core/threaded: Add OETestResultThreaded{,Internal} classes oeqa/core/threaded: Add support of OETestRunnerThreaded oeqa/core/threaded: Add OETestContextThreaded class oeqa/core/decorator/depends: Add support for threading mode oeqa/core/decorator/oetimeout: Add support for OEQA threaded mode oeqa/core/tests: Add tests of OEQA Threaded mode oeqa/sdkext/cases: Move sdk_update test into devtool module oeqa/sdk: Enable usage of OEQA thread mode

 meta/classes/testimage.bbclass                     |   4 +-
 meta/classes/testsdk.bbclass                       |  13 +-
 meta/lib/oeqa/core/context.py                      |  97 +-------
 meta/lib/oeqa/core/decorator/depends.py            |   8 +-
 meta/lib/oeqa/core/decorator/oetimeout.py          |  40 ++-
 meta/lib/oeqa/core/runner.py                       |  94 ++++++-
 .../core/tests/cases/loader/threaded/threaded.py   |  12 +
 .../tests/cases/loader/threaded/threaded_alone.py  |   8 +
 .../cases/loader/threaded/threaded_depends.py      |  10 +
 .../tests/cases/loader/threaded/threaded_module.py |  12 +
 meta/lib/oeqa/core/tests/common.py                 |  10 +
 meta/lib/oeqa/core/tests/test_decorators.py        |  12 +
 meta/lib/oeqa/core/tests/test_loader.py            |  30 ++-
 meta/lib/oeqa/core/threaded.py                     | 274 +++++++++++++++++++++
 meta/lib/oeqa/sdk/context.py                       |  11 +-
 meta/lib/oeqa/sdkext/cases/devtool.py              |  32 +++
 meta/lib/oeqa/sdkext/cases/sdk_update.py           |  39 ---
 17 files changed, 548 insertions(+), 158 deletions(-)
 create mode 100644 meta/lib/oeqa/core/tests/cases/loader/threaded/threaded.py
 create mode 100644 meta/lib/oeqa/core/tests/cases/loader/threaded/threaded_alone.py
 create mode 100644 meta/lib/oeqa/core/tests/cases/loader/threaded/threaded_depends.py
 create mode 100644 meta/lib/oeqa/core/tests/cases/loader/threaded/threaded_module.py
 create mode 100644 meta/lib/oeqa/core/threaded.py
 delete mode 100644 meta/lib/oeqa/sdkext/cases/sdk_update.py
Signature · 1 line
2.1.4