From 04edbe6a9e4536f420552542c4fafd7afb59df24 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Wed, 21 Feb 2024 15:16:12 -0500 Subject: [PATCH] kola/tests: add `openshift` required tag to OCP tests This is part of https://github.com/openshift/os/pull/1445. --- mantle/kola/tests/crio/crio.go | 6 ++++-- mantle/kola/tests/misc/network.go | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mantle/kola/tests/crio/crio.go b/mantle/kola/tests/crio/crio.go index 30d2b45e55..c4e2342ef6 100644 --- a/mantle/kola/tests/crio/crio.go +++ b/mantle/kola/tests/crio/crio.go @@ -197,7 +197,8 @@ func init() { Distros: []string{"rhcos"}, UserData: enableCrioIgn, // crio pods require fetching a kubernetes pause image - Tags: []string{"crio", kola.NeedsInternetTag}, + Tags: []string{kola.NeedsInternetTag}, + RequiredTag: "openshift", }) register.RegisterTest(®ister.Test{ Run: crioNetwork, @@ -207,7 +208,8 @@ func init() { Distros: []string{"rhcos"}, UserData: enableCrioIgn, // this test requires net connections outside the host - Tags: []string{"crio", kola.NeedsInternetTag}, + Tags: []string{kola.NeedsInternetTag}, + RequiredTag: "openshift", // qemu machines cannot communicate between each other ExcludePlatforms: []string{"qemu"}, }) diff --git a/mantle/kola/tests/misc/network.go b/mantle/kola/tests/misc/network.go index 280bd665c0..ebe694dbd1 100644 --- a/mantle/kola/tests/misc/network.go +++ b/mantle/kola/tests/misc/network.go @@ -69,6 +69,7 @@ func init() { Timeout: 40 * time.Minute, Distros: []string{"rhcos"}, Platforms: []string{"qemu"}, + RequiredTag: "openshift", }) }