Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/logs/demand-backup-physical-sharded-oss-native.log Warning: version difference between client (1.36) and server (1.33) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.36) and server (1.33) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.36) and server (1.33) exceeds the supported minor version skew of +/-1 + '[' -n '' ']' + create_infra demand-backup-physical-sharded-oss-native-5763 + local ns=demand-backup-physical-sharded-oss-native-5763 + [[ 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-2409/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.nCFFY6Sw8Z ++ mktemp + local LAST_ERR=/tmp/tmp.sBIP2Hz0Wl + 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-2409/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.nCFFY6Sw8Z customresourcedefinition.apiextensions.k8s.io "perconaservermongodbbackups.psmdb.percona.com" deleted customresourcedefinition.apiextensions.k8s.io "perconaservermongodbclustersyncs.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.sBIP2Hz0Wl + rm /tmp/tmp.nCFFY6Sw8Z /tmp/tmp.sBIP2Hz0Wl + return 0 ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/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\":[]}}"' + kubectl patch perconaservermongodbbackups.psmdb.percona.com -n demand-backup-physical-sharded-oss-native-27762 backup-oss-native-sharded --type=merge -p '{"metadata":{"finalizers":[]}}' perconaservermongodbbackup.psmdb.percona.com/backup-oss-native-sharded patched + kubectl_bin wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.iOrUasgPFL ++ mktemp + local LAST_ERR=/tmp/tmp.ICu7TjEWa1 + 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.iOrUasgPFL customresourcedefinition.apiextensions.k8s.io/perconaservermongodbbackups.psmdb.percona.com condition met + cat /tmp/tmp.ICu7TjEWa1 + rm /tmp/tmp.iOrUasgPFL /tmp/tmp.ICu7TjEWa1 + return 0 + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbclustersyncs.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbclustersyncs.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbclustersyncs" + kubectl patch perconaservermongodbclustersyncs.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbclustersyncs" + : + kubectl_bin wait --for=delete crd perconaservermongodbclustersyncs.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.Jzb0PTsxAH ++ mktemp + local LAST_ERR=/tmp/tmp.qC2Saxuei2 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete crd perconaservermongodbclustersyncs.psmdb.percona.com + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Jzb0PTsxAH + cat /tmp/tmp.qC2Saxuei2 + rm /tmp/tmp.Jzb0PTsxAH /tmp/tmp.qC2Saxuei2 + 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.rN49KUuxQz ++ mktemp + local LAST_ERR=/tmp/tmp.UCGUzPVKRv + 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.rN49KUuxQz + cat /tmp/tmp.UCGUzPVKRv + rm /tmp/tmp.rN49KUuxQz /tmp/tmp.UCGUzPVKRv + 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.A79llSN82L ++ mktemp + local LAST_ERR=/tmp/tmp.s5WloaNge7 + 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.A79llSN82L + cat /tmp/tmp.s5WloaNge7 + rm /tmp/tmp.A79llSN82L /tmp/tmp.s5WloaNge7 + 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-2409/deploy/cw-rbac.yaml --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.uNOOBXWmoE ++ mktemp + local LAST_ERR=/tmp/tmp.D3zaYCjoM6 + 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-2409/deploy/cw-rbac.yaml --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.uNOOBXWmoE 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.D3zaYCjoM6 + rm /tmp/tmp.uNOOBXWmoE /tmp/tmp.D3zaYCjoM6 + return 0 + check_crd_for_deletion PR-2409-631b79c7b + local git_tag=PR-2409-631b79c7b ++ curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/PR-2409-631b79c7b/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.AuE396eSgh +++ mktemp ++ local LAST_ERR=/tmp/tmp.J8BTXT8g3g ++ 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.AuE396eSgh ++ cat /tmp/tmp.J8BTXT8g3g 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.AuE396eSgh ++ cat /tmp/tmp.J8BTXT8g3g 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.AuE396eSgh ++ cat /tmp/tmp.J8BTXT8g3g Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 8 ++ cat /tmp/tmp.AuE396eSgh ++ cat /tmp/tmp.J8BTXT8g3g Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ rm /tmp/tmp.AuE396eSgh /tmp/tmp.J8BTXT8g3g ++ return 1 + [[ '' == Terminating ]] + '[' -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 ++ sed s/NAMESPACE// ++ awk '-F ' '{print $2}' + local chaos_mesh_ns= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ grep validate-auth ++ kubectl get ValidatingWebhookConfiguration ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + grep -E -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + '[' -n '' ']' + desc 'cleaned up old namespaces psmdb-operator' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace psmdb-operator --ignore-not-found + awk '{print$1}' + xargs kubectl delete ns ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.dVHafyx2aP ++ mktemp + local LAST_OUT=/tmp/tmp.V9hikbjESf + local LAST_ERR=/tmp/tmp.V393ptS66g + local exit_status=0 + local timeout=4 ++ mktemp ++ seq 0 2 + local LAST_ERR=/tmp/tmp.SxIbpAB5H5 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get ns + for i in $(seq 0 2) + set +e + kubectl delete namespace psmdb-operator --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.V9hikbjESf + cat /tmp/tmp.SxIbpAB5H5 + rm /tmp/tmp.V9hikbjESf /tmp/tmp.SxIbpAB5H5 + return 0 namespace "demand-backup-physical-sharded-oss-native-27762" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.dVHafyx2aP namespace "psmdb-operator" deleted + cat /tmp/tmp.V393ptS66g + rm /tmp/tmp.dVHafyx2aP /tmp/tmp.V393ptS66g + return 0 + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.eEqsr0SYqd ++ mktemp + local LAST_ERR=/tmp/tmp.g4T42tNeRz + 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.eEqsr0SYqd + cat /tmp/tmp.g4T42tNeRz + rm /tmp/tmp.eEqsr0SYqd /tmp/tmp.g4T42tNeRz + 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.t0y0AyTLfg ++ mktemp + local LAST_ERR=/tmp/tmp.78FkZ7QFlR + 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.t0y0AyTLfg namespace/psmdb-operator created + cat /tmp/tmp.78FkZ7QFlR + rm /tmp/tmp.t0y0AyTLfg /tmp/tmp.78FkZ7QFlR + return 0 + set_kube_ctx psmdb-operator + local namespace=psmdb-operator ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.H8PWXz7WwX +++ mktemp ++ local LAST_ERR=/tmp/tmp.HoNOEoSSZ6 ++ 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.H8PWXz7WwX ++ cat /tmp/tmp.HoNOEoSSZ6 ++ rm /tmp/tmp.H8PWXz7WwX /tmp/tmp.HoNOEoSSZ6 ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2409-631b79c7b-9-cluster8 --namespace=psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.dCiol5Iafb ++ mktemp + local LAST_ERR=/tmp/tmp.sdMwrB0Mqj + 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-2409-631b79c7b-9-cluster8 --namespace=psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.dCiol5Iafb Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2409-631b79c7b-9-cluster8" modified. + cat /tmp/tmp.sdMwrB0Mqj + rm /tmp/tmp.dCiol5Iafb /tmp/tmp.sdMwrB0Mqj + return 0 + deploy_operator + desc 'start PSMDB operator: docker.io/perconalab/percona-server-mongodb-operator:PR-2409-631b79c7b' + set +o xtrace ----------------------------------------------------------------------------------- start PSMDB operator: docker.io/perconalab/percona-server-mongodb-operator:PR-2409-631b79c7b ----------------------------------------------------------------------------------- + local cr_file + '[' -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/conf/crd.yaml ']' + cr_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/deploy/crd.yaml + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.mpXf0Dhb3F ++ mktemp + local LAST_ERR=/tmp/tmp.VbRP5kqs82 + 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-2409/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.mpXf0Dhb3F customresourcedefinition.apiextensions.k8s.io/perconaservermongodbbackups.psmdb.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaservermongodbclustersyncs.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.VbRP5kqs82 + rm /tmp/tmp.mpXf0Dhb3F /tmp/tmp.VbRP5kqs82 + 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-2409/deploy/cw-rbac.yaml + sed -e 's^namespace: .*^namespace: psmdb-operator^' + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.POkdb6Y6hu ++ mktemp + local LAST_ERR=/tmp/tmp.9n73YehExk + 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.POkdb6Y6hu 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.9n73YehExk + rm /tmp/tmp.POkdb6Y6hu /tmp/tmp.9n73YehExk + return 0 + yq eval $'\n\t\t\t(.spec.template.spec.containers[].image = "docker.io/perconalab/percona-server-mongodb-operator:PR-2409-631b79c7b") |\n\t\t\t((.. | select(.[] == "DISABLE_TELEMETRY")) |= .value="true") |\n\t\t\t((.. | select(.[] == "LOG_LEVEL")) |= .value="DEBUG")' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/deploy/cw-operator.yaml + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.xnTdI0jPrJ ++ mktemp + local LAST_ERR=/tmp/tmp.ThfCUHpg8o + 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.xnTdI0jPrJ deployment.apps/percona-server-mongodb-operator created + cat /tmp/tmp.ThfCUHpg8o + rm /tmp/tmp.xnTdI0jPrJ /tmp/tmp.ThfCUHpg8o + 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.zWANPOiRdf +++ mktemp ++ local LAST_ERR=/tmp/tmp.GiBV6pg1sj ++ 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.zWANPOiRdf ++ cat /tmp/tmp.GiBV6pg1sj ++ rm /tmp/tmp.zWANPOiRdf /tmp/tmp.GiBV6pg1sj ++ return 0 + wait_operator_pod percona-server-mongodb-operator-66ccb7fd4-jv68p + local pod=percona-server-mongodb-operator-66ccb7fd4-jv68p + set +o xtrace waiting for pod/percona-server-mongodb-operator-66ccb7fd4-jv68p 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.nKJg5mFoRw +++ mktemp ++ local LAST_ERR=/tmp/tmp.lwGgwYNI0q ++ 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.nKJg5mFoRw ++ cat /tmp/tmp.lwGgwYNI0q ++ rm /tmp/tmp.nKJg5mFoRw /tmp/tmp.lwGgwYNI0q ++ return 0 + kubectl_bin logs -n psmdb-operator percona-server-mongodb-operator-66ccb7fd4-jv68p ++ mktemp + local LAST_OUT=/tmp/tmp.9GPadjepRu ++ mktemp + local LAST_ERR=/tmp/tmp.Q8yaRCDpv5 + 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-66ccb7fd4-jv68p + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.9GPadjepRu + cat /tmp/tmp.Q8yaRCDpv5 + rm /tmp/tmp.9GPadjepRu /tmp/tmp.Q8yaRCDpv5 + return 0 2026-06-22T16:34:54.308Z INFO setup Manager starting up {"gitCommit": "631b79c7bad9f6f83d39b94b8f96a438036de06a", "gitBranch": "PR-2409-631b79c7b", "buildTime": "", "goVersion": "go1.26.4", "os": "linux", "arch": "amd64"} + create_namespace demand-backup-physical-sharded-oss-native-5763 + local namespace=demand-backup-physical-sharded-oss-native-5763 + 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 ++ awk '{print $1}' ++ grep chaos-mesh + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + grep -E -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' ++ mktemp + awk '{print$1}' + '[' -n '' ']' + xargs kubectl delete ns + desc 'cleaned up old namespaces demand-backup-physical-sharded-oss-native-5763' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces demand-backup-physical-sharded-oss-native-5763 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace demand-backup-physical-sharded-oss-native-5763 --ignore-not-found + local LAST_OUT=/tmp/tmp.TT2t9fcLQh ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.X6CSx7lBCr + local LAST_ERR=/tmp/tmp.UTJA2gAfbY + local exit_status=0 + local timeout=4 ++ mktemp ++ seq 0 2 + local LAST_ERR=/tmp/tmp.dKUhjP7SzT + 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 demand-backup-physical-sharded-oss-native-5763 --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.TT2t9fcLQh + cat /tmp/tmp.UTJA2gAfbY + rm /tmp/tmp.TT2t9fcLQh /tmp/tmp.UTJA2gAfbY + 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.X6CSx7lBCr + cat /tmp/tmp.dKUhjP7SzT + rm /tmp/tmp.X6CSx7lBCr /tmp/tmp.dKUhjP7SzT + return 0 + kubectl_bin wait --for=delete namespace demand-backup-physical-sharded-oss-native-5763 ++ mktemp + local LAST_OUT=/tmp/tmp.mNMWskz54r ++ mktemp + local LAST_ERR=/tmp/tmp.4ciaflv8Jl + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete namespace demand-backup-physical-sharded-oss-native-5763 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.mNMWskz54r + cat /tmp/tmp.4ciaflv8Jl + rm /tmp/tmp.mNMWskz54r /tmp/tmp.4ciaflv8Jl + return 0 + desc 'create namespace demand-backup-physical-sharded-oss-native-5763' + set +o xtrace ----------------------------------------------------------------------------------- create namespace demand-backup-physical-sharded-oss-native-5763 ----------------------------------------------------------------------------------- + kubectl_bin create namespace demand-backup-physical-sharded-oss-native-5763 ++ mktemp + local LAST_OUT=/tmp/tmp.DIzEx19njI ++ mktemp + local LAST_ERR=/tmp/tmp.sniLSzQXbu + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl create namespace demand-backup-physical-sharded-oss-native-5763 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.DIzEx19njI namespace/demand-backup-physical-sharded-oss-native-5763 created + cat /tmp/tmp.sniLSzQXbu + rm /tmp/tmp.DIzEx19njI /tmp/tmp.sniLSzQXbu + return 0 + set_kube_ctx demand-backup-physical-sharded-oss-native-5763 + local namespace=demand-backup-physical-sharded-oss-native-5763 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.msQqxeS18T +++ mktemp ++ local LAST_ERR=/tmp/tmp.ryoWlbEdDK ++ 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.msQqxeS18T ++ cat /tmp/tmp.ryoWlbEdDK ++ rm /tmp/tmp.msQqxeS18T /tmp/tmp.ryoWlbEdDK ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2409-631b79c7b-9-cluster8 --namespace=demand-backup-physical-sharded-oss-native-5763 ++ mktemp + local LAST_OUT=/tmp/tmp.GA6djHRHOQ ++ mktemp + local LAST_ERR=/tmp/tmp.b0RIiIvN3S + 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-2409-631b79c7b-9-cluster8 --namespace=demand-backup-physical-sharded-oss-native-5763 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.GA6djHRHOQ Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2409-631b79c7b-9-cluster8" modified. + cat /tmp/tmp.b0RIiIvN3S + rm /tmp/tmp.GA6djHRHOQ /tmp/tmp.b0RIiIvN3S + return 0 + apply_s3_storage_secrets + desc 'create secrets for cloud storages' + set +o xtrace ----------------------------------------------------------------------------------- create secrets for cloud storages ----------------------------------------------------------------------------------- + '[' -z '' ']' + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/conf/cloud-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.NV8ecBABw5 ++ mktemp + local LAST_ERR=/tmp/tmp.vo56aeveHb + 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-2409/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/conf/cloud-secret.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.NV8ecBABw5 secret/minio-secret created secret/aws-s3-secret created secret/alibaba-cloud-secret created secret/gcp-cs-secret created secret/azure-secret created secret/gcp-cs-sa-key-secret created + cat /tmp/tmp.vo56aeveHb + rm /tmp/tmp.NV8ecBABw5 /tmp/tmp.vo56aeveHb + return 0 + desc 'Testing on sharded cluster' + set +o xtrace ----------------------------------------------------------------------------------- Testing on sharded cluster ----------------------------------------------------------------------------------- + echo 'Creating PSMDB cluster' Creating PSMDB cluster + cluster=some-name + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/conf/secrets.yml ++ mktemp + local LAST_OUT=/tmp/tmp.pvuoz86Lik ++ mktemp + local LAST_ERR=/tmp/tmp.wKHSzGJNXg + 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-2409/e2e-tests/conf/secrets.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.pvuoz86Lik secret/some-users created + cat /tmp/tmp.wKHSzGJNXg + rm /tmp/tmp.pvuoz86Lik /tmp/tmp.wKHSzGJNXg + return 0 + apply_cluster /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/conf/some-name-sharded.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/conf/some-name-sharded.yml + kubectl_bin apply -f - + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/conf/some-name-sharded.yml ++ mktemp + yq eval '(.spec | select(.image == null)).image = "docker.io/perconalab/percona-server-mongodb-operator:main-mongod8.0"' + yq eval '(.spec | select(has("initImage"))).initImage = "docker.io/perconalab/percona-server-mongodb-operator:PR-2409-631b79c7b"' + yq eval '(.spec | select(has("search"))).search.image = "mongodb/mongodb-community-search:latest"' + yq eval '(.spec | select(has("backup"))).backup.image = "docker.io/perconalab/percona-server-mongodb-operator:main-backup"' + /usr/sbin/sed -e s/NAME_SPACE/demand-backup-physical-sharded-oss-native-5763/g + local LAST_OUT=/tmp/tmp.cNpkhWLXjd + yq eval '(.spec | select(has("pmm"))).pmm.image = "docker.io/percona/pmm-client:2.44.1-1"' ++ mktemp + yq eval '.spec.upgradeOptions.apply="Never"' + local LAST_ERR=/tmp/tmp.NW02Yfb25z + 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.cNpkhWLXjd perconaservermongodb.psmdb.percona.com/some-name created + cat /tmp/tmp.NW02Yfb25z + rm /tmp/tmp.cNpkhWLXjd /tmp/tmp.NW02Yfb25z + return 0 + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/conf/client_with_tls.yml ++ mktemp + local LAST_OUT=/tmp/tmp.CyduCHdMFM ++ mktemp + local LAST_ERR=/tmp/tmp.c60GG6yQHV + 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-2409/e2e-tests/conf/client_with_tls.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.CyduCHdMFM deployment.apps/psmdb-client created + cat /tmp/tmp.c60GG6yQHV + rm /tmp/tmp.CyduCHdMFM /tmp/tmp.c60GG6yQHV + return 0 + echo 'Check if all pods started' Check if all pods started + wait_for_running some-name-rs0 3 + local name=some-name-rs0 + let last_pod=2 + local check_cluster_readyness=true + set_debug + [[ 1 == 1 ]] + set -o xtrace + local rs_name=rs0 + local cluster_name=some-name ++ seq 0 2 + for i in $(seq 0 $last_pod) + [[ 0 -eq 2 ]] + wait_pod some-name-rs0-0 + local pod=some-name-rs0-0 + set +o xtrace waiting for pod/some-name-rs0-0 to be ready........OK + for i in $(seq 0 $last_pod) + [[ 1 -eq 2 ]] + wait_pod some-name-rs0-1 + local pod=some-name-rs0-1 + set +o xtrace waiting for pod/some-name-rs0-1 to be ready......OK + for i in $(seq 0 $last_pod) + [[ 2 -eq 2 ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2bcPddYiaY +++ mktemp ++ local LAST_ERR=/tmp/tmp.MFeYXxx5hK ++ 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.2bcPddYiaY ++ cat /tmp/tmp.MFeYXxx5hK ++ rm /tmp/tmp.2bcPddYiaY /tmp/tmp.MFeYXxx5hK ++ return 0 + [[ '' == true ]] + 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.YClkG9hP02 +++ mktemp ++ local LAST_ERR=/tmp/tmp.9UsSSVxjy6 ++ 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.YClkG9hP02 ++ cat /tmp/tmp.9UsSSVxjy6 ++ rm /tmp/tmp.YClkG9hP02 /tmp/tmp.9UsSSVxjy6 ++ return 0 + [[ '' == true ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.JkrwXWnIMN +++ mktemp ++ local LAST_ERR=/tmp/tmp.1BQhZGZJDS ++ 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.JkrwXWnIMN ++ cat /tmp/tmp.1BQhZGZJDS ++ rm /tmp/tmp.JkrwXWnIMN /tmp/tmp.1BQhZGZJDS ++ return 0 + [[ '' == true ]] + sleep 10 + [[ true == true ]] + set +x Waiting for cluster readyness.................................. + wait_for_running some-name-cfg 3 + local name=some-name-cfg + let last_pod=2 + local check_cluster_readyness=true + set_debug + [[ 1 == 1 ]] + set -o xtrace + local rs_name=cfg + local cluster_name=some-name ++ seq 0 2 + for i in $(seq 0 $last_pod) + [[ 0 -eq 2 ]] + wait_pod some-name-cfg-0 + local pod=some-name-cfg-0 + set +o xtrace waiting for pod/some-name-cfg-0 to be ready.OK + for i in $(seq 0 $last_pod) + [[ 1 -eq 2 ]] + wait_pod some-name-cfg-1 + local pod=some-name-cfg-1 + set +o xtrace waiting for pod/some-name-cfg-1 to be ready.OK + for i in $(seq 0 $last_pod) + [[ 2 -eq 2 ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.9t3Fzo7fr1 +++ mktemp ++ local LAST_ERR=/tmp/tmp.Iqc4jhXuTG ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.9t3Fzo7fr1 ++ cat /tmp/tmp.Iqc4jhXuTG ++ rm /tmp/tmp.9t3Fzo7fr1 /tmp/tmp.Iqc4jhXuTG ++ return 0 + [[ '' == true ]] + wait_pod some-name-cfg-2 + local pod=some-name-cfg-2 + set +o xtrace waiting for pod/some-name-cfg-2 to be ready.OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.g7WqDbi7Kj +++ mktemp ++ local LAST_ERR=/tmp/tmp.VoQXnE2Cqe ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.g7WqDbi7Kj ++ cat /tmp/tmp.VoQXnE2Cqe ++ rm /tmp/tmp.g7WqDbi7Kj /tmp/tmp.VoQXnE2Cqe ++ return 0 + [[ '' == true ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.nRMyQZwJYo +++ mktemp ++ local LAST_ERR=/tmp/tmp.drFBoj8SqJ ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.nRMyQZwJYo ++ cat /tmp/tmp.drFBoj8SqJ ++ rm /tmp/tmp.nRMyQZwJYo /tmp/tmp.drFBoj8SqJ ++ return 0 + [[ '' == true ]] + sleep 10 + [[ true == true ]] + set +x Waiting for cluster readyness + wait_for_running some-name-mongos 3 + local name=some-name-mongos + let last_pod=2 + local check_cluster_readyness=true + set_debug + [[ 1 == 1 ]] + set -o xtrace + local rs_name=mongos + local cluster_name=some-name ++ seq 0 2 + for i in $(seq 0 $last_pod) + [[ 0 -eq 2 ]] + wait_pod some-name-mongos-0 + local pod=some-name-mongos-0 + set +o xtrace waiting for pod/some-name-mongos-0 to be ready.OK + for i in $(seq 0 $last_pod) + [[ 1 -eq 2 ]] + wait_pod some-name-mongos-1 + local pod=some-name-mongos-1 + set +o xtrace waiting for pod/some-name-mongos-1 to be ready.OK + for i in $(seq 0 $last_pod) + [[ 2 -eq 2 ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.aOjDC3fQuM +++ mktemp ++ local LAST_ERR=/tmp/tmp.8iFbW7nlbT ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.aOjDC3fQuM ++ cat /tmp/tmp.8iFbW7nlbT ++ rm /tmp/tmp.aOjDC3fQuM /tmp/tmp.8iFbW7nlbT ++ return 0 + [[ '' == true ]] + wait_pod some-name-mongos-2 + local pod=some-name-mongos-2 + set +o xtrace waiting for pod/some-name-mongos-2 to be ready.OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.jrqxh4aABf +++ mktemp ++ local LAST_ERR=/tmp/tmp.H6NdEPUOB1 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.jrqxh4aABf ++ cat /tmp/tmp.H6NdEPUOB1 ++ rm /tmp/tmp.jrqxh4aABf /tmp/tmp.H6NdEPUOB1 ++ return 0 + [[ '' == true ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Wp5k17ahvI +++ mktemp ++ local LAST_ERR=/tmp/tmp.AzL3UmczRc ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.Wp5k17ahvI ++ cat /tmp/tmp.AzL3UmczRc ++ rm /tmp/tmp.Wp5k17ahvI /tmp/tmp.AzL3UmczRc ++ return 0 + [[ '' == true ]] + sleep 10 + [[ true == true ]] + set +x Waiting for cluster readyness + wait_cluster_consistency some-name + local cluster_name=some-name + local wait_time=32 + retry=0 + sleep 7 + echo -n 'waiting for cluster readyness' waiting for cluster readyness++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Emg6j8t8Fv +++ mktemp ++ local LAST_ERR=/tmp/tmp.xG9bW082Y0 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.Emg6j8t8Fv ++ cat /tmp/tmp.xG9bW082Y0 ++ rm /tmp/tmp.Emg6j8t8Fv /tmp/tmp.xG9bW082Y0 ++ return 0 + [[ ready == ready ]] + echo .OK .OK ++ kubectl_bin get svc some-name-mongos '-o=jsonpath={.status}' ++ jq -r 'select(.loadBalancer != null and .loadBalancer.ingress != null and .loadBalancer.ingress != []) | .loadBalancer.ingress[0] | if .ip then .ip else .hostname end' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hcX843JDY6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.v9AZpE6eh3 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get svc some-name-mongos '-o=jsonpath={.status}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.hcX843JDY6 ++ cat /tmp/tmp.v9AZpE6eh3 ++ rm /tmp/tmp.hcX843JDY6 /tmp/tmp.v9AZpE6eh3 ++ return 0 + lbEndpoint=34.68.44.67 + '[' -z 34.68.44.67 ']' + run_mongos 'db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})' userAdmin:userAdmin123456@some-name-mongos.demand-backup-physical-sharded-oss-native-5763 + local 'command=db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})' + local uri=userAdmin:userAdmin123456@some-name-mongos.demand-backup-physical-sharded-oss-native-5763 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local port=27017 + local mongo_bin=mongo ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.u15TLjhYeq +++ mktemp ++ local LAST_ERR=/tmp/tmp.qitSF6d28x ++ 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.u15TLjhYeq ++ cat /tmp/tmp.qitSF6d28x ++ rm /tmp/tmp.u15TLjhYeq /tmp/tmp.qitSF6d28x ++ return 0 + local client_container=psmdb-client-5649fbb65f-88vqq + kubectl_bin exec psmdb-client-5649fbb65f-88vqq -- bash -c 'printf '\''db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n'\'' | mongo mongodb://userAdmin:userAdmin123456@some-name-mongos.demand-backup-physical-sharded-oss-native-5763.svc.cluster.local:27017/admin ' ++ mktemp + local LAST_OUT=/tmp/tmp.nqS0vQhuHw ++ mktemp + local LAST_ERR=/tmp/tmp.lAGvizDy2S + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-88vqq -- bash -c 'printf '\''db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n'\'' | mongo mongodb://userAdmin:userAdmin123456@some-name-mongos.demand-backup-physical-sharded-oss-native-5763.svc.cluster.local:27017/admin ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.nqS0vQhuHw Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-mongos.demand-backup-physical-sharded-oss-native-5763.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("7a8d0d11-4a74-44fb-b5fc-bc8b1e85ff83") } Percona Server for MongoDB server version: v8.0.23-10 WARNING: shell and server versions do not match Successfully added user: { "user" : "myApp", "roles" : [ { "db" : "myApp", "role" : "readWrite" } ] } bye + cat /tmp/tmp.lAGvizDy2S + rm /tmp/tmp.nqS0vQhuHw /tmp/tmp.lAGvizDy2S + return 0 + sleep 1 + run_mongos 'use myApp\n db.test.insert({ x: 100501 })' myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763 + local 'command=use myApp\n db.test.insert({ x: 100501 })' + local uri=myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local port=27017 + local mongo_bin=mongo ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.FWHzzMKmHq +++ mktemp ++ local LAST_ERR=/tmp/tmp.V7r9oTcXoW ++ 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.FWHzzMKmHq ++ cat /tmp/tmp.V7r9oTcXoW ++ rm /tmp/tmp.FWHzzMKmHq /tmp/tmp.V7r9oTcXoW ++ return 0 + local client_container=psmdb-client-5649fbb65f-88vqq + kubectl_bin exec psmdb-client-5649fbb65f-88vqq -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100501 })\n'\'' | mongo mongodb://myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763.svc.cluster.local:27017/admin ' ++ mktemp + local LAST_OUT=/tmp/tmp.Y0NH443UEP ++ mktemp + local LAST_ERR=/tmp/tmp.7218ALeD30 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-88vqq -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100501 })\n'\'' | mongo mongodb://myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763.svc.cluster.local:27017/admin ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Y0NH443UEP Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-mongos.demand-backup-physical-sharded-oss-native-5763.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("b7376ea2-4326-4da8-8803-8ebe771b46eb") } Percona Server for MongoDB server version: v8.0.23-10 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.7218ALeD30 + rm /tmp/tmp.Y0NH443UEP /tmp/tmp.7218ALeD30 + return 0 + sleep 5 + compare_mongos_cmd find myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763 -sharded + local command=find + local uri=myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763 + local postfix=-sharded + local suffix= + local database=myApp + local collection=test + local port=27017 + local tls=false + [[ false == true ]] + mongos_command=run_mongos + log 'running db.test.command() in myApp' + set +o xtrace [2026-06-22T16:39:12+0000] running db.test.command() in myApp + run_mongos 'use myApp\n db.test.find()' myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763 mongodb '' '' 27017 + local 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local port=27017 + grep -E -v 'I NETWORK|W NETWORK|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' + local mongo_bin=mongo + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' ++ echo .svc.cluster.local ++ awk -F: '{print $2}' + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xWV4G3YtV6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.6jxvqeAyf0 ++ 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.xWV4G3YtV6 ++ cat /tmp/tmp.6jxvqeAyf0 ++ rm /tmp/tmp.xWV4G3YtV6 /tmp/tmp.6jxvqeAyf0 ++ return 0 + local client_container=psmdb-client-5649fbb65f-88vqq + kubectl_bin exec psmdb-client-5649fbb65f-88vqq -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763.svc.cluster.local:27017/admin ' ++ mktemp + local LAST_OUT=/tmp/tmp.fH6TWRiAOR ++ mktemp + local LAST_ERR=/tmp/tmp.1ec7RAanDm + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-88vqq -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763.svc.cluster.local:27017/admin ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.fH6TWRiAOR + cat /tmp/tmp.1ec7RAanDm + rm /tmp/tmp.fH6TWRiAOR /tmp/tmp.1ec7RAanDm + return 0 + [[ 0 -eq 0 ]] + diff /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/compare/find-sharded.json /tmp/tmp.9RTtgY8MAX/find-sharded + echo 'Waiting 60 seconds for stable timestamp in wiredtiger' Waiting 60 seconds for stable timestamp in wiredtiger + sleep 80 + echo 'Running OSS native storage backup' Running OSS native storage backup + backup_name_oss_native=backup-oss-native-sharded + run_backup oss-native backup-oss-native-sharded physical + local storage=oss-native + local backup_name=backup-oss-native-sharded + local type=physical + log 'running backup backup-oss-native-sharded' + set +o xtrace [2026-06-22T16:40:35+0000] running backup backup-oss-native-sharded + yq eval $'.metadata.name = "backup-oss-native-sharded"\n\t\t\t| .spec.storageName = "oss-native"\n\t\t\t| .spec.type = "physical"' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/conf/backup-oss-native.yml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.giVWwq4jRI ++ mktemp + local LAST_ERR=/tmp/tmp.qR9ytXDLEZ + 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.giVWwq4jRI perconaservermongodbbackup.psmdb.percona.com/backup-oss-native-sharded created + cat /tmp/tmp.qR9ytXDLEZ + rm /tmp/tmp.giVWwq4jRI /tmp/tmp.qR9ytXDLEZ + return 0 + wait_backup backup-oss-native-sharded + local backup_name=backup-oss-native-sharded + local target_state=ready + set +o xtrace waiting for backup-oss-native-sharded to reach ready state..................................................OK + check_backup_in_storage backup-oss-native-sharded oss rs0 + local backup=backup-oss-native-sharded + local storage_type=oss + local replset=rs0 + local file=filelist.pbm + local protocol=http + local endpoint ++ get_backup_dest backup-oss-native-sharded ++ local backup_name=backup-oss-native-sharded ++ /usr/sbin/sed 's|https://engk8soperators.blob.core.windows.net/||' ++ kubectl_bin get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.status.destination}' ++ sed -e 's/.json$//' ++ sed 's|s3://||' +++ mktemp ++ sed 's|azure://||' ++ sed 's|gs://||' ++ sed 's|oss://||' ++ local LAST_OUT=/tmp/tmp.TKWOFn4iSy +++ mktemp ++ local LAST_ERR=/tmp/tmp.xUSRch0NSd ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.status.destination}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.TKWOFn4iSy ++ cat /tmp/tmp.xUSRch0NSd ++ rm /tmp/tmp.TKWOFn4iSy /tmp/tmp.xUSRch0NSd ++ return 0 + backup_dest=operator-testing/psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z + case ${storage_type} in ++ get_backup_storage_oss_field backup-oss-native-sharded endpointUrl ++ local backup_name=backup-oss-native-sharded ++ local field=endpointUrl ++ local cluster_name ++ local storage_name +++ get_backup_cluster_name backup-oss-native-sharded +++ local backup_name=backup-oss-native-sharded +++ kubectl_bin get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.clusterName}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.XIJ6llznSx ++++ mktemp +++ local LAST_ERR=/tmp/tmp.FgbW9Sr9cN +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.clusterName}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.XIJ6llznSx +++ cat /tmp/tmp.FgbW9Sr9cN +++ rm /tmp/tmp.XIJ6llznSx /tmp/tmp.FgbW9Sr9cN +++ return 0 ++ cluster_name=some-name +++ get_backup_storage_name backup-oss-native-sharded +++ local backup_name=backup-oss-native-sharded +++ kubectl_bin get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.storageName}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.YlgXCpqLzp ++++ mktemp +++ local LAST_ERR=/tmp/tmp.UD54dxJAyP +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.storageName}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.YlgXCpqLzp +++ cat /tmp/tmp.UD54dxJAyP +++ rm /tmp/tmp.YlgXCpqLzp /tmp/tmp.UD54dxJAyP +++ return 0 ++ storage_name=oss-native ++ kubectl_bin get psmdb some-name -o json ++ jq -r --arg storage oss-native --arg field endpointUrl '.spec.backup.storages[$storage].oss[$field]' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4HwIjorckn +++ mktemp ++ local LAST_ERR=/tmp/tmp.01XXQogegs ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o json ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.4HwIjorckn ++ cat /tmp/tmp.01XXQogegs ++ rm /tmp/tmp.4HwIjorckn /tmp/tmp.01XXQogegs ++ return 0 + endpoint=https://oss-eu-central-1.aliyuncs.com ++ get_backup_storage_oss_field backup-oss-native-sharded region ++ local backup_name=backup-oss-native-sharded ++ local field=region ++ local cluster_name ++ local storage_name +++ get_backup_cluster_name backup-oss-native-sharded +++ local backup_name=backup-oss-native-sharded +++ kubectl_bin get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.clusterName}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.Z2cKk0RVS0 ++++ mktemp +++ local LAST_ERR=/tmp/tmp.r0hKaFUzrC +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.clusterName}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.Z2cKk0RVS0 +++ cat /tmp/tmp.r0hKaFUzrC +++ rm /tmp/tmp.Z2cKk0RVS0 /tmp/tmp.r0hKaFUzrC +++ return 0 ++ cluster_name=some-name +++ get_backup_storage_name backup-oss-native-sharded +++ local backup_name=backup-oss-native-sharded +++ kubectl_bin get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.storageName}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.tls56UTGTn ++++ mktemp +++ local LAST_ERR=/tmp/tmp.J7rBzk6uno +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.storageName}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.tls56UTGTn +++ cat /tmp/tmp.J7rBzk6uno +++ rm /tmp/tmp.tls56UTGTn /tmp/tmp.J7rBzk6uno +++ return 0 ++ storage_name=oss-native ++ kubectl_bin get psmdb some-name -o json ++ jq -r --arg storage oss-native --arg field region '.spec.backup.storages[$storage].oss[$field]' +++ mktemp ++ local LAST_OUT=/tmp/tmp.cOiGVZH4Jh +++ mktemp ++ local LAST_ERR=/tmp/tmp.jBrm3SMWO8 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o json ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.cOiGVZH4Jh ++ cat /tmp/tmp.jBrm3SMWO8 ++ rm /tmp/tmp.cOiGVZH4Jh /tmp/tmp.jBrm3SMWO8 ++ return 0 + region=eu-central-1 ++ echo https://oss-eu-central-1.aliyuncs.com ++ /usr/sbin/sed 's|://oss-|://s3.oss-|' + endpoint=https://s3.oss-eu-central-1.aliyuncs.com + setup_alibaba_cloud_s3_credentials eu-central-1 + local region=eu-central-1 + local secret_name=alibaba-cloud-secret + echo 'Setting up Alibaba Cloud S3-compatible credentials from secret: alibaba-cloud-secret' Setting up Alibaba Cloud S3-compatible credentials from secret: alibaba-cloud-secret + local trace_was_on=0 + [[ ehxB == *x* ]] + trace_was_on=1 + set +x + echo 'Alibaba Cloud S3-compatible credentials configured successfully' Alibaba Cloud S3-compatible credentials configured successfully + check_backup_existence_aws operator-testing/psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z /rs0/filelist.pbm https://s3.oss-eu-central-1.aliyuncs.com oss-native ++ echo operator-testing/psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z ++ cut -d/ -f1 + bucket=operator-testing ++ echo operator-testing/psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z ++ cut -d/ -f2- + key_prefix=psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z + key=/rs0/filelist.pbm + endpoint=https://s3.oss-eu-central-1.aliyuncs.com + storage_name=oss-native + retry=0 + endpoint_arg=() + local endpoint_arg + [[ -n https://s3.oss-eu-central-1.aliyuncs.com ]] + endpoint_arg=(--endpoint-url "$endpoint") + aws --endpoint-url https://s3.oss-eu-central-1.aliyuncs.com s3api head-object --bucket operator-testing --key psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z/rs0/filelist.pbm + echo 'Backup operator-testing/psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z//rs0/filelist.pbm found in oss-native' Backup operator-testing/psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z//rs0/filelist.pbm found in oss-native + check_backup_in_storage backup-oss-native-sharded oss cfg + local backup=backup-oss-native-sharded + local storage_type=oss + local replset=cfg + local file=filelist.pbm + local protocol=http + local endpoint ++ get_backup_dest backup-oss-native-sharded ++ local backup_name=backup-oss-native-sharded ++ /usr/sbin/sed 's|https://engk8soperators.blob.core.windows.net/||' ++ kubectl_bin get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.status.destination}' ++ sed -e 's/.json$//' ++ sed 's|s3://||' +++ mktemp ++ sed 's|azure://||' ++ sed 's|gs://||' ++ sed 's|oss://||' ++ local LAST_OUT=/tmp/tmp.3jpOinWLYN +++ mktemp ++ local LAST_ERR=/tmp/tmp.WnBTU1INI3 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.status.destination}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.3jpOinWLYN ++ cat /tmp/tmp.WnBTU1INI3 ++ rm /tmp/tmp.3jpOinWLYN /tmp/tmp.WnBTU1INI3 ++ return 0 + backup_dest=operator-testing/psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z + case ${storage_type} in ++ get_backup_storage_oss_field backup-oss-native-sharded endpointUrl ++ local backup_name=backup-oss-native-sharded ++ local field=endpointUrl ++ local cluster_name ++ local storage_name +++ get_backup_cluster_name backup-oss-native-sharded +++ local backup_name=backup-oss-native-sharded +++ kubectl_bin get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.clusterName}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.CY4c84W9tD ++++ mktemp +++ local LAST_ERR=/tmp/tmp.scaTjsGBjG +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.clusterName}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.CY4c84W9tD +++ cat /tmp/tmp.scaTjsGBjG +++ rm /tmp/tmp.CY4c84W9tD /tmp/tmp.scaTjsGBjG +++ return 0 ++ cluster_name=some-name +++ get_backup_storage_name backup-oss-native-sharded +++ local backup_name=backup-oss-native-sharded +++ kubectl_bin get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.storageName}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.Ljz0jb8kwH ++++ mktemp +++ local LAST_ERR=/tmp/tmp.kcpWkUv4kz +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.storageName}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.Ljz0jb8kwH +++ cat /tmp/tmp.kcpWkUv4kz +++ rm /tmp/tmp.Ljz0jb8kwH /tmp/tmp.kcpWkUv4kz +++ return 0 ++ storage_name=oss-native ++ kubectl_bin get psmdb some-name -o json ++ jq -r --arg storage oss-native --arg field endpointUrl '.spec.backup.storages[$storage].oss[$field]' +++ mktemp ++ local LAST_OUT=/tmp/tmp.rj0aX2YJTz +++ mktemp ++ local LAST_ERR=/tmp/tmp.IrT2DDhfFv ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o json ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.rj0aX2YJTz ++ cat /tmp/tmp.IrT2DDhfFv ++ rm /tmp/tmp.rj0aX2YJTz /tmp/tmp.IrT2DDhfFv ++ return 0 + endpoint=https://oss-eu-central-1.aliyuncs.com ++ get_backup_storage_oss_field backup-oss-native-sharded region ++ local backup_name=backup-oss-native-sharded ++ local field=region ++ local cluster_name ++ local storage_name +++ get_backup_cluster_name backup-oss-native-sharded +++ local backup_name=backup-oss-native-sharded +++ kubectl_bin get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.clusterName}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.UjRMDQ2YIV ++++ mktemp +++ local LAST_ERR=/tmp/tmp.qC5nKOWHod +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.clusterName}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.UjRMDQ2YIV +++ cat /tmp/tmp.qC5nKOWHod +++ rm /tmp/tmp.UjRMDQ2YIV /tmp/tmp.qC5nKOWHod +++ return 0 ++ cluster_name=some-name +++ get_backup_storage_name backup-oss-native-sharded +++ local backup_name=backup-oss-native-sharded +++ kubectl_bin get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.storageName}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.HsfX4L6VDP ++++ mktemp +++ local LAST_ERR=/tmp/tmp.L2rYnWYeVS +++ local exit_status=0 +++ local timeout=4 ++++ seq 0 2 +++ for i in $(seq 0 2) +++ set +e +++ kubectl get psmdb-backup backup-oss-native-sharded -o 'jsonpath={.spec.storageName}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 -a -n 1 ']' +++ break +++ cat /tmp/tmp.HsfX4L6VDP +++ cat /tmp/tmp.L2rYnWYeVS +++ rm /tmp/tmp.HsfX4L6VDP /tmp/tmp.L2rYnWYeVS +++ return 0 ++ storage_name=oss-native ++ kubectl_bin get psmdb some-name -o json ++ jq -r --arg storage oss-native --arg field region '.spec.backup.storages[$storage].oss[$field]' +++ mktemp ++ local LAST_OUT=/tmp/tmp.mw8L063Nfs +++ mktemp ++ local LAST_ERR=/tmp/tmp.67SSlF6dHY ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb some-name -o json ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.mw8L063Nfs ++ cat /tmp/tmp.67SSlF6dHY ++ rm /tmp/tmp.mw8L063Nfs /tmp/tmp.67SSlF6dHY ++ return 0 + region=eu-central-1 ++ echo https://oss-eu-central-1.aliyuncs.com ++ /usr/sbin/sed 's|://oss-|://s3.oss-|' + endpoint=https://s3.oss-eu-central-1.aliyuncs.com + setup_alibaba_cloud_s3_credentials eu-central-1 + local region=eu-central-1 + local secret_name=alibaba-cloud-secret + echo 'Setting up Alibaba Cloud S3-compatible credentials from secret: alibaba-cloud-secret' Setting up Alibaba Cloud S3-compatible credentials from secret: alibaba-cloud-secret + local trace_was_on=0 + [[ ehxB == *x* ]] + trace_was_on=1 + set +x + echo 'Alibaba Cloud S3-compatible credentials configured successfully' Alibaba Cloud S3-compatible credentials configured successfully + check_backup_existence_aws operator-testing/psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z /cfg/filelist.pbm https://s3.oss-eu-central-1.aliyuncs.com oss-native ++ cut -d/ -f1 ++ echo operator-testing/psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z + bucket=operator-testing ++ cut -d/ -f2- ++ echo operator-testing/psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z + key_prefix=psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z + key=/cfg/filelist.pbm + endpoint=https://s3.oss-eu-central-1.aliyuncs.com + storage_name=oss-native + retry=0 + endpoint_arg=() + local endpoint_arg + [[ -n https://s3.oss-eu-central-1.aliyuncs.com ]] + endpoint_arg=(--endpoint-url "$endpoint") + aws --endpoint-url https://s3.oss-eu-central-1.aliyuncs.com s3api head-object --bucket operator-testing --key psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z/cfg/filelist.pbm + echo 'Backup operator-testing/psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z//cfg/filelist.pbm found in oss-native' Backup operator-testing/psmdb-demand-backup-physical-sharded-oss-native/2026-06-22T16:40:38Z//cfg/filelist.pbm found in oss-native + echo 'Drop collection' Drop collection + run_mongos 'use myApp\n db.test.drop()' myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763 + local 'command=use myApp\n db.test.drop()' + local uri=myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local port=27017 + local mongo_bin=mongo ++ awk -F: '{print $2}' ++ echo .svc.cluster.local + suffix_port= + [[ -z '' ]] + suffix=.svc.cluster.local:27017 ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.jE9FV2o7yV +++ mktemp ++ local LAST_ERR=/tmp/tmp.CuzjvUmOt2 ++ 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.jE9FV2o7yV ++ cat /tmp/tmp.CuzjvUmOt2 ++ rm /tmp/tmp.jE9FV2o7yV /tmp/tmp.CuzjvUmOt2 ++ return 0 + local client_container=psmdb-client-5649fbb65f-88vqq + kubectl_bin exec psmdb-client-5649fbb65f-88vqq -- bash -c 'printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763.svc.cluster.local:27017/admin ' ++ mktemp + local LAST_OUT=/tmp/tmp.vPKeHLIZbC ++ mktemp + local LAST_ERR=/tmp/tmp.SZryXoYqp1 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-5649fbb65f-88vqq -- bash -c 'printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-mongos.demand-backup-physical-sharded-oss-native-5763.svc.cluster.local:27017/admin ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.vPKeHLIZbC Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-mongos.demand-backup-physical-sharded-oss-native-5763.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("192fbd41-8542-459d-8b92-4b6f73b3e436") } Percona Server for MongoDB server version: v8.0.23-10 WARNING: shell and server versions do not match switched to db myApp true bye + cat /tmp/tmp.SZryXoYqp1 + rm /tmp/tmp.vPKeHLIZbC /tmp/tmp.SZryXoYqp1 + return 0 + echo 'Check backup and restore -- oss-native' Check backup and restore -- oss-native + run_restore backup-oss-native-sharded + local backup_name=backup-oss-native-sharded + local restore_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/conf/restore.yml + log 'running restore restore-backup-oss-native-sharded' + set +o xtrace [2026-06-22T16:42:39+0000] running restore restore-backup-oss-native-sharded + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/conf/restore.yml + /usr/sbin/sed -e 's/name:/name: restore-backup-oss-native-sharded/' + /usr/sbin/sed -e 's/backupName:/backupName: backup-oss-native-sharded/' + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.MtwV035mbZ ++ mktemp + local LAST_ERR=/tmp/tmp.JE2XExkUNR + 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.MtwV035mbZ perconaservermongodbrestore.psmdb.percona.com/restore-backup-oss-native-sharded created + cat /tmp/tmp.JE2XExkUNR + rm /tmp/tmp.MtwV035mbZ /tmp/tmp.JE2XExkUNR + return 0 + run_recovery_check backup-oss-native-sharded _restore_sharded sharded + local backup_name=backup-oss-native-sharded + local compare_suffix=_restore_sharded + local is_sharded=sharded + local tls= + wait_restore backup-oss-native-sharded some-name requested 0 3000 + local backup_name=backup-oss-native-sharded + local cluster_name=some-name + local target_state=requested + local wait_cluster_consistency=0 + local wait_time=3000 + local ok_if_ready=0 + set +o xtrace Waiting for the psmdb-restore/restore-backup-oss-native-sharded object to be created.OK Waiting psmdb-restore/restore-backup-oss-native-sharded to reach state "requested" .....OK after 4 minutes + [[ 0 -eq 1 ]] + echo + compare_kubectl statefulset/some-name-rs0 _restore_sharded + local resource=statefulset/some-name-rs0 + local postfix=_restore_sharded + local skip_generation_check= + local expected_result=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/compare/statefulset_some-name-rs0_restore_sharded.yml + local new_result=/tmp/tmp.9RTtgY8MAX/statefulset_some-name-rs0.yml + '[' -n '' -a -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/compare/statefulset_some-name-rs0_restore_sharded-oc.yml ']' + kubectl_bin get -o yaml statefulset/some-name-rs0 + yq eval $'\n\t\t\tdel(.metadata.ownerReferences[].apiVersion) |\n\t\t\tdel(.metadata.managedFields) |\n\t\t\tdel(.. | select(has("creationTimestamp")).creationTimestamp) |\n\t\t\tdel(.. | select(has("namespace")).namespace) |\n\t\t\tdel(.. | select(has("uid")).uid) |\n\t\t\tdel(.metadata.resourceVersion) |\n\t\t\tdel(.spec.template.spec.containers[].env[] | select(.name == "NAMESPACE")) |\n\t\t\tdel(.metadata.selfLink) |\n\t\t\tdel(.metadata.annotations."cloud.google.com/neg") |\n\t\t\tdel(.metadata.annotations."kubectl.kubernetes.io/last-applied-configuration") |\n\t\t\tdel(.. | select(has("image")).image) |\n\t\t\tdel(.. | select(has("clusterIP")).clusterIP) |\n\t\t\tdel(.. | select(has("clusterIPs")).clusterIPs) |\n\t\t\tdel(.. | select(has("dataSource")).dataSource) |\n\t\t\tdel(.. | select(has("procMount")).procMount) |\n\t\t\tdel(.. | select(has("storageClassName")).storageClassName) |\n\t\t\tdel(.. | select(has("finalizers")).finalizers) |\n\t\t\tdel(.. | select(has("kubernetes.io/pvc-protection"))."kubernetes.io/pvc-protection") |\n\t\t\tdel(.. | select(has("volumeName")).volumeName) |\n\t\t\tdel(.. | select(has("volume.beta.kubernetes.io/storage-provisioner"))."volume.beta.kubernetes.io/storage-provisioner") |\n\t\t\tdel(.. | select(has("volume.kubernetes.io/storage-provisioner"))."volume.kubernetes.io/storage-provisioner") |\n\t\t\tdel(.spec.volumeMode) |\n\t\t\tdel(.. | select(has("volume.kubernetes.io/selected-node"))."volume.kubernetes.io/selected-node") |\n\t\t\tdel(.. | select(has("percona.com/last-config-hash"))."percona.com/last-config-hash") |\n\t\t\tdel(.. | select(has("percona.com/configuration-hash"))."percona.com/configuration-hash") |\n\t\t\tdel(.. | select(has("percona.com/ssl-hash"))."percona.com/ssl-hash") |\n\t\t\tdel(.. | select(has("percona.com/ssl-internal-hash"))."percona.com/ssl-internal-hash") |\n\t\t\tdel(.spec.volumeClaimTemplates[].spec.volumeMode | select(. == "Filesystem")) |\n\t\t\tdel(.. | select(has("healthCheckNodePort")).healthCheckNodePort) |\n\t\t\tdel(.. | select(has("nodePort")).nodePort) |\n\t\t\tdel(.status) |\n\t\t\t(.. | select(tag == "!!str")) |= sub("demand-backup-physical-sharded-oss-native-5763", "NAME_SPACE") |\n\t\t\tdel(.spec.volumeClaimTemplates[].apiVersion) |\n\t\t\tdel(.spec.volumeClaimTemplates[].kind) |\n\t\t\tdel(.spec.ipFamilies) |\n\t\t\tdel(.spec.ipFamilyPolicy) |\n\t\t\t(.. | select(. == "extensions/v1beta1")) = "apps/v1" |\n\t\t\t(.. | select(. == "batch/v1beta1")) = "batch/v1" ' - ++ mktemp + local LAST_OUT=/tmp/tmp.OnCfJ1mUso ++ mktemp + local LAST_ERR=/tmp/tmp.SZAFtuNedV + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get -o yaml statefulset/some-name-rs0 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.OnCfJ1mUso + cat /tmp/tmp.SZAFtuNedV + rm /tmp/tmp.OnCfJ1mUso /tmp/tmp.SZAFtuNedV + return 0 + yq -i eval 'del(.spec.persistentVolumeClaimRetentionPolicy)' /tmp/tmp.9RTtgY8MAX/statefulset_some-name-rs0.yml + version_gt 1.22 ++ echo '1.33 >= 1.22' ++ bc -l + '[' 1 -eq 1 ']' + return 0 + yq -i eval 'del(.spec.internalTrafficPolicy)' /tmp/tmp.9RTtgY8MAX/statefulset_some-name-rs0.yml + yq -i eval 'del(.spec.allocateLoadBalancerNodePorts)' /tmp/tmp.9RTtgY8MAX/statefulset_some-name-rs0.yml + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/compare/statefulset_some-name-rs0_restore_sharded.yml == */cronjob* ]] + '[' -n '' ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/compare/statefulset_some-name-rs0_restore_sharded.yml /tmp/tmp.9RTtgY8MAX/statefulset_some-name-rs0.yml --- /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/compare/statefulset_some-name-rs0_restore_sharded.yml 2026-06-22 15:59:42.316482567 +0000 +++ /tmp/tmp.9RTtgY8MAX/statefulset_some-name-rs0.yml 2026-06-22 16:47:07.790244228 +0000 @@ -162,9 +162,6 @@ volumeMounts: - mountPath: /data/db name: mongod-data - - mountPath: /etc/mongodb-secrets - name: some-name-mongodb-keyfile - readOnly: true - mountPath: /etc/mongodb-ssl name: ssl readOnly: true @@ -202,8 +199,6 @@ terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - - mountPath: /data/db - name: mongod-data - mountPath: /opt/percona name: bin - command: @@ -216,8 +211,6 @@ terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - - mountPath: /data/db - name: mongod-data - mountPath: /opt/percona name: bin restartPolicy: Always @@ -228,11 +221,6 @@ serviceAccountName: default terminationGracePeriodSeconds: 60 volumes: - - name: some-name-mongodb-keyfile - secret: - defaultMode: 288 - optional: false - secretName: some-name-mongodb-keyfile - emptyDir: {} name: bin - emptyDir: {} ++ caller + log 'compare_kubectl (1000 /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/../functions) failed with diff' + set +o xtrace [2026-06-22T16:47:07+0000] compare_kubectl (1000 /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2409/e2e-tests/demand-backup-physical-sharded-oss-native/../functions) failed with diff + exit 1