=== RUN kuttl harness.go:464: starting setup harness.go:255: running tests using configured kubeconfig. harness.go:278: Successful connection to cluster at: https://34.172.5.237 harness.go:363: running tests harness.go:75: going to run test suite with timeout of 180 seconds for each step harness.go:375: testsuite: e2e-tests/tests has 23 tests === RUN kuttl/harness === RUN kuttl/harness/users === PAUSE kuttl/harness/users === CONT kuttl/harness/users logger.go:42: 12:13:24 | users | Creating namespace: kuttl-test-pumped-cub logger.go:42: 12:13:24 | users/0-deploy-operator | starting test step 0-deploy-operator logger.go:42: 12:13:24 | users/0-deploy-operator | running command: [sh -c set -o errexit set -o xtrace source ../../functions init_temp_dir # do this only in the first TestStep deploy_operator deploy_client] logger.go:42: 12:13:24 | users/0-deploy-operator | + source ../../functions logger.go:42: 12:13:24 | users/0-deploy-operator | +++ realpath ../../.. logger.go:42: 12:13:24 | users/0-deploy-operator | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:13:24 | users/0-deploy-operator | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:13:24 | users/0-deploy-operator | ++++ pwd logger.go:42: 12:13:24 | users/0-deploy-operator | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:13:24 | users/0-deploy-operator | ++ test_name=users logger.go:42: 12:13:24 | users/0-deploy-operator | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:13:24 | users/0-deploy-operator | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:13:24 | users/0-deploy-operator | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:13:24 | users/0-deploy-operator | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:13:24 | users/0-deploy-operator | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:13:24 | users/0-deploy-operator | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:13:24 | users/0-deploy-operator | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export PG_VER=17 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ PG_VER=17 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:13:24 | users/0-deploy-operator | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:13:24 | users/0-deploy-operator | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export BUCKET=pg-operator-testing logger.go:42: 12:13:24 | users/0-deploy-operator | +++ BUCKET=pg-operator-testing logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:13:24 | users/0-deploy-operator | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:13:24 | users/0-deploy-operator | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ export PGOV1_VER=14 logger.go:42: 12:13:24 | users/0-deploy-operator | +++ PGOV1_VER=14 logger.go:42: 12:13:24 | users/0-deploy-operator | ++++ which gdate logger.go:42: 12:13:24 | users/0-deploy-operator | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:13:24 | users/0-deploy-operator | ++++ which date logger.go:42: 12:13:24 | users/0-deploy-operator | +++ date=/usr/bin/date logger.go:42: 12:13:24 | users/0-deploy-operator | ++++ which gsed logger.go:42: 12:13:24 | users/0-deploy-operator | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:13:24 | users/0-deploy-operator | ++++ which sed logger.go:42: 12:13:24 | users/0-deploy-operator | +++ sed=/usr/bin/sed logger.go:42: 12:13:24 | users/0-deploy-operator | +++ command -v oc logger.go:42: 12:13:24 | users/0-deploy-operator | ++ oc get projects logger.go:42: 12:13:25 | users/0-deploy-operator | + init_temp_dir logger.go:42: 12:13:25 | users/0-deploy-operator | + rm -rf /tmp/kuttl/pg/users logger.go:42: 12:13:25 | users/0-deploy-operator | + mkdir -p /tmp/kuttl/pg/users logger.go:42: 12:13:25 | users/0-deploy-operator | + deploy_operator logger.go:42: 12:13:25 | users/0-deploy-operator | + local cw_prefix= logger.go:42: 12:13:25 | users/0-deploy-operator | + destroy_operator logger.go:42: 12:13:25 | users/0-deploy-operator | + kubectl -n pg-operator delete deployment percona-postgresql-operator --force --grace-period=0 logger.go:42: 12:13:25 | users/0-deploy-operator | 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. logger.go:42: 12:13:25 | users/0-deploy-operator | Error from server (NotFound): deployments.apps "percona-postgresql-operator" not found logger.go:42: 12:13:25 | users/0-deploy-operator | + true logger.go:42: 12:13:25 | users/0-deploy-operator | + [[ -n pg-operator ]] logger.go:42: 12:13:25 | users/0-deploy-operator | + kubectl delete namespace pg-operator --force --grace-period=0 logger.go:42: 12:13:25 | users/0-deploy-operator | 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. logger.go:42: 12:13:25 | users/0-deploy-operator | Error from server (NotFound): namespaces "pg-operator" not found logger.go:42: 12:13:25 | users/0-deploy-operator | + true logger.go:42: 12:13:25 | users/0-deploy-operator | + [[ -n pg-operator ]] logger.go:42: 12:13:25 | users/0-deploy-operator | + create_namespace pg-operator logger.go:42: 12:13:25 | users/0-deploy-operator | + local namespace=pg-operator logger.go:42: 12:13:25 | users/0-deploy-operator | + [[ -n '' ]] logger.go:42: 12:13:25 | users/0-deploy-operator | + kubectl delete namespace pg-operator --ignore-not-found logger.go:42: 12:13:26 | users/0-deploy-operator | + kubectl wait --for=delete namespace pg-operator logger.go:42: 12:13:26 | users/0-deploy-operator | + kubectl create namespace pg-operator logger.go:42: 12:13:27 | users/0-deploy-operator | namespace/pg-operator created logger.go:42: 12:13:27 | users/0-deploy-operator | + cw_prefix=cw- logger.go:42: 12:13:27 | users/0-deploy-operator | + kubectl -n pg-operator apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy/crd.yaml logger.go:42: 12:13:28 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/crunchybridgeclusters.postgres-operator.crunchydata.com serverside-applied logger.go:42: 12:13:28 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgbackups.pgv2.percona.com serverside-applied logger.go:42: 12:13:30 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgclusters.pgv2.percona.com serverside-applied logger.go:42: 12:13:30 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgrestores.pgv2.percona.com serverside-applied logger.go:42: 12:13:30 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgupgrades.pgv2.percona.com serverside-applied logger.go:42: 12:13:30 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/pgadmins.postgres-operator.crunchydata.com serverside-applied logger.go:42: 12:13:31 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/pgupgrades.postgres-operator.crunchydata.com serverside-applied logger.go:42: 12:13:32 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/postgresclusters.postgres-operator.crunchydata.com serverside-applied logger.go:42: 12:13:32 | users/0-deploy-operator | + kubectl -n pg-operator apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy/cw-rbac.yaml logger.go:42: 12:13:33 | users/0-deploy-operator | serviceaccount/percona-postgresql-operator serverside-applied logger.go:42: 12:13:33 | users/0-deploy-operator | clusterrole.rbac.authorization.k8s.io/percona-postgresql-operator serverside-applied logger.go:42: 12:13:33 | users/0-deploy-operator | clusterrolebinding.rbac.authorization.k8s.io/percona-postgresql-operator serverside-applied logger.go:42: 12:13:33 | users/0-deploy-operator | + local disable_telemetry=true logger.go:42: 12:13:33 | users/0-deploy-operator | + '[' users == telemetry-transfer ']' logger.go:42: 12:13:33 | users/0-deploy-operator | + yq eval '.spec.template.spec.containers[0].image = "perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6"' /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy/cw-operator.yaml logger.go:42: 12:13:33 | users/0-deploy-operator | + yq eval '(.spec.template.spec.containers[] | select(.name=="operator") | .env[] | select(.name=="DISABLE_TELEMETRY") | .value) = "true"' - logger.go:42: 12:13:33 | users/0-deploy-operator | + kubectl -n pg-operator apply -f - logger.go:42: 12:13:34 | users/0-deploy-operator | deployment.apps/percona-postgresql-operator created logger.go:42: 12:13:34 | users/0-deploy-operator | + deploy_client logger.go:42: 12:13:34 | users/0-deploy-operator | + kubectl -n kuttl-test-pumped-cub apply -f /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf/client.yaml logger.go:42: 12:13:35 | users/0-deploy-operator | deployment.apps/pg-client created logger.go:42: 12:13:36 | users/0-deploy-operator | running command: [sh -c kubectl assert exist-enhanced deployment percona-postgresql-operator -n ${OPERATOR_NS:-$NAMESPACE} --field-selector status.readyReplicas=1] logger.go:42: 12:13:36 | users/0-deploy-operator | ASSERT deployment percona-postgresql-operator matching field criteria 'status.readyReplicas=1' should exist. logger.go:42: 12:13:36 | users/0-deploy-operator | INFO Found 1 resource(s). logger.go:42: 12:13:36 | users/0-deploy-operator | NAME NAMESPACE COL0 logger.go:42: 12:13:36 | users/0-deploy-operator | percona-postgresql-operator pg-operator 1 logger.go:42: 12:13:36 | users/0-deploy-operator | ASSERT PASS logger.go:42: 12:13:36 | users/0-deploy-operator | test step completed 0-deploy-operator logger.go:42: 12:13:36 | users/1-create-cluster | starting test step 1-create-cluster logger.go:42: 12:13:36 | users/1-create-cluster | running command: [sh -c set -o errexit set -o xtrace source ../../functions get_cr "users" ${RANDOM}| kubectl -n "${NAMESPACE}" apply -f -] logger.go:42: 12:13:36 | users/1-create-cluster | + source ../../functions logger.go:42: 12:13:36 | users/1-create-cluster | +++ realpath ../../.. logger.go:42: 12:13:36 | users/1-create-cluster | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:13:36 | users/1-create-cluster | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:13:36 | users/1-create-cluster | ++++ pwd logger.go:42: 12:13:36 | users/1-create-cluster | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:13:36 | users/1-create-cluster | ++ test_name=users logger.go:42: 12:13:36 | users/1-create-cluster | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:13:36 | users/1-create-cluster | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:13:36 | users/1-create-cluster | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:13:36 | users/1-create-cluster | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:13:36 | users/1-create-cluster | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:13:36 | users/1-create-cluster | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:13:36 | users/1-create-cluster | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:13:36 | users/1-create-cluster | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:13:36 | users/1-create-cluster | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:13:36 | users/1-create-cluster | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:13:36 | users/1-create-cluster | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:13:36 | users/1-create-cluster | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:13:36 | users/1-create-cluster | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:13:36 | users/1-create-cluster | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:13:36 | users/1-create-cluster | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:13:36 | users/1-create-cluster | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:13:36 | users/1-create-cluster | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:13:36 | users/1-create-cluster | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:13:36 | users/1-create-cluster | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:13:36 | users/1-create-cluster | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:13:36 | users/1-create-cluster | +++ export PG_VER=17 logger.go:42: 12:13:36 | users/1-create-cluster | +++ PG_VER=17 logger.go:42: 12:13:36 | users/1-create-cluster | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:13:36 | users/1-create-cluster | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:13:36 | users/1-create-cluster | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:13:36 | users/1-create-cluster | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:13:36 | users/1-create-cluster | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:13:36 | users/1-create-cluster | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:13:36 | users/1-create-cluster | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:13:36 | users/1-create-cluster | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:13:36 | users/1-create-cluster | +++ export BUCKET=pg-operator-testing logger.go:42: 12:13:36 | users/1-create-cluster | +++ BUCKET=pg-operator-testing logger.go:42: 12:13:36 | users/1-create-cluster | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:13:36 | users/1-create-cluster | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:13:36 | users/1-create-cluster | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:13:36 | users/1-create-cluster | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:13:36 | users/1-create-cluster | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:13:36 | users/1-create-cluster | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:13:36 | users/1-create-cluster | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:13:36 | users/1-create-cluster | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:13:36 | users/1-create-cluster | +++ export PGOV1_VER=14 logger.go:42: 12:13:36 | users/1-create-cluster | +++ PGOV1_VER=14 logger.go:42: 12:13:36 | users/1-create-cluster | ++++ which gdate logger.go:42: 12:13:36 | users/1-create-cluster | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:13:36 | users/1-create-cluster | ++++ which date logger.go:42: 12:13:36 | users/1-create-cluster | +++ date=/usr/bin/date logger.go:42: 12:13:36 | users/1-create-cluster | ++++ which gsed logger.go:42: 12:13:36 | users/1-create-cluster | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:13:36 | users/1-create-cluster | ++++ which sed logger.go:42: 12:13:36 | users/1-create-cluster | +++ sed=/usr/bin/sed logger.go:42: 12:13:36 | users/1-create-cluster | +++ command -v oc logger.go:42: 12:13:36 | users/1-create-cluster | ++ oc get projects logger.go:42: 12:13:36 | users/1-create-cluster | + get_cr users 20430 logger.go:42: 12:13:36 | users/1-create-cluster | + local cr_name=users logger.go:42: 12:13:36 | users/1-create-cluster | + kubectl -n kuttl-test-pumped-cub apply -f - logger.go:42: 12:13:36 | users/1-create-cluster | + '[' -z users ']' logger.go:42: 12:13:36 | users/1-create-cluster | + local repo_path=20430 logger.go:42: 12:13:36 | users/1-create-cluster | + yq eval ' logger.go:42: 12:13:36 | users/1-create-cluster | .metadata.name = "users" | logger.go:42: 12:13:36 | users/1-create-cluster | .metadata.labels = {"e2e":"users"} | logger.go:42: 12:13:36 | users/1-create-cluster | .spec.postgresVersion = 17 | logger.go:42: 12:13:36 | users/1-create-cluster | .spec.users += [{"name":"postgres","password":{"type":"AlphaNumeric"}}] | logger.go:42: 12:13:36 | users/1-create-cluster | .spec.users += [{"name":"users","password":{"type":"AlphaNumeric"}}] | logger.go:42: 12:13:36 | users/1-create-cluster | .spec.image = "perconalab/percona-postgresql-operator:main-ppg17-postgres" | logger.go:42: 12:13:36 | users/1-create-cluster | .spec.backups.pgbackrest.image = "perconalab/percona-postgresql-operator:main-pgbackrest17" | logger.go:42: 12:13:36 | users/1-create-cluster | .spec.proxy.pgBouncer.image = "perconalab/percona-postgresql-operator:main-pgbouncer17" | logger.go:42: 12:13:36 | users/1-create-cluster | .spec.pmm.image = "perconalab/pmm-client:dev-latest" | logger.go:42: 12:13:36 | users/1-create-cluster | .spec.pmm.secret = "users-pmm-secret" | logger.go:42: 12:13:36 | users/1-create-cluster | .spec.pmm.customClusterName = "users-pmm-custom-name" | logger.go:42: 12:13:36 | users/1-create-cluster | .spec.pmm.postgresParams = "--environment=dev-postgres" logger.go:42: 12:13:36 | users/1-create-cluster | ' /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy/cr.yaml logger.go:42: 12:13:36 | users/1-create-cluster | + [[ -n '' ]] logger.go:42: 12:13:36 | users/1-create-cluster | + case $test_name in logger.go:42: 12:13:36 | users/1-create-cluster | + cat /tmp/kuttl/pg/users/cr.yaml logger.go:42: 12:13:37 | users/1-create-cluster | perconapgcluster.pgv2.percona.com/users created logger.go:42: 12:14:37 | users/1-create-cluster | test step completed 1-create-cluster logger.go:42: 12:14:37 | users/2-write-data | starting test step 2-write-data logger.go:42: 12:14:37 | users/2-write-data | running command: [sh -c set -o errexit set -o xtrace source ../../functions run_psql_local \ 'CREATE DATABASE myapp; \c myapp \\\ CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY);' \ "postgres:$(get_psql_user_pass users-pguser-postgres)@$(get_psql_user_host users-pguser-postgres)" run_psql_local \ '\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)' \ "postgres:$(get_psql_user_pass users-pguser-postgres)@$(get_psql_user_host users-pguser-postgres)"] logger.go:42: 12:14:37 | users/2-write-data | + source ../../functions logger.go:42: 12:14:37 | users/2-write-data | +++ realpath ../../.. logger.go:42: 12:14:37 | users/2-write-data | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:37 | users/2-write-data | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:14:37 | users/2-write-data | ++++ pwd logger.go:42: 12:14:37 | users/2-write-data | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:14:37 | users/2-write-data | ++ test_name=users logger.go:42: 12:14:37 | users/2-write-data | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:14:37 | users/2-write-data | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:37 | users/2-write-data | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:37 | users/2-write-data | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:14:37 | users/2-write-data | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:14:37 | users/2-write-data | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:14:37 | users/2-write-data | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:14:37 | users/2-write-data | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:14:37 | users/2-write-data | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:14:37 | users/2-write-data | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:14:37 | users/2-write-data | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:14:37 | users/2-write-data | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:14:37 | users/2-write-data | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:14:37 | users/2-write-data | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:14:37 | users/2-write-data | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:14:37 | users/2-write-data | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:14:37 | users/2-write-data | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:14:37 | users/2-write-data | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:14:37 | users/2-write-data | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:14:37 | users/2-write-data | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:14:37 | users/2-write-data | +++ export PG_VER=17 logger.go:42: 12:14:37 | users/2-write-data | +++ PG_VER=17 logger.go:42: 12:14:37 | users/2-write-data | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:14:37 | users/2-write-data | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:14:37 | users/2-write-data | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:14:37 | users/2-write-data | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:14:37 | users/2-write-data | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:14:37 | users/2-write-data | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:14:37 | users/2-write-data | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:14:37 | users/2-write-data | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:14:37 | users/2-write-data | +++ export BUCKET=pg-operator-testing logger.go:42: 12:14:37 | users/2-write-data | +++ BUCKET=pg-operator-testing logger.go:42: 12:14:37 | users/2-write-data | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:14:37 | users/2-write-data | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:14:37 | users/2-write-data | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:14:37 | users/2-write-data | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:14:37 | users/2-write-data | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:14:37 | users/2-write-data | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:14:37 | users/2-write-data | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:14:37 | users/2-write-data | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:14:37 | users/2-write-data | +++ export PGOV1_VER=14 logger.go:42: 12:14:37 | users/2-write-data | +++ PGOV1_VER=14 logger.go:42: 12:14:37 | users/2-write-data | ++++ which gdate logger.go:42: 12:14:37 | users/2-write-data | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:14:37 | users/2-write-data | ++++ which date logger.go:42: 12:14:37 | users/2-write-data | +++ date=/usr/bin/date logger.go:42: 12:14:37 | users/2-write-data | ++++ which gsed logger.go:42: 12:14:37 | users/2-write-data | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:14:37 | users/2-write-data | ++++ which sed logger.go:42: 12:14:37 | users/2-write-data | +++ sed=/usr/bin/sed logger.go:42: 12:14:37 | users/2-write-data | +++ command -v oc logger.go:42: 12:14:37 | users/2-write-data | ++ oc get projects logger.go:42: 12:14:37 | users/2-write-data | ++ get_psql_user_pass users-pguser-postgres logger.go:42: 12:14:37 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 12:14:37 | users/2-write-data | ++ kubectl -n kuttl-test-pumped-cub get secret/users-pguser-postgres '--template={{.data.password | base64decode}}' logger.go:42: 12:14:37 | users/2-write-data | ++ get_psql_user_host users-pguser-postgres logger.go:42: 12:14:37 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 12:14:37 | users/2-write-data | ++ kubectl -n kuttl-test-pumped-cub get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 12:14:37 | users/2-write-data | + run_psql_local 'CREATE DATABASE myapp; \c myapp \\\ CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY);' postgres:TXKtbLPGSCUYoLK5GsBrpRzD@users-primary.kuttl-test-pumped-cub.svc logger.go:42: 12:14:37 | users/2-write-data | + local 'command=CREATE DATABASE myapp; \c myapp \\\ CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY);' logger.go:42: 12:14:37 | users/2-write-data | + local uri=postgres:TXKtbLPGSCUYoLK5GsBrpRzD@users-primary.kuttl-test-pumped-cub.svc logger.go:42: 12:14:37 | users/2-write-data | + local driver=postgres logger.go:42: 12:14:37 | users/2-write-data | ++ get_client_pod logger.go:42: 12:14:37 | users/2-write-data | ++ kubectl -n kuttl-test-pumped-cub get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 12:14:38 | users/2-write-data | + kubectl -n kuttl-test-pumped-cub exec pg-client-b7cfff86c-52zl6 -- bash -c 'printf '\''CREATE DATABASE myapp; \c myapp \\\ CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY);\n'\'' | psql -v ON_ERROR_STOP=1 -t -q postgres://'\''postgres:TXKtbLPGSCUYoLK5GsBrpRzD@users-primary.kuttl-test-pumped-cub.svc'\''' logger.go:42: 12:14:39 | users/2-write-data | ++ get_psql_user_pass users-pguser-postgres logger.go:42: 12:14:39 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 12:14:39 | users/2-write-data | ++ kubectl -n kuttl-test-pumped-cub get secret/users-pguser-postgres '--template={{.data.password | base64decode}}' logger.go:42: 12:14:40 | users/2-write-data | ++ get_psql_user_host users-pguser-postgres logger.go:42: 12:14:40 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 12:14:40 | users/2-write-data | ++ kubectl -n kuttl-test-pumped-cub get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 12:14:40 | users/2-write-data | + run_psql_local '\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)' postgres:TXKtbLPGSCUYoLK5GsBrpRzD@users-primary.kuttl-test-pumped-cub.svc logger.go:42: 12:14:40 | users/2-write-data | + local 'command=\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)' logger.go:42: 12:14:40 | users/2-write-data | + local uri=postgres:TXKtbLPGSCUYoLK5GsBrpRzD@users-primary.kuttl-test-pumped-cub.svc logger.go:42: 12:14:40 | users/2-write-data | + local driver=postgres logger.go:42: 12:14:40 | users/2-write-data | ++ get_client_pod logger.go:42: 12:14:40 | users/2-write-data | ++ kubectl -n kuttl-test-pumped-cub get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 12:14:40 | users/2-write-data | + kubectl -n kuttl-test-pumped-cub exec pg-client-b7cfff86c-52zl6 -- bash -c 'printf '\''\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)\n'\'' | psql -v ON_ERROR_STOP=1 -t -q postgres://'\''postgres:TXKtbLPGSCUYoLK5GsBrpRzD@users-primary.kuttl-test-pumped-cub.svc'\''' [controller-runtime] log.SetLogger(...) was never called; logs will not be displayed. Detected at: > goroutine 50 [running]: > runtime/debug.Stack() > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/runtime/debug/stack.go:24 +0x5e > sigs.k8s.io/controller-runtime/pkg/log.eventuallyFulfillRoot() > /home/mowsiany/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/log/log.go:60 +0xcd > sigs.k8s.io/controller-runtime/pkg/log.(*delegatingLogSink).WithName(0xc0002a9c00, {0x184a055, 0x14}) > /home/mowsiany/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/log/deleg.go:147 +0x3e > github.com/go-logr/logr.Logger.WithName({{0x1acb7d8, 0xc0002a9c00}, 0x0}, {0x184a055?, 0xc0007dbf80?}) > /home/mowsiany/go/pkg/mod/github.com/go-logr/logr@v1.2.4/logr.go:336 +0x36 > sigs.k8s.io/controller-runtime/pkg/client.newClient(0x131ead3?, {0x0, 0xc00043c9a0, {0x1accd90, 0xc0000c3ac0}, 0x0, {0x0, 0x0}, 0x0}) > /home/mowsiany/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/client/client.go:122 +0xf1 > sigs.k8s.io/controller-runtime/pkg/client.New(0xc0004ccfc8?, {0x0, 0xc00043c9a0, {0x1accd90, 0xc0000c3ac0}, 0x0, {0x0, 0x0}, 0x0}) > /home/mowsiany/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/client/client.go:103 +0x7d > github.com/kudobuilder/kuttl/pkg/test/utils.NewRetryClient(0xc0004ccfc8, {0x0, 0xc00043c9a0, {0x1accd90, 0xc0000c3ac0}, 0x0, {0x0, 0x0}, 0x0}) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/utils/kubernetes.go:177 +0x127 > github.com/kudobuilder/kuttl/pkg/test.(*Harness).Client(0xc000323208, 0xbd?) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/harness.go:323 +0x18e > github.com/kudobuilder/kuttl/pkg/test.(*Step).Create(0xc0002c3a00, 0xc0000acea0, {0xc00012daa0, 0x15}) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/step.go:177 +0x63 > github.com/kudobuilder/kuttl/pkg/test.(*Step).Run(0xc0002c3a00, 0xc0000acea0, {0xc00012daa0, 0x15}) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/step.go:457 +0x24a > github.com/kudobuilder/kuttl/pkg/test.(*Case).Run(0xc00037eb40, 0xc0000acea0, 0xc00033def0) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/case.go:373 +0xaeb > github.com/kudobuilder/kuttl/pkg/test.(*Harness).RunTests.func1.1(0xc0000acea0) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/harness.go:401 +0x12e > testing.tRunner(0xc0000acea0, 0xc0000110f8) > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/testing/testing.go:1689 +0xfb > created by testing.(*T).Run in goroutine 49 > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/testing/testing.go:1742 +0x390 logger.go:42: 12:14:42 | users/2-write-data | test step completed 2-write-data logger.go:42: 12:14:42 | users/3-read-from-primary | starting test step 3-read-from-primary logger.go:42: 12:14:42 | users/3-read-from-primary | running command: [sh -c set -o errexit set -o xtrace source ../../functions data=$(run_psql_local '\c myapp \\\ SELECT * from myApp;' "postgres:$(get_psql_user_pass users-pguser-postgres)@$(get_psql_user_host users-pguser-postgres)") kubectl create configmap -n "${NAMESPACE}" 03-read-from-primary --from-literal=data="${data}"] logger.go:42: 12:14:42 | users/3-read-from-primary | + source ../../functions logger.go:42: 12:14:42 | users/3-read-from-primary | +++ realpath ../../.. logger.go:42: 12:14:42 | users/3-read-from-primary | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:42 | users/3-read-from-primary | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:14:42 | users/3-read-from-primary | ++++ pwd logger.go:42: 12:14:42 | users/3-read-from-primary | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:14:42 | users/3-read-from-primary | ++ test_name=users logger.go:42: 12:14:42 | users/3-read-from-primary | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:14:42 | users/3-read-from-primary | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:14:42 | users/3-read-from-primary | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:14:42 | users/3-read-from-primary | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:14:42 | users/3-read-from-primary | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:14:42 | users/3-read-from-primary | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:14:42 | users/3-read-from-primary | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export PG_VER=17 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ PG_VER=17 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:14:42 | users/3-read-from-primary | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:14:42 | users/3-read-from-primary | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export BUCKET=pg-operator-testing logger.go:42: 12:14:42 | users/3-read-from-primary | +++ BUCKET=pg-operator-testing logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:14:42 | users/3-read-from-primary | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:14:42 | users/3-read-from-primary | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ export PGOV1_VER=14 logger.go:42: 12:14:42 | users/3-read-from-primary | +++ PGOV1_VER=14 logger.go:42: 12:14:42 | users/3-read-from-primary | ++++ which gdate logger.go:42: 12:14:42 | users/3-read-from-primary | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:14:42 | users/3-read-from-primary | ++++ which date logger.go:42: 12:14:42 | users/3-read-from-primary | +++ date=/usr/bin/date logger.go:42: 12:14:42 | users/3-read-from-primary | ++++ which gsed logger.go:42: 12:14:42 | users/3-read-from-primary | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:14:42 | users/3-read-from-primary | ++++ which sed logger.go:42: 12:14:42 | users/3-read-from-primary | +++ sed=/usr/bin/sed logger.go:42: 12:14:42 | users/3-read-from-primary | +++ command -v oc logger.go:42: 12:14:42 | users/3-read-from-primary | ++ oc get projects logger.go:42: 12:14:42 | users/3-read-from-primary | +++ get_psql_user_pass users-pguser-postgres logger.go:42: 12:14:42 | users/3-read-from-primary | +++ local secret_name=users-pguser-postgres logger.go:42: 12:14:42 | users/3-read-from-primary | +++ kubectl -n kuttl-test-pumped-cub get secret/users-pguser-postgres '--template={{.data.password | base64decode}}' logger.go:42: 12:14:42 | users/3-read-from-primary | +++ get_psql_user_host users-pguser-postgres logger.go:42: 12:14:42 | users/3-read-from-primary | +++ local secret_name=users-pguser-postgres logger.go:42: 12:14:42 | users/3-read-from-primary | +++ kubectl -n kuttl-test-pumped-cub get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 12:14:43 | users/3-read-from-primary | ++ run_psql_local '\c myapp \\\ SELECT * from myApp;' postgres:TXKtbLPGSCUYoLK5GsBrpRzD@users-primary.kuttl-test-pumped-cub.svc logger.go:42: 12:14:43 | users/3-read-from-primary | ++ local 'command=\c myapp \\\ SELECT * from myApp;' logger.go:42: 12:14:43 | users/3-read-from-primary | ++ local uri=postgres:TXKtbLPGSCUYoLK5GsBrpRzD@users-primary.kuttl-test-pumped-cub.svc logger.go:42: 12:14:43 | users/3-read-from-primary | ++ local driver=postgres logger.go:42: 12:14:43 | users/3-read-from-primary | +++ get_client_pod logger.go:42: 12:14:43 | users/3-read-from-primary | +++ kubectl -n kuttl-test-pumped-cub get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 12:14:43 | users/3-read-from-primary | ++ kubectl -n kuttl-test-pumped-cub exec pg-client-b7cfff86c-52zl6 -- bash -c 'printf '\''\c myapp \\\ SELECT * from myApp;\n'\'' | psql -v ON_ERROR_STOP=1 -t -q postgres://'\''postgres:TXKtbLPGSCUYoLK5GsBrpRzD@users-primary.kuttl-test-pumped-cub.svc'\''' logger.go:42: 12:14:45 | users/3-read-from-primary | + data=' 100500' logger.go:42: 12:14:45 | users/3-read-from-primary | + kubectl create configmap -n kuttl-test-pumped-cub 03-read-from-primary '--from-literal=data= 100500' logger.go:42: 12:14:45 | users/3-read-from-primary | configmap/03-read-from-primary created logger.go:42: 12:14:46 | users/3-read-from-primary | test step completed 3-read-from-primary logger.go:42: 12:14:46 | users/4-update-default-user-password | starting test step 4-update-default-user-password logger.go:42: 12:14:46 | users/4-update-default-user-password | running command: [sh -c set -o errexit set -o xtrace source ../../functions kubectl -n ${NAMESPACE} patch secret users-pguser-postgres --type merge --patch '{"stringData": {"password": "default-db-password", "verifier":""}}' sleep 5] logger.go:42: 12:14:46 | users/4-update-default-user-password | + source ../../functions logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ realpath ../../.. logger.go:42: 12:14:46 | users/4-update-default-user-password | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:46 | users/4-update-default-user-password | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:14:46 | users/4-update-default-user-password | ++++ pwd logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:14:46 | users/4-update-default-user-password | ++ test_name=users logger.go:42: 12:14:46 | users/4-update-default-user-password | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:14:46 | users/4-update-default-user-password | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export PG_VER=17 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ PG_VER=17 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export BUCKET=pg-operator-testing logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ BUCKET=pg-operator-testing logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ export PGOV1_VER=14 logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ PGOV1_VER=14 logger.go:42: 12:14:46 | users/4-update-default-user-password | ++++ which gdate logger.go:42: 12:14:46 | users/4-update-default-user-password | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:14:46 | users/4-update-default-user-password | ++++ which date logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ date=/usr/bin/date logger.go:42: 12:14:46 | users/4-update-default-user-password | ++++ which gsed logger.go:42: 12:14:46 | users/4-update-default-user-password | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:14:46 | users/4-update-default-user-password | ++++ which sed logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ sed=/usr/bin/sed logger.go:42: 12:14:46 | users/4-update-default-user-password | +++ command -v oc logger.go:42: 12:14:46 | users/4-update-default-user-password | ++ oc get projects logger.go:42: 12:14:46 | users/4-update-default-user-password | + kubectl -n kuttl-test-pumped-cub patch secret users-pguser-postgres --type merge --patch '{"stringData": {"password": "default-db-password", "verifier":""}}' logger.go:42: 12:14:46 | users/4-update-default-user-password | secret/users-pguser-postgres patched logger.go:42: 12:14:46 | users/4-update-default-user-password | + sleep 5 logger.go:42: 12:14:51 | users/4-update-default-user-password | test step completed 4-update-default-user-password logger.go:42: 12:14:51 | users/5-write-data | starting test step 5-write-data logger.go:42: 12:14:51 | users/5-write-data | running command: [sh -c set -o errexit set -o xtrace source ../../functions run_psql_local \ '\c myapp \\\ INSERT INTO myApp (id) VALUES (100501)' \ "postgres:default-db-password@$(get_psql_user_host users-pguser-postgres)"] logger.go:42: 12:14:51 | users/5-write-data | + source ../../functions logger.go:42: 12:14:51 | users/5-write-data | +++ realpath ../../.. logger.go:42: 12:14:51 | users/5-write-data | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:51 | users/5-write-data | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:14:51 | users/5-write-data | ++++ pwd logger.go:42: 12:14:51 | users/5-write-data | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:14:51 | users/5-write-data | ++ test_name=users logger.go:42: 12:14:51 | users/5-write-data | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:14:51 | users/5-write-data | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:51 | users/5-write-data | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:51 | users/5-write-data | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:14:51 | users/5-write-data | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:14:51 | users/5-write-data | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:14:51 | users/5-write-data | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:14:51 | users/5-write-data | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:14:51 | users/5-write-data | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:14:51 | users/5-write-data | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:14:51 | users/5-write-data | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:14:51 | users/5-write-data | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:14:51 | users/5-write-data | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:14:51 | users/5-write-data | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:14:51 | users/5-write-data | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:14:51 | users/5-write-data | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:14:51 | users/5-write-data | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:14:51 | users/5-write-data | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:14:51 | users/5-write-data | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:14:51 | users/5-write-data | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:14:51 | users/5-write-data | +++ export PG_VER=17 logger.go:42: 12:14:51 | users/5-write-data | +++ PG_VER=17 logger.go:42: 12:14:51 | users/5-write-data | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:14:51 | users/5-write-data | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:14:51 | users/5-write-data | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:14:51 | users/5-write-data | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:14:51 | users/5-write-data | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:14:51 | users/5-write-data | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:14:51 | users/5-write-data | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:14:51 | users/5-write-data | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:14:51 | users/5-write-data | +++ export BUCKET=pg-operator-testing logger.go:42: 12:14:51 | users/5-write-data | +++ BUCKET=pg-operator-testing logger.go:42: 12:14:51 | users/5-write-data | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:14:51 | users/5-write-data | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:14:51 | users/5-write-data | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:14:51 | users/5-write-data | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:14:51 | users/5-write-data | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:14:51 | users/5-write-data | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:14:51 | users/5-write-data | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:14:51 | users/5-write-data | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:14:51 | users/5-write-data | +++ export PGOV1_VER=14 logger.go:42: 12:14:51 | users/5-write-data | +++ PGOV1_VER=14 logger.go:42: 12:14:51 | users/5-write-data | ++++ which gdate logger.go:42: 12:14:51 | users/5-write-data | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:14:51 | users/5-write-data | ++++ which date logger.go:42: 12:14:51 | users/5-write-data | +++ date=/usr/bin/date logger.go:42: 12:14:51 | users/5-write-data | ++++ which gsed logger.go:42: 12:14:51 | users/5-write-data | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:14:51 | users/5-write-data | ++++ which sed logger.go:42: 12:14:51 | users/5-write-data | +++ sed=/usr/bin/sed logger.go:42: 12:14:51 | users/5-write-data | +++ command -v oc logger.go:42: 12:14:51 | users/5-write-data | ++ oc get projects logger.go:42: 12:14:51 | users/5-write-data | ++ get_psql_user_host users-pguser-postgres logger.go:42: 12:14:51 | users/5-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 12:14:51 | users/5-write-data | ++ kubectl -n kuttl-test-pumped-cub get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 12:14:51 | users/5-write-data | + run_psql_local '\c myapp \\\ INSERT INTO myApp (id) VALUES (100501)' postgres:default-db-password@users-primary.kuttl-test-pumped-cub.svc logger.go:42: 12:14:51 | users/5-write-data | + local 'command=\c myapp \\\ INSERT INTO myApp (id) VALUES (100501)' logger.go:42: 12:14:51 | users/5-write-data | + local uri=postgres:default-db-password@users-primary.kuttl-test-pumped-cub.svc logger.go:42: 12:14:51 | users/5-write-data | + local driver=postgres logger.go:42: 12:14:51 | users/5-write-data | ++ get_client_pod logger.go:42: 12:14:51 | users/5-write-data | ++ kubectl -n kuttl-test-pumped-cub get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 12:14:52 | users/5-write-data | + kubectl -n kuttl-test-pumped-cub exec pg-client-b7cfff86c-52zl6 -- bash -c 'printf '\''\c myapp \\\ INSERT INTO myApp (id) VALUES (100501)\n'\'' | psql -v ON_ERROR_STOP=1 -t -q postgres://'\''postgres:default-db-password@users-primary.kuttl-test-pumped-cub.svc'\''' logger.go:42: 12:14:53 | users/5-write-data | test step completed 5-write-data logger.go:42: 12:14:53 | users/6-read-from-primary | starting test step 6-read-from-primary logger.go:42: 12:14:53 | users/6-read-from-primary | running command: [sh -c set -o errexit set -o xtrace source ../../functions data=$(run_psql_local '\c myapp \\\ SELECT * from myApp;' "postgres:default-db-password@$(get_psql_user_host users-pguser-postgres)") kubectl create configmap -n "${NAMESPACE}" 06-read-from-primary --from-literal=data="${data}" kubectl get configmap -n "${NAMESPACE}" 06-read-from-primary -o yaml] logger.go:42: 12:14:53 | users/6-read-from-primary | + source ../../functions logger.go:42: 12:14:53 | users/6-read-from-primary | +++ realpath ../../.. logger.go:42: 12:14:53 | users/6-read-from-primary | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:53 | users/6-read-from-primary | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:14:53 | users/6-read-from-primary | ++++ pwd logger.go:42: 12:14:53 | users/6-read-from-primary | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:14:53 | users/6-read-from-primary | ++ test_name=users logger.go:42: 12:14:53 | users/6-read-from-primary | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:14:53 | users/6-read-from-primary | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:14:53 | users/6-read-from-primary | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:14:53 | users/6-read-from-primary | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:14:53 | users/6-read-from-primary | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:14:53 | users/6-read-from-primary | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:14:53 | users/6-read-from-primary | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export PG_VER=17 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ PG_VER=17 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:14:53 | users/6-read-from-primary | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:14:53 | users/6-read-from-primary | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export BUCKET=pg-operator-testing logger.go:42: 12:14:53 | users/6-read-from-primary | +++ BUCKET=pg-operator-testing logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:14:53 | users/6-read-from-primary | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:14:53 | users/6-read-from-primary | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ export PGOV1_VER=14 logger.go:42: 12:14:53 | users/6-read-from-primary | +++ PGOV1_VER=14 logger.go:42: 12:14:53 | users/6-read-from-primary | ++++ which gdate logger.go:42: 12:14:53 | users/6-read-from-primary | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:14:53 | users/6-read-from-primary | ++++ which date logger.go:42: 12:14:53 | users/6-read-from-primary | +++ date=/usr/bin/date logger.go:42: 12:14:53 | users/6-read-from-primary | ++++ which gsed logger.go:42: 12:14:53 | users/6-read-from-primary | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:14:53 | users/6-read-from-primary | ++++ which sed logger.go:42: 12:14:53 | users/6-read-from-primary | +++ sed=/usr/bin/sed logger.go:42: 12:14:53 | users/6-read-from-primary | +++ command -v oc logger.go:42: 12:14:53 | users/6-read-from-primary | ++ oc get projects logger.go:42: 12:14:53 | users/6-read-from-primary | +++ get_psql_user_host users-pguser-postgres logger.go:42: 12:14:53 | users/6-read-from-primary | +++ local secret_name=users-pguser-postgres logger.go:42: 12:14:53 | users/6-read-from-primary | +++ kubectl -n kuttl-test-pumped-cub get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 12:14:54 | users/6-read-from-primary | ++ run_psql_local '\c myapp \\\ SELECT * from myApp;' postgres:default-db-password@users-primary.kuttl-test-pumped-cub.svc logger.go:42: 12:14:54 | users/6-read-from-primary | ++ local 'command=\c myapp \\\ SELECT * from myApp;' logger.go:42: 12:14:54 | users/6-read-from-primary | ++ local uri=postgres:default-db-password@users-primary.kuttl-test-pumped-cub.svc logger.go:42: 12:14:54 | users/6-read-from-primary | ++ local driver=postgres logger.go:42: 12:14:54 | users/6-read-from-primary | +++ get_client_pod logger.go:42: 12:14:54 | users/6-read-from-primary | +++ kubectl -n kuttl-test-pumped-cub get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 12:14:54 | users/6-read-from-primary | ++ kubectl -n kuttl-test-pumped-cub exec pg-client-b7cfff86c-52zl6 -- bash -c 'printf '\''\c myapp \\\ SELECT * from myApp;\n'\'' | psql -v ON_ERROR_STOP=1 -t -q postgres://'\''postgres:default-db-password@users-primary.kuttl-test-pumped-cub.svc'\''' logger.go:42: 12:14:56 | users/6-read-from-primary | + data=' 100500 logger.go:42: 12:14:56 | users/6-read-from-primary | 100501' logger.go:42: 12:14:56 | users/6-read-from-primary | + kubectl create configmap -n kuttl-test-pumped-cub 06-read-from-primary '--from-literal=data= 100500 logger.go:42: 12:14:56 | users/6-read-from-primary | 100501' logger.go:42: 12:14:56 | users/6-read-from-primary | configmap/06-read-from-primary created logger.go:42: 12:14:56 | users/6-read-from-primary | + kubectl get configmap -n kuttl-test-pumped-cub 06-read-from-primary -o yaml logger.go:42: 12:14:56 | users/6-read-from-primary | apiVersion: v1 logger.go:42: 12:14:56 | users/6-read-from-primary | data: logger.go:42: 12:14:56 | users/6-read-from-primary | data: |2- logger.go:42: 12:14:56 | users/6-read-from-primary | 100500 logger.go:42: 12:14:56 | users/6-read-from-primary | 100501 logger.go:42: 12:14:56 | users/6-read-from-primary | kind: ConfigMap logger.go:42: 12:14:56 | users/6-read-from-primary | metadata: logger.go:42: 12:14:56 | users/6-read-from-primary | creationTimestamp: "2025-04-02T12:14:56Z" logger.go:42: 12:14:56 | users/6-read-from-primary | name: 06-read-from-primary logger.go:42: 12:14:56 | users/6-read-from-primary | namespace: kuttl-test-pumped-cub logger.go:42: 12:14:56 | users/6-read-from-primary | resourceVersion: "30590" logger.go:42: 12:14:56 | users/6-read-from-primary | uid: d14c5022-4943-4e21-a8fd-2c87b74106c8 logger.go:42: 12:14:57 | users/6-read-from-primary | test step completed 6-read-from-primary logger.go:42: 12:14:57 | users/7-add-custom-user | starting test step 7-add-custom-user logger.go:42: 12:14:57 | users/7-add-custom-user | running command: [sh -c set -o errexit set -o xtrace source ../../functions kubectl -n ${NAMESPACE} patch perconapgcluster/${test_name} --type=json -p '[{"op":"add", "path":"/spec/autoCreateUserSchema","value":true},{"op":"add", "path":"/spec/users","value":[{"name":"rhino","databases":["zoo"],"password":{"type":"ASCII"},"secretName":"rhino-credentials"}]}]' sleep 10] logger.go:42: 12:14:57 | users/7-add-custom-user | + source ../../functions logger.go:42: 12:14:57 | users/7-add-custom-user | +++ realpath ../../.. logger.go:42: 12:14:57 | users/7-add-custom-user | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:57 | users/7-add-custom-user | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:14:57 | users/7-add-custom-user | ++++ pwd logger.go:42: 12:14:57 | users/7-add-custom-user | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:14:57 | users/7-add-custom-user | ++ test_name=users logger.go:42: 12:14:57 | users/7-add-custom-user | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:14:57 | users/7-add-custom-user | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:14:57 | users/7-add-custom-user | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:14:57 | users/7-add-custom-user | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:14:57 | users/7-add-custom-user | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:14:57 | users/7-add-custom-user | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:14:57 | users/7-add-custom-user | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export PG_VER=17 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ PG_VER=17 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:14:57 | users/7-add-custom-user | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:14:57 | users/7-add-custom-user | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export BUCKET=pg-operator-testing logger.go:42: 12:14:57 | users/7-add-custom-user | +++ BUCKET=pg-operator-testing logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:14:57 | users/7-add-custom-user | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:14:57 | users/7-add-custom-user | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ export PGOV1_VER=14 logger.go:42: 12:14:57 | users/7-add-custom-user | +++ PGOV1_VER=14 logger.go:42: 12:14:57 | users/7-add-custom-user | ++++ which gdate logger.go:42: 12:14:57 | users/7-add-custom-user | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:14:57 | users/7-add-custom-user | ++++ which date logger.go:42: 12:14:57 | users/7-add-custom-user | +++ date=/usr/bin/date logger.go:42: 12:14:57 | users/7-add-custom-user | ++++ which gsed logger.go:42: 12:14:57 | users/7-add-custom-user | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:14:57 | users/7-add-custom-user | ++++ which sed logger.go:42: 12:14:57 | users/7-add-custom-user | +++ sed=/usr/bin/sed logger.go:42: 12:14:57 | users/7-add-custom-user | +++ command -v oc logger.go:42: 12:14:57 | users/7-add-custom-user | ++ oc get projects logger.go:42: 12:14:57 | users/7-add-custom-user | + kubectl -n kuttl-test-pumped-cub patch perconapgcluster/users --type=json -p '[{"op":"add", "path":"/spec/autoCreateUserSchema","value":true},{"op":"add", "path":"/spec/users","value":[{"name":"rhino","databases":["zoo"],"password":{"type":"ASCII"},"secretName":"rhino-credentials"}]}]' logger.go:42: 12:14:58 | users/7-add-custom-user | perconapgcluster.pgv2.percona.com/users patched logger.go:42: 12:14:58 | users/7-add-custom-user | + sleep 10 logger.go:42: 12:15:09 | users/7-add-custom-user | test step completed 7-add-custom-user logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | starting test step 8-write-data-to-custom-db logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | running command: [sh -c set -o errexit set -o xtrace source ../../functions password=$(get_psql_user_pass rhino-credentials) user='rhino' db_name='zoo' schema='rhino' hostname=$(get_pgbouncer_host rhino-credentials) run_psql \ 'CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);' \ "-h $hostname -U $user -d $db_name" "$password" run_psql \ "INSERT INTO $schema.customApp (id) VALUES (100500)" \ "-h $hostname -U $user -d $db_name" "$password" ] logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | + source ../../functions logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ realpath ../../.. logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++++ pwd logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ test_name=users logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export PG_VER=17 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ PG_VER=17 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ export PGOV1_VER=14 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ PGOV1_VER=14 logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++++ which gdate logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++++ which date logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ date=/usr/bin/date logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++++ which gsed logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++++ which sed logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ sed=/usr/bin/sed logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | +++ command -v oc logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ oc get projects logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-pumped-cub get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | + password='0R0tc8xaW_X=MwG@1;l}CQ}y' logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | + user=rhino logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | + db_name=zoo logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | + schema=rhino logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-pumped-cub get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ base64 -d logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | + hostname=users-pgbouncer.kuttl-test-pumped-cub.svc logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | + run_psql 'CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);' '-h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' '0R0tc8xaW_X=MwG@1;l}CQ}y' logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | + local 'command=CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);' logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | + local 'uri=-h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | + local 'password=0R0tc8xaW_X=MwG@1;l}CQ}y' logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ get_client_pod logger.go:42: 12:15:09 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-pumped-cub get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 12:15:10 | users/8-write-data-to-custom-db | + kubectl -n kuttl-test-pumped-cub exec pg-client-b7cfff86c-52zl6 -- bash -c 'printf '\''CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);\n'\'' | PGPASSWORD='\''0R0tc8xaW_X=MwG@1;l}CQ}y'\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' logger.go:42: 12:15:11 | users/8-write-data-to-custom-db | + run_psql 'INSERT INTO rhino.customApp (id) VALUES (100500)' '-h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' '0R0tc8xaW_X=MwG@1;l}CQ}y' logger.go:42: 12:15:11 | users/8-write-data-to-custom-db | + local 'command=INSERT INTO rhino.customApp (id) VALUES (100500)' logger.go:42: 12:15:11 | users/8-write-data-to-custom-db | + local 'uri=-h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' logger.go:42: 12:15:11 | users/8-write-data-to-custom-db | + local 'password=0R0tc8xaW_X=MwG@1;l}CQ}y' logger.go:42: 12:15:11 | users/8-write-data-to-custom-db | ++ get_client_pod logger.go:42: 12:15:11 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-pumped-cub get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 12:15:12 | users/8-write-data-to-custom-db | + kubectl -n kuttl-test-pumped-cub exec pg-client-b7cfff86c-52zl6 -- bash -c 'printf '\''INSERT INTO rhino.customApp (id) VALUES (100500)\n'\'' | PGPASSWORD='\''0R0tc8xaW_X=MwG@1;l}CQ}y'\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' logger.go:42: 12:15:13 | users/8-write-data-to-custom-db | test step completed 8-write-data-to-custom-db logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | starting test step 9-read-from-primary-custom-db logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | running command: [sh -c set -o errexit set -o xtrace source ../../functions password=$(get_psql_user_pass rhino-credentials) user='rhino' db_name='zoo' schema='rhino' hostname=$(get_pgbouncer_host rhino-credentials) data=$(run_psql "SELECT * from $schema.customApp;" "-h $hostname -U $user -d $db_name" "$password") kubectl create configmap -n "${NAMESPACE}" 09-read-from-primary-custom-db --from-literal=data="${data}"] logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | + source ../../functions logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ realpath ../../.. logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++++ pwd logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++ test_name=users logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export PG_VER=17 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ PG_VER=17 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ export PGOV1_VER=14 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ PGOV1_VER=14 logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++++ which gdate logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++++ which date logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ date=/usr/bin/date logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++++ which gsed logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++++ which sed logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ sed=/usr/bin/sed logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | +++ command -v oc logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++ oc get projects logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 12:15:13 | users/9-read-from-primary-custom-db | ++ kubectl -n kuttl-test-pumped-cub get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | + password='0R0tc8xaW_X=MwG@1;l}CQ}y' logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | + user=rhino logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | + db_name=zoo logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | + schema=rhino logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | ++ kubectl -n kuttl-test-pumped-cub get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | ++ base64 -d logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | + hostname=users-pgbouncer.kuttl-test-pumped-cub.svc logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | ++ run_psql 'SELECT * from rhino.customApp;' '-h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' '0R0tc8xaW_X=MwG@1;l}CQ}y' logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | ++ local 'command=SELECT * from rhino.customApp;' logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | ++ local 'uri=-h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | ++ local 'password=0R0tc8xaW_X=MwG@1;l}CQ}y' logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | +++ get_client_pod logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | +++ kubectl -n kuttl-test-pumped-cub get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 12:15:14 | users/9-read-from-primary-custom-db | ++ kubectl -n kuttl-test-pumped-cub exec pg-client-b7cfff86c-52zl6 -- bash -c 'printf '\''SELECT * from rhino.customApp;\n'\'' | PGPASSWORD='\''0R0tc8xaW_X=MwG@1;l}CQ}y'\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' logger.go:42: 12:15:16 | users/9-read-from-primary-custom-db | + data=' 100500' logger.go:42: 12:15:16 | users/9-read-from-primary-custom-db | + kubectl create configmap -n kuttl-test-pumped-cub 09-read-from-primary-custom-db '--from-literal=data= 100500' logger.go:42: 12:15:16 | users/9-read-from-primary-custom-db | configmap/09-read-from-primary-custom-db created logger.go:42: 12:15:17 | users/9-read-from-primary-custom-db | test step completed 9-read-from-primary-custom-db logger.go:42: 12:15:17 | users/10-update-custom-user-password | starting test step 10-update-custom-user-password logger.go:42: 12:15:17 | users/10-update-custom-user-password | running command: [sh -c set -o errexit set -o xtrace source ../../functions kubectl -n ${NAMESPACE} patch secret rhino-credentials --type merge --patch '{"stringData": {"password": "custom-db-password","verifier":""}}' sleep 5] logger.go:42: 12:15:17 | users/10-update-custom-user-password | + source ../../functions logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ realpath ../../.. logger.go:42: 12:15:17 | users/10-update-custom-user-password | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:17 | users/10-update-custom-user-password | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:15:17 | users/10-update-custom-user-password | ++++ pwd logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:15:17 | users/10-update-custom-user-password | ++ test_name=users logger.go:42: 12:15:17 | users/10-update-custom-user-password | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:15:17 | users/10-update-custom-user-password | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export PG_VER=17 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ PG_VER=17 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export BUCKET=pg-operator-testing logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ BUCKET=pg-operator-testing logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ export PGOV1_VER=14 logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ PGOV1_VER=14 logger.go:42: 12:15:17 | users/10-update-custom-user-password | ++++ which gdate logger.go:42: 12:15:17 | users/10-update-custom-user-password | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:15:17 | users/10-update-custom-user-password | ++++ which date logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ date=/usr/bin/date logger.go:42: 12:15:17 | users/10-update-custom-user-password | ++++ which gsed logger.go:42: 12:15:17 | users/10-update-custom-user-password | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:15:17 | users/10-update-custom-user-password | ++++ which sed logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ sed=/usr/bin/sed logger.go:42: 12:15:17 | users/10-update-custom-user-password | +++ command -v oc logger.go:42: 12:15:17 | users/10-update-custom-user-password | ++ oc get projects logger.go:42: 12:15:17 | users/10-update-custom-user-password | + kubectl -n kuttl-test-pumped-cub patch secret rhino-credentials --type merge --patch '{"stringData": {"password": "custom-db-password","verifier":""}}' logger.go:42: 12:15:17 | users/10-update-custom-user-password | secret/rhino-credentials patched logger.go:42: 12:15:17 | users/10-update-custom-user-password | + sleep 5 logger.go:42: 12:15:22 | users/10-update-custom-user-password | test step completed 10-update-custom-user-password logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | starting test step 11-write-data-to-custom-db logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | running command: [sh -c set -o errexit set -o xtrace source ../../functions password=$(get_psql_user_pass rhino-credentials) user='rhino' db_name='zoo' schema='rhino' hostname=$(get_pgbouncer_host rhino-credentials) run_psql \ "INSERT INTO $schema.customApp (id) VALUES (100501)" \ "-h $hostname -U $user -d $db_name" "$password"] logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | + source ../../functions logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ realpath ../../.. logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++++ pwd logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++ test_name=users logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export PG_VER=17 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ PG_VER=17 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ export PGOV1_VER=14 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ PGOV1_VER=14 logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++++ which gdate logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++++ which date logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ date=/usr/bin/date logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++++ which gsed logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++++ which sed logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ sed=/usr/bin/sed logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | +++ command -v oc logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++ oc get projects logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++ kubectl -n kuttl-test-pumped-cub get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | + password=custom-db-password logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | + user=rhino logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | + db_name=zoo logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | + schema=rhino logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++ kubectl -n kuttl-test-pumped-cub get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 12:15:22 | users/11-write-data-to-custom-db | ++ base64 -d logger.go:42: 12:15:23 | users/11-write-data-to-custom-db | + hostname=users-pgbouncer.kuttl-test-pumped-cub.svc logger.go:42: 12:15:23 | users/11-write-data-to-custom-db | + run_psql 'INSERT INTO rhino.customApp (id) VALUES (100501)' '-h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' custom-db-password logger.go:42: 12:15:23 | users/11-write-data-to-custom-db | + local 'command=INSERT INTO rhino.customApp (id) VALUES (100501)' logger.go:42: 12:15:23 | users/11-write-data-to-custom-db | + local 'uri=-h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' logger.go:42: 12:15:23 | users/11-write-data-to-custom-db | + local password=custom-db-password logger.go:42: 12:15:23 | users/11-write-data-to-custom-db | ++ get_client_pod logger.go:42: 12:15:23 | users/11-write-data-to-custom-db | ++ kubectl -n kuttl-test-pumped-cub get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 12:15:23 | users/11-write-data-to-custom-db | + kubectl -n kuttl-test-pumped-cub exec pg-client-b7cfff86c-52zl6 -- bash -c 'printf '\''INSERT INTO rhino.customApp (id) VALUES (100501)\n'\'' | PGPASSWORD='\''custom-db-password'\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' logger.go:42: 12:15:25 | users/11-write-data-to-custom-db | test step completed 11-write-data-to-custom-db logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | starting test step 12-read-from-primary-custom-db logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | running command: [sh -c set -o errexit set -o xtrace source ../../functions password=$(get_psql_user_pass rhino-credentials) user='rhino' db_name='zoo' schema='rhino' hostname=$(get_pgbouncer_host rhino-credentials) data=$(run_psql "SELECT * from $schema.customApp;" "-h $hostname -U $user -d $db_name" "$password") kubectl create configmap -n "${NAMESPACE}" 12-read-from-primary-custom-db --from-literal=data="${data}"] logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | + source ../../functions logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ realpath ../../.. logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++++ pwd logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++ test_name=users logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export PG_VER=17 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ PG_VER=17 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ export PGOV1_VER=14 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ PGOV1_VER=14 logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++++ which gdate logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++++ which date logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ date=/usr/bin/date logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++++ which gsed logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++++ which sed logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ sed=/usr/bin/sed logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | +++ command -v oc logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++ oc get projects logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++ kubectl -n kuttl-test-pumped-cub get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | + password=custom-db-password logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | + user=rhino logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | + db_name=zoo logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | + schema=rhino logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++ kubectl -n kuttl-test-pumped-cub get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 12:15:25 | users/12-read-from-primary-custom-db | ++ base64 -d logger.go:42: 12:15:26 | users/12-read-from-primary-custom-db | + hostname=users-pgbouncer.kuttl-test-pumped-cub.svc logger.go:42: 12:15:26 | users/12-read-from-primary-custom-db | ++ run_psql 'SELECT * from rhino.customApp;' '-h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' custom-db-password logger.go:42: 12:15:26 | users/12-read-from-primary-custom-db | ++ local 'command=SELECT * from rhino.customApp;' logger.go:42: 12:15:26 | users/12-read-from-primary-custom-db | ++ local 'uri=-h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' logger.go:42: 12:15:26 | users/12-read-from-primary-custom-db | ++ local password=custom-db-password logger.go:42: 12:15:26 | users/12-read-from-primary-custom-db | +++ get_client_pod logger.go:42: 12:15:26 | users/12-read-from-primary-custom-db | +++ kubectl -n kuttl-test-pumped-cub get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 12:15:26 | users/12-read-from-primary-custom-db | ++ kubectl -n kuttl-test-pumped-cub exec pg-client-b7cfff86c-52zl6 -- bash -c 'printf '\''SELECT * from rhino.customApp;\n'\'' | PGPASSWORD='\''custom-db-password'\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-pumped-cub.svc -U rhino -d zoo' logger.go:42: 12:15:28 | users/12-read-from-primary-custom-db | + data=' 100500 logger.go:42: 12:15:28 | users/12-read-from-primary-custom-db | 100501' logger.go:42: 12:15:28 | users/12-read-from-primary-custom-db | + kubectl create configmap -n kuttl-test-pumped-cub 12-read-from-primary-custom-db '--from-literal=data= 100500 logger.go:42: 12:15:28 | users/12-read-from-primary-custom-db | 100501' logger.go:42: 12:15:28 | users/12-read-from-primary-custom-db | configmap/12-read-from-primary-custom-db created logger.go:42: 12:15:28 | users/12-read-from-primary-custom-db | test step completed 12-read-from-primary-custom-db logger.go:42: 12:15:28 | users/99-remove-cluster-gracefully | starting test step 99-remove-cluster-gracefully logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | running command: [sh -c set -o errexit set -o xtrace source ../../functions remove_all_finalizers destroy_operator] logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + source ../../functions logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ realpath ../../.. logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | ++++ pwd logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/tests/users logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | ++ test_name=users logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/vars.sh logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/deploy logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/e2e-tests/conf logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export GIT_BRANCH=PR-1098 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ GIT_BRANCH=PR-1098 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ VERSION=PR-1098-a75a3b9b6 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export PG_VER=17 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ PG_VER=17 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-pgbouncer17 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-pgbackrest17 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export BUCKET=pg-operator-testing logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ BUCKET=pg-operator-testing logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export PGOV1_TAG=1.4.0 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ PGOV1_TAG=1.4.0 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ export PGOV1_VER=14 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ PGOV1_VER=14 logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | ++++ which gdate logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | ++++ which date logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ date=/usr/bin/date logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | ++++ which gsed logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1098/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | ++++ which sed logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ sed=/usr/bin/sed logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | +++ command -v oc logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | ++ oc get projects logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + remove_all_finalizers logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + resource_types=("pg-restore" "pg-backup" "pg") logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + for resource in '"${resource_types[@]}"' logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + echo 'removing all finalizers for pg-restore resources' logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | removing all finalizers for pg-restore resources logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-pumped-cub get pg-restore -o json logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + jq '.items[] | .metadata.name' -r logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + for resource in '"${resource_types[@]}"' logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + echo 'removing all finalizers for pg-backup resources' logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | removing all finalizers for pg-backup resources logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + jq '.items[] | .metadata.name' -r logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 12:15:41 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-pumped-cub get pg-backup -o json logger.go:42: 12:15:42 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-pumped-cub delete pg-backup users-backup-lp2b-49csz --wait=0 logger.go:42: 12:15:42 | users/99-remove-cluster-gracefully | perconapgbackup.pgv2.percona.com "users-backup-lp2b-49csz" deleted logger.go:42: 12:15:42 | users/99-remove-cluster-gracefully | ++ kubectl -n kuttl-test-pumped-cub get pg-backup users-backup-lp2b-49csz -o yaml logger.go:42: 12:15:42 | users/99-remove-cluster-gracefully | ++ yq '.metadata.finalizers | length' logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | Error from server (NotFound): perconapgbackups.pgv2.percona.com "users-backup-lp2b-49csz" not found logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + [[ 0 == \0 ]] logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + continue logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + for resource in '"${resource_types[@]}"' logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + echo 'removing all finalizers for pg resources' logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | removing all finalizers for pg resources logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-pumped-cub get pg -o json logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + jq '.items[] | .metadata.name' -r logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + destroy_operator logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + kubectl -n pg-operator delete deployment percona-postgresql-operator --force --grace-period=0 logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | 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. logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | deployment.apps "percona-postgresql-operator" force deleted logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + [[ -n pg-operator ]] logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | + kubectl delete namespace pg-operator --force --grace-period=0 logger.go:42: 12:15:43 | users/99-remove-cluster-gracefully | 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. logger.go:42: 12:15:44 | users/99-remove-cluster-gracefully | namespace "pg-operator" force deleted logger.go:42: 12:15:49 | users/99-remove-cluster-gracefully | test step completed 99-remove-cluster-gracefully logger.go:42: 12:15:50 | users | users events from ns kuttl-test-pumped-cub: logger.go:42: 12:15:50 | users | 2025-04-02 12:13:35 +0000 UTC Normal Pod pg-client-b7cfff86c-52zl6 Binding Scheduled Successfully assigned kuttl-test-pumped-cub/pg-client-b7cfff86c-52zl6 to gke-jen-pg-1098-a75a3b9b-default-pool-d09857f7-kfxn default-scheduler logger.go:42: 12:15:50 | users | 2025-04-02 12:13:35 +0000 UTC Normal ReplicaSet.apps pg-client-b7cfff86c SuccessfulCreate Created pod: pg-client-b7cfff86c-52zl6 replicaset-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:35 +0000 UTC Normal Deployment.apps pg-client ScalingReplicaSet Scaled up replica set pg-client-b7cfff86c to 1 deployment-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:36 +0000 UTC Normal Pod pg-client-b7cfff86c-52zl6.spec.containers{pg-client} Pulling Pulling image "perconalab/percona-distribution-postgresql:16" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:36 +0000 UTC Normal Pod pg-client-b7cfff86c-52zl6.spec.containers{pg-client} Pulled Successfully pulled image "perconalab/percona-distribution-postgresql:16" in 124ms (124ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:36 +0000 UTC Normal Pod pg-client-b7cfff86c-52zl6.spec.containers{pg-client} Created Created container: pg-client kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:36 +0000 UTC Normal Pod pg-client-b7cfff86c-52zl6.spec.containers{pg-client} Started Started container pg-client kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:37 +0000 UTC Normal Pod users-patroni-version-check Binding Scheduled Successfully assigned kuttl-test-pumped-cub/users-patroni-version-check to gke-jen-pg-1098-a75a3b9b-default-pool-d09857f7-kfxn default-scheduler logger.go:42: 12:15:50 | users | 2025-04-02 12:13:38 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Pulled Container image "perconalab/percona-postgresql-operator:main-ppg17-postgres" already present on machine kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:38 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Created Created container: patroni-version-check kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:38 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Started Started container patroni-version-check kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:43 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Killing Stopping container patroni-version-check kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:44 +0000 UTC Normal PersistentVolumeClaim users-instance1-2gf6-pgdata WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:44 +0000 UTC Normal PersistentVolumeClaim users-instance1-5vg9-pgdata WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:44 +0000 UTC Normal PersistentVolumeClaim users-instance1-5vg9-pgdata Provisioning External provisioner is provisioning volume for claim "kuttl-test-pumped-cub/users-instance1-5vg9-pgdata" pd.csi.storage.gke.io_gke-a3f58599a59945dbabc2-bff6-0964-vm_fc2cc7fa-e9bb-4b71-841a-3a0fc07e43af logger.go:42: 12:15:50 | users | 2025-04-02 12:13:44 +0000 UTC Normal PersistentVolumeClaim users-instance1-5vg9-pgdata ExternalProvisioning Waiting for a volume to be created either by the external provisioner 'pd.csi.storage.gke.io' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered. persistentvolume-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:44 +0000 UTC Normal StatefulSet.apps users-instance1-5vg9 SuccessfulCreate create Pod users-instance1-5vg9-0 in StatefulSet users-instance1-5vg9 successful statefulset-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:44 +0000 UTC Normal PersistentVolumeClaim users-instance1-rpxk-pgdata WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:45 +0000 UTC Normal PersistentVolumeClaim users-instance1-2gf6-pgdata Provisioning External provisioner is provisioning volume for claim "kuttl-test-pumped-cub/users-instance1-2gf6-pgdata" pd.csi.storage.gke.io_gke-a3f58599a59945dbabc2-bff6-0964-vm_fc2cc7fa-e9bb-4b71-841a-3a0fc07e43af logger.go:42: 12:15:50 | users | 2025-04-02 12:13:45 +0000 UTC Normal PersistentVolumeClaim users-instance1-2gf6-pgdata ExternalProvisioning Waiting for a volume to be created either by the external provisioner 'pd.csi.storage.gke.io' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered. persistentvolume-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:45 +0000 UTC Normal StatefulSet.apps users-instance1-2gf6 SuccessfulCreate create Pod users-instance1-2gf6-0 in StatefulSet users-instance1-2gf6 successful statefulset-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:45 +0000 UTC Normal PersistentVolumeClaim users-instance1-rpxk-pgdata ExternalProvisioning Waiting for a volume to be created either by the external provisioner 'pd.csi.storage.gke.io' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered. persistentvolume-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:45 +0000 UTC Normal PersistentVolumeClaim users-instance1-rpxk-pgdata Provisioning External provisioner is provisioning volume for claim "kuttl-test-pumped-cub/users-instance1-rpxk-pgdata" pd.csi.storage.gke.io_gke-a3f58599a59945dbabc2-bff6-0964-vm_fc2cc7fa-e9bb-4b71-841a-3a0fc07e43af logger.go:42: 12:15:50 | users | 2025-04-02 12:13:45 +0000 UTC Normal StatefulSet.apps users-instance1-rpxk SuccessfulCreate create Pod users-instance1-rpxk-0 in StatefulSet users-instance1-rpxk successful statefulset-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:45 +0000 UTC Warning StatefulSet.apps users-repo-host FailedCreate create Pod users-repo-host-0 in StatefulSet users-repo-host failed error: pods "users-repo-host-0" is forbidden: error looking up service account kuttl-test-pumped-cub/users-pgbackrest: serviceaccount "users-pgbackrest" not found statefulset-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:45 +0000 UTC Normal StatefulSet.apps users-repo-host SuccessfulCreate create Pod users-repo-host-0 in StatefulSet users-repo-host successful statefulset-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:45 +0000 UTC Normal PersistentVolumeClaim users-repo1 WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:45 +0000 UTC Normal PersistentVolumeClaim users-repo1 Provisioning External provisioner is provisioning volume for claim "kuttl-test-pumped-cub/users-repo1" pd.csi.storage.gke.io_gke-a3f58599a59945dbabc2-bff6-0964-vm_fc2cc7fa-e9bb-4b71-841a-3a0fc07e43af logger.go:42: 12:15:50 | users | 2025-04-02 12:13:45 +0000 UTC Normal PersistentVolumeClaim users-repo1 ExternalProvisioning Waiting for a volume to be created either by the external provisioner 'pd.csi.storage.gke.io' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered. persistentvolume-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:45 +0000 UTC Normal PostgresCluster.postgres-operator.crunchydata.com users RepoHostCreated created pgBackRest repository host StatefulSet/users-repo-host postgrescluster-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:46 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bclzl Binding Scheduled Successfully assigned kuttl-test-pumped-cub/users-pgbouncer-76cd5d7dd7-bclzl to gke-jen-pg-1098-a75a3b9b-default-pool-d09857f7-r6vv default-scheduler logger.go:42: 12:15:50 | users | 2025-04-02 12:13:46 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bclzl.spec.containers{pgbouncer} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbouncer17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:46 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bg88j Binding Scheduled Successfully assigned kuttl-test-pumped-cub/users-pgbouncer-76cd5d7dd7-bg88j to gke-jen-pg-1098-a75a3b9b-default-pool-d09857f7-fd1t default-scheduler logger.go:42: 12:15:50 | users | 2025-04-02 12:13:46 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-pqflx Binding Scheduled Successfully assigned kuttl-test-pumped-cub/users-pgbouncer-76cd5d7dd7-pqflx to gke-jen-pg-1098-a75a3b9b-default-pool-d09857f7-kfxn default-scheduler logger.go:42: 12:15:50 | users | 2025-04-02 12:13:46 +0000 UTC Normal ReplicaSet.apps users-pgbouncer-76cd5d7dd7 SuccessfulCreate Created pod: users-pgbouncer-76cd5d7dd7-bclzl replicaset-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:46 +0000 UTC Normal ReplicaSet.apps users-pgbouncer-76cd5d7dd7 SuccessfulCreate Created pod: users-pgbouncer-76cd5d7dd7-pqflx replicaset-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:46 +0000 UTC Normal ReplicaSet.apps users-pgbouncer-76cd5d7dd7 SuccessfulCreate Created pod: users-pgbouncer-76cd5d7dd7-bg88j replicaset-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:46 +0000 UTC Normal PodDisruptionBudget.policy users-pgbouncer NoPods No matching pods found controllermanager logger.go:42: 12:15:50 | users | 2025-04-02 12:13:46 +0000 UTC Normal Deployment.apps users-pgbouncer ScalingReplicaSet Scaled up replica set users-pgbouncer-76cd5d7dd7 to 3 deployment-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bclzl.spec.containers{pgbouncer} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbouncer17" in 110ms (110ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bclzl.spec.containers{pgbouncer} Created Created container: pgbouncer kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bclzl.spec.containers{pgbouncer} Started Started container pgbouncer kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bclzl.spec.containers{pgbouncer-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbouncer17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bclzl.spec.containers{pgbouncer-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbouncer17" in 101ms (101ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bclzl.spec.containers{pgbouncer-config} Created Created container: pgbouncer-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bclzl.spec.containers{pgbouncer-config} Started Started container pgbouncer-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bg88j.spec.containers{pgbouncer} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbouncer17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bg88j.spec.containers{pgbouncer} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbouncer17" in 126ms (126ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bg88j.spec.containers{pgbouncer} Created Created container: pgbouncer kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bg88j.spec.containers{pgbouncer} Started Started container pgbouncer kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bg88j.spec.containers{pgbouncer-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbouncer17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bg88j.spec.containers{pgbouncer-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbouncer17" in 155ms (155ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bg88j.spec.containers{pgbouncer-config} Created Created container: pgbouncer-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bg88j.spec.containers{pgbouncer-config} Started Started container pgbouncer-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-pqflx.spec.containers{pgbouncer} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbouncer17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-pqflx.spec.containers{pgbouncer} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbouncer17" in 110ms (110ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-pqflx.spec.containers{pgbouncer} Created Created container: pgbouncer kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-pqflx.spec.containers{pgbouncer} Started Started container pgbouncer kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-pqflx.spec.containers{pgbouncer-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbouncer17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-pqflx.spec.containers{pgbouncer-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbouncer17" in 99ms (99ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-pqflx.spec.containers{pgbouncer-config} Created Created container: pgbouncer-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:47 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-pqflx.spec.containers{pgbouncer-config} Started Started container pgbouncer-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:48 +0000 UTC Normal Pod users-instance1-5vg9-0 Binding Scheduled Successfully assigned kuttl-test-pumped-cub/users-instance1-5vg9-0 to gke-jen-pg-1098-a75a3b9b-default-pool-d09857f7-kfxn default-scheduler logger.go:42: 12:15:50 | users | 2025-04-02 12:13:48 +0000 UTC Normal PersistentVolumeClaim users-instance1-5vg9-pgdata ProvisioningSucceeded Successfully provisioned volume pvc-bc2eace3-7306-4569-a63c-670380554d64 pd.csi.storage.gke.io_gke-a3f58599a59945dbabc2-bff6-0964-vm_fc2cc7fa-e9bb-4b71-841a-3a0fc07e43af logger.go:42: 12:15:50 | users | 2025-04-02 12:13:48 +0000 UTC Normal PersistentVolumeClaim users-instance1-rpxk-pgdata ProvisioningSucceeded Successfully provisioned volume pvc-118d5f2e-f5ab-4095-8ed6-31d390a3ecc6 pd.csi.storage.gke.io_gke-a3f58599a59945dbabc2-bff6-0964-vm_fc2cc7fa-e9bb-4b71-841a-3a0fc07e43af logger.go:42: 12:15:50 | users | 2025-04-02 12:13:49 +0000 UTC Normal Pod users-instance1-2gf6-0 Binding Scheduled Successfully assigned kuttl-test-pumped-cub/users-instance1-2gf6-0 to gke-jen-pg-1098-a75a3b9b-default-pool-d09857f7-fd1t default-scheduler logger.go:42: 12:15:50 | users | 2025-04-02 12:13:49 +0000 UTC Normal PersistentVolumeClaim users-instance1-2gf6-pgdata ProvisioningSucceeded Successfully provisioned volume pvc-f396f5a9-36fd-4d39-acd0-d566b47e4638 pd.csi.storage.gke.io_gke-a3f58599a59945dbabc2-bff6-0964-vm_fc2cc7fa-e9bb-4b71-841a-3a0fc07e43af logger.go:42: 12:15:50 | users | 2025-04-02 12:13:49 +0000 UTC Normal Pod users-instance1-rpxk-0 Binding Scheduled Successfully assigned kuttl-test-pumped-cub/users-instance1-rpxk-0 to gke-jen-pg-1098-a75a3b9b-default-pool-d09857f7-r6vv default-scheduler logger.go:42: 12:15:50 | users | 2025-04-02 12:13:49 +0000 UTC Normal Pod users-repo-host-0 Binding Scheduled Successfully assigned kuttl-test-pumped-cub/users-repo-host-0 to gke-jen-pg-1098-a75a3b9b-default-pool-d09857f7-kfxn default-scheduler logger.go:42: 12:15:50 | users | 2025-04-02 12:13:49 +0000 UTC Normal PersistentVolumeClaim users-repo1 ProvisioningSucceeded Successfully provisioned volume pvc-3238af01-2da6-4e26-8123-0bcec1e17c14 pd.csi.storage.gke.io_gke-a3f58599a59945dbabc2-bff6-0964-vm_fc2cc7fa-e9bb-4b71-841a-3a0fc07e43af logger.go:42: 12:15:50 | users | 2025-04-02 12:13:56 +0000 UTC Normal Pod users-instance1-5vg9-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-bc2eace3-7306-4569-a63c-670380554d64" attachdetach-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:56 +0000 UTC Normal Pod users-instance1-rpxk-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-118d5f2e-f5ab-4095-8ed6-31d390a3ecc6" attachdetach-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:57 +0000 UTC Normal Pod users-instance1-2gf6-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-f396f5a9-36fd-4d39-acd0-d566b47e4638" attachdetach-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:13:57 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.initContainers{postgres-startup} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:57 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.initContainers{postgres-startup} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 141ms (141ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:58 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.initContainers{postgres-startup} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:58 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.initContainers{postgres-startup} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 154ms (154ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:58 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.initContainers{postgres-startup} Created Created container: postgres-startup kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:58 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.initContainers{postgres-startup} Started Started container postgres-startup kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:58 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:58 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 115ms (115ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:58 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:59 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.initContainers{postgres-startup} Created Created container: postgres-startup kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:59 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.initContainers{postgres-startup} Started Started container postgres-startup kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:59 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:59 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:59 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{database} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:59 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{database} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 124ms (124ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:59 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{database} Created Created container: database kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:59 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.initContainers{postgres-startup} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:59 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.initContainers{postgres-startup} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 161ms (161ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:59 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.initContainers{postgres-startup} Created Created container: postgres-startup kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:13:59 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.initContainers{postgres-startup} Started Started container postgres-startup kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 166ms (166ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{database} Started Started container database kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{replication-cert-copy} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{replication-cert-copy} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 125ms (125ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{replication-cert-copy} Created Created container: replication-cert-copy kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{replication-cert-copy} Started Started container replication-cert-copy kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbackrest17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbackrest17" in 92ms (92ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbackrest17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbackrest17" in 114ms (114ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 116ms (116ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:00 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{database} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{database} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 173ms (173ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{database} Created Created container: database kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{database} Started Started container database kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{replication-cert-copy} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{replication-cert-copy} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 154ms (154ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{replication-cert-copy} Created Created container: replication-cert-copy kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{replication-cert-copy} Started Started container replication-cert-copy kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbackrest17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbackrest17" in 122ms (122ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbackrest17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{database} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{database} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 134ms (134ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{database} Created Created container: database kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{database} Started Started container database kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{replication-cert-copy} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{replication-cert-copy} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 143ms (143ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{replication-cert-copy} Created Created container: replication-cert-copy kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{replication-cert-copy} Started Started container replication-cert-copy kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbackrest17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbackrest17" in 106ms (106ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbackrest17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:01 +0000 UTC Normal Pod users-repo-host-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-3238af01-2da6-4e26-8123-0bcec1e17c14" attachdetach-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbackrest17" in 123ms (123ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-instance1-2gf6-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbackrest17" in 100ms (100ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-instance1-rpxk-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbackrest17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbackrest17" in 93ms (93ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Created Created container: pgbackrest-log-dir kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Started Started container pgbackrest-log-dir kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbackrest17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbackrest17" in 93ms (93ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:02 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:03 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:03 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbackrest17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:03 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbackrest17" in 95ms (95ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:03 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:04 +0000 UTC Warning Pod users-instance1-2gf6-0.spec.containers{database} Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 503 kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:04 +0000 UTC Warning Pod users-instance1-rpxk-0.spec.containers{database} Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 503 kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:04 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:04 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbackrest17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:04 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbackrest17" in 94ms (94ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:04 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:04 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:06 +0000 UTC Normal Pod users-backup-lp2b-276kz Binding Scheduled Successfully assigned kuttl-test-pumped-cub/users-backup-lp2b-276kz to gke-jen-pg-1098-a75a3b9b-default-pool-d09857f7-r6vv default-scheduler logger.go:42: 12:15:50 | users | 2025-04-02 12:14:06 +0000 UTC Normal Job.batch users-backup-lp2b SuccessfulCreate Created pod: users-backup-lp2b-276kz job-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:14:06 +0000 UTC Normal PostgresCluster.postgres-operator.crunchydata.com users StanzasCreated pgBackRest stanza creation completed successfully postgrescluster-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:14:07 +0000 UTC Normal Pod users-backup-lp2b-276kz.spec.initContainers{pgbackrest-init} Pulling Pulling image "perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:07 +0000 UTC Normal Pod users-backup-lp2b-276kz.spec.initContainers{pgbackrest-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:PR-1098-a75a3b9b6" in 110ms (110ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:07 +0000 UTC Normal Pod users-backup-lp2b-276kz.spec.initContainers{pgbackrest-init} Created Created container: pgbackrest-init kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:07 +0000 UTC Normal Pod users-backup-lp2b-276kz.spec.initContainers{pgbackrest-init} Started Started container pgbackrest-init kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:08 +0000 UTC Normal Pod users-backup-lp2b-276kz.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-pgbackrest17" kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:08 +0000 UTC Normal Pod users-backup-lp2b-276kz.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-pgbackrest17" in 110ms (110ms including waiting) kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:08 +0000 UTC Normal Pod users-backup-lp2b-276kz.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:08 +0000 UTC Normal Pod users-backup-lp2b-276kz.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:14:10 +0000 UTC Warning PostgresCluster.postgres-operator.crunchydata.com users UnableToCreateStanzas command terminated with exit code 50: repo1-path = /pgbackrest/repo1 2025-04-02 12:14:10.580 P00 ERROR: [050]: unable to acquire lock on file '/tmp/pgbackrest/db-backup-1.lock': Resource temporarily unavailable HINT: is another pgBackRest process running? 2025-04-02 12:14:10.590 P00 ERROR: [050]: unable to acquire lock on file '/tmp/pgbackrest/db-backup-1.lock': Resource temporarily unavailable HINT: is another pgBackRest process running? postgrescluster-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:14:35 +0000 UTC Normal Job.batch users-backup-lp2b Completed Job completed job-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:15:29 +0000 UTC Normal StatefulSet.apps users-instance1-2gf6 SuccessfulDelete delete Pod users-instance1-2gf6-0 in StatefulSet users-instance1-2gf6 successful statefulset-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:15:30 +0000 UTC Normal StatefulSet.apps users-instance1-rpxk SuccessfulDelete delete Pod users-instance1-rpxk-0 in StatefulSet users-instance1-rpxk successful statefulset-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:15:31 +0000 UTC Normal Pod users-instance1-5vg9-0.spec.containers{database} Killing Stopping container database kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:15:31 +0000 UTC Normal StatefulSet.apps users-instance1-5vg9 SuccessfulDelete delete Pod users-instance1-5vg9-0 in StatefulSet users-instance1-5vg9 successful statefulset-controller logger.go:42: 12:15:50 | users | 2025-04-02 12:15:41 +0000 UTC Normal PodDisruptionBudget.policy users-set-instance1 NoPods No matching pods found controllermanager logger.go:42: 12:15:50 | users | 2025-04-02 12:15:42 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bclzl.spec.containers{pgbouncer} Killing Stopping container pgbouncer kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:15:42 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bclzl.spec.containers{pgbouncer-config} Killing Stopping container pgbouncer-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:15:42 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bg88j.spec.containers{pgbouncer} Killing Stopping container pgbouncer kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:15:42 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-bg88j.spec.containers{pgbouncer-config} Killing Stopping container pgbouncer-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:15:42 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-pqflx.spec.containers{pgbouncer} Killing Stopping container pgbouncer kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:15:42 +0000 UTC Normal Pod users-pgbouncer-76cd5d7dd7-pqflx.spec.containers{pgbouncer-config} Killing Stopping container pgbouncer-config kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:15:42 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Killing Stopping container pgbackrest kubelet logger.go:42: 12:15:50 | users | 2025-04-02 12:15:42 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Killing Stopping container pgbackrest-config kubelet logger.go:42: 12:15:50 | users | Deleting namespace: kuttl-test-pumped-cub === NAME kuttl harness.go:407: run tests finished harness.go:515: cleaning up harness.go:572: removing temp folder: "" --- PASS: kuttl (182.23s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/users (181.79s) PASS