Skip to content
Snippets Groups Projects
Commit e9b1ce66 authored by Denis Pynkin's avatar Denis Pynkin
Browse files

AUM: offline upgrade test between branches


This test ensures that Apertis is capable to upgrade the previos version
to the recent. Check that update manager is able to fix all refs after
successful update.

Signed-off-by: default avatarDenis Pynkin <denis.pynkin@collabora.com>
parent 673f751f
No related branches found
No related tags found
Loading
metadata:
name: aum-offline-upgrade
format: "Apertis Test Definition 1.0"
image-types:
minimal: [ armhf, arm64 ]
target: [ armhf, arm64 ]
image-deployment:
- OSTree
type: functional
exec-type: automated
priority: critical
maintainer: "Apertis Project"
description: "Apertis update manager: offline upgrade test between branches.
This test ensures that Apertis is capable to upgrade the previos version to the recent.
And update manager is able to fix all refs after successful update."
expected:
- "The automated test should succeed."
notes:
- "The test needs network access to the place where OSTree static bundles are hosted, like https://images.apertis.org/"
install:
git-repos:
- url: https://gitlab.apertis.org/tests/aum-offline-upgrade.git
branch: apertis/v2022dev1
run:
steps:
- "# Enter test directory:"
- cd aum-offline-upgrade
- "# Execute the following command:"
- common/run-test-in-systemd --timeout=900 --name=offline-upgrade env DEBUG=2 RELEASE=$RELEASE ARCH=$ARCH BASEURL=$BASEURL IMGPATH=$IMGPATH IMGDATE=$IMGDATE IMGTYPE=$IMGTYPE IMGNAME=$IMGNAME BOARD=$BOARD ./run-test-offline-upgrade-branch.sh
parse:
pattern: ^(?P<test_case_id>[a-zA-Z0-9_\-\./]+):\s*(?P<result>pass|fail|skip|unknown)$
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