-
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
Semiperiodic cleanup of obsolete Skip()s #12349
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: edsantiago The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
507bfc7
to
f1e7852
Compare
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.
Added annotations for my changes. (As help for reviewers. None of these comments are appropriate for the code itself).
Still a WIP because the system test hasn't run.
@@ -320,7 +320,7 @@ func (p *PodmanTestIntegration) createArtifact(image string) { | |||
} | |||
dest := strings.Split(image, "/") | |||
destName := fmt.Sprintf("/tmp/%s.tar", strings.Replace(strings.Join(strings.Split(dest[len(dest)-1], "/"), ""), ":", "-", -1)) | |||
fmt.Printf("Caching %s at %s...", image, destName) | |||
fmt.Printf("Caching %s at %s...\n", image, destName) |
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 out Running: etc
on the same line. My logformatter does not see this command and does not perform its helpful highlights.
@@ -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 comment
The 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
@@ -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 comment
The 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
@@ -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 comment
The 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.
@@ -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 comment
The 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 find-obsolete-skips
script flags FIXME but not TODO)
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed by the PodmanPID
change at top
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
This is the new error message as of this writing.
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the FIXME. Maybe this should be a TODO instead?
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
This will never be fixed. Remove the reference.
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
This would've been really helpful when I was debugging the PodmanPID
bug above.
aebda50
to
b72de12
Compare
LGTM |
Found by my find-obsolete-skips script. Let's see which, if any, of these skipped tests can be reenabled. Some Skips are "this will never work", not "this is expected to work one day". Update the message on those to reflect that. Some were real bugs in the test framework. Fix those. And, joy of joys, some work today. Remove those skips. Signed-off-by: Ed Santiago <[email protected]>
b72de12
to
c03b6b5
Compare
LGTM |
/lgtm |
Found by my find-obsolete-skips script. Let's see which, if any,
of these skipped tests can be reenabled.
Some Skips are "this will never work", not "this is expected to
work one day". Update the message on those to reflect that.
Signed-off-by: Ed Santiago [email protected]