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 4 items e2e-tests/arbiter/test_arbiter.py::TestArbiter::test_create_cluster [05:51:08.819989] WARNING kubectl error: Warning: version difference between client (1.37) and server (1.34) exceeds the supported minor version skew of +/-1 [05:51:10.009015] 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 [05:51:10.017438] INFO Creating test environment [05:51:10.018887] INFO Deleting cert-manager [05:51:26.195899] INFO Deleting old CRDs and RBACs [05:51:42.741527] INFO Cleaning up all old namespaces [05:51:43.689875] INFO Cleaning up existing namespace [05:51:45.797010] INFO Create namespace psmdb-operator [05:51:46.851104] INFO Start PSMDB operator [05:51:59.149997] INFO Waiting for pod/percona-server-mongodb-operator-b57dc4869-vnhkx to be ready... [05:52:07.356696] INFO pod/percona-server-mongodb-operator-b57dc4869-vnhkx is ready [05:52:08.454238] INFO Operator startup: 2026-11-23T05:52:04.736Z INFO setup Manager starting up {"gitCommit": "27e0b796072fe59ec1fa78fca82dc7491ddb9891", "gitBranch": "PR-2715-27e0b7960", "buildTime": "", "goVersion": "go1.27.4", "os": "linux", "arch": "amd64"} [05:52:08.460039] INFO Cleaning up all old namespaces [05:52:09.429615] INFO Cleaning up existing namespace [05:52:11.442882] INFO Create namespace arbiter-14f520a2 [05:52:12.400921] INFO Deploying cert-manager [05:52:32.471695] WARNING kubectl error: Warning: resource namespaces/cert-manager is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically. [05:52:48.572898] INFO Creating PSMDB cluster [05:52:51.523520] INFO Waiting for pod/arbiter-rs0-arbiter-0 to be ready... [05:53:28.989577] INFO pod/arbiter-rs0-arbiter-0 is ready [05:53:28.991103] INFO Waiting for pod/arbiter-rs0-0 to be ready... [05:53:32.136059] INFO pod/arbiter-rs0-0 is ready [05:53:33.242885] INFO Waiting for pod/arbiter-rs0-1 to be ready... [05:54:00.340374] INFO pod/arbiter-rs0-1 is ready ==================================================================================================== [PASSED] e2e-tests/arbiter/test_arbiter.py::TestArbiter::test_create_cluster ==================================================================================================== e2e-tests/arbiter/test_arbiter.py::TestArbiter::test_arbiter_healthy_in_replset [05:54:18.397509] INFO Waiting for pod/psmdb-client-mongosh-7c97948d97-7mj4s to be ready... [05:54:30.956713] INFO pod/psmdb-client-mongosh-7c97948d97-7mj4s is ready [05:54:30.957864] INFO Waiting 240s for the arbiter to converge and checking it doesn't restart ==================================================================================================== [PASSED] e2e-tests/arbiter/test_arbiter.py::TestArbiter::test_arbiter_healthy_in_replset ==================================================================================================== e2e-tests/arbiter/test_arbiter.py::TestArbiter::test_write_and_read_data [05:58:40.470853] INFO Running: test.find({}, { _id: 0 }).toArray() on db myApp [05:58:42.462335] INFO MongoDB output: [{'x': 100500}] [05:58:42.464756] INFO Running: test.find({}, { _id: 0 }).toArray() on db myApp [05:58:44.489031] INFO MongoDB output: [{'x': 100500}] ==================================================================================================== [PASSED] e2e-tests/arbiter/test_arbiter.py::TestArbiter::test_write_and_read_data ==================================================================================================== e2e-tests/arbiter/test_arbiter.py::TestArbiter::test_primary_failover [05:58:50.071386] WARNING kubectl error: Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. [05:58:50.073453] INFO Waiting for pod/arbiter-rs0-0 to be ready... [05:59:27.232236] INFO pod/arbiter-rs0-0 is ready [05:59:28.404783] INFO Waiting for pod/arbiter-rs0-1 to be ready... [05:59:29.421291] INFO pod/arbiter-rs0-1 is ready [05:59:43.614805] INFO Running: test.find({}, { _id: 0 }).toArray() on db myApp [05:59:45.636409] INFO MongoDB output: [{'x': 100500}] [05:59:45.638376] INFO Running: test.find({}, { _id: 0 }).toArray() on db myApp [05:59:47.670468] INFO MongoDB output: [{'x': 100500}] ==================================================================================================== [PASSED] e2e-tests/arbiter/test_arbiter.py::TestArbiter::test_primary_failover ==================================================================================================== [05:59:48.838156] INFO Deleting cert-manager [06:00:13.903423] INFO Cleaning up test environment ------------------------------------------------ generated xml file: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/reports/arbiter.xml ------------------------------------------------- ------------------------------------------- Generated html report: file:///mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/reports/arbiter.html ------------------------------------------- ==================================================================================== 4 passed in 570.11s (0:09:30) =====================================================================================