Skip to content
Snippets Groups Projects
Commit 9068f951 authored by Peter Senna Tschudin's avatar Peter Senna Tschudin
Browse files

sdk-persistent-disk: Manual test for the persistent disk functionality


Add a test to check if the persistent disk functionality is working
properly by:
 - Installing a sysroot on the old SDK
 - Configuring the old SDK to use the persistent disk
 - Configuring the new SDK to use the persistent disk
 - Check that the sysroot is available on the new SDK

Signed-off-by: default avatarPeter Senna Tschudin <peter.senna@collabora.com>
parent 6d56595f
No related branches found
No related tags found
No related merge requests found
metadata:
name: sdk-persistent-disk
format: "Apertis Test Definition 1.0"
image-types:
basesdk: [ amd64 ]
sdk: [ amd64 ]
image-deployment:
- APT
type: compatibility
exec-type: manual
priority: critical
maintainer: "Apertis Project"
description: "Tests that persistent disk can be used when upgrading the SDK."
pre-conditions:
- "Download the virtual machine image for the latest SDK release from:"
- "~https://images.apertis.org/"
- "Create the first virtual machine and name it old-sdk or old-basesdk"
- "Create the second virtual machine and name it new-sdk or new-basesdk"
- "Instructions on how to use VirtualBox and psdk for persistent disk:"
- "~https://developer.apertis.org/latest/sdk-usage.html#persistent-workspace"
expected:
- "psdk should indicate that 'This SDK is currently using the persistent disk' when attempting to confirm if the SDK is using the persistent disk"
- "'ade sysroot update' should indicate that the Installed version is already up-to-date."
run:
steps:
- "The following steps are for the SDK virtual machine named with old:"
- "Power on the virtual machine, and run on a terminal:"
- $ ade sysroot install
- "Power off the virtual machine"
- "On VirtualBox add the persistent disk to the SDK virtual machine:"
- "~https://developer.apertis.org/latest/sdk-usage.html#virtualbox-adding-the-persistent-disk-to-the-old-sdk"
- "Power on the virtual machine"
- "Use psdk to initialize the empty disk and to configure the SDK to use it:"
- "~https://developer.apertis.org/latest/sdk-usage.html#preparing-the-persistent-disk-on-the-old-sdk"
- "The SDK will reboot when the configuration is completed. After the reboot click on psdk icon again to confirm that the persistent disk is in use"
- "Run on a terminal:"
- $ ade sysroot update
- "Power off the virtual machine"
- "The following steps are for the SDK virtual machine named with new"
- "On VirtualBox add the same persistent disk used on previous steps to the SDK virtual machine:"
- "~https://developer.apertis.org/latest/sdk-usage.html#virtualbox-adding-the-persistent-disk-to-the-new-sdk"
- "Power on the virtual machine"
- "Use psdk to configure the SDK to use the persistent disk:"
- "~https://developer.apertis.org/latest/sdk-usage.html#using-the-persistent-disk-on-the-new-sdk"
- "The SDK will reboot when the configuration is completed. After the reboot click on psdk icon again to confirm that the persistent disk is in use"
- "Run on a terminal:"
- $ ade sysroot update
- "Power off the virtual machine"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment