* New set of nested tests for uc22
This change includes:
. Updates for the tests to support uc22
. New models for uc22
. New snap needed to run uc22 tests
* New support for system user asserts
Still missing to sign the assert for uc22
* fix shellcheck
* Fixing style shellchecks
* Fix shell check on tests
* New fix for shell check
* Created the auto-import.assert for developer1
* Generate the auto-import.assert for the developer1
* Fixed error on tests
* Fix interfaces-custom-devices test
* Update variable names
* Allow run failed tests on google-nested backend
This change is to allow running just the failed tests for google-nested
backend when the "Run failed" tag is set
* Make sure no new lines in results
* fix core22-basic to deal with recovery-keys change
* filter by backend to make sure external subtests are not included
* Fix core22-basic disabling recovery keys checks
* Fix recovery keys for core20-basic test now
* Update the key for nested cache
It's --show-keys, so the test was not really exercising the API operation as a
non-root user.
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
* Initial changes to run nested tests on uc22
New nested tests configuration for uc22 and libraries updated.
New basic nested test for uc22 on
* Updated the build_initramfs_kernel_snap
also other minor changes included
* Minor fixes for build_initramfs_kernel_snap
* Using OVMF_CODE and OVMF_VARS from focal ovmf package
As in Jammy there is just the _4M got the snakeoil vars, the idea is to
reuse the once available in focal.
* Adding uc22 to nested tests execution
* Fix preseed nested test to make it work for jammy
* Update how kernel is re-packed
* Fix the prepare.sh script
* send the parameters to the new modify-the-tool function
* Fix how modify_the_tool is called
* Use uc20_build_initramfs_kernel_snap from master
This test is failingin uc20
It fails when doing:
snap set system system.network.netplan.network.bridges.br54.dhcp4=true
with error:
Could not set hostname: Permission denied
* Fix the nested remodel tests
Currently the test is failing in core 18 because the core18 snap is
being autore-freshed breaking the connection with the host machine.
The idea of the change is to use the tests.nested tool which is widely
used on nested tests and repacks the core18 snap avoiding
auto-refreshes.
This change also includes a new wait-for event used to wait until the
device is initialized and has a serial. By doing that it is not needed
anymore to source the nested.sh lib.
* Change call to nested_get_boot_id by tests.nested boot-id
* Same change on boot id for test remodel-cross-store
* Update to use the use the gadget snap from the store
* Minor fixes to use the env vars to download the gadget and kernel snaps
* Allow skip repack for kernel, base and gadget
This is needed to make remodel tests work. This is also neede for other
tests to be able to use kernel and gadget from the store
* Improve cleanup of tests
* Removing snaps installed in other tests