mkdir -p e2e-tests/reports e2e-tests/logs ========================================================================================= test session starts ========================================================================================== platform linux -- Python 3.14.10, pytest-9.1.1, pluggy-1.7.0 -- /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/.venv/bin/python cachedir: .pytest_cache metadata: {'Python': '3.14.10', 'Platform': 'Linux-7.1.10-200.fc44.x86_64-x86_64-with-glibc2.43', 'Packages': {'pytest': '9.1.1', 'pluggy': '1.7.0'}, 'Plugins': {'html': '4.2.0', 'json-report': '1.5.0', 'dependency': '0.6.1', 'metadata': '3.1.1'}, 'CI': 'true', 'BUILD_NUMBER': '9', 'BUILD_ID': '9', 'BUILD_URL': 'https://cloud.cd.percona.com/job/cloud-psmdb-operator/job/PR-2715/9/', 'NODE_NAME': 'hcloud-nialm8wqguv220jl', 'JOB_NAME': 'cloud-psmdb-operator/PR-2715', 'BUILD_TAG': 'jenkins-cloud-psmdb-operator-PR-2715-9', 'EXECUTOR_NUMBER': '0', 'JENKINS_URL': 'https://cloud.cd.percona.com/', 'WORKSPACE': '/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715', 'GIT_COMMIT': '27e0b796072fe59ec1fa78fca82dc7491ddb9891', 'GIT_URL': 'https://github.com/percona/percona-server-mongodb-operator.git', 'GIT_BRANCH': 'PR-2715'} rootdir: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715 configfile: pyproject.toml plugins: html-4.2.0, json-report-1.5.0, dependency-0.6.1, metadata-3.1.1 collecting ... collected 1 item e2e-tests/test_pytest_wrapper.py::test_bash_wrapper[multi-storage] [06:49:08.080993] WARNING kubectl error: Warning: version difference between client (1.37) and server (1.34) exceeds the supported minor version skew of +/-1 [06:49:09.296757] INFO Environment variables: KUBE_VERSION=1.34 PLATFORM=gke ARCH= EKS= GKE=1 AKS= OPENSHIFT= KIND= MINIKUBE= RANCHER= API=psmdb.percona.com/v1 REGISTRY_NAME=docker.io GIT_COMMIT=27e0b796072fe59ec1fa78fca82dc7491ddb9891 GIT_BRANCH=PR-2715 OPERATOR_VERSION=1.24.0 IMAGE=docker.io/perconalab/percona-server-mongodb-operator:PR-2715-27e0b7960 IMAGE_MONGOD=docker.io/perconalab/percona-server-mongodb-operator:main-mongod8.3 IMAGE_MONGOD_CHAIN=docker.io/perconalab/percona-server-mongodb-operator:main-mongod7.0 docker.io/perconalab/percona-server-mongodb-operator:main-mongod8.0 docker.io/perconalab/percona-server-mongodb-operator:main-mongod8.3 IMAGE_SEARCH=docker.io/perconalab/percona-server-mongodb-operator:main-mongot IMAGE_BACKUP=docker.io/perconalab/percona-server-mongodb-operator:main-backup IMAGE_PMM_CLIENT=docker.io/perconalab/pmm-client:3-dev-latest IMAGE_PMM_SERVER=docker.io/perconalab/pmm-server:3-dev-latest IMAGE_LOGCOLLECTOR=docker.io/perconalab/fluentbit:main-logcollector IMAGE_CLUSTERSYNC=docker.io/percona/percona-clustersync-mongodb:1.0.0 IMAGE_AWS_CLI=docker.io/amazon/aws-cli:2.34.60 CERT_MANAGER_VER=1.21.0 CHAOS_MESH_VER=2.7.1 SEAWEEDFS_VER=4.47.0 PMM_SERVER_VER=9.9.9 CLEAN_NAMESPACE=1 DELETE_CRD_ON_START=1 SKIP_DELETE=0 SKIP_BACKUPS_TO_AWS_GCP_AZURE= UPDATE_COMPARE_FILES=0 Debug logging disabled. + cluster=some-name + create_infra multi-storage-11601 + local ns=multi-storage-11601 + echo multi-storage-11601 + destroy_cert_manager + [[ -n '' ]] + kubectl_bin delete mutatingwebhookconfiguration cert-manager-webhook --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.pYite26CIF ++ mktemp + local LAST_ERR=/tmp/tmp.tz2NtAycLa + local exit_status=0 + local timeout=4 + local i + args=('delete' 'mutatingwebhookconfiguration' 'cert-manager-webhook' '--ignore-not-found') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ delete == \- ]] + [[ delete =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ mutatingwebhookconfiguration == \- ]] + [[ mutatingwebhookconfiguration =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ cert-manager-webhook == \- ]] + [[ cert-manager-webhook =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --ignore-not-found == \- ]] + [[ --ignore-not-found =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl delete mutatingwebhookconfiguration cert-manager-webhook --ignore-not-found + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.pYite26CIF + cat /tmp/tmp.tz2NtAycLa + rm /tmp/tmp.pYite26CIF /tmp/tmp.tz2NtAycLa + return 0 + kubectl_bin delete validatingwebhookconfiguration cert-manager-webhook --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.m8N35dBauI ++ mktemp + local LAST_ERR=/tmp/tmp.uFDWgMVrQO + local exit_status=0 + local timeout=4 + local i + args=('delete' 'validatingwebhookconfiguration' 'cert-manager-webhook' '--ignore-not-found') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ delete == \- ]] + [[ delete =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ validatingwebhookconfiguration == \- ]] + [[ validatingwebhookconfiguration =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ cert-manager-webhook == \- ]] + [[ cert-manager-webhook =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --ignore-not-found == \- ]] + [[ --ignore-not-found =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl delete validatingwebhookconfiguration cert-manager-webhook --ignore-not-found + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.m8N35dBauI + cat /tmp/tmp.uFDWgMVrQO + rm /tmp/tmp.m8N35dBauI /tmp/tmp.uFDWgMVrQO + return 0 + kubectl_bin delete -f https://github.com/cert-manager/cert-manager/releases/download/v1.21.0/cert-manager.yaml --ignore-not-found --wait=false + crds=('certificates.cert-manager.io' 'certificaterequests.cert-manager.io' 'issuers.cert-manager.io' 'clusterissuers.cert-manager.io' 'orders.acme.cert-manager.io' 'challenges.acme.cert-manager.io') + local crds + kubectl_bin delete crd certificates.cert-manager.io certificaterequests.cert-manager.io issuers.cert-manager.io clusterissuers.cert-manager.io orders.acme.cert-manager.io challenges.acme.cert-manager.io --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.FcYXoMMMvL ++ mktemp + local LAST_ERR=/tmp/tmp.N4HV9eTbla + local exit_status=0 + local timeout=4 + local i + args=('delete' 'crd' 'certificates.cert-manager.io' 'certificaterequests.cert-manager.io' 'issuers.cert-manager.io' 'clusterissuers.cert-manager.io' 'orders.acme.cert-manager.io' 'challenges.acme.cert-manager.io' '--ignore-not-found' '--wait=false') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ delete == \- ]] + [[ delete =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ crd == \- ]] + [[ crd =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ certificates.cert-manager.io == \- ]] + [[ certificates.cert-manager.io =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ certificaterequests.cert-manager.io == \- ]] + [[ certificaterequests.cert-manager.io =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ issuers.cert-manager.io == \- ]] + [[ issuers.cert-manager.io =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ clusterissuers.cert-manager.io == \- ]] + [[ clusterissuers.cert-manager.io =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ orders.acme.cert-manager.io == \- ]] + [[ orders.acme.cert-manager.io =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ challenges.acme.cert-manager.io == \- ]] + [[ challenges.acme.cert-manager.io =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --ignore-not-found == \- ]] + [[ --ignore-not-found =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --wait=false == \- ]] + [[ --wait=false =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl delete crd certificates.cert-manager.io certificaterequests.cert-manager.io issuers.cert-manager.io clusterissuers.cert-manager.io orders.acme.cert-manager.io challenges.acme.cert-manager.io --ignore-not-found --wait=false + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.FcYXoMMMvL + cat /tmp/tmp.N4HV9eTbla + rm /tmp/tmp.FcYXoMMMvL /tmp/tmp.N4HV9eTbla + return 0 + kubectl_bin delete namespace cert-manager --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.8V6N4c20BT ++ mktemp + local LAST_ERR=/tmp/tmp.U8pAUJaVBV + local exit_status=0 + local timeout=4 + local i + args=('delete' 'namespace' 'cert-manager' '--ignore-not-found' '--wait=false') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ delete == \- ]] + [[ delete =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ namespace == \- ]] + [[ namespace =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ cert-manager == \- ]] + [[ cert-manager =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --ignore-not-found == \- ]] + [[ --ignore-not-found =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --wait=false == \- ]] + [[ --wait=false =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl delete namespace cert-manager --ignore-not-found --wait=false + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.8V6N4c20BT + cat /tmp/tmp.U8pAUJaVBV + rm /tmp/tmp.8V6N4c20BT /tmp/tmp.U8pAUJaVBV + return 0 + local remaining + local attempt ++ seq 1 60 + for attempt in $(seq 1 60) ++ kubectl_bin get mutatingwebhookconfiguration cert-manager-webhook --ignore-not-found -o name +++ mktemp ++ local LAST_OUT=/tmp/tmp.E3vsP6zCJJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.ZewsgQHSvq ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'mutatingwebhookconfiguration' 'cert-manager-webhook' '--ignore-not-found' '-o' 'name') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ mutatingwebhookconfiguration == \- ]] ++ [[ mutatingwebhookconfiguration =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ cert-manager-webhook == \- ]] ++ [[ cert-manager-webhook =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --ignore-not-found == \- ]] ++ [[ --ignore-not-found =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ name == \- ]] ++ [[ name =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get mutatingwebhookconfiguration cert-manager-webhook --ignore-not-found -o name ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.E3vsP6zCJJ ++ cat /tmp/tmp.ZewsgQHSvq ++ rm /tmp/tmp.E3vsP6zCJJ /tmp/tmp.ZewsgQHSvq ++ return 0 + remaining= ++ kubectl_bin get validatingwebhookconfiguration cert-manager-webhook --ignore-not-found -o name +++ mktemp ++ local LAST_OUT=/tmp/tmp.HR8bQ8TcsA +++ mktemp ++ local LAST_ERR=/tmp/tmp.oQ7LO0bjb6 ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'validatingwebhookconfiguration' 'cert-manager-webhook' '--ignore-not-found' '-o' 'name') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ validatingwebhookconfiguration == \- ]] ++ [[ validatingwebhookconfiguration =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ cert-manager-webhook == \- ]] ++ [[ cert-manager-webhook =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --ignore-not-found == \- ]] ++ [[ --ignore-not-found =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ name == \- ]] ++ [[ name =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get validatingwebhookconfiguration cert-manager-webhook --ignore-not-found -o name ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.HR8bQ8TcsA ++ cat /tmp/tmp.oQ7LO0bjb6 ++ rm /tmp/tmp.HR8bQ8TcsA /tmp/tmp.oQ7LO0bjb6 ++ return 0 + remaining+= ++ kubectl_bin get crd certificates.cert-manager.io certificaterequests.cert-manager.io issuers.cert-manager.io clusterissuers.cert-manager.io orders.acme.cert-manager.io challenges.acme.cert-manager.io --ignore-not-found -o name +++ mktemp ++ local LAST_OUT=/tmp/tmp.dgRMnthNVE +++ mktemp ++ local LAST_ERR=/tmp/tmp.HXymViTlPd ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'crd' 'certificates.cert-manager.io' 'certificaterequests.cert-manager.io' 'issuers.cert-manager.io' 'clusterissuers.cert-manager.io' 'orders.acme.cert-manager.io' 'challenges.acme.cert-manager.io' '--ignore-not-found' '-o' 'name') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ crd == \- ]] ++ [[ crd =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ certificates.cert-manager.io == \- ]] ++ [[ certificates.cert-manager.io =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ certificaterequests.cert-manager.io == \- ]] ++ [[ certificaterequests.cert-manager.io =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ issuers.cert-manager.io == \- ]] ++ [[ issuers.cert-manager.io =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ clusterissuers.cert-manager.io == \- ]] ++ [[ clusterissuers.cert-manager.io =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ orders.acme.cert-manager.io == \- ]] ++ [[ orders.acme.cert-manager.io =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ challenges.acme.cert-manager.io == \- ]] ++ [[ challenges.acme.cert-manager.io =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --ignore-not-found == \- ]] ++ [[ --ignore-not-found =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ name == \- ]] ++ [[ name =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get crd certificates.cert-manager.io certificaterequests.cert-manager.io issuers.cert-manager.io clusterissuers.cert-manager.io orders.acme.cert-manager.io challenges.acme.cert-manager.io --ignore-not-found -o name ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.dgRMnthNVE ++ cat /tmp/tmp.HXymViTlPd ++ rm /tmp/tmp.dgRMnthNVE /tmp/tmp.HXymViTlPd ++ return 0 + remaining+= ++ kubectl_bin get namespace cert-manager --ignore-not-found -o name +++ mktemp ++ local LAST_OUT=/tmp/tmp.PUcu4YJxD6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.9RnZC8InrU ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'namespace' 'cert-manager' '--ignore-not-found' '-o' 'name') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ namespace == \- ]] ++ [[ namespace =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ cert-manager == \- ]] ++ [[ cert-manager =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --ignore-not-found == \- ]] ++ [[ --ignore-not-found =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ name == \- ]] ++ [[ name =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get namespace cert-manager --ignore-not-found -o name ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.PUcu4YJxD6 ++ cat /tmp/tmp.9RnZC8InrU ++ rm /tmp/tmp.PUcu4YJxD6 /tmp/tmp.9RnZC8InrU ++ return 0 + remaining+= + [[ -z '' ]] + return 0 + [[ 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-2715/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.nUXDxwx7LY ++ mktemp + local LAST_ERR=/tmp/tmp.eV7nIiCLus + local exit_status=0 + local timeout=4 + local i + args=('delete' '-f' '/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/crd.yaml' '--ignore-not-found' '--wait=false') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ delete == \- ]] + [[ delete =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/crd.yaml == \- ]] + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/crd.yaml =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --ignore-not-found == \- ]] + [[ --ignore-not-found =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --wait=false == \- ]] + [[ --wait=false =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.nUXDxwx7LY customresourcedefinition.apiextensions.k8s.io "perconaservermongodbbackups.psmdb.percona.com" deleted customresourcedefinition.apiextensions.k8s.io "perconaservermongodbclustersyncs.psmdb.percona.com" deleted customresourcedefinition.apiextensions.k8s.io "perconaservermongodbrestores.psmdb.percona.com" deleted customresourcedefinition.apiextensions.k8s.io "perconaservermongodbs.psmdb.percona.com" deleted + cat /tmp/tmp.eV7nIiCLus + rm /tmp/tmp.nUXDxwx7LY /tmp/tmp.eV7nIiCLus + return 0 ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/crd.yaml ++ grep -v '\-\-\-' grep: warning: stray \ before - grep: warning: stray \ before - + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbbackups.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbbackups.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbbackups" in group "psmdb.percona.com" + kubectl patch perconaservermongodbbackups.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbbackups" in group "psmdb.percona.com" + : + kubectl get crd perconaservermongodbbackups.psmdb.percona.com + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbclustersyncs.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbclustersyncs.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbclustersyncs" in group "psmdb.percona.com" + kubectl patch perconaservermongodbclustersyncs.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbclustersyncs" in group "psmdb.percona.com" + : + kubectl get crd perconaservermongodbclustersyncs.psmdb.percona.com + 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" in group "psmdb.percona.com" + kubectl patch perconaservermongodbrestores.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbrestores" in group "psmdb.percona.com" + : + kubectl get crd perconaservermongodbrestores.psmdb.percona.com + 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" in group "psmdb.percona.com" + kubectl patch perconaservermongodbs.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbs" in group "psmdb.percona.com" + : + kubectl get crd perconaservermongodbs.psmdb.percona.com + local rbac_yaml=rbac.yaml + '[' -n psmdb-operator ']' + rbac_yaml=cw-rbac.yaml + kubectl_bin delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/cw-rbac.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.cZyT8XVV6P ++ mktemp + local LAST_ERR=/tmp/tmp.zFoppfeYPx + local exit_status=0 + local timeout=4 + local i + args=('delete' '-f' '/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/cw-rbac.yaml' '--ignore-not-found' '--wait=false') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ delete == \- ]] + [[ delete =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/cw-rbac.yaml == \- ]] + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/cw-rbac.yaml =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --ignore-not-found == \- ]] + [[ --ignore-not-found =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --wait=false == \- ]] + [[ --wait=false =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/cw-rbac.yaml --ignore-not-found --wait=false + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.cZyT8XVV6P 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.zFoppfeYPx + rm /tmp/tmp.cZyT8XVV6P /tmp/tmp.zFoppfeYPx + return 0 + check_crd_for_deletion PR-2715 + local git_tag=PR-2715 ++ curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/PR-2715/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.wu5YVgd0Lt +++ mktemp ++ local LAST_ERR=/tmp/tmp.N3apvWwted ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'crd/null' '-o' 'jsonpath={.status.conditions[-1].type}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ crd/null == \- ]] ++ [[ crd/null =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.status.conditions[-1].type} == \- ]] ++ [[ jsonpath={.status.conditions[-1].type} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ [[ 1 == 0 ]] ++ [[ 0 == 9 ]] ++ grep -q 'Error from server (NotFound)' /tmp/tmp.N3apvWwted ++ break ++ cat /tmp/tmp.wu5YVgd0Lt ++ cat /tmp/tmp.N3apvWwted Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ rm /tmp/tmp.wu5YVgd0Lt /tmp/tmp.N3apvWwted ++ return 1 + [[ '' == Terminating ]] + '[' -n psmdb-operator ']' + create_namespace psmdb-operator + local namespace=psmdb-operator + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ 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 + : ++ grep chaos-mesh ++ kubectl get clusterrole ++ 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 ----------------------------------------------------------------------------------- + local 'ns_filter=^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + [[ -n '' ]] + 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 ----------------------------------------------------------------------------------- + xargs kubectl delete ns ++ mktemp + kubectl_bin delete namespace psmdb-operator --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.XWwXTQht90 ++ mktemp + local LAST_OUT=/tmp/tmp.QOfX88z3Jb ++ mktemp + local LAST_ERR=/tmp/tmp.FQHNO5zwOa + local exit_status=0 + local timeout=4 + local i + args=('delete' 'namespace' 'psmdb-operator' '--ignore-not-found') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ delete == \- ]] + [[ delete =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ namespace == \- ]] + [[ namespace =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-operator == \- ]] + [[ psmdb-operator =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --ignore-not-found == \- ]] + [[ --ignore-not-found =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay + local LAST_ERR=/tmp/tmp.jiVYsiX7Yq + local exit_status=0 + local timeout=4 + local i + args=('get' 'ns') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ get == \- ]] + [[ get =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ ns == \- ]] + [[ ns =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl delete namespace psmdb-operator --ignore-not-found + for attempt in $(seq 0 9) + set +e + kubectl get ns + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.XWwXTQht90 + cat /tmp/tmp.jiVYsiX7Yq + rm /tmp/tmp.XWwXTQht90 /tmp/tmp.jiVYsiX7Yq + return 0 error: resource(s) were provided, but no name was specified + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.QOfX88z3Jb + cat /tmp/tmp.FQHNO5zwOa + rm /tmp/tmp.QOfX88z3Jb /tmp/tmp.FQHNO5zwOa + return 0 + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.JcMm7PopI7 ++ mktemp + local LAST_ERR=/tmp/tmp.Ku3Xd0ALHS + local exit_status=0 + local timeout=4 + local i + args=('wait' '--for=delete' 'namespace' 'psmdb-operator') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ wait == \- ]] + [[ wait =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --for=delete == \- ]] + [[ --for=delete =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ namespace == \- ]] + [[ namespace =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-operator == \- ]] + [[ psmdb-operator =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl wait --for=delete namespace psmdb-operator + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.JcMm7PopI7 + cat /tmp/tmp.Ku3Xd0ALHS + rm /tmp/tmp.JcMm7PopI7 /tmp/tmp.Ku3Xd0ALHS + 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.jNRWTV74MA ++ mktemp + local LAST_ERR=/tmp/tmp.htM1DadFF4 + local exit_status=0 + local timeout=4 + local i + args=('create' 'namespace' 'psmdb-operator') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ create == \- ]] + [[ create =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ namespace == \- ]] + [[ namespace =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-operator == \- ]] + [[ psmdb-operator =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl create namespace psmdb-operator + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.jNRWTV74MA namespace/psmdb-operator created + cat /tmp/tmp.htM1DadFF4 + rm /tmp/tmp.jNRWTV74MA /tmp/tmp.htM1DadFF4 + return 0 + set_kube_ctx psmdb-operator + local namespace=psmdb-operator ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.7yeS3jwzfr +++ mktemp ++ local LAST_ERR=/tmp/tmp.uzUOicJTCQ ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('config' 'current-context') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ config == \- ]] ++ [[ config =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ current-context == \- ]] ++ [[ current-context =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.7yeS3jwzfr ++ cat /tmp/tmp.uzUOicJTCQ ++ rm /tmp/tmp.7yeS3jwzfr /tmp/tmp.uzUOicJTCQ ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2715-27e0b7960-9-cluster14 --namespace=psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.MJWx2wFUjT ++ mktemp + local LAST_ERR=/tmp/tmp.m1gdoTMmXB + local exit_status=0 + local timeout=4 + local i + args=('config' 'set-context' 'gke_cloud-dev-112233_us-central1-a_jen-psmdb-2715-27e0b7960-9-cluster14' '--namespace=psmdb-operator') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ config == \- ]] + [[ config =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ set-context == \- ]] + [[ set-context =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ gke_cloud-dev-112233_us-central1-a_jen-psmdb-2715-27e0b7960-9-cluster14 == \- ]] + [[ gke_cloud-dev-112233_us-central1-a_jen-psmdb-2715-27e0b7960-9-cluster14 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --namespace=psmdb-operator == \- ]] + [[ --namespace=psmdb-operator =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2715-27e0b7960-9-cluster14 --namespace=psmdb-operator + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.MJWx2wFUjT Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2715-27e0b7960-9-cluster14" modified. + cat /tmp/tmp.m1gdoTMmXB + rm /tmp/tmp.MJWx2wFUjT /tmp/tmp.m1gdoTMmXB + return 0 + deploy_operator + desc 'start PSMDB operator: docker.io/perconalab/percona-server-mongodb-operator:PR-2715-27e0b7960' + set +o xtrace ----------------------------------------------------------------------------------- start PSMDB operator: docker.io/perconalab/percona-server-mongodb-operator:PR-2715-27e0b7960 ----------------------------------------------------------------------------------- + local cr_file + '[' -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/conf/crd.yaml ']' + cr_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/crd.yaml + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.TSfzToVlsa ++ mktemp + local LAST_ERR=/tmp/tmp.KNrH3eeGRA + local exit_status=0 + local timeout=4 + local i + args=('apply' '--server-side' '--force-conflicts' '-f' '/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/crd.yaml') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ apply == \- ]] + [[ apply =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --server-side == \- ]] + [[ --server-side =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --force-conflicts == \- ]] + [[ --force-conflicts =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/crd.yaml == \- ]] + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/crd.yaml =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/crd.yaml + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.TSfzToVlsa customresourcedefinition.apiextensions.k8s.io/perconaservermongodbbackups.psmdb.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaservermongodbclustersyncs.psmdb.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaservermongodbrestores.psmdb.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaservermongodbs.psmdb.percona.com serverside-applied + cat /tmp/tmp.KNrH3eeGRA + rm /tmp/tmp.TSfzToVlsa /tmp/tmp.KNrH3eeGRA + 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-2715/deploy/cw-rbac.yaml + sed -e 's^namespace: .*^namespace: psmdb-operator^' + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.y3pakEmdmC ++ mktemp + local LAST_ERR=/tmp/tmp.2eTqN8ogvM + local exit_status=0 + local timeout=4 + local i + args=('apply' '-n' 'psmdb-operator' '-f' '-') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ apply == \- ]] + [[ apply =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -n == \- ]] + [[ -n =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-operator == \- ]] + [[ psmdb-operator =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ - == \- ]] + [[ 4 -gt 0 ]] + [[ -f =~ ^(-f|--filename)$ ]] ++ mktemp + stdin_manifest=/tmp/tmp.tFUnWR9syY + cat + transformed_files+=("${stdin_manifest}") + args[$i]=/tmp/tmp.tFUnWR9syY + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl apply -n psmdb-operator -f /tmp/tmp.tFUnWR9syY + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.y3pakEmdmC 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.2eTqN8ogvM + rm /tmp/tmp.y3pakEmdmC /tmp/tmp.2eTqN8ogvM /tmp/tmp.tFUnWR9syY + return 0 + yq eval $'\n\t\t\t(.spec.template.spec.containers[].image = "docker.io/perconalab/percona-server-mongodb-operator:PR-2715-27e0b7960") |\n\t\t\t((.. | select(.[] == "DISABLE_TELEMETRY")) |= .value="true") |\n\t\t\t((.. | select(.[] == "LOG_LEVEL")) |= .value="DEBUG")' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/deploy/cw-operator.yaml + add_arch_to_podspecs - + arch_scheduling_enabled + [[ -n '' ]] + cat - + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.D4Av4VwHo8 ++ mktemp + local LAST_ERR=/tmp/tmp.c0Flmi2wC5 + local exit_status=0 + local timeout=4 + local i + args=('apply' '-n' 'psmdb-operator' '-f' '-') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ apply == \- ]] + [[ apply =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -n == \- ]] + [[ -n =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-operator == \- ]] + [[ psmdb-operator =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ - == \- ]] + [[ 4 -gt 0 ]] + [[ -f =~ ^(-f|--filename)$ ]] ++ mktemp + stdin_manifest=/tmp/tmp.0cTmdAatY5 + cat + return + transformed_files+=("${stdin_manifest}") + args[$i]=/tmp/tmp.0cTmdAatY5 + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl apply -n psmdb-operator -f /tmp/tmp.0cTmdAatY5 + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.D4Av4VwHo8 deployment.apps/percona-server-mongodb-operator created + cat /tmp/tmp.c0Flmi2wC5 + rm /tmp/tmp.D4Av4VwHo8 /tmp/tmp.c0Flmi2wC5 /tmp/tmp.0cTmdAatY5 + 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.W4egcTGZjo +++ mktemp ++ local LAST_ERR=/tmp/tmp.5QCPNtE0hr ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=percona-server-mongodb-operator' '-o' 'jsonpath={.items[].metadata.name}' '-n' 'psmdb-operator') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=percona-server-mongodb-operator == \- ]] ++ [[ --selector=name=percona-server-mongodb-operator =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -n == \- ]] ++ [[ -n =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb-operator == \- ]] ++ [[ psmdb-operator =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ 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 ]] ++ break ++ cat /tmp/tmp.W4egcTGZjo ++ cat /tmp/tmp.5QCPNtE0hr ++ rm /tmp/tmp.W4egcTGZjo /tmp/tmp.5QCPNtE0hr ++ return 0 + wait_operator_pod percona-server-mongodb-operator-b57dc4869-xsvv7 + local pod=percona-server-mongodb-operator-b57dc4869-xsvv7 + set +o xtrace waiting for pod/percona-server-mongodb-operator-b57dc4869-xsvv7 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.g9NsyHrkWS +++ mktemp ++ local LAST_ERR=/tmp/tmp.OmDBWkEzZv ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=percona-server-mongodb-operator' '-o' 'jsonpath={.items[].metadata.name}' '-n' 'psmdb-operator') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=percona-server-mongodb-operator == \- ]] ++ [[ --selector=name=percona-server-mongodb-operator =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -n == \- ]] ++ [[ -n =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb-operator == \- ]] ++ [[ psmdb-operator =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ 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 ]] ++ break ++ cat /tmp/tmp.g9NsyHrkWS ++ cat /tmp/tmp.OmDBWkEzZv ++ rm /tmp/tmp.g9NsyHrkWS /tmp/tmp.OmDBWkEzZv ++ return 0 + kubectl_bin logs -n psmdb-operator percona-server-mongodb-operator-b57dc4869-xsvv7 ++ mktemp + local LAST_OUT=/tmp/tmp.HFqUQlpcVX ++ mktemp + local LAST_ERR=/tmp/tmp.wzzem34tIO + local exit_status=0 + local timeout=4 + local i + args=('logs' '-n' 'psmdb-operator' 'percona-server-mongodb-operator-b57dc4869-xsvv7') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ logs == \- ]] + [[ logs =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -n == \- ]] + [[ -n =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-operator == \- ]] + [[ psmdb-operator =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ percona-server-mongodb-operator-b57dc4869-xsvv7 == \- ]] + [[ percona-server-mongodb-operator-b57dc4869-xsvv7 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl logs -n psmdb-operator percona-server-mongodb-operator-b57dc4869-xsvv7 + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.HFqUQlpcVX + cat /tmp/tmp.wzzem34tIO + rm /tmp/tmp.HFqUQlpcVX /tmp/tmp.wzzem34tIO + return 0 2026-11-23T06:50:08.262Z INFO setup Manager starting up {"gitCommit": "27e0b796072fe59ec1fa78fca82dc7491ddb9891", "gitBranch": "PR-2715-27e0b7960", "buildTime": "", "goVersion": "go1.27.4", "os": "linux", "arch": "amd64"} + create_namespace multi-storage-11601 + local namespace=multi-storage-11601 + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// + local chaos_mesh_ns= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' ++ kubectl get crd ++ awk '{print $1}' ++ grep chaos-mesh.org + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + local 'ns_filter=^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + [[ -n '' ]] + kubectl_bin get ns + grep -E -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' ++ mktemp + awk '{print$1}' + xargs kubectl delete ns + [[ -n '' ]] + desc 'cleaned up old namespaces multi-storage-11601' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces multi-storage-11601 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace multi-storage-11601 --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.vCX9BALP4L ++ mktemp + local LAST_OUT=/tmp/tmp.JHOQ0L2T83 + local LAST_ERR=/tmp/tmp.dNozIdMEBM + local exit_status=0 + local timeout=4 + local i + args=('get' 'ns') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ get == \- ]] + [[ get =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ ns == \- ]] + [[ ns =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 ++ mktemp + local LAST_ERR=/tmp/tmp.KLEaPdlfvW + local exit_status=0 + local timeout=4 + local i + args=('delete' 'namespace' 'multi-storage-11601' '--ignore-not-found') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ delete == \- ]] + [[ delete =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ namespace == \- ]] + [[ namespace =~ ^(-f|--filename)=-$ ]] + for attempt in $(seq 0 9) + set +e + for i in "${!args[@]}" + [[ multi-storage-11601 == \- ]] + kubectl get ns + [[ multi-storage-11601 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --ignore-not-found == \- ]] + [[ --ignore-not-found =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl delete namespace multi-storage-11601 --ignore-not-found + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.vCX9BALP4L + cat /tmp/tmp.dNozIdMEBM + rm /tmp/tmp.vCX9BALP4L /tmp/tmp.dNozIdMEBM + return 0 error: resource(s) were provided, but no name was specified + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.JHOQ0L2T83 + cat /tmp/tmp.KLEaPdlfvW + rm /tmp/tmp.JHOQ0L2T83 /tmp/tmp.KLEaPdlfvW + return 0 + kubectl_bin wait --for=delete namespace multi-storage-11601 ++ mktemp + local LAST_OUT=/tmp/tmp.KD0ZmlgvOW ++ mktemp + local LAST_ERR=/tmp/tmp.D0jUeQfxcw + local exit_status=0 + local timeout=4 + local i + args=('wait' '--for=delete' 'namespace' 'multi-storage-11601') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ wait == \- ]] + [[ wait =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --for=delete == \- ]] + [[ --for=delete =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ namespace == \- ]] + [[ namespace =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ multi-storage-11601 == \- ]] + [[ multi-storage-11601 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl wait --for=delete namespace multi-storage-11601 + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.KD0ZmlgvOW + cat /tmp/tmp.D0jUeQfxcw + rm /tmp/tmp.KD0ZmlgvOW /tmp/tmp.D0jUeQfxcw + return 0 + desc 'create namespace multi-storage-11601' + set +o xtrace ----------------------------------------------------------------------------------- create namespace multi-storage-11601 ----------------------------------------------------------------------------------- + kubectl_bin create namespace multi-storage-11601 ++ mktemp + local LAST_OUT=/tmp/tmp.sNuaf6laH7 ++ mktemp + local LAST_ERR=/tmp/tmp.mfVn2MWMAI + local exit_status=0 + local timeout=4 + local i + args=('create' 'namespace' 'multi-storage-11601') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ create == \- ]] + [[ create =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ namespace == \- ]] + [[ namespace =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ multi-storage-11601 == \- ]] + [[ multi-storage-11601 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl create namespace multi-storage-11601 + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.sNuaf6laH7 namespace/multi-storage-11601 created + cat /tmp/tmp.mfVn2MWMAI + rm /tmp/tmp.sNuaf6laH7 /tmp/tmp.mfVn2MWMAI + return 0 + set_kube_ctx multi-storage-11601 + local namespace=multi-storage-11601 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.NF07uQnkCu +++ mktemp ++ local LAST_ERR=/tmp/tmp.3zUggJtNsM ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('config' 'current-context') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ config == \- ]] ++ [[ config =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ current-context == \- ]] ++ [[ current-context =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.NF07uQnkCu ++ cat /tmp/tmp.3zUggJtNsM ++ rm /tmp/tmp.NF07uQnkCu /tmp/tmp.3zUggJtNsM ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2715-27e0b7960-9-cluster14 --namespace=multi-storage-11601 ++ mktemp + local LAST_OUT=/tmp/tmp.TsRfpH6jHw ++ mktemp + local LAST_ERR=/tmp/tmp.WLdfnHQAsK + local exit_status=0 + local timeout=4 + local i + args=('config' 'set-context' 'gke_cloud-dev-112233_us-central1-a_jen-psmdb-2715-27e0b7960-9-cluster14' '--namespace=multi-storage-11601') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ config == \- ]] + [[ config =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ set-context == \- ]] + [[ set-context =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ gke_cloud-dev-112233_us-central1-a_jen-psmdb-2715-27e0b7960-9-cluster14 == \- ]] + [[ gke_cloud-dev-112233_us-central1-a_jen-psmdb-2715-27e0b7960-9-cluster14 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --namespace=multi-storage-11601 == \- ]] + [[ --namespace=multi-storage-11601 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2715-27e0b7960-9-cluster14 --namespace=multi-storage-11601 + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.TsRfpH6jHw Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2715-27e0b7960-9-cluster14" modified. + cat /tmp/tmp.WLdfnHQAsK + rm /tmp/tmp.TsRfpH6jHw /tmp/tmp.WLdfnHQAsK + return 0 + deploy_s3_storage + local cert_secret= + local fullname=s3-storage + desc 'install SeaweedFS: s3-storage' + set +o xtrace ----------------------------------------------------------------------------------- install SeaweedFS: s3-storage ----------------------------------------------------------------------------------- + helm uninstall s3-storage + : + helm repo remove seaweedfs "seaweedfs" has been removed from your repositories + helm repo add seaweedfs https://seaweedfs.github.io/seaweedfs/helm "seaweedfs" has been added to your repositories + local endpoint=http://s3-storage-all-in-one:8333 + seaweedfs_args=('--version' '4.47.0' '-f' '/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/seaweedfs-values.yaml' '--set' 'allInOne.data.type=persistentVolumeClaim' '--set' 'allInOne.data.size=2G' '--set' 'fullnameOverride=s3-storage' '--set-string' 's3.credentials.admin.accessKey=some-access-key' '--set-string' 's3.credentials.admin.secretKey=some-secret-key' '--set-string' 'global.seaweedfs.serviceAccountName=s3-storage-sa') + local seaweedfs_args + arch_scheduling_enabled + [[ -n '' ]] + [[ -n '' ]] + retry 10 60 helm install s3-storage --version 4.47.0 -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/seaweedfs-values.yaml --set allInOne.data.type=persistentVolumeClaim --set allInOne.data.size=2G --set fullnameOverride=s3-storage --set-string s3.credentials.admin.accessKey=some-access-key --set-string s3.credentials.admin.secretKey=some-secret-key --set-string global.seaweedfs.serviceAccountName=s3-storage-sa seaweedfs/seaweedfs + local max=10 + local delay=60 + shift 2 + local n=1 + helm install s3-storage --version 4.47.0 -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/seaweedfs-values.yaml --set allInOne.data.type=persistentVolumeClaim --set allInOne.data.size=2G --set fullnameOverride=s3-storage --set-string s3.credentials.admin.accessKey=some-access-key --set-string s3.credentials.admin.secretKey=some-secret-key --set-string global.seaweedfs.serviceAccountName=s3-storage-sa seaweedfs/seaweedfs NAME: s3-storage LAST DEPLOYED: Mon Nov 23 06:50:46 2026 NAMESPACE: multi-storage-11601 STATUS: deployed REVISION: 1 TEST SUITE: None + kubectl_bin rollout status deployment/s3-storage-all-in-one --timeout=300s ++ mktemp + local LAST_OUT=/tmp/tmp.RCPQLeE1Ec ++ mktemp + local LAST_ERR=/tmp/tmp.OfClstP0Fe + local exit_status=0 + local timeout=4 + local i + args=('rollout' 'status' 'deployment/s3-storage-all-in-one' '--timeout=300s') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ rollout == \- ]] + [[ rollout =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ status == \- ]] + [[ status =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ deployment/s3-storage-all-in-one == \- ]] + [[ deployment/s3-storage-all-in-one =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --timeout=300s == \- ]] + [[ --timeout=300s =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl rollout status deployment/s3-storage-all-in-one --timeout=300s + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.RCPQLeE1Ec Waiting for deployment "s3-storage-all-in-one" rollout to finish: 0 of 1 updated replicas are available... deployment "s3-storage-all-in-one" successfully rolled out + cat /tmp/tmp.OfClstP0Fe + rm /tmp/tmp.RCPQLeE1Ec /tmp/tmp.OfClstP0Fe + return 0 + '[' -n psmdb-operator ']' + kubectl_bin create svc -n psmdb-operator externalname s3-storage-all-in-one --external-name=s3-storage-all-in-one.multi-storage-11601.svc.cluster.local --tcp=8333 --tcp=8443 service/s3-storage-all-in-one created + create_s3_bucket operator-testing http://s3-storage-all-in-one:8333 + local bucket=operator-testing + local endpoint=http://s3-storage-all-in-one:8333 + retry 12 10 aws_cli_s3 http://s3-storage-all-in-one:8333 s3 mb s3://operator-testing + local max=12 + local delay=10 + shift 2 + local n=1 + aws_cli_s3 http://s3-storage-all-in-one:8333 s3 mb s3://operator-testing + local endpoint=http://s3-storage-all-in-one:8333 + shift + kubectl_bin run -i --rm aws-cli --image=docker.io/amazon/aws-cli:2.34.60 --restart=Never --env=AWS_ACCESS_KEY_ID=some-access-key --env=AWS_SECRET_ACCESS_KEY=some-secret-key --env=AWS_DEFAULT_REGION=us-east-1 -- --no-verify-ssl --endpoint-url http://s3-storage-all-in-one:8333 s3 mb s3://operator-testing ++ mktemp + local LAST_OUT=/tmp/tmp.aHAWVcWekB ++ mktemp + local LAST_ERR=/tmp/tmp.4A0WYtE8vY + local exit_status=0 + local timeout=4 + local i + args=('run' '-i' '--rm' 'aws-cli' '--image=docker.io/amazon/aws-cli:2.34.60' '--restart=Never' '--env=AWS_ACCESS_KEY_ID=some-access-key' '--env=AWS_SECRET_ACCESS_KEY=some-secret-key' '--env=AWS_DEFAULT_REGION=us-east-1' '--' '--no-verify-ssl' '--endpoint-url' 'http://s3-storage-all-in-one:8333' 's3' 'mb' 's3://operator-testing') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ run == \- ]] + [[ run =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -i == \- ]] + [[ -i =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --rm == \- ]] + [[ --rm =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ aws-cli == \- ]] + [[ aws-cli =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --image=docker.io/amazon/aws-cli:2.34.60 == \- ]] + [[ --image=docker.io/amazon/aws-cli:2.34.60 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --restart=Never == \- ]] + [[ --restart=Never =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --env=AWS_ACCESS_KEY_ID=some-access-key == \- ]] + [[ --env=AWS_ACCESS_KEY_ID=some-access-key =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --env=AWS_SECRET_ACCESS_KEY=some-secret-key == \- ]] + [[ --env=AWS_SECRET_ACCESS_KEY=some-secret-key =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --env=AWS_DEFAULT_REGION=us-east-1 == \- ]] + [[ --env=AWS_DEFAULT_REGION=us-east-1 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --no-verify-ssl == \- ]] + [[ --no-verify-ssl =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --endpoint-url == \- ]] + [[ --endpoint-url =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ http://s3-storage-all-in-one:8333 == \- ]] + [[ http://s3-storage-all-in-one:8333 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ s3 == \- ]] + [[ s3 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ mb == \- ]] + [[ mb =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ s3://operator-testing == \- ]] + [[ s3://operator-testing =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl run -i --rm aws-cli --image=docker.io/amazon/aws-cli:2.34.60 --restart=Never --env=AWS_ACCESS_KEY_ID=some-access-key --env=AWS_SECRET_ACCESS_KEY=some-secret-key --env=AWS_DEFAULT_REGION=us-east-1 -- --no-verify-ssl --endpoint-url http://s3-storage-all-in-one:8333 s3 mb s3://operator-testing + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.aHAWVcWekB make_bucket: operator-testing pod "aws-cli" deleted from multi-storage-11601 namespace + cat /tmp/tmp.4A0WYtE8vY Warning: BCID failed open: BCID suppressed until 2026-11-23 08:51:12.466464551 +0000 UTC m=+10863.130002933 All commands and output from this session will be recorded in container logs, including credentials and sensitive information passed through the command prompt. If you don't see a command prompt, try pressing enter. warning: couldn't attach to pod/aws-cli, falling back to streaming logs: Internal error occurred: unable to upgrade connection: container aws-cli not found in pod aws-cli_multi-storage-11601 + rm /tmp/tmp.aHAWVcWekB /tmp/tmp.4A0WYtE8vY + return 0 + endpoint=http://s3-storage-all-in-one:8333 + create_s3_bucket operator-testing-2 http://s3-storage-all-in-one:8333 + local bucket=operator-testing-2 + local endpoint=http://s3-storage-all-in-one:8333 + retry 12 10 aws_cli_s3 http://s3-storage-all-in-one:8333 s3 mb s3://operator-testing-2 + local max=12 + local delay=10 + shift 2 + local n=1 + aws_cli_s3 http://s3-storage-all-in-one:8333 s3 mb s3://operator-testing-2 + local endpoint=http://s3-storage-all-in-one:8333 + shift + kubectl_bin run -i --rm aws-cli --image=docker.io/amazon/aws-cli:2.34.60 --restart=Never --env=AWS_ACCESS_KEY_ID=some-access-key --env=AWS_SECRET_ACCESS_KEY=some-secret-key --env=AWS_DEFAULT_REGION=us-east-1 -- --no-verify-ssl --endpoint-url http://s3-storage-all-in-one:8333 s3 mb s3://operator-testing-2 ++ mktemp + local LAST_OUT=/tmp/tmp.KhVJC1wjY8 ++ mktemp + local LAST_ERR=/tmp/tmp.jdsKSnf7Jw + local exit_status=0 + local timeout=4 + local i + args=('run' '-i' '--rm' 'aws-cli' '--image=docker.io/amazon/aws-cli:2.34.60' '--restart=Never' '--env=AWS_ACCESS_KEY_ID=some-access-key' '--env=AWS_SECRET_ACCESS_KEY=some-secret-key' '--env=AWS_DEFAULT_REGION=us-east-1' '--' '--no-verify-ssl' '--endpoint-url' 'http://s3-storage-all-in-one:8333' 's3' 'mb' 's3://operator-testing-2') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ run == \- ]] + [[ run =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -i == \- ]] + [[ -i =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --rm == \- ]] + [[ --rm =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ aws-cli == \- ]] + [[ aws-cli =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --image=docker.io/amazon/aws-cli:2.34.60 == \- ]] + [[ --image=docker.io/amazon/aws-cli:2.34.60 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --restart=Never == \- ]] + [[ --restart=Never =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --env=AWS_ACCESS_KEY_ID=some-access-key == \- ]] + [[ --env=AWS_ACCESS_KEY_ID=some-access-key =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --env=AWS_SECRET_ACCESS_KEY=some-secret-key == \- ]] + [[ --env=AWS_SECRET_ACCESS_KEY=some-secret-key =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --env=AWS_DEFAULT_REGION=us-east-1 == \- ]] + [[ --env=AWS_DEFAULT_REGION=us-east-1 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --no-verify-ssl == \- ]] + [[ --no-verify-ssl =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --endpoint-url == \- ]] + [[ --endpoint-url =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ http://s3-storage-all-in-one:8333 == \- ]] + [[ http://s3-storage-all-in-one:8333 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ s3 == \- ]] + [[ s3 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ mb == \- ]] + [[ mb =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ s3://operator-testing-2 == \- ]] + [[ s3://operator-testing-2 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl run -i --rm aws-cli --image=docker.io/amazon/aws-cli:2.34.60 --restart=Never --env=AWS_ACCESS_KEY_ID=some-access-key --env=AWS_SECRET_ACCESS_KEY=some-secret-key --env=AWS_DEFAULT_REGION=us-east-1 -- --no-verify-ssl --endpoint-url http://s3-storage-all-in-one:8333 s3 mb s3://operator-testing-2 + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.KhVJC1wjY8 make_bucket: operator-testing-2 pod "aws-cli" deleted from multi-storage-11601 namespace + cat /tmp/tmp.jdsKSnf7Jw Warning: BCID failed open: BCID suppressed until 2026-11-23 08:51:12.466464551 +0000 UTC m=+10863.130002933 All commands and output from this session will be recorded in container logs, including credentials and sensitive information passed through the command prompt. If you don't see a command prompt, try pressing enter. warning: couldn't attach to pod/aws-cli, falling back to streaming logs: Internal error occurred: unable to upgrade connection: container aws-cli not found in pod aws-cli_multi-storage-11601 + rm /tmp/tmp.KhVJC1wjY8 /tmp/tmp.jdsKSnf7Jw + return 0 + create_s3_bucket operator-testing-3 http://s3-storage-all-in-one:8333 + local bucket=operator-testing-3 + local endpoint=http://s3-storage-all-in-one:8333 + retry 12 10 aws_cli_s3 http://s3-storage-all-in-one:8333 s3 mb s3://operator-testing-3 + local max=12 + local delay=10 + shift 2 + local n=1 + aws_cli_s3 http://s3-storage-all-in-one:8333 s3 mb s3://operator-testing-3 + local endpoint=http://s3-storage-all-in-one:8333 + shift + kubectl_bin run -i --rm aws-cli --image=docker.io/amazon/aws-cli:2.34.60 --restart=Never --env=AWS_ACCESS_KEY_ID=some-access-key --env=AWS_SECRET_ACCESS_KEY=some-secret-key --env=AWS_DEFAULT_REGION=us-east-1 -- --no-verify-ssl --endpoint-url http://s3-storage-all-in-one:8333 s3 mb s3://operator-testing-3 ++ mktemp + local LAST_OUT=/tmp/tmp.tUDu4ZGGSC ++ mktemp + local LAST_ERR=/tmp/tmp.sQclev273b + local exit_status=0 + local timeout=4 + local i + args=('run' '-i' '--rm' 'aws-cli' '--image=docker.io/amazon/aws-cli:2.34.60' '--restart=Never' '--env=AWS_ACCESS_KEY_ID=some-access-key' '--env=AWS_SECRET_ACCESS_KEY=some-secret-key' '--env=AWS_DEFAULT_REGION=us-east-1' '--' '--no-verify-ssl' '--endpoint-url' 'http://s3-storage-all-in-one:8333' 's3' 'mb' 's3://operator-testing-3') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ run == \- ]] + [[ run =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -i == \- ]] + [[ -i =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --rm == \- ]] + [[ --rm =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ aws-cli == \- ]] + [[ aws-cli =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --image=docker.io/amazon/aws-cli:2.34.60 == \- ]] + [[ --image=docker.io/amazon/aws-cli:2.34.60 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --restart=Never == \- ]] + [[ --restart=Never =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --env=AWS_ACCESS_KEY_ID=some-access-key == \- ]] + [[ --env=AWS_ACCESS_KEY_ID=some-access-key =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --env=AWS_SECRET_ACCESS_KEY=some-secret-key == \- ]] + [[ --env=AWS_SECRET_ACCESS_KEY=some-secret-key =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --env=AWS_DEFAULT_REGION=us-east-1 == \- ]] + [[ --env=AWS_DEFAULT_REGION=us-east-1 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --no-verify-ssl == \- ]] + [[ --no-verify-ssl =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --endpoint-url == \- ]] + [[ --endpoint-url =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ http://s3-storage-all-in-one:8333 == \- ]] + [[ http://s3-storage-all-in-one:8333 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ s3 == \- ]] + [[ s3 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ mb == \- ]] + [[ mb =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ s3://operator-testing-3 == \- ]] + [[ s3://operator-testing-3 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl run -i --rm aws-cli --image=docker.io/amazon/aws-cli:2.34.60 --restart=Never --env=AWS_ACCESS_KEY_ID=some-access-key --env=AWS_SECRET_ACCESS_KEY=some-secret-key --env=AWS_DEFAULT_REGION=us-east-1 -- --no-verify-ssl --endpoint-url http://s3-storage-all-in-one:8333 s3 mb s3://operator-testing-3 + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.tUDu4ZGGSC make_bucket: operator-testing-3 make_bucket: operator-testing-3 pod "aws-cli" deleted from multi-storage-11601 namespace + cat /tmp/tmp.sQclev273b Warning: BCID failed open: BCID suppressed until 2026-11-23 08:51:12.466464551 +0000 UTC m=+10863.130002933 All commands and output from this session will be recorded in container logs, including credentials and sensitive information passed through the command prompt. If you don't see a command prompt, try pressing enter. warning: couldn't attach to pod/aws-cli, falling back to streaming logs: Internal error occurred: unable to upgrade connection: container aws-cli not found in pod aws-cli_multi-storage-11601 + rm /tmp/tmp.tUDu4ZGGSC /tmp/tmp.sQclev273b + return 0 + log 'create secrets and start client' + set +o xtrace [2026-11-23T06:51:38+0000] create secrets and start client + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/secrets.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/client.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/s3-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.u7jX7F7UqB ++ mktemp + local LAST_ERR=/tmp/tmp.J4jIjp2zD2 + local exit_status=0 + local timeout=4 + local i + args=('apply' '-f' '/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/secrets.yml' '-f' '/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/client.yml' '-f' '/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/s3-secret.yml') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ apply == \- ]] + [[ apply =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/secrets.yml == \- ]] + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/secrets.yml =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/client.yml == \- ]] + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/client.yml =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/s3-secret.yml == \- ]] + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/s3-secret.yml =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/secrets.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/client.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/conf/s3-secret.yml + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.u7jX7F7UqB secret/some-users created deployment.apps/psmdb-client created secret/s3-secret created + cat /tmp/tmp.J4jIjp2zD2 + rm /tmp/tmp.u7jX7F7UqB /tmp/tmp.J4jIjp2zD2 + return 0 + log 'create PSMDB cluster: some-name' + set +o xtrace [2026-11-23T06:51:40+0000] create PSMDB cluster: some-name + apply_cluster /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/conf/some-name.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/conf/some-name.yml + kubectl_bin apply -f - + yq eval '(.spec | select(.image == null)).image = "docker.io/perconalab/percona-server-mongodb-operator:main-mongod8.3"' + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/conf/some-name.yml + yq eval '(.spec | select(has("initImage"))).initImage = "docker.io/perconalab/percona-server-mongodb-operator:PR-2715-27e0b7960"' ++ mktemp + yq eval '(.spec | select(has("backup"))).backup.image = "docker.io/perconalab/percona-server-mongodb-operator:main-backup"' + yq eval '(.spec | select(has("pmm"))).pmm.image = "docker.io/perconalab/pmm-client:3-dev-latest"' + [[ -n docker.io/perconalab/fluentbit:main-logcollector ]] + IMAGE_LOGCOLLECTOR=docker.io/perconalab/fluentbit:main-logcollector + yq eval '(.spec | select(has("logcollector"))).logcollector.image = strenv(IMAGE_LOGCOLLECTOR)' + local LAST_OUT=/tmp/tmp.0sRAEm8peu + yq eval '.spec.upgradeOptions.apply="Never"' + add_arch_to_psmdb - + /usr/sbin/sed -e s/NAME_SPACE/multi-storage-11601/g + arch_scheduling_enabled + yq eval '(.spec | select(has("search"))).search.image = "docker.io/perconalab/percona-server-mongodb-operator:main-mongot"' + [[ -n '' ]] + cat - ++ mktemp + local LAST_ERR=/tmp/tmp.JGNBwWXlHX + local exit_status=0 + local timeout=4 + local i + args=('apply' '-f' '-') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ apply == \- ]] + [[ apply =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ - == \- ]] + [[ 2 -gt 0 ]] + [[ -f =~ ^(-f|--filename)$ ]] ++ mktemp + stdin_manifest=/tmp/tmp.mmOGpVWyyx + cat + return + transformed_files+=("${stdin_manifest}") + args[$i]=/tmp/tmp.mmOGpVWyyx + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl apply -f /tmp/tmp.mmOGpVWyyx + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.0sRAEm8peu perconaservermongodb.psmdb.percona.com/some-name created + cat /tmp/tmp.JGNBwWXlHX + rm /tmp/tmp.0sRAEm8peu /tmp/tmp.JGNBwWXlHX /tmp/tmp.mmOGpVWyyx + return 0 + log 'check if all 3 Pods started' + set +o xtrace [2026-11-23T06:51:42+0000] check if all 3 Pods started + wait_for_running some-name-rs0 3 + local name=some-name-rs0 + let last_pod=2 + local check_cluster_readiness=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.UcwFr1wYCN +++ mktemp ++ local LAST_ERR=/tmp/tmp.EdRc01k8Tq ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'psmdb' 'some-name' '-o' 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb == \- ]] ++ [[ psmdb =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name == \- ]] ++ [[ some-name =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled} == \- ]] ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.UcwFr1wYCN ++ cat /tmp/tmp.EdRc01k8Tq ++ rm /tmp/tmp.UcwFr1wYCN /tmp/tmp.EdRc01k8Tq ++ return 0 + [[ '' == true ]] + wait_pod some-name-rs0-2 + local pod=some-name-rs0-2 + set +o xtrace waiting for pod/some-name-rs0-2 to be ready..........OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.KTm6JreiUr +++ mktemp ++ local LAST_ERR=/tmp/tmp.RaTaiOY39Y ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'psmdb' 'some-name' '-o' 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb == \- ]] ++ [[ psmdb =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name == \- ]] ++ [[ some-name =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled} == \- ]] ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.KTm6JreiUr ++ cat /tmp/tmp.RaTaiOY39Y ++ rm /tmp/tmp.KTm6JreiUr /tmp/tmp.RaTaiOY39Y ++ return 0 + [[ '' == true ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.tvKawoTfLw +++ mktemp ++ local LAST_ERR=/tmp/tmp.Kw0PyMPDix ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'psmdb' 'some-name' '-o' 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb == \- ]] ++ [[ psmdb =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name == \- ]] ++ [[ some-name =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled} == \- ]] ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.tvKawoTfLw ++ cat /tmp/tmp.Kw0PyMPDix ++ rm /tmp/tmp.tvKawoTfLw /tmp/tmp.Kw0PyMPDix ++ return 0 + [[ '' == true ]] + sleep 10 + [[ true == true ]] + set +x Waiting for cluster some-name to be ready................... + wait_backup_agent some-name-rs0-0 + local agent_pod=some-name-rs0-0 + set +o xtrace waiting for pbm-agent to be ready in some-name-rs0-0...2026-11-23T06:52:59.000+0000 I listening for the commands + wait_backup_agent some-name-rs0-1 + local agent_pod=some-name-rs0-1 + set +o xtrace waiting for pbm-agent to be ready in some-name-rs0-1...2026-11-23T06:53:02.000+0000 I listening for the commands + wait_backup_agent some-name-rs0-2 + local agent_pod=some-name-rs0-2 + set +o xtrace waiting for pbm-agent to be ready in some-name-rs0-2...2026-11-23T06:53:32.000+0000 I listening for the commands + create_user + log 'create user myApp' + set +o xtrace [2026-11-23T06:53:38+0000] create user myApp + run_mongo 'db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})' userAdmin:userAdmin123456@some-name-rs0.multi-storage-11601 mongodb + local 'command=db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})' + local uri=userAdmin:userAdmin123456@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ userAdmin:userAdmin123456@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.A0tmOp570u +++ mktemp ++ local LAST_ERR=/tmp/tmp.JCEd0KTqzY ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.A0tmOp570u ++ cat /tmp/tmp.JCEd0KTqzY ++ rm /tmp/tmp.A0tmOp570u /tmp/tmp.JCEd0KTqzY ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n'\'' | mongo mongodb://userAdmin:userAdmin123456@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.FzQNTUE6jv ++ mktemp + local LAST_ERR=/tmp/tmp.Q8tJxYIwa8 + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n'\'' | mongo mongodb://userAdmin:userAdmin123456@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n' | mongo mongodb://userAdmin:userAdmin123456@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n' | mongo mongodb://userAdmin:userAdmin123456@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''db.createUser({user:"myApp",pwd:"myPass",roles:[{db:"myApp",role:"readWrite"}]})\n'\'' | mongo mongodb://userAdmin:userAdmin123456@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.FzQNTUE6jv Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("021fcc19-b9eb-497c-ae49-f82bddab50a9") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match Successfully added user: { "user" : "myApp", "roles" : [ { "db" : "myApp", "role" : "readWrite" } ] } bye + cat /tmp/tmp.Q8tJxYIwa8 + rm /tmp/tmp.FzQNTUE6jv /tmp/tmp.Q8tJxYIwa8 + return 0 + write_document 100500 + local x=100500 + local cmp_postfix= + log 'write document: 100500' + set +o xtrace [2026-11-23T06:53:41+0000] write document: 100500 + run_mongo 'use myApp\n db.test.insert({ x: 100500 })' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.insert({ x: 100500 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.nbm5WLx7Id +++ mktemp ++ local LAST_ERR=/tmp/tmp.6kg9pQBa0X ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.nbm5WLx7Id ++ cat /tmp/tmp.6kg9pQBa0X ++ rm /tmp/tmp.nbm5WLx7Id /tmp/tmp.6kg9pQBa0X ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100500 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.vGsjVMafGt ++ mktemp + local LAST_ERR=/tmp/tmp.47wFys5M1j + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100500 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100500 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100500 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100500 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.vGsjVMafGt Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("90486fbd-49a9-4aec-b725-64729bb64a06") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.47wFys5M1j + rm /tmp/tmp.vGsjVMafGt /tmp/tmp.47wFys5M1j + return 0 + run_backup local-s3-1 backup-local-s3-1 logical + local storage=local-s3-1 + local name=backup-local-s3-1 + local type=logical + log 'creating backup: backup-local-s3-1 (logical)' + set +o xtrace [2026-11-23T06:53:44+0000] creating backup: backup-local-s3-1 (logical) + yq eval $'.metadata.name = "backup-local-s3-1"\n\t\t\t| .spec.storageName = "local-s3-1"\n\t\t\t| .spec.type = "logical"' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/conf/backup.yml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.pqWVDfh5hN ++ mktemp + local LAST_ERR=/tmp/tmp.4UETuBLT5F + local exit_status=0 + local timeout=4 + local i + args=('apply' '-f' '-') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ apply == \- ]] + [[ apply =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ - == \- ]] + [[ 2 -gt 0 ]] + [[ -f =~ ^(-f|--filename)$ ]] ++ mktemp + stdin_manifest=/tmp/tmp.ovqpkk07V3 + cat + transformed_files+=("${stdin_manifest}") + args[$i]=/tmp/tmp.ovqpkk07V3 + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl apply -f /tmp/tmp.ovqpkk07V3 + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.pqWVDfh5hN perconaservermongodbbackup.psmdb.percona.com/backup-local-s3-1 created + cat /tmp/tmp.4UETuBLT5F + rm /tmp/tmp.pqWVDfh5hN /tmp/tmp.4UETuBLT5F /tmp/tmp.ovqpkk07V3 + return 0 + wait_backup backup-local-s3-1 + local backup_name=backup-local-s3-1 + local target_state=ready + set +o xtrace waiting for backup-local-s3-1 to reach ready state.......OK + wait_for_pbm_operations some-name + local cluster=some-name + local max_retries=540 + set +o xtrace waiting for PBM operation to finish.OK + run_backup local-s3-2 backup-local-s3-2 logical + local storage=local-s3-2 + local name=backup-local-s3-2 + local type=logical + log 'creating backup: backup-local-s3-2 (logical)' + set +o xtrace [2026-11-23T06:53:59+0000] creating backup: backup-local-s3-2 (logical) + yq eval $'.metadata.name = "backup-local-s3-2"\n\t\t\t| .spec.storageName = "local-s3-2"\n\t\t\t| .spec.type = "logical"' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/conf/backup.yml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.0eBDc2QeAY ++ mktemp + local LAST_ERR=/tmp/tmp.m06WSlYdVL + local exit_status=0 + local timeout=4 + local i + args=('apply' '-f' '-') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ apply == \- ]] + [[ apply =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ - == \- ]] + [[ 2 -gt 0 ]] + [[ -f =~ ^(-f|--filename)$ ]] ++ mktemp + stdin_manifest=/tmp/tmp.pm8o604Vur + cat + transformed_files+=("${stdin_manifest}") + args[$i]=/tmp/tmp.pm8o604Vur + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl apply -f /tmp/tmp.pm8o604Vur + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.0eBDc2QeAY perconaservermongodbbackup.psmdb.percona.com/backup-local-s3-2 created + cat /tmp/tmp.m06WSlYdVL + rm /tmp/tmp.0eBDc2QeAY /tmp/tmp.m06WSlYdVL /tmp/tmp.pm8o604Vur + return 0 + wait_backup backup-local-s3-2 + local backup_name=backup-local-s3-2 + local target_state=ready + set +o xtrace waiting for backup-local-s3-2 to reach ready state.......OK + wait_for_pbm_operations some-name + local cluster=some-name + local max_retries=540 + set +o xtrace waiting for PBM operation to finish.OK + run_backup local-s3-3 backup-local-s3-3 physical + local storage=local-s3-3 + local name=backup-local-s3-3 + local type=physical + log 'creating backup: backup-local-s3-3 (physical)' + set +o xtrace [2026-11-23T06:54:14+0000] creating backup: backup-local-s3-3 (physical) + yq eval $'.metadata.name = "backup-local-s3-3"\n\t\t\t| .spec.storageName = "local-s3-3"\n\t\t\t| .spec.type = "physical"' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/conf/backup.yml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.gBSWaTqAk2 ++ mktemp + local LAST_ERR=/tmp/tmp.xvKPhHnUxh + local exit_status=0 + local timeout=4 + local i + args=('apply' '-f' '-') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ apply == \- ]] + [[ apply =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ - == \- ]] + [[ 2 -gt 0 ]] + [[ -f =~ ^(-f|--filename)$ ]] ++ mktemp + stdin_manifest=/tmp/tmp.44splmMKTk + cat + transformed_files+=("${stdin_manifest}") + args[$i]=/tmp/tmp.44splmMKTk + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl apply -f /tmp/tmp.44splmMKTk + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.gBSWaTqAk2 perconaservermongodbbackup.psmdb.percona.com/backup-local-s3-3 created + cat /tmp/tmp.xvKPhHnUxh + rm /tmp/tmp.gBSWaTqAk2 /tmp/tmp.xvKPhHnUxh /tmp/tmp.44splmMKTk + return 0 + wait_backup backup-local-s3-3 + local backup_name=backup-local-s3-3 + local target_state=ready + set +o xtrace waiting for backup-local-s3-3 to reach ready state.......OK + write_document 100501 + local x=100501 + local cmp_postfix= + log 'write document: 100501' + set +o xtrace [2026-11-23T06:54:28+0000] write document: 100501 + run_mongo 'use myApp\n db.test.insert({ x: 100501 })' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.insert({ x: 100501 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.s8LjJ3XuHs +++ mktemp ++ local LAST_ERR=/tmp/tmp.0dOlZjC99x ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.s8LjJ3XuHs ++ cat /tmp/tmp.0dOlZjC99x ++ rm /tmp/tmp.s8LjJ3XuHs /tmp/tmp.0dOlZjC99x ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100501 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.cyrWkaccJk ++ mktemp + local LAST_ERR=/tmp/tmp.b75q86KXUL + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100501 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100501 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100501 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100501 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.cyrWkaccJk Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("6d16710f-d105-43e7-8a8d-8165aff51576") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.b75q86KXUL + rm /tmp/tmp.cyrWkaccJk /tmp/tmp.b75q86KXUL + return 0 + write_document 100502 + local x=100502 + local cmp_postfix= + log 'write document: 100502' + set +o xtrace [2026-11-23T06:54:30+0000] write document: 100502 + run_mongo 'use myApp\n db.test.insert({ x: 100502 })' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.insert({ x: 100502 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.R5ABFfT6yD +++ mktemp ++ local LAST_ERR=/tmp/tmp.xnlsKQqDlG ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.R5ABFfT6yD ++ cat /tmp/tmp.xnlsKQqDlG ++ rm /tmp/tmp.R5ABFfT6yD /tmp/tmp.xnlsKQqDlG ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100502 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.WCtWfkVCyo ++ mktemp + local LAST_ERR=/tmp/tmp.STrLumRoBW + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100502 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100502 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100502 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100502 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.WCtWfkVCyo Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("d8b8ed22-ad79-46c3-812c-524f717354dd") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.STrLumRoBW + rm /tmp/tmp.WCtWfkVCyo /tmp/tmp.STrLumRoBW + return 0 + write_document 100503 + local x=100503 + local cmp_postfix= + log 'write document: 100503' + set +o xtrace [2026-11-23T06:54:33+0000] write document: 100503 + run_mongo 'use myApp\n db.test.insert({ x: 100503 })' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.insert({ x: 100503 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.AhlD7lfMd2 +++ mktemp ++ local LAST_ERR=/tmp/tmp.MHvJj3A48s ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.AhlD7lfMd2 ++ cat /tmp/tmp.MHvJj3A48s ++ rm /tmp/tmp.AhlD7lfMd2 /tmp/tmp.MHvJj3A48s ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100503 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.Gez3i9uL9d ++ mktemp + local LAST_ERR=/tmp/tmp.Nc7l6iz4Ke + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100503 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100503 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100503 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100503 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.Gez3i9uL9d Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("8f029f64-339f-424c-95e7-ffb4cd654bfd") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.Nc7l6iz4Ke + rm /tmp/tmp.Gez3i9uL9d /tmp/tmp.Nc7l6iz4Ke + return 0 + write_document 100504 + local x=100504 + local cmp_postfix= + log 'write document: 100504' + set +o xtrace [2026-11-23T06:54:35+0000] write document: 100504 + run_mongo 'use myApp\n db.test.insert({ x: 100504 })' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.insert({ x: 100504 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.R6TnBq7myC +++ mktemp ++ local LAST_ERR=/tmp/tmp.SwuSLx3ks7 ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.R6TnBq7myC ++ cat /tmp/tmp.SwuSLx3ks7 ++ rm /tmp/tmp.R6TnBq7myC /tmp/tmp.SwuSLx3ks7 ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100504 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.uGgQHiduhP ++ mktemp + local LAST_ERR=/tmp/tmp.dALBxdn2TR + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100504 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100504 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100504 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100504 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.uGgQHiduhP Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("b8d2b96a-992e-402f-97ae-04a22fe23466") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.dALBxdn2TR + rm /tmp/tmp.uGgQHiduhP /tmp/tmp.dALBxdn2TR + return 0 + write_document 100505 + local x=100505 + local cmp_postfix= + log 'write document: 100505' + set +o xtrace [2026-11-23T06:54:38+0000] write document: 100505 + run_mongo 'use myApp\n db.test.insert({ x: 100505 })' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.insert({ x: 100505 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.EmWHOC7UEw +++ mktemp ++ local LAST_ERR=/tmp/tmp.mGPGA8ofpH ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.EmWHOC7UEw ++ cat /tmp/tmp.mGPGA8ofpH ++ rm /tmp/tmp.EmWHOC7UEw /tmp/tmp.mGPGA8ofpH ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100505 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.D09O4oNj0H ++ mktemp + local LAST_ERR=/tmp/tmp.KFqgmhha7O + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100505 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100505 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100505 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100505 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.D09O4oNj0H Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("78c7da68-0842-4d82-9e05-fba4af2260dc") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.KFqgmhha7O + rm /tmp/tmp.D09O4oNj0H /tmp/tmp.KFqgmhha7O + return 0 + compare_mongo_cmd find myApp:myPass@some-name-rs0.multi-storage-11601 + local command=find + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local postfix= + local suffix= + local database=myApp + local collection=test + local sort= + local tls=false + local replicaset= + local retries=3 + local retry_delay=10 + local 'full_command=db.test.find()' + [[ -n '' ]] + log 'running db.test.find() in myApp' + set +o xtrace [2026-11-23T06:54:40+0000] running db.test.find() in myApp + [[ false == true ]] + mongo_command=run_mongo ++ seq 1 3 + for attempt in $(seq 1 "$retries") + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"NETWORK"|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' + run_mongo 'use myApp\n db.test.find()' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb '' '' '' + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' + local 'command=use myApp\n db.test.find()' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.tjFJDVe74M +++ mktemp ++ local LAST_ERR=/tmp/tmp.r8nxeEE9Qm ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.tjFJDVe74M ++ cat /tmp/tmp.r8nxeEE9Qm ++ rm /tmp/tmp.tjFJDVe74M /tmp/tmp.r8nxeEE9Qm ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.7JvdAz1DYF ++ mktemp + local LAST_ERR=/tmp/tmp.E5TfLrglPb + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.find()\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.find()\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.find()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.7JvdAz1DYF + cat /tmp/tmp.E5TfLrglPb + rm /tmp/tmp.7JvdAz1DYF /tmp/tmp.E5TfLrglPb + return 0 + compare_mongo_output find '' + local command=find + local postfix= + [[ 0 -ne 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/compare/find.json /tmp/tmp.AYypY49RrJ/find + return + sleep_with_log 70 'wait for oplog chunks to be uploaded' + local d=70 + local 'msg=wait for oplog chunks to be uploaded' + log 'wait for oplog chunks to be uploaded. sleeping for 70 seconds' + set +o xtrace [2026-11-23T06:54:43+0000] wait for oplog chunks to be uploaded. sleeping for 70 seconds + sleep 70 + wait_for_restorable_time backup-local-s3-3 + local backup_name=backup-local-s3-3 ++ get_latest_restorable_time backup-local-s3-3 ++ local backup_name=backup-local-s3-3 +++ kubectl_bin get psmdb-backup backup-local-s3-3 -o yaml +++ yq .status.latestRestorableTime ++++ mktemp +++ local LAST_OUT=/tmp/tmp.Cghm864Yhy ++++ mktemp +++ local LAST_ERR=/tmp/tmp.d2bb5vYSvn +++ local exit_status=0 +++ local timeout=4 +++ local i +++ args=('get' 'psmdb-backup' 'backup-local-s3-3' '-o' 'yaml') +++ local args +++ transformed_files=() +++ local transformed_files +++ local stdin_manifest +++ for i in "${!args[@]}" +++ [[ get == \- ]] +++ [[ get =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ psmdb-backup == \- ]] +++ [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ backup-local-s3-3 == \- ]] +++ [[ backup-local-s3-3 =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ -o == \- ]] +++ [[ -o =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ yaml == \- ]] +++ [[ yaml =~ ^(-f|--filename)=-$ ]] +++ arch_scheduling_enabled +++ [[ -n '' ]] +++ arch_scheduling_enabled +++ [[ -n '' ]] +++ local attempt +++ local delay ++++ seq 0 9 +++ for attempt in $(seq 0 9) +++ set +e +++ kubectl get psmdb-backup backup-local-s3-3 -o yaml +++ exit_status=0 +++ set -e +++ [[ 0 == 0 ]] +++ break +++ cat /tmp/tmp.Cghm864Yhy +++ cat /tmp/tmp.d2bb5vYSvn +++ rm /tmp/tmp.Cghm864Yhy /tmp/tmp.d2bb5vYSvn +++ return 0 ++ local time=2026-11-23T06:55:22Z ++ [[ 2026-11-23T06:55:22Z == null ]] ++ echo -n 2026-11-23T06:55:22Z + local latest_restorable_time=2026-11-23T06:55:22Z + local retries=0 + echo -n 'waiting for psmdb-backup/backup-local-s3-3'\''s latest restorable time' waiting for psmdb-backup/backup-local-s3-3's latest restorable time+ [[ 2026-11-23T06:55:22Z != null ]] + echo '.OK latestRestorableTime: 2026-11-23T06:55:22Z' .OK latestRestorableTime: 2026-11-23T06:55:22Z + wait_for_advanced_restorable_time backup-local-s3-3 + local backup_name=backup-local-s3-3 +++ get_latest_restorable_time backup-local-s3-3 +++ local backup_name=backup-local-s3-3 ++++ kubectl_bin get psmdb-backup backup-local-s3-3 -o yaml ++++ yq .status.latestRestorableTime +++++ mktemp ++++ local LAST_OUT=/tmp/tmp.V8WHnTteRR +++++ mktemp ++++ local LAST_ERR=/tmp/tmp.mZOjCeFnqR ++++ local exit_status=0 ++++ local timeout=4 ++++ local i ++++ args=('get' 'psmdb-backup' 'backup-local-s3-3' '-o' 'yaml') ++++ local args ++++ transformed_files=() ++++ local transformed_files ++++ local stdin_manifest ++++ for i in "${!args[@]}" ++++ [[ get == \- ]] ++++ [[ get =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ psmdb-backup == \- ]] ++++ [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ backup-local-s3-3 == \- ]] ++++ [[ backup-local-s3-3 =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ -o == \- ]] ++++ [[ -o =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ yaml == \- ]] ++++ [[ yaml =~ ^(-f|--filename)=-$ ]] ++++ arch_scheduling_enabled ++++ [[ -n '' ]] ++++ arch_scheduling_enabled ++++ [[ -n '' ]] ++++ local attempt ++++ local delay +++++ seq 0 9 ++++ for attempt in $(seq 0 9) ++++ set +e ++++ kubectl get psmdb-backup backup-local-s3-3 -o yaml ++++ exit_status=0 ++++ set -e ++++ [[ 0 == 0 ]] ++++ break ++++ cat /tmp/tmp.V8WHnTteRR ++++ cat /tmp/tmp.mZOjCeFnqR ++++ rm /tmp/tmp.V8WHnTteRR /tmp/tmp.mZOjCeFnqR ++++ return 0 +++ local time=2026-11-23T06:55:22Z +++ [[ 2026-11-23T06:55:22Z == null ]] +++ echo -n 2026-11-23T06:55:22Z ++ datetime_to_timestamp 2026-11-23T06:55:22Z ++ local datetime=2026-11-23T06:55:22Z ++ TZ=UTC ++ /usr/sbin/date -d2026-11-23T06:55:22Z +%s + local latest_restorable_time=1795416922 ++ get_backup_last_write backup-local-s3-3 ++ local backup_name=backup-local-s3-3 +++ yq .status.pbmName +++ kubectl_bin get psmdb-backup backup-local-s3-3 -o yaml ++++ mktemp +++ local LAST_OUT=/tmp/tmp.EUF4KMclxE ++++ mktemp +++ local LAST_ERR=/tmp/tmp.ismkovHH6E +++ local exit_status=0 +++ local timeout=4 +++ local i +++ args=('get' 'psmdb-backup' 'backup-local-s3-3' '-o' 'yaml') +++ local args +++ transformed_files=() +++ local transformed_files +++ local stdin_manifest +++ for i in "${!args[@]}" +++ [[ get == \- ]] +++ [[ get =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ psmdb-backup == \- ]] +++ [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ backup-local-s3-3 == \- ]] +++ [[ backup-local-s3-3 =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ -o == \- ]] +++ [[ -o =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ yaml == \- ]] +++ [[ yaml =~ ^(-f|--filename)=-$ ]] +++ arch_scheduling_enabled +++ [[ -n '' ]] +++ arch_scheduling_enabled +++ [[ -n '' ]] +++ local attempt +++ local delay ++++ seq 0 9 +++ for attempt in $(seq 0 9) +++ set +e +++ kubectl get psmdb-backup backup-local-s3-3 -o yaml +++ exit_status=0 +++ set -e +++ [[ 0 == 0 ]] +++ break +++ cat /tmp/tmp.EUF4KMclxE +++ cat /tmp/tmp.ismkovHH6E +++ rm /tmp/tmp.EUF4KMclxE /tmp/tmp.ismkovHH6E +++ return 0 ++ local pbm_name=2026-11-23T06:54:16Z ++ jq --arg v 2026-11-23T06:54:16Z '.snapshots[] | select(.name==$v) | .restoreTo' ++ kubectl_bin exec some-name-rs0-0 -c backup-agent -- pbm list -o json +++ mktemp ++ local LAST_OUT=/tmp/tmp.brFhZJ1LhG +++ mktemp ++ local LAST_ERR=/tmp/tmp.dK9hnUVERh ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('exec' 'some-name-rs0-0' '-c' 'backup-agent' '--' 'pbm' 'list' '-o' 'json') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ exec == \- ]] ++ [[ exec =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name-rs0-0 == \- ]] ++ [[ some-name-rs0-0 =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -c == \- ]] ++ [[ -c =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ backup-agent == \- ]] ++ [[ backup-agent =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -- == \- ]] ++ [[ -- =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pbm == \- ]] ++ [[ pbm =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ list == \- ]] ++ [[ list =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ json == \- ]] ++ [[ json =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl exec some-name-rs0-0 -c backup-agent -- pbm list -o json ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.brFhZJ1LhG ++ cat /tmp/tmp.dK9hnUVERh ++ rm /tmp/tmp.brFhZJ1LhG /tmp/tmp.dK9hnUVERh ++ return 0 + local latest_write=1795416858 + local retries=0 ++ timestamp_to_datetime 1795416858 ++ local ts=1795416858 ++ TZ=UTC ++ /usr/sbin/date -d@1795416858 +%Y-%m-%dT%H:%M:%S%Z + echo -n 'waiting for psmdb-backup/backup-local-s3-3'\''s latest restorable time to advance its latest write (2026-11-23T06:54:18UTC)' waiting for psmdb-backup/backup-local-s3-3's latest restorable time to advance its latest write (2026-11-23T06:54:18UTC)+ [[ 1795416922 -gt 1795416858 ]] ++ timestamp_to_datetime 1795416922 ++ local ts=1795416922 ++ TZ=UTC ++ /usr/sbin/date -d@1795416922 +%Y-%m-%dT%H:%M:%S%Z + echo '.OK latestRestorableTime: 2026-11-23T06:55:22UTC' .OK latestRestorableTime: 2026-11-23T06:55:22UTC ++ get_latest_restorable_time backup-local-s3-3 ++ local backup_name=backup-local-s3-3 +++ kubectl_bin get psmdb-backup backup-local-s3-3 -o yaml +++ yq .status.latestRestorableTime ++++ mktemp +++ local LAST_OUT=/tmp/tmp.kE8m0JRXou ++++ mktemp +++ local LAST_ERR=/tmp/tmp.hgJ9VdaaQc +++ local exit_status=0 +++ local timeout=4 +++ local i +++ args=('get' 'psmdb-backup' 'backup-local-s3-3' '-o' 'yaml') +++ local args +++ transformed_files=() +++ local transformed_files +++ local stdin_manifest +++ for i in "${!args[@]}" +++ [[ get == \- ]] +++ [[ get =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ psmdb-backup == \- ]] +++ [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ backup-local-s3-3 == \- ]] +++ [[ backup-local-s3-3 =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ -o == \- ]] +++ [[ -o =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ yaml == \- ]] +++ [[ yaml =~ ^(-f|--filename)=-$ ]] +++ arch_scheduling_enabled +++ [[ -n '' ]] +++ arch_scheduling_enabled +++ [[ -n '' ]] +++ local attempt +++ local delay ++++ seq 0 9 +++ for attempt in $(seq 0 9) +++ set +e +++ kubectl get psmdb-backup backup-local-s3-3 -o yaml +++ exit_status=0 +++ set -e +++ [[ 0 == 0 ]] +++ break +++ cat /tmp/tmp.kE8m0JRXou +++ cat /tmp/tmp.hgJ9VdaaQc +++ rm /tmp/tmp.kE8m0JRXou /tmp/tmp.hgJ9VdaaQc +++ return 0 ++ local time=2026-11-23T06:55:22Z ++ [[ 2026-11-23T06:55:22Z == null ]] ++ echo -n 2026-11-23T06:55:22Z + restore_time=2026-11-23T06:55:22Z ++ format_pitr_target 2026-11-23T06:55:22Z ++ local target=2026-11-23T06:55:22Z ++ echo 2026-11-23T06:55:22Z ++ sed 's/T/ /' ++ sed s/Z// + check_recovery backup-local-s3-3 '2026-11-23 06:55:22' + local backup_name=backup-local-s3-3 + local 'restore_time=2026-11-23 06:55:22' + local cmp_postfix= + drop_collection myApp test myApp myPass + local db=myApp + local collection=test + local user=myApp + local pass=myPass + log 'dropping collection: myApp.test' + set +o xtrace [2026-11-23T06:55:59+0000] dropping collection: myApp.test + run_mongo 'use myApp\n db.test.drop()' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.drop()' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Fx0kDsFfOb +++ mktemp ++ local LAST_ERR=/tmp/tmp.9PpQ4qnaIw ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.Fx0kDsFfOb ++ cat /tmp/tmp.9PpQ4qnaIw ++ rm /tmp/tmp.Fx0kDsFfOb /tmp/tmp.9PpQ4qnaIw ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.581oW06Dhz ++ mktemp + local LAST_ERR=/tmp/tmp.rHIdrikP99 + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.drop()\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.drop()\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.581oW06Dhz Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("1451f1e9-2057-4f78-84cc-0e1ff81e073b") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp true bye + cat /tmp/tmp.rHIdrikP99 + rm /tmp/tmp.581oW06Dhz /tmp/tmp.rHIdrikP99 + return 0 + log 'creating restore: restore-backup-local-s3-3 restore_to: 2026-11-23 06:55:22' + set +o xtrace [2026-11-23T06:56:01+0000] creating restore: restore-backup-local-s3-3 restore_to: 2026-11-23 06:55:22 + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/conf/restore.yml + /usr/sbin/sed -e 's/name:/name: restore-backup-local-s3-3/' + kubectl_bin apply -f - ++ mktemp + /usr/sbin/sed -e 's/backupName:/backupName: backup-local-s3-3/' + local LAST_OUT=/tmp/tmp.HdKlQxIs0q + /usr/sbin/sed -e 's/date:/date: 2026-11-23 06:55:22/' ++ mktemp + local LAST_ERR=/tmp/tmp.LGtfBBnOlS + local exit_status=0 + local timeout=4 + local i + args=('apply' '-f' '-') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ apply == \- ]] + [[ apply =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ - == \- ]] + [[ 2 -gt 0 ]] + [[ -f =~ ^(-f|--filename)$ ]] ++ mktemp + stdin_manifest=/tmp/tmp.L5TVZk98pg + cat + transformed_files+=("${stdin_manifest}") + args[$i]=/tmp/tmp.L5TVZk98pg + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl apply -f /tmp/tmp.L5TVZk98pg + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.HdKlQxIs0q perconaservermongodbrestore.psmdb.percona.com/restore-backup-local-s3-3 created + cat /tmp/tmp.LGtfBBnOlS + rm /tmp/tmp.HdKlQxIs0q /tmp/tmp.LGtfBBnOlS /tmp/tmp.L5TVZk98pg + return 0 + wait_restore backup-local-s3-3 some-name requested 0 900 1 + local backup_name=backup-local-s3-3 + local cluster_name=some-name + local target_state=requested + local wait_cluster_consistency=0 + local wait_time=900 + local ok_if_ready=1 + set +o xtrace Waiting for the psmdb-restore/restore-backup-local-s3-3 object to be created.OK Waiting psmdb-restore/restore-backup-local-s3-3 to reach state "requested" ..OK after 1 minutes + [[ 0 -eq 1 ]] + wait_restore backup-local-s3-3 some-name ready 0 1600 + local backup_name=backup-local-s3-3 + local cluster_name=some-name + local target_state=ready + local wait_cluster_consistency=0 + local wait_time=1600 + local ok_if_ready=0 + set +o xtrace Waiting for the psmdb-restore/restore-backup-local-s3-3 object to be created.OK Waiting psmdb-restore/restore-backup-local-s3-3 to reach state "ready" ..OK after 1 minutes + [[ 0 -eq 1 ]] + wait_for_running some-name-rs0 3 + local name=some-name-rs0 + let last_pod=2 + local check_cluster_readiness=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.YBad8XZkGu +++ mktemp ++ local LAST_ERR=/tmp/tmp.OBhXjdZZJe ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'psmdb' 'some-name' '-o' 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb == \- ]] ++ [[ psmdb =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name == \- ]] ++ [[ some-name =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled} == \- ]] ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.YBad8XZkGu ++ cat /tmp/tmp.OBhXjdZZJe ++ rm /tmp/tmp.YBad8XZkGu /tmp/tmp.OBhXjdZZJe ++ return 0 + [[ '' == true ]] + wait_pod some-name-rs0-2 + local pod=some-name-rs0-2 + set +o xtrace waiting for pod/some-name-rs0-2 to be ready.OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.UtZyO3LFHN +++ mktemp ++ local LAST_ERR=/tmp/tmp.rfAhYSBLlP ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'psmdb' 'some-name' '-o' 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb == \- ]] ++ [[ psmdb =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name == \- ]] ++ [[ some-name =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled} == \- ]] ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.UtZyO3LFHN ++ cat /tmp/tmp.rfAhYSBLlP ++ rm /tmp/tmp.UtZyO3LFHN /tmp/tmp.rfAhYSBLlP ++ return 0 + [[ '' == true ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.dlH7emst6D +++ mktemp ++ local LAST_ERR=/tmp/tmp.zn5wmtxTbC ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'psmdb' 'some-name' '-o' 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb == \- ]] ++ [[ psmdb =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name == \- ]] ++ [[ some-name =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled} == \- ]] ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.dlH7emst6D ++ cat /tmp/tmp.zn5wmtxTbC ++ rm /tmp/tmp.dlH7emst6D /tmp/tmp.zn5wmtxTbC ++ return 0 + [[ '' == true ]] + sleep 10 + [[ true == true ]] + set +x Waiting for cluster some-name to be ready................................... + compare_mongo_cmd find myApp:myPass@some-name-rs0.multi-storage-11601 '' .svc.cluster.local myApp test 'sort( { x: 1 } )' + local command=find + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local postfix= + local suffix=.svc.cluster.local + local database=myApp + local collection=test + local 'sort=sort( { x: 1 } )' + local tls=false + local replicaset= + local retries=3 + local retry_delay=10 + local 'full_command=db.test.find()' + [[ -n sort( { x: 1 } ) ]] + full_command='db.test.find().sort( { x: 1 } )' + log 'running db.test.find().sort( { x: 1 } ) in myApp' + set +o xtrace [2026-11-23T07:00:57+0000] running db.test.find().sort( { x: 1 } ) in myApp + [[ false == true ]] + mongo_command=run_mongo ++ seq 1 3 + for attempt in $(seq 1 "$retries") + run_mongo 'use myApp\n db.test.find().sort( { x: 1 } )' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb .svc.cluster.local '' '' + local 'command=use myApp\n db.test.find().sort( { x: 1 } )' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"NETWORK"|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.usu8lsgRUd +++ mktemp ++ local LAST_ERR=/tmp/tmp.6LZ8sgVB4m ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.usu8lsgRUd ++ cat /tmp/tmp.6LZ8sgVB4m ++ rm /tmp/tmp.usu8lsgRUd /tmp/tmp.6LZ8sgVB4m ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.jc2c9pJ6ms ++ mktemp + local LAST_ERR=/tmp/tmp.PxdGwYOlIv + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.find().sort( { x: 1 } )\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.find().sort( { x: 1 } )\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.jc2c9pJ6ms + cat /tmp/tmp.PxdGwYOlIv + rm /tmp/tmp.jc2c9pJ6ms /tmp/tmp.PxdGwYOlIv + return 0 + compare_mongo_output find '' + local command=find + local postfix= + [[ 0 -ne 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/compare/find.json /tmp/tmp.AYypY49RrJ/find + return + sleep_with_log 60 'wait resync to finish' + local d=60 + local 'msg=wait resync to finish' + log 'wait resync to finish. sleeping for 60 seconds' + set +o xtrace [2026-11-23T07:00:59+0000] wait resync to finish. sleeping for 60 seconds + sleep 60 + log 'changing main storage from local-s3-1 to local-s3-2' + set +o xtrace [2026-11-23T07:01:59+0000] changing main storage from local-s3-1 to local-s3-2 + kubectl_bin patch psmdb some-name --type=json $'-p=[\n {"op": "remove", "path": "/spec/backup/storages/local-s3-1/main"},\n {"op": "add", "path": "/spec/backup/storages/local-s3-2/main", "value": true}\n]' ++ mktemp + local LAST_OUT=/tmp/tmp.5I0lxF43Ip ++ mktemp + local LAST_ERR=/tmp/tmp.YqKis6qrFm + local exit_status=0 + local timeout=4 + local i + args=('patch' 'psmdb' 'some-name' '--type=json' '-p=[ {"op": "remove", "path": "/spec/backup/storages/local-s3-1/main"}, {"op": "add", "path": "/spec/backup/storages/local-s3-2/main", "value": true} ]') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ patch == \- ]] + [[ patch =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb == \- ]] + [[ psmdb =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ some-name == \- ]] + [[ some-name =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ --type=json == \- ]] + [[ --type=json =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -p=[ {"op": "remove", "path": "/spec/backup/storages/local-s3-1/main"}, {"op": "add", "path": "/spec/backup/storages/local-s3-2/main", "value": true} ] == \- ]] + [[ -p=[ {"op": "remove", "path": "/spec/backup/storages/local-s3-1/main"}, {"op": "add", "path": "/spec/backup/storages/local-s3-2/main", "value": true} ] =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl patch psmdb some-name --type=json $'-p=[\n {"op": "remove", "path": "/spec/backup/storages/local-s3-1/main"},\n {"op": "add", "path": "/spec/backup/storages/local-s3-2/main", "value": true}\n]' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.5I0lxF43Ip perconaservermongodb.psmdb.percona.com/some-name patched + cat /tmp/tmp.YqKis6qrFm + rm /tmp/tmp.5I0lxF43Ip /tmp/tmp.YqKis6qrFm + return 0 + sleep_with_log 60 'wait resync to finish' + local d=60 + local 'msg=wait resync to finish' + log 'wait resync to finish. sleeping for 60 seconds' + set +o xtrace [2026-11-23T07:02:01+0000] wait resync to finish. sleeping for 60 seconds + sleep 60 + run_backup local-s3-2 backup-local-s3-2-1 logical + local storage=local-s3-2 + local name=backup-local-s3-2-1 + local type=logical + log 'creating backup: backup-local-s3-2-1 (logical)' + set +o xtrace [2026-11-23T07:03:01+0000] creating backup: backup-local-s3-2-1 (logical) + yq eval $'.metadata.name = "backup-local-s3-2-1"\n\t\t\t| .spec.storageName = "local-s3-2"\n\t\t\t| .spec.type = "logical"' /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/conf/backup.yml + kubectl_bin apply -f - ++ mktemp + local LAST_OUT=/tmp/tmp.wI8q3KFDXL ++ mktemp + local LAST_ERR=/tmp/tmp.gO7O3ljeLW + local exit_status=0 + local timeout=4 + local i + args=('apply' '-f' '-') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ apply == \- ]] + [[ apply =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ - == \- ]] + [[ 2 -gt 0 ]] + [[ -f =~ ^(-f|--filename)$ ]] ++ mktemp + stdin_manifest=/tmp/tmp.rdjtYtbgg7 + cat + transformed_files+=("${stdin_manifest}") + args[$i]=/tmp/tmp.rdjtYtbgg7 + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl apply -f /tmp/tmp.rdjtYtbgg7 + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.wI8q3KFDXL perconaservermongodbbackup.psmdb.percona.com/backup-local-s3-2-1 created + cat /tmp/tmp.gO7O3ljeLW + rm /tmp/tmp.wI8q3KFDXL /tmp/tmp.gO7O3ljeLW /tmp/tmp.rdjtYtbgg7 + return 0 + wait_backup backup-local-s3-2-1 + local backup_name=backup-local-s3-2-1 + local target_state=ready + set +o xtrace waiting for backup-local-s3-2-1 to reach ready state.......OK + write_document 100506 + local x=100506 + local cmp_postfix= + log 'write document: 100506' + set +o xtrace [2026-11-23T07:03:14+0000] write document: 100506 + run_mongo 'use myApp\n db.test.insert({ x: 100506 })' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.insert({ x: 100506 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RDJoCLpvb4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.Q7Y5AmvsM8 ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.RDJoCLpvb4 ++ cat /tmp/tmp.Q7Y5AmvsM8 ++ rm /tmp/tmp.RDJoCLpvb4 /tmp/tmp.Q7Y5AmvsM8 ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100506 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.hOT44z0MSd ++ mktemp + local LAST_ERR=/tmp/tmp.HZmOxYedcW + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100506 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100506 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100506 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100506 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.hOT44z0MSd Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("669a3732-7021-4cd2-8a7d-5fed0e93e1e0") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.HZmOxYedcW + rm /tmp/tmp.hOT44z0MSd /tmp/tmp.HZmOxYedcW + return 0 + write_document 100507 + local x=100507 + local cmp_postfix= + log 'write document: 100507' + set +o xtrace [2026-11-23T07:03:17+0000] write document: 100507 + run_mongo 'use myApp\n db.test.insert({ x: 100507 })' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.insert({ x: 100507 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.rMNoehqhXT +++ mktemp ++ local LAST_ERR=/tmp/tmp.9y624RafX8 ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.rMNoehqhXT ++ cat /tmp/tmp.9y624RafX8 ++ rm /tmp/tmp.rMNoehqhXT /tmp/tmp.9y624RafX8 ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100507 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.MSo4ckFlfB ++ mktemp + local LAST_ERR=/tmp/tmp.Q3hnuk3SpH + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100507 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100507 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100507 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100507 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.MSo4ckFlfB Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("622374b4-6ec9-41d2-b67d-27682eb74435") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.Q3hnuk3SpH + rm /tmp/tmp.MSo4ckFlfB /tmp/tmp.Q3hnuk3SpH + return 0 + write_document 100508 + local x=100508 + local cmp_postfix= + log 'write document: 100508' + set +o xtrace [2026-11-23T07:03:20+0000] write document: 100508 + run_mongo 'use myApp\n db.test.insert({ x: 100508 })' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.insert({ x: 100508 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.IRi5jRL8AA +++ mktemp ++ local LAST_ERR=/tmp/tmp.TS0xP7T5nE ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.IRi5jRL8AA ++ cat /tmp/tmp.TS0xP7T5nE ++ rm /tmp/tmp.IRi5jRL8AA /tmp/tmp.TS0xP7T5nE ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100508 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.JHWr5uXCR3 ++ mktemp + local LAST_ERR=/tmp/tmp.6GTBOd9kc0 + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100508 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100508 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100508 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100508 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.JHWr5uXCR3 Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("4eaedf0a-9198-4e0a-b7ae-3badd97562c2") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.6GTBOd9kc0 + rm /tmp/tmp.JHWr5uXCR3 /tmp/tmp.6GTBOd9kc0 + return 0 + write_document 100509 + local x=100509 + local cmp_postfix= + log 'write document: 100509' + set +o xtrace [2026-11-23T07:03:22+0000] write document: 100509 + run_mongo 'use myApp\n db.test.insert({ x: 100509 })' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.insert({ x: 100509 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Rpgn7Gi6WU +++ mktemp ++ local LAST_ERR=/tmp/tmp.ApjXjQvBO8 ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.Rpgn7Gi6WU ++ cat /tmp/tmp.ApjXjQvBO8 ++ rm /tmp/tmp.Rpgn7Gi6WU /tmp/tmp.ApjXjQvBO8 ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100509 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.Yol8hYj9lW ++ mktemp + local LAST_ERR=/tmp/tmp.ZYEhRHzdCn + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100509 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100509 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100509 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100509 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.Yol8hYj9lW Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("9ae94644-c3e6-4f51-a58f-7d86b8e16ee3") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.ZYEhRHzdCn + rm /tmp/tmp.Yol8hYj9lW /tmp/tmp.ZYEhRHzdCn + return 0 + write_document 100510 + local x=100510 + local cmp_postfix= + log 'write document: 100510' + set +o xtrace [2026-11-23T07:03:25+0000] write document: 100510 + run_mongo 'use myApp\n db.test.insert({ x: 100510 })' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.insert({ x: 100510 })' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Ui0SyQBpIH +++ mktemp ++ local LAST_ERR=/tmp/tmp.DAp4mKZGvy ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.Ui0SyQBpIH ++ cat /tmp/tmp.DAp4mKZGvy ++ rm /tmp/tmp.Ui0SyQBpIH /tmp/tmp.DAp4mKZGvy ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100510 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.oezm5Kn4XA ++ mktemp + local LAST_ERR=/tmp/tmp.vLCWBwxAJI + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100510 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100510 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.insert({ x: 100510 })\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.insert({ x: 100510 })\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.oezm5Kn4XA Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("ea4a805a-f1b1-4456-b92b-0ad313a154e0") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.vLCWBwxAJI + rm /tmp/tmp.oezm5Kn4XA /tmp/tmp.vLCWBwxAJI + return 0 + compare_mongo_cmd find myApp:myPass@some-name-rs0.multi-storage-11601 -2nd .svc.cluster.local myApp test 'sort( { x: 1 } )' + local command=find + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local postfix=-2nd + local suffix=.svc.cluster.local + local database=myApp + local collection=test + local 'sort=sort( { x: 1 } )' + local tls=false + local replicaset= + local retries=3 + local retry_delay=10 + local 'full_command=db.test.find()' + [[ -n sort( { x: 1 } ) ]] + full_command='db.test.find().sort( { x: 1 } )' + log 'running db.test.find().sort( { x: 1 } ) in myApp' + set +o xtrace [2026-11-23T07:03:27+0000] running db.test.find().sort( { x: 1 } ) in myApp + [[ false == true ]] + mongo_command=run_mongo ++ seq 1 3 + for attempt in $(seq 1 "$retries") + run_mongo 'use myApp\n db.test.find().sort( { x: 1 } )' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb .svc.cluster.local '' '' + local 'command=use myApp\n db.test.find().sort( { x: 1 } )' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"NETWORK"|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|Started a new thread for the timer service' ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.dJCmgQHymO +++ mktemp ++ local LAST_ERR=/tmp/tmp.yPY41oQIwj ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.dJCmgQHymO ++ cat /tmp/tmp.yPY41oQIwj ++ rm /tmp/tmp.dJCmgQHymO /tmp/tmp.yPY41oQIwj ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.3blxpLRrqp ++ mktemp + local LAST_ERR=/tmp/tmp.O6S4uIH05v + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.find().sort( { x: 1 } )\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.find().sort( { x: 1 } )\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.3blxpLRrqp + cat /tmp/tmp.O6S4uIH05v + rm /tmp/tmp.3blxpLRrqp /tmp/tmp.O6S4uIH05v + return 0 + compare_mongo_output find -2nd + local command=find + local postfix=-2nd + [[ 0 -ne 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/compare/find-2nd.json /tmp/tmp.AYypY49RrJ/find-2nd + return + wait_for_restorable_time backup-local-s3-2-1 + local backup_name=backup-local-s3-2-1 ++ get_latest_restorable_time backup-local-s3-2-1 ++ local backup_name=backup-local-s3-2-1 +++ kubectl_bin get psmdb-backup backup-local-s3-2-1 -o yaml +++ yq .status.latestRestorableTime ++++ mktemp +++ local LAST_OUT=/tmp/tmp.3zWYLVBvq1 ++++ mktemp +++ local LAST_ERR=/tmp/tmp.eZGGqRZRff +++ local exit_status=0 +++ local timeout=4 +++ local i +++ args=('get' 'psmdb-backup' 'backup-local-s3-2-1' '-o' 'yaml') +++ local args +++ transformed_files=() +++ local transformed_files +++ local stdin_manifest +++ for i in "${!args[@]}" +++ [[ get == \- ]] +++ [[ get =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ psmdb-backup == \- ]] +++ [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ backup-local-s3-2-1 == \- ]] +++ [[ backup-local-s3-2-1 =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ -o == \- ]] +++ [[ -o =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ yaml == \- ]] +++ [[ yaml =~ ^(-f|--filename)=-$ ]] +++ arch_scheduling_enabled +++ [[ -n '' ]] +++ arch_scheduling_enabled +++ [[ -n '' ]] +++ local attempt +++ local delay ++++ seq 0 9 +++ for attempt in $(seq 0 9) +++ set +e +++ kubectl get psmdb-backup backup-local-s3-2-1 -o yaml +++ exit_status=0 +++ set -e +++ [[ 0 == 0 ]] +++ break +++ cat /tmp/tmp.3zWYLVBvq1 +++ cat /tmp/tmp.eZGGqRZRff +++ rm /tmp/tmp.3zWYLVBvq1 /tmp/tmp.eZGGqRZRff +++ return 0 ++ local time=2026-11-23T07:03:04Z ++ [[ 2026-11-23T07:03:04Z == null ]] ++ echo -n 2026-11-23T07:03:04Z + local latest_restorable_time=2026-11-23T07:03:04Z + local retries=0 + echo -n 'waiting for psmdb-backup/backup-local-s3-2-1'\''s latest restorable time' waiting for psmdb-backup/backup-local-s3-2-1's latest restorable time+ [[ 2026-11-23T07:03:04Z != null ]] + echo '.OK latestRestorableTime: 2026-11-23T07:03:04Z' .OK latestRestorableTime: 2026-11-23T07:03:04Z + wait_for_advanced_restorable_time backup-local-s3-2-1 + local backup_name=backup-local-s3-2-1 +++ get_latest_restorable_time backup-local-s3-2-1 +++ local backup_name=backup-local-s3-2-1 ++++ kubectl_bin get psmdb-backup backup-local-s3-2-1 -o yaml ++++ yq .status.latestRestorableTime +++++ mktemp ++++ local LAST_OUT=/tmp/tmp.3MKR5IQ2S7 +++++ mktemp ++++ local LAST_ERR=/tmp/tmp.n1UlqtsLz1 ++++ local exit_status=0 ++++ local timeout=4 ++++ local i ++++ args=('get' 'psmdb-backup' 'backup-local-s3-2-1' '-o' 'yaml') ++++ local args ++++ transformed_files=() ++++ local transformed_files ++++ local stdin_manifest ++++ for i in "${!args[@]}" ++++ [[ get == \- ]] ++++ [[ get =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ psmdb-backup == \- ]] ++++ [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ backup-local-s3-2-1 == \- ]] ++++ [[ backup-local-s3-2-1 =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ -o == \- ]] ++++ [[ -o =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ yaml == \- ]] ++++ [[ yaml =~ ^(-f|--filename)=-$ ]] ++++ arch_scheduling_enabled ++++ [[ -n '' ]] ++++ arch_scheduling_enabled ++++ [[ -n '' ]] ++++ local attempt ++++ local delay +++++ seq 0 9 ++++ for attempt in $(seq 0 9) ++++ set +e ++++ kubectl get psmdb-backup backup-local-s3-2-1 -o yaml ++++ exit_status=0 ++++ set -e ++++ [[ 0 == 0 ]] ++++ break ++++ cat /tmp/tmp.3MKR5IQ2S7 ++++ cat /tmp/tmp.n1UlqtsLz1 ++++ rm /tmp/tmp.3MKR5IQ2S7 /tmp/tmp.n1UlqtsLz1 ++++ return 0 +++ local time=2026-11-23T07:03:04Z +++ [[ 2026-11-23T07:03:04Z == null ]] +++ echo -n 2026-11-23T07:03:04Z ++ datetime_to_timestamp 2026-11-23T07:03:04Z ++ local datetime=2026-11-23T07:03:04Z ++ TZ=UTC ++ /usr/sbin/date -d2026-11-23T07:03:04Z +%s + local latest_restorable_time=1795417384 ++ get_backup_last_write backup-local-s3-2-1 ++ local backup_name=backup-local-s3-2-1 +++ kubectl_bin get psmdb-backup backup-local-s3-2-1 -o yaml +++ yq .status.pbmName ++++ mktemp +++ local LAST_OUT=/tmp/tmp.fDy3FTr6w9 ++++ mktemp +++ local LAST_ERR=/tmp/tmp.mZBJjEZmtL +++ local exit_status=0 +++ local timeout=4 +++ local i +++ args=('get' 'psmdb-backup' 'backup-local-s3-2-1' '-o' 'yaml') +++ local args +++ transformed_files=() +++ local transformed_files +++ local stdin_manifest +++ for i in "${!args[@]}" +++ [[ get == \- ]] +++ [[ get =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ psmdb-backup == \- ]] +++ [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ backup-local-s3-2-1 == \- ]] +++ [[ backup-local-s3-2-1 =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ -o == \- ]] +++ [[ -o =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ yaml == \- ]] +++ [[ yaml =~ ^(-f|--filename)=-$ ]] +++ arch_scheduling_enabled +++ [[ -n '' ]] +++ arch_scheduling_enabled +++ [[ -n '' ]] +++ local attempt +++ local delay ++++ seq 0 9 +++ for attempt in $(seq 0 9) +++ set +e +++ kubectl get psmdb-backup backup-local-s3-2-1 -o yaml +++ exit_status=0 +++ set -e +++ [[ 0 == 0 ]] +++ break +++ cat /tmp/tmp.fDy3FTr6w9 +++ cat /tmp/tmp.mZBJjEZmtL +++ rm /tmp/tmp.fDy3FTr6w9 /tmp/tmp.mZBJjEZmtL +++ return 0 ++ local pbm_name=2026-11-23T07:03:03Z ++ kubectl_bin exec some-name-rs0-0 -c backup-agent -- pbm list -o json ++ jq --arg v 2026-11-23T07:03:03Z '.snapshots[] | select(.name==$v) | .restoreTo' +++ mktemp ++ local LAST_OUT=/tmp/tmp.yEbOihIrM4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.5LTgy4SqmJ ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('exec' 'some-name-rs0-0' '-c' 'backup-agent' '--' 'pbm' 'list' '-o' 'json') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ exec == \- ]] ++ [[ exec =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name-rs0-0 == \- ]] ++ [[ some-name-rs0-0 =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -c == \- ]] ++ [[ -c =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ backup-agent == \- ]] ++ [[ backup-agent =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -- == \- ]] ++ [[ -- =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pbm == \- ]] ++ [[ pbm =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ list == \- ]] ++ [[ list =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ json == \- ]] ++ [[ json =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl exec some-name-rs0-0 -c backup-agent -- pbm list -o json ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.yEbOihIrM4 ++ cat /tmp/tmp.5LTgy4SqmJ ++ rm /tmp/tmp.yEbOihIrM4 /tmp/tmp.5LTgy4SqmJ ++ return 0 + local latest_write=1795417388 + local retries=0 ++ timestamp_to_datetime 1795417388 ++ local ts=1795417388 ++ TZ=UTC ++ /usr/sbin/date -d@1795417388 +%Y-%m-%dT%H:%M:%S%Z + echo -n 'waiting for psmdb-backup/backup-local-s3-2-1'\''s latest restorable time to advance its latest write (2026-11-23T07:03:08UTC)' waiting for psmdb-backup/backup-local-s3-2-1's latest restorable time to advance its latest write (2026-11-23T07:03:08UTC)+ [[ 1795417384 -gt 1795417388 ]] +++ get_latest_restorable_time backup-local-s3-2-1 +++ local backup_name=backup-local-s3-2-1 ++++ kubectl_bin get psmdb-backup backup-local-s3-2-1 -o yaml ++++ yq .status.latestRestorableTime +++++ mktemp ++++ local LAST_OUT=/tmp/tmp.bs8nVnQhAJ +++++ mktemp ++++ local LAST_ERR=/tmp/tmp.pklIUWV7BE ++++ local exit_status=0 ++++ local timeout=4 ++++ local i ++++ args=('get' 'psmdb-backup' 'backup-local-s3-2-1' '-o' 'yaml') ++++ local args ++++ transformed_files=() ++++ local transformed_files ++++ local stdin_manifest ++++ for i in "${!args[@]}" ++++ [[ get == \- ]] ++++ [[ get =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ psmdb-backup == \- ]] ++++ [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ backup-local-s3-2-1 == \- ]] ++++ [[ backup-local-s3-2-1 =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ -o == \- ]] ++++ [[ -o =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ yaml == \- ]] ++++ [[ yaml =~ ^(-f|--filename)=-$ ]] ++++ arch_scheduling_enabled ++++ [[ -n '' ]] ++++ arch_scheduling_enabled ++++ [[ -n '' ]] ++++ local attempt ++++ local delay +++++ seq 0 9 ++++ for attempt in $(seq 0 9) ++++ set +e ++++ kubectl get psmdb-backup backup-local-s3-2-1 -o yaml ++++ exit_status=0 ++++ set -e ++++ [[ 0 == 0 ]] ++++ break ++++ cat /tmp/tmp.bs8nVnQhAJ ++++ cat /tmp/tmp.pklIUWV7BE ++++ rm /tmp/tmp.bs8nVnQhAJ /tmp/tmp.pklIUWV7BE ++++ return 0 +++ local time=2026-11-23T07:03:04Z +++ [[ 2026-11-23T07:03:04Z == null ]] +++ echo -n 2026-11-23T07:03:04Z ++ datetime_to_timestamp 2026-11-23T07:03:04Z ++ local datetime=2026-11-23T07:03:04Z ++ TZ=UTC ++ /usr/sbin/date -d2026-11-23T07:03:04Z +%s + latest_restorable_time=1795417384 + [[ 0 -gt 5 ]] + let retries+=1 + echo -n . .+ sleep_with_log 70 'wait for oplog span min + 10 sec' + local d=70 + local 'msg=wait for oplog span min + 10 sec' + log 'wait for oplog span min + 10 sec. sleeping for 70 seconds' + set +o xtrace [2026-11-23T07:03:36+0000] wait for oplog span min + 10 sec. sleeping for 70 seconds + sleep 70 + [[ 1795417384 -gt 1795417388 ]] +++ get_latest_restorable_time backup-local-s3-2-1 +++ local backup_name=backup-local-s3-2-1 ++++ kubectl_bin get psmdb-backup backup-local-s3-2-1 -o yaml ++++ yq .status.latestRestorableTime +++++ mktemp ++++ local LAST_OUT=/tmp/tmp.lgpxnfoAoy +++++ mktemp ++++ local LAST_ERR=/tmp/tmp.dLsp3kYyEV ++++ local exit_status=0 ++++ local timeout=4 ++++ local i ++++ args=('get' 'psmdb-backup' 'backup-local-s3-2-1' '-o' 'yaml') ++++ local args ++++ transformed_files=() ++++ local transformed_files ++++ local stdin_manifest ++++ for i in "${!args[@]}" ++++ [[ get == \- ]] ++++ [[ get =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ psmdb-backup == \- ]] ++++ [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ backup-local-s3-2-1 == \- ]] ++++ [[ backup-local-s3-2-1 =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ -o == \- ]] ++++ [[ -o =~ ^(-f|--filename)=-$ ]] ++++ for i in "${!args[@]}" ++++ [[ yaml == \- ]] ++++ [[ yaml =~ ^(-f|--filename)=-$ ]] ++++ arch_scheduling_enabled ++++ [[ -n '' ]] ++++ arch_scheduling_enabled ++++ [[ -n '' ]] ++++ local attempt ++++ local delay +++++ seq 0 9 ++++ for attempt in $(seq 0 9) ++++ set +e ++++ kubectl get psmdb-backup backup-local-s3-2-1 -o yaml ++++ exit_status=0 ++++ set -e ++++ [[ 0 == 0 ]] ++++ break ++++ cat /tmp/tmp.lgpxnfoAoy ++++ cat /tmp/tmp.dLsp3kYyEV ++++ rm /tmp/tmp.lgpxnfoAoy /tmp/tmp.dLsp3kYyEV ++++ return 0 +++ local time=2026-11-23T07:04:38Z +++ [[ 2026-11-23T07:04:38Z == null ]] +++ echo -n 2026-11-23T07:04:38Z ++ datetime_to_timestamp 2026-11-23T07:04:38Z ++ local datetime=2026-11-23T07:04:38Z ++ TZ=UTC ++ /usr/sbin/date -d2026-11-23T07:04:38Z +%s + latest_restorable_time=1795417478 + [[ 1 -gt 5 ]] + let retries+=1 + echo -n . .+ sleep_with_log 70 'wait for oplog span min + 10 sec' + local d=70 + local 'msg=wait for oplog span min + 10 sec' + log 'wait for oplog span min + 10 sec. sleeping for 70 seconds' + set +o xtrace [2026-11-23T07:04:47+0000] wait for oplog span min + 10 sec. sleeping for 70 seconds + sleep 70 + [[ 1795417478 -gt 1795417388 ]] ++ timestamp_to_datetime 1795417478 ++ local ts=1795417478 ++ TZ=UTC ++ /usr/sbin/date -d@1795417478 +%Y-%m-%dT%H:%M:%S%Z + echo '.OK latestRestorableTime: 2026-11-23T07:04:38UTC' .OK latestRestorableTime: 2026-11-23T07:04:38UTC ++ get_latest_restorable_time backup-local-s3-2-1 ++ local backup_name=backup-local-s3-2-1 +++ yq .status.latestRestorableTime +++ kubectl_bin get psmdb-backup backup-local-s3-2-1 -o yaml ++++ mktemp +++ local LAST_OUT=/tmp/tmp.FT6dl0fXJw ++++ mktemp +++ local LAST_ERR=/tmp/tmp.ZRsNnd6hwG +++ local exit_status=0 +++ local timeout=4 +++ local i +++ args=('get' 'psmdb-backup' 'backup-local-s3-2-1' '-o' 'yaml') +++ local args +++ transformed_files=() +++ local transformed_files +++ local stdin_manifest +++ for i in "${!args[@]}" +++ [[ get == \- ]] +++ [[ get =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ psmdb-backup == \- ]] +++ [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ backup-local-s3-2-1 == \- ]] +++ [[ backup-local-s3-2-1 =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ -o == \- ]] +++ [[ -o =~ ^(-f|--filename)=-$ ]] +++ for i in "${!args[@]}" +++ [[ yaml == \- ]] +++ [[ yaml =~ ^(-f|--filename)=-$ ]] +++ arch_scheduling_enabled +++ [[ -n '' ]] +++ arch_scheduling_enabled +++ [[ -n '' ]] +++ local attempt +++ local delay ++++ seq 0 9 +++ for attempt in $(seq 0 9) +++ set +e +++ kubectl get psmdb-backup backup-local-s3-2-1 -o yaml +++ exit_status=0 +++ set -e +++ [[ 0 == 0 ]] +++ break +++ cat /tmp/tmp.FT6dl0fXJw +++ cat /tmp/tmp.ZRsNnd6hwG +++ rm /tmp/tmp.FT6dl0fXJw /tmp/tmp.ZRsNnd6hwG +++ return 0 ++ local time=2026-11-23T07:05:38Z ++ [[ 2026-11-23T07:05:38Z == null ]] ++ echo -n 2026-11-23T07:05:38Z + restore_time=2026-11-23T07:05:38Z ++ format_pitr_target 2026-11-23T07:05:38Z ++ local target=2026-11-23T07:05:38Z ++ echo 2026-11-23T07:05:38Z ++ sed 's/T/ /' ++ sed s/Z// + check_recovery backup-local-s3-2-1 '2026-11-23 07:05:38' -2nd + local backup_name=backup-local-s3-2-1 + local 'restore_time=2026-11-23 07:05:38' + local cmp_postfix=-2nd + drop_collection myApp test myApp myPass + local db=myApp + local collection=test + local user=myApp + local pass=myPass + log 'dropping collection: myApp.test' + set +o xtrace [2026-11-23T07:05:58+0000] dropping collection: myApp.test + run_mongo 'use myApp\n db.test.drop()' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb + local 'command=use myApp\n db.test.drop()' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.gT7NEfYQiC +++ mktemp ++ local LAST_ERR=/tmp/tmp.btMARrBOyG ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.gT7NEfYQiC ++ cat /tmp/tmp.btMARrBOyG ++ rm /tmp/tmp.gT7NEfYQiC /tmp/tmp.btMARrBOyG ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.ntnTOsg7gB ++ mktemp + local LAST_ERR=/tmp/tmp.yVCXJLXv9F + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.drop()\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.drop()\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.drop()\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.ntnTOsg7gB Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("82c40073-d2bb-40ee-aab7-0451fa43a4da") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db myApp true bye + cat /tmp/tmp.yVCXJLXv9F + rm /tmp/tmp.ntnTOsg7gB /tmp/tmp.yVCXJLXv9F + return 0 + log 'creating restore: restore-backup-local-s3-2-1 restore_to: 2026-11-23 07:05:38' + set +o xtrace [2026-11-23T07:06:00+0000] creating restore: restore-backup-local-s3-2-1 restore_to: 2026-11-23 07:05:38 + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/conf/restore.yml + /usr/sbin/sed -e 's/backupName:/backupName: backup-local-s3-2-1/' + /usr/sbin/sed -e 's/name:/name: restore-backup-local-s3-2-1/' + kubectl_bin apply -f - + /usr/sbin/sed -e 's/date:/date: 2026-11-23 07:05:38/' ++ mktemp + local LAST_OUT=/tmp/tmp.WNuhJJVZbP ++ mktemp + local LAST_ERR=/tmp/tmp.DQ7UIiEpHE + local exit_status=0 + local timeout=4 + local i + args=('apply' '-f' '-') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ apply == \- ]] + [[ apply =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -f == \- ]] + [[ -f =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ - == \- ]] + [[ 2 -gt 0 ]] + [[ -f =~ ^(-f|--filename)$ ]] ++ mktemp + stdin_manifest=/tmp/tmp.KlKTiZq7DK + cat + transformed_files+=("${stdin_manifest}") + args[$i]=/tmp/tmp.KlKTiZq7DK + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl apply -f /tmp/tmp.KlKTiZq7DK + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.WNuhJJVZbP perconaservermongodbrestore.psmdb.percona.com/restore-backup-local-s3-2-1 created + cat /tmp/tmp.DQ7UIiEpHE + rm /tmp/tmp.WNuhJJVZbP /tmp/tmp.DQ7UIiEpHE /tmp/tmp.KlKTiZq7DK + return 0 + wait_restore backup-local-s3-2-1 some-name requested 0 900 1 + local backup_name=backup-local-s3-2-1 + local cluster_name=some-name + local target_state=requested + local wait_cluster_consistency=0 + local wait_time=900 + local ok_if_ready=1 + set +o xtrace Waiting for the psmdb-restore/restore-backup-local-s3-2-1 object to be created.OK Waiting psmdb-restore/restore-backup-local-s3-2-1 to reach state "requested" .OK after 0 minutes + [[ 0 -eq 1 ]] + wait_restore backup-local-s3-2-1 some-name ready 0 1600 + local backup_name=backup-local-s3-2-1 + local cluster_name=some-name + local target_state=ready + local wait_cluster_consistency=0 + local wait_time=1600 + local ok_if_ready=0 + set +o xtrace Waiting for the psmdb-restore/restore-backup-local-s3-2-1 object to be created.OK Waiting psmdb-restore/restore-backup-local-s3-2-1 to reach state "ready" .OK after 0 minutes + [[ 0 -eq 1 ]] + wait_for_running some-name-rs0 3 + local name=some-name-rs0 + let last_pod=2 + local check_cluster_readiness=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.kObEEI16yn +++ mktemp ++ local LAST_ERR=/tmp/tmp.M3iGpMQ52R ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'psmdb' 'some-name' '-o' 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb == \- ]] ++ [[ psmdb =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name == \- ]] ++ [[ some-name =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled} == \- ]] ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.kObEEI16yn ++ cat /tmp/tmp.M3iGpMQ52R ++ rm /tmp/tmp.kObEEI16yn /tmp/tmp.M3iGpMQ52R ++ return 0 + [[ '' == true ]] + wait_pod some-name-rs0-2 + local pod=some-name-rs0-2 + set +o xtrace waiting for pod/some-name-rs0-2 to be ready.OK ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.iHFCv1tw89 +++ mktemp ++ local LAST_ERR=/tmp/tmp.mRSASxKYlN ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'psmdb' 'some-name' '-o' 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb == \- ]] ++ [[ psmdb =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name == \- ]] ++ [[ some-name =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled} == \- ]] ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.iHFCv1tw89 ++ cat /tmp/tmp.mRSASxKYlN ++ rm /tmp/tmp.iHFCv1tw89 /tmp/tmp.mRSASxKYlN ++ return 0 + [[ '' == true ]] ++ kubectl_bin get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.MvtqmLoCMd +++ mktemp ++ local LAST_ERR=/tmp/tmp.8puIR514xu ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'psmdb' 'some-name' '-o' 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb == \- ]] ++ [[ psmdb =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name == \- ]] ++ [[ some-name =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled} == \- ]] ++ [[ jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get psmdb some-name -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.MvtqmLoCMd ++ cat /tmp/tmp.8puIR514xu ++ rm /tmp/tmp.MvtqmLoCMd /tmp/tmp.8puIR514xu ++ return 0 + [[ '' == true ]] + sleep 10 + [[ true == true ]] + set +x Waiting for cluster some-name to be ready + compare_mongo_cmd find myApp:myPass@some-name-rs0.multi-storage-11601 -2nd .svc.cluster.local myApp test 'sort( { x: 1 } )' + local command=find + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local postfix=-2nd + local suffix=.svc.cluster.local + local database=myApp + local collection=test + local 'sort=sort( { x: 1 } )' + local tls=false + local replicaset= + local retries=3 + local retry_delay=10 + local 'full_command=db.test.find()' + [[ -n sort( { x: 1 } ) ]] + full_command='db.test.find().sort( { x: 1 } )' + log 'running db.test.find().sort( { x: 1 } ) in myApp' + set +o xtrace [2026-11-23T07:06:41+0000] running db.test.find().sort( { x: 1 } ) in myApp + [[ false == true ]] + mongo_command=run_mongo ++ seq 1 3 + for attempt in $(seq 1 "$retries") + run_mongo 'use myApp\n db.test.find().sort( { x: 1 } )' myApp:myPass@some-name-rs0.multi-storage-11601 mongodb .svc.cluster.local '' '' + local 'command=use myApp\n db.test.find().sort( { x: 1 } )' + local uri=myApp:myPass@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' + /usr/sbin/sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' +++ mktemp + grep -E -v 'I NETWORK|W NETWORK|F NETWORK|"c":"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 LAST_OUT=/tmp/tmp.Xjo6ojMQDc +++ mktemp ++ local LAST_ERR=/tmp/tmp.t2B4GhThao ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.Xjo6ojMQDc ++ cat /tmp/tmp.t2B4GhThao ++ rm /tmp/tmp.Xjo6ojMQDc /tmp/tmp.t2B4GhThao ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.KvysUEZ9Ns ++ mktemp + local LAST_ERR=/tmp/tmp.ofFwGP8jwb + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use myApp\n db.test.find().sort( { x: 1 } )\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use myApp\n db.test.find().sort( { x: 1 } )\n' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use myApp\n db.test.find().sort( { x: 1 } )\n'\'' | mongo mongodb://myApp:myPass@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.KvysUEZ9Ns + cat /tmp/tmp.ofFwGP8jwb + rm /tmp/tmp.KvysUEZ9Ns /tmp/tmp.ofFwGP8jwb + return 0 + compare_mongo_output find -2nd + local command=find + local postfix=-2nd + [[ 0 -ne 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/multi-storage/compare/find-2nd.json /tmp/tmp.AYypY49RrJ/find-2nd + return + log 'dropping pbmBackups collection and starting resync' + set +o xtrace [2026-11-23T07:06:44+0000] dropping pbmBackups collection and starting resync + drop_metadata_and_resync ++ kubectl_bin get psmdb-backup --no-headers ++ wc -l +++ mktemp ++ local LAST_OUT=/tmp/tmp.VSqHjA6Z2F +++ mktemp ++ local LAST_ERR=/tmp/tmp.wrcVmIqU3H ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'psmdb-backup' '--no-headers') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb-backup == \- ]] ++ [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --no-headers == \- ]] ++ [[ --no-headers =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get psmdb-backup --no-headers ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.VSqHjA6Z2F ++ cat /tmp/tmp.wrcVmIqU3H ++ rm /tmp/tmp.VSqHjA6Z2F /tmp/tmp.wrcVmIqU3H ++ return 0 + local psmdb_backup_count=4 + log 'there are 4 psmdb-backups in multi-storage-11601' + set +o xtrace [2026-11-23T07:06:45+0000] there are 4 psmdb-backups in multi-storage-11601 + drop_collection admin pbmBackups backup backup123456 + local db=admin + local collection=pbmBackups + local user=backup + local pass=backup123456 + log 'dropping collection: admin.pbmBackups' + set +o xtrace [2026-11-23T07:06:45+0000] dropping collection: admin.pbmBackups + run_mongo 'use admin\n db.pbmBackups.drop()' backup:backup123456@some-name-rs0.multi-storage-11601 mongodb + local 'command=use admin\n db.pbmBackups.drop()' + local uri=backup:backup123456@some-name-rs0.multi-storage-11601 + local driver=mongodb + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ backup:backup123456@some-name-rs0.multi-storage-11601 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.oU8yYbgKjx +++ mktemp ++ local LAST_ERR=/tmp/tmp.6uvuJXCavL ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'pods' '--selector=name=psmdb-client' '-o' 'jsonpath={.items[].metadata.name}') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pods == \- ]] ++ [[ pods =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ --selector=name=psmdb-client == \- ]] ++ [[ --selector=name=psmdb-client =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ jsonpath={.items[].metadata.name} == \- ]] ++ [[ jsonpath={.items[].metadata.name} =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.oU8yYbgKjx ++ cat /tmp/tmp.6uvuJXCavL ++ rm /tmp/tmp.oU8yYbgKjx /tmp/tmp.6uvuJXCavL ++ return 0 + local client_container=psmdb-client-c8847c4cd-d8499 + kubectl_bin exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use admin\n db.pbmBackups.drop()\n'\'' | mongo mongodb://backup:backup123456@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.Xjl1ZOoHJm ++ mktemp + local LAST_ERR=/tmp/tmp.zIj2U1l7Q7 + local exit_status=0 + local timeout=4 + local i + args=('exec' 'psmdb-client-c8847c4cd-d8499' '--' 'bash' '-c' 'export HOME=/tmp; printf '\''use admin\n db.pbmBackups.drop()\n'\'' | mongo mongodb://backup:backup123456@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ exec == \- ]] + [[ exec =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-client-c8847c4cd-d8499 == \- ]] + [[ psmdb-client-c8847c4cd-d8499 =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -- == \- ]] + [[ -- =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ bash == \- ]] + [[ bash =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ -c == \- ]] + [[ -c =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ export HOME=/tmp; printf 'use admin\n db.pbmBackups.drop()\n' | mongo mongodb://backup:backup123456@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 == \- ]] + [[ export HOME=/tmp; printf 'use admin\n db.pbmBackups.drop()\n' | mongo mongodb://backup:backup123456@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl exec psmdb-client-c8847c4cd-d8499 -- bash -c 'export HOME=/tmp; printf '\''use admin\n db.pbmBackups.drop()\n'\'' | mongo mongodb://backup:backup123456@some-name-rs0.multi-storage-11601.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.Xjl1ZOoHJm Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://some-name-rs0.multi-storage-11601.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("eb1e1309-222e-464e-96f5-411e0f912a78") } Percona Server for MongoDB server version: v8.3.17-5 WARNING: shell and server versions do not match switched to db admin true bye + cat /tmp/tmp.zIj2U1l7Q7 + rm /tmp/tmp.Xjl1ZOoHJm /tmp/tmp.zIj2U1l7Q7 + return 0 + kubectl_bin annotate psmdb some-name percona.com/resync-pbm=true ++ mktemp + local LAST_OUT=/tmp/tmp.i7fFqlg7qU ++ mktemp + local LAST_ERR=/tmp/tmp.0HzjPB2QRz + local exit_status=0 + local timeout=4 + local i + args=('annotate' 'psmdb' 'some-name' 'percona.com/resync-pbm=true') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ annotate == \- ]] + [[ annotate =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb == \- ]] + [[ psmdb =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ some-name == \- ]] + [[ some-name =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ percona.com/resync-pbm=true == \- ]] + [[ percona.com/resync-pbm=true =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl annotate psmdb some-name percona.com/resync-pbm=true + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.i7fFqlg7qU perconaservermongodb.psmdb.percona.com/some-name annotated + cat /tmp/tmp.0HzjPB2QRz + rm /tmp/tmp.i7fFqlg7qU /tmp/tmp.0HzjPB2QRz + return 0 + sleep_with_log 10 'wait resync to start' + local d=10 + local 'msg=wait resync to start' + log 'wait resync to start. sleeping for 10 seconds' + set +o xtrace [2026-11-23T07:06:49+0000] wait resync to start. sleeping for 10 seconds + sleep 10 + local retries=0 + echo -n 'waiting for resync to finish' waiting for resync to finish++ kubectl_bin get psmdb some-name -o yaml ++ yq '.metadata.annotations."percona.com/resync-in-progress"' +++ mktemp ++ local LAST_OUT=/tmp/tmp.uXTN80Ahx5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.tZJz6bUQQH ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('get' 'psmdb' 'some-name' '-o' 'yaml') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ get == \- ]] ++ [[ get =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ psmdb == \- ]] ++ [[ psmdb =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name == \- ]] ++ [[ some-name =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ yaml == \- ]] ++ [[ yaml =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl get psmdb some-name -o yaml ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.uXTN80Ahx5 ++ cat /tmp/tmp.tZJz6bUQQH ++ rm /tmp/tmp.uXTN80Ahx5 /tmp/tmp.tZJz6bUQQH ++ return 0 + local resync_running=null + [[ null == null ]] + echo .OK .OK ++ kubectl_bin exec some-name-rs0-0 -c backup-agent -- pbm list -o json ++ jq '.snapshots | length' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5JaBFnRw9E +++ mktemp ++ local LAST_ERR=/tmp/tmp.dvffS2nAK6 ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('exec' 'some-name-rs0-0' '-c' 'backup-agent' '--' 'pbm' 'list' '-o' 'json') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ exec == \- ]] ++ [[ exec =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name-rs0-0 == \- ]] ++ [[ some-name-rs0-0 =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -c == \- ]] ++ [[ -c =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ backup-agent == \- ]] ++ [[ backup-agent =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -- == \- ]] ++ [[ -- =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pbm == \- ]] ++ [[ pbm =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ list == \- ]] ++ [[ list =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ json == \- ]] ++ [[ json =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl exec some-name-rs0-0 -c backup-agent -- pbm list -o json ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.5JaBFnRw9E ++ cat /tmp/tmp.dvffS2nAK6 ++ rm /tmp/tmp.5JaBFnRw9E /tmp/tmp.dvffS2nAK6 ++ return 0 + local backup_count=4 + log 'there are 4 backups in pbmBackups collection after resync' + set +o xtrace [2026-11-23T07:07:01+0000] there are 4 backups in pbmBackups collection after resync ++ echo 4 ++ xargs ++ echo 4 ++ xargs + [[ 4 != 4 ]] + log 'resync finished successfully' + set +o xtrace [2026-11-23T07:07:01+0000] resync finished successfully + log 'checking backup deletion' + set +o xtrace [2026-11-23T07:07:01+0000] checking backup deletion + check_backup_deletion ++ kubectl_bin exec some-name-rs0-0 -c backup-agent -- pbm status -o json ++ jq '.backups.pitrChunks.pitrChunks[0].range.start' +++ mktemp ++ local LAST_OUT=/tmp/tmp.kd8TnEKcPS +++ mktemp ++ local LAST_ERR=/tmp/tmp.J44zBKXHny ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('exec' 'some-name-rs0-0' '-c' 'backup-agent' '--' 'pbm' 'status' '-o' 'json') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ exec == \- ]] ++ [[ exec =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name-rs0-0 == \- ]] ++ [[ some-name-rs0-0 =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -c == \- ]] ++ [[ -c =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ backup-agent == \- ]] ++ [[ backup-agent =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -- == \- ]] ++ [[ -- =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pbm == \- ]] ++ [[ pbm =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ status == \- ]] ++ [[ status =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ json == \- ]] ++ [[ json =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl exec some-name-rs0-0 -c backup-agent -- pbm status -o json ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.kd8TnEKcPS ++ cat /tmp/tmp.J44zBKXHny ++ rm /tmp/tmp.kd8TnEKcPS /tmp/tmp.J44zBKXHny ++ return 0 + local initial_chunk_start=1795416847 + log 'deleting psmdb-backup/backup-local-s3-3' + set +o xtrace [2026-11-23T07:07:03+0000] deleting psmdb-backup/backup-local-s3-3 + kubectl_bin delete psmdb-backup backup-local-s3-3 ++ mktemp + local LAST_OUT=/tmp/tmp.5pmFsuvXsm ++ mktemp + local LAST_ERR=/tmp/tmp.QEoKkUrM6D + local exit_status=0 + local timeout=4 + local i + args=('delete' 'psmdb-backup' 'backup-local-s3-3') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ delete == \- ]] + [[ delete =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-backup == \- ]] + [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ backup-local-s3-3 == \- ]] + [[ backup-local-s3-3 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl delete psmdb-backup backup-local-s3-3 + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.5pmFsuvXsm perconaservermongodbbackup.psmdb.percona.com "backup-local-s3-3" deleted from multi-storage-11601 namespace + cat /tmp/tmp.QEoKkUrM6D + rm /tmp/tmp.5pmFsuvXsm /tmp/tmp.QEoKkUrM6D + return 0 + log 'checking if chunks are deleted' + set +o xtrace [2026-11-23T07:07:04+0000] checking if chunks are deleted ++ jq '.backups.pitrChunks.pitrChunks[0].range.start' ++ kubectl_bin exec some-name-rs0-0 -c backup-agent -- pbm status -o json +++ mktemp ++ local LAST_OUT=/tmp/tmp.7XATOBA9bG +++ mktemp ++ local LAST_ERR=/tmp/tmp.OK2GHZLz1w ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('exec' 'some-name-rs0-0' '-c' 'backup-agent' '--' 'pbm' 'status' '-o' 'json') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ exec == \- ]] ++ [[ exec =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name-rs0-0 == \- ]] ++ [[ some-name-rs0-0 =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -c == \- ]] ++ [[ -c =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ backup-agent == \- ]] ++ [[ backup-agent =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -- == \- ]] ++ [[ -- =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pbm == \- ]] ++ [[ pbm =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ status == \- ]] ++ [[ status =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ json == \- ]] ++ [[ json =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl exec some-name-rs0-0 -c backup-agent -- pbm status -o json ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.7XATOBA9bG ++ cat /tmp/tmp.OK2GHZLz1w ++ rm /tmp/tmp.7XATOBA9bG /tmp/tmp.OK2GHZLz1w ++ return 0 + local chunk_start=1795416847 + [[ 1795416847 != 1795416847 ]] + log 'chunks are not deleted, OK.' + set +o xtrace [2026-11-23T07:07:06+0000] chunks are not deleted, OK. + log 'deleting psmdb-backup/backup-local-s3-2-1' + set +o xtrace [2026-11-23T07:07:06+0000] deleting psmdb-backup/backup-local-s3-2-1 + kubectl_bin delete psmdb-backup backup-local-s3-2-1 ++ mktemp + local LAST_OUT=/tmp/tmp.VA4WV88Yr7 ++ mktemp + local LAST_ERR=/tmp/tmp.R48EoavttK + local exit_status=0 + local timeout=4 + local i + args=('delete' 'psmdb-backup' 'backup-local-s3-2-1') + local args + transformed_files=() + local transformed_files + local stdin_manifest + for i in "${!args[@]}" + [[ delete == \- ]] + [[ delete =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ psmdb-backup == \- ]] + [[ psmdb-backup =~ ^(-f|--filename)=-$ ]] + for i in "${!args[@]}" + [[ backup-local-s3-2-1 == \- ]] + [[ backup-local-s3-2-1 =~ ^(-f|--filename)=-$ ]] + arch_scheduling_enabled + [[ -n '' ]] + arch_scheduling_enabled + [[ -n '' ]] + local attempt + local delay ++ seq 0 9 + for attempt in $(seq 0 9) + set +e + kubectl delete psmdb-backup backup-local-s3-2-1 + exit_status=0 + set -e + [[ 0 == 0 ]] + break + cat /tmp/tmp.VA4WV88Yr7 perconaservermongodbbackup.psmdb.percona.com "backup-local-s3-2-1" deleted from multi-storage-11601 namespace + cat /tmp/tmp.R48EoavttK + rm /tmp/tmp.VA4WV88Yr7 /tmp/tmp.R48EoavttK + return 0 + log 'checking if chunks are deleted' + set +o xtrace [2026-11-23T07:07:07+0000] checking if chunks are deleted ++ kubectl_bin exec some-name-rs0-0 -c backup-agent -- pbm status -o json ++ jq '.backups.pitrChunks.pitrChunks[0].range.start' +++ mktemp ++ local LAST_OUT=/tmp/tmp.9qKVLSWMEY +++ mktemp ++ local LAST_ERR=/tmp/tmp.aBTMKWaIyS ++ local exit_status=0 ++ local timeout=4 ++ local i ++ args=('exec' 'some-name-rs0-0' '-c' 'backup-agent' '--' 'pbm' 'status' '-o' 'json') ++ local args ++ transformed_files=() ++ local transformed_files ++ local stdin_manifest ++ for i in "${!args[@]}" ++ [[ exec == \- ]] ++ [[ exec =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ some-name-rs0-0 == \- ]] ++ [[ some-name-rs0-0 =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -c == \- ]] ++ [[ -c =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ backup-agent == \- ]] ++ [[ backup-agent =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -- == \- ]] ++ [[ -- =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ pbm == \- ]] ++ [[ pbm =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ status == \- ]] ++ [[ status =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ -o == \- ]] ++ [[ -o =~ ^(-f|--filename)=-$ ]] ++ for i in "${!args[@]}" ++ [[ json == \- ]] ++ [[ json =~ ^(-f|--filename)=-$ ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ arch_scheduling_enabled ++ [[ -n '' ]] ++ local attempt ++ local delay +++ seq 0 9 ++ for attempt in $(seq 0 9) ++ set +e ++ kubectl exec some-name-rs0-0 -c backup-agent -- pbm status -o json ++ exit_status=0 ++ set -e ++ [[ 0 == 0 ]] ++ break ++ cat /tmp/tmp.9qKVLSWMEY ++ cat /tmp/tmp.aBTMKWaIyS ++ rm /tmp/tmp.9qKVLSWMEY /tmp/tmp.aBTMKWaIyS ++ return 0 + chunk_start=1795417478 + [[ 1795416847 == 1795417478 ]] + log 'chunks are deleted, OK.' + set +o xtrace [2026-11-23T07:07:09+0000] chunks are deleted, OK. + destroy multi-storage-11601 + local namespace=multi-storage-11601 + local ignore_logs=true + [[ 1 == 1 ]] + echo 'SKIP_DELETE=1, not destroying multi-storage-11601' SKIP_DELETE=1, not destroying multi-storage-11601 + return + desc 'test passed' + set +o xtrace ----------------------------------------------------------------------------------- test passed ----------------------------------------------------------------------------------- ==================================================================================================== [PASSED] e2e-tests/test_pytest_wrapper.py::test_bash_wrapper ==================================================================================================== [07:07:10.903904] INFO Deleting cert-manager [07:07:27.843240] INFO Cleaning up test environment --------------------------------------------- generated xml file: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/reports/multi-storage.xml ---------------------------------------------- ---------------------------------------- Generated html report: file:///mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/reports/multi-storage.html ---------------------------------------- ==================================================================================== 1 passed in 1123.13s (0:18:43) ====================================================================================