sdk-persistent-disk manual
critical
- Image Types:
- basesdk-amd64 / sdk-amd64
- Image Deployment:
- APT
- Type:
- compatibility
Description
Tests that persistent disk can be used when upgrading the SDK.
Pre Conditions
- Python3, e.g. see
- `paramiko` package should be installed for Python3 by running:
- A virtual disk image (compressed or not) or a URL from which to get it from:
- Clone of the apertis-tests repository:
https://docs.conda.io/en/latest/miniconda.html
$ pip3 install paramiko
$ git clone https://gitlab.apertis.org/pkg/apertis-tests.git
Execution Steps
- For Windows:
- Execute the psdk-test script from the apertis-tests repository, passing the URL or path to the Apertis SDK VDI image, for example:
- This will complete the execution of the tests, please check that the expected result is obtained.
$ cp apertis-tests/psdk-test/psdk-test.ini.in apertis-tests/psdk-test/psdk-test.ini
Edit apertis-tests/psdk-test/psdk-test.ini with the correct values, for example:
vboxmanage_path = C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
$ cd apertis-tests/psdk-test
$ ./psdk-test <apertis_sdk_image>
Expected
Test should end up with:
SDK Persistent disk tests:
etc - PASS
home - PASS
opt - PASS
Notes
- The psdk-test script starts and powers off the virtual machine several times.