which: no gsed in (/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/snapd/snap/bin) mkdir -p e2e-tests/reports e2e-tests/logs ========================================================================================= test session starts ========================================================================================== platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0 -- /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2491/.venv/bin/python cachedir: .pytest_cache metadata: {'Python': '3.14.6', 'Platform': 'Linux-6.18.6-200.fc43.x86_64-x86_64-with-glibc2.42', 'Packages': {'pytest': '9.1.1', 'pluggy': '1.6.0'}, 'Plugins': {'html': '4.2.0', 'dependency': '0.6.1', 'json-report': '1.5.0', 'metadata': '3.1.1'}, 'CI': 'true', 'BUILD_NUMBER': '2', 'BUILD_ID': '2', 'BUILD_URL': 'https://cloud.cd.percona.com/job/cloud-psmdb-operator/job/PR-2491/2/', 'NODE_NAME': 'hcloud-ir3nxfnaccwe6fha', 'JOB_NAME': 'cloud-psmdb-operator/PR-2491', 'BUILD_TAG': 'jenkins-cloud-psmdb-operator-PR-2491-2', 'EXECUTOR_NUMBER': '0', 'JENKINS_URL': 'https://cloud.cd.percona.com/', 'WORKSPACE': '/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2491', 'GIT_COMMIT': '6cfab0ed6bdcd3601b0c48816a22ee4ab446b92a', 'GIT_URL': 'https://github.com/percona/percona-server-mongodb-operator.git', 'GIT_BRANCH': 'PR-2491'} rootdir: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2491 configfile: pyproject.toml plugins: html-4.2.0, dependency-0.6.1, json-report-1.5.0, metadata-3.1.1 collecting ... collected 4 items e2e-tests/arbiter/test_arbiter.py::TestArbiter::test_create_cluster [11:08:49.641034] WARNING kubectl error: Warning: version difference between client (1.36) and server (1.33) exceeds the supported minor version skew of +/-1 [11:08:50.359946] INFO Environment variables: KUBE_VERSION=1.33 PLATFORM=gke ARCH= EKS= GKE=1 AKS= OPENSHIFT= KIND= MINIKUBE= RANCHER= API=psmdb.percona.com/v1 REGISTRY_NAME=docker.io GIT_COMMIT=6cfab0ed6bdcd3601b0c48816a22ee4ab446b92a GIT_BRANCH=PR-2491 OPERATOR_VERSION=1.24.0 IMAGE=docker.io/perconalab/percona-server-mongodb-operator:PR-2491-6cfab0ed6 IMAGE_MONGOD=docker.io/perconalab/percona-server-mongodb-operator:main-mongod8.0 IMAGE_MONGOD_CHAIN=docker.io/perconalab/percona-server-mongodb-operator:main-mongod6.0 docker.io/perconalab/percona-server-mongodb-operator:main-mongod7.0 docker.io/perconalab/percona-server-mongodb-operator:main-mongod8.0 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/percona/pmm-client:2.44.1-1 IMAGE_PMM_SERVER=docker.io/perconalab/pmm-server:dev-latest IMAGE_PMM3_CLIENT=docker.io/perconalab/pmm-client:3-dev-latest IMAGE_PMM3_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:0.9.0 IMAGE_AWS_CLI=docker.io/amazon/aws-cli:2.34.60 CERT_MANAGER_VER=1.21.0 CHAOS_MESH_VER=2.7.1 MINIO_VER=5.4.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 [11:08:50.362142] INFO Creating test environment [11:08:50.362632] INFO Deleting old CRDs and RBACs [11:09:05.352197] INFO Cleaning up all old namespaces [11:09:05.787000] INFO Cleaning up existing namespace [11:09:08.001410] INFO Create namespace psmdb-operator [11:09:09.126179] INFO Start PSMDB operator [11:09:20.954063] INFO Waiting for pod/percona-server-mongodb-operator-78964f6749-qj5bs to be ready... [11:09:28.439000] INFO pod/percona-server-mongodb-operator-78964f6749-qj5bs is ready [11:09:29.012349] INFO Operator startup: 2026-08-04T11:09:26.436Z INFO setup Manager starting up {"gitCommit": "6cfab0ed6bdcd3601b0c48816a22ee4ab446b92a", "gitBranch": "PR-2491-6cfab0ed6", "buildTime": "", "goVersion": "go1.26.5", "os": "linux", "arch": "amd64"} [11:09:29.018223] INFO Cleaning up all old namespaces [11:09:30.120071] INFO Cleaning up existing namespace [11:09:32.305088] INFO Create namespace arbiter-ed1d09c1 [11:09:32.769933] INFO Deploying cert-manager [11:09:51.937275] 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. [11:10:01.332473] WARNING kubectl error: E0804 11:09:56.625548 137375 reflector.go:227] "Failed to watch" err="Get \"https://34.29.207.102/api/v1/namespaces/cert-manager/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dcert-manager-cainjector-54796c9fd9-r6swx&resourceVersion=1 785841796368639018&timeoutSeconds=458&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" E0804 11:09:56.927471 137375 reflector.go:227] "Failed to watch" err="Get \"https://34.29.207.102/api/v1/namespaces/cert-manager/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dcert-manager-ff6db7bc5-7lkk5&resourceVersion=1785841796368 639018&timeoutSeconds=326&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" [11:10:02.995173] INFO Creating PSMDB cluster [11:10:06.191515] INFO Waiting for pod/arbiter-rs0-arbiter-0 to be ready... [11:10:47.030932] INFO pod/arbiter-rs0-arbiter-0 is ready [11:10:47.034195] INFO Waiting for pod/arbiter-rs0-0 to be ready... [11:10:54.728368] INFO pod/arbiter-rs0-0 is ready [11:10:55.858706] INFO Waiting for pod/arbiter-rs0-1 to be ready... [11:11:39.135874] 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 [11:11:56.573970] INFO Waiting for pod/psmdb-client-mongosh-5978787ffb-988kn to be ready... [11:12:10.165119] INFO pod/psmdb-client-mongosh-5978787ffb-988kn is ready [11:12:10.167472] 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 [11:16:18.846587] INFO Running: test.find({}, { _id: 0 }).toArray() on db myApp [11:16:21.007021] INFO MongoDB output: [{'x': 100500}] [11:16:21.008579] INFO Running: test.find({}, { _id: 0 }).toArray() on db myApp [11:16:23.145010] 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 [11:16:27.937547] 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. [11:16:27.939316] INFO Waiting for pod/arbiter-rs0-0 to be ready... [11:16:57.146357] INFO pod/arbiter-rs0-0 is ready [11:16:57.729030] INFO Waiting for pod/arbiter-rs0-1 to be ready... [11:16:58.277313] INFO pod/arbiter-rs0-1 is ready [11:17:12.753142] INFO Running: test.find({}, { _id: 0 }).toArray() on db myApp [11:17:14.927072] INFO MongoDB output: [{'x': 100500}] [11:17:14.929183] INFO Running: test.find({}, { _id: 0 }).toArray() on db myApp [11:17:17.210951] INFO MongoDB output: [{'x': 100500}] ==================================================================================================== [PASSED] e2e-tests/arbiter/test_arbiter.py::TestArbiter::test_primary_failover ==================================================================================================== [11:17:18.471387] INFO Deleting cert-manager [11:17:42.839241] INFO Cleaning up test environment ------------------------------------------------ generated xml file: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2491/e2e-tests/reports/arbiter.xml ------------------------------------------------- ------------------------------------------- Generated html report: file:///mnt/jenkins/workspace/cloud-psmdb-operator_PR-2491/e2e-tests/reports/arbiter.html ------------------------------------------- ==================================================================================== 4 passed in 584.00s (0:09:43) =====================================================================================