Log: /mnt/jenkins/workspace/cloud-pxc-operator_PR-1916/e2e-tests/logs/scaling-proxysql-8-0.log
WARNING: version difference between client (1.32) and server (1.28) exceeds the supported minor version skew of +/-1
WARNING: version difference between client (1.32) and server (1.28) exceeds the supported minor version skew of +/-1
No resources found
+ kubectl patch pxc -n sh --type=merge -p '{"metadata":{"finalizers":[]}}'
error: resource(s) were provided, but no name was specified
No resources found
No resources found
No resources found
error: resource(s) were provided, but no name was specified
error: resource(s) were provided, but no name was specified
error: resource(s) were provided, but no name was specified
error: resource(s) were provided, but no name was specified
error: resource(s) were provided, but no name was specified
error: resource(s) were provided, but no name was specified


-----------------------------------------------------------------------------------
cleaned up all old namespaces
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
cleaned up old namespaces pxc-operator
-----------------------------------------------------------------------------------

Error from server (NotFound): namespaces "pxc-operator" not found
waiting for namespace/pxc-operator to be deletedError from server (NotFound): namespaces "pxc-operator" not found


-----------------------------------------------------------------------------------
create namespace pxc-operator
-----------------------------------------------------------------------------------

namespace "gke-managed-system" deleted
namespace "gmp-public" deleted
namespace "gmp-system" deleted
Error from server (Forbidden): namespaces "default" is forbidden: this namespace may not be deleted
namespace/pxc-operator created
Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-1916-e6a59489-8-cluster3" modified.


-----------------------------------------------------------------------------------
start PXC operator
-----------------------------------------------------------------------------------

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
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
deployment.apps/percona-xtradb-cluster-operator created
service/percona-xtradb-cluster-operator created
pod/percona-xtradb-cluster-operator-646c44b8c8-5wkg8 condition met
pod/percona-xtradb-cluster-operator-646c44b8c8-5wkg8 condition met
waiting for pod/percona-xtradb-cluster-operator-646c44b8c8-5wkg8 to become Ready.Ok
error: resource(s) were provided, but no name was specified
error: resource(s) were provided, but no name was specified
error: resource(s) were provided, but no name was specified
error: resource(s) were provided, but no name was specified
error: resource(s) were provided, but no name was specified
error: resource(s) were provided, but no name was specified


-----------------------------------------------------------------------------------
cleaned up all old namespaces
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
cleaned up old namespaces scaling-proxysql-6711
-----------------------------------------------------------------------------------

Error from server (NotFound): namespaces "scaling-proxysql-6711" not found
waiting for namespace/scaling-proxysql-6711 to be deletedError from server (NotFound): namespaces "scaling-proxysql-6711" not found


-----------------------------------------------------------------------------------
create namespace scaling-proxysql-6711
-----------------------------------------------------------------------------------

namespace "gke-managed-system" deleted
namespace "gmp-public" deleted
namespace "gmp-system" deleted
Error from server (Forbidden): namespaces "default" is forbidden: this namespace may not be deleted
namespace/scaling-proxysql-6711 created
Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-1916-e6a59489-8-cluster3" modified.


-----------------------------------------------------------------------------------
create secrets for cloud storages
-----------------------------------------------------------------------------------

secret/minio-secret created
secret/aws-s3-secret created
secret/gcp-cs-secret created
secret/azure-secret created


-----------------------------------------------------------------------------------
create first PXC cluster
-----------------------------------------------------------------------------------

secret/my-cluster-secrets created
secret/some-name-ssl created
secret/some-name-ssl-internal created
deployment.apps/pxc-client created
perconaxtradbcluster.pxc.percona.com/scaling-proxysql created


-----------------------------------------------------------------------------------
check if all 3 Pods started
-----------------------------------------------------------------------------------

error: no matching resources found


-----------------------------------------------------------------------------------
wait for running cluster
-----------------------------------------------------------------------------------

pod/scaling-proxysql-proxysql-0 condition met
waiting for pod/scaling-proxysql-proxysql-0 to become Ready.Ok


-----------------------------------------------------------------------------------
wait for running cluster
-----------------------------------------------------------------------------------

pod/scaling-proxysql-pxc-0 condition met
waiting for pod/scaling-proxysql-pxc-0 to become Ready.Ok
pod/scaling-proxysql-pxc-1 condition met
waiting for pod/scaling-proxysql-pxc-1 to become Ready.Ok
pod/scaling-proxysql-pxc-2 condition met
waiting for pod/scaling-proxysql-pxc-2 to become Ready.Ok


