diff --git a/kola/tests/ignition/sethostname.go b/kola/tests/ignition/sethostname.go index 0995d5503..53fe4730f 100644 --- a/kola/tests/ignition/sethostname.go +++ b/kola/tests/ignition/sethostname.go @@ -59,17 +59,23 @@ func init() { ] } }`) + + // These tests are disabled on Azure because the hostname + // is required by the API and is overwritten via waagent.service + // after the machine has booted. register.Register(®ister.Test{ - Name: "coreos.ignition.v1.sethostname", - Run: setHostname, - ClusterSize: 1, - UserData: configV1, + Name: "coreos.ignition.v1.sethostname", + Run: setHostname, + ClusterSize: 1, + UserData: configV1, + ExcludePlatforms: []string{"azure"}, }) register.Register(®ister.Test{ - Name: "coreos.ignition.v2.sethostname", - Run: setHostname, - ClusterSize: 1, - UserData: configV2, + Name: "coreos.ignition.v2.sethostname", + Run: setHostname, + ClusterSize: 1, + UserData: configV2, + ExcludePlatforms: []string{"azure"}, }) } diff --git a/kola/tests/metadata/contents.go b/kola/tests/metadata/contents.go index ed0e66833..bbb0fe432 100644 --- a/kola/tests/metadata/contents.go +++ b/kola/tests/metadata/contents.go @@ -70,7 +70,9 @@ func verifyAWS(c cluster.TestCluster) { } func verifyAzure(c cluster.TestCluster) { - verify(c, "COREOS_AZURE_IPV4_DYNAMIC", "COREOS_AZURE_IPV4_VIRTUAL") + verify(c, "COREOS_AZURE_IPV4_DYNAMIC") + // kola tests do not spawn machines behind a loasd balancer on Azure + // which is required for COREOS_AZURE_IPV4_VIRTUAL to be present } func verifyPacket(c cluster.TestCluster) { diff --git a/kola/tests/misc/install.go b/kola/tests/misc/install.go index 26422a4a6..cb69b9a89 100644 --- a/kola/tests/misc/install.go +++ b/kola/tests/misc/install.go @@ -38,6 +38,7 @@ func init() { }] } }`), + ExcludePlatforms: []string{"azure"}, }) } diff --git a/kola/tests/misc/nfs.go b/kola/tests/misc/nfs.go index 964368c37..8a8176247 100644 --- a/kola/tests/misc/nfs.go +++ b/kola/tests/misc/nfs.go @@ -49,11 +49,17 @@ func init() { Run: NFSv3, ClusterSize: 0, Name: "linux.nfs.v3", + // Disabled on Azure because setting hostname + // is required at the instance creation level + ExcludePlatforms: []string{"azure"}, }) register.Register(®ister.Test{ Run: NFSv4, ClusterSize: 0, Name: "linux.nfs.v4", + // Disabled on Azure because setting hostname + // is required at the instance creation level + ExcludePlatforms: []string{"azure"}, }) } diff --git a/kola/tests/systemd/journald.go b/kola/tests/systemd/journald.go index 15822d0d7..74ac278e1 100644 --- a/kola/tests/systemd/journald.go +++ b/kola/tests/systemd/journald.go @@ -58,6 +58,9 @@ func init() { Run: journalRemote, ClusterSize: 0, Name: "systemd.journal.remote", + // Disabled on Azure because setting hostname + // is required at the instance creation level + ExcludePlatforms: []string{"azure"}, }) }