Skip to content

Enable installation of packages in DUT

[email protected] openembedded-core 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesNew
  2. v15 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Fix testexport for python3
- Fix import form other layers with python3
- Made changes to use with python3

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7oe/lib/pacakge_manager.py: Update missing pipeline decodingmeta/lib/oe/package_manager.py+2 -20 replies
2/7lib/oeqa/otest.py: Fix import tests from other layers with python3meta/classes/testexport.bbclass meta/lib/oeqa/__init__.py meta/lib/oeqa/oetest.py +1 more+8 -100 replies
3/7oetest.py: Add install/uninstall functionality for DUTsmeta/classes/testexport.bbclass meta/classes/testimage.bbclass meta/lib/oeqa/oetest.py+120 -50 replies
4/7testimage.bbclass: Make dependency of cpio when using RPMsmeta/classes/testexport.bbclass meta/classes/testimage.bbclass+3 -00 replies
5/7testexport-tarball.bb: Add recipemeta/recipes-core/meta/testexport-tarball.bb+56 -00 replies
6/7testexport.bbclass: Add support for testexport-tarballmeta/classes/testexport.bbclass meta/lib/oeqa/runexported.py+50 -10 replies
7/7testexport.bbclass: Create tarballs for easy releasemeta/classes/testexport.bbclass+26 -01 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHv2 0/7] Enable installation of packages in DUT

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.

This address the concer of adding a task to extract the packages, instead the extraction was added to the testimage and testexport tasks.

This also includes the use of an SDK package for systems with missing dependencies in the testing system.

This address several bugs:
- 7850
- 8694
- 8481

Changes in v2:

- Fix testexport for python3
- Fix import form other layers with python3
- Made changes to use with python3

This also address more bugs:
- 9702
- 9705

The following changes since commit 6c5d7f1fb276cbe0a461ece6c8f0ca17a478fa8c:

lib/oe/package_manager: adapt for Python 3 (2016-06-05 23:39:47 +0100)

are available in the git repository at:

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

Mariano Lopez (7):
oe/lib/pacakge_manager.py: Update missing pipeline decoding lib/oeqa/otest.py: Fix import tests from other layers with python3 oetest.py: Add install/uninstall functionality for DUTs testimage.bbclass: Make dependency of cpio when using RPMs testexport-tarball.bb: Add recipe
testexport.bbclass: Add support for testexport-tarball testexport.bbclass: Create tarballs for easy release

 meta/classes/testexport.bbclass              | 86 +++++++++++++++++++++++++---
 meta/classes/testimage.bbclass               | 20 +++++++
 meta/lib/oe/package_manager.py               |  4 +-
 meta/lib/oeqa/__init__.py                    |  0
 meta/lib/oeqa/oetest.py                      | 79 ++++++++++++++++++++++++-
 meta/lib/oeqa/runexported.py                 | 35 ++++++++++-
 meta/lib/oeqa/runtime/__init__.py            |  3 -
 meta/recipes-core/meta/testexport-tarball.bb | 56 ++++++++++++++++++
 8 files changed, 265 insertions(+), 18 deletions(-)
 delete mode 100644 meta/lib/oeqa/__init__.py
 delete mode 100644 meta/lib/oeqa/runtime/__init__.py
 create mode 100644 meta/recipes-core/meta/testexport-tarball.bb
Signature · 1 line
2.6.6