=== RUN kuttl harness.go:464: starting setup harness.go:255: running tests using configured kubeconfig. harness.go:278: Successful connection to cluster at: https://34.56.201.105 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 34 tests === RUN kuttl/harness === RUN kuttl/harness/gr-security-context === PAUSE kuttl/harness/gr-security-context === CONT kuttl/harness/gr-security-context logger.go:42: 19:26:38 | gr-security-context | Creating namespace: kuttl-test-hopeful-pika logger.go:42: 19:26:39 | gr-security-context/0-minio-secret | starting test step 0-minio-secret logger.go:42: 19:26:39 | gr-security-context/0-minio-secret | Secret:kuttl-test-hopeful-pika/minio-secret created logger.go:42: 19:26:39 | gr-security-context/0-minio-secret | test step completed 0-minio-secret logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | starting test step 1-deploy-operator logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | running command: [sh -c set -o errexit set -o xtrace source ../../functions init_temp_dir # do this only in the first TestStep apply_s3_storage_secrets deploy_operator deploy_non_tls_cluster_secrets deploy_tls_cluster_secrets deploy_client deploy_minio] logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | + source ../../functions logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ realpath ../../.. logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | ++++ pwd logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ basename /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/tests/gr-security-context logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | ++ test_name=gr-security-context logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | ++ source /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/vars.sh logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export GIT_BRANCH=PR-894 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ GIT_BRANCH=PR-894 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export VERSION=PR-894-9a9e1046 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ VERSION=PR-894-9a9e1046 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ export CERT_MANAGER_VER=1.16.3 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ CERT_MANAGER_VER=1.16.3 logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | ++++ which gdate logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | which: no gdate in (/mnt/jenkins/workspace/cloud-ps-operator_PR-894/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | ++++ which date logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ date=/usr/bin/date logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ oc get projects logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ : logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ kubectl get nodes logger.go:42: 19:26:39 | gr-security-context/1-deploy-operator | +++ grep '^minikube' logger.go:42: 19:26:40 | gr-security-context/1-deploy-operator | ++ oc get projects logger.go:42: 19:26:40 | gr-security-context/1-deploy-operator | + init_temp_dir logger.go:42: 19:26:40 | gr-security-context/1-deploy-operator | + rm -rf /tmp/kuttl/ps/gr-security-context logger.go:42: 19:26:40 | gr-security-context/1-deploy-operator | + mkdir -p /tmp/kuttl/ps/gr-security-context logger.go:42: 19:26:40 | gr-security-context/1-deploy-operator | + apply_s3_storage_secrets logger.go:42: 19:26:40 | gr-security-context/1-deploy-operator | + kubectl -n kuttl-test-hopeful-pika apply -f /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf/minio-secret.yml logger.go:42: 19:26:41 | gr-security-context/1-deploy-operator | Warning: resource secrets/minio-secret is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically. logger.go:42: 19:26:41 | gr-security-context/1-deploy-operator | secret/minio-secret configured logger.go:42: 19:26:41 | gr-security-context/1-deploy-operator | + kubectl -n kuttl-test-hopeful-pika apply -f /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf/cloud-secret.yml logger.go:42: 19:26:42 | gr-security-context/1-deploy-operator | secret/aws-s3-secret created logger.go:42: 19:26:42 | gr-security-context/1-deploy-operator | secret/gcp-cs-secret created logger.go:42: 19:26:42 | gr-security-context/1-deploy-operator | secret/azure-secret created logger.go:42: 19:26:42 | gr-security-context/1-deploy-operator | + deploy_operator logger.go:42: 19:26:42 | gr-security-context/1-deploy-operator | + destroy_operator logger.go:42: 19:26:42 | gr-security-context/1-deploy-operator | + kubectl -n ps-operator delete deployment percona-server-mysql-operator --force --grace-period=0 logger.go:42: 19:26:42 | gr-security-context/1-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: 19:26:43 | gr-security-context/1-deploy-operator | Error from server (NotFound): deployments.apps "percona-server-mysql-operator" not found logger.go:42: 19:26:43 | gr-security-context/1-deploy-operator | + true logger.go:42: 19:26:43 | gr-security-context/1-deploy-operator | + [[ -n ps-operator ]] logger.go:42: 19:26:43 | gr-security-context/1-deploy-operator | + kubectl delete namespace ps-operator --force --grace-period=0 logger.go:42: 19:26:43 | gr-security-context/1-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: 19:26:44 | gr-security-context/1-deploy-operator | Error from server (NotFound): namespaces "ps-operator" not found logger.go:42: 19:26:44 | gr-security-context/1-deploy-operator | + true logger.go:42: 19:26:44 | gr-security-context/1-deploy-operator | + [[ -n ps-operator ]] logger.go:42: 19:26:44 | gr-security-context/1-deploy-operator | + create_namespace ps-operator logger.go:42: 19:26:44 | gr-security-context/1-deploy-operator | + local namespace=ps-operator logger.go:42: 19:26:44 | gr-security-context/1-deploy-operator | + [[ -n '' ]] logger.go:42: 19:26:44 | gr-security-context/1-deploy-operator | + kubectl delete namespace ps-operator --ignore-not-found logger.go:42: 19:26:45 | gr-security-context/1-deploy-operator | + kubectl wait --for=delete namespace ps-operator logger.go:42: 19:26:45 | gr-security-context/1-deploy-operator | + kubectl create namespace ps-operator logger.go:42: 19:26:45 | gr-security-context/1-deploy-operator | namespace/ps-operator created logger.go:42: 19:26:45 | gr-security-context/1-deploy-operator | + kubectl -n ps-operator apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy/crd.yaml logger.go:42: 19:26:46 | gr-security-context/1-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconaservermysqlbackups.ps.percona.com serverside-applied logger.go:42: 19:26:47 | gr-security-context/1-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconaservermysqlrestores.ps.percona.com serverside-applied logger.go:42: 19:26:48 | gr-security-context/1-deploy-operator | customresourcedefinition.apiextensions.k8s.io/perconaservermysqls.ps.percona.com serverside-applied logger.go:42: 19:26:48 | gr-security-context/1-deploy-operator | + '[' -n ps-operator ']' logger.go:42: 19:26:48 | gr-security-context/1-deploy-operator | + kubectl -n ps-operator apply -f /mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy/cw-rbac.yaml logger.go:42: 19:26:49 | gr-security-context/1-deploy-operator | serviceaccount/percona-server-mysql-operator created logger.go:42: 19:26:50 | gr-security-context/1-deploy-operator | role.rbac.authorization.k8s.io/percona-server-mysql-operator-leaderelection created logger.go:42: 19:26:50 | gr-security-context/1-deploy-operator | clusterrole.rbac.authorization.k8s.io/percona-server-mysql-operator unchanged logger.go:42: 19:26:50 | gr-security-context/1-deploy-operator | rolebinding.rbac.authorization.k8s.io/percona-server-mysql-operator-leaderelection created logger.go:42: 19:26:50 | gr-security-context/1-deploy-operator | clusterrolebinding.rbac.authorization.k8s.io/percona-server-mysql-operator unchanged logger.go:42: 19:26:50 | gr-security-context/1-deploy-operator | + yq eval '(select(documentIndex==1).spec.template.spec.containers[] | select(.name=="manager").env[] | select(.name=="DISABLE_TELEMETRY").value) = "true"' logger.go:42: 19:26:50 | gr-security-context/1-deploy-operator | + yq eval '(select(documentIndex==1).spec.template.spec.containers[] | select(.name=="manager").env[] | select(.name=="LOG_LEVEL").value) = "DEBUG"' logger.go:42: 19:26:50 | gr-security-context/1-deploy-operator | + kubectl -n ps-operator apply -f - logger.go:42: 19:26:50 | gr-security-context/1-deploy-operator | ++ printf 'select(documentIndex==1).spec.template.spec.containers[0].image="%s"' perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:26:50 | gr-security-context/1-deploy-operator | + yq eval 'select(documentIndex==1).spec.template.spec.containers[0].image="perconalab/percona-server-mysql-operator:PR-894-9a9e1046"' /mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy/cw-operator.yaml logger.go:42: 19:26:51 | gr-security-context/1-deploy-operator | configmap/percona-server-mysql-operator-config created logger.go:42: 19:26:52 | gr-security-context/1-deploy-operator | deployment.apps/percona-server-mysql-operator created logger.go:42: 19:26:52 | gr-security-context/1-deploy-operator | + deploy_non_tls_cluster_secrets logger.go:42: 19:26:52 | gr-security-context/1-deploy-operator | + kubectl -n kuttl-test-hopeful-pika apply -f /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf/secrets.yaml logger.go:42: 19:26:52 | gr-security-context/1-deploy-operator | secret/test-secrets created logger.go:42: 19:26:52 | gr-security-context/1-deploy-operator | + deploy_tls_cluster_secrets logger.go:42: 19:26:52 | gr-security-context/1-deploy-operator | + kubectl -n kuttl-test-hopeful-pika apply -f /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf/ssl-secret.yaml logger.go:42: 19:26:53 | gr-security-context/1-deploy-operator | secret/test-ssl created logger.go:42: 19:26:53 | gr-security-context/1-deploy-operator | + deploy_client logger.go:42: 19:26:53 | gr-security-context/1-deploy-operator | + kubectl -n kuttl-test-hopeful-pika apply -f /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf/client.yaml logger.go:42: 19:26:54 | gr-security-context/1-deploy-operator | pod/mysql-client created logger.go:42: 19:26:54 | gr-security-context/1-deploy-operator | + deploy_minio logger.go:42: 19:26:54 | gr-security-context/1-deploy-operator | + local access_key logger.go:42: 19:26:54 | gr-security-context/1-deploy-operator | + local secret_key logger.go:42: 19:26:54 | gr-security-context/1-deploy-operator | ++ kubectl -n kuttl-test-hopeful-pika get secret minio-secret -o 'jsonpath={.data.AWS_ACCESS_KEY_ID}' logger.go:42: 19:26:54 | gr-security-context/1-deploy-operator | ++ base64 -d logger.go:42: 19:26:55 | gr-security-context/1-deploy-operator | + access_key=some-access-key logger.go:42: 19:26:55 | gr-security-context/1-deploy-operator | ++ kubectl -n kuttl-test-hopeful-pika get secret minio-secret -o 'jsonpath={.data.AWS_SECRET_ACCESS_KEY}' logger.go:42: 19:26:55 | gr-security-context/1-deploy-operator | ++ base64 -d logger.go:42: 19:26:55 | gr-security-context/1-deploy-operator | + secret_key=some-secret-key logger.go:42: 19:26:55 | gr-security-context/1-deploy-operator | + helm uninstall -n kuttl-test-hopeful-pika minio-service logger.go:42: 19:26:55 | gr-security-context/1-deploy-operator | WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /mnt/jenkins/workspace/cloud-ps-operator_PR-894/kubeconfig logger.go:42: 19:26:55 | gr-security-context/1-deploy-operator | WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /mnt/jenkins/workspace/cloud-ps-operator_PR-894/kubeconfig logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | Error: uninstall: Release not loaded: minio-service: release: not found logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | + : logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | + helm repo remove minio logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /mnt/jenkins/workspace/cloud-ps-operator_PR-894/kubeconfig logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /mnt/jenkins/workspace/cloud-ps-operator_PR-894/kubeconfig logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | Error: no repositories configured logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | + : logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | + helm repo add minio https://charts.min.io/ logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /mnt/jenkins/workspace/cloud-ps-operator_PR-894/kubeconfig logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /mnt/jenkins/workspace/cloud-ps-operator_PR-894/kubeconfig logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | "minio" has been added to your repositories logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | +++ printf %q some-access-key logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | ++ printf %q some-access-key logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | +++ printf %q some-secret-key logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | ++ printf %q some-secret-key logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | + retry 10 60 helm install minio-service -n kuttl-test-hopeful-pika --version 5.0.14 --set replicas=1 --set mode=standalone --set resources.requests.memory=256Mi --set rootUser=rootuser --set rootPassword=rootpass123 --set 'users[0].accessKey=some-access-key' --set 'users[0].secretKey=some-secret-key' --set 'users[0].policy=consoleAdmin' --set service.type=ClusterIP --set configPathmc=/tmp/.minio/ --set persistence.size=2G --set securityContext.enabled=false minio/minio logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | + local max=10 logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | + local delay=60 logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | + shift 2 logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | + local n=1 logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | + helm install minio-service -n kuttl-test-hopeful-pika --version 5.0.14 --set replicas=1 --set mode=standalone --set resources.requests.memory=256Mi --set rootUser=rootuser --set rootPassword=rootpass123 --set 'users[0].accessKey=some-access-key' --set 'users[0].secretKey=some-secret-key' --set 'users[0].policy=consoleAdmin' --set service.type=ClusterIP --set configPathmc=/tmp/.minio/ --set persistence.size=2G --set securityContext.enabled=false minio/minio logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /mnt/jenkins/workspace/cloud-ps-operator_PR-894/kubeconfig logger.go:42: 19:26:56 | gr-security-context/1-deploy-operator | WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /mnt/jenkins/workspace/cloud-ps-operator_PR-894/kubeconfig logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | NAME: minio-service logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | LAST DEPLOYED: Mon May 12 19:26:57 2025 logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | NAMESPACE: kuttl-test-hopeful-pika logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | STATUS: deployed logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | REVISION: 1 logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | TEST SUITE: None logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | NOTES: logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | MinIO can be accessed via port 9000 on the following DNS name from within your cluster: logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | minio-service.kuttl-test-hopeful-pika.svc.cluster.local logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | To access MinIO from localhost, run the below commands: logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | 1. export POD_NAME=$(kubectl get pods --namespace kuttl-test-hopeful-pika -l "release=minio-service" -o jsonpath="{.items[0].metadata.name}") logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | 2. kubectl port-forward $POD_NAME 9000 --namespace kuttl-test-hopeful-pika logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | You can now access MinIO server on http://localhost:9000. Follow the below steps to connect to MinIO server with mc client: logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | 1. Download the MinIO mc client - https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | 2. export MC_HOST_minio-service-local=http://$(kubectl get secret --namespace kuttl-test-hopeful-pika minio-service -o jsonpath="{.data.rootUser}" | base64 --decode):$(kubectl get secret --namespace kuttl-test-hopeful-pika minio-service -o jsonpath="{.data.rootPassword}" | base64 --decode)@localhost:9000 logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | 3. mc ls minio-service-local logger.go:42: 19:27:29 | gr-security-context/1-deploy-operator | ++ kubectl -n kuttl-test-hopeful-pika get pods --selector=release=minio-service -o 'jsonpath={.items[].metadata.name}' logger.go:42: 19:27:30 | gr-security-context/1-deploy-operator | + MINIO_POD=minio-service-8967c7f7f-6g89x logger.go:42: 19:27:30 | gr-security-context/1-deploy-operator | + wait_pod minio-service-8967c7f7f-6g89x logger.go:42: 19:27:30 | gr-security-context/1-deploy-operator | + local pod=minio-service-8967c7f7f-6g89x logger.go:42: 19:27:30 | gr-security-context/1-deploy-operator | + set +o xtrace logger.go:42: 19:27:30 | gr-security-context/1-deploy-operator | minio-service-8967c7f7f-6g89xtrue logger.go:42: 19:27:30 | gr-security-context/1-deploy-operator | + kubectl -n kuttl-test-hopeful-pika run -i --rm aws-cli --image=perconalab/awscli --restart=Never -- bash -c 'AWS_ACCESS_KEY_ID='\''some-access-key'\'' AWS_SECRET_ACCESS_KEY='\''some-secret-key'\'' AWS_DEFAULT_REGION=us-east-1 /usr/bin/aws --endpoint-url http://minio-service:9000 s3 mb s3://operator-testing' logger.go:42: 19:27:35 | gr-security-context/1-deploy-operator | If you don't see a command prompt, try pressing enter. logger.go:42: 19:27:38 | gr-security-context/1-deploy-operator | pod "aws-cli" deleted [controller-runtime] log.SetLogger(...) was never called; logs will not be displayed. Detected at: > goroutine 52 [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?, 0xc000691f80?}) > /home/mowsiany/go/pkg/mod/github.com/go-logr/logr@v1.2.4/logr.go:336 +0x36 > sigs.k8s.io/controller-runtime/pkg/client.newClient(0x131ead3?, {0x0, 0xc00043c9a0, {0x1accd90, 0xc0000c2a00}, 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(0xc0000ea908?, {0x0, 0xc00043c9a0, {0x1accd90, 0xc0000c2a00}, 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(0xc0000ea908, {0x0, 0xc00043c9a0, {0x1accd90, 0xc0000c2a00}, 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(0xc000210608, 0xe7?) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/harness.go:323 +0x18e > github.com/kudobuilder/kuttl/pkg/test.(*Step).Create(0xc000512a90, 0xc0005c0680, {0xc00068ae40, 0x17}) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/step.go:177 +0x63 > github.com/kudobuilder/kuttl/pkg/test.(*Step).Run(0xc000512a90, 0xc0005c0680, {0xc00068ae40, 0x17}) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/step.go:457 +0x24a > github.com/kudobuilder/kuttl/pkg/test.(*Case).Run(0xc000436c80, 0xc0005c0680, 0xc0003d2e10) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/case.go:373 +0xaeb > github.com/kudobuilder/kuttl/pkg/test.(*Harness).RunTests.func1.1(0xc0005c0680) > /home/mowsiany/go/src/github.com/kudobuilder/kuttl/pkg/test/harness.go:401 +0x12e > testing.tRunner(0xc0005c0680, 0xc000588dc8) > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/testing/testing.go:1689 +0xfb > created by testing.(*T).Run in goroutine 51 > /nix/store/wkbckbd30nlhq4dxzg64q6y4vm1xx4fk-go-1.22.1/share/go/src/testing/testing.go:1742 +0x390 logger.go:42: 19:27:39 | gr-security-context/1-deploy-operator | running command: [sh -c kubectl assert exist-enhanced deployment percona-server-mysql-operator -n ${OPERATOR_NS:-$NAMESPACE} --field-selector status.readyReplicas=1] logger.go:42: 19:27:39 | gr-security-context/1-deploy-operator | ASSERT deployment percona-server-mysql-operator matching field criteria 'status.readyReplicas=1' should exist. logger.go:42: 19:27:39 | gr-security-context/1-deploy-operator | INFO Found 1 resource(s). logger.go:42: 19:27:39 | gr-security-context/1-deploy-operator | NAME NAMESPACE COL0 logger.go:42: 19:27:39 | gr-security-context/1-deploy-operator | percona-server-mysql-operator ps-operator 1 logger.go:42: 19:27:39 | gr-security-context/1-deploy-operator | ASSERT PASS logger.go:42: 19:27:39 | gr-security-context/1-deploy-operator | test step completed 1-deploy-operator logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | starting test step 2-create-cluster logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | running command: [sh -c set -o errexit set -o xtrace source ../../functions get_cr \ | yq eval '.spec.backup.storages.minio.type="s3"' - \ | yq eval '.spec.backup.storages.minio.s3.bucket="operator-testing"' - \ | yq eval '.spec.backup.storages.minio.s3.credentialsSecret="minio-secret"' - \ | yq eval ".spec.backup.storages.minio.s3.endpointUrl=\"http://minio-service.${NAMESPACE}:9000\"" - \ | yq eval '.spec.backup.storages.minio.s3.region="us-east-1"' - \ | yq eval ".spec.backup.storages.minio.podSecurityContext.supplementalGroups |= [1001, 1002, 1003]" - \ | yq eval '.spec.mysql.clusterType="group-replication"' - \ | yq eval ".spec.mysql.podSecurityContext.supplementalGroups |= [1001, 1002, 1003]" - \ | yq eval ".spec.proxy.router.enabled=false" - \ | yq eval ".spec.proxy.haproxy.enabled=true" - \ | yq eval ".spec.proxy.haproxy.podSecurityContext.supplementalGroups |= [1001, 1002, 1003]" - \ | ( if [[ -z $OPENSHIFT ]]; then yq eval ".spec.backup.storages.minio.containerSecurityContext.privileged=true" - \ | yq eval ".spec.backup.storages.minio.podSecurityContext.fsGroup=1001" - \ | yq eval ".spec.backup.containerSecurityContext.privileged=false" - \ | yq eval ".spec.mysql.containerSecurityContext.privileged=true" - \ | yq eval ".spec.mysql.podSecurityContext.fsGroup=1001" - \ | yq eval ".spec.proxy.haproxy.containerSecurityContext.privileged=true" - \ | yq eval ".spec.proxy.haproxy.podSecurityContext.fsGroup=1001" - else cat - fi ) \ | kubectl -n "${NAMESPACE}" apply -f - sleep 100 if [[ -z $OPENSHIFT ]]; then # For Haproxy FS_GROUP_HAPROXY=$(kubectl get statefulset gr-security-context-haproxy -n "${NAMESPACE}" -o jsonpath='{.spec.template.spec.securityContext.fsGroup}') if [[ "$FS_GROUP_HAPROXY" != "1001" ]]; then echo "Test Failed: fsGroup is not set to 1001 (found: $FS_GROUP_HAPROXY)." exit 1 fi # Check if all containers (including initContainers) have privileged: true PRIVILEGED_CONTAINERS_HAPROXY=$(kubectl get statefulset gr-security-context-haproxy -n "${NAMESPACE}" -o jsonpath='{.spec.template.spec.containers[*].securityContext.privileged}') PRIVILEGED_INIT_CONTAINERS_HAPROXY=$(kubectl get statefulset gr-security-context-haproxy -n "${NAMESPACE}" -o jsonpath='{.spec.template.spec.initContainers[*].securityContext.privileged}') if [[ "$PRIVILEGED_CONTAINERS_HAPROXY" != "true true" || "$PRIVILEGED_INIT_CONTAINERS_HAPROXY" != "true" ]]; then echo "Test Failed: Some containers are missing privileged: true." exit 1 fi # For mysql FS_GROUP_MYSQL=$(kubectl get statefulset gr-security-context-mysql -n "${NAMESPACE}" -o jsonpath='{.spec.template.spec.securityContext.fsGroup}') if [[ "$FS_GROUP_MYSQL" != "1001" ]]; then echo "Test Failed: fsGroup is not set to 1001 (found: $FS_GROUP_MYSQL)." exit 1 fi # Check if all containers (including initContainers) have privileged: true PRIVILEGED_CONTAINERS_MYSQL=$(kubectl get statefulset gr-security-context-mysql -n "${NAMESPACE}" -o jsonpath='{.spec.template.spec.containers[*].securityContext.privileged}') PRIVILEGED_INIT_CONTAINERS_MYSQL=$(kubectl get statefulset gr-security-context-mysql -n "${NAMESPACE}" -o jsonpath='{.spec.template.spec.initContainers[*].securityContext.privileged}') if [[ "$PRIVILEGED_CONTAINERS_MYSQL" != "true false" || "$PRIVILEGED_INIT_CONTAINERS_MYSQL" != "true" ]]; then echo "Test Failed: Some containers are missing privileged: true." exit 1 fi fi] logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | + source ../../functions logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ realpath ../../.. logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | ++++ pwd logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ basename /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/tests/gr-security-context logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | ++ test_name=gr-security-context logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | ++ source /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/vars.sh logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export GIT_BRANCH=PR-894 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ GIT_BRANCH=PR-894 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export VERSION=PR-894-9a9e1046 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ VERSION=PR-894-9a9e1046 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ export CERT_MANAGER_VER=1.16.3 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ CERT_MANAGER_VER=1.16.3 logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | ++++ which gdate logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | which: no gdate in (/mnt/jenkins/workspace/cloud-ps-operator_PR-894/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | ++++ which date logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ date=/usr/bin/date logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ oc get projects logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ : logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ kubectl get nodes logger.go:42: 19:27:39 | gr-security-context/2-create-cluster | +++ grep '^minikube' logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | ++ oc get projects logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + get_cr logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + local name_suffix= logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.backup.storages.minio.type="s3"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.backup.storages.minio.s3.bucket="operator-testing"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.backup.storages.minio.podSecurityContext.supplementalGroups |= [1001, 1002, 1003]' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + kubectl -n kuttl-test-hopeful-pika apply -f - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.mysql.clusterType="group-replication"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.mysql.podSecurityContext.supplementalGroups |= [1001, 1002, 1003]' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + [[ -z '' ]] logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.backup.storages.minio.s3.credentialsSecret="minio-secret"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.sslSecretName="test-ssl"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.upgradeOptions.apply="disabled"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.mysql.clusterType="async"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.proxy.haproxy.podSecurityContext.supplementalGroups |= [1001, 1002, 1003]' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval .spec.orchestrator.enabled=true - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval .spec.proxy.haproxy.enabled=true - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval .spec.proxy.router.enabled=false - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval .spec.proxy.haproxy.containerSecurityContext.privileged=true - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.backup.storages.minio.s3.endpointUrl="http://minio-service.kuttl-test-hopeful-pika:9000"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.backup.storages.minio.s3.region="us-east-1"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval .spec.backup.storages.minio.containerSecurityContext.privileged=true - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval .spec.backup.storages.minio.podSecurityContext.fsGroup=1001 - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval .spec.backup.containerSecurityContext.privileged=false - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval .spec.proxy.haproxy.podSecurityContext.fsGroup=1001 - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.secretsName="test-secrets"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval .spec.mysql.containerSecurityContext.privileged=true - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval .spec.mysql.podSecurityContext.fsGroup=1001 - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | ++ printf '.spec.initImage="%s"' perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.initImage="perconalab/percona-server-mysql-operator:PR-894-9a9e1046"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | ++ printf '.spec.mysql.image="%s"' perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.mysql.image="perconalab/percona-server-mysql-operator:main-psmysql"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + '[' -n '' ']' logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | ++ printf '.spec.pmm.image="%s"' perconalab/pmm-client:3-dev-latest logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.pmm.image="perconalab/pmm-client:3-dev-latest"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | ++ printf '.spec.proxy.haproxy.image="%s"' perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.proxy.haproxy.image="perconalab/percona-server-mysql-operator:main-haproxy"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | ++ printf '.spec.backup.image="%s"' perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.backup.image="perconalab/percona-server-mysql-operator:main-backup"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | ++ printf '.spec.toolkit.image="%s"' perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.toolkit.image="perconalab/percona-server-mysql-operator:main-toolkit"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | ++ printf '.metadata.name="%s"' gr-security-context logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | ++ printf '.spec.orchestrator.image="%s"' perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | ++ printf '.spec.proxy.router.image="%s"' perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.orchestrator.image="perconalab/percona-server-mysql-operator:main-orchestrator"' - logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.metadata.name="gr-security-context"' /mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy/cr.yaml logger.go:42: 19:27:40 | gr-security-context/2-create-cluster | + yq eval '.spec.proxy.router.image="perconalab/percona-server-mysql-operator:main-router"' - logger.go:42: 19:27:41 | gr-security-context/2-create-cluster | perconaservermysql.ps.percona.com/gr-security-context created logger.go:42: 19:27:41 | gr-security-context/2-create-cluster | + sleep 100 logger.go:42: 19:29:21 | gr-security-context/2-create-cluster | + [[ -z '' ]] logger.go:42: 19:29:21 | gr-security-context/2-create-cluster | ++ kubectl get statefulset gr-security-context-haproxy -n kuttl-test-hopeful-pika -o 'jsonpath={.spec.template.spec.securityContext.fsGroup}' logger.go:42: 19:29:21 | gr-security-context/2-create-cluster | + FS_GROUP_HAPROXY=1001 logger.go:42: 19:29:21 | gr-security-context/2-create-cluster | + [[ 1001 != \1\0\0\1 ]] logger.go:42: 19:29:21 | gr-security-context/2-create-cluster | ++ kubectl get statefulset gr-security-context-haproxy -n kuttl-test-hopeful-pika -o 'jsonpath={.spec.template.spec.containers[*].securityContext.privileged}' logger.go:42: 19:29:22 | gr-security-context/2-create-cluster | + PRIVILEGED_CONTAINERS_HAPROXY='true true' logger.go:42: 19:29:22 | gr-security-context/2-create-cluster | ++ kubectl get statefulset gr-security-context-haproxy -n kuttl-test-hopeful-pika -o 'jsonpath={.spec.template.spec.initContainers[*].securityContext.privileged}' logger.go:42: 19:29:22 | gr-security-context/2-create-cluster | + PRIVILEGED_INIT_CONTAINERS_HAPROXY=true logger.go:42: 19:29:22 | gr-security-context/2-create-cluster | + [[ true true != \t\r\u\e\ \t\r\u\e ]] logger.go:42: 19:29:22 | gr-security-context/2-create-cluster | + [[ true != \t\r\u\e ]] logger.go:42: 19:29:22 | gr-security-context/2-create-cluster | ++ kubectl get statefulset gr-security-context-mysql -n kuttl-test-hopeful-pika -o 'jsonpath={.spec.template.spec.securityContext.fsGroup}' logger.go:42: 19:29:23 | gr-security-context/2-create-cluster | + FS_GROUP_MYSQL=1001 logger.go:42: 19:29:23 | gr-security-context/2-create-cluster | + [[ 1001 != \1\0\0\1 ]] logger.go:42: 19:29:23 | gr-security-context/2-create-cluster | ++ kubectl get statefulset gr-security-context-mysql -n kuttl-test-hopeful-pika -o 'jsonpath={.spec.template.spec.containers[*].securityContext.privileged}' logger.go:42: 19:29:23 | gr-security-context/2-create-cluster | + PRIVILEGED_CONTAINERS_MYSQL='true false' logger.go:42: 19:29:23 | gr-security-context/2-create-cluster | ++ kubectl get statefulset gr-security-context-mysql -n kuttl-test-hopeful-pika -o 'jsonpath={.spec.template.spec.initContainers[*].securityContext.privileged}' logger.go:42: 19:29:24 | gr-security-context/2-create-cluster | + PRIVILEGED_INIT_CONTAINERS_MYSQL=true logger.go:42: 19:29:24 | gr-security-context/2-create-cluster | + [[ true false != \t\r\u\e\ \f\a\l\s\e ]] logger.go:42: 19:29:24 | gr-security-context/2-create-cluster | + [[ true != \t\r\u\e ]] logger.go:42: 19:31:10 | gr-security-context/2-create-cluster | test step completed 2-create-cluster logger.go:42: 19:31:10 | gr-security-context/3-write-data | starting test step 3-write-data logger.go:42: 19:31:10 | gr-security-context/3-write-data | running command: [sh -c set -o errexit set -o pipefail set -o xtrace source ../../functions run_mysql \ "CREATE DATABASE IF NOT EXISTS myDB; CREATE TABLE IF NOT EXISTS myDB.myTable (id int PRIMARY KEY)" \ "-h $(get_haproxy_svc $(get_cluster_name)) -uroot -proot_password" run_mysql \ "INSERT myDB.myTable (id) VALUES (100500)" \ "-h $(get_haproxy_svc $(get_cluster_name)) -uroot -proot_password"] logger.go:42: 19:31:10 | gr-security-context/3-write-data | + source ../../functions logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ realpath ../../.. logger.go:42: 19:31:10 | gr-security-context/3-write-data | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:31:10 | gr-security-context/3-write-data | ++++ pwd logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ basename /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/tests/gr-security-context logger.go:42: 19:31:10 | gr-security-context/3-write-data | ++ test_name=gr-security-context logger.go:42: 19:31:10 | gr-security-context/3-write-data | ++ source /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/vars.sh logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:31:10 | gr-security-context/3-write-data | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export GIT_BRANCH=PR-894 logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ GIT_BRANCH=PR-894 logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export VERSION=PR-894-9a9e1046 logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ VERSION=PR-894-9a9e1046 logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ export CERT_MANAGER_VER=1.16.3 logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ CERT_MANAGER_VER=1.16.3 logger.go:42: 19:31:10 | gr-security-context/3-write-data | ++++ which gdate logger.go:42: 19:31:10 | gr-security-context/3-write-data | which: no gdate in (/mnt/jenkins/workspace/cloud-ps-operator_PR-894/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 19:31:10 | gr-security-context/3-write-data | ++++ which date logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ date=/usr/bin/date logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ oc get projects logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ : logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ kubectl get nodes logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ grep '^minikube' logger.go:42: 19:31:10 | gr-security-context/3-write-data | ++ oc get projects logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ get_cluster_name logger.go:42: 19:31:10 | gr-security-context/3-write-data | +++ kubectl -n kuttl-test-hopeful-pika get ps -o 'jsonpath={.items[0].metadata.name}' logger.go:42: 19:31:11 | gr-security-context/3-write-data | ++ get_haproxy_svc gr-security-context logger.go:42: 19:31:11 | gr-security-context/3-write-data | ++ local cluster=gr-security-context logger.go:42: 19:31:11 | gr-security-context/3-write-data | ++ echo gr-security-context-haproxy logger.go:42: 19:31:11 | gr-security-context/3-write-data | + run_mysql 'CREATE DATABASE IF NOT EXISTS myDB; CREATE TABLE IF NOT EXISTS myDB.myTable (id int PRIMARY KEY)' '-h gr-security-context-haproxy -uroot -proot_password' logger.go:42: 19:31:11 | gr-security-context/3-write-data | + local 'command=CREATE DATABASE IF NOT EXISTS myDB; CREATE TABLE IF NOT EXISTS myDB.myTable (id int PRIMARY KEY)' logger.go:42: 19:31:11 | gr-security-context/3-write-data | + local 'uri=-h gr-security-context-haproxy -uroot -proot_password' logger.go:42: 19:31:11 | gr-security-context/3-write-data | + local pod= logger.go:42: 19:31:11 | gr-security-context/3-write-data | ++ get_client_pod logger.go:42: 19:31:11 | gr-security-context/3-write-data | ++ kubectl -n kuttl-test-hopeful-pika get pods --selector=name=mysql-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 19:31:11 | gr-security-context/3-write-data | + client_pod=mysql-client logger.go:42: 19:31:11 | gr-security-context/3-write-data | + wait_pod mysql-client logger.go:42: 19:31:11 | gr-security-context/3-write-data | + local pod=mysql-client logger.go:42: 19:31:11 | gr-security-context/3-write-data | + set +o xtrace logger.go:42: 19:31:11 | gr-security-context/3-write-data | mysql-clienttrue logger.go:42: 19:31:11 | gr-security-context/3-write-data | + sed -e 's/mysql: //' logger.go:42: 19:31:11 | gr-security-context/3-write-data | + grep -v 'Using a password on the command line interface can be insecure.' logger.go:42: 19:31:11 | gr-security-context/3-write-data | + kubectl -n kuttl-test-hopeful-pika exec mysql-client -- bash -c 'printf '\''%s\n'\'' "CREATE DATABASE IF NOT EXISTS myDB; CREATE TABLE IF NOT EXISTS myDB.myTable (id int PRIMARY KEY)" | mysql -sN -h gr-security-context-haproxy -uroot -proot_password' logger.go:42: 19:31:12 | gr-security-context/3-write-data | + : logger.go:42: 19:31:12 | gr-security-context/3-write-data | +++ get_cluster_name logger.go:42: 19:31:12 | gr-security-context/3-write-data | +++ kubectl -n kuttl-test-hopeful-pika get ps -o 'jsonpath={.items[0].metadata.name}' logger.go:42: 19:31:13 | gr-security-context/3-write-data | ++ get_haproxy_svc gr-security-context logger.go:42: 19:31:13 | gr-security-context/3-write-data | ++ local cluster=gr-security-context logger.go:42: 19:31:13 | gr-security-context/3-write-data | ++ echo gr-security-context-haproxy logger.go:42: 19:31:13 | gr-security-context/3-write-data | + run_mysql 'INSERT myDB.myTable (id) VALUES (100500)' '-h gr-security-context-haproxy -uroot -proot_password' logger.go:42: 19:31:13 | gr-security-context/3-write-data | + local 'command=INSERT myDB.myTable (id) VALUES (100500)' logger.go:42: 19:31:13 | gr-security-context/3-write-data | + local 'uri=-h gr-security-context-haproxy -uroot -proot_password' logger.go:42: 19:31:13 | gr-security-context/3-write-data | + local pod= logger.go:42: 19:31:13 | gr-security-context/3-write-data | ++ get_client_pod logger.go:42: 19:31:13 | gr-security-context/3-write-data | ++ kubectl -n kuttl-test-hopeful-pika get pods --selector=name=mysql-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 19:31:13 | gr-security-context/3-write-data | + client_pod=mysql-client logger.go:42: 19:31:13 | gr-security-context/3-write-data | + wait_pod mysql-client logger.go:42: 19:31:13 | gr-security-context/3-write-data | + local pod=mysql-client logger.go:42: 19:31:13 | gr-security-context/3-write-data | + set +o xtrace logger.go:42: 19:31:14 | gr-security-context/3-write-data | mysql-clienttrue logger.go:42: 19:31:14 | gr-security-context/3-write-data | + kubectl -n kuttl-test-hopeful-pika exec mysql-client -- bash -c 'printf '\''%s\n'\'' "INSERT myDB.myTable (id) VALUES (100500)" | mysql -sN -h gr-security-context-haproxy -uroot -proot_password' logger.go:42: 19:31:14 | gr-security-context/3-write-data | + sed -e 's/mysql: //' logger.go:42: 19:31:14 | gr-security-context/3-write-data | + grep -v 'Using a password on the command line interface can be insecure.' logger.go:42: 19:31:14 | gr-security-context/3-write-data | + : logger.go:42: 19:31:14 | gr-security-context/3-write-data | test step completed 3-write-data logger.go:42: 19:31:14 | gr-security-context/4-create-backup-minio | starting test step 4-create-backup-minio logger.go:42: 19:31:15 | gr-security-context/4-create-backup-minio | PerconaServerMySQLBackup:kuttl-test-hopeful-pika/gr-security-context-minio created logger.go:42: 19:31:16 | gr-security-context/4-create-backup-minio | test step completed 4-create-backup-minio logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | starting test step 5-check-backup-job logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | running command: [sh -c set -o errexit set -o pipefail set -o xtrace source ../../functions JOB_NAME="xb-gr-security-context-minio-minio" sleep 10 if [[ -z $OPENSHIFT ]]; then FS_GROUP=$(kubectl get job "$JOB_NAME" -n "$NAMESPACE" -o jsonpath='{.spec.template.spec.securityContext.fsGroup}') if [[ "$FS_GROUP" != "1001" ]]; then echo "Test Failed: fsGroup is not set to 1001 (found: $FS_GROUP)." exit 1 fi PRIVILEGED_CONTAINERS=$(kubectl get job "$JOB_NAME" -n "$NAMESPACE" -o jsonpath='{.spec.template.spec.containers[*].securityContext.privileged}') PRIVILEGED_INIT_CONTAINERS=$(kubectl get job "$JOB_NAME" -n "$NAMESPACE" -o jsonpath='{.spec.template.spec.initContainers[*].securityContext.privileged}') if [[ "$PRIVILEGED_CONTAINERS" != "true" && "$PRIVILEGED_INIT_CONTAINERS" != "true" ]]; then echo "Test Failed: Some containers are missing privileged: true." exit 1 fi fi] logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | + source ../../functions logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ realpath ../../.. logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | ++++ pwd logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ basename /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/tests/gr-security-context logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | ++ test_name=gr-security-context logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | ++ source /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/vars.sh logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export GIT_BRANCH=PR-894 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ GIT_BRANCH=PR-894 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export VERSION=PR-894-9a9e1046 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ VERSION=PR-894-9a9e1046 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ export CERT_MANAGER_VER=1.16.3 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ CERT_MANAGER_VER=1.16.3 logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | ++++ which gdate logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | which: no gdate in (/mnt/jenkins/workspace/cloud-ps-operator_PR-894/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | ++++ which date logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ date=/usr/bin/date logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ oc get projects logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ : logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ kubectl get nodes logger.go:42: 19:31:16 | gr-security-context/5-check-backup-job | +++ grep '^minikube' logger.go:42: 19:31:17 | gr-security-context/5-check-backup-job | ++ oc get projects logger.go:42: 19:31:17 | gr-security-context/5-check-backup-job | + JOB_NAME=xb-gr-security-context-minio-minio logger.go:42: 19:31:17 | gr-security-context/5-check-backup-job | + sleep 10 logger.go:42: 19:31:27 | gr-security-context/5-check-backup-job | + [[ -z '' ]] logger.go:42: 19:31:27 | gr-security-context/5-check-backup-job | ++ kubectl get job xb-gr-security-context-minio-minio -n kuttl-test-hopeful-pika -o 'jsonpath={.spec.template.spec.securityContext.fsGroup}' logger.go:42: 19:31:27 | gr-security-context/5-check-backup-job | + FS_GROUP=1001 logger.go:42: 19:31:27 | gr-security-context/5-check-backup-job | + [[ 1001 != \1\0\0\1 ]] logger.go:42: 19:31:27 | gr-security-context/5-check-backup-job | ++ kubectl get job xb-gr-security-context-minio-minio -n kuttl-test-hopeful-pika -o 'jsonpath={.spec.template.spec.containers[*].securityContext.privileged}' logger.go:42: 19:31:28 | gr-security-context/5-check-backup-job | + PRIVILEGED_CONTAINERS=true logger.go:42: 19:31:28 | gr-security-context/5-check-backup-job | ++ kubectl get job xb-gr-security-context-minio-minio -n kuttl-test-hopeful-pika -o 'jsonpath={.spec.template.spec.initContainers[*].securityContext.privileged}' logger.go:42: 19:31:28 | gr-security-context/5-check-backup-job | + PRIVILEGED_INIT_CONTAINERS=true logger.go:42: 19:31:28 | gr-security-context/5-check-backup-job | + [[ true != \t\r\u\e ]] logger.go:42: 19:31:28 | gr-security-context/5-check-backup-job | test step completed 5-check-backup-job logger.go:42: 19:31:28 | gr-security-context/6-delete-data | starting test step 6-delete-data logger.go:42: 19:31:28 | gr-security-context/6-delete-data | running command: [sh -c set -o errexit set -o xtrace source ../../functions run_mysql \ "TRUNCATE TABLE myDB.myTable" \ "-h $(get_haproxy_svc $(get_cluster_name)) -uroot -proot_password" cluster_name=$(get_cluster_name) for i in 0 1 2; do data=$(run_mysql "SELECT * FROM myDB.myTable" "-h ${cluster_name}-mysql-${i}.${cluster_name}-mysql -uroot -proot_password") kubectl create configmap -n "${NAMESPACE}" 04-delete-data-minio-${i} --from-literal=data="${data}" done] logger.go:42: 19:31:28 | gr-security-context/6-delete-data | + source ../../functions logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ realpath ../../.. logger.go:42: 19:31:28 | gr-security-context/6-delete-data | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | ++++ pwd logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ basename /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/tests/gr-security-context logger.go:42: 19:31:28 | gr-security-context/6-delete-data | ++ test_name=gr-security-context logger.go:42: 19:31:28 | gr-security-context/6-delete-data | ++ source /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/vars.sh logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:31:28 | gr-security-context/6-delete-data | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export GIT_BRANCH=PR-894 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ GIT_BRANCH=PR-894 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export VERSION=PR-894-9a9e1046 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ VERSION=PR-894-9a9e1046 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ export CERT_MANAGER_VER=1.16.3 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ CERT_MANAGER_VER=1.16.3 logger.go:42: 19:31:28 | gr-security-context/6-delete-data | ++++ which gdate logger.go:42: 19:31:28 | gr-security-context/6-delete-data | which: no gdate in (/mnt/jenkins/workspace/cloud-ps-operator_PR-894/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 19:31:28 | gr-security-context/6-delete-data | ++++ which date logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ date=/usr/bin/date logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ oc get projects logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ : logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ kubectl get nodes logger.go:42: 19:31:28 | gr-security-context/6-delete-data | +++ grep '^minikube' logger.go:42: 19:31:29 | gr-security-context/6-delete-data | ++ oc get projects logger.go:42: 19:31:29 | gr-security-context/6-delete-data | +++ get_cluster_name logger.go:42: 19:31:29 | gr-security-context/6-delete-data | +++ kubectl -n kuttl-test-hopeful-pika get ps -o 'jsonpath={.items[0].metadata.name}' logger.go:42: 19:31:29 | gr-security-context/6-delete-data | ++ get_haproxy_svc gr-security-context logger.go:42: 19:31:29 | gr-security-context/6-delete-data | ++ local cluster=gr-security-context logger.go:42: 19:31:29 | gr-security-context/6-delete-data | ++ echo gr-security-context-haproxy logger.go:42: 19:31:29 | gr-security-context/6-delete-data | + run_mysql 'TRUNCATE TABLE myDB.myTable' '-h gr-security-context-haproxy -uroot -proot_password' logger.go:42: 19:31:29 | gr-security-context/6-delete-data | + local 'command=TRUNCATE TABLE myDB.myTable' logger.go:42: 19:31:29 | gr-security-context/6-delete-data | + local 'uri=-h gr-security-context-haproxy -uroot -proot_password' logger.go:42: 19:31:29 | gr-security-context/6-delete-data | + local pod= logger.go:42: 19:31:29 | gr-security-context/6-delete-data | ++ get_client_pod logger.go:42: 19:31:29 | gr-security-context/6-delete-data | ++ kubectl -n kuttl-test-hopeful-pika get pods --selector=name=mysql-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 19:31:30 | gr-security-context/6-delete-data | + client_pod=mysql-client logger.go:42: 19:31:30 | gr-security-context/6-delete-data | + wait_pod mysql-client logger.go:42: 19:31:30 | gr-security-context/6-delete-data | + local pod=mysql-client logger.go:42: 19:31:30 | gr-security-context/6-delete-data | + set +o xtrace logger.go:42: 19:31:30 | gr-security-context/6-delete-data | mysql-clienttrue logger.go:42: 19:31:30 | gr-security-context/6-delete-data | + kubectl -n kuttl-test-hopeful-pika exec mysql-client -- bash -c 'printf '\''%s\n'\'' "TRUNCATE TABLE myDB.myTable" | mysql -sN -h gr-security-context-haproxy -uroot -proot_password' logger.go:42: 19:31:30 | gr-security-context/6-delete-data | + sed -e 's/mysql: //' logger.go:42: 19:31:30 | gr-security-context/6-delete-data | + grep -v 'Using a password on the command line interface can be insecure.' logger.go:42: 19:31:31 | gr-security-context/6-delete-data | + : logger.go:42: 19:31:31 | gr-security-context/6-delete-data | ++ get_cluster_name logger.go:42: 19:31:31 | gr-security-context/6-delete-data | ++ kubectl -n kuttl-test-hopeful-pika get ps -o 'jsonpath={.items[0].metadata.name}' logger.go:42: 19:31:31 | gr-security-context/6-delete-data | + cluster_name=gr-security-context logger.go:42: 19:31:31 | gr-security-context/6-delete-data | + for i in 0 1 2 logger.go:42: 19:31:31 | gr-security-context/6-delete-data | ++ run_mysql 'SELECT * FROM myDB.myTable' '-h gr-security-context-mysql-0.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:31:31 | gr-security-context/6-delete-data | ++ local 'command=SELECT * FROM myDB.myTable' logger.go:42: 19:31:31 | gr-security-context/6-delete-data | ++ local 'uri=-h gr-security-context-mysql-0.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:31:31 | gr-security-context/6-delete-data | ++ local pod= logger.go:42: 19:31:31 | gr-security-context/6-delete-data | +++ get_client_pod logger.go:42: 19:31:31 | gr-security-context/6-delete-data | +++ kubectl -n kuttl-test-hopeful-pika get pods --selector=name=mysql-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 19:31:32 | gr-security-context/6-delete-data | ++ client_pod=mysql-client logger.go:42: 19:31:32 | gr-security-context/6-delete-data | ++ wait_pod mysql-client logger.go:42: 19:31:32 | gr-security-context/6-delete-data | ++ local pod=mysql-client logger.go:42: 19:31:32 | gr-security-context/6-delete-data | ++ set +o xtrace logger.go:42: 19:31:32 | gr-security-context/6-delete-data | mysql-clienttrue logger.go:42: 19:31:32 | gr-security-context/6-delete-data | ++ kubectl -n kuttl-test-hopeful-pika exec mysql-client -- bash -c 'printf '\''%s\n'\'' "SELECT * FROM myDB.myTable" | mysql -sN -h gr-security-context-mysql-0.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:31:32 | gr-security-context/6-delete-data | ++ sed -e 's/mysql: //' logger.go:42: 19:31:32 | gr-security-context/6-delete-data | ++ grep -v 'Using a password on the command line interface can be insecure.' logger.go:42: 19:31:33 | gr-security-context/6-delete-data | ++ : logger.go:42: 19:31:33 | gr-security-context/6-delete-data | + data= logger.go:42: 19:31:33 | gr-security-context/6-delete-data | + kubectl create configmap -n kuttl-test-hopeful-pika 04-delete-data-minio-0 --from-literal=data= logger.go:42: 19:31:33 | gr-security-context/6-delete-data | configmap/04-delete-data-minio-0 created logger.go:42: 19:31:33 | gr-security-context/6-delete-data | + for i in 0 1 2 logger.go:42: 19:31:33 | gr-security-context/6-delete-data | ++ run_mysql 'SELECT * FROM myDB.myTable' '-h gr-security-context-mysql-1.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:31:33 | gr-security-context/6-delete-data | ++ local 'command=SELECT * FROM myDB.myTable' logger.go:42: 19:31:33 | gr-security-context/6-delete-data | ++ local 'uri=-h gr-security-context-mysql-1.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:31:33 | gr-security-context/6-delete-data | ++ local pod= logger.go:42: 19:31:33 | gr-security-context/6-delete-data | +++ get_client_pod logger.go:42: 19:31:33 | gr-security-context/6-delete-data | +++ kubectl -n kuttl-test-hopeful-pika get pods --selector=name=mysql-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 19:31:34 | gr-security-context/6-delete-data | ++ client_pod=mysql-client logger.go:42: 19:31:34 | gr-security-context/6-delete-data | ++ wait_pod mysql-client logger.go:42: 19:31:34 | gr-security-context/6-delete-data | ++ local pod=mysql-client logger.go:42: 19:31:34 | gr-security-context/6-delete-data | ++ set +o xtrace logger.go:42: 19:31:34 | gr-security-context/6-delete-data | mysql-clienttrue logger.go:42: 19:31:34 | gr-security-context/6-delete-data | ++ kubectl -n kuttl-test-hopeful-pika exec mysql-client -- bash -c 'printf '\''%s\n'\'' "SELECT * FROM myDB.myTable" | mysql -sN -h gr-security-context-mysql-1.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:31:34 | gr-security-context/6-delete-data | ++ sed -e 's/mysql: //' logger.go:42: 19:31:34 | gr-security-context/6-delete-data | ++ grep -v 'Using a password on the command line interface can be insecure.' logger.go:42: 19:31:35 | gr-security-context/6-delete-data | ++ : logger.go:42: 19:31:35 | gr-security-context/6-delete-data | + data= logger.go:42: 19:31:35 | gr-security-context/6-delete-data | + kubectl create configmap -n kuttl-test-hopeful-pika 04-delete-data-minio-1 --from-literal=data= logger.go:42: 19:31:35 | gr-security-context/6-delete-data | configmap/04-delete-data-minio-1 created logger.go:42: 19:31:35 | gr-security-context/6-delete-data | + for i in 0 1 2 logger.go:42: 19:31:35 | gr-security-context/6-delete-data | ++ run_mysql 'SELECT * FROM myDB.myTable' '-h gr-security-context-mysql-2.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:31:35 | gr-security-context/6-delete-data | ++ local 'command=SELECT * FROM myDB.myTable' logger.go:42: 19:31:35 | gr-security-context/6-delete-data | ++ local 'uri=-h gr-security-context-mysql-2.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:31:35 | gr-security-context/6-delete-data | ++ local pod= logger.go:42: 19:31:35 | gr-security-context/6-delete-data | +++ get_client_pod logger.go:42: 19:31:35 | gr-security-context/6-delete-data | +++ kubectl -n kuttl-test-hopeful-pika get pods --selector=name=mysql-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 19:31:36 | gr-security-context/6-delete-data | ++ client_pod=mysql-client logger.go:42: 19:31:36 | gr-security-context/6-delete-data | ++ wait_pod mysql-client logger.go:42: 19:31:36 | gr-security-context/6-delete-data | ++ local pod=mysql-client logger.go:42: 19:31:36 | gr-security-context/6-delete-data | ++ set +o xtrace logger.go:42: 19:31:36 | gr-security-context/6-delete-data | mysql-clienttrue logger.go:42: 19:31:36 | gr-security-context/6-delete-data | ++ kubectl -n kuttl-test-hopeful-pika exec mysql-client -- bash -c 'printf '\''%s\n'\'' "SELECT * FROM myDB.myTable" | mysql -sN -h gr-security-context-mysql-2.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:31:36 | gr-security-context/6-delete-data | ++ sed -e 's/mysql: //' logger.go:42: 19:31:36 | gr-security-context/6-delete-data | ++ grep -v 'Using a password on the command line interface can be insecure.' logger.go:42: 19:31:37 | gr-security-context/6-delete-data | ++ : logger.go:42: 19:31:37 | gr-security-context/6-delete-data | + data= logger.go:42: 19:31:37 | gr-security-context/6-delete-data | + kubectl create configmap -n kuttl-test-hopeful-pika 04-delete-data-minio-2 --from-literal=data= logger.go:42: 19:31:37 | gr-security-context/6-delete-data | configmap/04-delete-data-minio-2 created logger.go:42: 19:31:38 | gr-security-context/6-delete-data | test step completed 6-delete-data logger.go:42: 19:31:38 | gr-security-context/7-restore-from-minio | starting test step 7-restore-from-minio logger.go:42: 19:31:39 | gr-security-context/7-restore-from-minio | PerconaServerMySQLRestore:kuttl-test-hopeful-pika/gr-security-context-restore-minio created logger.go:42: 19:32:09 | gr-security-context/7-restore-from-minio | test step completed 7-restore-from-minio logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | starting test step 8-check-restore-job logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | running command: [sh -c set -o errexit set -o pipefail set -o xtrace source ../../functions JOB_NAME="xb-restore-gr-security-context-restore-minio" sleep 50 if [[ -z $OPENSHIFT ]]; then FS_GROUP=$(kubectl get job "$JOB_NAME" -n "$NAMESPACE" -o jsonpath='{.spec.template.spec.securityContext.fsGroup}') if [[ "$FS_GROUP" != "1001" ]]; then echo "Test Failed: fsGroup is not set to 1001 (found: $FS_GROUP)." exit 1 fi PRIVILEGED_CONTAINERS=$(kubectl get job "$JOB_NAME" -n "$NAMESPACE" -o jsonpath='{.spec.template.spec.containers[*].securityContext.privileged}') PRIVILEGED_INIT_CONTAINERS=$(kubectl get job "$JOB_NAME" -n "$NAMESPACE" -o jsonpath='{.spec.template.spec.initContainers[*].securityContext.privileged}') if [[ "$PRIVILEGED_CONTAINERS" != "true" && "$PRIVILEGED_INIT_CONTAINERS" != "true" ]]; then echo "Test Failed: Some containers are missing privileged: true." exit 1 fi fi] logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | + source ../../functions logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ realpath ../../.. logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | ++++ pwd logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ basename /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/tests/gr-security-context logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | ++ test_name=gr-security-context logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | ++ source /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/vars.sh logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export GIT_BRANCH=PR-894 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ GIT_BRANCH=PR-894 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export VERSION=PR-894-9a9e1046 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ VERSION=PR-894-9a9e1046 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ export CERT_MANAGER_VER=1.16.3 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ CERT_MANAGER_VER=1.16.3 logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | ++++ which gdate logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | which: no gdate in (/mnt/jenkins/workspace/cloud-ps-operator_PR-894/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | ++++ which date logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ date=/usr/bin/date logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ oc get projects logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ : logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ kubectl get nodes logger.go:42: 19:32:09 | gr-security-context/8-check-restore-job | +++ grep '^minikube' logger.go:42: 19:32:10 | gr-security-context/8-check-restore-job | ++ oc get projects logger.go:42: 19:32:10 | gr-security-context/8-check-restore-job | + JOB_NAME=xb-restore-gr-security-context-restore-minio logger.go:42: 19:32:10 | gr-security-context/8-check-restore-job | + sleep 50 logger.go:42: 19:33:00 | gr-security-context/8-check-restore-job | + [[ -z '' ]] logger.go:42: 19:33:00 | gr-security-context/8-check-restore-job | ++ kubectl get job xb-restore-gr-security-context-restore-minio -n kuttl-test-hopeful-pika -o 'jsonpath={.spec.template.spec.securityContext.fsGroup}' logger.go:42: 19:33:00 | gr-security-context/8-check-restore-job | + FS_GROUP=1001 logger.go:42: 19:33:00 | gr-security-context/8-check-restore-job | + [[ 1001 != \1\0\0\1 ]] logger.go:42: 19:33:00 | gr-security-context/8-check-restore-job | ++ kubectl get job xb-restore-gr-security-context-restore-minio -n kuttl-test-hopeful-pika -o 'jsonpath={.spec.template.spec.containers[*].securityContext.privileged}' logger.go:42: 19:33:01 | gr-security-context/8-check-restore-job | + PRIVILEGED_CONTAINERS=true logger.go:42: 19:33:01 | gr-security-context/8-check-restore-job | ++ kubectl get job xb-restore-gr-security-context-restore-minio -n kuttl-test-hopeful-pika -o 'jsonpath={.spec.template.spec.initContainers[*].securityContext.privileged}' logger.go:42: 19:33:01 | gr-security-context/8-check-restore-job | + PRIVILEGED_INIT_CONTAINERS=true logger.go:42: 19:33:01 | gr-security-context/8-check-restore-job | + [[ true != \t\r\u\e ]] logger.go:42: 19:36:21 | gr-security-context/8-check-restore-job | test step completed 8-check-restore-job logger.go:42: 19:36:21 | gr-security-context/9-read-data | starting test step 9-read-data logger.go:42: 19:36:21 | gr-security-context/9-read-data | running command: [sh -c set -o errexit set -o xtrace source ../../functions cluster_name=$(get_cluster_name) for i in 0 1 2; do data=$(run_mysql "SELECT * FROM myDB.myTable" "-h ${cluster_name}-mysql-${i}.${cluster_name}-mysql -uroot -proot_password") kubectl create configmap -n "${NAMESPACE}" 06-read-data-minio-${i} --from-literal=data="${data}" done] logger.go:42: 19:36:21 | gr-security-context/9-read-data | + source ../../functions logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ realpath ../../.. logger.go:42: 19:36:21 | gr-security-context/9-read-data | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:36:21 | gr-security-context/9-read-data | ++++ pwd logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ basename /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/tests/gr-security-context logger.go:42: 19:36:21 | gr-security-context/9-read-data | ++ test_name=gr-security-context logger.go:42: 19:36:21 | gr-security-context/9-read-data | ++ source /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/vars.sh logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:36:21 | gr-security-context/9-read-data | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export GIT_BRANCH=PR-894 logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ GIT_BRANCH=PR-894 logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export VERSION=PR-894-9a9e1046 logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ VERSION=PR-894-9a9e1046 logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ export CERT_MANAGER_VER=1.16.3 logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ CERT_MANAGER_VER=1.16.3 logger.go:42: 19:36:21 | gr-security-context/9-read-data | ++++ which gdate logger.go:42: 19:36:21 | gr-security-context/9-read-data | which: no gdate in (/mnt/jenkins/workspace/cloud-ps-operator_PR-894/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 19:36:21 | gr-security-context/9-read-data | ++++ which date logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ date=/usr/bin/date logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ oc get projects logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ : logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ kubectl get nodes logger.go:42: 19:36:21 | gr-security-context/9-read-data | +++ grep '^minikube' logger.go:42: 19:36:21 | gr-security-context/9-read-data | ++ oc get projects logger.go:42: 19:36:21 | gr-security-context/9-read-data | ++ get_cluster_name logger.go:42: 19:36:21 | gr-security-context/9-read-data | ++ kubectl -n kuttl-test-hopeful-pika get ps -o 'jsonpath={.items[0].metadata.name}' logger.go:42: 19:36:22 | gr-security-context/9-read-data | + cluster_name=gr-security-context logger.go:42: 19:36:22 | gr-security-context/9-read-data | + for i in 0 1 2 logger.go:42: 19:36:22 | gr-security-context/9-read-data | ++ run_mysql 'SELECT * FROM myDB.myTable' '-h gr-security-context-mysql-0.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:36:22 | gr-security-context/9-read-data | ++ local 'command=SELECT * FROM myDB.myTable' logger.go:42: 19:36:22 | gr-security-context/9-read-data | ++ local 'uri=-h gr-security-context-mysql-0.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:36:22 | gr-security-context/9-read-data | ++ local pod= logger.go:42: 19:36:22 | gr-security-context/9-read-data | +++ get_client_pod logger.go:42: 19:36:22 | gr-security-context/9-read-data | +++ kubectl -n kuttl-test-hopeful-pika get pods --selector=name=mysql-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 19:36:22 | gr-security-context/9-read-data | ++ client_pod=mysql-client logger.go:42: 19:36:22 | gr-security-context/9-read-data | ++ wait_pod mysql-client logger.go:42: 19:36:22 | gr-security-context/9-read-data | ++ local pod=mysql-client logger.go:42: 19:36:22 | gr-security-context/9-read-data | ++ set +o xtrace logger.go:42: 19:36:22 | gr-security-context/9-read-data | mysql-clienttrue logger.go:42: 19:36:22 | gr-security-context/9-read-data | ++ kubectl -n kuttl-test-hopeful-pika exec mysql-client -- bash -c 'printf '\''%s\n'\'' "SELECT * FROM myDB.myTable" | mysql -sN -h gr-security-context-mysql-0.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:36:22 | gr-security-context/9-read-data | ++ sed -e 's/mysql: //' logger.go:42: 19:36:22 | gr-security-context/9-read-data | ++ grep -v 'Using a password on the command line interface can be insecure.' logger.go:42: 19:36:24 | gr-security-context/9-read-data | + data=100500 logger.go:42: 19:36:24 | gr-security-context/9-read-data | + kubectl create configmap -n kuttl-test-hopeful-pika 06-read-data-minio-0 --from-literal=data=100500 logger.go:42: 19:36:24 | gr-security-context/9-read-data | configmap/06-read-data-minio-0 created logger.go:42: 19:36:24 | gr-security-context/9-read-data | + for i in 0 1 2 logger.go:42: 19:36:24 | gr-security-context/9-read-data | ++ run_mysql 'SELECT * FROM myDB.myTable' '-h gr-security-context-mysql-1.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:36:24 | gr-security-context/9-read-data | ++ local 'command=SELECT * FROM myDB.myTable' logger.go:42: 19:36:24 | gr-security-context/9-read-data | ++ local 'uri=-h gr-security-context-mysql-1.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:36:24 | gr-security-context/9-read-data | ++ local pod= logger.go:42: 19:36:24 | gr-security-context/9-read-data | +++ get_client_pod logger.go:42: 19:36:24 | gr-security-context/9-read-data | +++ kubectl -n kuttl-test-hopeful-pika get pods --selector=name=mysql-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 19:36:24 | gr-security-context/9-read-data | ++ client_pod=mysql-client logger.go:42: 19:36:24 | gr-security-context/9-read-data | ++ wait_pod mysql-client logger.go:42: 19:36:24 | gr-security-context/9-read-data | ++ local pod=mysql-client logger.go:42: 19:36:24 | gr-security-context/9-read-data | ++ set +o xtrace logger.go:42: 19:36:25 | gr-security-context/9-read-data | mysql-clienttrue logger.go:42: 19:36:25 | gr-security-context/9-read-data | ++ kubectl -n kuttl-test-hopeful-pika exec mysql-client -- bash -c 'printf '\''%s\n'\'' "SELECT * FROM myDB.myTable" | mysql -sN -h gr-security-context-mysql-1.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:36:25 | gr-security-context/9-read-data | ++ sed -e 's/mysql: //' logger.go:42: 19:36:25 | gr-security-context/9-read-data | ++ grep -v 'Using a password on the command line interface can be insecure.' logger.go:42: 19:36:26 | gr-security-context/9-read-data | + data=100500 logger.go:42: 19:36:26 | gr-security-context/9-read-data | + kubectl create configmap -n kuttl-test-hopeful-pika 06-read-data-minio-1 --from-literal=data=100500 logger.go:42: 19:36:26 | gr-security-context/9-read-data | configmap/06-read-data-minio-1 created logger.go:42: 19:36:26 | gr-security-context/9-read-data | + for i in 0 1 2 logger.go:42: 19:36:26 | gr-security-context/9-read-data | ++ run_mysql 'SELECT * FROM myDB.myTable' '-h gr-security-context-mysql-2.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:36:26 | gr-security-context/9-read-data | ++ local 'command=SELECT * FROM myDB.myTable' logger.go:42: 19:36:26 | gr-security-context/9-read-data | ++ local 'uri=-h gr-security-context-mysql-2.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:36:26 | gr-security-context/9-read-data | ++ local pod= logger.go:42: 19:36:26 | gr-security-context/9-read-data | +++ get_client_pod logger.go:42: 19:36:26 | gr-security-context/9-read-data | +++ kubectl -n kuttl-test-hopeful-pika get pods --selector=name=mysql-client -o 'jsonpath={.items[].metadata.name}' logger.go:42: 19:36:26 | gr-security-context/9-read-data | ++ client_pod=mysql-client logger.go:42: 19:36:26 | gr-security-context/9-read-data | ++ wait_pod mysql-client logger.go:42: 19:36:26 | gr-security-context/9-read-data | ++ local pod=mysql-client logger.go:42: 19:36:26 | gr-security-context/9-read-data | ++ set +o xtrace logger.go:42: 19:36:27 | gr-security-context/9-read-data | mysql-clienttrue logger.go:42: 19:36:27 | gr-security-context/9-read-data | ++ kubectl -n kuttl-test-hopeful-pika exec mysql-client -- bash -c 'printf '\''%s\n'\'' "SELECT * FROM myDB.myTable" | mysql -sN -h gr-security-context-mysql-2.gr-security-context-mysql -uroot -proot_password' logger.go:42: 19:36:27 | gr-security-context/9-read-data | ++ sed -e 's/mysql: //' logger.go:42: 19:36:27 | gr-security-context/9-read-data | ++ grep -v 'Using a password on the command line interface can be insecure.' logger.go:42: 19:36:28 | gr-security-context/9-read-data | + data=100500 logger.go:42: 19:36:28 | gr-security-context/9-read-data | + kubectl create configmap -n kuttl-test-hopeful-pika 06-read-data-minio-2 --from-literal=data=100500 logger.go:42: 19:36:28 | gr-security-context/9-read-data | configmap/06-read-data-minio-2 created logger.go:42: 19:36:29 | gr-security-context/9-read-data | test step completed 9-read-data logger.go:42: 19:36:29 | gr-security-context/98-drop-finalizer | starting test step 98-drop-finalizer logger.go:42: 19:36:29 | gr-security-context/98-drop-finalizer | PerconaServerMySQL:kuttl-test-hopeful-pika/gr-security-context updated logger.go:42: 19:36:29 | gr-security-context/98-drop-finalizer | test step completed 98-drop-finalizer logger.go:42: 19:36:29 | gr-security-context/99-remove-cluster-gracefully | starting test step 99-remove-cluster-gracefully logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | running command: [sh -c set -o errexit set -o xtrace source ../../functions destroy_operator] logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | + source ../../functions logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ realpath ../../.. logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | ++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | ++++ pwd logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ basename /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/tests/gr-security-context logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | ++ test_name=gr-security-context logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | ++ source /mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/vars.sh logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ ROOT_REPO=/mnt/jenkins/workspace/cloud-ps-operator_PR-894 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ DEPLOY_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/deploy logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ TESTS_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ TESTS_CONFIG_DIR=/mnt/jenkins/workspace/cloud-ps-operator_PR-894/e2e-tests/conf logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ TEMP_DIR=/tmp/kuttl/ps/gr-security-context logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | ++++ git rev-parse --abbrev-ref HEAD logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export GIT_BRANCH=PR-894 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ GIT_BRANCH=PR-894 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export VERSION=PR-894-9a9e1046 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ VERSION=PR-894-9a9e1046 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ IMAGE=perconalab/percona-server-mysql-operator:PR-894-9a9e1046 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ IMAGE_MYSQL=perconalab/percona-server-mysql-operator:main-psmysql logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ IMAGE_BACKUP=perconalab/percona-server-mysql-operator:main-backup logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ IMAGE_ORCHESTRATOR=perconalab/percona-server-mysql-operator:main-orchestrator logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ IMAGE_ROUTER=perconalab/percona-server-mysql-operator:main-router logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ IMAGE_TOOLKIT=perconalab/percona-server-mysql-operator:main-toolkit logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ IMAGE_HAPROXY=perconalab/percona-server-mysql-operator:main-haproxy logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ PMM_SERVER_VERSION=1.4.3 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ IMAGE_PMM_CLIENT=perconalab/pmm-client:3-dev-latest logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ IMAGE_PMM_SERVER=perconalab/pmm-server:3-dev-latest logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ export CERT_MANAGER_VER=1.16.3 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ CERT_MANAGER_VER=1.16.3 logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | ++++ which gdate logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | which: no gdate in (/mnt/jenkins/workspace/cloud-ps-operator_PR-894/bin/:/home/ec2-user/.krew/bin:/usr/local/bin:/usr/bin) logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | ++++ which date logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ date=/usr/bin/date logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ oc get projects logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ : logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ kubectl get nodes logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | +++ grep '^minikube' logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | ++ oc get projects logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | + destroy_operator logger.go:42: 19:36:30 | gr-security-context/99-remove-cluster-gracefully | + kubectl -n ps-operator delete deployment percona-server-mysql-operator --force --grace-period=0 logger.go:42: 19:36:30 | gr-security-context/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: 19:36:31 | gr-security-context/99-remove-cluster-gracefully | deployment.apps "percona-server-mysql-operator" force deleted logger.go:42: 19:36:31 | gr-security-context/99-remove-cluster-gracefully | + [[ -n ps-operator ]] logger.go:42: 19:36:31 | gr-security-context/99-remove-cluster-gracefully | + kubectl delete namespace ps-operator --force --grace-period=0 logger.go:42: 19:36:31 | gr-security-context/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: 19:36:31 | gr-security-context/99-remove-cluster-gracefully | namespace "ps-operator" force deleted logger.go:42: 19:36:37 | gr-security-context/99-remove-cluster-gracefully | test step completed 99-remove-cluster-gracefully logger.go:42: 19:36:37 | gr-security-context | gr-security-context events from ns kuttl-test-hopeful-pika: logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:26:54 +0000 UTC Normal Pod mysql-client Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/mysql-client to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-lt5q default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:26:55 +0000 UTC Normal Pod mysql-client.spec.containers{mysql-client} Pulled Container image "percona/percona-server:8.0.33" already present on machine kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:26:55 +0000 UTC Normal Pod mysql-client.spec.containers{mysql-client} Created Created container: mysql-client kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:26:55 +0000 UTC Normal Pod mysql-client.spec.containers{mysql-client} Started Started container mysql-client kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:02 +0000 UTC Normal ReplicaSet.apps minio-service-8967c7f7f SuccessfulCreate Created pod: minio-service-8967c7f7f-6g89x replicaset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:02 +0000 UTC Normal PersistentVolumeClaim minio-service WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:02 +0000 UTC Normal Deployment.apps minio-service ScalingReplicaSet Scaled up replica set minio-service-8967c7f7f to 1 deployment-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:02 +0000 UTC Normal PersistentVolumeClaim minio-service Provisioning External provisioner is provisioning volume for claim "kuttl-test-hopeful-pika/minio-service" pd.csi.storage.gke.io_gke-fe658257dd47437f95ea-2389-dcf0-vm_528b6d55-31cb-4482-b674-170a5bd10445 logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:02 +0000 UTC Normal PersistentVolumeClaim minio-service 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: 19:36:37 | gr-security-context | 2025-05-12 19:27:03 +0000 UTC Normal Pod minio-service-post-job-gdk4s Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/minio-service-post-job-gdk4s to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-lt5q default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:03 +0000 UTC Normal Pod minio-service-post-job-gdk4s.spec.containers{minio-make-user} Pulling Pulling image "quay.io/minio/mc:RELEASE.2023-09-29T16-41-22Z" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:03 +0000 UTC Normal Job.batch minio-service-post-job SuccessfulCreate Created pod: minio-service-post-job-gdk4s job-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:06 +0000 UTC Normal PersistentVolumeClaim minio-service ProvisioningSucceeded Successfully provisioned volume pvc-4f8a72e8-21db-4990-a96a-8b6f092c25fc pd.csi.storage.gke.io_gke-fe658257dd47437f95ea-2389-dcf0-vm_528b6d55-31cb-4482-b674-170a5bd10445 logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:07 +0000 UTC Normal Pod minio-service-8967c7f7f-6g89x Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/minio-service-8967c7f7f-6g89x to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-lt5q default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:07 +0000 UTC Normal Pod minio-service-post-job-gdk4s.spec.containers{minio-make-user} Pulled Successfully pulled image "quay.io/minio/mc:RELEASE.2023-09-29T16-41-22Z" in 3.817s (3.817s including waiting). Image size: 68032340 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:07 +0000 UTC Normal Pod minio-service-post-job-gdk4s.spec.containers{minio-make-user} Created Created container: minio-make-user kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:07 +0000 UTC Normal Pod minio-service-post-job-gdk4s.spec.containers{minio-make-user} Started Started container minio-make-user kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:15 +0000 UTC Normal Pod minio-service-8967c7f7f-6g89x SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-4f8a72e8-21db-4990-a96a-8b6f092c25fc" attachdetach-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:16 +0000 UTC Normal Pod minio-service-8967c7f7f-6g89x.spec.containers{minio} Pulling Pulling image "quay.io/minio/minio:RELEASE.2023-09-30T07-02-29Z" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:19 +0000 UTC Normal Pod minio-service-8967c7f7f-6g89x.spec.containers{minio} Pulled Successfully pulled image "quay.io/minio/minio:RELEASE.2023-09-30T07-02-29Z" in 3.469s (3.47s including waiting). Image size: 104927019 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:20 +0000 UTC Normal Pod minio-service-8967c7f7f-6g89x.spec.containers{minio} Created Created container: minio kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:20 +0000 UTC Normal Pod minio-service-8967c7f7f-6g89x.spec.containers{minio} Started Started container minio kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:29 +0000 UTC Normal Job.batch minio-service-post-job Completed Job completed job-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:30 +0000 UTC Normal Pod aws-cli Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/aws-cli to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-lt5q default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:31 +0000 UTC Normal Pod aws-cli.spec.containers{aws-cli} Pulling Pulling image "perconalab/awscli" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:34 +0000 UTC Normal Pod aws-cli.spec.containers{aws-cli} Pulled Successfully pulled image "perconalab/awscli" in 3.442s (3.442s including waiting). Image size: 30314917 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:34 +0000 UTC Normal Pod aws-cli.spec.containers{aws-cli} Created Created container: aws-cli kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:34 +0000 UTC Normal Pod aws-cli.spec.containers{aws-cli} Started Started container aws-cli kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:42 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-0 WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:42 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-0 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: 19:36:37 | gr-security-context | 2025-05-12 19:27:42 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-0 Provisioning External provisioner is provisioning volume for claim "kuttl-test-hopeful-pika/datadir-gr-security-context-mysql-0" pd.csi.storage.gke.io_gke-fe658257dd47437f95ea-2389-dcf0-vm_528b6d55-31cb-4482-b674-170a5bd10445 logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:42 +0000 UTC Normal StatefulSet.apps gr-security-context-mysql SuccessfulCreate create Claim datadir-gr-security-context-mysql-0 Pod gr-security-context-mysql-0 in StatefulSet gr-security-context-mysql success statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:42 +0000 UTC Normal StatefulSet.apps gr-security-context-mysql SuccessfulCreate create Pod gr-security-context-mysql-0 in StatefulSet gr-security-context-mysql successful statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:45 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-0 ProvisioningSucceeded Successfully provisioned volume pvc-23563703-ef35-4e56-80a0-bad76e8d51b9 pd.csi.storage.gke.io_gke-fe658257dd47437f95ea-2389-dcf0-vm_528b6d55-31cb-4482-b674-170a5bd10445 logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:46 +0000 UTC Normal Pod gr-security-context-mysql-0 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/gr-security-context-mysql-0 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-959t default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:53 +0000 UTC Normal Pod gr-security-context-mysql-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-23563703-ef35-4e56-80a0-bad76e8d51b9" attachdetach-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:54 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.initContainers{mysql-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:55 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.initContainers{mysql-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 286ms (286ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:55 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.initContainers{mysql-init} Created Created container: mysql-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:55 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.initContainers{mysql-init} Started Started container mysql-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:56 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{mysql} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-psmysql" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:57 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{mysql} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-psmysql" in 222ms (222ms including waiting). Image size: 383656261 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:57 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{mysql} Created Created container: mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:57 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{mysql} Started Started container mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:57 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{xtrabackup} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-backup" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:57 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{xtrabackup} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-backup" in 274ms (274ms including waiting). Image size: 425663155 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:57 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{xtrabackup} Created Created container: xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:27:57 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{xtrabackup} Started Started container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:30 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-1 WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:30 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-1 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: 19:36:37 | gr-security-context | 2025-05-12 19:28:30 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-1 Provisioning External provisioner is provisioning volume for claim "kuttl-test-hopeful-pika/datadir-gr-security-context-mysql-1" pd.csi.storage.gke.io_gke-fe658257dd47437f95ea-2389-dcf0-vm_528b6d55-31cb-4482-b674-170a5bd10445 logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:30 +0000 UTC Normal StatefulSet.apps gr-security-context-mysql SuccessfulCreate create Claim datadir-gr-security-context-mysql-1 Pod gr-security-context-mysql-1 in StatefulSet gr-security-context-mysql success statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:30 +0000 UTC Normal StatefulSet.apps gr-security-context-mysql SuccessfulCreate create Pod gr-security-context-mysql-1 in StatefulSet gr-security-context-mysql successful statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:33 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-1 ProvisioningSucceeded Successfully provisioned volume pvc-77e3aefa-d79a-4f68-9fa2-87a05f1125ea pd.csi.storage.gke.io_gke-fe658257dd47437f95ea-2389-dcf0-vm_528b6d55-31cb-4482-b674-170a5bd10445 logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:34 +0000 UTC Normal Pod gr-security-context-haproxy-0 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/gr-security-context-haproxy-0 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-lt5q default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:34 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.initContainers{haproxy-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:34 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.initContainers{haproxy-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 287ms (287ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:34 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.initContainers{haproxy-init} Created Created container: haproxy-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:34 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.initContainers{haproxy-init} Started Started container haproxy-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:34 +0000 UTC Normal StatefulSet.apps gr-security-context-haproxy SuccessfulCreate create Pod gr-security-context-haproxy-0 in StatefulSet gr-security-context-haproxy successful statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:34 +0000 UTC Normal Pod gr-security-context-mysql-1 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/gr-security-context-mysql-1 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-lt5q default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:37 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{haproxy} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-haproxy" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:37 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{haproxy} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-haproxy" in 229ms (229ms including waiting). Image size: 102560607 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:37 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{haproxy} Created Created container: haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:37 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{haproxy} Started Started container haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:37 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{mysql-monit} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-haproxy" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:37 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{mysql-monit} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-haproxy" in 235ms (235ms including waiting). Image size: 102560607 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:37 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{mysql-monit} Created Created container: mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:37 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{mysql-monit} Started Started container mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:38 +0000 UTC Normal Pod gr-security-context-haproxy-1 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/gr-security-context-haproxy-1 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-959t default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:38 +0000 UTC Normal StatefulSet.apps gr-security-context-haproxy SuccessfulCreate create Pod gr-security-context-haproxy-1 in StatefulSet gr-security-context-haproxy successful statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:39 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.initContainers{haproxy-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:39 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.initContainers{haproxy-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 316ms (316ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:39 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.initContainers{haproxy-init} Created Created container: haproxy-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:39 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.initContainers{haproxy-init} Started Started container haproxy-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:41 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{haproxy} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-haproxy" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:41 +0000 UTC Normal Pod gr-security-context-mysql-1 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-77e3aefa-d79a-4f68-9fa2-87a05f1125ea" attachdetach-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:42 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{haproxy} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-haproxy" in 242ms (242ms including waiting). Image size: 102560607 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:42 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{haproxy} Created Created container: haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:42 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{haproxy} Started Started container haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:42 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{mysql-monit} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-haproxy" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:42 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{mysql-monit} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-haproxy" in 194ms (194ms including waiting). Image size: 102560607 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:42 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{mysql-monit} Created Created container: mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:42 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{mysql-monit} Started Started container mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:43 +0000 UTC Normal Pod gr-security-context-haproxy-2 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/gr-security-context-haproxy-2 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-683t default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:43 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.initContainers{haproxy-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:43 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.initContainers{haproxy-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 273ms (273ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:43 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.initContainers{haproxy-init} Created Created container: haproxy-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:43 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.initContainers{haproxy-init} Started Started container haproxy-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:43 +0000 UTC Normal StatefulSet.apps gr-security-context-haproxy SuccessfulCreate create Pod gr-security-context-haproxy-2 in StatefulSet gr-security-context-haproxy successful statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:43 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.initContainers{mysql-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:43 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.initContainers{mysql-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 272ms (272ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:43 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.initContainers{mysql-init} Created Created container: mysql-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:43 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.initContainers{mysql-init} Started Started container mysql-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{haproxy} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-haproxy" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{haproxy} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-haproxy" in 230ms (230ms including waiting). Image size: 102560607 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{haproxy} Created Created container: haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{haproxy} Started Started container haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{mysql-monit} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-haproxy" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{mysql-monit} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-haproxy" in 198ms (198ms including waiting). Image size: 102560607 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{mysql-monit} Created Created container: mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{mysql-monit} Started Started container mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-psmysql" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-psmysql" in 191ms (191ms including waiting). Image size: 383656261 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Created Created container: mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Started Started container mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{xtrabackup} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-backup" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{xtrabackup} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-backup" in 230ms (230ms including waiting). Image size: 425663155 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{xtrabackup} Created Created container: xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:28:45 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{xtrabackup} Started Started container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:29:15 +0000 UTC Warning Pod gr-security-context-mysql-1.spec.containers{mysql} Unhealthy Startup probe failed: 2025/05/12 19:29:03 Waiting for MySQL ready state 2025/05/12 19:29:03 MySQL is ready 2025/05/12 19:29:03 Bootstrap starting... 2025/05/12 19:29:03 Running dba.configureLocalInstance('operator:*****@gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika', {'clearReadOnly': true}) Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory WARNING: Using a password on the command line interface can be insecure. WARNING: The clearReadOnly option is deprecated and will be removed in a future release. WARNING: This function is deprecated and will be removed in a future release of MySQL Shell, use dba.configureInstance() instead. Configuring local MySQL instance listening at port 3306 for use in an InnoDB cluster... This instance reports its own address as gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 applierWorkerThreads will be set to the default value of 4. NOTE: Some configuration options need to be fixed: +----------------------------------------+---------------+----------------+----------------------------+ +----------------------------------------+---------------+----------------+----------------------------+ | Variable | Current Value | Required Value | Note |+----------------------------------------+---------------+----------------+----------------------------+ | binlog_transaction_dependency_tracking | COMMIT_ORDER | WRITESET | Update the server variable |Disabled super_read_only on the instance 'gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' Enabling super_read_only on the instance 'gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' Configuring instance... WARNING:*****@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release. (Code 1287). The instance 'gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' was configured to be used in an InnoDB cluster. 2025/05/12 19:29:03 Instance (gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika) configured to join to the InnoDB cluster 2025/05/12 19:29:03 peers: [gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika] 2025/05/12 19:29:03 Running dba.getCluster('grsecuritycontext') Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory WARNING: Using a password on the command line interface can be insecure. 2025/05/12 19:29:03 Connected to peer gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika 2025/05/12 19:29:04 Cluster status: ClusterName: grsecuritycontext Status: OK_NO_TOLERANCE StatusText: Cluster is NOT tolerant to any failures. SSL: REQUIRED Primary: gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 Topology: Member 0 Address: gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 State: ONLINE Errors: [] 2025/05/12 19:29:04 Adding instance (gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika) to InnoDB cluster 2025/05/12 19:29:04 Running dba.getCluster('grsecuritycontext').addInstance('operator:*****@gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika', {'recoveryMethod': 'clone', 'waitRecovery': 3}) Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory WARNING: Using a password on the command line interface can be insecure. WARNING: The waitRecovery option is deprecated. Please use the recoveryProgress option instead. NOTE: The target instance 'gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' has not been pre-provisioned (GTID set is empty). The Shell is unable to decide whether incremental state recovery can correctly provision it. Clone based recovery selected through the recoveryMethod option Validating instance configuration at gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306... This instance reports its own address as gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 Instance configuration is suitable. NOTE: Group Replication will communicate with other members using 'gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306'. Use the localAddress option to override. * Checking connectivity and SSL configuration... A new instance will be added to the InnoDB Cluster. Depending on the amount of data on the cluster this might take from a few seconds to several hours. Adding instance to the cluster... Monitoring recovery process of the new cluster member. Press ^C to stop monitoring and let it continue in background. Clone based state recovery is now in progress. NOTE: A server restart is expected to happen as part of the clone process. If the server does not support the RESTART command or does not come back after a while, you may need to manually start it back. * Waiting for clone to finish... NOTE: gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 is being cloned from gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 ** Clone Transfer FILE COPY 100% In Progress PAGE COPY 0% Not Started REDO COPY 0% Not Started** Stage DROP DATA: Completed ** Clone Transfer FILE COPY 100% Completed PAGE COPY 100% Completed REDO COPY 100% Completed NOTE: gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 is shutting down... * Waiting for server restart... \ * Waiting for server restart... | * Waiting for server restart... / * Waiting for server restart... - kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:29:15 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Killing Container mysql failed startup probe, will be restarted kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:29:15 +0000 UTC Warning Pod gr-security-context-mysql-1.spec.containers{mysql} FailedPreStopHook PreStopHook failed kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:29:16 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-psmysql" in 243ms (243ms including waiting). Image size: 383656261 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:29:48 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-2 WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:29:48 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-2 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: 19:36:37 | gr-security-context | 2025-05-12 19:29:48 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-2 Provisioning External provisioner is provisioning volume for claim "kuttl-test-hopeful-pika/datadir-gr-security-context-mysql-2" pd.csi.storage.gke.io_gke-fe658257dd47437f95ea-2389-dcf0-vm_528b6d55-31cb-4482-b674-170a5bd10445 logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:29:48 +0000 UTC Normal StatefulSet.apps gr-security-context-mysql SuccessfulCreate create Claim datadir-gr-security-context-mysql-2 Pod gr-security-context-mysql-2 in StatefulSet gr-security-context-mysql success statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:29:48 +0000 UTC Normal StatefulSet.apps gr-security-context-mysql SuccessfulCreate create Pod gr-security-context-mysql-2 in StatefulSet gr-security-context-mysql successful statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:29:51 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-2 ProvisioningSucceeded Successfully provisioned volume pvc-7352f273-d0a6-4ebc-9fbd-58f5b1934eb3 pd.csi.storage.gke.io_gke-fe658257dd47437f95ea-2389-dcf0-vm_528b6d55-31cb-4482-b674-170a5bd10445 logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:29:52 +0000 UTC Normal Pod gr-security-context-mysql-2 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/gr-security-context-mysql-2 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-683t default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:29:59 +0000 UTC Normal Pod gr-security-context-mysql-2 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-7352f273-d0a6-4ebc-9fbd-58f5b1934eb3" attachdetach-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:01 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.initContainers{mysql-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:01 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.initContainers{mysql-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 241ms (241ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:01 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.initContainers{mysql-init} Created Created container: mysql-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:01 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.initContainers{mysql-init} Started Started container mysql-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:03 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-psmysql" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:03 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-psmysql" in 220ms (220ms including waiting). Image size: 383656261 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:03 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Created Created container: mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:03 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Started Started container mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:03 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{xtrabackup} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-backup" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:04 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{xtrabackup} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-backup" in 227ms (227ms including waiting). Image size: 425663155 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:04 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{xtrabackup} Created Created container: xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:04 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{xtrabackup} Started Started container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:33 +0000 UTC Warning Pod gr-security-context-mysql-2.spec.containers{mysql} Unhealthy Startup probe failed: 2025/05/12 19:30:20 Waiting for MySQL ready state 2025/05/12 19:30:20 MySQL is ready 2025/05/12 19:30:20 Bootstrap starting... 2025/05/12 19:30:20 Running dba.configureLocalInstance('operator:*****@gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika', {'clearReadOnly': true}) Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory WARNING: Using a password on the command line interface can be insecure. WARNING: The clearReadOnly option is deprecated and will be removed in a future release. WARNING: This function is deprecated and will be removed in a future release of MySQL Shell, use dba.configureInstance() instead. Configuring local MySQL instance listening at port 3306 for use in an InnoDB cluster... This instance reports its own address as gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 applierWorkerThreads will be set to the default value of 4. NOTE: Some configuration options need to be fixed: +----------------------------------------+---------------+----------------+----------------------------+ +----------------------------------------+---------------+----------------+----------------------------+ | Variable | Current Value | Required Value | Note |+----------------------------------------+---------------+----------------+----------------------------+ | binlog_transaction_dependency_tracking | COMMIT_ORDER | WRITESET | Update the server variable |Disabled super_read_only on the instance 'gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' Enabling super_read_only on the instance 'gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' Configuring instance... WARNING:*****@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release. (Code 1287). The instance 'gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' was configured to be used in an InnoDB cluster. 2025/05/12 19:30:21 Instance (gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika) configured to join to the InnoDB cluster 2025/05/12 19:30:21 peers: [gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika] 2025/05/12 19:30:21 Running dba.getCluster('grsecuritycontext') Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory WARNING: Using a password on the command line interface can be insecure. 2025/05/12 19:30:21 Connected to peer gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika 2025/05/12 19:30:22 Cluster status: ClusterName: grsecuritycontext Status: OK_NO_TOLERANCE StatusText: Cluster is NOT tolerant to any failures. SSL: REQUIRED Primary: gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 Topology: Member 0 Address: gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 State: ONLINE Errors: [] Member 1 Address: gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 State: ONLINE Errors: [] 2025/05/12 19:30:22 Adding instance (gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika) to InnoDB cluster 2025/05/12 19:30:22 Running dba.getCluster('grsecuritycontext').addInstance('operator:*****@gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika', {'recoveryMethod': 'clone', 'waitRecovery': 3}) Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory WARNING: Using a password on the command line interface can be insecure. WARNING: The waitRecovery option is deprecated. Please use the recoveryProgress option instead. NOTE: The target instance 'gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' has not been pre-provisioned (GTID set is empty). The Shell is unable to decide whether incremental state recovery can correctly provision it. Clone based recovery selected through the recoveryMethod option Validating instance configuration at gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306... This instance reports its own address as gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 Instance configuration is suitable. NOTE: Group Replication will communicate with other members using 'gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306'. Use the localAddress option to override. * Checking connectivity and SSL configuration... A new instance will be added to the InnoDB Cluster. Depending on the amount of data on the cluster this might take from a few seconds to several hours. Adding instance to the cluster... Monitoring recovery process of the new cluster member. Press ^C to stop monitoring and let it continue in background. Clone based state recovery is now in progress. NOTE: A server restart is expected to happen as part of the clone process. If the server does not support the RESTART command or does not come back after a while, you may need to manually start it back. * Waiting for clone to finish... NOTE: gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 is being cloned from gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 ** Stage DROP DATA: Completed ** Clone Transfer FILE COPY 100% Completed PAGE COPY 100% Completed REDO COPY 100% Completed NOTE: gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 is shutting down... * Waiting for server restart... \ * Waiting for server restart... | * Waiting for server restart... / kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:33 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Killing Container mysql failed startup probe, will be restarted kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:33 +0000 UTC Warning Pod gr-security-context-mysql-2.spec.containers{mysql} FailedPreStopHook PreStopHook failed kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:30:33 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-psmysql" in 212ms (212ms including waiting). Image size: 383656261 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:15 +0000 UTC Normal Pod xb-gr-security-context-minio-minio-dw724 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/xb-gr-security-context-minio-minio-dw724 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-lt5q default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:15 +0000 UTC Normal Job.batch xb-gr-security-context-minio-minio SuccessfulCreate Created pod: xb-gr-security-context-minio-minio-dw724 job-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:16 +0000 UTC Normal Pod xb-gr-security-context-minio-minio-dw724.spec.initContainers{xtrabackup-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:16 +0000 UTC Normal Pod xb-gr-security-context-minio-minio-dw724.spec.initContainers{xtrabackup-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 304ms (304ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:16 +0000 UTC Normal Pod xb-gr-security-context-minio-minio-dw724.spec.initContainers{xtrabackup-init} Created Created container: xtrabackup-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:16 +0000 UTC Normal Pod xb-gr-security-context-minio-minio-dw724.spec.initContainers{xtrabackup-init} Started Started container xtrabackup-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:18 +0000 UTC Normal Pod xb-gr-security-context-minio-minio-dw724.spec.containers{xtrabackup} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-backup" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:18 +0000 UTC Normal Pod xb-gr-security-context-minio-minio-dw724.spec.containers{xtrabackup} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-backup" in 250ms (250ms including waiting). Image size: 425663155 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:18 +0000 UTC Normal Pod xb-gr-security-context-minio-minio-dw724.spec.containers{xtrabackup} Created Created container: xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:18 +0000 UTC Normal Pod xb-gr-security-context-minio-minio-dw724.spec.containers{xtrabackup} Started Started container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:24 +0000 UTC Normal Job.batch xb-gr-security-context-minio-minio Completed Job completed job-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:41 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{haproxy} Killing Stopping container haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:41 +0000 UTC Normal StatefulSet.apps gr-security-context-haproxy SuccessfulDelete delete Pod gr-security-context-haproxy-2 in StatefulSet gr-security-context-haproxy successful statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:41 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{xtrabackup} Killing Stopping container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:41 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Killing Stopping container mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:41 +0000 UTC Normal StatefulSet.apps gr-security-context-mysql SuccessfulDelete delete Pod gr-security-context-mysql-2 in StatefulSet gr-security-context-mysql successful statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:42 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{haproxy} Killing Stopping container haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:42 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{mysql-monit} Killing Stopping container mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:43 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{haproxy} Killing Stopping container haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:43 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{mysql-monit} Killing Stopping container mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:43 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{mysql-monit} Killing Stopping container mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:43 +0000 UTC Normal StatefulSet.apps gr-security-context-haproxy SuccessfulDelete delete Pod gr-security-context-haproxy-1 in StatefulSet gr-security-context-haproxy successful statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:43 +0000 UTC Normal StatefulSet.apps gr-security-context-haproxy SuccessfulDelete delete Pod gr-security-context-haproxy-0 in StatefulSet gr-security-context-haproxy successful statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:45 +0000 UTC Warning Pod gr-security-context-mysql-2.spec.containers{mysql} Unhealthy Readiness probe failed: 2025/05/12 19:31:45 MySQL state is not ready... kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:49 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{xtrabackup} Killing Stopping container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:49 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Killing Stopping container mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:49 +0000 UTC Normal StatefulSet.apps gr-security-context-mysql SuccessfulDelete delete Pod gr-security-context-mysql-1 in StatefulSet gr-security-context-mysql successful statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:57 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{mysql} Killing Stopping container mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:57 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{xtrabackup} Killing Stopping container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:57 +0000 UTC Normal StatefulSet.apps gr-security-context-mysql SuccessfulDelete delete Pod gr-security-context-mysql-0 in StatefulSet gr-security-context-mysql successful statefulset-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:31:59 +0000 UTC Warning Pod gr-security-context-mysql-0.spec.containers{mysql} Unhealthy Readiness probe failed: 2025/05/12 19:31:59 MySQL state is not ready... kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:09 +0000 UTC Normal Pod xb-restore-gr-security-context-restore-minio-cjqz2 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/xb-restore-gr-security-context-restore-minio-cjqz2 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-lt5q default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:09 +0000 UTC Warning Pod xb-restore-gr-security-context-restore-minio-cjqz2 FailedAttachVolume Multi-Attach error for volume "pvc-23563703-ef35-4e56-80a0-bad76e8d51b9" Volume is already exclusively attached to one node and can't be attached to another attachdetach-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:09 +0000 UTC Normal Job.batch xb-restore-gr-security-context-restore-minio SuccessfulCreate Created pod: xb-restore-gr-security-context-restore-minio-cjqz2 job-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:32 +0000 UTC Normal Pod xb-restore-gr-security-context-restore-minio-cjqz2 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-23563703-ef35-4e56-80a0-bad76e8d51b9" attachdetach-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:33 +0000 UTC Normal Pod xb-restore-gr-security-context-restore-minio-cjqz2.spec.initContainers{xtrabackup-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:34 +0000 UTC Normal Pod xb-restore-gr-security-context-restore-minio-cjqz2.spec.initContainers{xtrabackup-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 273ms (273ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:34 +0000 UTC Normal Pod xb-restore-gr-security-context-restore-minio-cjqz2.spec.initContainers{xtrabackup-init} Created Created container: xtrabackup-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:34 +0000 UTC Normal Pod xb-restore-gr-security-context-restore-minio-cjqz2.spec.initContainers{xtrabackup-init} Started Started container xtrabackup-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:35 +0000 UTC Normal Pod xb-restore-gr-security-context-restore-minio-cjqz2.spec.containers{xtrabackup} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-backup" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:36 +0000 UTC Normal Pod xb-restore-gr-security-context-restore-minio-cjqz2.spec.containers{xtrabackup} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-backup" in 234ms (234ms including waiting). Image size: 425663155 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:36 +0000 UTC Normal Pod xb-restore-gr-security-context-restore-minio-cjqz2.spec.containers{xtrabackup} Created Created container: xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:36 +0000 UTC Normal Pod xb-restore-gr-security-context-restore-minio-cjqz2.spec.containers{xtrabackup} Started Started container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:46 +0000 UTC Normal Pod gr-security-context-mysql-0 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/gr-security-context-mysql-0 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-959t default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:46 +0000 UTC Warning Pod gr-security-context-mysql-0 FailedAttachVolume Multi-Attach error for volume "pvc-23563703-ef35-4e56-80a0-bad76e8d51b9" Volume is already exclusively attached to one node and can't be attached to another attachdetach-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:32:46 +0000 UTC Normal Job.batch xb-restore-gr-security-context-restore-minio Completed Job completed job-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:02 +0000 UTC Normal Pod gr-security-context-mysql-0 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-23563703-ef35-4e56-80a0-bad76e8d51b9" attachdetach-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:03 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.initContainers{mysql-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:03 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.initContainers{mysql-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 299ms (299ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:03 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.initContainers{mysql-init} Created Created container: mysql-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:03 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.initContainers{mysql-init} Started Started container mysql-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:05 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{mysql} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-psmysql" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:05 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{mysql} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-psmysql" in 232ms (232ms including waiting). Image size: 383656261 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:05 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{mysql} Created Created container: mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:05 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{mysql} Started Started container mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:05 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{xtrabackup} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-backup" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:06 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{xtrabackup} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-backup" in 230ms (230ms including waiting). Image size: 425663155 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:06 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{xtrabackup} Created Created container: xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:06 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{xtrabackup} Started Started container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:39 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-1 WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:39 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-1 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: 19:36:37 | gr-security-context | 2025-05-12 19:33:39 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-1 Provisioning External provisioner is provisioning volume for claim "kuttl-test-hopeful-pika/datadir-gr-security-context-mysql-1" pd.csi.storage.gke.io_gke-fe658257dd47437f95ea-2389-dcf0-vm_528b6d55-31cb-4482-b674-170a5bd10445 logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:40 +0000 UTC Normal Pod gr-security-context-haproxy-0 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/gr-security-context-haproxy-0 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-lt5q default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:40 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.initContainers{haproxy-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:40 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.initContainers{haproxy-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 263ms (263ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:40 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.initContainers{haproxy-init} Created Created container: haproxy-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:40 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.initContainers{haproxy-init} Started Started container haproxy-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:43 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-1 ProvisioningSucceeded Successfully provisioned volume pvc-c3c1cf48-9212-40e4-8c48-bc484cfc5014 pd.csi.storage.gke.io_gke-fe658257dd47437f95ea-2389-dcf0-vm_528b6d55-31cb-4482-b674-170a5bd10445 logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:43 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{haproxy} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-haproxy" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:43 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{haproxy} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-haproxy" in 268ms (268ms including waiting). Image size: 102560607 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:43 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{haproxy} Created Created container: haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:43 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{haproxy} Started Started container haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:43 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{mysql-monit} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-haproxy" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:43 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{mysql-monit} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-haproxy" in 260ms (260ms including waiting). Image size: 102560607 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:43 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{mysql-monit} Created Created container: mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:43 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{mysql-monit} Started Started container mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:43 +0000 UTC Normal Pod gr-security-context-mysql-1 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/gr-security-context-mysql-1 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-lt5q default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:44 +0000 UTC Normal Pod gr-security-context-haproxy-1 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/gr-security-context-haproxy-1 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-959t default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:44 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.initContainers{haproxy-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:44 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.initContainers{haproxy-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 256ms (256ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:44 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.initContainers{haproxy-init} Created Created container: haproxy-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:44 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.initContainers{haproxy-init} Started Started container haproxy-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:46 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{haproxy} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-haproxy" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:46 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{haproxy} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-haproxy" in 234ms (234ms including waiting). Image size: 102560607 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:47 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{haproxy} Created Created container: haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:47 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{haproxy} Started Started container haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:47 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{mysql-monit} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-haproxy" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:47 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{mysql-monit} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-haproxy" in 223ms (223ms including waiting). Image size: 102560607 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:47 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{mysql-monit} Created Created container: mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:47 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{mysql-monit} Started Started container mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:47 +0000 UTC Normal Pod gr-security-context-haproxy-2 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/gr-security-context-haproxy-2 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-683t default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:48 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.initContainers{haproxy-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:48 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.initContainers{haproxy-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 262ms (262ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:48 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.initContainers{haproxy-init} Created Created container: haproxy-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:48 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.initContainers{haproxy-init} Started Started container haproxy-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:50 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{haproxy} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-haproxy" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:50 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{haproxy} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-haproxy" in 226ms (226ms including waiting). Image size: 102560607 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:50 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{haproxy} Created Created container: haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:50 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{haproxy} Started Started container haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:50 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{mysql-monit} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-haproxy" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:50 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{mysql-monit} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-haproxy" in 230ms (230ms including waiting). Image size: 102560607 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:50 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{mysql-monit} Created Created container: mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:50 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{mysql-monit} Started Started container mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:50 +0000 UTC Normal Pod gr-security-context-mysql-1 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-c3c1cf48-9212-40e4-8c48-bc484cfc5014" attachdetach-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:52 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.initContainers{mysql-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:52 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.initContainers{mysql-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 264ms (264ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:52 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.initContainers{mysql-init} Created Created container: mysql-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:52 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.initContainers{mysql-init} Started Started container mysql-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:54 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-psmysql" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:54 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-psmysql" in 175ms (175ms including waiting). Image size: 383656261 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:54 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Created Created container: mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:54 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Started Started container mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:54 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{xtrabackup} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-backup" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:54 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{xtrabackup} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-backup" in 233ms (233ms including waiting). Image size: 425663155 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:54 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{xtrabackup} Created Created container: xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:33:54 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{xtrabackup} Started Started container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:34:24 +0000 UTC Warning Pod gr-security-context-mysql-1.spec.containers{mysql} Unhealthy Startup probe failed: 2025/05/12 19:34:11 Waiting for MySQL ready state 2025/05/12 19:34:11 MySQL is ready 2025/05/12 19:34:11 Bootstrap starting... 2025/05/12 19:34:11 Running dba.configureLocalInstance('operator:*****@gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika', {'clearReadOnly': true}) Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory WARNING: Using a password on the command line interface can be insecure. WARNING: The clearReadOnly option is deprecated and will be removed in a future release. WARNING: This function is deprecated and will be removed in a future release of MySQL Shell, use dba.configureInstance() instead. Configuring local MySQL instance listening at port 3306 for use in an InnoDB cluster... This instance reports its own address as gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 applierWorkerThreads will be set to the default value of 4. NOTE: Some configuration options need to be fixed: +----------------------------------------+---------------+----------------+----------------------------+ +----------------------------------------+---------------+----------------+----------------------------+ | Variable | Current Value | Required Value | Note |+----------------------------------------+---------------+----------------+----------------------------+ | binlog_transaction_dependency_tracking | COMMIT_ORDER | WRITESET | Update the server variable |Disabled super_read_only on the instance 'gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' Enabling super_read_only on the instance 'gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' Configuring instance... WARNING:*****@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release. (Code 1287). The instance 'gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' was configured to be used in an InnoDB cluster. 2025/05/12 19:34:12 Instance (gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika) configured to join to the InnoDB cluster 2025/05/12 19:34:12 peers: [gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika] 2025/05/12 19:34:12 Running dba.getCluster('grsecuritycontext') Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory WARNING: Using a password on the command line interface can be insecure. 2025/05/12 19:34:12 Connected to peer gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika 2025/05/12 19:34:13 Cluster status: ClusterName: grsecuritycontext Status: OK_NO_TOLERANCE StatusText: Cluster is NOT tolerant to any failures. SSL: REQUIRED Primary: gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 Topology: Member 0 Address: gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 State: ONLINE Errors: [] 2025/05/12 19:34:13 Adding instance (gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika) to InnoDB cluster 2025/05/12 19:34:13 Running dba.getCluster('grsecuritycontext').addInstance('operator:*****@gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika', {'recoveryMethod': 'clone', 'waitRecovery': 3}) Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory WARNING: Using a password on the command line interface can be insecure. WARNING: The waitRecovery option is deprecated. Please use the recoveryProgress option instead. NOTE: A GTID set check of the MySQL instance at 'gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' determined that it is missing transactions that were purged from all cluster members. NOTE: The target instance 'gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' has not been pre-provisioned (GTID set is empty). The Shell is unable to determine whether the instance has pre-existing data that would be overwritten with clone based recovery. Clone based recovery selected through the recoveryMethod option Validating instance configuration at gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306... This instance reports its own address as gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 Instance configuration is suitable. NOTE: Group Replication will communicate with other members using 'gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306'. Use the localAddress option to override. * Checking connectivity and SSL configuration... A new instance will be added to the InnoDB Cluster. Depending on the amount of data on the cluster this might take from a few seconds to several hours. Adding instance to the cluster... Monitoring recovery process of the new cluster member. Press ^C to stop monitoring and let it continue in background. Clone based state recovery is now in progress. NOTE: A server restart is expected to happen as part of the clone process. If the server does not support the RESTART command or does not come back after a while, you may need to manually start it back. * Waiting for clone to finish... NOTE: gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 is being cloned from gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 ** Stage DROP DATA: Completed ** Clone Transfer FILE COPY 0% In Progress PAGE COPY 0% Not Started REDO COPY 0% Not Started** Clone Transfer FILE COPY 100% Completed PAGE COPY 100% Completed REDO COPY 100% Completed NOTE: gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 is shutting down... * Waiting for server restart... \ * Waiting for server restart... | * Waiting for server restart... / kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:34:24 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Killing Container mysql failed startup probe, will be restarted kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:34:24 +0000 UTC Warning Pod gr-security-context-mysql-1.spec.containers{mysql} FailedPreStopHook PreStopHook failed kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:34:24 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-psmysql" in 256ms (256ms including waiting). Image size: 383656261 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:34:57 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-2 WaitForFirstConsumer waiting for first consumer to be created before binding persistentvolume-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:34:57 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-2 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: 19:36:37 | gr-security-context | 2025-05-12 19:34:57 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-2 Provisioning External provisioner is provisioning volume for claim "kuttl-test-hopeful-pika/datadir-gr-security-context-mysql-2" pd.csi.storage.gke.io_gke-fe658257dd47437f95ea-2389-dcf0-vm_528b6d55-31cb-4482-b674-170a5bd10445 logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:00 +0000 UTC Normal PersistentVolumeClaim datadir-gr-security-context-mysql-2 ProvisioningSucceeded Successfully provisioned volume pvc-90025645-1f1d-46c1-881b-9a982c53e9fb pd.csi.storage.gke.io_gke-fe658257dd47437f95ea-2389-dcf0-vm_528b6d55-31cb-4482-b674-170a5bd10445 logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:01 +0000 UTC Normal Pod gr-security-context-mysql-2 Binding Scheduled Successfully assigned kuttl-test-hopeful-pika/gr-security-context-mysql-2 to gke-jen-ps-894-9a9e1046--default-pool-9c6d43ee-683t default-scheduler logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:08 +0000 UTC Normal Pod gr-security-context-mysql-2 SuccessfulAttachVolume AttachVolume.Attach succeeded for volume "pvc-90025645-1f1d-46c1-881b-9a982c53e9fb" attachdetach-controller logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:10 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.initContainers{mysql-init} Pulling Pulling image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:10 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.initContainers{mysql-init} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:PR-894-9a9e1046" in 282ms (282ms including waiting). Image size: 107829380 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:10 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.initContainers{mysql-init} Created Created container: mysql-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:10 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.initContainers{mysql-init} Started Started container mysql-init kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:12 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-psmysql" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:12 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-psmysql" in 232ms (232ms including waiting). Image size: 383656261 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:12 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Created Created container: mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:12 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Started Started container mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:12 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{xtrabackup} Pulling Pulling image "perconalab/percona-server-mysql-operator:main-backup" kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:12 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{xtrabackup} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-backup" in 237ms (237ms including waiting). Image size: 425663155 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:12 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{xtrabackup} Created Created container: xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:13 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{xtrabackup} Started Started container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:43 +0000 UTC Warning Pod gr-security-context-mysql-2.spec.containers{mysql} Unhealthy Startup probe failed: 2025/05/12 19:35:29 Waiting for MySQL ready state 2025/05/12 19:35:29 MySQL is ready 2025/05/12 19:35:29 Bootstrap starting... 2025/05/12 19:35:29 Running dba.configureLocalInstance('operator:*****@gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika', {'clearReadOnly': true}) Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory WARNING: Using a password on the command line interface can be insecure. WARNING: The clearReadOnly option is deprecated and will be removed in a future release. WARNING: This function is deprecated and will be removed in a future release of MySQL Shell, use dba.configureInstance() instead. Configuring local MySQL instance listening at port 3306 for use in an InnoDB cluster... This instance reports its own address as gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 applierWorkerThreads will be set to the default value of 4. NOTE: Some configuration options need to be fixed: +----------------------------------------+---------------+----------------+----------------------------+ +----------------------------------------+---------------+----------------+----------------------------+ | Variable | Current Value | Required Value | Note |+----------------------------------------+---------------+----------------+----------------------------+ | binlog_transaction_dependency_tracking | COMMIT_ORDER | WRITESET | Update the server variable |Disabled super_read_only on the instance 'gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' Enabling super_read_only on the instance 'gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' Configuring instance... WARNING:*****@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release. (Code 1287). The instance 'gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' was configured to be used in an InnoDB cluster. 2025/05/12 19:35:30 Instance (gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika) configured to join to the InnoDB cluster 2025/05/12 19:35:30 peers: [gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika] 2025/05/12 19:35:30 Running dba.getCluster('grsecuritycontext') Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory WARNING: Using a password on the command line interface can be insecure. 2025/05/12 19:35:30 Connected to peer gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika 2025/05/12 19:35:31 Cluster status: ClusterName: grsecuritycontext Status: OK_NO_TOLERANCE StatusText: Cluster is NOT tolerant to any failures. SSL: REQUIRED Primary: gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 Topology: Member 0 Address: gr-security-context-mysql-0.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 State: ONLINE Errors: [] Member 1 Address: gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 State: ONLINE Errors: [] 2025/05/12 19:35:31 Adding instance (gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika) to InnoDB cluster 2025/05/12 19:35:31 Running dba.getCluster('grsecuritycontext').addInstance('operator:*****@gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika', {'recoveryMethod': 'clone', 'waitRecovery': 3}) Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory WARNING: Using a password on the command line interface can be insecure. WARNING: The waitRecovery option is deprecated. Please use the recoveryProgress option instead. NOTE: A GTID set check of the MySQL instance at 'gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' determined that it is missing transactions that were purged from all cluster members. NOTE: The target instance 'gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306' has not been pre-provisioned (GTID set is empty). The Shell is unable to determine whether the instance has pre-existing data that would be overwritten with clone based recovery. Clone based recovery selected through the recoveryMethod option Validating instance configuration at gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306... This instance reports its own address as gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 Instance configuration is suitable. NOTE: Group Replication will communicate with other members using 'gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306'. Use the localAddress option to override. * Checking connectivity and SSL configuration... A new instance will be added to the InnoDB Cluster. Depending on the amount of data on the cluster this might take from a few seconds to several hours. Adding instance to the cluster... Monitoring recovery process of the new cluster member. Press ^C to stop monitoring and let it continue in background. Clone based state recovery is now in progress. NOTE: A server restart is expected to happen as part of the clone process. If the server does not support the RESTART command or does not come back after a while, you may need to manually start it back. * Waiting for clone to finish... NOTE: gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 is being cloned from gr-security-context-mysql-1.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 ** Stage DROP DATA: Completed ** Clone Transfer FILE COPY 100% Completed PAGE COPY 100% Completed REDO COPY 100% Completed NOTE: gr-security-context-mysql-2.gr-security-context-mysql.kuttl-test-hopeful-pika:3306 is shutting down... * Waiting for server restart... \ * Waiting for server restart... | * Waiting for server restart... / * Waiting for server restart... - kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:43 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Killing Container mysql failed startup probe, will be restarted kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:43 +0000 UTC Warning Pod gr-security-context-mysql-2.spec.containers{mysql} FailedPreStopHook PreStopHook failed kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:35:43 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Pulled Successfully pulled image "perconalab/percona-server-mysql-operator:main-psmysql" in 238ms (238ms including waiting). Image size: 383656261 bytes. kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:30 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{haproxy} Killing Stopping container haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:30 +0000 UTC Normal Pod gr-security-context-haproxy-0.spec.containers{mysql-monit} Killing Stopping container mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:30 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{haproxy} Killing Stopping container haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:30 +0000 UTC Normal Pod gr-security-context-haproxy-1.spec.containers{mysql-monit} Killing Stopping container mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:30 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{haproxy} Killing Stopping container haproxy kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:30 +0000 UTC Normal Pod gr-security-context-haproxy-2.spec.containers{mysql-monit} Killing Stopping container mysql-monit kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:30 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{mysql} Killing Stopping container mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:30 +0000 UTC Normal Pod gr-security-context-mysql-0.spec.containers{xtrabackup} Killing Stopping container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:30 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{xtrabackup} Killing Stopping container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:30 +0000 UTC Normal Pod gr-security-context-mysql-1.spec.containers{mysql} Killing Stopping container mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:30 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{xtrabackup} Killing Stopping container xtrabackup kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:30 +0000 UTC Normal Pod gr-security-context-mysql-2.spec.containers{mysql} Killing Stopping container mysql kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:31 +0000 UTC Warning Pod gr-security-context-mysql-1.spec.containers{mysql} Unhealthy Readiness probe failed: 2025/05/12 19:36:31 MySQL state is not ready... kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:34 +0000 UTC Warning Pod gr-security-context-mysql-2.spec.containers{mysql} Unhealthy Readiness probe failed: 2025/05/12 19:36:34 MySQL state is not ready... kubelet logger.go:42: 19:36:37 | gr-security-context | 2025-05-12 19:36:36 +0000 UTC Warning Pod gr-security-context-mysql-1.spec.containers{mysql} Unhealthy Readiness probe failed: 2025/05/12 19:36:36 MySQL state is not ready... kubelet logger.go:42: 19:36:38 | gr-security-context | Deleting namespace: kuttl-test-hopeful-pika === NAME kuttl harness.go:407: run tests finished harness.go:515: cleaning up harness.go:572: removing temp folder: "" --- PASS: kuttl (638.66s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/gr-security-context (638.12s) PASS