Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/logs/multi-storage.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 + cluster=some-name + create_infra multi-storage-18977 + local ns=multi-storage-18977 + [[ 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.7KV6h93173 ++ mktemp + local LAST_ERR=/tmp/tmp.NDY6qgUR3n + 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.7KV6h93173 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.NDY6qgUR3n + rm /tmp/tmp.7KV6h93173 /tmp/tmp.NDY6qgUR3n + 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.deJq42csx7 ++ mktemp + local LAST_ERR=/tmp/tmp.seMYn5A3zr + 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.deJq42csx7 customresourcedefinition.apiextensions.k8s.io/perconaservermongodbbackups.psmdb.percona.com condition met + cat /tmp/tmp.seMYn5A3zr + rm /tmp/tmp.deJq42csx7 /tmp/tmp.seMYn5A3zr + 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.ZTRZHTzknP ++ mktemp + local LAST_ERR=/tmp/tmp.XU7KJ02Gnc + 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.ZTRZHTzknP + cat /tmp/tmp.XU7KJ02Gnc + rm /tmp/tmp.ZTRZHTzknP /tmp/tmp.XU7KJ02Gnc + 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.VkxzsYJ4L6 ++ mktemp + local LAST_ERR=/tmp/tmp.xxyCgFx02r + 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.VkxzsYJ4L6 + cat /tmp/tmp.xxyCgFx02r + rm /tmp/tmp.VkxzsYJ4L6 /tmp/tmp.xxyCgFx02r + 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.jfZPlAxMVc ++ mktemp + local LAST_ERR=/tmp/tmp.vyza3wfn8p + 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.jfZPlAxMVc 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.vyza3wfn8p + rm /tmp/tmp.jfZPlAxMVc /tmp/tmp.vyza3wfn8p + 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.lyMDQzGfje +++ mktemp ++ local LAST_ERR=/tmp/tmp.qS4ZIW4Xp9 ++ 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.lyMDQzGfje ++ cat /tmp/tmp.qS4ZIW4Xp9 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.lyMDQzGfje ++ cat /tmp/tmp.qS4ZIW4Xp9 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.lyMDQzGfje ++ cat /tmp/tmp.qS4ZIW4Xp9 Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 8 ++ cat /tmp/tmp.lyMDQzGfje ++ cat /tmp/tmp.qS4ZIW4Xp9 Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ rm /tmp/tmp.lyMDQzGfje /tmp/tmp.qS4ZIW4Xp9 ++ 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 ++ awk '{print $1}' ++ grep chaos-mesh.org + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + egrep -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + '[' -n '' ']' + awk '{print$1}' + desc 'cleaned up old namespaces psmdb-operator' ++ mktemp + 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.27xoIQcCJk egrep: warning: egrep is obsolescent; using grep -E ++ mktemp + local LAST_OUT=/tmp/tmp.73u30b7FrZ ++ mktemp + local LAST_ERR=/tmp/tmp.F5tb8RDKPU + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.3KKb08ypgz + 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.27xoIQcCJk + cat /tmp/tmp.F5tb8RDKPU + rm /tmp/tmp.27xoIQcCJk /tmp/tmp.F5tb8RDKPU + return 0 namespace "multi-storage-30414" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.73u30b7FrZ namespace "psmdb-operator" deleted + cat /tmp/tmp.3KKb08ypgz + rm /tmp/tmp.73u30b7FrZ /tmp/tmp.3KKb08ypgz + return 0 + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.unYRpnddsD ++ mktemp + local LAST_ERR=/tmp/tmp.9IfIY4gyhl + 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.unYRpnddsD + cat /tmp/tmp.9IfIY4gyhl + rm /tmp/tmp.unYRpnddsD /tmp/tmp.9IfIY4gyhl + 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.T2SVj9TuRf ++ mktemp + local LAST_ERR=/tmp/tmp.oqXLJ0YOAt + 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.T2SVj9TuRf namespace/psmdb-operator created + cat /tmp/tmp.oqXLJ0YOAt + rm /tmp/tmp.T2SVj9TuRf /tmp/tmp.oqXLJ0YOAt + return 0 + set_kube_ctx psmdb-operator + local namespace=psmdb-operator ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.p0JMylRrvg +++ mktemp ++ local LAST_ERR=/tmp/tmp.T91H2PFjIs ++ 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.p0JMylRrvg ++ cat /tmp/tmp.T91H2PFjIs ++ rm /tmp/tmp.p0JMylRrvg /tmp/tmp.T91H2PFjIs ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2084-c7bb9e93-6-cluster1 --namespace=psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.FenAkFxCXb ++ mktemp + local LAST_ERR=/tmp/tmp.Dp3lrsnhmg + 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-cluster1 --namespace=psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.FenAkFxCXb Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2084-c7bb9e93-6-cluster1" modified. + cat /tmp/tmp.Dp3lrsnhmg + rm /tmp/tmp.FenAkFxCXb /tmp/tmp.Dp3lrsnhmg + 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/multi-storage/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.ifq7EEz03b ++ mktemp + local LAST_ERR=/tmp/tmp.X4U98j4IcW + 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.ifq7EEz03b 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.X4U98j4IcW + rm /tmp/tmp.ifq7EEz03b /tmp/tmp.X4U98j4IcW + 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.mDLUiKVVMt ++ mktemp + local LAST_ERR=/tmp/tmp.2PwisQdvyZ + 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.mDLUiKVVMt 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.2PwisQdvyZ + rm /tmp/tmp.mDLUiKVVMt /tmp/tmp.2PwisQdvyZ + 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.myvmsLtXAU ++ mktemp + local LAST_ERR=/tmp/tmp.y8sbvGhprx + 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.myvmsLtXAU deployment.apps/percona-server-mongodb-operator created + cat /tmp/tmp.y8sbvGhprx + rm /tmp/tmp.myvmsLtXAU /tmp/tmp.y8sbvGhprx + 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.j2aWjkUDoX +++ mktemp ++ local LAST_ERR=/tmp/tmp.v8msvXBT0u ++ 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.j2aWjkUDoX ++ cat /tmp/tmp.v8msvXBT0u ++ rm /tmp/tmp.j2aWjkUDoX /tmp/tmp.v8msvXBT0u ++ return 0 + wait_operator_pod percona-server-mongodb-operator-69f66fc8f5-m7qnq + local pod=percona-server-mongodb-operator-69f66fc8f5-m7qnq + set +o xtrace waiting for pod/percona-server-mongodb-operator-69f66fc8f5-m7qnq 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.jTDKIVBHiw +++ mktemp ++ local LAST_ERR=/tmp/tmp.ToKvZWu8T6 ++ 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.jTDKIVBHiw ++ cat /tmp/tmp.ToKvZWu8T6 ++ rm /tmp/tmp.jTDKIVBHiw /tmp/tmp.ToKvZWu8T6 ++ return 0 + kubectl_bin logs -n psmdb-operator percona-server-mongodb-operator-69f66fc8f5-m7qnq ++ mktemp + local LAST_OUT=/tmp/tmp.sN5XWQxKE9 ++ mktemp + local LAST_ERR=/tmp/tmp.HpXOabsxgc + 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-m7qnq + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.sN5XWQxKE9 + cat /tmp/tmp.HpXOabsxgc + rm /tmp/tmp.sN5XWQxKE9 /tmp/tmp.HpXOabsxgc + return 0 2025-11-26T19:26:34.893Z INFO setup Manager starting up {"gitCommit": "c7bb9e93ac2d18b3eb78a62d14abe5114d4b7e25", "gitBranch": "PR-2084-c7bb9e93", "buildTime": "", "goVersion": "go1.25.4", "os": "linux", "arch": "amd64"} + create_namespace multi-storage-18977 + local namespace=multi-storage-18977 + 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 + : ++ grep chaos-mesh ++ kubectl get ValidatingWebhookConfiguration ++ 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 ++ awk '{print $1}' ++ grep chaos-mesh.org + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + egrep -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' ++ mktemp + '[' -n '' ']' + awk '{print$1}' + desc 'cleaned up old namespaces multi-storage-18977' + set +o xtrace + xargs kubectl delete ns ----------------------------------------------------------------------------------- cleaned up old namespaces multi-storage-18977 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace multi-storage-18977 --ignore-not-found + local LAST_OUT=/tmp/tmp.zZVVfAvZyS ++ mktemp ++ mktemp egrep: warning: egrep is obsolescent; using grep -E + local LAST_ERR=/tmp/tmp.8BUfB6jXmW + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_OUT=/tmp/tmp.XwNFteuVjg + for i in $(seq 0 2) + set +e + kubectl get ns ++ mktemp + local LAST_ERR=/tmp/tmp.c3UC12VrmZ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete namespace multi-storage-18977 --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.zZVVfAvZyS + cat /tmp/tmp.8BUfB6jXmW + rm /tmp/tmp.zZVVfAvZyS /tmp/tmp.8BUfB6jXmW + 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.XwNFteuVjg + cat /tmp/tmp.c3UC12VrmZ + rm /tmp/tmp.XwNFteuVjg /tmp/tmp.c3UC12VrmZ + return 0 + kubectl_bin wait --for=delete namespace multi-storage-18977 ++ mktemp + local LAST_OUT=/tmp/tmp.T4xvi5JYMF ++ mktemp + local LAST_ERR=/tmp/tmp.yXiMv9Rt3l + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete namespace multi-storage-18977 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.T4xvi5JYMF + cat /tmp/tmp.yXiMv9Rt3l + rm /tmp/tmp.T4xvi5JYMF /tmp/tmp.yXiMv9Rt3l + return 0 + desc 'create namespace multi-storage-18977' + set +o xtrace ----------------------------------------------------------------------------------- create namespace multi-storage-18977 ----------------------------------------------------------------------------------- + kubectl_bin create namespace multi-storage-18977 ++ mktemp + local LAST_OUT=/tmp/tmp.Tun2dJ3JmG ++ mktemp + local LAST_ERR=/tmp/tmp.uqkPgZU1bp + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl create namespace multi-storage-18977 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Tun2dJ3JmG namespace/multi-storage-18977 created + cat /tmp/tmp.uqkPgZU1bp + rm /tmp/tmp.Tun2dJ3JmG /tmp/tmp.uqkPgZU1bp + return 0 + set_kube_ctx multi-storage-18977 + local namespace=multi-storage-18977 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.2fUsVPVlx6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.kFQJ7xlVXa ++ 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.2fUsVPVlx6 ++ cat /tmp/tmp.kFQJ7xlVXa ++ rm /tmp/tmp.2fUsVPVlx6 /tmp/tmp.kFQJ7xlVXa ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2084-c7bb9e93-6-cluster1 --namespace=multi-storage-18977 ++ mktemp + local LAST_OUT=/tmp/tmp.dQqcmfWiG5 ++ mktemp + local LAST_ERR=/tmp/tmp.SK5lylbu4e + 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-cluster1 --namespace=multi-storage-18977 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.dQqcmfWiG5 Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2084-c7bb9e93-6-cluster1" modified. + cat /tmp/tmp.SK5lylbu4e + rm /tmp/tmp.dQqcmfWiG5 /tmp/tmp.SK5lylbu4e + 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:27:09 2025 NAMESPACE: multi-storage-18977 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.multi-storage-18977.cluster.local To access MinIO from localhost, run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace multi-storage-18977 -l "release=minio-service" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace multi-storage-18977 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 multi-storage-18977 minio-service -o jsonpath="{.data.rootUser}" | base64 --decode):$(kubectl get secret --namespace multi-storage-18977 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.1Mrg8aKfST +++ mktemp ++ local LAST_ERR=/tmp/tmp.vSnaAKJTuW ++ 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.1Mrg8aKfST ++ cat /tmp/tmp.vSnaAKJTuW ++ rm /tmp/tmp.1Mrg8aKfST /tmp/tmp.vSnaAKJTuW ++ return 0 + MINIO_POD=minio-service-d9589b474-j2pqv + wait_pod minio-service-d9589b474-j2pqv + local pod=minio-service-d9589b474-j2pqv + set +o xtrace waiting for pod/minio-service-d9589b474-j2pqv to be ready.OK + '[' -n psmdb-operator ']' + kubectl_bin create svc -n psmdb-operator externalname minio-service --external-name=minio-service.multi-storage-18977.svc.cluster.local --tcp=9000 ++ mktemp + local LAST_OUT=/tmp/tmp.rRnzAkebUv ++ mktemp + local LAST_ERR=/tmp/tmp.3ljW0pP2Dj + 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.multi-storage-18977.svc.cluster.local --tcp=9000 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.rRnzAkebUv service/minio-service created + cat /tmp/tmp.3ljW0pP2Dj + rm /tmp/tmp.rRnzAkebUv /tmp/tmp.3ljW0pP2Dj + 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.niUFj2aOuI ++ mktemp + local LAST_ERR=/tmp/tmp.iIWtB86PmD + 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.niUFj2aOuI make_bucket: operator-testing pod "aws-cli" deleted from multi-storage-18977 namespace + cat /tmp/tmp.iIWtB86PmD + rm /tmp/tmp.niUFj2aOuI /tmp/tmp.iIWtB86PmD + return 0 + create_minio_bucket operator-testing-2 + local bucket=operator-testing-2 + 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-2' ++ mktemp + local LAST_OUT=/tmp/tmp.E10yYE8Fft ++ mktemp + local LAST_ERR=/tmp/tmp.wyNGbYFKIK + 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-2' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.E10yYE8Fft make_bucket: operator-testing-2 pod "aws-cli" deleted from multi-storage-18977 namespace + cat /tmp/tmp.wyNGbYFKIK + rm /tmp/tmp.E10yYE8Fft /tmp/tmp.wyNGbYFKIK + return 0 + create_minio_bucket operator-testing-3 + local bucket=operator-testing-3 + 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-3' ++ mktemp + local LAST_OUT=/tmp/tmp.PM9zZatTzs ++ mktemp + local LAST_ERR=/tmp/tmp.xs0AU20EEY + 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-3' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.PM9zZatTzs make_bucket: operator-testing-3 pod "aws-cli" deleted from multi-storage-18977 namespace + cat /tmp/tmp.xs0AU20EEY 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_multi-storage-18977 + rm /tmp/tmp.PM9zZatTzs /tmp/tmp.xs0AU20EEY + return 0 + log 'create secrets and start client' + set +o xtrace [2025-11-26T19:27:53+0000] 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.QILUmv1X4s ++ mktemp + local LAST_ERR=/tmp/tmp.BLQlQrX8Nl + 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.QILUmv1X4s secret/some-users created deployment.apps/psmdb-client created secret/minio-secret created + cat /tmp/tmp.BLQlQrX8Nl + rm /tmp/tmp.QILUmv1X4s /tmp/tmp.BLQlQrX8Nl + return 0 + log 'create PSMDB cluster: some-name' + set +o xtrace [2025-11-26T19:27:55+0000] create PSMDB cluster: some-name + apply_cluster /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/conf/some-name.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/conf/some-name.yml + kubectl_bin apply -f - + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/conf/some-name.yml + yq eval '(.spec | select(.image == null)).image = "perconalab/percona-server-mongodb-operator:main-mongod8.0"' ++ mktemp + yq eval '(.spec | select(has("initImage"))).initImage = "perconalab/percona-server-mongodb-operator:PR-2084-c7bb9e93"' + yq eval '(.spec | select(has("pmm"))).pmm.image = "percona/pmm-client:2.44.1-1"' + local LAST_OUT=/tmp/tmp.GlrE1CCL19 + yq eval '.spec.upgradeOptions.apply="Never"' + yq eval '(.spec | select(has("backup"))).backup.image = "percona/percona-backup-mongodb:2.11.0"' ++ mktemp + local LAST_ERR=/tmp/tmp.ndh0tbwbKD + 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.GlrE1CCL19 perconaservermongodb.psmdb.percona.com/some-name created + cat /tmp/tmp.ndh0tbwbKD + rm /tmp/tmp.GlrE1CCL19 /tmp/tmp.ndh0tbwbKD + return 0 + log 'check if all 3 Pods started' + set +o xtrace [2025-11-26T19:27:58+0000] check if all 3 Pods started + wait_for_running some-name-rs0 3 + local name=some-name-rs0 + let last_pod=2 + local check_cluster_readyness=true + set_debug + [[ 1 == 1 ]] + set -o xtrace + local rs_name=rs0 + local cluster_name=some-name ++ seq 0 2 + for i in $(seq 0 $last_pod) + [[ 0 -eq 2 ]] + wait_pod some-name-rs0-0 + local pod=some-name-rs0-0 + set +o xtrace waiting for pod/some-name-rs0-0 to be ready........OK + for i in $(seq 0 $last_pod) + [[ 1 -eq 2 ]] + wait_pod some-name-rs0-1 + local pod=some-name-rs0-1 + set +o xtrace waiting for pod/some-name-rs0-1 to be ready.....OK + for i in $(seq 0 $last_pod) + [[ 2 -eq 2 ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.VEXfXJK7No +++ mktemp ++ local LAST_ERR=/tmp/tmp.EEqxEqwyYq ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.VEXfXJK7No ++ cat /tmp/tmp.EEqxEqwyYq ++ rm /tmp/tmp.VEXfXJK7No /tmp/tmp.EEqxEqwyYq ++ return 0 + [[ '' == \t\r\u\e ]] + wait_pod some-name-rs0-2 + local pod=some-name-rs0-2 + set +o xtrace waiting for pod/some-name-rs0-2 to be ready......OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.cgGyjFJ400 +++ mktemp ++ local LAST_ERR=/tmp/tmp.Uh2NblUKYF ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.cgGyjFJ400 ++ cat /tmp/tmp.Uh2NblUKYF ++ rm /tmp/tmp.cgGyjFJ400 /tmp/tmp.Uh2NblUKYF ++ return 0 + [[ '' == \t\r\u\e ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Aq8Fr1vblh +++ mktemp ++ local LAST_ERR=/tmp/tmp.6qb6W191rv ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.Aq8Fr1vblh ++ cat /tmp/tmp.6qb6W191rv ++ rm /tmp/tmp.Aq8Fr1vblh /tmp/tmp.6qb6W191rv ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ true == \t\r\u\e ]] + set +x Waiting for cluster readyness + wait_backup_agent some-name-rs0-0 + local agent_pod=some-name-rs0-0 + set +o xtrace waiting for pbm-agent to be ready in some-name-rs0-0...2025-11-26T19:29:15.000+0000 I listening for the commands + wait_backup_agent some-name-rs0-1 + local agent_pod=some-name-rs0-1 + set +o xtrace waiting for pbm-agent to be ready in some-name-rs0-1...2025-11-26T19:29:20.000+0000 I listening for the commands + wait_backup_agent some-name-rs0-2 + local agent_pod=some-name-rs0-2 + set +o xtrace waiting for pbm-agent to be ready in some-name-rs0-2...2025-11-26T19:29:21.000+0000 I listening for the commands + create_user + log 'create user myApp' + set +o xtrace [2025-11-26T19:29:24+0000] create user myApp + run_mongo 'db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})' userAdmin:userAdmin123456@some-name-rs0.multi-storage-18977 mongodb + local 'command=db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})' + local uri=userAdmin:userAdmin123456@some-name-rs0.multi-storage-18977 + 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.BDu2btuikH +++ mktemp ++ local LAST_ERR=/tmp/tmp.FlwlJeCDTq ++ 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.BDu2btuikH ++ cat /tmp/tmp.FlwlJeCDTq ++ rm /tmp/tmp.BDu2btuikH /tmp/tmp.FlwlJeCDTq ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ userAdmin:userAdmin123456@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n'\'' | mongo mongodb://userAdmin:userAdmin123456@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.dkx4SMKbqA ++ mktemp + local LAST_ERR=/tmp/tmp.FMmZ57bRXO + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n'\'' | mongo mongodb://userAdmin:userAdmin123456@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.dkx4SMKbqA Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("d9946f24-aca7-4584-b2ac-a9015b247ec7") } 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.FMmZ57bRXO + rm /tmp/tmp.dkx4SMKbqA /tmp/tmp.FMmZ57bRXO + return 0 + write_document 100500 + local x=100500 + local cmp_postfix= + log 'write document: 100500' + set +o xtrace [2025-11-26T19:29:27+0000] write document: 100500 + run_mongo 'use myApp\n db.test.insert({ x: 100500 })' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.insert({ x: 100500 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.2PgBrA9ekP +++ mktemp ++ local LAST_ERR=/tmp/tmp.L2J4szhPgd ++ 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.2PgBrA9ekP ++ cat /tmp/tmp.L2J4szhPgd ++ rm /tmp/tmp.2PgBrA9ekP /tmp/tmp.L2J4szhPgd ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100500 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.EhCtB1WzMf ++ mktemp + local LAST_ERR=/tmp/tmp.mp8UskGwpk + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100500 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.EhCtB1WzMf Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("51c1a3c4-8552-4d0f-8b4a-4e8181cb9e0b") } 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.mp8UskGwpk + rm /tmp/tmp.EhCtB1WzMf /tmp/tmp.mp8UskGwpk + return 0 + run_backup minio-1 backup-minio-1 logical + local storage=minio-1 + local name=backup-minio-1 + local type=logical + log 'creating backup: backup-minio-1 (logical)' + set +o xtrace [2025-11-26T19:29:30+0000] creating backup: backup-minio-1 (logical) + yq eval '.metadata.name = "backup-minio-1" | .spec.storageName = "minio-1" | .spec.type = "logical"' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/conf/backup.yml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.xk0IJtkFpo ++ mktemp + local LAST_ERR=/tmp/tmp.rmaw8NEG7D + 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.xk0IJtkFpo perconaservermongodbbackup.psmdb.percona.com/backup-minio-1 created + cat /tmp/tmp.rmaw8NEG7D + rm /tmp/tmp.xk0IJtkFpo /tmp/tmp.rmaw8NEG7D + return 0 + wait_backup backup-minio-1 + local backup_name=backup-minio-1 + local target_state=ready + set +o xtrace waiting for backup-minio-1 to reach ready state.......OK + run_backup minio-2 backup-minio-2 logical + local storage=minio-2 + local name=backup-minio-2 + local type=logical + log 'creating backup: backup-minio-2 (logical)' + set +o xtrace [2025-11-26T19:29:45+0000] creating backup: backup-minio-2 (logical) + yq eval '.metadata.name = "backup-minio-2" | .spec.storageName = "minio-2" | .spec.type = "logical"' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/conf/backup.yml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.xnfLigfscE ++ mktemp + local LAST_ERR=/tmp/tmp.a94aag4hv8 + 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.xnfLigfscE perconaservermongodbbackup.psmdb.percona.com/backup-minio-2 created + cat /tmp/tmp.a94aag4hv8 + rm /tmp/tmp.xnfLigfscE /tmp/tmp.a94aag4hv8 + return 0 + wait_backup backup-minio-2 + local backup_name=backup-minio-2 + local target_state=ready + set +o xtrace waiting for backup-minio-2 to reach ready state......OK + run_backup minio-3 backup-minio-3 physical + local storage=minio-3 + local name=backup-minio-3 + local type=physical + log 'creating backup: backup-minio-3 (physical)' + set +o xtrace [2025-11-26T19:29:58+0000] creating backup: backup-minio-3 (physical) + yq eval '.metadata.name = "backup-minio-3" | .spec.storageName = "minio-3" | .spec.type = "physical"' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/conf/backup.yml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.iSDVVNWAcr ++ mktemp + local LAST_ERR=/tmp/tmp.fPhDwmLKik + 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.iSDVVNWAcr perconaservermongodbbackup.psmdb.percona.com/backup-minio-3 created + cat /tmp/tmp.fPhDwmLKik + rm /tmp/tmp.iSDVVNWAcr /tmp/tmp.fPhDwmLKik + return 0 + wait_backup backup-minio-3 + local backup_name=backup-minio-3 + local target_state=ready + set +o xtrace waiting for backup-minio-3 to reach ready state.......OK + write_document 100501 + local x=100501 + local cmp_postfix= + log 'write document: 100501' + set +o xtrace [2025-11-26T19:30:12+0000] write document: 100501 + run_mongo 'use myApp\n db.test.insert({ x: 100501 })' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.insert({ x: 100501 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.jWgjh02Ss8 +++ mktemp ++ local LAST_ERR=/tmp/tmp.aprO1xXZa3 ++ 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.jWgjh02Ss8 ++ cat /tmp/tmp.aprO1xXZa3 ++ rm /tmp/tmp.jWgjh02Ss8 /tmp/tmp.aprO1xXZa3 ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100501 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.Zmq2PYW79x ++ mktemp + local LAST_ERR=/tmp/tmp.xhFUOVkaqw + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100501 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Zmq2PYW79x Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("b9b09a53-4b7b-4546-9fbb-a646a42e223e") } 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.xhFUOVkaqw + rm /tmp/tmp.Zmq2PYW79x /tmp/tmp.xhFUOVkaqw + return 0 + write_document 100502 + local x=100502 + local cmp_postfix= + log 'write document: 100502' + set +o xtrace [2025-11-26T19:30:15+0000] write document: 100502 + run_mongo 'use myApp\n db.test.insert({ x: 100502 })' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.insert({ x: 100502 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.NnX8hOk4hC +++ mktemp ++ local LAST_ERR=/tmp/tmp.1EdswMNvI6 ++ 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.NnX8hOk4hC ++ cat /tmp/tmp.1EdswMNvI6 ++ rm /tmp/tmp.NnX8hOk4hC /tmp/tmp.1EdswMNvI6 ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100502 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.Gdvs2YNz3R ++ mktemp + local LAST_ERR=/tmp/tmp.EDePlT0acJ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100502 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Gdvs2YNz3R Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("9b689397-a7d4-45de-8054-5ad8437cacda") } 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.EDePlT0acJ + rm /tmp/tmp.Gdvs2YNz3R /tmp/tmp.EDePlT0acJ + return 0 + write_document 100503 + local x=100503 + local cmp_postfix= + log 'write document: 100503' + set +o xtrace [2025-11-26T19:30:18+0000] write document: 100503 + run_mongo 'use myApp\n db.test.insert({ x: 100503 })' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.insert({ x: 100503 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.F6GeqjXdUn +++ mktemp ++ local LAST_ERR=/tmp/tmp.tfQpyrMsKG ++ 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.F6GeqjXdUn ++ cat /tmp/tmp.tfQpyrMsKG ++ rm /tmp/tmp.F6GeqjXdUn /tmp/tmp.tfQpyrMsKG ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100503 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.xsAxUcZ36a ++ mktemp + local LAST_ERR=/tmp/tmp.89J1MLXovC + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100503 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.xsAxUcZ36a Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("64d32b0a-3246-4897-a0dc-a705652aec3f") } 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.89J1MLXovC + rm /tmp/tmp.xsAxUcZ36a /tmp/tmp.89J1MLXovC + return 0 + write_document 100504 + local x=100504 + local cmp_postfix= + log 'write document: 100504' + set +o xtrace [2025-11-26T19:30:20+0000] write document: 100504 + run_mongo 'use myApp\n db.test.insert({ x: 100504 })' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.insert({ x: 100504 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.xP4bFzTDIM +++ mktemp ++ local LAST_ERR=/tmp/tmp.KpIvsGN22H ++ 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.xP4bFzTDIM ++ cat /tmp/tmp.KpIvsGN22H ++ rm /tmp/tmp.xP4bFzTDIM /tmp/tmp.KpIvsGN22H ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100504 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.t42am6s4jo ++ mktemp + local LAST_ERR=/tmp/tmp.RP4EVczgHG + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100504 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.t42am6s4jo Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("0c3f0f5b-12f6-4f3d-b7fb-2cc9baa66002") } 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.RP4EVczgHG + rm /tmp/tmp.t42am6s4jo /tmp/tmp.RP4EVczgHG + return 0 + write_document 100505 + local x=100505 + local cmp_postfix= + log 'write document: 100505' + set +o xtrace [2025-11-26T19:30:23+0000] write document: 100505 + run_mongo 'use myApp\n db.test.insert({ x: 100505 })' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.insert({ x: 100505 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.u5XPEmEdRA +++ mktemp ++ local LAST_ERR=/tmp/tmp.OjZpJhWWKP ++ 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.u5XPEmEdRA ++ cat /tmp/tmp.OjZpJhWWKP ++ rm /tmp/tmp.u5XPEmEdRA /tmp/tmp.OjZpJhWWKP ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100505 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.hj96J3gUKu ++ mktemp + local LAST_ERR=/tmp/tmp.MG853PzRbr + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100505 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.hj96J3gUKu Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("51eaee59-9855-4a80-8252-1beb14b9a4e1") } 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.MG853PzRbr + rm /tmp/tmp.hj96J3gUKu /tmp/tmp.MG853PzRbr + return 0 + compare_mongo_cmd find myApp:myPass@some-name-rs0.multi-storage-18977 + local command=find + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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-26T19:30:25+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-rs0.multi-storage-18977 mongodb '' + local 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.vXsj0nkXVo egrep: warning: egrep is obsolescent; using grep -E +++ mktemp ++ local LAST_ERR=/tmp/tmp.ihnrbSt6U6 ++ 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.vXsj0nkXVo ++ cat /tmp/tmp.ihnrbSt6U6 ++ rm /tmp/tmp.vXsj0nkXVo /tmp/tmp.ihnrbSt6U6 ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.Rx78pDVDJL ++ mktemp + local LAST_ERR=/tmp/tmp.IzHTjYl4qb + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Rx78pDVDJL + cat /tmp/tmp.IzHTjYl4qb + rm /tmp/tmp.Rx78pDVDJL /tmp/tmp.IzHTjYl4qb + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/compare/find.json /tmp/tmp.ZaqZiKfedP/find + 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-26T19:30:27+0000] wait for oplog chunks to be uploaded. sleeping for 70 seconds + sleep 70 + wait_for_restorable_time backup-minio-3 + local backup_name=backup-minio-3 ++ get_latest_restorable_time backup-minio-3 ++ local backup_name=backup-minio-3 +++ kubectl_bin get psmdb-backup backup-minio-3 -o yaml +++ yq .status.latestRestorableTime ++++ mktemp +++ local LAST_OUT=/tmp/tmp.hdrgfeGjwB ++++ mktemp +++ local LAST_ERR=/tmp/tmp.zKp44ZU5Fo +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-minio-3 -o yaml +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.hdrgfeGjwB +++ cat /tmp/tmp.zKp44ZU5Fo +++ rm /tmp/tmp.hdrgfeGjwB /tmp/tmp.zKp44ZU5Fo +++ return 0 ++ local time=2025-11-26T19:30:55Z ++ [[ 2025-11-26T19:30:55Z == \n\u\l\l ]] ++ echo -n 2025-11-26T19:30:55Z + local latest_restorable_time=2025-11-26T19:30:55Z + local retries=0 + echo -n 'waiting for psmdb-backup/backup-minio-3'\''s latest restorable time' waiting for psmdb-backup/backup-minio-3's latest restorable time+ [[ 2025-11-26T19:30:55Z != \n\u\l\l ]] + echo '.OK latestRestorableTime: 2025-11-26T19:30:55Z' .OK latestRestorableTime: 2025-11-26T19:30:55Z + wait_for_advanced_restorable_time backup-minio-3 + local backup_name=backup-minio-3 +++ get_latest_restorable_time backup-minio-3 +++ local backup_name=backup-minio-3 ++++ kubectl_bin get psmdb-backup backup-minio-3 -o yaml ++++ yq .status.latestRestorableTime +++++ mktemp ++++ local LAST_OUT=/tmp/tmp.PkJ9MYK0d0 +++++ mktemp ++++ local LAST_ERR=/tmp/tmp.zLetuHpJxe ++++ local exit_status=0 ++++ local timeout=4 +++++ seq 0 2 ++++ for i in $(seq 0 2) ++++ set +e ++++ kubectl get psmdb-backup backup-minio-3 -o yaml ++++ exit_status=0 ++++ set -e ++++ '[' 0 '!=' 0 -a -n 1 ']' ++++ break ++++ cat /tmp/tmp.PkJ9MYK0d0 ++++ cat /tmp/tmp.zLetuHpJxe ++++ rm /tmp/tmp.PkJ9MYK0d0 /tmp/tmp.zLetuHpJxe ++++ return 0 +++ local time=2025-11-26T19:30:55Z +++ [[ 2025-11-26T19:30:55Z == \n\u\l\l ]] +++ echo -n 2025-11-26T19:30:55Z ++ datetime_to_timestamp 2025-11-26T19:30:55Z ++ local datetime=2025-11-26T19:30:55Z ++ TZ=UTC ++ /usr/sbin/date -d2025-11-26T19:30:55Z +%s + local latest_restorable_time=1764185455 ++ get_backup_last_write backup-minio-3 ++ local backup_name=backup-minio-3 +++ kubectl_bin get psmdb-backup backup-minio-3 -o yaml +++ yq .status.pbmName ++++ mktemp +++ local LAST_OUT=/tmp/tmp.fqizpElpjL ++++ mktemp +++ local LAST_ERR=/tmp/tmp.zqItFvdIKX +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-minio-3 -o yaml +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.fqizpElpjL +++ cat /tmp/tmp.zqItFvdIKX +++ rm /tmp/tmp.fqizpElpjL /tmp/tmp.zqItFvdIKX +++ return 0 ++ local pbm_name=2025-11-26T19:30:01Z ++ kubectl_bin exec some-name-rs0-0 -c backup-agent -- pbm list -o json ++ jq --arg v 2025-11-26T19:30:01Z '.snapshots[] | select(.name==$v) | .restoreTo' +++ mktemp ++ local LAST_OUT=/tmp/tmp.JhR3f231FC +++ mktemp ++ local LAST_ERR=/tmp/tmp.O4ki0A09Ue ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl exec some-name-rs0-0 -c backup-agent -- pbm list -o json ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.JhR3f231FC ++ cat /tmp/tmp.O4ki0A09Ue ++ rm /tmp/tmp.JhR3f231FC /tmp/tmp.O4ki0A09Ue ++ return 0 + local latest_write=1764185402 + local retries=0 ++ timestamp_to_datetime 1764185402 ++ local ts=1764185402 ++ TZ=UTC ++ /usr/sbin/date -d@1764185402 +%Y-%m-%dT%H:%M:%S%Z + echo -n 'waiting for psmdb-backup/backup-minio-3'\''s latest restorable time to advance its latest write (2025-11-26T19:30:02UTC)' waiting for psmdb-backup/backup-minio-3's latest restorable time to advance its latest write (2025-11-26T19:30:02UTC)+ [[ 1764185455 -gt 1764185402 ]] ++ timestamp_to_datetime 1764185455 ++ local ts=1764185455 ++ TZ=UTC ++ /usr/sbin/date -d@1764185455 +%Y-%m-%dT%H:%M:%S%Z + echo '.OK latestRestorableTime: 2025-11-26T19:30:55UTC' .OK latestRestorableTime: 2025-11-26T19:30:55UTC ++ get_latest_restorable_time backup-minio-3 ++ local backup_name=backup-minio-3 +++ kubectl_bin get psmdb-backup backup-minio-3 -o yaml +++ yq .status.latestRestorableTime ++++ mktemp +++ local LAST_OUT=/tmp/tmp.PyFgCM7FKq ++++ mktemp +++ local LAST_ERR=/tmp/tmp.ZnFDld3otg +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-minio-3 -o yaml +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.PyFgCM7FKq +++ cat /tmp/tmp.ZnFDld3otg +++ rm /tmp/tmp.PyFgCM7FKq /tmp/tmp.ZnFDld3otg +++ return 0 ++ local time=2025-11-26T19:30:55Z ++ [[ 2025-11-26T19:30:55Z == \n\u\l\l ]] ++ echo -n 2025-11-26T19:30:55Z + restore_time=2025-11-26T19:30:55Z ++ format_pitr_target 2025-11-26T19:30:55Z ++ local target=2025-11-26T19:30:55Z ++ echo 2025-11-26T19:30:55Z ++ sed 's/T/ /' ++ sed s/Z// + check_recovery backup-minio-3 '2025-11-26 19:30:55' + local backup_name=backup-minio-3 + local 'restore_time=2025-11-26 19:30:55' + local cmp_postfix= + drop_collection myApp test myApp myPass + local db=myApp + local collection=test + local user=myApp + local pass=myPass + log 'dropping collection: myApp.test' + set +o xtrace [2025-11-26T19:31:44+0000] dropping collection: myApp.test + run_mongo 'use myApp\n db.test.drop()' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.drop()' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.g5dQvwcgsQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.XrLs7SG7sR ++ 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.g5dQvwcgsQ ++ cat /tmp/tmp.XrLs7SG7sR ++ rm /tmp/tmp.g5dQvwcgsQ /tmp/tmp.XrLs7SG7sR ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.9W4nBlAte7 ++ mktemp + local LAST_ERR=/tmp/tmp.Ms4I3mifVv + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.9W4nBlAte7 Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("565ed325-a8b5-4ddb-b41d-cc4175404dff") } 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.Ms4I3mifVv + rm /tmp/tmp.9W4nBlAte7 /tmp/tmp.Ms4I3mifVv + return 0 + log 'creating restore: restore-backup-minio-3 restore_to: 2025-11-26 19:30:55' + set +o xtrace [2025-11-26T19:31:46+0000] creating restore: restore-backup-minio-3 restore_to: 2025-11-26 19:30:55 + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/conf/restore.yml + /usr/sbin/sed -e 's/name:/name: restore-backup-minio-3/' + /usr/sbin/sed -e 's/backupName:/backupName: backup-minio-3/' + /usr/sbin/sed -e 's/date:/date: 2025-11-26 19:30:55/' + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.i7kRVfA2pL ++ mktemp + local LAST_ERR=/tmp/tmp.l1pJHFAkJj + 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.i7kRVfA2pL perconaservermongodbrestore.psmdb.percona.com/restore-backup-minio-3 created + cat /tmp/tmp.l1pJHFAkJj + rm /tmp/tmp.i7kRVfA2pL /tmp/tmp.l1pJHFAkJj + return 0 + wait_restore backup-minio-3 some-name requested 0 900 1 + local backup_name=backup-minio-3 + local cluster_name=some-name + local target_state=requested + local wait_cluster_consistency=0 + local wait_time=900 + local ok_if_ready=1 + set +o xtrace Waiting for the psmdb-restore/restore-backup-minio-3 object to be created.OK Waiting psmdb-restore/restore-backup-minio-3 to reach state "requested" ...OK after 2 minutes + [[ 0 -eq 1 ]] + wait_restore backup-minio-3 some-name ready 0 1600 + local backup_name=backup-minio-3 + local cluster_name=some-name + local target_state=ready + local wait_cluster_consistency=0 + local wait_time=1600 + local ok_if_ready=0 + set +o xtrace Waiting for the psmdb-restore/restore-backup-minio-3 object to be created.OK Waiting psmdb-restore/restore-backup-minio-3 to reach state "ready" ..OK after 1 minutes + [[ 0 -eq 1 ]] + wait_for_running some-name-rs0 3 + local name=some-name-rs0 + let last_pod=2 + local check_cluster_readyness=true + set_debug + [[ 1 == 1 ]] + set -o xtrace + local rs_name=rs0 + local cluster_name=some-name ++ seq 0 2 + for i in $(seq 0 $last_pod) + [[ 0 -eq 2 ]] + wait_pod some-name-rs0-0 + local pod=some-name-rs0-0 + set +o xtrace waiting for pod/some-name-rs0-0 to be ready.OK + for i in $(seq 0 $last_pod) + [[ 1 -eq 2 ]] + wait_pod some-name-rs0-1 + local pod=some-name-rs0-1 + set +o xtrace waiting for pod/some-name-rs0-1 to be ready.OK + for i in $(seq 0 $last_pod) + [[ 2 -eq 2 ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.fBbxrQCYtC +++ mktemp ++ local LAST_ERR=/tmp/tmp.1eEBSc8Oq1 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.fBbxrQCYtC ++ cat /tmp/tmp.1eEBSc8Oq1 ++ rm /tmp/tmp.fBbxrQCYtC /tmp/tmp.1eEBSc8Oq1 ++ return 0 + [[ '' == \t\r\u\e ]] + wait_pod some-name-rs0-2 + local pod=some-name-rs0-2 + set +o xtrace waiting for pod/some-name-rs0-2 to be ready.OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.FYUgYwq5iM +++ mktemp ++ local LAST_ERR=/tmp/tmp.rzh0XD8abj ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.FYUgYwq5iM ++ cat /tmp/tmp.rzh0XD8abj ++ rm /tmp/tmp.FYUgYwq5iM /tmp/tmp.rzh0XD8abj ++ return 0 + [[ '' == \t\r\u\e ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.EeIu0UPYVc +++ mktemp ++ local LAST_ERR=/tmp/tmp.DOtu0JP6pD ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.EeIu0UPYVc ++ cat /tmp/tmp.DOtu0JP6pD ++ rm /tmp/tmp.EeIu0UPYVc /tmp/tmp.DOtu0JP6pD ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ true == \t\r\u\e ]] + set +x Waiting for cluster readyness................................ + compare_mongo_cmd find myApp:myPass@some-name-rs0.multi-storage-18977 '' .svc.cluster.local myApp test 'sort( { x: 1 } )' + local command=find + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + local postfix= + 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-26T19:37:08+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-rs0.multi-storage-18977 mongodb .svc.cluster.local + local 'command=use myApp\n db.test.find().sort( { x: 1 } )' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.5eb8KvJYnw +++ mktemp ++ local LAST_ERR=/tmp/tmp.bw0adQ2uDG ++ 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.5eb8KvJYnw ++ cat /tmp/tmp.bw0adQ2uDG ++ rm /tmp/tmp.5eb8KvJYnw /tmp/tmp.bw0adQ2uDG ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.zktAhd8GR1 ++ mktemp + local LAST_ERR=/tmp/tmp.RwrItRo14t + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.zktAhd8GR1 + cat /tmp/tmp.RwrItRo14t + rm /tmp/tmp.zktAhd8GR1 /tmp/tmp.RwrItRo14t + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/compare/find.json /tmp/tmp.ZaqZiKfedP/find + sleep_with_log 60 'wait resync to finish' + local d=60 + local 'msg=wait resync to finish' + log 'wait resync to finish. sleeping for 60 seconds' + set +o xtrace [2025-11-26T19:37:10+0000] wait resync to finish. sleeping for 60 seconds + sleep 60 + log 'changing main storage from minio-1 to minio-2' + set +o xtrace [2025-11-26T19:38:10+0000] changing main storage from minio-1 to minio-2 + kubectl patch psmdb some-name --type=json '-p=[ {"op": "remove", "path": "/spec/backup/storages/minio-1/main"}, {"op": "add", "path": "/spec/backup/storages/minio-2/main", "value": true} ]' perconaservermongodb.psmdb.percona.com/some-name patched + sleep_with_log 60 'wait resync to finish' + local d=60 + local 'msg=wait resync to finish' + log 'wait resync to finish. sleeping for 60 seconds' + set +o xtrace [2025-11-26T19:38:11+0000] wait resync to finish. sleeping for 60 seconds + sleep 60 + run_backup minio-2 backup-minio-2-1 logical + local storage=minio-2 + local name=backup-minio-2-1 + local type=logical + log 'creating backup: backup-minio-2-1 (logical)' + set +o xtrace [2025-11-26T19:39:11+0000] creating backup: backup-minio-2-1 (logical) + kubectl_bin apply -f - + yq eval '.metadata.name = "backup-minio-2-1" | .spec.storageName = "minio-2" | .spec.type = "logical"' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/conf/backup.yml ++ mktemp + local LAST_OUT=/tmp/tmp.v8UdHKKZXt ++ mktemp + local LAST_ERR=/tmp/tmp.8MsCjwc7fL + 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.v8UdHKKZXt perconaservermongodbbackup.psmdb.percona.com/backup-minio-2-1 created + cat /tmp/tmp.8MsCjwc7fL + rm /tmp/tmp.v8UdHKKZXt /tmp/tmp.8MsCjwc7fL + return 0 + wait_backup backup-minio-2-1 + local backup_name=backup-minio-2-1 + local target_state=ready + set +o xtrace waiting for backup-minio-2-1 to reach ready state......OK + write_document 100506 + local x=100506 + local cmp_postfix= + log 'write document: 100506' + set +o xtrace [2025-11-26T19:39:24+0000] write document: 100506 + run_mongo 'use myApp\n db.test.insert({ x: 100506 })' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.insert({ x: 100506 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.JmkBCkFjxV +++ mktemp ++ local LAST_ERR=/tmp/tmp.4wiwrdoqSC ++ 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.JmkBCkFjxV ++ cat /tmp/tmp.4wiwrdoqSC ++ rm /tmp/tmp.JmkBCkFjxV /tmp/tmp.4wiwrdoqSC ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100506 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.R32dufKRZG ++ mktemp + local LAST_ERR=/tmp/tmp.45NyaSc4lD + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100506 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.R32dufKRZG Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("d1450239-9c32-406f-9f44-6338583c647d") } 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.45NyaSc4lD + rm /tmp/tmp.R32dufKRZG /tmp/tmp.45NyaSc4lD + return 0 + write_document 100507 + local x=100507 + local cmp_postfix= + log 'write document: 100507' + set +o xtrace [2025-11-26T19:39:26+0000] write document: 100507 + run_mongo 'use myApp\n db.test.insert({ x: 100507 })' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.insert({ x: 100507 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.bO4yCu2114 +++ mktemp ++ local LAST_ERR=/tmp/tmp.Ju344yiDId ++ 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.bO4yCu2114 ++ cat /tmp/tmp.Ju344yiDId ++ rm /tmp/tmp.bO4yCu2114 /tmp/tmp.Ju344yiDId ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100507 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.5mh1HFLx9E ++ mktemp + local LAST_ERR=/tmp/tmp.dCMtVwFVai + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100507 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.5mh1HFLx9E Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("4129109f-c379-484c-961e-2c01d9e68e54") } 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.dCMtVwFVai + rm /tmp/tmp.5mh1HFLx9E /tmp/tmp.dCMtVwFVai + return 0 + write_document 100508 + local x=100508 + local cmp_postfix= + log 'write document: 100508' + set +o xtrace [2025-11-26T19:39:29+0000] write document: 100508 + run_mongo 'use myApp\n db.test.insert({ x: 100508 })' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.insert({ x: 100508 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.wamD9kJouN +++ mktemp ++ local LAST_ERR=/tmp/tmp.C8uorXQrPR ++ 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.wamD9kJouN ++ cat /tmp/tmp.C8uorXQrPR ++ rm /tmp/tmp.wamD9kJouN /tmp/tmp.C8uorXQrPR ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100508 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.zXxxGtnyRw ++ mktemp + local LAST_ERR=/tmp/tmp.7T8WCxReQr + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100508 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.zXxxGtnyRw Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("ca2f3290-afba-4331-98fb-e11247bb4e61") } 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.7T8WCxReQr + rm /tmp/tmp.zXxxGtnyRw /tmp/tmp.7T8WCxReQr + return 0 + write_document 100509 + local x=100509 + local cmp_postfix= + log 'write document: 100509' + set +o xtrace [2025-11-26T19:39:31+0000] write document: 100509 + run_mongo 'use myApp\n db.test.insert({ x: 100509 })' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.insert({ x: 100509 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.zv60QnhlUh +++ mktemp ++ local LAST_ERR=/tmp/tmp.uojIIlQ2Js ++ 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.zv60QnhlUh ++ cat /tmp/tmp.uojIIlQ2Js ++ rm /tmp/tmp.zv60QnhlUh /tmp/tmp.uojIIlQ2Js ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100509 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.IKXcbWliBr ++ mktemp + local LAST_ERR=/tmp/tmp.quyJat5nnz + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100509 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.IKXcbWliBr Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("8e917ebe-b15b-4966-8c9d-92b564c56a4a") } 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.quyJat5nnz + rm /tmp/tmp.IKXcbWliBr /tmp/tmp.quyJat5nnz + return 0 + write_document 100510 + local x=100510 + local cmp_postfix= + log 'write document: 100510' + set +o xtrace [2025-11-26T19:39:33+0000] write document: 100510 + run_mongo 'use myApp\n db.test.insert({ x: 100510 })' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.insert({ x: 100510 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.SudfLObyoC +++ mktemp ++ local LAST_ERR=/tmp/tmp.TbNNZpnghw ++ 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.SudfLObyoC ++ cat /tmp/tmp.TbNNZpnghw ++ rm /tmp/tmp.SudfLObyoC /tmp/tmp.TbNNZpnghw ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100510 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.4GvpE9Zxts ++ mktemp + local LAST_ERR=/tmp/tmp.Dp2WxjiSph + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100510 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.4GvpE9Zxts Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("13023b09-e50a-47a0-af13-47f67193503c") } 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.Dp2WxjiSph + rm /tmp/tmp.4GvpE9Zxts /tmp/tmp.Dp2WxjiSph + return 0 + compare_mongo_cmd find myApp:myPass@some-name-rs0.multi-storage-18977 -2nd .svc.cluster.local myApp test 'sort( { x: 1 } )' + local command=find + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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-26T19:39:35+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-rs0.multi-storage-18977 mongodb .svc.cluster.local + local 'command=use myApp\n db.test.find().sort( { x: 1 } )' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.O86JPqhsTE +++ mktemp ++ local LAST_ERR=/tmp/tmp.StdhSc89aT ++ 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.O86JPqhsTE ++ cat /tmp/tmp.StdhSc89aT ++ rm /tmp/tmp.O86JPqhsTE /tmp/tmp.StdhSc89aT ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.bQbdWjxaY4 ++ mktemp + local LAST_ERR=/tmp/tmp.3IsgBVZkXZ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.bQbdWjxaY4 + cat /tmp/tmp.3IsgBVZkXZ + rm /tmp/tmp.bQbdWjxaY4 /tmp/tmp.3IsgBVZkXZ + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/compare/find-2nd.json /tmp/tmp.ZaqZiKfedP/find-2nd + wait_for_restorable_time backup-minio-2-1 + local backup_name=backup-minio-2-1 ++ get_latest_restorable_time backup-minio-2-1 ++ local backup_name=backup-minio-2-1 +++ kubectl_bin get psmdb-backup backup-minio-2-1 -o yaml +++ yq .status.latestRestorableTime ++++ mktemp +++ local LAST_OUT=/tmp/tmp.o7AtVVw4V4 ++++ mktemp +++ local LAST_ERR=/tmp/tmp.xKwaqS8xjz +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-minio-2-1 -o yaml +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.o7AtVVw4V4 +++ cat /tmp/tmp.xKwaqS8xjz +++ rm /tmp/tmp.o7AtVVw4V4 /tmp/tmp.xKwaqS8xjz +++ return 0 ++ local time=2025-11-26T19:39:14Z ++ [[ 2025-11-26T19:39:14Z == \n\u\l\l ]] ++ echo -n 2025-11-26T19:39:14Z + local latest_restorable_time=2025-11-26T19:39:14Z + local retries=0 + echo -n 'waiting for psmdb-backup/backup-minio-2-1'\''s latest restorable time' waiting for psmdb-backup/backup-minio-2-1's latest restorable time+ [[ 2025-11-26T19:39:14Z != \n\u\l\l ]] + echo '.OK latestRestorableTime: 2025-11-26T19:39:14Z' .OK latestRestorableTime: 2025-11-26T19:39:14Z + wait_for_advanced_restorable_time backup-minio-2-1 + local backup_name=backup-minio-2-1 +++ get_latest_restorable_time backup-minio-2-1 +++ local backup_name=backup-minio-2-1 ++++ kubectl_bin get psmdb-backup backup-minio-2-1 -o yaml ++++ yq .status.latestRestorableTime +++++ mktemp ++++ local LAST_OUT=/tmp/tmp.9V5eWH8Mei +++++ mktemp ++++ local LAST_ERR=/tmp/tmp.UsKFrrIjJ9 ++++ local exit_status=0 ++++ local timeout=4 +++++ seq 0 2 ++++ for i in $(seq 0 2) ++++ set +e ++++ kubectl get psmdb-backup backup-minio-2-1 -o yaml ++++ exit_status=0 ++++ set -e ++++ '[' 0 '!=' 0 -a -n 1 ']' ++++ break ++++ cat /tmp/tmp.9V5eWH8Mei ++++ cat /tmp/tmp.UsKFrrIjJ9 ++++ rm /tmp/tmp.9V5eWH8Mei /tmp/tmp.UsKFrrIjJ9 ++++ return 0 +++ local time=2025-11-26T19:39:14Z +++ [[ 2025-11-26T19:39:14Z == \n\u\l\l ]] +++ echo -n 2025-11-26T19:39:14Z ++ datetime_to_timestamp 2025-11-26T19:39:14Z ++ local datetime=2025-11-26T19:39:14Z ++ TZ=UTC ++ /usr/sbin/date -d2025-11-26T19:39:14Z +%s + local latest_restorable_time=1764185954 ++ get_backup_last_write backup-minio-2-1 ++ local backup_name=backup-minio-2-1 +++ kubectl_bin get psmdb-backup backup-minio-2-1 -o yaml +++ yq .status.pbmName ++++ mktemp +++ local LAST_OUT=/tmp/tmp.o9DFDLQgO6 ++++ mktemp +++ local LAST_ERR=/tmp/tmp.agy8oZn7Oy +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-minio-2-1 -o yaml +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.o9DFDLQgO6 +++ cat /tmp/tmp.agy8oZn7Oy +++ rm /tmp/tmp.o9DFDLQgO6 /tmp/tmp.agy8oZn7Oy +++ return 0 ++ local pbm_name=2025-11-26T19:39:14Z ++ kubectl_bin exec some-name-rs0-0 -c backup-agent -- pbm list -o json ++ jq --arg v 2025-11-26T19:39:14Z '.snapshots[] | select(.name==$v) | .restoreTo' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ruRqEl0S35 +++ mktemp ++ local LAST_ERR=/tmp/tmp.oqdXBJRE8s ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl exec some-name-rs0-0 -c backup-agent -- pbm list -o json ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.ruRqEl0S35 ++ cat /tmp/tmp.oqdXBJRE8s ++ rm /tmp/tmp.ruRqEl0S35 /tmp/tmp.oqdXBJRE8s ++ return 0 + local latest_write=1764185958 + local retries=0 ++ timestamp_to_datetime 1764185958 ++ local ts=1764185958 ++ TZ=UTC ++ /usr/sbin/date -d@1764185958 +%Y-%m-%dT%H:%M:%S%Z + echo -n 'waiting for psmdb-backup/backup-minio-2-1'\''s latest restorable time to advance its latest write (2025-11-26T19:39:18UTC)' waiting for psmdb-backup/backup-minio-2-1's latest restorable time to advance its latest write (2025-11-26T19:39:18UTC)+ [[ 1764185954 -gt 1764185958 ]] +++ get_latest_restorable_time backup-minio-2-1 +++ local backup_name=backup-minio-2-1 ++++ kubectl_bin get psmdb-backup backup-minio-2-1 -o yaml ++++ yq .status.latestRestorableTime +++++ mktemp ++++ local LAST_OUT=/tmp/tmp.asLYxjyhMZ +++++ mktemp ++++ local LAST_ERR=/tmp/tmp.CLj7NpiVPd ++++ local exit_status=0 ++++ local timeout=4 +++++ seq 0 2 ++++ for i in $(seq 0 2) ++++ set +e ++++ kubectl get psmdb-backup backup-minio-2-1 -o yaml ++++ exit_status=0 ++++ set -e ++++ '[' 0 '!=' 0 -a -n 1 ']' ++++ break ++++ cat /tmp/tmp.asLYxjyhMZ ++++ cat /tmp/tmp.CLj7NpiVPd ++++ rm /tmp/tmp.asLYxjyhMZ /tmp/tmp.CLj7NpiVPd ++++ return 0 +++ local time=2025-11-26T19:39:14Z +++ [[ 2025-11-26T19:39:14Z == \n\u\l\l ]] +++ echo -n 2025-11-26T19:39:14Z ++ datetime_to_timestamp 2025-11-26T19:39:14Z ++ local datetime=2025-11-26T19:39:14Z ++ TZ=UTC ++ /usr/sbin/date -d2025-11-26T19:39:14Z +%s + latest_restorable_time=1764185954 + [[ 0 -gt 5 ]] + let retries+=1 + echo -n . .+ sleep_with_log 70 'wait for oplog span min + 10 sec' + local d=70 + local 'msg=wait for oplog span min + 10 sec' + log 'wait for oplog span min + 10 sec. sleeping for 70 seconds' + set +o xtrace [2025-11-26T19:39:42+0000] wait for oplog span min + 10 sec. sleeping for 70 seconds + sleep 70 + [[ 1764185954 -gt 1764185958 ]] +++ get_latest_restorable_time backup-minio-2-1 +++ local backup_name=backup-minio-2-1 ++++ kubectl_bin get psmdb-backup backup-minio-2-1 -o yaml ++++ yq .status.latestRestorableTime +++++ mktemp ++++ local LAST_OUT=/tmp/tmp.hDfANrT1si +++++ mktemp ++++ local LAST_ERR=/tmp/tmp.Hk5IesQSEJ ++++ local exit_status=0 ++++ local timeout=4 +++++ seq 0 2 ++++ for i in $(seq 0 2) ++++ set +e ++++ kubectl get psmdb-backup backup-minio-2-1 -o yaml ++++ exit_status=0 ++++ set -e ++++ '[' 0 '!=' 0 -a -n 1 ']' ++++ break ++++ cat /tmp/tmp.hDfANrT1si ++++ cat /tmp/tmp.Hk5IesQSEJ ++++ rm /tmp/tmp.hDfANrT1si /tmp/tmp.Hk5IesQSEJ ++++ return 0 +++ local time=2025-11-26T19:40:45Z +++ [[ 2025-11-26T19:40:45Z == \n\u\l\l ]] +++ echo -n 2025-11-26T19:40:45Z ++ datetime_to_timestamp 2025-11-26T19:40:45Z ++ local datetime=2025-11-26T19:40:45Z ++ TZ=UTC ++ /usr/sbin/date -d2025-11-26T19:40:45Z +%s + latest_restorable_time=1764186045 + [[ 1 -gt 5 ]] + let retries+=1 + echo -n . .+ sleep_with_log 70 'wait for oplog span min + 10 sec' + local d=70 + local 'msg=wait for oplog span min + 10 sec' + log 'wait for oplog span min + 10 sec. sleeping for 70 seconds' + set +o xtrace [2025-11-26T19:40:53+0000] wait for oplog span min + 10 sec. sleeping for 70 seconds + sleep 70 + [[ 1764186045 -gt 1764185958 ]] ++ timestamp_to_datetime 1764186045 ++ local ts=1764186045 ++ TZ=UTC ++ /usr/sbin/date -d@1764186045 +%Y-%m-%dT%H:%M:%S%Z + echo '.OK latestRestorableTime: 2025-11-26T19:40:45UTC' .OK latestRestorableTime: 2025-11-26T19:40:45UTC ++ get_latest_restorable_time backup-minio-2-1 ++ local backup_name=backup-minio-2-1 +++ kubectl_bin get psmdb-backup backup-minio-2-1 -o yaml +++ yq .status.latestRestorableTime ++++ mktemp +++ local LAST_OUT=/tmp/tmp.IrnevKCqzj ++++ mktemp +++ local LAST_ERR=/tmp/tmp.YaSqYltTLc +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-minio-2-1 -o yaml +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.IrnevKCqzj +++ cat /tmp/tmp.YaSqYltTLc +++ rm /tmp/tmp.IrnevKCqzj /tmp/tmp.YaSqYltTLc +++ return 0 ++ local time=2025-11-26T19:41:45Z ++ [[ 2025-11-26T19:41:45Z == \n\u\l\l ]] ++ echo -n 2025-11-26T19:41:45Z + restore_time=2025-11-26T19:41:45Z ++ format_pitr_target 2025-11-26T19:41:45Z ++ local target=2025-11-26T19:41:45Z ++ echo 2025-11-26T19:41:45Z ++ sed 's/T/ /' ++ sed s/Z// + check_recovery backup-minio-2-1 '2025-11-26 19:41:45' -2nd + local backup_name=backup-minio-2-1 + local 'restore_time=2025-11-26 19:41:45' + local cmp_postfix=-2nd + drop_collection myApp test myApp myPass + local db=myApp + local collection=test + local user=myApp + local pass=myPass + log 'dropping collection: myApp.test' + set +o xtrace [2025-11-26T19:42:04+0000] dropping collection: myApp.test + run_mongo 'use myApp\n db.test.drop()' myApp:myPass@some-name-rs0.multi-storage-18977 mongodb + local 'command=use myApp\n db.test.drop()' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.qyxaqzVWAV +++ mktemp ++ local LAST_ERR=/tmp/tmp.E2ER7pnxY1 ++ 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.qyxaqzVWAV ++ cat /tmp/tmp.E2ER7pnxY1 ++ rm /tmp/tmp.qyxaqzVWAV /tmp/tmp.E2ER7pnxY1 ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.EeKbnKbKuW ++ mktemp + local LAST_ERR=/tmp/tmp.71xHAGJJqt + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.EeKbnKbKuW Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("7b38d829-47ff-4e46-b2b9-dc9ead185b4f") } 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.71xHAGJJqt + rm /tmp/tmp.EeKbnKbKuW /tmp/tmp.71xHAGJJqt + return 0 + log 'creating restore: restore-backup-minio-2-1 restore_to: 2025-11-26 19:41:45' + set +o xtrace [2025-11-26T19:42:07+0000] creating restore: restore-backup-minio-2-1 restore_to: 2025-11-26 19:41:45 + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/conf/restore.yml + /usr/sbin/sed -e 's/name:/name: restore-backup-minio-2-1/' + /usr/sbin/sed -e 's/backupName:/backupName: backup-minio-2-1/' + /usr/sbin/sed -e 's/date:/date: 2025-11-26 19:41:45/' + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.Ewft6Dg5AU ++ mktemp + local LAST_ERR=/tmp/tmp.DcNsugvUSn + 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.Ewft6Dg5AU perconaservermongodbrestore.psmdb.percona.com/restore-backup-minio-2-1 created + cat /tmp/tmp.DcNsugvUSn + rm /tmp/tmp.Ewft6Dg5AU /tmp/tmp.DcNsugvUSn + return 0 + wait_restore backup-minio-2-1 some-name requested 0 900 1 + local backup_name=backup-minio-2-1 + local cluster_name=some-name + local target_state=requested + local wait_cluster_consistency=0 + local wait_time=900 + local ok_if_ready=1 + set +o xtrace Waiting for the psmdb-restore/restore-backup-minio-2-1 object to be created.OK Waiting psmdb-restore/restore-backup-minio-2-1 to reach state "requested" .OK after 0 minutes + [[ 0 -eq 1 ]] + wait_restore backup-minio-2-1 some-name ready 0 1600 + local backup_name=backup-minio-2-1 + local cluster_name=some-name + local target_state=ready + local wait_cluster_consistency=0 + local wait_time=1600 + local ok_if_ready=0 + set +o xtrace Waiting for the psmdb-restore/restore-backup-minio-2-1 object to be created.OK Waiting psmdb-restore/restore-backup-minio-2-1 to reach state "ready" .OK after 0 minutes + [[ 0 -eq 1 ]] + wait_for_running some-name-rs0 3 + local name=some-name-rs0 + let last_pod=2 + local check_cluster_readyness=true + set_debug + [[ 1 == 1 ]] + set -o xtrace + local rs_name=rs0 + local cluster_name=some-name ++ seq 0 2 + for i in $(seq 0 $last_pod) + [[ 0 -eq 2 ]] + wait_pod some-name-rs0-0 + local pod=some-name-rs0-0 + set +o xtrace waiting for pod/some-name-rs0-0 to be ready.OK + for i in $(seq 0 $last_pod) + [[ 1 -eq 2 ]] + wait_pod some-name-rs0-1 + local pod=some-name-rs0-1 + set +o xtrace waiting for pod/some-name-rs0-1 to be ready.OK + for i in $(seq 0 $last_pod) + [[ 2 -eq 2 ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Cv6wtX6ZY2 +++ mktemp ++ local LAST_ERR=/tmp/tmp.nxA0AGm067 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.Cv6wtX6ZY2 ++ cat /tmp/tmp.nxA0AGm067 ++ rm /tmp/tmp.Cv6wtX6ZY2 /tmp/tmp.nxA0AGm067 ++ return 0 + [[ '' == \t\r\u\e ]] + wait_pod some-name-rs0-2 + local pod=some-name-rs0-2 + set +o xtrace waiting for pod/some-name-rs0-2 to be ready.OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RNks60KsKx +++ mktemp ++ local LAST_ERR=/tmp/tmp.ezk85jtpTt ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.RNks60KsKx ++ cat /tmp/tmp.ezk85jtpTt ++ rm /tmp/tmp.RNks60KsKx /tmp/tmp.ezk85jtpTt ++ return 0 + [[ '' == \t\r\u\e ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.bBTCv6AFXy +++ mktemp ++ local LAST_ERR=/tmp/tmp.Fr9uRVDKYw ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.bBTCv6AFXy ++ cat /tmp/tmp.Fr9uRVDKYw ++ rm /tmp/tmp.bBTCv6AFXy /tmp/tmp.Fr9uRVDKYw ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ true == \t\r\u\e ]] + set +x Waiting for cluster readyness + compare_mongo_cmd find myApp:myPass@some-name-rs0.multi-storage-18977 -2nd .svc.cluster.local myApp test 'sort( { x: 1 } )' + local command=find + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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-26T19:42:47+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-rs0.multi-storage-18977 mongodb .svc.cluster.local + local 'command=use myApp\n db.test.find().sort( { x: 1 } )' + local uri=myApp:myPass@some-name-rs0.multi-storage-18977 + 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.lHm64Vrvej +++ mktemp ++ local LAST_ERR=/tmp/tmp.qMPY6vHYln ++ 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.lHm64Vrvej ++ cat /tmp/tmp.qMPY6vHYln ++ rm /tmp/tmp.lHm64Vrvej /tmp/tmp.qMPY6vHYln ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ myApp:myPass@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.3sXCr3n0hl ++ mktemp + local LAST_ERR=/tmp/tmp.ZjULd89r1F + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.3sXCr3n0hl + cat /tmp/tmp.ZjULd89r1F + rm /tmp/tmp.3sXCr3n0hl /tmp/tmp.ZjULd89r1F + return 0 + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2084/e2e-tests/multi-storage/compare/find-2nd.json /tmp/tmp.ZaqZiKfedP/find-2nd + log 'dropping pbmBackups collection and starting resync' + set +o xtrace [2025-11-26T19:42:50+0000] dropping pbmBackups collection and starting resync + drop_metadata_and_resync ++ kubectl get psmdb-backup --no-headers ++ wc -l + local psmdb_backup_count=4 + log 'there are 4 psmdb-backups in multi-storage-18977' + set +o xtrace [2025-11-26T19:42:51+0000] there are 4 psmdb-backups in multi-storage-18977 + drop_collection admin pbmBackups backup backup123456 + local db=admin + local collection=pbmBackups + local user=backup + local pass=backup123456 + log 'dropping collection: admin.pbmBackups' + set +o xtrace [2025-11-26T19:42:51+0000] dropping collection: admin.pbmBackups + run_mongo 'use admin\n db.pbmBackups.drop()' backup:backup123456@some-name-rs0.multi-storage-18977 mongodb + local 'command=use admin\n db.pbmBackups.drop()' + local uri=backup:backup123456@some-name-rs0.multi-storage-18977 + 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.BaU8e0oSva +++ mktemp ++ local LAST_ERR=/tmp/tmp.ibexYqqyN6 ++ 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.BaU8e0oSva ++ cat /tmp/tmp.ibexYqqyN6 ++ rm /tmp/tmp.BaU8e0oSva /tmp/tmp.ibexYqqyN6 ++ return 0 + local client_container=psmdb-client-696897d69b-nzwpt + local mongo_flag= + [[ backup:backup123456@some-name-rs0.multi-storage-18977 == *cfg* ]] + replica_set=rs0 + kubectl_bin exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use admin\n db.pbmBackups.drop()\n'\'' | mongo mongodb://backup:backup123456@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.fAB2ilvyW6 ++ mktemp + local LAST_ERR=/tmp/tmp.PUnC3G4oe6 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-696897d69b-nzwpt -- bash -c 'printf '\''use admin\n db.pbmBackups.drop()\n'\'' | mongo mongodb://backup:backup123456@some-name-rs0.multi-storage-18977.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.fAB2ilvyW6 Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-18977.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("208bdb02-3e77-496f-aab8-3ada54526cc9") } Percona Server for MongoDB server version: v8.0.12-4 WARNING: shell and server versions do not match switched to db admin true bye + cat /tmp/tmp.PUnC3G4oe6 + rm /tmp/tmp.fAB2ilvyW6 /tmp/tmp.PUnC3G4oe6 + return 0 + kubectl_bin annotate psmdb some-name percona.com/resync-pbm=true ++ mktemp + local LAST_OUT=/tmp/tmp.kX97TR7IWo ++ mktemp + local LAST_ERR=/tmp/tmp.oHMhDnDYdy + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl annotate psmdb some-name percona.com/resync-pbm=true + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.kX97TR7IWo perconaservermongodb.psmdb.percona.com/some-name annotated + cat /tmp/tmp.oHMhDnDYdy + rm /tmp/tmp.kX97TR7IWo /tmp/tmp.oHMhDnDYdy + return 0 + sleep_with_log 10 'wait resync to start' + local d=10 + local 'msg=wait resync to start' + log 'wait resync to start. sleeping for 10 seconds' + set +o xtrace [2025-11-26T19:42:54+0000] wait resync to start. sleeping for 10 seconds + sleep 10 + local retries=0 + echo -n 'waiting for resync to finish' waiting for resync to finish++ kubectl_bin get psmdb some-name -o yaml ++ yq '.metadata.annotations."percona.com/resync-in-progress"' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hOjQPKeN2D +++ mktemp ++ local LAST_ERR=/tmp/tmp.jtiKy4BYki ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o yaml ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.hOjQPKeN2D ++ cat /tmp/tmp.jtiKy4BYki ++ rm /tmp/tmp.hOjQPKeN2D /tmp/tmp.jtiKy4BYki ++ return 0 + local resync_running=null + [[ null == \n\u\l\l ]] + echo .OK .OK ++ kubectl exec some-name-rs0-0 -c backup-agent -- pbm list -o json ++ jq '.snapshots | length' + local backup_count=4 + log 'there are 4 backups in pbmBackups collection after resync' + set +o xtrace [2025-11-26T19:43:07+0000] there are 4 backups in pbmBackups collection after resync ++ echo 4 ++ xargs ++ echo 4 ++ xargs + [[ 4 != 4 ]] + log 'resync finished successfully' + set +o xtrace [2025-11-26T19:43:07+0000] resync finished successfully + log 'checking backup deletion' + set +o xtrace [2025-11-26T19:43:07+0000] checking backup deletion + check_backup_deletion ++ kubectl_bin exec some-name-rs0-0 -c backup-agent -- pbm status -o json ++ jq '.backups.pitrChunks.pitrChunks[0].range.start' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hHwIFT1usD +++ mktemp ++ local LAST_ERR=/tmp/tmp.OvT8XjuUcM ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl exec some-name-rs0-0 -c backup-agent -- pbm status -o json ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.hHwIFT1usD ++ cat /tmp/tmp.OvT8XjuUcM ++ rm /tmp/tmp.hHwIFT1usD /tmp/tmp.OvT8XjuUcM ++ return 0 + local initial_chunk_start=1764185954 + log 'deleting psmdb-backup/backup-minio-3' + set +o xtrace [2025-11-26T19:43:08+0000] deleting psmdb-backup/backup-minio-3 + kubectl_bin delete psmdb-backup backup-minio-3 ++ mktemp + local LAST_OUT=/tmp/tmp.VGY9XdAlSk ++ mktemp + local LAST_ERR=/tmp/tmp.bcvekuYLhJ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete psmdb-backup backup-minio-3 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.VGY9XdAlSk perconaservermongodbbackup.psmdb.percona.com "backup-minio-3" deleted from multi-storage-18977 namespace + cat /tmp/tmp.bcvekuYLhJ + rm /tmp/tmp.VGY9XdAlSk /tmp/tmp.bcvekuYLhJ + return 0 + log 'checking if chunks are deleted' + set +o xtrace [2025-11-26T19:43:10+0000] checking if chunks are deleted ++ kubectl_bin exec some-name-rs0-0 -c backup-agent -- pbm status -o json ++ jq '.backups.pitrChunks.pitrChunks[0].range.start' +++ mktemp ++ local LAST_OUT=/tmp/tmp.f4AnR8LduT +++ mktemp ++ local LAST_ERR=/tmp/tmp.6ZIsaVWJPd ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl exec some-name-rs0-0 -c backup-agent -- pbm status -o json ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.f4AnR8LduT ++ cat /tmp/tmp.6ZIsaVWJPd ++ rm /tmp/tmp.f4AnR8LduT /tmp/tmp.6ZIsaVWJPd ++ return 0 + local chunk_start=1764185954 + [[ 1764185954 != 1764185954 ]] + log 'chunks are not deleted, OK.' + set +o xtrace [2025-11-26T19:43:12+0000] chunks are not deleted, OK. + log 'deleting psmdb-backup/backup-minio-2-1' + set +o xtrace [2025-11-26T19:43:12+0000] deleting psmdb-backup/backup-minio-2-1 + kubectl_bin delete psmdb-backup backup-minio-2-1 ++ mktemp + local LAST_OUT=/tmp/tmp.kWE96RyAVw ++ mktemp + local LAST_ERR=/tmp/tmp.fCB2Ub2d0h + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete psmdb-backup backup-minio-2-1 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.kWE96RyAVw perconaservermongodbbackup.psmdb.percona.com "backup-minio-2-1" deleted from multi-storage-18977 namespace + cat /tmp/tmp.fCB2Ub2d0h + rm /tmp/tmp.kWE96RyAVw /tmp/tmp.fCB2Ub2d0h + return 0 + log 'checking if chunks are deleted' + set +o xtrace [2025-11-26T19:43:13+0000] checking if chunks are deleted ++ kubectl_bin exec some-name-rs0-0 -c backup-agent -- pbm status -o json ++ jq '.backups.pitrChunks.pitrChunks[0].range.start' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1jIMQt6m5d +++ mktemp ++ local LAST_ERR=/tmp/tmp.TO8LnCysu5 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl exec some-name-rs0-0 -c backup-agent -- pbm status -o json ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.1jIMQt6m5d ++ cat /tmp/tmp.TO8LnCysu5 ++ rm /tmp/tmp.1jIMQt6m5d /tmp/tmp.TO8LnCysu5 ++ return 0 + chunk_start=1764186045 + [[ 1764185954 == 1764186045 ]] + log 'chunks are deleted, OK.' + set +o xtrace [2025-11-26T19:43:15+0000] chunks are deleted, OK. + destroy multi-storage-18977 + local namespace=multi-storage-18977 + 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 ++ wc -l +++ mktemp ++ local LAST_OUT=/tmp/tmp.HDYxexylqs +++ mktemp ++ local LAST_ERR=/tmp/tmp.PGzAX1Ijdf ++ 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.HDYxexylqs ++ cat /tmp/tmp.PGzAX1Ijdf ++ rm /tmp/tmp.HDYxexylqs /tmp/tmp.PGzAX1Ijdf ++ return 0 + '[' 2 '!=' 0 ']' + kubectl_bin get psmdb-backup ++ mktemp + local LAST_OUT=/tmp/tmp.WxJbo7yc1V ++ mktemp + local LAST_ERR=/tmp/tmp.l1TNfwqckK + 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.WxJbo7yc1V NAME CLUSTER STORAGE DESTINATION TYPE SIZE STATUS COMPLETED AGE backup-minio-1 some-name minio-1 s3://operator-testing/2025-11-26T19:29:33Z logical 48.82KB ready 13m 13m backup-minio-2 some-name minio-2 s3://operator-testing-2/2025-11-26T19:29:48Z logical 56.20KB ready 13m 13m + cat /tmp/tmp.l1TNfwqckK + rm /tmp/tmp.WxJbo7yc1V /tmp/tmp.l1TNfwqckK + return 0 + kubectl_bin delete psmdb-backup --all ++ mktemp + local LAST_OUT=/tmp/tmp.HGZNNLyUgY ++ mktemp + local LAST_ERR=/tmp/tmp.nS3AN9rHkT + 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.HGZNNLyUgY perconaservermongodbbackup.psmdb.percona.com "backup-minio-1" deleted from multi-storage-18977 namespace perconaservermongodbbackup.psmdb.percona.com "backup-minio-2" deleted from multi-storage-18977 namespace + cat /tmp/tmp.nS3AN9rHkT + rm /tmp/tmp.HGZNNLyUgY /tmp/tmp.nS3AN9rHkT + 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.4IRXPE2FWy ++ mktemp + local LAST_ERR=/tmp/tmp.WYoaptdaPs + 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.4IRXPE2FWy 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.WYoaptdaPs + rm /tmp/tmp.4IRXPE2FWy /tmp/tmp.WYoaptdaPs + 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.hNgUz09kek ++ mktemp + local LAST_ERR=/tmp/tmp.WNZRyAnrQ4 + 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.hNgUz09kek + cat /tmp/tmp.WNZRyAnrQ4 + rm /tmp/tmp.hNgUz09kek /tmp/tmp.WNZRyAnrQ4 + 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.UgMTrPpvsV ++ mktemp + local LAST_ERR=/tmp/tmp.V874decA8d + 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.UgMTrPpvsV + cat /tmp/tmp.V874decA8d + rm /tmp/tmp.UgMTrPpvsV /tmp/tmp.V874decA8d + 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.WBAeSIiv7h ++ mktemp + local LAST_ERR=/tmp/tmp.VWRAruPgwt + 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.WBAeSIiv7h + cat /tmp/tmp.VWRAruPgwt + rm /tmp/tmp.WBAeSIiv7h /tmp/tmp.VWRAruPgwt + 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.a3sRgQP3Ld ++ mktemp + local LAST_ERR=/tmp/tmp.3thKxezQ3u + 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.a3sRgQP3Ld 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.3thKxezQ3u + rm /tmp/tmp.a3sRgQP3Ld /tmp/tmp.3thKxezQ3u + 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.JXexumAzK5 ++ mktemp + local LAST_ERR=/tmp/tmp.Fdqy4GbHBu + 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.JXexumAzK5 + cat /tmp/tmp.Fdqy4GbHBu 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.JXexumAzK5 + cat /tmp/tmp.Fdqy4GbHBu 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.JXexumAzK5 + cat /tmp/tmp.Fdqy4GbHBu 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.JXexumAzK5 + cat /tmp/tmp.Fdqy4GbHBu 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.JXexumAzK5 /tmp/tmp.Fdqy4GbHBu + return 1 + true + '[' -n '' ']' + '[' -n psmdb-operator ']' + kubectl_bin delete --grace-period=0 --force=true namespace multi-storage-18977 + rm -rf /tmp/tmp.ZaqZiKfedP + kubectl_bin delete --grace-period=0 --force=true namespace psmdb-operator ++ mktemp ++ mktemp + log 'test passed' + set +o xtrace + local LAST_OUT=/tmp/tmp.xGqSuGhL4c + local LAST_OUT=/tmp/tmp.b3BZCAPAoQ ++ mktemp ++ mktemp [2025-11-26T19:44:06+0000] test passed + local LAST_ERR=/tmp/tmp.LSLOVyjWeX + local exit_status=0 + local timeout=4 + local LAST_ERR=/tmp/tmp.lXaXx1rImf + local exit_status=0 + local timeout=4 ++ seq 0 2 ++ 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 multi-storage-18977