Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/e2e-tests/logs/demand-backup-physical-sharded-gcp-native.log Warning: version difference between client (1.35) and server (1.32) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.35) and server (1.32) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.35) and server (1.32) exceeds the supported minor version skew of +/-1 + '[' -n '' ']' + create_infra demand-backup-physical-sharded-gcp-native-25092 + local ns=demand-backup-physical-sharded-gcp-native-25092 + [[ 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-2247/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.irghdUJHRl ++ mktemp + local LAST_ERR=/tmp/tmp.3Gyni9HhLn + 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-2247/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.irghdUJHRl 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.3Gyni9HhLn + rm /tmp/tmp.irghdUJHRl /tmp/tmp.3Gyni9HhLn + return 0 ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/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-gcp-native-22472 backup-gcp-cs-sa-sharded --type=merge -p '{"metadata":{"finalizers":[]}}' perconaservermongodbbackup.psmdb.percona.com/backup-gcp-cs-sa-sharded patched + kubectl_bin wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.IE7oPIA8wK ++ mktemp + local LAST_ERR=/tmp/tmp.775cTsrjrf + 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.IE7oPIA8wK + cat /tmp/tmp.775cTsrjrf + rm /tmp/tmp.IE7oPIA8wK /tmp/tmp.775cTsrjrf + 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.aTVXuDh4qo ++ mktemp + local LAST_ERR=/tmp/tmp.lI1WTaqjuk + 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.aTVXuDh4qo + cat /tmp/tmp.lI1WTaqjuk + rm /tmp/tmp.aTVXuDh4qo /tmp/tmp.lI1WTaqjuk + 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.3eHjDpBIbJ ++ mktemp + local LAST_ERR=/tmp/tmp.P8E3fTNBjD + 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.3eHjDpBIbJ + cat /tmp/tmp.P8E3fTNBjD + rm /tmp/tmp.3eHjDpBIbJ /tmp/tmp.P8E3fTNBjD + 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-2247/deploy/cw-rbac.yaml --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.3W8jl4mpAo ++ mktemp + local LAST_ERR=/tmp/tmp.SVxOtu7d6U + 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-2247/deploy/cw-rbac.yaml --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.3W8jl4mpAo 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.SVxOtu7d6U + rm /tmp/tmp.3W8jl4mpAo /tmp/tmp.SVxOtu7d6U + return 0 + check_crd_for_deletion PR-2247-091270b4 + local git_tag=PR-2247-091270b4 ++ curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/PR-2247-091270b4/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.VBdDHVZGLb +++ mktemp ++ local LAST_ERR=/tmp/tmp.gmejCuqPy5 ++ 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.VBdDHVZGLb ++ cat /tmp/tmp.gmejCuqPy5 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.VBdDHVZGLb ++ cat /tmp/tmp.gmejCuqPy5 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.VBdDHVZGLb ++ cat /tmp/tmp.gmejCuqPy5 Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 8 ++ cat /tmp/tmp.VBdDHVZGLb ++ cat /tmp/tmp.gmejCuqPy5 Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ rm /tmp/tmp.VBdDHVZGLb /tmp/tmp.gmejCuqPy5 ++ return 1 + [[ '' == \T\e\r\m\i\n\a\t\i\n\g ]] + '[' -n psmdb-operator ']' + create_namespace psmdb-operator + local namespace=psmdb-operator + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// + local chaos_mesh_ns= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + grep -E -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + awk '{print$1}' + '[' -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 ++ mktemp + xargs kubectl delete ns ++ mktemp + local LAST_OUT=/tmp/tmp.kdLSTOn3Y1 ++ mktemp + local LAST_OUT=/tmp/tmp.LaaQfiKnoP + local LAST_ERR=/tmp/tmp.PwazJgreHw + local exit_status=0 + local timeout=4 ++ mktemp ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get ns + local LAST_ERR=/tmp/tmp.SeRVU5nqwL + local exit_status=0 + local timeout=4 ++ 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.kdLSTOn3Y1 + cat /tmp/tmp.PwazJgreHw + rm /tmp/tmp.kdLSTOn3Y1 /tmp/tmp.PwazJgreHw + return 0 namespace "demand-backup-physical-sharded-gcp-native-22472" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.LaaQfiKnoP namespace "psmdb-operator" deleted + cat /tmp/tmp.SeRVU5nqwL + rm /tmp/tmp.LaaQfiKnoP /tmp/tmp.SeRVU5nqwL + return 0 + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.yMhbhFWabU ++ mktemp + local LAST_ERR=/tmp/tmp.RWFs7qG3Ih + 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.yMhbhFWabU + cat /tmp/tmp.RWFs7qG3Ih + rm /tmp/tmp.yMhbhFWabU /tmp/tmp.RWFs7qG3Ih + 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.NX7UCvEDqO ++ mktemp + local LAST_ERR=/tmp/tmp.SCHZKQqkxc + 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.NX7UCvEDqO namespace/psmdb-operator created + cat /tmp/tmp.SCHZKQqkxc + rm /tmp/tmp.NX7UCvEDqO /tmp/tmp.SCHZKQqkxc + return 0 + set_kube_ctx psmdb-operator + local namespace=psmdb-operator ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.FLNDMD6zdv +++ mktemp ++ local LAST_ERR=/tmp/tmp.jkxQ5VLima ++ 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.FLNDMD6zdv ++ cat /tmp/tmp.jkxQ5VLima ++ rm /tmp/tmp.FLNDMD6zdv /tmp/tmp.jkxQ5VLima ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2247-091270b4-5-cluster8 --namespace=psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.rZWnfrP8rz ++ mktemp + local LAST_ERR=/tmp/tmp.Q2HYOSf8XI + 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-2247-091270b4-5-cluster8 --namespace=psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.rZWnfrP8rz Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2247-091270b4-5-cluster8" modified. + cat /tmp/tmp.Q2HYOSf8XI + rm /tmp/tmp.rZWnfrP8rz /tmp/tmp.Q2HYOSf8XI + return 0 + deploy_operator + desc 'start PSMDB operator: perconalab/percona-server-mongodb-operator:PR-2247-091270b4' + set +o xtrace ----------------------------------------------------------------------------------- start PSMDB operator: perconalab/percona-server-mongodb-operator:PR-2247-091270b4 ----------------------------------------------------------------------------------- + local cr_file + '[' -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/e2e-tests/demand-backup-physical-sharded-gcp-native/conf/crd.yaml ']' + cr_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/deploy/crd.yaml + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.GK6g3ur3sa ++ mktemp + local LAST_ERR=/tmp/tmp.qP4bs0Jmm1 + 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-2247/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.GK6g3ur3sa 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.qP4bs0Jmm1 + rm /tmp/tmp.GK6g3ur3sa /tmp/tmp.qP4bs0Jmm1 + 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-2247/deploy/cw-rbac.yaml + kubectl_bin apply -n psmdb-operator -f - + sed -e 's^namespace: .*^namespace: psmdb-operator^' ++ mktemp + local LAST_OUT=/tmp/tmp.2zRtK7xpMA ++ mktemp + local LAST_ERR=/tmp/tmp.oYLLYjZo4O + 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.2zRtK7xpMA 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.oYLLYjZo4O + rm /tmp/tmp.2zRtK7xpMA /tmp/tmp.oYLLYjZo4O + return 0 + yq eval ' (.spec.template.spec.containers[].image = "perconalab/percona-server-mongodb-operator:PR-2247-091270b4") | ((.. | select(.[] == "DISABLE_TELEMETRY")) |= .value="true") | ((.. | select(.[] == "LOG_LEVEL")) |= .value="DEBUG")' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/deploy/cw-operator.yaml + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.VRmxySpEwf ++ mktemp + local LAST_ERR=/tmp/tmp.jjj8WiYDgb + 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.VRmxySpEwf deployment.apps/percona-server-mongodb-operator created + cat /tmp/tmp.jjj8WiYDgb + rm /tmp/tmp.VRmxySpEwf /tmp/tmp.jjj8WiYDgb + 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.AqTipehVAq +++ mktemp ++ local LAST_ERR=/tmp/tmp.h92H59SRhm ++ 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.AqTipehVAq ++ cat /tmp/tmp.h92H59SRhm ++ rm /tmp/tmp.AqTipehVAq /tmp/tmp.h92H59SRhm ++ return 0 + wait_operator_pod percona-server-mongodb-operator-64bc9b5fc9-7jtzb + local pod=percona-server-mongodb-operator-64bc9b5fc9-7jtzb + set +o xtrace waiting for pod/percona-server-mongodb-operator-64bc9b5fc9-7jtzb 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.xBWRZ10zyH +++ mktemp ++ local LAST_ERR=/tmp/tmp.kLIboYCFvb ++ 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.xBWRZ10zyH ++ cat /tmp/tmp.kLIboYCFvb ++ rm /tmp/tmp.xBWRZ10zyH /tmp/tmp.kLIboYCFvb ++ return 0 + kubectl_bin logs -n psmdb-operator percona-server-mongodb-operator-64bc9b5fc9-7jtzb ++ mktemp + local LAST_OUT=/tmp/tmp.FTALegB56W ++ mktemp + local LAST_ERR=/tmp/tmp.kZK4gFqRyb + 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-64bc9b5fc9-7jtzb + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.FTALegB56W + cat /tmp/tmp.kZK4gFqRyb + rm /tmp/tmp.FTALegB56W /tmp/tmp.kZK4gFqRyb + return 0 2026-02-19T14:18:25.167Z INFO setup Manager starting up {"gitCommit": "091270b48773244359d74f74a10340fc1c0cff51", "gitBranch": "PR-2247-091270b4", "buildTime": "", "goVersion": "go1.25.7", "os": "linux", "arch": "amd64"} + create_namespace demand-backup-physical-sharded-gcp-native-25092 + local namespace=demand-backup-physical-sharded-gcp-native-25092 + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// + local chaos_mesh_ns= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + grep -E -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + '[' -n '' ']' + desc 'cleaned up old namespaces demand-backup-physical-sharded-gcp-native-25092' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces demand-backup-physical-sharded-gcp-native-25092 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace demand-backup-physical-sharded-gcp-native-25092 --ignore-not-found + awk '{print$1}' + xargs kubectl delete ns ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.memcyuqcV1 ++ mktemp + local LAST_OUT=/tmp/tmp.dyqNXKQcPW + local LAST_ERR=/tmp/tmp.k31TfPC9yL + local exit_status=0 + local timeout=4 ++ mktemp ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get ns + local LAST_ERR=/tmp/tmp.acFYDPQ9LF + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete namespace demand-backup-physical-sharded-gcp-native-25092 --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.memcyuqcV1 + cat /tmp/tmp.k31TfPC9yL + rm /tmp/tmp.memcyuqcV1 /tmp/tmp.k31TfPC9yL + 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.dyqNXKQcPW + cat /tmp/tmp.acFYDPQ9LF + rm /tmp/tmp.dyqNXKQcPW /tmp/tmp.acFYDPQ9LF + return 0 + kubectl_bin wait --for=delete namespace demand-backup-physical-sharded-gcp-native-25092 ++ mktemp + local LAST_OUT=/tmp/tmp.xDpepPZbQB ++ mktemp + local LAST_ERR=/tmp/tmp.HQUC9iUgsP + 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-gcp-native-25092 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.xDpepPZbQB + cat /tmp/tmp.HQUC9iUgsP + rm /tmp/tmp.xDpepPZbQB /tmp/tmp.HQUC9iUgsP + return 0 + desc 'create namespace demand-backup-physical-sharded-gcp-native-25092' + set +o xtrace ----------------------------------------------------------------------------------- create namespace demand-backup-physical-sharded-gcp-native-25092 ----------------------------------------------------------------------------------- + kubectl_bin create namespace demand-backup-physical-sharded-gcp-native-25092 ++ mktemp + local LAST_OUT=/tmp/tmp.HKFixTRjnb ++ mktemp + local LAST_ERR=/tmp/tmp.cFJK0qdQpf + 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-gcp-native-25092 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.HKFixTRjnb namespace/demand-backup-physical-sharded-gcp-native-25092 created + cat /tmp/tmp.cFJK0qdQpf + rm /tmp/tmp.HKFixTRjnb /tmp/tmp.cFJK0qdQpf + return 0 + set_kube_ctx demand-backup-physical-sharded-gcp-native-25092 + local namespace=demand-backup-physical-sharded-gcp-native-25092 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.ZTiOj57Dsn +++ mktemp ++ local LAST_ERR=/tmp/tmp.9J7aUT9O8D ++ 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.ZTiOj57Dsn ++ cat /tmp/tmp.9J7aUT9O8D ++ rm /tmp/tmp.ZTiOj57Dsn /tmp/tmp.9J7aUT9O8D ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2247-091270b4-5-cluster8 --namespace=demand-backup-physical-sharded-gcp-native-25092 ++ mktemp + local LAST_OUT=/tmp/tmp.uZIkMevY0W ++ mktemp + local LAST_ERR=/tmp/tmp.YfBUZxgn3T + 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-2247-091270b4-5-cluster8 --namespace=demand-backup-physical-sharded-gcp-native-25092 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.uZIkMevY0W Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2247-091270b4-5-cluster8" modified. + cat /tmp/tmp.YfBUZxgn3T + rm /tmp/tmp.uZIkMevY0W /tmp/tmp.YfBUZxgn3T + 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-2247/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/e2e-tests/conf/cloud-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.tWkVnJ1kPI ++ mktemp + local LAST_ERR=/tmp/tmp.M989NzabCy + 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-2247/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/e2e-tests/conf/cloud-secret.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.tWkVnJ1kPI secret/minio-secret created secret/aws-s3-secret created secret/gcp-cs-secret created secret/azure-secret created secret/gcp-cs-sa-key-secret created + cat /tmp/tmp.M989NzabCy + rm /tmp/tmp.tWkVnJ1kPI /tmp/tmp.M989NzabCy + 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-2247/e2e-tests/conf/secrets.yml ++ mktemp + local LAST_OUT=/tmp/tmp.gVEl11zOa3 ++ mktemp + local LAST_ERR=/tmp/tmp.1hDT447fXP + 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-2247/e2e-tests/conf/secrets.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.gVEl11zOa3 secret/some-users created + cat /tmp/tmp.1hDT447fXP + rm /tmp/tmp.gVEl11zOa3 /tmp/tmp.1hDT447fXP + return 0 + apply_cluster /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/e2e-tests/demand-backup-physical-sharded-gcp-native/conf/some-name-sharded.yml + '[' -z '' ']' + kubectl_bin apply -f - + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/e2e-tests/demand-backup-physical-sharded-gcp-native/conf/some-name-sharded.yml ++ mktemp + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/e2e-tests/demand-backup-physical-sharded-gcp-native/conf/some-name-sharded.yml + yq eval '(.spec | select(.image == null)).image = "perconalab/percona-server-mongodb-operator:main-mongod8.0"' + yq eval '(.spec | select(has("pmm"))).pmm.image = "percona/pmm-client:2.44.1-1"' + local LAST_OUT=/tmp/tmp.RWnnINWp21 ++ mktemp + yq eval '(.spec | select(has("backup"))).backup.image = "perconalab/percona-server-mongodb-operator:main-backup"' + yq eval '(.spec | select(has("initImage"))).initImage = "perconalab/percona-server-mongodb-operator:PR-2247-091270b4"' + /usr/sbin/sed -e s/NAME_SPACE/demand-backup-physical-sharded-gcp-native-25092/g + yq eval '.spec.upgradeOptions.apply="Never"' + local LAST_ERR=/tmp/tmp.3UjGodIryH + 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.RWnnINWp21 perconaservermongodb.psmdb.percona.com/some-name created + cat /tmp/tmp.3UjGodIryH + rm /tmp/tmp.RWnnINWp21 /tmp/tmp.3UjGodIryH + return 0 + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/e2e-tests/conf/client_with_tls.yml ++ mktemp + local LAST_OUT=/tmp/tmp.AZREHbgXK6 ++ mktemp + local LAST_ERR=/tmp/tmp.1R3I8GRHtl + 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-2247/e2e-tests/conf/client_with_tls.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.AZREHbgXK6 deployment.apps/psmdb-client created + cat /tmp/tmp.1R3I8GRHtl + rm /tmp/tmp.AZREHbgXK6 /tmp/tmp.1R3I8GRHtl + 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.wZzI7tZU2p +++ mktemp ++ local LAST_ERR=/tmp/tmp.BgtoRofGN1 ++ 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.wZzI7tZU2p ++ cat /tmp/tmp.BgtoRofGN1 ++ rm /tmp/tmp.wZzI7tZU2p /tmp/tmp.BgtoRofGN1 ++ 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.AuLPAXeCzw +++ mktemp ++ local LAST_ERR=/tmp/tmp.jmE8slTlxt ++ 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.AuLPAXeCzw ++ cat /tmp/tmp.jmE8slTlxt ++ rm /tmp/tmp.AuLPAXeCzw /tmp/tmp.jmE8slTlxt ++ 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.cmYODyfVSt +++ mktemp ++ local LAST_ERR=/tmp/tmp.KzadRiASbr ++ 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.cmYODyfVSt ++ cat /tmp/tmp.KzadRiASbr ++ rm /tmp/tmp.cmYODyfVSt /tmp/tmp.KzadRiASbr ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ true == \t\r\u\e ]] + 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.Yk32YlF7oM +++ mktemp ++ local LAST_ERR=/tmp/tmp.IJnfWJb5tX ++ 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.Yk32YlF7oM ++ cat /tmp/tmp.IJnfWJb5tX ++ rm /tmp/tmp.Yk32YlF7oM /tmp/tmp.IJnfWJb5tX ++ return 0 + [[ '' == \t\r\u\e ]] + wait_pod some-name-cfg-2 + local pod=some-name-cfg-2 + set +o xtrace waiting for pod/some-name-cfg-2 to be ready.OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.rc3dXQdElQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.yspPU2cTD0 ++ 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.rc3dXQdElQ ++ cat /tmp/tmp.yspPU2cTD0 ++ rm /tmp/tmp.rc3dXQdElQ /tmp/tmp.yspPU2cTD0 ++ return 0 + [[ '' == \t\r\u\e ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="cfg")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.7hlT33G3Y6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.rhRycm0Vsy ++ 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.7hlT33G3Y6 ++ cat /tmp/tmp.rhRycm0Vsy ++ rm /tmp/tmp.7hlT33G3Y6 /tmp/tmp.rhRycm0Vsy ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ true == \t\r\u\e ]] + 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.RwOIvFWLEf +++ mktemp ++ local LAST_ERR=/tmp/tmp.1oh6CQIwlI ++ 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.RwOIvFWLEf ++ cat /tmp/tmp.1oh6CQIwlI ++ rm /tmp/tmp.RwOIvFWLEf /tmp/tmp.1oh6CQIwlI ++ return 0 + [[ '' == \t\r\u\e ]] + wait_pod some-name-mongos-2 + local pod=some-name-mongos-2 + set +o xtrace waiting for pod/some-name-mongos-2 to be ready.OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.INhqd2Rikr +++ mktemp ++ local LAST_ERR=/tmp/tmp.DGjICWSOr3 ++ 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.INhqd2Rikr ++ cat /tmp/tmp.DGjICWSOr3 ++ rm /tmp/tmp.INhqd2Rikr /tmp/tmp.DGjICWSOr3 ++ return 0 + [[ '' == \t\r\u\e ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="mongos")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.WlTSCYSn1x +++ mktemp ++ local LAST_ERR=/tmp/tmp.GvJH9Azr58 ++ 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.WlTSCYSn1x ++ cat /tmp/tmp.GvJH9Azr58 ++ rm /tmp/tmp.WlTSCYSn1x /tmp/tmp.GvJH9Azr58 ++ return 0 + [[ '' == \t\r\u\e ]] + sleep 10 + [[ true == \t\r\u\e ]] + set +x Waiting for cluster readyness + wait_cluster_consistency some-name + local cluster_name=some-name + local wait_time=32 + retry=0 + sleep 7 + echo -n 'waiting for cluster readyness' waiting for cluster readyness++ kubectl_bin get psmdb some-name -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.8GZOAxoXMD +++ mktemp ++ local LAST_ERR=/tmp/tmp.fH19eS3eva ++ 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.8GZOAxoXMD ++ cat /tmp/tmp.fH19eS3eva ++ rm /tmp/tmp.8GZOAxoXMD /tmp/tmp.fH19eS3eva ++ return 0 + [[ ready == \r\e\a\d\y ]] + 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.3N2mBouk1D +++ mktemp ++ local LAST_ERR=/tmp/tmp.1dFd1vk6ur ++ 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.3N2mBouk1D ++ cat /tmp/tmp.1dFd1vk6ur ++ rm /tmp/tmp.3N2mBouk1D /tmp/tmp.1dFd1vk6ur ++ return 0 + lbEndpoint=34.55.54.211 + '[' -z 34.55.54.211 ']' + run_mongos 'db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})' userAdmin:userAdmin123456@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092 + local 'command=db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})' + local uri=userAdmin:userAdmin123456@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092 + 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.5ChTTowSQY +++ mktemp ++ local LAST_ERR=/tmp/tmp.IwYvl5UEuF ++ 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.5ChTTowSQY ++ cat /tmp/tmp.IwYvl5UEuF ++ rm /tmp/tmp.5ChTTowSQY /tmp/tmp.IwYvl5UEuF ++ return 0 + local client_container=psmdb-client-54c7db9946-grkmm + kubectl_bin exec psmdb-client-54c7db9946-grkmm -- 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-gcp-native-25092.svc.cluster.local:27017/admin ' ++ mktemp + local LAST_OUT=/tmp/tmp.1ely10YVgz ++ mktemp + local LAST_ERR=/tmp/tmp.hf7OkEkKfJ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-54c7db9946-grkmm -- 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-gcp-native-25092.svc.cluster.local:27017/admin ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.1ely10YVgz Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-mongos.demand-backup-physical-sharded-gcp-native-25092.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("10115335-4f24-4ff1-a460-c5d83da96b84") } Percona Server for MongoDB server version: v8.0.19-7 WARNING: shell and server versions do not match Successfully added user: { "user" : "myApp", "roles" : [ { "db" : "myApp", "role" : "readWrite" } ] } bye + cat /tmp/tmp.hf7OkEkKfJ + rm /tmp/tmp.1ely10YVgz /tmp/tmp.hf7OkEkKfJ + return 0 + sleep 1 + run_mongos 'use myApp\n db.test.insert({ x: 100501 })' myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092 + local 'command=use myApp\n db.test.insert({ x: 100501 })' + local uri=myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092 + 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.GKgOy8kdt8 +++ mktemp ++ local LAST_ERR=/tmp/tmp.kNALFZQcqw ++ 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.GKgOy8kdt8 ++ cat /tmp/tmp.kNALFZQcqw ++ rm /tmp/tmp.GKgOy8kdt8 /tmp/tmp.kNALFZQcqw ++ return 0 + local client_container=psmdb-client-54c7db9946-grkmm + kubectl_bin exec psmdb-client-54c7db9946-grkmm -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100501 })\n'\'' | mongo mongodb://myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092.svc.cluster.local:27017/admin ' ++ mktemp + local LAST_OUT=/tmp/tmp.Sx9Q9N09b8 ++ mktemp + local LAST_ERR=/tmp/tmp.KCQjjZIWWL + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-54c7db9946-grkmm -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100501 })\n'\'' | mongo mongodb://myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092.svc.cluster.local:27017/admin ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Sx9Q9N09b8 Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-mongos.demand-backup-physical-sharded-gcp-native-25092.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("f5aff56c-0fec-465d-b7e7-ec5e30ef7152") } Percona Server for MongoDB server version: v8.0.19-7 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.KCQjjZIWWL + rm /tmp/tmp.Sx9Q9N09b8 /tmp/tmp.KCQjjZIWWL + return 0 + sleep 5 + compare_mongos_cmd find myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092 -sharded + local command=find + local uri=myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092 + local postfix=-sharded + local suffix= + local database=myApp + local collection=test + local port=27017 + local tls=false + [[ false == \t\r\u\e ]] + mongos_command=run_mongos + log 'running db.test.command() in myApp' + set +o xtrace [2026-02-19T14:23:01+0000] running db.test.command() in myApp + run_mongos 'use myApp\n db.test.find()' myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092 mongodb '' '' 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 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local port=27017 + 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.SthAYJ6TXt +++ mktemp ++ local LAST_ERR=/tmp/tmp.BKmGWSLBjj ++ 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.SthAYJ6TXt ++ cat /tmp/tmp.BKmGWSLBjj ++ rm /tmp/tmp.SthAYJ6TXt /tmp/tmp.BKmGWSLBjj ++ return 0 + local client_container=psmdb-client-54c7db9946-grkmm + kubectl_bin exec psmdb-client-54c7db9946-grkmm -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092.svc.cluster.local:27017/admin ' ++ mktemp + local LAST_OUT=/tmp/tmp.oa4LGqyoYQ ++ mktemp + local LAST_ERR=/tmp/tmp.W5FCaDTHiW + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-54c7db9946-grkmm -- bash -c 'printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092.svc.cluster.local:27017/admin ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.oa4LGqyoYQ + cat /tmp/tmp.W5FCaDTHiW + rm /tmp/tmp.oa4LGqyoYQ /tmp/tmp.W5FCaDTHiW + return 0 + [[ 0 -eq 0 ]] + diff /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/e2e-tests/demand-backup-physical-sharded-gcp-native/compare/find-sharded.json /tmp/tmp.PdXiENoai6/find-sharded + echo 'Waiting 60 seconds for stable timestamp in wiredtiger' Waiting 60 seconds for stable timestamp in wiredtiger + sleep 80 + echo 'Running GCP storage backups' Running GCP storage backups + backup_name_gcp=backup-gcp-cs-sa-sharded + run_backup gcp-cs-sa backup-gcp-cs-sa-sharded physical + local storage=gcp-cs-sa + local backup_name=backup-gcp-cs-sa-sharded + local type=physical + log 'running backup backup-gcp-cs-sa-sharded' + set +o xtrace [2026-02-19T14:24:24+0000] running backup backup-gcp-cs-sa-sharded + yq eval '.metadata.name = "backup-gcp-cs-sa-sharded" | .spec.storageName = "gcp-cs-sa" | .spec.type = "physical"' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/e2e-tests/demand-backup-physical-sharded-gcp-native/conf/backup-gcp-cs-sa.yml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.bHIp9E4YzZ ++ mktemp + local LAST_ERR=/tmp/tmp.2yoXGcmpBF + 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.bHIp9E4YzZ perconaservermongodbbackup.psmdb.percona.com/backup-gcp-cs-sa-sharded created + cat /tmp/tmp.2yoXGcmpBF + rm /tmp/tmp.bHIp9E4YzZ /tmp/tmp.2yoXGcmpBF + return 0 + wait_backup backup-gcp-cs-sa-sharded + local backup_name=backup-gcp-cs-sa-sharded + local target_state=ready + set +o xtrace waiting for backup-gcp-cs-sa-sharded to reach ready state...............OK + check_backup_in_storage backup-gcp-cs-sa-sharded gcs rs0 + local backup=backup-gcp-cs-sa-sharded + local storage_type=gcs + local replset=rs0 + local file=filelist.pbm + local protocol=http + local endpoint ++ get_backup_dest backup-gcp-cs-sa-sharded ++ local backup_name=backup-gcp-cs-sa-sharded ++ /usr/sbin/sed 's|https://engk8soperators.blob.core.windows.net/||' ++ kubectl_bin get psmdb-backup backup-gcp-cs-sa-sharded -o 'jsonpath={.status.destination}' ++ sed -e 's/.json$//' ++ sed 's|s3://||' +++ mktemp ++ sed 's|azure://||' ++ sed 's|gs://||' ++ local LAST_OUT=/tmp/tmp.UOEbpbJpAa +++ mktemp ++ local LAST_ERR=/tmp/tmp.T286p226jW ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb-backup backup-gcp-cs-sa-sharded -o 'jsonpath={.status.destination}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.UOEbpbJpAa ++ cat /tmp/tmp.T286p226jW ++ rm /tmp/tmp.UOEbpbJpAa /tmp/tmp.T286p226jW ++ return 0 + backup_dest=operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z + case ${storage_type} in + endpoint=storage.googleapis.com + setup_gcs_credentials + local secret_name=gcp-cs-secret + gsutil ls + echo 'Setting up GCS credentials from K8s secret: gcp-cs-secret' Setting up GCS credentials from K8s secret: gcp-cs-secret + local trace_was_on=0 + [[ ehxB == *x* ]] + trace_was_on=1 + set +x + echo 'GCS credentials configured successfully' GCS credentials configured successfully + check_backup_existence_gcs operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z /rs0/filelist.pbm + backup_dest_gcp=operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z + obj=/rs0/filelist.pbm + storage_name=gcp-cs + retry=0 + gcs_path=gs://operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z/rs0/filelist.pbm + gsutil ls gs://operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z/rs0/filelist.pbm + echo 'Backup gs://operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z/rs0/filelist.pbm found in gcp-cs' Backup gs://operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z/rs0/filelist.pbm found in gcp-cs + check_backup_in_storage backup-gcp-cs-sa-sharded gcs cfg + local backup=backup-gcp-cs-sa-sharded + local storage_type=gcs + local replset=cfg + local file=filelist.pbm + local protocol=http + local endpoint ++ get_backup_dest backup-gcp-cs-sa-sharded ++ /usr/sbin/sed 's|https://engk8soperators.blob.core.windows.net/||' ++ local backup_name=backup-gcp-cs-sa-sharded ++ kubectl_bin get psmdb-backup backup-gcp-cs-sa-sharded -o 'jsonpath={.status.destination}' ++ sed -e 's/.json$//' ++ sed 's|s3://||' +++ mktemp ++ sed 's|azure://||' ++ sed 's|gs://||' ++ local LAST_OUT=/tmp/tmp.BMYhnY8v4P +++ mktemp ++ local LAST_ERR=/tmp/tmp.VUwfIhxjHy ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb-backup backup-gcp-cs-sa-sharded -o 'jsonpath={.status.destination}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.BMYhnY8v4P ++ cat /tmp/tmp.VUwfIhxjHy ++ rm /tmp/tmp.BMYhnY8v4P /tmp/tmp.VUwfIhxjHy ++ return 0 + backup_dest=operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z + case ${storage_type} in + endpoint=storage.googleapis.com + setup_gcs_credentials + local secret_name=gcp-cs-secret + gsutil ls + echo 'Setting up GCS credentials from K8s secret: gcp-cs-secret' Setting up GCS credentials from K8s secret: gcp-cs-secret + local trace_was_on=0 + [[ ehxB == *x* ]] + trace_was_on=1 + set +x + echo 'GCS credentials configured successfully' GCS credentials configured successfully + check_backup_existence_gcs operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z /cfg/filelist.pbm + backup_dest_gcp=operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z + obj=/cfg/filelist.pbm + storage_name=gcp-cs + retry=0 + gcs_path=gs://operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z/cfg/filelist.pbm + gsutil ls gs://operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z/cfg/filelist.pbm + echo 'Backup gs://operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z/cfg/filelist.pbm found in gcp-cs' Backup gs://operator-testing/psmdb-demand-backup-physical-sharded/2026-02-19T14:24:26Z/cfg/filelist.pbm found in gcp-cs + echo 'Drop collection' Drop collection + run_mongos 'use myApp\n db.test.drop()' myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092 + local 'command=use myApp\n db.test.drop()' + local uri=myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092 + 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.v7PfCaJ6XG +++ mktemp ++ local LAST_ERR=/tmp/tmp.0FckJBeBlj ++ 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.v7PfCaJ6XG ++ cat /tmp/tmp.0FckJBeBlj ++ rm /tmp/tmp.v7PfCaJ6XG /tmp/tmp.0FckJBeBlj ++ return 0 + local client_container=psmdb-client-54c7db9946-grkmm + kubectl_bin exec psmdb-client-54c7db9946-grkmm -- bash -c 'printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092.svc.cluster.local:27017/admin ' ++ mktemp + local LAST_OUT=/tmp/tmp.mEhMqdORdj ++ mktemp + local LAST_ERR=/tmp/tmp.S7ElkyTyb5 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-54c7db9946-grkmm -- bash -c 'printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-mongos.demand-backup-physical-sharded-gcp-native-25092.svc.cluster.local:27017/admin ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.mEhMqdORdj Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-mongos.demand-backup-physical-sharded-gcp-native-25092.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("42fc2561-deae-4bf5-8daf-dfea45d69412") } Percona Server for MongoDB server version: v8.0.19-7 WARNING: shell and server versions do not match switched to db myApp true bye + cat /tmp/tmp.S7ElkyTyb5 + rm /tmp/tmp.mEhMqdORdj /tmp/tmp.S7ElkyTyb5 + return 0 + echo 'Check backup and restore -- gcp-cs-sa' Check backup and restore -- gcp-cs-sa + run_restore backup-gcp-cs-sa-sharded + local backup_name=backup-gcp-cs-sa-sharded + local restore_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/e2e-tests/demand-backup-physical-sharded-gcp-native/conf/restore.yml + log 'running restore restore-backup-gcp-cs-sa-sharded' + set +o xtrace [2026-02-19T14:25:06+0000] running restore restore-backup-gcp-cs-sa-sharded + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2247/e2e-tests/demand-backup-physical-sharded-gcp-native/conf/restore.yml + /usr/sbin/sed -e 's/name:/name: restore-backup-gcp-cs-sa-sharded/' + /usr/sbin/sed -e 's/backupName:/backupName: backup-gcp-cs-sa-sharded/' + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.09z1wFBrxT ++ mktemp + local LAST_ERR=/tmp/tmp.4GxIE5KImR + 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.09z1wFBrxT perconaservermongodbrestore.psmdb.percona.com/restore-backup-gcp-cs-sa-sharded created + cat /tmp/tmp.4GxIE5KImR + rm /tmp/tmp.09z1wFBrxT /tmp/tmp.4GxIE5KImR + return 0 + run_recovery_check backup-gcp-cs-sa-sharded _restore_sharded sharded + local backup_name=backup-gcp-cs-sa-sharded + local compare_suffix=_restore_sharded + local is_sharded=sharded + local tls= + wait_restore backup-gcp-cs-sa-sharded some-name requested 0 3000 + local backup_name=backup-gcp-cs-sa-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-gcp-cs-sa-sharded object to be created.OK Waiting psmdb-restore/restore-backup-gcp-cs-sa-sharded to reach state "requested" ......................