Unverified Commit cf76367f authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #75101 from mgdevstack/promote-runtime-2

Promote container runtime e2e having non default TerminationMessagePath set
parents 42b3d9d9 295f43b1
...@@ -149,6 +149,7 @@ test/e2e/common/projected_secret.go: "should be consumable from pods in volume w ...@@ -149,6 +149,7 @@ test/e2e/common/projected_secret.go: "should be consumable from pods in volume w
test/e2e/common/projected_secret.go: "should be consumable in multiple volumes in a pod" test/e2e/common/projected_secret.go: "should be consumable in multiple volumes in a pod"
test/e2e/common/projected_secret.go: "optional updates should be reflected in volume" test/e2e/common/projected_secret.go: "optional updates should be reflected in volume"
test/e2e/common/runtime.go: "should run with the expected status" test/e2e/common/runtime.go: "should run with the expected status"
test/e2e/common/runtime.go: "should report termination message if TerminationMessagePath is set as non-root user and at a non-default path"
test/e2e/common/secrets.go: "should be consumable from pods in env vars" test/e2e/common/secrets.go: "should be consumable from pods in env vars"
test/e2e/common/secrets.go: "should be consumable via the environment" test/e2e/common/secrets.go: "should be consumable via the environment"
test/e2e/common/secrets_volume.go: "should be consumable from pods in volume" test/e2e/common/secrets_volume.go: "should be consumable from pods in volume"
......
...@@ -174,8 +174,13 @@ while true; do sleep 1; done ...@@ -174,8 +174,13 @@ while true; do sleep 1; done
matchTerminationMessage(container, v1.PodSucceeded, Equal("DONE")) matchTerminationMessage(container, v1.PodSucceeded, Equal("DONE"))
}) })
It("should report termination message [LinuxOnly] if TerminationMessagePath is set as non-root user and at a non-default path [NodeConformance]", func() { /*
// Cannot mount files in Windows Containers. Release: v1.15
Name: Container Runtime, TerminationMessagePath, non-root user and non-default path
Description: Create a pod with a container to run it as a non-root user with a custom TerminationMessagePath set. Pod redirects the output to the provided path successfully. When the container is terminated, the termination message MUST match the expected output logged in the provided custom path.
[LinuxOnly]: Tagged LinuxOnly due to use of 'uid' and unable to mount files in Windows Containers.
*/
framework.ConformanceIt("should report termination message [LinuxOnly] if TerminationMessagePath is set as non-root user and at a non-default path [NodeConformance]", func() {
container := v1.Container{ container := v1.Container{
Image: framework.BusyBoxImage, Image: framework.BusyBoxImage,
Command: []string{"/bin/sh", "-c"}, Command: []string{"/bin/sh", "-c"},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment