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

  1. Python3, e.g. see
  2. https://docs.conda.io/en/latest/miniconda.html

  3. `paramiko` package should be installed for Python3 by running:
  4. $ pip3 install paramiko
  5. A virtual disk image (compressed or not) or a URL from which to get it from:
  6. https://images.apertis.org/

  7. Clone of the apertis-tests repository:
  8. $ git clone https://gitlab.apertis.org/pkg/apertis-tests.git

Execution Steps

  1. For Windows:
  2. $ 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

  3. Execute the psdk-test script from the apertis-tests repository, passing the URL or path to the Apertis SDK VDI image, for example:
  4. $ cd apertis-tests/psdk-test
    $ python ./psdk-test <apertis_sdk_image>
  5. This will complete the execution of the tests, please check that the expected result is obtained.

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.