Skip to content

Allow to install packages in the DUT during runtime testing

[email protected] openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10testexport.bbclass: Stop exporting test contextmeta/classes/testexport.bbclass+0 -40 replies
2/10oetest.py: Move getTests() outside loadTests() methodmeta/lib/oeqa/oetest.py+18 -180 replies
3/10oeqa/utils/package_manager.py: Add get_package_manager()meta/lib/oeqa/utils/package_manager.py+29 -00 replies
4/10oetest.py: Add json file support to specify packages needed in runtime testsmeta/lib/oeqa/oetest.py+37 -00 replies
5/10oetest.py: Add extract_packages() to RuntimeTestContext classmeta/lib/oeqa/oetest.py+70 -00 replies
6/10oetest.py: Add support to copy unextracted packages for runtime testingmeta/lib/oeqa/oetest.py+22 -00 replies
7/10lib/oe/package_manager.py: Add pkgpath to dict returned by package_infometa/lib/oe/package_manager.py+24 -170 replies
8/10oetest.py: Add install/uninstall functionality for DUTsmeta/classes/testexport.bbclass meta/classes/testimage.bbclass meta/lib/oeqa/oetest.py+143 -50 replies
9/10cpio: Add native variantmeta/recipes-extended/cpio/cpio_v2.inc+2 -00 replies
10/10testimage.bbclass: Make dependency of cpio when using RPMsmeta/classes/testimage.bbclass+2 -00 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/10] Allow to install packages in the DUT during runtime testing

From: Mariano Lopez <[email protected]>

This series enable the functionality to install packages in the DUT during runtime testing. Such packages must had been build previously by bitbake and the packages are specified using a JSON file. This functionality works with testimage and with testexport.

A documentation draft has been submitted in bug 9672 to be added to the Reference Manual.

This address several bugs:
- 7850 (not solved completely)
- 8478
- 8694
- 8536

The following changes since commit c7e614c438706fb3ed7520b4990ebb3973366942:

useradd: Fix infinite build loop (2016-05-23 10:33:45 +0100)

are available in the git repository at:

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

Mariano Lopez (10):
testexport.bbclass: Stop exporting test context
oetest.py: Move getTests() outside loadTests() method oeqa/utils/package_manager.py: Add get_package_manager() oetest.py: Add json file support to specify packages needed in runtime
tests
oetest.py: Add extract_packages() to RuntimeTestContext class oetest.py: Add support to copy unextracted packages for runtime
testing
lib/oe/package_manager.py: Add pkgpath to dict returned by
package_info
oetest.py: Add install/uninstall functionality for DUTs
cpio: Add native variant
testimage.bbclass: Make dependency of cpio when using RPMs

 meta/classes/testexport.bbclass        |  33 +++--
 meta/classes/testimage.bbclass         |  47 ++++++-
 meta/lib/oe/package_manager.py         |  41 +++---
 meta/lib/oeqa/oetest.py                | 239 ++++++++++++++++++++++++++++++---
 meta/lib/oeqa/utils/package_manager.py |  29 ++++
 meta/recipes-extended/cpio/cpio_v2.inc |   2 +
 6 files changed, 347 insertions(+), 44 deletions(-)
 create mode 100644 meta/lib/oeqa/utils/package_manager.py
Signature · 1 line
2.6.6