++ echo 'Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/logs/one-pod.log' Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/logs/one-pod.log ++ '[' -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/conf/cloud-secret.yml ']' ++ SKIP_BACKUPS_TO_AWS_GCP_AZURE= ++ oc get projects ++ kubectl get nodes ++ grep '^minikube' +++ kubectl version -o json +++ grep -eks- +++ jq -r .serverVersion.gitVersion Warning: version difference between client (1.35) and server (1.32) exceeds the supported minor version skew of +/-1 ++ '[' ']' ++ EKS=0 +++ kubectl version -o json +++ jq -r .serverVersion.gitVersion +++ grep gke Warning: version difference between client (1.35) and server (1.32) exceeds the supported minor version skew of +/-1 ++ '[' v1.32.13-gke.1258000 ']' ++ GKE=1 +++ kubectl version -o json +++ /usr/sbin/sed -r 's/[^0-9.]+//g' +++ jq -r '.serverVersion.major + "." + .serverVersion.minor' Warning: version difference between client (1.35) and server (1.32) exceeds the supported minor version skew of +/-1 ++ KUBE_VERSION=1.32 + main + create_infra one-pod-22664 + local ns=one-pod-22664 + [[ 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-2256/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.onYlcq4BXI ++ mktemp + local LAST_ERR=/tmp/tmp.lOjEtUVd4u + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.onYlcq4BXI customresourcedefinition.apiextensions.k8s.io "perconaservermongodbbackups.psmdb.percona.com" deleted customresourcedefinition.apiextensions.k8s.io "perconaservermongodbrestores.psmdb.percona.com" deleted customresourcedefinition.apiextensions.k8s.io "perconaservermongodbs.psmdb.percona.com" deleted + cat /tmp/tmp.lOjEtUVd4u + rm /tmp/tmp.onYlcq4BXI /tmp/tmp.lOjEtUVd4u + return 0 ++ grep -v '\-\-\-' ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/deploy/crd.yaml grep: warning: stray \ before - grep: warning: stray \ before - + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbbackups.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbbackups.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbbackups" + kubectl patch perconaservermongodbbackups.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbbackups" + : + kubectl_bin wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.V6mmOJz36K ++ mktemp + local LAST_ERR=/tmp/tmp.nmZbdGx8Sc + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.V6mmOJz36K + cat /tmp/tmp.nmZbdGx8Sc + rm /tmp/tmp.V6mmOJz36K /tmp/tmp.nmZbdGx8Sc + return 0 + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbrestores.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbrestores.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' error: the server doesn't have a resource type "perconaservermongodbrestores" + kubectl patch perconaservermongodbrestores.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: the server doesn't have a resource type "perconaservermongodbrestores" + : + kubectl_bin wait --for=delete crd perconaservermongodbrestores.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.amN2wkQ5Vt ++ mktemp + local LAST_ERR=/tmp/tmp.Owm8hdr4wB + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete crd perconaservermongodbrestores.psmdb.percona.com + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.amN2wkQ5Vt + cat /tmp/tmp.Owm8hdr4wB + rm /tmp/tmp.amN2wkQ5Vt /tmp/tmp.Owm8hdr4wB + return 0 + for crd_name in $(yq eval '.metadata.name' "${src_dir}/deploy/crd.yaml" | grep -v '\-\-\-') + kubectl get perconaservermongodbs.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbs.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' No resources found + kubectl patch perconaservermongodbs.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' error: resource(s) were provided, but no name was specified + : + kubectl_bin wait --for=delete crd perconaservermongodbs.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.Bv7FN1RBBn ++ mktemp + local LAST_ERR=/tmp/tmp.3k4ZuNhDUf + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete crd perconaservermongodbs.psmdb.percona.com + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Bv7FN1RBBn + cat /tmp/tmp.3k4ZuNhDUf + rm /tmp/tmp.Bv7FN1RBBn /tmp/tmp.3k4ZuNhDUf + return 0 + local rbac_yaml=rbac.yaml + '[' -n psmdb-operator ']' + rbac_yaml=cw-rbac.yaml + kubectl_bin delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/deploy/cw-rbac.yaml --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.oUeuEHFxKg ++ mktemp + local LAST_ERR=/tmp/tmp.04OJE3mQn1 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/deploy/cw-rbac.yaml --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.oUeuEHFxKg 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.04OJE3mQn1 + rm /tmp/tmp.oUeuEHFxKg /tmp/tmp.04OJE3mQn1 + return 0 + check_crd_for_deletion PR-2256-98b7d85f + local git_tag=PR-2256-98b7d85f ++ curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/PR-2256-98b7d85f/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.4IhKJW2PCJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.1Oyo1GtmRh ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.4IhKJW2PCJ ++ cat /tmp/tmp.1Oyo1GtmRh Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 0 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.4IhKJW2PCJ ++ cat /tmp/tmp.1Oyo1GtmRh Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 4 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.4IhKJW2PCJ ++ cat /tmp/tmp.1Oyo1GtmRh Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ sleep 8 ++ cat /tmp/tmp.4IhKJW2PCJ ++ cat /tmp/tmp.1Oyo1GtmRh Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "null" not found ++ rm /tmp/tmp.4IhKJW2PCJ /tmp/tmp.1Oyo1GtmRh ++ 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 ++ awk '{print $1}' ++ grep chaos-mesh + 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 + : ++ grep chaos-mesh ++ kubectl api-resources ++ 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 ++ awk '{print $1}' ++ grep chaos-mesh + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + grep -E -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + awk '{print$1}' + '[' -n '' ']' ++ mktemp + desc 'cleaned up old namespaces psmdb-operator' + xargs kubectl delete ns + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace psmdb-operator --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.cry1FwzkTi ++ mktemp + local LAST_OUT=/tmp/tmp.eIc666nryJ ++ mktemp + local LAST_ERR=/tmp/tmp.VZnny5a5Xe + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.XsOvHx7ocS + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get ns + for i in $(seq 0 2) + set +e + kubectl delete namespace psmdb-operator --ignore-not-found + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.cry1FwzkTi + cat /tmp/tmp.VZnny5a5Xe + rm /tmp/tmp.cry1FwzkTi /tmp/tmp.VZnny5a5Xe + return 0 namespace "one-pod-11515" deleted + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.eIc666nryJ namespace "psmdb-operator" deleted + cat /tmp/tmp.XsOvHx7ocS + rm /tmp/tmp.eIc666nryJ /tmp/tmp.XsOvHx7ocS + return 0 + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.HQT29KXBpA ++ mktemp + local LAST_ERR=/tmp/tmp.1VWBy0gs8F + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete namespace psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.HQT29KXBpA + cat /tmp/tmp.1VWBy0gs8F + rm /tmp/tmp.HQT29KXBpA /tmp/tmp.1VWBy0gs8F + 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.H0HCAVWAgw ++ mktemp + local LAST_ERR=/tmp/tmp.I7GRKDtpsW + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl create namespace psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.H0HCAVWAgw namespace/psmdb-operator created + cat /tmp/tmp.I7GRKDtpsW + rm /tmp/tmp.H0HCAVWAgw /tmp/tmp.I7GRKDtpsW + return 0 + set_kube_ctx psmdb-operator + local namespace=psmdb-operator ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.HVv0SIqJdw +++ mktemp ++ local LAST_ERR=/tmp/tmp.5qsvFdnZrZ ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.HVv0SIqJdw ++ cat /tmp/tmp.5qsvFdnZrZ ++ rm /tmp/tmp.HVv0SIqJdw /tmp/tmp.5qsvFdnZrZ ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2256-98b7d85f-7-cluster13 --namespace=psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.KeHP12utGA ++ mktemp + local LAST_ERR=/tmp/tmp.IImuAa53zB + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2256-98b7d85f-7-cluster13 --namespace=psmdb-operator + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.KeHP12utGA Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2256-98b7d85f-7-cluster13" modified. + cat /tmp/tmp.IImuAa53zB + rm /tmp/tmp.KeHP12utGA /tmp/tmp.IImuAa53zB + return 0 + deploy_operator + desc 'start PSMDB operator: docker.io/perconalab/percona-server-mongodb-operator:PR-2256-98b7d85f' + set +o xtrace ----------------------------------------------------------------------------------- start PSMDB operator: docker.io/perconalab/percona-server-mongodb-operator:PR-2256-98b7d85f ----------------------------------------------------------------------------------- + local cr_file + '[' -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/conf/crd.yaml ']' + cr_file=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/deploy/crd.yaml + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.Lfuyzehni9 ++ mktemp + local LAST_ERR=/tmp/tmp.von3q72zfS + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Lfuyzehni9 customresourcedefinition.apiextensions.k8s.io/perconaservermongodbbackups.psmdb.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaservermongodbrestores.psmdb.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaservermongodbs.psmdb.percona.com serverside-applied + cat /tmp/tmp.von3q72zfS + rm /tmp/tmp.Lfuyzehni9 /tmp/tmp.von3q72zfS + 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-2256/deploy/cw-rbac.yaml + kubectl_bin apply -n psmdb-operator -f - + sed -e 's^namespace: .*^namespace: psmdb-operator^' ++ mktemp + local LAST_OUT=/tmp/tmp.rtXsTTvPkO ++ mktemp + local LAST_ERR=/tmp/tmp.cl4eKRuwR6 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -n psmdb-operator -f - + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.rtXsTTvPkO 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.cl4eKRuwR6 + rm /tmp/tmp.rtXsTTvPkO /tmp/tmp.cl4eKRuwR6 + return 0 + yq eval $'\n\t\t\t(.spec.template.spec.containers[].image = "docker.io/perconalab/percona-server-mongodb-operator:PR-2256-98b7d85f") |\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-2256/deploy/cw-operator.yaml + kubectl_bin apply -n psmdb-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.mWSbxOd3lN ++ mktemp + local LAST_ERR=/tmp/tmp.hs2pwoH6qE + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -n psmdb-operator -f - + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.mWSbxOd3lN deployment.apps/percona-server-mongodb-operator created + cat /tmp/tmp.hs2pwoH6qE + rm /tmp/tmp.mWSbxOd3lN /tmp/tmp.hs2pwoH6qE + 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.BaMnL9cPnJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.UHcg1fHXcD ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=percona-server-mongodb-operator -o 'jsonpath={.items[].metadata.name}' -n psmdb-operator ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.BaMnL9cPnJ ++ cat /tmp/tmp.UHcg1fHXcD ++ rm /tmp/tmp.BaMnL9cPnJ /tmp/tmp.UHcg1fHXcD ++ return 0 + wait_operator_pod percona-server-mongodb-operator-7d9c7747d9-6mvt6 + local pod=percona-server-mongodb-operator-7d9c7747d9-6mvt6 + set +o xtrace waiting for pod/percona-server-mongodb-operator-7d9c7747d9-6mvt6 to be ready.OK + echo 'Print operator info from log' Print operator info from log ++ get_operator_pod ++ kubectl_bin get pods --selector=name=percona-server-mongodb-operator -o 'jsonpath={.items[].metadata.name}' -n psmdb-operator +++ mktemp + grep 'Manager starting up' ++ local LAST_OUT=/tmp/tmp.v9k7Ygl4RA +++ mktemp ++ local LAST_ERR=/tmp/tmp.tUtPmiMze5 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=percona-server-mongodb-operator -o 'jsonpath={.items[].metadata.name}' -n psmdb-operator ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.v9k7Ygl4RA ++ cat /tmp/tmp.tUtPmiMze5 ++ rm /tmp/tmp.v9k7Ygl4RA /tmp/tmp.tUtPmiMze5 ++ return 0 + kubectl_bin logs -n psmdb-operator percona-server-mongodb-operator-7d9c7747d9-6mvt6 ++ mktemp + local LAST_OUT=/tmp/tmp.ZbItkLZNkU ++ mktemp + local LAST_ERR=/tmp/tmp.DTnzbtBW34 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl logs -n psmdb-operator percona-server-mongodb-operator-7d9c7747d9-6mvt6 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.ZbItkLZNkU + cat /tmp/tmp.DTnzbtBW34 + rm /tmp/tmp.ZbItkLZNkU /tmp/tmp.DTnzbtBW34 + return 0 2026-04-14T11:10:20.649Z INFO setup Manager starting up {"gitCommit": "98b7d85f6fc9316ce5207960e26f4bbf2b33bfd3", "gitBranch": "PR-2256-98b7d85f", "buildTime": "", "goVersion": "go1.25.9", "os": "linux", "arch": "amd64"} + create_namespace one-pod-22664 + local namespace=one-pod-22664 + 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 ++ awk '{print $1}' ++ grep chaos-mesh ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + grep -E -v '^kube-|^default|Terminating|psmdb-operator|openshift|^gke-|^gmp-|^NAME' + '[' -n '' ']' + awk '{print$1}' + desc 'cleaned up old namespaces one-pod-22664' + xargs kubectl delete ns + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces one-pod-22664 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace one-pod-22664 --ignore-not-found ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.2rZM91XwXU + local LAST_OUT=/tmp/tmp.t1fRhIBVz3 ++ mktemp ++ mktemp + local LAST_ERR=/tmp/tmp.EosVThlQk6 + local exit_status=0 + local timeout=4 + local LAST_ERR=/tmp/tmp.qBh2TcIzSC + local exit_status=0 + local timeout=4 ++ seq 0 2 ++ seq 0 2 + for i in $(seq 0 2) + set +e + for i in $(seq 0 2) + kubectl delete namespace one-pod-22664 --ignore-not-found + set +e + kubectl get ns + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.t1fRhIBVz3 + cat /tmp/tmp.qBh2TcIzSC + rm /tmp/tmp.t1fRhIBVz3 /tmp/tmp.qBh2TcIzSC + return 0 error: resource(s) were provided, but no name was specified + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.2rZM91XwXU + cat /tmp/tmp.EosVThlQk6 + rm /tmp/tmp.2rZM91XwXU /tmp/tmp.EosVThlQk6 + return 0 + kubectl_bin wait --for=delete namespace one-pod-22664 ++ mktemp + local LAST_OUT=/tmp/tmp.KxwBLnQ7Mj ++ mktemp + local LAST_ERR=/tmp/tmp.NLZO7rmuzV + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl wait --for=delete namespace one-pod-22664 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.KxwBLnQ7Mj + cat /tmp/tmp.NLZO7rmuzV + rm /tmp/tmp.KxwBLnQ7Mj /tmp/tmp.NLZO7rmuzV + return 0 + desc 'create namespace one-pod-22664' + set +o xtrace ----------------------------------------------------------------------------------- create namespace one-pod-22664 ----------------------------------------------------------------------------------- + kubectl_bin create namespace one-pod-22664 ++ mktemp + local LAST_OUT=/tmp/tmp.snzR7K3Ey7 ++ mktemp + local LAST_ERR=/tmp/tmp.tHSTWc5bSS + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl create namespace one-pod-22664 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.snzR7K3Ey7 namespace/one-pod-22664 created + cat /tmp/tmp.tHSTWc5bSS + rm /tmp/tmp.snzR7K3Ey7 /tmp/tmp.tHSTWc5bSS + return 0 + set_kube_ctx one-pod-22664 + local namespace=one-pod-22664 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.PcGv60e7jR +++ mktemp ++ local LAST_ERR=/tmp/tmp.yA7gGsMrtj ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.PcGv60e7jR ++ cat /tmp/tmp.yA7gGsMrtj ++ rm /tmp/tmp.PcGv60e7jR /tmp/tmp.yA7gGsMrtj ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2256-98b7d85f-7-cluster13 --namespace=one-pod-22664 ++ mktemp + local LAST_OUT=/tmp/tmp.TX10QT0xWo ++ mktemp + local LAST_ERR=/tmp/tmp.oE0gVkPZTT + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-psmdb-2256-98b7d85f-7-cluster13 --namespace=one-pod-22664 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.TX10QT0xWo Context "gke_cloud-dev-112233_us-central1-a_jen-psmdb-2256-98b7d85f-7-cluster13" modified. + cat /tmp/tmp.oE0gVkPZTT + rm /tmp/tmp.TX10QT0xWo /tmp/tmp.oE0gVkPZTT + return 0 + desc 'create secrets and start client' + set +o xtrace ----------------------------------------------------------------------------------- create secrets and start client ----------------------------------------------------------------------------------- + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/conf/client.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/conf/secrets.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/conf/minio-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.aAN6KodlLr ++ mktemp + local LAST_ERR=/tmp/tmp.ZURErGhqPE + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/conf/client.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/conf/secrets.yml -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/conf/minio-secret.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.aAN6KodlLr deployment.apps/psmdb-client created secret/some-users created secret/minio-secret created + cat /tmp/tmp.ZURErGhqPE + rm /tmp/tmp.aAN6KodlLr /tmp/tmp.ZURErGhqPE + return 0 + deploy_minio + local cert_secret= + local service_name=minio-service + desc 'install MinIO: minio-service' + set +o xtrace ----------------------------------------------------------------------------------- install MinIO: minio-service ----------------------------------------------------------------------------------- + helm uninstall minio-service + : + helm repo remove minio "minio" has been removed from your repositories + helm repo add minio https://charts.min.io/ "minio" has been added to your repositories + local endpoint=http://minio-service:9000 + minio_args=('--version' '5.4.0' '--set' 'replicas=1' '--set' 'mode=standalone' '--set' 'resources.requests.memory=256Mi' '--set' 'rootUser=rootuser' '--set' 'rootPassword=rootpass123' '--set' 'users[0].accessKey=some-access-key' '--set' 'users[0].secretKey=some-secret-key' '--set' 'users[0].policy=consoleAdmin' '--set' 'service.type=ClusterIP' '--set' 'configPathmc=/tmp/' '--set' 'securityContext.enabled=false' '--set' 'persistence.size=2G' '--set' 'fullnameOverride=minio-service' '--set' 'serviceAccount.create=true' '--set' 'serviceAccount.name=minio-service-sa') + local minio_args + [[ -n '' ]] + retry 10 60 helm install minio-service --version 5.4.0 --set replicas=1 --set mode=standalone --set resources.requests.memory=256Mi --set rootUser=rootuser --set rootPassword=rootpass123 --set 'users[0].accessKey=some-access-key' --set 'users[0].secretKey=some-secret-key' --set 'users[0].policy=consoleAdmin' --set service.type=ClusterIP --set configPathmc=/tmp/ --set securityContext.enabled=false --set persistence.size=2G --set fullnameOverride=minio-service --set serviceAccount.create=true --set serviceAccount.name=minio-service-sa minio/minio + local max=10 + local delay=60 + shift 2 + local n=1 + helm install minio-service --version 5.4.0 --set replicas=1 --set mode=standalone --set resources.requests.memory=256Mi --set rootUser=rootuser --set rootPassword=rootpass123 --set 'users[0].accessKey=some-access-key' --set 'users[0].secretKey=some-secret-key' --set 'users[0].policy=consoleAdmin' --set service.type=ClusterIP --set configPathmc=/tmp/ --set securityContext.enabled=false --set persistence.size=2G --set fullnameOverride=minio-service --set serviceAccount.create=true --set serviceAccount.name=minio-service-sa minio/minio NAME: minio-service LAST DEPLOYED: Tue Apr 14 11:10:59 2026 NAMESPACE: one-pod-22664 STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: MinIO can be accessed via port 9000 on the following DNS name from within your cluster: minio-service.one-pod-22664.cluster.local To access MinIO from localhost, run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace one-pod-22664 -l "release=minio-service" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace one-pod-22664 Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access MinIO server on http://localhost:9000. Follow the below steps to connect to MinIO server with mc client: 1. Download the MinIO mc client - https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart 2. export MC_HOST_minio-service-local=http://$(kubectl get secret --namespace one-pod-22664 minio-service -o jsonpath="{.data.rootUser}" | base64 --decode):$(kubectl get secret --namespace one-pod-22664 minio-service -o jsonpath="{.data.rootPassword}" | base64 --decode)@localhost:9000 3. mc ls minio-service-local ++ kubectl_bin get pods --selector=release=minio-service -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.sUvnBQW73b +++ mktemp ++ local LAST_ERR=/tmp/tmp.XB24Yvrkt2 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=release=minio-service -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.sUvnBQW73b ++ cat /tmp/tmp.XB24Yvrkt2 ++ rm /tmp/tmp.sUvnBQW73b /tmp/tmp.XB24Yvrkt2 ++ return 0 + local MINIO_POD=minio-service-6d5f646cdc-gz9k6 + wait_pod minio-service-6d5f646cdc-gz9k6 + local pod=minio-service-6d5f646cdc-gz9k6 + set +o xtrace waiting for pod/minio-service-6d5f646cdc-gz9k6 to be ready.OK + '[' -n psmdb-operator ']' + kubectl_bin create svc -n psmdb-operator externalname minio-service --external-name=minio-service.one-pod-22664.svc.cluster.local --tcp=9000 service/minio-service created + create_minio_bucket operator-testing http://minio-service:9000 + local bucket=operator-testing + local endpoint=http://minio-service:9000 + kubectl_bin run -i --rm aws-cli --image=docker.io/perconalab/awscli --restart=Never -- bash -c $'AWS_ACCESS_KEY_ID=some-access-key \t\tAWS_SECRET_ACCESS_KEY=some-secret-key \t\tAWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --no-verify-ssl --endpoint-url http://minio-service:9000 s3 mb s3://operator-testing' ++ mktemp + local LAST_OUT=/tmp/tmp.HVQPkbjaeo ++ mktemp + local LAST_ERR=/tmp/tmp.h0cNBG8zYg + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl run -i --rm aws-cli --image=docker.io/perconalab/awscli --restart=Never -- bash -c $'AWS_ACCESS_KEY_ID=some-access-key \t\tAWS_SECRET_ACCESS_KEY=some-secret-key \t\tAWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --no-verify-ssl --endpoint-url http://minio-service:9000 s3 mb s3://operator-testing' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.HVQPkbjaeo make_bucket: operator-testing pod "aws-cli" deleted from one-pod-22664 namespace + cat /tmp/tmp.h0cNBG8zYg + rm /tmp/tmp.HVQPkbjaeo /tmp/tmp.h0cNBG8zYg + return 0 + cluster=one-pod-rs0 + spinup_psmdb one-pod-rs0 /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/conf/one-pod-rs0.yml 1 + local cluster=one-pod-rs0 + local config=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/conf/one-pod-rs0.yml + local size=1 + desc 'create first PSMDB cluster' + set +o xtrace ----------------------------------------------------------------------------------- create first PSMDB cluster ----------------------------------------------------------------------------------- + apply_cluster /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/conf/one-pod-rs0.yml + '[' -z '' ']' + cat_config /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/conf/one-pod-rs0.yml + cat /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/conf/one-pod-rs0.yml + kubectl_bin apply -f - + yq eval '(.spec | select(.image == null)).image = "docker.io/perconalab/percona-server-mongodb-operator:main-mongod8.0"' + yq eval '(.spec | select(has("initImage"))).initImage = "docker.io/perconalab/percona-server-mongodb-operator:PR-2256-98b7d85f"' + yq eval '(.spec | select(has("pmm"))).pmm.image = "docker.io/percona/pmm-client:2.44.1-1"' ++ mktemp + /usr/sbin/sed -e s/NAME_SPACE/one-pod-22664/g + yq eval '.spec.upgradeOptions.apply="Never"' + yq eval '(.spec | select(has("backup"))).backup.image = "docker.io/perconalab/percona-server-mongodb-operator:main-backup"' + local LAST_OUT=/tmp/tmp.zvBGdgZZYX ++ mktemp + local LAST_ERR=/tmp/tmp.HNkftYp6be + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.zvBGdgZZYX perconaservermongodb.psmdb.percona.com/one-pod created + cat /tmp/tmp.HNkftYp6be + rm /tmp/tmp.zvBGdgZZYX /tmp/tmp.HNkftYp6be + return 0 + desc 'check if Pod is started' + set +o xtrace ----------------------------------------------------------------------------------- check if Pod is started ----------------------------------------------------------------------------------- + wait_for_running one-pod-rs0 1 + local name=one-pod-rs0 + let last_pod=0 + : + local check_cluster_readyness=true + set_debug + [[ 1 == 1 ]] + set -o xtrace + local rs_name=rs0 + local cluster_name=one-pod ++ seq 0 0 + for i in $(seq 0 $last_pod) + [[ 0 -eq 0 ]] ++ kubectl_bin get psmdb one-pod -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.HZbI9FPi11 +++ mktemp ++ local LAST_ERR=/tmp/tmp.98Xq2gbuco ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb one-pod -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].arbiter.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.HZbI9FPi11 ++ cat /tmp/tmp.98Xq2gbuco ++ rm /tmp/tmp.HZbI9FPi11 /tmp/tmp.98Xq2gbuco ++ return 0 + [[ false == true ]] + wait_pod one-pod-rs0-0 + local pod=one-pod-rs0-0 + set +o xtrace waiting for pod/one-pod-rs0-0 to be ready.........OK ++ kubectl_bin get psmdb one-pod -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.48eDldLnr3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.f33rTBHj9t ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb one-pod -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].nonvoting.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.48eDldLnr3 ++ cat /tmp/tmp.f33rTBHj9t ++ rm /tmp/tmp.48eDldLnr3 /tmp/tmp.f33rTBHj9t ++ return 0 + [[ '' == true ]] ++ kubectl_bin get psmdb one-pod -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.6fJSzbgpjK +++ mktemp ++ local LAST_ERR=/tmp/tmp.k8VtkaIs5z ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb one-pod -o 'jsonpath={.spec.replsets[?(@.name=="rs0")].hidden.enabled}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.6fJSzbgpjK ++ cat /tmp/tmp.k8VtkaIs5z ++ rm /tmp/tmp.6fJSzbgpjK /tmp/tmp.k8VtkaIs5z ++ return 0 + [[ '' == true ]] + sleep 10 + [[ true == true ]] + set +x Waiting for cluster readyness.................................. + sleep 20 + compare_kubectl statefulset/one-pod-rs0 + local resource=statefulset/one-pod-rs0 + local postfix= + local skip_generation_check= + local expected_result=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/statefulset_one-pod-rs0.yml + local new_result=/tmp/tmp.4LFAgfd8qq/statefulset_one-pod-rs0.yml + '[' -n '' -a -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/statefulset_one-pod-rs0-oc.yml ']' + kubectl_bin get -o yaml statefulset/one-pod-rs0 + yq eval $'\n\t\t\tdel(.metadata.ownerReferences[].apiVersion) |\n\t\t\tdel(.metadata.managedFields) |\n\t\t\tdel(.. | select(has("creationTimestamp")).creationTimestamp) |\n\t\t\tdel(.. | select(has("namespace")).namespace) |\n\t\t\tdel(.. | select(has("uid")).uid) |\n\t\t\tdel(.metadata.resourceVersion) |\n\t\t\tdel(.spec.template.spec.containers[].env[] | select(.name == "NAMESPACE")) |\n\t\t\tdel(.metadata.selfLink) |\n\t\t\tdel(.metadata.annotations."cloud.google.com/neg") |\n\t\t\tdel(.metadata.annotations."kubectl.kubernetes.io/last-applied-configuration") |\n\t\t\tdel(.. | select(has("image")).image) |\n\t\t\tdel(.. | select(has("clusterIP")).clusterIP) |\n\t\t\tdel(.. | select(has("clusterIPs")).clusterIPs) |\n\t\t\tdel(.. | select(has("dataSource")).dataSource) |\n\t\t\tdel(.. | select(has("procMount")).procMount) |\n\t\t\tdel(.. | select(has("storageClassName")).storageClassName) |\n\t\t\tdel(.. | select(has("finalizers")).finalizers) |\n\t\t\tdel(.. | select(has("kubernetes.io/pvc-protection"))."kubernetes.io/pvc-protection") |\n\t\t\tdel(.. | select(has("volumeName")).volumeName) |\n\t\t\tdel(.. | select(has("volume.beta.kubernetes.io/storage-provisioner"))."volume.beta.kubernetes.io/storage-provisioner") |\n\t\t\tdel(.. | select(has("volume.kubernetes.io/storage-provisioner"))."volume.kubernetes.io/storage-provisioner") |\n\t\t\tdel(.spec.volumeMode) |\n\t\t\tdel(.. | select(has("volume.kubernetes.io/selected-node"))."volume.kubernetes.io/selected-node") |\n\t\t\tdel(.. | select(has("percona.com/last-config-hash"))."percona.com/last-config-hash") |\n\t\t\tdel(.. | select(has("percona.com/configuration-hash"))."percona.com/configuration-hash") |\n\t\t\tdel(.. | select(has("percona.com/ssl-hash"))."percona.com/ssl-hash") |\n\t\t\tdel(.. | select(has("percona.com/ssl-internal-hash"))."percona.com/ssl-internal-hash") |\n\t\t\tdel(.spec.volumeClaimTemplates[].spec.volumeMode | select(. == "Filesystem")) |\n\t\t\tdel(.. | select(has("healthCheckNodePort")).healthCheckNodePort) |\n\t\t\tdel(.. | select(has("nodePort")).nodePort) |\n\t\t\tdel(.status) |\n\t\t\t(.. | select(tag == "!!str")) |= sub("one-pod-22664", "NAME_SPACE") |\n\t\t\tdel(.spec.volumeClaimTemplates[].apiVersion) |\n\t\t\tdel(.spec.volumeClaimTemplates[].kind) |\n\t\t\tdel(.spec.ipFamilies) |\n\t\t\tdel(.spec.ipFamilyPolicy) |\n\t\t\t(.. | select(. == "extensions/v1beta1")) = "apps/v1" |\n\t\t\t(.. | select(. == "batch/v1beta1")) = "batch/v1" ' - ++ mktemp + local LAST_OUT=/tmp/tmp.GhEYgdDg3K ++ mktemp + local LAST_ERR=/tmp/tmp.aGanAKNYWS + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get -o yaml statefulset/one-pod-rs0 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.GhEYgdDg3K + cat /tmp/tmp.aGanAKNYWS + rm /tmp/tmp.GhEYgdDg3K /tmp/tmp.aGanAKNYWS + return 0 + yq -i eval 'del(.spec.persistentVolumeClaimRetentionPolicy)' /tmp/tmp.4LFAgfd8qq/statefulset_one-pod-rs0.yml + version_gt 1.22 ++ echo '1.32 >= 1.22' ++ bc -l + '[' 1 -eq 1 ']' + return 0 + yq -i eval 'del(.spec.internalTrafficPolicy)' /tmp/tmp.4LFAgfd8qq/statefulset_one-pod-rs0.yml + yq -i eval 'del(.spec.allocateLoadBalancerNodePorts)' /tmp/tmp.4LFAgfd8qq/statefulset_one-pod-rs0.yml + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/statefulset_one-pod-rs0.yml == */cronjob* ]] + '[' -n '' ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/statefulset_one-pod-rs0.yml /tmp/tmp.4LFAgfd8qq/statefulset_one-pod-rs0.yml + log 'compare_kubectl: statefulset/one-pod-rs0 OK' + set +o xtrace [2026-04-14T11:13:40+0000] compare_kubectl: statefulset/one-pod-rs0 OK + desc 'write data' + set +o xtrace ----------------------------------------------------------------------------------- write data ----------------------------------------------------------------------------------- + run_mongo 'db.createUser({user: "myApp", pwd: "myPass", roles: [{ db: "myApp", role: "readWrite" }]})' userAdmin:userAdmin123456@one-pod-rs0.one-pod-22664 + local 'command=db.createUser({user: "myApp", pwd: "myPass", roles: [{ db: "myApp", role: "readWrite" }]})' + local uri=userAdmin:userAdmin123456@one-pod-rs0.one-pod-22664 + local driver=mongodb+srv + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ userAdmin:userAdmin123456@one-pod-rs0.one-pod-22664 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.dVCyilnzn3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.vr82Wkhkc6 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.dVCyilnzn3 ++ cat /tmp/tmp.vr82Wkhkc6 ++ rm /tmp/tmp.dVCyilnzn3 /tmp/tmp.vr82Wkhkc6 ++ return 0 + local client_container=psmdb-client-bb8b97679-dkcf2 + kubectl_bin exec psmdb-client-bb8b97679-dkcf2 -- bash -c 'printf '\''db.createUser({user: "myApp", pwd: "myPass", roles: [{ db: "myApp", role: "readWrite" }]})\n'\'' | mongo mongodb+srv://userAdmin:userAdmin123456@one-pod-rs0.one-pod-22664.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.GzrqwZnPmQ ++ mktemp + local LAST_ERR=/tmp/tmp.mblWH5jwtH + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-bb8b97679-dkcf2 -- bash -c 'printf '\''db.createUser({user: "myApp", pwd: "myPass", roles: [{ db: "myApp", role: "readWrite" }]})\n'\'' | mongo mongodb+srv://userAdmin:userAdmin123456@one-pod-rs0.one-pod-22664.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.GzrqwZnPmQ Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://one-pod-rs0-0.one-pod-rs0.one-pod-22664.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("52607e64-c049-4100-aac2-9110c54b5a14") } Percona Server for MongoDB server version: v8.0.20-8 WARNING: shell and server versions do not match Successfully added user: { "user" : "myApp", "roles" : [ { "db" : "myApp", "role" : "readWrite" } ] } bye + cat /tmp/tmp.mblWH5jwtH + rm /tmp/tmp.GzrqwZnPmQ /tmp/tmp.mblWH5jwtH + return 0 + run_mongo 'use myApp\n db.test.insert({ x: 100500 })' myApp:myPass@one-pod-rs0.one-pod-22664 + local 'command=use myApp\n db.test.insert({ x: 100500 })' + local uri=myApp:myPass@one-pod-rs0.one-pod-22664 + local driver=mongodb+srv + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ myApp:myPass@one-pod-rs0.one-pod-22664 == *cfg* ]] ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.kk4IHDDamQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.ocLZHaiqgH ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.kk4IHDDamQ ++ cat /tmp/tmp.ocLZHaiqgH ++ rm /tmp/tmp.kk4IHDDamQ /tmp/tmp.ocLZHaiqgH ++ return 0 + local client_container=psmdb-client-bb8b97679-dkcf2 + kubectl_bin exec psmdb-client-bb8b97679-dkcf2 -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100500 })\n'\'' | mongo mongodb+srv://myApp:myPass@one-pod-rs0.one-pod-22664.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.UKelImcomK ++ mktemp + local LAST_ERR=/tmp/tmp.yiic3VVcLZ + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-bb8b97679-dkcf2 -- bash -c 'printf '\''use myApp\n db.test.insert({ x: 100500 })\n'\'' | mongo mongodb+srv://myApp:myPass@one-pod-rs0.one-pod-22664.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.UKelImcomK Percona Server for MongoDB shell version v4.4.29-28 connecting to: mongodb://one-pod-rs0-0.one-pod-rs0.one-pod-22664.svc.cluster.local:27017/admin?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0&ssl=false Implicit session: session { "id" : UUID("17985cba-ddff-4803-a745-64d472f2fa03") } Percona Server for MongoDB server version: v8.0.20-8 WARNING: shell and server versions do not match switched to db myApp WriteResult({ "nInserted" : 1 }) bye + cat /tmp/tmp.yiic3VVcLZ + rm /tmp/tmp.UKelImcomK /tmp/tmp.yiic3VVcLZ + return 0 + wait_cluster_consistency one-pod + local cluster_name=one-pod + local wait_time=32 + retry=0 + sleep 7 + echo -n 'waiting for cluster readyness' waiting for cluster readyness++ kubectl_bin get psmdb one-pod -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.WHbdIExDVO +++ mktemp ++ local LAST_ERR=/tmp/tmp.Ltv1fzNIiT ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb one-pod -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.WHbdIExDVO ++ cat /tmp/tmp.Ltv1fzNIiT ++ rm /tmp/tmp.WHbdIExDVO /tmp/tmp.Ltv1fzNIiT ++ return 0 + [[ ready == ready ]] + echo .OK .OK + desc 'check if service and pvc created with expected config' + set +o xtrace ----------------------------------------------------------------------------------- check if service and pvc created with expected config ----------------------------------------------------------------------------------- + compare_kubectl service/one-pod-rs0 + local resource=service/one-pod-rs0 + local postfix= + local skip_generation_check= + local expected_result=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/service_one-pod-rs0.yml + local new_result=/tmp/tmp.4LFAgfd8qq/service_one-pod-rs0.yml + '[' -n '' -a -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/service_one-pod-rs0-oc.yml ']' + kubectl_bin get -o yaml service/one-pod-rs0 + yq eval $'\n\t\t\tdel(.metadata.ownerReferences[].apiVersion) |\n\t\t\tdel(.metadata.managedFields) |\n\t\t\tdel(.. | select(has("creationTimestamp")).creationTimestamp) |\n\t\t\tdel(.. | select(has("namespace")).namespace) |\n\t\t\tdel(.. | select(has("uid")).uid) |\n\t\t\tdel(.metadata.resourceVersion) |\n\t\t\tdel(.spec.template.spec.containers[].env[] | select(.name == "NAMESPACE")) |\n\t\t\tdel(.metadata.selfLink) |\n\t\t\tdel(.metadata.annotations."cloud.google.com/neg") |\n\t\t\tdel(.metadata.annotations."kubectl.kubernetes.io/last-applied-configuration") |\n\t\t\tdel(.. | select(has("image")).image) |\n\t\t\tdel(.. | select(has("clusterIP")).clusterIP) |\n\t\t\tdel(.. | select(has("clusterIPs")).clusterIPs) |\n\t\t\tdel(.. | select(has("dataSource")).dataSource) |\n\t\t\tdel(.. | select(has("procMount")).procMount) |\n\t\t\tdel(.. | select(has("storageClassName")).storageClassName) |\n\t\t\tdel(.. | select(has("finalizers")).finalizers) |\n\t\t\tdel(.. | select(has("kubernetes.io/pvc-protection"))."kubernetes.io/pvc-protection") |\n\t\t\tdel(.. | select(has("volumeName")).volumeName) |\n\t\t\tdel(.. | select(has("volume.beta.kubernetes.io/storage-provisioner"))."volume.beta.kubernetes.io/storage-provisioner") |\n\t\t\tdel(.. | select(has("volume.kubernetes.io/storage-provisioner"))."volume.kubernetes.io/storage-provisioner") |\n\t\t\tdel(.spec.volumeMode) |\n\t\t\tdel(.. | select(has("volume.kubernetes.io/selected-node"))."volume.kubernetes.io/selected-node") |\n\t\t\tdel(.. | select(has("percona.com/last-config-hash"))."percona.com/last-config-hash") |\n\t\t\tdel(.. | select(has("percona.com/configuration-hash"))."percona.com/configuration-hash") |\n\t\t\tdel(.. | select(has("percona.com/ssl-hash"))."percona.com/ssl-hash") |\n\t\t\tdel(.. | select(has("percona.com/ssl-internal-hash"))."percona.com/ssl-internal-hash") |\n\t\t\tdel(.spec.volumeClaimTemplates[].spec.volumeMode | select(. == "Filesystem")) |\n\t\t\tdel(.. | select(has("healthCheckNodePort")).healthCheckNodePort) |\n\t\t\tdel(.. | select(has("nodePort")).nodePort) |\n\t\t\tdel(.status) |\n\t\t\t(.. | select(tag == "!!str")) |= sub("one-pod-22664", "NAME_SPACE") |\n\t\t\tdel(.spec.volumeClaimTemplates[].apiVersion) |\n\t\t\tdel(.spec.volumeClaimTemplates[].kind) |\n\t\t\tdel(.spec.ipFamilies) |\n\t\t\tdel(.spec.ipFamilyPolicy) |\n\t\t\t(.. | select(. == "extensions/v1beta1")) = "apps/v1" |\n\t\t\t(.. | select(. == "batch/v1beta1")) = "batch/v1" ' - ++ mktemp + local LAST_OUT=/tmp/tmp.2w48ljVAY8 ++ mktemp + local LAST_ERR=/tmp/tmp.qyUoa5JN2A + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get -o yaml service/one-pod-rs0 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.2w48ljVAY8 + cat /tmp/tmp.qyUoa5JN2A + rm /tmp/tmp.2w48ljVAY8 /tmp/tmp.qyUoa5JN2A + return 0 + yq -i eval 'del(.spec.persistentVolumeClaimRetentionPolicy)' /tmp/tmp.4LFAgfd8qq/service_one-pod-rs0.yml + version_gt 1.22 ++ echo '1.32 >= 1.22' ++ bc -l + '[' 1 -eq 1 ']' + return 0 + yq -i eval 'del(.spec.internalTrafficPolicy)' /tmp/tmp.4LFAgfd8qq/service_one-pod-rs0.yml + yq -i eval 'del(.spec.allocateLoadBalancerNodePorts)' /tmp/tmp.4LFAgfd8qq/service_one-pod-rs0.yml + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/service_one-pod-rs0.yml == */cronjob* ]] + '[' -n '' ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/service_one-pod-rs0.yml /tmp/tmp.4LFAgfd8qq/service_one-pod-rs0.yml + log 'compare_kubectl: service/one-pod-rs0 OK' + set +o xtrace [2026-04-14T11:13:56+0000] compare_kubectl: service/one-pod-rs0 OK + compare_kubectl pvc/mongod-data-one-pod-rs0-0 + local resource=pvc/mongod-data-one-pod-rs0-0 + local postfix= + local skip_generation_check= + local expected_result=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/pvc_mongod-data-one-pod-rs0-0.yml + local new_result=/tmp/tmp.4LFAgfd8qq/pvc_mongod-data-one-pod-rs0-0.yml + '[' -n '' -a -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/pvc_mongod-data-one-pod-rs0-0-oc.yml ']' + kubectl_bin get -o yaml pvc/mongod-data-one-pod-rs0-0 + yq eval $'\n\t\t\tdel(.metadata.ownerReferences[].apiVersion) |\n\t\t\tdel(.metadata.managedFields) |\n\t\t\tdel(.. | select(has("creationTimestamp")).creationTimestamp) |\n\t\t\tdel(.. | select(has("namespace")).namespace) |\n\t\t\tdel(.. | select(has("uid")).uid) |\n\t\t\tdel(.metadata.resourceVersion) |\n\t\t\tdel(.spec.template.spec.containers[].env[] | select(.name == "NAMESPACE")) |\n\t\t\tdel(.metadata.selfLink) |\n\t\t\tdel(.metadata.annotations."cloud.google.com/neg") |\n\t\t\tdel(.metadata.annotations."kubectl.kubernetes.io/last-applied-configuration") |\n\t\t\tdel(.. | select(has("image")).image) |\n\t\t\tdel(.. | select(has("clusterIP")).clusterIP) |\n\t\t\tdel(.. | select(has("clusterIPs")).clusterIPs) |\n\t\t\tdel(.. | select(has("dataSource")).dataSource) |\n\t\t\tdel(.. | select(has("procMount")).procMount) |\n\t\t\tdel(.. | select(has("storageClassName")).storageClassName) |\n\t\t\tdel(.. | select(has("finalizers")).finalizers) |\n\t\t\tdel(.. | select(has("kubernetes.io/pvc-protection"))."kubernetes.io/pvc-protection") |\n\t\t\tdel(.. | select(has("volumeName")).volumeName) |\n\t\t\tdel(.. | select(has("volume.beta.kubernetes.io/storage-provisioner"))."volume.beta.kubernetes.io/storage-provisioner") |\n\t\t\tdel(.. | select(has("volume.kubernetes.io/storage-provisioner"))."volume.kubernetes.io/storage-provisioner") |\n\t\t\tdel(.spec.volumeMode) |\n\t\t\tdel(.. | select(has("volume.kubernetes.io/selected-node"))."volume.kubernetes.io/selected-node") |\n\t\t\tdel(.. | select(has("percona.com/last-config-hash"))."percona.com/last-config-hash") |\n\t\t\tdel(.. | select(has("percona.com/configuration-hash"))."percona.com/configuration-hash") |\n\t\t\tdel(.. | select(has("percona.com/ssl-hash"))."percona.com/ssl-hash") |\n\t\t\tdel(.. | select(has("percona.com/ssl-internal-hash"))."percona.com/ssl-internal-hash") |\n\t\t\tdel(.spec.volumeClaimTemplates[].spec.volumeMode | select(. == "Filesystem")) |\n\t\t\tdel(.. | select(has("healthCheckNodePort")).healthCheckNodePort) |\n\t\t\tdel(.. | select(has("nodePort")).nodePort) |\n\t\t\tdel(.status) |\n\t\t\t(.. | select(tag == "!!str")) |= sub("one-pod-22664", "NAME_SPACE") |\n\t\t\tdel(.spec.volumeClaimTemplates[].apiVersion) |\n\t\t\tdel(.spec.volumeClaimTemplates[].kind) |\n\t\t\tdel(.spec.ipFamilies) |\n\t\t\tdel(.spec.ipFamilyPolicy) |\n\t\t\t(.. | select(. == "extensions/v1beta1")) = "apps/v1" |\n\t\t\t(.. | select(. == "batch/v1beta1")) = "batch/v1" ' - ++ mktemp + local LAST_OUT=/tmp/tmp.Bapg0g1PRh ++ mktemp + local LAST_ERR=/tmp/tmp.m5eNjZU2tR + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get -o yaml pvc/mongod-data-one-pod-rs0-0 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.Bapg0g1PRh + cat /tmp/tmp.m5eNjZU2tR + rm /tmp/tmp.Bapg0g1PRh /tmp/tmp.m5eNjZU2tR + return 0 + yq -i eval 'del(.spec.persistentVolumeClaimRetentionPolicy)' /tmp/tmp.4LFAgfd8qq/pvc_mongod-data-one-pod-rs0-0.yml + version_gt 1.22 ++ echo '1.32 >= 1.22' ++ bc -l + '[' 1 -eq 1 ']' + return 0 + yq -i eval 'del(.spec.internalTrafficPolicy)' /tmp/tmp.4LFAgfd8qq/pvc_mongod-data-one-pod-rs0-0.yml + yq -i eval 'del(.spec.allocateLoadBalancerNodePorts)' /tmp/tmp.4LFAgfd8qq/pvc_mongod-data-one-pod-rs0-0.yml + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/pvc_mongod-data-one-pod-rs0-0.yml == */cronjob* ]] + '[' -n '' ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/pvc_mongod-data-one-pod-rs0-0.yml /tmp/tmp.4LFAgfd8qq/pvc_mongod-data-one-pod-rs0-0.yml + log 'compare_kubectl: pvc/mongod-data-one-pod-rs0-0 OK' + set +o xtrace [2026-04-14T11:13:57+0000] compare_kubectl: pvc/mongod-data-one-pod-rs0-0 OK + desc 'check system log' + set +o xtrace ----------------------------------------------------------------------------------- check system log ----------------------------------------------------------------------------------- + run_mongo 'db.serverCmdLineOpts()' clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664 + local 'command=db.serverCmdLineOpts()' + local uri=clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664 + local driver=mongodb+srv + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664 == *cfg* ]] + grep -E -v 'I NETWORK|W NETWORK|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|bye' + /usr/sbin/sed -re 's/((Timestamp|BinData|NumberLong)\((.+?\)))/{}/g' + jq .parsed.systemLog ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.pOCWiK5TQg +++ mktemp ++ local LAST_ERR=/tmp/tmp.7mGs5dBjvB ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.pOCWiK5TQg ++ cat /tmp/tmp.7mGs5dBjvB ++ rm /tmp/tmp.pOCWiK5TQg /tmp/tmp.7mGs5dBjvB ++ return 0 + local client_container=psmdb-client-bb8b97679-dkcf2 + kubectl_bin exec psmdb-client-bb8b97679-dkcf2 -- bash -c 'printf '\''db.serverCmdLineOpts()\n'\'' | mongo mongodb+srv://clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.1g1nLAXGFH ++ mktemp + local LAST_ERR=/tmp/tmp.pSZsQKSqpL + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-bb8b97679-dkcf2 -- bash -c 'printf '\''db.serverCmdLineOpts()\n'\'' | mongo mongodb+srv://clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.1g1nLAXGFH + cat /tmp/tmp.pSZsQKSqpL + rm /tmp/tmp.1g1nLAXGFH /tmp/tmp.pSZsQKSqpL + return 0 + diff /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/serverCmdLineOpts_parsed_systemLog.json /tmp/tmp.4LFAgfd8qq/parsed_systemLog.json + desc 'create secret and check custom config' + set +o xtrace ----------------------------------------------------------------------------------- create secret and check custom config ----------------------------------------------------------------------------------- + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/conf/mongod-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.lMcmeYKhtt ++ mktemp + local LAST_ERR=/tmp/tmp.JGo4rUJCYC + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/conf/mongod-secret.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.lMcmeYKhtt secret/one-pod-rs0-mongod created + cat /tmp/tmp.JGo4rUJCYC + rm /tmp/tmp.lMcmeYKhtt /tmp/tmp.JGo4rUJCYC + return 0 + wait_cluster_consistency one-pod + local cluster_name=one-pod + local wait_time=32 + retry=0 + sleep 7 + echo -n 'waiting for cluster readyness' waiting for cluster readyness++ kubectl_bin get psmdb one-pod -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RM1wbgYPWm +++ mktemp ++ local LAST_ERR=/tmp/tmp.I4DYdpgH3I ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb one-pod -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.RM1wbgYPWm ++ cat /tmp/tmp.I4DYdpgH3I ++ rm /tmp/tmp.RM1wbgYPWm /tmp/tmp.I4DYdpgH3I ++ return 0 + [[ initializing == ready ]] + let retry+=1 + '[' 1 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb one-pod -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.dXeoytafJ6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.DxalXky360 ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb one-pod -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.dXeoytafJ6 ++ cat /tmp/tmp.DxalXky360 ++ rm /tmp/tmp.dXeoytafJ6 /tmp/tmp.DxalXky360 ++ return 0 + [[ initializing == ready ]] + let retry+=1 + '[' 2 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb one-pod -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.GNP0MX5pm7 +++ mktemp ++ local LAST_ERR=/tmp/tmp.ANOueMxCwj ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb one-pod -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.GNP0MX5pm7 ++ cat /tmp/tmp.ANOueMxCwj ++ rm /tmp/tmp.GNP0MX5pm7 /tmp/tmp.ANOueMxCwj ++ return 0 + [[ initializing == ready ]] + let retry+=1 + '[' 3 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb one-pod -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.yQSWhoWGnT +++ mktemp ++ local LAST_ERR=/tmp/tmp.6t3GlmxwlY ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb one-pod -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.yQSWhoWGnT ++ cat /tmp/tmp.6t3GlmxwlY ++ rm /tmp/tmp.yQSWhoWGnT /tmp/tmp.6t3GlmxwlY ++ return 0 + [[ initializing == ready ]] + let retry+=1 + '[' 4 -ge 32 ']' + echo -n . .+ sleep 10 ++ kubectl_bin get psmdb one-pod -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.cxotL1cCCh +++ mktemp ++ local LAST_ERR=/tmp/tmp.nN1W4rkhID ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb one-pod -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.cxotL1cCCh ++ cat /tmp/tmp.nN1W4rkhID ++ rm /tmp/tmp.cxotL1cCCh /tmp/tmp.nN1W4rkhID ++ return 0 + [[ ready == ready ]] + echo .OK .OK + desc 'check if statefulset created with expected config' + set +o xtrace ----------------------------------------------------------------------------------- check if statefulset created with expected config ----------------------------------------------------------------------------------- + compare_kubectl statefulset/one-pod-rs0 -secret + local resource=statefulset/one-pod-rs0 + local postfix=-secret + local skip_generation_check= + local expected_result=/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/statefulset_one-pod-rs0-secret.yml + local new_result=/tmp/tmp.4LFAgfd8qq/statefulset_one-pod-rs0.yml + '[' -n '' -a -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/statefulset_one-pod-rs0-secret-oc.yml ']' + kubectl_bin get -o yaml statefulset/one-pod-rs0 + yq eval $'\n\t\t\tdel(.metadata.ownerReferences[].apiVersion) |\n\t\t\tdel(.metadata.managedFields) |\n\t\t\tdel(.. | select(has("creationTimestamp")).creationTimestamp) |\n\t\t\tdel(.. | select(has("namespace")).namespace) |\n\t\t\tdel(.. | select(has("uid")).uid) |\n\t\t\tdel(.metadata.resourceVersion) |\n\t\t\tdel(.spec.template.spec.containers[].env[] | select(.name == "NAMESPACE")) |\n\t\t\tdel(.metadata.selfLink) |\n\t\t\tdel(.metadata.annotations."cloud.google.com/neg") |\n\t\t\tdel(.metadata.annotations."kubectl.kubernetes.io/last-applied-configuration") |\n\t\t\tdel(.. | select(has("image")).image) |\n\t\t\tdel(.. | select(has("clusterIP")).clusterIP) |\n\t\t\tdel(.. | select(has("clusterIPs")).clusterIPs) |\n\t\t\tdel(.. | select(has("dataSource")).dataSource) |\n\t\t\tdel(.. | select(has("procMount")).procMount) |\n\t\t\tdel(.. | select(has("storageClassName")).storageClassName) |\n\t\t\tdel(.. | select(has("finalizers")).finalizers) |\n\t\t\tdel(.. | select(has("kubernetes.io/pvc-protection"))."kubernetes.io/pvc-protection") |\n\t\t\tdel(.. | select(has("volumeName")).volumeName) |\n\t\t\tdel(.. | select(has("volume.beta.kubernetes.io/storage-provisioner"))."volume.beta.kubernetes.io/storage-provisioner") |\n\t\t\tdel(.. | select(has("volume.kubernetes.io/storage-provisioner"))."volume.kubernetes.io/storage-provisioner") |\n\t\t\tdel(.spec.volumeMode) |\n\t\t\tdel(.. | select(has("volume.kubernetes.io/selected-node"))."volume.kubernetes.io/selected-node") |\n\t\t\tdel(.. | select(has("percona.com/last-config-hash"))."percona.com/last-config-hash") |\n\t\t\tdel(.. | select(has("percona.com/configuration-hash"))."percona.com/configuration-hash") |\n\t\t\tdel(.. | select(has("percona.com/ssl-hash"))."percona.com/ssl-hash") |\n\t\t\tdel(.. | select(has("percona.com/ssl-internal-hash"))."percona.com/ssl-internal-hash") |\n\t\t\tdel(.spec.volumeClaimTemplates[].spec.volumeMode | select(. == "Filesystem")) |\n\t\t\tdel(.. | select(has("healthCheckNodePort")).healthCheckNodePort) |\n\t\t\tdel(.. | select(has("nodePort")).nodePort) |\n\t\t\tdel(.status) |\n\t\t\t(.. | select(tag == "!!str")) |= sub("one-pod-22664", "NAME_SPACE") |\n\t\t\tdel(.spec.volumeClaimTemplates[].apiVersion) |\n\t\t\tdel(.spec.volumeClaimTemplates[].kind) |\n\t\t\tdel(.spec.ipFamilies) |\n\t\t\tdel(.spec.ipFamilyPolicy) |\n\t\t\t(.. | select(. == "extensions/v1beta1")) = "apps/v1" |\n\t\t\t(.. | select(. == "batch/v1beta1")) = "batch/v1" ' - ++ mktemp + local LAST_OUT=/tmp/tmp.wj1uMPxmFr ++ mktemp + local LAST_ERR=/tmp/tmp.VVhuih10Xu + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl get -o yaml statefulset/one-pod-rs0 + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.wj1uMPxmFr + cat /tmp/tmp.VVhuih10Xu + rm /tmp/tmp.wj1uMPxmFr /tmp/tmp.VVhuih10Xu + return 0 + yq -i eval 'del(.spec.persistentVolumeClaimRetentionPolicy)' /tmp/tmp.4LFAgfd8qq/statefulset_one-pod-rs0.yml + version_gt 1.22 ++ echo '1.32 >= 1.22' ++ bc -l + '[' 1 -eq 1 ']' + return 0 + yq -i eval 'del(.spec.internalTrafficPolicy)' /tmp/tmp.4LFAgfd8qq/statefulset_one-pod-rs0.yml + yq -i eval 'del(.spec.allocateLoadBalancerNodePorts)' /tmp/tmp.4LFAgfd8qq/statefulset_one-pod-rs0.yml + [[ /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/statefulset_one-pod-rs0-secret.yml == */cronjob* ]] + '[' -n '' ']' + [[ 0 -eq 0 ]] + diff -u /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/statefulset_one-pod-rs0-secret.yml /tmp/tmp.4LFAgfd8qq/statefulset_one-pod-rs0.yml + log 'compare_kubectl: statefulset/one-pod-rs0 OK' + set +o xtrace [2026-04-14T11:14:55+0000] compare_kubectl: statefulset/one-pod-rs0 OK + run_mongo 'db.serverCmdLineOpts()' clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664 + local 'command=db.serverCmdLineOpts()' + local uri=clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664 + local driver=mongodb+srv + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664 == *cfg* ]] + grep -E -v 'I NETWORK|W NETWORK|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|bye' ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' + /usr/sbin/sed -re 's/((Timestamp|BinData|NumberLong)\((.+?\)))/{}/g' + jq .parsed.systemLog +++ mktemp ++ local LAST_OUT=/tmp/tmp.5YiSzfZlqu +++ mktemp ++ local LAST_ERR=/tmp/tmp.wm7UZdg50q ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.5YiSzfZlqu ++ cat /tmp/tmp.wm7UZdg50q ++ rm /tmp/tmp.5YiSzfZlqu /tmp/tmp.wm7UZdg50q ++ return 0 + local client_container=psmdb-client-bb8b97679-dkcf2 + kubectl_bin exec psmdb-client-bb8b97679-dkcf2 -- bash -c 'printf '\''db.serverCmdLineOpts()\n'\'' | mongo mongodb+srv://clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.BimpzXnfm2 ++ mktemp + local LAST_ERR=/tmp/tmp.L10I4tOMqo + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-bb8b97679-dkcf2 -- bash -c 'printf '\''db.serverCmdLineOpts()\n'\'' | mongo mongodb+srv://clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.BimpzXnfm2 + cat /tmp/tmp.L10I4tOMqo + rm /tmp/tmp.BimpzXnfm2 /tmp/tmp.L10I4tOMqo + return 0 + diff /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/compare/serverCmdLineOpts_parsed_systemLog_secret.json /tmp/tmp.4LFAgfd8qq/parsed_systemLog_secret.json + desc 'create secret and check custom config' + set +o xtrace ----------------------------------------------------------------------------------- create secret and check custom config ----------------------------------------------------------------------------------- + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/conf/mongod-secret-2.yml ++ mktemp + local LAST_OUT=/tmp/tmp.25ybjIzc4g ++ mktemp + local LAST_ERR=/tmp/tmp.BICgN8nEvz + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2256/e2e-tests/one-pod/conf/mongod-secret-2.yml + exit_status=0 + set -e + '[' 0 '!=' 0 -a -n 1 ']' + break + cat /tmp/tmp.25ybjIzc4g secret/one-pod-rs0-mongod configured + cat /tmp/tmp.BICgN8nEvz + rm /tmp/tmp.25ybjIzc4g /tmp/tmp.BICgN8nEvz + return 0 + wait_cluster_consistency one-pod + local cluster_name=one-pod + local wait_time=32 + retry=0 + sleep 7 + echo -n 'waiting for cluster readyness' waiting for cluster readyness++ kubectl_bin get psmdb one-pod -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.euYLkZd64j +++ mktemp ++ local LAST_ERR=/tmp/tmp.pfaFrVBk9P ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get psmdb one-pod -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.euYLkZd64j ++ cat /tmp/tmp.pfaFrVBk9P ++ rm /tmp/tmp.euYLkZd64j /tmp/tmp.pfaFrVBk9P ++ return 0 + [[ ready == ready ]] + echo .OK .OK + run_mongo 'db.serverCmdLineOpts()' clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664 + local 'command=db.serverCmdLineOpts()' + local uri=clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664 + local driver=mongodb+srv + local suffix=.svc.cluster.local + local mongo_flag= + local replica_set=rs0 + [[ clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664 == *cfg* ]] + grep -E -v 'I NETWORK|W NETWORK|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:|bye' + /usr/sbin/sed -re 's/((Timestamp|BinData|NumberLong)\((.+?\)))/{}/g' ++ kubectl_bin get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp + jq .parsed.systemLog ++ local LAST_OUT=/tmp/tmp.jmwyfPLOf3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.0FYZhfxCTJ ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in $(seq 0 2) ++ set +e ++ kubectl get pods --selector=name=psmdb-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 -a -n 1 ']' ++ break ++ cat /tmp/tmp.jmwyfPLOf3 ++ cat /tmp/tmp.0FYZhfxCTJ ++ rm /tmp/tmp.jmwyfPLOf3 /tmp/tmp.0FYZhfxCTJ ++ return 0 + local client_container=psmdb-client-bb8b97679-dkcf2 + kubectl_bin exec psmdb-client-bb8b97679-dkcf2 -- bash -c 'printf '\''db.serverCmdLineOpts()\n'\'' | mongo mongodb+srv://clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' ++ mktemp + local LAST_OUT=/tmp/tmp.f79LubmV2m ++ mktemp + local LAST_ERR=/tmp/tmp.OW3SJd8bO9 + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-bb8b97679-dkcf2 -- bash -c 'printf '\''db.serverCmdLineOpts()\n'\'' | mongo mongodb+srv://clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=2 + set -e + '[' 2 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.f79LubmV2m + cat /tmp/tmp.OW3SJd8bO9 DNSHostNotFound: Failed to look up service "_mongodb._tcp.one-pod-rs0.one-pod-22664.svc.cluster.local": Success try 'mongo --help' for more information command terminated with exit code 2 + sleep 0 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-bb8b97679-dkcf2 -- bash -c 'printf '\''db.serverCmdLineOpts()\n'\'' | mongo mongodb+srv://clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=2 + set -e + '[' 2 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.f79LubmV2m + cat /tmp/tmp.OW3SJd8bO9 DNSHostNotFound: Failed to look up service "_mongodb._tcp.one-pod-rs0.one-pod-22664.svc.cluster.local": Success try 'mongo --help' for more information command terminated with exit code 2 + sleep 4 + for i in $(seq 0 2) + set +e + kubectl exec psmdb-client-bb8b97679-dkcf2 -- bash -c 'printf '\''db.serverCmdLineOpts()\n'\'' | mongo mongodb+srv://clusterAdmin:clusterAdmin123456@one-pod-rs0.one-pod-22664.svc.cluster.local/admin?ssl=false\&replicaSet=rs0 ' + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.f79LubmV2m + cat /tmp/tmp.OW3SJd8bO9 command terminated with exit code 1 + sleep 8 + cat /tmp/tmp.f79LubmV2m + cat /tmp/tmp.OW3SJd8bO9 command terminated with exit code 1 + rm /tmp/tmp.f79LubmV2m /tmp/tmp.OW3SJd8bO9 + return 1 jq: parse error: Invalid numeric literal at line 2, column 6