Log: /mnt/jenkins/workspace/cloud-pxc-operator_PR-2427/e2e-tests/logs/scheduled-backup-8-0.log Warning: version difference between client (1.35) and server (1.32) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.35) and server (1.32) exceeds the supported minor version skew of +/-1 + main + create_infra scheduled-backup-4618 + local ns=scheduled-backup-4618 + '[' -n pxc-operator ']' + kubectl get pxc --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch pxc -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' + kubectl patch pxc -n scheduled-backup-30952 scheduled-backup --type=merge -p '{"metadata":{"finalizers":[]}}' perconaxtradbcluster.pxc.percona.com/scheduled-backup patched (no change) + kubectl_bin delete pxc --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.Bnu8uFJplP ++ mktemp + local LAST_ERR=/tmp/tmp.MeH7bMTKSf + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete pxc --all --all-namespaces + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.Bnu8uFJplP perconaxtradbcluster.pxc.percona.com "scheduled-backup" deleted from scheduled-backup-30952 namespace + cat /tmp/tmp.MeH7bMTKSf + rm /tmp/tmp.Bnu8uFJplP /tmp/tmp.MeH7bMTKSf + return 0 + kubectl_bin delete pxc-backup --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.13AQO2CiGM ++ mktemp + local LAST_ERR=/tmp/tmp.yDadfElADs + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete pxc-backup --all --all-namespaces + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.13AQO2CiGM perconaxtradbclusterbackup.pxc.percona.com "cron-scheduled-backup-aws-s3-20264813260-q6fav" deleted from scheduled-backup-30952 namespace perconaxtradbclusterbackup.pxc.percona.com "cron-scheduled-backup-azure-blob-20264813242-q6fav" deleted from scheduled-backup-30952 namespace perconaxtradbclusterbackup.pxc.percona.com "cron-scheduled-backup-gcp-cs-20264813220-q6fav" deleted from scheduled-backup-30952 namespace perconaxtradbclusterbackup.pxc.percona.com "cron-scheduled-backup-minio-202648131616-q6fav" deleted from scheduled-backup-30952 namespace perconaxtradbclusterbackup.pxc.percona.com "cron-scheduled-backup-pvc-20264813129-q6fav" deleted from scheduled-backup-30952 namespace + cat /tmp/tmp.yDadfElADs + rm /tmp/tmp.13AQO2CiGM /tmp/tmp.yDadfElADs + return 0 + kubectl_bin delete pxc-restore --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.6A2Qd1mN1O ++ mktemp + local LAST_ERR=/tmp/tmp.RqDPSH92N5 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete pxc-restore --all --all-namespaces + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.6A2Qd1mN1O perconaxtradbclusterrestore.pxc.percona.com "aws-s3-20264813260-q6fav" deleted from scheduled-backup-30952 namespace perconaxtradbclusterrestore.pxc.percona.com "azure-blob-20264813242-q6fav" deleted from scheduled-backup-30952 namespace perconaxtradbclusterrestore.pxc.percona.com "gcp-cs-20264813220-q6fav" deleted from scheduled-backup-30952 namespace perconaxtradbclusterrestore.pxc.percona.com "minio-202648131616-q6fav" deleted from scheduled-backup-30952 namespace perconaxtradbclusterrestore.pxc.percona.com "pvc-20264813129-q6fav" deleted from scheduled-backup-30952 namespace + cat /tmp/tmp.RqDPSH92N5 + rm /tmp/tmp.6A2Qd1mN1O /tmp/tmp.RqDPSH92N5 + return 0 + create_namespace pxc-operator + local namespace=pxc-operator + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// + local chaos_mesh_ns= + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + grep -E -v '^kube-|^default|Terminating|pxc-operator|openshift|^gke-|^gmp-|^NAME' + awk '{print$1}' + '[' -n '' ']' + desc 'cleaned up old namespaces pxc-operator' + xargs kubectl delete ns + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces pxc-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace pxc-operator + kubectl_bin get ns ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.s5db6QcIQD + local LAST_OUT=/tmp/tmp.gBUneONEaE ++ mktemp ++ mktemp + local LAST_ERR=/tmp/tmp.UgFN3jN5Yl + local exit_status=0 + local LAST_ERR=/tmp/tmp.scPKoQ1xhp + local exit_status=0 ++ seq 0 2 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl get ns + for i in '$(seq 0 2)' + set +e + kubectl delete namespace pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.s5db6QcIQD + cat /tmp/tmp.UgFN3jN5Yl + rm /tmp/tmp.s5db6QcIQD /tmp/tmp.UgFN3jN5Yl + return 0 namespace "scheduled-backup-30952" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.gBUneONEaE namespace "pxc-operator" deleted + cat /tmp/tmp.scPKoQ1xhp + rm /tmp/tmp.gBUneONEaE /tmp/tmp.scPKoQ1xhp + return 0 + wait_for_delete namespace/pxc-operator + local res=namespace/pxc-operator + echo -n 'waiting for namespace/pxc-operator to be deleted' waiting for namespace/pxc-operator to be deleted+ set +o xtrace Error from server (NotFound): namespaces "pxc-operator" not found + desc 'create namespace pxc-operator' + set +o xtrace ----------------------------------------------------------------------------------- create namespace pxc-operator ----------------------------------------------------------------------------------- + kubectl_bin create namespace pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.BX5a58zHeh ++ mktemp + local LAST_ERR=/tmp/tmp.jRmlUHdJQA + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create namespace pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.BX5a58zHeh namespace/pxc-operator created + cat /tmp/tmp.jRmlUHdJQA + rm /tmp/tmp.BX5a58zHeh /tmp/tmp.jRmlUHdJQA + return 0 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.wZmm7Ky41B +++ mktemp ++ local LAST_ERR=/tmp/tmp.Q351gHgMjL ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.wZmm7Ky41B ++ cat /tmp/tmp.Q351gHgMjL ++ rm /tmp/tmp.wZmm7Ky41B /tmp/tmp.Q351gHgMjL ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-2427-d4f7121d-1-cluster8 --namespace=pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.5WvoafNHGB ++ mktemp + local LAST_ERR=/tmp/tmp.pUNqZEZ5xf + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-2427-d4f7121d-1-cluster8 --namespace=pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.5WvoafNHGB Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-2427-d4f7121d-1-cluster8" modified. + cat /tmp/tmp.pUNqZEZ5xf + rm /tmp/tmp.5WvoafNHGB /tmp/tmp.pUNqZEZ5xf + return 0 + deploy_operator + desc 'start PXC operator' + set +o xtrace ----------------------------------------------------------------------------------- start PXC operator ----------------------------------------------------------------------------------- + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2427/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.xRdCtzX1KD ++ mktemp + local LAST_ERR=/tmp/tmp.o07gSHUfYW + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2427/deploy/crd.yaml