Commit Graph

3 Commits

Author SHA1 Message Date
Sergio Cazzolato
fbb137e6f7 tests: new organization for nested tests (#9098)
* New work ir organization for nested execution

* Fixes after merge

* Remove image dir call

* Fixes for tests

* Each image has an id to be distint for other images created manually

* Fix shell check error

* Save and restore compressed images

* Fixes for tests which failed

* Just keep 1 image

* Small fixes for default run

* Add checks for channels

* Fix issues found during execution

* Add new check for hotplug

* As core could be installed from any source, the version could be anything

It is tested on listing test so here just verify the channel is correct

* Fix core version check for core built from current branch

* test fix

* Fix shellcheck issue in spread.yaml

* New documentation for nested tests

* Update default value for SPREAD_BUILD_SNAPD_FROM_CURRENT var

* Fix documentation

* Using LOGS_DIR to read serial.log in spread.yaml

* Using local vars on functions and prefix NESTED_ for global vars

* Fix global variable without NESTED_ prefix

* Fix another var without NESTED_ prefix

* break case in case the system is rebooted after refresh or revert

* Update var names in github actions configuration

* Update vars without NESTED_

* Add another NESTED_ prefix

* Fix for cloud-init test

* Updating documentation with new names for variables

* Updating the name of the nested functions with prefix nested_

* Making simpler the management of the images and the compression

* Update variable names, moving SPREAD_NESTED_ to NESTED_

* Gracefull shutdown for the vm

* Fix shellcheck

* fix missing import

* Support parameters on generic function nested_get_image_url_for_vm

* Shell check fix

* Fix shellcheck of function

* Sync after the users are created to avoid issue after restart the vm

* Minor fix to locate correctly the assets

* Updating function names

* Fix for {} on function nested_configure_cloud_init_on_core20_vm

* Updating nested_execute function name

* Small fixes addressing review comments

* Adding 3 small fixes
2020-09-04 10:53:30 -03:00
Sergio Cazzolato
6e2853a57f Apply change on permissions to hotplug test
As it was confirmed the change in permissions for serial port. This
change updates the hotplug test as it is failing checking the
permissions.
2019-12-02 14:33:48 -03:00
Sergio Cazzolato
51b10a458f New Hotplug helper and fix for hotplug tets 2019-05-20 13:55:59 -03:00