Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/logs/pitr-to-new-cluster.log grep: warning: stray \ before - Warning: version difference between client (1.34) and server (1.31) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.34) and server (1.31) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.34) and server (1.31) exceeds the supported minor version skew of +/-1 + source_cluster=some-name-source + target_cluster=some-name-target + backup_name_minio=backup-minio + setup_infra + create_infra pitr-to-new-cluster-24520 + local ns=pitr-to-new-cluster-24520 + [[ 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-2084/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.EJkQMAHx8v ++ mktemp + local LAST_ERR=/tmp/tmp.FyPXw4Za3l + 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-2084/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.EJkQMAHx8v 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.FyPXw4Za3l + rm /tmp/tmp.EJkQMAHx8v /tmp/tmp.FyPXw4Za3l + return 0 ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/deploy/crd.yaml ++ grep -v '\-\-\-' grep: warning: stray \ before - grep: warning: stray \ before - + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbbackups.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbbackups.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' 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.3hQsNo8XtE ++ mktemp + local LAST_ERR=/tmp/tmp.EuiYiLz5H3 + 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.3hQsNo8XtE + cat /tmp/tmp.EuiYiLz5H3 + rm /tmp/tmp.3hQsNo8XtE /tmp/tmp.EuiYiLz5H3 + return 0 + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + grep -v NAMESPACE + kubectl get perconaservermongodbrestores.psmdb.percona.com --all-namespaces -o wide + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbrestores.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbrestores" + kubectl patch perconaservermongodbrestores.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' 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.WwMigo4FaJ ++ mktemp + local LAST_ERR=/tmp/tmp.ECeXYtxrcu + 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.WwMigo4FaJ + cat /tmp/tmp.ECeXYtxrcu + rm /tmp/tmp.WwMigo4FaJ /tmp/tmp.ECeXYtxrcu + return 0 + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbs.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbs.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbs" + kubectl patch perconaservermongodbs.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbs" + : + kubectl_bin wait --for=delete crd perconaservermongodbs.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.mBAz1dCLbu ++ mktemp + local LAST_ERR=/tmp/tmp.wC1M3cHIIp + 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.mBAz1dCLbu + cat /tmp/tmp.wC1M3cHIIp + rm /tmp/tmp.mBAz1dCLbu /tmp/tmp.wC1M3cHIIp + 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-2084/deploy/cw-rbac.yaml --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.7pssg2SWM9 ++ mktemp + local LAST_ERR=/tmp/tmp.1TX4x7Cd7U + 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-2084/deploy/cw-rbac.yaml --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.7pssg2SWM9 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.1TX4x7Cd7U + rm /tmp/tmp.7pssg2SWM9 /tmp/tmp.1TX4x7Cd7U + return 0 + check_crd_for_deletion PR-2084-c7bb9e93 + local git_tag=PR-2084-c7bb9e93 ++ curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/PR-2084-c7bb9e93/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.bahVaNUC6K +++ mktemp ++ local LAST_ERR=/tmp/tmp.RBo9SOZqQz ++ 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.bahVaNUC6K ++ cat /tmp/tmp.RBo9SOZqQz 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.bahVaNUC6K ++ cat /tmp/tmp.RBo9SOZqQz 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.bahVaNUC6K ++ cat /tmp/tmp.RBo9SOZqQz Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 8 ++ cat /tmp/tmp.bahVaNUC6K ++ cat /tmp/tmp.RBo9SOZqQz Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ rm /tmp/tmp.bahVaNUC6K /tmp/tmp.RBo9SOZqQz ++ return 1 + [[ '' == \T\e\r\m\i\n\a\t\i\n\g ]] + '[' -n psmdb-operator ']' + create_namespace psmdb-operator + local namespace=psmdb-operator + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// + local chaos_mesh_ns= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + egrep -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + awk '{print$1}' ++ mktemp + '[' -n '' ']' + desc 'cleaned up old namespaces psmdb-operator' + xargs kubectl delete ns + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace psmdb-operator --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.fHaxnSgnUy egrep: warning: egrep is obsolescent; using grep -E ++ mktemp + local LAST_OUT=/tmp/tmp.X4uFE4NUnl ++ mktemp + local LAST_ERR=/tmp/tmp.pLqCdTTXT6 + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.qLvFazHQKk + local exit_status=0 + local timeout=4 + for i in $(seq 0 2) + set +e + kubectl get ns ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete namespace psmdb-operator --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.fHaxnSgnUy + cat /tmp/tmp.pLqCdTTXT6 + rm /tmp/tmp.fHaxnSgnUy /tmp/tmp.pLqCdTTXT6 + return 0 namespace "pitr-to-new-cluster-32298" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.X4uFE4NUnl namespace "psmdb-operator" deleted + cat /tmp/tmp.qLvFazHQKk + rm /tmp/tmp.X4uFE4NUnl /tmp/tmp.qLvFazHQKk + return 0 + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.jyXv4k6E7q ++ mktemp + local LAST_ERR=/tmp/tmp.GbDP2NjTIz + 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.jyXv4k6E7q + cat /tmp/tmp.GbDP2NjTIz + rm /tmp/tmp.jyXv4k6E7q /tmp/tmp.GbDP2NjTIz + 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.6WiQ25XDhZ ++ mktemp + local LAST_ERR=/tmp/tmp.JeeuF1uJK5 + 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.6WiQ25XDhZ namespace/psmdb-operator created + cat /tmp/tmp.JeeuF1uJK5 + rm /tmp/tmp.6WiQ25XDhZ /tmp/tmp.JeeuF1uJK5 + return 0 + set_kube_ctx psmdb-operator + local namespace=psmdb-operator ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.N3mFy2Kn2X +++ mktemp ++ local LAST_ERR=/tmp/tmp.stnClH2DLE ++ 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.N3mFy2Kn2X ++ cat /tmp/tmp.stnClH2DLE ++ rm /tmp/tmp.N3mFy2Kn2X /tmp/tmp.stnClH2DLE ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2084-c7bb9e93-6-cluster7 --namespace=psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.BQkWSMzMN8 ++ mktemp + local LAST_ERR=/tmp/tmp.5MLRopPBCo + 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-2084-c7bb9e93-6-cluster7 --namespace=psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.BQkWSMzMN8 Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2084-c7bb9e93-6-cluster7" modified. + cat /tmp/tmp.5MLRopPBCo + rm /tmp/tmp.BQkWSMzMN8 /tmp/tmp.5MLRopPBCo + return 0 + deploy_operator + desc 'start PSMDB operator: perconalab/percona-server-mongodb-operator:PR-2084-c7bb9e93' + set +o xtrace ----------------------------------------------------------------------------------- start PSMDB operator: perconalab/percona-server-mongodb-operator:PR-2084-c7bb9e93 ----------------------------------------------------------------------------------- + local cr_file + '[' -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/crd.yaml ']' + cr_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/deploy/crd.yaml + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.pqLPfr8dDk ++ mktemp + local LAST_ERR=/tmp/tmp.y8lBMEmvZ3 + 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-2084/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.pqLPfr8dDk 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.y8lBMEmvZ3 + rm /tmp/tmp.pqLPfr8dDk /tmp/tmp.y8lBMEmvZ3 + 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-2084/deploy/cw-rbac.yaml + sed -e 's^namespace: .*^namespace: psmdb-operator^' + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.LI55uypj0U ++ mktemp + local LAST_ERR=/tmp/tmp.dDEtlalw85 + 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.LI55uypj0U 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.dDEtlalw85 + rm /tmp/tmp.LI55uypj0U /tmp/tmp.dDEtlalw85 + return 0 + yq eval ' (.spec.template.spec.containers[].image = "perconalab/percona-server-mongodb-operator:PR-2084-c7bb9e93") | ((.. | select(.[] == "DISABLE_TELEMETRY")) |= .value="true") | ((.. | select(.[] == "LOG_LEVEL")) |= .value="DEBUG")' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/deploy/cw-operator.yaml + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.40RMTg67Gp ++ mktemp + local LAST_ERR=/tmp/tmp.zIZqfdJrrQ + 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.40RMTg67Gp deployment.apps/percona-server-mongodb-operator created + cat /tmp/tmp.zIZqfdJrrQ + rm /tmp/tmp.40RMTg67Gp /tmp/tmp.zIZqfdJrrQ + 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.qmVkpr1olZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.pT7mlDFkLW ++ 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.qmVkpr1olZ ++ cat /tmp/tmp.pT7mlDFkLW ++ rm /tmp/tmp.qmVkpr1olZ /tmp/tmp.pT7mlDFkLW ++ return 0 + wait_operator_pod percona-server-mongodb-operator-69f66fc8f5-ljrvv + local pod=percona-server-mongodb-operator-69f66fc8f5-ljrvv + set +o xtrace waiting for pod/percona-server-mongodb-operator-69f66fc8f5-ljrvv 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.AIoNwnFu8b +++ mktemp ++ local LAST_ERR=/tmp/tmp.MQEUhPBgHL ++ 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.AIoNwnFu8b ++ cat /tmp/tmp.MQEUhPBgHL ++ rm /tmp/tmp.AIoNwnFu8b /tmp/tmp.MQEUhPBgHL ++ return 0 + kubectl_bin logs -n psmdb-operator percona-server-mongodb-operator-69f66fc8f5-ljrvv ++ mktemp + local LAST_OUT=/tmp/tmp.W6nPZze5du ++ mktemp + local LAST_ERR=/tmp/tmp.V4iZF33axI + 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-69f66fc8f5-ljrvv + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.W6nPZze5du + cat /tmp/tmp.V4iZF33axI + rm /tmp/tmp.W6nPZze5du /tmp/tmp.V4iZF33axI + return 0 2025-11-26T19:53:32.422Z INFO setup Manager starting up {"gitCommit": "c7bb9e93ac2d18b3eb78a62d14abe5114d4b7e25", "gitBranch": "PR-2084-c7bb9e93", "buildTime": "", "goVersion": "go1.25.4", "os": "linux", "arch": "amd64"} + create_namespace pitr-to-new-cluster-24520 + local namespace=pitr-to-new-cluster-24520 + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// + local chaos_mesh_ns= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + egrep -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + awk '{print$1}' ++ mktemp + '[' -n '' ']' + xargs kubectl delete ns + desc 'cleaned up old namespaces pitr-to-new-cluster-24520' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces pitr-to-new-cluster-24520 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace pitr-to-new-cluster-24520 --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.ftDWNPhg2p egrep: warning: egrep is obsolescent; using grep -E ++ mktemp + local LAST_OUT=/tmp/tmp.xREwdeRIRW ++ mktemp + local LAST_ERR=/tmp/tmp.QnVSmyPUez + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.UxSLUyuC0s + local exit_status=0 + local timeout=4 + for i in $(seq 0 2) + set +e + kubectl get ns ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete namespace pitr-to-new-cluster-24520 --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.ftDWNPhg2p + cat /tmp/tmp.QnVSmyPUez + rm /tmp/tmp.ftDWNPhg2p /tmp/tmp.QnVSmyPUez + 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.xREwdeRIRW + cat /tmp/tmp.UxSLUyuC0s + rm /tmp/tmp.xREwdeRIRW /tmp/tmp.UxSLUyuC0s + return 0 + kubectl_bin wait --for=delete namespace pitr-to-new-cluster-24520 ++ mktemp + local LAST_OUT=/tmp/tmp.xKhidHhFD1 ++ mktemp + local LAST_ERR=/tmp/tmp.rVWNGLC7QZ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete namespace pitr-to-new-cluster-24520 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.xKhidHhFD1 + cat /tmp/tmp.rVWNGLC7QZ + rm /tmp/tmp.xKhidHhFD1 /tmp/tmp.rVWNGLC7QZ + return 0 + desc 'create namespace pitr-to-new-cluster-24520' + set +o xtrace ----------------------------------------------------------------------------------- create namespace pitr-to-new-cluster-24520 ----------------------------------------------------------------------------------- + kubectl_bin create namespace pitr-to-new-cluster-24520 ++ mktemp + local LAST_OUT=/tmp/tmp.emnpCyUTJ9 ++ mktemp + local LAST_ERR=/tmp/tmp.3jR2tu5VE9 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl create namespace pitr-to-new-cluster-24520 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.emnpCyUTJ9 namespace/pitr-to-new-cluster-24520 created + cat /tmp/tmp.3jR2tu5VE9 + rm /tmp/tmp.emnpCyUTJ9 /tmp/tmp.3jR2tu5VE9 + return 0 + set_kube_ctx pitr-to-new-cluster-24520 + local namespace=pitr-to-new-cluster-24520 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.xxPAuK4lNW +++ mktemp ++ local LAST_ERR=/tmp/tmp.dnNOUtehTA ++ 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.xxPAuK4lNW ++ cat /tmp/tmp.dnNOUtehTA ++ rm /tmp/tmp.xxPAuK4lNW /tmp/tmp.dnNOUtehTA ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2084-c7bb9e93-6-cluster7 --namespace=pitr-to-new-cluster-24520 ++ mktemp + local LAST_OUT=/tmp/tmp.RmjghKcSn0 ++ mktemp + local LAST_ERR=/tmp/tmp.AXnFo2dewd + 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-2084-c7bb9e93-6-cluster7 --namespace=pitr-to-new-cluster-24520 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.RmjghKcSn0 Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2084-c7bb9e93-6-cluster7" modified. + cat /tmp/tmp.AXnFo2dewd + rm /tmp/tmp.RmjghKcSn0 /tmp/tmp.AXnFo2dewd + return 0 + deploy_minio + desc 'install Minio' + set +o xtrace ----------------------------------------------------------------------------------- install Minio ----------------------------------------------------------------------------------- + helm uninstall minio-service Error: uninstall: Release not loaded: minio-service: release: not found + : + helm repo remove minio "minio" has been removed from your repositories + helm repo add minio https://charts.min.io/ "minio" has been added to your repositories + retry 10 60 helm install minio-service --version 5.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/.minio/ --set persistence.size=2G --set securityContext.enabled=false minio/minio + local max=10 + local delay=60 + shift 2 + local n=1 + helm install minio-service --version 5.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/.minio/ --set persistence.size=2G --set securityContext.enabled=false minio/minio NAME: minio-service LAST DEPLOYED: Wed Nov 26 19:54:10 2025 NAMESPACE: pitr-to-new-cluster-24520 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.pitr-to-new-cluster-24520.cluster.local To access MinIO from localhost, run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace pitr-to-new-cluster-24520 -l "release=minio-service" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace pitr-to-new-cluster-24520 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 pitr-to-new-cluster-24520 minio-service -o jsonpath="{.data.rootUser}" | base64 --decode):$(kubectl get secret --namespace pitr-to-new-cluster-24520 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.c5nWz4b2rK +++ mktemp ++ local LAST_ERR=/tmp/tmp.VRXbJdYxn6 ++ 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.c5nWz4b2rK ++ cat /tmp/tmp.VRXbJdYxn6 ++ rm /tmp/tmp.c5nWz4b2rK /tmp/tmp.VRXbJdYxn6 ++ return 0 + MINIO_POD=minio-service-d9589b474-2l4tk + wait_pod minio-service-d9589b474-2l4tk + local pod=minio-service-d9589b474-2l4tk + set +o xtrace waiting for pod/minio-service-d9589b474-2l4tk to be ready.OK + '[' -n psmdb-operator ']' + kubectl_bin create svc -n psmdb-operator externalname minio-service --external-name=minio-service.pitr-to-new-cluster-24520.svc.cluster.local --tcp=9000 ++ mktemp + local LAST_OUT=/tmp/tmp.SfCnpHybdq ++ mktemp + local LAST_ERR=/tmp/tmp.wlJXYItbda + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl create svc -n psmdb-operator externalname minio-service --external-name=minio-service.pitr-to-new-cluster-24520.svc.cluster.local --tcp=9000 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.SfCnpHybdq service/minio-service created + cat /tmp/tmp.wlJXYItbda + rm /tmp/tmp.SfCnpHybdq /tmp/tmp.wlJXYItbda + return 0 + create_minio_bucket operator-testing + local bucket=operator-testing + kubectl_bin run -i --rm aws-cli --image=perconalab/awscli --restart=Never -- bash -c 'AWS_ACCESS_KEY_ID=some-access-key AWS_SECRET_ACCESS_KEY=some-secret-key AWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --endpoint-url http://minio-service:9000 s3 mb s3://operator-testing' ++ mktemp + local LAST_OUT=/tmp/tmp.fK4hgwHR5j ++ mktemp + local LAST_ERR=/tmp/tmp.vRLfrfD2Ny + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl run -i --rm aws-cli --image=perconalab/awscli --restart=Never -- bash -c 'AWS_ACCESS_KEY_ID=some-access-key AWS_SECRET_ACCESS_KEY=some-secret-key AWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --endpoint-url http://minio-service:9000 s3 mb s3://operator-testing' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.fK4hgwHR5j make_bucket: operator-testing pod "aws-cli" deleted from pitr-to-new-cluster-24520 namespace + cat /tmp/tmp.vRLfrfD2Ny 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. warning: couldn't attach to pod/aws-cli, falling back to streaming logs: Internal error occurred: unable to upgrade connection: container aws-cli not found in pod aws-cli_pitr-to-new-cluster-24520 + rm /tmp/tmp.fK4hgwHR5j /tmp/tmp.vRLfrfD2Ny + return 0 + desc 'create secrets and start client' + set +o xtrace ----------------------------------------------------------------------------------- create secrets and start client ----------------------------------------------------------------------------------- + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/conf/secrets.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/conf/client.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/conf/minio-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.sSsinyFYpY ++ mktemp + local LAST_ERR=/tmp/tmp.o6Krrz3AUa + 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-2084/e2e-tests/conf/secrets.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/conf/client.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/conf/minio-secret.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.sSsinyFYpY secret/some-users created deployment.apps/psmdb-client created secret/minio-secret created + cat /tmp/tmp.o6Krrz3AUa + rm /tmp/tmp.sSsinyFYpY /tmp/tmp.o6Krrz3AUa + return 0 + setup_source_cluster + desc 'create PSMDB cluster: some-name-source' + set +o xtrace ----------------------------------------------------------------------------------- create PSMDB cluster: some-name-source ----------------------------------------------------------------------------------- + apply_cluster /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/some-name-source.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/some-name-source.yml + kubectl_bin apply -f - + yq eval '(.spec | select(.image == null)).image = "perconalab/percona-server-mongodb-operator:main-mongod8.0"' ++ mktemp + yq eval '(.spec | select(has("pmm"))).pmm.image = "percona/pmm-client:2.44.1-1"' + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/some-name-source.yml + yq eval '.spec.upgradeOptions.apply="Never"' + yq eval '(.spec | select(has("initImage"))).initImage = "perconalab/percona-server-mongodb-operator:PR-2084-c7bb9e93"' + local LAST_OUT=/tmp/tmp.7FS7O7sFwq + yq eval '(.spec | select(has("backup"))).backup.image = "percona/percona-backup-mongodb:2.11.0"' ++ mktemp + local LAST_ERR=/tmp/tmp.9lCFJIeiKY + 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.7FS7O7sFwq perconaservermongodb.psmdb.percona.com/some-name-source created + cat /tmp/tmp.9lCFJIeiKY + rm /tmp/tmp.7FS7O7sFwq /tmp/tmp.9lCFJIeiKY + return 0 + wait_for_running some-name-source-rs0 3 + local name=some-name-source-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-source ++ seq 0 2 + for i in $(seq 0 $last_pod) + [[ 0 -eq 2 ]] + wait_pod some-name-source-rs0-0 + local pod=some-name-source-rs0-0 + set +o xtrace waiting for pod/some-name-source-rs0-0 to be ready.........OK + for i in $(seq 0 $last_pod) + [[ 1 -eq 2 ]] + wait_pod some-name-source-rs0-1 + local pod=some-name-source-rs0-1 + set +o xtrace waiting for pod/some-name-source-rs0-1 to be ready.....OK + for i in $(seq 0 $last_pod) + [[ 2 -eq 2 ]] ++ kubectl_bin get psmdb some-name-source -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.AnNqs6Nhv4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.63jdLNOaXm ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-source -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.AnNqs6Nhv4 ++ cat /tmp/tmp.63jdLNOaXm ++ rm /tmp/tmp.AnNqs6Nhv4 /tmp/tmp.63jdLNOaXm ++ return 0 + [[ '' == \t\r\u\e ]] + wait_pod some-name-source-rs0-2 + local pod=some-name-source-rs0-2 + set +o xtrace waiting for pod/some-name-source-rs0-2 to be ready......OK ++ kubectl_bin get psmdb some-name-source -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.8cDO7k90q6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.cvl450fX8r ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-source -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.8cDO7k90q6 ++ cat /tmp/tmp.cvl450fX8r ++ rm /tmp/tmp.8cDO7k90q6 /tmp/tmp.cvl450fX8r ++ return 0 + [[ '' == \t\r\u\e ]] ++ kubectl_bin get psmdb some-name-source -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.cm9OkLoHA3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.NxDqo3eo7w ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-source -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.cm9OkLoHA3 ++ cat /tmp/tmp.NxDqo3eo7w ++ rm /tmp/tmp.cm9OkLoHA3 /tmp/tmp.NxDqo3eo7w ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ true == \t\r\u\e ]] + set +x Waiting for cluster readyness + wait_backup_agent some-name-source-rs0-0 + local agent_pod=some-name-source-rs0-0 + set +o xtrace waiting for pbm-agent to be ready in some-name-source-rs0-0...2025-11-26T19:56:05.000+0000 I listening for the commands + wait_backup_agent some-name-source-rs0-1 + local agent_pod=some-name-source-rs0-1 + set +o xtrace waiting for pbm-agent to be ready in some-name-source-rs0-1...2025-11-26T19:56:07.000+0000 I listening for the commands + wait_backup_agent some-name-source-rs0-2 + local agent_pod=some-name-source-rs0-2 + set +o xtrace waiting for pbm-agent to be ready in some-name-source-rs0-2...2025-11-26T19:56:14.000+0000 I listening for the commands + create_user some-name-source + local cluster=some-name-source + log 'create user myApp' + set +o xtrace [2025-11-26T19:56:16+0000] create user myApp + run_mongo 'db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})' userAdmin:userAdmin123456@some-name-source-rs0.pitr-to-new-cluster-24520 mongodb + local 'command=db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})' + local uri=userAdmin:userAdmin123456@some-name-source-rs0.pitr-to-new-cluster-24520 + 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.QCESLWoAGY +++ mktemp ++ local LAST_ERR=/tmp/tmp.U1aPHnxqif ++ 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.QCESLWoAGY ++ cat /tmp/tmp.U1aPHnxqif ++ rm /tmp/tmp.QCESLWoAGY /tmp/tmp.U1aPHnxqif ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ userAdmin:userAdmin123456@some-name-source-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n'\'' | mongo mongodb://userAdmin:userAdmin123456@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.7DN2s4Ktx6 ++ mktemp + local LAST_ERR=/tmp/tmp.fiHvM1KFMl + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n'\'' | mongo mongodb://userAdmin:userAdmin123456@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.7DN2s4Ktx6 Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("66c8bf01-bf89-4ea0-8326-add280b9ed20") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match Successfully added user: { "user" : "myApp", "roles" : [ { "db" : "myApp", "role" : "readWrite" } ] } bye + cat /tmp/tmp.fiHvM1KFMl + rm /tmp/tmp.7DN2s4Ktx6 /tmp/tmp.fiHvM1KFMl + return 0 + write_document some-name-source 100500 + local cluster=some-name-source + local x=100500 + log 'write document: 100500' + set +o xtrace [2025-11-26T19:56:19+0000] write document: 100500 + run_mongo 'use myApp\n db.test.insert({ x: 100500 })' myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 mongodb + local 'command=use myApp\n db.test.insert({ x: 100500 })' + local uri=myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 + 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.3w0rbpHDiR +++ mktemp ++ local LAST_ERR=/tmp/tmp.WRY8b43dG7 ++ 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.3w0rbpHDiR ++ cat /tmp/tmp.WRY8b43dG7 ++ rm /tmp/tmp.3w0rbpHDiR /tmp/tmp.WRY8b43dG7 ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100500 })\n'\'' | mongo mongodb://myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.bzSnkotH2f ++ mktemp + local LAST_ERR=/tmp/tmp.6UKt3TbaKJ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100500 })\n'\'' | mongo mongodb://myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.bzSnkotH2f Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("bb05f50a-a693-476e-9cd4-a0afa3f73b35") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.6UKt3TbaKJ + rm /tmp/tmp.bzSnkotH2f /tmp/tmp.6UKt3TbaKJ + return 0 + sleep_with_log 360 'wait for PBM-1265 workaround' + local d=360 + local 'msg=wait for PBM-1265 workaround' + log 'wait for PBM-1265 workaround. sleeping for 360 seconds' + set +o xtrace [2025-11-26T19:56:22+0000] wait for PBM-1265 workaround. sleeping for 360 seconds + sleep 360 + compare_mongo_cmd find myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 + local command=find + local uri=myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 + local postfix= + local suffix= + local database=myApp + local collection=test + local sort= + local tls=false + local 'full_command=db.test.find()' + [[ -n '' ]] + log 'running db.test.find() in myApp' + set +o xtrace [2025-11-26T20:02:22+0000] running db.test.find() in myApp + [[ false == \t\r\u\e ]] + mongo_command=run_mongo + run_mongo 'use myApp\n db.test.find()' myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 mongodb '' + local 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 + local driver=mongodb + local suffix=.svc.cluster.local + egrep -v 'I NETWORK|W NETWORK|F 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.Jjes8EDjV3 +++ mktemp egrep: warning: egrep is obsolescent; using grep -E ++ local LAST_ERR=/tmp/tmp.HI777x8S2F ++ 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.Jjes8EDjV3 ++ cat /tmp/tmp.HI777x8S2F ++ rm /tmp/tmp.Jjes8EDjV3 /tmp/tmp.HI777x8S2F ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.xlGushNSVN ++ mktemp + local LAST_ERR=/tmp/tmp.bGdgAJkRdE + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.xlGushNSVN + cat /tmp/tmp.bGdgAJkRdE + rm /tmp/tmp.xlGushNSVN /tmp/tmp.bGdgAJkRdE + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/compare/find.json /tmp/tmp.tp1jBnwxvL/find + run_backup some-name-source backup-minio logical + local cluster=some-name-source + local name=backup-minio + local type=logical + desc 'run backup backup-minio-logical' + set +o xtrace ----------------------------------------------------------------------------------- run backup backup-minio-logical ----------------------------------------------------------------------------------- + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/backup.yml + /usr/sbin/sed -e 's/name:/name: backup-minio-logical/' + /usr/sbin/sed -e 's/clusterName:/clusterName: some-name-source/' + /usr/sbin/sed -e 's/type:/type: logical/' + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.BLKH7SAVOT ++ mktemp + local LAST_ERR=/tmp/tmp.4i5wtcyfsf + 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.BLKH7SAVOT perconaservermongodbbackup.psmdb.percona.com/backup-minio-logical created + cat /tmp/tmp.4i5wtcyfsf + rm /tmp/tmp.BLKH7SAVOT /tmp/tmp.4i5wtcyfsf + return 0 + wait_backup backup-minio-logical + local backup_name=backup-minio-logical + local target_state=ready + set +o xtrace waiting for backup-minio-logical to reach ready state.......OK + sleep_with_log 70 'wait for oplog chunks to be uploaded' + local d=70 + local 'msg=wait for oplog chunks to be uploaded' + log 'wait for oplog chunks to be uploaded. sleeping for 70 seconds' + set +o xtrace [2025-11-26T20:02:40+0000] wait for oplog chunks to be uploaded. sleeping for 70 seconds + sleep 70 + run_backup some-name-source backup-minio physical + local cluster=some-name-source + local name=backup-minio + local type=physical + desc 'run backup backup-minio-physical' + set +o xtrace ----------------------------------------------------------------------------------- run backup backup-minio-physical ----------------------------------------------------------------------------------- + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/backup.yml + /usr/sbin/sed -e 's/name:/name: backup-minio-physical/' + /usr/sbin/sed -e 's/clusterName:/clusterName: some-name-source/' + kubectl_bin apply -f - + /usr/sbin/sed -e 's/type:/type: physical/' ++ mktemp + local LAST_OUT=/tmp/tmp.h3spIL2INt ++ mktemp + local LAST_ERR=/tmp/tmp.yI3idMnY35 + 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.h3spIL2INt perconaservermongodbbackup.psmdb.percona.com/backup-minio-physical created + cat /tmp/tmp.yI3idMnY35 + rm /tmp/tmp.h3spIL2INt /tmp/tmp.yI3idMnY35 + return 0 + wait_backup backup-minio-physical + local backup_name=backup-minio-physical + local target_state=ready + set +o xtrace waiting for backup-minio-physical to reach ready state......OK + desc 'write data for PiTR' + set +o xtrace ----------------------------------------------------------------------------------- write data for PiTR ----------------------------------------------------------------------------------- + write_document some-name-source 100501 + local cluster=some-name-source + local x=100501 + log 'write document: 100501' + set +o xtrace [2025-11-26T20:04:03+0000] write document: 100501 + run_mongo 'use myApp\n db.test.insert({ x: 100501 })' myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 mongodb + local 'command=use myApp\n db.test.insert({ x: 100501 })' + local uri=myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 + 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.QuAjQOs90f +++ mktemp ++ local LAST_ERR=/tmp/tmp.MVuCoe96CA ++ 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.QuAjQOs90f ++ cat /tmp/tmp.MVuCoe96CA ++ rm /tmp/tmp.QuAjQOs90f /tmp/tmp.MVuCoe96CA ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100501 })\n'\'' | mongo mongodb://myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.hjAjtrmRDh ++ mktemp + local LAST_ERR=/tmp/tmp.eeIGgHJzb3 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100501 })\n'\'' | mongo mongodb://myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.hjAjtrmRDh Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("406ecd9b-c38d-49ab-b740-1e3ef4459975") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.eeIGgHJzb3 + rm /tmp/tmp.hjAjtrmRDh /tmp/tmp.eeIGgHJzb3 + return 0 + write_document some-name-source 100502 + local cluster=some-name-source + local x=100502 + log 'write document: 100502' + set +o xtrace [2025-11-26T20:04:05+0000] write document: 100502 + run_mongo 'use myApp\n db.test.insert({ x: 100502 })' myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 mongodb + local 'command=use myApp\n db.test.insert({ x: 100502 })' + local uri=myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 + 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.cB5QkjPJGu +++ mktemp ++ local LAST_ERR=/tmp/tmp.hpcuAo10pc ++ 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.cB5QkjPJGu ++ cat /tmp/tmp.hpcuAo10pc ++ rm /tmp/tmp.cB5QkjPJGu /tmp/tmp.hpcuAo10pc ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100502 })\n'\'' | mongo mongodb://myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.Xzjtxd76cX ++ mktemp + local LAST_ERR=/tmp/tmp.zNHPysyo34 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100502 })\n'\'' | mongo mongodb://myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Xzjtxd76cX Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("f5888c11-2820-496e-a8a0-39884cc6862b") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.zNHPysyo34 + rm /tmp/tmp.Xzjtxd76cX /tmp/tmp.zNHPysyo34 + return 0 + write_document some-name-source 100503 + local cluster=some-name-source + local x=100503 + log 'write document: 100503' + set +o xtrace [2025-11-26T20:04:07+0000] write document: 100503 + run_mongo 'use myApp\n db.test.insert({ x: 100503 })' myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 mongodb + local 'command=use myApp\n db.test.insert({ x: 100503 })' + local uri=myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 + 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.OBfNcachH9 +++ mktemp ++ local LAST_ERR=/tmp/tmp.OsejNOGB3d ++ 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.OBfNcachH9 ++ cat /tmp/tmp.OsejNOGB3d ++ rm /tmp/tmp.OBfNcachH9 /tmp/tmp.OsejNOGB3d ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100503 })\n'\'' | mongo mongodb://myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.8SE9Q0z4dG ++ mktemp + local LAST_ERR=/tmp/tmp.dDvglj73g4 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100503 })\n'\'' | mongo mongodb://myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.8SE9Q0z4dG Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("730dfc97-c570-4985-b8c8-ea9c566eb5a0") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.dDvglj73g4 + rm /tmp/tmp.8SE9Q0z4dG /tmp/tmp.dDvglj73g4 + return 0 + sleep_with_log 70 'wait for oplog chunks to be uploaded' + local d=70 + local 'msg=wait for oplog chunks to be uploaded' + log 'wait for oplog chunks to be uploaded. sleeping for 70 seconds' + set +o xtrace [2025-11-26T20:04:10+0000] wait for oplog chunks to be uploaded. sleeping for 70 seconds + sleep 70 + compare_mongo_cmd find myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 -2nd .svc.cluster.local myApp test 'sort( { x: 1 } )' + local command=find + local uri=myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 + local postfix=-2nd + local suffix=.svc.cluster.local + local database=myApp + local collection=test + local 'sort=sort( { x: 1 } )' + local tls=false + local 'full_command=db.test.find()' + [[ -n sort( { x: 1 } ) ]] + full_command='db.test.find().sort( { x: 1 } )' + log 'running db.test.find().sort( { x: 1 } ) in myApp' + set +o xtrace [2025-11-26T20:05:20+0000] running db.test.find().sort( { x: 1 } ) in myApp + [[ false == \t\r\u\e ]] + mongo_command=run_mongo + run_mongo 'use myApp\n db.test.find().sort( { x: 1 } )' myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 mongodb .svc.cluster.local + local 'command=use myApp\n db.test.find().sort( { x: 1 } )' + local uri=myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 + local driver=mongodb + local suffix=.svc.cluster.local + egrep -v 'I NETWORK|W NETWORK|F 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 egrep: warning: egrep is obsolescent; using grep -E ++ local LAST_OUT=/tmp/tmp.b87kq5WuMT +++ mktemp ++ local LAST_ERR=/tmp/tmp.yR0MnoM8zS ++ 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.b87kq5WuMT ++ cat /tmp/tmp.yR0MnoM8zS ++ rm /tmp/tmp.b87kq5WuMT /tmp/tmp.yR0MnoM8zS ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.pGUy7XGViX ++ mktemp + local LAST_ERR=/tmp/tmp.F16BdYxe5j + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-source-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.pGUy7XGViX + cat /tmp/tmp.F16BdYxe5j + rm /tmp/tmp.pGUy7XGViX /tmp/tmp.F16BdYxe5j + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/compare/find-2nd.json /tmp/tmp.tp1jBnwxvL/find-2nd + log 'PiTR data is ready: OK' + set +o xtrace [2025-11-26T20:05:22+0000] PiTR data is ready: OK + setup_target_cluster + desc 'create PSMDB cluster: some-name-target' + set +o xtrace ----------------------------------------------------------------------------------- create PSMDB cluster: some-name-target ----------------------------------------------------------------------------------- + apply_cluster /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/some-name-target.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/some-name-target.yml + kubectl_bin apply -f - + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/some-name-target.yml ++ mktemp + yq eval '(.spec | select(.image == null)).image = "perconalab/percona-server-mongodb-operator:main-mongod8.0"' + yq eval '(.spec | select(has("pmm"))).pmm.image = "percona/pmm-client:2.44.1-1"' + yq eval '(.spec | select(has("backup"))).backup.image = "percona/percona-backup-mongodb:2.11.0"' + yq eval '(.spec | select(has("initImage"))).initImage = "perconalab/percona-server-mongodb-operator:PR-2084-c7bb9e93"' + local LAST_OUT=/tmp/tmp.uiTxDuomLB + yq eval '.spec.upgradeOptions.apply="Never"' ++ mktemp + local LAST_ERR=/tmp/tmp.wBaeSrgA4D + 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.uiTxDuomLB perconaservermongodb.psmdb.percona.com/some-name-target created + cat /tmp/tmp.wBaeSrgA4D + rm /tmp/tmp.uiTxDuomLB /tmp/tmp.wBaeSrgA4D + return 0 + wait_for_running some-name-target-rs0 3 + local name=some-name-target-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-target ++ seq 0 2 + for i in $(seq 0 $last_pod) + [[ 0 -eq 2 ]] + wait_pod some-name-target-rs0-0 + local pod=some-name-target-rs0-0 + set +o xtrace waiting for pod/some-name-target-rs0-0 to be ready.......OK + for i in $(seq 0 $last_pod) + [[ 1 -eq 2 ]] + wait_pod some-name-target-rs0-1 + local pod=some-name-target-rs0-1 + set +o xtrace waiting for pod/some-name-target-rs0-1 to be ready.......OK + for i in $(seq 0 $last_pod) + [[ 2 -eq 2 ]] ++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.KRFdKzgsQo +++ mktemp ++ local LAST_ERR=/tmp/tmp.Py0YLoLV7O ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.KRFdKzgsQo ++ cat /tmp/tmp.Py0YLoLV7O ++ rm /tmp/tmp.KRFdKzgsQo /tmp/tmp.Py0YLoLV7O ++ return 0 + [[ '' == \t\r\u\e ]] + wait_pod some-name-target-rs0-2 + local pod=some-name-target-rs0-2 + set +o xtrace waiting for pod/some-name-target-rs0-2 to be ready........OK ++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4SAD8lvPpx +++ mktemp ++ local LAST_ERR=/tmp/tmp.85m5qaHR44 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.4SAD8lvPpx ++ cat /tmp/tmp.85m5qaHR44 ++ rm /tmp/tmp.4SAD8lvPpx /tmp/tmp.85m5qaHR44 ++ return 0 + [[ '' == \t\r\u\e ]] ++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.HxuDBC2jwp +++ mktemp ++ local LAST_ERR=/tmp/tmp.glIbi3Taat ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.HxuDBC2jwp ++ cat /tmp/tmp.glIbi3Taat ++ rm /tmp/tmp.HxuDBC2jwp /tmp/tmp.glIbi3Taat ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ true == \t\r\u\e ]] + set +x Waiting for cluster readyness... + wait_backup_agent some-name-target-rs0-0 + local agent_pod=some-name-target-rs0-0 + set +o xtrace waiting for pbm-agent to be ready in some-name-target-rs0-0...2025-11-26T20:06:39.000+0000 I listening for the commands + wait_backup_agent some-name-target-rs0-1 + local agent_pod=some-name-target-rs0-1 + set +o xtrace waiting for pbm-agent to be ready in some-name-target-rs0-1...2025-11-26T20:06:46.000+0000 I listening for the commands + wait_backup_agent some-name-target-rs0-2 + local agent_pod=some-name-target-rs0-2 + set +o xtrace waiting for pbm-agent to be ready in some-name-target-rs0-2...2025-11-26T20:06:47.000+0000 I listening for the commands + wait_for_pbm_operations some-name-target + local cluster=some-name-target + set +o xtrace waiting for PBM operation to finish.OK + desc 'Case 1: Logical restore' + set +o xtrace ----------------------------------------------------------------------------------- Case 1: Logical restore ----------------------------------------------------------------------------------- + test_case_1 + run_restore some-name-target backup-minio logical + local cluster=some-name-target + local backup_name=backup-minio + local backup_type=logical ++ get_backup_dest backup-minio-logical ++ local backup_name=backup-minio-logical ++ kubectl_bin get psmdb-backup backup-minio-logical -o 'jsonpath={.status.destination}' ++ sed -e 's/.json$//' ++ sed 's|s3://||' +++ mktemp ++ sed 's|azure://||' ++ sed 's|gs://||' ++ local LAST_OUT=/tmp/tmp.MgkVCis305 +++ mktemp ++ local LAST_ERR=/tmp/tmp.n01HR2OH7m ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb-backup backup-minio-logical -o 'jsonpath={.status.destination}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.MgkVCis305 ++ cat /tmp/tmp.n01HR2OH7m ++ rm /tmp/tmp.MgkVCis305 /tmp/tmp.n01HR2OH7m ++ return 0 + local destination=operator-testing/some-name-source/2025-11-26T20:02:28Z + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/restore-backupsource.yml + /usr/sbin/sed -e 's/name:/name: restore-backup-minio-logical/' + /usr/sbin/sed -e 's/clusterName:/clusterName: some-name-target/' + /usr/sbin/sed -e 's/type:/type: logical/' + /usr/sbin/sed -e s/pitrType:/type:/ + /usr/sbin/sed -e 's|DESTINATION|operator-testing/some-name-source/2025-11-26T20:02:28Z|' + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.rgX79jydJ2 ++ mktemp + local LAST_ERR=/tmp/tmp.HdFBgsznn0 + 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.rgX79jydJ2 perconaservermongodbrestore.psmdb.percona.com/restore-backup-minio-logical created + cat /tmp/tmp.HdFBgsznn0 + rm /tmp/tmp.rgX79jydJ2 /tmp/tmp.HdFBgsznn0 + return 0 + wait_restore backup-minio-logical some-name-target requested 0 + local backup_name=backup-minio-logical + local cluster_name=some-name-target + local target_state=requested + local wait_cluster_consistency=0 + local wait_time=1780 + local ok_if_ready=0 + set +o xtrace Waiting for the psmdb-restore/restore-backup-minio-logical object to be created.OK Waiting psmdb-restore/restore-backup-minio-logical to reach state "requested" .OK after 0 minutes + [[ 0 -eq 1 ]] + compare_pbm_config some-name-target source + local cluster=some-name-target + local compare_suffix=source + local container=backup-agent + local pbm_binary=pbm + [[ backup-agent == \m\o\n\g\o\d ]] + kubectl_bin exec some-name-target-rs0-0 -c backup-agent -- pbm config ++ mktemp + local LAST_OUT=/tmp/tmp.gXvQpsVCS6 ++ mktemp + local LAST_ERR=/tmp/tmp.vKwwVEMrtq + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec some-name-target-rs0-0 -c backup-agent -- pbm config + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.gXvQpsVCS6 + cat /tmp/tmp.vKwwVEMrtq + rm /tmp/tmp.gXvQpsVCS6 /tmp/tmp.vKwwVEMrtq + return 0 + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/compare/pbm_config_source.yml /tmp/tmp.tp1jBnwxvL/pbm_config.yml + log 'Backup source is set as main storage during restore: OK' + set +o xtrace [2025-11-26T20:07:07+0000] Backup source is set as main storage during restore: OK ++ date +%s + local now_ts=1764187627 + wait_restore backup-minio-logical some-name-target ready + local backup_name=backup-minio-logical + local cluster_name=some-name-target + local target_state=ready + local wait_cluster_consistency=1 + local wait_time=1780 + local ok_if_ready=0 + set +o xtrace Waiting for the psmdb-restore/restore-backup-minio-logical object to be created.OK Waiting psmdb-restore/restore-backup-minio-logical to reach state "ready" .OK after 0 minutes + [[ 1 -eq 1 ]] + wait_cluster_consistency some-name-target + local cluster_name=some-name-target + local wait_time=32 + retry=0 + sleep 7 + echo -n 'waiting for cluster readyness' waiting for cluster readyness++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.z8XHn5i5CC +++ mktemp ++ local LAST_ERR=/tmp/tmp.eXpMORMwDr ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.z8XHn5i5CC ++ cat /tmp/tmp.eXpMORMwDr ++ rm /tmp/tmp.z8XHn5i5CC /tmp/tmp.eXpMORMwDr ++ return 0 + [[ ready == \r\e\a\d\y ]] + echo .OK .OK + compare_pbm_config some-name-target target + local cluster=some-name-target + local compare_suffix=target + local container=backup-agent + local pbm_binary=pbm + [[ backup-agent == \m\o\n\g\o\d ]] + kubectl_bin exec some-name-target-rs0-0 -c backup-agent -- pbm config ++ mktemp + local LAST_OUT=/tmp/tmp.m5KbNbIxcO ++ mktemp + local LAST_ERR=/tmp/tmp.k1TGkX93yY + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec some-name-target-rs0-0 -c backup-agent -- pbm config + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.m5KbNbIxcO + cat /tmp/tmp.k1TGkX93yY + rm /tmp/tmp.m5KbNbIxcO /tmp/tmp.k1TGkX93yY + return 0 + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/compare/pbm_config_target.yml /tmp/tmp.tp1jBnwxvL/pbm_config.yml + log 'Main storage is reverted after backup-minio-logical: OK' + set +o xtrace [2025-11-26T20:07:25+0000] Main storage is reverted after backup-minio-logical: OK + wait_for_pbm_operations some-name-target + local cluster=some-name-target + set +o xtrace waiting for PBM operation to finish.OK + check_if_resync_triggered some-name-target 1764187627 + local cluster=some-name-target + local ts=1764187627 + log 'checking if resync is triggered after 1764187627' + set +o xtrace [2025-11-26T20:07:27+0000] checking if resync is triggered after 1764187627 ++ run_mongo 'use admin\n db.pbmCmd.countDocuments({cmd: '\''resync'\'', ts: { '\''$gt'\'': 1764187627 }})' backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520 ++ local 'command=use admin\n db.pbmCmd.countDocuments({cmd: '\''resync'\'', ts: { '\''$gt'\'': 1764187627 }})' ++ local uri=backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520 ++ 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.4qsHqp2JOs ++++ mktemp +++ local LAST_ERR=/tmp/tmp.Zv9HGDuMS2 +++ 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.4qsHqp2JOs +++ cat /tmp/tmp.Zv9HGDuMS2 +++ rm /tmp/tmp.4qsHqp2JOs /tmp/tmp.Zv9HGDuMS2 +++ return 0 ++ local client_container=psmdb-client-696897d69b-pbt2q ++ local mongo_flag= ++ [[ backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520 == *cfg* ]] ++ replica_set=rs0 ++ kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use admin\n db.pbmCmd.countDocuments({cmd: '\''resync'\'', ts: { '\''$gt'\'': 1764187627 }})\n'\'' | mongo mongodb+srv://backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' +++ mktemp ++ local LAST_OUT=/tmp/tmp.dzoPHjXraB +++ mktemp ++ local LAST_ERR=/tmp/tmp.ZwI3LE5MOj ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use admin\n db.pbmCmd.countDocuments({cmd: '\''resync'\'', ts: { '\''$gt'\'': 1764187627 }})\n'\'' | mongo mongodb+srv://backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.dzoPHjXraB ++ cat /tmp/tmp.ZwI3LE5MOj command terminated with exit code 1 ++ sleep 0 ++ for i in $(seq 0 2) ++ set +e ++ kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use admin\n db.pbmCmd.countDocuments({cmd: '\''resync'\'', ts: { '\''$gt'\'': 1764187627 }})\n'\'' | mongo mongodb+srv://backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.dzoPHjXraB ++ cat /tmp/tmp.ZwI3LE5MOj command terminated with exit code 1 ++ sleep 4 ++ for i in $(seq 0 2) ++ set +e ++ kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use admin\n db.pbmCmd.countDocuments({cmd: '\''resync'\'', ts: { '\''$gt'\'': 1764187627 }})\n'\'' | mongo mongodb+srv://backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.dzoPHjXraB ++ cat /tmp/tmp.ZwI3LE5MOj command terminated with exit code 1 ++ sleep 8 ++ cat /tmp/tmp.dzoPHjXraB ++ cat /tmp/tmp.ZwI3LE5MOj command terminated with exit code 1 ++ rm /tmp/tmp.dzoPHjXraB /tmp/tmp.ZwI3LE5MOj ++ return 1 + local 'count=Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("916f043e-534c-46e9-94a7-a83e5c376ebc") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got '\'':'\'' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("47989537-3caf-4a18-b3f1-1e97af944ea3") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got '\'':'\'' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("e860e62e-33a9-4ac3-906c-c2edef54ef34") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got '\'':'\'' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("e860e62e-33a9-4ac3-906c-c2edef54ef34") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got '\'':'\'' : @(shell):1:45 bye' + [[ Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("916f043e-534c-46e9-94a7-a83e5c376ebc") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("47989537-3caf-4a18-b3f1-1e97af944ea3") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("e860e62e-33a9-4ac3-906c-c2edef54ef34") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("e860e62e-33a9-4ac3-906c-c2edef54ef34") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye -lt 1 ]] ./e2e-tests/pitr-to-new-cluster/run: line 91: [[: Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("916f043e-534c-46e9-94a7-a83e5c376ebc") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("47989537-3caf-4a18-b3f1-1e97af944ea3") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("e860e62e-33a9-4ac3-906c-c2edef54ef34") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("e860e62e-33a9-4ac3-906c-c2edef54ef34") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye: syntax error: invalid arithmetic operator (error token is ".4.29-28 connecting to: mongodb://some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("916f043e-534c-46e9-94a7-a83e5c376ebc") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("47989537-3caf-4a18-b3f1-1e97af944ea3") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("e860e62e-33a9-4ac3-906c-c2edef54ef34") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("e860e62e-33a9-4ac3-906c-c2edef54ef34") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye") + compare_mongo_cmd find myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 -2nd .svc.cluster.local myApp test 'sort( { x: 1 } )' + local command=find + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + local postfix=-2nd + local suffix=.svc.cluster.local + local database=myApp + local collection=test + local 'sort=sort( { x: 1 } )' + local tls=false + local 'full_command=db.test.find()' + [[ -n sort( { x: 1 } ) ]] + full_command='db.test.find().sort( { x: 1 } )' + log 'running db.test.find().sort( { x: 1 } ) in myApp' + set +o xtrace [2025-11-26T20:07:45+0000] running db.test.find().sort( { x: 1 } ) in myApp + [[ false == \t\r\u\e ]] + mongo_command=run_mongo + run_mongo 'use myApp\n db.test.find().sort( { x: 1 } )' myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 mongodb .svc.cluster.local + egrep -v 'I NETWORK|W NETWORK|F 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/' + local 'command=use myApp\n db.test.find().sort( { x: 1 } )' + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + local driver=mongodb + local suffix=.svc.cluster.local ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp egrep: warning: egrep is obsolescent; using grep -E ++ local LAST_OUT=/tmp/tmp.W7SCDIDkbs +++ mktemp ++ local LAST_ERR=/tmp/tmp.bM2u4WLgn3 ++ 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.W7SCDIDkbs ++ cat /tmp/tmp.bM2u4WLgn3 ++ rm /tmp/tmp.W7SCDIDkbs /tmp/tmp.bM2u4WLgn3 ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.uVmdbKuC9Q ++ mktemp + local LAST_ERR=/tmp/tmp.O1NxMtKm9c + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.uVmdbKuC9Q + cat /tmp/tmp.O1NxMtKm9c + rm /tmp/tmp.uVmdbKuC9Q /tmp/tmp.O1NxMtKm9c + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/compare/find-2nd.json /tmp/tmp.tp1jBnwxvL/find-2nd + log 'Data is restored from backup-minio-logical: OK' + set +o xtrace [2025-11-26T20:07:48+0000] Data is restored from backup-minio-logical: OK + desc 'Case 1: Logical restore: OK' + set +o xtrace ----------------------------------------------------------------------------------- Case 1: Logical restore: OK ----------------------------------------------------------------------------------- + desc 'Case 2: Physical restore' + set +o xtrace ----------------------------------------------------------------------------------- Case 2: Physical restore ----------------------------------------------------------------------------------- + test_case_2 + run_restore some-name-target backup-minio physical + local cluster=some-name-target + local backup_name=backup-minio + local backup_type=physical ++ get_backup_dest backup-minio-physical ++ local backup_name=backup-minio-physical ++ kubectl_bin get psmdb-backup backup-minio-physical -o 'jsonpath={.status.destination}' ++ sed -e 's/.json$//' ++ sed 's|s3://||' +++ mktemp ++ sed 's|azure://||' ++ sed 's|gs://||' ++ local LAST_OUT=/tmp/tmp.Dy5QaVaOsB +++ mktemp ++ local LAST_ERR=/tmp/tmp.GHLXdJJp5x ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb-backup backup-minio-physical -o 'jsonpath={.status.destination}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.Dy5QaVaOsB ++ cat /tmp/tmp.GHLXdJJp5x ++ rm /tmp/tmp.Dy5QaVaOsB /tmp/tmp.GHLXdJJp5x ++ return 0 + local destination=operator-testing/some-name-source/2025-11-26T20:03:52Z + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/restore-backupsource.yml + /usr/sbin/sed -e 's/name:/name: restore-backup-minio-physical/' + /usr/sbin/sed -e 's/clusterName:/clusterName: some-name-target/' + /usr/sbin/sed -e 's/type:/type: physical/' + /usr/sbin/sed -e s/pitrType:/type:/ + kubectl_bin apply -f - + /usr/sbin/sed -e 's|DESTINATION|operator-testing/some-name-source/2025-11-26T20:03:52Z|' ++ mktemp + local LAST_OUT=/tmp/tmp.7WbsY1ohwt ++ mktemp + local LAST_ERR=/tmp/tmp.ZsBOl2o47b + 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.7WbsY1ohwt perconaservermongodbrestore.psmdb.percona.com/restore-backup-minio-physical created + cat /tmp/tmp.ZsBOl2o47b + rm /tmp/tmp.7WbsY1ohwt /tmp/tmp.ZsBOl2o47b + return 0 + wait_restore backup-minio-physical some-name-target requested 0 + local backup_name=backup-minio-physical + local cluster_name=some-name-target + local target_state=requested + local wait_cluster_consistency=0 + local wait_time=1780 + local ok_if_ready=0 + set +o xtrace Waiting for the psmdb-restore/restore-backup-minio-physical object to be created.OK Waiting psmdb-restore/restore-backup-minio-physical to reach state "requested" ...OK after 2 minutes + [[ 0 -eq 1 ]] + compare_pbm_config some-name-target source mongod + local cluster=some-name-target + local compare_suffix=source + local container=mongod + local pbm_binary=pbm + [[ mongod == \m\o\n\g\o\d ]] + pbm_binary=/opt/percona/pbm + kubectl_bin exec some-name-target-rs0-0 -c mongod -- /opt/percona/pbm config ++ mktemp + local LAST_OUT=/tmp/tmp.i1lwyxre0k ++ mktemp + local LAST_ERR=/tmp/tmp.YBzYOsPy2Y + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec some-name-target-rs0-0 -c mongod -- /opt/percona/pbm config + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.i1lwyxre0k + cat /tmp/tmp.YBzYOsPy2Y + rm /tmp/tmp.i1lwyxre0k /tmp/tmp.YBzYOsPy2Y + return 0 + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/compare/pbm_config_source.yml /tmp/tmp.tp1jBnwxvL/pbm_config.yml + log 'Backup source is set as main storage during restore: OK' + set +o xtrace [2025-11-26T20:10:10+0000] Backup source is set as main storage during restore: OK ++ date +%s + local now_ts=1764187810 + wait_restore backup-minio-physical some-name-target ready + local backup_name=backup-minio-physical + local cluster_name=some-name-target + local target_state=ready + local wait_cluster_consistency=1 + local wait_time=1780 + local ok_if_ready=0 + set +o xtrace Waiting for the psmdb-restore/restore-backup-minio-physical object to be created.OK Waiting psmdb-restore/restore-backup-minio-physical to reach state "ready" ..OK after 1 minutes + [[ 1 -eq 1 ]] + wait_cluster_consistency some-name-target + local cluster_name=some-name-target + local wait_time=32 + retry=0 + sleep 7 + echo -n 'waiting for cluster readyness' waiting for cluster readyness++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Wmz37rKBtM +++ mktemp ++ local LAST_ERR=/tmp/tmp.OBrBwCnr1g ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.Wmz37rKBtM ++ cat /tmp/tmp.OBrBwCnr1g ++ rm /tmp/tmp.Wmz37rKBtM /tmp/tmp.OBrBwCnr1g ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 1 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.jQF2dA7ltR +++ mktemp ++ local LAST_ERR=/tmp/tmp.Jb74JY24Nx ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.jQF2dA7ltR ++ cat /tmp/tmp.Jb74JY24Nx ++ rm /tmp/tmp.jQF2dA7ltR /tmp/tmp.Jb74JY24Nx ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 2 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ga5Z40c8WX +++ mktemp ++ local LAST_ERR=/tmp/tmp.SyNpWe02ob ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.ga5Z40c8WX ++ cat /tmp/tmp.SyNpWe02ob ++ rm /tmp/tmp.ga5Z40c8WX /tmp/tmp.SyNpWe02ob ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 3 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xNAXmnUEpa +++ mktemp ++ local LAST_ERR=/tmp/tmp.8Tbm3j08wb ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.xNAXmnUEpa ++ cat /tmp/tmp.8Tbm3j08wb ++ rm /tmp/tmp.xNAXmnUEpa /tmp/tmp.8Tbm3j08wb ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 4 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.DloTgVE9kc +++ mktemp ++ local LAST_ERR=/tmp/tmp.b7trFVAX4K ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.DloTgVE9kc ++ cat /tmp/tmp.b7trFVAX4K ++ rm /tmp/tmp.DloTgVE9kc /tmp/tmp.b7trFVAX4K ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 5 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.EjyFSvkmlS +++ mktemp ++ local LAST_ERR=/tmp/tmp.8rCWYNDfLn ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.EjyFSvkmlS ++ cat /tmp/tmp.8rCWYNDfLn ++ rm /tmp/tmp.EjyFSvkmlS /tmp/tmp.8rCWYNDfLn ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 6 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.efRTcajh23 +++ mktemp ++ local LAST_ERR=/tmp/tmp.saBqeSekyC ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.efRTcajh23 ++ cat /tmp/tmp.saBqeSekyC ++ rm /tmp/tmp.efRTcajh23 /tmp/tmp.saBqeSekyC ++ return 0 + [[ initializing == \r\e\a\d\y ]] + let retry+=1 + '[' 7 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.JLfYR9C7CY +++ mktemp ++ local LAST_ERR=/tmp/tmp.xWzjuqY7Fn ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.JLfYR9C7CY ++ cat /tmp/tmp.xWzjuqY7Fn ++ rm /tmp/tmp.JLfYR9C7CY /tmp/tmp.xWzjuqY7Fn ++ return 0 + [[ ready == \r\e\a\d\y ]] + echo .OK .OK + compare_pbm_config some-name-target target + local cluster=some-name-target + local compare_suffix=target + local container=backup-agent + local pbm_binary=pbm + [[ backup-agent == \m\o\n\g\o\d ]] + kubectl_bin exec some-name-target-rs0-0 -c backup-agent -- pbm config ++ mktemp + local LAST_OUT=/tmp/tmp.Uo9TRY9yNl ++ mktemp + local LAST_ERR=/tmp/tmp.FDypSo6CC3 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec some-name-target-rs0-0 -c backup-agent -- pbm config + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Uo9TRY9yNl + cat /tmp/tmp.FDypSo6CC3 + rm /tmp/tmp.Uo9TRY9yNl /tmp/tmp.FDypSo6CC3 + return 0 + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/compare/pbm_config_target.yml /tmp/tmp.tp1jBnwxvL/pbm_config.yml + log 'Main storage is reverted after backup-minio-physical: OK' + set +o xtrace [2025-11-26T20:13:19+0000] Main storage is reverted after backup-minio-physical: OK + wait_for_pbm_operations some-name-target + local cluster=some-name-target + set +o xtrace waiting for PBM operation to finish.OK + check_if_resync_triggered some-name-target 1764187810 + local cluster=some-name-target + local ts=1764187810 + log 'checking if resync is triggered after 1764187810' + set +o xtrace [2025-11-26T20:13:21+0000] checking if resync is triggered after 1764187810 ++ run_mongo 'use admin\n db.pbmCmd.countDocuments({cmd: '\''resync'\'', ts: { '\''$gt'\'': 1764187810 }})' backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520 ++ local 'command=use admin\n db.pbmCmd.countDocuments({cmd: '\''resync'\'', ts: { '\''$gt'\'': 1764187810 }})' ++ local uri=backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520 ++ 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.d3O7QAA0fK ++++ mktemp +++ local LAST_ERR=/tmp/tmp.lxHfDmCClx +++ 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.d3O7QAA0fK +++ cat /tmp/tmp.lxHfDmCClx +++ rm /tmp/tmp.d3O7QAA0fK /tmp/tmp.lxHfDmCClx +++ return 0 ++ local client_container=psmdb-client-696897d69b-pbt2q ++ local mongo_flag= ++ [[ backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520 == *cfg* ]] ++ replica_set=rs0 ++ kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use admin\n db.pbmCmd.countDocuments({cmd: '\''resync'\'', ts: { '\''$gt'\'': 1764187810 }})\n'\'' | mongo mongodb+srv://backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5skbcNvbFi +++ mktemp ++ local LAST_ERR=/tmp/tmp.BqnfuIAEG9 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use admin\n db.pbmCmd.countDocuments({cmd: '\''resync'\'', ts: { '\''$gt'\'': 1764187810 }})\n'\'' | mongo mongodb+srv://backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.5skbcNvbFi ++ cat /tmp/tmp.BqnfuIAEG9 command terminated with exit code 1 ++ sleep 0 ++ for i in $(seq 0 2) ++ set +e ++ kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use admin\n db.pbmCmd.countDocuments({cmd: '\''resync'\'', ts: { '\''$gt'\'': 1764187810 }})\n'\'' | mongo mongodb+srv://backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.5skbcNvbFi ++ cat /tmp/tmp.BqnfuIAEG9 command terminated with exit code 1 ++ sleep 4 ++ for i in $(seq 0 2) ++ set +e ++ kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use admin\n db.pbmCmd.countDocuments({cmd: '\''resync'\'', ts: { '\''$gt'\'': 1764187810 }})\n'\'' | mongo mongodb+srv://backup:backup123456@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.5skbcNvbFi ++ cat /tmp/tmp.BqnfuIAEG9 command terminated with exit code 1 ++ sleep 8 ++ cat /tmp/tmp.5skbcNvbFi ++ cat /tmp/tmp.BqnfuIAEG9 command terminated with exit code 1 ++ rm /tmp/tmp.5skbcNvbFi /tmp/tmp.BqnfuIAEG9 ++ return 1 + local 'count=Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("ef937af1-16a5-4f33-b0f0-58e54ca5bdd5") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got '\'':'\'' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("8fae716b-aa7c-4e9b-b487-57a6b680acea") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got '\'':'\'' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("c391056d-cb68-49b5-993d-8bb240961ca5") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got '\'':'\'' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("c391056d-cb68-49b5-993d-8bb240961ca5") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got '\'':'\'' : @(shell):1:45 bye' + [[ Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("ef937af1-16a5-4f33-b0f0-58e54ca5bdd5") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("8fae716b-aa7c-4e9b-b487-57a6b680acea") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("c391056d-cb68-49b5-993d-8bb240961ca5") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("c391056d-cb68-49b5-993d-8bb240961ca5") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye -lt 1 ]] ./e2e-tests/pitr-to-new-cluster/run: line 91: [[: Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("ef937af1-16a5-4f33-b0f0-58e54ca5bdd5") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("8fae716b-aa7c-4e9b-b487-57a6b680acea") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("c391056d-cb68-49b5-993d-8bb240961ca5") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("c391056d-cb68-49b5-993d-8bb240961ca5") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye: syntax error: invalid arithmetic operator (error token is ".4.29-28 connecting to: mongodb://some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("ef937af1-16a5-4f33-b0f0-58e54ca5bdd5") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("8fae716b-aa7c-4e9b-b487-57a6b680acea") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("c391056d-cb68-49b5-993d-8bb240961ca5") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("c391056d-cb68-49b5-993d-8bb240961ca5") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin uncaught exception: SyntaxError: expected property name, got ':' : @(shell):1:45 bye") + compare_mongo_cmd find myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 -2nd .svc.cluster.local myApp test 'sort( { x: 1 } )' + local command=find + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + local postfix=-2nd + local suffix=.svc.cluster.local + local database=myApp + local collection=test + local 'sort=sort( { x: 1 } )' + local tls=false + local 'full_command=db.test.find()' + [[ -n sort( { x: 1 } ) ]] + full_command='db.test.find().sort( { x: 1 } )' + log 'running db.test.find().sort( { x: 1 } ) in myApp' + set +o xtrace [2025-11-26T20:13:38+0000] running db.test.find().sort( { x: 1 } ) in myApp + [[ false == \t\r\u\e ]] + mongo_command=run_mongo + egrep -v 'I NETWORK|W NETWORK|F 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 'use myApp\n db.test.find().sort( { x: 1 } )' myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 mongodb .svc.cluster.local + local 'command=use myApp\n db.test.find().sort( { x: 1 } )' + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + local driver=mongodb + local suffix=.svc.cluster.local ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' egrep: warning: egrep is obsolescent; using grep -E +++ mktemp ++ local LAST_OUT=/tmp/tmp.O8i9p5upDN +++ mktemp ++ local LAST_ERR=/tmp/tmp.4divfBW6MY ++ 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.O8i9p5upDN ++ cat /tmp/tmp.4divfBW6MY ++ rm /tmp/tmp.O8i9p5upDN /tmp/tmp.4divfBW6MY ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.UJYpOnhEG3 ++ mktemp + local LAST_ERR=/tmp/tmp.ccgRVQsoYT + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.UJYpOnhEG3 + cat /tmp/tmp.ccgRVQsoYT + rm /tmp/tmp.UJYpOnhEG3 /tmp/tmp.ccgRVQsoYT + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/compare/find-2nd.json /tmp/tmp.tp1jBnwxvL/find-2nd + log 'Data is restored from backup-minio-physical: OK' + set +o xtrace [2025-11-26T20:13:41+0000] Data is restored from backup-minio-physical: OK + desc 'Case 2: Physical restore: OK' + set +o xtrace ----------------------------------------------------------------------------------- Case 2: Physical restore: OK ----------------------------------------------------------------------------------- + desc 'Case 3: Backup and restore on some-name-target' + set +o xtrace ----------------------------------------------------------------------------------- Case 3: Backup and restore on some-name-target ----------------------------------------------------------------------------------- + test_case_3 + local backup_name=target-backup-minio + write_document some-name-target 100504 + local cluster=some-name-target + local x=100504 + log 'write document: 100504' + set +o xtrace [2025-11-26T20:13:41+0000] write document: 100504 + run_mongo 'use myApp\n db.test.insert({ x: 100504 })' myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 mongodb + local 'command=use myApp\n db.test.insert({ x: 100504 })' + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + 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.bO5BxalXNM +++ mktemp ++ local LAST_ERR=/tmp/tmp.FVg4oDxCqi ++ 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.bO5BxalXNM ++ cat /tmp/tmp.FVg4oDxCqi ++ rm /tmp/tmp.bO5BxalXNM /tmp/tmp.FVg4oDxCqi ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100504 })\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.Jp6o21bqZI ++ mktemp + local LAST_ERR=/tmp/tmp.xoMEN6XjRQ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100504 })\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Jp6o21bqZI Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("91eb996d-0479-4d11-8434-d4eb70b18b07") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.xoMEN6XjRQ + rm /tmp/tmp.Jp6o21bqZI /tmp/tmp.xoMEN6XjRQ + return 0 + run_backup some-name-target target-backup-minio logical + local cluster=some-name-target + local name=target-backup-minio + local type=logical + desc 'run backup target-backup-minio-logical' + set +o xtrace ----------------------------------------------------------------------------------- run backup target-backup-minio-logical ----------------------------------------------------------------------------------- + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/backup.yml + /usr/sbin/sed -e 's/name:/name: target-backup-minio-logical/' + /usr/sbin/sed -e 's/clusterName:/clusterName: some-name-target/' + /usr/sbin/sed -e 's/type:/type: logical/' + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.5QxY211HnB ++ mktemp + local LAST_ERR=/tmp/tmp.3RyBozlhBx + 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.5QxY211HnB perconaservermongodbbackup.psmdb.percona.com/target-backup-minio-logical created + cat /tmp/tmp.3RyBozlhBx + rm /tmp/tmp.5QxY211HnB /tmp/tmp.3RyBozlhBx + return 0 + wait_backup target-backup-minio-logical + local backup_name=target-backup-minio-logical + local target_state=ready + set +o xtrace waiting for target-backup-minio-logical to reach ready state.......OK + log 'checking target-backup-minio-logical in storage' + set +o xtrace [2025-11-26T20:13:57+0000] checking target-backup-minio-logical in storage + check_backup_in_storage target-backup-minio-logical minio rs0 myApp.test.gz + local backup=target-backup-minio-logical + local storage_type=minio + local replset=rs0 + local file=myApp.test.gz + local endpoint ++ get_backup_dest target-backup-minio-logical ++ local backup_name=target-backup-minio-logical ++ /usr/sbin/sed 's|https://engk8soperators.blob.core.windows.net/||' ++ kubectl_bin get psmdb-backup target-backup-minio-logical -o 'jsonpath={.status.destination}' ++ sed -e 's/.json$//' +++ mktemp ++ sed 's|azure://||' ++ sed 's|gs://||' ++ sed 's|s3://||' ++ local LAST_OUT=/tmp/tmp.Ti1nDXJ5PT +++ mktemp ++ local LAST_ERR=/tmp/tmp.c3rfPNrt3g ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb-backup target-backup-minio-logical -o 'jsonpath={.status.destination}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.Ti1nDXJ5PT ++ cat /tmp/tmp.c3rfPNrt3g ++ rm /tmp/tmp.Ti1nDXJ5PT /tmp/tmp.c3rfPNrt3g ++ return 0 + backup_dest=operator-testing/some-name-target/2025-11-26T20:13:45Z + case ${storage_type} in + endpoint=minio-service + kubectl_bin run -i --rm aws-cli --image=perconalab/awscli --restart=Never -- /usr/bin/env AWS_ACCESS_KEY_ID=some-access-key AWS_SECRET_ACCESS_KEY=some-secret-key AWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --endpoint-url http://minio-service:9000 s3 ls s3://operator-testing/some-name-target/2025-11-26T20:13:45Z/rs0/myApp.test.gz + grep myApp.test.gz ++ mktemp + local LAST_OUT=/tmp/tmp.MBQZryloqI ++ mktemp + local LAST_ERR=/tmp/tmp.1aDJu76Ca9 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl run -i --rm aws-cli --image=perconalab/awscli --restart=Never -- /usr/bin/env AWS_ACCESS_KEY_ID=some-access-key AWS_SECRET_ACCESS_KEY=some-secret-key AWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --endpoint-url http://minio-service:9000 s3 ls s3://operator-testing/some-name-target/2025-11-26T20:13:45Z/rs0/myApp.test.gz + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.MBQZryloqI + cat /tmp/tmp.1aDJu76Ca9 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.MBQZryloqI /tmp/tmp.1aDJu76Ca9 + return 0 + sleep 1 + let retry+=1 + '[' 7 -ge 60 ']' + kubectl_bin run -i --rm aws-cli --image=perconalab/awscli --restart=Never -- /usr/bin/env AWS_ACCESS_KEY_ID=some-access-key AWS_SECRET_ACCESS_KEY=some-secret-key AWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --endpoint-url http://minio-service:9000 s3 ls s3://operator-testing/some-name-target/2025-11-26T20:13:45Z/rs0/myApp.test.gz + grep myApp.test.gz ++ mktemp + local LAST_OUT=/tmp/tmp.JeR1Nlgr3h ++ mktemp + local LAST_ERR=/tmp/tmp.Pu9iQsKaQz + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl run -i --rm aws-cli --image=perconalab/awscli --restart=Never -- /usr/bin/env AWS_ACCESS_KEY_ID=some-access-key AWS_SECRET_ACCESS_KEY=some-secret-key AWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --endpoint-url http://minio-service:9000 s3 ls s3://operator-testing/some-name-target/2025-11-26T20:13:45Z/rs0/myApp.test.gz + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.JeR1Nlgr3h + cat /tmp/tmp.Pu9iQsKaQz 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.JeR1Nlgr3h /tmp/tmp.Pu9iQsKaQz + return 0 + sleep 1 + let retry+=1 + '[' 8 -ge 60 ']' + kubectl_bin run -i --rm aws-cli --image=perconalab/awscli --restart=Never -- /usr/bin/env AWS_ACCESS_KEY_ID=some-access-key AWS_SECRET_ACCESS_KEY=some-secret-key AWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --endpoint-url http://minio-service:9000 s3 ls s3://operator-testing/some-name-target/2025-11-26T20:13:45Z/rs0/myApp.test.gz + grep myApp.test.gz ++ mktemp + local LAST_OUT=/tmp/tmp.5w7LVZrj8V ++ mktemp + local LAST_ERR=/tmp/tmp.z9V8AoY0c4 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl run -i --rm aws-cli --image=perconalab/awscli --restart=Never -- /usr/bin/env AWS_ACCESS_KEY_ID=some-access-key AWS_SECRET_ACCESS_KEY=some-secret-key AWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --endpoint-url http://minio-service:9000 s3 ls s3://operator-testing/some-name-target/2025-11-26T20:13:45Z/rs0/myApp.test.gz + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.5w7LVZrj8V + cat /tmp/tmp.z9V8AoY0c4 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. warning: couldn't attach to pod/aws-cli, falling back to streaming logs: Internal error occurred: unable to upgrade connection: container aws-cli not found in pod aws-cli_pitr-to-new-cluster-24520 + rm /tmp/tmp.5w7LVZrj8V /tmp/tmp.z9V8AoY0c4 + return 0 2025-11-26 20:13:48 118 myApp.test.gz + log 'target-backup-minio is uploaded to correct storage: OK' + set +o xtrace [2025-11-26T20:14:21+0000] target-backup-minio is uploaded to correct storage: OK + log 'enabling PiTR on some-name-target' + set +o xtrace [2025-11-26T20:14:21+0000] enabling PiTR on some-name-target + kubectl_bin patch psmdb some-name-target --type=merge --patch '{"spec": {"backup": {"pitr": {"enabled": true}}}}' ++ mktemp + local LAST_OUT=/tmp/tmp.hCUohrvvEU ++ mktemp + local LAST_ERR=/tmp/tmp.bgp5KwkiqX + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl patch psmdb some-name-target --type=merge --patch '{"spec": {"backup": {"pitr": {"enabled": true}}}}' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.hCUohrvvEU perconaservermongodb.psmdb.percona.com/some-name-target patched + cat /tmp/tmp.bgp5KwkiqX + rm /tmp/tmp.hCUohrvvEU /tmp/tmp.bgp5KwkiqX + return 0 + write_document some-name-target 100505 + local cluster=some-name-target + local x=100505 + log 'write document: 100505' + set +o xtrace [2025-11-26T20:14:23+0000] write document: 100505 + run_mongo 'use myApp\n db.test.insert({ x: 100505 })' myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 mongodb + local 'command=use myApp\n db.test.insert({ x: 100505 })' + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + 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.Ak9kV17JfF +++ mktemp ++ local LAST_ERR=/tmp/tmp.hm4TGrezgH ++ 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.Ak9kV17JfF ++ cat /tmp/tmp.hm4TGrezgH ++ rm /tmp/tmp.Ak9kV17JfF /tmp/tmp.hm4TGrezgH ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100505 })\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.Nm8PJZpScY ++ mktemp + local LAST_ERR=/tmp/tmp.Oz9ggRPcqh + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100505 })\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Nm8PJZpScY Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("4e78395a-d3ed-4d86-ae80-3d350b0dd8a6") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.Oz9ggRPcqh + rm /tmp/tmp.Nm8PJZpScY /tmp/tmp.Oz9ggRPcqh + return 0 + write_document some-name-target 100506 + local cluster=some-name-target + local x=100506 + log 'write document: 100506' + set +o xtrace [2025-11-26T20:14:25+0000] write document: 100506 + run_mongo 'use myApp\n db.test.insert({ x: 100506 })' myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 mongodb + local 'command=use myApp\n db.test.insert({ x: 100506 })' + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + 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.lh6U7yGteg +++ mktemp ++ local LAST_ERR=/tmp/tmp.CJ2QkKzmTI ++ 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.lh6U7yGteg ++ cat /tmp/tmp.CJ2QkKzmTI ++ rm /tmp/tmp.lh6U7yGteg /tmp/tmp.CJ2QkKzmTI ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100506 })\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.tNHFgTgnp7 ++ mktemp + local LAST_ERR=/tmp/tmp.PSC56wED7E + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100506 })\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.tNHFgTgnp7 Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("6a119140-ae2d-44c3-9446-7e1a23ffd115") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.PSC56wED7E + rm /tmp/tmp.tNHFgTgnp7 /tmp/tmp.PSC56wED7E + return 0 + write_document some-name-target 100507 + local cluster=some-name-target + local x=100507 + log 'write document: 100507' + set +o xtrace [2025-11-26T20:14:28+0000] write document: 100507 + run_mongo 'use myApp\n db.test.insert({ x: 100507 })' myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 mongodb + local 'command=use myApp\n db.test.insert({ x: 100507 })' + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + 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.7DuKJIn7QZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.VDkFnHdehA ++ 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.7DuKJIn7QZ ++ cat /tmp/tmp.VDkFnHdehA ++ rm /tmp/tmp.7DuKJIn7QZ /tmp/tmp.VDkFnHdehA ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100507 })\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.H1fJCExglP ++ mktemp + local LAST_ERR=/tmp/tmp.PaEsJVEirC + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100507 })\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.H1fJCExglP Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("b9de0bb6-9838-4cf9-aa14-cb2024a7261c") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.PaEsJVEirC + rm /tmp/tmp.H1fJCExglP /tmp/tmp.PaEsJVEirC + return 0 + sleep_with_log 3 'wait for data to be replicated' + local d=3 + local 'msg=wait for data to be replicated' + log 'wait for data to be replicated. sleeping for 3 seconds' + set +o xtrace [2025-11-26T20:14:31+0000] wait for data to be replicated. sleeping for 3 seconds + sleep 3 + compare_mongo_cmd find myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 -3rd .svc.cluster.local myApp test 'sort( { x: 1 } )' + local command=find + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + local postfix=-3rd + local suffix=.svc.cluster.local + local database=myApp + local collection=test + local 'sort=sort( { x: 1 } )' + local tls=false + local 'full_command=db.test.find()' + [[ -n sort( { x: 1 } ) ]] + full_command='db.test.find().sort( { x: 1 } )' + log 'running db.test.find().sort( { x: 1 } ) in myApp' + set +o xtrace [2025-11-26T20:14:34+0000] running db.test.find().sort( { x: 1 } ) in myApp + [[ false == \t\r\u\e ]] + mongo_command=run_mongo + run_mongo 'use myApp\n db.test.find().sort( { x: 1 } )' myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 mongodb .svc.cluster.local + local 'command=use myApp\n db.test.find().sort( { x: 1 } )' + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + local driver=mongodb + local suffix=.svc.cluster.local + egrep -v 'I NETWORK|W NETWORK|F 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.raxXGREJsx egrep: warning: egrep is obsolescent; using grep -E +++ mktemp ++ local LAST_ERR=/tmp/tmp.Atk6HQ9ukg ++ 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.raxXGREJsx ++ cat /tmp/tmp.Atk6HQ9ukg ++ rm /tmp/tmp.raxXGREJsx /tmp/tmp.Atk6HQ9ukg ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.WgGadh13mq ++ mktemp + local LAST_ERR=/tmp/tmp.WXkgEZPcJw + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.WgGadh13mq + cat /tmp/tmp.WXkgEZPcJw + rm /tmp/tmp.WgGadh13mq /tmp/tmp.WXkgEZPcJw + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/compare/find-3rd.json /tmp/tmp.tp1jBnwxvL/find-3rd + log 'Data is ready for PiTR: OK' + set +o xtrace [2025-11-26T20:14:36+0000] Data is ready for PiTR: OK + sleep_with_log 70 'wait for oplog chunks to be uploaded' + local d=70 + local 'msg=wait for oplog chunks to be uploaded' + log 'wait for oplog chunks to be uploaded. sleeping for 70 seconds' + set +o xtrace [2025-11-26T20:14:36+0000] wait for oplog chunks to be uploaded. sleeping for 70 seconds + sleep 70 +++ get_latest_restorable_time some-name-target-rs0 +++ local cluster=some-name-target-rs0 +++ local first_timestamp +++ local second_timestamp +++ local retry=0 +++ [[ '' != '' ]] ++++ kubectl_bin exec some-name-target-rs0-0 -c backup-agent -- pbm status -o json ++++ jq '.backups.pitrChunks.pitrChunks | last | .range.end' +++++ mktemp ++++ local LAST_OUT=/tmp/tmp.lrdPHbhzDT +++++ mktemp ++++ local LAST_ERR=/tmp/tmp.yuSWba47tL ++++ local exit_status=0 ++++ local timeout=4 +++++ seq 0 2 ++++ for i in $(seq 0 2) ++++ set +e ++++ kubectl exec some-name-target-rs0-0 -c backup-agent -- pbm status -o json ++++ exit_status=0 ++++ set -e ++++ '[' 0 '!=' 0 -a -n 1 ']' ++++ break ++++ cat /tmp/tmp.lrdPHbhzDT ++++ cat /tmp/tmp.yuSWba47tL ++++ rm /tmp/tmp.lrdPHbhzDT /tmp/tmp.yuSWba47tL ++++ return 0 +++ first_timestamp=1764188145 +++ sleep 5 +++ [[ 1764188145 != '' ]] +++ [[ 1764188145 != \n\u\l\l ]] ++++ kubectl_bin exec some-name-target-rs0-0 -c backup-agent -- pbm status -o json ++++ jq '.backups.pitrChunks.pitrChunks | last | .range.end' +++++ mktemp ++++ local LAST_OUT=/tmp/tmp.WrYPoeKqxx +++++ mktemp ++++ local LAST_ERR=/tmp/tmp.rWRxgnQpkJ ++++ local exit_status=0 ++++ local timeout=4 +++++ seq 0 2 ++++ for i in $(seq 0 2) ++++ set +e ++++ kubectl exec some-name-target-rs0-0 -c backup-agent -- pbm status -o json ++++ exit_status=0 ++++ set -e ++++ '[' 0 '!=' 0 -a -n 1 ']' ++++ break ++++ cat /tmp/tmp.WrYPoeKqxx ++++ cat /tmp/tmp.rWRxgnQpkJ ++++ rm /tmp/tmp.WrYPoeKqxx /tmp/tmp.rWRxgnQpkJ ++++ return 0 +++ second_timestamp=1764188145 +++ let retry+=1 +++ [[ 1 -gt 30 ]] +++ [[ 1764188145 != '' ]] +++ [[ 1764188145 != \n\u\l\l ]] +++ [[ 1764188145 == 1764188145 ]] +++ /usr/sbin/date -u -d @1764188145 +%Y-%m-%dT%H:%M:%SZ ++ format_pitr_target 2025-11-26T20:15:45Z ++ local target=2025-11-26T20:15:45Z ++ echo 2025-11-26T20:15:45Z ++ sed 's/T/ /' ++ sed s/Z// + local 'pitrTarget=2025-11-26 20:15:45' + log 'dropping collection: myApp.test' + set +o xtrace [2025-11-26T20:15:55+0000] dropping collection: myApp.test + run_mongo 'use myApp\n db.test.drop()' myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + local 'command=use myApp\n db.test.drop()' + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + 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.pArZ7xVrgp +++ mktemp ++ local LAST_ERR=/tmp/tmp.eXZttvrxWp ++ 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.pArZ7xVrgp ++ cat /tmp/tmp.eXZttvrxWp ++ rm /tmp/tmp.pArZ7xVrgp /tmp/tmp.eXZttvrxWp ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb+srv://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.5qbKgpGGB1 ++ mktemp + local LAST_ERR=/tmp/tmp.Vyj0L4Oylj + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb+srv://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.5qbKgpGGB1 Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-target-rs0-0.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-1.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017,some-name-target-rs0-2.some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("86a09d88-0d4c-439d-8a32-6e8b571875ea") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db myApp true bye + cat /tmp/tmp.Vyj0L4Oylj + rm /tmp/tmp.5qbKgpGGB1 /tmp/tmp.Vyj0L4Oylj + return 0 + log 'PiTR target is 2025-11-26 20:15:45' + set +o xtrace [2025-11-26T20:15:57+0000] PiTR target is 2025-11-26 20:15:45 + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/conf/restore-target.yml + /usr/sbin/sed -e 's/date:/date: 2025-11-26 20:15:45/' + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.d01lXq5PoW ++ mktemp + local LAST_ERR=/tmp/tmp.nlmoZzBu9U + 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.d01lXq5PoW perconaservermongodbrestore.psmdb.percona.com/restore-target-backup-minio-logical created + cat /tmp/tmp.nlmoZzBu9U + rm /tmp/tmp.d01lXq5PoW /tmp/tmp.nlmoZzBu9U + return 0 + wait_restore target-backup-minio-logical some-name-target ready + local backup_name=target-backup-minio-logical + local cluster_name=some-name-target + local target_state=ready + local wait_cluster_consistency=1 + local wait_time=1780 + local ok_if_ready=0 + set +o xtrace Waiting for the psmdb-restore/restore-target-backup-minio-logical object to be created.OK Waiting psmdb-restore/restore-target-backup-minio-logical to reach state "ready" .OK after 0 minutes + [[ 1 -eq 1 ]] + wait_cluster_consistency some-name-target + local cluster_name=some-name-target + local wait_time=32 + retry=0 + sleep 7 + echo -n 'waiting for cluster readyness' waiting for cluster readyness++ kubectl_bin get psmdb some-name-target -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.SbuYyFWkci +++ mktemp ++ local LAST_ERR=/tmp/tmp.GSciRvzK4R ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name-target -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.SbuYyFWkci ++ cat /tmp/tmp.GSciRvzK4R ++ rm /tmp/tmp.SbuYyFWkci /tmp/tmp.GSciRvzK4R ++ return 0 + [[ ready == \r\e\a\d\y ]] + echo .OK .OK + compare_mongo_cmd find myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 -3rd .svc.cluster.local myApp test 'sort( { x: 1 } )' + local command=find + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + local postfix=-3rd + local suffix=.svc.cluster.local + local database=myApp + local collection=test + local 'sort=sort( { x: 1 } )' + local tls=false + local 'full_command=db.test.find()' + [[ -n sort( { x: 1 } ) ]] + full_command='db.test.find().sort( { x: 1 } )' + log 'running db.test.find().sort( { x: 1 } ) in myApp' + set +o xtrace [2025-11-26T20:16:24+0000] running db.test.find().sort( { x: 1 } ) in myApp + [[ false == \t\r\u\e ]] + mongo_command=run_mongo + run_mongo 'use myApp\n db.test.find().sort( { x: 1 } )' myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 mongodb .svc.cluster.local + local 'command=use myApp\n db.test.find().sort( { x: 1 } )' + local uri=myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 + local driver=mongodb + egrep -v 'I NETWORK|W NETWORK|F 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 egrep: warning: egrep is obsolescent; using grep -E ++ local LAST_OUT=/tmp/tmp.Os6hU9R7q4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.sfgAHeiDcU ++ 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.Os6hU9R7q4 ++ cat /tmp/tmp.sfgAHeiDcU ++ rm /tmp/tmp.Os6hU9R7q4 /tmp/tmp.sfgAHeiDcU ++ return 0 + local client_container=psmdb-client-696897d69b-pbt2q + local mongo_flag= + [[ myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.RGXMzzaa8E ++ mktemp + local LAST_ERR=/tmp/tmp.n3sjyP8K7B + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-pbt2q -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-target-rs0.pitr-to-new-cluster-24520.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.RGXMzzaa8E + cat /tmp/tmp.n3sjyP8K7B + rm /tmp/tmp.RGXMzzaa8E /tmp/tmp.n3sjyP8K7B + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/pitr-to-new-cluster/compare/find-3rd.json /tmp/tmp.tp1jBnwxvL/find-3rd + log 'Data is restored from target-backup-minio-logical: OK' + set +o xtrace [2025-11-26T20:16:26+0000] Data is restored from target-backup-minio-logical: OK + desc 'Case 3: Backup and restore on some-name-target: OK' + set +o xtrace ----------------------------------------------------------------------------------- Case 3: Backup and restore on some-name-target: OK ----------------------------------------------------------------------------------- + desc 'test passed' + set +o xtrace ----------------------------------------------------------------------------------- test passed ----------------------------------------------------------------------------------- + destroy pitr-to-new-cluster-24520 + local namespace=pitr-to-new-cluster-24520 + local ignore_logs=true + [[ 0 == 1 ]] + desc 'destroy cluster/operator and all other resources' + set +o xtrace ----------------------------------------------------------------------------------- destroy cluster/operator and all other resources ----------------------------------------------------------------------------------- + '[' true == false ']' + delete_backups + desc 'Delete psmdb-backup' + set +o xtrace ----------------------------------------------------------------------------------- Delete psmdb-backup ----------------------------------------------------------------------------------- ++ kubectl_bin get psmdb-backup --no-headers +++ mktemp ++ wc -l ++ local LAST_OUT=/tmp/tmp.RiySxqCsPQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.Ds39d04soq ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb-backup --no-headers ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.RiySxqCsPQ ++ cat /tmp/tmp.Ds39d04soq ++ rm /tmp/tmp.RiySxqCsPQ /tmp/tmp.Ds39d04soq ++ return 0 + '[' 3 '!=' 0 ']' + kubectl_bin get psmdb-backup ++ mktemp + local LAST_OUT=/tmp/tmp.5CuUZA9irP ++ mktemp + local LAST_ERR=/tmp/tmp.7rcPOaTo2E + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get psmdb-backup + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.5CuUZA9irP NAME CLUSTER STORAGE DESTINATION TYPE SIZE STATUS COMPLETED AGE backup-minio-logical some-name-source minio s3://operator-testing/some-name-source/2025-11-26T20:02:28Z logical 54.15KB ready 13m 14m backup-minio-physical some-name-source minio s3://operator-testing/some-name-source/2025-11-26T20:03:52Z physical 588.64KB ready 12m 12m target-backup-minio-logical some-name-target minio s3://operator-testing/some-name-target/2025-11-26T20:13:45Z logical 49.96KB ready 2m36s 2m42s + cat /tmp/tmp.7rcPOaTo2E + rm /tmp/tmp.5CuUZA9irP /tmp/tmp.7rcPOaTo2E + return 0 + kubectl_bin delete psmdb-backup --all ++ mktemp + local LAST_OUT=/tmp/tmp.kql6D2BMJY ++ mktemp + local LAST_ERR=/tmp/tmp.2OterQewxY + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete psmdb-backup --all + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.kql6D2BMJY perconaservermongodbbackup.psmdb.percona.com "backup-minio-logical" deleted from pitr-to-new-cluster-24520 namespace perconaservermongodbbackup.psmdb.percona.com "backup-minio-physical" deleted from pitr-to-new-cluster-24520 namespace perconaservermongodbbackup.psmdb.percona.com "target-backup-minio-logical" deleted from pitr-to-new-cluster-24520 namespace + cat /tmp/tmp.2OterQewxY + rm /tmp/tmp.kql6D2BMJY /tmp/tmp.2OterQewxY + return 0 + 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-2084/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.OhLBlpvg85 ++ mktemp + local LAST_ERR=/tmp/tmp.fU1qpvdo7v + 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-2084/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.OhLBlpvg85 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.fU1qpvdo7v + rm /tmp/tmp.OhLBlpvg85 /tmp/tmp.fU1qpvdo7v + return 0 ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/deploy/crd.yaml ++ grep -v '\-\-\-' grep: warning: stray \ before - grep: warning: stray \ before - + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbbackups.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbbackups.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbbackups" + kubectl patch perconaservermongodbbackups.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbbackups" + : + kubectl_bin wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.pORo1wRVYt ++ mktemp + local LAST_ERR=/tmp/tmp.HVkxmIKHFD + 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.pORo1wRVYt + cat /tmp/tmp.HVkxmIKHFD + rm /tmp/tmp.pORo1wRVYt /tmp/tmp.HVkxmIKHFD + 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.2KmCUI9bzj ++ mktemp + local LAST_ERR=/tmp/tmp.DDawSAiJWg + 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.2KmCUI9bzj + cat /tmp/tmp.DDawSAiJWg + rm /tmp/tmp.2KmCUI9bzj /tmp/tmp.DDawSAiJWg + return 0 + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbs.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbs.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbs" + kubectl patch perconaservermongodbs.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbs" + : + kubectl_bin wait --for=delete crd perconaservermongodbs.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.0tS8maSth8 ++ mktemp + local LAST_ERR=/tmp/tmp.yebVMTwq62 + 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.0tS8maSth8 + cat /tmp/tmp.yebVMTwq62 + rm /tmp/tmp.0tS8maSth8 /tmp/tmp.yebVMTwq62 + 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-2084/deploy/cw-rbac.yaml --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.D0HgupyEob ++ mktemp + local LAST_ERR=/tmp/tmp.hfKyotzL5J + 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-2084/deploy/cw-rbac.yaml --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.D0HgupyEob 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.hfKyotzL5J + rm /tmp/tmp.D0HgupyEob /tmp/tmp.hfKyotzL5J + return 0 + destroy_cert_manager + kubectl_bin delete -f https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.2888ppoZVX ++ mktemp + local LAST_ERR=/tmp/tmp.yYZHEp6KUN + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete -f https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.2888ppoZVX + cat /tmp/tmp.yYZHEp6KUN Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": namespaces "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "challenges.acme.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "orders.acme.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "certificaterequests.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "certificates.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "clusterissuers.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "issuers.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": serviceaccounts "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": serviceaccounts "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": serviceaccounts "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-issuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-clusterissuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-certificates" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-orders" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-challenges" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-ingress-shim" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-cluster-view" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-view" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-edit" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-approve:cert-manager-io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-certificatesigningrequests" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-webhook:subjectaccessreviews" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-issuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-clusterissuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-certificates" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-orders" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-challenges" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-ingress-shim" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-approve:cert-manager-io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-certificatesigningrequests" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-webhook:subjectaccessreviews" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager-cainjector:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager-tokenrequest" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager-webhook:dynamic-serving" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager-cainjector:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager-tokenrequest" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager-webhook:dynamic-serving" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": services "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": services "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": services "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": deployments.apps "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": deployments.apps "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": deployments.apps "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": mutatingwebhookconfigurations.admissionregistration.k8s.io "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": validatingwebhookconfigurations.admissionregistration.k8s.io "cert-manager-webhook" not found + sleep 0 + for i in $(seq 0 2) + set +e + kubectl delete -f https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.2888ppoZVX + cat /tmp/tmp.yYZHEp6KUN Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": namespaces "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "challenges.acme.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "orders.acme.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "certificaterequests.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "certificates.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "clusterissuers.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "issuers.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": serviceaccounts "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": serviceaccounts "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": serviceaccounts "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-issuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-clusterissuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-certificates" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-orders" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-challenges" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-ingress-shim" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-cluster-view" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-view" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-edit" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-approve:cert-manager-io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-certificatesigningrequests" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-webhook:subjectaccessreviews" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-issuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-clusterissuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-certificates" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-orders" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-challenges" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-ingress-shim" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-approve:cert-manager-io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-certificatesigningrequests" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-webhook:subjectaccessreviews" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager-cainjector:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager-tokenrequest" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager-webhook:dynamic-serving" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager-cainjector:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager-tokenrequest" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager-webhook:dynamic-serving" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": services "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": services "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": services "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": deployments.apps "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": deployments.apps "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": deployments.apps "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": mutatingwebhookconfigurations.admissionregistration.k8s.io "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": validatingwebhookconfigurations.admissionregistration.k8s.io "cert-manager-webhook" not found + sleep 4 + for i in $(seq 0 2) + set +e + kubectl delete -f https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.2888ppoZVX + cat /tmp/tmp.yYZHEp6KUN Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": namespaces "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "challenges.acme.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "orders.acme.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "certificaterequests.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "certificates.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "clusterissuers.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "issuers.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": serviceaccounts "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": serviceaccounts "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": serviceaccounts "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-issuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-clusterissuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-certificates" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-orders" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-challenges" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-ingress-shim" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-cluster-view" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-view" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-edit" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-approve:cert-manager-io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-certificatesigningrequests" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-webhook:subjectaccessreviews" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-issuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-clusterissuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-certificates" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-orders" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-challenges" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-ingress-shim" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-approve:cert-manager-io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-certificatesigningrequests" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-webhook:subjectaccessreviews" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager-cainjector:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager-tokenrequest" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager-webhook:dynamic-serving" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager-cainjector:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager-tokenrequest" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager-webhook:dynamic-serving" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": services "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": services "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": services "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": deployments.apps "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": deployments.apps "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": deployments.apps "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": mutatingwebhookconfigurations.admissionregistration.k8s.io "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": validatingwebhookconfigurations.admissionregistration.k8s.io "cert-manager-webhook" not found + sleep 8 + cat /tmp/tmp.2888ppoZVX + cat /tmp/tmp.yYZHEp6KUN Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": namespaces "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "challenges.acme.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "orders.acme.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "certificaterequests.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "certificates.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "clusterissuers.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": customresourcedefinitions.apiextensions.k8s.io "issuers.cert-manager.io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": serviceaccounts "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": serviceaccounts "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": serviceaccounts "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-issuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-clusterissuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-certificates" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-orders" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-challenges" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-ingress-shim" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-cluster-view" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-view" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-edit" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-approve:cert-manager-io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-controller-certificatesigningrequests" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterroles.rbac.authorization.k8s.io "cert-manager-webhook:subjectaccessreviews" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-issuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-clusterissuers" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-certificates" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-orders" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-challenges" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-ingress-shim" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-approve:cert-manager-io" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-controller-certificatesigningrequests" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": clusterrolebindings.rbac.authorization.k8s.io "cert-manager-webhook:subjectaccessreviews" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager-cainjector:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager-tokenrequest" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": roles.rbac.authorization.k8s.io "cert-manager-webhook:dynamic-serving" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager-cainjector:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager:leaderelection" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager-tokenrequest" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": rolebindings.rbac.authorization.k8s.io "cert-manager-webhook:dynamic-serving" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": services "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": services "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": services "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": deployments.apps "cert-manager-cainjector" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": deployments.apps "cert-manager" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": deployments.apps "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": mutatingwebhookconfigurations.admissionregistration.k8s.io "cert-manager-webhook" not found Error from server (NotFound): error when deleting "https://github.com/cert-manager/cert-manager/releases/download/v1.19.1/cert-manager.yaml": validatingwebhookconfigurations.admissionregistration.k8s.io "cert-manager-webhook" not found + rm /tmp/tmp.2888ppoZVX /tmp/tmp.yYZHEp6KUN + return 1 + true + '[' -n '' ']' + '[' -n psmdb-operator ']' + kubectl_bin delete --grace-period=0 --force=true namespace pitr-to-new-cluster-24520 + rm -rf /tmp/tmp.tp1jBnwxvL + kubectl_bin delete --grace-period=0 --force=true namespace psmdb-operator ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.cKeZVuTCgY ++ mktemp + local LAST_OUT=/tmp/tmp.UswO3fjD6m ++ mktemp + local LAST_ERR=/tmp/tmp.ijuO7gLdvw + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.y58JFojB6g + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete --grace-period=0 --force=true namespace psmdb-operator + for i in $(seq 0 2) + set +e + kubectl delete --grace-period=0 --force=true namespace pitr-to-new-cluster-24520