=== RUN kuttl harness.go:464: starting setup harness.go:255: running tests using configured kubeconfig. harness.go:278: Successful connection to cluster at: https://35.226.245.8 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: 16:09:59 | users | Creating namespace: kuttl-test-optimum-viper logger.go:42: 16:09:59 | users/0-deploy-operator | starting test step 0-deploy-operator logger.go:42: 16:09:59 | 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: 16:09:59 | users/0-deploy-operator | + source ../../functions logger.go:42: 16:09:59 | users/0-deploy-operator | +++ realpath ../../.. logger.go:42: 16:09:59 | users/0-deploy-operator | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:09:59 | users/0-deploy-operator | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:09:59 | users/0-deploy-operator | ++++ pwd logger.go:42: 16:09:59 | users/0-deploy-operator | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:09:59 | users/0-deploy-operator | ++ test_name=users logger.go:42: 16:09:59 | users/0-deploy-operator | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:09:59 | users/0-deploy-operator | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:09:59 | users/0-deploy-operator | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:09:59 | users/0-deploy-operator | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:09:59 | users/0-deploy-operator | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:09:59 | users/0-deploy-operator | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:09:59 | users/0-deploy-operator | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:09:59 | users/0-deploy-operator | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:09:59 | users/0-deploy-operator | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:09:59 | users/0-deploy-operator | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:09:59 | users/0-deploy-operator | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export PG_VER=16 logger.go:42: 16:09:59 | users/0-deploy-operator | +++ PG_VER=16 logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:09:59 | users/0-deploy-operator | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:09:59 | users/0-deploy-operator | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:09:59 | users/0-deploy-operator | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:09:59 | users/0-deploy-operator | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export BUCKET=pg-operator-testing logger.go:42: 16:09:59 | users/0-deploy-operator | +++ BUCKET=pg-operator-testing logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:09:59 | users/0-deploy-operator | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:09:59 | users/0-deploy-operator | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:09:59 | users/0-deploy-operator | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:09:59 | users/0-deploy-operator | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:09:59 | users/0-deploy-operator | +++ export PGOV1_VER=14 logger.go:42: 16:09:59 | users/0-deploy-operator | +++ PGOV1_VER=14 logger.go:42: 16:09:59 | users/0-deploy-operator | ++++ which gdate logger.go:42: 16:09:59 | users/0-deploy-operator | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:09:59 | users/0-deploy-operator | ++++ which date logger.go:42: 16:09:59 | users/0-deploy-operator | +++ date=/usr/bin/date logger.go:42: 16:09:59 | users/0-deploy-operator | ++++ which gsed logger.go:42: 16:09:59 | users/0-deploy-operator | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:09:59 | users/0-deploy-operator | ++++ which sed logger.go:42: 16:09:59 | users/0-deploy-operator | +++ sed=/usr/bin/sed logger.go:42: 16:09:59 | users/0-deploy-operator | +++ command -v oc logger.go:42: 16:09:59 | users/0-deploy-operator | ++ oc get projects logger.go:42: 16:09:59 | users/0-deploy-operator | + init_temp_dir logger.go:42: 16:09:59 | users/0-deploy-operator | + rm -rf /tmp/kuttl/pg/users logger.go:42: 16:09:59 | users/0-deploy-operator | + mkdir -p /tmp/kuttl/pg/users logger.go:42: 16:09:59 | users/0-deploy-operator | + deploy_operator logger.go:42: 16:09:59 | users/0-deploy-operator | + local cw_prefix= logger.go:42: 16:09:59 | users/0-deploy-operator | + destroy_operator logger.go:42: 16:09:59 | users/0-deploy-operator | + kubectl -n pg-operator delete deployment percona-postgresql-operator --force --grace-period=0 logger.go:42: 16:09:59 | 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: 16:09:59 | users/0-deploy-operator | Error from server (NotFound): deployments.apps "percona-postgresql-operator" not found logger.go:42: 16:09:59 | users/0-deploy-operator | + true logger.go:42: 16:09:59 | users/0-deploy-operator | + [[ -n pg-operator ]] logger.go:42: 16:09:59 | users/0-deploy-operator | + kubectl delete namespace pg-operator --force --grace-period=0 logger.go:42: 16:09:59 | 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: 16:10:00 | users/0-deploy-operator | Error from server (NotFound): namespaces "pg-operator" not found logger.go:42: 16:10:00 | users/0-deploy-operator | + true logger.go:42: 16:10:00 | users/0-deploy-operator | + [[ -n pg-operator ]] logger.go:42: 16:10:00 | users/0-deploy-operator | + create_namespace pg-operator logger.go:42: 16:10:00 | users/0-deploy-operator | + local namespace=pg-operator logger.go:42: 16:10:00 | users/0-deploy-operator | + [[ -n '' ]] logger.go:42: 16:10:00 | users/0-deploy-operator | + kubectl delete namespace pg-operator --ignore-not-found logger.go:42: 16:10:00 | users/0-deploy-operator | + kubectl wait --for=delete namespace pg-operator logger.go:42: 16:10:00 | users/0-deploy-operator | + kubectl create namespace pg-operator logger.go:42: 16:10:01 | users/0-deploy-operator | namespace/pg-operator created logger.go:42: 16:10:01 | users/0-deploy-operator | + cw_prefix=cw- logger.go:42: 16:10:01 | users/0-deploy-operator | + kubectl -n pg-operator apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy/crd.yaml logger.go:42: 16:10:02 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/crunchybridgeclusters.postgres-operator.crunchydata.com serverside-applied logger.go:42: 16:10:02 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgbackups.pgv2.percona.com serverside-applied logger.go:42: 16:10:03 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgclusters.pgv2.percona.com serverside-applied logger.go:42: 16:10:04 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgrestores.pgv2.percona.com serverside-applied logger.go:42: 16:10:04 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgupgrades.pgv2.percona.com serverside-applied logger.go:42: 16:10:04 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/pgadmins.postgres-operator.crunchydata.com serverside-applied logger.go:42: 16:10:05 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/pgupgrades.postgres-operator.crunchydata.com serverside-applied logger.go:42: 16:10:08 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/postgresclusters.postgres-operator.crunchydata.com serverside-applied logger.go:42: 16:10:08 | users/0-deploy-operator | + kubectl -n pg-operator apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy/cw-rbac.yaml logger.go:42: 16:10:08 | users/0-deploy-operator | serviceaccount/percona-postgresql-operator serverside-applied logger.go:42: 16:10:09 | users/0-deploy-operator | clusterrole.rbac.authorization.k8s.io/percona-postgresql-operator serverside-applied logger.go:42: 16:10:09 | users/0-deploy-operator | clusterrolebinding.rbac.authorization.k8s.io/percona-postgresql-operator serverside-applied logger.go:42: 16:10:09 | users/0-deploy-operator | + local disable_telemetry=true logger.go:42: 16:10:09 | users/0-deploy-operator | + '[' users == telemetry-transfer ']' logger.go:42: 16:10:09 | users/0-deploy-operator | + yq eval '(.spec.template.spec.containers[] | select(.name=="operator") | .env[] | select(.name=="DISABLE_TELEMETRY") | .value) = "true"' - logger.go:42: 16:10:09 | users/0-deploy-operator | + kubectl -n pg-operator apply -f - logger.go:42: 16:10:09 | users/0-deploy-operator | + yq eval '.spec.template.spec.containers[0].image = "perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d"' /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy/cw-operator.yaml logger.go:42: 16:10:10 | users/0-deploy-operator | deployment.apps/percona-postgresql-operator created logger.go:42: 16:10:10 | users/0-deploy-operator | + deploy_client logger.go:42: 16:10:10 | users/0-deploy-operator | + kubectl -n kuttl-test-optimum-viper apply -f /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf/client.yaml logger.go:42: 16:10:11 | users/0-deploy-operator | deployment.apps/pg-client created logger.go:42: 16:10:11 | 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: 16:10:11 | users/0-deploy-operator | ASSERT deployment percona-postgresql-operator matching field criteria 'status.readyReplicas=1' should exist. logger.go:42: 16:10:12 | users/0-deploy-operator | INFO Found 1 resource(s). logger.go:42: 16:10:12 | users/0-deploy-operator | NAME NAMESPACE COL0 logger.go:42: 16:10:12 | users/0-deploy-operator | percona-postgresql-operator pg-operator 1 logger.go:42: 16:10:12 | users/0-deploy-operator | ASSERT PASS logger.go:42: 16:10:12 | users/0-deploy-operator | test step completed 0-deploy-operator logger.go:42: 16:10:12 | users/1-create-cluster | starting test step 1-create-cluster logger.go:42: 16:10:12 | 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: 16:10:12 | users/1-create-cluster | + source ../../functions logger.go:42: 16:10:12 | users/1-create-cluster | +++ realpath ../../.. logger.go:42: 16:10:12 | users/1-create-cluster | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:10:12 | users/1-create-cluster | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:10:12 | users/1-create-cluster | ++++ pwd logger.go:42: 16:10:12 | users/1-create-cluster | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:10:12 | users/1-create-cluster | ++ test_name=users logger.go:42: 16:10:12 | users/1-create-cluster | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:10:12 | users/1-create-cluster | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:10:12 | users/1-create-cluster | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:10:12 | users/1-create-cluster | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:10:12 | users/1-create-cluster | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:10:12 | users/1-create-cluster | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:10:12 | users/1-create-cluster | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:10:12 | users/1-create-cluster | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:10:12 | users/1-create-cluster | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:10:12 | users/1-create-cluster | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:10:12 | users/1-create-cluster | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:10:12 | users/1-create-cluster | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:10:12 | users/1-create-cluster | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:10:12 | users/1-create-cluster | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:10:12 | users/1-create-cluster | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:10:12 | users/1-create-cluster | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:10:12 | users/1-create-cluster | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:10:12 | users/1-create-cluster | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:10:12 | users/1-create-cluster | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:10:12 | users/1-create-cluster | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:10:12 | users/1-create-cluster | +++ export PG_VER=16 logger.go:42: 16:10:12 | users/1-create-cluster | +++ PG_VER=16 logger.go:42: 16:10:12 | users/1-create-cluster | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:10:12 | users/1-create-cluster | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:10:12 | users/1-create-cluster | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:10:12 | users/1-create-cluster | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:10:12 | users/1-create-cluster | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:10:12 | users/1-create-cluster | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:10:12 | users/1-create-cluster | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:10:12 | users/1-create-cluster | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:10:12 | users/1-create-cluster | +++ export BUCKET=pg-operator-testing logger.go:42: 16:10:12 | users/1-create-cluster | +++ BUCKET=pg-operator-testing logger.go:42: 16:10:12 | users/1-create-cluster | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:10:12 | users/1-create-cluster | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:10:12 | users/1-create-cluster | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:10:12 | users/1-create-cluster | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:10:12 | users/1-create-cluster | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:10:12 | users/1-create-cluster | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:10:12 | users/1-create-cluster | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:10:12 | users/1-create-cluster | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:10:12 | users/1-create-cluster | +++ export PGOV1_VER=14 logger.go:42: 16:10:12 | users/1-create-cluster | +++ PGOV1_VER=14 logger.go:42: 16:10:12 | users/1-create-cluster | ++++ which gdate logger.go:42: 16:10:12 | users/1-create-cluster | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:10:12 | users/1-create-cluster | ++++ which date logger.go:42: 16:10:12 | users/1-create-cluster | +++ date=/usr/bin/date logger.go:42: 16:10:12 | users/1-create-cluster | ++++ which gsed logger.go:42: 16:10:12 | users/1-create-cluster | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:10:12 | users/1-create-cluster | ++++ which sed logger.go:42: 16:10:12 | users/1-create-cluster | +++ sed=/usr/bin/sed logger.go:42: 16:10:12 | users/1-create-cluster | +++ command -v oc logger.go:42: 16:10:12 | users/1-create-cluster | ++ oc get projects logger.go:42: 16:10:12 | users/1-create-cluster | + get_cr users 32405 logger.go:42: 16:10:12 | users/1-create-cluster | + local cr_name=users logger.go:42: 16:10:12 | users/1-create-cluster | + kubectl -n kuttl-test-optimum-viper apply -f - logger.go:42: 16:10:12 | users/1-create-cluster | + '[' -z users ']' logger.go:42: 16:10:12 | users/1-create-cluster | + local repo_path=32405 logger.go:42: 16:10:12 | users/1-create-cluster | + yq eval ' logger.go:42: 16:10:12 | users/1-create-cluster | .metadata.name = "users" | logger.go:42: 16:10:12 | users/1-create-cluster | .metadata.labels = {"e2e":"users"} | logger.go:42: 16:10:12 | users/1-create-cluster | .spec.postgresVersion = 16 | logger.go:42: 16:10:12 | users/1-create-cluster | .spec.users += [{"name":"postgres","password":{"type":"AlphaNumeric"}}] | logger.go:42: 16:10:12 | users/1-create-cluster | .spec.users += [{"name":"users","password":{"type":"AlphaNumeric"}}] | logger.go:42: 16:10:12 | users/1-create-cluster | .spec.image = "perconalab/percona-postgresql-operator:main-ppg16-postgres" | logger.go:42: 16:10:12 | users/1-create-cluster | .spec.backups.pgbackrest.image = "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" | logger.go:42: 16:10:12 | users/1-create-cluster | .spec.proxy.pgBouncer.image = "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" | logger.go:42: 16:10:12 | users/1-create-cluster | .spec.pmm.image = "perconalab/pmm-client:dev-latest" | logger.go:42: 16:10:12 | users/1-create-cluster | .spec.pmm.secret = "users-pmm-secret" | logger.go:42: 16:10:12 | users/1-create-cluster | .spec.pmm.customClusterName = "users-pmm-custom-name" | logger.go:42: 16:10:12 | users/1-create-cluster | .spec.pmm.postgresParams = "--environment=dev-postgres" logger.go:42: 16:10:12 | users/1-create-cluster | ' /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy/cr.yaml logger.go:42: 16:10:12 | users/1-create-cluster | + [[ -n '' ]] logger.go:42: 16:10:12 | users/1-create-cluster | + case $test_name in logger.go:42: 16:10:12 | users/1-create-cluster | + cat /tmp/kuttl/pg/users/cr.yaml logger.go:42: 16:10:13 | users/1-create-cluster | perconapgcluster.pgv2.percona.com/users created logger.go:42: 16:11:20 | users/1-create-cluster | test step completed 1-create-cluster logger.go:42: 16:11:20 | users/2-write-data | starting test step 2-write-data logger.go:42: 16:11:20 | 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: 16:11:20 | users/2-write-data | + source ../../functions logger.go:42: 16:11:20 | users/2-write-data | +++ realpath ../../.. logger.go:42: 16:11:20 | users/2-write-data | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:20 | users/2-write-data | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:11:20 | users/2-write-data | ++++ pwd logger.go:42: 16:11:20 | users/2-write-data | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:11:20 | users/2-write-data | ++ test_name=users logger.go:42: 16:11:20 | users/2-write-data | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:11:20 | users/2-write-data | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:20 | users/2-write-data | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:20 | users/2-write-data | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:20 | users/2-write-data | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:20 | users/2-write-data | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:20 | users/2-write-data | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:20 | users/2-write-data | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:20 | users/2-write-data | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:20 | users/2-write-data | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:20 | users/2-write-data | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:20 | users/2-write-data | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:11:20 | users/2-write-data | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:11:20 | users/2-write-data | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:11:20 | users/2-write-data | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:20 | users/2-write-data | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:20 | users/2-write-data | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:20 | users/2-write-data | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:20 | users/2-write-data | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:20 | users/2-write-data | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:20 | users/2-write-data | +++ export PG_VER=16 logger.go:42: 16:11:20 | users/2-write-data | +++ PG_VER=16 logger.go:42: 16:11:20 | users/2-write-data | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:20 | users/2-write-data | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:20 | users/2-write-data | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:20 | users/2-write-data | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:20 | users/2-write-data | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:20 | users/2-write-data | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:20 | users/2-write-data | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:20 | users/2-write-data | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:20 | users/2-write-data | +++ export BUCKET=pg-operator-testing logger.go:42: 16:11:20 | users/2-write-data | +++ BUCKET=pg-operator-testing logger.go:42: 16:11:20 | users/2-write-data | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:20 | users/2-write-data | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:20 | users/2-write-data | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:20 | users/2-write-data | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:20 | users/2-write-data | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:20 | users/2-write-data | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:20 | users/2-write-data | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:11:20 | users/2-write-data | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:11:20 | users/2-write-data | +++ export PGOV1_VER=14 logger.go:42: 16:11:20 | users/2-write-data | +++ PGOV1_VER=14 logger.go:42: 16:11:20 | users/2-write-data | ++++ which gdate logger.go:42: 16:11:20 | users/2-write-data | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:20 | users/2-write-data | ++++ which date logger.go:42: 16:11:20 | users/2-write-data | +++ date=/usr/bin/date logger.go:42: 16:11:20 | users/2-write-data | ++++ which gsed logger.go:42: 16:11:20 | users/2-write-data | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:20 | users/2-write-data | ++++ which sed logger.go:42: 16:11:20 | users/2-write-data | +++ sed=/usr/bin/sed logger.go:42: 16:11:20 | users/2-write-data | +++ command -v oc logger.go:42: 16:11:20 | users/2-write-data | ++ oc get projects logger.go:42: 16:11:20 | users/2-write-data | ++ get_psql_user_pass users-pguser-postgres logger.go:42: 16:11:20 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 16:11:20 | users/2-write-data | ++ kubectl -n kuttl-test-optimum-viper get secret/users-pguser-postgres '--template={{.data.password | base64decode}}' logger.go:42: 16:11:20 | users/2-write-data | ++ get_psql_user_host users-pguser-postgres logger.go:42: 16:11:20 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 16:11:20 | users/2-write-data | ++ kubectl -n kuttl-test-optimum-viper get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 16:11:21 | users/2-write-data | + run_psql_local 'CREATE DATABASE myapp; \c myapp \\\ CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY);' postgres:Wtg01fA2TIYCmYERo4vPMUFk@users-primary.kuttl-test-optimum-viper.svc logger.go:42: 16:11:21 | users/2-write-data | + local 'command=CREATE DATABASE myapp; \c myapp \\\ CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY);' logger.go:42: 16:11:21 | users/2-write-data | + local uri=postgres:Wtg01fA2TIYCmYERo4vPMUFk@users-primary.kuttl-test-optimum-viper.svc logger.go:42: 16:11:21 | users/2-write-data | + local driver=postgres logger.go:42: 16:11:21 | users/2-write-data | ++ get_client_pod logger.go:42: 16:11:21 | users/2-write-data | ++ kubectl -n kuttl-test-optimum-viper get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 16:11:21 | users/2-write-data | + kubectl -n kuttl-test-optimum-viper exec pg-client-b7cfff86c-tpn8f -- 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:Wtg01fA2TIYCmYERo4vPMUFk@users-primary.kuttl-test-optimum-viper.svc'\''' logger.go:42: 16:11:23 | users/2-write-data | ++ get_psql_user_pass users-pguser-postgres logger.go:42: 16:11:23 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 16:11:23 | users/2-write-data | ++ kubectl -n kuttl-test-optimum-viper get secret/users-pguser-postgres '--template={{.data.password | base64decode}}' logger.go:42: 16:11:23 | users/2-write-data | ++ get_psql_user_host users-pguser-postgres logger.go:42: 16:11:23 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 16:11:23 | users/2-write-data | ++ kubectl -n kuttl-test-optimum-viper get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 16:11:24 | users/2-write-data | + run_psql_local '\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)' postgres:Wtg01fA2TIYCmYERo4vPMUFk@users-primary.kuttl-test-optimum-viper.svc logger.go:42: 16:11:24 | users/2-write-data | + local 'command=\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)' logger.go:42: 16:11:24 | users/2-write-data | + local uri=postgres:Wtg01fA2TIYCmYERo4vPMUFk@users-primary.kuttl-test-optimum-viper.svc logger.go:42: 16:11:24 | users/2-write-data | + local driver=postgres logger.go:42: 16:11:24 | users/2-write-data | ++ get_client_pod logger.go:42: 16:11:24 | users/2-write-data | ++ kubectl -n kuttl-test-optimum-viper get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 16:11:24 | users/2-write-data | + kubectl -n kuttl-test-optimum-viper exec pg-client-b7cfff86c-tpn8f -- bash -c 'printf '\''\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)\n'\'' | psql -v ON_ERROR_STOP=1 -t -q postgres://'\''postgres:Wtg01fA2TIYCmYERo4vPMUFk@users-primary.kuttl-test-optimum-viper.svc'\''' [controller-runtime] log.SetLogger(...) was never called; logs will not be displayed. Detected at: > goroutine 25 [running]: > runtime/debug.Stack() > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/runtime/debug/stack.go:24 +0x5e > sigs.k8s.io/controller-runtime/pkg/log.eventuallyFulfillRoot() > /home/mowsiany/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/log/log.go:60 +0xcd > sigs.k8s.io/controller-runtime/pkg/log.(*delegatingLogSink).WithName(0xc0002a9c00, {0x184a055, 0x14}) > /home/mowsiany/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/log/deleg.go:147 +0x3e > github.com/go-logr/logr.Logger.WithName({{0x1acb7d8, 0xc0002a9c00}, 0x0}, {0x184a055?, 0xc0004ddf80?}) > /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, 0xc00043c2a0, {0x1accd90, 0xc000800880}, 0x0, {0x0, 0x0}, 0x0}) > /home/mowsiany/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/client/client.go:122 +0xf1 > sigs.k8s.io/controller-runtime/pkg/client.New(0xc0004ccfc8?, {0x0, 0xc00043c2a0, {0x1accd90, 0xc000800880}, 0x0, {0x0, 0x0}, 0x0}) > /home/mowsiany/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/client/client.go:103 +0x7d > github.com/kudobuilder/kuttl/pkg/test/utils.NewRetryClient(0xc0004ccfc8, {0x0, 0xc00043c2a0, {0x1accd90, 0xc000800880}, 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(0xc000624008, 0xbd?) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/harness.go:323 +0x18e > github.com/kudobuilder/kuttl/pkg/test.(*Step).Create(0xc00065bba0, 0xc000626340, {0xc0005bf638, 0x18}) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/step.go:177 +0x63 > github.com/kudobuilder/kuttl/pkg/test.(*Step).Run(0xc00065bba0, 0xc000626340, {0xc0005bf638, 0x18}) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/step.go:457 +0x24a > github.com/kudobuilder/kuttl/pkg/test.(*Case).Run(0xc00061f9a0, 0xc000626340, 0xc00059a3f0) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/case.go:373 +0xaeb > github.com/kudobuilder/kuttl/pkg/test.(*Harness).RunTests.func1.1(0xc000626340) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/harness.go:401 +0x12e > testing.tRunner(0xc000626340, 0xc000164a20) > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/testing/testing.go:1689 +0xfb > created by testing.(*T).Run in goroutine 24 > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/testing/testing.go:1742 +0x390 logger.go:42: 16:11:25 | users/2-write-data | test step completed 2-write-data logger.go:42: 16:11:25 | users/3-read-from-primary | starting test step 3-read-from-primary logger.go:42: 16:11:25 | 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: 16:11:25 | users/3-read-from-primary | + source ../../functions logger.go:42: 16:11:25 | users/3-read-from-primary | +++ realpath ../../.. logger.go:42: 16:11:25 | users/3-read-from-primary | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:25 | users/3-read-from-primary | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:11:25 | users/3-read-from-primary | ++++ pwd logger.go:42: 16:11:25 | users/3-read-from-primary | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:11:25 | users/3-read-from-primary | ++ test_name=users logger.go:42: 16:11:25 | users/3-read-from-primary | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:25 | users/3-read-from-primary | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:25 | users/3-read-from-primary | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:25 | users/3-read-from-primary | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:25 | users/3-read-from-primary | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:25 | users/3-read-from-primary | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:25 | users/3-read-from-primary | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:11:25 | users/3-read-from-primary | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:25 | users/3-read-from-primary | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:25 | users/3-read-from-primary | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:25 | users/3-read-from-primary | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export PG_VER=16 logger.go:42: 16:11:25 | users/3-read-from-primary | +++ PG_VER=16 logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:25 | users/3-read-from-primary | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:25 | users/3-read-from-primary | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:25 | users/3-read-from-primary | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:25 | users/3-read-from-primary | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export BUCKET=pg-operator-testing logger.go:42: 16:11:25 | users/3-read-from-primary | +++ BUCKET=pg-operator-testing logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:25 | users/3-read-from-primary | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:25 | users/3-read-from-primary | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:25 | users/3-read-from-primary | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:11:25 | users/3-read-from-primary | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:11:25 | users/3-read-from-primary | +++ export PGOV1_VER=14 logger.go:42: 16:11:25 | users/3-read-from-primary | +++ PGOV1_VER=14 logger.go:42: 16:11:25 | users/3-read-from-primary | ++++ which gdate logger.go:42: 16:11:25 | users/3-read-from-primary | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:25 | users/3-read-from-primary | ++++ which date logger.go:42: 16:11:25 | users/3-read-from-primary | +++ date=/usr/bin/date logger.go:42: 16:11:25 | users/3-read-from-primary | ++++ which gsed logger.go:42: 16:11:25 | users/3-read-from-primary | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:25 | users/3-read-from-primary | ++++ which sed logger.go:42: 16:11:26 | users/3-read-from-primary | +++ sed=/usr/bin/sed logger.go:42: 16:11:26 | users/3-read-from-primary | +++ command -v oc logger.go:42: 16:11:26 | users/3-read-from-primary | ++ oc get projects logger.go:42: 16:11:26 | users/3-read-from-primary | +++ get_psql_user_pass users-pguser-postgres logger.go:42: 16:11:26 | users/3-read-from-primary | +++ local secret_name=users-pguser-postgres logger.go:42: 16:11:26 | users/3-read-from-primary | +++ kubectl -n kuttl-test-optimum-viper get secret/users-pguser-postgres '--template={{.data.password | base64decode}}' logger.go:42: 16:11:26 | users/3-read-from-primary | +++ get_psql_user_host users-pguser-postgres logger.go:42: 16:11:26 | users/3-read-from-primary | +++ local secret_name=users-pguser-postgres logger.go:42: 16:11:26 | users/3-read-from-primary | +++ kubectl -n kuttl-test-optimum-viper get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 16:11:26 | users/3-read-from-primary | ++ run_psql_local '\c myapp \\\ SELECT * from myApp;' postgres:Wtg01fA2TIYCmYERo4vPMUFk@users-primary.kuttl-test-optimum-viper.svc logger.go:42: 16:11:26 | users/3-read-from-primary | ++ local 'command=\c myapp \\\ SELECT * from myApp;' logger.go:42: 16:11:26 | users/3-read-from-primary | ++ local uri=postgres:Wtg01fA2TIYCmYERo4vPMUFk@users-primary.kuttl-test-optimum-viper.svc logger.go:42: 16:11:26 | users/3-read-from-primary | ++ local driver=postgres logger.go:42: 16:11:26 | users/3-read-from-primary | +++ get_client_pod logger.go:42: 16:11:26 | users/3-read-from-primary | +++ kubectl -n kuttl-test-optimum-viper get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 16:11:27 | users/3-read-from-primary | ++ kubectl -n kuttl-test-optimum-viper exec pg-client-b7cfff86c-tpn8f -- bash -c 'printf '\''\c myapp \\\ SELECT * from myApp;\n'\'' | psql -v ON_ERROR_STOP=1 -t -q postgres://'\''postgres:Wtg01fA2TIYCmYERo4vPMUFk@users-primary.kuttl-test-optimum-viper.svc'\''' logger.go:42: 16:11:28 | users/3-read-from-primary | + data=' 100500' logger.go:42: 16:11:28 | users/3-read-from-primary | + kubectl create configmap -n kuttl-test-optimum-viper 03-read-from-primary '--from-literal=data= 100500' logger.go:42: 16:11:28 | users/3-read-from-primary | configmap/03-read-from-primary created logger.go:42: 16:11:29 | users/3-read-from-primary | test step completed 3-read-from-primary logger.go:42: 16:11:29 | users/4-update-default-user-password | starting test step 4-update-default-user-password logger.go:42: 16:11:29 | 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: 16:11:29 | users/4-update-default-user-password | + source ../../functions logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ realpath ../../.. logger.go:42: 16:11:29 | users/4-update-default-user-password | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:29 | users/4-update-default-user-password | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:11:29 | users/4-update-default-user-password | ++++ pwd logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:11:29 | users/4-update-default-user-password | ++ test_name=users logger.go:42: 16:11:29 | users/4-update-default-user-password | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:29 | users/4-update-default-user-password | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export PG_VER=16 logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ PG_VER=16 logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export BUCKET=pg-operator-testing logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ BUCKET=pg-operator-testing logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ export PGOV1_VER=14 logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ PGOV1_VER=14 logger.go:42: 16:11:29 | users/4-update-default-user-password | ++++ which gdate logger.go:42: 16:11:29 | users/4-update-default-user-password | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:29 | users/4-update-default-user-password | ++++ which date logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ date=/usr/bin/date logger.go:42: 16:11:29 | users/4-update-default-user-password | ++++ which gsed logger.go:42: 16:11:29 | users/4-update-default-user-password | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:29 | users/4-update-default-user-password | ++++ which sed logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ sed=/usr/bin/sed logger.go:42: 16:11:29 | users/4-update-default-user-password | +++ command -v oc logger.go:42: 16:11:29 | users/4-update-default-user-password | ++ oc get projects logger.go:42: 16:11:29 | users/4-update-default-user-password | + kubectl -n kuttl-test-optimum-viper patch secret users-pguser-postgres --type merge --patch '{"stringData": {"password": "default-db-password", "verifier":""}}' logger.go:42: 16:11:29 | users/4-update-default-user-password | secret/users-pguser-postgres patched logger.go:42: 16:11:29 | users/4-update-default-user-password | + sleep 5 logger.go:42: 16:11:34 | users/4-update-default-user-password | test step completed 4-update-default-user-password logger.go:42: 16:11:34 | users/5-write-data | starting test step 5-write-data logger.go:42: 16:11:34 | 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: 16:11:34 | users/5-write-data | + source ../../functions logger.go:42: 16:11:34 | users/5-write-data | +++ realpath ../../.. logger.go:42: 16:11:34 | users/5-write-data | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:34 | users/5-write-data | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:11:34 | users/5-write-data | ++++ pwd logger.go:42: 16:11:34 | users/5-write-data | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:11:34 | users/5-write-data | ++ test_name=users logger.go:42: 16:11:34 | users/5-write-data | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:11:34 | users/5-write-data | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:34 | users/5-write-data | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:34 | users/5-write-data | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:34 | users/5-write-data | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:34 | users/5-write-data | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:34 | users/5-write-data | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:34 | users/5-write-data | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:34 | users/5-write-data | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:34 | users/5-write-data | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:34 | users/5-write-data | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:34 | users/5-write-data | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:11:34 | users/5-write-data | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:11:34 | users/5-write-data | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:11:34 | users/5-write-data | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:34 | users/5-write-data | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:34 | users/5-write-data | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:34 | users/5-write-data | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:34 | users/5-write-data | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:34 | users/5-write-data | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:34 | users/5-write-data | +++ export PG_VER=16 logger.go:42: 16:11:34 | users/5-write-data | +++ PG_VER=16 logger.go:42: 16:11:34 | users/5-write-data | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:34 | users/5-write-data | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:34 | users/5-write-data | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:34 | users/5-write-data | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:34 | users/5-write-data | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:34 | users/5-write-data | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:34 | users/5-write-data | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:34 | users/5-write-data | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:34 | users/5-write-data | +++ export BUCKET=pg-operator-testing logger.go:42: 16:11:34 | users/5-write-data | +++ BUCKET=pg-operator-testing logger.go:42: 16:11:34 | users/5-write-data | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:34 | users/5-write-data | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:34 | users/5-write-data | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:34 | users/5-write-data | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:34 | users/5-write-data | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:34 | users/5-write-data | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:34 | users/5-write-data | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:11:34 | users/5-write-data | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:11:34 | users/5-write-data | +++ export PGOV1_VER=14 logger.go:42: 16:11:34 | users/5-write-data | +++ PGOV1_VER=14 logger.go:42: 16:11:34 | users/5-write-data | ++++ which gdate logger.go:42: 16:11:34 | users/5-write-data | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:34 | users/5-write-data | ++++ which date logger.go:42: 16:11:34 | users/5-write-data | +++ date=/usr/bin/date logger.go:42: 16:11:34 | users/5-write-data | ++++ which gsed logger.go:42: 16:11:34 | users/5-write-data | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:34 | users/5-write-data | ++++ which sed logger.go:42: 16:11:34 | users/5-write-data | +++ sed=/usr/bin/sed logger.go:42: 16:11:34 | users/5-write-data | +++ command -v oc logger.go:42: 16:11:34 | users/5-write-data | ++ oc get projects logger.go:42: 16:11:34 | users/5-write-data | ++ get_psql_user_host users-pguser-postgres logger.go:42: 16:11:34 | users/5-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 16:11:34 | users/5-write-data | ++ kubectl -n kuttl-test-optimum-viper get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 16:11:35 | users/5-write-data | + run_psql_local '\c myapp \\\ INSERT INTO myApp (id) VALUES (100501)' postgres:default-db-password@users-primary.kuttl-test-optimum-viper.svc logger.go:42: 16:11:35 | users/5-write-data | + local 'command=\c myapp \\\ INSERT INTO myApp (id) VALUES (100501)' logger.go:42: 16:11:35 | users/5-write-data | + local uri=postgres:default-db-password@users-primary.kuttl-test-optimum-viper.svc logger.go:42: 16:11:35 | users/5-write-data | + local driver=postgres logger.go:42: 16:11:35 | users/5-write-data | ++ get_client_pod logger.go:42: 16:11:35 | users/5-write-data | ++ kubectl -n kuttl-test-optimum-viper get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 16:11:35 | users/5-write-data | + kubectl -n kuttl-test-optimum-viper exec pg-client-b7cfff86c-tpn8f -- 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-optimum-viper.svc'\''' logger.go:42: 16:11:38 | users/5-write-data | test step completed 5-write-data logger.go:42: 16:11:38 | users/6-read-from-primary | starting test step 6-read-from-primary logger.go:42: 16:11:38 | 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: 16:11:38 | users/6-read-from-primary | + source ../../functions logger.go:42: 16:11:38 | users/6-read-from-primary | +++ realpath ../../.. logger.go:42: 16:11:38 | users/6-read-from-primary | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:38 | users/6-read-from-primary | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:11:38 | users/6-read-from-primary | ++++ pwd logger.go:42: 16:11:38 | users/6-read-from-primary | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:11:38 | users/6-read-from-primary | ++ test_name=users logger.go:42: 16:11:38 | users/6-read-from-primary | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:38 | users/6-read-from-primary | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:38 | users/6-read-from-primary | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:38 | users/6-read-from-primary | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:38 | users/6-read-from-primary | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:38 | users/6-read-from-primary | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:38 | users/6-read-from-primary | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:11:38 | users/6-read-from-primary | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:38 | users/6-read-from-primary | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:38 | users/6-read-from-primary | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:38 | users/6-read-from-primary | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export PG_VER=16 logger.go:42: 16:11:38 | users/6-read-from-primary | +++ PG_VER=16 logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:38 | users/6-read-from-primary | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:38 | users/6-read-from-primary | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:38 | users/6-read-from-primary | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:38 | users/6-read-from-primary | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export BUCKET=pg-operator-testing logger.go:42: 16:11:38 | users/6-read-from-primary | +++ BUCKET=pg-operator-testing logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:38 | users/6-read-from-primary | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:38 | users/6-read-from-primary | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:38 | users/6-read-from-primary | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:11:38 | users/6-read-from-primary | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:11:38 | users/6-read-from-primary | +++ export PGOV1_VER=14 logger.go:42: 16:11:38 | users/6-read-from-primary | +++ PGOV1_VER=14 logger.go:42: 16:11:38 | users/6-read-from-primary | ++++ which gdate logger.go:42: 16:11:38 | users/6-read-from-primary | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:38 | users/6-read-from-primary | ++++ which date logger.go:42: 16:11:38 | users/6-read-from-primary | +++ date=/usr/bin/date logger.go:42: 16:11:38 | users/6-read-from-primary | ++++ which gsed logger.go:42: 16:11:38 | users/6-read-from-primary | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:38 | users/6-read-from-primary | ++++ which sed logger.go:42: 16:11:38 | users/6-read-from-primary | +++ sed=/usr/bin/sed logger.go:42: 16:11:38 | users/6-read-from-primary | +++ command -v oc logger.go:42: 16:11:38 | users/6-read-from-primary | ++ oc get projects logger.go:42: 16:11:38 | users/6-read-from-primary | +++ get_psql_user_host users-pguser-postgres logger.go:42: 16:11:38 | users/6-read-from-primary | +++ local secret_name=users-pguser-postgres logger.go:42: 16:11:38 | users/6-read-from-primary | +++ kubectl -n kuttl-test-optimum-viper get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 16:11:38 | users/6-read-from-primary | ++ run_psql_local '\c myapp \\\ SELECT * from myApp;' postgres:default-db-password@users-primary.kuttl-test-optimum-viper.svc logger.go:42: 16:11:38 | users/6-read-from-primary | ++ local 'command=\c myapp \\\ SELECT * from myApp;' logger.go:42: 16:11:38 | users/6-read-from-primary | ++ local uri=postgres:default-db-password@users-primary.kuttl-test-optimum-viper.svc logger.go:42: 16:11:38 | users/6-read-from-primary | ++ local driver=postgres logger.go:42: 16:11:38 | users/6-read-from-primary | +++ get_client_pod logger.go:42: 16:11:38 | users/6-read-from-primary | +++ kubectl -n kuttl-test-optimum-viper get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 16:11:38 | users/6-read-from-primary | ++ kubectl -n kuttl-test-optimum-viper exec pg-client-b7cfff86c-tpn8f -- 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-optimum-viper.svc'\''' logger.go:42: 16:11:40 | users/6-read-from-primary | + data=' 100500 logger.go:42: 16:11:40 | users/6-read-from-primary | 100501' logger.go:42: 16:11:40 | users/6-read-from-primary | + kubectl create configmap -n kuttl-test-optimum-viper 06-read-from-primary '--from-literal=data= 100500 logger.go:42: 16:11:40 | users/6-read-from-primary | 100501' logger.go:42: 16:11:40 | users/6-read-from-primary | configmap/06-read-from-primary created logger.go:42: 16:11:40 | users/6-read-from-primary | + kubectl get configmap -n kuttl-test-optimum-viper 06-read-from-primary -o yaml logger.go:42: 16:11:41 | users/6-read-from-primary | apiVersion: v1 logger.go:42: 16:11:41 | users/6-read-from-primary | data: logger.go:42: 16:11:41 | users/6-read-from-primary | data: |2- logger.go:42: 16:11:41 | users/6-read-from-primary | 100500 logger.go:42: 16:11:41 | users/6-read-from-primary | 100501 logger.go:42: 16:11:41 | users/6-read-from-primary | kind: ConfigMap logger.go:42: 16:11:41 | users/6-read-from-primary | metadata: logger.go:42: 16:11:41 | users/6-read-from-primary | creationTimestamp: "2025-04-01T16:11:40Z" logger.go:42: 16:11:41 | users/6-read-from-primary | name: 06-read-from-primary logger.go:42: 16:11:41 | users/6-read-from-primary | namespace: kuttl-test-optimum-viper logger.go:42: 16:11:41 | users/6-read-from-primary | resourceVersion: "46176" logger.go:42: 16:11:41 | users/6-read-from-primary | uid: a10b3795-adb3-43e5-8e7c-9ba62f594449 logger.go:42: 16:11:41 | users/6-read-from-primary | test step completed 6-read-from-primary logger.go:42: 16:11:41 | users/7-add-custom-user | starting test step 7-add-custom-user logger.go:42: 16:11:41 | 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: 16:11:41 | users/7-add-custom-user | + source ../../functions logger.go:42: 16:11:41 | users/7-add-custom-user | +++ realpath ../../.. logger.go:42: 16:11:41 | users/7-add-custom-user | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:41 | users/7-add-custom-user | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:11:41 | users/7-add-custom-user | ++++ pwd logger.go:42: 16:11:41 | users/7-add-custom-user | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:11:41 | users/7-add-custom-user | ++ test_name=users logger.go:42: 16:11:41 | users/7-add-custom-user | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:41 | users/7-add-custom-user | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:41 | users/7-add-custom-user | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:41 | users/7-add-custom-user | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:41 | users/7-add-custom-user | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:41 | users/7-add-custom-user | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:41 | users/7-add-custom-user | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:11:41 | users/7-add-custom-user | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:41 | users/7-add-custom-user | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:41 | users/7-add-custom-user | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:41 | users/7-add-custom-user | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export PG_VER=16 logger.go:42: 16:11:41 | users/7-add-custom-user | +++ PG_VER=16 logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:41 | users/7-add-custom-user | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:41 | users/7-add-custom-user | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:41 | users/7-add-custom-user | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:41 | users/7-add-custom-user | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export BUCKET=pg-operator-testing logger.go:42: 16:11:41 | users/7-add-custom-user | +++ BUCKET=pg-operator-testing logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:41 | users/7-add-custom-user | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:41 | users/7-add-custom-user | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:41 | users/7-add-custom-user | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:11:41 | users/7-add-custom-user | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:11:41 | users/7-add-custom-user | +++ export PGOV1_VER=14 logger.go:42: 16:11:41 | users/7-add-custom-user | +++ PGOV1_VER=14 logger.go:42: 16:11:41 | users/7-add-custom-user | ++++ which gdate logger.go:42: 16:11:41 | users/7-add-custom-user | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:41 | users/7-add-custom-user | ++++ which date logger.go:42: 16:11:41 | users/7-add-custom-user | +++ date=/usr/bin/date logger.go:42: 16:11:41 | users/7-add-custom-user | ++++ which gsed logger.go:42: 16:11:41 | users/7-add-custom-user | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:41 | users/7-add-custom-user | ++++ which sed logger.go:42: 16:11:41 | users/7-add-custom-user | +++ sed=/usr/bin/sed logger.go:42: 16:11:41 | users/7-add-custom-user | +++ command -v oc logger.go:42: 16:11:41 | users/7-add-custom-user | ++ oc get projects logger.go:42: 16:11:41 | users/7-add-custom-user | + kubectl -n kuttl-test-optimum-viper 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: 16:11:42 | users/7-add-custom-user | perconapgcluster.pgv2.percona.com/users patched logger.go:42: 16:11:42 | users/7-add-custom-user | + sleep 10 logger.go:42: 16:11:52 | users/7-add-custom-user | test step completed 7-add-custom-user logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | starting test step 8-write-data-to-custom-db logger.go:42: 16:11:52 | 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: 16:11:52 | users/8-write-data-to-custom-db | + source ../../functions logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ realpath ../../.. logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++++ pwd logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++ test_name=users logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export PG_VER=16 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ PG_VER=16 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ export PGOV1_VER=14 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ PGOV1_VER=14 logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++++ which gdate logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++++ which date logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ date=/usr/bin/date logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++++ which gsed logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++++ which sed logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ sed=/usr/bin/sed logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | +++ command -v oc logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++ oc get projects logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 16:11:52 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-optimum-viper get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 16:11:53 | users/8-write-data-to-custom-db | + password='us7VNH)SVHCCc8vYZQg.Nr7=' logger.go:42: 16:11:53 | users/8-write-data-to-custom-db | + user=rhino logger.go:42: 16:11:53 | users/8-write-data-to-custom-db | + db_name=zoo logger.go:42: 16:11:53 | users/8-write-data-to-custom-db | + schema=rhino logger.go:42: 16:11:53 | users/8-write-data-to-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 16:11:53 | users/8-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 16:11:53 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-optimum-viper get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 16:11:53 | users/8-write-data-to-custom-db | ++ base64 -d logger.go:42: 16:11:54 | users/8-write-data-to-custom-db | + hostname=users-pgbouncer.kuttl-test-optimum-viper.svc logger.go:42: 16:11:54 | users/8-write-data-to-custom-db | + run_psql 'CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);' '-h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' 'us7VNH)SVHCCc8vYZQg.Nr7=' logger.go:42: 16:11:54 | users/8-write-data-to-custom-db | + local 'command=CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);' logger.go:42: 16:11:54 | users/8-write-data-to-custom-db | + local 'uri=-h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' logger.go:42: 16:11:54 | users/8-write-data-to-custom-db | + local 'password=us7VNH)SVHCCc8vYZQg.Nr7=' logger.go:42: 16:11:54 | users/8-write-data-to-custom-db | ++ get_client_pod logger.go:42: 16:11:54 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-optimum-viper get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 16:11:54 | users/8-write-data-to-custom-db | + kubectl -n kuttl-test-optimum-viper exec pg-client-b7cfff86c-tpn8f -- bash -c 'printf '\''CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);\n'\'' | PGPASSWORD='\''us7VNH)SVHCCc8vYZQg.Nr7='\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' logger.go:42: 16:11:56 | users/8-write-data-to-custom-db | + run_psql 'INSERT INTO rhino.customApp (id) VALUES (100500)' '-h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' 'us7VNH)SVHCCc8vYZQg.Nr7=' logger.go:42: 16:11:56 | users/8-write-data-to-custom-db | + local 'command=INSERT INTO rhino.customApp (id) VALUES (100500)' logger.go:42: 16:11:56 | users/8-write-data-to-custom-db | + local 'uri=-h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' logger.go:42: 16:11:56 | users/8-write-data-to-custom-db | + local 'password=us7VNH)SVHCCc8vYZQg.Nr7=' logger.go:42: 16:11:56 | users/8-write-data-to-custom-db | ++ get_client_pod logger.go:42: 16:11:56 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-optimum-viper get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 16:11:56 | users/8-write-data-to-custom-db | + kubectl -n kuttl-test-optimum-viper exec pg-client-b7cfff86c-tpn8f -- bash -c 'printf '\''INSERT INTO rhino.customApp (id) VALUES (100500)\n'\'' | PGPASSWORD='\''us7VNH)SVHCCc8vYZQg.Nr7='\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' logger.go:42: 16:11:57 | users/8-write-data-to-custom-db | test step completed 8-write-data-to-custom-db logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | starting test step 9-read-from-primary-custom-db logger.go:42: 16:11:57 | 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: 16:11:57 | users/9-read-from-primary-custom-db | + source ../../functions logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ realpath ../../.. logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++++ pwd logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++ test_name=users logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export PG_VER=16 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ PG_VER=16 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ export PGOV1_VER=14 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ PGOV1_VER=14 logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++++ which gdate logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++++ which date logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ date=/usr/bin/date logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++++ which gsed logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++++ which sed logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ sed=/usr/bin/sed logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | +++ command -v oc logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++ oc get projects logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 16:11:57 | users/9-read-from-primary-custom-db | ++ kubectl -n kuttl-test-optimum-viper get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | + password='us7VNH)SVHCCc8vYZQg.Nr7=' logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | + user=rhino logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | + db_name=zoo logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | + schema=rhino logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | ++ base64 -d logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | ++ kubectl -n kuttl-test-optimum-viper get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | + hostname=users-pgbouncer.kuttl-test-optimum-viper.svc logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | ++ run_psql 'SELECT * from rhino.customApp;' '-h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' 'us7VNH)SVHCCc8vYZQg.Nr7=' logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | ++ local 'command=SELECT * from rhino.customApp;' logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | ++ local 'uri=-h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | ++ local 'password=us7VNH)SVHCCc8vYZQg.Nr7=' logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | +++ get_client_pod logger.go:42: 16:11:58 | users/9-read-from-primary-custom-db | +++ kubectl -n kuttl-test-optimum-viper get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 16:11:59 | users/9-read-from-primary-custom-db | ++ kubectl -n kuttl-test-optimum-viper exec pg-client-b7cfff86c-tpn8f -- bash -c 'printf '\''SELECT * from rhino.customApp;\n'\'' | PGPASSWORD='\''us7VNH)SVHCCc8vYZQg.Nr7='\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' logger.go:42: 16:12:00 | users/9-read-from-primary-custom-db | + data=' 100500' logger.go:42: 16:12:00 | users/9-read-from-primary-custom-db | + kubectl create configmap -n kuttl-test-optimum-viper 09-read-from-primary-custom-db '--from-literal=data= 100500' logger.go:42: 16:12:01 | users/9-read-from-primary-custom-db | configmap/09-read-from-primary-custom-db created logger.go:42: 16:12:01 | users/9-read-from-primary-custom-db | test step completed 9-read-from-primary-custom-db logger.go:42: 16:12:01 | users/10-update-custom-user-password | starting test step 10-update-custom-user-password logger.go:42: 16:12:01 | 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: 16:12:01 | users/10-update-custom-user-password | + source ../../functions logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ realpath ../../.. logger.go:42: 16:12:01 | users/10-update-custom-user-password | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:12:01 | users/10-update-custom-user-password | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:12:01 | users/10-update-custom-user-password | ++++ pwd logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:12:01 | users/10-update-custom-user-password | ++ test_name=users logger.go:42: 16:12:01 | users/10-update-custom-user-password | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:12:01 | users/10-update-custom-user-password | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export PG_VER=16 logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ PG_VER=16 logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export BUCKET=pg-operator-testing logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ BUCKET=pg-operator-testing logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ export PGOV1_VER=14 logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ PGOV1_VER=14 logger.go:42: 16:12:01 | users/10-update-custom-user-password | ++++ which gdate logger.go:42: 16:12:01 | users/10-update-custom-user-password | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:12:01 | users/10-update-custom-user-password | ++++ which date logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ date=/usr/bin/date logger.go:42: 16:12:01 | users/10-update-custom-user-password | ++++ which gsed logger.go:42: 16:12:01 | users/10-update-custom-user-password | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:12:01 | users/10-update-custom-user-password | ++++ which sed logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ sed=/usr/bin/sed logger.go:42: 16:12:01 | users/10-update-custom-user-password | +++ command -v oc logger.go:42: 16:12:01 | users/10-update-custom-user-password | ++ oc get projects logger.go:42: 16:12:01 | users/10-update-custom-user-password | + kubectl -n kuttl-test-optimum-viper patch secret rhino-credentials --type merge --patch '{"stringData": {"password": "custom-db-password","verifier":""}}' logger.go:42: 16:12:02 | users/10-update-custom-user-password | secret/rhino-credentials patched logger.go:42: 16:12:02 | users/10-update-custom-user-password | + sleep 5 logger.go:42: 16:12:07 | users/10-update-custom-user-password | test step completed 10-update-custom-user-password logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | starting test step 11-write-data-to-custom-db logger.go:42: 16:12:07 | 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: 16:12:07 | users/11-write-data-to-custom-db | + source ../../functions logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ realpath ../../.. logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++++ pwd logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++ test_name=users logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export PG_VER=16 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ PG_VER=16 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ export PGOV1_VER=14 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ PGOV1_VER=14 logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++++ which gdate logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++++ which date logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ date=/usr/bin/date logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++++ which gsed logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++++ which sed logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ sed=/usr/bin/sed logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | +++ command -v oc logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++ oc get projects logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++ kubectl -n kuttl-test-optimum-viper get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | + password=custom-db-password logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | + user=rhino logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | + db_name=zoo logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | + schema=rhino logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++ kubectl -n kuttl-test-optimum-viper get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 16:12:07 | users/11-write-data-to-custom-db | ++ base64 -d logger.go:42: 16:12:08 | users/11-write-data-to-custom-db | + hostname=users-pgbouncer.kuttl-test-optimum-viper.svc logger.go:42: 16:12:08 | users/11-write-data-to-custom-db | + run_psql 'INSERT INTO rhino.customApp (id) VALUES (100501)' '-h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' custom-db-password logger.go:42: 16:12:08 | users/11-write-data-to-custom-db | + local 'command=INSERT INTO rhino.customApp (id) VALUES (100501)' logger.go:42: 16:12:08 | users/11-write-data-to-custom-db | + local 'uri=-h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' logger.go:42: 16:12:08 | users/11-write-data-to-custom-db | + local password=custom-db-password logger.go:42: 16:12:08 | users/11-write-data-to-custom-db | ++ get_client_pod logger.go:42: 16:12:08 | users/11-write-data-to-custom-db | ++ kubectl -n kuttl-test-optimum-viper get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 16:12:08 | users/11-write-data-to-custom-db | + kubectl -n kuttl-test-optimum-viper exec pg-client-b7cfff86c-tpn8f -- 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-optimum-viper.svc -U rhino -d zoo' logger.go:42: 16:12:10 | users/11-write-data-to-custom-db | test step completed 11-write-data-to-custom-db logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | starting test step 12-read-from-primary-custom-db logger.go:42: 16:12:10 | 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: 16:12:10 | users/12-read-from-primary-custom-db | + source ../../functions logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ realpath ../../.. logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++++ pwd logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ test_name=users logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export PG_VER=16 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ PG_VER=16 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ export PGOV1_VER=14 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ PGOV1_VER=14 logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++++ which gdate logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++++ which date logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ date=/usr/bin/date logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++++ which gsed logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++++ which sed logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ sed=/usr/bin/sed logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ command -v oc logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ oc get projects logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ kubectl -n kuttl-test-optimum-viper get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | + password=custom-db-password logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | + user=rhino logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | + db_name=zoo logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | + schema=rhino logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ kubectl -n kuttl-test-optimum-viper get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ base64 -d logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | + hostname=users-pgbouncer.kuttl-test-optimum-viper.svc logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ run_psql 'SELECT * from rhino.customApp;' '-h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' custom-db-password logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ local 'command=SELECT * from rhino.customApp;' logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ local 'uri=-h users-pgbouncer.kuttl-test-optimum-viper.svc -U rhino -d zoo' logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | ++ local password=custom-db-password logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ get_client_pod logger.go:42: 16:12:10 | users/12-read-from-primary-custom-db | +++ kubectl -n kuttl-test-optimum-viper get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 16:12:11 | users/12-read-from-primary-custom-db | ++ kubectl -n kuttl-test-optimum-viper exec pg-client-b7cfff86c-tpn8f -- 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-optimum-viper.svc -U rhino -d zoo' logger.go:42: 16:12:12 | users/12-read-from-primary-custom-db | + data=' 100500 logger.go:42: 16:12:12 | users/12-read-from-primary-custom-db | 100501' logger.go:42: 16:12:12 | users/12-read-from-primary-custom-db | + kubectl create configmap -n kuttl-test-optimum-viper 12-read-from-primary-custom-db '--from-literal=data= 100500 logger.go:42: 16:12:12 | users/12-read-from-primary-custom-db | 100501' logger.go:42: 16:12:13 | users/12-read-from-primary-custom-db | configmap/12-read-from-primary-custom-db created logger.go:42: 16:12:13 | users/12-read-from-primary-custom-db | test step completed 12-read-from-primary-custom-db logger.go:42: 16:12:13 | users/99-remove-cluster-gracefully | starting test step 99-remove-cluster-gracefully logger.go:42: 16:12:18 | 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: 16:12:18 | users/99-remove-cluster-gracefully | + source ../../functions logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ realpath ../../.. logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | ++ CERT_MANAGER_VER=1.17.1 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | ++++ pwd logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/tests/users logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | ++ test_name=users logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/vars.sh logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/deploy logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/e2e-tests/conf logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export GIT_BRANCH=PR-1107 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ GIT_BRANCH=PR-1107 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export VERSION=PR-1107-99d5e3b4d logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ VERSION=PR-1107-99d5e3b4d logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1107-99d5e3b4d logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export PG_VER=16 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ PG_VER=16 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg16-pgbouncer logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg16-postgres logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg16-pgbackrest logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export BUCKET=pg-operator-testing logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ BUCKET=pg-operator-testing logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export PGOV1_TAG=1.4.0 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ PGOV1_TAG=1.4.0 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ export PGOV1_VER=14 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ PGOV1_VER=14 logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | ++++ which gdate logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | ++++ which date logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ date=/usr/bin/date logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | ++++ which gsed logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1107/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | ++++ which sed logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ sed=/usr/bin/sed logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | +++ command -v oc logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | ++ oc get projects logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | + remove_all_finalizers logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | + resource_types=("pg-restore" "pg-backup" "pg") logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | + for resource in '"${resource_types[@]}"' logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | + echo 'removing all finalizers for pg-restore resources' logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | removing all finalizers for pg-restore resources logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-optimum-viper get pg-restore -o json logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | + jq '.items[] | .metadata.name' -r logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 16:12:18 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 16:12:19 | users/99-remove-cluster-gracefully | + for resource in '"${resource_types[@]}"' logger.go:42: 16:12:19 | users/99-remove-cluster-gracefully | + echo 'removing all finalizers for pg-backup resources' logger.go:42: 16:12:19 | users/99-remove-cluster-gracefully | removing all finalizers for pg-backup resources logger.go:42: 16:12:19 | users/99-remove-cluster-gracefully | + jq '.items[] | .metadata.name' -r logger.go:42: 16:12:19 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 16:12:19 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-optimum-viper get pg-backup -o json logger.go:42: 16:12:19 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 16:12:19 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-optimum-viper delete pg-backup users-backup-m5vl-qnvks --wait=0 logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | perconapgbackup.pgv2.percona.com "users-backup-m5vl-qnvks" deleted logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | ++ kubectl -n kuttl-test-optimum-viper get pg-backup users-backup-m5vl-qnvks -o yaml logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | ++ yq '.metadata.finalizers | length' logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | Error from server (NotFound): perconapgbackups.pgv2.percona.com "users-backup-m5vl-qnvks" not found logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | + [[ 0 == \0 ]] logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | + continue logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | + for resource in '"${resource_types[@]}"' logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | + echo 'removing all finalizers for pg resources' logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | removing all finalizers for pg resources logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-optimum-viper get pg -o json logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | + jq '.items[] | .metadata.name' -r logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 16:12:20 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 16:12:21 | users/99-remove-cluster-gracefully | + destroy_operator logger.go:42: 16:12:21 | users/99-remove-cluster-gracefully | + kubectl -n pg-operator delete deployment percona-postgresql-operator --force --grace-period=0 logger.go:42: 16:12:21 | 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: 16:12:21 | users/99-remove-cluster-gracefully | deployment.apps "percona-postgresql-operator" force deleted logger.go:42: 16:12:21 | users/99-remove-cluster-gracefully | + [[ -n pg-operator ]] logger.go:42: 16:12:21 | users/99-remove-cluster-gracefully | + kubectl delete namespace pg-operator --force --grace-period=0 logger.go:42: 16:12:21 | 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: 16:12:21 | users/99-remove-cluster-gracefully | namespace "pg-operator" force deleted logger.go:42: 16:12:27 | users/99-remove-cluster-gracefully | test step completed 99-remove-cluster-gracefully logger.go:42: 16:12:28 | users | users events from ns kuttl-test-optimum-viper: logger.go:42: 16:12:28 | users | 2025-04-01 16:10:10 +0000 UTC Normal Deployment.apps pg-client ScalingReplicaSet Scaled up replica set pg-client-b7cfff86c to 1 deployment-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:11 +0000 UTC Normal Pod pg-client-b7cfff86c-tpn8f Binding Scheduled Successfully assigned kuttl-test-optimum-viper/pg-client-b7cfff86c-tpn8f to gke-jen-pg-1107-99d5e3b4-default-pool-bbe8dc34-fgss default-scheduler logger.go:42: 16:12:28 | users | 2025-04-01 16:10:11 +0000 UTC Normal Pod pg-client-b7cfff86c-tpn8f.spec.containers{pg-client} Pulling Pulling image "perconalab/percona-distribution-postgresql:16" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:11 +0000 UTC Normal Pod pg-client-b7cfff86c-tpn8f.spec.containers{pg-client} Pulled Successfully pulled image "perconalab/percona-distribution-postgresql:16" in 143ms (143ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:11 +0000 UTC Normal Pod pg-client-b7cfff86c-tpn8f.spec.containers{pg-client} Created Created container: pg-client kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:11 +0000 UTC Normal ReplicaSet.apps pg-client-b7cfff86c SuccessfulCreate Created pod: pg-client-b7cfff86c-tpn8f replicaset-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:12 +0000 UTC Normal Pod pg-client-b7cfff86c-tpn8f.spec.containers{pg-client} Started Started container pg-client kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:13 +0000 UTC Normal Pod users-patroni-version-check Binding Scheduled Successfully assigned kuttl-test-optimum-viper/users-patroni-version-check to gke-jen-pg-1107-99d5e3b4-default-pool-bbe8dc34-fgss default-scheduler logger.go:42: 16:12:28 | users | 2025-04-01 16:10:14 +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: 16:12:28 | users | 2025-04-01 16:10:14 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Created Created container: patroni-version-check kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:14 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Started Started container patroni-version-check kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:19 +0000 UTC Normal PersistentVolumeClaim users-instance1-49tn-pgdata WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:19 +0000 UTC Normal PersistentVolumeClaim users-instance1-dckl-pgdata WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:19 +0000 UTC Normal StatefulSet.apps users-instance1-dckl SuccessfulCreate create Pod users-instance1-dckl-0 in StatefulSet users-instance1-dckl successful statefulset-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:19 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Killing Stopping container patroni-version-check kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:20 +0000 UTC Normal PersistentVolumeClaim users-instance1-49tn-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: 16:12:28 | users | 2025-04-01 16:10:20 +0000 UTC Normal PersistentVolumeClaim users-instance1-49tn-pgdata Provisioning External provisioner is provisioning volume for claim "kuttl-test-optimum-viper/users-instance1-49tn-pgdata" pd.csi.storage.gke.io_gke-18ddacc062844b6a8334-0903-4fba-vm_600d4bd5-a3e3-4b54-afa8-cd2b5c99770e logger.go:42: 16:12:28 | users | 2025-04-01 16:10:20 +0000 UTC Normal StatefulSet.apps users-instance1-49tn SuccessfulCreate create Pod users-instance1-49tn-0 in StatefulSet users-instance1-49tn successful statefulset-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:20 +0000 UTC Normal PersistentVolumeClaim users-instance1-52s7-pgdata WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:20 +0000 UTC Normal PersistentVolumeClaim users-instance1-52s7-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: 16:12:28 | users | 2025-04-01 16:10:20 +0000 UTC Normal PersistentVolumeClaim users-instance1-52s7-pgdata Provisioning External provisioner is provisioning volume for claim "kuttl-test-optimum-viper/users-instance1-52s7-pgdata" pd.csi.storage.gke.io_gke-18ddacc062844b6a8334-0903-4fba-vm_600d4bd5-a3e3-4b54-afa8-cd2b5c99770e logger.go:42: 16:12:28 | users | 2025-04-01 16:10:20 +0000 UTC Normal StatefulSet.apps users-instance1-52s7 SuccessfulCreate create Pod users-instance1-52s7-0 in StatefulSet users-instance1-52s7 successful statefulset-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:20 +0000 UTC Normal PersistentVolumeClaim users-instance1-dckl-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: 16:12:28 | users | 2025-04-01 16:10:20 +0000 UTC Normal PersistentVolumeClaim users-instance1-dckl-pgdata Provisioning External provisioner is provisioning volume for claim "kuttl-test-optimum-viper/users-instance1-dckl-pgdata" pd.csi.storage.gke.io_gke-18ddacc062844b6a8334-0903-4fba-vm_600d4bd5-a3e3-4b54-afa8-cd2b5c99770e logger.go:42: 16:12:28 | users | 2025-04-01 16:10:20 +0000 UTC Normal PostgresCluster.postgres-operator.crunchydata.com users RepoHostCreated created pgBackRest repository host StatefulSet/users-repo-host postgrescluster-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:21 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-cr482 Binding Scheduled Successfully assigned kuttl-test-optimum-viper/users-pgbouncer-dc4d59d85-cr482 to gke-jen-pg-1107-99d5e3b4-default-pool-bbe8dc34-dczt default-scheduler logger.go:42: 16:12:28 | users | 2025-04-01 16:10:21 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-d97p4 Binding Scheduled Successfully assigned kuttl-test-optimum-viper/users-pgbouncer-dc4d59d85-d97p4 to gke-jen-pg-1107-99d5e3b4-default-pool-bbe8dc34-fgss default-scheduler logger.go:42: 16:12:28 | users | 2025-04-01 16:10:21 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-nftxm Binding Scheduled Successfully assigned kuttl-test-optimum-viper/users-pgbouncer-dc4d59d85-nftxm to gke-jen-pg-1107-99d5e3b4-default-pool-bbe8dc34-nhxs default-scheduler logger.go:42: 16:12:28 | users | 2025-04-01 16:10:21 +0000 UTC Normal ReplicaSet.apps users-pgbouncer-dc4d59d85 SuccessfulCreate Created pod: users-pgbouncer-dc4d59d85-d97p4 replicaset-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:21 +0000 UTC Normal ReplicaSet.apps users-pgbouncer-dc4d59d85 SuccessfulCreate Created pod: users-pgbouncer-dc4d59d85-nftxm replicaset-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:21 +0000 UTC Normal ReplicaSet.apps users-pgbouncer-dc4d59d85 SuccessfulCreate Created pod: users-pgbouncer-dc4d59d85-cr482 replicaset-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:21 +0000 UTC Normal Deployment.apps users-pgbouncer ScalingReplicaSet Scaled up replica set users-pgbouncer-dc4d59d85 to 3 deployment-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:21 +0000 UTC Normal PodDisruptionBudget.policy users-pgbouncer NoPods No matching pods found controllermanager logger.go:42: 16:12:28 | users | 2025-04-01 16:10:21 +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-optimum-viper/users-pgbackrest: serviceaccount "users-pgbackrest" not found statefulset-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:21 +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: 16:12:28 | users | 2025-04-01 16:10:21 +0000 UTC Normal PersistentVolumeClaim users-repo1 WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:21 +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: 16:12:28 | users | 2025-04-01 16:10:21 +0000 UTC Normal PersistentVolumeClaim users-repo1 Provisioning External provisioner is provisioning volume for claim "kuttl-test-optimum-viper/users-repo1" pd.csi.storage.gke.io_gke-18ddacc062844b6a8334-0903-4fba-vm_600d4bd5-a3e3-4b54-afa8-cd2b5c99770e logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-cr482.spec.containers{pgbouncer} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-cr482.spec.containers{pgbouncer} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" in 113ms (113ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-cr482.spec.containers{pgbouncer} Created Created container: pgbouncer kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-cr482.spec.containers{pgbouncer} Started Started container pgbouncer kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-cr482.spec.containers{pgbouncer-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-cr482.spec.containers{pgbouncer-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" in 108ms (108ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-cr482.spec.containers{pgbouncer-config} Created Created container: pgbouncer-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-cr482.spec.containers{pgbouncer-config} Started Started container pgbouncer-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-d97p4.spec.containers{pgbouncer} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-d97p4.spec.containers{pgbouncer} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" in 107ms (107ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-d97p4.spec.containers{pgbouncer} Created Created container: pgbouncer kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-d97p4.spec.containers{pgbouncer} Started Started container pgbouncer kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-d97p4.spec.containers{pgbouncer-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-d97p4.spec.containers{pgbouncer-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" in 105ms (105ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-d97p4.spec.containers{pgbouncer-config} Created Created container: pgbouncer-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-d97p4.spec.containers{pgbouncer-config} Started Started container pgbouncer-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-nftxm.spec.containers{pgbouncer} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-nftxm.spec.containers{pgbouncer} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" in 112ms (112ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-nftxm.spec.containers{pgbouncer} Created Created container: pgbouncer kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-nftxm.spec.containers{pgbouncer} Started Started container pgbouncer kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-nftxm.spec.containers{pgbouncer-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-nftxm.spec.containers{pgbouncer-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbouncer" in 96ms (96ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-nftxm.spec.containers{pgbouncer-config} Created Created container: pgbouncer-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:22 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-nftxm.spec.containers{pgbouncer-config} Started Started container pgbouncer-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:23 +0000 UTC Normal PersistentVolumeClaim users-instance1-dckl-pgdata ProvisioningSucceeded Successfully provisioned volume pvc-a0613c77-2222-4bb7-98d2-92206c834b5e pd.csi.storage.gke.io_gke-18ddacc062844b6a8334-0903-4fba-vm_600d4bd5-a3e3-4b54-afa8-cd2b5c99770e logger.go:42: 16:12:28 | users | 2025-04-01 16:10:24 +0000 UTC Normal PersistentVolumeClaim users-instance1-49tn-pgdata ProvisioningSucceeded Successfully provisioned volume pvc-75151649-e6d6-473f-a663-3f909a9d5eda pd.csi.storage.gke.io_gke-18ddacc062844b6a8334-0903-4fba-vm_600d4bd5-a3e3-4b54-afa8-cd2b5c99770e logger.go:42: 16:12:28 | users | 2025-04-01 16:10:24 +0000 UTC Normal Pod users-instance1-52s7-0 Binding Scheduled Successfully assigned kuttl-test-optimum-viper/users-instance1-52s7-0 to gke-jen-pg-1107-99d5e3b4-default-pool-bbe8dc34-dczt default-scheduler logger.go:42: 16:12:28 | users | 2025-04-01 16:10:24 +0000 UTC Normal PersistentVolumeClaim users-instance1-52s7-pgdata ProvisioningSucceeded Successfully provisioned volume pvc-d73c2ad1-a7a4-492f-bd60-083cf3cf99a8 pd.csi.storage.gke.io_gke-18ddacc062844b6a8334-0903-4fba-vm_600d4bd5-a3e3-4b54-afa8-cd2b5c99770e logger.go:42: 16:12:28 | users | 2025-04-01 16:10:24 +0000 UTC Normal PersistentVolumeClaim users-repo1 ProvisioningSucceeded Successfully provisioned volume pvc-94e28f7b-0812-4213-bcf7-733be96e8890 pd.csi.storage.gke.io_gke-18ddacc062844b6a8334-0903-4fba-vm_600d4bd5-a3e3-4b54-afa8-cd2b5c99770e logger.go:42: 16:12:28 | users | 2025-04-01 16:10:25 +0000 UTC Normal Pod users-instance1-49tn-0 Binding Scheduled Successfully assigned kuttl-test-optimum-viper/users-instance1-49tn-0 to gke-jen-pg-1107-99d5e3b4-default-pool-bbe8dc34-nhxs default-scheduler logger.go:42: 16:12:28 | users | 2025-04-01 16:10:25 +0000 UTC Normal Pod users-instance1-dckl-0 Binding Scheduled Successfully assigned kuttl-test-optimum-viper/users-instance1-dckl-0 to gke-jen-pg-1107-99d5e3b4-default-pool-bbe8dc34-fgss default-scheduler logger.go:42: 16:12:28 | users | 2025-04-01 16:10:25 +0000 UTC Normal Pod users-repo-host-0 Binding Scheduled Successfully assigned kuttl-test-optimum-viper/users-repo-host-0 to gke-jen-pg-1107-99d5e3b4-default-pool-bbe8dc34-fgss default-scheduler logger.go:42: 16:12:28 | users | 2025-04-01 16:10:26 +0000 UTC Warning Pod users-instance1-52s7-0 FailedMount MountVolume.SetUp failed for volume "cert-volume" : failed to sync secret cache: timed out waiting for the condition kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:26 +0000 UTC Warning Pod users-instance1-52s7-0 FailedMount MountVolume.SetUp failed for volume "patroni-config" : failed to sync configmap cache: timed out waiting for the condition kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:26 +0000 UTC Warning Pod users-instance1-52s7-0 FailedMount MountVolume.SetUp failed for volume "pgbackrest-config" : failed to sync configmap cache: timed out waiting for the condition kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:32 +0000 UTC Normal Pod users-instance1-49tn-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-75151649-e6d6-473f-a663-3f909a9d5eda" attachdetach-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:32 +0000 UTC Normal Pod users-instance1-dckl-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-a0613c77-2222-4bb7-98d2-92206c834b5e" attachdetach-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:33 +0000 UTC Normal Pod users-instance1-52s7-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-d73c2ad1-a7a4-492f-bd60-083cf3cf99a8" attachdetach-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:33 +0000 UTC Normal Pod users-instance1-dckl-0.spec.initContainers{postgres-startup} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:34 +0000 UTC Normal Pod users-instance1-49tn-0.spec.initContainers{postgres-startup} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:34 +0000 UTC Normal Pod users-instance1-52s7-0.spec.initContainers{postgres-startup} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:34 +0000 UTC Normal Pod users-instance1-52s7-0.spec.initContainers{postgres-startup} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 119ms (119ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:34 +0000 UTC Normal Pod users-instance1-52s7-0.spec.initContainers{postgres-startup} Created Created container: postgres-startup kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:34 +0000 UTC Normal Pod users-instance1-52s7-0.spec.initContainers{postgres-startup} Started Started container postgres-startup kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:34 +0000 UTC Normal Pod users-instance1-52s7-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:34 +0000 UTC Normal Pod users-instance1-52s7-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 124ms (124ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:34 +0000 UTC Normal Pod users-instance1-52s7-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:34 +0000 UTC Normal Pod users-instance1-dckl-0.spec.initContainers{postgres-startup} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 157ms (157ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:34 +0000 UTC Normal Pod users-instance1-dckl-0.spec.initContainers{postgres-startup} Created Created container: postgres-startup kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:34 +0000 UTC Normal Pod users-instance1-dckl-0.spec.initContainers{postgres-startup} Started Started container postgres-startup kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:34 +0000 UTC Normal Pod users-instance1-dckl-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-49tn-0.spec.initContainers{postgres-startup} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 143ms (143ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-49tn-0.spec.initContainers{postgres-startup} Created Created container: postgres-startup kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-49tn-0.spec.initContainers{postgres-startup} Started Started container postgres-startup kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-49tn-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-49tn-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 133ms (133ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-49tn-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-49tn-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-52s7-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{database} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{database} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 134ms (134ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{database} Created Created container: database kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-dckl-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 119ms (119ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-dckl-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-dckl-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{database} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:35 +0000 UTC Normal Pod users-repo-host-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-94e28f7b-0812-4213-bcf7-733be96e8890" attachdetach-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{database} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{database} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 144ms (144ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{database} Started Started container database kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{replication-cert-copy} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{replication-cert-copy} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 167ms (167ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{replication-cert-copy} Created Created container: replication-cert-copy kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{replication-cert-copy} Started Started container replication-cert-copy kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 175ms (175ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{database} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 139ms (139ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{database} Created Created container: database kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{database} Started Started container database kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{replication-cert-copy} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{replication-cert-copy} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 148ms (148ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{replication-cert-copy} Created Created container: replication-cert-copy kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:36 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{replication-cert-copy} Started Started container replication-cert-copy kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{database} Created Created container: database kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{database} Started Started container database kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{replication-cert-copy} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-postgres" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{replication-cert-copy} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-postgres" in 139ms (139ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{replication-cert-copy} Created Created container: replication-cert-copy kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{replication-cert-copy} Started Started container replication-cert-copy kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 120ms (120ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-52s7-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 169ms (169ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 132ms (133ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 131ms (131ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +0000 UTC Normal Pod users-instance1-dckl-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:37 +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: 16:12:28 | users | 2025-04-01 16:10:38 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:38 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:38 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 150ms (150ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:38 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:38 +0000 UTC Normal Pod users-instance1-49tn-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:38 +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 150ms (150ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:38 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Created Created container: pgbackrest-log-dir kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:38 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Started Started container pgbackrest-log-dir kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:38 +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: 16:12:28 | users | 2025-04-01 16:10:38 +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 123ms (123ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:38 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:38 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:39 +0000 UTC Warning Pod users-instance1-49tn-0.spec.containers{database} Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 503 kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:39 +0000 UTC Warning Pod users-instance1-dckl-0.spec.containers{database} Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 503 kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:39 +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: 16:12:28 | users | 2025-04-01 16:10:39 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 118ms (118ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:39 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:39 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:39 +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: 16:12:28 | users | 2025-04-01 16:10:39 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 159ms (159ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:39 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:39 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:45 +0000 UTC Normal Pod users-backup-m5vl-nblfb Binding Scheduled Successfully assigned kuttl-test-optimum-viper/users-backup-m5vl-nblfb to gke-jen-pg-1107-99d5e3b4-default-pool-bbe8dc34-nhxs default-scheduler logger.go:42: 16:12:28 | users | 2025-04-01 16:10:45 +0000 UTC Normal Job.batch users-backup-m5vl SuccessfulCreate Created pod: users-backup-m5vl-nblfb job-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:45 +0000 UTC Normal PostgresCluster.postgres-operator.crunchydata.com users StanzasCreated pgBackRest stanza creation completed successfully postgrescluster-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:10:46 +0000 UTC Normal Pod users-backup-m5vl-nblfb.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:46 +0000 UTC Normal Pod users-backup-m5vl-nblfb.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg16-pgbackrest" in 115ms (115ms including waiting) kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:46 +0000 UTC Normal Pod users-backup-m5vl-nblfb.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:46 +0000 UTC Normal Pod users-backup-m5vl-nblfb.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:10:49 +0000 UTC Warning PostgresCluster.postgres-operator.crunchydata.com users UnableToCreateStanzas command terminated with exit code 50: repo1-path = /pgbackrest/repo1 2025-04-01 16:10:49.884 P00 ERROR: [050]: unable to acquire lock on file '/tmp/pgbackrest/db-backup-1.lock': Resource temporarily unavailable HINT: is another pgBackRest process running? 2025-04-01 16:10:49.892 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: 16:12:28 | users | 2025-04-01 16:11:17 +0000 UTC Normal Job.batch users-backup-m5vl Completed Job completed job-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:12:14 +0000 UTC Normal StatefulSet.apps users-instance1-49tn SuccessfulDelete delete Pod users-instance1-49tn-0 in StatefulSet users-instance1-49tn successful statefulset-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:12:14 +0000 UTC Normal StatefulSet.apps users-instance1-dckl SuccessfulDelete delete Pod users-instance1-dckl-0 in StatefulSet users-instance1-dckl successful statefulset-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:12:16 +0000 UTC Normal StatefulSet.apps users-instance1-52s7 SuccessfulDelete delete Pod users-instance1-52s7-0 in StatefulSet users-instance1-52s7 successful statefulset-controller logger.go:42: 16:12:28 | users | 2025-04-01 16:12:18 +0000 UTC Normal PodDisruptionBudget.policy users-set-instance1 NoPods No matching pods found controllermanager logger.go:42: 16:12:28 | users | 2025-04-01 16:12:19 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Killing Stopping container pgbackrest kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:12:19 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Killing Stopping container pgbackrest-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:12:20 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-cr482.spec.containers{pgbouncer} Killing Stopping container pgbouncer kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:12:20 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-cr482.spec.containers{pgbouncer-config} Killing Stopping container pgbouncer-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:12:20 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-d97p4.spec.containers{pgbouncer} Killing Stopping container pgbouncer kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:12:20 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-d97p4.spec.containers{pgbouncer-config} Killing Stopping container pgbouncer-config kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:12:20 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-nftxm.spec.containers{pgbouncer} Killing Stopping container pgbouncer kubelet logger.go:42: 16:12:28 | users | 2025-04-01 16:12:20 +0000 UTC Normal Pod users-pgbouncer-dc4d59d85-nftxm.spec.containers{pgbouncer-config} Killing Stopping container pgbouncer-config kubelet logger.go:42: 16:12:28 | users | Deleting namespace: kuttl-test-optimum-viper === NAME kuttl harness.go:407: run tests finished harness.go:515: cleaning up harness.go:572: removing temp folder: "" --- PASS: kuttl (187.33s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/users (186.89s) PASS