=== RUN kuttl harness.go:464: starting setup harness.go:255: running tests using configured kubeconfig. harness.go:278: Successful connection to cluster at: https://104.197.110.176 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 22 tests === RUN kuttl/harness === RUN kuttl/harness/users === PAUSE kuttl/harness/users === CONT kuttl/harness/users logger.go:42: 20:47:50 | users | Creating namespace: kuttl-test-pleased-redfish logger.go:42: 20:47:50 | users/0-deploy-operator | starting test step 0-deploy-operator logger.go:42: 20:47:50 | 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: 20:47:50 | users/0-deploy-operator | + source ../../functions logger.go:42: 20:47:50 | users/0-deploy-operator | +++ realpath ../../.. logger.go:42: 20:47:50 | users/0-deploy-operator | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:47:50 | users/0-deploy-operator | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:47:50 | users/0-deploy-operator | ++++ pwd logger.go:42: 20:47:50 | users/0-deploy-operator | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:47:50 | users/0-deploy-operator | ++ test_name=users logger.go:42: 20:47:50 | users/0-deploy-operator | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:47:50 | users/0-deploy-operator | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:47:50 | users/0-deploy-operator | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:47:50 | users/0-deploy-operator | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:47:50 | users/0-deploy-operator | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:47:50 | users/0-deploy-operator | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:47:50 | users/0-deploy-operator | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export PG_VER=17 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ PG_VER=17 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:47:50 | users/0-deploy-operator | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:47:50 | users/0-deploy-operator | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:47:50 | users/0-deploy-operator | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:47:50 | users/0-deploy-operator | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export BUCKET=pg-operator-testing logger.go:42: 20:47:50 | users/0-deploy-operator | +++ BUCKET=pg-operator-testing logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:47:50 | users/0-deploy-operator | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:47:50 | users/0-deploy-operator | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ export PGOV1_VER=14 logger.go:42: 20:47:50 | users/0-deploy-operator | +++ PGOV1_VER=14 logger.go:42: 20:47:50 | users/0-deploy-operator | ++++ which gdate logger.go:42: 20:47:50 | users/0-deploy-operator | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:47:50 | users/0-deploy-operator | ++++ which date logger.go:42: 20:47:50 | users/0-deploy-operator | +++ date=/usr/bin/date logger.go:42: 20:47:50 | users/0-deploy-operator | ++++ which gsed logger.go:42: 20:47:50 | users/0-deploy-operator | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:47:50 | users/0-deploy-operator | ++++ which sed logger.go:42: 20:47:50 | users/0-deploy-operator | +++ sed=/usr/bin/sed logger.go:42: 20:47:50 | users/0-deploy-operator | +++ command -v oc logger.go:42: 20:47:50 | users/0-deploy-operator | ++ oc get projects logger.go:42: 20:47:50 | users/0-deploy-operator | + init_temp_dir logger.go:42: 20:47:50 | users/0-deploy-operator | + rm -rf /tmp/kuttl/pg/users logger.go:42: 20:47:50 | users/0-deploy-operator | + mkdir -p /tmp/kuttl/pg/users logger.go:42: 20:47:50 | users/0-deploy-operator | + deploy_operator logger.go:42: 20:47:50 | users/0-deploy-operator | + local cw_prefix= logger.go:42: 20:47:50 | users/0-deploy-operator | + destroy_operator logger.go:42: 20:47:50 | users/0-deploy-operator | + kubectl -n pg-operator delete deployment percona-postgresql-operator --force --grace-period=0 logger.go:42: 20:47:50 | 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: 20:47:50 | users/0-deploy-operator | Error from server (NotFound): deployments.apps "percona-postgresql-operator" not found logger.go:42: 20:47:50 | users/0-deploy-operator | + true logger.go:42: 20:47:50 | users/0-deploy-operator | + [[ -n pg-operator ]] logger.go:42: 20:47:50 | users/0-deploy-operator | + kubectl delete namespace pg-operator --force --grace-period=0 logger.go:42: 20:47:50 | 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: 20:47:51 | users/0-deploy-operator | Error from server (NotFound): namespaces "pg-operator" not found logger.go:42: 20:47:51 | users/0-deploy-operator | + true logger.go:42: 20:47:51 | users/0-deploy-operator | + [[ -n pg-operator ]] logger.go:42: 20:47:51 | users/0-deploy-operator | + create_namespace pg-operator logger.go:42: 20:47:51 | users/0-deploy-operator | + local namespace=pg-operator logger.go:42: 20:47:51 | users/0-deploy-operator | + [[ -n '' ]] logger.go:42: 20:47:51 | users/0-deploy-operator | + kubectl delete namespace pg-operator --ignore-not-found logger.go:42: 20:47:51 | users/0-deploy-operator | + kubectl wait --for=delete namespace pg-operator logger.go:42: 20:47:51 | users/0-deploy-operator | + kubectl create namespace pg-operator logger.go:42: 20:47:52 | users/0-deploy-operator | namespace/pg-operator created logger.go:42: 20:47:52 | users/0-deploy-operator | + cw_prefix=cw- logger.go:42: 20:47:52 | users/0-deploy-operator | + kubectl -n pg-operator apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy/crd.yaml logger.go:42: 20:47:53 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/crunchybridgeclusters.postgres-operator.crunchydata.com serverside-applied logger.go:42: 20:47:53 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgbackups.pgv2.percona.com serverside-applied logger.go:42: 20:47:56 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgclusters.pgv2.percona.com serverside-applied logger.go:42: 20:47:56 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgrestores.pgv2.percona.com serverside-applied logger.go:42: 20:47:56 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconapgupgrades.pgv2.percona.com serverside-applied logger.go:42: 20:47:57 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/pgadmins.postgres-operator.crunchydata.com serverside-applied logger.go:42: 20:47:57 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/pgupgrades.postgres-operator.crunchydata.com serverside-applied logger.go:42: 20:47:59 | users/0-deploy-operator | customresourcedefinition.apiextensions.k8s.io/postgresclusters.postgres-operator.crunchydata.com serverside-applied logger.go:42: 20:47:59 | users/0-deploy-operator | + kubectl -n pg-operator apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy/cw-rbac.yaml logger.go:42: 20:47:59 | users/0-deploy-operator | serviceaccount/percona-postgresql-operator serverside-applied logger.go:42: 20:47:59 | users/0-deploy-operator | clusterrole.rbac.authorization.k8s.io/percona-postgresql-operator serverside-applied logger.go:42: 20:47:59 | users/0-deploy-operator | clusterrolebinding.rbac.authorization.k8s.io/percona-postgresql-operator serverside-applied logger.go:42: 20:47:59 | users/0-deploy-operator | + local disable_telemetry=true logger.go:42: 20:47:59 | users/0-deploy-operator | + '[' users == telemetry-transfer ']' logger.go:42: 20:47:59 | users/0-deploy-operator | + yq eval '(.spec.template.spec.containers[] | select(.name=="operator") | .env[] | select(.name=="DISABLE_TELEMETRY") | .value) = "true"' - logger.go:42: 20:47:59 | users/0-deploy-operator | + kubectl -n pg-operator apply -f - logger.go:42: 20:47:59 | users/0-deploy-operator | + yq eval '.spec.template.spec.containers[0].image = "perconalab/percona-postgresql-operator:PR-1071-9ab563432"' /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy/cw-operator.yaml logger.go:42: 20:48:00 | users/0-deploy-operator | deployment.apps/percona-postgresql-operator created logger.go:42: 20:48:00 | users/0-deploy-operator | + deploy_client logger.go:42: 20:48:00 | users/0-deploy-operator | + kubectl -n kuttl-test-pleased-redfish apply -f /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf/client.yaml logger.go:42: 20:48:01 | users/0-deploy-operator | deployment.apps/pg-client created logger.go:42: 20:48:02 | 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: 20:48:02 | users/0-deploy-operator | ASSERT deployment percona-postgresql-operator matching field criteria 'status.readyReplicas=1' should exist. logger.go:42: 20:48:02 | users/0-deploy-operator | ASSERT FAIL Resource(s) not found. logger.go:42: 20:48:04 | 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: 20:48:04 | users/0-deploy-operator | ASSERT deployment percona-postgresql-operator matching field criteria 'status.readyReplicas=1' should exist. logger.go:42: 20:48:04 | users/0-deploy-operator | INFO Found 1 resource(s). logger.go:42: 20:48:04 | users/0-deploy-operator | NAME NAMESPACE COL0 logger.go:42: 20:48:04 | users/0-deploy-operator | percona-postgresql-operator pg-operator 1 logger.go:42: 20:48:04 | users/0-deploy-operator | ASSERT PASS logger.go:42: 20:48:04 | users/0-deploy-operator | test step completed 0-deploy-operator logger.go:42: 20:48:04 | users/1-create-cluster | starting test step 1-create-cluster logger.go:42: 20:48:04 | 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: 20:48:04 | users/1-create-cluster | + source ../../functions logger.go:42: 20:48:04 | users/1-create-cluster | +++ realpath ../../.. logger.go:42: 20:48:04 | users/1-create-cluster | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:48:04 | users/1-create-cluster | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:48:04 | users/1-create-cluster | ++++ pwd logger.go:42: 20:48:04 | users/1-create-cluster | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:48:04 | users/1-create-cluster | ++ test_name=users logger.go:42: 20:48:04 | users/1-create-cluster | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:48:04 | users/1-create-cluster | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:48:04 | users/1-create-cluster | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:48:04 | users/1-create-cluster | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:48:04 | users/1-create-cluster | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:48:04 | users/1-create-cluster | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:48:04 | users/1-create-cluster | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:48:04 | users/1-create-cluster | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:48:04 | users/1-create-cluster | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:48:04 | users/1-create-cluster | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:48:04 | users/1-create-cluster | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:48:04 | users/1-create-cluster | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:48:04 | users/1-create-cluster | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:48:04 | users/1-create-cluster | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:48:04 | users/1-create-cluster | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:48:04 | users/1-create-cluster | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:48:04 | users/1-create-cluster | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:48:04 | users/1-create-cluster | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:48:04 | users/1-create-cluster | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:48:04 | users/1-create-cluster | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:48:04 | users/1-create-cluster | +++ export PG_VER=17 logger.go:42: 20:48:04 | users/1-create-cluster | +++ PG_VER=17 logger.go:42: 20:48:04 | users/1-create-cluster | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:48:04 | users/1-create-cluster | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:48:04 | users/1-create-cluster | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:48:04 | users/1-create-cluster | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:48:04 | users/1-create-cluster | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:48:04 | users/1-create-cluster | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:48:04 | users/1-create-cluster | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:48:04 | users/1-create-cluster | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:48:04 | users/1-create-cluster | +++ export BUCKET=pg-operator-testing logger.go:42: 20:48:04 | users/1-create-cluster | +++ BUCKET=pg-operator-testing logger.go:42: 20:48:04 | users/1-create-cluster | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:48:04 | users/1-create-cluster | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:48:04 | users/1-create-cluster | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:48:04 | users/1-create-cluster | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:48:04 | users/1-create-cluster | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:48:04 | users/1-create-cluster | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:48:04 | users/1-create-cluster | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:48:04 | users/1-create-cluster | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:48:04 | users/1-create-cluster | +++ export PGOV1_VER=14 logger.go:42: 20:48:04 | users/1-create-cluster | +++ PGOV1_VER=14 logger.go:42: 20:48:04 | users/1-create-cluster | ++++ which gdate logger.go:42: 20:48:04 | users/1-create-cluster | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:48:04 | users/1-create-cluster | ++++ which date logger.go:42: 20:48:04 | users/1-create-cluster | +++ date=/usr/bin/date logger.go:42: 20:48:04 | users/1-create-cluster | ++++ which gsed logger.go:42: 20:48:04 | users/1-create-cluster | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:48:04 | users/1-create-cluster | ++++ which sed logger.go:42: 20:48:04 | users/1-create-cluster | +++ sed=/usr/bin/sed logger.go:42: 20:48:04 | users/1-create-cluster | +++ command -v oc logger.go:42: 20:48:04 | users/1-create-cluster | ++ oc get projects logger.go:42: 20:48:04 | users/1-create-cluster | + get_cr users 18050 logger.go:42: 20:48:04 | users/1-create-cluster | + local cr_name=users logger.go:42: 20:48:04 | users/1-create-cluster | + kubectl -n kuttl-test-pleased-redfish apply -f - logger.go:42: 20:48:04 | users/1-create-cluster | + '[' -z users ']' logger.go:42: 20:48:04 | users/1-create-cluster | + local repo_path=18050 logger.go:42: 20:48:04 | users/1-create-cluster | + yq eval ' logger.go:42: 20:48:04 | users/1-create-cluster | .metadata.name = "users" | logger.go:42: 20:48:04 | users/1-create-cluster | .metadata.labels = {"e2e":"users"} | logger.go:42: 20:48:04 | users/1-create-cluster | .spec.postgresVersion = 17 | logger.go:42: 20:48:04 | users/1-create-cluster | .spec.users += [{"name":"postgres","password":{"type":"AlphaNumeric"}}] | logger.go:42: 20:48:04 | users/1-create-cluster | .spec.users += [{"name":"users","password":{"type":"AlphaNumeric"}}] | logger.go:42: 20:48:04 | users/1-create-cluster | .spec.image = "perconalab/percona-postgresql-operator:main-ppg17-postgres" | logger.go:42: 20:48:04 | users/1-create-cluster | .spec.backups.pgbackrest.image = "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" | logger.go:42: 20:48:04 | users/1-create-cluster | .spec.proxy.pgBouncer.image = "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" | logger.go:42: 20:48:04 | users/1-create-cluster | .spec.pmm.image = "perconalab/pmm-client:dev-latest" | logger.go:42: 20:48:04 | users/1-create-cluster | .spec.pmm.secret = "users-pmm-secret" logger.go:42: 20:48:04 | users/1-create-cluster | ' /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy/cr.yaml logger.go:42: 20:48:04 | users/1-create-cluster | + [[ -n '' ]] logger.go:42: 20:48:04 | users/1-create-cluster | + case $test_name in logger.go:42: 20:48:04 | users/1-create-cluster | + cat /tmp/kuttl/pg/users/cr.yaml logger.go:42: 20:48:05 | users/1-create-cluster | perconapgcluster.pgv2.percona.com/users created logger.go:42: 20:49:05 | users/1-create-cluster | test step completed 1-create-cluster logger.go:42: 20:49:05 | users/2-write-data | starting test step 2-write-data logger.go:42: 20:49:05 | 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: 20:49:05 | users/2-write-data | + source ../../functions logger.go:42: 20:49:05 | users/2-write-data | +++ realpath ../../.. logger.go:42: 20:49:05 | users/2-write-data | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:05 | users/2-write-data | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:49:05 | users/2-write-data | ++++ pwd logger.go:42: 20:49:05 | users/2-write-data | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:49:05 | users/2-write-data | ++ test_name=users logger.go:42: 20:49:05 | users/2-write-data | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:49:05 | users/2-write-data | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:05 | users/2-write-data | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:05 | users/2-write-data | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:05 | users/2-write-data | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:05 | users/2-write-data | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:05 | users/2-write-data | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:05 | users/2-write-data | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:05 | users/2-write-data | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:05 | users/2-write-data | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:05 | users/2-write-data | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:05 | users/2-write-data | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:49:05 | users/2-write-data | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:49:05 | users/2-write-data | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:49:05 | users/2-write-data | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:49:05 | users/2-write-data | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:49:05 | users/2-write-data | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:05 | users/2-write-data | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:05 | users/2-write-data | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:05 | users/2-write-data | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:05 | users/2-write-data | +++ export PG_VER=17 logger.go:42: 20:49:05 | users/2-write-data | +++ PG_VER=17 logger.go:42: 20:49:05 | users/2-write-data | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:05 | users/2-write-data | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:05 | users/2-write-data | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:05 | users/2-write-data | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:05 | users/2-write-data | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:05 | users/2-write-data | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:05 | users/2-write-data | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:05 | users/2-write-data | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:05 | users/2-write-data | +++ export BUCKET=pg-operator-testing logger.go:42: 20:49:05 | users/2-write-data | +++ BUCKET=pg-operator-testing logger.go:42: 20:49:05 | users/2-write-data | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:05 | users/2-write-data | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:05 | users/2-write-data | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:05 | users/2-write-data | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:05 | users/2-write-data | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:05 | users/2-write-data | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:05 | users/2-write-data | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:49:05 | users/2-write-data | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:49:05 | users/2-write-data | +++ export PGOV1_VER=14 logger.go:42: 20:49:05 | users/2-write-data | +++ PGOV1_VER=14 logger.go:42: 20:49:05 | users/2-write-data | ++++ which gdate logger.go:42: 20:49:05 | users/2-write-data | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:05 | users/2-write-data | ++++ which date logger.go:42: 20:49:05 | users/2-write-data | +++ date=/usr/bin/date logger.go:42: 20:49:05 | users/2-write-data | ++++ which gsed logger.go:42: 20:49:05 | users/2-write-data | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:05 | users/2-write-data | ++++ which sed logger.go:42: 20:49:05 | users/2-write-data | +++ sed=/usr/bin/sed logger.go:42: 20:49:05 | users/2-write-data | +++ command -v oc logger.go:42: 20:49:05 | users/2-write-data | ++ oc get projects logger.go:42: 20:49:05 | users/2-write-data | ++ get_psql_user_pass users-pguser-postgres logger.go:42: 20:49:05 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 20:49:05 | users/2-write-data | ++ kubectl -n kuttl-test-pleased-redfish get secret/users-pguser-postgres '--template={{.data.password | base64decode}}' logger.go:42: 20:49:05 | users/2-write-data | ++ get_psql_user_host users-pguser-postgres logger.go:42: 20:49:05 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 20:49:05 | users/2-write-data | ++ kubectl -n kuttl-test-pleased-redfish get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 20:49:06 | users/2-write-data | + run_psql_local 'CREATE DATABASE myapp; \c myapp \\\ CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY);' postgres:FN3rPvAvHYn9vKbPMXCPcfc8@users-primary.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:06 | users/2-write-data | + local 'command=CREATE DATABASE myapp; \c myapp \\\ CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY);' logger.go:42: 20:49:06 | users/2-write-data | + local uri=postgres:FN3rPvAvHYn9vKbPMXCPcfc8@users-primary.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:06 | users/2-write-data | + local driver=postgres logger.go:42: 20:49:06 | users/2-write-data | ++ get_client_pod logger.go:42: 20:49:06 | users/2-write-data | ++ kubectl -n kuttl-test-pleased-redfish get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 20:49:06 | users/2-write-data | + kubectl -n kuttl-test-pleased-redfish exec pg-client-6cc584874-wjl77 -- 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:FN3rPvAvHYn9vKbPMXCPcfc8@users-primary.kuttl-test-pleased-redfish.svc'\''' logger.go:42: 20:49:08 | users/2-write-data | ++ get_psql_user_pass users-pguser-postgres logger.go:42: 20:49:08 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 20:49:08 | users/2-write-data | ++ kubectl -n kuttl-test-pleased-redfish get secret/users-pguser-postgres '--template={{.data.password | base64decode}}' logger.go:42: 20:49:08 | users/2-write-data | ++ get_psql_user_host users-pguser-postgres logger.go:42: 20:49:08 | users/2-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 20:49:08 | users/2-write-data | ++ kubectl -n kuttl-test-pleased-redfish get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 20:49:08 | users/2-write-data | + run_psql_local '\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)' postgres:FN3rPvAvHYn9vKbPMXCPcfc8@users-primary.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:08 | users/2-write-data | + local 'command=\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)' logger.go:42: 20:49:08 | users/2-write-data | + local uri=postgres:FN3rPvAvHYn9vKbPMXCPcfc8@users-primary.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:08 | users/2-write-data | + local driver=postgres logger.go:42: 20:49:08 | users/2-write-data | ++ get_client_pod logger.go:42: 20:49:08 | users/2-write-data | ++ kubectl -n kuttl-test-pleased-redfish get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 20:49:09 | users/2-write-data | + kubectl -n kuttl-test-pleased-redfish exec pg-client-6cc584874-wjl77 -- bash -c 'printf '\''\c myapp \\\ INSERT INTO myApp (id) VALUES (100500)\n'\'' | psql -v ON_ERROR_STOP=1 -t -q postgres://'\''postgres:FN3rPvAvHYn9vKbPMXCPcfc8@users-primary.kuttl-test-pleased-redfish.svc'\''' [controller-runtime] log.SetLogger(...) was never called; logs will not be displayed. Detected at: > goroutine 16 [running]: > runtime/debug.Stack() > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/runtime/debug/stack.go:24 +0x5e > sigs.k8s.io/controller-runtime/pkg/log.eventuallyFulfillRoot() > /home/mowsiany/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/log/log.go:60 +0xcd > sigs.k8s.io/controller-runtime/pkg/log.(*delegatingLogSink).WithName(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?, 0xc0002f3f80?}) > /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, 0xc00043ca10, {0x1accd90, 0xc000386b00}, 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(0xc0002d4d88?, {0x0, 0xc00043ca10, {0x1accd90, 0xc000386b00}, 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(0xc0002d4d88, {0x0, 0xc00043ca10, {0x1accd90, 0xc000386b00}, 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(0xc0004f4608, 0xbd?) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/harness.go:323 +0x18e > github.com/kudobuilder/kuttl/pkg/test.(*Step).Create(0xc000520d00, 0xc0004ae680, {0xc00004a560, 0x1a}) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/step.go:177 +0x63 > github.com/kudobuilder/kuttl/pkg/test.(*Step).Run(0xc000520d00, 0xc0004ae680, {0xc00004a560, 0x1a}) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/step.go:457 +0x24a > github.com/kudobuilder/kuttl/pkg/test.(*Case).Run(0xc00037e8c0, 0xc0004ae680, 0xc0005a2ab0) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/case.go:373 +0xaeb > github.com/kudobuilder/kuttl/pkg/test.(*Harness).RunTests.func1.1(0xc0004ae680) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/harness.go:401 +0x12e > testing.tRunner(0xc0004ae680, 0xc0004acf00) > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/testing/testing.go:1689 +0xfb > created by testing.(*T).Run in goroutine 15 > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/testing/testing.go:1742 +0x390 logger.go:42: 20:49:10 | users/2-write-data | test step completed 2-write-data logger.go:42: 20:49:10 | users/3-read-from-primary | starting test step 3-read-from-primary logger.go:42: 20:49:10 | 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: 20:49:10 | users/3-read-from-primary | + source ../../functions logger.go:42: 20:49:10 | users/3-read-from-primary | +++ realpath ../../.. logger.go:42: 20:49:10 | users/3-read-from-primary | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:10 | users/3-read-from-primary | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:49:10 | users/3-read-from-primary | ++++ pwd logger.go:42: 20:49:10 | users/3-read-from-primary | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:49:11 | users/3-read-from-primary | ++ test_name=users logger.go:42: 20:49:11 | users/3-read-from-primary | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:11 | users/3-read-from-primary | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:11 | users/3-read-from-primary | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:11 | users/3-read-from-primary | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:11 | users/3-read-from-primary | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:11 | users/3-read-from-primary | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:11 | users/3-read-from-primary | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export PG_VER=17 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ PG_VER=17 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:11 | users/3-read-from-primary | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:11 | users/3-read-from-primary | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:11 | users/3-read-from-primary | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:11 | users/3-read-from-primary | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export BUCKET=pg-operator-testing logger.go:42: 20:49:11 | users/3-read-from-primary | +++ BUCKET=pg-operator-testing logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:11 | users/3-read-from-primary | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:11 | users/3-read-from-primary | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ export PGOV1_VER=14 logger.go:42: 20:49:11 | users/3-read-from-primary | +++ PGOV1_VER=14 logger.go:42: 20:49:11 | users/3-read-from-primary | ++++ which gdate logger.go:42: 20:49:11 | users/3-read-from-primary | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:11 | users/3-read-from-primary | ++++ which date logger.go:42: 20:49:11 | users/3-read-from-primary | +++ date=/usr/bin/date logger.go:42: 20:49:11 | users/3-read-from-primary | ++++ which gsed logger.go:42: 20:49:11 | users/3-read-from-primary | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:11 | users/3-read-from-primary | ++++ which sed logger.go:42: 20:49:11 | users/3-read-from-primary | +++ sed=/usr/bin/sed logger.go:42: 20:49:11 | users/3-read-from-primary | +++ command -v oc logger.go:42: 20:49:11 | users/3-read-from-primary | ++ oc get projects logger.go:42: 20:49:11 | users/3-read-from-primary | +++ get_psql_user_pass users-pguser-postgres logger.go:42: 20:49:11 | users/3-read-from-primary | +++ local secret_name=users-pguser-postgres logger.go:42: 20:49:11 | users/3-read-from-primary | +++ kubectl -n kuttl-test-pleased-redfish get secret/users-pguser-postgres '--template={{.data.password | base64decode}}' logger.go:42: 20:49:11 | users/3-read-from-primary | +++ get_psql_user_host users-pguser-postgres logger.go:42: 20:49:11 | users/3-read-from-primary | +++ local secret_name=users-pguser-postgres logger.go:42: 20:49:11 | users/3-read-from-primary | +++ kubectl -n kuttl-test-pleased-redfish get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 20:49:11 | users/3-read-from-primary | ++ run_psql_local '\c myapp \\\ SELECT * from myApp;' postgres:FN3rPvAvHYn9vKbPMXCPcfc8@users-primary.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:11 | users/3-read-from-primary | ++ local 'command=\c myapp \\\ SELECT * from myApp;' logger.go:42: 20:49:11 | users/3-read-from-primary | ++ local uri=postgres:FN3rPvAvHYn9vKbPMXCPcfc8@users-primary.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:11 | users/3-read-from-primary | ++ local driver=postgres logger.go:42: 20:49:11 | users/3-read-from-primary | +++ get_client_pod logger.go:42: 20:49:11 | users/3-read-from-primary | +++ kubectl -n kuttl-test-pleased-redfish get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 20:49:12 | users/3-read-from-primary | ++ kubectl -n kuttl-test-pleased-redfish exec pg-client-6cc584874-wjl77 -- bash -c 'printf '\''\c myapp \\\ SELECT * from myApp;\n'\'' | psql -v ON_ERROR_STOP=1 -t -q postgres://'\''postgres:FN3rPvAvHYn9vKbPMXCPcfc8@users-primary.kuttl-test-pleased-redfish.svc'\''' logger.go:42: 20:49:13 | users/3-read-from-primary | + data=' 100500' logger.go:42: 20:49:13 | users/3-read-from-primary | + kubectl create configmap -n kuttl-test-pleased-redfish 03-read-from-primary '--from-literal=data= 100500' logger.go:42: 20:49:14 | users/3-read-from-primary | configmap/03-read-from-primary created logger.go:42: 20:49:14 | users/3-read-from-primary | test step completed 3-read-from-primary logger.go:42: 20:49:14 | users/4-update-default-user-password | starting test step 4-update-default-user-password logger.go:42: 20:49:14 | 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: 20:49:14 | users/4-update-default-user-password | + source ../../functions logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ realpath ../../.. logger.go:42: 20:49:14 | users/4-update-default-user-password | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:14 | users/4-update-default-user-password | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:49:14 | users/4-update-default-user-password | ++++ pwd logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:49:14 | users/4-update-default-user-password | ++ test_name=users logger.go:42: 20:49:14 | users/4-update-default-user-password | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:14 | users/4-update-default-user-password | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export PG_VER=17 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ PG_VER=17 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export BUCKET=pg-operator-testing logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ BUCKET=pg-operator-testing logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ export PGOV1_VER=14 logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ PGOV1_VER=14 logger.go:42: 20:49:14 | users/4-update-default-user-password | ++++ which gdate logger.go:42: 20:49:14 | users/4-update-default-user-password | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:14 | users/4-update-default-user-password | ++++ which date logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ date=/usr/bin/date logger.go:42: 20:49:14 | users/4-update-default-user-password | ++++ which gsed logger.go:42: 20:49:14 | users/4-update-default-user-password | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:14 | users/4-update-default-user-password | ++++ which sed logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ sed=/usr/bin/sed logger.go:42: 20:49:14 | users/4-update-default-user-password | +++ command -v oc logger.go:42: 20:49:14 | users/4-update-default-user-password | ++ oc get projects logger.go:42: 20:49:14 | users/4-update-default-user-password | + kubectl -n kuttl-test-pleased-redfish patch secret users-pguser-postgres --type merge --patch '{"stringData": {"password": "default-db-password", "verifier":""}}' logger.go:42: 20:49:14 | users/4-update-default-user-password | secret/users-pguser-postgres patched logger.go:42: 20:49:14 | users/4-update-default-user-password | + sleep 5 logger.go:42: 20:49:19 | users/4-update-default-user-password | test step completed 4-update-default-user-password logger.go:42: 20:49:19 | users/5-write-data | starting test step 5-write-data logger.go:42: 20:49:19 | 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: 20:49:19 | users/5-write-data | + source ../../functions logger.go:42: 20:49:19 | users/5-write-data | +++ realpath ../../.. logger.go:42: 20:49:19 | users/5-write-data | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:19 | users/5-write-data | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:49:19 | users/5-write-data | ++++ pwd logger.go:42: 20:49:19 | users/5-write-data | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:49:19 | users/5-write-data | ++ test_name=users logger.go:42: 20:49:19 | users/5-write-data | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:49:19 | users/5-write-data | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:19 | users/5-write-data | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:19 | users/5-write-data | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:19 | users/5-write-data | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:19 | users/5-write-data | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:19 | users/5-write-data | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:19 | users/5-write-data | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:19 | users/5-write-data | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:19 | users/5-write-data | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:19 | users/5-write-data | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:19 | users/5-write-data | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:49:19 | users/5-write-data | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:49:19 | users/5-write-data | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:49:19 | users/5-write-data | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:49:19 | users/5-write-data | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:49:19 | users/5-write-data | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:19 | users/5-write-data | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:19 | users/5-write-data | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:19 | users/5-write-data | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:19 | users/5-write-data | +++ export PG_VER=17 logger.go:42: 20:49:19 | users/5-write-data | +++ PG_VER=17 logger.go:42: 20:49:19 | users/5-write-data | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:19 | users/5-write-data | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:19 | users/5-write-data | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:19 | users/5-write-data | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:19 | users/5-write-data | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:19 | users/5-write-data | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:19 | users/5-write-data | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:19 | users/5-write-data | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:19 | users/5-write-data | +++ export BUCKET=pg-operator-testing logger.go:42: 20:49:19 | users/5-write-data | +++ BUCKET=pg-operator-testing logger.go:42: 20:49:19 | users/5-write-data | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:19 | users/5-write-data | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:19 | users/5-write-data | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:19 | users/5-write-data | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:19 | users/5-write-data | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:19 | users/5-write-data | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:19 | users/5-write-data | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:49:19 | users/5-write-data | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:49:19 | users/5-write-data | +++ export PGOV1_VER=14 logger.go:42: 20:49:19 | users/5-write-data | +++ PGOV1_VER=14 logger.go:42: 20:49:19 | users/5-write-data | ++++ which gdate logger.go:42: 20:49:19 | users/5-write-data | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:19 | users/5-write-data | ++++ which date logger.go:42: 20:49:19 | users/5-write-data | +++ date=/usr/bin/date logger.go:42: 20:49:19 | users/5-write-data | ++++ which gsed logger.go:42: 20:49:19 | users/5-write-data | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:19 | users/5-write-data | ++++ which sed logger.go:42: 20:49:19 | users/5-write-data | +++ sed=/usr/bin/sed logger.go:42: 20:49:19 | users/5-write-data | +++ command -v oc logger.go:42: 20:49:19 | users/5-write-data | ++ oc get projects logger.go:42: 20:49:19 | users/5-write-data | ++ get_psql_user_host users-pguser-postgres logger.go:42: 20:49:19 | users/5-write-data | ++ local secret_name=users-pguser-postgres logger.go:42: 20:49:19 | users/5-write-data | ++ kubectl -n kuttl-test-pleased-redfish get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 20:49:20 | users/5-write-data | + run_psql_local '\c myapp \\\ INSERT INTO myApp (id) VALUES (100501)' postgres:default-db-password@users-primary.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:20 | users/5-write-data | + local 'command=\c myapp \\\ INSERT INTO myApp (id) VALUES (100501)' logger.go:42: 20:49:20 | users/5-write-data | + local uri=postgres:default-db-password@users-primary.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:20 | users/5-write-data | + local driver=postgres logger.go:42: 20:49:20 | users/5-write-data | ++ get_client_pod logger.go:42: 20:49:20 | users/5-write-data | ++ kubectl -n kuttl-test-pleased-redfish get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 20:49:20 | users/5-write-data | + kubectl -n kuttl-test-pleased-redfish exec pg-client-6cc584874-wjl77 -- 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-pleased-redfish.svc'\''' logger.go:42: 20:49:22 | users/5-write-data | test step completed 5-write-data logger.go:42: 20:49:22 | users/6-read-from-primary | starting test step 6-read-from-primary logger.go:42: 20:49:22 | 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: 20:49:22 | users/6-read-from-primary | + source ../../functions logger.go:42: 20:49:22 | users/6-read-from-primary | +++ realpath ../../.. logger.go:42: 20:49:22 | users/6-read-from-primary | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:22 | users/6-read-from-primary | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:49:22 | users/6-read-from-primary | ++++ pwd logger.go:42: 20:49:22 | users/6-read-from-primary | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:49:22 | users/6-read-from-primary | ++ test_name=users logger.go:42: 20:49:22 | users/6-read-from-primary | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:22 | users/6-read-from-primary | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:22 | users/6-read-from-primary | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:22 | users/6-read-from-primary | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:22 | users/6-read-from-primary | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:22 | users/6-read-from-primary | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:22 | users/6-read-from-primary | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export PG_VER=17 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ PG_VER=17 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:22 | users/6-read-from-primary | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:22 | users/6-read-from-primary | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:22 | users/6-read-from-primary | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:22 | users/6-read-from-primary | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export BUCKET=pg-operator-testing logger.go:42: 20:49:22 | users/6-read-from-primary | +++ BUCKET=pg-operator-testing logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:22 | users/6-read-from-primary | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:22 | users/6-read-from-primary | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ export PGOV1_VER=14 logger.go:42: 20:49:22 | users/6-read-from-primary | +++ PGOV1_VER=14 logger.go:42: 20:49:22 | users/6-read-from-primary | ++++ which gdate logger.go:42: 20:49:22 | users/6-read-from-primary | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:22 | users/6-read-from-primary | ++++ which date logger.go:42: 20:49:22 | users/6-read-from-primary | +++ date=/usr/bin/date logger.go:42: 20:49:22 | users/6-read-from-primary | ++++ which gsed logger.go:42: 20:49:22 | users/6-read-from-primary | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:22 | users/6-read-from-primary | ++++ which sed logger.go:42: 20:49:22 | users/6-read-from-primary | +++ sed=/usr/bin/sed logger.go:42: 20:49:22 | users/6-read-from-primary | +++ command -v oc logger.go:42: 20:49:22 | users/6-read-from-primary | ++ oc get projects logger.go:42: 20:49:22 | users/6-read-from-primary | +++ get_psql_user_host users-pguser-postgres logger.go:42: 20:49:22 | users/6-read-from-primary | +++ local secret_name=users-pguser-postgres logger.go:42: 20:49:22 | users/6-read-from-primary | +++ kubectl -n kuttl-test-pleased-redfish get secret/users-pguser-postgres '--template={{.data.host | base64decode }}' logger.go:42: 20:49:22 | users/6-read-from-primary | ++ run_psql_local '\c myapp \\\ SELECT * from myApp;' postgres:default-db-password@users-primary.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:22 | users/6-read-from-primary | ++ local 'command=\c myapp \\\ SELECT * from myApp;' logger.go:42: 20:49:22 | users/6-read-from-primary | ++ local uri=postgres:default-db-password@users-primary.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:22 | users/6-read-from-primary | ++ local driver=postgres logger.go:42: 20:49:22 | users/6-read-from-primary | +++ get_client_pod logger.go:42: 20:49:22 | users/6-read-from-primary | +++ kubectl -n kuttl-test-pleased-redfish get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 20:49:22 | users/6-read-from-primary | ++ kubectl -n kuttl-test-pleased-redfish exec pg-client-6cc584874-wjl77 -- 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-pleased-redfish.svc'\''' logger.go:42: 20:49:24 | users/6-read-from-primary | + data=' 100500 logger.go:42: 20:49:24 | users/6-read-from-primary | 100501' logger.go:42: 20:49:24 | users/6-read-from-primary | + kubectl create configmap -n kuttl-test-pleased-redfish 06-read-from-primary '--from-literal=data= 100500 logger.go:42: 20:49:24 | users/6-read-from-primary | 100501' logger.go:42: 20:49:24 | users/6-read-from-primary | configmap/06-read-from-primary created logger.go:42: 20:49:24 | users/6-read-from-primary | + kubectl get configmap -n kuttl-test-pleased-redfish 06-read-from-primary -o yaml logger.go:42: 20:49:25 | users/6-read-from-primary | apiVersion: v1 logger.go:42: 20:49:25 | users/6-read-from-primary | data: logger.go:42: 20:49:25 | users/6-read-from-primary | data: |2- logger.go:42: 20:49:25 | users/6-read-from-primary | 100500 logger.go:42: 20:49:25 | users/6-read-from-primary | 100501 logger.go:42: 20:49:25 | users/6-read-from-primary | kind: ConfigMap logger.go:42: 20:49:25 | users/6-read-from-primary | metadata: logger.go:42: 20:49:25 | users/6-read-from-primary | creationTimestamp: "2025-03-06T20:49:24Z" logger.go:42: 20:49:25 | users/6-read-from-primary | name: 06-read-from-primary logger.go:42: 20:49:25 | users/6-read-from-primary | namespace: kuttl-test-pleased-redfish logger.go:42: 20:49:25 | users/6-read-from-primary | resourceVersion: "37460" logger.go:42: 20:49:25 | users/6-read-from-primary | uid: 34b8f09f-9359-4a84-bba3-17f2fb270020 logger.go:42: 20:49:25 | users/6-read-from-primary | test step completed 6-read-from-primary logger.go:42: 20:49:25 | users/7-add-custom-user | starting test step 7-add-custom-user logger.go:42: 20:49:25 | 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: 20:49:25 | users/7-add-custom-user | + source ../../functions logger.go:42: 20:49:25 | users/7-add-custom-user | +++ realpath ../../.. logger.go:42: 20:49:25 | users/7-add-custom-user | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:25 | users/7-add-custom-user | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:49:25 | users/7-add-custom-user | ++++ pwd logger.go:42: 20:49:25 | users/7-add-custom-user | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:49:25 | users/7-add-custom-user | ++ test_name=users logger.go:42: 20:49:25 | users/7-add-custom-user | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:25 | users/7-add-custom-user | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:25 | users/7-add-custom-user | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:25 | users/7-add-custom-user | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:25 | users/7-add-custom-user | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:25 | users/7-add-custom-user | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:25 | users/7-add-custom-user | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export PG_VER=17 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ PG_VER=17 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:25 | users/7-add-custom-user | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:25 | users/7-add-custom-user | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:25 | users/7-add-custom-user | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:25 | users/7-add-custom-user | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export BUCKET=pg-operator-testing logger.go:42: 20:49:25 | users/7-add-custom-user | +++ BUCKET=pg-operator-testing logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:25 | users/7-add-custom-user | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:25 | users/7-add-custom-user | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ export PGOV1_VER=14 logger.go:42: 20:49:25 | users/7-add-custom-user | +++ PGOV1_VER=14 logger.go:42: 20:49:25 | users/7-add-custom-user | ++++ which gdate logger.go:42: 20:49:25 | users/7-add-custom-user | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:25 | users/7-add-custom-user | ++++ which date logger.go:42: 20:49:25 | users/7-add-custom-user | +++ date=/usr/bin/date logger.go:42: 20:49:25 | users/7-add-custom-user | ++++ which gsed logger.go:42: 20:49:25 | users/7-add-custom-user | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:25 | users/7-add-custom-user | ++++ which sed logger.go:42: 20:49:25 | users/7-add-custom-user | +++ sed=/usr/bin/sed logger.go:42: 20:49:25 | users/7-add-custom-user | +++ command -v oc logger.go:42: 20:49:25 | users/7-add-custom-user | ++ oc get projects logger.go:42: 20:49:25 | users/7-add-custom-user | + kubectl -n kuttl-test-pleased-redfish 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: 20:49:26 | users/7-add-custom-user | perconapgcluster.pgv2.percona.com/users patched logger.go:42: 20:49:26 | users/7-add-custom-user | + sleep 10 logger.go:42: 20:49:36 | users/7-add-custom-user | test step completed 7-add-custom-user logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | starting test step 8-write-data-to-custom-db logger.go:42: 20:49:36 | 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: 20:49:36 | users/8-write-data-to-custom-db | + source ../../functions logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ realpath ../../.. logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++++ pwd logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++ test_name=users logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export PG_VER=17 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ PG_VER=17 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ export PGOV1_VER=14 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ PGOV1_VER=14 logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++++ which gdate logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++++ which date logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ date=/usr/bin/date logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++++ which gsed logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++++ which sed logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ sed=/usr/bin/sed logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | +++ command -v oc logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++ oc get projects logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 20:49:36 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-pleased-redfish get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | + password='KtROWcpgoj3NBS}w0>;7BP=2' logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | + user=rhino logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | + db_name=zoo logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | + schema=rhino logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-pleased-redfish get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | ++ base64 -d logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | + hostname=users-pgbouncer.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | + run_psql 'CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);' '-h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' 'KtROWcpgoj3NBS}w0>;7BP=2' logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | + local 'command=CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);' logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | + local 'uri=-h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | + local 'password=KtROWcpgoj3NBS}w0>;7BP=2' logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | ++ get_client_pod logger.go:42: 20:49:37 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-pleased-redfish get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 20:49:38 | users/8-write-data-to-custom-db | + kubectl -n kuttl-test-pleased-redfish exec pg-client-6cc584874-wjl77 -- bash -c 'printf '\''CREATE TABLE IF NOT EXISTS customApp (id int PRIMARY KEY);\n'\'' | PGPASSWORD='\''KtROWcpgoj3NBS}w0>;7BP=2'\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' logger.go:42: 20:49:39 | users/8-write-data-to-custom-db | + run_psql 'INSERT INTO rhino.customApp (id) VALUES (100500)' '-h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' 'KtROWcpgoj3NBS}w0>;7BP=2' logger.go:42: 20:49:39 | users/8-write-data-to-custom-db | + local 'command=INSERT INTO rhino.customApp (id) VALUES (100500)' logger.go:42: 20:49:39 | users/8-write-data-to-custom-db | + local 'uri=-h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' logger.go:42: 20:49:39 | users/8-write-data-to-custom-db | + local 'password=KtROWcpgoj3NBS}w0>;7BP=2' logger.go:42: 20:49:39 | users/8-write-data-to-custom-db | ++ get_client_pod logger.go:42: 20:49:39 | users/8-write-data-to-custom-db | ++ kubectl -n kuttl-test-pleased-redfish get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 20:49:40 | users/8-write-data-to-custom-db | + kubectl -n kuttl-test-pleased-redfish exec pg-client-6cc584874-wjl77 -- bash -c 'printf '\''INSERT INTO rhino.customApp (id) VALUES (100500)\n'\'' | PGPASSWORD='\''KtROWcpgoj3NBS}w0>;7BP=2'\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' logger.go:42: 20:49:41 | users/8-write-data-to-custom-db | test step completed 8-write-data-to-custom-db logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | starting test step 9-read-from-primary-custom-db logger.go:42: 20:49:41 | 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: 20:49:41 | users/9-read-from-primary-custom-db | + source ../../functions logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ realpath ../../.. logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++++ pwd logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++ test_name=users logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export PG_VER=17 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ PG_VER=17 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ export PGOV1_VER=14 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ PGOV1_VER=14 logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++++ which gdate logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++++ which date logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ date=/usr/bin/date logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++++ which gsed logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++++ which sed logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ sed=/usr/bin/sed logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | +++ command -v oc logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++ oc get projects logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 20:49:41 | users/9-read-from-primary-custom-db | ++ kubectl -n kuttl-test-pleased-redfish get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | + password='KtROWcpgoj3NBS}w0>;7BP=2' logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | + user=rhino logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | + db_name=zoo logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | + schema=rhino logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | ++ kubectl -n kuttl-test-pleased-redfish get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | ++ base64 -d logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | + hostname=users-pgbouncer.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | ++ run_psql 'SELECT * from rhino.customApp;' '-h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' 'KtROWcpgoj3NBS}w0>;7BP=2' logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | ++ local 'command=SELECT * from rhino.customApp;' logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | ++ local 'uri=-h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | ++ local 'password=KtROWcpgoj3NBS}w0>;7BP=2' logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | +++ get_client_pod logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | +++ kubectl -n kuttl-test-pleased-redfish get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 20:49:42 | users/9-read-from-primary-custom-db | ++ kubectl -n kuttl-test-pleased-redfish exec pg-client-6cc584874-wjl77 -- bash -c 'printf '\''SELECT * from rhino.customApp;\n'\'' | PGPASSWORD='\''KtROWcpgoj3NBS}w0>;7BP=2'\'' psql -v ON_ERROR_STOP=1 -t -q -h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' logger.go:42: 20:49:44 | users/9-read-from-primary-custom-db | + data=' 100500' logger.go:42: 20:49:44 | users/9-read-from-primary-custom-db | + kubectl create configmap -n kuttl-test-pleased-redfish 09-read-from-primary-custom-db '--from-literal=data= 100500' logger.go:42: 20:49:44 | users/9-read-from-primary-custom-db | configmap/09-read-from-primary-custom-db created logger.go:42: 20:49:45 | users/9-read-from-primary-custom-db | test step completed 9-read-from-primary-custom-db logger.go:42: 20:49:45 | users/10-update-custom-user-password | starting test step 10-update-custom-user-password logger.go:42: 20:49:45 | 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: 20:49:45 | users/10-update-custom-user-password | + source ../../functions logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ realpath ../../.. logger.go:42: 20:49:45 | users/10-update-custom-user-password | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:45 | users/10-update-custom-user-password | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:49:45 | users/10-update-custom-user-password | ++++ pwd logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:49:45 | users/10-update-custom-user-password | ++ test_name=users logger.go:42: 20:49:45 | users/10-update-custom-user-password | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:45 | users/10-update-custom-user-password | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export PG_VER=17 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ PG_VER=17 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export BUCKET=pg-operator-testing logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ BUCKET=pg-operator-testing logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ export PGOV1_VER=14 logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ PGOV1_VER=14 logger.go:42: 20:49:45 | users/10-update-custom-user-password | ++++ which gdate logger.go:42: 20:49:45 | users/10-update-custom-user-password | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:45 | users/10-update-custom-user-password | ++++ which date logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ date=/usr/bin/date logger.go:42: 20:49:45 | users/10-update-custom-user-password | ++++ which gsed logger.go:42: 20:49:45 | users/10-update-custom-user-password | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:45 | users/10-update-custom-user-password | ++++ which sed logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ sed=/usr/bin/sed logger.go:42: 20:49:45 | users/10-update-custom-user-password | +++ command -v oc logger.go:42: 20:49:45 | users/10-update-custom-user-password | ++ oc get projects logger.go:42: 20:49:45 | users/10-update-custom-user-password | + kubectl -n kuttl-test-pleased-redfish patch secret rhino-credentials --type merge --patch '{"stringData": {"password": "custom-db-password","verifier":""}}' logger.go:42: 20:49:45 | users/10-update-custom-user-password | secret/rhino-credentials patched logger.go:42: 20:49:45 | users/10-update-custom-user-password | + sleep 5 logger.go:42: 20:49:50 | users/10-update-custom-user-password | test step completed 10-update-custom-user-password logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | starting test step 11-write-data-to-custom-db logger.go:42: 20:49:50 | 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: 20:49:50 | users/11-write-data-to-custom-db | + source ../../functions logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ realpath ../../.. logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++++ pwd logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++ test_name=users logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export PG_VER=17 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ PG_VER=17 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ export PGOV1_VER=14 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ PGOV1_VER=14 logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++++ which gdate logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++++ which date logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ date=/usr/bin/date logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++++ which gsed logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++++ which sed logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ sed=/usr/bin/sed logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | +++ command -v oc logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++ oc get projects logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++ kubectl -n kuttl-test-pleased-redfish get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | + password=custom-db-password logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | + user=rhino logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | + db_name=zoo logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | + schema=rhino logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++ kubectl -n kuttl-test-pleased-redfish get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 20:49:50 | users/11-write-data-to-custom-db | ++ base64 -d logger.go:42: 20:49:51 | users/11-write-data-to-custom-db | + hostname=users-pgbouncer.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:51 | users/11-write-data-to-custom-db | + run_psql 'INSERT INTO rhino.customApp (id) VALUES (100501)' '-h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' custom-db-password logger.go:42: 20:49:51 | users/11-write-data-to-custom-db | + local 'command=INSERT INTO rhino.customApp (id) VALUES (100501)' logger.go:42: 20:49:51 | users/11-write-data-to-custom-db | + local 'uri=-h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' logger.go:42: 20:49:51 | users/11-write-data-to-custom-db | + local password=custom-db-password logger.go:42: 20:49:51 | users/11-write-data-to-custom-db | ++ get_client_pod logger.go:42: 20:49:51 | users/11-write-data-to-custom-db | ++ kubectl -n kuttl-test-pleased-redfish get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 20:49:51 | users/11-write-data-to-custom-db | + kubectl -n kuttl-test-pleased-redfish exec pg-client-6cc584874-wjl77 -- 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-pleased-redfish.svc -U rhino -d zoo' logger.go:42: 20:49:53 | users/11-write-data-to-custom-db | test step completed 11-write-data-to-custom-db logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | starting test step 12-read-from-primary-custom-db logger.go:42: 20:49:53 | 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: 20:49:53 | users/12-read-from-primary-custom-db | + source ../../functions logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ realpath ../../.. logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++++ pwd logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++ test_name=users logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export PG_VER=17 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ PG_VER=17 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export BUCKET=pg-operator-testing logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ BUCKET=pg-operator-testing logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ export PGOV1_VER=14 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ PGOV1_VER=14 logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++++ which gdate logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++++ which date logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ date=/usr/bin/date logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++++ which gsed logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++++ which sed logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ sed=/usr/bin/sed logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | +++ command -v oc logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++ oc get projects logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++ get_psql_user_pass rhino-credentials logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++ kubectl -n kuttl-test-pleased-redfish get secret/rhino-credentials '--template={{.data.password | base64decode}}' logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | + password=custom-db-password logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | + user=rhino logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | + db_name=zoo logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | + schema=rhino logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++ get_pgbouncer_host rhino-credentials logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++ local secret_name=rhino-credentials logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++ kubectl -n kuttl-test-pleased-redfish get secret/rhino-credentials -o 'jsonpath={.data.pgbouncer-host}' logger.go:42: 20:49:53 | users/12-read-from-primary-custom-db | ++ base64 -d logger.go:42: 20:49:54 | users/12-read-from-primary-custom-db | + hostname=users-pgbouncer.kuttl-test-pleased-redfish.svc logger.go:42: 20:49:54 | users/12-read-from-primary-custom-db | ++ run_psql 'SELECT * from rhino.customApp;' '-h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' custom-db-password logger.go:42: 20:49:54 | users/12-read-from-primary-custom-db | ++ local 'command=SELECT * from rhino.customApp;' logger.go:42: 20:49:54 | users/12-read-from-primary-custom-db | ++ local 'uri=-h users-pgbouncer.kuttl-test-pleased-redfish.svc -U rhino -d zoo' logger.go:42: 20:49:54 | users/12-read-from-primary-custom-db | ++ local password=custom-db-password logger.go:42: 20:49:54 | users/12-read-from-primary-custom-db | +++ get_client_pod logger.go:42: 20:49:54 | users/12-read-from-primary-custom-db | +++ kubectl -n kuttl-test-pleased-redfish get pods --selector=name=pg-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 20:49:54 | users/12-read-from-primary-custom-db | ++ kubectl -n kuttl-test-pleased-redfish exec pg-client-6cc584874-wjl77 -- 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-pleased-redfish.svc -U rhino -d zoo' logger.go:42: 20:49:56 | users/12-read-from-primary-custom-db | + data=' 100500 logger.go:42: 20:49:56 | users/12-read-from-primary-custom-db | 100501' logger.go:42: 20:49:56 | users/12-read-from-primary-custom-db | + kubectl create configmap -n kuttl-test-pleased-redfish 12-read-from-primary-custom-db '--from-literal=data= 100500 logger.go:42: 20:49:56 | users/12-read-from-primary-custom-db | 100501' logger.go:42: 20:49:56 | users/12-read-from-primary-custom-db | configmap/12-read-from-primary-custom-db created logger.go:42: 20:49:57 | users/12-read-from-primary-custom-db | test step completed 12-read-from-primary-custom-db logger.go:42: 20:49:57 | users/99-remove-cluster-gracefully | starting test step 99-remove-cluster-gracefully logger.go:42: 20:50:02 | 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: 20:50:02 | users/99-remove-cluster-gracefully | + source ../../functions logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ realpath ../../.. logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | ++ CERT_MANAGER_VER=1.15.3 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | ++++ pwd logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ basename /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/tests/users logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | ++ test_name=users logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | ++ source /mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/vars.sh logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/deploy logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/e2e-tests/conf logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ TEMP_DIR=/tmp/kuttl/pg/users logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export GIT_BRANCH=PR-1071 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ GIT_BRANCH=PR-1071 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export VERSION=PR-1071-9ab563432 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ VERSION=PR-1071-9ab563432 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ IMAGE_BASE=perconalab/percona-postgresql-operator logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ IMAGE=perconalab/percona-postgresql-operator:PR-1071-9ab563432 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export PG_VER=17 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ PG_VER=17 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ IMAGE_PGBOUNCER=perconalab/percona-postgresql-operator:main-ppg17-pgbouncer logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ IMAGE_POSTGRESQL=perconalab/percona-postgresql-operator:main-ppg17-postgres logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ IMAGE_BACKREST=perconalab/percona-postgresql-operator:main-ppg17-pgbackrest logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ IMAGE_UPGRADE=perconalab/percona-postgresql-operator:main-upgrade logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export BUCKET=pg-operator-testing logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ BUCKET=pg-operator-testing logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ PMM_SERVER_VERSION=9.9.9 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:dev-latest logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export PGOV1_TAG=1.4.0 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ PGOV1_TAG=1.4.0 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ export PGOV1_VER=14 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ PGOV1_VER=14 logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | ++++ which gdate logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | which: no gdate in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | ++++ which date logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ date=/usr/bin/date logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | ++++ which gsed logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | which: no gsed in (/mnt/jenkins/workspace/cloud-pg-operator_PR-1071/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | ++++ which sed logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ sed=/usr/bin/sed logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | +++ command -v oc logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | ++ oc get projects logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | + remove_all_finalizers logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | + resource_types=("pg-restore" "pg-backup" "pg") logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | + for resource in '"${resource_types[@]}"' logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | + echo 'removing all finalizers for pg-restore resources' logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | removing all finalizers for pg-restore resources logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-pleased-redfish get pg-restore -o json logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | + jq '.items[] | .metadata.name' -r logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 20:50:02 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 20:50:03 | users/99-remove-cluster-gracefully | + for resource in '"${resource_types[@]}"' logger.go:42: 20:50:03 | users/99-remove-cluster-gracefully | + echo 'removing all finalizers for pg-backup resources' logger.go:42: 20:50:03 | users/99-remove-cluster-gracefully | removing all finalizers for pg-backup resources logger.go:42: 20:50:03 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-pleased-redfish get pg-backup -o json logger.go:42: 20:50:03 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 20:50:03 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 20:50:03 | users/99-remove-cluster-gracefully | + jq '.items[] | .metadata.name' -r logger.go:42: 20:50:03 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-pleased-redfish delete pg-backup users-backup-2jgr-wr4rl --wait=0 logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | perconapgbackup.pgv2.percona.com "users-backup-2jgr-wr4rl" deleted logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | ++ kubectl -n kuttl-test-pleased-redfish get pg-backup users-backup-2jgr-wr4rl -o yaml logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | ++ yq '.metadata.finalizers | length' logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | Error from server (NotFound): perconapgbackups.pgv2.percona.com "users-backup-2jgr-wr4rl" not found logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | + [[ 0 == \0 ]] logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | + continue logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | + for resource in '"${resource_types[@]}"' logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | + echo 'removing all finalizers for pg resources' logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | removing all finalizers for pg resources logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | + kubectl -n kuttl-test-pleased-redfish get pg -o json logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | + jq '.items[] | .metadata.name' -r logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | + IFS= logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | + read -r name logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | + destroy_operator logger.go:42: 20:50:04 | users/99-remove-cluster-gracefully | + kubectl -n pg-operator delete deployment percona-postgresql-operator --force --grace-period=0 logger.go:42: 20:50:04 | 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: 20:50:05 | users/99-remove-cluster-gracefully | deployment.apps "percona-postgresql-operator" force deleted logger.go:42: 20:50:05 | users/99-remove-cluster-gracefully | + [[ -n pg-operator ]] logger.go:42: 20:50:05 | users/99-remove-cluster-gracefully | + kubectl delete namespace pg-operator --force --grace-period=0 logger.go:42: 20:50:05 | 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: 20:50:05 | users/99-remove-cluster-gracefully | namespace "pg-operator" force deleted logger.go:42: 20:50:11 | users/99-remove-cluster-gracefully | test step completed 99-remove-cluster-gracefully logger.go:42: 20:50:11 | users | users events from ns kuttl-test-pleased-redfish: logger.go:42: 20:50:11 | users | 2025-03-06 20:48:01 +0000 UTC Normal Pod pg-client-6cc584874-wjl77 Binding Scheduled Successfully assigned kuttl-test-pleased-redfish/pg-client-6cc584874-wjl77 to gke-jen-pg-1071-9ab56343-default-pool-81c82c4b-thm7 default-scheduler logger.go:42: 20:50:11 | users | 2025-03-06 20:48:01 +0000 UTC Normal ReplicaSet.apps pg-client-6cc584874 SuccessfulCreate Created pod: pg-client-6cc584874-wjl77 replicaset-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:01 +0000 UTC Normal Deployment.apps pg-client ScalingReplicaSet Scaled up replica set pg-client-6cc584874 to 1 deployment-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:02 +0000 UTC Normal Pod pg-client-6cc584874-wjl77.spec.containers{pg-client} Pulling Pulling image "perconalab/percona-distribution-postgresql:15" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:05 +0000 UTC Normal Pod users-patroni-version-check Binding Scheduled Successfully assigned kuttl-test-pleased-redfish/users-patroni-version-check to gke-jen-pg-1071-9ab56343-default-pool-81c82c4b-thm7 default-scheduler logger.go:42: 20:50:11 | users | 2025-03-06 20:48:06 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Pulled Container image "perconalab/percona-postgresql-operator:main-ppg17-postgres" already present on machine kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:06 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Created Created container: patroni-version-check kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:06 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Started Started container patroni-version-check kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:11 +0000 UTC Normal PersistentVolumeClaim users-instance1-s6gr-pgdata WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:11 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Killing Stopping container patroni-version-check kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:12 +0000 UTC Normal PersistentVolumeClaim users-instance1-5hxx-pgdata WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:12 +0000 UTC Normal PersistentVolumeClaim users-instance1-5hxx-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: 20:50:11 | users | 2025-03-06 20:48:12 +0000 UTC Normal PersistentVolumeClaim users-instance1-5hxx-pgdata Provisioning External provisioner is provisioning volume for claim "kuttl-test-pleased-redfish/users-instance1-5hxx-pgdata" pd.csi.storage.gke.io_gke-123e7f293d3a4ad787ad-a9ed-68dc-vm_5fa96b17-d859-4109-a90f-392fd8654670 logger.go:42: 20:50:11 | users | 2025-03-06 20:48:12 +0000 UTC Normal StatefulSet.apps users-instance1-5hxx SuccessfulCreate create Pod users-instance1-5hxx-0 in StatefulSet users-instance1-5hxx successful statefulset-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:12 +0000 UTC Normal PersistentVolumeClaim users-instance1-rd6k-pgdata WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:12 +0000 UTC Normal PersistentVolumeClaim users-instance1-s6gr-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: 20:50:11 | users | 2025-03-06 20:48:12 +0000 UTC Normal PersistentVolumeClaim users-instance1-s6gr-pgdata Provisioning External provisioner is provisioning volume for claim "kuttl-test-pleased-redfish/users-instance1-s6gr-pgdata" pd.csi.storage.gke.io_gke-123e7f293d3a4ad787ad-a9ed-68dc-vm_5fa96b17-d859-4109-a90f-392fd8654670 logger.go:42: 20:50:11 | users | 2025-03-06 20:48:12 +0000 UTC Normal StatefulSet.apps users-instance1-s6gr SuccessfulCreate create Pod users-instance1-s6gr-0 in StatefulSet users-instance1-s6gr successful statefulset-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:13 +0000 UTC Normal PersistentVolumeClaim users-instance1-rd6k-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: 20:50:11 | users | 2025-03-06 20:48:13 +0000 UTC Normal PersistentVolumeClaim users-instance1-rd6k-pgdata Provisioning External provisioner is provisioning volume for claim "kuttl-test-pleased-redfish/users-instance1-rd6k-pgdata" pd.csi.storage.gke.io_gke-123e7f293d3a4ad787ad-a9ed-68dc-vm_5fa96b17-d859-4109-a90f-392fd8654670 logger.go:42: 20:50:11 | users | 2025-03-06 20:48:13 +0000 UTC Normal StatefulSet.apps users-instance1-rd6k SuccessfulCreate create Pod users-instance1-rd6k-0 in StatefulSet users-instance1-rd6k successful statefulset-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:13 +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-pleased-redfish/users-pgbackrest: serviceaccount "users-pgbackrest" not found statefulset-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:13 +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: 20:50:11 | users | 2025-03-06 20:48:13 +0000 UTC Normal PersistentVolumeClaim users-repo1 WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:13 +0000 UTC Normal PersistentVolumeClaim users-repo1 Provisioning External provisioner is provisioning volume for claim "kuttl-test-pleased-redfish/users-repo1" pd.csi.storage.gke.io_gke-123e7f293d3a4ad787ad-a9ed-68dc-vm_5fa96b17-d859-4109-a90f-392fd8654670 logger.go:42: 20:50:11 | users | 2025-03-06 20:48:13 +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: 20:50:11 | users | 2025-03-06 20:48:13 +0000 UTC Normal PostgresCluster.postgres-operator.crunchydata.com users RepoHostCreated created pgBackRest repository host StatefulSet/users-repo-host postgrescluster-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:14 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-9bkxq Binding Scheduled Successfully assigned kuttl-test-pleased-redfish/users-pgbouncer-5f68d67544-9bkxq to gke-jen-pg-1071-9ab56343-default-pool-81c82c4b-thm7 default-scheduler logger.go:42: 20:50:11 | users | 2025-03-06 20:48:14 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-hkvpz Binding Scheduled Successfully assigned kuttl-test-pleased-redfish/users-pgbouncer-5f68d67544-hkvpz to gke-jen-pg-1071-9ab56343-default-pool-81c82c4b-2dxf default-scheduler logger.go:42: 20:50:11 | users | 2025-03-06 20:48:14 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-n5wdg Binding Scheduled Successfully assigned kuttl-test-pleased-redfish/users-pgbouncer-5f68d67544-n5wdg to gke-jen-pg-1071-9ab56343-default-pool-81c82c4b-kpq3 default-scheduler logger.go:42: 20:50:11 | users | 2025-03-06 20:48:14 +0000 UTC Normal ReplicaSet.apps users-pgbouncer-5f68d67544 SuccessfulCreate Created pod: users-pgbouncer-5f68d67544-n5wdg replicaset-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:14 +0000 UTC Normal ReplicaSet.apps users-pgbouncer-5f68d67544 SuccessfulCreate Created pod: users-pgbouncer-5f68d67544-9bkxq replicaset-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:14 +0000 UTC Normal ReplicaSet.apps users-pgbouncer-5f68d67544 SuccessfulCreate Created pod: users-pgbouncer-5f68d67544-hkvpz replicaset-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:14 +0000 UTC Normal Deployment.apps users-pgbouncer ScalingReplicaSet Scaled up replica set users-pgbouncer-5f68d67544 to 3 deployment-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:14 +0000 UTC Normal PodDisruptionBudget.policy users-pgbouncer NoPods No matching pods found controllermanager logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod pg-client-6cc584874-wjl77.spec.containers{pg-client} Pulled Successfully pulled image "perconalab/percona-distribution-postgresql:15" in 13.256s (13.256s including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod pg-client-6cc584874-wjl77.spec.containers{pg-client} Created Created container: pg-client kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod pg-client-6cc584874-wjl77.spec.containers{pg-client} Started Started container pg-client kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal PersistentVolumeClaim users-instance1-s6gr-pgdata ProvisioningSucceeded Successfully provisioned volume pvc-15f48395-56e4-4481-b75b-bf21e307b72f pd.csi.storage.gke.io_gke-123e7f293d3a4ad787ad-a9ed-68dc-vm_5fa96b17-d859-4109-a90f-392fd8654670 logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-9bkxq.spec.containers{pgbouncer} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-9bkxq.spec.containers{pgbouncer} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" in 175ms (175ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-9bkxq.spec.containers{pgbouncer} Created Created container: pgbouncer kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-9bkxq.spec.containers{pgbouncer} Started Started container pgbouncer kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-9bkxq.spec.containers{pgbouncer-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-9bkxq.spec.containers{pgbouncer-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" in 110ms (110ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-9bkxq.spec.containers{pgbouncer-config} Created Created container: pgbouncer-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-9bkxq.spec.containers{pgbouncer-config} Started Started container pgbouncer-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-hkvpz.spec.containers{pgbouncer} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-hkvpz.spec.containers{pgbouncer} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" in 108ms (108ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-hkvpz.spec.containers{pgbouncer} Created Created container: pgbouncer kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-hkvpz.spec.containers{pgbouncer} Started Started container pgbouncer kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-hkvpz.spec.containers{pgbouncer-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-hkvpz.spec.containers{pgbouncer-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" in 108ms (108ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-hkvpz.spec.containers{pgbouncer-config} Created Created container: pgbouncer-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-hkvpz.spec.containers{pgbouncer-config} Started Started container pgbouncer-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-n5wdg.spec.containers{pgbouncer} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-n5wdg.spec.containers{pgbouncer} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" in 107ms (108ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-n5wdg.spec.containers{pgbouncer} Created Created container: pgbouncer kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-n5wdg.spec.containers{pgbouncer} Started Started container pgbouncer kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:15 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-n5wdg.spec.containers{pgbouncer-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:16 +0000 UTC Normal PersistentVolumeClaim users-instance1-5hxx-pgdata ProvisioningSucceeded Successfully provisioned volume pvc-b79de879-e01b-400f-9df8-aa623795ef8b pd.csi.storage.gke.io_gke-123e7f293d3a4ad787ad-a9ed-68dc-vm_5fa96b17-d859-4109-a90f-392fd8654670 logger.go:42: 20:50:11 | users | 2025-03-06 20:48:16 +0000 UTC Normal PersistentVolumeClaim users-instance1-rd6k-pgdata ProvisioningSucceeded Successfully provisioned volume pvc-333a1128-9290-439d-8fd3-28a98099c238 pd.csi.storage.gke.io_gke-123e7f293d3a4ad787ad-a9ed-68dc-vm_5fa96b17-d859-4109-a90f-392fd8654670 logger.go:42: 20:50:11 | users | 2025-03-06 20:48:16 +0000 UTC Normal Pod users-instance1-s6gr-0 Binding Scheduled Successfully assigned kuttl-test-pleased-redfish/users-instance1-s6gr-0 to gke-jen-pg-1071-9ab56343-default-pool-81c82c4b-thm7 default-scheduler logger.go:42: 20:50:11 | users | 2025-03-06 20:48:16 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-n5wdg.spec.containers{pgbouncer-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbouncer" in 137ms (137ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:16 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-n5wdg.spec.containers{pgbouncer-config} Created Created container: pgbouncer-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:16 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-n5wdg.spec.containers{pgbouncer-config} Started Started container pgbouncer-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:17 +0000 UTC Normal Pod users-instance1-5hxx-0 Binding Scheduled Successfully assigned kuttl-test-pleased-redfish/users-instance1-5hxx-0 to gke-jen-pg-1071-9ab56343-default-pool-81c82c4b-kpq3 default-scheduler logger.go:42: 20:50:11 | users | 2025-03-06 20:48:17 +0000 UTC Normal Pod users-instance1-rd6k-0 Binding Scheduled Successfully assigned kuttl-test-pleased-redfish/users-instance1-rd6k-0 to gke-jen-pg-1071-9ab56343-default-pool-81c82c4b-2dxf default-scheduler logger.go:42: 20:50:11 | users | 2025-03-06 20:48:17 +0000 UTC Warning Pod users-instance1-s6gr-0 FailedMount MountVolume.SetUp failed for volume "pgbackrest-server" : failed to sync secret cache: timed out waiting for the condition kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:17 +0000 UTC Warning Pod users-instance1-s6gr-0 FailedMount MountVolume.SetUp failed for volume "pgbackrest-config" : failed to sync configmap cache: timed out waiting for the condition kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:17 +0000 UTC Warning Pod users-instance1-s6gr-0 FailedMount MountVolume.SetUp failed for volume "patroni-config" : failed to sync configmap cache: timed out waiting for the condition kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:17 +0000 UTC Normal Pod users-repo-host-0 Binding Scheduled Successfully assigned kuttl-test-pleased-redfish/users-repo-host-0 to gke-jen-pg-1071-9ab56343-default-pool-81c82c4b-thm7 default-scheduler logger.go:42: 20:50:11 | users | 2025-03-06 20:48:17 +0000 UTC Normal PersistentVolumeClaim users-repo1 ProvisioningSucceeded Successfully provisioned volume pvc-ed8196bb-1944-4606-9675-1cd6f4db1eeb pd.csi.storage.gke.io_gke-123e7f293d3a4ad787ad-a9ed-68dc-vm_5fa96b17-d859-4109-a90f-392fd8654670 logger.go:42: 20:50:11 | users | 2025-03-06 20:48:23 +0000 UTC Normal Pod users-patroni-version-check Binding Scheduled Successfully assigned kuttl-test-pleased-redfish/users-patroni-version-check to gke-jen-pg-1071-9ab56343-default-pool-81c82c4b-thm7 default-scheduler logger.go:42: 20:50:11 | users | 2025-03-06 20:48:24 +0000 UTC Normal Pod users-instance1-rd6k-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-333a1128-9290-439d-8fd3-28a98099c238" attachdetach-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:24 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Pulled Container image "perconalab/percona-postgresql-operator:main-ppg17-postgres" already present on machine kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:24 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Created Created container: patroni-version-check kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:24 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Started Started container patroni-version-check kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:25 +0000 UTC Normal Pod users-instance1-5hxx-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-b79de879-e01b-400f-9df8-aa623795ef8b" attachdetach-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:25 +0000 UTC Normal Pod users-instance1-s6gr-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-15f48395-56e4-4481-b75b-bf21e307b72f" attachdetach-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:26 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.initContainers{postgres-startup} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:26 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.initContainers{postgres-startup} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 136ms (136ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:26 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.initContainers{postgres-startup} Created Created container: postgres-startup kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:26 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.initContainers{postgres-startup} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:26 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.initContainers{postgres-startup} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 131ms (131ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:26 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.initContainers{postgres-startup} Created Created container: postgres-startup kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:26 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.initContainers{postgres-startup} Started Started container postgres-startup kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:26 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.initContainers{postgres-startup} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:26 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.initContainers{postgres-startup} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 153ms (153ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:26 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.initContainers{postgres-startup} Created Created container: postgres-startup kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:26 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.initContainers{postgres-startup} Started Started container postgres-startup kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.initContainers{postgres-startup} Started Started container postgres-startup kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 135ms (135ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 131ms (131ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 136ms (136ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:27 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{database} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{database} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 114ms (114ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{database} Created Created container: database kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{database} Started Started container database kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{replication-cert-copy} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{replication-cert-copy} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 129ms (129ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{replication-cert-copy} Created Created container: replication-cert-copy kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{replication-cert-copy} Started Started container replication-cert-copy kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" in 123ms (123ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{database} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{database} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 104ms (104ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{database} Created Created container: database kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{database} Started Started container database kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{replication-cert-copy} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{database} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{database} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 123ms (123ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{database} Created Created container: database kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{database} Started Started container database kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{replication-cert-copy} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-postgres" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{replication-cert-copy} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 163ms (163ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{replication-cert-copy} Created Created container: replication-cert-copy kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{replication-cert-copy} Started Started container replication-cert-copy kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" in 147ms (147ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:28 +0000 UTC Normal Pod users-repo-host-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-ed8196bb-1944-4606-9675-1cd6f4db1eeb" attachdetach-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" in 135ms (135ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-5hxx-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{replication-cert-copy} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-postgres" in 164ms (164ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{replication-cert-copy} Created Created container: replication-cert-copy kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{replication-cert-copy} Started Started container replication-cert-copy kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" in 117ms (117ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" in 109ms (109ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-instance1-s6gr-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" in 138ms (138ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-patroni-version-check.spec.containers{patroni-version-check} Killing Stopping container patroni-version-check kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:29 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:30 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" in 131ms (131ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:30 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Created Created container: pgbackrest-log-dir kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:30 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{pgbackrest-log-dir} Started Started container pgbackrest-log-dir kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:31 +0000 UTC Warning Pod users-instance1-5hxx-0.spec.containers{database} Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 503 kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:31 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:31 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" in 125ms (125ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:31 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Created Created container: nss-wrapper-init kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:31 +0000 UTC Normal Pod users-repo-host-0.spec.initContainers{nss-wrapper-init} Started Started container nss-wrapper-init kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:32 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:32 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" in 137ms (137ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:32 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:32 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:32 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:32 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" in 130ms (131ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:32 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Created Created container: pgbackrest-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:32 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Started Started container pgbackrest-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:34 +0000 UTC Normal PostgresCluster.postgres-operator.crunchydata.com users StanzasCreated pgBackRest stanza creation completed successfully postgrescluster-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:35 +0000 UTC Normal Pod users-backup-2jgr-8wcbh Binding Scheduled Successfully assigned kuttl-test-pleased-redfish/users-backup-2jgr-8wcbh to gke-jen-pg-1071-9ab56343-default-pool-81c82c4b-kpq3 default-scheduler logger.go:42: 20:50:11 | users | 2025-03-06 20:48:35 +0000 UTC Normal Pod users-backup-2jgr-8wcbh.spec.containers{pgbackrest} Pulling Pulling image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:35 +0000 UTC Normal Pod users-backup-2jgr-8wcbh.spec.containers{pgbackrest} Pulled Successfully pulled image "perconalab/percona-postgresql-operator:main-ppg17-pgbackrest" in 115ms (115ms including waiting) kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:35 +0000 UTC Normal Pod users-backup-2jgr-8wcbh.spec.containers{pgbackrest} Created Created container: pgbackrest kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:48:35 +0000 UTC Normal Job.batch users-backup-2jgr SuccessfulCreate Created pod: users-backup-2jgr-8wcbh job-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:48:36 +0000 UTC Normal Pod users-backup-2jgr-8wcbh.spec.containers{pgbackrest} Started Started container pgbackrest kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:49:02 +0000 UTC Normal Job.batch users-backup-2jgr Completed Job completed job-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:49:57 +0000 UTC Normal StatefulSet.apps users-instance1-5hxx SuccessfulDelete delete Pod users-instance1-5hxx-0 in StatefulSet users-instance1-5hxx successful statefulset-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:49:58 +0000 UTC Normal Pod users-instance1-rd6k-0.spec.containers{database} Killing Stopping container database kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:49:58 +0000 UTC Normal StatefulSet.apps users-instance1-rd6k SuccessfulDelete delete Pod users-instance1-rd6k-0 in StatefulSet users-instance1-rd6k successful statefulset-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:50:00 +0000 UTC Normal StatefulSet.apps users-instance1-s6gr SuccessfulDelete delete Pod users-instance1-s6gr-0 in StatefulSet users-instance1-s6gr successful statefulset-controller logger.go:42: 20:50:11 | users | 2025-03-06 20:50:02 +0000 UTC Normal PodDisruptionBudget.policy users-set-instance1 NoPods No matching pods found controllermanager logger.go:42: 20:50:11 | users | 2025-03-06 20:50:03 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-9bkxq.spec.containers{pgbouncer} Killing Stopping container pgbouncer kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:50:03 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-9bkxq.spec.containers{pgbouncer-config} Killing Stopping container pgbouncer-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:50:03 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-n5wdg.spec.containers{pgbouncer} Killing Stopping container pgbouncer kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:50:03 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-n5wdg.spec.containers{pgbouncer-config} Killing Stopping container pgbouncer-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:50:03 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest} Killing Stopping container pgbackrest kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:50:03 +0000 UTC Normal Pod users-repo-host-0.spec.containers{pgbackrest-config} Killing Stopping container pgbackrest-config kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:50:04 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-hkvpz.spec.containers{pgbouncer} Killing Stopping container pgbouncer kubelet logger.go:42: 20:50:11 | users | 2025-03-06 20:50:04 +0000 UTC Normal Pod users-pgbouncer-5f68d67544-hkvpz.spec.containers{pgbouncer-config} Killing Stopping container pgbouncer-config kubelet logger.go:42: 20:50:11 | users | Deleting namespace: kuttl-test-pleased-redfish === NAME kuttl harness.go:407: run tests finished harness.go:515: cleaning up harness.go:572: removing temp folder: "" --- PASS: kuttl (179.88s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/users (179.43s) PASS