From 4b0f6a071e03f4c8330cf9ffb787ea0fcdd93e45 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Thu, 20 Jun 2024 09:20:13 +0800 Subject: [PATCH 1/3] test: move tmt test log to tmt plan data folder Signed-off-by: Xiaofeng Wang --- plans/build.fmf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plans/build.fmf b/plans/build.fmf index ea68982ea..91a140dec 100644 --- a/plans/build.fmf +++ b/plans/build.fmf @@ -19,3 +19,7 @@ discover: how: fmf test: - /build-tmt/build-image +finish: + how: shell + script: + - cp -r /var/tmp/tmt/run-001 $TMT_PLAN_DATA From 558c7821980414896a36eb14e08f95f283dec74e Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Thu, 20 Jun 2024 12:59:56 +0800 Subject: [PATCH 2/3] test: give tmt vm 20G disk instead of 40G Sometimes the deployed testing farm runner does not have big disk, to avoid this issue, use smaller tmt vm disk instead Signed-off-by: Xiaofeng Wang --- plans/integration.fmf | 1 + 1 file changed, 1 insertion(+) diff --git a/plans/integration.fmf b/plans/integration.fmf index 32ac94c37..ce98bac56 100644 --- a/plans/integration.fmf +++ b/plans/integration.fmf @@ -5,6 +5,7 @@ provision: how: virtual # Generated by `cargo xtask ` image: file://./target/testvm/disk.qcow2 + disk: 20 summary: Basic smoke test execute: how: tmt From aa00c5b9f7aaf1ca1a936b8c847400bf9d630e19 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Thu, 20 Jun 2024 15:11:16 +0800 Subject: [PATCH 3/3] test: add aarch64 tmt integration test Signed-off-by: Xiaofeng Wang --- .packit.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.packit.yaml b/.packit.yaml index a4b635f40..98bc5b7e7 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -4,6 +4,7 @@ jobs: trigger: pull_request targets: - fedora-40-x86_64 + - fedora-40-aarch64 tmt_plan: /build skip_build: true identifier: tmt-integration-test