kubernetes/test/e2e_node
Filipe Brandenburger e98ba5021e Skip log path tests when they are expected to fail.
The log path test is not expected to pass unless the Docker is using the
JSON logging driver, since that's what the log path is trying to find.
When Docker is using the journald logging driver, there will be no JSON
files in the logging directories for it to find.

Furthermore, when SELinux support is enabled in the Docker daemon,
SELinux will prevent processes running inside Docker containers from
accessing the log files owned by Docker (which is what this test is
trying to accomplish), so let's also skip this test in case SELinux
support is enabled.

Tested:

- With Docker daemon started using --log-driver=journald:

    S [SKIPPING] in Spec Setup (BeforeEach) [8.193 seconds]
    [k8s.io] ContainerLogPath
      Pod with a container
        printed log to stdout
          should print log to correct log path [BeforeEach]
          Jan  3 18:33:44.869: Skipping because Docker daemon is using a logging driver other than "json-file": journald

- With Docker daemon started using --selinux-enabled:

    S [SKIPPING] in Spec Setup (BeforeEach) [8.488 seconds]
    [k8s.io] ContainerLogPath
      Pod with a container
        printed log to stdout
          should print log to correct log path [BeforeEach]
          Jan  3 18:35:58.909: Skipping because Docker daemon is running with SELinux support enabled

- With Docker started using JSON logging driver and with SELinux disabled:

    • [SLOW TEST:16.352 seconds]  (passed)
    [k8s.io] ContainerLogPath
      Pod with a container
        printed log to stdout
          should print log to correct log path
    Ran 1 of 256 Specs in 36.428 seconds
    SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 255 Skipped
2018-01-19 10:51:13 -08:00
..
builder cluster: build gci mounter like other go binaries 2017-10-30 13:56:09 -07:00
conformance Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
environment Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
jenkins e2e node framework can generate a base kubelet config file 2018-01-04 16:47:04 -08:00
perftype update BUILD files 2017-10-15 18:18:13 -07:00
remote Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
runner Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
services Merge pull request #57976 from Random-Liu/node-e2e-non-docker-specific 2018-01-09 17:26:40 -08:00
system Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
apparmor_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
benchmark_util.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
BUILD Skip log path tests when they are expected to fail. 2018-01-19 10:51:13 -08:00
container_manager_test.go Remove unnecessary docker specific logic in node e2e test. 2018-01-09 22:59:17 +00:00
container.go run hack/update-all 2017-06-22 11:31:03 -07:00
cpu_manager_test.go Fix policy conflict in the CPU manager node e2e test. 2018-01-10 09:38:00 -08:00
critical_pod_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
density_test.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
device_plugin.go Add e2e test logic for device plugin 2018-01-11 14:41:45 +08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
docker_test.go Use whitelisted test image 2017-11-10 14:16:27 -08:00
docker_util.go Skip log path tests when they are expected to fail. 2018-01-19 10:51:13 -08:00
dockershim_checkpoint_test.go Remove unnecessary docker specific logic in node e2e test. 2018-01-09 22:59:17 +00:00
dynamic_kubelet_config_test.go Make ConfigOK status messages more human readable by including the API path to the object instead of the UID 2018-01-03 16:05:43 -08:00
e2e_node_suite_test.go Fix code implicitly casting clientsets to getters 2017-08-06 15:30:13 +02:00
eviction_test.go Merge pull request #56661 from xiangpengzhao/move-kubelet-constants 2017-12-16 05:46:35 -08:00
framework.go Add [sig-node] to some unowned e2e_node tests 2017-11-27 11:35:44 -05:00
garbage_collector_test.go Remove unnecessary docker specific logic in node e2e test. 2018-01-09 22:59:17 +00:00
gke_environment_test.go Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
gpu_device_plugin.go Move common functions together 2018-01-10 09:47:05 +08:00
gpus.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
gubernator.sh cluster: move logging library to hack/ 2018-01-13 16:37:50 -08:00
image_id_test.go Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
image_list.go Add getCRIClient and set default values for CRI related flags 2018-01-09 22:59:17 +00:00
kubelet_test.go Use framework.ConformanceIt for node e2e conformance tests 2017-11-17 17:28:20 +08:00
lifecycle_hook_test.go Use framework.ConformanceIt for node e2e conformance tests 2017-11-17 17:28:20 +08:00
log_path_test.go Skip log path tests when they are expected to fail. 2018-01-19 10:51:13 -08:00
memory_eviction_test.go Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
mirror_pod_test.go Use framework.ConformanceIt for node e2e conformance tests 2017-11-17 17:28:20 +08:00
node_container_manager_test.go Merge pull request #55898 from dashpole/fix_flaky_allocatable 2017-11-18 13:13:24 -08:00
node_problem_detector_linux.go Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
OWNERS Add balajismaniam, ConnorDoyle node-e2e approvers 2017-11-22 10:01:14 -08:00
pods_container_manager_test.go e2e-node:the value of bestEffortCgroup is wrong 2017-10-27 17:10:53 +08:00
README.md Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
resource_collector.go Benchmark non docker specific 2018-01-16 15:38:35 +08:00
resource_usage_test.go Add [sig-node] to some unowned e2e_node tests 2017-11-27 11:35:44 -05:00
restart_test.go Remove unnecessary docker specific logic in node e2e test. 2018-01-09 22:59:17 +00:00
runtime_conformance_test.go Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
security_context_test.go use multi-arch busybox for e2e 2017-10-19 10:36:31 +08:00
simple_mount.go run hack/update-all 2017-06-22 11:31:03 -07:00
summary_test.go Merge pull request #55984 from derekwaynecarr/summary-tests 2017-12-13 23:25:59 -08:00
util.go Merge pull request #54792 from ScorpioCPH/add-stub-device-plugin-for-e2e 2018-01-12 04:05:55 -08:00
volume_manager_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30