Skip to content

Commit

Permalink
update the ARM group (#655)
Browse files Browse the repository at this point in the history
Co-authored-by: Praneeth Bajjuri <[email protected]>
  • Loading branch information
pbajjuri20 and Praneeth Bajjuri authored Jan 30, 2024
1 parent da97040 commit 6d96e72
Show file tree
Hide file tree
Showing 33 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion pkg/tests/non-dependant/bug_multiple_smcp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

func TestSMCPMultiple(t *testing.T) {
NewTest(t).Id("T36").Groups(Full, Disconnected).Run(func(t TestHelper) {
NewTest(t).Id("T36").Groups(Full, ARM).Run(func(t TestHelper) {
t.Log("This test verifies whether the operator only reconciles one SMCP when two exist in a namespace")
t.Log("See https://issues.redhat.com/browse/OSSM-2189")

Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/ossm/bug_istiopods_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (

// TestIstiodPodFailsAfterRestarts tests that Istio pod get stuck with probes failure after restart. Jira ticket bug: https://issues.redhat.com/browse/OSSM-2434
func TestIstiodPodFailsAfterRestarts(t *testing.T) {
NewTest(t).Id("T35").Groups(Full, Disconnected).Run(func(t TestHelper) {
NewTest(t).Id("T35").Groups(Full, Disconnected, ARM).Run(func(t TestHelper) {
namespaces := util.GenerateStrings("test-", 50)

t.Cleanup(func() {
Expand Down
4 changes: 2 additions & 2 deletions pkg/tests/ossm/deploy_on_infra_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
var workername string

func TestDeployOnInfraNodes(t *testing.T) {
test.NewTest(t).Id("T40").Groups(test.Full, test.Disconnected).Run(func(t test.TestHelper) {
test.NewTest(t).Id("T40").Groups(test.Full, test.Disconnected, test.ARM).Run(func(t test.TestHelper) {
t.Log("This test verifies that the OSSM operator and Istio components can be configured to run on infrastructure nodes")

if env.GetSMCPVersion().LessThan(version.SMCP_2_3) {
Expand Down Expand Up @@ -140,7 +140,7 @@ spec:
}

func TestExcludeCniFromNode(t *testing.T) {
test.NewTest(t).Id("T43").Groups(test.Full, test.Disconnected).Run(func(t test.TestHelper) {
test.NewTest(t).Id("T43").Groups(test.Full, test.Disconnected, test.ARM).Run(func(t test.TestHelper) {
t.Log("Verify that CNI pods are not scheduled on node with maistra.io/exclude-cni label")
t.Log("See https://issues.redhat.com/browse/OSSM-1698")

Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/ossm/discovery_selectors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
)

func TestDiscoverySelectors(t *testing.T) {
NewTest(t).Groups(Full).Run(func(t TestHelper) {
NewTest(t).Groups(Full, ARM).Run(func(t TestHelper) {
t.Log("This test checks if discoverySelectors are being honored")
t.Log("See https://issues.redhat.com/browse/OSSM-3802")
t.Log("Test case is based on https://istio.io/latest/blog/2021/discovery-selectors/")
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/ossm/initcontainer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestInitContainerNotRemovedDuringInjection(t *testing.T) {
const goldString = "[init worked]"
const podSelector = "app=sleep-init"

NewTest(t).Id("T33").Groups(Full).Run(func(t TestHelper) {
NewTest(t).Id("T33").Groups(Full, ARM).Run(func(t TestHelper) {
t.Log("Checking init container not removed during sidecar injection.")

t.Cleanup(func() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/ossm/operator/clusterwide_mode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type ServiceMeshMemberRoll struct {
}

func TestClusterWideMode(t *testing.T) {
test.NewTest(t).Groups(test.Full, test.Disconnected).MinVersion(version.SMCP_2_4).Run(func(t test.TestHelper) {
test.NewTest(t).Groups(test.Full, test.Disconnected, test.ARM).MinVersion(version.SMCP_2_4).Run(func(t test.TestHelper) {
t.Log("This test verifies the behavior of SMCP.spec.mode: ClusterWide")

smcpName := env.GetDefaultSMCPName()
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/ossm/operator/operator_deadlock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func TestOperatorCanReconcileSMCPWhenIstiodOffline(t *testing.T) {
test.NewTest(t).Groups(test.Full, test.Disconnected).Run(func(t test.TestHelper) {
test.NewTest(t).Groups(test.Full, test.Disconnected, test.ARM).Run(func(t test.TestHelper) {
t.Log("This test checks if the operator can reconcile an SMCP even if the istiod pod is missing")
t.Log("See https://issues.redhat.com/browse/OSSM-3235")

Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/ossm/operator/operator_readiness_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

func TestOperatorPodHonorsReadinessProbe(t *testing.T) {
test.NewTest(t).Groups(test.Full, test.Disconnected).MinVersion(version.SMCP_2_4).Run(func(t test.TestHelper) {
test.NewTest(t).Groups(test.Full, test.Disconnected, test.ARM).MinVersion(version.SMCP_2_4).Run(func(t test.TestHelper) {
t.Log("This test checks if the operator correctly reports its readiness status")

meshNamespace := env.GetDefaultMeshNamespace()
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/ossm/prometheus_scoped_scraping_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
var prometheusPodSelector oc.PodLocatorFunc = pod.MatchingSelector("app=prometheus,maistra-control-plane=istio-system", meshNamespace)

func TestOperatorCanUpdatePrometheusConfigMap(t *testing.T) {
test.NewTest(t).Groups(test.Full).Run(func(t test.TestHelper) {
test.NewTest(t).Groups(test.Full, test.ARM).Run(func(t test.TestHelper) {
t.Log("This test checks if the operator can update Prometheus ConfigMap when the SMMR is updated")

if env.GetSMCPVersion().LessThan(version.SMCP_2_4) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/ossm/ratelimit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var (
)

func TestRateLimiting(t *testing.T) {
NewTest(t).Id("T28").Groups(Full).MaxVersion(version.SMCP_2_2).Run(func(t TestHelper) {
NewTest(t).Id("T28").Groups(Full, ARM).MaxVersion(version.SMCP_2_2).Run(func(t TestHelper) {
ns := "bookinfo"
nsRedis := "redis"

Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/ossm/route_prevent_additional_ingress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func TestRoutePreventAdditionalIngress(t *testing.T) {
NewTest(t).Id("T48").Groups(Full).MaxVersion(version.SMCP_2_5).Run(func(t TestHelper) {
NewTest(t).Id("T48").Groups(Full, ARM).MaxVersion(version.SMCP_2_5).Run(func(t TestHelper) {

ER := "extra-routes"

Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/ossm/smcp_addons_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
)

func TestSMCPAddons(t *testing.T) {
NewTest(t).Id("T34").Groups(Full, Disconnected).Run(func(t TestHelper) {
NewTest(t).Id("T34").Groups(Full, Disconnected, ARM).Run(func(t TestHelper) {
// Created a subtest because we need to add more test related to Addons in the future.
t.NewSubTest("3scale_addon").Run(func(t TestHelper) {
t.LogStep("Enable 3scale in a SMCP expecting to get validation error.")
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/ossm/smcp_must_gather_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
)

func TestMustGather(t *testing.T) {
NewTest(t).Id("T30").Groups(Full).Run(func(t TestHelper) {
NewTest(t).Id("T30").Groups(Full, ARM).Run(func(t TestHelper) {
t.Log("This test verifies must-gather log collection")

ns := "bookinfo"
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/ossm/smm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

func TestSMMRAutoCreationAndDeletion(t *testing.T) {
NewTest(t).Id("T39").Groups(Full, Disconnected).Run(func(t TestHelper) {
NewTest(t).Id("T39").Groups(Full, Disconnected, ARM).Run(func(t TestHelper) {
t.Log("This test verifies what happens to the SMMR when SMM is created and deleted")
foo := "foo"
bar := "bar"
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/tasks/extensions/threescale_wasm_plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const (
)

func TestThreeScaleWasmPlugin(t *testing.T) {
test.NewTest(t).Groups(test.Full).Run(func(t test.TestHelper) {
test.NewTest(t).Groups(test.Full, test.ARM).Run(func(t test.TestHelper) {

if env.GetArch() == "z" || env.GetArch() == "p" {
t.Skip("Web Assembly is not supported for IBM Z&P")
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/tasks/observability/custom_prometheus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
func TestCustomPrometheus(t *testing.T) {
const customPrometheusNs = "custom-prometheus"

test.NewTest(t).Id("custom-prometheus").Groups(test.Full).Run(func(t test.TestHelper) {
test.NewTest(t).Id("custom-prometheus").Groups(test.Full, test.ARM).Run(func(t test.TestHelper) {
smcpVer := env.GetSMCPVersion()
if smcpVer.LessThan(version.SMCP_2_4) {
t.Skip("Extension providers are not supported in OSSM older than v2.4.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
// TestFederatedOpenShiftMonitoring requires OpenShift Monitoring stack to be enabled.
// See the comment on TestOpenShiftMonitoring for help setting up on crc
func TestFederatedOpenShiftMonitoring(t *testing.T) {
test.NewTest(t).Id("federated-openshift-monitoring-integration").Groups(test.Full).Run(func(t test.TestHelper) {
test.NewTest(t).Id("federated-openshift-monitoring-integration").Groups(test.Full, test.ARM).Run(func(t test.TestHelper) {
meshValues := map[string]string{
"Name": smcpName,
"Version": env.GetSMCPVersion().String(),
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/tasks/observability/openshift_monitoring_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const (
// crc config set memory 20480
// crc config set cpus 8
func TestOpenShiftMonitoring(t *testing.T) {
test.NewTest(t).Id("openshift-monitoring-integration").Groups(test.Full).Run(func(t test.TestHelper) {
test.NewTest(t).Id("openshift-monitoring-integration").Groups(test.Full, test.ARM).Run(func(t test.TestHelper) {
smcpVer := env.GetSMCPVersion()
if smcpVer.LessThan(version.SMCP_2_4) {
t.Skip("integration with OpenShift Monitoring stack is not supported in OSSM older than v2.4.0")
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/tasks/security/authentication/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (
)

func TestAuthPolicy(t *testing.T) {
NewTest(t).Id("T18").Groups(Full, InterOp).Run(func(t TestHelper) {
NewTest(t).Id("T18").Groups(Full, InterOp, ARM).Run(func(t TestHelper) {
meshNamespace := env.GetDefaultMeshNamespace()

t.Cleanup(func() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
)

func TestMTlsMigration(t *testing.T) {
test.NewTest(t).Id("T19").Groups(test.Full, test.InterOp).Run(func(t test.TestHelper) {
test.NewTest(t).Id("T19").Groups(test.Full, test.InterOp, test.ARM).Run(func(t test.TestHelper) {
meshNamespace := env.GetDefaultMeshNamespace()

t.Cleanup(func() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/tasks/security/authorization/deny_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
)

func TestAuthorizationDenyAllow(t *testing.T) {
test.NewTest(t).Id("T23").Groups(test.Full, test.InterOp).Run(func(t test.TestHelper) {
test.NewTest(t).Id("T23").Groups(test.Full, test.InterOp, test.ARM).Run(func(t test.TestHelper) {
ns := "foo"
t.Cleanup(func() {
oc.RecreateNamespace(t, ns)
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/tasks/security/authorization/jwt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
)

func TestAuthorizationJWT(t *testing.T) {
test.NewTest(t).Id("T22").Groups(test.Full, test.InterOp).Run(func(t test.TestHelper) {
test.NewTest(t).Id("T22").Groups(test.Full, test.InterOp, test.ARM).Run(func(t test.TestHelper) {
ns := "foo"
t.Cleanup(func() {
oc.RecreateNamespace(t, ns)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
)

func TestTrustDomainMigration(t *testing.T) {
NewTest(t).Id("T24").Groups(Full, InterOp).Run(func(t TestHelper) {
NewTest(t).Id("T24").Groups(Full, InterOp, ARM).Run(func(t TestHelper) {
foo := "foo"
bar := "bar"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
)

func TestAccessExternalServices(t *testing.T) {
test.NewTest(t).Id("T11").Groups(test.Full, test.InterOp).Run(func(t test.TestHelper) {
test.NewTest(t).Id("T11").Groups(test.Full, test.InterOp, test.ARM).Run(func(t test.TestHelper) {
smcpName := env.GetDefaultSMCPName()
t.Cleanup(func() {
app.Uninstall(t, app.Sleep(ns.Bookinfo))
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/tasks/traffic/egress/egress_gateways_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
)

func TestEgressGateways(t *testing.T) {
NewTest(t).Id("T13").Groups(Full, InterOp).Run(func(t TestHelper) {
NewTest(t).Id("T13").Groups(Full, InterOp, ARM).Run(func(t TestHelper) {
t.Cleanup(func() {
oc.RecreateNamespace(t, ns.Bookinfo)
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
)

func TestTLSOrigination(t *testing.T) {
NewTest(t).Id("T14").Groups(Full, InterOp).Run(func(t TestHelper) {
NewTest(t).Id("T14").Groups(Full, InterOp, ARM).Run(func(t TestHelper) {
t.Log("This test verifies that TLS origination works in 2 scenarios:")
t.Log(" 1) Egress gateway TLS Origination")
t.Log(" 2) MTLS Origination with file mount (certificates mounted in egress gateway pod)")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
)

func TestTLSOriginationSDS(t *testing.T) {
NewTest(t).Id("T15").Groups(Full, InterOp).Run(func(t TestHelper) {
NewTest(t).Id("T15").Groups(Full, InterOp, ARM).Run(func(t TestHelper) {
t.Cleanup(func() {
oc.RecreateNamespace(t, ns.Bookinfo)
oc.RecreateNamespace(t, ns.MeshExternal)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
)

func TestEgressTLSOrigination(t *testing.T) {
test.NewTest(t).Id("T12").Groups(test.Full, test.InterOp).Run(func(t test.TestHelper) {
test.NewTest(t).Id("T12").Groups(test.Full, test.InterOp, test.ARM).Run(func(t test.TestHelper) {
sleep := app.Sleep(ns.Bookinfo)
t.Cleanup(func() {
oc.RecreateNamespace(t, ns.MeshExternal)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

func TestEgressWildcard(t *testing.T) {
NewTest(t).Id("T16").Groups(Full, InterOp).Run(func(t TestHelper) {
NewTest(t).Id("T16").Groups(Full, InterOp, ARM).Run(func(t TestHelper) {
t.Log("This test checks if the wildcard in the ServiceEntry and Gateway works as expected for Egress traffic.")

ns := "bookinfo"
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/tasks/traffic/ingress/gatewayapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
)

func TestGatewayApi(t *testing.T) {
NewTest(t).Id("T41").Groups(Full, InterOp).Run(func(t TestHelper) {
NewTest(t).Id("T41").Groups(Full, InterOp, ARM).Run(func(t TestHelper) {
if env.GetSMCPVersion().LessThan(version.SMCP_2_3) {
t.Skip("TestGatewayApi was added in v2.3")
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/tasks/traffic/ingress/ingress_gateways_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
)

func TestIngressGateways(t *testing.T) {
NewTest(t).Id("T8").Groups(Full, InterOp).Run(func(t TestHelper) {
NewTest(t).Id("T8").Groups(Full, InterOp, ARM).Run(func(t TestHelper) {
ns := "bookinfo"
t.Cleanup(func() {
oc.RecreateNamespace(t, ns)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
)

func TestIngressWithoutTlsTermination(t *testing.T) {
test.NewTest(t).Id("T10").Groups(test.Full, test.InterOp).Run(func(t test.TestHelper) {
test.NewTest(t).Id("T10").Groups(test.Full, test.InterOp, test.ARM).Run(func(t test.TestHelper) {
t.Log("This test validates configuring an Gateway with TLS PassThrough")
t.Log("Doc reference: https://istio.io/v1.14/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/")

Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/tasks/traffic/traffic_mirroring_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

func TestMirroring(t *testing.T) {
NewTest(t).Id("T7").Groups(Full, InterOp).Run(func(t TestHelper) {
NewTest(t).Id("T7").Groups(Full, InterOp, ARM).Run(func(t TestHelper) {
ns := "bookinfo"

t.Cleanup(func() {
Expand Down

0 comments on commit 6d96e72

Please sign in to comment.