Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/e2e-tests/logs/demand-backup-fs.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 + cluster=some-name + create_infra demand-backup-fs-6483 + local ns=demand-backup-fs-6483 + [[ 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-2273/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.f0R9XMC0D5 ++ mktemp + local LAST_ERR=/tmp/tmp.gfuSuSw8fu + 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-2273/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.f0R9XMC0D5 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.gfuSuSw8fu + rm /tmp/tmp.f0R9XMC0D5 /tmp/tmp.gfuSuSw8fu + return 0 ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/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-fs-21158 backup-nfs-logical --type=merge -p '{"metadata":{"finalizers":[]}}' perconaservermongodbbackup.psmdb.percona.com/backup-nfs-logical patched + kubectl patch perconaservermongodbbackups.psmdb.percona.com -n demand-backup-fs-21158 backup-nfs-logical-pitr --type=merge -p '{"metadata":{"finalizers":[]}}' perconaservermongodbbackup.psmdb.percona.com/backup-nfs-logical-pitr patched + kubectl patch perconaservermongodbbackups.psmdb.percona.com -n demand-backup-fs-21158 backup-nfs-physical --type=merge -p '{"metadata":{"finalizers":[]}}' perconaservermongodbbackup.psmdb.percona.com/backup-nfs-physical patched + kubectl_bin wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.RBOGzxFnVw ++ mktemp + local LAST_ERR=/tmp/tmp.m0B467ajvb + 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.RBOGzxFnVw customresourcedefinition.apiextensions.k8s.io/perconaservermongodbbackups.psmdb.percona.com condition met + cat /tmp/tmp.m0B467ajvb + rm /tmp/tmp.RBOGzxFnVw /tmp/tmp.m0B467ajvb + 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.ZJRv7NqdA9 ++ mktemp + local LAST_ERR=/tmp/tmp.blBAunZwLj + 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.ZJRv7NqdA9 + cat /tmp/tmp.blBAunZwLj + rm /tmp/tmp.ZJRv7NqdA9 /tmp/tmp.blBAunZwLj + 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\":[]}}"' + kubectl patch perconaservermongodbs.psmdb.percona.com -n demand-backup-fs-21158 some-name --type=merge -p '{"metadata":{"finalizers":[]}}' perconaservermongodb.psmdb.percona.com/some-name patched + kubectl_bin wait --for=delete crd perconaservermongodbs.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.6ICf5aP93d ++ mktemp + local LAST_ERR=/tmp/tmp.jrai3Vwkdi + 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.6ICf5aP93d customresourcedefinition.apiextensions.k8s.io/perconaservermongodbs.psmdb.percona.com condition met + cat /tmp/tmp.jrai3Vwkdi + rm /tmp/tmp.6ICf5aP93d /tmp/tmp.jrai3Vwkdi + 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-2273/deploy/cw-rbac.yaml --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.SR3nhTcPNP ++ mktemp + local LAST_ERR=/tmp/tmp.UKe714R1pZ + 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-2273/deploy/cw-rbac.yaml --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.SR3nhTcPNP 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.UKe714R1pZ + rm /tmp/tmp.SR3nhTcPNP /tmp/tmp.UKe714R1pZ + return 0 + check_crd_for_deletion PR-2273-35e9cdcd + local git_tag=PR-2273-35e9cdcd ++ curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/PR-2273-35e9cdcd/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.Hm1B6qUb5u +++ mktemp ++ local LAST_ERR=/tmp/tmp.niIAGG1erR ++ 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.Hm1B6qUb5u ++ cat /tmp/tmp.niIAGG1erR 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.Hm1B6qUb5u ++ cat /tmp/tmp.niIAGG1erR 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.Hm1B6qUb5u ++ cat /tmp/tmp.niIAGG1erR Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 8 ++ cat /tmp/tmp.Hm1B6qUb5u ++ cat /tmp/tmp.niIAGG1erR Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ rm /tmp/tmp.Hm1B6qUb5u /tmp/tmp.niIAGG1erR ++ 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}' ++ mktemp + '[' -n '' ']' + desc 'cleaned up old namespaces psmdb-operator' + xargs kubectl delete ns + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace psmdb-operator --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.vPB9PPajmZ ++ mktemp + local LAST_OUT=/tmp/tmp.ZNQGMADGxA ++ mktemp + local LAST_ERR=/tmp/tmp.LAX5iPG8eK + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.ko7fgq1p7l + local exit_status=0 + local timeout=4 + for i in $(seq 0 2) + set +e + kubectl get ns ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete namespace psmdb-operator --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.vPB9PPajmZ + cat /tmp/tmp.LAX5iPG8eK + rm /tmp/tmp.vPB9PPajmZ /tmp/tmp.LAX5iPG8eK + return 0 namespace "demand-backup-fs-21158" deleted namespace "storage" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.ZNQGMADGxA namespace "psmdb-operator" deleted + cat /tmp/tmp.ko7fgq1p7l + rm /tmp/tmp.ZNQGMADGxA /tmp/tmp.ko7fgq1p7l + return 0 + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.VzjQHxX22j ++ mktemp + local LAST_ERR=/tmp/tmp.7929l5IGPV + 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.VzjQHxX22j + cat /tmp/tmp.7929l5IGPV + rm /tmp/tmp.VzjQHxX22j /tmp/tmp.7929l5IGPV + 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.W7U33NX7Eq ++ mktemp + local LAST_ERR=/tmp/tmp.Qqs5Ogo9qa + 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.W7U33NX7Eq namespace/psmdb-operator created + cat /tmp/tmp.Qqs5Ogo9qa + rm /tmp/tmp.W7U33NX7Eq /tmp/tmp.Qqs5Ogo9qa + return 0 + set_kube_ctx psmdb-operator + local namespace=psmdb-operator ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.7DKDkUhQII +++ mktemp ++ local LAST_ERR=/tmp/tmp.u3WxKJadwW ++ 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.7DKDkUhQII ++ cat /tmp/tmp.u3WxKJadwW ++ rm /tmp/tmp.7DKDkUhQII /tmp/tmp.u3WxKJadwW ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2273-35e9cdcd-4-cluster12 --namespace=psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.vYkRkRd6yR ++ mktemp + local LAST_ERR=/tmp/tmp.foWfyjk0tn + 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-2273-35e9cdcd-4-cluster12 --namespace=psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.vYkRkRd6yR Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2273-35e9cdcd-4-cluster12" modified. + cat /tmp/tmp.foWfyjk0tn + rm /tmp/tmp.vYkRkRd6yR /tmp/tmp.foWfyjk0tn + return 0 + deploy_operator + desc 'start PSMDB operator: docker.io/perconalab/percona-server-mongodb-operator:PR-2273-35e9cdcd' + set +o xtrace ----------------------------------------------------------------------------------- start PSMDB operator: docker.io/perconalab/percona-server-mongodb-operator:PR-2273-35e9cdcd ----------------------------------------------------------------------------------- + local cr_file + '[' -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/e2e-tests/demand-backup-fs/conf/crd.yaml ']' + cr_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/deploy/crd.yaml + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.3sTCZEVwn1 ++ mktemp + local LAST_ERR=/tmp/tmp.kpRk2OlWjb + 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-2273/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.3sTCZEVwn1 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.kpRk2OlWjb + rm /tmp/tmp.3sTCZEVwn1 /tmp/tmp.kpRk2OlWjb + 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-2273/deploy/cw-rbac.yaml + sed -e 's^namespace: .*^namespace: psmdb-operator^' + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.SMgsF4f3bH ++ mktemp + local LAST_ERR=/tmp/tmp.h2mTG29Z9L + 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.SMgsF4f3bH 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.h2mTG29Z9L + rm /tmp/tmp.SMgsF4f3bH /tmp/tmp.h2mTG29Z9L + return 0 + yq eval ' (.spec.template.spec.containers[].image = "docker.io/perconalab/percona-server-mongodb-operator:PR-2273-35e9cdcd") | ((.. | select(.[] == "DISABLE_TELEMETRY")) |= .value="true") | ((.. | select(.[] == "LOG_LEVEL")) |= .value="DEBUG")' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/deploy/cw-operator.yaml + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.oVkFbY4djX ++ mktemp + local LAST_ERR=/tmp/tmp.Z9aQJ8SBMF + 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.oVkFbY4djX deployment.apps/percona-server-mongodb-operator created + cat /tmp/tmp.Z9aQJ8SBMF + rm /tmp/tmp.oVkFbY4djX /tmp/tmp.Z9aQJ8SBMF + 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.yMqOUwuPc6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.JWCMNEnZTx ++ 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.yMqOUwuPc6 ++ cat /tmp/tmp.JWCMNEnZTx ++ rm /tmp/tmp.yMqOUwuPc6 /tmp/tmp.JWCMNEnZTx ++ return 0 + wait_operator_pod percona-server-mongodb-operator-55dfd859fc-spzwd + local pod=percona-server-mongodb-operator-55dfd859fc-spzwd + set +o xtrace waiting for pod/percona-server-mongodb-operator-55dfd859fc-spzwd 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.AIXy9Rqfib +++ mktemp ++ local LAST_ERR=/tmp/tmp.vj8qfeXdZN ++ 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.AIXy9Rqfib ++ cat /tmp/tmp.vj8qfeXdZN ++ rm /tmp/tmp.AIXy9Rqfib /tmp/tmp.vj8qfeXdZN ++ return 0 + kubectl_bin logs -n psmdb-operator percona-server-mongodb-operator-55dfd859fc-spzwd ++ mktemp + local LAST_OUT=/tmp/tmp.yWLa5optOH ++ mktemp + local LAST_ERR=/tmp/tmp.er65briz7B + 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-55dfd859fc-spzwd + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.yWLa5optOH + cat /tmp/tmp.er65briz7B + rm /tmp/tmp.yWLa5optOH /tmp/tmp.er65briz7B + return 0 2026-03-26T08:28:58.810Z INFO setup Manager starting up {"gitCommit": "35e9cdcd517fd72eb0fdfc11a3c42cfabd88a20c", "gitBranch": "PR-2273-35e9cdcd", "buildTime": "", "goVersion": "go1.25.8", "os": "linux", "arch": "amd64"} + create_namespace demand-backup-fs-6483 + local namespace=demand-backup-fs-6483 + 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}' ++ mktemp + '[' -n '' ']' + xargs kubectl delete ns + desc 'cleaned up old namespaces demand-backup-fs-6483' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces demand-backup-fs-6483 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace demand-backup-fs-6483 --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.k5hoyMqX5m ++ mktemp + local LAST_OUT=/tmp/tmp.mVxEgl6cSf + local LAST_ERR=/tmp/tmp.G5unhenQTM + 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.HoWoZt0a21 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete namespace demand-backup-fs-6483 --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.k5hoyMqX5m + cat /tmp/tmp.G5unhenQTM + rm /tmp/tmp.k5hoyMqX5m /tmp/tmp.G5unhenQTM + 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.mVxEgl6cSf + cat /tmp/tmp.HoWoZt0a21 + rm /tmp/tmp.mVxEgl6cSf /tmp/tmp.HoWoZt0a21 + return 0 + kubectl_bin wait --for=delete namespace demand-backup-fs-6483 ++ mktemp + local LAST_OUT=/tmp/tmp.Nt9GeEbIck ++ mktemp + local LAST_ERR=/tmp/tmp.s2X0URQ6Ls + 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-fs-6483 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Nt9GeEbIck + cat /tmp/tmp.s2X0URQ6Ls + rm /tmp/tmp.Nt9GeEbIck /tmp/tmp.s2X0URQ6Ls + return 0 + desc 'create namespace demand-backup-fs-6483' + set +o xtrace ----------------------------------------------------------------------------------- create namespace demand-backup-fs-6483 ----------------------------------------------------------------------------------- + kubectl_bin create namespace demand-backup-fs-6483 ++ mktemp + local LAST_OUT=/tmp/tmp.UytlDv60ae ++ mktemp + local LAST_ERR=/tmp/tmp.27NtRxjKbz + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl create namespace demand-backup-fs-6483 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.UytlDv60ae namespace/demand-backup-fs-6483 created + cat /tmp/tmp.27NtRxjKbz + rm /tmp/tmp.UytlDv60ae /tmp/tmp.27NtRxjKbz + return 0 + set_kube_ctx demand-backup-fs-6483 + local namespace=demand-backup-fs-6483 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.icIht7WmP2 +++ mktemp ++ local LAST_ERR=/tmp/tmp.VBnKJ0It9j ++ 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.icIht7WmP2 ++ cat /tmp/tmp.VBnKJ0It9j ++ rm /tmp/tmp.icIht7WmP2 /tmp/tmp.VBnKJ0It9j ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2273-35e9cdcd-4-cluster12 --namespace=demand-backup-fs-6483 ++ mktemp + local LAST_OUT=/tmp/tmp.DiSyBDiV6u ++ mktemp + local LAST_ERR=/tmp/tmp.jH2uiwWHVC + 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-2273-35e9cdcd-4-cluster12 --namespace=demand-backup-fs-6483 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.DiSyBDiV6u Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2273-35e9cdcd-4-cluster12" modified. + cat /tmp/tmp.jH2uiwWHVC + rm /tmp/tmp.DiSyBDiV6u /tmp/tmp.jH2uiwWHVC + return 0 + kubectl_bin delete ns storage ++ mktemp + local LAST_OUT=/tmp/tmp.1XghFi2v5p ++ mktemp + local LAST_ERR=/tmp/tmp.H1lHMVOwiV + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete ns storage + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.1XghFi2v5p + cat /tmp/tmp.H1lHMVOwiV Error from server (NotFound): namespaces "storage" not found + sleep 0 + for i in $(seq 0 2) + set +e + kubectl delete ns storage + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.1XghFi2v5p + cat /tmp/tmp.H1lHMVOwiV Error from server (NotFound): namespaces "storage" not found + sleep 4 + for i in $(seq 0 2) + set +e + kubectl delete ns storage + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.1XghFi2v5p + cat /tmp/tmp.H1lHMVOwiV Error from server (NotFound): namespaces "storage" not found + sleep 8 + cat /tmp/tmp.1XghFi2v5p + cat /tmp/tmp.H1lHMVOwiV Error from server (NotFound): namespaces "storage" not found + rm /tmp/tmp.1XghFi2v5p /tmp/tmp.H1lHMVOwiV + return 1 + : + [[ 1 != 1 ]] + uid=1001 + [[ -n '' ]] + log 'deploying NFS server' + set +o xtrace [2026-03-26T08:29:47+0000] deploying NFS server + deploy_nfs_server 1001 + local uid=1001 + kubectl_bin create namespace storage ++ mktemp + local LAST_OUT=/tmp/tmp.FNoyucNOFE ++ mktemp + local LAST_ERR=/tmp/tmp.DfQIPPFFWu + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl create namespace storage + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.FNoyucNOFE namespace/storage created + cat /tmp/tmp.DfQIPPFFWu + rm /tmp/tmp.FNoyucNOFE /tmp/tmp.DfQIPPFFWu + return 0 + kubectl_bin apply -n storage -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/e2e-tests/demand-backup-fs/conf/nfs-server.yml ++ mktemp + local LAST_OUT=/tmp/tmp.wcbPOlcytD ++ mktemp + local LAST_ERR=/tmp/tmp.xlyvIFK6T0 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -n storage -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/e2e-tests/demand-backup-fs/conf/nfs-server.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.wcbPOlcytD serviceaccount/nfs-server created rolebinding.rbac.authorization.k8s.io/system:openshift:scc:privileged created persistentvolumeclaim/nfs-pvc created deployment.apps/nfs-server created service/nfs-service created + cat /tmp/tmp.xlyvIFK6T0 + rm /tmp/tmp.wcbPOlcytD /tmp/tmp.xlyvIFK6T0 + return 0 + sleep 5 ++ kubectl_bin get pod -n storage -l app=nfs-server -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xm7xntZ8WR +++ mktemp ++ local LAST_ERR=/tmp/tmp.SdsZPtjMnl ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pod -n storage -l app=nfs-server -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.xm7xntZ8WR ++ cat /tmp/tmp.SdsZPtjMnl ++ rm /tmp/tmp.xm7xntZ8WR /tmp/tmp.SdsZPtjMnl ++ return 0 + local nfsPod=nfs-server-7654469b4d-pn2hd ++ kubectl_bin get pod nfs-server-7654469b4d-pn2hd -n storage -o 'jsonpath={.status.phase}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.MXsULxBsaQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.RhQKDO8z70 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pod nfs-server-7654469b4d-pn2hd -n storage -o 'jsonpath={.status.phase}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.MXsULxBsaQ ++ cat /tmp/tmp.RhQKDO8z70 ++ rm /tmp/tmp.MXsULxBsaQ /tmp/tmp.RhQKDO8z70 ++ return 0 + [[ Pending == \R\u\n\n\i\n\g ]] + log 'Waiting for nfs-server-7654469b4d-pn2hd to start Running' + set +o xtrace [2026-03-26T08:29:59+0000] Waiting for nfs-server-7654469b4d-pn2hd to start Running + sleep 1 ++ kubectl_bin get pod nfs-server-7654469b4d-pn2hd -n storage -o 'jsonpath={.status.phase}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.n0WEzny4NK +++ mktemp ++ local LAST_ERR=/tmp/tmp.pyzFyVLXNE ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pod nfs-server-7654469b4d-pn2hd -n storage -o 'jsonpath={.status.phase}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.n0WEzny4NK ++ cat /tmp/tmp.pyzFyVLXNE ++ rm /tmp/tmp.n0WEzny4NK /tmp/tmp.pyzFyVLXNE ++ return 0 + [[ Pending == \R\u\n\n\i\n\g ]] + log 'Waiting for nfs-server-7654469b4d-pn2hd to start Running' + set +o xtrace [2026-03-26T08:30:01+0000] Waiting for nfs-server-7654469b4d-pn2hd to start Running + sleep 1 ++ kubectl_bin get pod nfs-server-7654469b4d-pn2hd -n storage -o 'jsonpath={.status.phase}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.AuzFNha1kN +++ mktemp ++ local LAST_ERR=/tmp/tmp.1lKjdYBUSv ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pod nfs-server-7654469b4d-pn2hd -n storage -o 'jsonpath={.status.phase}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.AuzFNha1kN ++ cat /tmp/tmp.1lKjdYBUSv ++ rm /tmp/tmp.AuzFNha1kN /tmp/tmp.1lKjdYBUSv ++ return 0 + [[ Pending == \R\u\n\n\i\n\g ]] + log 'Waiting for nfs-server-7654469b4d-pn2hd to start Running' + set +o xtrace [2026-03-26T08:30:03+0000] Waiting for nfs-server-7654469b4d-pn2hd to start Running + sleep 1 ++ kubectl_bin get pod nfs-server-7654469b4d-pn2hd -n storage -o 'jsonpath={.status.phase}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5LqUstoy39 +++ mktemp ++ local LAST_ERR=/tmp/tmp.hK2hAQG8CF ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pod nfs-server-7654469b4d-pn2hd -n storage -o 'jsonpath={.status.phase}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.5LqUstoy39 ++ cat /tmp/tmp.hK2hAQG8CF ++ rm /tmp/tmp.5LqUstoy39 /tmp/tmp.hK2hAQG8CF ++ return 0 + [[ Pending == \R\u\n\n\i\n\g ]] + log 'Waiting for nfs-server-7654469b4d-pn2hd to start Running' + set +o xtrace [2026-03-26T08:30:05+0000] Waiting for nfs-server-7654469b4d-pn2hd to start Running + sleep 1 ++ kubectl_bin get pod nfs-server-7654469b4d-pn2hd -n storage -o 'jsonpath={.status.phase}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5Sxgp7ShOC +++ mktemp ++ local LAST_ERR=/tmp/tmp.79ER16mfNp ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pod nfs-server-7654469b4d-pn2hd -n storage -o 'jsonpath={.status.phase}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.5Sxgp7ShOC ++ cat /tmp/tmp.79ER16mfNp ++ rm /tmp/tmp.5Sxgp7ShOC /tmp/tmp.79ER16mfNp ++ return 0 + [[ Running == \R\u\n\n\i\n\g ]] + kubectl_bin exec -n storage nfs-server-7654469b4d-pn2hd -- mkdir /exports/psmdb-some-name-rs0 ++ mktemp + local LAST_OUT=/tmp/tmp.wvyu6Ljb5H ++ mktemp + local LAST_ERR=/tmp/tmp.u5yhphitop + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec -n storage nfs-server-7654469b4d-pn2hd -- mkdir /exports/psmdb-some-name-rs0 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.wvyu6Ljb5H + cat /tmp/tmp.u5yhphitop + rm /tmp/tmp.wvyu6Ljb5H /tmp/tmp.u5yhphitop + return 0 + kubectl_bin exec -n storage nfs-server-7654469b4d-pn2hd -- chown 1001:1001 /exports/psmdb-some-name-rs0 ++ mktemp + local LAST_OUT=/tmp/tmp.vfZze9lfW6 ++ mktemp + local LAST_ERR=/tmp/tmp.Ob28NnRm0A + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec -n storage nfs-server-7654469b4d-pn2hd -- chown 1001:1001 /exports/psmdb-some-name-rs0 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.vfZze9lfW6 + cat /tmp/tmp.Ob28NnRm0A + rm /tmp/tmp.vfZze9lfW6 /tmp/tmp.Ob28NnRm0A + return 0 + log 'creating secrets and start client' + set +o xtrace [2026-03-26T08:30:10+0000] creating secrets and start client + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/e2e-tests/conf/secrets.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/e2e-tests/conf/client.yml ++ mktemp + local LAST_OUT=/tmp/tmp.vYvd8jzZRt ++ mktemp + local LAST_ERR=/tmp/tmp.8NSWAWzl2P + 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-2273/e2e-tests/conf/secrets.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/e2e-tests/conf/client.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.vYvd8jzZRt secret/some-users created deployment.apps/psmdb-client created + cat /tmp/tmp.8NSWAWzl2P + rm /tmp/tmp.vYvd8jzZRt /tmp/tmp.8NSWAWzl2P + return 0 + [[ -n '' ]] + log 'creating PSMDB cluster some-name' + set +o xtrace [2026-03-26T08:30:12+0000] creating PSMDB cluster some-name + [[ 1 != 1 ]] + apply_cluster /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/e2e-tests/demand-backup-fs/conf/some-name.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/e2e-tests/demand-backup-fs/conf/some-name.yml + kubectl_bin apply -f - + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2273/e2e-tests/demand-backup-fs/conf/some-name.yml ++ mktemp + yq eval '(.spec | select(.image == null)).image = "docker.io/perconalab/percona-server-mongodb-operator:main-mongod8.0"' + yq eval '(.spec | select(has("pmm"))).pmm.image = "docker.io/percona/pmm-client:2.44.1-1"' + yq eval '(.spec | select(has("initImage"))).initImage = "docker.io/perconalab/percona-server-mongodb-operator:PR-2273-35e9cdcd"' + yq eval '(.spec | select(has("backup"))).backup.image = "docker.io/perconalab/percona-server-mongodb-operator:main-backup"' + local LAST_OUT=/tmp/tmp.3UOIn1wq8s + /usr/sbin/sed -e s/NAME_SPACE/demand-backup-fs-6483/g ++ mktemp + yq eval '.spec.upgradeOptions.apply="Never"' + local LAST_ERR=/tmp/tmp.oeDQYvH1Ua + 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.3UOIn1wq8s perconaservermongodb.psmdb.percona.com/some-name created + cat /tmp/tmp.oeDQYvH1Ua + rm /tmp/tmp.3UOIn1wq8s /tmp/tmp.oeDQYvH1Ua + return 0 + log 'wait for all 3 pods to start' + set +o xtrace [2026-03-26T08:30:14+0000] wait for all 3 pods to start + 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.jxtd20TyvE +++ mktemp ++ local LAST_ERR=/tmp/tmp.fgGmaUuWPF ++ 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.jxtd20TyvE ++ cat /tmp/tmp.fgGmaUuWPF ++ rm /tmp/tmp.jxtd20TyvE /tmp/tmp.fgGmaUuWPF ++ 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........................................................................................................................................................................................................................................................................................................................................................................Name: some-name-rs0-2 Namespace: demand-backup-fs-6483 Priority: 0 Service Account: default Node: gke-jen-psmdb-2273-35e9c-default-pool-ca6a6467-vg4l/10.219.0.86 Start Time: Thu, 26 Mar 2026 08:43:43 +0000 Labels: app.kubernetes.io/component=mongod app.kubernetes.io/instance=some-name app.kubernetes.io/managed-by=percona-server-mongodb-operator app.kubernetes.io/name=percona-server-mongodb app.kubernetes.io/part-of=percona-server-mongodb app.kubernetes.io/replset=rs0 apps.kubernetes.io/pod-index=2 controller-revision-hash=some-name-rs0-759b98c696 statefulset.kubernetes.io/pod-name=some-name-rs0-2 Annotations: cloud.google.com/cluster_autoscaler_unhelpable_since: 2026-03-26T08:31:07+0000 cloud.google.com/cluster_autoscaler_unhelpable_until: Inf percona.com/ssl-hash: 0ed01a313399bf58716305881c800d18 percona.com/ssl-internal-hash: 24c5d7d17e4e931220ee512b90d1b863 Status: Pending IP: IPs: Controlled By: StatefulSet/some-name-rs0 Init Containers: mongo-init: Container ID: Image: docker.io/perconalab/percona-server-mongodb-operator:PR-2273-35e9cdcd Image ID: Port: Host Port: Command: /init-entrypoint.sh State: Waiting Reason: PodInitializing Ready: False Restart Count: 0 Limits: cpu: 300m memory: 500M Requests: cpu: 300m memory: 500M Environment: Mounts: /data/db from mongod-data (rw) /opt/percona from bin (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gwgdp (ro) Containers: mongod: Container ID: Image: perconalab/percona-server-mongodb-operator:main-mongod8.0 Image ID: Port: 27017/TCP (mongodb) Host Port: 0/TCP (mongodb) Command: /opt/percona/ps-entry.sh Args: --bind_ip_all --auth --dbpath=/data/db --port=27017 --replSet=rs0 --storageEngine=wiredTiger --relaxPermChecks --sslAllowInvalidCertificates --clusterAuthMode=x509 --tlsMode=preferTLS --enableEncryption --encryptionKeyFile=/etc/mongodb-encryption/encryption-key --wiredTigerCacheSizeGB=0.25 --wiredTigerIndexPrefixCompression=true --quiet State: Waiting Reason: PodInitializing Ready: False Restart Count: 0 Limits: cpu: 300m memory: 500M Requests: cpu: 300m memory: 500M Liveness: exec [/opt/percona/mongodb-healthcheck k8s liveness --ssl --sslInsecure --sslCAFile /etc/mongodb-ssl/ca.crt --sslPEMKeyFile /tmp/tls.pem --startupDelaySeconds 7200] delay=60s timeout=10s period=30s #success=1 #failure=4 Readiness: exec [/opt/percona/mongodb-healthcheck k8s readiness --component mongod --ssl --sslInsecure --sslCAFile /etc/mongodb-ssl/ca.crt --sslPEMKeyFile /tmp/tls.pem] delay=10s timeout=2s period=3s #success=1 #failure=8 Environment Variables from: internal-some-name-users Secret Optional: false Environment: SERVICE_NAME: some-name NAMESPACE: demand-backup-fs-6483 MONGODB_PORT: 27017 MONGODB_REPLSET: rs0 Mounts: /.mongodb from mongosh (rw) /data/db from mongod-data (rw) /etc/mongodb-encryption from some-name-mongodb-encryption-key (ro) /etc/mongodb-secrets from some-name-mongodb-keyfile (ro) /etc/mongodb-ssl from ssl (ro) /etc/mongodb-ssl-internal from ssl-internal (ro) /etc/users-secret from users-secret-file (rw) /opt/percona from bin (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gwgdp (ro) backup-agent: Container ID: Image: docker.io/perconalab/percona-server-mongodb-operator:main-backup Image ID: Port: Host Port: Command: /opt/percona/pbm-entry.sh Args: pbm-agent-entrypoint State: Waiting Reason: PodInitializing Ready: False Restart Count: 0 Environment: PBM_AGENT_MONGODB_USERNAME: Optional: false PBM_AGENT_MONGODB_PASSWORD: Optional: false PBM_MONGODB_REPLSET: rs0 PBM_MONGODB_PORT: 27017 PBM_AGENT_SIDECAR: true PBM_AGENT_SIDECAR_SLEEP: 5 POD_NAME: some-name-rs0-2 (v1:metadata.name) PBM_MONGODB_URI: mongodb://$(PBM_AGENT_MONGODB_USERNAME):$(PBM_AGENT_MONGODB_PASSWORD)@localhost:$(PBM_MONGODB_PORT)/?tls=true&tlsCertificateKeyFile=/tmp/tls.pem&tlsCAFile=/etc/mongodb-ssl/ca.crt&tlsInsecure=true PBM_AGENT_TLS_ENABLED: true Mounts: /data/db from mongod-data (rw) /etc/mongodb-ssl from ssl (ro) /mnt/nfs/ from backup-nfs (rw) /opt/percona from bin (ro) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-gwgdp (ro) Conditions: Type Status PodReadyToStartContainers False Initialized False Ready False ContainersReady False PodScheduled True Volumes: mongod-data: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: mongod-data-some-name-rs0-2 ReadOnly: false some-name-mongodb-keyfile: Type: Secret (a volume populated by a Secret) SecretName: some-name-mongodb-keyfile Optional: false bin: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: SizeLimit: mongosh: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: SizeLimit: some-name-mongodb-encryption-key: Type: Secret (a volume populated by a Secret) SecretName: some-name-mongodb-encryption-key Optional: false ssl: Type: Secret (a volume populated by a Secret) SecretName: some-name-ssl Optional: false ssl-internal: Type: Secret (a volume populated by a Secret) SecretName: some-name-ssl-internal Optional: true users-secret-file: Type: Secret (a volume populated by a Secret) SecretName: internal-some-name-users Optional: false backup-nfs: Type: NFS (an NFS mount that lasts the lifetime of a pod) Server: nfs-service.storage.svc.cluster.local Path: /psmdb-some-name-rs0 ReadOnly: false kube-api-access-gwgdp: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt Optional: false DownwardAPI: true QoS Class: Burstable Node-Selectors: Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedScheduling 12m default-scheduler 0/2 nodes are available: 2 node(s) didn't match pod anti-affinity rules. preemption: 0/2 nodes are available: 2 No preemption victims found for incoming pod. Warning FailedScheduling 2m23s (x2 over 7m23s) default-scheduler 0/2 nodes are available: 2 node(s) didn't match pod anti-affinity rules. preemption: 0/2 nodes are available: 2 No preemption victims found for incoming pod. Normal Scheduled 6s default-scheduler Successfully assigned demand-backup-fs-6483/some-name-rs0-2 to gke-jen-psmdb-2273-35e9c-default-pool-ca6a6467-vg4l Normal NotTriggerScaleUp 2m39s (x62 over 12m) cluster-autoscaler pod didn't trigger scale-up: Defaulted container "mongod" out of: mongod, backup-agent, mongo-init (init) Error from server (BadRequest): container "mongod" in pod "some-name-rs0-2" is waiting to start: PodInitializing Defaulted container "mongod" out of: mongod, backup-agent, mongo-init (init) Error from server (BadRequest): container "mongod" in pod "some-name-rs0-2" is waiting to start: PodInitializing Defaulted container "mongod" out of: mongod, backup-agent, mongo-init (init) Error from server (BadRequest): container "mongod" in pod "some-name-rs0-2" is waiting to start: PodInitializing Defaulted container "mongod" out of: mongod, backup-agent, mongo-init (init) Error from server (BadRequest): container "mongod" in pod "some-name-rs0-2" is waiting to start: PodInitializing