Move apparmor tests installing packages into a specific group
Having many tests on the same group does make the LAVA overlay too big for devices with small amount of free space. Thus some tests randomly fail due to lack of space.
To make things worse, some old tests rely in packages like python which are not part of the images and need to be installed, consuming extra ppace.
To workaround this issue, split the test group in two, moving tests with similar dependencies to a new to reduce the amount of space required per group.
This will be fixed once tests will be moved from pkg/apertis-tests to tests/ but in the meantime let's do the split to reduce the chance of random failures.
See: infrastructure/apertis-issues#593 (closed) and infrastructure/apertis-issues#546 (closed)
Merge request reports
Activity
requested review from @wlozano
assigned to @daissi
- Resolved by Walter Lozano
Changes look OK to me. However, the commit message is misleading. Installing python does not make the overlay bigger, it just installs packages to a system which has a small amount of free space. Having many tests on the same group does make the overlay bigger, as LAVA downloads apertis-testcases for every single test (N times) and also the extra git-deps of each test.
To avoid confusions, it would be nice to tweak the commit / MR description.
added 1 commit
- e050646f - Move apparmor tests installing packages into a specific group
added 1 commit
- d6119ecd - Move apparmor tests installing packages into a specific group
mentioned in issue infrastructure/apertis-issues#546 (closed)
mentioned in issue infrastructure/apertis-issues#593 (closed)