Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2081/e2e-tests/logs/stable-resource-version.log grep: warning: stray \ before - Warning: version difference between client (1.34) and server (1.30) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.34) and server (1.30) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.34) and server (1.30) exceeds the supported minor version skew of +/-1 + cluster=some-name + create_infra stable-resource-version-16089 + local ns=stable-resource-version-16089 + [[ 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-2081/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.qr6lV9XrAz ++ mktemp + local LAST_ERR=/tmp/tmp.uKFhqanTR4 + 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-2081/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.qr6lV9XrAz 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.uKFhqanTR4 + rm /tmp/tmp.qr6lV9XrAz /tmp/tmp.uKFhqanTR4 + return 0 ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2081/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.002IeEoTZb ++ mktemp + local LAST_ERR=/tmp/tmp.2rdxfnKESJ + 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.002IeEoTZb + cat /tmp/tmp.2rdxfnKESJ + rm /tmp/tmp.002IeEoTZb /tmp/tmp.2rdxfnKESJ + 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.1mYIQ0SHaK ++ mktemp + local LAST_ERR=/tmp/tmp.qAl1o3NtqU + 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.1mYIQ0SHaK + cat /tmp/tmp.qAl1o3NtqU + rm /tmp/tmp.1mYIQ0SHaK /tmp/tmp.qAl1o3NtqU + 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.sbBBkJOPve ++ mktemp + local LAST_ERR=/tmp/tmp.1k0o4WMNaF + 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.sbBBkJOPve + cat /tmp/tmp.1k0o4WMNaF + rm /tmp/tmp.sbBBkJOPve /tmp/tmp.1k0o4WMNaF + 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-2081/deploy/cw-rbac.yaml --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.yYJIuMJc1X ++ mktemp + local LAST_ERR=/tmp/tmp.ACeEfc5MNV + 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-2081/deploy/cw-rbac.yaml --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.yYJIuMJc1X 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.ACeEfc5MNV + rm /tmp/tmp.yYJIuMJc1X /tmp/tmp.ACeEfc5MNV + return 0 + check_crd_for_deletion PR-2081-43bbaadf + local git_tag=PR-2081-43bbaadf ++ curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/PR-2081-43bbaadf/deploy/crd.yaml ++ /usr/sbin/sed s/---//g ++ yq eval .metadata.name ++ /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.1uj55a2hkN +++ mktemp ++ local LAST_ERR=/tmp/tmp.KeyCtPhNaO ++ 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.1uj55a2hkN ++ cat /tmp/tmp.KeyCtPhNaO 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.1uj55a2hkN ++ cat /tmp/tmp.KeyCtPhNaO 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.1uj55a2hkN ++ cat /tmp/tmp.KeyCtPhNaO Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 8 ++ cat /tmp/tmp.1uj55a2hkN ++ cat /tmp/tmp.KeyCtPhNaO Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ rm /tmp/tmp.1uj55a2hkN /tmp/tmp.KeyCtPhNaO ++ 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 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// ++ tail -n1 + 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 psmdb-operator' + set +o xtrace + xargs kubectl delete ns ----------------------------------------------------------------------------------- cleaned up old namespaces psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace psmdb-operator --ignore-not-found ++ mktemp ++ mktemp egrep: warning: egrep is obsolescent; using grep -E + local LAST_OUT=/tmp/tmp.eGe9EyE5J8 + local LAST_OUT=/tmp/tmp.vHaFQMU1Cy ++ mktemp ++ mktemp + local LAST_ERR=/tmp/tmp.KNdtPsv974 + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.eewj5IoIEl + 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.eGe9EyE5J8 + cat /tmp/tmp.KNdtPsv974 + rm /tmp/tmp.eGe9EyE5J8 /tmp/tmp.KNdtPsv974 + return 0 namespace "stable-resource-version-15335" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.vHaFQMU1Cy namespace "psmdb-operator" deleted + cat /tmp/tmp.eewj5IoIEl + rm /tmp/tmp.vHaFQMU1Cy /tmp/tmp.eewj5IoIEl + return 0 + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.FHJTB2OQEP ++ mktemp + local LAST_ERR=/tmp/tmp.HwrehPoV1K + 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.FHJTB2OQEP + cat /tmp/tmp.HwrehPoV1K + rm /tmp/tmp.FHJTB2OQEP /tmp/tmp.HwrehPoV1K + 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.PxznkQDR6H ++ mktemp + local LAST_ERR=/tmp/tmp.tklcmFygmD + 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.PxznkQDR6H namespace/psmdb-operator created + cat /tmp/tmp.tklcmFygmD + rm /tmp/tmp.PxznkQDR6H /tmp/tmp.tklcmFygmD + return 0 + set_kube_ctx psmdb-operator + local namespace=psmdb-operator ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.IDfXxme2FB +++ mktemp ++ local LAST_ERR=/tmp/tmp.8pozsgC0Se ++ 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.IDfXxme2FB ++ cat /tmp/tmp.8pozsgC0Se ++ rm /tmp/tmp.IDfXxme2FB /tmp/tmp.8pozsgC0Se ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2081-43bbaadf-5-cluster8 --namespace=psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.EMyEhOqlGe ++ mktemp + local LAST_ERR=/tmp/tmp.M15NHPoior + 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-2081-43bbaadf-5-cluster8 --namespace=psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.EMyEhOqlGe Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2081-43bbaadf-5-cluster8" modified. + cat /tmp/tmp.M15NHPoior + rm /tmp/tmp.EMyEhOqlGe /tmp/tmp.M15NHPoior + return 0 + deploy_operator + desc 'start PSMDB operator' + set +o xtrace ----------------------------------------------------------------------------------- start PSMDB operator ----------------------------------------------------------------------------------- + local cr_file + '[' -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2081/e2e-tests/stable-resource-version/conf/crd.yaml ']' + cr_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2081/deploy/crd.yaml + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2081/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.wLJCY8SBsI ++ mktemp + local LAST_ERR=/tmp/tmp.40UIc62rzg + 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-2081/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.wLJCY8SBsI 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.40UIc62rzg + rm /tmp/tmp.wLJCY8SBsI /tmp/tmp.40UIc62rzg + 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-2081/deploy/cw-rbac.yaml + sed -e 's^namespace: .*^namespace: psmdb-operator^' + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.QsjDAuArF7 ++ mktemp + local LAST_ERR=/tmp/tmp.7o4fUOxyzD + 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.QsjDAuArF7 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.7o4fUOxyzD + rm /tmp/tmp.QsjDAuArF7 /tmp/tmp.7o4fUOxyzD + return 0 + yq eval ' (.spec.template.spec.containers[].image = "perconalab/percona-server-mongodb-operator:PR-2081-43bbaadf") | ((.. | select(.[] == "DISABLE_TELEMETRY")) |= .value="true") | ((.. | select(.[] == "LOG_LEVEL")) |= .value="DEBUG")' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2081/deploy/cw-operator.yaml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.IItM5Xo48v ++ mktemp + local LAST_ERR=/tmp/tmp.8GsiZasbR6 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.IItM5Xo48v deployment.apps/percona-server-mongodb-operator created + cat /tmp/tmp.8GsiZasbR6 + rm /tmp/tmp.IItM5Xo48v /tmp/tmp.8GsiZasbR6 + return 0 + sleep 2 ++ get_operator_pod ++ kubectl_bin get pods --selector=name=percona-server-mongodb-operator -o 'jsonpath={.items[].metadata.name}' -n psmdb-operator +++ mktemp ++ local LAST_OUT=/tmp/tmp.MuZuMnMDGq +++ mktemp ++ local LAST_ERR=/tmp/tmp.3bheh9FYcE ++ 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.MuZuMnMDGq ++ cat /tmp/tmp.3bheh9FYcE ++ rm /tmp/tmp.MuZuMnMDGq /tmp/tmp.3bheh9FYcE ++ return 0 + wait_pod percona-server-mongodb-operator-676df5dd7d-6b4gx + local pod=percona-server-mongodb-operator-676df5dd7d-6b4gx + set +o xtrace waiting for pod/percona-server-mongodb-operator-676df5dd7d-6b4gx 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.Zd6ErRDrFT +++ mktemp ++ local LAST_ERR=/tmp/tmp.7NFQL7xijK ++ 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.Zd6ErRDrFT ++ cat /tmp/tmp.7NFQL7xijK ++ rm /tmp/tmp.Zd6ErRDrFT /tmp/tmp.7NFQL7xijK ++ return 0 + kubectl_bin logs percona-server-mongodb-operator-676df5dd7d-6b4gx ++ mktemp + local LAST_OUT=/tmp/tmp.h6M3J4Xk9D ++ mktemp + local LAST_ERR=/tmp/tmp.MAb1flLEUS + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl logs percona-server-mongodb-operator-676df5dd7d-6b4gx + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.h6M3J4Xk9D + cat /tmp/tmp.MAb1flLEUS + rm /tmp/tmp.h6M3J4Xk9D /tmp/tmp.MAb1flLEUS + return 0 2025-10-08T13:48:52.918Z INFO setup Manager starting up {"gitCommit": "43bbaadf019da93845ceab35dcf135354f006205", "gitBranch": "PR-2081-43bbaadf", "buildTime": "", "goVersion": "go1.25.2", "os": "linux", "arch": "amd64"} + create_namespace stable-resource-version-16089 + local namespace=stable-resource-version-16089 + 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 '' ']' + xargs kubectl delete ns ++ mktemp + desc 'cleaned up old namespaces stable-resource-version-16089' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces stable-resource-version-16089 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace stable-resource-version-16089 --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.swpI8KbudB egrep: warning: egrep is obsolescent; using grep -E ++ mktemp + local LAST_OUT=/tmp/tmp.Asjb3HVfs9 ++ mktemp + local LAST_ERR=/tmp/tmp.vyEP37Ikr5 + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.4Ujgmh8hFA + local exit_status=0 + local timeout=4 + for i in $(seq 0 2) + set +e + kubectl get ns ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete namespace stable-resource-version-16089 --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.swpI8KbudB + cat /tmp/tmp.vyEP37Ikr5 + rm /tmp/tmp.swpI8KbudB /tmp/tmp.vyEP37Ikr5 + 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.Asjb3HVfs9 + cat /tmp/tmp.4Ujgmh8hFA + rm /tmp/tmp.Asjb3HVfs9 /tmp/tmp.4Ujgmh8hFA + return 0 + kubectl_bin wait --for=delete namespace stable-resource-version-16089 ++ mktemp + local LAST_OUT=/tmp/tmp.BrnBSqzHNt ++ mktemp + local LAST_ERR=/tmp/tmp.UMJ0R8NoMD + 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-16089 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.BrnBSqzHNt + cat /tmp/tmp.UMJ0R8NoMD + rm /tmp/tmp.BrnBSqzHNt /tmp/tmp.UMJ0R8NoMD + return 0 + desc 'create namespace stable-resource-version-16089' + set +o xtrace ----------------------------------------------------------------------------------- create namespace stable-resource-version-16089 ----------------------------------------------------------------------------------- + kubectl_bin create namespace stable-resource-version-16089 ++ mktemp + local LAST_OUT=/tmp/tmp.VKLNYqf26g ++ mktemp + local LAST_ERR=/tmp/tmp.IfmbBObmgD + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl create namespace stable-resource-version-16089 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.VKLNYqf26g namespace/stable-resource-version-16089 created + cat /tmp/tmp.IfmbBObmgD + rm /tmp/tmp.VKLNYqf26g /tmp/tmp.IfmbBObmgD + return 0 + set_kube_ctx stable-resource-version-16089 + local namespace=stable-resource-version-16089 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.W1TKEIMBdL +++ mktemp ++ local LAST_ERR=/tmp/tmp.Z3dDB83CAQ ++ 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.W1TKEIMBdL ++ cat /tmp/tmp.Z3dDB83CAQ ++ rm /tmp/tmp.W1TKEIMBdL /tmp/tmp.Z3dDB83CAQ ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2081-43bbaadf-5-cluster8 --namespace=stable-resource-version-16089 ++ mktemp + local LAST_OUT=/tmp/tmp.6jwZg86Nlr ++ mktemp + local LAST_ERR=/tmp/tmp.oea6ZSi0XB + 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-2081-43bbaadf-5-cluster8 --namespace=stable-resource-version-16089 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.6jwZg86Nlr Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2081-43bbaadf-5-cluster8" modified. + cat /tmp/tmp.oea6ZSi0XB + rm /tmp/tmp.6jwZg86Nlr /tmp/tmp.oea6ZSi0XB + 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-2081/e2e-tests/stable-resource-version/conf/some-name.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2081/e2e-tests/stable-resource-version/conf/some-name.yml + kubectl_bin apply -f - ++ mktemp + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2081/e2e-tests/stable-resource-version/conf/some-name.yml + yq eval '(.spec | select(has("pmm"))).pmm.image = "percona/pmm-client:2.44.1-1"' + yq eval '(.spec | select(.image == null)).image = "perconalab/percona-server-mongodb-operator:main-mongod7.0"' + yq eval '(.spec | select(has("initImage"))).initImage = "perconalab/percona-server-mongodb-operator:PR-2081-43bbaadf"' + yq eval '(.spec | select(has("backup"))).backup.image = "perconalab/percona-server-mongodb-operator:main-backup"' + yq eval '.spec.upgradeOptions.apply="Never"' + local LAST_OUT=/tmp/tmp.oCHpysAs6y ++ mktemp + local LAST_ERR=/tmp/tmp.Y8fUguGUvw + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.oCHpysAs6y perconaservermongodb.psmdb.percona.com/some-name created + cat /tmp/tmp.Y8fUguGUvw + rm /tmp/tmp.oCHpysAs6y /tmp/tmp.Y8fUguGUvw + 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.hkV0T55zGr +++ mktemp ++ local LAST_ERR=/tmp/tmp.Luu4zW2Q8q ++ 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.hkV0T55zGr ++ cat /tmp/tmp.Luu4zW2Q8q ++ rm /tmp/tmp.hkV0T55zGr /tmp/tmp.Luu4zW2Q8q ++ 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.dqISMPlE5A +++ mktemp ++ local LAST_ERR=/tmp/tmp.vk2nqGBenL ++ 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.dqISMPlE5A ++ cat /tmp/tmp.vk2nqGBenL ++ rm /tmp/tmp.dqISMPlE5A /tmp/tmp.vk2nqGBenL ++ 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.0pRHj1fUtg +++ mktemp ++ local LAST_ERR=/tmp/tmp.25b0Evixb0 ++ 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.0pRHj1fUtg ++ cat /tmp/tmp.25b0Evixb0 ++ rm /tmp/tmp.0pRHj1fUtg /tmp/tmp.25b0Evixb0 ++ 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.VOb5lk69JZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.Dih5ownfdA ++ 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.VOb5lk69JZ ++ cat /tmp/tmp.Dih5ownfdA ++ rm /tmp/tmp.VOb5lk69JZ /tmp/tmp.Dih5ownfdA ++ 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.UNTLxaZvoS +++ mktemp ++ local LAST_ERR=/tmp/tmp.jPxMu1szu0 ++ 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.UNTLxaZvoS ++ cat /tmp/tmp.jPxMu1szu0 ++ rm /tmp/tmp.UNTLxaZvoS /tmp/tmp.jPxMu1szu0 ++ 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.QIrFIyuSER +++ mktemp ++ local LAST_ERR=/tmp/tmp.8iBJFMjeq5 ++ 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.QIrFIyuSER ++ cat /tmp/tmp.8iBJFMjeq5 ++ rm /tmp/tmp.QIrFIyuSER /tmp/tmp.8iBJFMjeq5 ++ 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.pLDqDty9Yb +++ mktemp ++ local LAST_ERR=/tmp/tmp.493jB228vr ++ 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.pLDqDty9Yb ++ cat /tmp/tmp.493jB228vr ++ rm /tmp/tmp.pLDqDty9Yb /tmp/tmp.493jB228vr ++ 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.kCUOgkmyRA +++ mktemp ++ local LAST_ERR=/tmp/tmp.5kfpJ0pVA2 ++ 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.kCUOgkmyRA ++ cat /tmp/tmp.5kfpJ0pVA2 ++ rm /tmp/tmp.kCUOgkmyRA /tmp/tmp.5kfpJ0pVA2 ++ 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.b1HA3jUh5I +++ mktemp ++ local LAST_ERR=/tmp/tmp.GPNWeL7dHD ++ 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.b1HA3jUh5I ++ cat /tmp/tmp.GPNWeL7dHD ++ rm /tmp/tmp.b1HA3jUh5I /tmp/tmp.GPNWeL7dHD ++ 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.4nsqQrzo5S +++ mktemp ++ local LAST_ERR=/tmp/tmp.trImyRnQyb ++ 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.4nsqQrzo5S ++ cat /tmp/tmp.trImyRnQyb ++ rm /tmp/tmp.4nsqQrzo5S /tmp/tmp.trImyRnQyb ++ 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.5yAHouI1XV +++ mktemp ++ local LAST_ERR=/tmp/tmp.tARU5HbcZ0 ++ 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.5yAHouI1XV ++ cat /tmp/tmp.tARU5HbcZ0 ++ rm /tmp/tmp.5yAHouI1XV /tmp/tmp.tARU5HbcZ0 ++ return 0 + initial_resource_version=1759931493332783015 ++ seq 1 5 + for i in $(seq 1 5) + sleep 7 + echo -n 'check 1: expected resourceVersion is 1759931493332783015' check 1: expected resourceVersion is 1759931493332783015++ kubectl_bin get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.zOGkQRus4N +++ mktemp ++ local LAST_ERR=/tmp/tmp.j3U4e0V5eH ++ 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.zOGkQRus4N ++ cat /tmp/tmp.j3U4e0V5eH ++ rm /tmp/tmp.zOGkQRus4N /tmp/tmp.j3U4e0V5eH ++ return 0 + resource_version=1759931493332783015 + [[ 1759931493332783015 != 1759931493332783015 ]] + echo ...OK ...OK + for i in $(seq 1 5) + sleep 7 + echo -n 'check 2: expected resourceVersion is 1759931493332783015' check 2: expected resourceVersion is 1759931493332783015++ kubectl_bin get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Bm0Ri11KnW +++ mktemp ++ local LAST_ERR=/tmp/tmp.qzmpYP0jbF ++ 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.Bm0Ri11KnW ++ cat /tmp/tmp.qzmpYP0jbF ++ rm /tmp/tmp.Bm0Ri11KnW /tmp/tmp.qzmpYP0jbF ++ return 0 + resource_version=1759931493332783015 + [[ 1759931493332783015 != 1759931493332783015 ]] + echo ...OK ...OK + for i in $(seq 1 5) + sleep 7 + echo -n 'check 3: expected resourceVersion is 1759931493332783015' check 3: expected resourceVersion is 1759931493332783015++ kubectl_bin get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.YpH6eDPbA3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.kn4K4viIQP ++ 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.YpH6eDPbA3 ++ cat /tmp/tmp.kn4K4viIQP ++ rm /tmp/tmp.YpH6eDPbA3 /tmp/tmp.kn4K4viIQP ++ return 0 + resource_version=1759931493332783015 + [[ 1759931493332783015 != 1759931493332783015 ]] + echo ...OK ...OK + for i in $(seq 1 5) + sleep 7 + echo -n 'check 4: expected resourceVersion is 1759931493332783015' check 4: expected resourceVersion is 1759931493332783015++ kubectl_bin get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.WQjKTJxYl6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.drmisDtmDk ++ 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.WQjKTJxYl6 ++ cat /tmp/tmp.drmisDtmDk ++ rm /tmp/tmp.WQjKTJxYl6 /tmp/tmp.drmisDtmDk ++ return 0 + resource_version=1759931493332783015 + [[ 1759931493332783015 != 1759931493332783015 ]] + echo ...OK ...OK + for i in $(seq 1 5) + sleep 7 + echo -n 'check 5: expected resourceVersion is 1759931493332783015' check 5: expected resourceVersion is 1759931493332783015++ kubectl_bin get psmdb some-name -o 'jsonpath={.metadata.resourceVersion}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1FgtXMRwnV +++ mktemp ++ local LAST_ERR=/tmp/tmp.y3O5W8A9oh ++ 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.1FgtXMRwnV ++ cat /tmp/tmp.y3O5W8A9oh ++ rm /tmp/tmp.1FgtXMRwnV /tmp/tmp.y3O5W8A9oh ++ return 0 + resource_version=1759931493332783015 + [[ 1759931493332783015 != 1759931493332783015 ]] + echo ...OK ...OK + desc 'test passed' + set +o xtrace ----------------------------------------------------------------------------------- test passed ----------------------------------------------------------------------------------- + exit 0