From 962273288e06b0a7f72c80625f54c5d62c9259c7 Mon Sep 17 00:00:00 2001 From: Denis Pynkin <denis.pynkin@collabora.com> Date: Wed, 25 Sep 2019 15:28:48 +0000 Subject: [PATCH] Enable AUM automatic tests for all architectures Need to test the upgrade behavior on different architectures. Enabled automatic tests of ostree and upgrade manager behavior for all supported minimal images. Not enabled rollback test for Arm64 and Amd64 yet since they have no enabled bootcounter mechanism in bootloader. Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com> --- test-cases/aum-api.yaml | 3 ++- test-cases/aum-offline-upgrade-collection_id.yaml | 4 ++-- test-cases/aum-offline-upgrade-signed.yaml | 3 ++- test-cases/aum-offline-upgrade.yaml | 3 ++- test-cases/aum-out-of-space.yaml | 3 ++- test-cases/aum-power-cut.yaml | 3 ++- test-cases/aum-rollback-blacklist.yaml | 3 ++- 7 files changed, 14 insertions(+), 8 deletions(-) diff --git a/test-cases/aum-api.yaml b/test-cases/aum-api.yaml index 6531d2e..dfcaef4 100644 --- a/test-cases/aum-api.yaml +++ b/test-cases/aum-api.yaml @@ -2,7 +2,8 @@ metadata: name: aum-api format: "Apertis Test Definition 1.0" image-types: - minimal: [ armhf ] + minimal: [ armhf-internal, armhf, arm64, amd64 ] + target: [ armhf-internal, armhf, arm64, amd64 ] image-deployment: - OSTree type: functional diff --git a/test-cases/aum-offline-upgrade-collection_id.yaml b/test-cases/aum-offline-upgrade-collection_id.yaml index 2b23a04..4933611 100644 --- a/test-cases/aum-offline-upgrade-collection_id.yaml +++ b/test-cases/aum-offline-upgrade-collection_id.yaml @@ -2,8 +2,8 @@ metadata: name: aum-offline-upgrade-collection_id format: "Apertis Test Definition 1.0" image-types: - minimal: [ armhf, arm64, amd64 ] - target: [ armhf, amd64 ] + minimal: [ armhf-internal, armhf, arm64, amd64 ] + target: [ armhf-internal, armhf, arm64, amd64 ] image-deployment: - OSTree type: functional diff --git a/test-cases/aum-offline-upgrade-signed.yaml b/test-cases/aum-offline-upgrade-signed.yaml index 0be8d28..5178059 100644 --- a/test-cases/aum-offline-upgrade-signed.yaml +++ b/test-cases/aum-offline-upgrade-signed.yaml @@ -2,7 +2,8 @@ metadata: name: aum-offline-upgrade-signed format: "Apertis Test Definition 1.0" image-types: - minimal: [ armhf ] + minimal: [ armhf-internal, armhf, arm64, amd64 ] + target: [ armhf-internal, armhf, arm64, amd64 ] image-deployment: - OSTree type: functional diff --git a/test-cases/aum-offline-upgrade.yaml b/test-cases/aum-offline-upgrade.yaml index d3c2eb7..7596466 100644 --- a/test-cases/aum-offline-upgrade.yaml +++ b/test-cases/aum-offline-upgrade.yaml @@ -2,7 +2,8 @@ metadata: name: aum-offline-upgrade format: "Apertis Test Definition 1.0" image-types: - minimal: [ armhf ] + minimal: [ armhf-internal, armhf, arm64, amd64 ] + target: [ armhf-internal, armhf, arm64, amd64 ] image-deployment: - OSTree type: functional diff --git a/test-cases/aum-out-of-space.yaml b/test-cases/aum-out-of-space.yaml index def71bc..4e77fd2 100644 --- a/test-cases/aum-out-of-space.yaml +++ b/test-cases/aum-out-of-space.yaml @@ -2,7 +2,8 @@ metadata: name: aum-out-of-space format: "Apertis Test Definition 1.0" image-types: - minimal: [ armhf ] + minimal: [ armhf-internal, armhf, arm64, amd64 ] + target: [ armhf-internal, armhf, arm64, amd64 ] image-deployment: - OSTree type: functional diff --git a/test-cases/aum-power-cut.yaml b/test-cases/aum-power-cut.yaml index 5719256..3947acd 100644 --- a/test-cases/aum-power-cut.yaml +++ b/test-cases/aum-power-cut.yaml @@ -2,7 +2,8 @@ metadata: name: aum-power-cut format: "Apertis Test Definition 1.0" image-types: - minimal: [ armhf ] + minimal: [ armhf-internal, armhf, arm64, amd64 ] + target: [ armhf-internal, armhf, arm64, amd64 ] image-deployment: - OSTree type: functional diff --git a/test-cases/aum-rollback-blacklist.yaml b/test-cases/aum-rollback-blacklist.yaml index 0314033..0dcfcd5 100644 --- a/test-cases/aum-rollback-blacklist.yaml +++ b/test-cases/aum-rollback-blacklist.yaml @@ -2,7 +2,8 @@ metadata: name: aum-rollback-blacklist format: "Apertis Test Definition 1.0" image-types: - minimal: [ armhf ] + minimal: [ armhf-internal, armhf ] + target: [ armhf-internal, armhf ] image-deployment: - OSTree type: functional -- GitLab