Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/logs/demand-backup-snapshot.log Warning: version difference between client (1.35) and server (1.32) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.35) and server (1.32) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.35) and server (1.32) exceeds the supported minor version skew of +/-1 ++ deploy_volume_snapshot_class ++ local snapshot_class_file ++ local k8s_env +++ detect_k8s_env +++ local provider=unknown +++ kubectl_bin api-resources ++++ mktemp +++ grep -q openshift.io +++ local LAST_OUT=/tmp/tmp.RMBW3kJMsX ++++ mktemp +++ local LAST_ERR=/tmp/tmp.ZSsPCgFZXJ +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl api-resources +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.RMBW3kJMsX +++ cat /tmp/tmp.ZSsPCgFZXJ +++ rm /tmp/tmp.RMBW3kJMsX /tmp/tmp.ZSsPCgFZXJ +++ return 0 +++ kubectl_bin get nodes -o 'jsonpath={.items[0].metadata.labels}' +++ grep -q eks.amazonaws.com +++ kubectl_bin get nodes -o 'jsonpath={.items[0].metadata.labels}' +++ grep -q cloud.google.com/gke +++ provider=gke +++ echo gke ++ k8s_env=gke ++ case "$k8s_env" in ++ snapshot_class_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/conf/gke-volume-snapshot-class.yaml ++ kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/conf/gke-volume-snapshot-class.yaml +++ mktemp ++ local LAST_OUT=/tmp/tmp.fa5cSO6UXT +++ mktemp ++ local LAST_ERR=/tmp/tmp.d3OY2ybRXn ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/conf/gke-volume-snapshot-class.yaml ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.fa5cSO6UXT volumesnapshotclass.snapshot.storage.k8s.io/gke-snapshot-class unchanged ++ cat /tmp/tmp.d3OY2ybRXn ++ rm /tmp/tmp.fa5cSO6UXT /tmp/tmp.d3OY2ybRXn ++ return 0 ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/conf/gke-volume-snapshot-class.yaml + VOLUME_SNAPSHOT_CLASS=gke-snapshot-class + create_infra demand-backup-snapshot-14413 + local ns=demand-backup-snapshot-14413 + [[ 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-2219/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.FTZyXOAE2Z ++ mktemp + local LAST_ERR=/tmp/tmp.NEuXn2bZRx + 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-2219/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.FTZyXOAE2Z 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.NEuXn2bZRx + rm /tmp/tmp.FTZyXOAE2Z /tmp/tmp.NEuXn2bZRx + return 0 ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/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 + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbbackups.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' + grep -v NAMESPACE No resources found + kubectl patch perconaservermongodbbackups.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: resource(s) were provided, but no name was specified + : + kubectl_bin wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.zX5goo0g5K ++ mktemp + local LAST_ERR=/tmp/tmp.JT5XqEQgSp + 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.zX5goo0g5K customresourcedefinition.apiextensions.k8s.io/perconaservermongodbbackups.psmdb.percona.com condition met + cat /tmp/tmp.JT5XqEQgSp + rm /tmp/tmp.zX5goo0g5K /tmp/tmp.JT5XqEQgSp + 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.DTLVJIOZ1O ++ mktemp + local LAST_ERR=/tmp/tmp.1E0kmYWa3c + 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.DTLVJIOZ1O + cat /tmp/tmp.1E0kmYWa3c + rm /tmp/tmp.DTLVJIOZ1O /tmp/tmp.1E0kmYWa3c + 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\":[]}}"' No resources found + kubectl patch perconaservermongodbs.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: resource(s) were provided, but no name was specified + : + kubectl_bin wait --for=delete crd perconaservermongodbs.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.MbhDdU0xkv ++ mktemp + local LAST_ERR=/tmp/tmp.V8pAXvMSJp + 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.MbhDdU0xkv customresourcedefinition.apiextensions.k8s.io/perconaservermongodbs.psmdb.percona.com condition met + cat /tmp/tmp.V8pAXvMSJp + rm /tmp/tmp.MbhDdU0xkv /tmp/tmp.V8pAXvMSJp + 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-2219/deploy/cw-rbac.yaml --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.eXLPIOJNxg ++ mktemp + local LAST_ERR=/tmp/tmp.1g55bJ0aHO + 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-2219/deploy/cw-rbac.yaml --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.eXLPIOJNxg 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.1g55bJ0aHO + rm /tmp/tmp.eXLPIOJNxg /tmp/tmp.1g55bJ0aHO + return 0 + check_crd_for_deletion PR-2219-d7e802db + local git_tag=PR-2219-d7e802db ++ curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/PR-2219-d7e802db/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.dYvONPeaPA +++ mktemp ++ local LAST_ERR=/tmp/tmp.FzA4Maq5Xo ++ 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.dYvONPeaPA ++ cat /tmp/tmp.FzA4Maq5Xo 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.dYvONPeaPA ++ cat /tmp/tmp.FzA4Maq5Xo 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.dYvONPeaPA ++ cat /tmp/tmp.FzA4Maq5Xo Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 8 ++ cat /tmp/tmp.dYvONPeaPA ++ cat /tmp/tmp.FzA4Maq5Xo Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ rm /tmp/tmp.dYvONPeaPA /tmp/tmp.FzA4Maq5Xo ++ 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 ++ awk '{print $1}' ++ grep chaos-mesh + 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 ++ awk '{print $1}' ++ grep chaos-mesh + 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 + grep -E -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + awk '{print$1}' + '[' -n '' ']' + desc 'cleaned up old namespaces psmdb-operator' + xargs kubectl delete ns ++ mktemp + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace psmdb-operator --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.zLxvtOOiZu ++ mktemp + local LAST_OUT=/tmp/tmp.GwDrP14oTr + local LAST_ERR=/tmp/tmp.owzXng0M1G + local exit_status=0 + local timeout=4 ++ mktemp ++ seq 0 2 + for i in $(seq 0 2) + local LAST_ERR=/tmp/tmp.QOXbiRcyEi + set +e + local exit_status=0 + local timeout=4 + kubectl get ns ++ seq 0 2 + 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.zLxvtOOiZu + cat /tmp/tmp.owzXng0M1G + rm /tmp/tmp.zLxvtOOiZu /tmp/tmp.owzXng0M1G + return 0 namespace "demand-backup-snapshot-23664" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.GwDrP14oTr namespace "psmdb-operator" deleted + cat /tmp/tmp.QOXbiRcyEi + rm /tmp/tmp.GwDrP14oTr /tmp/tmp.QOXbiRcyEi + return 0 + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.ZRstpStf8o ++ mktemp + local LAST_ERR=/tmp/tmp.rkI9uL5VQV + 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.ZRstpStf8o + cat /tmp/tmp.rkI9uL5VQV + rm /tmp/tmp.ZRstpStf8o /tmp/tmp.rkI9uL5VQV + 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.WhtNQOCeeE ++ mktemp + local LAST_ERR=/tmp/tmp.zDvicBYWrd + 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.WhtNQOCeeE namespace/psmdb-operator created + cat /tmp/tmp.zDvicBYWrd + rm /tmp/tmp.WhtNQOCeeE /tmp/tmp.zDvicBYWrd + return 0 + set_kube_ctx psmdb-operator + local namespace=psmdb-operator ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.suKO8NELrE +++ mktemp ++ local LAST_ERR=/tmp/tmp.wSO6y8He3M ++ 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.suKO8NELrE ++ cat /tmp/tmp.wSO6y8He3M ++ rm /tmp/tmp.suKO8NELrE /tmp/tmp.wSO6y8He3M ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2219-d7e802db-7-cluster13 --namespace=psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.YYLhHaQ4tw ++ mktemp + local LAST_ERR=/tmp/tmp.JThwAJyF39 + 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-2219-d7e802db-7-cluster13 --namespace=psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.YYLhHaQ4tw Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2219-d7e802db-7-cluster13" modified. + cat /tmp/tmp.JThwAJyF39 + rm /tmp/tmp.YYLhHaQ4tw /tmp/tmp.JThwAJyF39 + return 0 + deploy_operator + desc 'start PSMDB operator: docker.io/perconalab/percona-server-mongodb-operator:PR-2219-d7e802db' + set +o xtrace ----------------------------------------------------------------------------------- start PSMDB operator: docker.io/perconalab/percona-server-mongodb-operator:PR-2219-d7e802db ----------------------------------------------------------------------------------- + local cr_file + '[' -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/crd.yaml ']' + cr_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/deploy/crd.yaml + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.mXofItxMCI ++ mktemp + local LAST_ERR=/tmp/tmp.XUH60gkoH3 + 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-2219/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.mXofItxMCI 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.XUH60gkoH3 + rm /tmp/tmp.mXofItxMCI /tmp/tmp.XUH60gkoH3 + 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-2219/deploy/cw-rbac.yaml + sed -e 's^namespace: .*^namespace: psmdb-operator^' + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.msJAmewOmS ++ mktemp + local LAST_ERR=/tmp/tmp.nIcDS43BD6 + 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.msJAmewOmS 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.nIcDS43BD6 + rm /tmp/tmp.msJAmewOmS /tmp/tmp.nIcDS43BD6 + return 0 + yq eval ' (.spec.template.spec.containers[].image = "docker.io/perconalab/percona-server-mongodb-operator:PR-2219-d7e802db") | ((.. | select(.[] == "DISABLE_TELEMETRY")) |= .value="true") | ((.. | select(.[] == "LOG_LEVEL")) |= .value="DEBUG")' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/deploy/cw-operator.yaml + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.BYg0PHlSFT ++ mktemp + local LAST_ERR=/tmp/tmp.NwJwh11IOZ + 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.BYg0PHlSFT deployment.apps/percona-server-mongodb-operator created + cat /tmp/tmp.NwJwh11IOZ + rm /tmp/tmp.BYg0PHlSFT /tmp/tmp.NwJwh11IOZ + 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.mNMtoFpSZh +++ mktemp ++ local LAST_ERR=/tmp/tmp.DOUnmKAv27 ++ 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.mNMtoFpSZh ++ cat /tmp/tmp.DOUnmKAv27 ++ rm /tmp/tmp.mNMtoFpSZh /tmp/tmp.DOUnmKAv27 ++ return 0 + wait_operator_pod percona-server-mongodb-operator-76758dcf9-tmrfg + local pod=percona-server-mongodb-operator-76758dcf9-tmrfg + set +o xtrace waiting for pod/percona-server-mongodb-operator-76758dcf9-tmrfg 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.TesnqPwHqr +++ mktemp ++ local LAST_ERR=/tmp/tmp.RsUPSedaUh ++ 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.TesnqPwHqr ++ cat /tmp/tmp.RsUPSedaUh ++ rm /tmp/tmp.TesnqPwHqr /tmp/tmp.RsUPSedaUh ++ return 0 + kubectl_bin logs -n psmdb-operator percona-server-mongodb-operator-76758dcf9-tmrfg ++ mktemp + local LAST_OUT=/tmp/tmp.z8EIfFTeB2 ++ mktemp + local LAST_ERR=/tmp/tmp.2WhfRtZxzo + 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-76758dcf9-tmrfg + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.z8EIfFTeB2 + cat /tmp/tmp.2WhfRtZxzo + rm /tmp/tmp.z8EIfFTeB2 /tmp/tmp.2WhfRtZxzo + return 0 2026-03-10T22:30:29.547Z INFO setup Manager starting up {"gitCommit": "d7e802db10c9b2b2028f56c7b5227cb276fe5878", "gitBranch": "PR-2219-d7e802db", "buildTime": "", "goVersion": "go1.25.8", "os": "linux", "arch": "amd64"} + create_namespace demand-backup-snapshot-14413 + local namespace=demand-backup-snapshot-14413 + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ sed s/NAMESPACE// ++ awk '-F ' '{print $2}' + 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 + grep -E -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + awk '{print$1}' + '[' -n '' ']' + desc 'cleaned up old namespaces demand-backup-snapshot-14413' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces demand-backup-snapshot-14413 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace demand-backup-snapshot-14413 --ignore-not-found + xargs kubectl delete ns ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.UVVXzVxtqW + local LAST_OUT=/tmp/tmp.ZRlBDn6Q1e ++ mktemp ++ mktemp + local LAST_ERR=/tmp/tmp.YgzWIUoKdM + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get ns + local LAST_ERR=/tmp/tmp.H1sEdYi9ZS + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete namespace demand-backup-snapshot-14413 --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.UVVXzVxtqW + cat /tmp/tmp.YgzWIUoKdM + rm /tmp/tmp.UVVXzVxtqW /tmp/tmp.YgzWIUoKdM + 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.ZRlBDn6Q1e + cat /tmp/tmp.H1sEdYi9ZS + rm /tmp/tmp.ZRlBDn6Q1e /tmp/tmp.H1sEdYi9ZS + return 0 + kubectl_bin wait --for=delete namespace demand-backup-snapshot-14413 ++ mktemp + local LAST_OUT=/tmp/tmp.dPrdibevwE ++ mktemp + local LAST_ERR=/tmp/tmp.Vf6tHiI37q + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete namespace demand-backup-snapshot-14413 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.dPrdibevwE + cat /tmp/tmp.Vf6tHiI37q + rm /tmp/tmp.dPrdibevwE /tmp/tmp.Vf6tHiI37q + return 0 + desc 'create namespace demand-backup-snapshot-14413' + set +o xtrace ----------------------------------------------------------------------------------- create namespace demand-backup-snapshot-14413 ----------------------------------------------------------------------------------- + kubectl_bin create namespace demand-backup-snapshot-14413 ++ mktemp + local LAST_OUT=/tmp/tmp.tglJ8PEVF8 ++ mktemp + local LAST_ERR=/tmp/tmp.zIZa1m1mD3 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl create namespace demand-backup-snapshot-14413 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.tglJ8PEVF8 namespace/demand-backup-snapshot-14413 created + cat /tmp/tmp.zIZa1m1mD3 + rm /tmp/tmp.tglJ8PEVF8 /tmp/tmp.zIZa1m1mD3 + return 0 + set_kube_ctx demand-backup-snapshot-14413 + local namespace=demand-backup-snapshot-14413 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.IUF3pFkkUY +++ mktemp ++ local LAST_ERR=/tmp/tmp.O97lJDHRGy ++ 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.IUF3pFkkUY ++ cat /tmp/tmp.O97lJDHRGy ++ rm /tmp/tmp.IUF3pFkkUY /tmp/tmp.O97lJDHRGy ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2219-d7e802db-7-cluster13 --namespace=demand-backup-snapshot-14413 ++ mktemp + local LAST_OUT=/tmp/tmp.0tVXhGLL7V ++ mktemp + local LAST_ERR=/tmp/tmp.I3q1xXMoiN + 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-2219-d7e802db-7-cluster13 --namespace=demand-backup-snapshot-14413 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.0tVXhGLL7V Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2219-d7e802db-7-cluster13" modified. + cat /tmp/tmp.I3q1xXMoiN + rm /tmp/tmp.0tVXhGLL7V /tmp/tmp.I3q1xXMoiN + return 0 + deploy_minio + local cert_secret= + local service_name=minio-service + desc 'install MinIO: minio-service' + set +o xtrace ----------------------------------------------------------------------------------- install MinIO: minio-service ----------------------------------------------------------------------------------- + helm uninstall minio-service + : + helm repo remove minio "minio" has been removed from your repositories + helm repo add minio https://charts.min.io/ "minio" has been added to your repositories + local endpoint=http://minio-service:9000 + minio_args=('--version' '5.4.0' '--set' 'replicas=1' '--set' 'mode=standalone' '--set' 'resources.requests.memory=256Mi' '--set' 'rootUser=rootuser' '--set' 'rootPassword=rootpass123' '--set' 'users[0].accessKey=some-access-key' '--set' 'users[0].secretKey=some-secret-key' '--set' 'users[0].policy=consoleAdmin' '--set' 'service.type=ClusterIP' '--set' 'configPathmc=/tmp/' '--set' 'securityContext.enabled=false' '--set' 'persistence.size=2G' '--set' 'fullnameOverride=minio-service' '--set' 'serviceAccount.create=true' '--set' 'serviceAccount.name=minio-service-sa') + local minio_args + [[ -n '' ]] + retry 10 60 helm install minio-service --version 5.4.0 --set replicas=1 --set mode=standalone --set resources.requests.memory=256Mi --set rootUser=rootuser --set rootPassword=rootpass123 --set 'users[0].accessKey=some-access-key' --set 'users[0].secretKey=some-secret-key' --set 'users[0].policy=consoleAdmin' --set service.type=ClusterIP --set configPathmc=/tmp/ --set securityContext.enabled=false --set persistence.size=2G --set fullnameOverride=minio-service --set serviceAccount.create=true --set serviceAccount.name=minio-service-sa minio/minio + local max=10 + local delay=60 + shift 2 + local n=1 + helm install minio-service --version 5.4.0 --set replicas=1 --set mode=standalone --set resources.requests.memory=256Mi --set rootUser=rootuser --set rootPassword=rootpass123 --set 'users[0].accessKey=some-access-key' --set 'users[0].secretKey=some-secret-key' --set 'users[0].policy=consoleAdmin' --set service.type=ClusterIP --set configPathmc=/tmp/ --set securityContext.enabled=false --set persistence.size=2G --set fullnameOverride=minio-service --set serviceAccount.create=true --set serviceAccount.name=minio-service-sa minio/minio NAME: minio-service LAST DEPLOYED: Tue Mar 10 22:31:08 2026 NAMESPACE: demand-backup-snapshot-14413 STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: MinIO can be accessed via port 9000 on the following DNS name from within your cluster: minio-service.demand-backup-snapshot-14413.cluster.local To access MinIO from localhost, run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace demand-backup-snapshot-14413 -l "release=minio-service" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace demand-backup-snapshot-14413 Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access MinIO server on http://localhost:9000. Follow the below steps to connect to MinIO server with mc client: 1. Download the MinIO mc client - https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart 2. export MC_HOST_minio-service-local=http://$(kubectl get secret --namespace demand-backup-snapshot-14413 minio-service -o jsonpath="{.data.rootUser}" | base64 --decode):$(kubectl get secret --namespace demand-backup-snapshot-14413 minio-service -o jsonpath="{.data.rootPassword}" | base64 --decode)@localhost:9000 3. mc ls minio-service-local ++ kubectl_bin get pods --selector=release=minio-service -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5l6MzdRw6f +++ mktemp ++ local LAST_ERR=/tmp/tmp.Ek5w02jreP ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=release=minio-service -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.5l6MzdRw6f ++ cat /tmp/tmp.Ek5w02jreP ++ rm /tmp/tmp.5l6MzdRw6f /tmp/tmp.Ek5w02jreP ++ return 0 + local MINIO_POD=minio-service-6d5f646cdc-7p5z9 + wait_pod minio-service-6d5f646cdc-7p5z9 + local pod=minio-service-6d5f646cdc-7p5z9 + set +o xtrace waiting for pod/minio-service-6d5f646cdc-7p5z9 to be ready.OK + '[' -n psmdb-operator ']' + kubectl_bin create svc -n psmdb-operator externalname minio-service --external-name=minio-service.demand-backup-snapshot-14413.svc.cluster.local --tcp=9000 service/minio-service created + create_minio_bucket operator-testing http://minio-service:9000 + local bucket=operator-testing + local endpoint=http://minio-service:9000 + kubectl_bin run -i --rm aws-cli --image=docker.io/perconalab/awscli --restart=Never -- bash -c 'AWS_ACCESS_KEY_ID=some-access-key AWS_SECRET_ACCESS_KEY=some-secret-key AWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --no-verify-ssl --endpoint-url http://minio-service:9000 s3 mb s3://operator-testing' ++ mktemp + local LAST_OUT=/tmp/tmp.roTTrE6j4X ++ mktemp + local LAST_ERR=/tmp/tmp.gynKRIRp3m + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl run -i --rm aws-cli --image=docker.io/perconalab/awscli --restart=Never -- bash -c 'AWS_ACCESS_KEY_ID=some-access-key AWS_SECRET_ACCESS_KEY=some-secret-key AWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --no-verify-ssl --endpoint-url http://minio-service:9000 s3 mb s3://operator-testing' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.roTTrE6j4X pod "aws-cli" deleted from demand-backup-snapshot-14413 namespace + cat /tmp/tmp.gynKRIRp3m All commands and output from this session will be recorded in container logs, including credentials and sensitive information passed through the command prompt. If you don't see a command prompt, try pressing enter. + rm /tmp/tmp.roTTrE6j4X /tmp/tmp.gynKRIRp3m + return 0 + apply_s3_storage_secrets + desc 'create secrets for cloud storages' + set +o xtrace ----------------------------------------------------------------------------------- create secrets for cloud storages ----------------------------------------------------------------------------------- + '[' -z '' ']' + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/conf/cloud-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.swSylJuU6C ++ mktemp + local LAST_ERR=/tmp/tmp.BbkZfCNZqo + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/conf/cloud-secret.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.swSylJuU6C secret/minio-secret created secret/aws-s3-secret created secret/gcp-cs-secret created secret/azure-secret created secret/gcp-cs-sa-key-secret created + cat /tmp/tmp.BbkZfCNZqo + rm /tmp/tmp.swSylJuU6C /tmp/tmp.BbkZfCNZqo + return 0 + cluster=some-name + desc 'Testing snapshot backup/restore on unencrypted cluster' + set +o xtrace ----------------------------------------------------------------------------------- Testing snapshot backup/restore on unencrypted cluster ----------------------------------------------------------------------------------- + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/secrets.yml ++ mktemp + local LAST_OUT=/tmp/tmp.ORi9BIy8bL ++ mktemp + local LAST_ERR=/tmp/tmp.KJciIGr8G1 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/secrets.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.ORi9BIy8bL secret/some-users created + cat /tmp/tmp.KJciIGr8G1 + rm /tmp/tmp.ORi9BIy8bL /tmp/tmp.KJciIGr8G1 + return 0 + apply_cluster /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/some-name.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/some-name.yml + kubectl_bin apply -f - + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/some-name.yml ++ mktemp + yq eval '(.spec | select(.image == null)).image = "docker.io/perconalab/percona-server-mongodb-operator:main-mongod8.0"' + yq eval '(.spec | select(has("pmm"))).pmm.image = "docker.io/percona/pmm-client:2.44.1-1"' + local LAST_OUT=/tmp/tmp.udedPPlbXs ++ mktemp + yq eval '(.spec | select(has("initImage"))).initImage = "docker.io/perconalab/percona-server-mongodb-operator:PR-2219-d7e802db"' + yq eval '(.spec | select(has("backup"))).backup.image = "docker.io/perconalab/percona-server-mongodb-operator:main-backup"' + /usr/sbin/sed -e s/NAME_SPACE/demand-backup-snapshot-14413/g + yq eval '.spec.upgradeOptions.apply="Never"' + local LAST_ERR=/tmp/tmp.PueLkhDdmM + 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.udedPPlbXs perconaservermongodb.psmdb.percona.com/some-name created + cat /tmp/tmp.PueLkhDdmM + rm /tmp/tmp.udedPPlbXs /tmp/tmp.PueLkhDdmM + return 0 + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/conf/client_with_tls.yml ++ mktemp + local LAST_OUT=/tmp/tmp.YQXDgXCaeC ++ mktemp + local LAST_ERR=/tmp/tmp.wBOwt3Kosa + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/conf/client_with_tls.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.YQXDgXCaeC deployment.apps/psmdb-client created + cat /tmp/tmp.wBOwt3Kosa + rm /tmp/tmp.YQXDgXCaeC /tmp/tmp.wBOwt3Kosa + return 0 + echo 'check if all pods started' check if all pods started + wait_for_running some-name-rs0 3 + local name=some-name-rs0 + let last_pod=2 + local check_cluster_readyness=true + 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.CK2VspkCFA +++ mktemp ++ local LAST_ERR=/tmp/tmp.WPZ6g6UFR0 ++ 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.CK2VspkCFA ++ cat /tmp/tmp.WPZ6g6UFR0 ++ rm /tmp/tmp.CK2VspkCFA /tmp/tmp.WPZ6g6UFR0 ++ 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.7SylBlMkfm +++ mktemp ++ local LAST_ERR=/tmp/tmp.CbdJpAKAAe ++ 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.7SylBlMkfm ++ cat /tmp/tmp.CbdJpAKAAe ++ rm /tmp/tmp.7SylBlMkfm /tmp/tmp.CbdJpAKAAe ++ 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.0uTCos2rSF +++ mktemp ++ local LAST_ERR=/tmp/tmp.knymBadBkA ++ 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.0uTCos2rSF ++ cat /tmp/tmp.knymBadBkA ++ rm /tmp/tmp.0uTCos2rSF /tmp/tmp.knymBadBkA ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ true == \t\r\u\e ]] + set +x Waiting for cluster readyness.................. + 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.G81Z5fz57H +++ mktemp ++ local LAST_ERR=/tmp/tmp.jti6rahNAH ++ 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.G81Z5fz57H ++ cat /tmp/tmp.jti6rahNAH ++ rm /tmp/tmp.G81Z5fz57H /tmp/tmp.jti6rahNAH ++ return 0 + [[ ready == \r\e\a\d\y ]] + echo .OK .OK + sleep 60 + wait_for_pbm_operations some-name + local cluster=some-name + set +o xtrace waiting for PBM operation to finish.OK + echo 'Writing test data' Writing test data + run_mongo_tls 'db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})' userAdmin:userAdmin123456@some-name-rs0.demand-backup-snapshot-14413 + local 'command=db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})' + local uri=userAdmin:userAdmin123456@some-name-rs0.demand-backup-snapshot-14413 + local driver=mongodb+srv + local suffix=.svc.cluster.local ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.XJxvdK2rZy +++ mktemp ++ local LAST_ERR=/tmp/tmp.etIlZoPgc5 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.XJxvdK2rZy ++ cat /tmp/tmp.etIlZoPgc5 ++ rm /tmp/tmp.XJxvdK2rZy /tmp/tmp.etIlZoPgc5 ++ return 0 + local client_container=psmdb-client-5649fbb65f-fsl9c + local mongo_flag= + local port=27017 ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 + [[ userAdmin:userAdmin123456@some-name-rs0.demand-backup-snapshot-14413 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n'\'' | mongo mongodb+srv://userAdmin:userAdmin123456@some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' ++ mktemp + local LAST_OUT=/tmp/tmp.YnSuJcevvK ++ mktemp + local LAST_ERR=/tmp/tmp.xQExqfPFYw + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n'\'' | mongo mongodb+srv://userAdmin:userAdmin123456@some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.YnSuJcevvK Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017,some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017,some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=true {"t":{"$date":"2026-03-10T22:35:05.964Z"},"s":"I", "c":"NETWORK", "id":5490002, "ctx":"thread1","msg":"Started a new thread for the timer service"} Implicit session: session { "id" : UUID("91754cc5-0f45-4cf3-bea6-0b61d88bc5e3") } Percona Server for MongoDB server version: v8.0.19-7 WARNING: shell and server versions do not match Successfully added user: { "user" : "myApp", "roles" : [ { "db" : "myApp", "role" : "readWrite" } ] } bye + cat /tmp/tmp.xQExqfPFYw + rm /tmp/tmp.YnSuJcevvK /tmp/tmp.xQExqfPFYw + return 0 + sleep 1 + run_mongo_tls 'use myApp\n db.test.insert({ x: 100500 })' myApp:myPass@some-name-rs0.demand-backup-snapshot-14413 + local 'command=use myApp\n db.test.insert({ x: 100500 })' + local uri=myApp:myPass@some-name-rs0.demand-backup-snapshot-14413 + local driver=mongodb+srv + local suffix=.svc.cluster.local ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.k8yA0FfpyF +++ mktemp ++ local LAST_ERR=/tmp/tmp.K2fgRIfoeG ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.k8yA0FfpyF ++ cat /tmp/tmp.K2fgRIfoeG ++ rm /tmp/tmp.k8yA0FfpyF /tmp/tmp.K2fgRIfoeG ++ return 0 + local client_container=psmdb-client-5649fbb65f-fsl9c + local mongo_flag= + local port=27017 ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 + [[ myApp:myPass@some-name-rs0.demand-backup-snapshot-14413 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100500 })\n'\'' | mongo mongodb+srv://myApp:myPass@some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' ++ mktemp + local LAST_OUT=/tmp/tmp.nr5vkM2rkh ++ mktemp + local LAST_ERR=/tmp/tmp.8B2elyg8v4 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100500 })\n'\'' | mongo mongodb+srv://myApp:myPass@some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.nr5vkM2rkh Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017,some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017,some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=true {"t":{"$date":"2026-03-10T22:35:09.764Z"},"s":"I", "c":"NETWORK", "id":5490002, "ctx":"thread1","msg":"Started a new thread for the timer service"} Implicit session: session { "id" : UUID("141aad6f-5707-4a28-bd4e-95692d94ecbe") } Percona Server for MongoDB server version: v8.0.19-7 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.8B2elyg8v4 + rm /tmp/tmp.nr5vkM2rkh /tmp/tmp.8B2elyg8v4 + return 0 + sleep 5 + compare_mongo_cmd find myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413 '' '' '' '' '' true + local command=find + local uri=myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413 + local postfix= + local suffix= + local database=myApp + local collection=test + local sort= + local tls=true + local replicaset= + local 'full_command=db.test.find()' + [[ -n '' ]] + log 'running db.test.find() in myApp' + set +o xtrace [2026-03-10T22:35:14+0000] running db.test.find() in myApp + [[ true == \t\r\u\e ]] + mongo_command=run_mongo_tls + run_mongo_tls 'use myApp\n db.test.find()' myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413 mongodb '' '' + local 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413 + local driver=mongodb + local suffix=.svc.cluster.local + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"NETWORK"|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' +++ mktemp ++ local LAST_OUT=/tmp/tmp.j8Lu5MhDxj +++ mktemp ++ local LAST_ERR=/tmp/tmp.0nJW7aCbbj ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.j8Lu5MhDxj ++ cat /tmp/tmp.0nJW7aCbbj ++ rm /tmp/tmp.j8Lu5MhDxj /tmp/tmp.0nJW7aCbbj ++ return 0 + local client_container=psmdb-client-5649fbb65f-fsl9c + local mongo_flag= + local port=27017 ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 + [[ myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' ++ mktemp + local LAST_OUT=/tmp/tmp.Xnm5cHFNdC ++ mktemp + local LAST_ERR=/tmp/tmp.WCTH8868pv + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Xnm5cHFNdC + cat /tmp/tmp.WCTH8868pv + rm /tmp/tmp.Xnm5cHFNdC /tmp/tmp.WCTH8868pv + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/compare/find.json /tmp/tmp.DoM7cv4h0e/find + compare_mongo_cmd find myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413 '' '' '' '' '' true + local command=find + local uri=myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413 + local postfix= + local suffix= + local database=myApp + local collection=test + local sort= + local tls=true + local replicaset= + local 'full_command=db.test.find()' + [[ -n '' ]] + log 'running db.test.find() in myApp' + set +o xtrace [2026-03-10T22:35:17+0000] running db.test.find() in myApp + [[ true == \t\r\u\e ]] + mongo_command=run_mongo_tls + run_mongo_tls 'use myApp\n db.test.find()' myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413 mongodb '' '' + local 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413 + local driver=mongodb + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"NETWORK"|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' + local suffix=.svc.cluster.local + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.S8qmpBI9ht +++ mktemp ++ local LAST_ERR=/tmp/tmp.8sjB9TrqvT ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.S8qmpBI9ht ++ cat /tmp/tmp.8sjB9TrqvT ++ rm /tmp/tmp.S8qmpBI9ht /tmp/tmp.8sjB9TrqvT ++ return 0 + local client_container=psmdb-client-5649fbb65f-fsl9c + local mongo_flag= + local port=27017 ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 + [[ myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' ++ mktemp + local LAST_OUT=/tmp/tmp.hEav381KGH ++ mktemp + local LAST_ERR=/tmp/tmp.Yl7g52vLb7 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.hEav381KGH + cat /tmp/tmp.Yl7g52vLb7 + rm /tmp/tmp.hEav381KGH /tmp/tmp.Yl7g52vLb7 + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/compare/find.json /tmp/tmp.DoM7cv4h0e/find + compare_mongo_cmd find myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413 '' '' '' '' '' true + local command=find + local uri=myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413 + local postfix= + local suffix= + local database=myApp + local collection=test + local sort= + local tls=true + local replicaset= + local 'full_command=db.test.find()' + [[ -n '' ]] + log 'running db.test.find() in myApp' + set +o xtrace [2026-03-10T22:35:20+0000] running db.test.find() in myApp + [[ true == \t\r\u\e ]] + mongo_command=run_mongo_tls + run_mongo_tls 'use myApp\n db.test.find()' myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413 mongodb '' '' + local 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413 + local driver=mongodb + local suffix=.svc.cluster.local + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"NETWORK"|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.8PBT3vRiPM +++ mktemp ++ local LAST_ERR=/tmp/tmp.2aBPfKVdZY ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.8PBT3vRiPM ++ cat /tmp/tmp.2aBPfKVdZY ++ rm /tmp/tmp.8PBT3vRiPM /tmp/tmp.2aBPfKVdZY ++ return 0 + local client_container=psmdb-client-5649fbb65f-fsl9c + local mongo_flag= + local port=27017 ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 + [[ myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' ++ mktemp + local LAST_OUT=/tmp/tmp.oxV072al1X ++ mktemp + local LAST_ERR=/tmp/tmp.N2kmDZY0dp + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.oxV072al1X + cat /tmp/tmp.N2kmDZY0dp + rm /tmp/tmp.oxV072al1X /tmp/tmp.N2kmDZY0dp + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/compare/find.json /tmp/tmp.DoM7cv4h0e/find + echo 'Running snapshot backup (unencrypted)' Running snapshot backup (unencrypted) + backup_name=backup-snapshot + run_snapshot_backup backup-snapshot + local backup_name=backup-snapshot + log 'running snapshot backup backup-snapshot' + set +o xtrace [2026-03-10T22:35:23+0000] running snapshot backup backup-snapshot + yq eval '.metadata.name = "backup-snapshot" | .spec.volumeSnapshotClass = "gke-snapshot-class"' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/backup.yml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.h6ReGy6ZFS ++ mktemp + local LAST_ERR=/tmp/tmp.u9v2RA7lkp + 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.h6ReGy6ZFS perconaservermongodbbackup.psmdb.percona.com/backup-snapshot created + cat /tmp/tmp.u9v2RA7lkp + rm /tmp/tmp.h6ReGy6ZFS /tmp/tmp.u9v2RA7lkp + return 0 + wait_backup backup-snapshot + local backup_name=backup-snapshot + local target_state=ready + set +o xtrace waiting for backup-snapshot to reach ready state......................OK + echo 'Drop collection and restore from snapshot (unencrypted)' Drop collection and restore from snapshot (unencrypted) + run_mongo_tls 'use myApp\n db.test.drop()' myApp:myPass@some-name-rs0.demand-backup-snapshot-14413 + local 'command=use myApp\n db.test.drop()' + local uri=myApp:myPass@some-name-rs0.demand-backup-snapshot-14413 + local driver=mongodb+srv + local suffix=.svc.cluster.local ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.b5rW7f8Qs0 +++ mktemp ++ local LAST_ERR=/tmp/tmp.Utk0UaalVh ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.b5rW7f8Qs0 ++ cat /tmp/tmp.Utk0UaalVh ++ rm /tmp/tmp.b5rW7f8Qs0 /tmp/tmp.Utk0UaalVh ++ return 0 + local client_container=psmdb-client-5649fbb65f-fsl9c + local mongo_flag= + local port=27017 ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 + [[ myApp:myPass@some-name-rs0.demand-backup-snapshot-14413 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb+srv://myApp:myPass@some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' ++ mktemp + local LAST_OUT=/tmp/tmp.3Y7uAOATNB ++ mktemp + local LAST_ERR=/tmp/tmp.M1qcceQC9K + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb+srv://myApp:myPass@some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.3Y7uAOATNB Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017,some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017,some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=true {"t":{"$date":"2026-03-10T22:36:09.995Z"},"s":"I", "c":"NETWORK", "id":5490002, "ctx":"thread1","msg":"Started a new thread for the timer service"} Implicit session: session { "id" : UUID("28742290-a54e-47c9-97cb-87d530135854") } Percona Server for MongoDB server version: v8.0.19-7 WARNING: shell and server versions do not match switched to db myApp true bye + cat /tmp/tmp.M1qcceQC9K + rm /tmp/tmp.3Y7uAOATNB /tmp/tmp.M1qcceQC9K + return 0 + run_restore backup-snapshot + local backup_name=backup-snapshot + local restore_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/restore.yml + log 'running restore restore-backup-snapshot' + set +o xtrace [2026-03-10T22:36:10+0000] running restore restore-backup-snapshot + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/restore.yml + /usr/sbin/sed -e 's/name:/name: restore-backup-snapshot/' + /usr/sbin/sed -e 's/backupName:/backupName: backup-snapshot/' + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.ij3C6Lgrsw ++ mktemp + local LAST_ERR=/tmp/tmp.Y9PBrA3ouc + 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.ij3C6Lgrsw perconaservermongodbrestore.psmdb.percona.com/restore-backup-snapshot created + cat /tmp/tmp.Y9PBrA3ouc + rm /tmp/tmp.ij3C6Lgrsw /tmp/tmp.Y9PBrA3ouc + return 0 + run_snapshot_recovery_check backup-snapshot + local backup_name=backup-snapshot + local target_cluster=some-name + wait_restore backup-snapshot some-name ready 0 3000 + local backup_name=backup-snapshot + local cluster_name=some-name + local target_state=ready + local wait_cluster_consistency=0 + local wait_time=3000 + local ok_if_ready=0 + set +o xtrace Waiting for the psmdb-restore/restore-backup-snapshot object to be created.OK Waiting psmdb-restore/restore-backup-snapshot to reach state "ready" .......OK after 6 minutes + [[ 0 -eq 1 ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.metadata.annotations.percona\.com/resync-pbm}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.HQODEiZl2V +++ mktemp ++ local LAST_ERR=/tmp/tmp.oo7gqEzdgV ++ 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.annotations.percona\.com/resync-pbm}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.HQODEiZl2V ++ cat /tmp/tmp.oo7gqEzdgV ++ rm /tmp/tmp.HQODEiZl2V /tmp/tmp.oo7gqEzdgV ++ return 0 + '[' true '!=' true ']' + log 'Operator triggered PBM resync: OK' + set +o xtrace [2026-03-10T22:42:40+0000] Operator triggered PBM resync: OK + 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.TKQzN9N7c4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.zUuPC3le6F ++ 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.TKQzN9N7c4 ++ cat /tmp/tmp.zUuPC3le6F ++ rm /tmp/tmp.TKQzN9N7c4 /tmp/tmp.zUuPC3le6F ++ return 0 + [[ error == \r\e\a\d\y ]] + let retry+=1 + '[' 1 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.lIAsoRWMRw +++ mktemp ++ local LAST_ERR=/tmp/tmp.Gie3EXGccC ++ 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.lIAsoRWMRw ++ cat /tmp/tmp.Gie3EXGccC ++ rm /tmp/tmp.lIAsoRWMRw /tmp/tmp.Gie3EXGccC ++ return 0 + [[ error == \r\e\a\d\y ]] + let retry+=1 + '[' 2 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.0kdBanP3ux +++ mktemp ++ local LAST_ERR=/tmp/tmp.R6WT0hrH0k ++ 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.0kdBanP3ux ++ cat /tmp/tmp.R6WT0hrH0k ++ rm /tmp/tmp.0kdBanP3ux /tmp/tmp.R6WT0hrH0k ++ return 0 + [[ error == \r\e\a\d\y ]] + let retry+=1 + '[' 3 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.NiRi4KIIUb +++ mktemp ++ local LAST_ERR=/tmp/tmp.fLSY2dYeuY ++ 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.NiRi4KIIUb ++ cat /tmp/tmp.fLSY2dYeuY ++ rm /tmp/tmp.NiRi4KIIUb /tmp/tmp.fLSY2dYeuY ++ return 0 + [[ error == \r\e\a\d\y ]] + let retry+=1 + '[' 4 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.UljhPu7ZVh +++ mktemp ++ local LAST_ERR=/tmp/tmp.mbomn4ItVj ++ 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.UljhPu7ZVh ++ cat /tmp/tmp.mbomn4ItVj ++ rm /tmp/tmp.UljhPu7ZVh /tmp/tmp.mbomn4ItVj ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 5 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RI8yGjreQ2 +++ mktemp ++ local LAST_ERR=/tmp/tmp.M47z1qg0Xn ++ 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.RI8yGjreQ2 ++ cat /tmp/tmp.M47z1qg0Xn ++ rm /tmp/tmp.RI8yGjreQ2 /tmp/tmp.M47z1qg0Xn ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 6 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5ajvGeFYvy +++ mktemp ++ local LAST_ERR=/tmp/tmp.6nDcJrH1aP ++ 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.5ajvGeFYvy ++ cat /tmp/tmp.6nDcJrH1aP ++ rm /tmp/tmp.5ajvGeFYvy /tmp/tmp.6nDcJrH1aP ++ return 0 + [[ ready == \r\e\a\d\y ]] + echo .OK .OK + wait_for_pbm_operations some-name + local cluster=some-name + set +o xtrace waiting for PBM operation to finish.OK + compare_mongo_cmd find myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413 '' '' '' '' '' true + local command=find + local uri=myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413 + local postfix= + local suffix= + local database=myApp + local collection=test + local sort= + local tls=true + local replicaset= + local 'full_command=db.test.find()' + [[ -n '' ]] + log 'running db.test.find() in myApp' + set +o xtrace [2026-03-10T22:43:56+0000] running db.test.find() in myApp + [[ true == \t\r\u\e ]] + mongo_command=run_mongo_tls + run_mongo_tls 'use myApp\n db.test.find()' myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413 mongodb '' '' + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"NETWORK"|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' + local 'command=use myApp\n db.test.find()' + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' + local uri=myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413 + local driver=mongodb + local suffix=.svc.cluster.local ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.DR49nkIP2Y +++ mktemp ++ local LAST_ERR=/tmp/tmp.wxqd7MqNT1 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.DR49nkIP2Y ++ cat /tmp/tmp.wxqd7MqNT1 ++ rm /tmp/tmp.DR49nkIP2Y /tmp/tmp.wxqd7MqNT1 ++ return 0 + local client_container=psmdb-client-5649fbb65f-fsl9c + local mongo_flag= + local port=27017 ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 + [[ myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' ++ mktemp + local LAST_OUT=/tmp/tmp.OrVwUMvRNQ ++ mktemp + local LAST_ERR=/tmp/tmp.b3b7baZDO3 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0-0.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.OrVwUMvRNQ + cat /tmp/tmp.b3b7baZDO3 + rm /tmp/tmp.OrVwUMvRNQ /tmp/tmp.b3b7baZDO3 + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/compare/find.json /tmp/tmp.DoM7cv4h0e/find + compare_mongo_cmd find myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413 '' '' '' '' '' true + local command=find + local uri=myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413 + local postfix= + local suffix= + local database=myApp + local collection=test + local sort= + local tls=true + local replicaset= + local 'full_command=db.test.find()' + [[ -n '' ]] + log 'running db.test.find() in myApp' + set +o xtrace [2026-03-10T22:43:58+0000] running db.test.find() in myApp + [[ true == \t\r\u\e ]] + mongo_command=run_mongo_tls + run_mongo_tls 'use myApp\n db.test.find()' myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413 mongodb '' '' + local 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413 + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"NETWORK"|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' + local driver=mongodb + local suffix=.svc.cluster.local + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.SwpQ4UHLUR +++ mktemp ++ local LAST_ERR=/tmp/tmp.TSn9PGjVm6 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.SwpQ4UHLUR ++ cat /tmp/tmp.TSn9PGjVm6 ++ rm /tmp/tmp.SwpQ4UHLUR /tmp/tmp.TSn9PGjVm6 ++ return 0 + local client_container=psmdb-client-5649fbb65f-fsl9c + local mongo_flag= + local port=27017 ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 + [[ myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' ++ mktemp + local LAST_OUT=/tmp/tmp.UTeonzQgqs ++ mktemp + local LAST_ERR=/tmp/tmp.RP0Lq1QFfG + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0-1.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.UTeonzQgqs + cat /tmp/tmp.RP0Lq1QFfG + rm /tmp/tmp.UTeonzQgqs /tmp/tmp.RP0Lq1QFfG + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/compare/find.json /tmp/tmp.DoM7cv4h0e/find + compare_mongo_cmd find myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413 '' '' '' '' '' true + local command=find + local uri=myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413 + local postfix= + local suffix= + local database=myApp + local collection=test + local sort= + local tls=true + local replicaset= + local 'full_command=db.test.find()' + [[ -n '' ]] + log 'running db.test.find() in myApp' + set +o xtrace [2026-03-10T22:44:01+0000] running db.test.find() in myApp + [[ true == \t\r\u\e ]] + mongo_command=run_mongo_tls + run_mongo_tls 'use myApp\n db.test.find()' myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413 mongodb '' '' + local 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413 + local driver=mongodb + local suffix=.svc.cluster.local + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"NETWORK"|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.kVh7LIQfXO +++ mktemp ++ local LAST_ERR=/tmp/tmp.CejfLeKoPp ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.kVh7LIQfXO ++ cat /tmp/tmp.CejfLeKoPp ++ rm /tmp/tmp.kVh7LIQfXO /tmp/tmp.CejfLeKoPp ++ return 0 + local client_container=psmdb-client-5649fbb65f-fsl9c + local mongo_flag= + local port=27017 ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 + [[ myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' ++ mktemp + local LAST_OUT=/tmp/tmp.f5X6DQO6el ++ mktemp + local LAST_ERR=/tmp/tmp.xOOaqyagMD + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0-2.some-name-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.f5X6DQO6el + cat /tmp/tmp.xOOaqyagMD + rm /tmp/tmp.f5X6DQO6el /tmp/tmp.xOOaqyagMD + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/compare/find.json /tmp/tmp.DoM7cv4h0e/find + log 'Data restored: OK' + set +o xtrace [2026-03-10T22:44:04+0000] Data restored: OK + desc 'Testing cross-cluster snapshot restore to a new cluster' + set +o xtrace ----------------------------------------------------------------------------------- Testing cross-cluster snapshot restore to a new cluster ----------------------------------------------------------------------------------- + new_cluster=some-name-new + apply_cluster /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/some-name-new.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/some-name-new.yml + kubectl_bin apply -f - + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/some-name-new.yml ++ mktemp + yq eval '(.spec | select(.image == null)).image = "docker.io/perconalab/percona-server-mongodb-operator:main-mongod8.0"' + yq eval '(.spec | select(has("pmm"))).pmm.image = "docker.io/percona/pmm-client:2.44.1-1"' + /usr/sbin/sed -e s/NAME_SPACE/demand-backup-snapshot-14413/g + yq eval '(.spec | select(has("backup"))).backup.image = "docker.io/perconalab/percona-server-mongodb-operator:main-backup"' + yq eval '(.spec | select(has("initImage"))).initImage = "docker.io/perconalab/percona-server-mongodb-operator:PR-2219-d7e802db"' + yq eval '.spec.upgradeOptions.apply="Never"' + local LAST_OUT=/tmp/tmp.hNycRhHAwy ++ mktemp + local LAST_ERR=/tmp/tmp.vfZsoeLXri + 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.hNycRhHAwy perconaservermongodb.psmdb.percona.com/some-name-new created + cat /tmp/tmp.vfZsoeLXri + rm /tmp/tmp.hNycRhHAwy /tmp/tmp.vfZsoeLXri + return 0 + echo 'check if all pods started on new cluster' check if all pods started on new cluster + wait_for_running some-name-new-rs0 3 + local name=some-name-new-rs0 + let last_pod=2 + local check_cluster_readyness=true + set_debug + [[ 1 == 1 ]] + set -o xtrace + local rs_name=rs0 + local cluster_name=some-name-new ++ seq 0 2 + for i in $(seq 0 $last_pod) + [[ 0 -eq 2 ]] + wait_pod some-name-new-rs0-0 + local pod=some-name-new-rs0-0 + set +o xtrace waiting for pod/some-name-new-rs0-0 to be ready........OK + for i in $(seq 0 $last_pod) + [[ 1 -eq 2 ]] + wait_pod some-name-new-rs0-1 + local pod=some-name-new-rs0-1 + set +o xtrace waiting for pod/some-name-new-rs0-1 to be ready.....OK + for i in $(seq 0 $last_pod) + [[ 2 -eq 2 ]] ++ kubectl_bin get psmdb some-name-new -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Ezbk3osYCO +++ mktemp ++ local LAST_ERR=/tmp/tmp.az3p5TqJBf ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-new -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.Ezbk3osYCO ++ cat /tmp/tmp.az3p5TqJBf ++ rm /tmp/tmp.Ezbk3osYCO /tmp/tmp.az3p5TqJBf ++ return 0 + [[ '' == \t\r\u\e ]] + wait_pod some-name-new-rs0-2 + local pod=some-name-new-rs0-2 + set +o xtrace waiting for pod/some-name-new-rs0-2 to be ready......OK ++ kubectl_bin get psmdb some-name-new -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.PXw0oEt417 +++ mktemp ++ local LAST_ERR=/tmp/tmp.zIgLR50oHZ ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-new -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.PXw0oEt417 ++ cat /tmp/tmp.zIgLR50oHZ ++ rm /tmp/tmp.PXw0oEt417 /tmp/tmp.zIgLR50oHZ ++ return 0 + [[ '' == \t\r\u\e ]] ++ kubectl_bin get psmdb some-name-new -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.tmGYJxPudB +++ mktemp ++ local LAST_ERR=/tmp/tmp.f0k7R6YI6q ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-new -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.tmGYJxPudB ++ cat /tmp/tmp.f0k7R6YI6q ++ rm /tmp/tmp.tmGYJxPudB /tmp/tmp.f0k7R6YI6q ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ true == \t\r\u\e ]] + set +x Waiting for cluster readyness................. + wait_cluster_consistency some-name-new + local cluster_name=some-name-new + local wait_time=32 + retry=0 + sleep 7 + echo -n 'waiting for cluster readyness' waiting for cluster readyness++ kubectl_bin get psmdb some-name-new -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2CJEShmkVm +++ mktemp ++ local LAST_ERR=/tmp/tmp.shN0BfP02Y ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-new -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.2CJEShmkVm ++ cat /tmp/tmp.shN0BfP02Y ++ rm /tmp/tmp.2CJEShmkVm /tmp/tmp.shN0BfP02Y ++ return 0 + [[ ready == \r\e\a\d\y ]] + echo .OK .OK + sleep 60 + wait_for_pbm_operations some-name-new + local cluster=some-name-new + set +o xtrace waiting for PBM operation to finish.OK + echo 'Restoring snapshot to new cluster using backupSource' Restoring snapshot to new cluster using backupSource + run_snapshot_restore_backupsource backup-snapshot some-name-new + local backup_name=backup-snapshot + local target_cluster=some-name-new + local snapshots ++ kubectl_bin get psmdb-backup backup-snapshot -o 'jsonpath={.status.snapshots}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.KOh7Wejr7G +++ mktemp ++ local LAST_ERR=/tmp/tmp.FhEVoxton0 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb-backup backup-snapshot -o 'jsonpath={.status.snapshots}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.KOh7Wejr7G ++ cat /tmp/tmp.FhEVoxton0 ++ rm /tmp/tmp.KOh7Wejr7G /tmp/tmp.FhEVoxton0 ++ return 0 + snapshots='[{"replsetName":"rs0","snapshotName":"backup-snapshot-rs0"}]' + log 'running cross-cluster snapshot restore to some-name-new from backup backup-snapshot' + set +o xtrace [2026-03-10T22:47:13+0000] running cross-cluster snapshot restore to some-name-new from backup backup-snapshot + backup_name=backup-snapshot + target_cluster=some-name-new + snapshots='[{"replsetName":"rs0","snapshotName":"backup-snapshot-rs0"}]' + yq eval ' .metadata.name = "restore-backupsource-" + strenv(backup_name) | .spec.clusterName = strenv(target_cluster) | .spec.backupSource.snapshots = env(snapshots) ' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/restore-backupsource.yml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.niIwUc6rwX ++ mktemp + local LAST_ERR=/tmp/tmp.WRbkvHHGZb + 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.niIwUc6rwX perconaservermongodbrestore.psmdb.percona.com/restore-backupsource-backup-snapshot created + cat /tmp/tmp.WRbkvHHGZb + rm /tmp/tmp.niIwUc6rwX /tmp/tmp.WRbkvHHGZb + return 0 + run_snapshot_recovery_check backupsource-backup-snapshot some-name-new + local backup_name=backupsource-backup-snapshot + local target_cluster=some-name-new + wait_restore backupsource-backup-snapshot some-name-new ready 0 3000 + local backup_name=backupsource-backup-snapshot + local cluster_name=some-name-new + local target_state=ready + local wait_cluster_consistency=0 + local wait_time=3000 + local ok_if_ready=0 + set +o xtrace Waiting for the psmdb-restore/restore-backupsource-backup-snapshot object to be created.OK Waiting psmdb-restore/restore-backupsource-backup-snapshot to reach state "ready" .......OK after 6 minutes + [[ 0 -eq 1 ]] ++ kubectl_bin get psmdb some-name-new -o 'jsonpath={.metadata.annotations.percona\.com/resync-pbm}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.oJxb8xxauz +++ mktemp ++ local LAST_ERR=/tmp/tmp.F9yEjr5SiP ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-new -o 'jsonpath={.metadata.annotations.percona\.com/resync-pbm}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.oJxb8xxauz ++ cat /tmp/tmp.F9yEjr5SiP ++ rm /tmp/tmp.oJxb8xxauz /tmp/tmp.F9yEjr5SiP ++ return 0 + '[' true '!=' true ']' + log 'Operator triggered PBM resync: OK' + set +o xtrace [2026-03-10T22:53:28+0000] Operator triggered PBM resync: OK + wait_cluster_consistency some-name-new + local cluster_name=some-name-new + local wait_time=32 + retry=0 + sleep 7 + echo -n 'waiting for cluster readyness' waiting for cluster readyness++ kubectl_bin get psmdb some-name-new -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.PQk1PzCBLn +++ mktemp ++ local LAST_ERR=/tmp/tmp.4N9pvbDgx8 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-new -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.PQk1PzCBLn ++ cat /tmp/tmp.4N9pvbDgx8 ++ rm /tmp/tmp.PQk1PzCBLn /tmp/tmp.4N9pvbDgx8 ++ return 0 + [[ error == \r\e\a\d\y ]] + let retry+=1 + '[' 1 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-new -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xwNr63xkHy +++ mktemp ++ local LAST_ERR=/tmp/tmp.mlQuHLOzng ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-new -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.xwNr63xkHy ++ cat /tmp/tmp.mlQuHLOzng ++ rm /tmp/tmp.xwNr63xkHy /tmp/tmp.mlQuHLOzng ++ return 0 + [[ error == \r\e\a\d\y ]] + let retry+=1 + '[' 2 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-new -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.t6pCPILPLy +++ mktemp ++ local LAST_ERR=/tmp/tmp.EgU8ahPjeb ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-new -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.t6pCPILPLy ++ cat /tmp/tmp.EgU8ahPjeb ++ rm /tmp/tmp.t6pCPILPLy /tmp/tmp.EgU8ahPjeb ++ return 0 + [[ error == \r\e\a\d\y ]] + let retry+=1 + '[' 3 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-new -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.0rWeS73uZr +++ mktemp ++ local LAST_ERR=/tmp/tmp.Nnrf1X1R7n ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-new -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.0rWeS73uZr ++ cat /tmp/tmp.Nnrf1X1R7n ++ rm /tmp/tmp.0rWeS73uZr /tmp/tmp.Nnrf1X1R7n ++ return 0 + [[ error == \r\e\a\d\y ]] + let retry+=1 + '[' 4 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-new -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.z1cNkG2spR +++ mktemp ++ local LAST_ERR=/tmp/tmp.TugHHirVFn ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-new -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.z1cNkG2spR ++ cat /tmp/tmp.TugHHirVFn ++ rm /tmp/tmp.z1cNkG2spR /tmp/tmp.TugHHirVFn ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 5 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-new -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.oawvnrrAjP +++ mktemp ++ local LAST_ERR=/tmp/tmp.6e6tRMK5tA ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-new -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.oawvnrrAjP ++ cat /tmp/tmp.6e6tRMK5tA ++ rm /tmp/tmp.oawvnrrAjP /tmp/tmp.6e6tRMK5tA ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 6 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-new -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.7TMJgf1VwN +++ mktemp ++ local LAST_ERR=/tmp/tmp.7hrgWE8Vwg ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-new -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.7TMJgf1VwN ++ cat /tmp/tmp.7hrgWE8Vwg ++ rm /tmp/tmp.7TMJgf1VwN /tmp/tmp.7hrgWE8Vwg ++ return 0 + [[ ready == \r\e\a\d\y ]] + echo .OK .OK + wait_for_pbm_operations some-name-new + local cluster=some-name-new + set +o xtrace waiting for PBM operation to finish.OK + compare_mongo_cmd find myApp:myPass@some-name-new-rs0-0.some-name-new-rs0.demand-backup-snapshot-14413 '' '' '' '' '' true + local command=find + local uri=myApp:myPass@some-name-new-rs0-0.some-name-new-rs0.demand-backup-snapshot-14413 + local postfix= + local suffix= + local database=myApp + local collection=test + local sort= + local tls=true + local replicaset= + local 'full_command=db.test.find()' + [[ -n '' ]] + log 'running db.test.find() in myApp' + set +o xtrace [2026-03-10T22:54:44+0000] running db.test.find() in myApp + [[ true == \t\r\u\e ]] + mongo_command=run_mongo_tls + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"NETWORK"|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' + run_mongo_tls 'use myApp\n db.test.find()' myApp:myPass@some-name-new-rs0-0.some-name-new-rs0.demand-backup-snapshot-14413 mongodb '' '' + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' + local 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-new-rs0-0.some-name-new-rs0.demand-backup-snapshot-14413 + local driver=mongodb + local suffix=.svc.cluster.local ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.pfHPQj7LMn +++ mktemp ++ local LAST_ERR=/tmp/tmp.IZmXJH2Yab ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.pfHPQj7LMn ++ cat /tmp/tmp.IZmXJH2Yab ++ rm /tmp/tmp.pfHPQj7LMn /tmp/tmp.IZmXJH2Yab ++ return 0 + local client_container=psmdb-client-5649fbb65f-fsl9c + local mongo_flag= + local port=27017 ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 + [[ myApp:myPass@some-name-new-rs0-0.some-name-new-rs0.demand-backup-snapshot-14413 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-new-rs0-0.some-name-new-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' ++ mktemp + local LAST_OUT=/tmp/tmp.piuEqhwQHI ++ mktemp + local LAST_ERR=/tmp/tmp.FmkxZ2AGKX + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-new-rs0-0.some-name-new-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.piuEqhwQHI + cat /tmp/tmp.FmkxZ2AGKX + rm /tmp/tmp.piuEqhwQHI /tmp/tmp.FmkxZ2AGKX + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/compare/find.json /tmp/tmp.DoM7cv4h0e/find + compare_mongo_cmd find myApp:myPass@some-name-new-rs0-1.some-name-new-rs0.demand-backup-snapshot-14413 '' '' '' '' '' true + local command=find + local uri=myApp:myPass@some-name-new-rs0-1.some-name-new-rs0.demand-backup-snapshot-14413 + local postfix= + local suffix= + local database=myApp + local collection=test + local sort= + local tls=true + local replicaset= + local 'full_command=db.test.find()' + [[ -n '' ]] + log 'running db.test.find() in myApp' + set +o xtrace [2026-03-10T22:54:46+0000] running db.test.find() in myApp + [[ true == \t\r\u\e ]] + mongo_command=run_mongo_tls + run_mongo_tls 'use myApp\n db.test.find()' myApp:myPass@some-name-new-rs0-1.some-name-new-rs0.demand-backup-snapshot-14413 mongodb '' '' + local 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-new-rs0-1.some-name-new-rs0.demand-backup-snapshot-14413 + local driver=mongodb + local suffix=.svc.cluster.local + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"NETWORK"|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qeK91rkMzd +++ mktemp ++ local LAST_ERR=/tmp/tmp.MkPqRI4NXe ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.qeK91rkMzd ++ cat /tmp/tmp.MkPqRI4NXe ++ rm /tmp/tmp.qeK91rkMzd /tmp/tmp.MkPqRI4NXe ++ return 0 + local client_container=psmdb-client-5649fbb65f-fsl9c + local mongo_flag= + local port=27017 ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 + [[ myApp:myPass@some-name-new-rs0-1.some-name-new-rs0.demand-backup-snapshot-14413 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-new-rs0-1.some-name-new-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' ++ mktemp + local LAST_OUT=/tmp/tmp.FfFTGx1I8K ++ mktemp + local LAST_ERR=/tmp/tmp.T80jG1r3TD + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-new-rs0-1.some-name-new-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.FfFTGx1I8K + cat /tmp/tmp.T80jG1r3TD + rm /tmp/tmp.FfFTGx1I8K /tmp/tmp.T80jG1r3TD + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/compare/find.json /tmp/tmp.DoM7cv4h0e/find + compare_mongo_cmd find myApp:myPass@some-name-new-rs0-2.some-name-new-rs0.demand-backup-snapshot-14413 '' '' '' '' '' true + local command=find + local uri=myApp:myPass@some-name-new-rs0-2.some-name-new-rs0.demand-backup-snapshot-14413 + local postfix= + local suffix= + local database=myApp + local collection=test + local sort= + local tls=true + local replicaset= + local 'full_command=db.test.find()' + [[ -n '' ]] + log 'running db.test.find() in myApp' + set +o xtrace [2026-03-10T22:54:49+0000] running db.test.find() in myApp + [[ true == \t\r\u\e ]] + mongo_command=run_mongo_tls + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"NETWORK"|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' + run_mongo_tls 'use myApp\n db.test.find()' myApp:myPass@some-name-new-rs0-2.some-name-new-rs0.demand-backup-snapshot-14413 mongodb '' '' + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' + local 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-new-rs0-2.some-name-new-rs0.demand-backup-snapshot-14413 + local driver=mongodb + local suffix=.svc.cluster.local ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Y6GRIS6ang +++ mktemp ++ local LAST_ERR=/tmp/tmp.jXSNvBllbK ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.Y6GRIS6ang ++ cat /tmp/tmp.jXSNvBllbK ++ rm /tmp/tmp.Y6GRIS6ang /tmp/tmp.jXSNvBllbK ++ return 0 + local client_container=psmdb-client-5649fbb65f-fsl9c + local mongo_flag= + local port=27017 ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 + [[ myApp:myPass@some-name-new-rs0-2.some-name-new-rs0.demand-backup-snapshot-14413 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-new-rs0-2.some-name-new-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' ++ mktemp + local LAST_OUT=/tmp/tmp.RxtMsTR6hF ++ mktemp + local LAST_ERR=/tmp/tmp.tF3r02bWhO + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-fsl9c -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-new-rs0-2.some-name-new-rs0.demand-backup-snapshot-14413.svc.cluster.local:27017/admin?replicaSet=rs0 --tls --tlsCAFile /etc/mongodb-ssl/ca.crt --tlsCertificateKeyFile /tmp/tls.pem --tlsAllowInvalidHostnames ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.RxtMsTR6hF + cat /tmp/tmp.tF3r02bWhO + rm /tmp/tmp.RxtMsTR6hF /tmp/tmp.tF3r02bWhO + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/compare/find.json /tmp/tmp.DoM7cv4h0e/find + log 'Data restored: OK' + set +o xtrace [2026-03-10T22:54:52+0000] Data restored: OK + echo 'Cleaning up new cluster' Cleaning up new cluster + kubectl_bin delete psmdb some-name-new ++ mktemp + local LAST_OUT=/tmp/tmp.LaPJbzATUl ++ mktemp + local LAST_ERR=/tmp/tmp.W8JqwMxKmG + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete psmdb some-name-new + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.LaPJbzATUl perconaservermongodb.psmdb.percona.com "some-name-new" deleted from demand-backup-snapshot-14413 namespace + cat /tmp/tmp.W8JqwMxKmG + rm /tmp/tmp.LaPJbzATUl /tmp/tmp.W8JqwMxKmG + return 0 + kubectl_bin wait --for=delete psmdb/some-name-new --timeout=600s ++ mktemp + local LAST_OUT=/tmp/tmp.qEINHvVmzq ++ mktemp + local LAST_ERR=/tmp/tmp.1773vjqnKp + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete psmdb/some-name-new --timeout=600s + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.qEINHvVmzq + cat /tmp/tmp.1773vjqnKp + rm /tmp/tmp.qEINHvVmzq /tmp/tmp.1773vjqnKp + return 0 + desc 'Testing snapshot backup/restore on encrypted cluster' + set +o xtrace ----------------------------------------------------------------------------------- Testing snapshot backup/restore on encrypted cluster ----------------------------------------------------------------------------------- + kubectl_bin delete psmdb some-name ++ mktemp + local LAST_OUT=/tmp/tmp.SEwvskCWYu ++ mktemp + local LAST_ERR=/tmp/tmp.Qdhpeqe9g1 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete psmdb some-name + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.SEwvskCWYu perconaservermongodb.psmdb.percona.com "some-name" deleted from demand-backup-snapshot-14413 namespace + cat /tmp/tmp.Qdhpeqe9g1 + rm /tmp/tmp.SEwvskCWYu /tmp/tmp.Qdhpeqe9g1 + return 0 + kubectl_bin wait --for=delete psmdb/some-name --timeout=600s ++ mktemp + local LAST_OUT=/tmp/tmp.vBCg2m6pxS ++ mktemp + local LAST_ERR=/tmp/tmp.ngrmVzSMXJ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete psmdb/some-name --timeout=600s + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.vBCg2m6pxS + cat /tmp/tmp.ngrmVzSMXJ + rm /tmp/tmp.vBCg2m6pxS /tmp/tmp.ngrmVzSMXJ + return 0 + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/secrets.yml ++ mktemp + local LAST_OUT=/tmp/tmp.0w4GsFps3a ++ mktemp + local LAST_ERR=/tmp/tmp.LPiQyMXewJ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/secrets.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.0w4GsFps3a secret/some-users configured + cat /tmp/tmp.LPiQyMXewJ Warning: resource secrets/some-users is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically. + rm /tmp/tmp.0w4GsFps3a /tmp/tmp.LPiQyMXewJ + return 0 + apply_cluster /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/some-name-encrypted.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/some-name-encrypted.yml + kubectl_bin apply -f - + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2219/e2e-tests/demand-backup-snapshot/conf/some-name-encrypted.yml ++ mktemp + yq eval '(.spec | select(.image == null)).image = "docker.io/perconalab/percona-server-mongodb-operator:main-mongod8.0"' + yq eval '(.spec | select(has("pmm"))).pmm.image = "docker.io/percona/pmm-client:2.44.1-1"' + yq eval '(.spec | select(has("initImage"))).initImage = "docker.io/perconalab/percona-server-mongodb-operator:PR-2219-d7e802db"' + yq eval '(.spec | select(has("backup"))).backup.image = "docker.io/perconalab/percona-server-mongodb-operator:main-backup"' + /usr/sbin/sed -e s/NAME_SPACE/demand-backup-snapshot-14413/g + local LAST_OUT=/tmp/tmp.4ozeOdKxs5 ++ mktemp + yq eval '.spec.upgradeOptions.apply="Never"' + local LAST_ERR=/tmp/tmp.SENAeDW6F4 + 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.4ozeOdKxs5 perconaservermongodb.psmdb.percona.com/some-name created + cat /tmp/tmp.SENAeDW6F4 + rm /tmp/tmp.4ozeOdKxs5 /tmp/tmp.SENAeDW6F4 + return 0 + echo 'check if all pods started' check if all pods started + wait_for_running some-name-rs0 3 + local name=some-name-rs0 + let last_pod=2 + local check_cluster_readyness=true + 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.KlXHrtuD94 +++ mktemp ++ local LAST_ERR=/tmp/tmp.BvTyoPvsuL ++ 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.KlXHrtuD94 ++ cat /tmp/tmp.BvTyoPvsuL ++ rm /tmp/tmp.KlXHrtuD94 /tmp/tmp.BvTyoPvsuL ++ 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.86kq0YQjgT +++ mktemp ++ local LAST_ERR=/tmp/tmp.H4puCNijch ++ 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.86kq0YQjgT ++ cat /tmp/tmp.H4puCNijch ++ rm /tmp/tmp.86kq0YQjgT /tmp/tmp.H4puCNijch ++ 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.sUCtCdEJ9S +++ mktemp ++ local LAST_ERR=/tmp/tmp.XVjfQYYXZa ++ 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.sUCtCdEJ9S ++ cat /tmp/tmp.XVjfQYYXZa ++ rm /tmp/tmp.sUCtCdEJ9S /tmp/tmp.XVjfQYYXZa ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ true == \t\r\u\e ]] + set +x Waiting for cluster readyness.................................................. + 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.b8h3Ofm95z +++ mktemp ++ local LAST_ERR=/tmp/tmp.coGCC4PTIX ++ 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.b8h3Ofm95z ++ cat /tmp/tmp.coGCC4PTIX ++ rm /tmp/tmp.b8h3Ofm95z /tmp/tmp.coGCC4PTIX ++ return 0 + [[ ready == \r\e\a\d\y ]] + echo .OK .OK + sleep 60 + wait_for_pbm_operations some-name + local cluster=some-name + set +o xtrace waiting for PBM operation to finishcommand terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 .command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 command terminated with exit code 1 ..