Skip to content

Commit f5e20b9

Browse files
marmijodustymabe
authored andcommitted
kola/core.go: remove fcos.internet test
This test has been denylisted in FCOS for a long time due to rate limiting issues with the busybox container. The functionality of the test is covered by other FCOS tests so it can be removed. Also remove some older, obsolete functions that were probably a part of this test in the past. see: https://issues.redhat.com/browse/COS-2094
1 parent 6f86f45 commit f5e20b9

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

mantle/kola/tests/coretest/core.go

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import (
1616
"github.com/coreos/coreos-assembler/mantle/kola/register"
1717
"github.com/coreos/coreos-assembler/mantle/platform"
1818
"github.com/coreos/coreos-assembler/mantle/platform/machine/qemu"
19-
"github.com/coreos/coreos-assembler/mantle/util"
2019
)
2120

2221
const (
@@ -91,21 +90,6 @@ func init() {
9190
// only work on x86_64 and aarch64.
9291
Architectures: []string{"x86_64", "aarch64"},
9392
})
94-
// TODO: Enable DockerPing/DockerEcho once fixed
95-
// TODO: Only enable PodmanPing on non qemu. Needs:
96-
// https://github.com/coreos/mantle/issues/1132
97-
register.RegisterTest(&register.Test{
98-
Name: "fcos.internet",
99-
Description: "Verify that podman echo and get head work.",
100-
Run: InternetTests,
101-
ClusterSize: 1,
102-
Tags: []string{kola.NeedsInternetTag},
103-
NativeFuncs: map[string]register.NativeFuncWrap{
104-
"PodmanEcho": register.CreateNativeFuncWrap(TestPodmanEcho),
105-
"PodmanWgetHead": register.CreateNativeFuncWrap(TestPodmanWgetHead),
106-
},
107-
Distros: []string{"fcos"},
108-
})
10993
register.RegisterTest(&register.Test{
11094
Name: "rootfs.uuid",
11195
Description: "Verify that the root disk's GUID was set to a random one on first boot.",
@@ -179,31 +163,6 @@ func TestPortSsh() error {
179163
return nil
180164
}
181165

182-
func TestDockerEcho() error {
183-
//t.Parallel()
184-
return util.RunCmdTimeout(DockerTimeout, "docker", "run", "busybox", "echo")
185-
}
186-
187-
func TestDockerPing() error {
188-
//t.Parallel()
189-
return util.RunCmdTimeout(DockerTimeout, "docker", "run", "busybox", "ping", "-c4", "coreos.com")
190-
}
191-
192-
func TestPodmanEcho() error {
193-
//t.Parallel()
194-
return util.RunCmdTimeout(DockerTimeout, "podman", "run", "busybox", "echo")
195-
}
196-
197-
func TestPodmanPing() error {
198-
//t.Parallel()
199-
return util.RunCmdTimeout(DockerTimeout, "podman", "run", "busybox", "ping", "-c4", "coreos.com")
200-
}
201-
202-
func TestPodmanWgetHead() error {
203-
//t.Parallel()
204-
return util.RunCmdTimeout(DockerTimeout, "podman", "run", "busybox", "wget", "--spider", "http://fedoraproject.org/static/hotspot.txt")
205-
}
206-
207166
// This execs gdbus, because we need to change uses to test perms.
208167
func TestDbusPerms() error {
209168
c := exec.Command(

0 commit comments

Comments
 (0)