Log: /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/logs/pvc-resize-8-0.log WARNING: version difference between client (1.32) and server (1.28) exceeds the supported minor version skew of +/-1 WARNING: version difference between client (1.32) and server (1.28) exceeds the supported minor version skew of +/-1 + '[' 0 == 1 -o -n '' ']' + ensure_default_sc_allows_expansion ++ get_default_storageclass ++ kubectl_bin get sc -o 'jsonpath={.items[?(@.metadata.annotations.storageclass\.kubernetes\.io/is-default-class=="true")].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.jTyHVodN3b +++ mktemp ++ local LAST_ERR=/tmp/tmp.V4IbIjzsUC ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get sc -o 'jsonpath={.items[?(@.metadata.annotations.storageclass\.kubernetes\.io/is-default-class=="true")].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.jTyHVodN3b ++ cat /tmp/tmp.V4IbIjzsUC ++ rm /tmp/tmp.jTyHVodN3b /tmp/tmp.V4IbIjzsUC ++ return 0 + local default_sc=standard-rwo + echo 'Checking if default storageclass standard-rwo allows volume expansion' Checking if default storageclass standard-rwo allows volume expansion ++ kubectl_bin get sc -o 'jsonpath={.items[?(@.metadata.name=="standard-rwo")].allowVolumeExpansion}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.PkvTSD2mnd +++ mktemp ++ local LAST_ERR=/tmp/tmp.Jc5yTvyY0f ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get sc -o 'jsonpath={.items[?(@.metadata.name=="standard-rwo")].allowVolumeExpansion}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.PkvTSD2mnd ++ cat /tmp/tmp.Jc5yTvyY0f ++ rm /tmp/tmp.PkvTSD2mnd /tmp/tmp.Jc5yTvyY0f ++ return 0 + local allowVolumeExpansion=true + [[ true != \t\r\u\e ]] + create_infra pvc-resize-21419 + local ns=pvc-resize-21419 + '[' -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 pvc-resize-14020 some-name --type=merge -p '{"metadata":{"finalizers":[]}}' perconaxtradbcluster.pxc.percona.com/some-name patched + kubectl_bin delete pxc --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.fMemJuNcd6 ++ mktemp + local LAST_ERR=/tmp/tmp.cA4bmbho6i + 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.fMemJuNcd6 perconaxtradbcluster.pxc.percona.com "some-name" deleted + cat /tmp/tmp.cA4bmbho6i + rm /tmp/tmp.fMemJuNcd6 /tmp/tmp.cA4bmbho6i + return 0 + kubectl_bin delete pxc-backup --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.8T0phklpcM ++ mktemp + local LAST_ERR=/tmp/tmp.D0YLU7yOu4 + 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.8T0phklpcM No resources found + cat /tmp/tmp.D0YLU7yOu4 + rm /tmp/tmp.8T0phklpcM /tmp/tmp.D0YLU7yOu4 + return 0 + kubectl_bin delete pxc-restore --all --all-namespaces ++ mktemp + local LAST_OUT=/tmp/tmp.AJUWHARorw ++ mktemp + local LAST_ERR=/tmp/tmp.WBotPqkS0a + 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.AJUWHARorw No resources found + cat /tmp/tmp.WBotPqkS0a + rm /tmp/tmp.AJUWHARorw /tmp/tmp.WBotPqkS0a + 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 ++ awk '-F ' '{print $2}' ++ tail -n1 ++ 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 + : ++ awk '{print $1}' ++ grep chaos-mesh ++ kubectl get ValidatingWebhookConfiguration + 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 + : ++ 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 + : ++ grep chaos-mesh ++ kubectl get clusterrolebinding ++ 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 ----------------------------------------------------------------------------------- + egrep -v '^kube-|^default$|Terminating|pxc-operator|openshift|^NAME' + '[' -n '' ']' + desc 'cleaned up old namespaces pxc-operator' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces pxc-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.lHpho1kdCS + kubectl_bin get ns ++ mktemp ++ mktemp + local LAST_ERR=/tmp/tmp.8GVTIzc5o1 + local exit_status=0 + local LAST_OUT=/tmp/tmp.0OK9ct0HUn ++ seq 0 2 ++ mktemp + awk '{print$1}' + local LAST_ERR=/tmp/tmp.NRk3I4hvLc + local exit_status=0 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace pxc-operator ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl get ns + xargs kubectl delete ns + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.0OK9ct0HUn + cat /tmp/tmp.NRk3I4hvLc + rm /tmp/tmp.0OK9ct0HUn /tmp/tmp.NRk3I4hvLc + return 0 namespace "gke-managed-system" deleted namespace "gmp-public" deleted namespace "gmp-system" deleted namespace "pvc-resize-14020" deleted Error from server (Forbidden): namespaces "default" is forbidden: this namespace may not be deleted + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.lHpho1kdCS namespace "pxc-operator" deleted + cat /tmp/tmp.8GVTIzc5o1 + rm /tmp/tmp.lHpho1kdCS /tmp/tmp.8GVTIzc5o1 + 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.lgAmGNDmui ++ mktemp + local LAST_ERR=/tmp/tmp.ONhpKcAntl + 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.lgAmGNDmui namespace/pxc-operator created + cat /tmp/tmp.ONhpKcAntl + rm /tmp/tmp.lgAmGNDmui /tmp/tmp.ONhpKcAntl + return 0 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.1dVroXDrLT +++ mktemp ++ local LAST_ERR=/tmp/tmp.9g9dBpEcnR ++ 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.1dVroXDrLT ++ cat /tmp/tmp.9g9dBpEcnR ++ rm /tmp/tmp.1dVroXDrLT /tmp/tmp.9g9dBpEcnR ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-1697-26afa527-8-cluster7 --namespace=pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.rn7sZi9DAv ++ mktemp + local LAST_ERR=/tmp/tmp.huDXe3V8eL + 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-1697-26afa527-8-cluster7 --namespace=pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.rn7sZi9DAv Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-1697-26afa527-8-cluster7" modified. + cat /tmp/tmp.huDXe3V8eL + rm /tmp/tmp.rn7sZi9DAv /tmp/tmp.huDXe3V8eL + 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-1697/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.oLOg2l7EOf ++ mktemp + local LAST_ERR=/tmp/tmp.Hta3dae76l + 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-1697/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.oLOg2l7EOf 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.Hta3dae76l + rm /tmp/tmp.oLOg2l7EOf /tmp/tmp.Hta3dae76l + 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-1697/deploy/cw-rbac.yaml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.vtJ7CStWb6 ++ mktemp + local LAST_ERR=/tmp/tmp.wrs5ynB0vN + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + sed -e 's^namespace: .*^namespace: pxc-operator^' + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.vtJ7CStWb6 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.wrs5ynB0vN + rm /tmp/tmp.vtJ7CStWb6 /tmp/tmp.wrs5ynB0vN + return 0 + kubectl_bin apply -f - + yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "LOG_LEVEL").value) = "DEBUG"' - + sed -e 's^image: .*^image: perconalab/percona-xtradb-cluster-operator:PR-1697-26afa527^' + cat /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/deploy/cw-operator.yaml + yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "DISABLE_TELEMETRY").value) = "true"' - ++ mktemp + local LAST_OUT=/tmp/tmp.lXI2UKb8h1 + sed -e 's^failureThreshold: .*^failureThreshold: 10^' ++ mktemp + local LAST_ERR=/tmp/tmp.xi7qipOpd4 + 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.lXI2UKb8h1 deployment.apps/percona-xtradb-cluster-operator created service/percona-xtradb-cluster-operator created + cat /tmp/tmp.xi7qipOpd4 + rm /tmp/tmp.lXI2UKb8h1 /tmp/tmp.xi7qipOpd4 + 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.stHGmN0d7x ++ mktemp + local LAST_ERR=/tmp/tmp.2a8QfQadyj + 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.stHGmN0d7x pod/percona-xtradb-cluster-operator-67cbddd7f9-g95kq condition met + cat /tmp/tmp.2a8QfQadyj + rm /tmp/tmp.stHGmN0d7x /tmp/tmp.2a8QfQadyj + return 0 ++ 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.T9a9I3kgqF +++ mktemp ++ local LAST_ERR=/tmp/tmp.dpLv6oULQr ++ 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.T9a9I3kgqF ++ cat /tmp/tmp.dpLv6oULQr ++ rm /tmp/tmp.T9a9I3kgqF /tmp/tmp.dpLv6oULQr ++ return 0 + wait_pod percona-xtradb-cluster-operator-67cbddd7f9-g95kq 480 pxc-operator + local pod=percona-xtradb-cluster-operator-67cbddd7f9-g95kq + local max_retry=480 + local ns=pxc-operator ++ echo percona-xtradb-cluster-operator-67cbddd7f9-g95kq ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container= + set +o xtrace pod/percona-xtradb-cluster-operator-67cbddd7f9-g95kq condition met waiting for pod/percona-xtradb-cluster-operator-67cbddd7f9-g95kq to become Ready.Ok + sleep 3 + create_namespace pvc-resize-21419 + local namespace=pvc-resize-21419 + 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 ++ 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 ++ awk '{print $1}' ++ grep chaos-mesh ++ kubectl get crd ++ awk '{print $1}' ++ grep chaos-mesh.org + 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 ----------------------------------------------------------------------------------- + egrep -v '^kube-|^default$|Terminating|pxc-operator|openshift|^NAME' + '[' -n '' ']' + desc 'cleaned up old namespaces pvc-resize-21419' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces pvc-resize-21419 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace pvc-resize-21419 ++ mktemp + awk '{print$1}' + local LAST_OUT=/tmp/tmp.R4lGV7ZhJS ++ mktemp + xargs kubectl delete ns + kubectl_bin get ns + local LAST_ERR=/tmp/tmp.a0WLEGc7uI + local exit_status=0 ++ mktemp + local LAST_OUT=/tmp/tmp.7wDAs3wtml ++ seq 0 2 ++ mktemp + for i in '$(seq 0 2)' + set +e + kubectl delete namespace pvc-resize-21419 + local LAST_ERR=/tmp/tmp.25Vuf9LX4f + local exit_status=0 ++ seq 0 2 + 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 pvc-resize-21419 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.7wDAs3wtml + cat /tmp/tmp.25Vuf9LX4f + rm /tmp/tmp.7wDAs3wtml /tmp/tmp.25Vuf9LX4f + return 0 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace pvc-resize-21419 namespace "gke-managed-system" deleted namespace "gmp-public" deleted namespace "gmp-system" deleted Error from server (Forbidden): namespaces "default" is forbidden: this namespace may not be deleted + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + cat /tmp/tmp.R4lGV7ZhJS + cat /tmp/tmp.a0WLEGc7uI Error from server (NotFound): namespaces "pvc-resize-21419" not found + rm /tmp/tmp.R4lGV7ZhJS /tmp/tmp.a0WLEGc7uI + return 1 + : + wait_for_delete namespace/pvc-resize-21419 + local res=namespace/pvc-resize-21419 + echo -n 'waiting for namespace/pvc-resize-21419 to be deleted' waiting for namespace/pvc-resize-21419 to be deleted+ set +o xtrace Error from server (NotFound): namespaces "pvc-resize-21419" not found + desc 'create namespace pvc-resize-21419' + set +o xtrace ----------------------------------------------------------------------------------- create namespace pvc-resize-21419 ----------------------------------------------------------------------------------- + kubectl_bin create namespace pvc-resize-21419 ++ mktemp + local LAST_OUT=/tmp/tmp.EZ3EWWg13J ++ mktemp + local LAST_ERR=/tmp/tmp.8aqEgyOZRu + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create namespace pvc-resize-21419 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.EZ3EWWg13J namespace/pvc-resize-21419 created + cat /tmp/tmp.8aqEgyOZRu + rm /tmp/tmp.EZ3EWWg13J /tmp/tmp.8aqEgyOZRu + return 0 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.csIqY3ciCg +++ mktemp ++ local LAST_ERR=/tmp/tmp.8XMZvn7sP7 ++ 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.csIqY3ciCg ++ cat /tmp/tmp.8XMZvn7sP7 ++ rm /tmp/tmp.csIqY3ciCg /tmp/tmp.8XMZvn7sP7 ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-1697-26afa527-8-cluster7 --namespace=pvc-resize-21419 ++ mktemp + local LAST_OUT=/tmp/tmp.aG438NDSZA ++ mktemp + local LAST_ERR=/tmp/tmp.9HZ4gllP50 + 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-1697-26afa527-8-cluster7 --namespace=pvc-resize-21419 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.aG438NDSZA Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-1697-26afa527-8-cluster7" modified. + cat /tmp/tmp.9HZ4gllP50 + rm /tmp/tmp.aG438NDSZA /tmp/tmp.9HZ4gllP50 + 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-1697/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/conf/cloud-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.aVGChLbknj ++ mktemp + local LAST_ERR=/tmp/tmp.rYUVhORQbg + 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-1697/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/conf/cloud-secret.yml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.aVGChLbknj secret/minio-secret created secret/aws-s3-secret created secret/gcp-cs-secret created secret/azure-secret created + cat /tmp/tmp.rYUVhORQbg + rm /tmp/tmp.aVGChLbknj /tmp/tmp.rYUVhORQbg + return 0 + desc 'create first PXC cluster' + set +o xtrace ----------------------------------------------------------------------------------- create first PXC cluster ----------------------------------------------------------------------------------- + cluster=some-name + '[' 0 == 1 -o -n '' ']' + spinup_pxc some-name /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/conf/some-name.yml 3 10 /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/conf/secrets.yml + local cluster=some-name + local config=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/conf/some-name.yml + local size=3 + local sleep=10 + local secretsFile=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/conf/secrets.yml + local pxcClientFile=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/conf/client.yml + local port=3306 + desc 'create first PXC cluster' + set +o xtrace ----------------------------------------------------------------------------------- create first PXC cluster ----------------------------------------------------------------------------------- + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/conf/secrets.yml ++ mktemp + local LAST_OUT=/tmp/tmp.4gkU9DR4AP ++ mktemp + local LAST_ERR=/tmp/tmp.FmgKhRWp8c + 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-1697/e2e-tests/conf/secrets.yml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.4gkU9DR4AP secret/my-cluster-secrets created secret/some-name-ssl created secret/some-name-ssl-internal created + cat /tmp/tmp.FmgKhRWp8c + rm /tmp/tmp.4gkU9DR4AP /tmp/tmp.FmgKhRWp8c + return 0 + apply_config /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/conf/client.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/conf/client.yml + /usr/bin/sed -e s~minio-service.#namespace~minio-service.pvc-resize-21419~ + /usr/bin/sed -e 's#image:.*-logcollector$#image: perconalab/percona-xtradb-cluster-operator:main-logcollector#' + /usr/bin/sed -e 's#image:.*-backup$#image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0-backup#' + /usr/bin/sed -e 's#image:.*-pmm$#image: perconalab/pmm-client:dev-latest#' + /usr/bin/sed -e 's#image:.*-pxc\([0-9]*.[0-9]*\)\{0,1\}$#image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0#' + /usr/bin/sed -e 's#apply:.*#apply: Never#' + /usr/bin/sed -e 's#apiVersion: pxc.percona.com/v.*$#apiVersion: pxc.percona.com/v1#' + /usr/bin/sed -e 's#image:.*-proxysql$#image: perconalab/percona-xtradb-cluster-operator:main-proxysql#' + kubectl_bin apply -f - + /usr/bin/sed -e 's#image:.*-haproxy$#image: perconalab/percona-xtradb-cluster-operator:main-haproxy#' ++ mktemp + local LAST_OUT=/tmp/tmp.12NyGjrNSS ++ mktemp + local LAST_ERR=/tmp/tmp.AVIFHIqmRZ + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + /usr/bin/sed -e 's#image:.*\/percona-xtradb-cluster:.*$#image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0#' + cat /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/conf/client.yml + /usr/bin/sed -e 's#image:.*-init$#image: perconalab/percona-xtradb-cluster-operator:PR-1697-26afa527#' + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.12NyGjrNSS deployment.apps/pxc-client created + cat /tmp/tmp.AVIFHIqmRZ + rm /tmp/tmp.12NyGjrNSS /tmp/tmp.AVIFHIqmRZ + return 0 + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + apply_config /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/conf/some-name.yml + '[' -z '' ']' + kubectl_bin apply -f - + cat_config /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/conf/some-name.yml ++ mktemp + /usr/bin/sed -e 's#image:.*-pxc\([0-9]*.[0-9]*\)\{0,1\}$#image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0#' + /usr/bin/sed -e 's#image:.*-pmm$#image: perconalab/pmm-client:dev-latest#' + /usr/bin/sed -e 's#apply:.*#apply: Never#' + local LAST_OUT=/tmp/tmp.PihSNE3w1t + /usr/bin/sed -e 's#image:.*-backup$#image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0-backup#' + /usr/bin/sed -e s~minio-service.#namespace~minio-service.pvc-resize-21419~ + /usr/bin/sed -e 's#image:.*-logcollector$#image: perconalab/percona-xtradb-cluster-operator:main-logcollector#' + cat /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/conf/some-name.yml ++ mktemp + local LAST_ERR=/tmp/tmp.4cJuE9hEL4 + local exit_status=0 ++ seq 0 2 + /usr/bin/sed -e 's#image:.*-proxysql$#image: perconalab/percona-xtradb-cluster-operator:main-proxysql#' + /usr/bin/sed -e 's#image:.*-haproxy$#image: perconalab/percona-xtradb-cluster-operator:main-haproxy#' + /usr/bin/sed -e 's#image:.*\/percona-xtradb-cluster:.*$#image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0#' + /usr/bin/sed -e 's#image:.*-init$#image: perconalab/percona-xtradb-cluster-operator:PR-1697-26afa527#' + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + /usr/bin/sed -e 's#apiVersion: pxc.percona.com/v.*$#apiVersion: pxc.percona.com/v1#' + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.PihSNE3w1t perconaxtradbcluster.pxc.percona.com/some-name created + cat /tmp/tmp.4cJuE9hEL4 + rm /tmp/tmp.PihSNE3w1t /tmp/tmp.4cJuE9hEL4 + return 0 + desc 'check if all 3 Pods started' + set +o xtrace ----------------------------------------------------------------------------------- check if all 3 Pods started ----------------------------------------------------------------------------------- ++ get_proxy some-name ++ local target_cluster=some-name +++ kubectl_bin get pxc some-name -o 'jsonpath={.spec.haproxy.enabled}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.QtVCvuPKxF ++++ mktemp +++ local LAST_ERR=/tmp/tmp.snA5Zw8qZH +++ local exit_status=0 ++++ seq 0 2 +++ for i in '$(seq 0 2)' +++ set +e +++ kubectl get pxc some-name -o 'jsonpath={.spec.haproxy.enabled}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 ']' +++ break +++ cat /tmp/tmp.QtVCvuPKxF +++ cat /tmp/tmp.snA5Zw8qZH +++ rm /tmp/tmp.QtVCvuPKxF /tmp/tmp.snA5Zw8qZH +++ return 0 ++ [[ true == \t\r\u\e ]] ++ echo some-name-haproxy ++ return + local proxy=some-name-haproxy + kubectl_bin wait --for=condition=Ready pod -l app.kubernetes.io/instance=monitoring,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator --timeout=300s -n pvc-resize-21419 ++ mktemp + local LAST_OUT=/tmp/tmp.3zRyAIdXvj ++ mktemp + local LAST_ERR=/tmp/tmp.hXzfcI6QT1 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=monitoring,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator --timeout=300s -n pvc-resize-21419 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=monitoring,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator --timeout=300s -n pvc-resize-21419 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=monitoring,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator --timeout=300s -n pvc-resize-21419 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + cat /tmp/tmp.3zRyAIdXvj + cat /tmp/tmp.hXzfcI6QT1 error: no matching resources found + rm /tmp/tmp.3zRyAIdXvj /tmp/tmp.hXzfcI6QT1 + return 1 + true + wait_for_running some-name-haproxy 1 + local name=some-name-haproxy + 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 some-name-haproxy-0 480 + local pod=some-name-haproxy-0 + local max_retry=480 + local ns= ++ echo some-name-haproxy-0 ++ egrep '^(pxc|proxysql)$' ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' + local container= + set +o xtrace pod/some-name-haproxy-0 condition met waiting for pod/some-name-haproxy-0 to become ReadyDefaulted container "haproxy" out of: haproxy, pxc-monit, pxc-init (init), haproxy-init (init) .Ok + wait_for_running some-name-pxc 3 + local name=some-name-pxc + let last_pod=2 + local max_retry=480 + desc 'wait for running cluster' + set +o xtrace ----------------------------------------------------------------------------------- wait for running cluster ----------------------------------------------------------------------------------- ++ seq 0 2 + for i in '$(seq 0 $last_pod)' + wait_pod some-name-pxc-0 480 + local pod=some-name-pxc-0 + local max_retry=480 + local ns= ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ echo some-name-pxc-0 ++ egrep '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/some-name-pxc-0 condition met waiting for pod/some-name-pxc-0 to become Ready.Ok + for i in '$(seq 0 $last_pod)' + wait_pod some-name-pxc-1 480 + local pod=some-name-pxc-1 + local max_retry=480 + local ns= ++ echo some-name-pxc-1 ++ egrep '^(pxc|proxysql)$' ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' + local container=pxc + set +o xtrace pod/some-name-pxc-1 condition met waiting for pod/some-name-pxc-1 to become Ready.Ok + for i in '$(seq 0 $last_pod)' + wait_pod some-name-pxc-2 480 + local pod=some-name-pxc-2 + local max_retry=480 + local ns= ++ echo some-name-pxc-2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/some-name-pxc-2 condition met waiting for pod/some-name-pxc-2 to become Ready.Ok + sleep 10 + desc 'write data' + set +o xtrace ----------------------------------------------------------------------------------- write data ----------------------------------------------------------------------------------- + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'CREATE DATABASE IF NOT EXISTS myApp; use myApp; CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY) ;' '-h some-name-haproxy -uroot -proot_password -P3306' + local 'command=CREATE DATABASE IF NOT EXISTS myApp; use myApp; CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY) ;' + local 'uri=-h some-name-haproxy -uroot -proot_password -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.THXlLmagS5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.rF2T1331Iy ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.THXlLmagS5 ++ cat /tmp/tmp.rF2T1331Iy ++ rm /tmp/tmp.THXlLmagS5 /tmp/tmp.rF2T1331Iy ++ return 0 + client_pod=pxc-client-69f9bd646c-tzm2l + wait_pod pxc-client-69f9bd646c-tzm2l + local pod=pxc-client-69f9bd646c-tzm2l + local max_retry=480 + local ns= ++ echo pxc-client-69f9bd646c-tzm2l ++ egrep '^(pxc|proxysql)$' ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' + local container= + set +o xtrace pod/pxc-client-69f9bd646c-tzm2l condition met waiting for pod/pxc-client-69f9bd646c-tzm2l to become Ready.Ok + set +o xtrace + run_mysql 'INSERT myApp.myApp (id) VALUES (100500)' '-h some-name-haproxy -uroot -proot_password -P3306' + local 'command=INSERT myApp.myApp (id) VALUES (100500)' + local 'uri=-h some-name-haproxy -uroot -proot_password -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xqqRTMyuto +++ mktemp ++ local LAST_ERR=/tmp/tmp.T84btmpiFj ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.xqqRTMyuto ++ cat /tmp/tmp.T84btmpiFj ++ rm /tmp/tmp.xqqRTMyuto /tmp/tmp.T84btmpiFj ++ return 0 + client_pod=pxc-client-69f9bd646c-tzm2l + wait_pod pxc-client-69f9bd646c-tzm2l + local pod=pxc-client-69f9bd646c-tzm2l + local max_retry=480 + local ns= ++ echo pxc-client-69f9bd646c-tzm2l ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-69f9bd646c-tzm2l condition met waiting for pod/pxc-client-69f9bd646c-tzm2l to become Ready.Ok + set +o xtrace + sleep 30 ++ seq 0 2 + for i in '$(seq 0 $((size - 1)))' + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h some-name-pxc-0.some-name-pxc -uroot -proot_password -P3306' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h some-name-pxc-0.some-name-pxc -uroot -proot_password -P3306' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/compare/select-1.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/compare/select-1-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h some-name-pxc-0.some-name-pxc -uroot -proot_password -P3306' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h some-name-pxc-0.some-name-pxc -uroot -proot_password -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Nc9fCVgJs9 +++ mktemp ++ local LAST_ERR=/tmp/tmp.XCunDhvw0N ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Nc9fCVgJs9 ++ cat /tmp/tmp.XCunDhvw0N ++ rm /tmp/tmp.Nc9fCVgJs9 /tmp/tmp.XCunDhvw0N ++ return 0 + client_pod=pxc-client-69f9bd646c-tzm2l + wait_pod pxc-client-69f9bd646c-tzm2l + local pod=pxc-client-69f9bd646c-tzm2l + local max_retry=480 + local ns= ++ egrep '^(pxc|proxysql)$' ++ echo pxc-client-69f9bd646c-tzm2l ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' + local container= + set +o xtrace pod/pxc-client-69f9bd646c-tzm2l condition met waiting for pod/pxc-client-69f9bd646c-tzm2l to become Ready.Ok + set +o xtrace + '[' '!' -s /tmp/tmp.O7zidypwMs/select-1.sql ']' + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/compare/select-1.sql /tmp/tmp.O7zidypwMs/select-1.sql + for i in '$(seq 0 $((size - 1)))' + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h some-name-pxc-1.some-name-pxc -uroot -proot_password -P3306' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h some-name-pxc-1.some-name-pxc -uroot -proot_password -P3306' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/compare/select-1.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/compare/select-1-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h some-name-pxc-1.some-name-pxc -uroot -proot_password -P3306' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h some-name-pxc-1.some-name-pxc -uroot -proot_password -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.g3D73pueo0 +++ mktemp ++ local LAST_ERR=/tmp/tmp.V5xFFVcqbQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.g3D73pueo0 ++ cat /tmp/tmp.V5xFFVcqbQ ++ rm /tmp/tmp.g3D73pueo0 /tmp/tmp.V5xFFVcqbQ ++ return 0 + client_pod=pxc-client-69f9bd646c-tzm2l + wait_pod pxc-client-69f9bd646c-tzm2l + local pod=pxc-client-69f9bd646c-tzm2l + local max_retry=480 + local ns= ++ echo pxc-client-69f9bd646c-tzm2l ++ egrep '^(pxc|proxysql)$' ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' + local container= + set +o xtrace pod/pxc-client-69f9bd646c-tzm2l condition met waiting for pod/pxc-client-69f9bd646c-tzm2l to become Ready.Ok + set +o xtrace + '[' '!' -s /tmp/tmp.O7zidypwMs/select-1.sql ']' + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/compare/select-1.sql /tmp/tmp.O7zidypwMs/select-1.sql + for i in '$(seq 0 $((size - 1)))' + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h some-name-pxc-2.some-name-pxc -uroot -proot_password -P3306' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h some-name-pxc-2.some-name-pxc -uroot -proot_password -P3306' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/compare/select-1.sql + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.4 ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 8\.0 ]] + [[ -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/compare/select-1-80.sql ]] + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 =~ 5\.7 ]] + run_mysql 'SELECT * from myApp.myApp;' '-h some-name-pxc-2.some-name-pxc -uroot -proot_password -P3306' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h some-name-pxc-2.some-name-pxc -uroot -proot_password -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.wBplnUshnJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.BEuwoGWDsk ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.wBplnUshnJ ++ cat /tmp/tmp.BEuwoGWDsk ++ rm /tmp/tmp.wBplnUshnJ /tmp/tmp.BEuwoGWDsk ++ return 0 + client_pod=pxc-client-69f9bd646c-tzm2l + wait_pod pxc-client-69f9bd646c-tzm2l + local pod=pxc-client-69f9bd646c-tzm2l + local max_retry=480 + local ns= ++ echo pxc-client-69f9bd646c-tzm2l ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-69f9bd646c-tzm2l condition met waiting for pod/pxc-client-69f9bd646c-tzm2l to become Ready.Ok + set +o xtrace + '[' '!' -s /tmp/tmp.O7zidypwMs/select-1.sql ']' + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/compare/select-1.sql /tmp/tmp.O7zidypwMs/select-1.sql ++ is_keyring_plugin_in_use some-name ++ local cluster=some-name ++ egrep -o 'early-plugin-load=keyring_\w+.so' ++ kubectl_bin exec -it some-name-pxc-0 -c pxc -- bash -c 'cat /etc/mysql/node.cnf' +++ mktemp ++ local LAST_OUT=/tmp/tmp.T9grkvw2r3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.kSBV35uECt ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl exec -it some-name-pxc-0 -c pxc -- bash -c 'cat /etc/mysql/node.cnf' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.T9grkvw2r3 ++ cat /tmp/tmp.kSBV35uECt Unable to use a TTY - input is not a terminal or the right kind of file ++ rm /tmp/tmp.T9grkvw2r3 /tmp/tmp.kSBV35uECt ++ return 0 + '[' '' ']' + desc 'test scaling' + set +o xtrace ----------------------------------------------------------------------------------- test scaling ----------------------------------------------------------------------------------- + patch_pvc_request some-name 3G + local cluster=some-name + local size=3G + echo 'Patching PVC request to 3G in some-name' Patching PVC request to 3G in some-name + kubectl_bin patch pxc some-name --type=json '-p=[{"op": "replace", "path": "/spec/pxc/volumeSpec/persistentVolumeClaim/resources/requests/storage", "value":"3G"}]' ++ mktemp + local LAST_OUT=/tmp/tmp.yMsRflGrec ++ mktemp + local LAST_ERR=/tmp/tmp.GDE89VfByt + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl patch pxc some-name --type=json '-p=[{"op": "replace", "path": "/spec/pxc/volumeSpec/persistentVolumeClaim/resources/requests/storage", "value":"3G"}]' + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.yMsRflGrec perconaxtradbcluster.pxc.percona.com/some-name patched + cat /tmp/tmp.GDE89VfByt + rm /tmp/tmp.yMsRflGrec /tmp/tmp.GDE89VfByt + return 0 + wait_cluster_consistency some-name 3 2 + local cluster_name=some-name + local cluster_size=3 + local proxy_size=2 + '[' -z 2 ']' + desc 'wait cluster consistency' + set +o xtrace ----------------------------------------------------------------------------------- wait cluster consistency ----------------------------------------------------------------------------------- + local i=0 + local max=36 + sleep 7 ++ kubectl_bin get pxc some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.FCcdYDXu1q +++ mktemp ++ local LAST_ERR=/tmp/tmp.uzu3eio5TV ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.FCcdYDXu1q ++ cat /tmp/tmp.uzu3eio5TV ++ rm /tmp/tmp.FCcdYDXu1q /tmp/tmp.uzu3eio5TV ++ return 0 + [[ ready == \r\e\a\d\y ]] ++ kubectl_bin get pxc some-name -o 'jsonpath={.status.pxc.ready}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4f5CFsuofQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.ezZd01KnnH ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc some-name -o 'jsonpath={.status.pxc.ready}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.4f5CFsuofQ ++ cat /tmp/tmp.ezZd01KnnH ++ rm /tmp/tmp.4f5CFsuofQ /tmp/tmp.ezZd01KnnH ++ return 0 + [[ 3 == \3 ]] +++ get_proxy_engine some-name +++ local cluster_name=some-name ++++ get_proxy some-name ++++ local target_cluster=some-name +++++ kubectl_bin get pxc some-name -o 'jsonpath={.spec.haproxy.enabled}' ++++++ mktemp +++++ local LAST_OUT=/tmp/tmp.7EWgQbP1Mr ++++++ mktemp +++++ local LAST_ERR=/tmp/tmp.cKJ5mfSOFr +++++ local exit_status=0 ++++++ seq 0 2 +++++ for i in '$(seq 0 2)' +++++ set +e +++++ kubectl get pxc some-name -o 'jsonpath={.spec.haproxy.enabled}' +++++ exit_status=0 +++++ set -e +++++ '[' 0 '!=' 0 ']' +++++ break +++++ cat /tmp/tmp.7EWgQbP1Mr +++++ cat /tmp/tmp.cKJ5mfSOFr +++++ rm /tmp/tmp.7EWgQbP1Mr /tmp/tmp.cKJ5mfSOFr +++++ return 0 ++++ [[ true == \t\r\u\e ]] ++++ echo some-name-haproxy ++++ return +++ local cluster_proxy=some-name-haproxy +++ echo haproxy ++ kubectl_bin get pxc some-name -o 'jsonpath={.status.haproxy.ready}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.kIfdEdlnDA +++ mktemp ++ local LAST_ERR=/tmp/tmp.f1C2XMba37 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc some-name -o 'jsonpath={.status.haproxy.ready}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.kIfdEdlnDA ++ cat /tmp/tmp.f1C2XMba37 ++ rm /tmp/tmp.kIfdEdlnDA /tmp/tmp.f1C2XMba37 ++ return 0 + [[ 2 == \2 ]] + wait_all_pvc_resize 3Gi 120 1 + local expected_size=3Gi + local max_retry=120 + local sleep_time=1 ++ kubectl_bin get pvc -l app.kubernetes.io/component=pxc -o name +++ mktemp ++ local LAST_OUT=/tmp/tmp.qtWM1psHQT +++ mktemp ++ local LAST_ERR=/tmp/tmp.5VQpMMxWBx ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pvc -l app.kubernetes.io/component=pxc -o name ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qtWM1psHQT ++ cat /tmp/tmp.5VQpMMxWBx ++ rm /tmp/tmp.qtWM1psHQT /tmp/tmp.5VQpMMxWBx ++ return 0 + for pvc in '$(kubectl_bin get pvc -l app.kubernetes.io/component=pxc -o name)' + wait_pvc_resize persistentvolumeclaim/datadir-some-name-pxc-0 3Gi 120 1 + local pvc=persistentvolumeclaim/datadir-some-name-pxc-0 + local expected_size=3Gi + local max_retry=120 + local sleep_time=1 + local retry=0 + echo 'Waiting for persistentvolumeclaim/datadir-some-name-pxc-0 to be resized' Waiting for persistentvolumeclaim/datadir-some-name-pxc-0 to be resized ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.a7VB3OF9TP +++ mktemp ++ local LAST_ERR=/tmp/tmp.GwwvVwanXf ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.a7VB3OF9TP ++ cat /tmp/tmp.GwwvVwanXf ++ rm /tmp/tmp.a7VB3OF9TP /tmp/tmp.GwwvVwanXf ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 0 -ge 120 ]] + echo -n . .+ sleep 1 + retry=1 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.WeVfxXgLbK +++ mktemp ++ local LAST_ERR=/tmp/tmp.Dj5dhVeD69 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.WeVfxXgLbK ++ cat /tmp/tmp.Dj5dhVeD69 ++ rm /tmp/tmp.WeVfxXgLbK /tmp/tmp.Dj5dhVeD69 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 1 -ge 120 ]] + echo -n . .+ sleep 1 + retry=2 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.JN4RWsPPiq +++ mktemp ++ local LAST_ERR=/tmp/tmp.b56L7A86ef ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.JN4RWsPPiq ++ cat /tmp/tmp.b56L7A86ef ++ rm /tmp/tmp.JN4RWsPPiq /tmp/tmp.b56L7A86ef ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 2 -ge 120 ]] + echo -n . .+ sleep 1 + retry=3 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qPgEAAj7W4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.aFXYpLvqbL ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qPgEAAj7W4 ++ cat /tmp/tmp.aFXYpLvqbL ++ rm /tmp/tmp.qPgEAAj7W4 /tmp/tmp.aFXYpLvqbL ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 3 -ge 120 ]] + echo -n . .+ sleep 1 + retry=4 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.3AhKECOiTp +++ mktemp ++ local LAST_ERR=/tmp/tmp.I85xjJ0qDC ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.3AhKECOiTp ++ cat /tmp/tmp.I85xjJ0qDC ++ rm /tmp/tmp.3AhKECOiTp /tmp/tmp.I85xjJ0qDC ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 4 -ge 120 ]] + echo -n . .+ sleep 1 + retry=5 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.nriAGpHYCs +++ mktemp ++ local LAST_ERR=/tmp/tmp.62onldvJIH ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.nriAGpHYCs ++ cat /tmp/tmp.62onldvJIH ++ rm /tmp/tmp.nriAGpHYCs /tmp/tmp.62onldvJIH ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 5 -ge 120 ]] + echo -n . .+ sleep 1 + retry=6 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.8Lu4umi0qg +++ mktemp ++ local LAST_ERR=/tmp/tmp.uhD7inoR9y ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.8Lu4umi0qg ++ cat /tmp/tmp.uhD7inoR9y ++ rm /tmp/tmp.8Lu4umi0qg /tmp/tmp.uhD7inoR9y ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 6 -ge 120 ]] + echo -n . .+ sleep 1 + retry=7 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.FEBHmhgSIZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.6K6hZbpmxr ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.FEBHmhgSIZ ++ cat /tmp/tmp.6K6hZbpmxr ++ rm /tmp/tmp.FEBHmhgSIZ /tmp/tmp.6K6hZbpmxr ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 7 -ge 120 ]] + echo -n . .+ sleep 1 + retry=8 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1HNeEveGqh +++ mktemp ++ local LAST_ERR=/tmp/tmp.DPNayk9KcH ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.1HNeEveGqh ++ cat /tmp/tmp.DPNayk9KcH ++ rm /tmp/tmp.1HNeEveGqh /tmp/tmp.DPNayk9KcH ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 8 -ge 120 ]] + echo -n . .+ sleep 1 + retry=9 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.uJoQz8xOom +++ mktemp ++ local LAST_ERR=/tmp/tmp.7t2esP1nC8 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.uJoQz8xOom ++ cat /tmp/tmp.7t2esP1nC8 ++ rm /tmp/tmp.uJoQz8xOom /tmp/tmp.7t2esP1nC8 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 9 -ge 120 ]] + echo -n . .+ sleep 1 + retry=10 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.7MZTFOz9No +++ mktemp ++ local LAST_ERR=/tmp/tmp.8Ou4OzMN37 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.7MZTFOz9No ++ cat /tmp/tmp.8Ou4OzMN37 ++ rm /tmp/tmp.7MZTFOz9No /tmp/tmp.8Ou4OzMN37 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 10 -ge 120 ]] + echo -n . .+ sleep 1 + retry=11 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.svOaiJEX3Y +++ mktemp ++ local LAST_ERR=/tmp/tmp.soeNiunCVJ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.svOaiJEX3Y ++ cat /tmp/tmp.soeNiunCVJ ++ rm /tmp/tmp.svOaiJEX3Y /tmp/tmp.soeNiunCVJ ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 11 -ge 120 ]] + echo -n . .+ sleep 1 + retry=12 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.FnYZFnJLjp +++ mktemp ++ local LAST_ERR=/tmp/tmp.OUa7HcEJcX ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.FnYZFnJLjp ++ cat /tmp/tmp.OUa7HcEJcX ++ rm /tmp/tmp.FnYZFnJLjp /tmp/tmp.OUa7HcEJcX ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 12 -ge 120 ]] + echo -n . .+ sleep 1 + retry=13 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Ira6zleih3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.JXJxzQS8UE ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Ira6zleih3 ++ cat /tmp/tmp.JXJxzQS8UE ++ rm /tmp/tmp.Ira6zleih3 /tmp/tmp.JXJxzQS8UE ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 13 -ge 120 ]] + echo -n . .+ sleep 1 + retry=14 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.oZ2csGP0r9 +++ mktemp ++ local LAST_ERR=/tmp/tmp.lpvbXPcdA9 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.oZ2csGP0r9 ++ cat /tmp/tmp.lpvbXPcdA9 ++ rm /tmp/tmp.oZ2csGP0r9 /tmp/tmp.lpvbXPcdA9 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 14 -ge 120 ]] + echo -n . .+ sleep 1 + retry=15 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.pfcl6GnWL2 +++ mktemp ++ local LAST_ERR=/tmp/tmp.JRNyOYpKSb ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.pfcl6GnWL2 ++ cat /tmp/tmp.JRNyOYpKSb ++ rm /tmp/tmp.pfcl6GnWL2 /tmp/tmp.JRNyOYpKSb ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 15 -ge 120 ]] + echo -n . .+ sleep 1 + retry=16 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.PJsy5vm7q5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.84VjOro58W ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.PJsy5vm7q5 ++ cat /tmp/tmp.84VjOro58W ++ rm /tmp/tmp.PJsy5vm7q5 /tmp/tmp.84VjOro58W ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 16 -ge 120 ]] + echo -n . .+ sleep 1 + retry=17 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ZfnTS39O92 +++ mktemp ++ local LAST_ERR=/tmp/tmp.D3fQYt0TsG ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ZfnTS39O92 ++ cat /tmp/tmp.D3fQYt0TsG ++ rm /tmp/tmp.ZfnTS39O92 /tmp/tmp.D3fQYt0TsG ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 17 -ge 120 ]] + echo -n . .+ sleep 1 + retry=18 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.T8nomxqLhC +++ mktemp ++ local LAST_ERR=/tmp/tmp.VLYu6YxEWK ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.T8nomxqLhC ++ cat /tmp/tmp.VLYu6YxEWK ++ rm /tmp/tmp.T8nomxqLhC /tmp/tmp.VLYu6YxEWK ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 18 -ge 120 ]] + echo -n . .+ sleep 1 + retry=19 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ikxDc77FUb +++ mktemp ++ local LAST_ERR=/tmp/tmp.vTsUUzTKgo ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ikxDc77FUb ++ cat /tmp/tmp.vTsUUzTKgo ++ rm /tmp/tmp.ikxDc77FUb /tmp/tmp.vTsUUzTKgo ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 19 -ge 120 ]] + echo -n . .+ sleep 1 + retry=20 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.vz3Qw0N7P6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.sUL4DjBOdA ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.vz3Qw0N7P6 ++ cat /tmp/tmp.sUL4DjBOdA ++ rm /tmp/tmp.vz3Qw0N7P6 /tmp/tmp.sUL4DjBOdA ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 20 -ge 120 ]] + echo -n . .+ sleep 1 + retry=21 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.NBMWB5CjU8 +++ mktemp ++ local LAST_ERR=/tmp/tmp.gGbBFtrM3O ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.NBMWB5CjU8 ++ cat /tmp/tmp.gGbBFtrM3O ++ rm /tmp/tmp.NBMWB5CjU8 /tmp/tmp.gGbBFtrM3O ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 21 -ge 120 ]] + echo -n . .+ sleep 1 + retry=22 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.3Irl7gGSjR +++ mktemp ++ local LAST_ERR=/tmp/tmp.d5nydF2JuZ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.3Irl7gGSjR ++ cat /tmp/tmp.d5nydF2JuZ ++ rm /tmp/tmp.3Irl7gGSjR /tmp/tmp.d5nydF2JuZ ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 22 -ge 120 ]] + echo -n . .+ sleep 1 + retry=23 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.M0xCCz1PWQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.KubpWPlMrR ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.M0xCCz1PWQ ++ cat /tmp/tmp.KubpWPlMrR ++ rm /tmp/tmp.M0xCCz1PWQ /tmp/tmp.KubpWPlMrR ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 23 -ge 120 ]] + echo -n . .+ sleep 1 + retry=24 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.EeKJjsF4Ud +++ mktemp ++ local LAST_ERR=/tmp/tmp.BRLgAwxcz8 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.EeKJjsF4Ud ++ cat /tmp/tmp.BRLgAwxcz8 ++ rm /tmp/tmp.EeKJjsF4Ud /tmp/tmp.BRLgAwxcz8 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 24 -ge 120 ]] + echo -n . .+ sleep 1 + retry=25 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.t7KivnNJjV +++ mktemp ++ local LAST_ERR=/tmp/tmp.a46JZREQpr ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.t7KivnNJjV ++ cat /tmp/tmp.a46JZREQpr ++ rm /tmp/tmp.t7KivnNJjV /tmp/tmp.a46JZREQpr ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 25 -ge 120 ]] + echo -n . .+ sleep 1 + retry=26 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.zZNcLyXtw6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.Pt88UtyRnQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.zZNcLyXtw6 ++ cat /tmp/tmp.Pt88UtyRnQ ++ rm /tmp/tmp.zZNcLyXtw6 /tmp/tmp.Pt88UtyRnQ ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 26 -ge 120 ]] + echo -n . .+ sleep 1 + retry=27 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ExYhWOfLUy +++ mktemp ++ local LAST_ERR=/tmp/tmp.jjq8PFHdKE ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ExYhWOfLUy ++ cat /tmp/tmp.jjq8PFHdKE ++ rm /tmp/tmp.ExYhWOfLUy /tmp/tmp.jjq8PFHdKE ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 27 -ge 120 ]] + echo -n . .+ sleep 1 + retry=28 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.r6ljwDhDaw +++ mktemp ++ local LAST_ERR=/tmp/tmp.0yByLiicN1 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.r6ljwDhDaw ++ cat /tmp/tmp.0yByLiicN1 ++ rm /tmp/tmp.r6ljwDhDaw /tmp/tmp.0yByLiicN1 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 28 -ge 120 ]] + echo -n . .+ sleep 1 + retry=29 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.88ZCEFJZnY +++ mktemp ++ local LAST_ERR=/tmp/tmp.j94zjx2q88 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.88ZCEFJZnY ++ cat /tmp/tmp.j94zjx2q88 ++ rm /tmp/tmp.88ZCEFJZnY /tmp/tmp.j94zjx2q88 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 29 -ge 120 ]] + echo -n . .+ sleep 1 + retry=30 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.01zbnCv7Ct +++ mktemp ++ local LAST_ERR=/tmp/tmp.8lRGbY2xjs ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.01zbnCv7Ct ++ cat /tmp/tmp.8lRGbY2xjs ++ rm /tmp/tmp.01zbnCv7Ct /tmp/tmp.8lRGbY2xjs ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 30 -ge 120 ]] + echo -n . .+ sleep 1 + retry=31 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.gu4GuasiJk +++ mktemp ++ local LAST_ERR=/tmp/tmp.Xjlhf04DHH ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.gu4GuasiJk ++ cat /tmp/tmp.Xjlhf04DHH ++ rm /tmp/tmp.gu4GuasiJk /tmp/tmp.Xjlhf04DHH ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 31 -ge 120 ]] + echo -n . .+ sleep 1 + retry=32 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.im09cK708E +++ mktemp ++ local LAST_ERR=/tmp/tmp.KHPWbgySDL ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.im09cK708E ++ cat /tmp/tmp.KHPWbgySDL ++ rm /tmp/tmp.im09cK708E /tmp/tmp.KHPWbgySDL ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 32 -ge 120 ]] + echo -n . .+ sleep 1 + retry=33 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4toxpJfUkw +++ mktemp ++ local LAST_ERR=/tmp/tmp.FSeeKN1DUL ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.4toxpJfUkw ++ cat /tmp/tmp.FSeeKN1DUL ++ rm /tmp/tmp.4toxpJfUkw /tmp/tmp.FSeeKN1DUL ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 33 -ge 120 ]] + echo -n . .+ sleep 1 + retry=34 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.V4pcihCgW2 +++ mktemp ++ local LAST_ERR=/tmp/tmp.nj2Fcrzfyl ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.V4pcihCgW2 ++ cat /tmp/tmp.nj2Fcrzfyl ++ rm /tmp/tmp.V4pcihCgW2 /tmp/tmp.nj2Fcrzfyl ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 34 -ge 120 ]] + echo -n . .+ sleep 1 + retry=35 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.KBelUopFPd +++ mktemp ++ local LAST_ERR=/tmp/tmp.W9GBCZkUdj ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.KBelUopFPd ++ cat /tmp/tmp.W9GBCZkUdj ++ rm /tmp/tmp.KBelUopFPd /tmp/tmp.W9GBCZkUdj ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 35 -ge 120 ]] + echo -n . .+ sleep 1 + retry=36 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.yqrMeJVy6c +++ mktemp ++ local LAST_ERR=/tmp/tmp.Chjo4sgY9Q ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.yqrMeJVy6c ++ cat /tmp/tmp.Chjo4sgY9Q ++ rm /tmp/tmp.yqrMeJVy6c /tmp/tmp.Chjo4sgY9Q ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 36 -ge 120 ]] + echo -n . .+ sleep 1 + retry=37 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.wIba6TWbDF +++ mktemp ++ local LAST_ERR=/tmp/tmp.su2Iq4sBe3 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.wIba6TWbDF ++ cat /tmp/tmp.su2Iq4sBe3 ++ rm /tmp/tmp.wIba6TWbDF /tmp/tmp.su2Iq4sBe3 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 37 -ge 120 ]] + echo -n . .+ sleep 1 + retry=38 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.HxsBbPwBqZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.t3MkvFyim6 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.HxsBbPwBqZ ++ cat /tmp/tmp.t3MkvFyim6 ++ rm /tmp/tmp.HxsBbPwBqZ /tmp/tmp.t3MkvFyim6 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 38 -ge 120 ]] + echo -n . .+ sleep 1 + retry=39 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.opvRyVIFd4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.wDfljdCpId ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.opvRyVIFd4 ++ cat /tmp/tmp.wDfljdCpId ++ rm /tmp/tmp.opvRyVIFd4 /tmp/tmp.wDfljdCpId ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 39 -ge 120 ]] + echo -n . .+ sleep 1 + retry=40 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.w9pbvhDAuv +++ mktemp ++ local LAST_ERR=/tmp/tmp.ubAWgq65Fs ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.w9pbvhDAuv ++ cat /tmp/tmp.ubAWgq65Fs ++ rm /tmp/tmp.w9pbvhDAuv /tmp/tmp.ubAWgq65Fs ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 40 -ge 120 ]] + echo -n . .+ sleep 1 + retry=41 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.naxOlfspom +++ mktemp ++ local LAST_ERR=/tmp/tmp.1xmQlHq71h ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.naxOlfspom ++ cat /tmp/tmp.1xmQlHq71h ++ rm /tmp/tmp.naxOlfspom /tmp/tmp.1xmQlHq71h ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 41 -ge 120 ]] + echo -n . .+ sleep 1 + retry=42 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.se680gfqOx +++ mktemp ++ local LAST_ERR=/tmp/tmp.7wFtDGGimB ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.se680gfqOx ++ cat /tmp/tmp.7wFtDGGimB ++ rm /tmp/tmp.se680gfqOx /tmp/tmp.7wFtDGGimB ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 42 -ge 120 ]] + echo -n . .+ sleep 1 + retry=43 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Iq8av0mUCG +++ mktemp ++ local LAST_ERR=/tmp/tmp.X2dSMR9WVt ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Iq8av0mUCG ++ cat /tmp/tmp.X2dSMR9WVt ++ rm /tmp/tmp.Iq8av0mUCG /tmp/tmp.X2dSMR9WVt ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 43 -ge 120 ]] + echo -n . .+ sleep 1 + retry=44 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2fXlA7tfIW +++ mktemp ++ local LAST_ERR=/tmp/tmp.Q3DYyOaxhV ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.2fXlA7tfIW ++ cat /tmp/tmp.Q3DYyOaxhV ++ rm /tmp/tmp.2fXlA7tfIW /tmp/tmp.Q3DYyOaxhV ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 44 -ge 120 ]] + echo -n . .+ sleep 1 + retry=45 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qUYYI3JYMr +++ mktemp ++ local LAST_ERR=/tmp/tmp.enHFkHJlJ8 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qUYYI3JYMr ++ cat /tmp/tmp.enHFkHJlJ8 ++ rm /tmp/tmp.qUYYI3JYMr /tmp/tmp.enHFkHJlJ8 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 45 -ge 120 ]] + echo -n . .+ sleep 1 + retry=46 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xHDHn83pw0 +++ mktemp ++ local LAST_ERR=/tmp/tmp.ILgRkDGePy ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.xHDHn83pw0 ++ cat /tmp/tmp.ILgRkDGePy ++ rm /tmp/tmp.xHDHn83pw0 /tmp/tmp.ILgRkDGePy ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 46 -ge 120 ]] + echo -n . .+ sleep 1 + retry=47 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.9JTsDsjAPS +++ mktemp ++ local LAST_ERR=/tmp/tmp.W9PSQgCR8f ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.9JTsDsjAPS ++ cat /tmp/tmp.W9PSQgCR8f ++ rm /tmp/tmp.9JTsDsjAPS /tmp/tmp.W9PSQgCR8f ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 47 -ge 120 ]] + echo -n . .+ sleep 1 + retry=48 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.AwLVl28ZcC +++ mktemp ++ local LAST_ERR=/tmp/tmp.l7vRxy13Lr ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.AwLVl28ZcC ++ cat /tmp/tmp.l7vRxy13Lr ++ rm /tmp/tmp.AwLVl28ZcC /tmp/tmp.l7vRxy13Lr ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 48 -ge 120 ]] + echo -n . .+ sleep 1 + retry=49 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hWlvmiHDWZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.A3x6YycGjj ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.hWlvmiHDWZ ++ cat /tmp/tmp.A3x6YycGjj ++ rm /tmp/tmp.hWlvmiHDWZ /tmp/tmp.A3x6YycGjj ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 49 -ge 120 ]] + echo -n . .+ sleep 1 + retry=50 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RSGPiXO2Ss +++ mktemp ++ local LAST_ERR=/tmp/tmp.ce2EWWgLvd ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.RSGPiXO2Ss ++ cat /tmp/tmp.ce2EWWgLvd ++ rm /tmp/tmp.RSGPiXO2Ss /tmp/tmp.ce2EWWgLvd ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 50 -ge 120 ]] + echo -n . .+ sleep 1 + retry=51 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qJLu5c3lPu +++ mktemp ++ local LAST_ERR=/tmp/tmp.QRJi7dwI3l ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qJLu5c3lPu ++ cat /tmp/tmp.QRJi7dwI3l ++ rm /tmp/tmp.qJLu5c3lPu /tmp/tmp.QRJi7dwI3l ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 51 -ge 120 ]] + echo -n . .+ sleep 1 + retry=52 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.jvCoW7k9el +++ mktemp ++ local LAST_ERR=/tmp/tmp.GFurKzIiwZ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.jvCoW7k9el ++ cat /tmp/tmp.GFurKzIiwZ ++ rm /tmp/tmp.jvCoW7k9el /tmp/tmp.GFurKzIiwZ ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 52 -ge 120 ]] + echo -n . .+ sleep 1 + retry=53 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.PulvAHiwQJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.rlbLt6aDaI ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.PulvAHiwQJ ++ cat /tmp/tmp.rlbLt6aDaI ++ rm /tmp/tmp.PulvAHiwQJ /tmp/tmp.rlbLt6aDaI ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 53 -ge 120 ]] + echo -n . .+ sleep 1 + retry=54 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.zSrP2oZyi5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.dq1zZi4aYx ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.zSrP2oZyi5 ++ cat /tmp/tmp.dq1zZi4aYx ++ rm /tmp/tmp.zSrP2oZyi5 /tmp/tmp.dq1zZi4aYx ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 54 -ge 120 ]] + echo -n . .+ sleep 1 + retry=55 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.OXs4fIi1zp +++ mktemp ++ local LAST_ERR=/tmp/tmp.WMjNPGGv3I ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.OXs4fIi1zp ++ cat /tmp/tmp.WMjNPGGv3I ++ rm /tmp/tmp.OXs4fIi1zp /tmp/tmp.WMjNPGGv3I ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 55 -ge 120 ]] + echo -n . .+ sleep 1 + retry=56 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.lLdUlYWZyj +++ mktemp ++ local LAST_ERR=/tmp/tmp.8IiFLEDtsu ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.lLdUlYWZyj ++ cat /tmp/tmp.8IiFLEDtsu ++ rm /tmp/tmp.lLdUlYWZyj /tmp/tmp.8IiFLEDtsu ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 56 -ge 120 ]] + echo -n . .+ sleep 1 + retry=57 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.w20orTOz7e +++ mktemp ++ local LAST_ERR=/tmp/tmp.OsU9Y6Rw6F ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.w20orTOz7e ++ cat /tmp/tmp.OsU9Y6Rw6F ++ rm /tmp/tmp.w20orTOz7e /tmp/tmp.OsU9Y6Rw6F ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 57 -ge 120 ]] + echo -n . .+ sleep 1 + retry=58 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.JIkjmAUUw7 +++ mktemp ++ local LAST_ERR=/tmp/tmp.03eZfVBGgW ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.JIkjmAUUw7 ++ cat /tmp/tmp.03eZfVBGgW ++ rm /tmp/tmp.JIkjmAUUw7 /tmp/tmp.03eZfVBGgW ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 58 -ge 120 ]] + echo -n . .+ sleep 1 + retry=59 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.z6xRLlRdLY +++ mktemp ++ local LAST_ERR=/tmp/tmp.rjjRGgBMOC ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.z6xRLlRdLY ++ cat /tmp/tmp.rjjRGgBMOC ++ rm /tmp/tmp.z6xRLlRdLY /tmp/tmp.rjjRGgBMOC ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 59 -ge 120 ]] + echo -n . .+ sleep 1 + retry=60 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1nVdJDMo9D +++ mktemp ++ local LAST_ERR=/tmp/tmp.03kNTEk53z ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.1nVdJDMo9D ++ cat /tmp/tmp.03kNTEk53z ++ rm /tmp/tmp.1nVdJDMo9D /tmp/tmp.03kNTEk53z ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 60 -ge 120 ]] + echo -n . .+ sleep 1 + retry=61 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.pRmAHgMIhy +++ mktemp ++ local LAST_ERR=/tmp/tmp.wOPnuPo9zn ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.pRmAHgMIhy ++ cat /tmp/tmp.wOPnuPo9zn ++ rm /tmp/tmp.pRmAHgMIhy /tmp/tmp.wOPnuPo9zn ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 61 -ge 120 ]] + echo -n . .+ sleep 1 + retry=62 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.mv82ijdCMA +++ mktemp ++ local LAST_ERR=/tmp/tmp.wAnXlKOUeV ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.mv82ijdCMA ++ cat /tmp/tmp.wAnXlKOUeV ++ rm /tmp/tmp.mv82ijdCMA /tmp/tmp.wAnXlKOUeV ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 62 -ge 120 ]] + echo -n . .+ sleep 1 + retry=63 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.LUgAeyNsgn +++ mktemp ++ local LAST_ERR=/tmp/tmp.6kFXvSqMiG ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.LUgAeyNsgn ++ cat /tmp/tmp.6kFXvSqMiG ++ rm /tmp/tmp.LUgAeyNsgn /tmp/tmp.6kFXvSqMiG ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 63 -ge 120 ]] + echo -n . .+ sleep 1 + retry=64 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.nRdGztk9uI +++ mktemp ++ local LAST_ERR=/tmp/tmp.MO9sMmG9iY ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.nRdGztk9uI ++ cat /tmp/tmp.MO9sMmG9iY ++ rm /tmp/tmp.nRdGztk9uI /tmp/tmp.MO9sMmG9iY ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 64 -ge 120 ]] + echo -n . .+ sleep 1 + retry=65 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ykUWs1mixW +++ mktemp ++ local LAST_ERR=/tmp/tmp.Nbgi4NyLkH ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ykUWs1mixW ++ cat /tmp/tmp.Nbgi4NyLkH ++ rm /tmp/tmp.ykUWs1mixW /tmp/tmp.Nbgi4NyLkH ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 65 -ge 120 ]] + echo -n . .+ sleep 1 + retry=66 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.y0Mqx1oMUk +++ mktemp ++ local LAST_ERR=/tmp/tmp.9N8r3rKdpQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.y0Mqx1oMUk ++ cat /tmp/tmp.9N8r3rKdpQ ++ rm /tmp/tmp.y0Mqx1oMUk /tmp/tmp.9N8r3rKdpQ ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 66 -ge 120 ]] + echo -n . .+ sleep 1 + retry=67 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.9RsBKZu0nq +++ mktemp ++ local LAST_ERR=/tmp/tmp.sZOgSvI4aE ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.9RsBKZu0nq ++ cat /tmp/tmp.sZOgSvI4aE ++ rm /tmp/tmp.9RsBKZu0nq /tmp/tmp.sZOgSvI4aE ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 67 -ge 120 ]] + echo -n . .+ sleep 1 + retry=68 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.z4yZ8oMsUF +++ mktemp ++ local LAST_ERR=/tmp/tmp.QCqDJfRrXV ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.z4yZ8oMsUF ++ cat /tmp/tmp.QCqDJfRrXV ++ rm /tmp/tmp.z4yZ8oMsUF /tmp/tmp.QCqDJfRrXV ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 68 -ge 120 ]] + echo -n . .+ sleep 1 + retry=69 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.kexJ8p0L1Y +++ mktemp ++ local LAST_ERR=/tmp/tmp.r59fNiRPcS ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.kexJ8p0L1Y ++ cat /tmp/tmp.r59fNiRPcS ++ rm /tmp/tmp.kexJ8p0L1Y /tmp/tmp.r59fNiRPcS ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 69 -ge 120 ]] + echo -n . .+ sleep 1 + retry=70 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.NaNqbQucGX +++ mktemp ++ local LAST_ERR=/tmp/tmp.1dtcHT3GLF ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.NaNqbQucGX ++ cat /tmp/tmp.1dtcHT3GLF ++ rm /tmp/tmp.NaNqbQucGX /tmp/tmp.1dtcHT3GLF ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 70 -ge 120 ]] + echo -n . .+ sleep 1 + retry=71 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.TjFUnU2ulK +++ mktemp ++ local LAST_ERR=/tmp/tmp.NITuOkEj3a ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.TjFUnU2ulK ++ cat /tmp/tmp.NITuOkEj3a ++ rm /tmp/tmp.TjFUnU2ulK /tmp/tmp.NITuOkEj3a ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 71 -ge 120 ]] + echo -n . .+ sleep 1 + retry=72 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.mdldKrGby2 +++ mktemp ++ local LAST_ERR=/tmp/tmp.5dwjOQlyBo ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.mdldKrGby2 ++ cat /tmp/tmp.5dwjOQlyBo ++ rm /tmp/tmp.mdldKrGby2 /tmp/tmp.5dwjOQlyBo ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 72 -ge 120 ]] + echo -n . .+ sleep 1 + retry=73 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hkh794129Q +++ mktemp ++ local LAST_ERR=/tmp/tmp.hSBbObQFcq ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.hkh794129Q ++ cat /tmp/tmp.hSBbObQFcq ++ rm /tmp/tmp.hkh794129Q /tmp/tmp.hSBbObQFcq ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 73 -ge 120 ]] + echo -n . .+ sleep 1 + retry=74 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.oihQemAZox +++ mktemp ++ local LAST_ERR=/tmp/tmp.eb80Pw7s6B ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.oihQemAZox ++ cat /tmp/tmp.eb80Pw7s6B ++ rm /tmp/tmp.oihQemAZox /tmp/tmp.eb80Pw7s6B ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 74 -ge 120 ]] + echo -n . .+ sleep 1 + retry=75 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.46QgiI43aA +++ mktemp ++ local LAST_ERR=/tmp/tmp.aLcY2Pr4BV ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.46QgiI43aA ++ cat /tmp/tmp.aLcY2Pr4BV ++ rm /tmp/tmp.46QgiI43aA /tmp/tmp.aLcY2Pr4BV ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 75 -ge 120 ]] + echo -n . .+ sleep 1 + retry=76 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.bBRa6Yacw3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.cZY9YyKKOi ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.bBRa6Yacw3 ++ cat /tmp/tmp.cZY9YyKKOi ++ rm /tmp/tmp.bBRa6Yacw3 /tmp/tmp.cZY9YyKKOi ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 76 -ge 120 ]] + echo -n . .+ sleep 1 + retry=77 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.AZQNWHlIT7 +++ mktemp ++ local LAST_ERR=/tmp/tmp.Cd6bbZMedL ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.AZQNWHlIT7 ++ cat /tmp/tmp.Cd6bbZMedL ++ rm /tmp/tmp.AZQNWHlIT7 /tmp/tmp.Cd6bbZMedL ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 77 -ge 120 ]] + echo -n . .+ sleep 1 + retry=78 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.aEOnWGo1Hk +++ mktemp ++ local LAST_ERR=/tmp/tmp.oKh3wg107w ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.aEOnWGo1Hk ++ cat /tmp/tmp.oKh3wg107w ++ rm /tmp/tmp.aEOnWGo1Hk /tmp/tmp.oKh3wg107w ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 78 -ge 120 ]] + echo -n . .+ sleep 1 + retry=79 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.E7rdncvokL +++ mktemp ++ local LAST_ERR=/tmp/tmp.TripwomhuL ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.E7rdncvokL ++ cat /tmp/tmp.TripwomhuL ++ rm /tmp/tmp.E7rdncvokL /tmp/tmp.TripwomhuL ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 79 -ge 120 ]] + echo -n . .+ sleep 1 + retry=80 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.FyElbl0CLi +++ mktemp ++ local LAST_ERR=/tmp/tmp.2lmyYOFuwk ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.FyElbl0CLi ++ cat /tmp/tmp.2lmyYOFuwk ++ rm /tmp/tmp.FyElbl0CLi /tmp/tmp.2lmyYOFuwk ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 80 -ge 120 ]] + echo -n . .+ sleep 1 + retry=81 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.q8M52UaUKb +++ mktemp ++ local LAST_ERR=/tmp/tmp.9nH3yXK67X ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.q8M52UaUKb ++ cat /tmp/tmp.9nH3yXK67X ++ rm /tmp/tmp.q8M52UaUKb /tmp/tmp.9nH3yXK67X ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 81 -ge 120 ]] + echo -n . .+ sleep 1 + retry=82 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.6A2Ai17M6N +++ mktemp ++ local LAST_ERR=/tmp/tmp.62RUuhqsR3 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.6A2Ai17M6N ++ cat /tmp/tmp.62RUuhqsR3 ++ rm /tmp/tmp.6A2Ai17M6N /tmp/tmp.62RUuhqsR3 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 82 -ge 120 ]] + echo -n . .+ sleep 1 + retry=83 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.DrOmmXYTf6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.7gWvHkYu5S ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.DrOmmXYTf6 ++ cat /tmp/tmp.7gWvHkYu5S ++ rm /tmp/tmp.DrOmmXYTf6 /tmp/tmp.7gWvHkYu5S ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 83 -ge 120 ]] + echo -n . .+ sleep 1 + retry=84 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.SYX3cQtdCI +++ mktemp ++ local LAST_ERR=/tmp/tmp.cPrZWEL4ed ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.SYX3cQtdCI ++ cat /tmp/tmp.cPrZWEL4ed ++ rm /tmp/tmp.SYX3cQtdCI /tmp/tmp.cPrZWEL4ed ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 84 -ge 120 ]] + echo -n . .+ sleep 1 + retry=85 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.f3kHI6vEve +++ mktemp ++ local LAST_ERR=/tmp/tmp.WVwt7L3SCM ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.f3kHI6vEve ++ cat /tmp/tmp.WVwt7L3SCM ++ rm /tmp/tmp.f3kHI6vEve /tmp/tmp.WVwt7L3SCM ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 85 -ge 120 ]] + echo -n . .+ sleep 1 + retry=86 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.FlI837JlJR +++ mktemp ++ local LAST_ERR=/tmp/tmp.9AcqWSvYBK ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.FlI837JlJR ++ cat /tmp/tmp.9AcqWSvYBK ++ rm /tmp/tmp.FlI837JlJR /tmp/tmp.9AcqWSvYBK ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 86 -ge 120 ]] + echo -n . .+ sleep 1 + retry=87 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2GfbFfxSAw +++ mktemp ++ local LAST_ERR=/tmp/tmp.1nTeIM7bD8 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.2GfbFfxSAw ++ cat /tmp/tmp.1nTeIM7bD8 ++ rm /tmp/tmp.2GfbFfxSAw /tmp/tmp.1nTeIM7bD8 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 87 -ge 120 ]] + echo -n . .+ sleep 1 + retry=88 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RT27tR7wVa +++ mktemp ++ local LAST_ERR=/tmp/tmp.PeAcE11AuG ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.RT27tR7wVa ++ cat /tmp/tmp.PeAcE11AuG ++ rm /tmp/tmp.RT27tR7wVa /tmp/tmp.PeAcE11AuG ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 88 -ge 120 ]] + echo -n . .+ sleep 1 + retry=89 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.AuRYG04dSz +++ mktemp ++ local LAST_ERR=/tmp/tmp.9WhQ356y8y ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.AuRYG04dSz ++ cat /tmp/tmp.9WhQ356y8y ++ rm /tmp/tmp.AuRYG04dSz /tmp/tmp.9WhQ356y8y ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 89 -ge 120 ]] + echo -n . .+ sleep 1 + retry=90 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RZXvJ9gMHP +++ mktemp ++ local LAST_ERR=/tmp/tmp.FQJhR6gx8S ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.RZXvJ9gMHP ++ cat /tmp/tmp.FQJhR6gx8S ++ rm /tmp/tmp.RZXvJ9gMHP /tmp/tmp.FQJhR6gx8S ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 90 -ge 120 ]] + echo -n . .+ sleep 1 + retry=91 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.KUgNqHoQgd +++ mktemp ++ local LAST_ERR=/tmp/tmp.4mpeaNEfIi ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.KUgNqHoQgd ++ cat /tmp/tmp.4mpeaNEfIi ++ rm /tmp/tmp.KUgNqHoQgd /tmp/tmp.4mpeaNEfIi ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 91 -ge 120 ]] + echo -n . .+ sleep 1 + retry=92 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.0RuqwwVkR3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.mKd6P4g8cY ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.0RuqwwVkR3 ++ cat /tmp/tmp.mKd6P4g8cY ++ rm /tmp/tmp.0RuqwwVkR3 /tmp/tmp.mKd6P4g8cY ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 92 -ge 120 ]] + echo -n . .+ sleep 1 + retry=93 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2oT0B34C8N +++ mktemp ++ local LAST_ERR=/tmp/tmp.E7SyqwObt2 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.2oT0B34C8N ++ cat /tmp/tmp.E7SyqwObt2 ++ rm /tmp/tmp.2oT0B34C8N /tmp/tmp.E7SyqwObt2 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 93 -ge 120 ]] + echo -n . .+ sleep 1 + retry=94 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.TICDWVg2Cb +++ mktemp ++ local LAST_ERR=/tmp/tmp.QjujWIZi8W ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.TICDWVg2Cb ++ cat /tmp/tmp.QjujWIZi8W ++ rm /tmp/tmp.TICDWVg2Cb /tmp/tmp.QjujWIZi8W ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 94 -ge 120 ]] + echo -n . .+ sleep 1 + retry=95 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.8SAC4ovJo1 +++ mktemp ++ local LAST_ERR=/tmp/tmp.KzSA8JqBob ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.8SAC4ovJo1 ++ cat /tmp/tmp.KzSA8JqBob ++ rm /tmp/tmp.8SAC4ovJo1 /tmp/tmp.KzSA8JqBob ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 95 -ge 120 ]] + echo -n . .+ sleep 1 + retry=96 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.VIruB4t0Iv +++ mktemp ++ local LAST_ERR=/tmp/tmp.eX0LNBhdxI ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.VIruB4t0Iv ++ cat /tmp/tmp.eX0LNBhdxI ++ rm /tmp/tmp.VIruB4t0Iv /tmp/tmp.eX0LNBhdxI ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 96 -ge 120 ]] + echo -n . .+ sleep 1 + retry=97 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.mi3EoVbXXI +++ mktemp ++ local LAST_ERR=/tmp/tmp.SIMlT1P83W ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.mi3EoVbXXI ++ cat /tmp/tmp.SIMlT1P83W ++ rm /tmp/tmp.mi3EoVbXXI /tmp/tmp.SIMlT1P83W ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 97 -ge 120 ]] + echo -n . .+ sleep 1 + retry=98 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.3s57Z2aIN5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.ntPgejzEux ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.3s57Z2aIN5 ++ cat /tmp/tmp.ntPgejzEux ++ rm /tmp/tmp.3s57Z2aIN5 /tmp/tmp.ntPgejzEux ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 98 -ge 120 ]] + echo -n . .+ sleep 1 + retry=99 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2BZlBuXKTH +++ mktemp ++ local LAST_ERR=/tmp/tmp.GENIcKCaR4 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.2BZlBuXKTH ++ cat /tmp/tmp.GENIcKCaR4 ++ rm /tmp/tmp.2BZlBuXKTH /tmp/tmp.GENIcKCaR4 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 99 -ge 120 ]] + echo -n . .+ sleep 1 + retry=100 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.IiANz866VP +++ mktemp ++ local LAST_ERR=/tmp/tmp.Hz7dRU7xAm ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.IiANz866VP ++ cat /tmp/tmp.Hz7dRU7xAm ++ rm /tmp/tmp.IiANz866VP /tmp/tmp.Hz7dRU7xAm ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 100 -ge 120 ]] + echo -n . .+ sleep 1 + retry=101 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.zSEQARwlXU +++ mktemp ++ local LAST_ERR=/tmp/tmp.Oh4VoYhELu ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.zSEQARwlXU ++ cat /tmp/tmp.Oh4VoYhELu ++ rm /tmp/tmp.zSEQARwlXU /tmp/tmp.Oh4VoYhELu ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 101 -ge 120 ]] + echo -n . .+ sleep 1 + retry=102 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.fvau1uxYA4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.7aFkPirOpV ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.fvau1uxYA4 ++ cat /tmp/tmp.7aFkPirOpV ++ rm /tmp/tmp.fvau1uxYA4 /tmp/tmp.7aFkPirOpV ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 102 -ge 120 ]] + echo -n . .+ sleep 1 + retry=103 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.orbFc8bLxe +++ mktemp ++ local LAST_ERR=/tmp/tmp.Wvi8iRJbbt ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.orbFc8bLxe ++ cat /tmp/tmp.Wvi8iRJbbt ++ rm /tmp/tmp.orbFc8bLxe /tmp/tmp.Wvi8iRJbbt ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 103 -ge 120 ]] + echo -n . .+ sleep 1 + retry=104 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Qw46KYc2xN +++ mktemp ++ local LAST_ERR=/tmp/tmp.foWehDzP2Z ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Qw46KYc2xN ++ cat /tmp/tmp.foWehDzP2Z ++ rm /tmp/tmp.Qw46KYc2xN /tmp/tmp.foWehDzP2Z ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 104 -ge 120 ]] + echo -n . .+ sleep 1 + retry=105 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.dq0PZpv8h6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.sCjD4Gag0i ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.dq0PZpv8h6 ++ cat /tmp/tmp.sCjD4Gag0i ++ rm /tmp/tmp.dq0PZpv8h6 /tmp/tmp.sCjD4Gag0i ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 105 -ge 120 ]] + echo -n . .+ sleep 1 + retry=106 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.gUl2QV3VVc +++ mktemp ++ local LAST_ERR=/tmp/tmp.pbZEUG9mVR ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.gUl2QV3VVc ++ cat /tmp/tmp.pbZEUG9mVR ++ rm /tmp/tmp.gUl2QV3VVc /tmp/tmp.pbZEUG9mVR ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 106 -ge 120 ]] + echo -n . .+ sleep 1 + retry=107 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.yX7v8SErJe +++ mktemp ++ local LAST_ERR=/tmp/tmp.0m5qWRutlp ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.yX7v8SErJe ++ cat /tmp/tmp.0m5qWRutlp ++ rm /tmp/tmp.yX7v8SErJe /tmp/tmp.0m5qWRutlp ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 107 -ge 120 ]] + echo -n . .+ sleep 1 + retry=108 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.r5TFyaoGlB +++ mktemp ++ local LAST_ERR=/tmp/tmp.FKwbEJ2TLF ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.r5TFyaoGlB ++ cat /tmp/tmp.FKwbEJ2TLF ++ rm /tmp/tmp.r5TFyaoGlB /tmp/tmp.FKwbEJ2TLF ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 108 -ge 120 ]] + echo -n . .+ sleep 1 + retry=109 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4KoBthWURn +++ mktemp ++ local LAST_ERR=/tmp/tmp.20OFrb4A0E ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.4KoBthWURn ++ cat /tmp/tmp.20OFrb4A0E ++ rm /tmp/tmp.4KoBthWURn /tmp/tmp.20OFrb4A0E ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 109 -ge 120 ]] + echo -n . .+ sleep 1 + retry=110 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Wkil17njAm +++ mktemp ++ local LAST_ERR=/tmp/tmp.NjEUKLdwmU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Wkil17njAm ++ cat /tmp/tmp.NjEUKLdwmU ++ rm /tmp/tmp.Wkil17njAm /tmp/tmp.NjEUKLdwmU ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 110 -ge 120 ]] + echo -n . .+ sleep 1 + retry=111 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.l2nPfcjR78 +++ mktemp ++ local LAST_ERR=/tmp/tmp.tTJLIJH7O2 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.l2nPfcjR78 ++ cat /tmp/tmp.tTJLIJH7O2 ++ rm /tmp/tmp.l2nPfcjR78 /tmp/tmp.tTJLIJH7O2 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 111 -ge 120 ]] + echo -n . .+ sleep 1 + retry=112 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.YdQp4lUt12 +++ mktemp ++ local LAST_ERR=/tmp/tmp.h2C8ZwAcM6 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.YdQp4lUt12 ++ cat /tmp/tmp.h2C8ZwAcM6 ++ rm /tmp/tmp.YdQp4lUt12 /tmp/tmp.h2C8ZwAcM6 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 112 -ge 120 ]] + echo -n . .+ sleep 1 + retry=113 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Umqv9R4B2Z +++ mktemp ++ local LAST_ERR=/tmp/tmp.bMgxV3DX9Q ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Umqv9R4B2Z ++ cat /tmp/tmp.bMgxV3DX9Q ++ rm /tmp/tmp.Umqv9R4B2Z /tmp/tmp.bMgxV3DX9Q ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 113 -ge 120 ]] + echo -n . .+ sleep 1 + retry=114 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.yFBDVx9MMB +++ mktemp ++ local LAST_ERR=/tmp/tmp.4mbojfeksQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.yFBDVx9MMB ++ cat /tmp/tmp.4mbojfeksQ ++ rm /tmp/tmp.yFBDVx9MMB /tmp/tmp.4mbojfeksQ ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 114 -ge 120 ]] + echo -n . .+ sleep 1 + retry=115 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1YtegqPoju +++ mktemp ++ local LAST_ERR=/tmp/tmp.p3MIzjIuMQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.1YtegqPoju ++ cat /tmp/tmp.p3MIzjIuMQ ++ rm /tmp/tmp.1YtegqPoju /tmp/tmp.p3MIzjIuMQ ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 115 -ge 120 ]] + echo -n . .+ sleep 1 + retry=116 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.IMQoPZP7qu +++ mktemp ++ local LAST_ERR=/tmp/tmp.HXXodNYOC4 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.IMQoPZP7qu ++ cat /tmp/tmp.HXXodNYOC4 ++ rm /tmp/tmp.IMQoPZP7qu /tmp/tmp.HXXodNYOC4 ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 116 -ge 120 ]] + echo -n . .+ sleep 1 + retry=117 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.w4j7rQOqjM +++ mktemp ++ local LAST_ERR=/tmp/tmp.2E8sviAH8b ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.w4j7rQOqjM ++ cat /tmp/tmp.2E8sviAH8b ++ rm /tmp/tmp.w4j7rQOqjM /tmp/tmp.2E8sviAH8b ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 117 -ge 120 ]] + echo -n . .+ sleep 1 + retry=118 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.e7T3L743JZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.5EM1CJEGLC ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.e7T3L743JZ ++ cat /tmp/tmp.5EM1CJEGLC ++ rm /tmp/tmp.e7T3L743JZ /tmp/tmp.5EM1CJEGLC ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 118 -ge 120 ]] + echo -n . .+ sleep 1 + retry=119 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.8RLGxy0NVR +++ mktemp ++ local LAST_ERR=/tmp/tmp.SL9AzPTAlZ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.8RLGxy0NVR ++ cat /tmp/tmp.SL9AzPTAlZ ++ rm /tmp/tmp.8RLGxy0NVR /tmp/tmp.SL9AzPTAlZ ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 119 -ge 120 ]] + echo -n . .+ sleep 1 + retry=120 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.zj8B21FGc0 +++ mktemp ++ local LAST_ERR=/tmp/tmp.RtqIS6cz2y ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.zj8B21FGc0 ++ cat /tmp/tmp.RtqIS6cz2y ++ rm /tmp/tmp.zj8B21FGc0 /tmp/tmp.RtqIS6cz2y ++ return 0 + [[ 2Gi == \3\G\i ]] + [[ 120 -ge 120 ]] + echo + echo 'persistentvolumeclaim/datadir-some-name-pxc-0 was not resized, max retries exceeded' persistentvolumeclaim/datadir-some-name-pxc-0 was not resized, max retries exceeded + return 1 + return 1 + echo 'Enabling PVC resize' Enabling PVC resize + kubectl_bin patch pxc some-name --type=json '-p=[{"op": "add", "path": "/spec/enableVolumeExpansion", "value":true }]' ++ mktemp + local LAST_OUT=/tmp/tmp.KCGEwLz2SY ++ mktemp + local LAST_ERR=/tmp/tmp.ZtKEmMxnYF + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl patch pxc some-name --type=json '-p=[{"op": "add", "path": "/spec/enableVolumeExpansion", "value":true }]' + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.KCGEwLz2SY perconaxtradbcluster.pxc.percona.com/some-name patched + cat /tmp/tmp.ZtKEmMxnYF + rm /tmp/tmp.KCGEwLz2SY /tmp/tmp.ZtKEmMxnYF + return 0 + sleep 10 + wait_cluster_consistency some-name 3 2 + local cluster_name=some-name + local cluster_size=3 + local proxy_size=2 + '[' -z 2 ']' + desc 'wait cluster consistency' + set +o xtrace ----------------------------------------------------------------------------------- wait cluster consistency ----------------------------------------------------------------------------------- + local i=0 + local max=36 + sleep 7 ++ kubectl_bin get pxc some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.EnsI4XZyzQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.rDoHUPja4p ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.EnsI4XZyzQ ++ cat /tmp/tmp.rDoHUPja4p ++ rm /tmp/tmp.EnsI4XZyzQ /tmp/tmp.rDoHUPja4p ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 + [[ 0 -ge 36 ]] + let i+=1 ++ kubectl_bin get pxc some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1Y0pYHxshk +++ mktemp ++ local LAST_ERR=/tmp/tmp.25aHNjzvsN ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.1Y0pYHxshk ++ cat /tmp/tmp.25aHNjzvsN ++ rm /tmp/tmp.1Y0pYHxshk /tmp/tmp.25aHNjzvsN ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 + [[ 1 -ge 36 ]] + let i+=1 ++ kubectl_bin get pxc some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.WnJNp6U9fV +++ mktemp ++ local LAST_ERR=/tmp/tmp.b2lkHblv6n ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.WnJNp6U9fV ++ cat /tmp/tmp.b2lkHblv6n ++ rm /tmp/tmp.WnJNp6U9fV /tmp/tmp.b2lkHblv6n ++ return 0 + [[ ready == \r\e\a\d\y ]] ++ kubectl_bin get pxc some-name -o 'jsonpath={.status.pxc.ready}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.M41mCYGdum +++ mktemp ++ local LAST_ERR=/tmp/tmp.84U5WQiVya ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc some-name -o 'jsonpath={.status.pxc.ready}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.M41mCYGdum ++ cat /tmp/tmp.84U5WQiVya ++ rm /tmp/tmp.M41mCYGdum /tmp/tmp.84U5WQiVya ++ return 0 + [[ 3 == \3 ]] +++ get_proxy_engine some-name +++ local cluster_name=some-name ++++ get_proxy some-name ++++ local target_cluster=some-name +++++ kubectl_bin get pxc some-name -o 'jsonpath={.spec.haproxy.enabled}' ++++++ mktemp +++++ local LAST_OUT=/tmp/tmp.BsUj2NReHK ++++++ mktemp +++++ local LAST_ERR=/tmp/tmp.2oPYfzJPAG +++++ local exit_status=0 ++++++ seq 0 2 +++++ for i in '$(seq 0 2)' +++++ set +e +++++ kubectl get pxc some-name -o 'jsonpath={.spec.haproxy.enabled}' +++++ exit_status=0 +++++ set -e +++++ '[' 0 '!=' 0 ']' +++++ break +++++ cat /tmp/tmp.BsUj2NReHK +++++ cat /tmp/tmp.2oPYfzJPAG +++++ rm /tmp/tmp.BsUj2NReHK /tmp/tmp.2oPYfzJPAG +++++ return 0 ++++ [[ true == \t\r\u\e ]] ++++ echo some-name-haproxy ++++ return +++ local cluster_proxy=some-name-haproxy +++ echo haproxy ++ kubectl_bin get pxc some-name -o 'jsonpath={.status.haproxy.ready}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.KMa5zfebtd +++ mktemp ++ local LAST_ERR=/tmp/tmp.eBn6i40Jrm ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc some-name -o 'jsonpath={.status.haproxy.ready}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.KMa5zfebtd ++ cat /tmp/tmp.eBn6i40Jrm ++ rm /tmp/tmp.KMa5zfebtd /tmp/tmp.eBn6i40Jrm ++ return 0 + [[ 2 == \2 ]] + wait_all_pvc_resize 3Gi + local expected_size=3Gi + local max_retry=120 + local sleep_time=5 ++ kubectl_bin get pvc -l app.kubernetes.io/component=pxc -o name +++ mktemp ++ local LAST_OUT=/tmp/tmp.II6lFyfrWa +++ mktemp ++ local LAST_ERR=/tmp/tmp.D75qsbNr26 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pvc -l app.kubernetes.io/component=pxc -o name ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.II6lFyfrWa ++ cat /tmp/tmp.D75qsbNr26 ++ rm /tmp/tmp.II6lFyfrWa /tmp/tmp.D75qsbNr26 ++ return 0 + for pvc in '$(kubectl_bin get pvc -l app.kubernetes.io/component=pxc -o name)' + wait_pvc_resize persistentvolumeclaim/datadir-some-name-pxc-0 3Gi 120 5 + local pvc=persistentvolumeclaim/datadir-some-name-pxc-0 + local expected_size=3Gi + local max_retry=120 + local sleep_time=5 + local retry=0 + echo 'Waiting for persistentvolumeclaim/datadir-some-name-pxc-0 to be resized' Waiting for persistentvolumeclaim/datadir-some-name-pxc-0 to be resized ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.cjKLZOaFg7 +++ mktemp ++ local LAST_ERR=/tmp/tmp.jLTayoye70 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.cjKLZOaFg7 ++ cat /tmp/tmp.jLTayoye70 ++ rm /tmp/tmp.cjKLZOaFg7 /tmp/tmp.jLTayoye70 ++ return 0 + [[ 3Gi == \3\G\i ]] + echo + echo 'persistentvolumeclaim/datadir-some-name-pxc-0 was resized' persistentvolumeclaim/datadir-some-name-pxc-0 was resized + return 0 + for pvc in '$(kubectl_bin get pvc -l app.kubernetes.io/component=pxc -o name)' + wait_pvc_resize persistentvolumeclaim/datadir-some-name-pxc-1 3Gi 120 5 + local pvc=persistentvolumeclaim/datadir-some-name-pxc-1 + local expected_size=3Gi + local max_retry=120 + local sleep_time=5 + local retry=0 + echo 'Waiting for persistentvolumeclaim/datadir-some-name-pxc-1 to be resized' Waiting for persistentvolumeclaim/datadir-some-name-pxc-1 to be resized ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-1 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.kJuMbjLFDD +++ mktemp ++ local LAST_ERR=/tmp/tmp.Wc7MgsSQSf ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-1 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.kJuMbjLFDD ++ cat /tmp/tmp.Wc7MgsSQSf ++ rm /tmp/tmp.kJuMbjLFDD /tmp/tmp.Wc7MgsSQSf ++ return 0 + [[ 3Gi == \3\G\i ]] + echo + echo 'persistentvolumeclaim/datadir-some-name-pxc-1 was resized' persistentvolumeclaim/datadir-some-name-pxc-1 was resized + return 0 + for pvc in '$(kubectl_bin get pvc -l app.kubernetes.io/component=pxc -o name)' + wait_pvc_resize persistentvolumeclaim/datadir-some-name-pxc-2 3Gi 120 5 + local pvc=persistentvolumeclaim/datadir-some-name-pxc-2 + local expected_size=3Gi + local max_retry=120 + local sleep_time=5 + local retry=0 + echo 'Waiting for persistentvolumeclaim/datadir-some-name-pxc-2 to be resized' Waiting for persistentvolumeclaim/datadir-some-name-pxc-2 to be resized ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-2 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.e2TwZCOmAF +++ mktemp ++ local LAST_ERR=/tmp/tmp.5o3vDqv1JI ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-2 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.e2TwZCOmAF ++ cat /tmp/tmp.5o3vDqv1JI ++ rm /tmp/tmp.e2TwZCOmAF /tmp/tmp.5o3vDqv1JI ++ return 0 + [[ 3Gi == \3\G\i ]] + echo + echo 'persistentvolumeclaim/datadir-some-name-pxc-2 was resized' persistentvolumeclaim/datadir-some-name-pxc-2 was resized + return 0 + return 0 + '[' 0 == 1 -o -n '' ']' + desc 'create resourcequota' + set +o xtrace ----------------------------------------------------------------------------------- create resourcequota ----------------------------------------------------------------------------------- + apply_resourcequota 10Gi + local quota=10Gi + '[' 0 == 1 -o -n '' ']' ++ get_default_storageclass ++ kubectl_bin get sc -o 'jsonpath={.items[?(@.metadata.annotations.storageclass\.kubernetes\.io/is-default-class=="true")].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Ngp6FzVLnc +++ mktemp ++ local LAST_ERR=/tmp/tmp.zMesaKFdMg ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get sc -o 'jsonpath={.items[?(@.metadata.annotations.storageclass\.kubernetes\.io/is-default-class=="true")].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Ngp6FzVLnc ++ cat /tmp/tmp.zMesaKFdMg ++ rm /tmp/tmp.Ngp6FzVLnc /tmp/tmp.zMesaKFdMg ++ return 0 + local sc=standard-rwo + echo 'Applying resourcequota for default storageclass standard-rwo with quota 10Gi' Applying resourcequota for default storageclass standard-rwo with quota 10Gi + cat /mnt/jenkins/workspace/cloud-pxc-operator_PR-1697/e2e-tests/pvc-resize/conf/resourcequota.yml + sed s/STORAGECLASS/standard-rwo/ + sed s/QUOTA/10Gi/ + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.gUZlCZTPxK ++ mktemp + local LAST_ERR=/tmp/tmp.hetjge7Jsu + 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.gUZlCZTPxK resourcequota/default-storage-quota created + cat /tmp/tmp.hetjge7Jsu + rm /tmp/tmp.gUZlCZTPxK /tmp/tmp.hetjge7Jsu + return 0 + patch_pvc_request some-name 4G + local cluster=some-name + local size=4G + echo 'Patching PVC request to 4G in some-name' Patching PVC request to 4G in some-name + kubectl_bin patch pxc some-name --type=json '-p=[{"op": "replace", "path": "/spec/pxc/volumeSpec/persistentVolumeClaim/resources/requests/storage", "value":"4G"}]' ++ mktemp + local LAST_OUT=/tmp/tmp.UHBqTP9q0N ++ mktemp + local LAST_ERR=/tmp/tmp.WPBqYsNGnk + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl patch pxc some-name --type=json '-p=[{"op": "replace", "path": "/spec/pxc/volumeSpec/persistentVolumeClaim/resources/requests/storage", "value":"4G"}]' + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.UHBqTP9q0N perconaxtradbcluster.pxc.percona.com/some-name patched + cat /tmp/tmp.WPBqYsNGnk + rm /tmp/tmp.UHBqTP9q0N /tmp/tmp.WPBqYsNGnk + return 0 + wait_cluster_consistency some-name 3 2 + local cluster_name=some-name + local cluster_size=3 + local proxy_size=2 + '[' -z 2 ']' + desc 'wait cluster consistency' + set +o xtrace ----------------------------------------------------------------------------------- wait cluster consistency ----------------------------------------------------------------------------------- + local i=0 + local max=36 + sleep 7 ++ kubectl_bin get pxc some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.sv9FF7zetU +++ mktemp ++ local LAST_ERR=/tmp/tmp.tqMGxYFcMM ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.sv9FF7zetU ++ cat /tmp/tmp.tqMGxYFcMM ++ rm /tmp/tmp.sv9FF7zetU /tmp/tmp.tqMGxYFcMM ++ return 0 + [[ ready == \r\e\a\d\y ]] ++ kubectl_bin get pxc some-name -o 'jsonpath={.status.pxc.ready}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RPd9pe8Cgt +++ mktemp ++ local LAST_ERR=/tmp/tmp.O6FcchOlov ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc some-name -o 'jsonpath={.status.pxc.ready}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.RPd9pe8Cgt ++ cat /tmp/tmp.O6FcchOlov ++ rm /tmp/tmp.RPd9pe8Cgt /tmp/tmp.O6FcchOlov ++ return 0 + [[ 3 == \3 ]] +++ get_proxy_engine some-name +++ local cluster_name=some-name ++++ get_proxy some-name ++++ local target_cluster=some-name +++++ kubectl_bin get pxc some-name -o 'jsonpath={.spec.haproxy.enabled}' ++++++ mktemp +++++ local LAST_OUT=/tmp/tmp.o1kXfXt7oU ++++++ mktemp +++++ local LAST_ERR=/tmp/tmp.h1tbMZUegm +++++ local exit_status=0 ++++++ seq 0 2 +++++ for i in '$(seq 0 2)' +++++ set +e +++++ kubectl get pxc some-name -o 'jsonpath={.spec.haproxy.enabled}' +++++ exit_status=0 +++++ set -e +++++ '[' 0 '!=' 0 ']' +++++ break +++++ cat /tmp/tmp.o1kXfXt7oU +++++ cat /tmp/tmp.h1tbMZUegm +++++ rm /tmp/tmp.o1kXfXt7oU /tmp/tmp.h1tbMZUegm +++++ return 0 ++++ [[ true == \t\r\u\e ]] ++++ echo some-name-haproxy ++++ return +++ local cluster_proxy=some-name-haproxy +++ echo haproxy ++ kubectl_bin get pxc some-name -o 'jsonpath={.status.haproxy.ready}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.9CxzSbHb3b +++ mktemp ++ local LAST_ERR=/tmp/tmp.kKbxHqpOMe ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc some-name -o 'jsonpath={.status.haproxy.ready}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.9CxzSbHb3b ++ cat /tmp/tmp.kKbxHqpOMe ++ rm /tmp/tmp.9CxzSbHb3b /tmp/tmp.kKbxHqpOMe ++ return 0 + [[ 2 == \2 ]] + echo + echo 'Waiting for pvc/datadir-some-name-pxc-0 to be resized' Waiting for pvc/datadir-some-name-pxc-0 to be resized + wait_pvc_resize persistentvolumeclaim/datadir-some-name-pxc-0 4Gi + local pvc=persistentvolumeclaim/datadir-some-name-pxc-0 + local expected_size=4Gi + local max_retry=120 + local sleep_time=5 + local retry=0 + echo 'Waiting for persistentvolumeclaim/datadir-some-name-pxc-0 to be resized' Waiting for persistentvolumeclaim/datadir-some-name-pxc-0 to be resized ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.OyQnH5V5Qp +++ mktemp ++ local LAST_ERR=/tmp/tmp.6CwwOiqAaq ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.OyQnH5V5Qp ++ cat /tmp/tmp.6CwwOiqAaq ++ rm /tmp/tmp.OyQnH5V5Qp /tmp/tmp.6CwwOiqAaq ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 0 -ge 120 ]] + echo -n . .+ sleep 5 + retry=1 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.64H6O8fxJy +++ mktemp ++ local LAST_ERR=/tmp/tmp.nCCrMoKsa5 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.64H6O8fxJy ++ cat /tmp/tmp.nCCrMoKsa5 ++ rm /tmp/tmp.64H6O8fxJy /tmp/tmp.nCCrMoKsa5 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 1 -ge 120 ]] + echo -n . .+ sleep 5 + retry=2 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Abj9PU4zO6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.CkFa4KQOux ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Abj9PU4zO6 ++ cat /tmp/tmp.CkFa4KQOux ++ rm /tmp/tmp.Abj9PU4zO6 /tmp/tmp.CkFa4KQOux ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 2 -ge 120 ]] + echo -n . .+ sleep 5 + retry=3 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.p1NicrV5dr +++ mktemp ++ local LAST_ERR=/tmp/tmp.qNbNP2P1OR ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.p1NicrV5dr ++ cat /tmp/tmp.qNbNP2P1OR ++ rm /tmp/tmp.p1NicrV5dr /tmp/tmp.qNbNP2P1OR ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 3 -ge 120 ]] + echo -n . .+ sleep 5 + retry=4 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.95iEPeU4jG +++ mktemp ++ local LAST_ERR=/tmp/tmp.w4JkcEFSjC ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.95iEPeU4jG ++ cat /tmp/tmp.w4JkcEFSjC ++ rm /tmp/tmp.95iEPeU4jG /tmp/tmp.w4JkcEFSjC ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 4 -ge 120 ]] + echo -n . .+ sleep 5 + retry=5 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5r48ef9ROc +++ mktemp ++ local LAST_ERR=/tmp/tmp.yBtvpq5Mca ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.5r48ef9ROc ++ cat /tmp/tmp.yBtvpq5Mca ++ rm /tmp/tmp.5r48ef9ROc /tmp/tmp.yBtvpq5Mca ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 5 -ge 120 ]] + echo -n . .+ sleep 5 + retry=6 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qyfrEvTOfk +++ mktemp ++ local LAST_ERR=/tmp/tmp.oZJE2J2Bic ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qyfrEvTOfk ++ cat /tmp/tmp.oZJE2J2Bic ++ rm /tmp/tmp.qyfrEvTOfk /tmp/tmp.oZJE2J2Bic ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 6 -ge 120 ]] + echo -n . .+ sleep 5 + retry=7 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2qzGAGxR4r +++ mktemp ++ local LAST_ERR=/tmp/tmp.nN55wRsDKV ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.2qzGAGxR4r ++ cat /tmp/tmp.nN55wRsDKV ++ rm /tmp/tmp.2qzGAGxR4r /tmp/tmp.nN55wRsDKV ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 7 -ge 120 ]] + echo -n . .+ sleep 5 + retry=8 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.rfpWVWEU4R +++ mktemp ++ local LAST_ERR=/tmp/tmp.uL21EHSNpk ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.rfpWVWEU4R ++ cat /tmp/tmp.uL21EHSNpk ++ rm /tmp/tmp.rfpWVWEU4R /tmp/tmp.uL21EHSNpk ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 8 -ge 120 ]] + echo -n . .+ sleep 5 + retry=9 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5bQNDAvoMr +++ mktemp ++ local LAST_ERR=/tmp/tmp.qghUXZAIzk ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.5bQNDAvoMr ++ cat /tmp/tmp.qghUXZAIzk ++ rm /tmp/tmp.5bQNDAvoMr /tmp/tmp.qghUXZAIzk ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 9 -ge 120 ]] + echo -n . .+ sleep 5 + retry=10 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.glN2iLOzda +++ mktemp ++ local LAST_ERR=/tmp/tmp.pGMRHJeZun ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.glN2iLOzda ++ cat /tmp/tmp.pGMRHJeZun ++ rm /tmp/tmp.glN2iLOzda /tmp/tmp.pGMRHJeZun ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 10 -ge 120 ]] + echo -n . .+ sleep 5 + retry=11 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.i3CZFS4VFN +++ mktemp ++ local LAST_ERR=/tmp/tmp.gRFmvGqyli ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.i3CZFS4VFN ++ cat /tmp/tmp.gRFmvGqyli ++ rm /tmp/tmp.i3CZFS4VFN /tmp/tmp.gRFmvGqyli ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 11 -ge 120 ]] + echo -n . .+ sleep 5 + retry=12 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.OBrlMFsHtF +++ mktemp ++ local LAST_ERR=/tmp/tmp.wA9EvZ5yJg ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.OBrlMFsHtF ++ cat /tmp/tmp.wA9EvZ5yJg ++ rm /tmp/tmp.OBrlMFsHtF /tmp/tmp.wA9EvZ5yJg ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 12 -ge 120 ]] + echo -n . .+ sleep 5 + retry=13 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2BirnHKBp5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.UxVW5w72F3 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.2BirnHKBp5 ++ cat /tmp/tmp.UxVW5w72F3 ++ rm /tmp/tmp.2BirnHKBp5 /tmp/tmp.UxVW5w72F3 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 13 -ge 120 ]] + echo -n . .+ sleep 5 + retry=14 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.8meIXklppM +++ mktemp ++ local LAST_ERR=/tmp/tmp.QL1HEmu0Ri ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.8meIXklppM ++ cat /tmp/tmp.QL1HEmu0Ri ++ rm /tmp/tmp.8meIXklppM /tmp/tmp.QL1HEmu0Ri ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 14 -ge 120 ]] + echo -n . .+ sleep 5 + retry=15 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.dw4vJiTouN +++ mktemp ++ local LAST_ERR=/tmp/tmp.N3zANIqxui ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.dw4vJiTouN ++ cat /tmp/tmp.N3zANIqxui ++ rm /tmp/tmp.dw4vJiTouN /tmp/tmp.N3zANIqxui ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 15 -ge 120 ]] + echo -n . .+ sleep 5 + retry=16 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.SYKlW6s6KA +++ mktemp ++ local LAST_ERR=/tmp/tmp.yAha1qtNkC ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.SYKlW6s6KA ++ cat /tmp/tmp.yAha1qtNkC ++ rm /tmp/tmp.SYKlW6s6KA /tmp/tmp.yAha1qtNkC ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 16 -ge 120 ]] + echo -n . .+ sleep 5 + retry=17 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.c5cmZDJoCk +++ mktemp ++ local LAST_ERR=/tmp/tmp.HV6Jf3moHg ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.c5cmZDJoCk ++ cat /tmp/tmp.HV6Jf3moHg ++ rm /tmp/tmp.c5cmZDJoCk /tmp/tmp.HV6Jf3moHg ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 17 -ge 120 ]] + echo -n . .+ sleep 5 + retry=18 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.6Eoz5TjhkV +++ mktemp ++ local LAST_ERR=/tmp/tmp.y9WZP2P2aQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.6Eoz5TjhkV ++ cat /tmp/tmp.y9WZP2P2aQ ++ rm /tmp/tmp.6Eoz5TjhkV /tmp/tmp.y9WZP2P2aQ ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 18 -ge 120 ]] + echo -n . .+ sleep 5 + retry=19 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.sLgi16tOQM +++ mktemp ++ local LAST_ERR=/tmp/tmp.GBnbvAFKTI ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.sLgi16tOQM ++ cat /tmp/tmp.GBnbvAFKTI ++ rm /tmp/tmp.sLgi16tOQM /tmp/tmp.GBnbvAFKTI ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 19 -ge 120 ]] + echo -n . .+ sleep 5 + retry=20 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.eL2URyIVpK +++ mktemp ++ local LAST_ERR=/tmp/tmp.oECBkfJAv6 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.eL2URyIVpK ++ cat /tmp/tmp.oECBkfJAv6 ++ rm /tmp/tmp.eL2URyIVpK /tmp/tmp.oECBkfJAv6 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 20 -ge 120 ]] + echo -n . .+ sleep 5 + retry=21 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.vouw0Dt5Xw +++ mktemp ++ local LAST_ERR=/tmp/tmp.2jAv5laSHb ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.vouw0Dt5Xw ++ cat /tmp/tmp.2jAv5laSHb ++ rm /tmp/tmp.vouw0Dt5Xw /tmp/tmp.2jAv5laSHb ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 21 -ge 120 ]] + echo -n . .+ sleep 5 + retry=22 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.54KRu9SfAq +++ mktemp ++ local LAST_ERR=/tmp/tmp.Nvip2DeBoO ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.54KRu9SfAq ++ cat /tmp/tmp.Nvip2DeBoO ++ rm /tmp/tmp.54KRu9SfAq /tmp/tmp.Nvip2DeBoO ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 22 -ge 120 ]] + echo -n . .+ sleep 5 + retry=23 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.rqKKvwdCBO +++ mktemp ++ local LAST_ERR=/tmp/tmp.t1ux71QUC4 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.rqKKvwdCBO ++ cat /tmp/tmp.t1ux71QUC4 ++ rm /tmp/tmp.rqKKvwdCBO /tmp/tmp.t1ux71QUC4 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 23 -ge 120 ]] + echo -n . .+ sleep 5 + retry=24 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.57Yn421BMZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.1oZRqhQcsP ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.57Yn421BMZ ++ cat /tmp/tmp.1oZRqhQcsP ++ rm /tmp/tmp.57Yn421BMZ /tmp/tmp.1oZRqhQcsP ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 24 -ge 120 ]] + echo -n . .+ sleep 5 + retry=25 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.nO7A0ie30H +++ mktemp ++ local LAST_ERR=/tmp/tmp.JWuu1z5uDq ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.nO7A0ie30H ++ cat /tmp/tmp.JWuu1z5uDq ++ rm /tmp/tmp.nO7A0ie30H /tmp/tmp.JWuu1z5uDq ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 25 -ge 120 ]] + echo -n . .+ sleep 5 + retry=26 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.rps1eCnREd +++ mktemp ++ local LAST_ERR=/tmp/tmp.Orbg7J7vHQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.rps1eCnREd ++ cat /tmp/tmp.Orbg7J7vHQ ++ rm /tmp/tmp.rps1eCnREd /tmp/tmp.Orbg7J7vHQ ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 26 -ge 120 ]] + echo -n . .+ sleep 5 + retry=27 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.gxjRSsaaep +++ mktemp ++ local LAST_ERR=/tmp/tmp.pw3hY7AFXw ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.gxjRSsaaep ++ cat /tmp/tmp.pw3hY7AFXw ++ rm /tmp/tmp.gxjRSsaaep /tmp/tmp.pw3hY7AFXw ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 27 -ge 120 ]] + echo -n . .+ sleep 5 + retry=28 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.krRkQ6zb7X +++ mktemp ++ local LAST_ERR=/tmp/tmp.Bpof8lKsK8 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.krRkQ6zb7X ++ cat /tmp/tmp.Bpof8lKsK8 ++ rm /tmp/tmp.krRkQ6zb7X /tmp/tmp.Bpof8lKsK8 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 28 -ge 120 ]] + echo -n . .+ sleep 5 + retry=29 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.SbYtNYTNmR +++ mktemp ++ local LAST_ERR=/tmp/tmp.OBfKG0ANzm ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.SbYtNYTNmR ++ cat /tmp/tmp.OBfKG0ANzm ++ rm /tmp/tmp.SbYtNYTNmR /tmp/tmp.OBfKG0ANzm ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 29 -ge 120 ]] + echo -n . .+ sleep 5 + retry=30 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.p39M2R8W5q +++ mktemp ++ local LAST_ERR=/tmp/tmp.cOqCtropZh ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.p39M2R8W5q ++ cat /tmp/tmp.cOqCtropZh ++ rm /tmp/tmp.p39M2R8W5q /tmp/tmp.cOqCtropZh ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 30 -ge 120 ]] + echo -n . .+ sleep 5 + retry=31 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.PHherOSW7B +++ mktemp ++ local LAST_ERR=/tmp/tmp.K0Rhdby4wj ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.PHherOSW7B ++ cat /tmp/tmp.K0Rhdby4wj ++ rm /tmp/tmp.PHherOSW7B /tmp/tmp.K0Rhdby4wj ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 31 -ge 120 ]] + echo -n . .+ sleep 5 + retry=32 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.MlUOBjXeWi +++ mktemp ++ local LAST_ERR=/tmp/tmp.YiO2MO5URC ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.MlUOBjXeWi ++ cat /tmp/tmp.YiO2MO5URC ++ rm /tmp/tmp.MlUOBjXeWi /tmp/tmp.YiO2MO5URC ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 32 -ge 120 ]] + echo -n . .+ sleep 5 + retry=33 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Cc6p37bHz0 +++ mktemp ++ local LAST_ERR=/tmp/tmp.5ikz7Lhd8h ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Cc6p37bHz0 ++ cat /tmp/tmp.5ikz7Lhd8h ++ rm /tmp/tmp.Cc6p37bHz0 /tmp/tmp.5ikz7Lhd8h ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 33 -ge 120 ]] + echo -n . .+ sleep 5 + retry=34 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.GxHHkMdJSL +++ mktemp ++ local LAST_ERR=/tmp/tmp.Xu24ayp1dU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.GxHHkMdJSL ++ cat /tmp/tmp.Xu24ayp1dU ++ rm /tmp/tmp.GxHHkMdJSL /tmp/tmp.Xu24ayp1dU ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 34 -ge 120 ]] + echo -n . .+ sleep 5 + retry=35 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.6bebUdg7CX +++ mktemp ++ local LAST_ERR=/tmp/tmp.lXX8rS9UJ1 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.6bebUdg7CX ++ cat /tmp/tmp.lXX8rS9UJ1 ++ rm /tmp/tmp.6bebUdg7CX /tmp/tmp.lXX8rS9UJ1 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 35 -ge 120 ]] + echo -n . .+ sleep 5 + retry=36 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.A5bLivdaoM +++ mktemp ++ local LAST_ERR=/tmp/tmp.mMozDB8u9J ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.A5bLivdaoM ++ cat /tmp/tmp.mMozDB8u9J ++ rm /tmp/tmp.A5bLivdaoM /tmp/tmp.mMozDB8u9J ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 36 -ge 120 ]] + echo -n . .+ sleep 5 + retry=37 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.BH0W9nv8Lb +++ mktemp ++ local LAST_ERR=/tmp/tmp.rYmTRHLig0 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.BH0W9nv8Lb ++ cat /tmp/tmp.rYmTRHLig0 ++ rm /tmp/tmp.BH0W9nv8Lb /tmp/tmp.rYmTRHLig0 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 37 -ge 120 ]] + echo -n . .+ sleep 5 + retry=38 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.VV6sAAsirA +++ mktemp ++ local LAST_ERR=/tmp/tmp.ap70LtPrIL ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.VV6sAAsirA ++ cat /tmp/tmp.ap70LtPrIL ++ rm /tmp/tmp.VV6sAAsirA /tmp/tmp.ap70LtPrIL ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 38 -ge 120 ]] + echo -n . .+ sleep 5 + retry=39 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.vDQ5KjRCRg +++ mktemp ++ local LAST_ERR=/tmp/tmp.YivaP9xQIr ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.vDQ5KjRCRg ++ cat /tmp/tmp.YivaP9xQIr ++ rm /tmp/tmp.vDQ5KjRCRg /tmp/tmp.YivaP9xQIr ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 39 -ge 120 ]] + echo -n . .+ sleep 5 + retry=40 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.3zE5ynocLp +++ mktemp ++ local LAST_ERR=/tmp/tmp.BgvM7IPo7G ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.3zE5ynocLp ++ cat /tmp/tmp.BgvM7IPo7G ++ rm /tmp/tmp.3zE5ynocLp /tmp/tmp.BgvM7IPo7G ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 40 -ge 120 ]] + echo -n . .+ sleep 5 + retry=41 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.aB0FTtu3c2 +++ mktemp ++ local LAST_ERR=/tmp/tmp.BdO05dLX07 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.aB0FTtu3c2 ++ cat /tmp/tmp.BdO05dLX07 ++ rm /tmp/tmp.aB0FTtu3c2 /tmp/tmp.BdO05dLX07 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 41 -ge 120 ]] + echo -n . .+ sleep 5 + retry=42 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4goLJrHyiw +++ mktemp ++ local LAST_ERR=/tmp/tmp.3pZ5Qu4Hlz ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.4goLJrHyiw ++ cat /tmp/tmp.3pZ5Qu4Hlz ++ rm /tmp/tmp.4goLJrHyiw /tmp/tmp.3pZ5Qu4Hlz ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 42 -ge 120 ]] + echo -n . .+ sleep 5 + retry=43 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.QplTqta7Me +++ mktemp ++ local LAST_ERR=/tmp/tmp.4jig7OIFz5 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.QplTqta7Me ++ cat /tmp/tmp.4jig7OIFz5 ++ rm /tmp/tmp.QplTqta7Me /tmp/tmp.4jig7OIFz5 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 43 -ge 120 ]] + echo -n . .+ sleep 5 + retry=44 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.NrPG1PnTlF +++ mktemp ++ local LAST_ERR=/tmp/tmp.8hxtx5e2vN ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.NrPG1PnTlF ++ cat /tmp/tmp.8hxtx5e2vN ++ rm /tmp/tmp.NrPG1PnTlF /tmp/tmp.8hxtx5e2vN ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 44 -ge 120 ]] + echo -n . .+ sleep 5 + retry=45 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xx2z9TvE5T +++ mktemp ++ local LAST_ERR=/tmp/tmp.HrE3BjqRpS ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.xx2z9TvE5T ++ cat /tmp/tmp.HrE3BjqRpS ++ rm /tmp/tmp.xx2z9TvE5T /tmp/tmp.HrE3BjqRpS ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 45 -ge 120 ]] + echo -n . .+ sleep 5 + retry=46 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.I3XPADfiIi +++ mktemp ++ local LAST_ERR=/tmp/tmp.BujSj3jeV9 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.I3XPADfiIi ++ cat /tmp/tmp.BujSj3jeV9 ++ rm /tmp/tmp.I3XPADfiIi /tmp/tmp.BujSj3jeV9 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 46 -ge 120 ]] + echo -n . .+ sleep 5 + retry=47 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.59quh28jUF +++ mktemp ++ local LAST_ERR=/tmp/tmp.ICaKwVX4gi ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.59quh28jUF ++ cat /tmp/tmp.ICaKwVX4gi ++ rm /tmp/tmp.59quh28jUF /tmp/tmp.ICaKwVX4gi ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 47 -ge 120 ]] + echo -n . .+ sleep 5 + retry=48 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.62XN3gU7bJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.KmRK0PStWa ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.62XN3gU7bJ ++ cat /tmp/tmp.KmRK0PStWa ++ rm /tmp/tmp.62XN3gU7bJ /tmp/tmp.KmRK0PStWa ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 48 -ge 120 ]] + echo -n . .+ sleep 5 + retry=49 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4JJAv49F4L +++ mktemp ++ local LAST_ERR=/tmp/tmp.MVHRRWnbgx ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.4JJAv49F4L ++ cat /tmp/tmp.MVHRRWnbgx ++ rm /tmp/tmp.4JJAv49F4L /tmp/tmp.MVHRRWnbgx ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 49 -ge 120 ]] + echo -n . .+ sleep 5 + retry=50 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xLqJ0a4EAK +++ mktemp ++ local LAST_ERR=/tmp/tmp.moWL5XYyHX ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.xLqJ0a4EAK ++ cat /tmp/tmp.moWL5XYyHX ++ rm /tmp/tmp.xLqJ0a4EAK /tmp/tmp.moWL5XYyHX ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 50 -ge 120 ]] + echo -n . .+ sleep 5 + retry=51 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Q20q7CHJC5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.DkgcT5JQX5 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Q20q7CHJC5 ++ cat /tmp/tmp.DkgcT5JQX5 ++ rm /tmp/tmp.Q20q7CHJC5 /tmp/tmp.DkgcT5JQX5 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 51 -ge 120 ]] + echo -n . .+ sleep 5 + retry=52 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.e60qNdBPts +++ mktemp ++ local LAST_ERR=/tmp/tmp.eXhUghkJwL ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.e60qNdBPts ++ cat /tmp/tmp.eXhUghkJwL ++ rm /tmp/tmp.e60qNdBPts /tmp/tmp.eXhUghkJwL ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 52 -ge 120 ]] + echo -n . .+ sleep 5 + retry=53 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.E9tLAjT7b7 +++ mktemp ++ local LAST_ERR=/tmp/tmp.ZaLLtd5mic ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.E9tLAjT7b7 ++ cat /tmp/tmp.ZaLLtd5mic ++ rm /tmp/tmp.E9tLAjT7b7 /tmp/tmp.ZaLLtd5mic ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 53 -ge 120 ]] + echo -n . .+ sleep 5 + retry=54 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hYgPThj8DN +++ mktemp ++ local LAST_ERR=/tmp/tmp.5bji7Cdgkj ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.hYgPThj8DN ++ cat /tmp/tmp.5bji7Cdgkj ++ rm /tmp/tmp.hYgPThj8DN /tmp/tmp.5bji7Cdgkj ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 54 -ge 120 ]] + echo -n . .+ sleep 5 + retry=55 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.DP2eiYK0Z3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.PD5rALweGv ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.DP2eiYK0Z3 ++ cat /tmp/tmp.PD5rALweGv ++ rm /tmp/tmp.DP2eiYK0Z3 /tmp/tmp.PD5rALweGv ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 55 -ge 120 ]] + echo -n . .+ sleep 5 + retry=56 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.b9yoZtlkso +++ mktemp ++ local LAST_ERR=/tmp/tmp.qPsHdKEApO ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.b9yoZtlkso ++ cat /tmp/tmp.qPsHdKEApO ++ rm /tmp/tmp.b9yoZtlkso /tmp/tmp.qPsHdKEApO ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 56 -ge 120 ]] + echo -n . .+ sleep 5 + retry=57 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qIS4pY4Euo +++ mktemp ++ local LAST_ERR=/tmp/tmp.sCjFR4JsNI ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qIS4pY4Euo ++ cat /tmp/tmp.sCjFR4JsNI ++ rm /tmp/tmp.qIS4pY4Euo /tmp/tmp.sCjFR4JsNI ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 57 -ge 120 ]] + echo -n . .+ sleep 5 + retry=58 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.tZnLE4BMrx +++ mktemp ++ local LAST_ERR=/tmp/tmp.hqhZU4W6Ri ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.tZnLE4BMrx ++ cat /tmp/tmp.hqhZU4W6Ri ++ rm /tmp/tmp.tZnLE4BMrx /tmp/tmp.hqhZU4W6Ri ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 58 -ge 120 ]] + echo -n . .+ sleep 5 + retry=59 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2o9xGZMFhG +++ mktemp ++ local LAST_ERR=/tmp/tmp.fpKLVkKemP ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.2o9xGZMFhG ++ cat /tmp/tmp.fpKLVkKemP ++ rm /tmp/tmp.2o9xGZMFhG /tmp/tmp.fpKLVkKemP ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 59 -ge 120 ]] + echo -n . .+ sleep 5 + retry=60 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ZaJEieBmry +++ mktemp ++ local LAST_ERR=/tmp/tmp.prRkNvoRey ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ZaJEieBmry ++ cat /tmp/tmp.prRkNvoRey ++ rm /tmp/tmp.ZaJEieBmry /tmp/tmp.prRkNvoRey ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 60 -ge 120 ]] + echo -n . .+ sleep 5 + retry=61 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.U3NLcYA0q0 +++ mktemp ++ local LAST_ERR=/tmp/tmp.XC5IOLbN1T ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.U3NLcYA0q0 ++ cat /tmp/tmp.XC5IOLbN1T ++ rm /tmp/tmp.U3NLcYA0q0 /tmp/tmp.XC5IOLbN1T ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 61 -ge 120 ]] + echo -n . .+ sleep 5 + retry=62 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.lVJTbjopO4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.w7ZlM73el8 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.lVJTbjopO4 ++ cat /tmp/tmp.w7ZlM73el8 ++ rm /tmp/tmp.lVJTbjopO4 /tmp/tmp.w7ZlM73el8 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 62 -ge 120 ]] + echo -n . .+ sleep 5 + retry=63 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.UohPYX10GX +++ mktemp ++ local LAST_ERR=/tmp/tmp.oXCt23UFvV ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.UohPYX10GX ++ cat /tmp/tmp.oXCt23UFvV ++ rm /tmp/tmp.UohPYX10GX /tmp/tmp.oXCt23UFvV ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 63 -ge 120 ]] + echo -n . .+ sleep 5 + retry=64 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.P9Objb8GSC +++ mktemp ++ local LAST_ERR=/tmp/tmp.3FRM5Lbuw0 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.P9Objb8GSC ++ cat /tmp/tmp.3FRM5Lbuw0 ++ rm /tmp/tmp.P9Objb8GSC /tmp/tmp.3FRM5Lbuw0 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 64 -ge 120 ]] + echo -n . .+ sleep 5 + retry=65 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ZCyiTkToy4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.87PAVc3HMf ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ZCyiTkToy4 ++ cat /tmp/tmp.87PAVc3HMf ++ rm /tmp/tmp.ZCyiTkToy4 /tmp/tmp.87PAVc3HMf ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 65 -ge 120 ]] + echo -n . .+ sleep 5 + retry=66 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.6yQHSIv9V8 +++ mktemp ++ local LAST_ERR=/tmp/tmp.1HdxRy5uk6 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.6yQHSIv9V8 ++ cat /tmp/tmp.1HdxRy5uk6 ++ rm /tmp/tmp.6yQHSIv9V8 /tmp/tmp.1HdxRy5uk6 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 66 -ge 120 ]] + echo -n . .+ sleep 5 + retry=67 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.MRaaetYWL8 +++ mktemp ++ local LAST_ERR=/tmp/tmp.vw8CRsKJbJ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.MRaaetYWL8 ++ cat /tmp/tmp.vw8CRsKJbJ ++ rm /tmp/tmp.MRaaetYWL8 /tmp/tmp.vw8CRsKJbJ ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 67 -ge 120 ]] + echo -n . .+ sleep 5 + retry=68 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5cmuf8lw9G +++ mktemp ++ local LAST_ERR=/tmp/tmp.0TDeHkL66A ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.5cmuf8lw9G ++ cat /tmp/tmp.0TDeHkL66A ++ rm /tmp/tmp.5cmuf8lw9G /tmp/tmp.0TDeHkL66A ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 68 -ge 120 ]] + echo -n . .+ sleep 5 + retry=69 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.kUis1KaymC +++ mktemp ++ local LAST_ERR=/tmp/tmp.Rcs6yDScI1 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.kUis1KaymC ++ cat /tmp/tmp.Rcs6yDScI1 ++ rm /tmp/tmp.kUis1KaymC /tmp/tmp.Rcs6yDScI1 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 69 -ge 120 ]] + echo -n . .+ sleep 5 + retry=70 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Oh4nP4gyJ6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.37CErbzdyh ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Oh4nP4gyJ6 ++ cat /tmp/tmp.37CErbzdyh ++ rm /tmp/tmp.Oh4nP4gyJ6 /tmp/tmp.37CErbzdyh ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 70 -ge 120 ]] + echo -n . .+ sleep 5 + retry=71 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.aVEFqY0Hx9 +++ mktemp ++ local LAST_ERR=/tmp/tmp.aOTsILGnM3 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.aVEFqY0Hx9 ++ cat /tmp/tmp.aOTsILGnM3 ++ rm /tmp/tmp.aVEFqY0Hx9 /tmp/tmp.aOTsILGnM3 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 71 -ge 120 ]] + echo -n . .+ sleep 5 + retry=72 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.DeIF1yYHz5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.YyVG96QLCx ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.DeIF1yYHz5 ++ cat /tmp/tmp.YyVG96QLCx ++ rm /tmp/tmp.DeIF1yYHz5 /tmp/tmp.YyVG96QLCx ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 72 -ge 120 ]] + echo -n . .+ sleep 5 + retry=73 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.v4kswFCJ81 +++ mktemp ++ local LAST_ERR=/tmp/tmp.SZkpg42bxo ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.v4kswFCJ81 ++ cat /tmp/tmp.SZkpg42bxo ++ rm /tmp/tmp.v4kswFCJ81 /tmp/tmp.SZkpg42bxo ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 73 -ge 120 ]] + echo -n . .+ sleep 5 + retry=74 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.gbfCgHZFfk +++ mktemp ++ local LAST_ERR=/tmp/tmp.y9Ov3EpipR ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.gbfCgHZFfk ++ cat /tmp/tmp.y9Ov3EpipR ++ rm /tmp/tmp.gbfCgHZFfk /tmp/tmp.y9Ov3EpipR ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 74 -ge 120 ]] + echo -n . .+ sleep 5 + retry=75 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.kwnMrmm8K6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.CTgzzQSfAN ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.kwnMrmm8K6 ++ cat /tmp/tmp.CTgzzQSfAN ++ rm /tmp/tmp.kwnMrmm8K6 /tmp/tmp.CTgzzQSfAN ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 75 -ge 120 ]] + echo -n . .+ sleep 5 + retry=76 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.SB1M8dkKRg +++ mktemp ++ local LAST_ERR=/tmp/tmp.kfrm5qI9yd ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.SB1M8dkKRg ++ cat /tmp/tmp.kfrm5qI9yd ++ rm /tmp/tmp.SB1M8dkKRg /tmp/tmp.kfrm5qI9yd ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 76 -ge 120 ]] + echo -n . .+ sleep 5 + retry=77 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.x91QYIBoVJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.oJhsc21Dn9 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.x91QYIBoVJ ++ cat /tmp/tmp.oJhsc21Dn9 ++ rm /tmp/tmp.x91QYIBoVJ /tmp/tmp.oJhsc21Dn9 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 77 -ge 120 ]] + echo -n . .+ sleep 5 + retry=78 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1U2efyoVHL +++ mktemp ++ local LAST_ERR=/tmp/tmp.cECTF79nTw ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.1U2efyoVHL ++ cat /tmp/tmp.cECTF79nTw ++ rm /tmp/tmp.1U2efyoVHL /tmp/tmp.cECTF79nTw ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 78 -ge 120 ]] + echo -n . .+ sleep 5 + retry=79 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2nPnU2R9aD +++ mktemp ++ local LAST_ERR=/tmp/tmp.f67S0OBGTs ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.2nPnU2R9aD ++ cat /tmp/tmp.f67S0OBGTs ++ rm /tmp/tmp.2nPnU2R9aD /tmp/tmp.f67S0OBGTs ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 79 -ge 120 ]] + echo -n . .+ sleep 5 + retry=80 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.sGloVIhd54 +++ mktemp ++ local LAST_ERR=/tmp/tmp.KaFgHdeQWU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.sGloVIhd54 ++ cat /tmp/tmp.KaFgHdeQWU ++ rm /tmp/tmp.sGloVIhd54 /tmp/tmp.KaFgHdeQWU ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 80 -ge 120 ]] + echo -n . .+ sleep 5 + retry=81 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.GMnMwFPs8v +++ mktemp ++ local LAST_ERR=/tmp/tmp.vsAjUV0LmA ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.GMnMwFPs8v ++ cat /tmp/tmp.vsAjUV0LmA ++ rm /tmp/tmp.GMnMwFPs8v /tmp/tmp.vsAjUV0LmA ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 81 -ge 120 ]] + echo -n . .+ sleep 5 + retry=82 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.uhaQkVMntC +++ mktemp ++ local LAST_ERR=/tmp/tmp.KOeRYXRDeB ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.uhaQkVMntC ++ cat /tmp/tmp.KOeRYXRDeB ++ rm /tmp/tmp.uhaQkVMntC /tmp/tmp.KOeRYXRDeB ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 82 -ge 120 ]] + echo -n . .+ sleep 5 + retry=83 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.HcNZpYX2Nu +++ mktemp ++ local LAST_ERR=/tmp/tmp.2PiP0lDsP7 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.HcNZpYX2Nu ++ cat /tmp/tmp.2PiP0lDsP7 ++ rm /tmp/tmp.HcNZpYX2Nu /tmp/tmp.2PiP0lDsP7 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 83 -ge 120 ]] + echo -n . .+ sleep 5 + retry=84 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ovwCVnB2Bp +++ mktemp ++ local LAST_ERR=/tmp/tmp.XFzZoiGtUi ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ovwCVnB2Bp ++ cat /tmp/tmp.XFzZoiGtUi ++ rm /tmp/tmp.ovwCVnB2Bp /tmp/tmp.XFzZoiGtUi ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 84 -ge 120 ]] + echo -n . .+ sleep 5 + retry=85 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.NbXzIKMNvp +++ mktemp ++ local LAST_ERR=/tmp/tmp.tDPAvHktJL ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.NbXzIKMNvp ++ cat /tmp/tmp.tDPAvHktJL ++ rm /tmp/tmp.NbXzIKMNvp /tmp/tmp.tDPAvHktJL ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 85 -ge 120 ]] + echo -n . .+ sleep 5 + retry=86 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.dX0zsAuH90 +++ mktemp ++ local LAST_ERR=/tmp/tmp.PXsbp3ALKB ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.dX0zsAuH90 ++ cat /tmp/tmp.PXsbp3ALKB ++ rm /tmp/tmp.dX0zsAuH90 /tmp/tmp.PXsbp3ALKB ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 86 -ge 120 ]] + echo -n . .+ sleep 5 + retry=87 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.dkfdhDXbK9 +++ mktemp ++ local LAST_ERR=/tmp/tmp.byRfexr40q ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.dkfdhDXbK9 ++ cat /tmp/tmp.byRfexr40q ++ rm /tmp/tmp.dkfdhDXbK9 /tmp/tmp.byRfexr40q ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 87 -ge 120 ]] + echo -n . .+ sleep 5 + retry=88 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.XFiW7jenhW +++ mktemp ++ local LAST_ERR=/tmp/tmp.MZjOwzQPPR ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.XFiW7jenhW ++ cat /tmp/tmp.MZjOwzQPPR ++ rm /tmp/tmp.XFiW7jenhW /tmp/tmp.MZjOwzQPPR ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 88 -ge 120 ]] + echo -n . .+ sleep 5 + retry=89 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.vySmMiNLVd +++ mktemp ++ local LAST_ERR=/tmp/tmp.xkufDQYMLe ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.vySmMiNLVd ++ cat /tmp/tmp.xkufDQYMLe ++ rm /tmp/tmp.vySmMiNLVd /tmp/tmp.xkufDQYMLe ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 89 -ge 120 ]] + echo -n . .+ sleep 5 + retry=90 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.mAZTrpClU0 +++ mktemp ++ local LAST_ERR=/tmp/tmp.1BDE3R1cKK ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.mAZTrpClU0 ++ cat /tmp/tmp.1BDE3R1cKK ++ rm /tmp/tmp.mAZTrpClU0 /tmp/tmp.1BDE3R1cKK ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 90 -ge 120 ]] + echo -n . .+ sleep 5 + retry=91 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.gj9AO8xfzP +++ mktemp ++ local LAST_ERR=/tmp/tmp.9egd7LNzb6 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.gj9AO8xfzP ++ cat /tmp/tmp.9egd7LNzb6 ++ rm /tmp/tmp.gj9AO8xfzP /tmp/tmp.9egd7LNzb6 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 91 -ge 120 ]] + echo -n . .+ sleep 5 + retry=92 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.91RQsUPKN4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.e6ulKXoLo3 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.91RQsUPKN4 ++ cat /tmp/tmp.e6ulKXoLo3 ++ rm /tmp/tmp.91RQsUPKN4 /tmp/tmp.e6ulKXoLo3 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 92 -ge 120 ]] + echo -n . .+ sleep 5 + retry=93 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.iPfOGPdtnr +++ mktemp ++ local LAST_ERR=/tmp/tmp.w8IbbZLgnd ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.iPfOGPdtnr ++ cat /tmp/tmp.w8IbbZLgnd ++ rm /tmp/tmp.iPfOGPdtnr /tmp/tmp.w8IbbZLgnd ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 93 -ge 120 ]] + echo -n . .+ sleep 5 + retry=94 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.cjvPxaAf4p +++ mktemp ++ local LAST_ERR=/tmp/tmp.zIpHRiCgDX ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.cjvPxaAf4p ++ cat /tmp/tmp.zIpHRiCgDX ++ rm /tmp/tmp.cjvPxaAf4p /tmp/tmp.zIpHRiCgDX ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 94 -ge 120 ]] + echo -n . .+ sleep 5 + retry=95 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.VZ6Ud6suvm +++ mktemp ++ local LAST_ERR=/tmp/tmp.Q3qpXCmsRJ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.VZ6Ud6suvm ++ cat /tmp/tmp.Q3qpXCmsRJ ++ rm /tmp/tmp.VZ6Ud6suvm /tmp/tmp.Q3qpXCmsRJ ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 95 -ge 120 ]] + echo -n . .+ sleep 5 + retry=96 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.LrqySMlFxB +++ mktemp ++ local LAST_ERR=/tmp/tmp.UnOskW9KiS ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.LrqySMlFxB ++ cat /tmp/tmp.UnOskW9KiS ++ rm /tmp/tmp.LrqySMlFxB /tmp/tmp.UnOskW9KiS ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 96 -ge 120 ]] + echo -n . .+ sleep 5 + retry=97 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.mkbxfZqmEV +++ mktemp ++ local LAST_ERR=/tmp/tmp.MNC1CKuCvb ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.mkbxfZqmEV ++ cat /tmp/tmp.MNC1CKuCvb ++ rm /tmp/tmp.mkbxfZqmEV /tmp/tmp.MNC1CKuCvb ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 97 -ge 120 ]] + echo -n . .+ sleep 5 + retry=98 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.rVS0jTMGdH +++ mktemp ++ local LAST_ERR=/tmp/tmp.lsteSlYpLe ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.rVS0jTMGdH ++ cat /tmp/tmp.lsteSlYpLe ++ rm /tmp/tmp.rVS0jTMGdH /tmp/tmp.lsteSlYpLe ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 98 -ge 120 ]] + echo -n . .+ sleep 5 + retry=99 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.gPIuZalYwq +++ mktemp ++ local LAST_ERR=/tmp/tmp.3Vj9gKdivm ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.gPIuZalYwq ++ cat /tmp/tmp.3Vj9gKdivm ++ rm /tmp/tmp.gPIuZalYwq /tmp/tmp.3Vj9gKdivm ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 99 -ge 120 ]] + echo -n . .+ sleep 5 + retry=100 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.kv8mcLQEKw +++ mktemp ++ local LAST_ERR=/tmp/tmp.NNJvVsQ0O2 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.kv8mcLQEKw ++ cat /tmp/tmp.NNJvVsQ0O2 ++ rm /tmp/tmp.kv8mcLQEKw /tmp/tmp.NNJvVsQ0O2 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 100 -ge 120 ]] + echo -n . .+ sleep 5 + retry=101 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.BHRxb1e9Yk +++ mktemp ++ local LAST_ERR=/tmp/tmp.rdJnqfSXTD ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.BHRxb1e9Yk ++ cat /tmp/tmp.rdJnqfSXTD ++ rm /tmp/tmp.BHRxb1e9Yk /tmp/tmp.rdJnqfSXTD ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 101 -ge 120 ]] + echo -n . .+ sleep 5 + retry=102 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.SAB6QMoxdA +++ mktemp ++ local LAST_ERR=/tmp/tmp.fHKsYqMr1m ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.SAB6QMoxdA ++ cat /tmp/tmp.fHKsYqMr1m ++ rm /tmp/tmp.SAB6QMoxdA /tmp/tmp.fHKsYqMr1m ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 102 -ge 120 ]] + echo -n . .+ sleep 5 + retry=103 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hrty0YIZK3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.b2rNEaka2J ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.hrty0YIZK3 ++ cat /tmp/tmp.b2rNEaka2J ++ rm /tmp/tmp.hrty0YIZK3 /tmp/tmp.b2rNEaka2J ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 103 -ge 120 ]] + echo -n . .+ sleep 5 + retry=104 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.zsXS74pYL1 +++ mktemp ++ local LAST_ERR=/tmp/tmp.xmp0RuD774 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.zsXS74pYL1 ++ cat /tmp/tmp.xmp0RuD774 ++ rm /tmp/tmp.zsXS74pYL1 /tmp/tmp.xmp0RuD774 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 104 -ge 120 ]] + echo -n . .+ sleep 5 + retry=105 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.cVl8mL1kFZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.imrYrB7X45 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.cVl8mL1kFZ ++ cat /tmp/tmp.imrYrB7X45 ++ rm /tmp/tmp.cVl8mL1kFZ /tmp/tmp.imrYrB7X45 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 105 -ge 120 ]] + echo -n . .+ sleep 5 + retry=106 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.rCaAVi6Ryy +++ mktemp ++ local LAST_ERR=/tmp/tmp.9pLoumpEzm ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.rCaAVi6Ryy ++ cat /tmp/tmp.9pLoumpEzm ++ rm /tmp/tmp.rCaAVi6Ryy /tmp/tmp.9pLoumpEzm ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 106 -ge 120 ]] + echo -n . .+ sleep 5 + retry=107 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.zlW81zpt5J +++ mktemp ++ local LAST_ERR=/tmp/tmp.a3YNz9sjlU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.zlW81zpt5J ++ cat /tmp/tmp.a3YNz9sjlU ++ rm /tmp/tmp.zlW81zpt5J /tmp/tmp.a3YNz9sjlU ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 107 -ge 120 ]] + echo -n . .+ sleep 5 + retry=108 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.r8Uktc8sHK +++ mktemp ++ local LAST_ERR=/tmp/tmp.54OW2aK5cw ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.r8Uktc8sHK ++ cat /tmp/tmp.54OW2aK5cw ++ rm /tmp/tmp.r8Uktc8sHK /tmp/tmp.54OW2aK5cw ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 108 -ge 120 ]] + echo -n . .+ sleep 5 + retry=109 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.tAd4Rw92cS +++ mktemp ++ local LAST_ERR=/tmp/tmp.qYs7SjyJDG ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.tAd4Rw92cS ++ cat /tmp/tmp.qYs7SjyJDG ++ rm /tmp/tmp.tAd4Rw92cS /tmp/tmp.qYs7SjyJDG ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 109 -ge 120 ]] + echo -n . .+ sleep 5 + retry=110 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.BmiAfH1Icr +++ mktemp ++ local LAST_ERR=/tmp/tmp.GUowJFJbEf ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.BmiAfH1Icr ++ cat /tmp/tmp.GUowJFJbEf ++ rm /tmp/tmp.BmiAfH1Icr /tmp/tmp.GUowJFJbEf ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 110 -ge 120 ]] + echo -n . .+ sleep 5 + retry=111 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.WDXkkBSKFY +++ mktemp ++ local LAST_ERR=/tmp/tmp.KH27cE5zIi ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.WDXkkBSKFY ++ cat /tmp/tmp.KH27cE5zIi ++ rm /tmp/tmp.WDXkkBSKFY /tmp/tmp.KH27cE5zIi ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 111 -ge 120 ]] + echo -n . .+ sleep 5 + retry=112 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Sxfbe0WFmh +++ mktemp ++ local LAST_ERR=/tmp/tmp.Qa7hgCliDg ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Sxfbe0WFmh ++ cat /tmp/tmp.Qa7hgCliDg ++ rm /tmp/tmp.Sxfbe0WFmh /tmp/tmp.Qa7hgCliDg ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 112 -ge 120 ]] + echo -n . .+ sleep 5 + retry=113 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hh6Wquakm8 +++ mktemp ++ local LAST_ERR=/tmp/tmp.NEFzFHppZT ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.hh6Wquakm8 ++ cat /tmp/tmp.NEFzFHppZT ++ rm /tmp/tmp.hh6Wquakm8 /tmp/tmp.NEFzFHppZT ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 113 -ge 120 ]] + echo -n . .+ sleep 5 + retry=114 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.F9N1NI9E4q +++ mktemp ++ local LAST_ERR=/tmp/tmp.RwnZFlQBEd ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.F9N1NI9E4q ++ cat /tmp/tmp.RwnZFlQBEd ++ rm /tmp/tmp.F9N1NI9E4q /tmp/tmp.RwnZFlQBEd ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 114 -ge 120 ]] + echo -n . .+ sleep 5 + retry=115 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.0NW7CK1fub +++ mktemp ++ local LAST_ERR=/tmp/tmp.8yfGF16GyU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.0NW7CK1fub ++ cat /tmp/tmp.8yfGF16GyU ++ rm /tmp/tmp.0NW7CK1fub /tmp/tmp.8yfGF16GyU ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 115 -ge 120 ]] + echo -n . .+ sleep 5 + retry=116 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xq3esCDxj7 +++ mktemp ++ local LAST_ERR=/tmp/tmp.VLWIeDMN31 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.xq3esCDxj7 ++ cat /tmp/tmp.VLWIeDMN31 ++ rm /tmp/tmp.xq3esCDxj7 /tmp/tmp.VLWIeDMN31 ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 116 -ge 120 ]] + echo -n . .+ sleep 5 + retry=117 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.cdGloV2FsQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.l2XJNaDU2S ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.cdGloV2FsQ ++ cat /tmp/tmp.l2XJNaDU2S ++ rm /tmp/tmp.cdGloV2FsQ /tmp/tmp.l2XJNaDU2S ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 117 -ge 120 ]] + echo -n . .+ sleep 5 + retry=118 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.obQcyIDhNQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.Laq1HQmqjJ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.obQcyIDhNQ ++ cat /tmp/tmp.Laq1HQmqjJ ++ rm /tmp/tmp.obQcyIDhNQ /tmp/tmp.Laq1HQmqjJ ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 118 -ge 120 ]] + echo -n . .+ sleep 5 + retry=119 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.nNw8VKFNwB +++ mktemp ++ local LAST_ERR=/tmp/tmp.LTUW8S8GKq ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.nNw8VKFNwB ++ cat /tmp/tmp.LTUW8S8GKq ++ rm /tmp/tmp.nNw8VKFNwB /tmp/tmp.LTUW8S8GKq ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 119 -ge 120 ]] + echo -n . .+ sleep 5 + retry=120 ++ kubectl_bin get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.08zLGN88if +++ mktemp ++ local LAST_ERR=/tmp/tmp.B9SWNXbidd ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get persistentvolumeclaim/datadir-some-name-pxc-0 -o 'jsonpath={.status.capacity.storage}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.08zLGN88if ++ cat /tmp/tmp.B9SWNXbidd ++ rm /tmp/tmp.08zLGN88if /tmp/tmp.B9SWNXbidd ++ return 0 + [[ 3Gi == \4\G\i ]] + [[ 120 -ge 120 ]] + echo + echo 'persistentvolumeclaim/datadir-some-name-pxc-0 was not resized, max retries exceeded' persistentvolumeclaim/datadir-some-name-pxc-0 was not resized, max retries exceeded + return 1