-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Semiperiodic cleanup of obsolete Skip()s #12349
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -214,7 +214,7 @@ var _ = Describe("Podman logs", func() { | |
|
||
It("two containers showing short container IDs: "+log, func() { | ||
skipIfJournaldInContainer() | ||
SkipIfRemote("FIXME: podman-remote logs does not support showing two containers at the same time") | ||
SkipIfRemote("podman-remote logs does not support showing two containers at the same time") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed the FIXME, because this does not look like it's going to be fixed |
||
|
||
log1 := podmanTest.Podman([]string{"run", "--log-driver", log, "-dt", ALPINE, "sh", "-c", "echo podman; echo podman; echo podman"}) | ||
log1.WaitWithDefaultTimeout() | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,7 +95,7 @@ var _ = Describe("Podman push", func() { | |
}) | ||
|
||
It("podman push to local registry with authorization", func() { | ||
SkipIfRootless("FIXME: Creating content in certs.d we use directories in homedir") | ||
SkipIfRootless("volume-mounting a certs.d file N/A over remote") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed the FIXME, because this does not look like it's going to be fixed |
||
if podmanTest.Host.Arch == "ppc64le" { | ||
Skip("No registry image for ppc64le") | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,21 +48,22 @@ var _ = Describe("Podman run with --cgroup-parent", func() { | |
run := podmanTest.Podman([]string{"run", "--cgroupns=host", "--cgroup-parent", cgroup, fedoraMinimal, "cat", "/proc/self/cgroup"}) | ||
run.WaitWithDefaultTimeout() | ||
Expect(run).Should(Exit(0)) | ||
ok, _ := run.GrepString(cgroup) | ||
Expect(ok).To(BeTrue()) | ||
Expect(run.OutputToString()).To(ContainSubstring(cgroup)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I really can't begin to express how anti-helpful it is to see "zero is not one" in ginkgo error logs. |
||
}) | ||
|
||
Specify("no --cgroup-parent", func() { | ||
SkipIfRootless("FIXME This seems to be broken in rootless mode") | ||
cgroup := "/libpod_parent" | ||
if !Containerized() && podmanTest.CgroupManager != "cgroupfs" { | ||
cgroup = "/machine.slice" | ||
if isRootless() { | ||
cgroup = "/user.slice" | ||
} else { | ||
cgroup = "/machine.slice" | ||
} | ||
} | ||
run := podmanTest.Podman([]string{"run", "--cgroupns=host", fedoraMinimal, "cat", "/proc/self/cgroup"}) | ||
run.WaitWithDefaultTimeout() | ||
Expect(run).Should(Exit(0)) | ||
ok, _ := run.GrepString(cgroup) | ||
Expect(ok).To(BeTrue()) | ||
Expect(run.OutputToString()).To(ContainSubstring(cgroup)) | ||
}) | ||
|
||
Specify("always honor --cgroup-parent", func() { | ||
|
@@ -114,7 +115,6 @@ var _ = Describe("Podman run with --cgroup-parent", func() { | |
run := podmanTest.Podman([]string{"run", "--cgroupns=host", "--cgroup-parent", cgroup, fedoraMinimal, "cat", "/proc/1/cgroup"}) | ||
run.WaitWithDefaultTimeout() | ||
Expect(run).Should(Exit(0)) | ||
ok, _ := run.GrepString(cgroup) | ||
Expect(ok).To(BeTrue()) | ||
Expect(run.OutputToString()).To(ContainSubstring(cgroup)) | ||
}) | ||
}) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ var _ = Describe("Podman run exit", func() { | |
|
||
It("podman run -d mount cleanup test", func() { | ||
SkipIfRemote("podman-remote does not support mount") | ||
SkipIfRootless("FIXME podman mount requires podman unshare first") | ||
SkipIfRootless("TODO rootless podman mount requires podman unshare first") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed FIXME to TODO. The difference, as I see it, is that TODO is "that would take effort. Maybe some day we'll enhance the test". Whereas FIXME is "this is broken". (And my |
||
|
||
result := podmanTest.Podman([]string{"run", "-dt", ALPINE, "top"}) | ||
result.WaitWithDefaultTimeout() | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,6 @@ var _ = Describe("Podman run with --sig-proxy", func() { | |
}) | ||
|
||
Specify("signals are forwarded to container using sig-proxy", func() { | ||
SkipIfRemote("FIXME: This looks like it is supposed to work in remote") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed by the |
||
if podmanTest.Host.Arch == "ppc64le" { | ||
Skip("Doesn't work on ppc64le") | ||
} | ||
|
@@ -111,7 +110,6 @@ var _ = Describe("Podman run with --sig-proxy", func() { | |
}) | ||
|
||
Specify("signals are not forwarded to container with sig-proxy false", func() { | ||
SkipIfRemote("FIXME: This looks like it is supposed to work in remote") | ||
signal := syscall.SIGFPE | ||
if rootless.IsRootless() { | ||
podmanTest.RestoreArtifact(fedoraMinimal) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -681,7 +681,7 @@ USER bin`, BB) | |
}) | ||
|
||
It("podman run device-read-bps test", func() { | ||
SkipIfRootless("FIXME: Missing /sys/fs/cgroup/user.slice/user-14467.slice/[email protected]/cgroup.subtree_control") | ||
SkipIfRootless("FIXME: requested cgroup controller `io` is not available") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the new error message as of this writing. |
||
SkipIfRootlessCgroupsV1("Setting device-read-bps not supported on cgroupv1 for rootless users") | ||
|
||
var session *PodmanSessionIntegration | ||
|
@@ -700,7 +700,7 @@ USER bin`, BB) | |
}) | ||
|
||
It("podman run device-write-bps test", func() { | ||
SkipIfRootless("FIXME /sys/fs/cgroup/user.slice/user-14467.slice/[email protected]/cgroup.subtree_control does not exist") | ||
SkipIfRootless("FIXME: requested cgroup controller `io` is not available") | ||
SkipIfRootlessCgroupsV1("Setting device-write-bps not supported on cgroupv1 for rootless users") | ||
|
||
var session *PodmanSessionIntegration | ||
|
@@ -718,7 +718,7 @@ USER bin`, BB) | |
}) | ||
|
||
It("podman run device-read-iops test", func() { | ||
SkipIfRootless("FIXME /sys/fs/cgroup/user.slice/user-14467.slice/[email protected]/cgroup.subtree_control does not exist") | ||
SkipIfRootless("FIXME: requested cgroup controller `io` is not available") | ||
SkipIfRootlessCgroupsV1("Setting device-read-iops not supported on cgroupv1 for rootless users") | ||
var session *PodmanSessionIntegration | ||
|
||
|
@@ -736,7 +736,7 @@ USER bin`, BB) | |
}) | ||
|
||
It("podman run device-write-iops test", func() { | ||
SkipIfRootless("FIXME /sys/fs/cgroup/user.slice/user-14467.slice/[email protected]/cgroup.subtree_control does not exist") | ||
SkipIfRootless("FIXME: requested cgroup controller `io` is not available") | ||
SkipIfRootlessCgroupsV1("Setting device-write-iops not supported on cgroupv1 for rootless users") | ||
var session *PodmanSessionIntegration | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -282,8 +282,8 @@ var _ = Describe("Podman run with volumes", func() { | |
}) | ||
|
||
It("podman run with tmpfs named volume mounts and unmounts", func() { | ||
SkipIfRootless("FIXME: rootless podman mount requires you to be in a user namespace") | ||
SkipIfRemote("podman-remote does not support --volumes this test could be simplified to be tested on Remote.") | ||
SkipIfRootless("rootless podman mount requires you to be in a user namespace") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed the FIXME. Maybe this should be a TODO instead? |
||
SkipIfRemote("podman-remote does not support --volumes. This test could be simplified to be tested on Remote.") | ||
volName := "testvol" | ||
mkVolume := podmanTest.Podman([]string{"volume", "create", "--opt", "type=tmpfs", "--opt", "device=tmpfs", "--opt", "o=nodev", "testvol"}) | ||
mkVolume.WaitWithDefaultTimeout() | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -236,7 +236,7 @@ echo $rand | 0 | $rand | |
} | ||
|
||
@test "podman run docker-archive" { | ||
skip_if_remote "podman-remote does not support docker-archive (#7116)" | ||
skip_if_remote "podman-remote does not support docker-archive" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will never be fixed. Remove the reference. |
||
|
||
# Create an image that, when run, outputs a random magic string | ||
expect=$(random_string 20) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,6 +121,7 @@ func (p *PodmanTest) WaitForContainer() bool { | |
} | ||
time.Sleep(1 * time.Second) | ||
} | ||
fmt.Printf("WaitForContainer(): timed out\n") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This would've been really helpful when I was debugging the |
||
return false | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is immediately followed by a verbose
podman pull
, which spits outRunning: etc
on the same line. My logformatter does not see this command and does not perform its helpful highlights.