Log: /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/logs/upgrade-proxysql-8-0.log WARNING: version difference between client (1.29) and server (1.25) exceeds the supported minor version skew of +/-1 WARNING: version difference between client (1.29) and server (1.25) exceeds the supported minor version skew of +/-1 + CLUSTER=upgrade-proxysql + CLUSTER_SIZE=3 + TARGET_OPERATOR_VER=1.14.0 + TARGET_IMAGE=perconalab/percona-xtradb-cluster-operator:PR-1522-1ed4605b + TARGET_IMAGE_PXC=perconalab/percona-xtradb-cluster-operator:main-pxc8.0 + TARGET_IMAGE_PMM_CLIENT=perconalab/pmm-client:dev-latest + TARGET_IMAGE_PROXY=perconalab/percona-xtradb-cluster-operator:main-proxysql + TARGET_IMAGE_HAPROXY=perconalab/percona-xtradb-cluster-operator:main-haproxy + TARGET_IMAGE_BACKUP=perconalab/percona-xtradb-cluster-operator:k8spxc-1313-8.0-backup + [[ perconalab/percona-xtradb-cluster-operator:main-pxc8.0 == *\p\e\r\c\o\n\a\-\x\t\r\a\d\b\-\c\l\u\s\t\e\r\-\o\p\e\r\a\t\o\r* ]] ++ echo -n perconalab/percona-xtradb-cluster-operator:main-pxc8.0 ++ /usr/bin/sed -r 's/.*([0-9].[0-9])$/\1/' + PXC_VER=8.0 ++ curl -s https://check.percona.com/versions/v1/pxc-operator ++ jq -r '.versions[].operator' ++ sort -V ++ tail -n1 + INIT_OPERATOR_VER=1.13.0 + [[ 1.13.0 == \1\.\1\4\.\0 ]] + GIT_TAG=v1.13.0 ++ curl -s 'https://check.percona.com/versions/v1/pxc-operator/1.13.0/latest?databaseVersion=8.0' + INIT_OPERATOR_IMAGES='{"versions":[{"product":"pxc-operator", "operator":"1.13.0", "matrix":{"mongod":{}, "pxc":{"8.0.32-24.2":{"imagePath":"percona/percona-xtradb-cluster:8.0.32-24.2", "imageHash":"1f978ab8912e1b5fc66570529cb7e7a4ec6a38adbfce1ece78159b0fcfa7d47a", "status":"recommended", "critical":false}}, "pmm":{"2.38.0":{"imagePath":"percona/pmm-client:2.38.0", "imageHash":"e034bf7ea7ce20bce5898f60db01c5703d555149dd5b208ce8e82103e1f0b12a", "status":"recommended", "critical":false}}, "proxysql":{"2.5.1-1.1":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-proxysql", "imageHash":"de0c551717adc6a610dd70379a6b8c9cfd413e7a6b8151873e8b967f9ae662e5", "status":"recommended", "critical":false}}, "haproxy":{"2.6.12":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-haproxy", "imageHash":"f04e4fea548bfc7cb0bfc73c75c7f2c64d299cf04125a07a8101a55f0f734fed", "status":"recommended", "critical":false}}, "backup":{"8.0.32":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-pxc8.0-backup-pxb8.0.32", "imageHash":"45ad618f9a76acc1ffaf0a72ba2dc6cb32a44ee2d6e0e493dd7d30603fd06e38", "status":"recommended", "critical":false}}, "operator":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0", "imageHash":"c674d63242f1af521edfbaffae2ae02fb8d010c0557a67a9c42d2b4a50db5243", "status":"recommended", "critical":false}}, "logCollector":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-logcollector", "imageHash":"cf9bdfb046852895fb11cf505c8379367d716e25c0d52ba85c7b03cf4b6ed94e", "status":"recommended", "critical":false}}, "postgresql":{}, "pgbackrest":{}, "pgbackrestRepo":{}, "pgbadger":{}, "pgbouncer":{}, "pxcOperator":{}, "psmdbOperator":{}, "pgOperatorApiserver":{}, "pgOperatorEvent":{}, "pgOperatorRmdata":{}, "pgOperatorScheduler":{}, "pgOperator":{}, "pgOperatorDeployer":{}, "psOperator":{}, "mysql":{}, "router":{}, "orchestrator":{}, "toolkit":{}, "postgis":{}}}]}' + OPERATOR_NAME=percona-xtradb-cluster-operator ++ jq -r '.versions[].matrix.operator[].imagePath' ++ echo '{"versions":[{"product":"pxc-operator", "operator":"1.13.0", "matrix":{"mongod":{}, "pxc":{"8.0.32-24.2":{"imagePath":"percona/percona-xtradb-cluster:8.0.32-24.2", "imageHash":"1f978ab8912e1b5fc66570529cb7e7a4ec6a38adbfce1ece78159b0fcfa7d47a", "status":"recommended", "critical":false}}, "pmm":{"2.38.0":{"imagePath":"percona/pmm-client:2.38.0", "imageHash":"e034bf7ea7ce20bce5898f60db01c5703d555149dd5b208ce8e82103e1f0b12a", "status":"recommended", "critical":false}}, "proxysql":{"2.5.1-1.1":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-proxysql", "imageHash":"de0c551717adc6a610dd70379a6b8c9cfd413e7a6b8151873e8b967f9ae662e5", "status":"recommended", "critical":false}}, "haproxy":{"2.6.12":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-haproxy", "imageHash":"f04e4fea548bfc7cb0bfc73c75c7f2c64d299cf04125a07a8101a55f0f734fed", "status":"recommended", "critical":false}}, "backup":{"8.0.32":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-pxc8.0-backup-pxb8.0.32", "imageHash":"45ad618f9a76acc1ffaf0a72ba2dc6cb32a44ee2d6e0e493dd7d30603fd06e38", "status":"recommended", "critical":false}}, "operator":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0", "imageHash":"c674d63242f1af521edfbaffae2ae02fb8d010c0557a67a9c42d2b4a50db5243", "status":"recommended", "critical":false}}, "logCollector":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-logcollector", "imageHash":"cf9bdfb046852895fb11cf505c8379367d716e25c0d52ba85c7b03cf4b6ed94e", "status":"recommended", "critical":false}}, "postgresql":{}, "pgbackrest":{}, "pgbackrestRepo":{}, "pgbadger":{}, "pgbouncer":{}, "pxcOperator":{}, "psmdbOperator":{}, "pgOperatorApiserver":{}, "pgOperatorEvent":{}, "pgOperatorRmdata":{}, "pgOperatorScheduler":{}, "pgOperator":{}, "pgOperatorDeployer":{}, "psOperator":{}, "mysql":{}, "router":{}, "orchestrator":{}, "toolkit":{}, "postgis":{}}}]}' + IMAGE=percona/percona-xtradb-cluster-operator:1.13.0 ++ echo perconalab/percona-xtradb-cluster-operator:PR-1522-1ed4605b ++ cut -d/ -f1 + [[ perconalab == \p\e\r\c\o\n\a\l\a\b ]] + IMAGE=perconalab/percona-xtradb-cluster-operator:1.13.0 ++ jq -r '.versions[].matrix.pxc[].imagePath' ++ echo '{"versions":[{"product":"pxc-operator", "operator":"1.13.0", "matrix":{"mongod":{}, "pxc":{"8.0.32-24.2":{"imagePath":"percona/percona-xtradb-cluster:8.0.32-24.2", "imageHash":"1f978ab8912e1b5fc66570529cb7e7a4ec6a38adbfce1ece78159b0fcfa7d47a", "status":"recommended", "critical":false}}, "pmm":{"2.38.0":{"imagePath":"percona/pmm-client:2.38.0", "imageHash":"e034bf7ea7ce20bce5898f60db01c5703d555149dd5b208ce8e82103e1f0b12a", "status":"recommended", "critical":false}}, "proxysql":{"2.5.1-1.1":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-proxysql", "imageHash":"de0c551717adc6a610dd70379a6b8c9cfd413e7a6b8151873e8b967f9ae662e5", "status":"recommended", "critical":false}}, "haproxy":{"2.6.12":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-haproxy", "imageHash":"f04e4fea548bfc7cb0bfc73c75c7f2c64d299cf04125a07a8101a55f0f734fed", "status":"recommended", "critical":false}}, "backup":{"8.0.32":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-pxc8.0-backup-pxb8.0.32", "imageHash":"45ad618f9a76acc1ffaf0a72ba2dc6cb32a44ee2d6e0e493dd7d30603fd06e38", "status":"recommended", "critical":false}}, "operator":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0", "imageHash":"c674d63242f1af521edfbaffae2ae02fb8d010c0557a67a9c42d2b4a50db5243", "status":"recommended", "critical":false}}, "logCollector":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-logcollector", "imageHash":"cf9bdfb046852895fb11cf505c8379367d716e25c0d52ba85c7b03cf4b6ed94e", "status":"recommended", "critical":false}}, "postgresql":{}, "pgbackrest":{}, "pgbackrestRepo":{}, "pgbadger":{}, "pgbouncer":{}, "pxcOperator":{}, "psmdbOperator":{}, "pgOperatorApiserver":{}, "pgOperatorEvent":{}, "pgOperatorRmdata":{}, "pgOperatorScheduler":{}, "pgOperator":{}, "pgOperatorDeployer":{}, "psOperator":{}, "mysql":{}, "router":{}, "orchestrator":{}, "toolkit":{}, "postgis":{}}}]}' + IMAGE_PXC=percona/percona-xtradb-cluster:8.0.32-24.2 ++ echo '{"versions":[{"product":"pxc-operator", "operator":"1.13.0", "matrix":{"mongod":{}, "pxc":{"8.0.32-24.2":{"imagePath":"percona/percona-xtradb-cluster:8.0.32-24.2", "imageHash":"1f978ab8912e1b5fc66570529cb7e7a4ec6a38adbfce1ece78159b0fcfa7d47a", "status":"recommended", "critical":false}}, "pmm":{"2.38.0":{"imagePath":"percona/pmm-client:2.38.0", "imageHash":"e034bf7ea7ce20bce5898f60db01c5703d555149dd5b208ce8e82103e1f0b12a", "status":"recommended", "critical":false}}, "proxysql":{"2.5.1-1.1":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-proxysql", "imageHash":"de0c551717adc6a610dd70379a6b8c9cfd413e7a6b8151873e8b967f9ae662e5", "status":"recommended", "critical":false}}, "haproxy":{"2.6.12":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-haproxy", "imageHash":"f04e4fea548bfc7cb0bfc73c75c7f2c64d299cf04125a07a8101a55f0f734fed", "status":"recommended", "critical":false}}, "backup":{"8.0.32":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-pxc8.0-backup-pxb8.0.32", "imageHash":"45ad618f9a76acc1ffaf0a72ba2dc6cb32a44ee2d6e0e493dd7d30603fd06e38", "status":"recommended", "critical":false}}, "operator":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0", "imageHash":"c674d63242f1af521edfbaffae2ae02fb8d010c0557a67a9c42d2b4a50db5243", "status":"recommended", "critical":false}}, "logCollector":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-logcollector", "imageHash":"cf9bdfb046852895fb11cf505c8379367d716e25c0d52ba85c7b03cf4b6ed94e", "status":"recommended", "critical":false}}, "postgresql":{}, "pgbackrest":{}, "pgbackrestRepo":{}, "pgbadger":{}, "pgbouncer":{}, "pxcOperator":{}, "psmdbOperator":{}, "pgOperatorApiserver":{}, "pgOperatorEvent":{}, "pgOperatorRmdata":{}, "pgOperatorScheduler":{}, "pgOperator":{}, "pgOperatorDeployer":{}, "psOperator":{}, "mysql":{}, "router":{}, "orchestrator":{}, "toolkit":{}, "postgis":{}}}]}' ++ jq -r '.versions[].matrix.pmm[].imagePath' + IMAGE_PMM_CLIENT=percona/pmm-client:2.38.0 ++ jq -r '.versions[].matrix.proxysql[].imagePath' ++ echo '{"versions":[{"product":"pxc-operator", "operator":"1.13.0", "matrix":{"mongod":{}, "pxc":{"8.0.32-24.2":{"imagePath":"percona/percona-xtradb-cluster:8.0.32-24.2", "imageHash":"1f978ab8912e1b5fc66570529cb7e7a4ec6a38adbfce1ece78159b0fcfa7d47a", "status":"recommended", "critical":false}}, "pmm":{"2.38.0":{"imagePath":"percona/pmm-client:2.38.0", "imageHash":"e034bf7ea7ce20bce5898f60db01c5703d555149dd5b208ce8e82103e1f0b12a", "status":"recommended", "critical":false}}, "proxysql":{"2.5.1-1.1":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-proxysql", "imageHash":"de0c551717adc6a610dd70379a6b8c9cfd413e7a6b8151873e8b967f9ae662e5", "status":"recommended", "critical":false}}, "haproxy":{"2.6.12":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-haproxy", "imageHash":"f04e4fea548bfc7cb0bfc73c75c7f2c64d299cf04125a07a8101a55f0f734fed", "status":"recommended", "critical":false}}, "backup":{"8.0.32":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-pxc8.0-backup-pxb8.0.32", "imageHash":"45ad618f9a76acc1ffaf0a72ba2dc6cb32a44ee2d6e0e493dd7d30603fd06e38", "status":"recommended", "critical":false}}, "operator":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0", "imageHash":"c674d63242f1af521edfbaffae2ae02fb8d010c0557a67a9c42d2b4a50db5243", "status":"recommended", "critical":false}}, "logCollector":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-logcollector", "imageHash":"cf9bdfb046852895fb11cf505c8379367d716e25c0d52ba85c7b03cf4b6ed94e", "status":"recommended", "critical":false}}, "postgresql":{}, "pgbackrest":{}, "pgbackrestRepo":{}, "pgbadger":{}, "pgbouncer":{}, "pxcOperator":{}, "psmdbOperator":{}, "pgOperatorApiserver":{}, "pgOperatorEvent":{}, "pgOperatorRmdata":{}, "pgOperatorScheduler":{}, "pgOperator":{}, "pgOperatorDeployer":{}, "psOperator":{}, "mysql":{}, "router":{}, "orchestrator":{}, "toolkit":{}, "postgis":{}}}]}' + IMAGE_PROXY=percona/percona-xtradb-cluster-operator:1.13.0-proxysql ++ echo '{"versions":[{"product":"pxc-operator", "operator":"1.13.0", "matrix":{"mongod":{}, "pxc":{"8.0.32-24.2":{"imagePath":"percona/percona-xtradb-cluster:8.0.32-24.2", "imageHash":"1f978ab8912e1b5fc66570529cb7e7a4ec6a38adbfce1ece78159b0fcfa7d47a", "status":"recommended", "critical":false}}, "pmm":{"2.38.0":{"imagePath":"percona/pmm-client:2.38.0", "imageHash":"e034bf7ea7ce20bce5898f60db01c5703d555149dd5b208ce8e82103e1f0b12a", "status":"recommended", "critical":false}}, "proxysql":{"2.5.1-1.1":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-proxysql", "imageHash":"de0c551717adc6a610dd70379a6b8c9cfd413e7a6b8151873e8b967f9ae662e5", "status":"recommended", "critical":false}}, "haproxy":{"2.6.12":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-haproxy", "imageHash":"f04e4fea548bfc7cb0bfc73c75c7f2c64d299cf04125a07a8101a55f0f734fed", "status":"recommended", "critical":false}}, "backup":{"8.0.32":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-pxc8.0-backup-pxb8.0.32", "imageHash":"45ad618f9a76acc1ffaf0a72ba2dc6cb32a44ee2d6e0e493dd7d30603fd06e38", "status":"recommended", "critical":false}}, "operator":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0", "imageHash":"c674d63242f1af521edfbaffae2ae02fb8d010c0557a67a9c42d2b4a50db5243", "status":"recommended", "critical":false}}, "logCollector":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-logcollector", "imageHash":"cf9bdfb046852895fb11cf505c8379367d716e25c0d52ba85c7b03cf4b6ed94e", "status":"recommended", "critical":false}}, "postgresql":{}, "pgbackrest":{}, "pgbackrestRepo":{}, "pgbadger":{}, "pgbouncer":{}, "pxcOperator":{}, "psmdbOperator":{}, "pgOperatorApiserver":{}, "pgOperatorEvent":{}, "pgOperatorRmdata":{}, "pgOperatorScheduler":{}, "pgOperator":{}, "pgOperatorDeployer":{}, "psOperator":{}, "mysql":{}, "router":{}, "orchestrator":{}, "toolkit":{}, "postgis":{}}}]}' ++ jq -r '.versions[].matrix.haproxy[].imagePath' + IMAGE_HAPROXY=percona/percona-xtradb-cluster-operator:1.13.0-haproxy ++ jq -r '.versions[].matrix.backup[].imagePath' ++ echo '{"versions":[{"product":"pxc-operator", "operator":"1.13.0", "matrix":{"mongod":{}, "pxc":{"8.0.32-24.2":{"imagePath":"percona/percona-xtradb-cluster:8.0.32-24.2", "imageHash":"1f978ab8912e1b5fc66570529cb7e7a4ec6a38adbfce1ece78159b0fcfa7d47a", "status":"recommended", "critical":false}}, "pmm":{"2.38.0":{"imagePath":"percona/pmm-client:2.38.0", "imageHash":"e034bf7ea7ce20bce5898f60db01c5703d555149dd5b208ce8e82103e1f0b12a", "status":"recommended", "critical":false}}, "proxysql":{"2.5.1-1.1":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-proxysql", "imageHash":"de0c551717adc6a610dd70379a6b8c9cfd413e7a6b8151873e8b967f9ae662e5", "status":"recommended", "critical":false}}, "haproxy":{"2.6.12":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-haproxy", "imageHash":"f04e4fea548bfc7cb0bfc73c75c7f2c64d299cf04125a07a8101a55f0f734fed", "status":"recommended", "critical":false}}, "backup":{"8.0.32":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-pxc8.0-backup-pxb8.0.32", "imageHash":"45ad618f9a76acc1ffaf0a72ba2dc6cb32a44ee2d6e0e493dd7d30603fd06e38", "status":"recommended", "critical":false}}, "operator":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0", "imageHash":"c674d63242f1af521edfbaffae2ae02fb8d010c0557a67a9c42d2b4a50db5243", "status":"recommended", "critical":false}}, "logCollector":{"1.13.0":{"imagePath":"percona/percona-xtradb-cluster-operator:1.13.0-logcollector", "imageHash":"cf9bdfb046852895fb11cf505c8379367d716e25c0d52ba85c7b03cf4b6ed94e", "status":"recommended", "critical":false}}, "postgresql":{}, "pgbackrest":{}, "pgbackrestRepo":{}, "pgbadger":{}, "pgbouncer":{}, "pxcOperator":{}, "psmdbOperator":{}, "pgOperatorApiserver":{}, "pgOperatorEvent":{}, "pgOperatorRmdata":{}, "pgOperatorScheduler":{}, "pgOperator":{}, "pgOperatorDeployer":{}, "psOperator":{}, "mysql":{}, "router":{}, "orchestrator":{}, "toolkit":{}, "postgis":{}}}]}' + IMAGE_BACKUP=percona/percona-xtradb-cluster-operator:1.13.0-pxc8.0-backup-pxb8.0.32 + [[ 1.14.0 == \1\.\1\3\.\0 ]] + main + deploy_cert_manager + desc 'deploy cert manager' + set +o xtrace ----------------------------------------------------------------------------------- deploy cert manager ----------------------------------------------------------------------------------- + kubectl_bin create namespace cert-manager ++ mktemp + local LAST_OUT=/tmp/tmp.kMVlPTinEY ++ mktemp + local LAST_ERR=/tmp/tmp.9H1nGItbcN + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create namespace cert-manager + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.kMVlPTinEY namespace/cert-manager created + cat /tmp/tmp.9H1nGItbcN + rm /tmp/tmp.kMVlPTinEY /tmp/tmp.9H1nGItbcN + return 0 + kubectl_bin label namespace cert-manager certmanager.k8s.io/disable-validation=true ++ mktemp + local LAST_OUT=/tmp/tmp.0doXrZbH0D ++ mktemp + local LAST_ERR=/tmp/tmp.O2A4n8FpR4 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl label namespace cert-manager certmanager.k8s.io/disable-validation=true + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.0doXrZbH0D namespace/cert-manager labeled + cat /tmp/tmp.O2A4n8FpR4 + rm /tmp/tmp.0doXrZbH0D /tmp/tmp.O2A4n8FpR4 + return 0 + kubectl_bin apply -f https://github.com/jetstack/cert-manager/releases/download/v1.12.1/cert-manager.yaml --validate=false ++ mktemp + local LAST_OUT=/tmp/tmp.pQnsGL72TH ++ mktemp + local LAST_ERR=/tmp/tmp.J2AickeDSO + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.12.1/cert-manager.yaml --validate=false + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.pQnsGL72TH namespace/cert-manager configured customresourcedefinition.apiextensions.k8s.io/certificaterequests.cert-manager.io unchanged customresourcedefinition.apiextensions.k8s.io/certificates.cert-manager.io unchanged customresourcedefinition.apiextensions.k8s.io/challenges.acme.cert-manager.io unchanged customresourcedefinition.apiextensions.k8s.io/clusterissuers.cert-manager.io unchanged customresourcedefinition.apiextensions.k8s.io/issuers.cert-manager.io unchanged customresourcedefinition.apiextensions.k8s.io/orders.acme.cert-manager.io unchanged serviceaccount/cert-manager-cainjector created serviceaccount/cert-manager created serviceaccount/cert-manager-webhook created configmap/cert-manager-webhook created clusterrole.rbac.authorization.k8s.io/cert-manager-cainjector unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-issuers unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-clusterissuers unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-certificates unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-orders unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-challenges unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-ingress-shim unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-view unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-edit unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-approve:cert-manager-io unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-controller-certificatesigningrequests unchanged clusterrole.rbac.authorization.k8s.io/cert-manager-webhook:subjectaccessreviews unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-cainjector unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-issuers unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-clusterissuers unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-certificates unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-orders unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-challenges unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-ingress-shim unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-approve:cert-manager-io unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-certificatesigningrequests unchanged clusterrolebinding.rbac.authorization.k8s.io/cert-manager-webhook:subjectaccessreviews configured role.rbac.authorization.k8s.io/cert-manager-cainjector:leaderelection unchanged role.rbac.authorization.k8s.io/cert-manager:leaderelection unchanged role.rbac.authorization.k8s.io/cert-manager-webhook:dynamic-serving created rolebinding.rbac.authorization.k8s.io/cert-manager-cainjector:leaderelection unchanged rolebinding.rbac.authorization.k8s.io/cert-manager:leaderelection configured rolebinding.rbac.authorization.k8s.io/cert-manager-webhook:dynamic-serving created service/cert-manager created service/cert-manager-webhook created deployment.apps/cert-manager-cainjector created deployment.apps/cert-manager created deployment.apps/cert-manager-webhook created mutatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook configured validatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook configured + cat /tmp/tmp.J2AickeDSO Warning: resource namespaces/cert-manager 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. + rm /tmp/tmp.pQnsGL72TH /tmp/tmp.J2AickeDSO + return 0 + '[' '' == 4.10 ']' + sleep 70 + create_infra_gh upgrade-proxysql-15617 v1.13.0 + local ns=upgrade-proxysql-15617 + local git_tag=v1.13.0 + '[' -n pxc-operator ']' + create_namespace pxc-operator + local namespace=pxc-operator + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ tail -n1 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// ++ helm list --all-namespaces --filter chaos-mesh + local chaos_mesh_ns= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' + '[' -n '' ']' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ grep chaos-mesh ++ awk '{print $1}' ++ kubectl get ValidatingWebhookConfiguration + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + awk '{print$1}' + '[' -n '' ']' + desc 'cleaned up old namespaces pxc-operator' + xargs kubectl delete ns + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces pxc-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace pxc-operator + egrep -v '^kube-|^default$|Terminating|pxc-operator|openshift|^NAME' ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.Jkv21igcea ++ mktemp + local LAST_OUT=/tmp/tmp.E2VkueYlFx + local LAST_ERR=/tmp/tmp.15pq7KLcsN + local exit_status=0 ++ mktemp ++ seq 0 2 + local LAST_ERR=/tmp/tmp.C4uCxX4zUc + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace pxc-operator + for i in '$(seq 0 2)' + set +e + kubectl get ns + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.Jkv21igcea + cat /tmp/tmp.15pq7KLcsN + rm /tmp/tmp.Jkv21igcea /tmp/tmp.15pq7KLcsN + return 0 namespace "cert-manager" deleted namespace "upgrade-proxysql-4593" deleted Error from server (Forbidden): namespaces "default" is forbidden: this namespace may not be deleted + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.E2VkueYlFx namespace "pxc-operator" deleted + cat /tmp/tmp.C4uCxX4zUc + rm /tmp/tmp.E2VkueYlFx /tmp/tmp.C4uCxX4zUc + return 0 + wait_for_delete namespace/pxc-operator + local res=namespace/pxc-operator + echo -n 'namespace/pxc-operator - ' namespace/pxc-operator - + set +o xtrace Error from server (NotFound): namespaces "pxc-operator" not found + desc 'create namespace pxc-operator' + set +o xtrace ----------------------------------------------------------------------------------- create namespace pxc-operator ----------------------------------------------------------------------------------- + kubectl_bin create namespace pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.SyuvLHVDWj ++ mktemp + local LAST_ERR=/tmp/tmp.9tXY8u179d + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create namespace pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.SyuvLHVDWj namespace/pxc-operator created + cat /tmp/tmp.9tXY8u179d + rm /tmp/tmp.SyuvLHVDWj /tmp/tmp.9tXY8u179d + return 0 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.dk91NNGEhd +++ mktemp ++ local LAST_ERR=/tmp/tmp.roN6QJnEAB ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.dk91NNGEhd ++ cat /tmp/tmp.roN6QJnEAB ++ rm /tmp/tmp.dk91NNGEhd /tmp/tmp.roN6QJnEAB ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-1522-1ed4605b-21-cluster8 --namespace=pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.Z056SJo1r4 ++ mktemp + local LAST_ERR=/tmp/tmp.kkYBrDok3X + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-1522-1ed4605b-21-cluster8 --namespace=pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.Z056SJo1r4 Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-1522-1ed4605b-21-cluster8" modified. + cat /tmp/tmp.kkYBrDok3X + rm /tmp/tmp.Z056SJo1r4 /tmp/tmp.kkYBrDok3X + return 0 + deploy_operator_gh v1.13.0 + local git_tag=v1.13.0 + desc 'start PXC operator' + set +o xtrace ----------------------------------------------------------------------------------- start PXC operator ----------------------------------------------------------------------------------- ++ kubectl_bin get crds -o 'jsonpath={.items[?(@.metadata.name == "perconaxtradbclusters.pxc.percona.com")].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.dKjOmGBvLd +++ mktemp ++ local LAST_ERR=/tmp/tmp.Lv4N4XVRW9 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get crds -o 'jsonpath={.items[?(@.metadata.name == "perconaxtradbclusters.pxc.percona.com")].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.dKjOmGBvLd ++ cat /tmp/tmp.Lv4N4XVRW9 ++ rm /tmp/tmp.dKjOmGBvLd /tmp/tmp.Lv4N4XVRW9 ++ return 0 + [[ -n perconaxtradbclusters.pxc.percona.com ]] ++ kubectl_bin get crd/perconaxtradbclusters.pxc.percona.com -o 'jsonpath={.spec.versions[?(@.name == "v1-13-0")].name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xb5w7lhYPC +++ mktemp ++ local LAST_ERR=/tmp/tmp.Big27sQy2x ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get crd/perconaxtradbclusters.pxc.percona.com -o 'jsonpath={.spec.versions[?(@.name == "v1-13-0")].name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.xb5w7lhYPC ++ cat /tmp/tmp.Big27sQy2x ++ rm /tmp/tmp.xb5w7lhYPC /tmp/tmp.Big27sQy2x ++ return 0 + [[ -n '' ]] + kubectl_bin apply --server-side --force-conflicts -f https://raw.githubusercontent.com/percona/percona-xtradb-cluster-operator/v1.13.0/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.fiNU8ixpql ++ mktemp + local LAST_ERR=/tmp/tmp.hzmjaR27W9 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply --server-side --force-conflicts -f https://raw.githubusercontent.com/percona/percona-xtradb-cluster-operator/v1.13.0/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.fiNU8ixpql + cat /tmp/tmp.hzmjaR27W9 + rm /tmp/tmp.fiNU8ixpql /tmp/tmp.hzmjaR27W9 + return 0 + local rbac_yaml=rbac + local operator_yaml=operator.yaml + '[' -n pxc-operator ']' + rbac_yaml=cw-rbac + operator_yaml=cw-operator.yaml + apply_rbac_gh cw-rbac v1.13.0 + local operator_namespace=pxc-operator + local rbac=cw-rbac + local git_tag=v1.13.0 + curl -s https://raw.githubusercontent.com/percona/percona-xtradb-cluster-operator/v1.13.0/deploy/cw-rbac.yaml + /usr/bin/sed -i -e 's^namespace: .*^namespace: pxc-operator^' /tmp/tmp.BGJuVyC7Mn/rbac_v1.13.0.yaml + kubectl_bin apply -f /tmp/tmp.BGJuVyC7Mn/rbac_v1.13.0.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.mmWgp9FrLF ++ mktemp + local LAST_ERR=/tmp/tmp.1cbelNIFug + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f /tmp/tmp.BGJuVyC7Mn/rbac_v1.13.0.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.mmWgp9FrLF clusterrole.rbac.authorization.k8s.io/percona-xtradb-cluster-operator unchanged serviceaccount/percona-xtradb-cluster-operator created clusterrolebinding.rbac.authorization.k8s.io/service-account-percona-xtradb-cluster-operator unchanged + cat /tmp/tmp.1cbelNIFug + rm /tmp/tmp.mmWgp9FrLF /tmp/tmp.1cbelNIFug + return 0 + curl -s https://raw.githubusercontent.com/percona/percona-xtradb-cluster-operator/v1.13.0/deploy/cw-operator.yaml + sed -e 's^image: .*^image: perconalab/percona-xtradb-cluster-operator:1.13.0^' + yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "DISABLE_TELEMETRY").value) = "true"' + yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "LOG_LEVEL").value) = "DEBUG"' + cat /tmp/tmp.BGJuVyC7Mn/cw-operator.yaml_v1.13.0.yaml + kubectl_bin apply -n pxc-operator -f - ++ mktemp + local LAST_OUT=/tmp/tmp.Oeei7B697e ++ mktemp + local LAST_ERR=/tmp/tmp.U1B8JudC6v + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -n pxc-operator -f - + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.Oeei7B697e deployment.apps/percona-xtradb-cluster-operator created service/percona-xtradb-cluster-operator created + cat /tmp/tmp.U1B8JudC6v + rm /tmp/tmp.Oeei7B697e /tmp/tmp.U1B8JudC6v + return 0 + sleep 2 ++ get_operator_pod ++ local label_prefix=app.kubernetes.io/ +++ kubectl get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -n pxc-operator +++ grep -c percona-xtradb-cluster-operator ++ local check_label=1 ++ [[ 1 -eq 0 ]] ++ kubectl_bin get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'jsonpath={.items[].metadata.name}' -n pxc-operator +++ mktemp ++ local LAST_OUT=/tmp/tmp.uL0oD6BZwh +++ mktemp ++ local LAST_ERR=/tmp/tmp.eDvx97Ie6D ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'jsonpath={.items[].metadata.name}' -n pxc-operator ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.uL0oD6BZwh ++ cat /tmp/tmp.eDvx97Ie6D ++ rm /tmp/tmp.uL0oD6BZwh /tmp/tmp.eDvx97Ie6D ++ return 0 + wait_pod percona-xtradb-cluster-operator-59bd88b5f9-gqg54 + local pod=percona-xtradb-cluster-operator-59bd88b5f9-gqg54 + local max_retry=480 + local ns= ++ echo percona-xtradb-cluster-operator-59bd88b5f9-gqg54 ++ egrep '^(pxc|proxysql)$' ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' + local container= + set +o xtrace pod/percona-xtradb-cluster-operator-59bd88b5f9-gqg54 condition met percona-xtradb-cluster-operator-59bd88b5f9-gqg54.Ok + create_namespace upgrade-proxysql-15617 + local namespace=upgrade-proxysql-15617 + local skip_clean_namespace= + [[ 1 == 1 ]] + [[ -z '' ]] + destroy_chaos_mesh ++ helm list --all-namespaces --filter chaos-mesh ++ tail -n1 ++ awk '-F ' '{print $2}' ++ sed s/NAMESPACE// + local chaos_mesh_ns= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' + '[' -n '' ']' ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ awk '{print $1}' ++ grep chaos-mesh + timeout 30 kubectl delete clusterrole error: resource(s) were provided, but no name was specified + : ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : + desc 'cleaned up all old namespaces' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up all old namespaces ----------------------------------------------------------------------------------- + kubectl_bin get ns + egrep -v '^kube-|^default$|Terminating|pxc-operator|openshift|^NAME' + awk '{print$1}' + '[' -n '' ']' + desc 'cleaned up old namespaces upgrade-proxysql-15617' + xargs kubectl delete ns + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces upgrade-proxysql-15617 ----------------------------------------------------------------------------------- + kubectl_bin delete namespace upgrade-proxysql-15617 ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.ypCFIbM472 ++ mktemp + local LAST_OUT=/tmp/tmp.VlUX9wjUEq ++ mktemp + local LAST_ERR=/tmp/tmp.3vJ0JS8MrN + local exit_status=0 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.b5tMKkWTzd + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl get ns + for i in '$(seq 0 2)' + set +e + kubectl delete namespace upgrade-proxysql-15617 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace upgrade-proxysql-15617 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.ypCFIbM472 + cat /tmp/tmp.3vJ0JS8MrN + rm /tmp/tmp.ypCFIbM472 /tmp/tmp.3vJ0JS8MrN + return 0 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace upgrade-proxysql-15617 Error from server (Forbidden): namespaces "default" is forbidden: this namespace may not be deleted + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + cat /tmp/tmp.VlUX9wjUEq + cat /tmp/tmp.b5tMKkWTzd Error from server (NotFound): namespaces "upgrade-proxysql-15617" not found + rm /tmp/tmp.VlUX9wjUEq /tmp/tmp.b5tMKkWTzd + return 1 + : + wait_for_delete namespace/upgrade-proxysql-15617 + local res=namespace/upgrade-proxysql-15617 + echo -n 'namespace/upgrade-proxysql-15617 - ' namespace/upgrade-proxysql-15617 - + set +o xtrace Error from server (NotFound): namespaces "upgrade-proxysql-15617" not found + desc 'create namespace upgrade-proxysql-15617' + set +o xtrace ----------------------------------------------------------------------------------- create namespace upgrade-proxysql-15617 ----------------------------------------------------------------------------------- + kubectl_bin create namespace upgrade-proxysql-15617 ++ mktemp + local LAST_OUT=/tmp/tmp.PGkggJ0weo ++ mktemp + local LAST_ERR=/tmp/tmp.rLbAWtpbRp + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create namespace upgrade-proxysql-15617 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.PGkggJ0weo namespace/upgrade-proxysql-15617 created + cat /tmp/tmp.rLbAWtpbRp + rm /tmp/tmp.PGkggJ0weo /tmp/tmp.rLbAWtpbRp + return 0 ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.eSFiokIZGZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.mtv6h60lFt ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.eSFiokIZGZ ++ cat /tmp/tmp.mtv6h60lFt ++ rm /tmp/tmp.eSFiokIZGZ /tmp/tmp.mtv6h60lFt ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-1522-1ed4605b-21-cluster8 --namespace=upgrade-proxysql-15617 ++ mktemp + local LAST_OUT=/tmp/tmp.dcHuxNejPb ++ mktemp + local LAST_ERR=/tmp/tmp.MX5lVZNHeT + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-1522-1ed4605b-21-cluster8 --namespace=upgrade-proxysql-15617 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.dcHuxNejPb Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-1522-1ed4605b-21-cluster8" modified. + cat /tmp/tmp.MX5lVZNHeT + rm /tmp/tmp.dcHuxNejPb /tmp/tmp.MX5lVZNHeT + return 0 + apply_secrets + desc 'create secrets for cloud storages' + set +o xtrace ----------------------------------------------------------------------------------- create secrets for cloud storages ----------------------------------------------------------------------------------- + '[' -z '' ']' + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/conf/cloud-secret.yml ++ mktemp + local LAST_OUT=/tmp/tmp.dtLgewAqZi ++ mktemp + local LAST_ERR=/tmp/tmp.X3YzJldIbb + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/conf/minio-secret.yml -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/conf/cloud-secret.yml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.dtLgewAqZi secret/minio-secret created secret/aws-s3-secret created secret/gcp-cs-secret created secret/azure-secret created + cat /tmp/tmp.X3YzJldIbb + rm /tmp/tmp.dtLgewAqZi /tmp/tmp.X3YzJldIbb + return 0 + local proxy=proxysql + local cr_yaml=/tmp/tmp.BGJuVyC7Mn/cr_1.13.0_proxysql.yaml + prepare_cr_yaml /tmp/tmp.BGJuVyC7Mn/cr_1.13.0_proxysql.yaml proxysql upgrade-proxysql 3 v1.13.0 + local cr_yaml=/tmp/tmp.BGJuVyC7Mn/cr_1.13.0_proxysql.yaml + local proxy=proxysql + local cluster=upgrade-proxysql + local cluster_size=3 + local git_tag=v1.13.0 + curl -s https://raw.githubusercontent.com/percona/percona-xtradb-cluster-operator/v1.13.0/deploy/cr.yaml + yq eval ' .metadata.name = "upgrade-proxysql" | .spec.secretsName = "my-cluster-secrets" | .spec.vaultSecretName = "some-name-vault" | .spec.sslSecretName = "some-name-ssl" | .spec.sslInternalSecretName = "some-name-ssl-internal" | .spec.upgradeOptions.apply = "disabled" | .spec.pxc.size = 3 | .spec.proxysql.size = 3 | .spec.haproxy.size = 3 | .spec.pxc.image = "-pxc" | .spec.proxysql.image = "-proxysql" | .spec.haproxy.image = "-haproxy" | .spec.backup.image = "-backup" | .spec.backup.storages.minio.s3.credentialsSecret = "minio-secret" | .spec.backup.storages.minio.s3.region = "us-east-1" | .spec.backup.storages.minio.s3.bucket = "operator-testing" | .spec.backup.storages.minio.s3.endpointUrl = "http://minio-service.#namespace:9000/" | .spec.backup.storages.minio.type = "s3" ' - + [[ proxysql == \h\a\p\r\o\x\y ]] + yq -i eval ' .spec.haproxy.enabled = false | .spec.proxysql.enabled = true ' /tmp/tmp.BGJuVyC7Mn/cr_1.13.0_proxysql.yaml + spinup_pxc upgrade-proxysql /tmp/tmp.BGJuVyC7Mn/cr_1.13.0_proxysql.yaml 3 30 /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/conf/secrets_without_tls.yml + local cluster=upgrade-proxysql + local config=/tmp/tmp.BGJuVyC7Mn/cr_1.13.0_proxysql.yaml + local size=3 + local sleep=30 + local secretsFile=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/conf/secrets_without_tls.yml + local pxcClientFile=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/conf/client.yml + local port=3306 + desc 'create first PXC cluster' + set +o xtrace ----------------------------------------------------------------------------------- create first PXC cluster ----------------------------------------------------------------------------------- + kubectl_bin apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/conf/secrets_without_tls.yml ++ mktemp + local LAST_OUT=/tmp/tmp.aK3F7NF8lJ ++ mktemp + local LAST_ERR=/tmp/tmp.xKTvdtIkio + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/conf/secrets_without_tls.yml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.aK3F7NF8lJ secret/my-cluster-secrets created + cat /tmp/tmp.xKTvdtIkio + rm /tmp/tmp.aK3F7NF8lJ /tmp/tmp.xKTvdtIkio + return 0 + apply_config /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/conf/client.yml + '[' -z '' ']' + kubectl_bin apply -f - + cat_config /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/conf/client.yml ++ mktemp + cat /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/conf/client.yml + /usr/bin/sed -e 's#image:.*-backup$#image: percona/percona-xtradb-cluster-operator:1.13.0-pxc8.0-backup-pxb8.0.32#' + local LAST_OUT=/tmp/tmp.YByxaPYUEQ + /usr/bin/sed -e 's#image:.*-init$#image: perconalab/percona-xtradb-cluster-operator:1.13.0#' + /usr/bin/sed -e 's#image:.*-pxc\([0-9]*.[0-9]*\)\{0,1\}$#image: percona/percona-xtradb-cluster:8.0.32-24.2#' + /usr/bin/sed -e 's#image:.*-proxysql$#image: percona/percona-xtradb-cluster-operator:1.13.0-proxysql#' + /usr/bin/sed -e 's#apply:.*#apply: Never#' + /usr/bin/sed -e 's#image:.*-haproxy$#image: percona/percona-xtradb-cluster-operator:1.13.0-haproxy#' + /usr/bin/sed -e s~minio-service.#namespace~minio-service.upgrade-proxysql-15617~ + /usr/bin/sed -e 's#image:.*-pmm$#image: percona/pmm-client:2.38.0#' + /usr/bin/sed -e 's#image:.*\/percona-xtradb-cluster:.*$#image: percona/percona-xtradb-cluster:8.0.32-24.2#' + /usr/bin/sed -e 's#apiVersion: pxc.percona.com/v.*$#apiVersion: pxc.percona.com/v1#' + /usr/bin/sed -e 's#image:.*-logcollector$#image: perconalab/percona-xtradb-cluster-operator:main-logcollector#' ++ mktemp + local LAST_ERR=/tmp/tmp.kFBCxCSm3z + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.YByxaPYUEQ deployment.apps/pxc-client created + cat /tmp/tmp.kFBCxCSm3z + rm /tmp/tmp.YByxaPYUEQ /tmp/tmp.kFBCxCSm3z + return 0 + [[ percona/percona-xtradb-cluster:8.0.32-24.2 =~ 5\.7 ]] + apply_config /tmp/tmp.BGJuVyC7Mn/cr_1.13.0_proxysql.yaml + '[' -z '' ']' + kubectl_bin apply -f - + cat_config /tmp/tmp.BGJuVyC7Mn/cr_1.13.0_proxysql.yaml + cat /tmp/tmp.BGJuVyC7Mn/cr_1.13.0_proxysql.yaml ++ mktemp + /usr/bin/sed -e 's#apiVersion: pxc.percona.com/v.*$#apiVersion: pxc.percona.com/v1#' + local LAST_OUT=/tmp/tmp.KLqLwaO67K + /usr/bin/sed -e 's#image:.*-pxc\([0-9]*.[0-9]*\)\{0,1\}$#image: percona/percona-xtradb-cluster:8.0.32-24.2#' + /usr/bin/sed -e 's#image:.*-backup$#image: percona/percona-xtradb-cluster-operator:1.13.0-pxc8.0-backup-pxb8.0.32#' + /usr/bin/sed -e 's#image:.*-proxysql$#image: percona/percona-xtradb-cluster-operator:1.13.0-proxysql#' + /usr/bin/sed -e 's#image:.*\/percona-xtradb-cluster:.*$#image: percona/percona-xtradb-cluster:8.0.32-24.2#' + /usr/bin/sed -e 's#image:.*-init$#image: perconalab/percona-xtradb-cluster-operator:1.13.0#' + /usr/bin/sed -e 's#image:.*-pmm$#image: percona/pmm-client:2.38.0#' + /usr/bin/sed -e s~minio-service.#namespace~minio-service.upgrade-proxysql-15617~ + /usr/bin/sed -e 's#apply:.*#apply: Never#' ++ mktemp + /usr/bin/sed -e 's#image:.*-logcollector$#image: perconalab/percona-xtradb-cluster-operator:main-logcollector#' + local LAST_ERR=/tmp/tmp.zjsWWuMyI0 + local exit_status=0 + /usr/bin/sed -e 's#image:.*-haproxy$#image: percona/percona-xtradb-cluster-operator:1.13.0-haproxy#' ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.KLqLwaO67K perconaxtradbcluster.pxc.percona.com/upgrade-proxysql created + cat /tmp/tmp.zjsWWuMyI0 + rm /tmp/tmp.KLqLwaO67K /tmp/tmp.zjsWWuMyI0 + return 0 + desc 'check if all 3 Pods started' + set +o xtrace ----------------------------------------------------------------------------------- check if all 3 Pods started ----------------------------------------------------------------------------------- ++ get_proxy upgrade-proxysql ++ local target_cluster=upgrade-proxysql +++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.haproxy.enabled}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.mInHs4g94U ++++ mktemp +++ local LAST_ERR=/tmp/tmp.fYBU0dJCRD +++ local exit_status=0 ++++ seq 0 2 +++ for i in '$(seq 0 2)' +++ set +e +++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.haproxy.enabled}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 ']' +++ break +++ cat /tmp/tmp.mInHs4g94U +++ cat /tmp/tmp.fYBU0dJCRD +++ rm /tmp/tmp.mInHs4g94U /tmp/tmp.fYBU0dJCRD +++ return 0 ++ [[ false == \t\r\u\e ]] +++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.enabled}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.9v6SJ5e626 ++++ mktemp +++ local LAST_ERR=/tmp/tmp.GT4dfVb0rf +++ local exit_status=0 ++++ seq 0 2 +++ for i in '$(seq 0 2)' +++ set +e +++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.enabled}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 ']' +++ break +++ cat /tmp/tmp.9v6SJ5e626 +++ cat /tmp/tmp.GT4dfVb0rf +++ rm /tmp/tmp.9v6SJ5e626 /tmp/tmp.GT4dfVb0rf +++ return 0 ++ [[ true == \t\r\u\e ]] ++ echo upgrade-proxysql-proxysql ++ return + local proxy=upgrade-proxysql-proxysql + kubectl_bin wait --for=condition=Ready pod -l app.kubernetes.io/instance=monitoring,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator --timeout=300s -n upgrade-proxysql-15617 ++ mktemp + local LAST_OUT=/tmp/tmp.XXnEblN0VJ ++ mktemp + local LAST_ERR=/tmp/tmp.IuwwlkS7de + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=monitoring,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator --timeout=300s -n upgrade-proxysql-15617 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=monitoring,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator --timeout=300s -n upgrade-proxysql-15617 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=monitoring,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator --timeout=300s -n upgrade-proxysql-15617 + exit_status=1 + set -e + '[' 1 '!=' 0 ']' + '[' 1 == 1 ']' + sleep 0 + cat /tmp/tmp.XXnEblN0VJ + cat /tmp/tmp.IuwwlkS7de error: no matching resources found + rm /tmp/tmp.XXnEblN0VJ /tmp/tmp.IuwwlkS7de + return 1 + true + wait_for_running upgrade-proxysql-proxysql 1 + local name=upgrade-proxysql-proxysql + let last_pod=0 + : + local max_retry=480 + desc 'wait for running cluster' + set +o xtrace ----------------------------------------------------------------------------------- wait for running cluster ----------------------------------------------------------------------------------- ++ seq 0 0 + for i in '$(seq 0 $last_pod)' + wait_pod upgrade-proxysql-proxysql-0 480 + local pod=upgrade-proxysql-proxysql-0 + local max_retry=480 + local ns= ++ echo upgrade-proxysql-proxysql-0 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container=proxysql + set +o xtrace Error from server (NotFound): pods "upgrade-proxysql-proxysql-0" not found upgrade-proxysql-proxysql-0........Ok + wait_for_running upgrade-proxysql-pxc 3 + local name=upgrade-proxysql-pxc + let last_pod=2 + local max_retry=480 + desc 'wait for running cluster' + set +o xtrace ----------------------------------------------------------------------------------- wait for running cluster ----------------------------------------------------------------------------------- ++ seq 0 2 + for i in '$(seq 0 $last_pod)' + wait_pod upgrade-proxysql-pxc-0 480 + local pod=upgrade-proxysql-pxc-0 + local max_retry=480 + local ns= ++ echo upgrade-proxysql-pxc-0 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/upgrade-proxysql-pxc-0 condition met upgrade-proxysql-pxc-0.Ok + for i in '$(seq 0 $last_pod)' + wait_pod upgrade-proxysql-pxc-1 480 + local pod=upgrade-proxysql-pxc-1 + local max_retry=480 + local ns= ++ echo upgrade-proxysql-pxc-1 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/upgrade-proxysql-pxc-1 condition met upgrade-proxysql-pxc-1.Ok + for i in '$(seq 0 $last_pod)' + wait_pod upgrade-proxysql-pxc-2 480 + local pod=upgrade-proxysql-pxc-2 + local max_retry=480 + local ns= ++ echo upgrade-proxysql-pxc-2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/upgrade-proxysql-pxc-2 condition met upgrade-proxysql-pxc-2.Ok + sleep 30 + desc 'write data' + set +o xtrace ----------------------------------------------------------------------------------- write data ----------------------------------------------------------------------------------- + [[ percona/percona-xtradb-cluster:8.0.32-24.2 =~ 5\.7 ]] + run_mysql 'CREATE DATABASE IF NOT EXISTS myApp; use myApp; CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY) ;' '-h upgrade-proxysql-proxysql -uroot -proot_password -P3306' + local 'command=CREATE DATABASE IF NOT EXISTS myApp; use myApp; CREATE TABLE IF NOT EXISTS myApp (id int PRIMARY KEY) ;' + local 'uri=-h upgrade-proxysql-proxysql -uroot -proot_password -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.fMtoaawcj6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.XAGnimyL98 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.fMtoaawcj6 ++ cat /tmp/tmp.XAGnimyL98 ++ rm /tmp/tmp.fMtoaawcj6 /tmp/tmp.XAGnimyL98 ++ return 0 + client_pod=pxc-client-7599b47696-wrjc2 + wait_pod pxc-client-7599b47696-wrjc2 + local pod=pxc-client-7599b47696-wrjc2 + local max_retry=480 + local ns= ++ echo pxc-client-7599b47696-wrjc2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-7599b47696-wrjc2 condition met pxc-client-7599b47696-wrjc2.Ok + set +o xtrace + run_mysql 'INSERT myApp.myApp (id) VALUES (100500)' '-h upgrade-proxysql-proxysql -uroot -proot_password -P3306' + local 'command=INSERT myApp.myApp (id) VALUES (100500)' + local 'uri=-h upgrade-proxysql-proxysql -uroot -proot_password -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.NDEMIGBXQu +++ mktemp ++ local LAST_ERR=/tmp/tmp.Og5CeZ8DEl ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.NDEMIGBXQu ++ cat /tmp/tmp.Og5CeZ8DEl ++ rm /tmp/tmp.NDEMIGBXQu /tmp/tmp.Og5CeZ8DEl ++ return 0 + client_pod=pxc-client-7599b47696-wrjc2 + wait_pod pxc-client-7599b47696-wrjc2 + local pod=pxc-client-7599b47696-wrjc2 + local max_retry=480 + local ns= ++ echo pxc-client-7599b47696-wrjc2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-7599b47696-wrjc2 condition met pxc-client-7599b47696-wrjc2.Ok + set +o xtrace + sleep 30 ++ seq 0 2 + for i in '$(seq 0 $((size - 1)))' + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h upgrade-proxysql-pxc-0.upgrade-proxysql-pxc -uroot -proot_password -P3306' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h upgrade-proxysql-pxc-0.upgrade-proxysql-pxc -uroot -proot_password -P3306' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1.sql + [[ percona/percona-xtradb-cluster:8.0.32-24.2 =~ 8\.0 ]] + '[' -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1-80.sql ']' + run_mysql 'SELECT * from myApp.myApp;' '-h upgrade-proxysql-pxc-0.upgrade-proxysql-pxc -uroot -proot_password -P3306' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h upgrade-proxysql-pxc-0.upgrade-proxysql-pxc -uroot -proot_password -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1VVhhy2PCD +++ mktemp ++ local LAST_ERR=/tmp/tmp.pt4DqTvxCe ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.1VVhhy2PCD ++ cat /tmp/tmp.pt4DqTvxCe ++ rm /tmp/tmp.1VVhhy2PCD /tmp/tmp.pt4DqTvxCe ++ return 0 + client_pod=pxc-client-7599b47696-wrjc2 + wait_pod pxc-client-7599b47696-wrjc2 + local pod=pxc-client-7599b47696-wrjc2 + local max_retry=480 + local ns= ++ echo pxc-client-7599b47696-wrjc2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-7599b47696-wrjc2 condition met pxc-client-7599b47696-wrjc2.Ok + set +o xtrace + '[' '!' -s /tmp/tmp.BGJuVyC7Mn/select-1.sql ']' + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1.sql /tmp/tmp.BGJuVyC7Mn/select-1.sql + for i in '$(seq 0 $((size - 1)))' + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h upgrade-proxysql-pxc-1.upgrade-proxysql-pxc -uroot -proot_password -P3306' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h upgrade-proxysql-pxc-1.upgrade-proxysql-pxc -uroot -proot_password -P3306' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1.sql + [[ percona/percona-xtradb-cluster:8.0.32-24.2 =~ 8\.0 ]] + '[' -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1-80.sql ']' + run_mysql 'SELECT * from myApp.myApp;' '-h upgrade-proxysql-pxc-1.upgrade-proxysql-pxc -uroot -proot_password -P3306' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h upgrade-proxysql-pxc-1.upgrade-proxysql-pxc -uroot -proot_password -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.tDaOQwsbMm +++ mktemp ++ local LAST_ERR=/tmp/tmp.2ZOh6GIbvn ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.tDaOQwsbMm ++ cat /tmp/tmp.2ZOh6GIbvn ++ rm /tmp/tmp.tDaOQwsbMm /tmp/tmp.2ZOh6GIbvn ++ return 0 + client_pod=pxc-client-7599b47696-wrjc2 + wait_pod pxc-client-7599b47696-wrjc2 + local pod=pxc-client-7599b47696-wrjc2 + local max_retry=480 + local ns= ++ echo pxc-client-7599b47696-wrjc2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-7599b47696-wrjc2 condition met pxc-client-7599b47696-wrjc2.Ok + set +o xtrace + '[' '!' -s /tmp/tmp.BGJuVyC7Mn/select-1.sql ']' + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1.sql /tmp/tmp.BGJuVyC7Mn/select-1.sql + for i in '$(seq 0 $((size - 1)))' + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h upgrade-proxysql-pxc-2.upgrade-proxysql-pxc -uroot -proot_password -P3306' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h upgrade-proxysql-pxc-2.upgrade-proxysql-pxc -uroot -proot_password -P3306' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1.sql + [[ percona/percona-xtradb-cluster:8.0.32-24.2 =~ 8\.0 ]] + '[' -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1-80.sql ']' + run_mysql 'SELECT * from myApp.myApp;' '-h upgrade-proxysql-pxc-2.upgrade-proxysql-pxc -uroot -proot_password -P3306' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h upgrade-proxysql-pxc-2.upgrade-proxysql-pxc -uroot -proot_password -P3306' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.6cTDKxB9xM +++ mktemp ++ local LAST_ERR=/tmp/tmp.TUVZVLbhEw ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.6cTDKxB9xM ++ cat /tmp/tmp.TUVZVLbhEw ++ rm /tmp/tmp.6cTDKxB9xM /tmp/tmp.TUVZVLbhEw ++ return 0 + client_pod=pxc-client-7599b47696-wrjc2 + wait_pod pxc-client-7599b47696-wrjc2 + local pod=pxc-client-7599b47696-wrjc2 + local max_retry=480 + local ns= ++ echo pxc-client-7599b47696-wrjc2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-7599b47696-wrjc2 condition met pxc-client-7599b47696-wrjc2.Ok + set +o xtrace + '[' '!' -s /tmp/tmp.BGJuVyC7Mn/select-1.sql ']' + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1.sql /tmp/tmp.BGJuVyC7Mn/select-1.sql ++ is_keyring_plugin_in_use upgrade-proxysql ++ local cluster=upgrade-proxysql ++ kubectl_bin exec -it upgrade-proxysql-pxc-0 -c pxc -- bash -c 'cat /etc/mysql/node.cnf' ++ egrep -o 'early-plugin-load=keyring_\w+.so' +++ mktemp ++ local LAST_OUT=/tmp/tmp.fTDszfACoV +++ mktemp ++ local LAST_ERR=/tmp/tmp.pJAE2ymdS5 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl exec -it upgrade-proxysql-pxc-0 -c pxc -- bash -c 'cat /etc/mysql/node.cnf' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.fTDszfACoV ++ cat /tmp/tmp.pJAE2ymdS5 Unable to use a TTY - input is not a terminal or the right kind of file ++ rm /tmp/tmp.fTDszfACoV /tmp/tmp.pJAE2ymdS5 ++ return 0 + '[' '' ']' + compare_generation 1 proxysql upgrade-proxysql + local generation=1 + local proxy=proxysql + local cluster=upgrade-proxysql + local current_generation + [[ proxysql == \h\a\p\r\o\x\y ]] + containers=(pxc proxysql) + for container in '"${containers[@]}"' ++ kubectl_bin get statefulset upgrade-proxysql-pxc -o 'jsonpath={.metadata.generation}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ItYxZ3LnJe +++ mktemp ++ local LAST_ERR=/tmp/tmp.B3lVTXvbsb ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get statefulset upgrade-proxysql-pxc -o 'jsonpath={.metadata.generation}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ItYxZ3LnJe ++ cat /tmp/tmp.B3lVTXvbsb ++ rm /tmp/tmp.ItYxZ3LnJe /tmp/tmp.B3lVTXvbsb ++ return 0 + current_generation=1 + [[ 1 != \1 ]] + for container in '"${containers[@]}"' ++ kubectl_bin get statefulset upgrade-proxysql-proxysql -o 'jsonpath={.metadata.generation}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.HmkOqIl6hl +++ mktemp ++ local LAST_ERR=/tmp/tmp.VJL408aktY ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get statefulset upgrade-proxysql-proxysql -o 'jsonpath={.metadata.generation}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.HmkOqIl6hl ++ cat /tmp/tmp.VJL408aktY ++ rm /tmp/tmp.HmkOqIl6hl /tmp/tmp.VJL408aktY ++ return 0 + current_generation=1 + [[ 1 != \1 ]] + desc 'upgrade operator' + set +o xtrace ----------------------------------------------------------------------------------- upgrade operator ----------------------------------------------------------------------------------- + kubectl_bin apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/deploy/crd.yaml ++ mktemp + local LAST_OUT=/tmp/tmp.ymkxUcPZZ2 ++ mktemp + local LAST_ERR=/tmp/tmp.9NDFLxdNY2 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply --server-side --force-conflicts -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/deploy/crd.yaml + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.ymkxUcPZZ2 customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusterbackups.pxc.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusterrestores.pxc.percona.com serverside-applied customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusters.pxc.percona.com serverside-applied + cat /tmp/tmp.9NDFLxdNY2 + rm /tmp/tmp.ymkxUcPZZ2 /tmp/tmp.9NDFLxdNY2 + return 0 + [[ -n pxc-operator ]] + apply_rbac cw-rbac + local operator_namespace=pxc-operator + local rbac=cw-rbac + cat /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/deploy/cw-rbac.yaml + kubectl_bin apply -f - + sed -e 's^namespace: .*^namespace: pxc-operator^' ++ mktemp + local LAST_OUT=/tmp/tmp.i7M7GkffQF ++ mktemp + local LAST_ERR=/tmp/tmp.lZMgWF5NEt + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl apply -f - + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.i7M7GkffQF clusterrole.rbac.authorization.k8s.io/percona-xtradb-cluster-operator unchanged serviceaccount/percona-xtradb-cluster-operator created clusterrolebinding.rbac.authorization.k8s.io/service-account-percona-xtradb-cluster-operator unchanged + cat /tmp/tmp.lZMgWF5NEt + rm /tmp/tmp.i7M7GkffQF /tmp/tmp.lZMgWF5NEt + return 0 + kubectl_bin patch deployment percona-xtradb-cluster-operator '-p{"spec":{"template":{"spec":{"containers":[{"name":"percona-xtradb-cluster-operator","image":"perconalab/percona-xtradb-cluster-operator:PR-1522-1ed4605b"}]}}}}' -n pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.SQh5KRIAuV ++ mktemp + local LAST_ERR=/tmp/tmp.9gxMWHy5lI + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl patch deployment percona-xtradb-cluster-operator '-p{"spec":{"template":{"spec":{"containers":[{"name":"percona-xtradb-cluster-operator","image":"perconalab/percona-xtradb-cluster-operator:PR-1522-1ed4605b"}]}}}}' -n pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.SQh5KRIAuV deployment.apps/percona-xtradb-cluster-operator patched + cat /tmp/tmp.9gxMWHy5lI + rm /tmp/tmp.SQh5KRIAuV /tmp/tmp.9gxMWHy5lI + return 0 + kubectl_bin rollout status deployment/percona-xtradb-cluster-operator -n pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.pbXgcrA2sk ++ mktemp + local LAST_ERR=/tmp/tmp.IYJhulykPD + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl rollout status deployment/percona-xtradb-cluster-operator -n pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.pbXgcrA2sk Waiting for deployment "percona-xtradb-cluster-operator" rollout to finish: 0 of 1 updated replicas are available... deployment "percona-xtradb-cluster-operator" successfully rolled out + cat /tmp/tmp.IYJhulykPD + rm /tmp/tmp.pbXgcrA2sk /tmp/tmp.IYJhulykPD + return 0 + sleep 10 + desc 'wait for operator upgrade' + set +o xtrace ----------------------------------------------------------------------------------- wait for operator upgrade ----------------------------------------------------------------------------------- ++ kubectl_bin get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'custom-columns=NAME:.metadata.name,IMAGE:.spec.containers[0].image' -n pxc-operator ++ grep -vc NAME ++ awk '{print $1}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.286rFDtBMo +++ mktemp ++ local LAST_ERR=/tmp/tmp.7r5cEzyShs ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'custom-columns=NAME:.metadata.name,IMAGE:.spec.containers[0].image' -n pxc-operator ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.286rFDtBMo ++ cat /tmp/tmp.7r5cEzyShs ++ rm /tmp/tmp.286rFDtBMo /tmp/tmp.7r5cEzyShs ++ return 0 + [[ 1 -eq 1 ]] + '[' -n pxc-operator ']' ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.ljfKQywlyq +++ mktemp ++ local LAST_ERR=/tmp/tmp.9ZYefLNrSy ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ljfKQywlyq ++ cat /tmp/tmp.9ZYefLNrSy ++ rm /tmp/tmp.ljfKQywlyq /tmp/tmp.9ZYefLNrSy ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-1522-1ed4605b-21-cluster8 --namespace=pxc-operator ++ mktemp + local LAST_OUT=/tmp/tmp.XNOnEAauC6 ++ mktemp + local LAST_ERR=/tmp/tmp.IhSH7xnnqX + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-1522-1ed4605b-21-cluster8 --namespace=pxc-operator + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.XNOnEAauC6 Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-1522-1ed4605b-21-cluster8" modified. + cat /tmp/tmp.IhSH7xnnqX + rm /tmp/tmp.XNOnEAauC6 /tmp/tmp.IhSH7xnnqX + return 0 ++ kubectl_bin get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'custom-columns=NAME:.metadata.name,IMAGE:.spec.containers[0].image' ++ awk '{print $1}' +++ mktemp ++ grep perconalab/percona-xtradb-cluster-operator:PR-1522-1ed4605b ++ local LAST_OUT=/tmp/tmp.gPgRppOQl9 +++ mktemp ++ local LAST_ERR=/tmp/tmp.Q3erfKmQH0 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'custom-columns=NAME:.metadata.name,IMAGE:.spec.containers[0].image' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.gPgRppOQl9 ++ cat /tmp/tmp.Q3erfKmQH0 ++ rm /tmp/tmp.gPgRppOQl9 /tmp/tmp.Q3erfKmQH0 ++ return 0 + wait_pod percona-xtradb-cluster-operator-5bf9868695-lvtxq + local pod=percona-xtradb-cluster-operator-5bf9868695-lvtxq + local max_retry=480 + local ns= ++ echo percona-xtradb-cluster-operator-5bf9868695-lvtxq ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container= + set +o xtrace pod/percona-xtradb-cluster-operator-5bf9868695-lvtxq condition met percona-xtradb-cluster-operator-5bf9868695-lvtxq.Ok ++ kubectl_bin config current-context +++ mktemp ++ local LAST_OUT=/tmp/tmp.jUOD1R1CJg +++ mktemp ++ local LAST_ERR=/tmp/tmp.wMZRY2kQI2 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl config current-context ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.jUOD1R1CJg ++ cat /tmp/tmp.wMZRY2kQI2 ++ rm /tmp/tmp.jUOD1R1CJg /tmp/tmp.wMZRY2kQI2 ++ return 0 + kubectl_bin config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-1522-1ed4605b-21-cluster8 --namespace=upgrade-proxysql-15617 ++ mktemp + local LAST_OUT=/tmp/tmp.x8P8Aa128E ++ mktemp + local LAST_ERR=/tmp/tmp.25UW94kIXk + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl config set-context gke_cloud-dev-112233_us-central1-a_jen-pxc-1522-1ed4605b-21-cluster8 --namespace=upgrade-proxysql-15617 + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.x8P8Aa128E Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-1522-1ed4605b-21-cluster8" modified. + cat /tmp/tmp.25UW94kIXk + rm /tmp/tmp.x8P8Aa128E /tmp/tmp.25UW94kIXk + return 0 + desc 'check images and generation after operator upgrade' + set +o xtrace ----------------------------------------------------------------------------------- check images and generation after operator upgrade ----------------------------------------------------------------------------------- + check_pxc_liveness upgrade-proxysql 3 + local cluster=upgrade-proxysql + local cluster_size=3 + wait_cluster_consistency upgrade-proxysql 3 + local cluster_name=upgrade-proxysql + local cluster_size=3 + local proxy_size= + '[' -z '' ']' ++ get_proxy_size upgrade-proxysql ++ local cluster=upgrade-proxysql +++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.haproxy.enabled}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.NqFdkRyyKI ++++ mktemp +++ local LAST_ERR=/tmp/tmp.XIiXaoy8ru +++ local exit_status=0 ++++ seq 0 2 +++ for i in '$(seq 0 2)' +++ set +e +++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.haproxy.enabled}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 ']' +++ break +++ cat /tmp/tmp.NqFdkRyyKI +++ cat /tmp/tmp.XIiXaoy8ru +++ rm /tmp/tmp.NqFdkRyyKI /tmp/tmp.XIiXaoy8ru +++ return 0 ++ [[ false == \t\r\u\e ]] +++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.enabled}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.aHCgqyFXFl ++++ mktemp +++ local LAST_ERR=/tmp/tmp.RGWiO9zeXr +++ local exit_status=0 ++++ seq 0 2 +++ for i in '$(seq 0 2)' +++ set +e +++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.enabled}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 ']' +++ break +++ cat /tmp/tmp.aHCgqyFXFl +++ cat /tmp/tmp.RGWiO9zeXr +++ rm /tmp/tmp.aHCgqyFXFl /tmp/tmp.RGWiO9zeXr +++ return 0 ++ [[ true == \t\r\u\e ]] ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.size}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.0MKqjwXKfL +++ mktemp ++ local LAST_ERR=/tmp/tmp.fn0WKVcD7Z ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.size}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.0MKqjwXKfL ++ cat /tmp/tmp.fn0WKVcD7Z ++ rm /tmp/tmp.0MKqjwXKfL /tmp/tmp.fn0WKVcD7Z ++ return 0 ++ return + proxy_size=3 + desc 'wait cluster consistency' + set +o xtrace ----------------------------------------------------------------------------------- wait cluster consistency ----------------------------------------------------------------------------------- + sleep 7 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.poTCHh4FwD +++ mktemp ++ local LAST_ERR=/tmp/tmp.m7pmzu9NFU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.poTCHh4FwD ++ cat /tmp/tmp.m7pmzu9NFU ++ rm /tmp/tmp.poTCHh4FwD /tmp/tmp.m7pmzu9NFU ++ return 0 + [[ ready == \r\e\a\d\y ]] ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.pxc.ready}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4AzHwWZNQz +++ mktemp ++ local LAST_ERR=/tmp/tmp.nyGEhvSL7W ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.pxc.ready}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.4AzHwWZNQz ++ cat /tmp/tmp.nyGEhvSL7W ++ rm /tmp/tmp.4AzHwWZNQz /tmp/tmp.nyGEhvSL7W ++ return 0 + [[ 3 == \3 ]] +++ get_proxy_engine upgrade-proxysql +++ local cluster_name=upgrade-proxysql ++++ get_proxy upgrade-proxysql ++++ local target_cluster=upgrade-proxysql +++++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.haproxy.enabled}' ++++++ mktemp +++++ local LAST_OUT=/tmp/tmp.MJKFz2nJs8 ++++++ mktemp +++++ local LAST_ERR=/tmp/tmp.gpXvCp6uKN +++++ local exit_status=0 ++++++ seq 0 2 +++++ for i in '$(seq 0 2)' +++++ set +e +++++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.haproxy.enabled}' +++++ exit_status=0 +++++ set -e +++++ '[' 0 '!=' 0 ']' +++++ break +++++ cat /tmp/tmp.MJKFz2nJs8 +++++ cat /tmp/tmp.gpXvCp6uKN +++++ rm /tmp/tmp.MJKFz2nJs8 /tmp/tmp.gpXvCp6uKN +++++ return 0 ++++ [[ false == \t\r\u\e ]] +++++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.enabled}' ++++++ mktemp +++++ local LAST_OUT=/tmp/tmp.n0VzUoSuMt ++++++ mktemp +++++ local LAST_ERR=/tmp/tmp.1TQxDL3SFu +++++ local exit_status=0 ++++++ seq 0 2 +++++ for i in '$(seq 0 2)' +++++ set +e +++++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.enabled}' +++++ exit_status=0 +++++ set -e +++++ '[' 0 '!=' 0 ']' +++++ break +++++ cat /tmp/tmp.n0VzUoSuMt +++++ cat /tmp/tmp.1TQxDL3SFu +++++ rm /tmp/tmp.n0VzUoSuMt /tmp/tmp.1TQxDL3SFu +++++ return 0 ++++ [[ true == \t\r\u\e ]] ++++ echo upgrade-proxysql-proxysql ++++ return +++ local cluster_proxy=upgrade-proxysql-proxysql +++ echo proxysql ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.proxysql.ready}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.mlo7MKTVEZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.sj2apUpIs8 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.proxysql.ready}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.mlo7MKTVEZ ++ cat /tmp/tmp.sj2apUpIs8 ++ rm /tmp/tmp.mlo7MKTVEZ /tmp/tmp.sj2apUpIs8 ++ return 0 + [[ 3 == \3 ]] + wait_for_running upgrade-proxysql-pxc 3 + local name=upgrade-proxysql-pxc + let last_pod=2 + local max_retry=480 + desc 'wait for running cluster' + set +o xtrace ----------------------------------------------------------------------------------- wait for running cluster ----------------------------------------------------------------------------------- ++ seq 0 2 + for i in '$(seq 0 $last_pod)' + wait_pod upgrade-proxysql-pxc-0 480 + local pod=upgrade-proxysql-pxc-0 + local max_retry=480 + local ns= ++ echo upgrade-proxysql-pxc-0 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/upgrade-proxysql-pxc-0 condition met upgrade-proxysql-pxc-0.Ok + for i in '$(seq 0 $last_pod)' + wait_pod upgrade-proxysql-pxc-1 480 + local pod=upgrade-proxysql-pxc-1 + local max_retry=480 + local ns= ++ echo upgrade-proxysql-pxc-1 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/upgrade-proxysql-pxc-1 condition met upgrade-proxysql-pxc-1.Ok + for i in '$(seq 0 $last_pod)' + wait_pod upgrade-proxysql-pxc-2 480 + local pod=upgrade-proxysql-pxc-2 + local max_retry=480 + local ns= ++ echo upgrade-proxysql-pxc-2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container=pxc + set +o xtrace pod/upgrade-proxysql-pxc-2 condition met upgrade-proxysql-pxc-2.Ok ++ seq 0 2 + for i in '$(seq 0 $((cluster_size - 1)))' + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h upgrade-proxysql-pxc-0.upgrade-proxysql-pxc -uroot -proot_password' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h upgrade-proxysql-pxc-0.upgrade-proxysql-pxc -uroot -proot_password' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1.sql + [[ percona/percona-xtradb-cluster:8.0.32-24.2 =~ 8\.0 ]] + '[' -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1-80.sql ']' + run_mysql 'SELECT * from myApp.myApp;' '-h upgrade-proxysql-pxc-0.upgrade-proxysql-pxc -uroot -proot_password' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h upgrade-proxysql-pxc-0.upgrade-proxysql-pxc -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qBbN0uHXJH +++ mktemp ++ local LAST_ERR=/tmp/tmp.20hXbUw1j6 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qBbN0uHXJH ++ cat /tmp/tmp.20hXbUw1j6 ++ rm /tmp/tmp.qBbN0uHXJH /tmp/tmp.20hXbUw1j6 ++ return 0 + client_pod=pxc-client-7599b47696-wrjc2 + wait_pod pxc-client-7599b47696-wrjc2 + local pod=pxc-client-7599b47696-wrjc2 + local max_retry=480 + local ns= ++ echo pxc-client-7599b47696-wrjc2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-7599b47696-wrjc2 condition met pxc-client-7599b47696-wrjc2.Ok + set +o xtrace + '[' '!' -s /tmp/tmp.BGJuVyC7Mn/select-1.sql ']' + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1.sql /tmp/tmp.BGJuVyC7Mn/select-1.sql + for i in '$(seq 0 $((cluster_size - 1)))' + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h upgrade-proxysql-pxc-1.upgrade-proxysql-pxc -uroot -proot_password' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h upgrade-proxysql-pxc-1.upgrade-proxysql-pxc -uroot -proot_password' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1.sql + [[ percona/percona-xtradb-cluster:8.0.32-24.2 =~ 8\.0 ]] + '[' -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1-80.sql ']' + run_mysql 'SELECT * from myApp.myApp;' '-h upgrade-proxysql-pxc-1.upgrade-proxysql-pxc -uroot -proot_password' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h upgrade-proxysql-pxc-1.upgrade-proxysql-pxc -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.SBFgIREVMM +++ mktemp ++ local LAST_ERR=/tmp/tmp.X87NwgRr5b ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.SBFgIREVMM ++ cat /tmp/tmp.X87NwgRr5b ++ rm /tmp/tmp.SBFgIREVMM /tmp/tmp.X87NwgRr5b ++ return 0 + client_pod=pxc-client-7599b47696-wrjc2 + wait_pod pxc-client-7599b47696-wrjc2 + local pod=pxc-client-7599b47696-wrjc2 + local max_retry=480 + local ns= ++ echo pxc-client-7599b47696-wrjc2 ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' ++ egrep '^(pxc|proxysql)$' + local container= + set +o xtrace pod/pxc-client-7599b47696-wrjc2 condition met pxc-client-7599b47696-wrjc2.Ok + set +o xtrace + '[' '!' -s /tmp/tmp.BGJuVyC7Mn/select-1.sql ']' + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1.sql /tmp/tmp.BGJuVyC7Mn/select-1.sql + for i in '$(seq 0 $((cluster_size - 1)))' + compare_mysql_cmd select-1 'SELECT * from myApp.myApp;' '-h upgrade-proxysql-pxc-2.upgrade-proxysql-pxc -uroot -proot_password' + local command_id=select-1 + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h upgrade-proxysql-pxc-2.upgrade-proxysql-pxc -uroot -proot_password' + local postfix= + local expected_result=/mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1.sql + [[ percona/percona-xtradb-cluster:8.0.32-24.2 =~ 8\.0 ]] + '[' -f /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1-80.sql ']' + run_mysql 'SELECT * from myApp.myApp;' '-h upgrade-proxysql-pxc-2.upgrade-proxysql-pxc -uroot -proot_password' + local 'command=SELECT * from myApp.myApp;' + local 'uri=-h upgrade-proxysql-pxc-2.upgrade-proxysql-pxc -uroot -proot_password' ++ get_client_pod ++ kubectl_bin get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.sk5rAB5qth +++ mktemp ++ local LAST_ERR=/tmp/tmp.nbAOVj2Z0P ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pods --selector=name=pxc-client -o 'jsonpath={.items[].metadata.name}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.sk5rAB5qth ++ cat /tmp/tmp.nbAOVj2Z0P ++ rm /tmp/tmp.sk5rAB5qth /tmp/tmp.nbAOVj2Z0P ++ return 0 + client_pod=pxc-client-7599b47696-wrjc2 + wait_pod pxc-client-7599b47696-wrjc2 + local pod=pxc-client-7599b47696-wrjc2 + local max_retry=480 + local ns= ++ echo pxc-client-7599b47696-wrjc2 ++ egrep '^(pxc|proxysql)$' ++ /usr/bin/sed -E 's/.*-(pxc|proxysql)-[0-9]/\1/' + local container= + set +o xtrace pod/pxc-client-7599b47696-wrjc2 condition met pxc-client-7599b47696-wrjc2.Ok + set +o xtrace + '[' '!' -s /tmp/tmp.BGJuVyC7Mn/select-1.sql ']' + diff -u /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/compare/select-1.sql /tmp/tmp.BGJuVyC7Mn/select-1.sql ++ kubectl_bin get pod -n pxc-operator --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'jsonpath={.items[*].spec.containers[?(@.name == "percona-xtradb-cluster-operator")].image}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Pe7jnP7DAK +++ mktemp ++ local LAST_ERR=/tmp/tmp.IMNhHUrVcR ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pod -n pxc-operator --selector=app.kubernetes.io/name=percona-xtradb-cluster-operator -o 'jsonpath={.items[*].spec.containers[?(@.name == "percona-xtradb-cluster-operator")].image}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Pe7jnP7DAK ++ cat /tmp/tmp.IMNhHUrVcR ++ rm /tmp/tmp.Pe7jnP7DAK /tmp/tmp.IMNhHUrVcR ++ return 0 + [[ perconalab/percona-xtradb-cluster-operator:PR-1522-1ed4605b == perconalab/percona-xtradb-cluster-operator:PR-1522-1ed4605b ]] ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.image}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.3RjzctuQxu +++ mktemp ++ local LAST_ERR=/tmp/tmp.gq2NCAsa4h ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.image}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.3RjzctuQxu ++ cat /tmp/tmp.gq2NCAsa4h ++ rm /tmp/tmp.3RjzctuQxu /tmp/tmp.gq2NCAsa4h ++ return 0 + [[ percona/percona-xtradb-cluster-operator:1.13.0-proxysql == percona/percona-xtradb-cluster-operator:1.13.0-proxysql ]] ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.haproxy.image}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.V5O5fs4Pqn +++ mktemp ++ local LAST_ERR=/tmp/tmp.kYJg0iC8wD ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.haproxy.image}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.V5O5fs4Pqn ++ cat /tmp/tmp.kYJg0iC8wD ++ rm /tmp/tmp.V5O5fs4Pqn /tmp/tmp.kYJg0iC8wD ++ return 0 + [[ percona/percona-xtradb-cluster-operator:1.13.0-haproxy == percona/percona-xtradb-cluster-operator:1.13.0-haproxy ]] ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.backup.image}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.HqAPgO4XYJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.Wwp6Ol8Zn8 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.backup.image}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.HqAPgO4XYJ ++ cat /tmp/tmp.Wwp6Ol8Zn8 ++ rm /tmp/tmp.HqAPgO4XYJ /tmp/tmp.Wwp6Ol8Zn8 ++ return 0 + [[ percona/percona-xtradb-cluster-operator:1.13.0-pxc8.0-backup-pxb8.0.32 == percona/percona-xtradb-cluster-operator:1.13.0-pxc8.0-backup-pxb8.0.32 ]] ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.pmm.image}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.8LEJJzwlWz +++ mktemp ++ local LAST_ERR=/tmp/tmp.KAjM8NvGPo ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.pmm.image}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.8LEJJzwlWz ++ cat /tmp/tmp.KAjM8NvGPo ++ rm /tmp/tmp.8LEJJzwlWz /tmp/tmp.KAjM8NvGPo ++ return 0 + [[ percona/pmm-client:2.38.0 == percona/pmm-client:2.38.0 ]] ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.pxc.image}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2vSrW2EBz9 +++ mktemp ++ local LAST_ERR=/tmp/tmp.gm72iai8ah ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.pxc.image}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.2vSrW2EBz9 ++ cat /tmp/tmp.gm72iai8ah ++ rm /tmp/tmp.2vSrW2EBz9 /tmp/tmp.gm72iai8ah ++ return 0 + [[ percona/percona-xtradb-cluster:8.0.32-24.2 == percona/percona-xtradb-cluster:8.0.32-24.2 ]] + : Operator image has been updated correctly + compare_generation 1 proxysql upgrade-proxysql + local generation=1 + local proxy=proxysql + local cluster=upgrade-proxysql + local current_generation + [[ proxysql == \h\a\p\r\o\x\y ]] + containers=(pxc proxysql) + for container in '"${containers[@]}"' ++ kubectl_bin get statefulset upgrade-proxysql-pxc -o 'jsonpath={.metadata.generation}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.UNEFqv6q1R +++ mktemp ++ local LAST_ERR=/tmp/tmp.LNxSxmn0kg ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get statefulset upgrade-proxysql-pxc -o 'jsonpath={.metadata.generation}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.UNEFqv6q1R ++ cat /tmp/tmp.LNxSxmn0kg ++ rm /tmp/tmp.UNEFqv6q1R /tmp/tmp.LNxSxmn0kg ++ return 0 + current_generation=1 + [[ 1 != \1 ]] + for container in '"${containers[@]}"' ++ kubectl_bin get statefulset upgrade-proxysql-proxysql -o 'jsonpath={.metadata.generation}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.GRs8N1JOOm +++ mktemp ++ local LAST_ERR=/tmp/tmp.BHkTtAdvJd ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get statefulset upgrade-proxysql-proxysql -o 'jsonpath={.metadata.generation}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.GRs8N1JOOm ++ cat /tmp/tmp.BHkTtAdvJd ++ rm /tmp/tmp.GRs8N1JOOm /tmp/tmp.BHkTtAdvJd ++ return 0 + current_generation=1 + [[ 1 != \1 ]] + desc 'patch pxc images and upgrade' + set +o xtrace ----------------------------------------------------------------------------------- patch pxc images and upgrade ----------------------------------------------------------------------------------- + kubectl_bin patch pxc upgrade-proxysql --type=merge --patch '{ "spec": { "crVersion": "1.14.0", "pxc": { "image": "perconalab/percona-xtradb-cluster-operator:main-pxc8.0" }, "pmm": { "image": "perconalab/pmm-client:dev-latest" }, "haproxy": { "image": "perconalab/percona-xtradb-cluster-operator:main-haproxy" }, "proxysql": { "image": "perconalab/percona-xtradb-cluster-operator:main-proxysql" }, "backup": { "image": "perconalab/percona-xtradb-cluster-operator:k8spxc-1313-8.0-backup" } }}' ++ mktemp + local LAST_OUT=/tmp/tmp.DUauUHVjrs ++ mktemp + local LAST_ERR=/tmp/tmp.bsLYneLfX7 + local exit_status=0 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl patch pxc upgrade-proxysql --type=merge --patch '{ "spec": { "crVersion": "1.14.0", "pxc": { "image": "perconalab/percona-xtradb-cluster-operator:main-pxc8.0" }, "pmm": { "image": "perconalab/pmm-client:dev-latest" }, "haproxy": { "image": "perconalab/percona-xtradb-cluster-operator:main-haproxy" }, "proxysql": { "image": "perconalab/percona-xtradb-cluster-operator:main-proxysql" }, "backup": { "image": "perconalab/percona-xtradb-cluster-operator:k8spxc-1313-8.0-backup" } }}' + exit_status=0 + set -e + '[' 0 '!=' 0 ']' + break + cat /tmp/tmp.DUauUHVjrs perconaxtradbcluster.pxc.percona.com/upgrade-proxysql patched + cat /tmp/tmp.bsLYneLfX7 + rm /tmp/tmp.DUauUHVjrs /tmp/tmp.bsLYneLfX7 + return 0 + sleep 10 + desc 'check images and generation after full upgrade' + set +o xtrace ----------------------------------------------------------------------------------- check images and generation after full upgrade ----------------------------------------------------------------------------------- + check_pxc_liveness upgrade-proxysql 3 + local cluster=upgrade-proxysql + local cluster_size=3 + wait_cluster_consistency upgrade-proxysql 3 + local cluster_name=upgrade-proxysql + local cluster_size=3 + local proxy_size= + '[' -z '' ']' ++ get_proxy_size upgrade-proxysql ++ local cluster=upgrade-proxysql +++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.haproxy.enabled}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.bu4LrRgisx ++++ mktemp +++ local LAST_ERR=/tmp/tmp.NiGxFHIIdh +++ local exit_status=0 ++++ seq 0 2 +++ for i in '$(seq 0 2)' +++ set +e +++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.haproxy.enabled}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 ']' +++ break +++ cat /tmp/tmp.bu4LrRgisx +++ cat /tmp/tmp.NiGxFHIIdh +++ rm /tmp/tmp.bu4LrRgisx /tmp/tmp.NiGxFHIIdh +++ return 0 ++ [[ false == \t\r\u\e ]] +++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.enabled}' ++++ mktemp +++ local LAST_OUT=/tmp/tmp.TC8PaMZk6I ++++ mktemp +++ local LAST_ERR=/tmp/tmp.i9I4E3OBy6 +++ local exit_status=0 ++++ seq 0 2 +++ for i in '$(seq 0 2)' +++ set +e +++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.enabled}' +++ exit_status=0 +++ set -e +++ '[' 0 '!=' 0 ']' +++ break +++ cat /tmp/tmp.TC8PaMZk6I +++ cat /tmp/tmp.i9I4E3OBy6 +++ rm /tmp/tmp.TC8PaMZk6I /tmp/tmp.i9I4E3OBy6 +++ return 0 ++ [[ true == \t\r\u\e ]] ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.size}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.pjXIqsJA8w +++ mktemp ++ local LAST_ERR=/tmp/tmp.mIkrqE77y0 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.spec.proxysql.size}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.pjXIqsJA8w ++ cat /tmp/tmp.mIkrqE77y0 ++ rm /tmp/tmp.pjXIqsJA8w /tmp/tmp.mIkrqE77y0 ++ return 0 ++ return + proxy_size=3 + desc 'wait cluster consistency' + set +o xtrace ----------------------------------------------------------------------------------- wait cluster consistency ----------------------------------------------------------------------------------- + sleep 7 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.i36D18HYq6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.FsMZXkx8sZ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.i36D18HYq6 ++ cat /tmp/tmp.FsMZXkx8sZ ++ rm /tmp/tmp.i36D18HYq6 /tmp/tmp.FsMZXkx8sZ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.P0C96EsfH5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.LWGyLtVpET ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.P0C96EsfH5 ++ cat /tmp/tmp.LWGyLtVpET ++ rm /tmp/tmp.P0C96EsfH5 /tmp/tmp.LWGyLtVpET ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hTXV5b51Uh +++ mktemp ++ local LAST_ERR=/tmp/tmp.aySy17kR0A ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.hTXV5b51Uh ++ cat /tmp/tmp.aySy17kR0A ++ rm /tmp/tmp.hTXV5b51Uh /tmp/tmp.aySy17kR0A ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.b2Rt0WVldb +++ mktemp ++ local LAST_ERR=/tmp/tmp.hLynAtWWRZ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.b2Rt0WVldb ++ cat /tmp/tmp.hLynAtWWRZ ++ rm /tmp/tmp.b2Rt0WVldb /tmp/tmp.hLynAtWWRZ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.MYWy9XwkOZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.sFsSN9GdlR ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.MYWy9XwkOZ ++ cat /tmp/tmp.sFsSN9GdlR ++ rm /tmp/tmp.MYWy9XwkOZ /tmp/tmp.sFsSN9GdlR ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.f6CBX3SA3c +++ mktemp ++ local LAST_ERR=/tmp/tmp.sLrVQ9EGFn ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.f6CBX3SA3c ++ cat /tmp/tmp.sLrVQ9EGFn ++ rm /tmp/tmp.f6CBX3SA3c /tmp/tmp.sLrVQ9EGFn ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RjT2xkEmdj +++ mktemp ++ local LAST_ERR=/tmp/tmp.5mhXwrvDb7 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.RjT2xkEmdj ++ cat /tmp/tmp.5mhXwrvDb7 ++ rm /tmp/tmp.RjT2xkEmdj /tmp/tmp.5mhXwrvDb7 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.le9aqxJ9wU +++ mktemp ++ local LAST_ERR=/tmp/tmp.zvvbnXK7Io ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.le9aqxJ9wU ++ cat /tmp/tmp.zvvbnXK7Io ++ rm /tmp/tmp.le9aqxJ9wU /tmp/tmp.zvvbnXK7Io ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.mbuo2VlLXz +++ mktemp ++ local LAST_ERR=/tmp/tmp.nMMoT1Dd5y ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.mbuo2VlLXz ++ cat /tmp/tmp.nMMoT1Dd5y ++ rm /tmp/tmp.mbuo2VlLXz /tmp/tmp.nMMoT1Dd5y ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.bIKdahOXyw +++ mktemp ++ local LAST_ERR=/tmp/tmp.XaUENk6Xbx ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.bIKdahOXyw ++ cat /tmp/tmp.XaUENk6Xbx ++ rm /tmp/tmp.bIKdahOXyw /tmp/tmp.XaUENk6Xbx ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Ub7LpZFID7 +++ mktemp ++ local LAST_ERR=/tmp/tmp.3AgzotHgKY ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Ub7LpZFID7 ++ cat /tmp/tmp.3AgzotHgKY ++ rm /tmp/tmp.Ub7LpZFID7 /tmp/tmp.3AgzotHgKY ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.QOgzNJwVmQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.4Gm9QjCIGj ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.QOgzNJwVmQ ++ cat /tmp/tmp.4Gm9QjCIGj ++ rm /tmp/tmp.QOgzNJwVmQ /tmp/tmp.4Gm9QjCIGj ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hM08JN3rR3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.AyMEn12XvT ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.hM08JN3rR3 ++ cat /tmp/tmp.AyMEn12XvT ++ rm /tmp/tmp.hM08JN3rR3 /tmp/tmp.AyMEn12XvT ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.nOwXeRbZjb +++ mktemp ++ local LAST_ERR=/tmp/tmp.tgVtjCcBEd ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.nOwXeRbZjb ++ cat /tmp/tmp.tgVtjCcBEd ++ rm /tmp/tmp.nOwXeRbZjb /tmp/tmp.tgVtjCcBEd ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.3C5hAXITDn +++ mktemp ++ local LAST_ERR=/tmp/tmp.kJKpSbNb4n ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.3C5hAXITDn ++ cat /tmp/tmp.kJKpSbNb4n ++ rm /tmp/tmp.3C5hAXITDn /tmp/tmp.kJKpSbNb4n ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.EnU0cR50P7 +++ mktemp ++ local LAST_ERR=/tmp/tmp.XTJoxjFFKq ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.EnU0cR50P7 ++ cat /tmp/tmp.XTJoxjFFKq ++ rm /tmp/tmp.EnU0cR50P7 /tmp/tmp.XTJoxjFFKq ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.jX6sKGvQ55 +++ mktemp ++ local LAST_ERR=/tmp/tmp.LargtYrssD ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.jX6sKGvQ55 ++ cat /tmp/tmp.LargtYrssD ++ rm /tmp/tmp.jX6sKGvQ55 /tmp/tmp.LargtYrssD ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.shTLOCJBL1 +++ mktemp ++ local LAST_ERR=/tmp/tmp.adaZ8TuTxK ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.shTLOCJBL1 ++ cat /tmp/tmp.adaZ8TuTxK ++ rm /tmp/tmp.shTLOCJBL1 /tmp/tmp.adaZ8TuTxK ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.PNMVpzODqa +++ mktemp ++ local LAST_ERR=/tmp/tmp.XwSy4RicvJ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.PNMVpzODqa ++ cat /tmp/tmp.XwSy4RicvJ ++ rm /tmp/tmp.PNMVpzODqa /tmp/tmp.XwSy4RicvJ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.E5sNTDxEuS +++ mktemp ++ local LAST_ERR=/tmp/tmp.Ind1yxSLOr ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.E5sNTDxEuS ++ cat /tmp/tmp.Ind1yxSLOr ++ rm /tmp/tmp.E5sNTDxEuS /tmp/tmp.Ind1yxSLOr ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.vtIQ4EPO3k +++ mktemp ++ local LAST_ERR=/tmp/tmp.Zoo2MRBJOT ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.vtIQ4EPO3k ++ cat /tmp/tmp.Zoo2MRBJOT ++ rm /tmp/tmp.vtIQ4EPO3k /tmp/tmp.Zoo2MRBJOT ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.I5CChzU0gB +++ mktemp ++ local LAST_ERR=/tmp/tmp.MWpSUb4xMA ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.I5CChzU0gB ++ cat /tmp/tmp.MWpSUb4xMA ++ rm /tmp/tmp.I5CChzU0gB /tmp/tmp.MWpSUb4xMA ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.u5zPyaMcBJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.PTexkY1LlZ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.u5zPyaMcBJ ++ cat /tmp/tmp.PTexkY1LlZ ++ rm /tmp/tmp.u5zPyaMcBJ /tmp/tmp.PTexkY1LlZ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.UHAmy3OuwS +++ mktemp ++ local LAST_ERR=/tmp/tmp.u6QTPNGu6x ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.UHAmy3OuwS ++ cat /tmp/tmp.u6QTPNGu6x ++ rm /tmp/tmp.UHAmy3OuwS /tmp/tmp.u6QTPNGu6x ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.QSN6JRMfzm +++ mktemp ++ local LAST_ERR=/tmp/tmp.AzS9LS3F0v ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.QSN6JRMfzm ++ cat /tmp/tmp.AzS9LS3F0v ++ rm /tmp/tmp.QSN6JRMfzm /tmp/tmp.AzS9LS3F0v ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.jobqsJhRQG +++ mktemp ++ local LAST_ERR=/tmp/tmp.0SqQVMMf5I ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.jobqsJhRQG ++ cat /tmp/tmp.0SqQVMMf5I ++ rm /tmp/tmp.jobqsJhRQG /tmp/tmp.0SqQVMMf5I ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ZZVnVqxa5c +++ mktemp ++ local LAST_ERR=/tmp/tmp.28uKgagaxo ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ZZVnVqxa5c ++ cat /tmp/tmp.28uKgagaxo ++ rm /tmp/tmp.ZZVnVqxa5c /tmp/tmp.28uKgagaxo ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.7Llfi7olBy +++ mktemp ++ local LAST_ERR=/tmp/tmp.QvILOEOY0l ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.7Llfi7olBy ++ cat /tmp/tmp.QvILOEOY0l ++ rm /tmp/tmp.7Llfi7olBy /tmp/tmp.QvILOEOY0l ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.E4514PQoGy +++ mktemp ++ local LAST_ERR=/tmp/tmp.shbZv6Xw4T ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.E4514PQoGy ++ cat /tmp/tmp.shbZv6Xw4T ++ rm /tmp/tmp.E4514PQoGy /tmp/tmp.shbZv6Xw4T ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Mbo03p44a6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.PxAHEbtyQd ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Mbo03p44a6 ++ cat /tmp/tmp.PxAHEbtyQd ++ rm /tmp/tmp.Mbo03p44a6 /tmp/tmp.PxAHEbtyQd ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.QZHWoLOBwQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.cp3WtqwIIG ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.QZHWoLOBwQ ++ cat /tmp/tmp.cp3WtqwIIG ++ rm /tmp/tmp.QZHWoLOBwQ /tmp/tmp.cp3WtqwIIG ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.NbXIlY27xl +++ mktemp ++ local LAST_ERR=/tmp/tmp.KxGSEiq0fL ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.NbXIlY27xl ++ cat /tmp/tmp.KxGSEiq0fL ++ rm /tmp/tmp.NbXIlY27xl /tmp/tmp.KxGSEiq0fL ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Hqljdnpspa +++ mktemp ++ local LAST_ERR=/tmp/tmp.D4yoihYPTW ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Hqljdnpspa ++ cat /tmp/tmp.D4yoihYPTW ++ rm /tmp/tmp.Hqljdnpspa /tmp/tmp.D4yoihYPTW ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.HVTD7RNnVz +++ mktemp ++ local LAST_ERR=/tmp/tmp.lBSZVr1hxs ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.HVTD7RNnVz ++ cat /tmp/tmp.lBSZVr1hxs ++ rm /tmp/tmp.HVTD7RNnVz /tmp/tmp.lBSZVr1hxs ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.CtXs5pc0k4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.dZMIpUMBfP ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.CtXs5pc0k4 ++ cat /tmp/tmp.dZMIpUMBfP ++ rm /tmp/tmp.CtXs5pc0k4 /tmp/tmp.dZMIpUMBfP ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.9s8xwRUv1n +++ mktemp ++ local LAST_ERR=/tmp/tmp.Ad9Pw6phsv ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.9s8xwRUv1n ++ cat /tmp/tmp.Ad9Pw6phsv ++ rm /tmp/tmp.9s8xwRUv1n /tmp/tmp.Ad9Pw6phsv ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2wihyOp03w +++ mktemp ++ local LAST_ERR=/tmp/tmp.3CNCeKCwjv ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.2wihyOp03w ++ cat /tmp/tmp.3CNCeKCwjv ++ rm /tmp/tmp.2wihyOp03w /tmp/tmp.3CNCeKCwjv ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ZfNCalzxnW +++ mktemp ++ local LAST_ERR=/tmp/tmp.UIOfMzNvic ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ZfNCalzxnW ++ cat /tmp/tmp.UIOfMzNvic ++ rm /tmp/tmp.ZfNCalzxnW /tmp/tmp.UIOfMzNvic ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ytiwuWQM3t +++ mktemp ++ local LAST_ERR=/tmp/tmp.na43pI3Ktw ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ytiwuWQM3t ++ cat /tmp/tmp.na43pI3Ktw ++ rm /tmp/tmp.ytiwuWQM3t /tmp/tmp.na43pI3Ktw ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.3NxXqpGUrE +++ mktemp ++ local LAST_ERR=/tmp/tmp.KaDz1zDLoo ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.3NxXqpGUrE ++ cat /tmp/tmp.KaDz1zDLoo ++ rm /tmp/tmp.3NxXqpGUrE /tmp/tmp.KaDz1zDLoo ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.z0ousYkMVz +++ mktemp ++ local LAST_ERR=/tmp/tmp.LX8MbILJpj ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.z0ousYkMVz ++ cat /tmp/tmp.LX8MbILJpj ++ rm /tmp/tmp.z0ousYkMVz /tmp/tmp.LX8MbILJpj ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.pGq1DrDYyu +++ mktemp ++ local LAST_ERR=/tmp/tmp.Spwydn8tQM ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.pGq1DrDYyu ++ cat /tmp/tmp.Spwydn8tQM ++ rm /tmp/tmp.pGq1DrDYyu /tmp/tmp.Spwydn8tQM ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.CCtI2P6TmP +++ mktemp ++ local LAST_ERR=/tmp/tmp.WLLMBPofSo ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.CCtI2P6TmP ++ cat /tmp/tmp.WLLMBPofSo ++ rm /tmp/tmp.CCtI2P6TmP /tmp/tmp.WLLMBPofSo ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.XHoMDKwTlr +++ mktemp ++ local LAST_ERR=/tmp/tmp.tppu4NEtHG ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.XHoMDKwTlr ++ cat /tmp/tmp.tppu4NEtHG ++ rm /tmp/tmp.XHoMDKwTlr /tmp/tmp.tppu4NEtHG ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.0NgZRuCL5S +++ mktemp ++ local LAST_ERR=/tmp/tmp.zlY3oTTamY ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.0NgZRuCL5S ++ cat /tmp/tmp.zlY3oTTamY ++ rm /tmp/tmp.0NgZRuCL5S /tmp/tmp.zlY3oTTamY ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Bs5G4OyYVp +++ mktemp ++ local LAST_ERR=/tmp/tmp.ffnTsNwG91 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Bs5G4OyYVp ++ cat /tmp/tmp.ffnTsNwG91 ++ rm /tmp/tmp.Bs5G4OyYVp /tmp/tmp.ffnTsNwG91 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.v9aIM09rgW +++ mktemp ++ local LAST_ERR=/tmp/tmp.7ZsTowNBpU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.v9aIM09rgW ++ cat /tmp/tmp.7ZsTowNBpU ++ rm /tmp/tmp.v9aIM09rgW /tmp/tmp.7ZsTowNBpU ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.V96M58TXRP +++ mktemp ++ local LAST_ERR=/tmp/tmp.9ZmuoDKKqH ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.V96M58TXRP ++ cat /tmp/tmp.9ZmuoDKKqH ++ rm /tmp/tmp.V96M58TXRP /tmp/tmp.9ZmuoDKKqH ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.KUNLCSmPms +++ mktemp ++ local LAST_ERR=/tmp/tmp.QSJdUUVTzA ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.KUNLCSmPms ++ cat /tmp/tmp.QSJdUUVTzA ++ rm /tmp/tmp.KUNLCSmPms /tmp/tmp.QSJdUUVTzA ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ltgRN0HXGI +++ mktemp ++ local LAST_ERR=/tmp/tmp.lMa8jOh15P ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ltgRN0HXGI ++ cat /tmp/tmp.lMa8jOh15P ++ rm /tmp/tmp.ltgRN0HXGI /tmp/tmp.lMa8jOh15P ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Tv1giRLv8t +++ mktemp ++ local LAST_ERR=/tmp/tmp.Yocc5azzPO ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Tv1giRLv8t ++ cat /tmp/tmp.Yocc5azzPO ++ rm /tmp/tmp.Tv1giRLv8t /tmp/tmp.Yocc5azzPO ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RvTpI6d8jX +++ mktemp ++ local LAST_ERR=/tmp/tmp.RCINk3JWaZ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.RvTpI6d8jX ++ cat /tmp/tmp.RCINk3JWaZ ++ rm /tmp/tmp.RvTpI6d8jX /tmp/tmp.RCINk3JWaZ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qbVf4pBDoL +++ mktemp ++ local LAST_ERR=/tmp/tmp.zjI2Zk15Rz ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qbVf4pBDoL ++ cat /tmp/tmp.zjI2Zk15Rz ++ rm /tmp/tmp.qbVf4pBDoL /tmp/tmp.zjI2Zk15Rz ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.U5IRTGaYkx +++ mktemp ++ local LAST_ERR=/tmp/tmp.Wtwpvcr7c1 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.U5IRTGaYkx ++ cat /tmp/tmp.Wtwpvcr7c1 ++ rm /tmp/tmp.U5IRTGaYkx /tmp/tmp.Wtwpvcr7c1 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.v2CctmoAno +++ mktemp ++ local LAST_ERR=/tmp/tmp.by1TzZ75Tv ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.v2CctmoAno ++ cat /tmp/tmp.by1TzZ75Tv ++ rm /tmp/tmp.v2CctmoAno /tmp/tmp.by1TzZ75Tv ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.OqLprr3qej +++ mktemp ++ local LAST_ERR=/tmp/tmp.TynIL1xsaa ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.OqLprr3qej ++ cat /tmp/tmp.TynIL1xsaa ++ rm /tmp/tmp.OqLprr3qej /tmp/tmp.TynIL1xsaa ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Qoi3ZWW0i5 +++ mktemp ++ local LAST_ERR=/tmp/tmp.XeMAfNotkQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Qoi3ZWW0i5 ++ cat /tmp/tmp.XeMAfNotkQ ++ rm /tmp/tmp.Qoi3ZWW0i5 /tmp/tmp.XeMAfNotkQ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.o7qulI09OT +++ mktemp ++ local LAST_ERR=/tmp/tmp.ee6qIZktWU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.o7qulI09OT ++ cat /tmp/tmp.ee6qIZktWU ++ rm /tmp/tmp.o7qulI09OT /tmp/tmp.ee6qIZktWU ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qMobJcXqwp +++ mktemp ++ local LAST_ERR=/tmp/tmp.ybeSu2tcuS ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qMobJcXqwp ++ cat /tmp/tmp.ybeSu2tcuS ++ rm /tmp/tmp.qMobJcXqwp /tmp/tmp.ybeSu2tcuS ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.kKYetcnfkq +++ mktemp ++ local LAST_ERR=/tmp/tmp.dhM5b7ya6P ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.kKYetcnfkq ++ cat /tmp/tmp.dhM5b7ya6P ++ rm /tmp/tmp.kKYetcnfkq /tmp/tmp.dhM5b7ya6P ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.paXEC14VSr +++ mktemp ++ local LAST_ERR=/tmp/tmp.KgrCtXz5Ym ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.paXEC14VSr ++ cat /tmp/tmp.KgrCtXz5Ym ++ rm /tmp/tmp.paXEC14VSr /tmp/tmp.KgrCtXz5Ym ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.r0RFVh2OLZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.JRHAC0Uthu ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.r0RFVh2OLZ ++ cat /tmp/tmp.JRHAC0Uthu ++ rm /tmp/tmp.r0RFVh2OLZ /tmp/tmp.JRHAC0Uthu ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.eMWkrNJY0w +++ mktemp ++ local LAST_ERR=/tmp/tmp.67T29hX8wr ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.eMWkrNJY0w ++ cat /tmp/tmp.67T29hX8wr ++ rm /tmp/tmp.eMWkrNJY0w /tmp/tmp.67T29hX8wr ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.WIQxEiFk5a +++ mktemp ++ local LAST_ERR=/tmp/tmp.lm8tSzJcfF ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.WIQxEiFk5a ++ cat /tmp/tmp.lm8tSzJcfF ++ rm /tmp/tmp.WIQxEiFk5a /tmp/tmp.lm8tSzJcfF ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Zx1SgrFgPN +++ mktemp ++ local LAST_ERR=/tmp/tmp.U0lSOTymFk ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Zx1SgrFgPN ++ cat /tmp/tmp.U0lSOTymFk ++ rm /tmp/tmp.Zx1SgrFgPN /tmp/tmp.U0lSOTymFk ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.iShaPovSbm +++ mktemp ++ local LAST_ERR=/tmp/tmp.WkwRCbmHE1 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.iShaPovSbm ++ cat /tmp/tmp.WkwRCbmHE1 ++ rm /tmp/tmp.iShaPovSbm /tmp/tmp.WkwRCbmHE1 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.pK95cpYz4P +++ mktemp ++ local LAST_ERR=/tmp/tmp.m0vC1TFmNL ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.pK95cpYz4P ++ cat /tmp/tmp.m0vC1TFmNL ++ rm /tmp/tmp.pK95cpYz4P /tmp/tmp.m0vC1TFmNL ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.lGuo5z9M9b +++ mktemp ++ local LAST_ERR=/tmp/tmp.r3ZjR0tK8o ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.lGuo5z9M9b ++ cat /tmp/tmp.r3ZjR0tK8o ++ rm /tmp/tmp.lGuo5z9M9b /tmp/tmp.r3ZjR0tK8o ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1cIt9KSe2p +++ mktemp ++ local LAST_ERR=/tmp/tmp.roS3HZJaFj ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.1cIt9KSe2p ++ cat /tmp/tmp.roS3HZJaFj ++ rm /tmp/tmp.1cIt9KSe2p /tmp/tmp.roS3HZJaFj ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Dedh9r66uw +++ mktemp ++ local LAST_ERR=/tmp/tmp.VBFmbpKT9v ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Dedh9r66uw ++ cat /tmp/tmp.VBFmbpKT9v ++ rm /tmp/tmp.Dedh9r66uw /tmp/tmp.VBFmbpKT9v ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.p9bzYl1SGa +++ mktemp ++ local LAST_ERR=/tmp/tmp.HLPdObbGBA ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.p9bzYl1SGa ++ cat /tmp/tmp.HLPdObbGBA ++ rm /tmp/tmp.p9bzYl1SGa /tmp/tmp.HLPdObbGBA ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.AQkiIkLNIi +++ mktemp ++ local LAST_ERR=/tmp/tmp.alCopLcRnA ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.AQkiIkLNIi ++ cat /tmp/tmp.alCopLcRnA ++ rm /tmp/tmp.AQkiIkLNIi /tmp/tmp.alCopLcRnA ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.zcXBGiEStj +++ mktemp ++ local LAST_ERR=/tmp/tmp.TEr0E7xawc ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.zcXBGiEStj ++ cat /tmp/tmp.TEr0E7xawc ++ rm /tmp/tmp.zcXBGiEStj /tmp/tmp.TEr0E7xawc ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.E1zlbvQIWI +++ mktemp ++ local LAST_ERR=/tmp/tmp.RrcHH5ZKOg ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.E1zlbvQIWI ++ cat /tmp/tmp.RrcHH5ZKOg ++ rm /tmp/tmp.E1zlbvQIWI /tmp/tmp.RrcHH5ZKOg ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.3sd6h7CxQs +++ mktemp ++ local LAST_ERR=/tmp/tmp.flkp2SUxf2 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.3sd6h7CxQs ++ cat /tmp/tmp.flkp2SUxf2 ++ rm /tmp/tmp.3sd6h7CxQs /tmp/tmp.flkp2SUxf2 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.IAzImjPnDR +++ mktemp ++ local LAST_ERR=/tmp/tmp.jAc6MLlRzG ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.IAzImjPnDR ++ cat /tmp/tmp.jAc6MLlRzG ++ rm /tmp/tmp.IAzImjPnDR /tmp/tmp.jAc6MLlRzG ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Rbmg7jBoW7 +++ mktemp ++ local LAST_ERR=/tmp/tmp.E1WgTu8kpR ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Rbmg7jBoW7 ++ cat /tmp/tmp.E1WgTu8kpR ++ rm /tmp/tmp.Rbmg7jBoW7 /tmp/tmp.E1WgTu8kpR ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Lb9oyQZRIP +++ mktemp ++ local LAST_ERR=/tmp/tmp.KKnfh6b1MZ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Lb9oyQZRIP ++ cat /tmp/tmp.KKnfh6b1MZ ++ rm /tmp/tmp.Lb9oyQZRIP /tmp/tmp.KKnfh6b1MZ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Sf8IhON9wI +++ mktemp ++ local LAST_ERR=/tmp/tmp.adKGavUS0b ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Sf8IhON9wI ++ cat /tmp/tmp.adKGavUS0b ++ rm /tmp/tmp.Sf8IhON9wI /tmp/tmp.adKGavUS0b ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.wwJU0HibFA +++ mktemp ++ local LAST_ERR=/tmp/tmp.SWoT4Y2oXK ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.wwJU0HibFA ++ cat /tmp/tmp.SWoT4Y2oXK ++ rm /tmp/tmp.wwJU0HibFA /tmp/tmp.SWoT4Y2oXK ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Fq0EfAjiA8 +++ mktemp ++ local LAST_ERR=/tmp/tmp.EbIW1xSzuF ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Fq0EfAjiA8 ++ cat /tmp/tmp.EbIW1xSzuF ++ rm /tmp/tmp.Fq0EfAjiA8 /tmp/tmp.EbIW1xSzuF ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.C11VqYvzwb +++ mktemp ++ local LAST_ERR=/tmp/tmp.8CSYfdd5Zx ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.C11VqYvzwb ++ cat /tmp/tmp.8CSYfdd5Zx ++ rm /tmp/tmp.C11VqYvzwb /tmp/tmp.8CSYfdd5Zx ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.UfcnnF7ycx +++ mktemp ++ local LAST_ERR=/tmp/tmp.C6aOr6e2md ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.UfcnnF7ycx ++ cat /tmp/tmp.C6aOr6e2md ++ rm /tmp/tmp.UfcnnF7ycx /tmp/tmp.C6aOr6e2md ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.E5pgYLJm9N +++ mktemp ++ local LAST_ERR=/tmp/tmp.tXCouRVEjF ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.E5pgYLJm9N ++ cat /tmp/tmp.tXCouRVEjF ++ rm /tmp/tmp.E5pgYLJm9N /tmp/tmp.tXCouRVEjF ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.u3mtLAri5q +++ mktemp ++ local LAST_ERR=/tmp/tmp.UFqROVsjFA ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.u3mtLAri5q ++ cat /tmp/tmp.UFqROVsjFA ++ rm /tmp/tmp.u3mtLAri5q /tmp/tmp.UFqROVsjFA ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5AX5dHbRqf +++ mktemp ++ local LAST_ERR=/tmp/tmp.MOMnyOZhJ2 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.5AX5dHbRqf ++ cat /tmp/tmp.MOMnyOZhJ2 ++ rm /tmp/tmp.5AX5dHbRqf /tmp/tmp.MOMnyOZhJ2 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.UO1JdkelBO +++ mktemp ++ local LAST_ERR=/tmp/tmp.nj8QY5C9co ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.UO1JdkelBO ++ cat /tmp/tmp.nj8QY5C9co ++ rm /tmp/tmp.UO1JdkelBO /tmp/tmp.nj8QY5C9co ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.9oJHj0IGaB +++ mktemp ++ local LAST_ERR=/tmp/tmp.leb5xlwKgk ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.9oJHj0IGaB ++ cat /tmp/tmp.leb5xlwKgk ++ rm /tmp/tmp.9oJHj0IGaB /tmp/tmp.leb5xlwKgk ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.mVTHI9pCGs +++ mktemp ++ local LAST_ERR=/tmp/tmp.uAvthRVo9V ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.mVTHI9pCGs ++ cat /tmp/tmp.uAvthRVo9V ++ rm /tmp/tmp.mVTHI9pCGs /tmp/tmp.uAvthRVo9V ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.OSava8eC6X +++ mktemp ++ local LAST_ERR=/tmp/tmp.F6jM3Lyjqw ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.OSava8eC6X ++ cat /tmp/tmp.F6jM3Lyjqw ++ rm /tmp/tmp.OSava8eC6X /tmp/tmp.F6jM3Lyjqw ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.iZ82UGoHTh +++ mktemp ++ local LAST_ERR=/tmp/tmp.IHcLjXLGpx ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.iZ82UGoHTh ++ cat /tmp/tmp.IHcLjXLGpx ++ rm /tmp/tmp.iZ82UGoHTh /tmp/tmp.IHcLjXLGpx ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.OGcE2qwduY +++ mktemp ++ local LAST_ERR=/tmp/tmp.SnHmnyDqS7 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.OGcE2qwduY ++ cat /tmp/tmp.SnHmnyDqS7 ++ rm /tmp/tmp.OGcE2qwduY /tmp/tmp.SnHmnyDqS7 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.LXgQcq7upY +++ mktemp ++ local LAST_ERR=/tmp/tmp.YSpcl2M6os ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.LXgQcq7upY ++ cat /tmp/tmp.YSpcl2M6os ++ rm /tmp/tmp.LXgQcq7upY /tmp/tmp.YSpcl2M6os ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.LC4GcSKnRP +++ mktemp ++ local LAST_ERR=/tmp/tmp.yeXTauO9tr ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.LC4GcSKnRP ++ cat /tmp/tmp.yeXTauO9tr ++ rm /tmp/tmp.LC4GcSKnRP /tmp/tmp.yeXTauO9tr ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.yScAlXN5Ln +++ mktemp ++ local LAST_ERR=/tmp/tmp.OCke9434eP ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.yScAlXN5Ln ++ cat /tmp/tmp.OCke9434eP ++ rm /tmp/tmp.yScAlXN5Ln /tmp/tmp.OCke9434eP ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.mOVhdWiKMx +++ mktemp ++ local LAST_ERR=/tmp/tmp.BpP7mglmrS ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.mOVhdWiKMx ++ cat /tmp/tmp.BpP7mglmrS ++ rm /tmp/tmp.mOVhdWiKMx /tmp/tmp.BpP7mglmrS ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1t2tDbk6pv +++ mktemp ++ local LAST_ERR=/tmp/tmp.DCn6F43kwS ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.1t2tDbk6pv ++ cat /tmp/tmp.DCn6F43kwS ++ rm /tmp/tmp.1t2tDbk6pv /tmp/tmp.DCn6F43kwS ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.nD0KTMqgCh +++ mktemp ++ local LAST_ERR=/tmp/tmp.juGQGYq5C7 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.nD0KTMqgCh ++ cat /tmp/tmp.juGQGYq5C7 ++ rm /tmp/tmp.nD0KTMqgCh /tmp/tmp.juGQGYq5C7 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.cfRnC0tdRo +++ mktemp ++ local LAST_ERR=/tmp/tmp.qf07JWyraJ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.cfRnC0tdRo ++ cat /tmp/tmp.qf07JWyraJ ++ rm /tmp/tmp.cfRnC0tdRo /tmp/tmp.qf07JWyraJ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.vuyh9OnpQC +++ mktemp ++ local LAST_ERR=/tmp/tmp.EMNwFgkFuS ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.vuyh9OnpQC ++ cat /tmp/tmp.EMNwFgkFuS ++ rm /tmp/tmp.vuyh9OnpQC /tmp/tmp.EMNwFgkFuS ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.TvMzPE0KcQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.1IWIhXwVWQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.TvMzPE0KcQ ++ cat /tmp/tmp.1IWIhXwVWQ ++ rm /tmp/tmp.TvMzPE0KcQ /tmp/tmp.1IWIhXwVWQ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.SqtxAD2viP +++ mktemp ++ local LAST_ERR=/tmp/tmp.skrySrPLTU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.SqtxAD2viP ++ cat /tmp/tmp.skrySrPLTU ++ rm /tmp/tmp.SqtxAD2viP /tmp/tmp.skrySrPLTU ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.bZp0OtVass +++ mktemp ++ local LAST_ERR=/tmp/tmp.X4SsihURr8 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.bZp0OtVass ++ cat /tmp/tmp.X4SsihURr8 ++ rm /tmp/tmp.bZp0OtVass /tmp/tmp.X4SsihURr8 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.lFBNPP6tj6 +++ mktemp ++ local LAST_ERR=/tmp/tmp.66LGMvEW2A ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.lFBNPP6tj6 ++ cat /tmp/tmp.66LGMvEW2A ++ rm /tmp/tmp.lFBNPP6tj6 /tmp/tmp.66LGMvEW2A ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.z3H4G0LO0F +++ mktemp ++ local LAST_ERR=/tmp/tmp.YAQ4O55nMv ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.z3H4G0LO0F ++ cat /tmp/tmp.YAQ4O55nMv ++ rm /tmp/tmp.z3H4G0LO0F /tmp/tmp.YAQ4O55nMv ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ZLOdeyv5Jn +++ mktemp ++ local LAST_ERR=/tmp/tmp.4gCZx0vxkl ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ZLOdeyv5Jn ++ cat /tmp/tmp.4gCZx0vxkl ++ rm /tmp/tmp.ZLOdeyv5Jn /tmp/tmp.4gCZx0vxkl ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Kwd2ta2I1G +++ mktemp ++ local LAST_ERR=/tmp/tmp.dlPW7Av2QQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Kwd2ta2I1G ++ cat /tmp/tmp.dlPW7Av2QQ ++ rm /tmp/tmp.Kwd2ta2I1G /tmp/tmp.dlPW7Av2QQ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.PugZBZzoIs +++ mktemp ++ local LAST_ERR=/tmp/tmp.SYslfXanJ7 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.PugZBZzoIs ++ cat /tmp/tmp.SYslfXanJ7 ++ rm /tmp/tmp.PugZBZzoIs /tmp/tmp.SYslfXanJ7 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.nzZcGjinX3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.SKOCyZpJET ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.nzZcGjinX3 ++ cat /tmp/tmp.SKOCyZpJET ++ rm /tmp/tmp.nzZcGjinX3 /tmp/tmp.SKOCyZpJET ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.9CmgvUrJGl +++ mktemp ++ local LAST_ERR=/tmp/tmp.cVJqDyOqSu ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.9CmgvUrJGl ++ cat /tmp/tmp.cVJqDyOqSu ++ rm /tmp/tmp.9CmgvUrJGl /tmp/tmp.cVJqDyOqSu ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.jpAL1SXnuI +++ mktemp ++ local LAST_ERR=/tmp/tmp.XDEQKvToOe ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.jpAL1SXnuI ++ cat /tmp/tmp.XDEQKvToOe ++ rm /tmp/tmp.jpAL1SXnuI /tmp/tmp.XDEQKvToOe ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.rlUUFooWJi +++ mktemp ++ local LAST_ERR=/tmp/tmp.vzspc4smu2 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.rlUUFooWJi ++ cat /tmp/tmp.vzspc4smu2 ++ rm /tmp/tmp.rlUUFooWJi /tmp/tmp.vzspc4smu2 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.UrUicL9y82 +++ mktemp ++ local LAST_ERR=/tmp/tmp.KaYKlia87A ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.UrUicL9y82 ++ cat /tmp/tmp.KaYKlia87A ++ rm /tmp/tmp.UrUicL9y82 /tmp/tmp.KaYKlia87A ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.tD2hmgUbSJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.kuzFIZUs52 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.tD2hmgUbSJ ++ cat /tmp/tmp.kuzFIZUs52 ++ rm /tmp/tmp.tD2hmgUbSJ /tmp/tmp.kuzFIZUs52 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.X3jnhizOYb +++ mktemp ++ local LAST_ERR=/tmp/tmp.rWzyVndBaQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.X3jnhizOYb ++ cat /tmp/tmp.rWzyVndBaQ ++ rm /tmp/tmp.X3jnhizOYb /tmp/tmp.rWzyVndBaQ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.oAqCtTnBeL +++ mktemp ++ local LAST_ERR=/tmp/tmp.VF4PSWYC9U ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.oAqCtTnBeL ++ cat /tmp/tmp.VF4PSWYC9U ++ rm /tmp/tmp.oAqCtTnBeL /tmp/tmp.VF4PSWYC9U ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.y80913HBjA +++ mktemp ++ local LAST_ERR=/tmp/tmp.CSO1T2vgZV ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.y80913HBjA ++ cat /tmp/tmp.CSO1T2vgZV ++ rm /tmp/tmp.y80913HBjA /tmp/tmp.CSO1T2vgZV ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hT90MCMH8r +++ mktemp ++ local LAST_ERR=/tmp/tmp.SHHwfrwaBX ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.hT90MCMH8r ++ cat /tmp/tmp.SHHwfrwaBX ++ rm /tmp/tmp.hT90MCMH8r /tmp/tmp.SHHwfrwaBX ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.bwxVnf7sQa +++ mktemp ++ local LAST_ERR=/tmp/tmp.F6SpCJMqXq ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.bwxVnf7sQa ++ cat /tmp/tmp.F6SpCJMqXq ++ rm /tmp/tmp.bwxVnf7sQa /tmp/tmp.F6SpCJMqXq ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.QQvbzWdGS4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.6JPSBl4AF4 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.QQvbzWdGS4 ++ cat /tmp/tmp.6JPSBl4AF4 ++ rm /tmp/tmp.QQvbzWdGS4 /tmp/tmp.6JPSBl4AF4 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.tBylFyxg9N +++ mktemp ++ local LAST_ERR=/tmp/tmp.lHodFBwURF ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.tBylFyxg9N ++ cat /tmp/tmp.lHodFBwURF ++ rm /tmp/tmp.tBylFyxg9N /tmp/tmp.lHodFBwURF ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.xh9aNec64V +++ mktemp ++ local LAST_ERR=/tmp/tmp.64TxCfEDKW ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.xh9aNec64V ++ cat /tmp/tmp.64TxCfEDKW ++ rm /tmp/tmp.xh9aNec64V /tmp/tmp.64TxCfEDKW ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.D3fpPkKm5r +++ mktemp ++ local LAST_ERR=/tmp/tmp.K12R7rblLD ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.D3fpPkKm5r ++ cat /tmp/tmp.K12R7rblLD ++ rm /tmp/tmp.D3fpPkKm5r /tmp/tmp.K12R7rblLD ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.U1KGZM5CWW +++ mktemp ++ local LAST_ERR=/tmp/tmp.gmYnuwM25F ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.U1KGZM5CWW ++ cat /tmp/tmp.gmYnuwM25F ++ rm /tmp/tmp.U1KGZM5CWW /tmp/tmp.gmYnuwM25F ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.UfEoMrMyWc +++ mktemp ++ local LAST_ERR=/tmp/tmp.IFm5nFmuBF ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.UfEoMrMyWc ++ cat /tmp/tmp.IFm5nFmuBF ++ rm /tmp/tmp.UfEoMrMyWc /tmp/tmp.IFm5nFmuBF ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qQZDzn08JL +++ mktemp ++ local LAST_ERR=/tmp/tmp.r6304qwkpQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qQZDzn08JL ++ cat /tmp/tmp.r6304qwkpQ ++ rm /tmp/tmp.qQZDzn08JL /tmp/tmp.r6304qwkpQ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hSKm8KsKew +++ mktemp ++ local LAST_ERR=/tmp/tmp.6wnRsCGNXR ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.hSKm8KsKew ++ cat /tmp/tmp.6wnRsCGNXR ++ rm /tmp/tmp.hSKm8KsKew /tmp/tmp.6wnRsCGNXR ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.OWlwePPwMs +++ mktemp ++ local LAST_ERR=/tmp/tmp.DFxnpiWynh ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.OWlwePPwMs ++ cat /tmp/tmp.DFxnpiWynh ++ rm /tmp/tmp.OWlwePPwMs /tmp/tmp.DFxnpiWynh ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.vgWxs5ffhU +++ mktemp ++ local LAST_ERR=/tmp/tmp.lo9oJKR6qp ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.vgWxs5ffhU ++ cat /tmp/tmp.lo9oJKR6qp ++ rm /tmp/tmp.vgWxs5ffhU /tmp/tmp.lo9oJKR6qp ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.YLEkj0mUsY +++ mktemp ++ local LAST_ERR=/tmp/tmp.imL8BpWHEs ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.YLEkj0mUsY ++ cat /tmp/tmp.imL8BpWHEs ++ rm /tmp/tmp.YLEkj0mUsY /tmp/tmp.imL8BpWHEs ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.c7ht2jxAyk +++ mktemp ++ local LAST_ERR=/tmp/tmp.NunEm0p7p3 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.c7ht2jxAyk ++ cat /tmp/tmp.NunEm0p7p3 ++ rm /tmp/tmp.c7ht2jxAyk /tmp/tmp.NunEm0p7p3 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.9FJ8Ep7YwV +++ mktemp ++ local LAST_ERR=/tmp/tmp.E0jdaNrFpN ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.9FJ8Ep7YwV ++ cat /tmp/tmp.E0jdaNrFpN ++ rm /tmp/tmp.9FJ8Ep7YwV /tmp/tmp.E0jdaNrFpN ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.wOWjQkbqOW +++ mktemp ++ local LAST_ERR=/tmp/tmp.2T73dPc3FU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.wOWjQkbqOW ++ cat /tmp/tmp.2T73dPc3FU ++ rm /tmp/tmp.wOWjQkbqOW /tmp/tmp.2T73dPc3FU ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.UcBDm6kjxJ +++ mktemp ++ local LAST_ERR=/tmp/tmp.3q6cOBiH7y ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.UcBDm6kjxJ ++ cat /tmp/tmp.3q6cOBiH7y ++ rm /tmp/tmp.UcBDm6kjxJ /tmp/tmp.3q6cOBiH7y ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.vSpwtphAb4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.g9RRbzoETf ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.vSpwtphAb4 ++ cat /tmp/tmp.g9RRbzoETf ++ rm /tmp/tmp.vSpwtphAb4 /tmp/tmp.g9RRbzoETf ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.3FRPMVQ7e0 +++ mktemp ++ local LAST_ERR=/tmp/tmp.XyXQeRqlcq ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.3FRPMVQ7e0 ++ cat /tmp/tmp.XyXQeRqlcq ++ rm /tmp/tmp.3FRPMVQ7e0 /tmp/tmp.XyXQeRqlcq ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.T6DtLjnOk1 +++ mktemp ++ local LAST_ERR=/tmp/tmp.ZH3y6d6mEU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.T6DtLjnOk1 ++ cat /tmp/tmp.ZH3y6d6mEU ++ rm /tmp/tmp.T6DtLjnOk1 /tmp/tmp.ZH3y6d6mEU ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.QtNjiHnwmx +++ mktemp ++ local LAST_ERR=/tmp/tmp.K6teHioFbu ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.QtNjiHnwmx ++ cat /tmp/tmp.K6teHioFbu ++ rm /tmp/tmp.QtNjiHnwmx /tmp/tmp.K6teHioFbu ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.su6zxywdMP +++ mktemp ++ local LAST_ERR=/tmp/tmp.YLmVK7y0kQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.su6zxywdMP ++ cat /tmp/tmp.YLmVK7y0kQ ++ rm /tmp/tmp.su6zxywdMP /tmp/tmp.YLmVK7y0kQ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.1DATvlvO8K +++ mktemp ++ local LAST_ERR=/tmp/tmp.5j2IapLlOT ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.1DATvlvO8K ++ cat /tmp/tmp.5j2IapLlOT ++ rm /tmp/tmp.1DATvlvO8K /tmp/tmp.5j2IapLlOT ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.G6lP8Jeoxz +++ mktemp ++ local LAST_ERR=/tmp/tmp.brgwPkUlA7 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.G6lP8Jeoxz ++ cat /tmp/tmp.brgwPkUlA7 ++ rm /tmp/tmp.G6lP8Jeoxz /tmp/tmp.brgwPkUlA7 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.yBOagOUUk3 +++ mktemp ++ local LAST_ERR=/tmp/tmp.C7yi0uxsmz ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.yBOagOUUk3 ++ cat /tmp/tmp.C7yi0uxsmz ++ rm /tmp/tmp.yBOagOUUk3 /tmp/tmp.C7yi0uxsmz ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.LVDlRadoxT +++ mktemp ++ local LAST_ERR=/tmp/tmp.eXqliKoy6w ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.LVDlRadoxT ++ cat /tmp/tmp.eXqliKoy6w ++ rm /tmp/tmp.LVDlRadoxT /tmp/tmp.eXqliKoy6w ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.se1tx1tZ6w +++ mktemp ++ local LAST_ERR=/tmp/tmp.n8DbHp6VvH ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.se1tx1tZ6w ++ cat /tmp/tmp.n8DbHp6VvH ++ rm /tmp/tmp.se1tx1tZ6w /tmp/tmp.n8DbHp6VvH ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.yXpPgSvoAR +++ mktemp ++ local LAST_ERR=/tmp/tmp.3lYRSq5rCd ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.yXpPgSvoAR ++ cat /tmp/tmp.3lYRSq5rCd ++ rm /tmp/tmp.yXpPgSvoAR /tmp/tmp.3lYRSq5rCd ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Co8BS9Ty0j +++ mktemp ++ local LAST_ERR=/tmp/tmp.kcrN1SX6VG ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Co8BS9Ty0j ++ cat /tmp/tmp.kcrN1SX6VG ++ rm /tmp/tmp.Co8BS9Ty0j /tmp/tmp.kcrN1SX6VG ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Lt45mx0nSe +++ mktemp ++ local LAST_ERR=/tmp/tmp.FZQ7ErNEUS ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Lt45mx0nSe ++ cat /tmp/tmp.FZQ7ErNEUS ++ rm /tmp/tmp.Lt45mx0nSe /tmp/tmp.FZQ7ErNEUS ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.A9J1Qegyux +++ mktemp ++ local LAST_ERR=/tmp/tmp.WUiQqadYNT ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.A9J1Qegyux ++ cat /tmp/tmp.WUiQqadYNT ++ rm /tmp/tmp.A9J1Qegyux /tmp/tmp.WUiQqadYNT ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.RmEBz2Qjzi +++ mktemp ++ local LAST_ERR=/tmp/tmp.CpHVqRNVmk ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.RmEBz2Qjzi ++ cat /tmp/tmp.CpHVqRNVmk ++ rm /tmp/tmp.RmEBz2Qjzi /tmp/tmp.CpHVqRNVmk ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Tpt5I2AWUp +++ mktemp ++ local LAST_ERR=/tmp/tmp.VS2Y8s1kuJ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Tpt5I2AWUp ++ cat /tmp/tmp.VS2Y8s1kuJ ++ rm /tmp/tmp.Tpt5I2AWUp /tmp/tmp.VS2Y8s1kuJ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.lyuWTVGVXH +++ mktemp ++ local LAST_ERR=/tmp/tmp.al63JQHFpQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.lyuWTVGVXH ++ cat /tmp/tmp.al63JQHFpQ ++ rm /tmp/tmp.lyuWTVGVXH /tmp/tmp.al63JQHFpQ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.fjbGpCtDg9 +++ mktemp ++ local LAST_ERR=/tmp/tmp.EjrH7ykg3R ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.fjbGpCtDg9 ++ cat /tmp/tmp.EjrH7ykg3R ++ rm /tmp/tmp.fjbGpCtDg9 /tmp/tmp.EjrH7ykg3R ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.pYRvDXdHks +++ mktemp ++ local LAST_ERR=/tmp/tmp.uwksxdecOK ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.pYRvDXdHks ++ cat /tmp/tmp.uwksxdecOK ++ rm /tmp/tmp.pYRvDXdHks /tmp/tmp.uwksxdecOK ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.vqmu0RyBV2 +++ mktemp ++ local LAST_ERR=/tmp/tmp.djlFsiNb5h ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.vqmu0RyBV2 ++ cat /tmp/tmp.djlFsiNb5h ++ rm /tmp/tmp.vqmu0RyBV2 /tmp/tmp.djlFsiNb5h ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ikSu8XmTcH +++ mktemp ++ local LAST_ERR=/tmp/tmp.TYTxdfQMuK ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ikSu8XmTcH ++ cat /tmp/tmp.TYTxdfQMuK ++ rm /tmp/tmp.ikSu8XmTcH /tmp/tmp.TYTxdfQMuK ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.WXE90DwXmA +++ mktemp ++ local LAST_ERR=/tmp/tmp.qxyWZU0hFH ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.WXE90DwXmA ++ cat /tmp/tmp.qxyWZU0hFH ++ rm /tmp/tmp.WXE90DwXmA /tmp/tmp.qxyWZU0hFH ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.QquNvdrXxf +++ mktemp ++ local LAST_ERR=/tmp/tmp.Sq1oSD6Okr ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.QquNvdrXxf ++ cat /tmp/tmp.Sq1oSD6Okr ++ rm /tmp/tmp.QquNvdrXxf /tmp/tmp.Sq1oSD6Okr ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5CChVg0bBs +++ mktemp ++ local LAST_ERR=/tmp/tmp.lXInfMUdu9 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.5CChVg0bBs ++ cat /tmp/tmp.lXInfMUdu9 ++ rm /tmp/tmp.5CChVg0bBs /tmp/tmp.lXInfMUdu9 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.R95dwWyY4x +++ mktemp ++ local LAST_ERR=/tmp/tmp.F8ME7eHOYZ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.R95dwWyY4x ++ cat /tmp/tmp.F8ME7eHOYZ ++ rm /tmp/tmp.R95dwWyY4x /tmp/tmp.F8ME7eHOYZ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.99AaqCvt6N +++ mktemp ++ local LAST_ERR=/tmp/tmp.Zlumh3x3Mr ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.99AaqCvt6N ++ cat /tmp/tmp.Zlumh3x3Mr ++ rm /tmp/tmp.99AaqCvt6N /tmp/tmp.Zlumh3x3Mr ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5uEJpAzFmE +++ mktemp ++ local LAST_ERR=/tmp/tmp.LIAjuQIRce ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.5uEJpAzFmE ++ cat /tmp/tmp.LIAjuQIRce ++ rm /tmp/tmp.5uEJpAzFmE /tmp/tmp.LIAjuQIRce ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.cWJDkAeY3a +++ mktemp ++ local LAST_ERR=/tmp/tmp.KiUd8T534Y ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.cWJDkAeY3a ++ cat /tmp/tmp.KiUd8T534Y ++ rm /tmp/tmp.cWJDkAeY3a /tmp/tmp.KiUd8T534Y ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.emeY2Q8tLW +++ mktemp ++ local LAST_ERR=/tmp/tmp.uxUPcTuXZa ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.emeY2Q8tLW ++ cat /tmp/tmp.uxUPcTuXZa ++ rm /tmp/tmp.emeY2Q8tLW /tmp/tmp.uxUPcTuXZa ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.SXqNZl6DdF +++ mktemp ++ local LAST_ERR=/tmp/tmp.GCWxuFiY94 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.SXqNZl6DdF ++ cat /tmp/tmp.GCWxuFiY94 ++ rm /tmp/tmp.SXqNZl6DdF /tmp/tmp.GCWxuFiY94 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.znjQ9OeVCG +++ mktemp ++ local LAST_ERR=/tmp/tmp.J4660XLeFi ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.znjQ9OeVCG ++ cat /tmp/tmp.J4660XLeFi ++ rm /tmp/tmp.znjQ9OeVCG /tmp/tmp.J4660XLeFi ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.P8mrBokOwz +++ mktemp ++ local LAST_ERR=/tmp/tmp.rihX5DR3tS ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.P8mrBokOwz ++ cat /tmp/tmp.rihX5DR3tS ++ rm /tmp/tmp.P8mrBokOwz /tmp/tmp.rihX5DR3tS ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.2ILkEUpEl0 +++ mktemp ++ local LAST_ERR=/tmp/tmp.ZQOhxrtqzU ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.2ILkEUpEl0 ++ cat /tmp/tmp.ZQOhxrtqzU ++ rm /tmp/tmp.2ILkEUpEl0 /tmp/tmp.ZQOhxrtqzU ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.WlRraz50tl +++ mktemp ++ local LAST_ERR=/tmp/tmp.o6gVXv3xYh ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.WlRraz50tl ++ cat /tmp/tmp.o6gVXv3xYh ++ rm /tmp/tmp.WlRraz50tl /tmp/tmp.o6gVXv3xYh ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.TTnI9U4bGE +++ mktemp ++ local LAST_ERR=/tmp/tmp.84y3Wkq8KB ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.TTnI9U4bGE ++ cat /tmp/tmp.84y3Wkq8KB ++ rm /tmp/tmp.TTnI9U4bGE /tmp/tmp.84y3Wkq8KB ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ZI3TRjYG1a +++ mktemp ++ local LAST_ERR=/tmp/tmp.2p7g8z9vxP ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ZI3TRjYG1a ++ cat /tmp/tmp.2p7g8z9vxP ++ rm /tmp/tmp.ZI3TRjYG1a /tmp/tmp.2p7g8z9vxP ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.5yzcwKxZcV +++ mktemp ++ local LAST_ERR=/tmp/tmp.LLCGdzzSXa ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.5yzcwKxZcV ++ cat /tmp/tmp.LLCGdzzSXa ++ rm /tmp/tmp.5yzcwKxZcV /tmp/tmp.LLCGdzzSXa ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.y2ZR7Hzybw +++ mktemp ++ local LAST_ERR=/tmp/tmp.TpxaWoW1b6 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.y2ZR7Hzybw ++ cat /tmp/tmp.TpxaWoW1b6 ++ rm /tmp/tmp.y2ZR7Hzybw /tmp/tmp.TpxaWoW1b6 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.SPZwP8ybeE +++ mktemp ++ local LAST_ERR=/tmp/tmp.sYLFxTOodB ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.SPZwP8ybeE ++ cat /tmp/tmp.sYLFxTOodB ++ rm /tmp/tmp.SPZwP8ybeE /tmp/tmp.sYLFxTOodB ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qB7UfJtqRn +++ mktemp ++ local LAST_ERR=/tmp/tmp.FYvozBmueY ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qB7UfJtqRn ++ cat /tmp/tmp.FYvozBmueY ++ rm /tmp/tmp.qB7UfJtqRn /tmp/tmp.FYvozBmueY ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.o5aSNPM9Ty +++ mktemp ++ local LAST_ERR=/tmp/tmp.pAIIn9zsCw ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.o5aSNPM9Ty ++ cat /tmp/tmp.pAIIn9zsCw ++ rm /tmp/tmp.o5aSNPM9Ty /tmp/tmp.pAIIn9zsCw ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.hlUaz6L9TR +++ mktemp ++ local LAST_ERR=/tmp/tmp.uuRHMva84H ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.hlUaz6L9TR ++ cat /tmp/tmp.uuRHMva84H ++ rm /tmp/tmp.hlUaz6L9TR /tmp/tmp.uuRHMva84H ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Sp4eygrKOd +++ mktemp ++ local LAST_ERR=/tmp/tmp.ATJCpRh6vv ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Sp4eygrKOd ++ cat /tmp/tmp.ATJCpRh6vv ++ rm /tmp/tmp.Sp4eygrKOd /tmp/tmp.ATJCpRh6vv ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.jfnHTJ7bTD +++ mktemp ++ local LAST_ERR=/tmp/tmp.JJpvCVf2FM ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.jfnHTJ7bTD ++ cat /tmp/tmp.JJpvCVf2FM ++ rm /tmp/tmp.jfnHTJ7bTD /tmp/tmp.JJpvCVf2FM ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.C5DO1rBd0h +++ mktemp ++ local LAST_ERR=/tmp/tmp.onmto6K7OY ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.C5DO1rBd0h ++ cat /tmp/tmp.onmto6K7OY ++ rm /tmp/tmp.C5DO1rBd0h /tmp/tmp.onmto6K7OY ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.euOPMc91xA +++ mktemp ++ local LAST_ERR=/tmp/tmp.TuasX03f9u ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.euOPMc91xA ++ cat /tmp/tmp.TuasX03f9u ++ rm /tmp/tmp.euOPMc91xA /tmp/tmp.TuasX03f9u ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.EzNXnIxWAs +++ mktemp ++ local LAST_ERR=/tmp/tmp.tMH6kRBqxH ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.EzNXnIxWAs ++ cat /tmp/tmp.tMH6kRBqxH ++ rm /tmp/tmp.EzNXnIxWAs /tmp/tmp.tMH6kRBqxH ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.At3G3FLYVC +++ mktemp ++ local LAST_ERR=/tmp/tmp.X89xbgifVM ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.At3G3FLYVC ++ cat /tmp/tmp.X89xbgifVM ++ rm /tmp/tmp.At3G3FLYVC /tmp/tmp.X89xbgifVM ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.SBFVSQs76S +++ mktemp ++ local LAST_ERR=/tmp/tmp.nlZG4PUPS7 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.SBFVSQs76S ++ cat /tmp/tmp.nlZG4PUPS7 ++ rm /tmp/tmp.SBFVSQs76S /tmp/tmp.nlZG4PUPS7 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.QBQOlwi63y +++ mktemp ++ local LAST_ERR=/tmp/tmp.MaF96KFpFL ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.QBQOlwi63y ++ cat /tmp/tmp.MaF96KFpFL ++ rm /tmp/tmp.QBQOlwi63y /tmp/tmp.MaF96KFpFL ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.voDLtkg9JV +++ mktemp ++ local LAST_ERR=/tmp/tmp.TwvNCjhHsv ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.voDLtkg9JV ++ cat /tmp/tmp.TwvNCjhHsv ++ rm /tmp/tmp.voDLtkg9JV /tmp/tmp.TwvNCjhHsv ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ZAcYTNNcBL +++ mktemp ++ local LAST_ERR=/tmp/tmp.MRL8fOjbRE ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ZAcYTNNcBL ++ cat /tmp/tmp.MRL8fOjbRE ++ rm /tmp/tmp.ZAcYTNNcBL /tmp/tmp.MRL8fOjbRE ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.d6GnpZ5eBO +++ mktemp ++ local LAST_ERR=/tmp/tmp.BgiO9z8FRF ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.d6GnpZ5eBO ++ cat /tmp/tmp.BgiO9z8FRF ++ rm /tmp/tmp.d6GnpZ5eBO /tmp/tmp.BgiO9z8FRF ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.AT04Ot4bj7 +++ mktemp ++ local LAST_ERR=/tmp/tmp.pBGmfYfYci ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.AT04Ot4bj7 ++ cat /tmp/tmp.pBGmfYfYci ++ rm /tmp/tmp.AT04Ot4bj7 /tmp/tmp.pBGmfYfYci ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.LTbRGwJ9jX +++ mktemp ++ local LAST_ERR=/tmp/tmp.s2UE11KDtJ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.LTbRGwJ9jX ++ cat /tmp/tmp.s2UE11KDtJ ++ rm /tmp/tmp.LTbRGwJ9jX /tmp/tmp.s2UE11KDtJ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ce5jLHo1Op +++ mktemp ++ local LAST_ERR=/tmp/tmp.mpgGljynRy ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ce5jLHo1Op ++ cat /tmp/tmp.mpgGljynRy ++ rm /tmp/tmp.ce5jLHo1Op /tmp/tmp.mpgGljynRy ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.YAU8jmPWvL +++ mktemp ++ local LAST_ERR=/tmp/tmp.VWWAaQyxP0 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.YAU8jmPWvL ++ cat /tmp/tmp.VWWAaQyxP0 ++ rm /tmp/tmp.YAU8jmPWvL /tmp/tmp.VWWAaQyxP0 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.na5UIzmZrO +++ mktemp ++ local LAST_ERR=/tmp/tmp.hnAmEkKAin ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.na5UIzmZrO ++ cat /tmp/tmp.hnAmEkKAin ++ rm /tmp/tmp.na5UIzmZrO /tmp/tmp.hnAmEkKAin ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.7uDTF9Y2ki +++ mktemp ++ local LAST_ERR=/tmp/tmp.zTTOaVwPRQ ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.7uDTF9Y2ki ++ cat /tmp/tmp.zTTOaVwPRQ ++ rm /tmp/tmp.7uDTF9Y2ki /tmp/tmp.zTTOaVwPRQ ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Ab8edVh0Z4 +++ mktemp ++ local LAST_ERR=/tmp/tmp.luf2wQFFt2 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Ab8edVh0Z4 ++ cat /tmp/tmp.luf2wQFFt2 ++ rm /tmp/tmp.Ab8edVh0Z4 /tmp/tmp.luf2wQFFt2 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.aixPEd2iTu +++ mktemp ++ local LAST_ERR=/tmp/tmp.deCai8K3JG ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.aixPEd2iTu ++ cat /tmp/tmp.deCai8K3JG ++ rm /tmp/tmp.aixPEd2iTu /tmp/tmp.deCai8K3JG ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.oEQFuJV1hX +++ mktemp ++ local LAST_ERR=/tmp/tmp.uc0TEASlKY ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.oEQFuJV1hX ++ cat /tmp/tmp.uc0TEASlKY ++ rm /tmp/tmp.oEQFuJV1hX /tmp/tmp.uc0TEASlKY ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ZTGd81wXY7 +++ mktemp ++ local LAST_ERR=/tmp/tmp.jyvy9DrEeC ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ZTGd81wXY7 ++ cat /tmp/tmp.jyvy9DrEeC ++ rm /tmp/tmp.ZTGd81wXY7 /tmp/tmp.jyvy9DrEeC ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.I4RN5qfSrm +++ mktemp ++ local LAST_ERR=/tmp/tmp.HLKBbGIckz ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.I4RN5qfSrm ++ cat /tmp/tmp.HLKBbGIckz ++ rm /tmp/tmp.I4RN5qfSrm /tmp/tmp.HLKBbGIckz ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.miM8rsRtgV +++ mktemp ++ local LAST_ERR=/tmp/tmp.S0t0ZwMdMv ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.miM8rsRtgV ++ cat /tmp/tmp.S0t0ZwMdMv ++ rm /tmp/tmp.miM8rsRtgV /tmp/tmp.S0t0ZwMdMv ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.dxmsHZaORm +++ mktemp ++ local LAST_ERR=/tmp/tmp.QvPbkxx11R ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.dxmsHZaORm ++ cat /tmp/tmp.QvPbkxx11R ++ rm /tmp/tmp.dxmsHZaORm /tmp/tmp.QvPbkxx11R ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.thminp3LuS +++ mktemp ++ local LAST_ERR=/tmp/tmp.qyd0V2LlAD ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.thminp3LuS ++ cat /tmp/tmp.qyd0V2LlAD ++ rm /tmp/tmp.thminp3LuS /tmp/tmp.qyd0V2LlAD ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.c10FszkrZL +++ mktemp ++ local LAST_ERR=/tmp/tmp.wSIWs3Emcy ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.c10FszkrZL ++ cat /tmp/tmp.wSIWs3Emcy ++ rm /tmp/tmp.c10FszkrZL /tmp/tmp.wSIWs3Emcy ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.OKZ46xKwRD +++ mktemp ++ local LAST_ERR=/tmp/tmp.lef9VPgIDx ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.OKZ46xKwRD ++ cat /tmp/tmp.lef9VPgIDx ++ rm /tmp/tmp.OKZ46xKwRD /tmp/tmp.lef9VPgIDx ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4HRy1z2EQ8 +++ mktemp ++ local LAST_ERR=/tmp/tmp.gBjx2MwFhg ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.4HRy1z2EQ8 ++ cat /tmp/tmp.gBjx2MwFhg ++ rm /tmp/tmp.4HRy1z2EQ8 /tmp/tmp.gBjx2MwFhg ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.CqeUwrpXxs +++ mktemp ++ local LAST_ERR=/tmp/tmp.zhmYcZ05Dm ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.CqeUwrpXxs ++ cat /tmp/tmp.zhmYcZ05Dm ++ rm /tmp/tmp.CqeUwrpXxs /tmp/tmp.zhmYcZ05Dm ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.AYBkdIyyV9 +++ mktemp ++ local LAST_ERR=/tmp/tmp.EcPw3Yrn3p ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.AYBkdIyyV9 ++ cat /tmp/tmp.EcPw3Yrn3p ++ rm /tmp/tmp.AYBkdIyyV9 /tmp/tmp.EcPw3Yrn3p ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.KeZDdPYTTb +++ mktemp ++ local LAST_ERR=/tmp/tmp.YfGk2HRzzl ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.KeZDdPYTTb ++ cat /tmp/tmp.YfGk2HRzzl ++ rm /tmp/tmp.KeZDdPYTTb /tmp/tmp.YfGk2HRzzl ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Kx7pbqNVDe +++ mktemp ++ local LAST_ERR=/tmp/tmp.K2BxrpSTGq ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Kx7pbqNVDe ++ cat /tmp/tmp.K2BxrpSTGq ++ rm /tmp/tmp.Kx7pbqNVDe /tmp/tmp.K2BxrpSTGq ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.eXUXbLb265 +++ mktemp ++ local LAST_ERR=/tmp/tmp.3f6hOcFPsi ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.eXUXbLb265 ++ cat /tmp/tmp.3f6hOcFPsi ++ rm /tmp/tmp.eXUXbLb265 /tmp/tmp.3f6hOcFPsi ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Y6OJjt5FVI +++ mktemp ++ local LAST_ERR=/tmp/tmp.kgCC3npxUs ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Y6OJjt5FVI ++ cat /tmp/tmp.kgCC3npxUs ++ rm /tmp/tmp.Y6OJjt5FVI /tmp/tmp.kgCC3npxUs ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.bvYc5ZFReO +++ mktemp ++ local LAST_ERR=/tmp/tmp.vebs3j1jCy ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.bvYc5ZFReO ++ cat /tmp/tmp.vebs3j1jCy ++ rm /tmp/tmp.bvYc5ZFReO /tmp/tmp.vebs3j1jCy ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.oEx8bq3DXf +++ mktemp ++ local LAST_ERR=/tmp/tmp.fIzxjntwMr ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.oEx8bq3DXf ++ cat /tmp/tmp.fIzxjntwMr ++ rm /tmp/tmp.oEx8bq3DXf /tmp/tmp.fIzxjntwMr ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.Cn5rZrqtud +++ mktemp ++ local LAST_ERR=/tmp/tmp.BuByDWUPlk ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.Cn5rZrqtud ++ cat /tmp/tmp.BuByDWUPlk ++ rm /tmp/tmp.Cn5rZrqtud /tmp/tmp.BuByDWUPlk ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.EiNWmHbP14 +++ mktemp ++ local LAST_ERR=/tmp/tmp.FiGBgEXrZo ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.EiNWmHbP14 ++ cat /tmp/tmp.FiGBgEXrZo ++ rm /tmp/tmp.EiNWmHbP14 /tmp/tmp.FiGBgEXrZo ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.4j6rhFrzDq +++ mktemp ++ local LAST_ERR=/tmp/tmp.gabZg3bryW ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.4j6rhFrzDq ++ cat /tmp/tmp.gabZg3bryW ++ rm /tmp/tmp.4j6rhFrzDq /tmp/tmp.gabZg3bryW ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.jWd7wsM9xd +++ mktemp ++ local LAST_ERR=/tmp/tmp.ll71aSsvts ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.jWd7wsM9xd ++ cat /tmp/tmp.ll71aSsvts ++ rm /tmp/tmp.jWd7wsM9xd /tmp/tmp.ll71aSsvts ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.qapVyaJcDZ +++ mktemp ++ local LAST_ERR=/tmp/tmp.hBo2y8v7ac ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.qapVyaJcDZ ++ cat /tmp/tmp.hBo2y8v7ac ++ rm /tmp/tmp.qapVyaJcDZ /tmp/tmp.hBo2y8v7ac ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.J9f0DZ5I9r +++ mktemp ++ local LAST_ERR=/tmp/tmp.LCJpZlEGe8 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.J9f0DZ5I9r ++ cat /tmp/tmp.LCJpZlEGe8 ++ rm /tmp/tmp.J9f0DZ5I9r /tmp/tmp.LCJpZlEGe8 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.YYzrahT6Pr +++ mktemp ++ local LAST_ERR=/tmp/tmp.7mC8couVF7 ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.YYzrahT6Pr ++ cat /tmp/tmp.7mC8couVF7 ++ rm /tmp/tmp.YYzrahT6Pr /tmp/tmp.7mC8couVF7 ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.ap4DuVj32u +++ mktemp ++ local LAST_ERR=/tmp/tmp.n8u1IaUb9M ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.ap4DuVj32u ++ cat /tmp/tmp.n8u1IaUb9M ++ rm /tmp/tmp.ap4DuVj32u /tmp/tmp.n8u1IaUb9M ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 ++ kubectl_bin get pxc upgrade-proxysql -o 'jsonpath={.status.state}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.c1oCZ1xADi +++ mktemp ++ local LAST_ERR=/tmp/tmp.MBjz9j20gM ++ local exit_status=0 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get pxc upgrade-proxysql -o 'jsonpath={.status.state}' ++ exit_status=0 ++ set -e ++ '[' 0 '!=' 0 ']' ++ break ++ cat /tmp/tmp.c1oCZ1xADi ++ cat /tmp/tmp.MBjz9j20gM ++ rm /tmp/tmp.c1oCZ1xADi /tmp/tmp.MBjz9j20gM ++ return 0 + [[ initializing == \r\e\a\d\y ]] + echo 'waiting for cluster readyness' waiting for cluster readyness + sleep 20 /mnt/jenkins/workspace/cloud-pxc-operator_PR-1522/e2e-tests/upgrade-proxysql/../functions: line 90: 11380 Terminated sleep 20