-----------------------------------------------------------------------------------
write data
-----------------------------------------------------------------------------------

pod/pxc-client-69f9bd646c-s6s5x condition met
waiting for pod/pxc-client-69f9bd646c-s6s5x to become Ready.Ok
pod/pxc-client-69f9bd646c-s6s5x condition met
waiting for pod/pxc-client-69f9bd646c-s6s5x to become Ready.Ok
pod/pxc-client-69f9bd646c-s6s5x condition met
waiting for pod/pxc-client-69f9bd646c-s6s5x to become Ready.Ok
pod/pxc-client-69f9bd646c-s6s5x condition met
waiting for pod/pxc-client-69f9bd646c-s6s5x to become Ready.Ok
pod/pxc-client-69f9bd646c-s6s5x condition met
waiting for pod/pxc-client-69f9bd646c-s6s5x to become Ready.Ok
Unable to use a TTY - input is not a terminal or the right kind of file


-----------------------------------------------------------------------------------
scale up from 1 to 3
-----------------------------------------------------------------------------------

perconaxtradbcluster.pxc.percona.com/scaling-proxysql configured


-----------------------------------------------------------------------------------
check if all 3 Pods started
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
wait for running cluster
-----------------------------------------------------------------------------------

pod/scaling-proxysql-proxysql-0 condition met
waiting for pod/scaling-proxysql-proxysql-0 to become Ready.Ok
pod/scaling-proxysql-proxysql-1 condition met
waiting for pod/scaling-proxysql-proxysql-1 to become Ready.Ok
pod/scaling-proxysql-proxysql-2 condition met
waiting for pod/scaling-proxysql-proxysql-2 to become Ready.Ok


-----------------------------------------------------------------------------------
check if PVC created
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
compare pvc/proxydata-scaling-proxysql-proxysql-1-
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
compare pvc/proxydata-scaling-proxysql-proxysql-2-
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
check new Pods exists in ProxySQL
-----------------------------------------------------------------------------------

scaling-proxysql-proxysql-0.scaling-proxysql-proxysql-unready.scaling-proxysql-6711.svc.cluster.local
scaling-proxysql-proxysql-1.scaling-proxysql-proxysql-unready.scaling-proxysql-6711.svc.cluster.local
scaling-proxysql-proxysql-2.scaling-proxysql-proxysql-unready.scaling-proxysql-6711.svc.cluster.local
scaling-proxysql-proxysql-0.scaling-proxysql-proxysql-unready.scaling-proxysql-6711.svc.cluster.local
scaling-proxysql-proxysql-1.scaling-proxysql-proxysql-unready.scaling-proxysql-6711.svc.cluster.local
scaling-proxysql-proxysql-2.scaling-proxysql-proxysql-unready.scaling-proxysql-6711.svc.cluster.local
scaling-proxysql-proxysql-0.scaling-proxysql-proxysql-unready.scaling-proxysql-6711.svc.cluster.local
scaling-proxysql-proxysql-1.scaling-proxysql-proxysql-unready.scaling-proxysql-6711.svc.cluster.local
scaling-proxysql-proxysql-2.scaling-proxysql-proxysql-unready.scaling-proxysql-6711.svc.cluster.local


-----------------------------------------------------------------------------------
scale down from 3 to 1
-----------------------------------------------------------------------------------

perconaxtradbcluster.pxc.percona.com/scaling-proxysql configured


-----------------------------------------------------------------------------------
check if Pod deleted
-----------------------------------------------------------------------------------

waiting for pod/scaling-proxysql-proxysql-2 to be deleted.Error from server (NotFound): pods "scaling-proxysql-proxysql-2" not found


-----------------------------------------------------------------------------------
check if PVC not deleted
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
compare pvc/proxydata-scaling-proxysql-proxysql-2-
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
return true if kubernetes version equal or greater than desired
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
check if Pod deleted from ProxySQL
-----------------------------------------------------------------------------------



-----------------------------------------------------------------------------------
destroy cluster/operator and all other resources
-----------------------------------------------------------------------------------

+ kubectl patch pxc -n scaling-proxysql-6711 scaling-proxysql --type=merge -p '{"metadata":{"finalizers":[]}}'
perconaxtradbcluster.pxc.percona.com/scaling-proxysql patched
perconaxtradbcluster.pxc.percona.com "scaling-proxysql" deleted
No resources found
No resources found
validatingwebhookconfiguration.admissionregistration.k8s.io "percona-xtradbcluster-webhook" deleted


-----------------------------------------------------------------------------------
test passed
-----------------------------------------------------------------------------------