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-2742/.venv/bin/python cachedir: .pytest_cache metadata: {'Python': '3.14.10', 'Platform': 'Linux-7.1.6-201.fc44.x86_64-x86_64-with-glibc2.43', 'Packages': {'pytest': '9.1.1', 'pluggy': '1.7.0'}, 'Plugins': {'json-report': '1.5.0', 'dependency': '0.6.1', 'html': '4.2.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-2742/2/', 'NODE_NAME': 'hcloud-bfkncubytbaldetv', 'JOB_NAME': 'cloud-psmdb-operator/PR-2742', 'BUILD_TAG': 'jenkins-cloud-psmdb-operator-PR-2742-2', 'EXECUTOR_NUMBER': '0', 'JENKINS_URL': 'https://cloud.cd.percona.com/', 'WORKSPACE': '/mnt/jenkins/workspace/cloud-psmdb-operator_PR-2742', 'GIT_COMMIT': 'cf134fefe3b251937747923cc1a37f3d6e0fa43f', 'GIT_URL': 'https://github.com/percona/percona-server-mongodb-operator.git', 'GIT_BRANCH': 'PR-2742'} rootdir: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2742 configfile: pyproject.toml plugins: json-report-1.5.0, dependency-0.6.1, html-4.2.0, metadata-3.1.1 collecting ... collected 6 items e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_create_cluster [10:02:45.584092] WARNING kubectl error: Warning: version difference between client (1.37) and server (1.34) exceeds the supported minor version skew of +/-1 [10:02:46.348842] 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=cf134fefe3b251937747923cc1a37f3d6e0fa43f GIT_BRANCH=PR-2742 OPERATOR_VERSION=1.24.0 IMAGE=docker.io/perconalab/percona-server-mongodb-operator:PR-2742-cf134fefe 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 [10:02:46.351709] INFO Creating test environment [10:02:46.352408] INFO Deleting cert-manager [10:03:03.197188] INFO Deleting old CRDs and RBACs [10:03:19.416166] INFO Cleaning up all old namespaces [10:03:19.909221] INFO Cleaning up existing namespace [10:03:21.882519] INFO Create namespace psmdb-operator [10:03:22.923552] INFO Start PSMDB operator [10:03:33.619843] INFO Waiting for pod/percona-server-mongodb-operator-977d8f786-b7dxd to be ready... [10:03:34.575567] INFO pod/percona-server-mongodb-operator-977d8f786-b7dxd is ready [10:03:35.679246] INFO Operator startup: 2026-11-24T10:03:33.624Z INFO setup Manager starting up {"gitCommit": "cf134fefe3b251937747923cc1a37f3d6e0fa43f", "gitBranch": "PR-2742-cf134fefe", "buildTime": "", "goVersion": "go1.27.4", "os": "linux", "arch": "amd64"} [10:03:35.681162] INFO Cleaning up all old namespaces [10:03:36.613618] INFO Cleaning up existing namespace [10:03:38.644624] INFO Create namespace logcollector-fab8f2e2 [10:03:41.252308] INFO Creating PSMDB cluster [10:03:43.929442] INFO Waiting for pod/logcollector-rs0-0 to be ready... [10:04:18.946914] INFO pod/logcollector-rs0-0 is ready [10:04:18.948388] INFO Waiting for pod/logcollector-rs0-1 to be ready... [10:04:41.953474] INFO pod/logcollector-rs0-1 is ready [10:04:43.032526] INFO Waiting for pod/logcollector-rs0-2 to be ready... [10:05:02.643201] INFO pod/logcollector-rs0-2 is ready [10:05:14.811076] INFO Waiting for cluster logcollector to be ready... [10:05:15.744009] INFO cluster logcollector is ready ==================================================================================================== [PASSED] e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_create_cluster ==================================================================================================== e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_tls_rotation [10:05:18.234203] INFO Forcing log rotation on logcollector-rs0-0 [10:05:31.393023] INFO Checking marker is absent from mongod.full.log on logcollector-rs0-0; grep exit code 1 is expected [10:05:32.965083] WARNING kubectl error: command terminated with exit code 1 [10:05:36.047737] INFO Forcing log rotation on logcollector-rs0-1 [10:05:49.249125] INFO Checking marker is absent from mongod.full.log on logcollector-rs0-1; grep exit code 1 is expected [10:05:50.746307] WARNING kubectl error: command terminated with exit code 1 [10:05:53.775223] INFO Forcing log rotation on logcollector-rs0-2 [10:06:06.996259] INFO Checking marker is absent from mongod.full.log on logcollector-rs0-2; grep exit code 1 is expected [10:06:08.537380] WARNING kubectl error: command terminated with exit code 1 ==================================================================================================== [PASSED] e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_tls_rotation ==================================================================================================== e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_tls_rotation_failure [10:06:14.100497] INFO Checking log rotation with an invalid password on logcollector-rs0-0 [10:06:15.631813] INFO Running logrotate with an invalid password on logcollector-rs0-0; a nonzero exit code is expected [10:06:17.724980] WARNING kubectl error: command terminated with exit code 1 ==================================================================================================== [PASSED] e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_tls_rotation_failure ==================================================================================================== e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_disable_tls [10:06:24.393005] INFO Waiting for cluster logcollector state=paused to be ready... [10:06:46.224518] INFO cluster logcollector state=paused is ready [10:06:48.440470] INFO Waiting for cluster logcollector state=ready to be ready... [10:07:51.260428] INFO cluster logcollector state=ready is ready [10:07:51.261786] INFO Waiting for pod/logcollector-rs0-0 to be ready... [10:07:52.353310] INFO pod/logcollector-rs0-0 is ready [10:07:52.354228] INFO Waiting for pod/logcollector-rs0-1 to be ready... [10:07:52.938967] INFO pod/logcollector-rs0-1 is ready [10:07:53.999701] INFO Waiting for pod/logcollector-rs0-2 to be ready... [10:07:54.616309] INFO pod/logcollector-rs0-2 is ready [10:08:06.358116] INFO Waiting for cluster logcollector to be ready... [10:08:07.314562] INFO cluster logcollector is ready ==================================================================================================== [PASSED] e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_disable_tls ==================================================================================================== e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_plaintext_rotation [10:08:12.539864] INFO Forcing log rotation on logcollector-rs0-0 [10:08:25.649451] INFO Checking marker is absent from mongod.full.log on logcollector-rs0-0; grep exit code 1 is expected [10:08:27.190874] WARNING kubectl error: command terminated with exit code 1 [10:08:28.755019] INFO Forcing log rotation on logcollector-rs0-1 [10:08:41.989648] INFO Checking marker is absent from mongod.full.log on logcollector-rs0-1; grep exit code 1 is expected [10:08:43.474923] WARNING kubectl error: command terminated with exit code 1 [10:08:45.026458] INFO Forcing log rotation on logcollector-rs0-2 [10:08:57.692742] INFO Checking marker is absent from mongod.full.log on logcollector-rs0-2; grep exit code 1 is expected [10:08:59.216547] WARNING kubectl error: command terminated with exit code 1 ==================================================================================================== [PASSED] e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_plaintext_rotation ==================================================================================================== e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_plaintext_rotation_failure [10:09:03.199073] INFO Checking log rotation with an invalid password on logcollector-rs0-0 [10:09:04.791233] INFO Running logrotate with an invalid password on logcollector-rs0-0; a nonzero exit code is expected [10:09:06.856258] WARNING kubectl error: command terminated with exit code 1 ==================================================================================================== [PASSED] e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_plaintext_rotation_failure ==================================================================================================== [10:09:09.536382] INFO Cleaning up test environment ---------------------------------------------- generated xml file: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2742/e2e-tests/reports/logcollector.xml ---------------------------------------------- ---------------------------------------- Generated html report: file:///mnt/jenkins/workspace/cloud-psmdb-operator_PR-2742/e2e-tests/reports/logcollector.html ----------------------------------------- ==================================================================================== 6 passed in 409.35s (0:06:49) =====================================================================================