++ echo 'Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/logs/custom-replset-name.log' Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/logs/custom-replset-name.log ++ '[' -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/conf/cloud-secret.yml ']' ++ SKIP_BACKUPS_TO_AWS_GCP_AZURE= ++ oc get projects ++ kubectl get nodes ++ grep '^minikube' +++ kubectl version -o json +++ jq -r .serverVersion.gitVersion +++ grep '\-eks\-' WARNING: version difference between client (1.30) and server (1.26) exceeds the supported minor version skew of +/-1 ++ '[' ']' ++ EKS=0 +++ kubectl version -o json +++ jq -r .serverVersion.gitVersion +++ grep gke WARNING: version difference between client (1.30) and server (1.26) exceeds the supported minor version skew of +/-1 ++ '[' v1.26.15-gke.1381000 ']' ++ GKE=1 +++ kubectl version -o json +++ jq -r '.serverVersion.major + "." + .serverVersion.minor' +++ /usr/bin/sed -r 's/[^0-9.]+//g' WARNING: version difference between client (1.30) and server (1.26) exceeds the supported minor version skew of +/-1 ++ KUBE_VERSION=1.26 + create_infra custom-replset-name-11974 + local ns=custom-replset-name-11974 + delete_crd + desc 'get and delete old CRDs and RBAC' + set +o xtrace ----------------------------------------------------------------------------------- get and delete old CRDs and RBAC ----------------------------------------------------------------------------------- + kubectl_bin delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.L6Ba5G0tI5 ++ mktemp + local LAST_ERR=/tmp/tmp.aWc1LI4sx1 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.L6Ba5G0tI5 customresourcedefinition.apiextensions.k8s.io "perconaservermongodbbackups.psmdb.percona.com" deleted customresourcedefinition.apiextensions.k8s.io "perconaservermongodbrestores.psmdb.percona.com" deleted customresourcedefinition.apiextensions.k8s.io "perconaservermongodbs.psmdb.percona.com" deleted + cat /tmp/tmp.aWc1LI4sx1 + rm /tmp/tmp.L6Ba5G0tI5 /tmp/tmp.aWc1LI4sx1 + return 0 ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml ++ grep -v '\-\-\-' + for crd_name in '$(yq eval '\''.metadata.name'\'' "${src_dir}/deploy/crd.yaml" | grep -v '\''\-\-\-'\'')' + grep -v NAMESPACE + kubectl get perconaservermongodbbackups.psmdb.percona.com --all-namespaces -o wide + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbbackups.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbbackups" + kubectl patch perconaservermongodbbackups.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbbackups" + : + kubectl_bin wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.FUaWLnUMkP ++ mktemp + local LAST_ERR=/tmp/tmp.qy8AqBQod5 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.FUaWLnUMkP + cat /tmp/tmp.qy8AqBQod5 + rm /tmp/tmp.FUaWLnUMkP /tmp/tmp.qy8AqBQod5 + return 0 + for crd_name in '$(yq eval '\''.metadata.name'\'' "${src_dir}/deploy/crd.yaml" | grep -v '\''\-\-\-'\'')' + grep -v NAMESPACE + kubectl get perconaservermongodbrestores.psmdb.percona.com --all-namespaces -o wide + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbrestores.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbrestores" + kubectl patch perconaservermongodbrestores.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' E0604 14:47:20.614471 1764 memcache.go:287] couldn't get resource list for psmdb.percona.com/v1-11-0: the server could not find the requested resource E0604 14:47:20.617243 1764 memcache.go:287] couldn't get resource list for psmdb.percona.com/v1: the server could not find the requested resource E0604 14:47:20.617445 1764 memcache.go:287] couldn't get resource list for psmdb.percona.com/v1-10-0: the server could not find the requested resource E0604 14:47:20.618455 1764 memcache.go:287] couldn't get resource list for psmdb.percona.com/v1-12-0: the server could not find the requested resource error: the server doesn't have a resource type "perconaservermongodbrestores" + : + kubectl_bin wait --for=delete crd perconaservermongodbrestores.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.SDH089rfvo ++ mktemp + local LAST_ERR=/tmp/tmp.8l9nKhTCEt + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete crd perconaservermongodbrestores.psmdb.percona.com + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.SDH089rfvo + cat /tmp/tmp.8l9nKhTCEt + rm /tmp/tmp.SDH089rfvo /tmp/tmp.8l9nKhTCEt + return 0 + for crd_name in '$(yq eval '\''.metadata.name'\'' "${src_dir}/deploy/crd.yaml" | grep -v '\''\-\-\-'\'')' + kubectl get perconaservermongodbs.psmdb.percona.com --all-namespaces -o wide + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbs.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' + grep -v NAMESPACE error: the server doesn't have a resource type "perconaservermongodbs" + kubectl patch perconaservermongodbs.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbs" + : + kubectl_bin wait --for=delete crd perconaservermongodbs.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.TaPAmKKOAd ++ mktemp + local LAST_ERR=/tmp/tmp.5259HPMrVm + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete crd perconaservermongodbs.psmdb.percona.com + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.TaPAmKKOAd + cat /tmp/tmp.5259HPMrVm + rm /tmp/tmp.TaPAmKKOAd /tmp/tmp.5259HPMrVm + return 0 + local rbac_yaml=rbac.yaml + '[' -n psmdb-operator ']' + rbac_yaml=cw-rbac.yaml + kubectl_bin delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.sTySXfdL59 ++ mktemp + local LAST_ERR=/tmp/tmp.uyg360siXt + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.sTySXfdL59 clusterrole.rbac.authorization.k8s.io "percona-server-mongodb-operator" deleted clusterrolebinding.rbac.authorization.k8s.io "service-account-percona-server-mongodb-operator" deleted + cat /tmp/tmp.uyg360siXt + rm /tmp/tmp.sTySXfdL59 /tmp/tmp.uyg360siXt + return 0 + check_crd_for_deletion PR-1551-e268aa9a + local git_tag=PR-1551-e268aa9a ++ yq eval .metadata.name ++ curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/PR-1551-e268aa9a/deploy/crd.yaml ++ /usr/bin/sed s/---//g ++ /usr/bin/sed ':a;N;$!ba;s/\n/ /g' + for crd_name in '$(curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/${git_tag}/deploy/crd.yaml | yq eval '\''.metadata.name'\'' | $sed '\''s/---//g'\'' | $sed '\'':a;N;$!ba;s/\n/ /g'\'')' ++ kubectl_bin get crd/null -o 'jsonpath={.status.conditions[-1].type}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.XBq60VUqb7 +++ mktemp ++ local LAST_ERR=/tmp/tmp.RQ3ZKyfI8S ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.XBq60VUqb7 ++ cat /tmp/tmp.RQ3ZKyfI8S Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 0 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.XBq60VUqb7 ++ cat /tmp/tmp.RQ3ZKyfI8S Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 4 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.XBq60VUqb7 ++ cat /tmp/tmp.RQ3ZKyfI8S Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 8 ++ cat /tmp/tmp.XBq60VUqb7 ++ cat /tmp/tmp.RQ3ZKyfI8S Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ rm /tmp/tmp.XBq60VUqb7 /tmp/tmp.RQ3ZKyfI8S ++ return 1 + [[ '' == \T\e\r\m\i\n\a\t\i\n\g ]] + '[' -n psmdb-operator ']' + create_namespace psmdb-operator + local namespace=psmdb-operator + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ sed s/NAMESPACE// ++ awk '-F ' '{print $2}' ++ tail -n1 + local chaos_mesh_ns= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ awk '{print $1}' ++ grep chaos-mesh + 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 ++ awk '{print $1}' ++ grep validate-auth + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ awk '{print $1}' ++ grep chaos-mesh ++ kubectl api-resources ++ 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 + : ++ awk '{print $1}' ++ kubectl get clusterrolebinding ++ grep chaos-mesh + 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 ----------------------------------------------------------------------------------- + egrep -v '^kube-|^default|Terminating|psmdb-operator|openshift|gke-mcs|^NAME' + '[' -n '' ']' + desc 'cleaned up old namespaces psmdb-operator' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace psmdb-operator --ignore-not-found + kubectl_bin get ns ++ mktemp + local LAST_OUT=/tmp/tmp.lVOalZo93R ++ mktemp ++ mktemp + local LAST_ERR=/tmp/tmp.xaa7FKA6Pr + local exit_status=0 + local timeout=4 + local LAST_OUT=/tmp/tmp.ID31bsg0Sl ++ seq 0 2 ++ mktemp + for i in '$(seq 0 2)' + set +e + kubectl get ns + local LAST_ERR=/tmp/tmp.bhD05FVZdN + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace psmdb-operator --ignore-not-found + awk '{print$1}' + xargs kubectl delete ns + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.lVOalZo93R + cat /tmp/tmp.xaa7FKA6Pr + rm /tmp/tmp.lVOalZo93R /tmp/tmp.xaa7FKA6Pr + return 0 namespace "custom-replset-name-27457" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.ID31bsg0Sl namespace "psmdb-operator" deleted + cat /tmp/tmp.bhD05FVZdN + rm /tmp/tmp.ID31bsg0Sl /tmp/tmp.bhD05FVZdN + return 0 + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.AcfEEw6wTE ++ mktemp + local LAST_ERR=/tmp/tmp.6CP8CXyHNF + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete namespace psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.AcfEEw6wTE + cat /tmp/tmp.6CP8CXyHNF + rm /tmp/tmp.AcfEEw6wTE /tmp/tmp.6CP8CXyHNF + return 0 + desc 'create namespace psmdb-operator' + set +o xtrace ----------------------------------------------------------------------------------- create namespace psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin create namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.NtTz6tiuWD ++ mktemp + local LAST_ERR=/tmp/tmp.SJN0BB5vNP + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create namespace psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.NtTz6tiuWD namespace/psmdb-operator created + cat /tmp/tmp.SJN0BB5vNP + rm /tmp/tmp.NtTz6tiuWD /tmp/tmp.SJN0BB5vNP + return 0 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.1RxfO1cxiz +++ mktemp ++ local LAST_ERR=/tmp/tmp.HlQkAdJWfb ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.1RxfO1cxiz ++ cat /tmp/tmp.HlQkAdJWfb ++ rm /tmp/tmp.1RxfO1cxiz /tmp/tmp.HlQkAdJWfb ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-1551-e268aa9a-2-cluster3 --namespace=psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.Hw6h3xhBSQ ++ mktemp + local LAST_ERR=/tmp/tmp.BPgN49OiPX + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-1551-e268aa9a-2-cluster3 --namespace=psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Hw6h3xhBSQ Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-1551-e268aa9a-2-cluster3" modified. + cat /tmp/tmp.BPgN49OiPX + rm /tmp/tmp.Hw6h3xhBSQ /tmp/tmp.BPgN49OiPX + return 0 + deploy_operator + desc 'start PSMDB operator' + set +o xtrace ----------------------------------------------------------------------------------- start PSMDB operator ----------------------------------------------------------------------------------- + local cr_file + '[' -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/custom-replset-name/conf/crd.yaml ']' + cr_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.nFX2tNbyZr ++ mktemp + local LAST_ERR=/tmp/tmp.afZ2kaQ965 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.nFX2tNbyZr customresourcedefinition.apiextensions.k8s.io/perconaservermongodbbackups.psmdb.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaservermongodbrestores.psmdb.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaservermongodbs.psmdb.percona.com serverside-applied + cat /tmp/tmp.afZ2kaQ965 + rm /tmp/tmp.nFX2tNbyZr /tmp/tmp.afZ2kaQ965 + return 0 + '[' -n psmdb-operator ']' + apply_rbac cw-rbac + local operator_namespace=psmdb-operator + local rbac=cw-rbac + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml + kubectl_bin apply -n psmdb-operator -f - + sed -e 's^namespace: .*^namespace: psmdb-operator^' ++ mktemp + local LAST_OUT=/tmp/tmp.vfgx8n8VVn ++ mktemp + local LAST_ERR=/tmp/tmp.pZpMwXoEGC + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -n psmdb-operator -f - + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.vfgx8n8VVn clusterrole.rbac.authorization.k8s.io/percona-server-mongodb-operator created serviceaccount/percona-server-mongodb-operator created clusterrolebinding.rbac.authorization.k8s.io/service-account-percona-server-mongodb-operator created + cat /tmp/tmp.pZpMwXoEGC + rm /tmp/tmp.vfgx8n8VVn /tmp/tmp.pZpMwXoEGC + return 0 + kubectl_bin apply -f - + yq eval ' (.spec.template.spec.containers[].image = "perconalab/percona-server-mongodb-operator:PR-1551-e268aa9a") | ((.. | select(.[] == "DISABLE_TELEMETRY")) |= .value="true") | ((.. | select(.[] == "LOG_LEVEL")) |= .value="DEBUG")' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-operator.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.ThJnHEZROb ++ mktemp + local LAST_ERR=/tmp/tmp.8jzPCJ9AdZ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.ThJnHEZROb deployment.apps/percona-server-mongodb-operator created + cat /tmp/tmp.8jzPCJ9AdZ + rm /tmp/tmp.ThJnHEZROb /tmp/tmp.8jzPCJ9AdZ + return 0 + sleep 2 ++ get_operator_pod ++ kubectl_bin get pods --selector=name=percona-server-mongodb-operator -o 'jsonpath={.items[].metadata.name}' -n psmdb-operator +++ mktemp ++ local LAST_OUT=/tmp/tmp.U8qHS3x6LC +++ mktemp ++ local LAST_ERR=/tmp/tmp.wqgVEq2cB5 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=percona-server-mongodb-operator -o 'jsonpath={.items[].metadata.name}' -n psmdb-operator ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.U8qHS3x6LC ++ cat /tmp/tmp.wqgVEq2cB5 ++ rm /tmp/tmp.U8qHS3x6LC /tmp/tmp.wqgVEq2cB5 ++ return 0 + wait_pod percona-server-mongodb-operator-56586457c4-cc9w2 + local pod=percona-server-mongodb-operator-56586457c4-cc9w2 + set +o xtrace waiting for pod/percona-server-mongodb-operator-56586457c4-cc9w2 to be ready..OK + create_namespace custom-replset-name-11974 + local namespace=custom-replset-name-11974 + 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= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- + '[' -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 ++ awk '{print $1}' ++ grep chaos-mesh + 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 + '[' -n '' ']' + desc 'cleaned up old namespaces custom-replset-name-11974' ++ mktemp + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces custom-replset-name-11974 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace custom-replset-name-11974 --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.nwLT7z9fMh ++ mktemp + local LAST_OUT=/tmp/tmp.bKjE9so4Zm + xargs kubectl delete ns + local LAST_ERR=/tmp/tmp.gtdePfClBc + local exit_status=0 + local timeout=4 ++ mktemp ++ seq 0 2 + local LAST_ERR=/tmp/tmp.pwAD6jMo6Q + local exit_status=0 + local timeout=4 ++ 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 custom-replset-name-11974 --ignore-not-found + egrep -v '^kube-|^default|Terminating|psmdb-operator|openshift|gke-mcs|^NAME' + awk '{print$1}' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.nwLT7z9fMh + cat /tmp/tmp.gtdePfClBc + rm /tmp/tmp.nwLT7z9fMh /tmp/tmp.gtdePfClBc + return 0 error: resource(s) were provided, but no name was specified + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.bKjE9so4Zm + cat /tmp/tmp.pwAD6jMo6Q + rm /tmp/tmp.bKjE9so4Zm /tmp/tmp.pwAD6jMo6Q + return 0 + kubectl_bin wait --for=delete namespace custom-replset-name-11974 ++ mktemp + local LAST_OUT=/tmp/tmp.17fJv354vq ++ mktemp + local LAST_ERR=/tmp/tmp.y4QGJ6qgS9 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete namespace custom-replset-name-11974 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.17fJv354vq + cat /tmp/tmp.y4QGJ6qgS9 + rm /tmp/tmp.17fJv354vq /tmp/tmp.y4QGJ6qgS9 + return 0 + desc 'create namespace custom-replset-name-11974' + set +o xtrace ----------------------------------------------------------------------------------- create namespace custom-replset-name-11974 ----------------------------------------------------------------------------------- + kubectl_bin create namespace custom-replset-name-11974 ++ mktemp + local LAST_OUT=/tmp/tmp.xxXy4YmR1J ++ mktemp + local LAST_ERR=/tmp/tmp.QrkE01o774 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create namespace custom-replset-name-11974 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.xxXy4YmR1J namespace/custom-replset-name-11974 created + cat /tmp/tmp.QrkE01o774 + rm /tmp/tmp.xxXy4YmR1J /tmp/tmp.QrkE01o774 + return 0 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.S9FidMyqe5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.kpRIDOQaqp ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.S9FidMyqe5 ++ cat /tmp/tmp.kpRIDOQaqp ++ rm /tmp/tmp.S9FidMyqe5 /tmp/tmp.kpRIDOQaqp ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-1551-e268aa9a-2-cluster3 --namespace=custom-replset-name-11974 ++ mktemp + local LAST_OUT=/tmp/tmp.jWwjgfsDXI ++ mktemp + local LAST_ERR=/tmp/tmp.4XbKjczm1n + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-1551-e268aa9a-2-cluster3 --namespace=custom-replset-name-11974 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.jWwjgfsDXI Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-1551-e268aa9a-2-cluster3" modified. + cat /tmp/tmp.4XbKjczm1n + rm /tmp/tmp.jWwjgfsDXI /tmp/tmp.4XbKjczm1n + return 0 + apply_s3_storage_secrets + desc 'create secrets for cloud storages' + set +o xtrace ----------------------------------------------------------------------------------- create secrets for cloud storages ----------------------------------------------------------------------------------- + '[' -z '' ']' + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/conf/cloud-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.i23W594n44 ++ mktemp + local LAST_ERR=/tmp/tmp.L5Xjz1CJQb + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/conf/cloud-secret.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.i23W594n44 secret/minio-secret created secret/aws-s3-secret created secret/gcp-cs-secret created secret/azure-secret created + cat /tmp/tmp.L5Xjz1CJQb + rm /tmp/tmp.i23W594n44 /tmp/tmp.L5Xjz1CJQb + return 0 + deploy_minio + desc 'install Minio' + set +o xtrace ----------------------------------------------------------------------------------- install Minio ----------------------------------------------------------------------------------- + helm uninstall minio-service Error: uninstall: Release not loaded: minio-service: release: not found + : + helm repo remove minio "minio" has been removed from your repositories + helm repo add minio https://charts.min.io/ "minio" has been added to your repositories + retry 10 60 helm install minio-service --version 5.0.14 --set replicas=1 --set mode=standalone --set resources.requests.memory=256Mi --set rootUser=rootuser --set rootPassword=rootpass123 --set 'users[0].accessKey=some-access-key' --set 'users[0].secretKey=some-secret-key' --set 'users[0].policy=consoleAdmin' --set service.type=ClusterIP --set configPathmc=/tmp/.minio/ --set persistence.size=2G --set securityContext.enabled=false minio/minio + local max=10 + local delay=60 + shift 2 + local n=1 + helm install minio-service --version 5.0.14 --set replicas=1 --set mode=standalone --set resources.requests.memory=256Mi --set rootUser=rootuser --set rootPassword=rootpass123 --set 'users[0].accessKey=some-access-key' --set 'users[0].secretKey=some-secret-key' --set 'users[0].policy=consoleAdmin' --set service.type=ClusterIP --set configPathmc=/tmp/.minio/ --set persistence.size=2G --set securityContext.enabled=false minio/minio NAME: minio-service LAST DEPLOYED: Tue Jun 4 14:48:30 2024 NAMESPACE: custom-replset-name-11974 STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: MinIO can be accessed via port 9000 on the following DNS name from within your cluster: minio-service.custom-replset-name-11974.svc.cluster.local To access MinIO from localhost, run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace custom-replset-name-11974 -l "release=minio-service" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace custom-replset-name-11974 Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access MinIO server on http://localhost:9000. Follow the below steps to connect to MinIO server with mc client: 1. Download the MinIO mc client - https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart 2. export MC_HOST_minio-service-local=http://$(kubectl get secret --namespace custom-replset-name-11974 minio-service -o jsonpath="{.data.rootUser}" | base64 --decode):$(kubectl get secret --namespace custom-replset-name-11974 minio-service -o jsonpath="{.data.rootPassword}" | base64 --decode)@localhost:9000 3. mc ls minio-service-local ++ kubectl_bin get pods --selector=release=minio-service -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Iew4apDoYO +++ mktemp ++ local LAST_ERR=/tmp/tmp.an7ToAeJL6 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=release=minio-service -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.Iew4apDoYO ++ cat /tmp/tmp.an7ToAeJL6 ++ rm /tmp/tmp.Iew4apDoYO /tmp/tmp.an7ToAeJL6 ++ return 0 + MINIO_POD=minio-service-57dd49b-8gj8p + wait_pod minio-service-57dd49b-8gj8p + local pod=minio-service-57dd49b-8gj8p + set +o xtrace waiting for pod/minio-service-57dd49b-8gj8p to be ready.OK + '[' -n psmdb-operator ']' + kubectl_bin create svc -n psmdb-operator externalname minio-service --external-name=minio-service.custom-replset-name-11974.svc.cluster.local --tcp=9000 ++ mktemp + local LAST_OUT=/tmp/tmp.6so0fAkeF5 ++ mktemp + local LAST_ERR=/tmp/tmp.JoZLCLUKiA + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create svc -n psmdb-operator externalname minio-service --external-name=minio-service.custom-replset-name-11974.svc.cluster.local --tcp=9000 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.6so0fAkeF5 service/minio-service created + cat /tmp/tmp.JoZLCLUKiA + rm /tmp/tmp.6so0fAkeF5 /tmp/tmp.JoZLCLUKiA + return 0 + kubectl_bin run -i --rm aws-cli --image=perconalab/awscli --restart=Never -- bash -c 'AWS_ACCESS_KEY_ID=some-access-key AWS_SECRET_ACCESS_KEY=some-secret-key AWS_DEFAULT_REGION=us-east-1 \ /usr/bin/aws --endpoint-url http://minio-service:9000 s3 mb s3://operator-testing' ++ mktemp + local LAST_OUT=/tmp/tmp.J9VWSCmI2e ++ mktemp + local LAST_ERR=/tmp/tmp.wE3SkSytGe + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl run -i --rm aws-cli --image=perconalab/awscli --restart=Never -- bash -c 'AWS_ACCESS_KEY_ID=some-access-key AWS_SECRET_ACCESS_KEY=some-secret-key AWS_DEFAULT_REGION=us-east-1 \ /usr/bin/aws --endpoint-url http://minio-service:9000 s3 mb s3://operator-testing' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.J9VWSCmI2e make_bucket: operator-testing pod "aws-cli" deleted + cat /tmp/tmp.wE3SkSytGe If you don't see a command prompt, try pressing enter. warning: couldn't attach to pod/aws-cli, falling back to streaming logs: Internal error occurred: error attaching to container: container is in CONTAINER_EXITED state + rm /tmp/tmp.J9VWSCmI2e /tmp/tmp.wE3SkSytGe + return 0 + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/conf/secrets.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/conf/client.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/conf/minio-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.mUzwSFK8lq ++ mktemp + local LAST_ERR=/tmp/tmp.LwmQnNQzSt + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/conf/secrets.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/conf/client.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/conf/minio-secret.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.mUzwSFK8lq secret/some-users created deployment.apps/psmdb-client created secret/minio-secret unchanged + cat /tmp/tmp.LwmQnNQzSt + rm /tmp/tmp.mUzwSFK8lq /tmp/tmp.LwmQnNQzSt + return 0 + cluster=some-name + desc 'create first PSMDB cluster' + set +o xtrace ----------------------------------------------------------------------------------- create first PSMDB cluster ----------------------------------------------------------------------------------- ++ kubectl get storageclass -o custom-columns=NAME:.metadata.name --no-headers=true ++ tail -n1 + sc=standard-rwo + yq eval '(.. | select(has("storageClassName")).storageClassName) = "standard-rwo"' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/custom-replset-name/conf/some-name.yml + apply_cluster /tmp/tmp.W9MG3BOCVO/some-name.yml + '[' -z '' ']' + kubectl_bin apply -f - + cat_config /tmp/tmp.W9MG3BOCVO/some-name.yml + cat /tmp/tmp.W9MG3BOCVO/some-name.yml ++ mktemp + yq eval '(.spec | select(.image == null)).image = "perconalab/percona-server-mongodb-operator:main-mongod7.0"' + yq eval '(.spec | select(has("initImage"))).initImage = "perconalab/percona-server-mongodb-operator:PR-1551-e268aa9a"' + yq eval '(.spec | select(has("backup"))).backup.image = "perconalab/percona-server-mongodb-operator:main-backup"' + yq eval '(.spec | select(has("pmm"))).pmm.image = "perconalab/pmm-client:dev-latest"' + local LAST_OUT=/tmp/tmp.QsllKN1bDf + yq eval '.spec.upgradeOptions.apply="Never"' ++ mktemp + local LAST_ERR=/tmp/tmp.ymZJ46WLTC + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.QsllKN1bDf perconaservermongodb.psmdb.percona.com/some-name created + cat /tmp/tmp.ymZJ46WLTC + rm /tmp/tmp.QsllKN1bDf /tmp/tmp.ymZJ46WLTC + return 0 + wait_cluster_consistency some-name 64 + local cluster_name=some-name + local wait_time=64 + retry=0 + sleep 7 + echo -n 'waiting for cluster readyness' waiting for cluster readyness++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.bBg46kZo53 +++ mktemp ++ local LAST_ERR=/tmp/tmp.YBZsIgJ2q8 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.bBg46kZo53 ++ cat /tmp/tmp.YBZsIgJ2q8 ++ rm /tmp/tmp.bBg46kZo53 /tmp/tmp.YBZsIgJ2q8 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 1 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.MGmfmAVeZH +++ mktemp ++ local LAST_ERR=/tmp/tmp.sCcXrneqlf ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.MGmfmAVeZH ++ cat /tmp/tmp.sCcXrneqlf ++ rm /tmp/tmp.MGmfmAVeZH /tmp/tmp.sCcXrneqlf ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 2 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4oFNtMNu07 +++ mktemp ++ local LAST_ERR=/tmp/tmp.lo2ghBmTkd ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.4oFNtMNu07 ++ cat /tmp/tmp.lo2ghBmTkd ++ rm /tmp/tmp.4oFNtMNu07 /tmp/tmp.lo2ghBmTkd ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 3 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.IoQyFGC1tM +++ mktemp ++ local LAST_ERR=/tmp/tmp.PLA1JUCGrZ ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.IoQyFGC1tM ++ cat /tmp/tmp.PLA1JUCGrZ ++ rm /tmp/tmp.IoQyFGC1tM /tmp/tmp.PLA1JUCGrZ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 4 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.GEbWYzSNGb +++ mktemp ++ local LAST_ERR=/tmp/tmp.qsRpXtAUJH ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.GEbWYzSNGb ++ cat /tmp/tmp.qsRpXtAUJH ++ rm /tmp/tmp.GEbWYzSNGb /tmp/tmp.qsRpXtAUJH ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 5 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ei9eCUmGma +++ mktemp ++ local LAST_ERR=/tmp/tmp.vThYTFyfCB ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.ei9eCUmGma ++ cat /tmp/tmp.vThYTFyfCB ++ rm /tmp/tmp.ei9eCUmGma /tmp/tmp.vThYTFyfCB ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 6 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.etjSUW7PO5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.VlTE28p54o ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.etjSUW7PO5 ++ cat /tmp/tmp.VlTE28p54o ++ rm /tmp/tmp.etjSUW7PO5 /tmp/tmp.VlTE28p54o ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 7 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.PczpT8ybm9 +++ mktemp ++ local LAST_ERR=/tmp/tmp.1TdCPfegSg ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.PczpT8ybm9 ++ cat /tmp/tmp.1TdCPfegSg ++ rm /tmp/tmp.PczpT8ybm9 /tmp/tmp.1TdCPfegSg ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 8 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.9BBnoIaQMc +++ mktemp ++ local LAST_ERR=/tmp/tmp.XlpRRr7qq8 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.9BBnoIaQMc ++ cat /tmp/tmp.XlpRRr7qq8 ++ rm /tmp/tmp.9BBnoIaQMc /tmp/tmp.XlpRRr7qq8 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 9 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Zm5B4ZjJpp +++ mktemp ++ local LAST_ERR=/tmp/tmp.taUMyhjzoz ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.Zm5B4ZjJpp ++ cat /tmp/tmp.taUMyhjzoz ++ rm /tmp/tmp.Zm5B4ZjJpp /tmp/tmp.taUMyhjzoz ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 10 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.EibK3WNKFv +++ mktemp ++ local LAST_ERR=/tmp/tmp.07d4GnsEaP ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.EibK3WNKFv ++ cat /tmp/tmp.07d4GnsEaP ++ rm /tmp/tmp.EibK3WNKFv /tmp/tmp.07d4GnsEaP ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 11 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xmzuGTdFwV +++ mktemp ++ local LAST_ERR=/tmp/tmp.JGTryCBgCg ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.xmzuGTdFwV ++ cat /tmp/tmp.JGTryCBgCg ++ rm /tmp/tmp.xmzuGTdFwV /tmp/tmp.JGTryCBgCg ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 12 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.FPchWagU28 +++ mktemp ++ local LAST_ERR=/tmp/tmp.9w1hPIE22W ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.FPchWagU28 ++ cat /tmp/tmp.9w1hPIE22W ++ rm /tmp/tmp.FPchWagU28 /tmp/tmp.9w1hPIE22W ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 13 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.7gyqwYMvJg +++ mktemp ++ local LAST_ERR=/tmp/tmp.ynDJEGgBUq ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.7gyqwYMvJg ++ cat /tmp/tmp.ynDJEGgBUq ++ rm /tmp/tmp.7gyqwYMvJg /tmp/tmp.ynDJEGgBUq ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 14 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.8layVGHg7K +++ mktemp ++ local LAST_ERR=/tmp/tmp.cNSEfhhZYn ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.8layVGHg7K ++ cat /tmp/tmp.cNSEfhhZYn ++ rm /tmp/tmp.8layVGHg7K /tmp/tmp.cNSEfhhZYn ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 15 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.h7Prlji4Qs +++ mktemp ++ local LAST_ERR=/tmp/tmp.KT1nfbk8Wb ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.h7Prlji4Qs ++ cat /tmp/tmp.KT1nfbk8Wb ++ rm /tmp/tmp.h7Prlji4Qs /tmp/tmp.KT1nfbk8Wb ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 16 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.CRmJOZtDry +++ mktemp ++ local LAST_ERR=/tmp/tmp.BjQxtVasvD ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.CRmJOZtDry ++ cat /tmp/tmp.BjQxtVasvD ++ rm /tmp/tmp.CRmJOZtDry /tmp/tmp.BjQxtVasvD ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 17 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.yS573cp4zL +++ mktemp ++ local LAST_ERR=/tmp/tmp.NkefiLpyex ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.yS573cp4zL ++ cat /tmp/tmp.NkefiLpyex ++ rm /tmp/tmp.yS573cp4zL /tmp/tmp.NkefiLpyex ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 18 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.t0cwKB0H0s +++ mktemp ++ local LAST_ERR=/tmp/tmp.caDab7OmpA ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.t0cwKB0H0s ++ cat /tmp/tmp.caDab7OmpA ++ rm /tmp/tmp.t0cwKB0H0s /tmp/tmp.caDab7OmpA ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 19 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.OHQx9iRFib +++ mktemp ++ local LAST_ERR=/tmp/tmp.BjVsbq7yaa ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.OHQx9iRFib ++ cat /tmp/tmp.BjVsbq7yaa ++ rm /tmp/tmp.OHQx9iRFib /tmp/tmp.BjVsbq7yaa ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 20 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1kBoAtCowe +++ mktemp ++ local LAST_ERR=/tmp/tmp.FwBbN4h8cO ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.1kBoAtCowe ++ cat /tmp/tmp.FwBbN4h8cO ++ rm /tmp/tmp.1kBoAtCowe /tmp/tmp.FwBbN4h8cO ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 21 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.rMFYcmUmBA +++ mktemp ++ local LAST_ERR=/tmp/tmp.nt9quh8Nwm ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.rMFYcmUmBA ++ cat /tmp/tmp.nt9quh8Nwm ++ rm /tmp/tmp.rMFYcmUmBA /tmp/tmp.nt9quh8Nwm ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 22 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xqpIgAKfPY +++ mktemp ++ local LAST_ERR=/tmp/tmp.fhZfHyOVC0 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.xqpIgAKfPY ++ cat /tmp/tmp.fhZfHyOVC0 ++ rm /tmp/tmp.xqpIgAKfPY /tmp/tmp.fhZfHyOVC0 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 23 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.oxoYO62piQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.Zhk5lLNCUp ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.oxoYO62piQ ++ cat /tmp/tmp.Zhk5lLNCUp ++ rm /tmp/tmp.oxoYO62piQ /tmp/tmp.Zhk5lLNCUp ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 24 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.83p9Vbe7pl +++ mktemp ++ local LAST_ERR=/tmp/tmp.x5djVCZ4f1 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.83p9Vbe7pl ++ cat /tmp/tmp.x5djVCZ4f1 ++ rm /tmp/tmp.83p9Vbe7pl /tmp/tmp.x5djVCZ4f1 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 25 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.OBsRicm97O +++ mktemp ++ local LAST_ERR=/tmp/tmp.vm7PP86o0k ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.OBsRicm97O ++ cat /tmp/tmp.vm7PP86o0k ++ rm /tmp/tmp.OBsRicm97O /tmp/tmp.vm7PP86o0k ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 26 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.DTR8z90S9C +++ mktemp ++ local LAST_ERR=/tmp/tmp.spEu30SqEC ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.DTR8z90S9C ++ cat /tmp/tmp.spEu30SqEC ++ rm /tmp/tmp.DTR8z90S9C /tmp/tmp.spEu30SqEC ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 27 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.wFighvA6ns +++ mktemp ++ local LAST_ERR=/tmp/tmp.8ySabVtpdG ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.wFighvA6ns ++ cat /tmp/tmp.8ySabVtpdG ++ rm /tmp/tmp.wFighvA6ns /tmp/tmp.8ySabVtpdG ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 28 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.uWM3WRIAaJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.fnTccev5q0 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.uWM3WRIAaJ ++ cat /tmp/tmp.fnTccev5q0 ++ rm /tmp/tmp.uWM3WRIAaJ /tmp/tmp.fnTccev5q0 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 29 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.9NYPEXwrgq +++ mktemp ++ local LAST_ERR=/tmp/tmp.fAigkRmcPT ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.9NYPEXwrgq ++ cat /tmp/tmp.fAigkRmcPT ++ rm /tmp/tmp.9NYPEXwrgq /tmp/tmp.fAigkRmcPT ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 30 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.aPxHQscg5J +++ mktemp ++ local LAST_ERR=/tmp/tmp.HTm8PG1SJw ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.aPxHQscg5J ++ cat /tmp/tmp.HTm8PG1SJw ++ rm /tmp/tmp.aPxHQscg5J /tmp/tmp.HTm8PG1SJw ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 31 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.VS6EdIpla5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.WGtVu2A36s ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.VS6EdIpla5 ++ cat /tmp/tmp.WGtVu2A36s ++ rm /tmp/tmp.VS6EdIpla5 /tmp/tmp.WGtVu2A36s ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 32 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.stL9jY7PUM +++ mktemp ++ local LAST_ERR=/tmp/tmp.jl788UKAOH ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.stL9jY7PUM ++ cat /tmp/tmp.jl788UKAOH ++ rm /tmp/tmp.stL9jY7PUM /tmp/tmp.jl788UKAOH ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 33 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.p0cxZ5iIsr +++ mktemp ++ local LAST_ERR=/tmp/tmp.TgBEgrSqOn ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.p0cxZ5iIsr ++ cat /tmp/tmp.TgBEgrSqOn ++ rm /tmp/tmp.p0cxZ5iIsr /tmp/tmp.TgBEgrSqOn ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 34 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4LeBCo1cv4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.PgUlrviFFu ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.4LeBCo1cv4 ++ cat /tmp/tmp.PgUlrviFFu ++ rm /tmp/tmp.4LeBCo1cv4 /tmp/tmp.PgUlrviFFu ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 35 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.pYqlAMl6wr +++ mktemp ++ local LAST_ERR=/tmp/tmp.9ahUZFG5Ql ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.pYqlAMl6wr ++ cat /tmp/tmp.9ahUZFG5Ql ++ rm /tmp/tmp.pYqlAMl6wr /tmp/tmp.9ahUZFG5Ql ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 36 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.NBzRPMihbg +++ mktemp ++ local LAST_ERR=/tmp/tmp.RwAXkPhBHY ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.NBzRPMihbg ++ cat /tmp/tmp.RwAXkPhBHY ++ rm /tmp/tmp.NBzRPMihbg /tmp/tmp.RwAXkPhBHY ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 37 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Ceo1W24Z2V +++ mktemp ++ local LAST_ERR=/tmp/tmp.SKqf5OUYPX ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.Ceo1W24Z2V ++ cat /tmp/tmp.SKqf5OUYPX ++ rm /tmp/tmp.Ceo1W24Z2V /tmp/tmp.SKqf5OUYPX ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 38 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.XplKVfOz5N +++ mktemp ++ local LAST_ERR=/tmp/tmp.W7cilKT7Bj ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.XplKVfOz5N ++ cat /tmp/tmp.W7cilKT7Bj ++ rm /tmp/tmp.XplKVfOz5N /tmp/tmp.W7cilKT7Bj ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 39 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.llUFwuQhSo +++ mktemp ++ local LAST_ERR=/tmp/tmp.1OcwHqVzIm ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.llUFwuQhSo ++ cat /tmp/tmp.1OcwHqVzIm ++ rm /tmp/tmp.llUFwuQhSo /tmp/tmp.1OcwHqVzIm ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 40 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.fBc2Prcdr2 +++ mktemp ++ local LAST_ERR=/tmp/tmp.6Jq99g8bNz ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.fBc2Prcdr2 ++ cat /tmp/tmp.6Jq99g8bNz ++ rm /tmp/tmp.fBc2Prcdr2 /tmp/tmp.6Jq99g8bNz ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 41 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.L68I5gYJ5Q +++ mktemp ++ local LAST_ERR=/tmp/tmp.49UqNreG8J ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.L68I5gYJ5Q ++ cat /tmp/tmp.49UqNreG8J ++ rm /tmp/tmp.L68I5gYJ5Q /tmp/tmp.49UqNreG8J ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 42 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.o9SPOJikH0 +++ mktemp ++ local LAST_ERR=/tmp/tmp.kD3QFW2haq ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.o9SPOJikH0 ++ cat /tmp/tmp.kD3QFW2haq ++ rm /tmp/tmp.o9SPOJikH0 /tmp/tmp.kD3QFW2haq ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 43 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4UvMQv7KOR +++ mktemp ++ local LAST_ERR=/tmp/tmp.fnvVJVN0fl ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.4UvMQv7KOR ++ cat /tmp/tmp.fnvVJVN0fl ++ rm /tmp/tmp.4UvMQv7KOR /tmp/tmp.fnvVJVN0fl ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 44 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.h52m7PVOV8 +++ mktemp ++ local LAST_ERR=/tmp/tmp.DgSx86Gd17 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.h52m7PVOV8 ++ cat /tmp/tmp.DgSx86Gd17 ++ rm /tmp/tmp.h52m7PVOV8 /tmp/tmp.DgSx86Gd17 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 45 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.g03k0OiQT6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.arBKECwnny ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.g03k0OiQT6 ++ cat /tmp/tmp.arBKECwnny ++ rm /tmp/tmp.g03k0OiQT6 /tmp/tmp.arBKECwnny ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 46 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.H1iyGJoKei +++ mktemp ++ local LAST_ERR=/tmp/tmp.mZNtIAAL9R ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.H1iyGJoKei ++ cat /tmp/tmp.mZNtIAAL9R ++ rm /tmp/tmp.H1iyGJoKei /tmp/tmp.mZNtIAAL9R ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 47 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.TgPm11rgK1 +++ mktemp ++ local LAST_ERR=/tmp/tmp.9OatwCebr9 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.TgPm11rgK1 ++ cat /tmp/tmp.9OatwCebr9 ++ rm /tmp/tmp.TgPm11rgK1 /tmp/tmp.9OatwCebr9 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 48 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.EFnT955p5c +++ mktemp ++ local LAST_ERR=/tmp/tmp.ycNxZ9AdqM ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.EFnT955p5c ++ cat /tmp/tmp.ycNxZ9AdqM ++ rm /tmp/tmp.EFnT955p5c /tmp/tmp.ycNxZ9AdqM ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 49 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.3gKGeoAmM0 +++ mktemp ++ local LAST_ERR=/tmp/tmp.fEZZXYmR1U ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.3gKGeoAmM0 ++ cat /tmp/tmp.fEZZXYmR1U ++ rm /tmp/tmp.3gKGeoAmM0 /tmp/tmp.fEZZXYmR1U ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 50 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.eVSO64LV3t +++ mktemp ++ local LAST_ERR=/tmp/tmp.OeG8EZzslK ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.eVSO64LV3t ++ cat /tmp/tmp.OeG8EZzslK ++ rm /tmp/tmp.eVSO64LV3t /tmp/tmp.OeG8EZzslK ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 51 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.7PZJsPTe0L +++ mktemp ++ local LAST_ERR=/tmp/tmp.FIL7gKCw7L ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.7PZJsPTe0L ++ cat /tmp/tmp.FIL7gKCw7L ++ rm /tmp/tmp.7PZJsPTe0L /tmp/tmp.FIL7gKCw7L ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 52 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RcPsBMf48c +++ mktemp ++ local LAST_ERR=/tmp/tmp.DyIWN0aedk ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.RcPsBMf48c ++ cat /tmp/tmp.DyIWN0aedk ++ rm /tmp/tmp.RcPsBMf48c /tmp/tmp.DyIWN0aedk ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 53 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.7U2atVFlFW +++ mktemp ++ local LAST_ERR=/tmp/tmp.PKhzE0x86g ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.7U2atVFlFW ++ cat /tmp/tmp.PKhzE0x86g ++ rm /tmp/tmp.7U2atVFlFW /tmp/tmp.PKhzE0x86g ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 54 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.L4PA7QgwKS +++ mktemp ++ local LAST_ERR=/tmp/tmp.sh7r4ujzw9 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.L4PA7QgwKS ++ cat /tmp/tmp.sh7r4ujzw9 ++ rm /tmp/tmp.L4PA7QgwKS /tmp/tmp.sh7r4ujzw9 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 55 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.R0UWX7ueU1 +++ mktemp ++ local LAST_ERR=/tmp/tmp.jB9xteunfT ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.R0UWX7ueU1 ++ cat /tmp/tmp.jB9xteunfT ++ rm /tmp/tmp.R0UWX7ueU1 /tmp/tmp.jB9xteunfT ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 56 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.MTG6lNQs9k +++ mktemp ++ local LAST_ERR=/tmp/tmp.2sm3olKTJX ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.MTG6lNQs9k ++ cat /tmp/tmp.2sm3olKTJX ++ rm /tmp/tmp.MTG6lNQs9k /tmp/tmp.2sm3olKTJX ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 57 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.9NjB072VQG +++ mktemp ++ local LAST_ERR=/tmp/tmp.MNNisRqGYE ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.9NjB072VQG ++ cat /tmp/tmp.MNNisRqGYE ++ rm /tmp/tmp.9NjB072VQG /tmp/tmp.MNNisRqGYE ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 58 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.HCPfAk9qsJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.xNWnCUrCcl ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.HCPfAk9qsJ ++ cat /tmp/tmp.xNWnCUrCcl ++ rm /tmp/tmp.HCPfAk9qsJ /tmp/tmp.xNWnCUrCcl ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 59 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.aCZLty05yV +++ mktemp ++ local LAST_ERR=/tmp/tmp.W9FIdv1m16 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.aCZLty05yV ++ cat /tmp/tmp.W9FIdv1m16 ++ rm /tmp/tmp.aCZLty05yV /tmp/tmp.W9FIdv1m16 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 60 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.8bc5SWkOiq +++ mktemp ++ local LAST_ERR=/tmp/tmp.4jQ4kqMB3F ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.8bc5SWkOiq ++ cat /tmp/tmp.4jQ4kqMB3F ++ rm /tmp/tmp.8bc5SWkOiq /tmp/tmp.4jQ4kqMB3F ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 61 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RzK9Swxdif +++ mktemp ++ local LAST_ERR=/tmp/tmp.oKkut6gCXR ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.RzK9Swxdif ++ cat /tmp/tmp.oKkut6gCXR ++ rm /tmp/tmp.RzK9Swxdif /tmp/tmp.oKkut6gCXR ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 62 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hK5HxP2p2z +++ mktemp ++ local LAST_ERR=/tmp/tmp.Ho3wuVsNXj ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.hK5HxP2p2z ++ cat /tmp/tmp.Ho3wuVsNXj ++ rm /tmp/tmp.hK5HxP2p2z /tmp/tmp.Ho3wuVsNXj ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 63 -ge 64 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5mPZPxYHOh +++ mktemp ++ local LAST_ERR=/tmp/tmp.HdVIEgKwgj ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.5mPZPxYHOh ++ cat /tmp/tmp.HdVIEgKwgj ++ rm /tmp/tmp.5mPZPxYHOh /tmp/tmp.HdVIEgKwgj ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 64 -ge 64 ']' + echo max retry count 64 reached. something went wrong with operator or kubernetes cluster max retry count 64 reached. something went wrong with operator or kubernetes cluster + exit 1