Log: /mnt/jenkins/workspace/cloud-pxc-operator_PR-2414/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-18825 + local ns=scheduled-backup-18825 + '[' -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-1049 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.8bXqbT7Le1 ++ mktemp + local LAST_ERR=/tmp/tmp.Qabi5pLNkG + 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.8bXqbT7Le1 perconaxtradbcluster.pxc.percona.com "scheduled-backup" deleted from scheduled-backup-1049 namespace + cat /tmp/tmp.Qabi5pLNkG + rm /tmp/tmp.8bXqbT7Le1 /tmp/tmp.Qabi5pLNkG + return 0 + kubectl_bin delete pxc-backup --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.NK3H6nIXhr ++ mktemp + local LAST_ERR=/tmp/tmp.BF9eDODD3E + 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.NK3H6nIXhr perconaxtradbclusterbackup.pxc.percona.com "cron-scheduled-backup-aws-s3-202648101230-q6fav" deleted from scheduled-backup-1049 namespace perconaxtradbclusterbackup.pxc.percona.com "cron-scheduled-backup-azure-blob-202648101032-q6fav" deleted from scheduled-backup-1049 namespace perconaxtradbclusterbackup.pxc.percona.com "cron-scheduled-backup-gcp-cs-20264810836-q6fav" deleted from scheduled-backup-1049 namespace perconaxtradbclusterbackup.pxc.percona.com "cron-scheduled-backup-minio-20264810124-q6fav" deleted from scheduled-backup-1049 namespace perconaxtradbclusterbackup.pxc.percona.com "cron-scheduled-backup-pvc-20264895724-q6fav" deleted from scheduled-backup-1049 namespace + cat /tmp/tmp.BF9eDODD3E + rm /tmp/tmp.NK3H6nIXhr /tmp/tmp.BF9eDODD3E + return 0 + kubectl_bin delete pxc-restore --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.s6luBC4mkt ++ mktemp + local LAST_ERR=/tmp/tmp.SPMp3zKM4k + 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.s6luBC4mkt perconaxtradbclusterrestore.pxc.percona.com "aws-s3-202648101230-q6fav" deleted from scheduled-backup-1049 namespace perconaxtradbclusterrestore.pxc.percona.com "azure-blob-202648101032-q6fav" deleted from scheduled-backup-1049 namespace perconaxtradbclusterrestore.pxc.percona.com "gcp-cs-20264810836-q6fav" deleted from scheduled-backup-1049 namespace perconaxtradbclusterrestore.pxc.percona.com "minio-20264810124-q6fav" deleted from scheduled-backup-1049 namespace perconaxtradbclusterrestore.pxc.percona.com "pvc-20264895724-q6fav" deleted from scheduled-backup-1049 namespace + cat /tmp/tmp.SPMp3zKM4k + rm /tmp/tmp.s6luBC4mkt /tmp/tmp.SPMp3zKM4k + 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 ----------------------------------------------------------------------------------- + kubectl_bin get ns + grep -E -v '^kube-|^default|Terminating|pxc-operator|openshift|^gke-|^gmp-|^NAME' + '[' -n '' ']' + desc 'cleaned up old namespaces pxc-operator' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces pxc-operator ----------------------------------------------------------------------------------- ++ mktemp + kubectl_bin delete namespace pxc-operator ++ mktemp + awk '{print$1}' + local LAST_OUT=/tmp/tmp.ibEj7vQHV6 + xargs kubectl delete ns + local LAST_OUT=/tmp/tmp.riH97lnAwa ++ mktemp ++ mktemp + local LAST_ERR=/tmp/tmp.vnzJQAivQE + local exit_status=0 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.ZskFhd8B99 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace pxc-operator + for i in '$(seq 0 2)' + set +e + kubectl get ns + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.ibEj7vQHV6 + cat /tmp/tmp.vnzJQAivQE + rm /tmp/tmp.ibEj7vQHV6 /tmp/tmp.vnzJQAivQE + return 0 namespace "scheduled-backup-1049" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.riH97lnAwa namespace "pxc-operator" deleted + cat /tmp/tmp.ZskFhd8B99 + rm /tmp/tmp.riH97lnAwa /tmp/tmp.ZskFhd8B99 + 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.THtHs0AXNZ ++ mktemp + local LAST_ERR=/tmp/tmp.PRMvRBgv5P + 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.THtHs0AXNZ namespace/pxc-operator created + cat /tmp/tmp.PRMvRBgv5P + rm /tmp/tmp.THtHs0AXNZ /tmp/tmp.PRMvRBgv5P + return 0 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.2S7bewmtT9 +++ mktemp ++ local LAST_ERR=/tmp/tmp.kg0ictBKKU ++ 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.2S7bewmtT9 ++ cat /tmp/tmp.kg0ictBKKU ++ rm /tmp/tmp.2S7bewmtT9 /tmp/tmp.kg0ictBKKU ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-2414-d346d577-10-cluster7 --namespace=pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.pinDX8CxtX ++ mktemp + local LAST_ERR=/tmp/tmp.A3t1KYBdJz + 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-2414-d346d577-10-cluster7 --namespace=pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.pinDX8CxtX Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-2414-d346d577-10-cluster7" modified. + cat /tmp/tmp.A3t1KYBdJz + rm /tmp/tmp.pinDX8CxtX /tmp/tmp.A3t1KYBdJz + 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-2414/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.KIcSEaHUpn ++ mktemp + local LAST_ERR=/tmp/tmp.2lqQzgYJcQ + 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-2414/deploy/crd.yaml