Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/e2e-tests/logs/stable-resource-version.log grep: warning: stray \ before - Warning: version difference between client (1.35) and server (1.31) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.35) and server (1.31) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.35) and server (1.31) exceeds the supported minor version skew of +/-1 + cluster=some-name + create_infra stable-resource-version-3433 + local ns=stable-resource-version-3433 + [[ 1 == 1 ]] + delete_crd + desc 'get and delete old CRDs and RBAC' + set +o xtrace ----------------------------------------------------------------------------------- get and delete old CRDs and RBAC ----------------------------------------------------------------------------------- + kubectl_bin delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.PnAiQVPzeh ++ mktemp + local LAST_ERR=/tmp/tmp.tMV8mK3Q2t + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.PnAiQVPzeh customresourcedefinition.apiextensions.k8s.io "perconaservermongodbbackups.psmdb.percona.com" deleted customresourcedefinition.apiextensions.k8s.io "perconaservermongodbrestores.psmdb.percona.com" deleted customresourcedefinition.apiextensions.k8s.io "perconaservermongodbs.psmdb.percona.com" deleted + cat /tmp/tmp.tMV8mK3Q2t + rm /tmp/tmp.PnAiQVPzeh /tmp/tmp.tMV8mK3Q2t + return 0 ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/deploy/crd.yaml ++ grep -v '\-\-\-' grep: warning: stray \ before - grep: warning: stray \ before - + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbbackups.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbbackups.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbbackups" + kubectl patch perconaservermongodbbackups.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbbackups" + : + kubectl_bin wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.r28VS2y9EG ++ mktemp + local LAST_ERR=/tmp/tmp.FeG99xdm2Z + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.r28VS2y9EG + cat /tmp/tmp.FeG99xdm2Z + rm /tmp/tmp.r28VS2y9EG /tmp/tmp.FeG99xdm2Z + return 0 + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbrestores.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbrestores.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbrestores" + kubectl patch perconaservermongodbrestores.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbrestores" + : + kubectl_bin wait --for=delete crd perconaservermongodbrestores.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.v2oFyy1aJb ++ mktemp + local LAST_ERR=/tmp/tmp.BgTUJOyFh0 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete crd perconaservermongodbrestores.psmdb.percona.com + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.v2oFyy1aJb + cat /tmp/tmp.BgTUJOyFh0 + rm /tmp/tmp.v2oFyy1aJb /tmp/tmp.BgTUJOyFh0 + return 0 + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbs.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbs.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbs" + kubectl patch perconaservermongodbs.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbs" + : + kubectl_bin wait --for=delete crd perconaservermongodbs.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.KbjjsC1jo5 ++ mktemp + local LAST_ERR=/tmp/tmp.1bLkj4rWOZ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete crd perconaservermongodbs.psmdb.percona.com + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.KbjjsC1jo5 + cat /tmp/tmp.1bLkj4rWOZ + rm /tmp/tmp.KbjjsC1jo5 /tmp/tmp.1bLkj4rWOZ + return 0 + local rbac_yaml=rbac.yaml + '[' -n psmdb-operator ']' + rbac_yaml=cw-rbac.yaml + kubectl_bin delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/deploy/cw-rbac.yaml --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.gs456OIzM2 ++ mktemp + local LAST_ERR=/tmp/tmp.45LrN1nu4k + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/deploy/cw-rbac.yaml --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.gs456OIzM2 clusterrole.rbac.authorization.k8s.io "percona-server-mongodb-operator" deleted clusterrolebinding.rbac.authorization.k8s.io "service-account-percona-server-mongodb-operator" deleted + cat /tmp/tmp.45LrN1nu4k + rm /tmp/tmp.gs456OIzM2 /tmp/tmp.45LrN1nu4k + return 0 + check_crd_for_deletion PR-2165-accccb47 + local git_tag=PR-2165-accccb47 ++ curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/PR-2165-accccb47/deploy/crd.yaml ++ yq eval .metadata.name ++ /usr/sbin/sed s/---//g ++ /usr/sbin/sed ':a;N;$!ba;s/\n/ /g' + for crd_name in $(curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/${git_tag}/deploy/crd.yaml | yq eval '.metadata.name' | $sed 's/---//g' | $sed ':a;N;$!ba;s/\n/ /g') ++ kubectl_bin get crd/null -o 'jsonpath={.status.conditions[-1].type}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.UJTte1ZD0C +++ mktemp ++ local LAST_ERR=/tmp/tmp.588gwD6akj ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.UJTte1ZD0C ++ cat /tmp/tmp.588gwD6akj Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 0 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.UJTte1ZD0C ++ cat /tmp/tmp.588gwD6akj Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 4 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.UJTte1ZD0C ++ cat /tmp/tmp.588gwD6akj Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 8 ++ cat /tmp/tmp.UJTte1ZD0C ++ cat /tmp/tmp.588gwD6akj Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ rm /tmp/tmp.UJTte1ZD0C /tmp/tmp.588gwD6akj ++ return 1 + [[ '' == \T\e\r\m\i\n\a\t\i\n\g ]] + '[' -n psmdb-operator ']' + create_namespace psmdb-operator + local namespace=psmdb-operator + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// + local chaos_mesh_ns= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns ++ mktemp + egrep -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + '[' -n '' ']' + desc 'cleaned up old namespaces psmdb-operator' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace psmdb-operator --ignore-not-found + awk '{print$1}' ++ mktemp + local LAST_OUT=/tmp/tmp.5H8wPaiAdx ++ mktemp egrep: warning: egrep is obsolescent; using grep -E + xargs kubectl delete ns + local LAST_OUT=/tmp/tmp.JJVv3I6TyA ++ mktemp + local LAST_ERR=/tmp/tmp.dPRKTCoeRj + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.J1rh2a83sL + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get ns + for i in $(seq 0 2) + set +e + kubectl delete namespace psmdb-operator --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.5H8wPaiAdx + cat /tmp/tmp.dPRKTCoeRj + rm /tmp/tmp.5H8wPaiAdx /tmp/tmp.dPRKTCoeRj + return 0 namespace "stable-resource-version-26894" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.JJVv3I6TyA namespace "psmdb-operator" deleted + cat /tmp/tmp.J1rh2a83sL + rm /tmp/tmp.JJVv3I6TyA /tmp/tmp.J1rh2a83sL + return 0 + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.woA98QMCGQ ++ mktemp + local LAST_ERR=/tmp/tmp.mu8MfmycB3 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete namespace psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.woA98QMCGQ + cat /tmp/tmp.mu8MfmycB3 + rm /tmp/tmp.woA98QMCGQ /tmp/tmp.mu8MfmycB3 + return 0 + desc 'create namespace psmdb-operator' + set +o xtrace ----------------------------------------------------------------------------------- create namespace psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin create namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.xLQyU2eNYx ++ mktemp + local LAST_ERR=/tmp/tmp.lMolKR1EKh + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl create namespace psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.xLQyU2eNYx namespace/psmdb-operator created + cat /tmp/tmp.lMolKR1EKh + rm /tmp/tmp.xLQyU2eNYx /tmp/tmp.lMolKR1EKh + return 0 + set_kube_ctx psmdb-operator + local namespace=psmdb-operator ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.JKrzc3Arzk +++ mktemp ++ local LAST_ERR=/tmp/tmp.XhG6yzpBtu ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.JKrzc3Arzk ++ cat /tmp/tmp.XhG6yzpBtu ++ rm /tmp/tmp.JKrzc3Arzk /tmp/tmp.XhG6yzpBtu ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2165-accccb47-1-cluster1 --namespace=psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.6NDDyEOJAL ++ mktemp + local LAST_ERR=/tmp/tmp.NTSZyTfgNa + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2165-accccb47-1-cluster1 --namespace=psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.6NDDyEOJAL Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2165-accccb47-1-cluster1" modified. + cat /tmp/tmp.NTSZyTfgNa + rm /tmp/tmp.6NDDyEOJAL /tmp/tmp.NTSZyTfgNa + return 0 + deploy_operator + desc 'start PSMDB operator: perconalab/percona-server-mongodb-operator:PR-2165-accccb47' + set +o xtrace ----------------------------------------------------------------------------------- start PSMDB operator: perconalab/percona-server-mongodb-operator:PR-2165-accccb47 ----------------------------------------------------------------------------------- + local cr_file + '[' -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/e2e-tests/stable-resource-version/conf/crd.yaml ']' + cr_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/deploy/crd.yaml + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.lPuOYp7qo4 ++ mktemp + local LAST_ERR=/tmp/tmp.UNX0ZOaNxL + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.lPuOYp7qo4 customresourcedefinition.apiextensions.k8s.io/perconaservermongodbbackups.psmdb.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaservermongodbrestores.psmdb.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaservermongodbs.psmdb.percona.com serverside-applied + cat /tmp/tmp.UNX0ZOaNxL + rm /tmp/tmp.lPuOYp7qo4 /tmp/tmp.UNX0ZOaNxL + return 0 + '[' -n psmdb-operator ']' + apply_rbac cw-rbac + local operator_namespace=psmdb-operator + local rbac=cw-rbac + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/deploy/cw-rbac.yaml + sed -e 's^namespace: .*^namespace: psmdb-operator^' + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.vvXXC0QIjl ++ mktemp + local LAST_ERR=/tmp/tmp.Uz2nn10Y1n + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -n psmdb-operator -f - + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.vvXXC0QIjl clusterrole.rbac.authorization.k8s.io/percona-server-mongodb-operator created serviceaccount/percona-server-mongodb-operator created clusterrolebinding.rbac.authorization.k8s.io/service-account-percona-server-mongodb-operator created + cat /tmp/tmp.Uz2nn10Y1n + rm /tmp/tmp.vvXXC0QIjl /tmp/tmp.Uz2nn10Y1n + return 0 + yq eval ' (.spec.template.spec.containers[].image = "perconalab/percona-server-mongodb-operator:PR-2165-accccb47") | ((.. | select(.[] == "DISABLE_TELEMETRY")) |= .value="true") | ((.. | select(.[] == "LOG_LEVEL")) |= .value="DEBUG")' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/deploy/cw-operator.yaml + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.nivydBc873 ++ mktemp + local LAST_ERR=/tmp/tmp.zaSMJRHHnY + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -n psmdb-operator -f - + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.nivydBc873 deployment.apps/percona-server-mongodb-operator created + cat /tmp/tmp.zaSMJRHHnY + rm /tmp/tmp.nivydBc873 /tmp/tmp.zaSMJRHHnY + return 0 + sleep 20 ++ get_operator_pod ++ kubectl_bin get pods --selector=name=percona-server-mongodb-operator -o 'jsonpath={.items[].metadata.name}' -n psmdb-operator +++ mktemp ++ local LAST_OUT=/tmp/tmp.K3yatkXhDS +++ mktemp ++ local LAST_ERR=/tmp/tmp.EEl6XePAiu ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=percona-server-mongodb-operator -o 'jsonpath={.items[].metadata.name}' -n psmdb-operator ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.K3yatkXhDS ++ cat /tmp/tmp.EEl6XePAiu ++ rm /tmp/tmp.K3yatkXhDS /tmp/tmp.EEl6XePAiu ++ return 0 + wait_operator_pod percona-server-mongodb-operator-6ccc98d58c-j7skk + local pod=percona-server-mongodb-operator-6ccc98d58c-j7skk + set +o xtrace waiting for pod/percona-server-mongodb-operator-6ccc98d58c-j7skk to be ready.OK + echo 'Print operator info from log' Print operator info from log + grep 'Manager starting up' ++ get_operator_pod ++ kubectl_bin get pods --selector=name=percona-server-mongodb-operator -o 'jsonpath={.items[].metadata.name}' -n psmdb-operator +++ mktemp ++ local LAST_OUT=/tmp/tmp.UfuzCMNHyj +++ mktemp ++ local LAST_ERR=/tmp/tmp.VZBGREmklv ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=percona-server-mongodb-operator -o 'jsonpath={.items[].metadata.name}' -n psmdb-operator ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.UfuzCMNHyj ++ cat /tmp/tmp.VZBGREmklv ++ rm /tmp/tmp.UfuzCMNHyj /tmp/tmp.VZBGREmklv ++ return 0 + kubectl_bin logs -n psmdb-operator percona-server-mongodb-operator-6ccc98d58c-j7skk ++ mktemp + local LAST_OUT=/tmp/tmp.cRRBu8N1MC ++ mktemp + local LAST_ERR=/tmp/tmp.mx9jRIGa75 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl logs -n psmdb-operator percona-server-mongodb-operator-6ccc98d58c-j7skk + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.cRRBu8N1MC + cat /tmp/tmp.mx9jRIGa75 + rm /tmp/tmp.cRRBu8N1MC /tmp/tmp.mx9jRIGa75 + return 0 2025-12-29T03:24:11.959Z INFO setup Manager starting up {"gitCommit": "accccb47f658195ecdd2ae9829d3b851fbc77e87", "gitBranch": "PR-2165-accccb47", "buildTime": "", "goVersion": "go1.25.5", "os": "linux", "arch": "amd64"} + create_namespace stable-resource-version-3433 + local namespace=stable-resource-version-3433 + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// + local chaos_mesh_ns= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + egrep -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + awk '{print$1}' + '[' -n '' ']' + desc 'cleaned up old namespaces stable-resource-version-3433' + xargs kubectl delete ns + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces stable-resource-version-3433 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace stable-resource-version-3433 --ignore-not-found ++ mktemp ++ mktemp egrep: warning: egrep is obsolescent; using grep -E + local LAST_OUT=/tmp/tmp.3YKQQpIQ2Z ++ mktemp + local LAST_OUT=/tmp/tmp.QVbUqqWGlK ++ mktemp + local LAST_ERR=/tmp/tmp.8Ys5bQV1Hr + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.hdTX1CAs60 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get ns + for i in $(seq 0 2) + set +e + kubectl delete namespace stable-resource-version-3433 --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.3YKQQpIQ2Z + cat /tmp/tmp.8Ys5bQV1Hr + rm /tmp/tmp.3YKQQpIQ2Z /tmp/tmp.8Ys5bQV1Hr + return 0 error: resource(s) were provided, but no name was specified + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.QVbUqqWGlK + cat /tmp/tmp.hdTX1CAs60 + rm /tmp/tmp.QVbUqqWGlK /tmp/tmp.hdTX1CAs60 + return 0 + kubectl_bin wait --for=delete namespace stable-resource-version-3433 ++ mktemp + local LAST_OUT=/tmp/tmp.9yeB3eYsNO ++ mktemp + local LAST_ERR=/tmp/tmp.WlT92gZte7 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete namespace stable-resource-version-3433 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.9yeB3eYsNO + cat /tmp/tmp.WlT92gZte7 + rm /tmp/tmp.9yeB3eYsNO /tmp/tmp.WlT92gZte7 + return 0 + desc 'create namespace stable-resource-version-3433' + set +o xtrace ----------------------------------------------------------------------------------- create namespace stable-resource-version-3433 ----------------------------------------------------------------------------------- + kubectl_bin create namespace stable-resource-version-3433 ++ mktemp + local LAST_OUT=/tmp/tmp.1G6R6rMoCc ++ mktemp + local LAST_ERR=/tmp/tmp.o7NaFW3smH + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl create namespace stable-resource-version-3433 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.1G6R6rMoCc namespace/stable-resource-version-3433 created + cat /tmp/tmp.o7NaFW3smH + rm /tmp/tmp.1G6R6rMoCc /tmp/tmp.o7NaFW3smH + return 0 + set_kube_ctx stable-resource-version-3433 + local namespace=stable-resource-version-3433 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.4XavlSkEeD +++ mktemp ++ local LAST_ERR=/tmp/tmp.Fwz1ZPpVOM ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.4XavlSkEeD ++ cat /tmp/tmp.Fwz1ZPpVOM ++ rm /tmp/tmp.4XavlSkEeD /tmp/tmp.Fwz1ZPpVOM ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2165-accccb47-1-cluster1 --namespace=stable-resource-version-3433 ++ mktemp + local LAST_OUT=/tmp/tmp.oFecm5xSPJ ++ mktemp + local LAST_ERR=/tmp/tmp.KLFyoo7XQ9 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2165-accccb47-1-cluster1 --namespace=stable-resource-version-3433 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.oFecm5xSPJ Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2165-accccb47-1-cluster1" modified. + cat /tmp/tmp.KLFyoo7XQ9 + rm /tmp/tmp.oFecm5xSPJ /tmp/tmp.KLFyoo7XQ9 + return 0 + desc 'create PSMDB cluster some-name' + set +o xtrace ----------------------------------------------------------------------------------- create PSMDB cluster some-name ----------------------------------------------------------------------------------- + apply_cluster /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/e2e-tests/stable-resource-version/conf/some-name.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/e2e-tests/stable-resource-version/conf/some-name.yml + kubectl_bin apply -f - + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2165/e2e-tests/stable-resource-version/conf/some-name.yml + yq eval '(.spec | select(.image == null)).image = "perconalab/percona-server-mongodb-operator:main-mongod8.0"' ++ mktemp + yq eval '(.spec | select(has("pmm"))).pmm.image = "percona/pmm-client:2.44.1-1"' + yq eval '(.spec | select(has("initImage"))).initImage = "perconalab/percona-server-mongodb-operator:PR-2165-accccb47"' + yq eval '(.spec | select(has("backup"))).backup.image = "perconalab/percona-server-mongodb-operator:main-backup"' + local LAST_OUT=/tmp/tmp.aypamwcKoS ++ mktemp + /usr/sbin/sed -e s/NAME_SPACE/stable-resource-version-3433/g + local LAST_ERR=/tmp/tmp.z6mP1vjEmC + local exit_status=0 + local timeout=4 ++ seq 0 2 + yq eval '.spec.upgradeOptions.apply="Never"' + for i in $(seq 0 2) + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.aypamwcKoS perconaservermongodb.psmdb.percona.com/some-name created + cat /tmp/tmp.z6mP1vjEmC + rm /tmp/tmp.aypamwcKoS /tmp/tmp.z6mP1vjEmC + return 0 + desc 'check if all pods started' + set +o xtrace ----------------------------------------------------------------------------------- check if all pods started ----------------------------------------------------------------------------------- + wait_for_running some-name-rs0 3 false + local name=some-name-rs0 + let last_pod=2 + local check_cluster_readyness=false + set_debug + [[ 1 == 1 ]] + set -o xtrace + local rs_name=rs0 + local cluster_name=some-name ++ seq 0 2 + for i in $(seq 0 $last_pod) + [[ 0 -eq 2 ]] + wait_pod some-name-rs0-0 + local pod=some-name-rs0-0 + set +o xtrace waiting for pod/some-name-rs0-0 to be ready...........OK + for i in $(seq 0 $last_pod) + [[ 1 -eq 2 ]] + wait_pod some-name-rs0-1 + local pod=some-name-rs0-1 + set +o xtrace waiting for pod/some-name-rs0-1 to be ready..........OK + for i in $(seq 0 $last_pod) + [[ 2 -eq 2 ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qYIqicLPYR +++ mktemp ++ local LAST_ERR=/tmp/tmp.y3iAX9sYJ1 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.qYIqicLPYR ++ cat /tmp/tmp.y3iAX9sYJ1 ++ rm /tmp/tmp.qYIqicLPYR /tmp/tmp.y3iAX9sYJ1 ++ return 0 + [[ '' == \t\r\u\e ]] + wait_pod some-name-rs0-2 + local pod=some-name-rs0-2 + set +o xtrace waiting for pod/some-name-rs0-2 to be ready............OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.PJvtSYIXOK +++ mktemp ++ local LAST_ERR=/tmp/tmp.q16BdpTorg ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.PJvtSYIXOK ++ cat /tmp/tmp.q16BdpTorg ++ rm /tmp/tmp.PJvtSYIXOK /tmp/tmp.q16BdpTorg ++ return 0 + [[ '' == \t\r\u\e ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.s0KxUetIOL +++ mktemp ++ local LAST_ERR=/tmp/tmp.rqTAALukhB ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.s0KxUetIOL ++ cat /tmp/tmp.rqTAALukhB ++ rm /tmp/tmp.s0KxUetIOL /tmp/tmp.rqTAALukhB ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ false == \t\r\u\e ]] + wait_for_running some-name-cfg 3 false + local name=some-name-cfg + let last_pod=2 + local check_cluster_readyness=false + set_debug + [[ 1 == 1 ]] + set -o xtrace + local rs_name=cfg + local cluster_name=some-name ++ seq 0 2 + for i in $(seq 0 $last_pod) + [[ 0 -eq 2 ]] + wait_pod some-name-cfg-0 + local pod=some-name-cfg-0 + set +o xtrace waiting for pod/some-name-cfg-0 to be ready.OK + for i in $(seq 0 $last_pod) + [[ 1 -eq 2 ]] + wait_pod some-name-cfg-1 + local pod=some-name-cfg-1 + set +o xtrace waiting for pod/some-name-cfg-1 to be ready.OK + for i in $(seq 0 $last_pod) + [[ 2 -eq 2 ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ESK7ZgxxNG +++ mktemp ++ local LAST_ERR=/tmp/tmp.5Up5Zamoij ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.ESK7ZgxxNG ++ cat /tmp/tmp.5Up5Zamoij ++ rm /tmp/tmp.ESK7ZgxxNG /tmp/tmp.5Up5Zamoij ++ return 0 + [[ '' == \t\r\u\e ]] + wait_pod some-name-cfg-2 + local pod=some-name-cfg-2 + set +o xtrace waiting for pod/some-name-cfg-2 to be ready.OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.0UUewQ2JM0 +++ mktemp ++ local LAST_ERR=/tmp/tmp.Yvm8SvuGuM ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.0UUewQ2JM0 ++ cat /tmp/tmp.Yvm8SvuGuM ++ rm /tmp/tmp.0UUewQ2JM0 /tmp/tmp.Yvm8SvuGuM ++ return 0 + [[ '' == \t\r\u\e ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.EYtkvT6Mon +++ mktemp ++ local LAST_ERR=/tmp/tmp.IkqyladYmG ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.EYtkvT6Mon ++ cat /tmp/tmp.IkqyladYmG ++ rm /tmp/tmp.EYtkvT6Mon /tmp/tmp.IkqyladYmG ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ false == \t\r\u\e ]] + wait_for_running some-name-mongos 3 false + local name=some-name-mongos + let last_pod=2 + local check_cluster_readyness=false + set_debug + [[ 1 == 1 ]] + set -o xtrace + local rs_name=mongos + local cluster_name=some-name ++ seq 0 2 + for i in $(seq 0 $last_pod) + [[ 0 -eq 2 ]] + wait_pod some-name-mongos-0 + local pod=some-name-mongos-0 + set +o xtrace waiting for pod/some-name-mongos-0 to be ready....OK + for i in $(seq 0 $last_pod) + [[ 1 -eq 2 ]] + wait_pod some-name-mongos-1 + local pod=some-name-mongos-1 + set +o xtrace waiting for pod/some-name-mongos-1 to be ready......OK + for i in $(seq 0 $last_pod) + [[ 2 -eq 2 ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.oo6smrUSfv +++ mktemp ++ local LAST_ERR=/tmp/tmp.t7ODmAWQQy ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.oo6smrUSfv ++ cat /tmp/tmp.t7ODmAWQQy ++ rm /tmp/tmp.oo6smrUSfv /tmp/tmp.t7ODmAWQQy ++ return 0 + [[ '' == \t\r\u\e ]] + wait_pod some-name-mongos-2 + local pod=some-name-mongos-2 + set +o xtrace waiting for pod/some-name-mongos-2 to be ready.....OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.DY8KPQGfSI +++ mktemp ++ local LAST_ERR=/tmp/tmp.QXmfLZpV1H ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.DY8KPQGfSI ++ cat /tmp/tmp.QXmfLZpV1H ++ rm /tmp/tmp.DY8KPQGfSI /tmp/tmp.QXmfLZpV1H ++ return 0 + [[ '' == \t\r\u\e ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.dMjQQ0kN7H +++ mktemp ++ local LAST_ERR=/tmp/tmp.0Lkv096Cps ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.dMjQQ0kN7H ++ cat /tmp/tmp.0Lkv096Cps ++ rm /tmp/tmp.dMjQQ0kN7H /tmp/tmp.0Lkv096Cps ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ false == \t\r\u\e ]] + wait_cluster_consistency some-name + local cluster_name=some-name + local wait_time=32 + retry=0 + sleep 7 + echo -n 'waiting for cluster readyness' waiting for cluster readyness++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.yHMig8IgUB +++ mktemp ++ local LAST_ERR=/tmp/tmp.d4saWU9y8I ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.yHMig8IgUB ++ cat /tmp/tmp.d4saWU9y8I ++ rm /tmp/tmp.yHMig8IgUB /tmp/tmp.d4saWU9y8I ++ return 0 + [[ ready == \r\e\a\d\y ]] + echo .OK .OK + desc 'check if .metadata.resourceVersion is stable' + set +o xtrace ----------------------------------------------------------------------------------- check if .metadata.resourceVersion is stable ----------------------------------------------------------------------------------- ++ kubectl_bin get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.VDCUqPsjNw +++ mktemp ++ local LAST_ERR=/tmp/tmp.qGJFpXKcC7 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.VDCUqPsjNw ++ cat /tmp/tmp.qGJFpXKcC7 ++ rm /tmp/tmp.VDCUqPsjNw /tmp/tmp.qGJFpXKcC7 ++ return 0 + initial_resource_version=1766978843661439017 ++ seq 1 5 + for i in $(seq 1 5) + sleep 7 + echo -n 'check 1: expected resourceVersion is 1766978843661439017' check 1: expected resourceVersion is 1766978843661439017++ kubectl_bin get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.FeXNOrF0pA +++ mktemp ++ local LAST_ERR=/tmp/tmp.ZwzFgcwGzA ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.FeXNOrF0pA ++ cat /tmp/tmp.ZwzFgcwGzA ++ rm /tmp/tmp.FeXNOrF0pA /tmp/tmp.ZwzFgcwGzA ++ return 0 + resource_version=1766978843661439017 + [[ 1766978843661439017 != 1766978843661439017 ]] + echo ...OK ...OK + for i in $(seq 1 5) + sleep 7 + echo -n 'check 2: expected resourceVersion is 1766978843661439017' check 2: expected resourceVersion is 1766978843661439017++ kubectl_bin get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.kjpOJd6O3N +++ mktemp ++ local LAST_ERR=/tmp/tmp.r6GcagcGRw ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.kjpOJd6O3N ++ cat /tmp/tmp.r6GcagcGRw ++ rm /tmp/tmp.kjpOJd6O3N /tmp/tmp.r6GcagcGRw ++ return 0 + resource_version=1766978843661439017 + [[ 1766978843661439017 != 1766978843661439017 ]] + echo ...OK ...OK + for i in $(seq 1 5) + sleep 7 + echo -n 'check 3: expected resourceVersion is 1766978843661439017' check 3: expected resourceVersion is 1766978843661439017++ kubectl_bin get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.B9i39xNyfQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.Ad8xFE30DL ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.B9i39xNyfQ ++ cat /tmp/tmp.Ad8xFE30DL ++ rm /tmp/tmp.B9i39xNyfQ /tmp/tmp.Ad8xFE30DL ++ return 0 + resource_version=1766978843661439017 + [[ 1766978843661439017 != 1766978843661439017 ]] + echo ...OK ...OK + for i in $(seq 1 5) + sleep 7 + echo -n 'check 4: expected resourceVersion is 1766978843661439017' check 4: expected resourceVersion is 1766978843661439017++ kubectl_bin get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.h11jiyBWRS +++ mktemp ++ local LAST_ERR=/tmp/tmp.35eE4h76FZ ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.h11jiyBWRS ++ cat /tmp/tmp.35eE4h76FZ ++ rm /tmp/tmp.h11jiyBWRS /tmp/tmp.35eE4h76FZ ++ return 0 + resource_version=1766978843661439017 + [[ 1766978843661439017 != 1766978843661439017 ]] + echo ...OK ...OK + for i in $(seq 1 5) + sleep 7 + echo -n 'check 5: expected resourceVersion is 1766978843661439017' check 5: expected resourceVersion is 1766978843661439017++ kubectl_bin get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.u0p5fR2gCI +++ mktemp ++ local LAST_ERR=/tmp/tmp.lIrojqzG0e ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.u0p5fR2gCI ++ cat /tmp/tmp.lIrojqzG0e ++ rm /tmp/tmp.u0p5fR2gCI /tmp/tmp.lIrojqzG0e ++ return 0 + resource_version=1766978843661439017 + [[ 1766978843661439017 != 1766978843661439017 ]] + echo ...OK ...OK + desc 'test passed' + set +o xtrace ----------------------------------------------------------------------------------- test passed ----------------------------------------------------------------------------------- + exit 0