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 6 items e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_create_cluster [06:44:34.599496] WARNING kubectl error: Warning: version difference between client (1.37) and server (1.34) exceeds the supported minor version skew of +/-1 [06:44:35.803566] 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 [06:44:35.806402] INFO Creating test environment [06:44:35.807054] INFO Deleting cert-manager [06:44:52.411659] INFO Deleting old CRDs and RBACs [06:45:08.589691] INFO Cleaning up all old namespaces [06:45:09.535284] INFO Cleaning up existing namespace [06:45:11.540765] INFO Create namespace psmdb-operator [06:45:12.576093] INFO Start PSMDB operator [06:45:22.712325] INFO Waiting for pod/percona-server-mongodb-operator-b57dc4869-h7k6g to be ready... [06:45:23.635917] INFO pod/percona-server-mongodb-operator-b57dc4869-h7k6g is ready [06:45:25.070049] INFO Operator startup: 2026-11-23T06:45:22.690Z INFO setup Manager starting up {"gitCommit": "27e0b796072fe59ec1fa78fca82dc7491ddb9891", "gitBranch": "PR-2715-27e0b7960", "buildTime": "", "goVersion": "go1.27.4", "os": "linux", "arch": "amd64"} [06:45:25.071857] INFO Cleaning up all old namespaces [06:45:25.984602] INFO Cleaning up existing namespace [06:45:27.983375] INFO Create namespace logcollector-fb1148dd [06:45:30.531238] INFO Creating PSMDB cluster [06:45:33.294682] INFO Waiting for pod/logcollector-rs0-0 to be ready... [06:45:57.893776] INFO pod/logcollector-rs0-0 is ready [06:45:57.895325] INFO Waiting for pod/logcollector-rs0-1 to be ready... [06:46:20.832481] INFO pod/logcollector-rs0-1 is ready [06:46:21.905661] INFO Waiting for pod/logcollector-rs0-2 to be ready... [06:46:48.990009] INFO pod/logcollector-rs0-2 is ready [06:47:01.035948] INFO Waiting for cluster logcollector to be ready... [06:47:02.038819] 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 [06:47:04.466784] INFO Forcing log rotation on logcollector-rs0-0 [06:47:17.142515] INFO Checking marker is absent from mongod.full.log on logcollector-rs0-0; grep exit code 1 is expected [06:47:18.735174] WARNING kubectl error: command terminated with exit code 1 [06:47:21.756739] INFO Forcing log rotation on logcollector-rs0-1 [06:47:34.963050] INFO Checking marker is absent from mongod.full.log on logcollector-rs0-1; grep exit code 1 is expected [06:47:36.516490] WARNING kubectl error: command terminated with exit code 1 [06:47:39.754901] INFO Forcing log rotation on logcollector-rs0-2 [06:47:52.833124] INFO Checking marker is absent from mongod.full.log on logcollector-rs0-2; grep exit code 1 is expected [06:47:54.375012] 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 [06:47:59.833259] INFO Checking log rotation with an invalid password on logcollector-rs0-0 [06:48:01.356393] INFO Running logrotate with an invalid password on logcollector-rs0-0; a nonzero exit code is expected [06:48:03.390253] 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 [06:48:09.867734] INFO Waiting for cluster logcollector state=paused to be ready... [06:48:28.239761] INFO cluster logcollector state=paused is ready [06:48:29.968375] INFO Waiting for cluster logcollector state=ready to be ready... [06:49:40.833680] INFO cluster logcollector state=ready is ready [06:49:40.834832] INFO Waiting for pod/logcollector-rs0-0 to be ready... [06:49:41.962476] INFO pod/logcollector-rs0-0 is ready [06:49:41.963471] INFO Waiting for pod/logcollector-rs0-1 to be ready... [06:49:43.034805] INFO pod/logcollector-rs0-1 is ready [06:49:44.114848] INFO Waiting for pod/logcollector-rs0-2 to be ready... [06:49:45.197888] INFO pod/logcollector-rs0-2 is ready [06:49:57.305241] INFO Waiting for cluster logcollector to be ready... [06:49:58.216502] 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 [06:50:03.477154] INFO Forcing log rotation on logcollector-rs0-0 [06:50:16.536370] INFO Checking marker is absent from mongod.full.log on logcollector-rs0-0; grep exit code 1 is expected [06:50:18.121049] WARNING kubectl error: command terminated with exit code 1 [06:50:19.642131] INFO Forcing log rotation on logcollector-rs0-1 [06:50:32.513562] INFO Checking marker is absent from mongod.full.log on logcollector-rs0-1; grep exit code 1 is expected [06:50:34.037525] WARNING kubectl error: command terminated with exit code 1 [06:50:35.613228] INFO Forcing log rotation on logcollector-rs0-2 [06:50:48.826717] INFO Checking marker is absent from mongod.full.log on logcollector-rs0-2; grep exit code 1 is expected [06:50:50.425666] 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 [06:50:54.575602] INFO Checking log rotation with an invalid password on logcollector-rs0-0 [06:50:56.152613] INFO Running logrotate with an invalid password on logcollector-rs0-0; a nonzero exit code is expected [06:50:58.148936] WARNING kubectl error: command terminated with exit code 1 ==================================================================================================== [PASSED] e2e-tests/logcollector/test_logcollector.py::TestLogCollector::test_plaintext_rotation_failure ==================================================================================================== [06:51:00.856205] INFO Cleaning up test environment ---------------------------------------------- generated xml file: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/reports/logcollector.xml ---------------------------------------------- ---------------------------------------- Generated html report: file:///mnt/jenkins/workspace/cloud-psmdb-operator_PR-2715/e2e-tests/reports/logcollector.html ----------------------------------------- ==================================================================================== 6 passed in 412.02s (0:06:52) =====================================================================================