=== 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.29.157.85 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: 14:15:01 | users | Creating namespace: kuttl-test-positive-narwhal logger.go:42: 14:15:01 | users/0-deploy-operator | starting test step 0-deploy-operator logger.go:42: 14:15:01 | 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: 14:15:01 | users/0-deploy-operator | + source ../../functions logger.go:42: 14:15:01 | users/0-deploy-operator | +++ realpath ../../.. logger.go:42: 14:15:01 | users/0-deploy-operator | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:15:01 | users/0-deploy-operator | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:15:01 | users/0-deploy-operator | ++++ pwd logger.go:42: 14:15:01 | users/0-deploy-operator | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:15:01 | users/0-deploy-operator | ++ test_name=users logger.go:42: 14:15:01 | users/0-deploy-operator | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:15:01 | users/0-deploy-operator | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:15:01 | users/0-deploy-operator | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:15:01 | users/0-deploy-operator | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:15:01 | users/0-deploy-operator | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:15:01 | users/0-deploy-operator | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:15:01 | users/0-deploy-operator | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:15:01 | users/0-deploy-operator | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:15:01 | users/0-deploy-operator | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:15:01 | users/0-deploy-operator | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:15:01 | users/0-deploy-operator | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export PG_VER=16 logger.go:42: 14:15:01 | users/0-deploy-operator | +++ PG_VER=16 logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:15:01 | users/0-deploy-operator | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:15:01 | users/0-deploy-operator | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:15:01 | users/0-deploy-operator | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:15:01 | users/0-deploy-operator | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export BUCKET=pg-operator-testing logger.go:42: 14:15:01 | users/0-deploy-operator | +++ BUCKET=pg-operator-testing logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:15:01 | users/0-deploy-operator | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:15:01 | users/0-deploy-operator | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:15:01 | users/0-deploy-operator | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:15:01 | users/0-deploy-operator | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:15:01 | users/0-deploy-operator | +++ export PGOV1_VER=14 logger.go:42: 14:15:01 | users/0-deploy-operator | +++ PGOV1_VER=14 logger.go:42: 14:15:01 | users/0-deploy-operator | ++++ which gdate logger.go:42: 14:15:01 | users/0-deploy-operator | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:15:01 | users/0-deploy-operator | ++++ which date logger.go:42: 14:15:01 | users/0-deploy-operator | +++ date=/usr/bin/date logger.go:42: 14:15:01 | users/0-deploy-operator | ++++ which gsed logger.go:42: 14:15:01 | users/0-deploy-operator | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:15:01 | users/0-deploy-operator | ++++ which sed logger.go:42: 14:15:01 | users/0-deploy-operator | +++ sed=/usr/bin/sed logger.go:42: 14:15:01 | users/0-deploy-operator | +++ command -v oc logger.go:42: 14:15:01 | users/0-deploy-operator | ++ oc get projects logger.go:42: 14:15:01 | users/0-deploy-operator | + init_temp_dir logger.go:42: 14:15:01 | users/0-deploy-operator | + rm -rf /tmp/kuttl/pg/users logger.go:42: 14:15:01 | users/0-deploy-operator | + mkdir -p /tmp/kuttl/pg/users logger.go:42: 14:15:01 | users/0-deploy-operator | + deploy_operator logger.go:42: 14:15:01 | users/0-deploy-operator | + local cw_prefix= logger.go:42: 14:15:01 | users/0-deploy-operator | + destroy_operator logger.go:42: 14:15:01 | users/0-deploy-operator | + kubectl -n pg-operator delete deployment percona-postgresql-operator --force --grace-period=0 logger.go:42: 14:15:01 | 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: 14:15:02 | users/0-deploy-operator | Error from server (NotFound): deployments.apps "percona-postgresql-operator" not found logger.go:42: 14:15:02 | users/0-deploy-operator | + true logger.go:42: 14:15:02 | users/0-deploy-operator | + [[ -n pg-operator ]] logger.go:42: 14:15:02 | users/0-deploy-operator | + kubectl delete namespace pg-operator --force --grace-period=0 logger.go:42: 14:15:02 | 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: 14:15:02 | users/0-deploy-operator | Error from server (NotFound): namespaces "pg-operator" not found logger.go:42: 14:15:02 | users/0-deploy-operator | + true logger.go:42: 14:15:02 | users/0-deploy-operator | + [[ -n pg-operator ]] logger.go:42: 14:15:02 | users/0-deploy-operator | + create_namespace pg-operator logger.go:42: 14:15:02 | users/0-deploy-operator | + local namespace=pg-operator logger.go:42: 14:15:02 | users/0-deploy-operator | + [[ -n '' ]] logger.go:42: 14:15:02 | users/0-deploy-operator | + kubectl delete namespace pg-operator --ignore-not-found logger.go:42: 14:15:03 | users/0-deploy-operator | + kubectl wait --for=delete namespace pg-operator logger.go:42: 14:15:03 | users/0-deploy-operator | + kubectl create namespace pg-operator logger.go:42: 14:15:04 | users/0-deploy-operator | namespace/pg-operator created logger.go:42: 14:15:04 | users/0-deploy-operator | + cw_prefix=cw- logger.go:42: 14:15:04 | users/0-deploy-operator | + kubectl -n pg-operator apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy/crd.yaml logger.go:42: 14:15:04 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/crunchybridgeclusters.postgres-operator.crunchydata.com serverside-applied logger.go:42: 14:15:05 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgbackups.pgv2.percona.com serverside-applied logger.go:42: 14:15:07 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgclusters.pgv2.percona.com serverside-applied logger.go:42: 14:15:07 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgrestores.pgv2.percona.com serverside-applied logger.go:42: 14:15:07 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgupgrades.pgv2.percona.com serverside-applied logger.go:42: 14:15:08 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/pgadmins.postgres-operator.crunchydata.com serverside-applied logger.go:42: 14:15:08 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/pgupgrades.postgres-operator.crunchydata.com serverside-applied logger.go:42: 14:15:10 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/postgresclusters.postgres-operator.crunchydata.com serverside-applied logger.go:42: 14:15:10 | users/0-deploy-operator | + kubectl -n pg-operator apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy/cw-rbac.yaml logger.go:42: 14:15:10 | users/0-deploy-operator | serviceaccount/percona-postgresql-operator serverside-applied logger.go:42: 14:15:10 | users/0-deploy-operator | clusterrole.rbac.authorization.k8s.io/percona-postgresql-operator serverside-applied logger.go:42: 14:15:10 | users/0-deploy-operator | clusterrolebinding.rbac.authorization.k8s.io/percona-postgresql-operator serverside-applied logger.go:42: 14:15:10 | users/0-deploy-operator | + local disable_telemetry=true logger.go:42: 14:15:10 | users/0-deploy-operator | + '[' users == telemetry-transfer ']' logger.go:42: 14:15:10 | users/0-deploy-operator | + yq eval '.spec.template.spec.containers[0].image = "perconalab/percona-postgresql-operator:PR-1106-9da814d3b"' /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy/cw-operator.yaml logger.go:42: 14:15:10 | users/0-deploy-operator | + kubectl -n pg-operator apply -f - logger.go:42: 14:15:10 | users/0-deploy-operator | + yq eval '(.spec.template.spec.containers[] | select(.name=="operator") | .env[] | select(.name=="DISABLE_TELEMETRY") | .value) = "true"' - logger.go:42: 14:15:11 | users/0-deploy-operator | deployment.apps/percona-postgresql-operator created logger.go:42: 14:15:11 | users/0-deploy-operator | + deploy_client logger.go:42: 14:15:11 | users/0-deploy-operator | + kubectl -n kuttl-test-positive-narwhal apply -f /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf/client.yaml logger.go:42: 14:15:12 | users/0-deploy-operator | deployment.apps/pg-client created logger.go:42: 14:15:14 | 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: 14:15:14 | users/0-deploy-operator | ASSERT deployment percona-postgresql-operator matching field criteria 'status.readyReplicas=1' should exist. logger.go:42: 14:15:14 | users/0-deploy-operator | ASSERT FAIL Resource(s) not found. logger.go:42: 14:15:15 | 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: 14:15:16 | users/0-deploy-operator | ASSERT deployment percona-postgresql-operator matching field criteria 'status.readyReplicas=1' should exist. logger.go:42: 14:15:16 | users/0-deploy-operator | INFO Found 1 resource(s). logger.go:42: 14:15:16 | users/0-deploy-operator | NAME NAMESPACE COL0 logger.go:42: 14:15:16 | users/0-deploy-operator | percona-postgresql-operator pg-operator 1 logger.go:42: 14:15:16 | users/0-deploy-operator | ASSERT PASS logger.go:42: 14:15:16 | users/0-deploy-operator | test step completed 0-deploy-operator logger.go:42: 14:15:16 | users/1-create-cluster | starting test step 1-create-cluster logger.go:42: 14:15:16 | 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: 14:15:16 | users/1-create-cluster | + source ../../functions logger.go:42: 14:15:16 | users/1-create-cluster | +++ realpath ../../.. logger.go:42: 14:15:16 | users/1-create-cluster | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:15:16 | users/1-create-cluster | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:15:16 | users/1-create-cluster | ++++ pwd logger.go:42: 14:15:16 | users/1-create-cluster | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:15:16 | users/1-create-cluster | ++ test_name=users logger.go:42: 14:15:16 | users/1-create-cluster | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:15:16 | users/1-create-cluster | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:15:16 | users/1-create-cluster | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:15:16 | users/1-create-cluster | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:15:16 | users/1-create-cluster | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:15:16 | users/1-create-cluster | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:15:16 | users/1-create-cluster | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:15:16 | users/1-create-cluster | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:15:16 | users/1-create-cluster | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:15:16 | users/1-create-cluster | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:15:16 | users/1-create-cluster | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:15:16 | users/1-create-cluster | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:15:16 | users/1-create-cluster | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:15:16 | users/1-create-cluster | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:15:16 | users/1-create-cluster | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:15:16 | users/1-create-cluster | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:15:16 | users/1-create-cluster | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:15:16 | users/1-create-cluster | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:15:16 | users/1-create-cluster | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:15:16 | users/1-create-cluster | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:15:16 | users/1-create-cluster | +++ export PG_VER=16 logger.go:42: 14:15:16 | users/1-create-cluster | +++ PG_VER=16 logger.go:42: 14:15:16 | users/1-create-cluster | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:15:16 | users/1-create-cluster | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:15:16 | users/1-create-cluster | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:15:16 | users/1-create-cluster | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:15:16 | users/1-create-cluster | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:15:16 | users/1-create-cluster | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:15:16 | users/1-create-cluster | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:15:16 | users/1-create-cluster | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:15:16 | users/1-create-cluster | +++ export BUCKET=pg-operator-testing logger.go:42: 14:15:16 | users/1-create-cluster | +++ BUCKET=pg-operator-testing logger.go:42: 14:15:16 | users/1-create-cluster | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:15:16 | users/1-create-cluster | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:15:16 | users/1-create-cluster | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:15:16 | users/1-create-cluster | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:15:16 | users/1-create-cluster | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:15:16 | users/1-create-cluster | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:15:16 | users/1-create-cluster | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:15:16 | users/1-create-cluster | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:15:16 | users/1-create-cluster | +++ export PGOV1_VER=14 logger.go:42: 14:15:16 | users/1-create-cluster | +++ PGOV1_VER=14 logger.go:42: 14:15:16 | users/1-create-cluster | ++++ which gdate logger.go:42: 14:15:16 | users/1-create-cluster | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:15:16 | users/1-create-cluster | ++++ which date logger.go:42: 14:15:16 | users/1-create-cluster | +++ date=/usr/bin/date logger.go:42: 14:15:16 | users/1-create-cluster | ++++ which gsed logger.go:42: 14:15:16 | users/1-create-cluster | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:15:16 | users/1-create-cluster | ++++ which sed logger.go:42: 14:15:16 | users/1-create-cluster | +++ sed=/usr/bin/sed logger.go:42: 14:15:16 | users/1-create-cluster | +++ command -v oc logger.go:42: 14:15:16 | users/1-create-cluster | ++ oc get projects logger.go:42: 14:15:16 | users/1-create-cluster | + get_cr users 26664 logger.go:42: 14:15:16 | users/1-create-cluster | + local cr_name=users logger.go:42: 14:15:16 | users/1-create-cluster | + kubectl -n kuttl-test-positive-narwhal apply -f - logger.go:42: 14:15:16 | users/1-create-cluster | + '[' -z users ']' logger.go:42: 14:15:16 | users/1-create-cluster | + local repo_path=26664 logger.go:42: 14:15:16 | users/1-create-cluster | + yq eval ' logger.go:42: 14:15:16 | users/1-create-cluster | .metadata.name = "users" | logger.go:42: 14:15:16 | users/1-create-cluster | .metadata.labels = {"e2e":"users"} | logger.go:42: 14:15:16 | users/1-create-cluster | .spec.postgresVersion = 16 | logger.go:42: 14:15:16 | users/1-create-cluster | .spec.users += [{"name":"postgres","password":{"type":"AlphaNumeric"}}] | logger.go:42: 14:15:16 | users/1-create-cluster | .spec.users += [{"name":"users","password":{"type":"AlphaNumeric"}}] | logger.go:42: 14:15:16 | users/1-create-cluster | .spec.image = "perconalab/percona-postgresql-operator:main-ppg16-postgres" | logger.go:42: 14:15:16 | users/1-create-cluster | .spec.backups.pgbackrest.image = "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" | logger.go:42: 14:15:16 | users/1-create-cluster | .spec.proxy.pgBouncer.image = "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" | logger.go:42: 14:15:16 | users/1-create-cluster | .spec.pmm.image = "perconalab/pmm-client:dev-latest" | logger.go:42: 14:15:16 | users/1-create-cluster | .spec.pmm.secret = "users-pmm-secret" logger.go:42: 14:15:16 | users/1-create-cluster | ' /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy/cr.yaml logger.go:42: 14:15:16 | users/1-create-cluster | + [[ -n '' ]] logger.go:42: 14:15:16 | users/1-create-cluster | + case $test_name in logger.go:42: 14:15:16 | users/1-create-cluster | + cat /tmp/kuttl/pg/users/cr.yaml logger.go:42: 14:15:17 | users/1-create-cluster | perconapgcluster.pgv2.percona.com/users created logger.go:42: 14:16:29 | users/1-create-cluster | test step completed 1-create-cluster logger.go:42: 14:16:29 | users/2-write-data | starting test step 2-write-data logger.go:42: 14:16:29 | 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: 14:16:29 | users/2-write-data | + source ../../functions logger.go:42: 14:16:29 | users/2-write-data | +++ realpath ../../.. logger.go:42: 14:16:29 | users/2-write-data | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:29 | users/2-write-data | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:16:29 | users/2-write-data | ++++ pwd logger.go:42: 14:16:29 | users/2-write-data | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:16:29 | users/2-write-data | ++ test_name=users logger.go:42: 14:16:29 | users/2-write-data | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:16:29 | users/2-write-data | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:29 | users/2-write-data | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:29 | users/2-write-data | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:16:29 | users/2-write-data | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:16:29 | users/2-write-data | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:16:29 | users/2-write-data | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:16:29 | users/2-write-data | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:16:29 | users/2-write-data | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:16:29 | users/2-write-data | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:16:29 | users/2-write-data | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:16:29 | users/2-write-data | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:16:29 | users/2-write-data | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:16:29 | users/2-write-data | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:16:29 | users/2-write-data | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:16:29 | users/2-write-data | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:16:29 | users/2-write-data | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:16:29 | users/2-write-data | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:16:29 | users/2-write-data | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:16:29 | users/2-write-data | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:16:29 | users/2-write-data | +++ export PG_VER=16 logger.go:42: 14:16:29 | users/2-write-data | +++ PG_VER=16 logger.go:42: 14:16:29 | users/2-write-data | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:16:29 | users/2-write-data | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:16:29 | users/2-write-data | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:16:29 | users/2-write-data | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:16:29 | users/2-write-data | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:16:29 | users/2-write-data | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:16:29 | users/2-write-data | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:16:29 | users/2-write-data | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:16:29 | users/2-write-data | +++ export BUCKET=pg-operator-testing logger.go:42: 14:16:29 | users/2-write-data | +++ BUCKET=pg-operator-testing logger.go:42: 14:16:29 | users/2-write-data | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:16:29 | users/2-write-data | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:16:29 | users/2-write-data | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:16:29 | users/2-write-data | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:16:29 | users/2-write-data | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:16:29 | users/2-write-data | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:16:29 | users/2-write-data | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:16:29 | users/2-write-data | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:16:29 | users/2-write-data | +++ export PGOV1_VER=14 logger.go:42: 14:16:29 | users/2-write-data | +++ PGOV1_VER=14 logger.go:42: 14:16:29 | users/2-write-data | ++++ which gdate logger.go:42: 14:16:29 | users/2-write-data | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:16:29 | users/2-write-data | ++++ which date logger.go:42: 14:16:29 | users/2-write-data | +++ date=/usr/bin/date logger.go:42: 14:16:29 | users/2-write-data | ++++ which gsed logger.go:42: 14:16:29 | users/2-write-data | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:16:29 | users/2-write-data | ++++ which sed logger.go:42: 14:16:29 | users/2-write-data | +++ sed=/usr/bin/sed logger.go:42: 14:16:29 | users/2-write-data | +++ command -v oc logger.go:42: 14:16:29 | users/2-write-data | ++ oc get projects logger.go:42: 14:16:29 | users/2-write-data | ++ get_psql_user_pass users-pguser-postgres logger.go:42: 14:16:29 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 14:16:29 | users/2-write-data | ++ kubectl -n kuttl-test-positive-narwhal get secret/users-pguser-postgres '--template={{.data.password | base64decode}}' logger.go:42: 14:16:29 | users/2-write-data | ++ get_psql_user_host users-pguser-postgres logger.go:42: 14:16:29 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 14:16:29 | users/2-write-data | ++ kubectl -n kuttl-test-positive-narwhal get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 14:16:30 | users/2-write-data | + run_psql_local 'CREATE DATABASE myapp; \c myapp \\\ CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY);' postgres:cX90El4CskI1Am7Wklt16ZcU@users-primary.kuttl-test-positive-narwhal.svc logger.go:42: 14:16:30 | users/2-write-data | + local 'command=CREATE DATABASE myapp; \c myapp \\\ CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY);' logger.go:42: 14:16:30 | users/2-write-data | + local uri=postgres:cX90El4CskI1Am7Wklt16ZcU@users-primary.kuttl-test-positive-narwhal.svc logger.go:42: 14:16:30 | users/2-write-data | + local driver=postgres logger.go:42: 14:16:30 | users/2-write-data | ++ get_client_pod logger.go:42: 14:16:30 | users/2-write-data | ++ kubectl -n kuttl-test-positive-narwhal get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 14:16:30 | users/2-write-data | + kubectl -n kuttl-test-positive-narwhal exec pg-client-b7cfff86c-c8ldz -- 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:cX90El4CskI1Am7Wklt16ZcU@users-primary.kuttl-test-positive-narwhal.svc'\''' logger.go:42: 14:16:32 | users/2-write-data | ++ get_psql_user_pass users-pguser-postgres logger.go:42: 14:16:32 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 14:16:32 | users/2-write-data | ++ kubectl -n kuttl-test-positive-narwhal get secret/users-pguser-postgres '--template={{.data.password | base64decode}}' logger.go:42: 14:16:32 | users/2-write-data | ++ get_psql_user_host users-pguser-postgres logger.go:42: 14:16:32 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 14:16:32 | users/2-write-data | ++ kubectl -n kuttl-test-positive-narwhal get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 14:16:33 | users/2-write-data | + run_psql_local '\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)' postgres:cX90El4CskI1Am7Wklt16ZcU@users-primary.kuttl-test-positive-narwhal.svc logger.go:42: 14:16:33 | users/2-write-data | + local 'command=\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)' logger.go:42: 14:16:33 | users/2-write-data | + local uri=postgres:cX90El4CskI1Am7Wklt16ZcU@users-primary.kuttl-test-positive-narwhal.svc logger.go:42: 14:16:33 | users/2-write-data | + local driver=postgres logger.go:42: 14:16:33 | users/2-write-data | ++ get_client_pod logger.go:42: 14:16:33 | users/2-write-data | ++ kubectl -n kuttl-test-positive-narwhal get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 14:16:33 | users/2-write-data | + kubectl -n kuttl-test-positive-narwhal exec pg-client-b7cfff86c-c8ldz -- bash -c 'printf '\''\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)\n'\'' | psql -v ON_ERROR_STOP=1 -t -q postgres://'\''postgres:cX90El4CskI1Am7Wklt16ZcU@users-primary.kuttl-test-positive-narwhal.svc'\''' [controller-runtime] log.SetLogger(...) was never called; logs will not be displayed. Detected at: > goroutine 16 [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(0xc0002ebc00, {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, 0xc0002ebc00}, 0x0}, {0x184a055?, 0xc0006e1f80?}) > /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, 0xc00045aa10, {0x1accd90, 0xc000434a40}, 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(0xc0003a5688?, {0x0, 0xc00045aa10, {0x1accd90, 0xc000434a40}, 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(0xc0003a5688, {0x0, 0xc00045aa10, {0x1accd90, 0xc000434a40}, 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(0xc000373208, 0xbd?) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/harness.go:323 +0x18e > github.com/kudobuilder/kuttl/pkg/test.(*Step).Create(0xc000589a00, 0xc000132ea0, {0xc000167800, 0x1b}) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/step.go:177 +0x63 > github.com/kudobuilder/kuttl/pkg/test.(*Step).Run(0xc000589a00, 0xc000132ea0, {0xc000167800, 0x1b}) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/step.go:457 +0x24a > github.com/kudobuilder/kuttl/pkg/test.(*Case).Run(0xc00027a780, 0xc000132ea0, 0xc00043f950) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/case.go:373 +0xaeb > github.com/kudobuilder/kuttl/pkg/test.(*Harness).RunTests.func1.1(0xc000132ea0) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/harness.go:401 +0x12e > testing.tRunner(0xc000132ea0, 0xc000122cd8) > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/testing/testing.go:1689 +0xfb > created by testing.(*T).Run in goroutine 15 > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/testing/testing.go:1742 +0x390 logger.go:42: 14:16:35 | users/2-write-data | test step completed 2-write-data logger.go:42: 14:16:35 | users/3-read-from-primary | starting test step 3-read-from-primary logger.go:42: 14:16:35 | 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: 14:16:35 | users/3-read-from-primary | + source ../../functions logger.go:42: 14:16:35 | users/3-read-from-primary | +++ realpath ../../.. logger.go:42: 14:16:35 | users/3-read-from-primary | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:35 | users/3-read-from-primary | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:16:35 | users/3-read-from-primary | ++++ pwd logger.go:42: 14:16:35 | users/3-read-from-primary | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:16:35 | users/3-read-from-primary | ++ test_name=users logger.go:42: 14:16:35 | users/3-read-from-primary | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:35 | users/3-read-from-primary | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:16:35 | users/3-read-from-primary | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:16:35 | users/3-read-from-primary | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:16:35 | users/3-read-from-primary | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:16:35 | users/3-read-from-primary | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:16:35 | users/3-read-from-primary | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:16:35 | users/3-read-from-primary | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:16:35 | users/3-read-from-primary | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:16:35 | users/3-read-from-primary | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:16:35 | users/3-read-from-primary | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export PG_VER=16 logger.go:42: 14:16:35 | users/3-read-from-primary | +++ PG_VER=16 logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:16:35 | users/3-read-from-primary | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:16:35 | users/3-read-from-primary | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:16:35 | users/3-read-from-primary | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:16:35 | users/3-read-from-primary | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export BUCKET=pg-operator-testing logger.go:42: 14:16:35 | users/3-read-from-primary | +++ BUCKET=pg-operator-testing logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:16:35 | users/3-read-from-primary | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:16:35 | users/3-read-from-primary | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:16:35 | users/3-read-from-primary | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:16:35 | users/3-read-from-primary | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:16:35 | users/3-read-from-primary | +++ export PGOV1_VER=14 logger.go:42: 14:16:35 | users/3-read-from-primary | +++ PGOV1_VER=14 logger.go:42: 14:16:35 | users/3-read-from-primary | ++++ which gdate logger.go:42: 14:16:35 | users/3-read-from-primary | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:16:35 | users/3-read-from-primary | ++++ which date logger.go:42: 14:16:35 | users/3-read-from-primary | +++ date=/usr/bin/date logger.go:42: 14:16:35 | users/3-read-from-primary | ++++ which gsed logger.go:42: 14:16:35 | users/3-read-from-primary | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:16:35 | users/3-read-from-primary | ++++ which sed logger.go:42: 14:16:35 | users/3-read-from-primary | +++ sed=/usr/bin/sed logger.go:42: 14:16:35 | users/3-read-from-primary | +++ command -v oc logger.go:42: 14:16:35 | users/3-read-from-primary | ++ oc get projects logger.go:42: 14:16:35 | users/3-read-from-primary | +++ get_psql_user_pass users-pguser-postgres logger.go:42: 14:16:35 | users/3-read-from-primary | +++ local secret_name=users-pguser-postgres logger.go:42: 14:16:35 | users/3-read-from-primary | +++ kubectl -n kuttl-test-positive-narwhal get secret/users-pguser-postgres '--template={{.data.password | base64decode}}' logger.go:42: 14:16:35 | users/3-read-from-primary | +++ get_psql_user_host users-pguser-postgres logger.go:42: 14:16:35 | users/3-read-from-primary | +++ local secret_name=users-pguser-postgres logger.go:42: 14:16:35 | users/3-read-from-primary | +++ kubectl -n kuttl-test-positive-narwhal get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 14:16:35 | users/3-read-from-primary | ++ run_psql_local '\c myapp \\\ SELECT * from myApp;' postgres:cX90El4CskI1Am7Wklt16ZcU@users-primary.kuttl-test-positive-narwhal.svc logger.go:42: 14:16:35 | users/3-read-from-primary | ++ local 'command=\c myapp \\\ SELECT * from myApp;' logger.go:42: 14:16:35 | users/3-read-from-primary | ++ local uri=postgres:cX90El4CskI1Am7Wklt16ZcU@users-primary.kuttl-test-positive-narwhal.svc logger.go:42: 14:16:35 | users/3-read-from-primary | ++ local driver=postgres logger.go:42: 14:16:35 | users/3-read-from-primary | +++ get_client_pod logger.go:42: 14:16:35 | users/3-read-from-primary | +++ kubectl -n kuttl-test-positive-narwhal get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 14:16:36 | users/3-read-from-primary | ++ kubectl -n kuttl-test-positive-narwhal exec pg-client-b7cfff86c-c8ldz -- bash -c 'printf '\''\c myapp \\\ SELECT * from myApp;\n'\'' | psql -v ON_ERROR_STOP=1 -t -q postgres://'\''postgres:cX90El4CskI1Am7Wklt16ZcU@users-primary.kuttl-test-positive-narwhal.svc'\''' logger.go:42: 14:16:37 | users/3-read-from-primary | + data=' 100500' logger.go:42: 14:16:37 | users/3-read-from-primary | + kubectl create configmap -n kuttl-test-positive-narwhal 03-read-from-primary '--from-literal=data= 100500' logger.go:42: 14:16:38 | users/3-read-from-primary | configmap/03-read-from-primary created logger.go:42: 14:16:38 | users/3-read-from-primary | test step completed 3-read-from-primary logger.go:42: 14:16:38 | users/4-update-default-user-password | starting test step 4-update-default-user-password logger.go:42: 14:16:38 | 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: 14:16:38 | users/4-update-default-user-password | + source ../../functions logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ realpath ../../.. logger.go:42: 14:16:38 | users/4-update-default-user-password | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:38 | users/4-update-default-user-password | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:16:38 | users/4-update-default-user-password | ++++ pwd logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:16:38 | users/4-update-default-user-password | ++ test_name=users logger.go:42: 14:16:38 | users/4-update-default-user-password | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:16:38 | users/4-update-default-user-password | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export PG_VER=16 logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ PG_VER=16 logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export BUCKET=pg-operator-testing logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ BUCKET=pg-operator-testing logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ export PGOV1_VER=14 logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ PGOV1_VER=14 logger.go:42: 14:16:38 | users/4-update-default-user-password | ++++ which gdate logger.go:42: 14:16:38 | users/4-update-default-user-password | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:16:38 | users/4-update-default-user-password | ++++ which date logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ date=/usr/bin/date logger.go:42: 14:16:38 | users/4-update-default-user-password | ++++ which gsed logger.go:42: 14:16:38 | users/4-update-default-user-password | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:16:38 | users/4-update-default-user-password | ++++ which sed logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ sed=/usr/bin/sed logger.go:42: 14:16:38 | users/4-update-default-user-password | +++ command -v oc logger.go:42: 14:16:38 | users/4-update-default-user-password | ++ oc get projects logger.go:42: 14:16:38 | users/4-update-default-user-password | + kubectl -n kuttl-test-positive-narwhal patch secret users-pguser-postgres --type merge --patch '{"stringData": {"password": "default-db-password", "verifier":""}}' logger.go:42: 14:16:38 | users/4-update-default-user-password | secret/users-pguser-postgres patched logger.go:42: 14:16:38 | users/4-update-default-user-password | + sleep 5 logger.go:42: 14:16:43 | users/4-update-default-user-password | test step completed 4-update-default-user-password logger.go:42: 14:16:43 | users/5-write-data | starting test step 5-write-data logger.go:42: 14:16:43 | 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: 14:16:43 | users/5-write-data | + source ../../functions logger.go:42: 14:16:43 | users/5-write-data | +++ realpath ../../.. logger.go:42: 14:16:43 | users/5-write-data | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:43 | users/5-write-data | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:16:43 | users/5-write-data | ++++ pwd logger.go:42: 14:16:43 | users/5-write-data | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:16:43 | users/5-write-data | ++ test_name=users logger.go:42: 14:16:43 | users/5-write-data | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:16:43 | users/5-write-data | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:43 | users/5-write-data | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:43 | users/5-write-data | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:16:43 | users/5-write-data | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:16:43 | users/5-write-data | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:16:43 | users/5-write-data | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:16:43 | users/5-write-data | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:16:43 | users/5-write-data | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:16:43 | users/5-write-data | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:16:43 | users/5-write-data | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:16:43 | users/5-write-data | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:16:43 | users/5-write-data | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:16:43 | users/5-write-data | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:16:43 | users/5-write-data | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:16:43 | users/5-write-data | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:16:43 | users/5-write-data | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:16:43 | users/5-write-data | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:16:43 | users/5-write-data | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:16:43 | users/5-write-data | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:16:43 | users/5-write-data | +++ export PG_VER=16 logger.go:42: 14:16:43 | users/5-write-data | +++ PG_VER=16 logger.go:42: 14:16:43 | users/5-write-data | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:16:43 | users/5-write-data | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:16:43 | users/5-write-data | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:16:43 | users/5-write-data | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:16:43 | users/5-write-data | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:16:43 | users/5-write-data | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:16:43 | users/5-write-data | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:16:43 | users/5-write-data | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:16:43 | users/5-write-data | +++ export BUCKET=pg-operator-testing logger.go:42: 14:16:43 | users/5-write-data | +++ BUCKET=pg-operator-testing logger.go:42: 14:16:43 | users/5-write-data | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:16:43 | users/5-write-data | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:16:43 | users/5-write-data | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:16:43 | users/5-write-data | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:16:43 | users/5-write-data | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:16:43 | users/5-write-data | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:16:43 | users/5-write-data | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:16:43 | users/5-write-data | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:16:43 | users/5-write-data | +++ export PGOV1_VER=14 logger.go:42: 14:16:43 | users/5-write-data | +++ PGOV1_VER=14 logger.go:42: 14:16:43 | users/5-write-data | ++++ which gdate logger.go:42: 14:16:43 | users/5-write-data | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:16:43 | users/5-write-data | ++++ which date logger.go:42: 14:16:43 | users/5-write-data | +++ date=/usr/bin/date logger.go:42: 14:16:43 | users/5-write-data | ++++ which gsed logger.go:42: 14:16:43 | users/5-write-data | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:16:43 | users/5-write-data | ++++ which sed logger.go:42: 14:16:43 | users/5-write-data | +++ sed=/usr/bin/sed logger.go:42: 14:16:43 | users/5-write-data | +++ command -v oc logger.go:42: 14:16:43 | users/5-write-data | ++ oc get projects logger.go:42: 14:16:43 | users/5-write-data | ++ get_psql_user_host users-pguser-postgres logger.go:42: 14:16:43 | users/5-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 14:16:43 | users/5-write-data | ++ kubectl -n kuttl-test-positive-narwhal get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 14:16:44 | users/5-write-data | + run_psql_local '\c myapp \\\ INSERT INTO myApp (id) VALUES (100501)' postgres:default-db-password@users-primary.kuttl-test-positive-narwhal.svc logger.go:42: 14:16:44 | users/5-write-data | + local 'command=\c myapp \\\ INSERT INTO myApp (id) VALUES (100501)' logger.go:42: 14:16:44 | users/5-write-data | + local uri=postgres:default-db-password@users-primary.kuttl-test-positive-narwhal.svc logger.go:42: 14:16:44 | users/5-write-data | + local driver=postgres logger.go:42: 14:16:44 | users/5-write-data | ++ get_client_pod logger.go:42: 14:16:44 | users/5-write-data | ++ kubectl -n kuttl-test-positive-narwhal get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 14:16:44 | users/5-write-data | + kubectl -n kuttl-test-positive-narwhal exec pg-client-b7cfff86c-c8ldz -- 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-positive-narwhal.svc'\''' logger.go:42: 14:16:46 | users/5-write-data | test step completed 5-write-data logger.go:42: 14:16:46 | users/6-read-from-primary | starting test step 6-read-from-primary logger.go:42: 14:16:46 | 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: 14:16:46 | users/6-read-from-primary | + source ../../functions logger.go:42: 14:16:46 | users/6-read-from-primary | +++ realpath ../../.. logger.go:42: 14:16:46 | users/6-read-from-primary | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:46 | users/6-read-from-primary | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:16:46 | users/6-read-from-primary | ++++ pwd logger.go:42: 14:16:46 | users/6-read-from-primary | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:16:46 | users/6-read-from-primary | ++ test_name=users logger.go:42: 14:16:46 | users/6-read-from-primary | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:46 | users/6-read-from-primary | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:16:46 | users/6-read-from-primary | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:16:46 | users/6-read-from-primary | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:16:46 | users/6-read-from-primary | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:16:46 | users/6-read-from-primary | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:16:46 | users/6-read-from-primary | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:16:46 | users/6-read-from-primary | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:16:46 | users/6-read-from-primary | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:16:46 | users/6-read-from-primary | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:16:46 | users/6-read-from-primary | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export PG_VER=16 logger.go:42: 14:16:46 | users/6-read-from-primary | +++ PG_VER=16 logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:16:46 | users/6-read-from-primary | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:16:46 | users/6-read-from-primary | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:16:46 | users/6-read-from-primary | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:16:46 | users/6-read-from-primary | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export BUCKET=pg-operator-testing logger.go:42: 14:16:46 | users/6-read-from-primary | +++ BUCKET=pg-operator-testing logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:16:46 | users/6-read-from-primary | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:16:46 | users/6-read-from-primary | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:16:46 | users/6-read-from-primary | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:16:46 | users/6-read-from-primary | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:16:46 | users/6-read-from-primary | +++ export PGOV1_VER=14 logger.go:42: 14:16:46 | users/6-read-from-primary | +++ PGOV1_VER=14 logger.go:42: 14:16:46 | users/6-read-from-primary | ++++ which gdate logger.go:42: 14:16:46 | users/6-read-from-primary | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:16:46 | users/6-read-from-primary | ++++ which date logger.go:42: 14:16:46 | users/6-read-from-primary | +++ date=/usr/bin/date logger.go:42: 14:16:46 | users/6-read-from-primary | ++++ which gsed logger.go:42: 14:16:46 | users/6-read-from-primary | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:16:46 | users/6-read-from-primary | ++++ which sed logger.go:42: 14:16:46 | users/6-read-from-primary | +++ sed=/usr/bin/sed logger.go:42: 14:16:46 | users/6-read-from-primary | +++ command -v oc logger.go:42: 14:16:46 | users/6-read-from-primary | ++ oc get projects logger.go:42: 14:16:46 | users/6-read-from-primary | +++ get_psql_user_host users-pguser-postgres logger.go:42: 14:16:46 | users/6-read-from-primary | +++ local secret_name=users-pguser-postgres logger.go:42: 14:16:46 | users/6-read-from-primary | +++ kubectl -n kuttl-test-positive-narwhal get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 14:16:46 | users/6-read-from-primary | ++ run_psql_local '\c myapp \\\ SELECT * from myApp;' postgres:default-db-password@users-primary.kuttl-test-positive-narwhal.svc logger.go:42: 14:16:46 | users/6-read-from-primary | ++ local 'command=\c myapp \\\ SELECT * from myApp;' logger.go:42: 14:16:46 | users/6-read-from-primary | ++ local uri=postgres:default-db-password@users-primary.kuttl-test-positive-narwhal.svc logger.go:42: 14:16:46 | users/6-read-from-primary | ++ local driver=postgres logger.go:42: 14:16:46 | users/6-read-from-primary | +++ get_client_pod logger.go:42: 14:16:46 | users/6-read-from-primary | +++ kubectl -n kuttl-test-positive-narwhal get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 14:16:46 | users/6-read-from-primary | ++ kubectl -n kuttl-test-positive-narwhal exec pg-client-b7cfff86c-c8ldz -- 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-positive-narwhal.svc'\''' logger.go:42: 14:16:48 | users/6-read-from-primary | + data=' 100500 logger.go:42: 14:16:48 | users/6-read-from-primary | 100501' logger.go:42: 14:16:48 | users/6-read-from-primary | + kubectl create configmap -n kuttl-test-positive-narwhal 06-read-from-primary '--from-literal=data= 100500 logger.go:42: 14:16:48 | users/6-read-from-primary | 100501' logger.go:42: 14:16:48 | users/6-read-from-primary | configmap/06-read-from-primary created logger.go:42: 14:16:48 | users/6-read-from-primary | + kubectl get configmap -n kuttl-test-positive-narwhal 06-read-from-primary -o yaml logger.go:42: 14:16:49 | users/6-read-from-primary | apiVersion: v1 logger.go:42: 14:16:49 | users/6-read-from-primary | data: logger.go:42: 14:16:49 | users/6-read-from-primary | data: |2- logger.go:42: 14:16:49 | users/6-read-from-primary | 100500 logger.go:42: 14:16:49 | users/6-read-from-primary | 100501 logger.go:42: 14:16:49 | users/6-read-from-primary | kind: ConfigMap logger.go:42: 14:16:49 | users/6-read-from-primary | metadata: logger.go:42: 14:16:49 | users/6-read-from-primary | creationTimestamp: "2025-03-25T14:16:48Z" logger.go:42: 14:16:49 | users/6-read-from-primary | name: 06-read-from-primary logger.go:42: 14:16:49 | users/6-read-from-primary | namespace: kuttl-test-positive-narwhal logger.go:42: 14:16:49 | users/6-read-from-primary | resourceVersion: "44503" logger.go:42: 14:16:49 | users/6-read-from-primary | uid: 2685b304-104a-4d93-be1f-d372fbcfbc7b logger.go:42: 14:16:49 | users/6-read-from-primary | test step completed 6-read-from-primary logger.go:42: 14:16:49 | users/7-add-custom-user | starting test step 7-add-custom-user logger.go:42: 14:16:49 | 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: 14:16:49 | users/7-add-custom-user | + source ../../functions logger.go:42: 14:16:49 | users/7-add-custom-user | +++ realpath ../../.. logger.go:42: 14:16:49 | users/7-add-custom-user | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:49 | users/7-add-custom-user | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:16:49 | users/7-add-custom-user | ++++ pwd logger.go:42: 14:16:49 | users/7-add-custom-user | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:16:49 | users/7-add-custom-user | ++ test_name=users logger.go:42: 14:16:49 | users/7-add-custom-user | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:49 | users/7-add-custom-user | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:16:49 | users/7-add-custom-user | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:16:49 | users/7-add-custom-user | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:16:49 | users/7-add-custom-user | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:16:49 | users/7-add-custom-user | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:16:49 | users/7-add-custom-user | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:16:49 | users/7-add-custom-user | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:16:49 | users/7-add-custom-user | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:16:49 | users/7-add-custom-user | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:16:49 | users/7-add-custom-user | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export PG_VER=16 logger.go:42: 14:16:49 | users/7-add-custom-user | +++ PG_VER=16 logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:16:49 | users/7-add-custom-user | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:16:49 | users/7-add-custom-user | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:16:49 | users/7-add-custom-user | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:16:49 | users/7-add-custom-user | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export BUCKET=pg-operator-testing logger.go:42: 14:16:49 | users/7-add-custom-user | +++ BUCKET=pg-operator-testing logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:16:49 | users/7-add-custom-user | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:16:49 | users/7-add-custom-user | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:16:49 | users/7-add-custom-user | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:16:49 | users/7-add-custom-user | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:16:49 | users/7-add-custom-user | +++ export PGOV1_VER=14 logger.go:42: 14:16:49 | users/7-add-custom-user | +++ PGOV1_VER=14 logger.go:42: 14:16:49 | users/7-add-custom-user | ++++ which gdate logger.go:42: 14:16:49 | users/7-add-custom-user | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:16:49 | users/7-add-custom-user | ++++ which date logger.go:42: 14:16:49 | users/7-add-custom-user | +++ date=/usr/bin/date logger.go:42: 14:16:49 | users/7-add-custom-user | ++++ which gsed logger.go:42: 14:16:49 | users/7-add-custom-user | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:16:49 | users/7-add-custom-user | ++++ which sed logger.go:42: 14:16:49 | users/7-add-custom-user | +++ sed=/usr/bin/sed logger.go:42: 14:16:49 | users/7-add-custom-user | +++ command -v oc logger.go:42: 14:16:49 | users/7-add-custom-user | ++ oc get projects logger.go:42: 14:16:49 | users/7-add-custom-user | + kubectl -n kuttl-test-positive-narwhal 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: 14:16:50 | users/7-add-custom-user | perconapgcluster.pgv2.percona.com/users patched logger.go:42: 14:16:50 | users/7-add-custom-user | + sleep 10 logger.go:42: 14:17:00 | users/7-add-custom-user | test step completed 7-add-custom-user logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | starting test step 8-write-data-to-custom-db logger.go:42: 14:17:00 | 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: 14:17:00 | users/8-write-data-to-custom-db | + source ../../functions logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ realpath ../../.. logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++++ pwd logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++ test_name=users logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export PG_VER=16 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ PG_VER=16 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ export PGOV1_VER=14 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ PGOV1_VER=14 logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++++ which gdate logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++++ which date logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ date=/usr/bin/date logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++++ which gsed logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++++ which sed logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ sed=/usr/bin/sed logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | +++ command -v oc logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++ oc get projects logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 14:17:00 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-positive-narwhal get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | + password='cuiBM]y4D^>D3XdkA,+/M:NY' logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | + user=rhino logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | + db_name=zoo logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | + schema=rhino logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-positive-narwhal get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | ++ base64 -d logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | + hostname=users-pgbouncer.kuttl-test-positive-narwhal.svc logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | + run_psql 'CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);' '-h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' 'cuiBM]y4D^>D3XdkA,+/M:NY' logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | + local 'command=CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);' logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | + local 'uri=-h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | + local 'password=cuiBM]y4D^>D3XdkA,+/M:NY' logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | ++ get_client_pod logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-positive-narwhal get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 14:17:01 | users/8-write-data-to-custom-db | + kubectl -n kuttl-test-positive-narwhal exec pg-client-b7cfff86c-c8ldz -- bash -c 'printf '\''CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);\n'\'' | PGPASSWORD='\''cuiBM]y4D^>D3XdkA,+/M:NY'\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' logger.go:42: 14:17:03 | users/8-write-data-to-custom-db | + run_psql 'INSERT INTO rhino.customApp (id) VALUES (100500)' '-h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' 'cuiBM]y4D^>D3XdkA,+/M:NY' logger.go:42: 14:17:03 | users/8-write-data-to-custom-db | + local 'command=INSERT INTO rhino.customApp (id) VALUES (100500)' logger.go:42: 14:17:03 | users/8-write-data-to-custom-db | + local 'uri=-h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' logger.go:42: 14:17:03 | users/8-write-data-to-custom-db | + local 'password=cuiBM]y4D^>D3XdkA,+/M:NY' logger.go:42: 14:17:03 | users/8-write-data-to-custom-db | ++ get_client_pod logger.go:42: 14:17:03 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-positive-narwhal get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 14:17:03 | users/8-write-data-to-custom-db | + kubectl -n kuttl-test-positive-narwhal exec pg-client-b7cfff86c-c8ldz -- bash -c 'printf '\''INSERT INTO rhino.customApp (id) VALUES (100500)\n'\'' | PGPASSWORD='\''cuiBM]y4D^>D3XdkA,+/M:NY'\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' logger.go:42: 14:17:05 | users/8-write-data-to-custom-db | test step completed 8-write-data-to-custom-db logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | starting test step 9-read-from-primary-custom-db logger.go:42: 14:17:05 | 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: 14:17:05 | users/9-read-from-primary-custom-db | + source ../../functions logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ realpath ../../.. logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++++ pwd logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++ test_name=users logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export PG_VER=16 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ PG_VER=16 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ export PGOV1_VER=14 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ PGOV1_VER=14 logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++++ which gdate logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++++ which date logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ date=/usr/bin/date logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++++ which gsed logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++++ which sed logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ sed=/usr/bin/sed logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | +++ command -v oc logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++ oc get projects logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++ kubectl -n kuttl-test-positive-narwhal get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | + password='cuiBM]y4D^>D3XdkA,+/M:NY' logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | + user=rhino logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | + db_name=zoo logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | + schema=rhino logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++ kubectl -n kuttl-test-positive-narwhal get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 14:17:05 | users/9-read-from-primary-custom-db | ++ base64 -d logger.go:42: 14:17:06 | users/9-read-from-primary-custom-db | + hostname=users-pgbouncer.kuttl-test-positive-narwhal.svc logger.go:42: 14:17:06 | users/9-read-from-primary-custom-db | ++ run_psql 'SELECT * from rhino.customApp;' '-h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' 'cuiBM]y4D^>D3XdkA,+/M:NY' logger.go:42: 14:17:06 | users/9-read-from-primary-custom-db | ++ local 'command=SELECT * from rhino.customApp;' logger.go:42: 14:17:06 | users/9-read-from-primary-custom-db | ++ local 'uri=-h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' logger.go:42: 14:17:06 | users/9-read-from-primary-custom-db | ++ local 'password=cuiBM]y4D^>D3XdkA,+/M:NY' logger.go:42: 14:17:06 | users/9-read-from-primary-custom-db | +++ get_client_pod logger.go:42: 14:17:06 | users/9-read-from-primary-custom-db | +++ kubectl -n kuttl-test-positive-narwhal get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 14:17:06 | users/9-read-from-primary-custom-db | ++ kubectl -n kuttl-test-positive-narwhal exec pg-client-b7cfff86c-c8ldz -- bash -c 'printf '\''SELECT * from rhino.customApp;\n'\'' | PGPASSWORD='\''cuiBM]y4D^>D3XdkA,+/M:NY'\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' logger.go:42: 14:17:08 | users/9-read-from-primary-custom-db | + data=' 100500' logger.go:42: 14:17:08 | users/9-read-from-primary-custom-db | + kubectl create configmap -n kuttl-test-positive-narwhal 09-read-from-primary-custom-db '--from-literal=data= 100500' logger.go:42: 14:17:08 | users/9-read-from-primary-custom-db | configmap/09-read-from-primary-custom-db created logger.go:42: 14:17:08 | users/9-read-from-primary-custom-db | test step completed 9-read-from-primary-custom-db logger.go:42: 14:17:08 | users/10-update-custom-user-password | starting test step 10-update-custom-user-password logger.go:42: 14:17:08 | 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: 14:17:08 | users/10-update-custom-user-password | + source ../../functions logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ realpath ../../.. logger.go:42: 14:17:08 | users/10-update-custom-user-password | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:08 | users/10-update-custom-user-password | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:17:08 | users/10-update-custom-user-password | ++++ pwd logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:17:08 | users/10-update-custom-user-password | ++ test_name=users logger.go:42: 14:17:08 | users/10-update-custom-user-password | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:17:08 | users/10-update-custom-user-password | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export PG_VER=16 logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ PG_VER=16 logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export BUCKET=pg-operator-testing logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ BUCKET=pg-operator-testing logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ export PGOV1_VER=14 logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ PGOV1_VER=14 logger.go:42: 14:17:08 | users/10-update-custom-user-password | ++++ which gdate logger.go:42: 14:17:08 | users/10-update-custom-user-password | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:17:08 | users/10-update-custom-user-password | ++++ which date logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ date=/usr/bin/date logger.go:42: 14:17:08 | users/10-update-custom-user-password | ++++ which gsed logger.go:42: 14:17:08 | users/10-update-custom-user-password | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:17:08 | users/10-update-custom-user-password | ++++ which sed logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ sed=/usr/bin/sed logger.go:42: 14:17:08 | users/10-update-custom-user-password | +++ command -v oc logger.go:42: 14:17:08 | users/10-update-custom-user-password | ++ oc get projects logger.go:42: 14:17:08 | users/10-update-custom-user-password | + kubectl -n kuttl-test-positive-narwhal patch secret rhino-credentials --type merge --patch '{"stringData": {"password": "custom-db-password","verifier":""}}' logger.go:42: 14:17:09 | users/10-update-custom-user-password | secret/rhino-credentials patched logger.go:42: 14:17:09 | users/10-update-custom-user-password | + sleep 5 logger.go:42: 14:17:14 | users/10-update-custom-user-password | test step completed 10-update-custom-user-password logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | starting test step 11-write-data-to-custom-db logger.go:42: 14:17:14 | 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: 14:17:14 | users/11-write-data-to-custom-db | + source ../../functions logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ realpath ../../.. logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++++ pwd logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++ test_name=users logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export PG_VER=16 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ PG_VER=16 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ export PGOV1_VER=14 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ PGOV1_VER=14 logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++++ which gdate logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++++ which date logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ date=/usr/bin/date logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++++ which gsed logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++++ which sed logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ sed=/usr/bin/sed logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | +++ command -v oc logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++ oc get projects logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++ kubectl -n kuttl-test-positive-narwhal get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | + password=custom-db-password logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | + user=rhino logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | + db_name=zoo logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | + schema=rhino logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++ kubectl -n kuttl-test-positive-narwhal get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 14:17:14 | users/11-write-data-to-custom-db | ++ base64 -d logger.go:42: 14:17:15 | users/11-write-data-to-custom-db | + hostname=users-pgbouncer.kuttl-test-positive-narwhal.svc logger.go:42: 14:17:15 | users/11-write-data-to-custom-db | + run_psql 'INSERT INTO rhino.customApp (id) VALUES (100501)' '-h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' custom-db-password logger.go:42: 14:17:15 | users/11-write-data-to-custom-db | + local 'command=INSERT INTO rhino.customApp (id) VALUES (100501)' logger.go:42: 14:17:15 | users/11-write-data-to-custom-db | + local 'uri=-h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' logger.go:42: 14:17:15 | users/11-write-data-to-custom-db | + local password=custom-db-password logger.go:42: 14:17:15 | users/11-write-data-to-custom-db | ++ get_client_pod logger.go:42: 14:17:15 | users/11-write-data-to-custom-db | ++ kubectl -n kuttl-test-positive-narwhal get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 14:17:15 | users/11-write-data-to-custom-db | + kubectl -n kuttl-test-positive-narwhal exec pg-client-b7cfff86c-c8ldz -- 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-positive-narwhal.svc -U rhino -d zoo' logger.go:42: 14:17:17 | users/11-write-data-to-custom-db | test step completed 11-write-data-to-custom-db logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | starting test step 12-read-from-primary-custom-db logger.go:42: 14:17:17 | 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: 14:17:17 | users/12-read-from-primary-custom-db | + source ../../functions logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ realpath ../../.. logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++++ pwd logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ test_name=users logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export PG_VER=16 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ PG_VER=16 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ export PGOV1_VER=14 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ PGOV1_VER=14 logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++++ which gdate logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++++ which date logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ date=/usr/bin/date logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++++ which gsed logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++++ which sed logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ sed=/usr/bin/sed logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ command -v oc logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ oc get projects logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ kubectl -n kuttl-test-positive-narwhal get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | + password=custom-db-password logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | + user=rhino logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | + db_name=zoo logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | + schema=rhino logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ kubectl -n kuttl-test-positive-narwhal get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ base64 -d logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | + hostname=users-pgbouncer.kuttl-test-positive-narwhal.svc logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ run_psql 'SELECT * from rhino.customApp;' '-h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' custom-db-password logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ local 'command=SELECT * from rhino.customApp;' logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ local 'uri=-h users-pgbouncer.kuttl-test-positive-narwhal.svc -U rhino -d zoo' logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | ++ local password=custom-db-password logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ get_client_pod logger.go:42: 14:17:17 | users/12-read-from-primary-custom-db | +++ kubectl -n kuttl-test-positive-narwhal get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 14:17:18 | users/12-read-from-primary-custom-db | ++ kubectl -n kuttl-test-positive-narwhal exec pg-client-b7cfff86c-c8ldz -- 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-positive-narwhal.svc -U rhino -d zoo' logger.go:42: 14:17:19 | users/12-read-from-primary-custom-db | + data=' 100500 logger.go:42: 14:17:19 | users/12-read-from-primary-custom-db | 100501' logger.go:42: 14:17:19 | users/12-read-from-primary-custom-db | + kubectl create configmap -n kuttl-test-positive-narwhal 12-read-from-primary-custom-db '--from-literal=data= 100500 logger.go:42: 14:17:19 | users/12-read-from-primary-custom-db | 100501' logger.go:42: 14:17:20 | users/12-read-from-primary-custom-db | configmap/12-read-from-primary-custom-db created logger.go:42: 14:17:20 | users/12-read-from-primary-custom-db | test step completed 12-read-from-primary-custom-db logger.go:42: 14:17:20 | users/99-remove-cluster-gracefully | starting test step 99-remove-cluster-gracefully logger.go:42: 14:17:26 | 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: 14:17:26 | users/99-remove-cluster-gracefully | + source ../../functions logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ realpath ../../.. logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | ++++ pwd logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/tests/users logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | ++ test_name=users logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/vars.sh logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/deploy logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/e2e-tests/conf logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export GIT_BRANCH=PR-1106 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ GIT_BRANCH=PR-1106 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export VERSION=PR-1106-9da814d3b logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ VERSION=PR-1106-9da814d3b logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1106-9da814d3b logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export PG_VER=16 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ PG_VER=16 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export BUCKET=pg-operator-testing logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ BUCKET=pg-operator-testing logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export PGOV1_TAG=1.4.0 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ PGOV1_TAG=1.4.0 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ export PGOV1_VER=14 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ PGOV1_VER=14 logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | ++++ which gdate logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | ++++ which date logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ date=/usr/bin/date logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | ++++ which gsed logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1106/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | ++++ which sed logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ sed=/usr/bin/sed logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | +++ command -v oc logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | ++ oc get projects logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | + remove_all_finalizers logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | + resource_types=("pg-restore" "pg-backup" "pg") logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | + for resource in '"${resource_types[@]}"' logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | + echo 'removing all finalizers for pg-restore resources' logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | removing all finalizers for pg-restore resources logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-positive-narwhal get pg-restore -o json logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | + jq '.items[] | .metadata.name' -r logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 14:17:26 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 14:17:27 | users/99-remove-cluster-gracefully | + for resource in '"${resource_types[@]}"' logger.go:42: 14:17:27 | users/99-remove-cluster-gracefully | + echo 'removing all finalizers for pg-backup resources' logger.go:42: 14:17:27 | users/99-remove-cluster-gracefully | removing all finalizers for pg-backup resources logger.go:42: 14:17:27 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-positive-narwhal get pg-backup -o json logger.go:42: 14:17:27 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 14:17:27 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 14:17:27 | users/99-remove-cluster-gracefully | + jq '.items[] | .metadata.name' -r logger.go:42: 14:17:27 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-positive-narwhal delete pg-backup users-backup-q5l5-g296v --wait=0 logger.go:42: 14:17:28 | users/99-remove-cluster-gracefully | perconapgbackup.pgv2.percona.com "users-backup-q5l5-g296v" deleted logger.go:42: 14:17:28 | users/99-remove-cluster-gracefully | ++ kubectl -n kuttl-test-positive-narwhal get pg-backup users-backup-q5l5-g296v -o yaml logger.go:42: 14:17:28 | users/99-remove-cluster-gracefully | ++ yq '.metadata.finalizers | length' logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | Error from server (NotFound): perconapgbackups.pgv2.percona.com "users-backup-q5l5-g296v" not found logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | + [[ 0 == \0 ]] logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | + continue logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | + for resource in '"${resource_types[@]}"' logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | + echo 'removing all finalizers for pg resources' logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | removing all finalizers for pg resources logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-positive-narwhal get pg -o json logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | + jq '.items[] | .metadata.name' -r logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | + destroy_operator logger.go:42: 14:17:29 | users/99-remove-cluster-gracefully | + kubectl -n pg-operator delete deployment percona-postgresql-operator --force --grace-period=0 logger.go:42: 14:17:29 | 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: 14:17:30 | users/99-remove-cluster-gracefully | deployment.apps "percona-postgresql-operator" force deleted logger.go:42: 14:17:30 | users/99-remove-cluster-gracefully | + [[ -n pg-operator ]] logger.go:42: 14:17:30 | users/99-remove-cluster-gracefully | + kubectl delete namespace pg-operator --force --grace-period=0 logger.go:42: 14:17:30 | 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: 14:17:30 | users/99-remove-cluster-gracefully | namespace "pg-operator" force deleted logger.go:42: 14:17:36 | users/99-remove-cluster-gracefully | test step completed 99-remove-cluster-gracefully logger.go:42: 14:17:36 | users | users events from ns kuttl-test-positive-narwhal: logger.go:42: 14:17:36 | users | 2025-03-25 14:15:12 +0000 UTC Normal Deployment.apps pg-client ScalingReplicaSet Scaled up replica set pg-client-b7cfff86c to 1 deployment-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:13 +0000 UTC Normal Pod pg-client-b7cfff86c-c8ldz Binding Scheduled Successfully assigned kuttl-test-positive-narwhal/pg-client-b7cfff86c-c8ldz to gke-jen-pg-1106-9da814d3-default-pool-5dc113ab-vdbq default-scheduler logger.go:42: 14:17:36 | users | 2025-03-25 14:15:13 +0000 UTC Normal ReplicaSet.apps pg-client-b7cfff86c SuccessfulCreate Created pod: pg-client-b7cfff86c-c8ldz replicaset-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:14 +0000 UTC Normal Pod pg-client-b7cfff86c-c8ldz.spec.containers{pg-client} Pulling Pulling image "perconalab/percona-distribution-postgresql:16" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:17 +0000 UTC Normal Pod users-patroni-version-check Binding Scheduled Successfully assigned kuttl-test-positive-narwhal/users-patroni-version-check to gke-jen-pg-1106-9da814d3-default-pool-5dc113ab-vdbq default-scheduler logger.go:42: 14:17:36 | users | 2025-03-25 14:15:18 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Pulled Container image "perconalab/percona-postgresql-operator:main-ppg16-postgres" already present on machine kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:18 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Created Created container: patroni-version-check kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:18 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Started Started container patroni-version-check kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:23 +0000 UTC Normal PersistentVolumeClaim users-instance1-wppf-pgdata WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:23 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Killing Stopping container patroni-version-check kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:24 +0000 UTC Normal PersistentVolumeClaim users-instance1-mjkf-pgdata WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:24 +0000 UTC Normal PersistentVolumeClaim users-instance1-wppf-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: 14:17:36 | users | 2025-03-25 14:15:24 +0000 UTC Normal PersistentVolumeClaim users-instance1-wppf-pgdata Provisioning External provisioner is provisioning volume for claim "kuttl-test-positive-narwhal/users-instance1-wppf-pgdata" pd.csi.storage.gke.io_gke-8b132c0559544d8e81a4-7d36-54a0-vm_ab21806e-635d-4122-8ce6-d13a73ab4526 logger.go:42: 14:17:36 | users | 2025-03-25 14:15:24 +0000 UTC Normal StatefulSet.apps users-instance1-wppf SuccessfulCreate create Pod users-instance1-wppf-0 in StatefulSet users-instance1-wppf successful statefulset-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:24 +0000 UTC Normal PersistentVolumeClaim users-instance1-xxlc-pgdata WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:24 +0000 UTC Normal PersistentVolumeClaim users-instance1-xxlc-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: 14:17:36 | users | 2025-03-25 14:15:24 +0000 UTC Normal PersistentVolumeClaim users-instance1-xxlc-pgdata Provisioning External provisioner is provisioning volume for claim "kuttl-test-positive-narwhal/users-instance1-xxlc-pgdata" pd.csi.storage.gke.io_gke-8b132c0559544d8e81a4-7d36-54a0-vm_ab21806e-635d-4122-8ce6-d13a73ab4526 logger.go:42: 14:17:36 | users | 2025-03-25 14:15:24 +0000 UTC Normal StatefulSet.apps users-instance1-xxlc SuccessfulCreate create Pod users-instance1-xxlc-0 in StatefulSet users-instance1-xxlc successful statefulset-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:25 +0000 UTC Normal PersistentVolumeClaim users-instance1-mjkf-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: 14:17:36 | users | 2025-03-25 14:15:25 +0000 UTC Normal PersistentVolumeClaim users-instance1-mjkf-pgdata Provisioning External provisioner is provisioning volume for claim "kuttl-test-positive-narwhal/users-instance1-mjkf-pgdata" pd.csi.storage.gke.io_gke-8b132c0559544d8e81a4-7d36-54a0-vm_ab21806e-635d-4122-8ce6-d13a73ab4526 logger.go:42: 14:17:36 | users | 2025-03-25 14:15:25 +0000 UTC Normal StatefulSet.apps users-instance1-mjkf SuccessfulCreate create Pod users-instance1-mjkf-0 in StatefulSet users-instance1-mjkf successful statefulset-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:25 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-8rc9f Binding Scheduled Successfully assigned kuttl-test-positive-narwhal/users-pgbouncer-dc4d59d85-8rc9f to gke-jen-pg-1106-9da814d3-default-pool-5dc113ab-kcmf default-scheduler logger.go:42: 14:17:36 | users | 2025-03-25 14:15:25 +0000 UTC Normal ReplicaSet.apps users-pgbouncer-dc4d59d85 SuccessfulCreate Created pod: users-pgbouncer-dc4d59d85-8rc9f replicaset-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:25 +0000 UTC Normal PodDisruptionBudget.policy users-pgbouncer NoPods No matching pods found controllermanager logger.go:42: 14:17:36 | users | 2025-03-25 14:15:25 +0000 UTC Normal Deployment.apps users-pgbouncer ScalingReplicaSet Scaled up replica set users-pgbouncer-dc4d59d85 to 3 deployment-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:25 +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-positive-narwhal/users-pgbackrest: serviceaccount "users-pgbackrest" not found statefulset-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:25 +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: 14:17:36 | users | 2025-03-25 14:15:25 +0000 UTC Normal PersistentVolumeClaim users-repo1 WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:25 +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: 14:17:36 | users | 2025-03-25 14:15:25 +0000 UTC Normal PersistentVolumeClaim users-repo1 Provisioning External provisioner is provisioning volume for claim "kuttl-test-positive-narwhal/users-repo1" pd.csi.storage.gke.io_gke-8b132c0559544d8e81a4-7d36-54a0-vm_ab21806e-635d-4122-8ce6-d13a73ab4526 logger.go:42: 14:17:36 | users | 2025-03-25 14:15:25 +0000 UTC Normal PostgresCluster.postgres-operator.crunchydata.com users RepoHostCreated created pgBackRest repository host StatefulSet/users-repo-host postgrescluster-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:26 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-2lg65 Binding Scheduled Successfully assigned kuttl-test-positive-narwhal/users-pgbouncer-dc4d59d85-2lg65 to gke-jen-pg-1106-9da814d3-default-pool-5dc113ab-vdbq default-scheduler logger.go:42: 14:17:36 | users | 2025-03-25 14:15:26 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-2lg65.spec.containers{pgbouncer} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:26 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-8rc9f.spec.containers{pgbouncer} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:26 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-t8wt7 Binding Scheduled Successfully assigned kuttl-test-positive-narwhal/users-pgbouncer-dc4d59d85-t8wt7 to gke-jen-pg-1106-9da814d3-default-pool-5dc113ab-0g8j default-scheduler logger.go:42: 14:17:36 | users | 2025-03-25 14:15:26 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-t8wt7.spec.containers{pgbouncer} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:26 +0000 UTC Normal ReplicaSet.apps users-pgbouncer-dc4d59d85 SuccessfulCreate Created pod: users-pgbouncer-dc4d59d85-2lg65 replicaset-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:26 +0000 UTC Normal ReplicaSet.apps users-pgbouncer-dc4d59d85 SuccessfulCreate Created pod: users-pgbouncer-dc4d59d85-t8wt7 replicaset-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:27 +0000 UTC Normal Pod pg-client-b7cfff86c-c8ldz.spec.containers{pg-client} Pulled Successfully pulled image "perconalab/percona-distribution-postgresql:16" in 13.81s (13.81s including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:27 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-t8wt7.spec.containers{pgbouncer} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" in 131ms (131ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:27 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-t8wt7.spec.containers{pgbouncer} Created Created container: pgbouncer kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:27 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-t8wt7.spec.containers{pgbouncer} Started Started container pgbouncer kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:27 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-t8wt7.spec.containers{pgbouncer-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:27 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-t8wt7.spec.containers{pgbouncer-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" in 105ms (105ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:27 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-t8wt7.spec.containers{pgbouncer-config} Created Created container: pgbouncer-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:27 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-t8wt7.spec.containers{pgbouncer-config} Started Started container pgbouncer-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:28 +0000 UTC Normal Pod pg-client-b7cfff86c-c8ldz.spec.containers{pg-client} Created Created container: pg-client kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:28 +0000 UTC Normal Pod pg-client-b7cfff86c-c8ldz.spec.containers{pg-client} Started Started container pg-client kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:28 +0000 UTC Normal PersistentVolumeClaim users-instance1-wppf-pgdata ProvisioningSucceeded Successfully provisioned volume pvc-2b9ef3b8-2cc9-4730-8237-8715baa3cd10 pd.csi.storage.gke.io_gke-8b132c0559544d8e81a4-7d36-54a0-vm_ab21806e-635d-4122-8ce6-d13a73ab4526 logger.go:42: 14:17:36 | users | 2025-03-25 14:15:29 +0000 UTC Normal PersistentVolumeClaim users-instance1-mjkf-pgdata ProvisioningSucceeded Successfully provisioned volume pvc-958c5e8f-7767-4454-a0d4-8c5a4432db8b pd.csi.storage.gke.io_gke-8b132c0559544d8e81a4-7d36-54a0-vm_ab21806e-635d-4122-8ce6-d13a73ab4526 logger.go:42: 14:17:36 | users | 2025-03-25 14:15:29 +0000 UTC Normal PersistentVolumeClaim users-instance1-xxlc-pgdata ProvisioningSucceeded Successfully provisioned volume pvc-eac8e28f-5c95-44e5-8915-80e39ad73dd6 pd.csi.storage.gke.io_gke-8b132c0559544d8e81a4-7d36-54a0-vm_ab21806e-635d-4122-8ce6-d13a73ab4526 logger.go:42: 14:17:36 | users | 2025-03-25 14:15:29 +0000 UTC Normal PersistentVolumeClaim users-repo1 ProvisioningSucceeded Successfully provisioned volume pvc-1d7185e7-c8d7-475b-b687-b7fd22ab0393 pd.csi.storage.gke.io_gke-8b132c0559544d8e81a4-7d36-54a0-vm_ab21806e-635d-4122-8ce6-d13a73ab4526 logger.go:42: 14:17:36 | users | 2025-03-25 14:15:30 +0000 UTC Normal Pod users-instance1-mjkf-0 Binding Scheduled Successfully assigned kuttl-test-positive-narwhal/users-instance1-mjkf-0 to gke-jen-pg-1106-9da814d3-default-pool-5dc113ab-0g8j default-scheduler logger.go:42: 14:17:36 | users | 2025-03-25 14:15:30 +0000 UTC Normal Pod users-instance1-wppf-0 Binding Scheduled Successfully assigned kuttl-test-positive-narwhal/users-instance1-wppf-0 to gke-jen-pg-1106-9da814d3-default-pool-5dc113ab-vdbq default-scheduler logger.go:42: 14:17:36 | users | 2025-03-25 14:15:30 +0000 UTC Normal Pod users-repo-host-0 Binding Scheduled Successfully assigned kuttl-test-positive-narwhal/users-repo-host-0 to gke-jen-pg-1106-9da814d3-default-pool-5dc113ab-vdbq default-scheduler logger.go:42: 14:17:36 | users | 2025-03-25 14:15:31 +0000 UTC Normal Pod users-instance1-xxlc-0 Binding Scheduled Successfully assigned kuttl-test-positive-narwhal/users-instance1-xxlc-0 to gke-jen-pg-1106-9da814d3-default-pool-5dc113ab-kcmf default-scheduler logger.go:42: 14:17:36 | users | 2025-03-25 14:15:31 +0000 UTC Warning Pod users-instance1-xxlc-0 FailedMount Unable to attach or mount volumes: unmounted volumes=[cert-volume database-containerinfo dshm kube-api-access-wx6ph patroni-config pgbackrest-config pgbackrest-server postgres-data tmp], unattached volumes=[], failed to process volumes=[postgres-data]: error processing PVC kuttl-test-positive-narwhal/users-instance1-xxlc-pgdata: failed to fetch PVC from API server: persistentvolumeclaims "users-instance1-xxlc-pgdata" is forbidden: User "system:node:gke-jen-pg-1106-9da814d3-default-pool-5dc113ab-kcmf" cannot get resource "persistentvolumeclaims" in API group "" in the namespace "kuttl-test-positive-narwhal": no relationship found between node 'gke-jen-pg-1106-9da814d3-default-pool-5dc113ab-kcmf' and this object kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:32 +0000 UTC Warning Pod users-instance1-xxlc-0 FailedMount MountVolume.SetUp failed for volume "cert-volume" : failed to sync secret cache: timed out waiting for the condition kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:32 +0000 UTC Warning Pod users-instance1-xxlc-0 FailedMount MountVolume.SetUp failed for volume "patroni-config" : failed to sync configmap cache: timed out waiting for the condition kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:35 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-8rc9f.spec.containers{pgbouncer} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" in 9.034s (9.034s including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:35 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-8rc9f.spec.containers{pgbouncer} Created Created container: pgbouncer kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:35 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-8rc9f.spec.containers{pgbouncer} Started Started container pgbouncer kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:35 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-8rc9f.spec.containers{pgbouncer-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:35 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-8rc9f.spec.containers{pgbouncer-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" in 105ms (105ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:35 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-8rc9f.spec.containers{pgbouncer-config} Created Created container: pgbouncer-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:35 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-8rc9f.spec.containers{pgbouncer-config} Started Started container pgbouncer-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:38 +0000 UTC Normal Pod users-instance1-mjkf-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-958c5e8f-7767-4454-a0d4-8c5a4432db8b" attachdetach-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:39 +0000 UTC Normal Pod users-instance1-xxlc-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-eac8e28f-5c95-44e5-8915-80e39ad73dd6" attachdetach-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:39 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-2lg65.spec.containers{pgbouncer} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" in 12.961s (12.961s including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:39 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-2lg65.spec.containers{pgbouncer} Created Created container: pgbouncer kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:39 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-2lg65.spec.containers{pgbouncer} Started Started container pgbouncer kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:39 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-2lg65.spec.containers{pgbouncer-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:40 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.initContainers{postgres-startup} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:40 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.initContainers{postgres-startup} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 129ms (129ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:40 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.initContainers{postgres-startup} Created Created container: postgres-startup kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:40 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.initContainers{postgres-startup} Started Started container postgres-startup kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:40 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-2lg65.spec.containers{pgbouncer-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" in 135ms (135ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:40 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-2lg65.spec.containers{pgbouncer-config} Created Created container: pgbouncer-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:40 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-2lg65.spec.containers{pgbouncer-config} Started Started container pgbouncer-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:40 +0000 UTC Normal Pod users-repo-host-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-1d7185e7-c8d7-475b-b687-b7fd22ab0393" attachdetach-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:41 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:41 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 143ms (143ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:41 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:41 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:41 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:41 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 142ms (142ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:41 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Created Created container: pgbackrest-log-dir kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:41 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Started Started container pgbackrest-log-dir kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:42 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{database} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:42 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{database} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 118ms (118ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:42 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{database} Created Created container: database kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:42 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{database} Started Started container database kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:42 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{replication-cert-copy} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:42 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{replication-cert-copy} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 155ms (155ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:42 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{replication-cert-copy} Created Created container: replication-cert-copy kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:42 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{replication-cert-copy} Started Started container replication-cert-copy kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:42 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:42 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 140ms (140ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:42 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:42 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:43 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:43 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 143ms (143ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:43 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:43 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:43 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:43 +0000 UTC Normal Pod users-instance1-wppf-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-2b9ef3b8-2cc9-4730-8237-8715baa3cd10" attachdetach-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:43 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:43 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 152ms (152ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:43 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:44 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 134ms (134ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:44 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:44 +0000 UTC Normal Pod users-instance1-mjkf-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:44 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:44 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:44 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 143ms (143ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:44 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:44 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:45 +0000 UTC Warning Pod users-instance1-mjkf-0.spec.containers{database} Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 503 kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:45 +0000 UTC Normal Pod users-instance1-wppf-0.spec.initContainers{postgres-startup} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:45 +0000 UTC Normal Pod users-instance1-wppf-0.spec.initContainers{postgres-startup} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 140ms (140ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:45 +0000 UTC Normal Pod users-instance1-wppf-0.spec.initContainers{postgres-startup} Created Created container: postgres-startup kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:45 +0000 UTC Normal Pod users-instance1-wppf-0.spec.initContainers{postgres-startup} Started Started container postgres-startup kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:46 +0000 UTC Normal Pod users-instance1-wppf-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:46 +0000 UTC Normal Pod users-instance1-wppf-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 185ms (185ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:46 +0000 UTC Normal Pod users-instance1-wppf-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:46 +0000 UTC Normal Pod users-instance1-wppf-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:47 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{database} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:47 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{database} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 151ms (151ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:47 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{database} Created Created container: database kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:47 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{database} Started Started container database kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:47 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{replication-cert-copy} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:47 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{replication-cert-copy} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 133ms (133ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:47 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{replication-cert-copy} Created Created container: replication-cert-copy kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:47 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.initContainers{postgres-startup} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:47 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.initContainers{postgres-startup} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 130ms (130ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:47 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.initContainers{postgres-startup} Created Created container: postgres-startup kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:47 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.initContainers{postgres-startup} Started Started container postgres-startup kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:48 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{replication-cert-copy} Started Started container replication-cert-copy kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:48 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:48 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 124ms (124ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:48 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:48 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:48 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:48 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 146ms (146ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:48 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:48 +0000 UTC Normal Pod users-instance1-wppf-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:50 +0000 UTC Warning Pod users-instance1-wppf-0.spec.containers{database} Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 503 kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:51 +0000 UTC Normal Pod users-backup-q5l5-h2nwj Binding Scheduled Successfully assigned kuttl-test-positive-narwhal/users-backup-q5l5-h2nwj to gke-jen-pg-1106-9da814d3-default-pool-5dc113ab-kcmf default-scheduler logger.go:42: 14:17:36 | users | 2025-03-25 14:15:51 +0000 UTC Normal Job.batch users-backup-q5l5 SuccessfulCreate Created pod: users-backup-q5l5-h2nwj job-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:51 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:51 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 136ms (136ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:51 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:51 +0000 UTC Normal PostgresCluster.postgres-operator.crunchydata.com users StanzasCreated pgBackRest stanza creation completed successfully postgrescluster-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:15:52 +0000 UTC Normal Pod users-backup-q5l5-h2nwj.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:52 +0000 UTC Normal Pod users-backup-q5l5-h2nwj.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 115ms (115ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:52 +0000 UTC Normal Pod users-backup-q5l5-h2nwj.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:52 +0000 UTC Normal Pod users-backup-q5l5-h2nwj.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:52 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:52 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{database} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:52 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{database} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 115ms (116ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:53 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{database} Created Created container: database kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:53 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{database} Started Started container database kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:53 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{replication-cert-copy} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:53 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{replication-cert-copy} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 141ms (142ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:53 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{replication-cert-copy} Created Created container: replication-cert-copy kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:53 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{replication-cert-copy} Started Started container replication-cert-copy kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:53 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:53 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 179ms (179ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:53 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:53 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:53 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:53 +0000 UTC Normal Pod users-instance1-xxlc-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 114ms (114ms including waiting) kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:15:55 +0000 UTC Warning PostgresCluster.postgres-operator.crunchydata.com users UnableToCreateStanzas command terminated with exit code 50: repo1-path = /pgbackrest/repo1 2025-03-25 14:15:55.461 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-03-25 14:15:55.471 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: 14:17:36 | users | 2025-03-25 14:16:26 +0000 UTC Normal Job.batch users-backup-q5l5 Completed Job completed job-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:17:21 +0000 UTC Normal StatefulSet.apps users-instance1-wppf SuccessfulDelete delete Pod users-instance1-wppf-0 in StatefulSet users-instance1-wppf successful statefulset-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:17:21 +0000 UTC Normal StatefulSet.apps users-instance1-xxlc SuccessfulDelete delete Pod users-instance1-xxlc-0 in StatefulSet users-instance1-xxlc successful statefulset-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:17:24 +0000 UTC Normal StatefulSet.apps users-instance1-mjkf SuccessfulDelete delete Pod users-instance1-mjkf-0 in StatefulSet users-instance1-mjkf successful statefulset-controller logger.go:42: 14:17:36 | users | 2025-03-25 14:17:26 +0000 UTC Normal PodDisruptionBudget.policy users-set-instance1 NoPods No matching pods found controllermanager logger.go:42: 14:17:36 | users | 2025-03-25 14:17:28 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-2lg65.spec.containers{pgbouncer} Killing Stopping container pgbouncer kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:17:28 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-2lg65.spec.containers{pgbouncer-config} Killing Stopping container pgbouncer-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:17:28 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-8rc9f.spec.containers{pgbouncer} Killing Stopping container pgbouncer kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:17:28 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-8rc9f.spec.containers{pgbouncer-config} Killing Stopping container pgbouncer-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:17:28 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-t8wt7.spec.containers{pgbouncer} Killing Stopping container pgbouncer kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:17:28 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-t8wt7.spec.containers{pgbouncer-config} Killing Stopping container pgbouncer-config kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:17:28 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Killing Stopping container pgbackrest kubelet logger.go:42: 14:17:36 | users | 2025-03-25 14:17:28 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Killing Stopping container pgbackrest-config kubelet logger.go:42: 14:17:36 | users | Deleting namespace: kuttl-test-positive-narwhal === NAME kuttl harness.go:407: run tests finished harness.go:515: cleaning up harness.go:572: removing temp folder: "" --- PASS: kuttl (194.23s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/users (193.09s) PASS