Log: /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/logs/smart-update2-8-0.log Warning: version difference between client (1.34) and server (1.31) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.34) and server (1.31) exceeds the supported minor version skew of +/-1 + API=pxc.percona.com/v9-9-9 + TARGET_IMAGE_PXC=perconalab/percona-xtradb-cluster-operator:main-pxc8.0 + CLUSTER=smart-update + CLUSTER_SIZE=3 + PROXY_SIZE=2 + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 == *\p\e\r\c\o\n\a\-\x\t\r\a\d\b\-\c\l\u\s\t\e\r\-\o\p\e\r\a\t\o\r* ]] ++ echo -n perconalab/percona-xtradb-cluster-operator:main-pxc8.0 ++ /usr/bin/sed -r 's/.*([0-9].[0-9])$/\1/' + PXC_VER=8.0 + TARGET_IMAGE_PXC_VS=perconalab/percona-xtradb-cluster-operator:main-pxc8.0 + VS_URL=http://version-service + VS_PORT=11000 + VS_ENDPOINT=http://version-service:11000 + main + create_infra smart-update2-2592 + local ns=smart-update2-2592 + '[' -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 smart-update2-1456 minimal-cluster --type=merge -p '{"metadata":{"finalizers":[]}}' perconaxtradbcluster.pxc.percona.com/minimal-cluster patched (no change) + kubectl_bin delete pxc --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.pJdKc1N29T ++ mktemp + local LAST_ERR=/tmp/tmp.RGmtnFl4mI + 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.pJdKc1N29T perconaxtradbcluster.pxc.percona.com "minimal-cluster" deleted from smart-update2-1456 namespace + cat /tmp/tmp.RGmtnFl4mI + rm /tmp/tmp.pJdKc1N29T /tmp/tmp.RGmtnFl4mI + return 0 + kubectl_bin delete pxc-backup --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.ShyNd2DI6m ++ mktemp + local LAST_ERR=/tmp/tmp.d7nTJzrANU + 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.ShyNd2DI6m No resources found + cat /tmp/tmp.d7nTJzrANU + rm /tmp/tmp.ShyNd2DI6m /tmp/tmp.d7nTJzrANU + return 0 + kubectl_bin delete pxc-restore --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.6Iw9OOoQ6e ++ mktemp + local LAST_ERR=/tmp/tmp.7xfaTzF42E + 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.6Iw9OOoQ6e No resources found + cat /tmp/tmp.7xfaTzF42E + rm /tmp/tmp.6Iw9OOoQ6e /tmp/tmp.7xfaTzF42E + 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 ++ sed s/NAMESPACE// ++ tail -n1 ++ awk '-F ' '{print $2}' + 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 ++ awk '{print $1}' ++ grep chaos-mesh + 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 + : ++ awk '{print $1}' ++ kubectl api-resources ++ grep chaos-mesh ++ 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' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces pxc-operator ----------------------------------------------------------------------------------- + xargs kubectl delete ns + kubectl_bin delete namespace pxc-operator + kubectl_bin get ns ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.huhE2vGjth + local LAST_OUT=/tmp/tmp.HoVAUDL9RJ ++ mktemp ++ mktemp + local LAST_ERR=/tmp/tmp.o3eMwPBNE6 + local exit_status=0 + local LAST_ERR=/tmp/tmp.WaVXFPVg89 + 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.huhE2vGjth + cat /tmp/tmp.o3eMwPBNE6 + rm /tmp/tmp.huhE2vGjth /tmp/tmp.o3eMwPBNE6 + return 0 namespace "cert-manager" deleted namespace "smart-update2-1456" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.HoVAUDL9RJ namespace "pxc-operator" deleted + cat /tmp/tmp.WaVXFPVg89 + rm /tmp/tmp.HoVAUDL9RJ /tmp/tmp.WaVXFPVg89 + 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.5PSEqIbvga ++ mktemp + local LAST_ERR=/tmp/tmp.iHG9Sau8rP + 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.5PSEqIbvga namespace/pxc-operator created + cat /tmp/tmp.iHG9Sau8rP + rm /tmp/tmp.5PSEqIbvga /tmp/tmp.iHG9Sau8rP + return 0 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.EFdo1U60Wr +++ mktemp ++ local LAST_ERR=/tmp/tmp.Y9KJfpRzGz ++ 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.EFdo1U60Wr ++ cat /tmp/tmp.Y9KJfpRzGz ++ rm /tmp/tmp.EFdo1U60Wr /tmp/tmp.Y9KJfpRzGz ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-2264-54845288-7-cluster3 --namespace=pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.YrlGGCWRwC ++ mktemp + local LAST_ERR=/tmp/tmp.JU6q8z0tva + 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-2264-54845288-7-cluster3 --namespace=pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.YrlGGCWRwC Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-2264-54845288-7-cluster3" modified. + cat /tmp/tmp.JU6q8z0tva + rm /tmp/tmp.YrlGGCWRwC /tmp/tmp.JU6q8z0tva + 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-2264/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.BRdeA5XxQi ++ mktemp + local LAST_ERR=/tmp/tmp.C0TKGPlNxU + 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-2264/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.BRdeA5XxQi customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusterbackups.pxc.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusterrestores.pxc.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusters.pxc.percona.com serverside-applied + cat /tmp/tmp.C0TKGPlNxU + rm /tmp/tmp.BRdeA5XxQi /tmp/tmp.C0TKGPlNxU + return 0 + '[' -n pxc-operator ']' + apply_rbac cw-rbac + local operator_namespace=pxc-operator + local rbac=cw-rbac + cat /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/deploy/cw-rbac.yaml + kubectl_bin apply -f - + sed -e 's^namespace: .*^namespace: pxc-operator^' ++ mktemp + local LAST_OUT=/tmp/tmp.1GoQkNQJKA ++ mktemp + local LAST_ERR=/tmp/tmp.XRppUdvgR8 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.1GoQkNQJKA clusterrole.rbac.authorization.k8s.io/percona-xtradb-cluster-operator unchanged serviceaccount/percona-xtradb-cluster-operator created clusterrolebinding.rbac.authorization.k8s.io/service-account-percona-xtradb-cluster-operator unchanged + cat /tmp/tmp.XRppUdvgR8 + rm /tmp/tmp.1GoQkNQJKA /tmp/tmp.XRppUdvgR8 + return 0 + cat /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/deploy/cw-operator.yaml + sed -e 's^image: .*^image: perconalab/percona-xtradb-cluster-operator:PR-2264-54845288^' + sed -e 's^failureThreshold: .*^failureThreshold: 10^' + kubectl_bin apply -f - ++ mktemp + yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "LOG_LEVEL").value) = "VERBOSE"' - + yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "DISABLE_TELEMETRY").value) = "true"' - + local LAST_OUT=/tmp/tmp.APIE5OpfSw ++ mktemp + local LAST_ERR=/tmp/tmp.eInybsTQI3 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.APIE5OpfSw deployment.apps/percona-xtradb-cluster-operator created service/percona-xtradb-cluster-operator created + cat /tmp/tmp.eInybsTQI3 + rm /tmp/tmp.APIE5OpfSw /tmp/tmp.eInybsTQI3 + return 0 + sleep 10 + kubectl_bin wait --for=condition=Ready pods -l app.kubernetes.io/component=operator,app.kubernetes.io/instance=percona-xtradb-cluster-operator,app.kubernetes.io/name=percona-xtradb-cluster-operator --timeout=30s ++ mktemp + local LAST_OUT=/tmp/tmp.ALYHheeUu0 ++ mktemp + local LAST_ERR=/tmp/tmp.M9O4uTPoZj + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=condition=Ready pods -l app.kubernetes.io/component=operator,app.kubernetes.io/instance=percona-xtradb-cluster-operator,app.kubernetes.io/name=percona-xtradb-cluster-operator --timeout=30s + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.ALYHheeUu0 pod/percona-xtradb-cluster-operator-7cb9576bf9-5snwj condition met + cat /tmp/tmp.M9O4uTPoZj + rm /tmp/tmp.ALYHheeUu0 /tmp/tmp.M9O4uTPoZj + return 0 ++ get_operator_pod ++ local label_prefix=app.kubernetes.io/ +++ grep -c percona-xtradb-cluster-operator +++ kubectl get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -n pxc-operator ++ local check_label=1 ++ [[ 1 -eq 0 ]] ++ kubectl_bin get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'jsonpath={.items[].metadata.name}' -n pxc-operator +++ mktemp ++ local LAST_OUT=/tmp/tmp.0xrChDTm5b +++ mktemp ++ local LAST_ERR=/tmp/tmp.7oiRHLg60G ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'jsonpath={.items[].metadata.name}' -n pxc-operator ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.0xrChDTm5b ++ cat /tmp/tmp.7oiRHLg60G ++ rm /tmp/tmp.0xrChDTm5b /tmp/tmp.7oiRHLg60G ++ return 0 + wait_pod percona-xtradb-cluster-operator-7cb9576bf9-5snwj 480 pxc-operator + local pod=percona-xtradb-cluster-operator-7cb9576bf9-5snwj + local max_retry=480 + local ns=pxc-operator ++ echo percona-xtradb-cluster-operator-7cb9576bf9-5snwj ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/percona-xtradb-cluster-operator-7cb9576bf9-5snwj condition met waiting for pod/percona-xtradb-cluster-operator-7cb9576bf9-5snwj to become Ready.Ok + sleep 3 + create_namespace smart-update2-2592 + local namespace=smart-update2-2592 + 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 smart-update2-2592' + xargs kubectl delete ns + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces smart-update2-2592 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace smart-update2-2592 + kubectl_bin get ns ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.JmoTNiGRfO + local LAST_OUT=/tmp/tmp.cKOVT4nitT ++ mktemp ++ mktemp + local LAST_ERR=/tmp/tmp.VUp5oPny4m + local exit_status=0 + local LAST_ERR=/tmp/tmp.KhAR3ur3cd + local exit_status=0 ++ seq 0 2 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace smart-update2-2592 + for i in '$(seq 0 2)' + set +e + kubectl get ns + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace smart-update2-2592 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.JmoTNiGRfO + cat /tmp/tmp.KhAR3ur3cd + rm /tmp/tmp.JmoTNiGRfO /tmp/tmp.KhAR3ur3cd + return 0 error: resource(s) were provided, but no name was specified + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace smart-update2-2592 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + cat /tmp/tmp.cKOVT4nitT + cat /tmp/tmp.VUp5oPny4m Error from server (NotFound): namespaces "smart-update2-2592" not found + rm /tmp/tmp.cKOVT4nitT /tmp/tmp.VUp5oPny4m + return 1 + : + wait_for_delete namespace/smart-update2-2592 + local res=namespace/smart-update2-2592 + echo -n 'waiting for namespace/smart-update2-2592 to be deleted' waiting for namespace/smart-update2-2592 to be deleted+ set +o xtrace Error from server (NotFound): namespaces "smart-update2-2592" not found + desc 'create namespace smart-update2-2592' + set +o xtrace ----------------------------------------------------------------------------------- create namespace smart-update2-2592 ----------------------------------------------------------------------------------- + kubectl_bin create namespace smart-update2-2592 ++ mktemp + local LAST_OUT=/tmp/tmp.vPpSjjFsb2 ++ mktemp + local LAST_ERR=/tmp/tmp.ECEN516WOJ + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create namespace smart-update2-2592 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.vPpSjjFsb2 namespace/smart-update2-2592 created + cat /tmp/tmp.ECEN516WOJ + rm /tmp/tmp.vPpSjjFsb2 /tmp/tmp.ECEN516WOJ + return 0 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.igILYlZ7Bz +++ mktemp ++ local LAST_ERR=/tmp/tmp.twnJoAHXnO ++ 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.igILYlZ7Bz ++ cat /tmp/tmp.twnJoAHXnO ++ rm /tmp/tmp.igILYlZ7Bz /tmp/tmp.twnJoAHXnO ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-2264-54845288-7-cluster3 --namespace=smart-update2-2592 ++ mktemp + local LAST_OUT=/tmp/tmp.LYMx01NYNd ++ mktemp + local LAST_ERR=/tmp/tmp.rtEOLlRGIa + 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-2264-54845288-7-cluster3 --namespace=smart-update2-2592 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.LYMx01NYNd Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-2264-54845288-7-cluster3" modified. + cat /tmp/tmp.rtEOLlRGIa + rm /tmp/tmp.LYMx01NYNd /tmp/tmp.rtEOLlRGIa + return 0 + apply_secrets + desc 'create secrets for cloud storages' + set +o xtrace ----------------------------------------------------------------------------------- create secrets for cloud storages ----------------------------------------------------------------------------------- + '[' -z '' ']' + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/conf/cloud-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.2mG1JPu0lK ++ mktemp + local LAST_ERR=/tmp/tmp.G9cmJ75Bs4 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/conf/cloud-secret.yml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.2mG1JPu0lK secret/minio-secret created secret/aws-s3-secret created secret/gcp-cs-secret created secret/azure-secret created + cat /tmp/tmp.G9cmJ75Bs4 + rm /tmp/tmp.2mG1JPu0lK /tmp/tmp.G9cmJ75Bs4 + return 0 + deploy_version_service + desc 'install version service' + set +o xtrace ----------------------------------------------------------------------------------- install version service ----------------------------------------------------------------------------------- + kubectl_bin create configmap versions --from-file /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/smart-update2/conf/operator.9.9.9.pxc-operator.dep.json --from-file /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/smart-update2/conf/operator.9.9.9.pxc-operator.json ++ mktemp + local LAST_OUT=/tmp/tmp.YjCfePUl8l ++ mktemp + local LAST_ERR=/tmp/tmp.QsAoLwLRDS + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create configmap versions --from-file /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/smart-update2/conf/operator.9.9.9.pxc-operator.dep.json --from-file /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/smart-update2/conf/operator.9.9.9.pxc-operator.json + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.YjCfePUl8l configmap/versions created + cat /tmp/tmp.QsAoLwLRDS + rm /tmp/tmp.YjCfePUl8l /tmp/tmp.QsAoLwLRDS + return 0 + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/smart-update2/conf/vs.yml ++ mktemp + local LAST_OUT=/tmp/tmp.WCNiTO4Iyv ++ mktemp + local LAST_ERR=/tmp/tmp.52fYs3umZd + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/smart-update2/conf/vs.yml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.WCNiTO4Iyv deployment.apps/version-service created service/version-service created + cat /tmp/tmp.52fYs3umZd + rm /tmp/tmp.WCNiTO4Iyv /tmp/tmp.52fYs3umZd + return 0 + sleep 10 + deploy_cert_manager + desc 'deploy cert manager' + set +o xtrace ----------------------------------------------------------------------------------- deploy cert manager ----------------------------------------------------------------------------------- + kubectl_bin create namespace cert-manager ++ mktemp + local LAST_OUT=/tmp/tmp.2Mbccu6lGh ++ mktemp + local LAST_ERR=/tmp/tmp.fgSyR9ciGv + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create namespace cert-manager + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.2Mbccu6lGh namespace/cert-manager created + cat /tmp/tmp.fgSyR9ciGv + rm /tmp/tmp.2Mbccu6lGh /tmp/tmp.fgSyR9ciGv + return 0 + kubectl_bin label namespace cert-manager certmanager.k8s.io/disable-validation=true ++ mktemp + local LAST_OUT=/tmp/tmp.lFtnkiXuCv ++ mktemp + local LAST_ERR=/tmp/tmp.79ov2DMZRJ + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl label namespace cert-manager certmanager.k8s.io/disable-validation=true + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.lFtnkiXuCv namespace/cert-manager labeled + cat /tmp/tmp.79ov2DMZRJ + rm /tmp/tmp.lFtnkiXuCv /tmp/tmp.79ov2DMZRJ + return 0 + kubectl_bin apply -f https://github.com/jetstack/cert-manager/releases/download/v1.18.2/cert-manager.yaml --validate=false ++ mktemp + local LAST_OUT=/tmp/tmp.VNVQ8JmcGS ++ mktemp + local LAST_ERR=/tmp/tmp.Hlg2j7wY6g + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.18.2/cert-manager.yaml --validate=false + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.VNVQ8JmcGS namespace/cert-manager configured customresourcedefinition.apiextensions.k8s.io/certificaterequests.cert-manager.io unchanged customresourcedefinition.apiextensions.k8s.io/certificates.cert-manager.io unchanged customresourcedefinition.apiextensions.k8s.io/challenges.acme.cert-manager.io unchanged customresourcedefinition.apiextensions.k8s.io/clusterissuers.cert-manager.io unchanged customresourcedefinition.apiextensions.k8s.io/issuers.cert-manager.io unchanged customresourcedefinition.apiextensions.k8s.io/orders.acme.cert-manager.io unchanged serviceaccount/cert-manager-cainjector created serviceaccount/cert-manager created serviceaccount/cert-manager-webhook created clusterrole.rbac.authorization.k8s.io/cert-manager-cainjector unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-issuers unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-clusterissuers unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-certificates unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-orders unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-challenges unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-ingress-shim unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-cluster-view unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-view unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-edit unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-approve:cert-manager-io unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-certificatesigningrequests unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-webhook:subjectaccessreviews unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-cainjector unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-issuers unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-clusterissuers unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-certificates unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-orders unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-challenges unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-ingress-shim unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-approve:cert-manager-io unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-certificatesigningrequests unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-webhook:subjectaccessreviews unchanged role.rbac.authorization.k8s.io/cert-manager-cainjector:leaderelection unchanged role.rbac.authorization.k8s.io/cert-manager:leaderelection unchanged role.rbac.authorization.k8s.io/cert-manager-tokenrequest created role.rbac.authorization.k8s.io/cert-manager-webhook:dynamic-serving created rolebinding.rbac.authorization.k8s.io/cert-manager-cainjector:leaderelection unchanged rolebinding.rbac.authorization.k8s.io/cert-manager:leaderelection unchanged rolebinding.rbac.authorization.k8s.io/cert-manager-cert-manager-tokenrequest created rolebinding.rbac.authorization.k8s.io/cert-manager-webhook:dynamic-serving created service/cert-manager-cainjector created service/cert-manager created service/cert-manager-webhook created deployment.apps/cert-manager-cainjector created deployment.apps/cert-manager created deployment.apps/cert-manager-webhook created mutatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook configured validatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook configured + cat /tmp/tmp.Hlg2j7wY6g Warning: resource namespaces/cert-manager is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically. + rm /tmp/tmp.VNVQ8JmcGS /tmp/tmp.Hlg2j7wY6g + return 0 + '[' '' == 4.10 ']' + sleep 70 ++ jq -r '.versions[].matrix.pxc[].imagePath' ++ sort -V ++ grep :8.0 ++ tail -n3 ++ head -n1 +++ get_operator_pod +++ local label_prefix=app.kubernetes.io/ ++++ kubectl get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -n pxc-operator ++++ grep -c percona-xtradb-cluster-operator +++ local check_label=1 +++ [[ 1 -eq 0 ]] +++ kubectl_bin get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'jsonpath={.items[].metadata.name}' -n pxc-operator ++++ mktemp +++ local LAST_OUT=/tmp/tmp.0yp0fLuh5t ++++ mktemp +++ local LAST_ERR=/tmp/tmp.vWHtzGSMQn +++ local exit_status=0 ++++ seq 0 2 +++ for i in '$(seq 0 2)' +++ set +e +++ kubectl get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'jsonpath={.items[].metadata.name}' -n pxc-operator +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 ']' +++ break +++ cat /tmp/tmp.0yp0fLuh5t +++ cat /tmp/tmp.vWHtzGSMQn +++ rm /tmp/tmp.0yp0fLuh5t /tmp/tmp.vWHtzGSMQn +++ return 0 ++ kubectl_bin exec -ti percona-xtradb-cluster-operator-7cb9576bf9-5snwj -n pxc-operator -- curl -s http://version-service.smart-update2-2592.svc.cluster.local:11000/versions/v1/pxc-operator/9.9.9 +++ mktemp ++ local LAST_OUT=/tmp/tmp.UaqINq67JR +++ mktemp ++ local LAST_ERR=/tmp/tmp.BbaiC7HEMm ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl exec -ti percona-xtradb-cluster-operator-7cb9576bf9-5snwj -n pxc-operator -- curl -s http://version-service.smart-update2-2592.svc.cluster.local:11000/versions/v1/pxc-operator/9.9.9 ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.UaqINq67JR ++ cat /tmp/tmp.BbaiC7HEMm Unable to use a TTY - input is not a terminal or the right kind of file ++ rm /tmp/tmp.UaqINq67JR /tmp/tmp.BbaiC7HEMm ++ return 0 + IMAGE_PXC=percona/percona-xtradb-cluster:8.0.19-10.1 + kubectl_bin patch crd perconaxtradbclusters.pxc.percona.com --type=json -p '[{"op":"add","path":"/spec/versions/-", "value":{"name": "v9-9-9","schema": {"openAPIV3Schema": {"properties": {"spec": {"type": "object","x-kubernetes-preserve-unknown-fields": true},"status": {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "type": "object" }}, "served": true, "storage": false, "subresources": { "status": {}}}}]' ++ mktemp + local LAST_OUT=/tmp/tmp.66E3qUA0V7 ++ mktemp + local LAST_ERR=/tmp/tmp.1n03kX074v + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl patch crd perconaxtradbclusters.pxc.percona.com --type=json -p '[{"op":"add","path":"/spec/versions/-", "value":{"name": "v9-9-9","schema": {"openAPIV3Schema": {"properties": {"spec": {"type": "object","x-kubernetes-preserve-unknown-fields": true},"status": {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "type": "object" }}, "served": true, "storage": false, "subresources": { "status": {}}}}]' + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.66E3qUA0V7 customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusters.pxc.percona.com patched + cat /tmp/tmp.1n03kX074v + rm /tmp/tmp.66E3qUA0V7 /tmp/tmp.1n03kX074v + return 0 + kubectl_bin -n pxc-operator set env deploy/percona-xtradb-cluster-operator PERCONA_VS_FALLBACK_URI=http://version-service.smart-update2-2592.svc.cluster.local:11000 ++ mktemp + local LAST_OUT=/tmp/tmp.3hMuaAevg9 ++ mktemp + local LAST_ERR=/tmp/tmp.yuGroZnVYl + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl -n pxc-operator set env deploy/percona-xtradb-cluster-operator PERCONA_VS_FALLBACK_URI=http://version-service.smart-update2-2592.svc.cluster.local:11000 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.3hMuaAevg9 deployment.apps/percona-xtradb-cluster-operator env updated + cat /tmp/tmp.yuGroZnVYl + rm /tmp/tmp.3hMuaAevg9 /tmp/tmp.yuGroZnVYl + return 0 + desc 'Starting telemetry testing' + set +o xtrace ----------------------------------------------------------------------------------- Starting telemetry testing ----------------------------------------------------------------------------------- + /usr/bin/sed s/version-service/version-service-cr/g /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/smart-update2/conf/vs.yml + kubectl_bin apply -f - ++ mktemp ++ yq 'select(.kind == "Deployment").spec.template.spec.containers[0].image' /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/smart-update2/conf/vs.yml + local LAST_OUT=/tmp/tmp.QV1BeBs0fA ++ mktemp + local LAST_ERR=/tmp/tmp.mZUX7WVXiq + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + yq eval '(. | select(.kind == "Deployment") | .spec.template.spec.containers[0].image) = "perconalab/version-service:main-e378a19"' + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.QV1BeBs0fA deployment.apps/version-service-cr created service/version-service-cr created + cat /tmp/tmp.mZUX7WVXiq + rm /tmp/tmp.QV1BeBs0fA /tmp/tmp.mZUX7WVXiq + return 0 + kubectl_bin delete pod -l run=version-service ++ mktemp + local LAST_OUT=/tmp/tmp.jsTtw1MNzv ++ mktemp + local LAST_ERR=/tmp/tmp.IjObuPHdkn + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete pod -l run=version-service + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.jsTtw1MNzv pod "version-service-798f66646-86xbp" deleted from smart-update2-2592 namespace + cat /tmp/tmp.IjObuPHdkn + rm /tmp/tmp.jsTtw1MNzv /tmp/tmp.IjObuPHdkn + return 0 ++ echo -n percona/percona-xtradb-cluster:8.0.19-10.1 ++ sed -r 's/^.*:([0-9]+.[0-9]+).*/\1/' + IMAGE_PREFIX=8.0 + desc 'Enable telemetry on operator level' + set +o xtrace ----------------------------------------------------------------------------------- Enable telemetry on operator level ----------------------------------------------------------------------------------- + kubectl_bin get deployment/percona-xtradb-cluster-operator -o yaml -n pxc-operator + yq '(.spec.template.spec.containers[0].env[] | select(.name == "DISABLE_TELEMETRY").value) = "false"' + kubectl_bin apply -n pxc-operator -f - ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.WIRANbCMBm ++ mktemp + local LAST_OUT=/tmp/tmp.hGWeUe1Xco + local LAST_ERR=/tmp/tmp.hf9xISatOu + local exit_status=0 ++ mktemp ++ seq 0 2 + local LAST_ERR=/tmp/tmp.gGLAtwwFSI + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -n pxc-operator -f - + for i in '$(seq 0 2)' + set +e + kubectl get deployment/percona-xtradb-cluster-operator -o yaml -n pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.WIRANbCMBm + cat /tmp/tmp.hf9xISatOu + rm /tmp/tmp.WIRANbCMBm /tmp/tmp.hf9xISatOu + return 0 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.hGWeUe1Xco deployment.apps/percona-xtradb-cluster-operator configured + cat /tmp/tmp.gGLAtwwFSI + rm /tmp/tmp.hGWeUe1Xco /tmp/tmp.gGLAtwwFSI + return 0 + sleep 30 ++ get_operator_pod ++ local label_prefix=app.kubernetes.io/ +++ kubectl get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -n pxc-operator +++ grep -c percona-xtradb-cluster-operator ++ local check_label=1 ++ [[ 1 -eq 0 ]] ++ kubectl_bin get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'jsonpath={.items[].metadata.name}' -n pxc-operator +++ mktemp ++ local LAST_OUT=/tmp/tmp.b0EwWnic3h +++ mktemp ++ local LAST_ERR=/tmp/tmp.aXlKe6dN27 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'jsonpath={.items[].metadata.name}' -n pxc-operator ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.b0EwWnic3h ++ cat /tmp/tmp.aXlKe6dN27 ++ rm /tmp/tmp.b0EwWnic3h /tmp/tmp.aXlKe6dN27 ++ return 0 + wait_pod percona-xtradb-cluster-operator-7c997b57fd-mcpw6 480 pxc-operator + local pod=percona-xtradb-cluster-operator-7c997b57fd-mcpw6 + local max_retry=480 + local ns=pxc-operator ++ echo percona-xtradb-cluster-operator-7c997b57fd-mcpw6 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container= + set +o xtrace pod/percona-xtradb-cluster-operator-7c997b57fd-mcpw6 condition met waiting for pod/percona-xtradb-cluster-operator-7c997b57fd-mcpw6 to become Ready.Ok + check_telemetry_transfer http://version-service-cr.smart-update2-2592.svc.cluster.local:11000 disabled enabled + local cr_vs_uri=http://version-service-cr.smart-update2-2592.svc.cluster.local:11000 + local cr_vs_channel=disabled + local telemetry_state=enabled + desc 'create PXC minimal cluster' + set +o xtrace ----------------------------------------------------------------------------------- create PXC minimal cluster ----------------------------------------------------------------------------------- + cluster=minimal-cluster + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/conf/client.yml ++ mktemp + local LAST_OUT=/tmp/tmp.bs1A0J33Rg ++ mktemp + local LAST_ERR=/tmp/tmp.Rbsjr9cWI1 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/conf/client.yml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.bs1A0J33Rg deployment.apps/pxc-client created + cat /tmp/tmp.Rbsjr9cWI1 + rm /tmp/tmp.bs1A0J33Rg /tmp/tmp.Rbsjr9cWI1 + return 0 + yq /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/e2e-tests/conf/secrets.yml + yq eval '(. | select(.metadata.name == "my-cluster-secrets") | .metadata.name) = "minimal-cluster"' + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.IlDSH3f6rj ++ mktemp + local LAST_ERR=/tmp/tmp.cr18hv9pva + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.IlDSH3f6rj secret/minimal-cluster created secret/some-name-ssl created secret/some-name-ssl-internal created + cat /tmp/tmp.cr18hv9pva + rm /tmp/tmp.IlDSH3f6rj /tmp/tmp.cr18hv9pva + return 0 + yq /mnt/jenkins/workspace/cloud-pxc-operator_PR-2264/deploy/cr-minimal.yaml + yq eval '.spec.upgradeOptions.versionServiceEndpoint="http://version-service-cr.smart-update2-2592.svc.cluster.local:11000"' + yq eval '.spec.upgradeOptions.apply="disabled"' + yq eval '.spec.logcollector.image="perconalab/percona-xtradb-cluster-operator:main-logcollector"' + kubectl_bin apply -f - + yq eval '.spec.haproxy.image="perconalab/percona-xtradb-cluster-operator:main-haproxy"' + yq eval '.spec.crVersion="9.9.9"' ++ mktemp + local LAST_OUT=/tmp/tmp.sjp0hBKB38 + yq eval '.spec.pxc.image="percona/percona-xtradb-cluster:8.0.19-10.1"' ++ mktemp + local LAST_ERR=/tmp/tmp.FvrZo4ullz + local exit_status=0 + yq eval '.spec.initContainer.image="perconalab/percona-xtradb-cluster-operator:PR-2264-54845288"' ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.sjp0hBKB38 perconaxtradbcluster.pxc.percona.com/minimal-cluster created + cat /tmp/tmp.FvrZo4ullz + rm /tmp/tmp.sjp0hBKB38 /tmp/tmp.FvrZo4ullz + return 0 + desc 'check if Pod is started' + set +o xtrace ----------------------------------------------------------------------------------- check if Pod is started ----------------------------------------------------------------------------------- + wait_for_running minimal-cluster-pxc 1 + local name=minimal-cluster-pxc + let last_pod=0 + : + local max_retry=480 + desc 'wait for running cluster' + set +o xtrace ----------------------------------------------------------------------------------- wait for running cluster ----------------------------------------------------------------------------------- ++ seq 0 0 + for i in '$(seq 0 $last_pod)' + wait_pod minimal-cluster-pxc-0 480 + local pod=minimal-cluster-pxc-0 + local max_retry=480 + local ns= ++ echo minimal-cluster-pxc-0 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ grep -E '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/minimal-cluster-pxc-0 condition met waiting for pod/minimal-cluster-pxc-0 to become Ready.full cluster crash detected