Skip to content
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

kola/test: disable tests that won't work with docker 20.10 #192

Merged
merged 1 commit into from Aug 9, 2021

Conversation

jepio
Copy link
Member

@jepio jepio commented Jul 16, 2021

Disable old tests for alpha channel

docker 1.9 and kubernetes <1.19 are not compatible with docker 20 that we are rolling into alpha. These tests need to be excluded, to be removed later.

How to use

Fetch the image from http://jenkins.infra.kinvolk.io:8080/job/os/job/manifest/3035/ and run test (kola run)

Testing done

kola run

See also flatcar-archive/coreos-overlay#931

kola/tests/kubernetes/basic.go Outdated Show resolved Hide resolved
@jepio jepio force-pushed the jepio/disable-legacy-docker-tests-on-alpha branch 2 times, most recently from aff2741 to 3ff956e Compare August 9, 2021 15:13
These tests are 'docker.oldclient' and 'google.kubernetes.basic.docker.*'.

'docker.oldclient' tries to run docker cli 1.9 against daemon in the
image, and fails with:

  --- FAIL: docker.oldclient (29.22s)
          cluster.go:117: Error response from daemon: 400 Bad Request: malformed Host header
          cluster.go:130: "/home/core/docker-1.9.1 run echo echo 'IT WORKED'" failed: output , status Process exited with status 1

This is related to moby/moby#39076, merged into
20.10 which removed some backwards compatibility.

The 'google.kubernetes.basic.docker.*' tests fails with the following
message in journal:

  Jul 15 14:17:42.446942 kubelet[4663]: F0715 14:17:42.446505    4663 server.go:274] failed to run Kubelet: misconfiguration: kubelet cgroup driver: "cgroupfs" is different from docker cgroup driver: "systemd"

Kubernetes release 1.19 is the first one that properly supports the unified cgroup hierarchy.
We also have other tests that test that kubernetes works (kubeadm) so we
can disable the legacy ones.

The old tests should be removed once the docker 20.10 upgrade has
propagated to all channels.

See also flatcar-archive/coreos-overlay#931

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
@jepio jepio force-pushed the jepio/disable-legacy-docker-tests-on-alpha branch from 3ff956e to 6d21aef Compare August 9, 2021 15:26
@jepio jepio merged commit edd19b0 into flatcar-master Aug 9, 2021
@jepio jepio deleted the jepio/disable-legacy-docker-tests-on-alpha branch August 9, 2021 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants