Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Conformance tests assume kubeadm environment #5674

Open
surajssd opened this issue May 30, 2023 · 0 comments
Open

Conformance tests assume kubeadm environment #5674

surajssd opened this issue May 30, 2023 · 0 comments
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.

Comments

@surajssd
Copy link
Contributor

surajssd commented May 30, 2023

The conformance test assume that you are running with kubeadm and tries to clean up the environment like crio, flannel, etc.

$ ./integration/kubernetes/e2e_conformance/run.sh
...
INFO: View sonobuoy status
         PLUGIN     STATUS   RESULT   COUNT                 PROGRESS
            e2e   complete   failed       1   Passed: 91, Failed:  6
   systemd-logs   complete   passed       4

Sonobuoy has completed. Use `sonobuoy retrieve` to get results.
INFO[0000] delete request issued                         kind=namespace namespace=sonobuoy
INFO[0000] delete request issued                         kind=clusterrolebindings
INFO[0000] delete request issued                         kind=clusterroles
secret "pod-annotate-webhook-certs" deleted
mutatingwebhookconfiguration.admissionregistration.k8s.io "pod-annotate-webhook" deleted
deployment.apps "pod-annotate-webhook" deleted
service "pod-annotate-webhook" deleted
~/code/work/kata-tests
INFO: Clean up the environment
[cleanup_env.sh:32] INFO: Reset Kubernetes
sudo: kubeadm: command not found
[cleanup_env.sh:36] INFO: Teardown the registry server
[cleanup_env.sh:278] INFO: restart docker service
[cleanup_env.sh:40] INFO: Stop crio service
Failed to stop crio.service: Unit crio.service not loaded.
[cleanup_env.sh:43] INFO: Remove network devices
[cleanup_env.sh:45] INFO: remove device: cni0
Cannot find device "cni0"
Cannot find device "cni0"
[cleanup_env.sh:45] INFO: remove device: flannel.1
Cannot find device "flannel.1"
Cannot find device "flannel.1"
[cleanup_env.sh:55] INFO: Check no kata processes are left behind after reseting kubernetes
/home/surajssd/kata-tests/integration/kubernetes/../../lib/common.bash: line 136: kata-runtime: command not found
/home/surajssd/kata-tests/integration/kubernetes/../../lib/common.bash: line 137: kata-runtime: command not found
/home/surajssd/kata-tests/integration/kubernetes/../../lib/common.bash: line 138: kata-runtime: command not found
/home/surajssd/kata-tests/integration/kubernetes/../../lib/common.bash: line 139: kata-runtime: command not found
readlink: missing operand
Try 'readlink --help' for more information.
/home/surajssd/kata-tests/integration/kubernetes/../../lib/common.bash: line 145: kata-runtime: command not found
/home/surajssd/kata-tests/integration/kubernetes/../../lib/common.bash: line 148: --version: command not found
/home/surajssd/kata-tests/integration/kubernetes/../../lib/common.bash: line 150: kata-runtime: command not found
/home/surajssd/kata-tests/integration/kubernetes/../../lib/common.bash: line 152: kata-runtime: command not found
[cleanup_env.sh:58] INFO: Checks that pods were not left
Not /run/vc/sbs directory found
@surajssd surajssd added bug Incorrect behaviour needs-review Needs to be assessed by the team. labels May 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.
Projects
None yet
Development

No branches or pull requests

1 participant