Change:
package e2e_node import ( <ins> . "github.com/onsi/ginkgo" </ins> "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" <ins> "k8s.io/apimachinery/pkg/util/uuid" </ins> "k8s.io/kubernetes/pkg/kubelet" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" "k8s.io/kubernetes/test/e2e/framework" <del> . "github.com/onsi/ginkgo" </del> ) const ( <del> logString = "This is the expected log content of this node e2e test" logPodName    = "logger-pod" logContName   = "logger-container" checkPodName  = "checker-pod" checkContName = "checker-container" </del> <ins> logString        = "This is the expected log content of this node e2e test" logContainerName = "logger" </ins> ) var _ = framework.KubeDescribe("ContainerLogPath [NodeConformance]", func() { f := framework.NewDefaultFramework("kubelet-container-log-path") <ins> var podClient *framework.PodClient </ins> Describe("Pod with a container", func() { Context("printed log to stdout", func() { <del> BeforeEach(func() { if framework.TestContext.ContainerRuntime == "docker" { // Container Log Path support requires JSON logging driver. // It does not work when Docker daemon is logging to journald. d, err := getDockerLoggingDriver() framework.ExpectNoError(err) if d != "json-file" { framework.Skipf("Skipping because Docker daemon is using a logging driver other than "json-file": %s", d) } // Even if JSON logging is in use, this test fails if SELinux support // is enabled, since the isolation provided by the SELinux policy // prevents processes running inside Docker containers (under SELinux // type svirt_lxc_net_t) from accessing the log files which are owned // by Docker (and labeled with the container_var_lib_t type.) // // Therefore, let's also skip this test when running with SELinux // support enabled. e, err := isDockerSELinuxSupportEnabled() framework.ExpectNoError(err) if e { framework.Skipf("Skipping because Docker daemon is running with SELinux support enabled") } } }) It("should print log to correct log path", func() { podClient := f.PodClient() ns := f.Namespace.Name logDirVolumeName := "log-dir-vol" logDir := kubelet.ContainerLogsDir logPod := &v1.Pod{ </del> <ins> makeLogPod := func(podName, log string) *v1.Pod { return &v1.Pod{ </ins> ObjectMeta: metav1.ObjectMeta{ <del> Name: logPodName, </del> <ins> Name: podName, </ins> }, Spec: v1.PodSpec{ // this pod is expected to exit successfully

Discussion:
The should be updated to check CRI log paths.
Issues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale
Stale issues rot after 30d of inactivity. Mark the issue as fresh with . Rotten issues close after an additional 30d of inactivity. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle rotten
May I try to help with this?
GitHub didn't allow me to assign the following users: fatsheep9146. Note that only and repo collaborators can be assigned. For more information please see <detailsIn response to : /assign Instructions for interacting with me using PR comments are available . If you have questions or suggestions related to my behavior, please file an issue against the repository. </details