Skip to content

Commit

Permalink
Cleanup tests (kubernetes-sigs#8234)
Browse files Browse the repository at this point in the history
* Add Fedora 35 image, support and CI

* Cleanup tests and allow_failure for vagrant
  • Loading branch information
floryut authored Nov 26, 2021
1 parent e78bda6 commit a5f88e1
Show file tree
Hide file tree
Showing 66 changed files with 56 additions and 180 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ variables:
TEST_ID: "$CI_PIPELINE_ID-$CI_BUILD_ID"
CI_TEST_VARS: "./tests/files/${CI_JOB_NAME}.yml"
CI_TEST_REGISTRY_MIRROR: "./tests/common/_docker_hub_registry_mirror.yml"
CI_TEST_SETTING: "./tests/common/_kubespray_test_settings.yml"
GS_ACCESS_KEY_ID: $GS_KEY
GS_SECRET_ACCESS_KEY: $GS_SECRET
CONTAINER_ENGINE: docker
Expand Down
6 changes: 5 additions & 1 deletion .gitlab-ci/packet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ packet_centos7-flannel-addons-ha:
extends: .packet_pr
stage: deploy-part2
when: on_success
allow_failure: true

packet_centos8-crio:
extends: .packet_pr
Expand Down Expand Up @@ -150,6 +149,11 @@ packet_fedora34-docker-weave:
extends: .packet_pr
when: on_success

packet_fedora35-kube-router:
stage: deploy-part2
extends: .packet_pr
when: on_success

packet_opensuse-canal:
stage: deploy-part2
extends: .packet_periodic
Expand Down
1 change: 1 addition & 0 deletions .gitlab-ci/vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ molecule_tests:
- ./tests/scripts/testcases_run.sh
after_script:
- chronic ./tests/scripts/testcases_cleanup.sh
allow_failure: true

vagrant_ubuntu18-calico-dual-stack:
stage: deploy-part2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ vagrant up
- **Debian** Bullseye, Buster, Jessie, Stretch
- **Ubuntu** 16.04, 18.04, 20.04
- **CentOS/RHEL** 7, [8](docs/centos8.md)
- **Fedora** 33, 34
- **Fedora** 33, 34, 35
- **Fedora CoreOS** (see [fcos Note](docs/fcos.md))
- **openSUSE** Leap 15.x/Tumbleweed
- **Oracle Linux** 7, [8](docs/centos8.md)
Expand Down
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ SUPPORTED_OS = {
"centos8-bento" => {box: "bento/centos-8", user: "vagrant"},
"fedora33" => {box: "fedora/33-cloud-base", user: "vagrant"},
"fedora34" => {box: "fedora/34-cloud-base", user: "vagrant"},
"fedora35" => {box: "fedora/35-cloud-base", user: "vagrant"},
"opensuse" => {box: "bento/opensuse-leap-15.2", user: "vagrant"},
"opensuse-tumbleweed" => {box: "opensuse/Tumbleweed.x86_64", user: "vagrant"},
"oraclelinux" => {box: "generic/oracle7", user: "vagrant"},
Expand Down
3 changes: 3 additions & 0 deletions docs/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ debian11 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
debian9 | :x: | :x: | :x: | :x: | :x: | :x: | :white_check_mark: | :x: | :x: |
fedora33 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
fedora34 | :white_check_mark: | :x: | :x: | :x: | :white_check_mark: | :x: | :x: | :x: | :x: |
fedora35 | :x: | :x: | :x: | :x: | :x: | :white_check_mark: | :x: | :x: | :x: |
opensuse | :x: | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
oracle7 | :x: | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
ubuntu16 | :x: | :white_check_mark: | :x: | :white_check_mark: | :x: | :white_check_mark: | :x: | :x: | :x: |
Expand All @@ -32,6 +33,7 @@ debian11 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
debian9 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
fedora33 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
fedora34 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
fedora35 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
opensuse | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
oracle7 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
ubuntu16 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
Expand All @@ -50,6 +52,7 @@ debian11 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
debian9 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
fedora33 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
fedora34 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :white_check_mark: |
fedora35 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
opensuse | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
oracle7 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
ubuntu16 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :white_check_mark: |
Expand Down
2 changes: 0 additions & 2 deletions roles/kubernetes/node/vars/fedora-34.yml

This file was deleted.

File renamed without changes.
4 changes: 4 additions & 0 deletions roles/kubernetes/preinstall/tasks/0010-swapoff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@
command: /sbin/swapoff -a
when: swapon.stdout
ignore_errors: "{{ ansible_check_mode }}" # noqa ignore-errors

- name: Disable swapOnZram for Fedora
command: touch /etc/systemd/zram-generator.conf
when: swapon.stdout and ansible_distribution in ['Fedora']
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ images:
converted: true
tag: "latest"

fedora-35:
filename: Fedora-Cloud-Base-35-1.2.x86_64.qcow2
url: https://download.fedoraproject.org/pub/fedora/linux/releases/35/Cloud/x86_64/images/Fedora-Cloud-Base-35-1.2.x86_64.qcow2
checksum: sha256:fe84502779b3477284a8d4c86731f642ca10dd3984d2b5eccdf82630a9ca2de6
converted: true
tag: "latest"

fedora-coreos:
filename: fedora-coreos-32.20200601.3.0-openstack.x86_64.qcow2.xz
url: https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/32.20200601.3.0/x86_64/fedora-coreos-32.20200601.3.0-openstack.x86_64.qcow2.xz
Expand Down
1 change: 1 addition & 0 deletions tests/cloud_playbooks/roles/packet-ci/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ cloud_init:
debian-11: "I2Nsb3VkLWNvbmZpZwp1c2VyczoKIC0gbmFtZToga3ViZXNwcmF5CiAgIHN1ZG86IEFMTD0oQUxMKSBOT1BBU1NXRDpBTEwKICAgc2hlbGw6IC9iaW4vYmFzaAogICBob21lOiAvaG9tZS91YnVudHUKICAgc3NoX2F1dGhvcml6ZWRfa2V5czoKICAgICAtIHNzaC1yc2EgQUFBQUIzTnphQzF5YzJFQUFBQURBUUFCQUFBQkFRQ2FuVGkvZUt4MCt0SFlKQWVEaHErc0ZTMk9iVVAxL0k2OWY3aVYzVXRrS2xUMjBKZlcxZjZGZVh0LzA0VmYyN1dRcStOcXM2dkdCcUQ5UVhTWXVmK3QwL3M3RVBMalRlaTltZTFtcHFyK3VUZStLRHRUUDM5cGZEMy9lVkNhZUI3MjZHUDJGa2FEMEZ6cG1FYjY2TzNOcWh4T1E5Nkd4LzlYVHV3L0szbGxqNE9WRDZHcmpSM0I3YzRYdEVCc1pjWnBwTUovb0gxbUd5R1hkaDMxbVdRU3FBUk8vUDhVOEd3dDArSEdwVXdoL2hkeTN0K1NZb1RCMkd3VmIwem95Vnd0VnZmRFF6c204ZnEzYXY0S3ZlejhrWXVOREp2MDV4NGx2VVpnUjE1WkRSWHNBbmRoUXlxb1hkQ0xBZTArZWFLWHE5QmtXeEtGYjloUGUwQVVqam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laTltZTFtcHFyK3VUZStLRHRUUDM5cGZEMy9lVkNhZUI3MjZHUDJGa2FEMEZ6cG1FYjY2TzNOcWh4T1E5Nkd4LzlYVHV3L0szbGxqNE9WRDZHcmpSM0I3YzRYdEVCc1pjWnBwTUovb0gxbUd5R1hkaDMxbVdRU3FBUk8vUDhVOEd3dDArSEdwVXdoL2hkeTN0K1NZb1RCMkd3VmIwem95Vnd0VnZmRFF6c204ZnEzYXY0S3ZlejhrWXVOREp2MDV4NGx2VVpnUjE1WkRSWHNBbmRoUXlxb1hkQ0xBZTArZWFLWHE5QmtXeEtGYjloUGUwQVVqamE1Cgo="
Expand Down
4 changes: 4 additions & 0 deletions tests/common/_docker_hub_registry_mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ crio_registries_mirrors:

netcheck_agent_image_repo: "{{ quay_image_repo }}/kubespray/k8s-netchecker-agent"
netcheck_server_image_repo: "{{ quay_image_repo }}/kubespray/k8s-netchecker-server"

# Kubespray settings for tests
deploy_netchecker: true
dns_min_replicas: 1
4 changes: 4 additions & 0 deletions tests/common/_kubespray_test_settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
# Kubespray settings for tests
deploy_netchecker: true
dns_min_replicas: 1
4 changes: 0 additions & 4 deletions tests/files/packet_amazon-linux-2-aio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,3 @@
# Instance settings
cloud_image: amazon-linux-2
mode: aio

# Kubespray settings
deploy_netchecker: true
dns_min_replicas: 1
4 changes: 0 additions & 4 deletions tests/files/packet_centos7-calico-ha-once-localhost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@ cloud_image: centos-7
mode: ha

# Kubespray settings
kube_network_plugin: calico
download_localhost: true
download_run_once: true
deploy_netchecker: true
dns_min_replicas: 1
typha_enabled: true
calico_backend: kdd
typha_secure: true
disable_ipv6_dns: true

auto_renew_certificates: true

# Docker settings
Expand Down
4 changes: 0 additions & 4 deletions tests/files/packet_centos7-calico-ha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ cloud_image: centos-7
mode: ha

# Kubespray settings
kube_network_plugin: calico
download_localhost: false
download_run_once: true
deploy_netchecker: true
dns_min_replicas: 1
typha_enabled: true
calico_backend: kdd
typha_secure: true

auto_renew_certificates: true
2 changes: 0 additions & 2 deletions tests/files/packet_centos7-docker-weave-upgrade-ha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ mode: ha

# Kubespray settings
kube_network_plugin: weave
deploy_netchecker: true
kubernetes_audit: true
dns_min_replicas: 1

# Docker specific settings:
container_manager: docker
Expand Down
2 changes: 0 additions & 2 deletions tests/files/packet_centos7-flannel-addons-ha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ krew_enabled: true
kubernetes_audit: true
etcd_events_cluster_enabled: true
local_volume_provisioner_enabled: true
deploy_netchecker: true
dns_min_replicas: 1
kube_encrypt_secret_data: true
ingress_nginx_enabled: true
cert_manager_enabled: true
Expand Down
2 changes: 0 additions & 2 deletions tests/files/packet_centos7-kube-router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ mode: default

# Kubespray settings
kube_network_plugin: kube-router
deploy_netchecker: true
enable_network_policy: true
dns_min_replicas: 1
3 changes: 0 additions & 3 deletions tests/files/packet_centos7-multus-calico.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,3 @@ mode: default

# Kubespray settings
kube_network_plugin_multus: true
kube_network_plugin: calico
deploy_netchecker: true
dns_min_replicas: 1
4 changes: 0 additions & 4 deletions tests/files/packet_centos8-calico-ha-ebpf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ mode: ha
vm_memory: 3072Mi

# Kubespray settings
kube_network_plugin: calico
deploy_netchecker: true

calico_bpf_enabled: true
loadbalancer_apiserver_localhost: true
use_localhost_as_kubeapi_loadbalancer: true

auto_renew_certificates: true
3 changes: 0 additions & 3 deletions tests/files/packet_centos8-calico-nodelocaldns-secondary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ mode: default
vm_memory: 3072Mi

# Kubespray settings
kube_network_plugin: calico
deploy_netchecker: true
dns_min_replicas: 1
enable_nodelocaldns_secondary: true
loadbalancer_apiserver_type: haproxy

Expand Down
3 changes: 0 additions & 3 deletions tests/files/packet_centos8-calico.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ mode: default
vm_memory: 3072Mi

# Kubespray settings
kube_network_plugin: calico
deploy_netchecker: true
dns_min_replicas: 1
metrics_server_enabled: true
dashboard_namespace: "kube-dashboard"
dashboard_enabled: true
Expand Down
5 changes: 1 addition & 4 deletions tests/files/packet_centos8-crio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ cloud_image: centos-8
mode: default

# Kubespray settings
deploy_netchecker: true
dns_min_replicas: 1
container_manager: crio
auto_renew_certificates: true

# required
calico_iptables_backend: "Auto"

auto_renew_certificates: true
4 changes: 0 additions & 4 deletions tests/files/packet_centos8-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ cloud_image: centos-8
mode: default
vm_memory: 3072Mi

# Kubespray settings
deploy_netchecker: true
dns_min_replicas: 1

# required
calico_iptables_backend: "Auto"

Expand Down
2 changes: 0 additions & 2 deletions tests/files/packet_centos8-kube-ovn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ vm_memory: 3072Mi

# Kubespray settings
kube_network_plugin: kube-ovn
deploy_netchecker: true
dns_min_replicas: 1
6 changes: 2 additions & 4 deletions tests/files/packet_debian10-aio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ cloud_image: debian-10
mode: default

# Kubespray settings
deploy_netchecker: true
dns_min_replicas: 1
auto_renew_certificates: true

# plugins
helm_enabled: true
krew_enabled: true

auto_renew_certificates: true
3 changes: 0 additions & 3 deletions tests/files/packet_debian10-calico-upgrade-once.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ cloud_image: debian-10
mode: default

# Kubespray settings
kube_network_plugin: calico
deploy_netchecker: true
dns_min_replicas: 1
download_run_once: true

# Docker specific settings:
Expand Down
5 changes: 0 additions & 5 deletions tests/files/packet_debian10-calico-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
cloud_image: debian-10
mode: default

# Kubespray settings
kube_network_plugin: calico
deploy_netchecker: true
dns_min_replicas: 1

# Docker specific settings:
container_manager: docker
etcd_deployment_type: docker
2 changes: 0 additions & 2 deletions tests/files/packet_debian10-cilium-svc-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ mode: ha

# Kubespray settings
kube_network_plugin: cilium
deploy_netchecker: true
enable_network_policy: true
dns_min_replicas: 1

cilium_kube_proxy_replacement: strict
4 changes: 0 additions & 4 deletions tests/files/packet_debian10-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
cloud_image: debian-10
mode: default

# Kubespray settings
deploy_netchecker: true
dns_min_replicas: 1

# Use docker
container_manager: docker
etcd_deployment_type: docker
4 changes: 0 additions & 4 deletions tests/files/packet_debian11-calico.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,3 @@
# Instance settings
cloud_image: debian-11
mode: default

# Kubespray settings
deploy_netchecker: true
dns_min_replicas: 1
4 changes: 0 additions & 4 deletions tests/files/packet_debian11-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
cloud_image: debian-11
mode: default

# Kubespray settings
deploy_netchecker: true
dns_min_replicas: 1

# Use docker
container_manager: docker
etcd_deployment_type: docker
3 changes: 0 additions & 3 deletions tests/files/packet_debian9-macvlan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ mode: default

# Kubespray settings
kube_network_plugin: macvlan
deploy_netchecker: true
enable_nodelocaldns: false
dns_min_replicas: 1
kube_proxy_masquerade_all: true
macvlan_interface: "eth0"

auto_renew_certificates: true
4 changes: 0 additions & 4 deletions tests/files/packet_fedora33-calico.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@ cloud_image: fedora-33
mode: default

# Kubespray settings
deploy_netchecker: true
dns_min_replicas: 1
kube_network_plugin: calico

auto_renew_certificates: true
4 changes: 0 additions & 4 deletions tests/files/packet_fedora34-calico-selinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ cloud_image: fedora-34
mode: default

# Kubespray settings
deploy_netchecker: true
dns_min_replicas: 1
kube_network_plugin: calico

auto_renew_certificates: true

# Test with SELinux in enforcing mode
Expand Down
2 changes: 0 additions & 2 deletions tests/files/packet_fedora34-docker-weave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ cloud_image: fedora-34
mode: default

# Kubespray settings
deploy_netchecker: true
dns_min_replicas: 1
kube_network_plugin: weave

# Docker specific settings:
Expand Down
2 changes: 0 additions & 2 deletions tests/files/packet_fedora34-kube-ovn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ cloud_image: fedora-34
mode: default

# Kubespray settings
deploy_netchecker: true
dns_min_replicas: 1
kube_network_plugin: kube-ovn
7 changes: 7 additions & 0 deletions tests/files/packet_fedora35-kube-router.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
# Instance settings
cloud_image: fedora-35
mode: default

# Kubespray settings
kube_network_plugin: kube-router
3 changes: 0 additions & 3 deletions tests/files/packet_opensuse-canal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@ mode: default
# Kubespray settings
calico_datastore: etcd
kube_network_plugin: canal
deploy_netchecker: true
dns_min_replicas: 1

auto_renew_certificates: true
Loading

0 comments on commit a5f88e1

Please sign in to comment.