Log: /mnt/jenkins/workspace/cloud-pxc-operator_PR-2539/e2e-tests/logs/pvc-auto-resize-8-0.log Warning: version difference between client (1.36) and server (1.33) exceeds the supported minor version skew of +/-1 Warning: version difference between client (1.36) and server (1.33) exceeds the supported minor version skew of +/-1 Checking if default storageclass standard-rwo allows volume expansion 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: resource(s) were provided, but no name was specified namespace "pxc-operator" deleted waiting for namespace/pxc-operator to be deletedError from server (NotFound): namespaces "pxc-operator" not found ----------------------------------------------------------------------------------- create namespace pxc-operator ----------------------------------------------------------------------------------- namespace/pxc-operator created Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-2539-dcdf1e8a-1-cluster1" 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 customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusters.pxc.percona.com condition met E0702 03:10:13.280760 25914 reflector.go:227] "Failed to watch" err="Get \"https://35.224.240.5/apis/apiextensions.k8s.io/v1/customresourcedefinitions?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dperconaxtradbclusters.pxc.percona.com&resourceVersion=1782961811265975000&timeoutSeconds=501&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusterbackups.pxc.percona.com condition met E0702 03:10:15.438136 26180 reflector.go:227] "Failed to watch" err="Get \"https://35.224.240.5/apis/apiextensions.k8s.io/v1/customresourcedefinitions?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dperconaxtradbclusterbackups.pxc.percona.com&resourceVersion=1782961811265975000&timeoutSeconds=393&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" customresourcedefinition.apiextensions.k8s.io/perconaxtradbclusterrestores.pxc.percona.com condition met E0702 03:10:17.096987 26508 reflector.go:227] "Failed to watch" err="Get \"https://35.224.240.5/apis/apiextensions.k8s.io/v1/customresourcedefinitions?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dperconaxtradbclusterrestores.pxc.percona.com&resourceVersion=1782961816266030000&timeoutSeconds=585&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" 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-65b5d85575-79vkz condition met E0702 03:10:35.241214 29067 reflector.go:227] "Failed to watch" err="Get \"https://35.224.240.5/api/v1/namespaces/pxc-operator/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpercona-xtradb-cluster-operator-65b5d85575-79vkz&resourceVersion=1782961834877146000&timeoutSeconds=455&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" pod/percona-xtradb-cluster-operator-65b5d85575-79vkz condition met E0702 03:10:40.319310 29870 reflector.go:227] "Failed to watch" err="Get \"https://35.224.240.5/api/v1/namespaces/pxc-operator/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpercona-xtradb-cluster-operator-65b5d85575-79vkz&resourceVersion=1782961838185439000&timeoutSeconds=376&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/percona-xtradb-cluster-operator-65b5d85575-79vkz 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 pvc-auto-resize-15210 ----------------------------------------------------------------------------------- Error from server (NotFound): namespaces "pvc-auto-resize-15210" not found waiting for namespace/pvc-auto-resize-15210 to be deletedError from server (NotFound): namespaces "pvc-auto-resize-15210" not found ----------------------------------------------------------------------------------- create namespace pvc-auto-resize-15210 ----------------------------------------------------------------------------------- error: resource(s) were provided, but no name was specified namespace/pvc-auto-resize-15210 created Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-2539-dcdf1e8a-1-cluster1" modified. ----------------------------------------------------------------------------------- create secrets for cloud storages ----------------------------------------------------------------------------------- secret/minio-secret created secret/aws-s3-secret created secret/do-spaces-secret created secret/gcp-cs-secret created secret/azure-secret created ----------------------------------------------------------------------------------- create PXC cluster with storage autoscaling enabled ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- 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/some-name created ----------------------------------------------------------------------------------- waiting pods to be running for some-name ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- Waiting for 3 running pods for some-name-pxc ----------------------------------------------------------------------------------- pod/some-name-pxc-0 condition met waiting for pod/some-name-pxc-0 to become Ready.Ok pod/some-name-pxc-1 condition met waiting for pod/some-name-pxc-1 to become Ready.Ok pod/some-name-pxc-2 condition met waiting for pod/some-name-pxc-2 to become Ready.Ok ----------------------------------------------------------------------------------- Waiting for 2 running pods for some-name-haproxy ----------------------------------------------------------------------------------- pod/some-name-haproxy-0 condition met E0702 03:15:49.903385 11093 reflector.go:227] "Failed to watch" err="Get \"https://35.224.240.5/api/v1/namespaces/pvc-auto-resize-15210/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dsome-name-haproxy-0&resourceVersion=1782962149290076000&timeoutSeconds=577&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/some-name-haproxy-0 to become Ready.Ok pod/some-name-haproxy-1 condition met E0702 03:16:01.411754 12756 reflector.go:227] "Failed to watch" err="Get \"https://35.224.240.5/api/v1/namespaces/pvc-auto-resize-15210/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dsome-name-haproxy-1&resourceVersion=1782962159290337000&timeoutSeconds=363&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/some-name-haproxy-1 to become Ready.Ok ----------------------------------------------------------------------------------- wait cluster consistency ----------------------------------------------------------------------------------- waiting for pxc/some-name to be ready ----------------------------------------------------------------------------------- write data ----------------------------------------------------------------------------------- pod/pxc-client-67fc4995bb-tml4x condition met E0702 03:16:50.695051 20090 reflector.go:227] "Failed to watch" err="Get \"https://35.224.240.5/api/v1/namespaces/pvc-auto-resize-15210/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpxc-client-67fc4995bb-tml4x&resourceVersion=1782962207091903000&timeoutSeconds=528&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/pxc-client-67fc4995bb-tml4x to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok pod/pxc-client-67fc4995bb-tml4x condition met E0702 03:17:16.846219 23947 reflector.go:227] "Failed to watch" err="Get \"https://35.224.240.5/api/v1/namespaces/pvc-auto-resize-15210/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpxc-client-67fc4995bb-tml4x&resourceVersion=1782962233064982000&timeoutSeconds=510&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/pxc-client-67fc4995bb-tml4x to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok ----------------------------------------------------------------------------------- compare initial data ----------------------------------------------------------------------------------- pod/pxc-client-67fc4995bb-tml4x condition met E0702 03:18:06.985353 31932 reflector.go:227] "Failed to watch" err="Get \"https://35.224.240.5/api/v1/namespaces/pvc-auto-resize-15210/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpxc-client-67fc4995bb-tml4x&resourceVersion=1782962285925927000&timeoutSeconds=483&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/pxc-client-67fc4995bb-tml4x to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok pod/pxc-client-67fc4995bb-tml4x condition met E0702 03:18:18.566199 1056 reflector.go:227] "Failed to watch" err="Get \"https://35.224.240.5/api/v1/namespaces/pvc-auto-resize-15210/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpxc-client-67fc4995bb-tml4x&resourceVersion=1782962296749170000&timeoutSeconds=553&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/pxc-client-67fc4995bb-tml4x to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok pod/pxc-client-67fc4995bb-tml4x condition met E0702 03:18:32.557641 3168 reflector.go:227] "Failed to watch" err="Get \"https://35.224.240.5/api/v1/namespaces/pvc-auto-resize-15210/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpxc-client-67fc4995bb-tml4x&resourceVersion=1782962310334858000&timeoutSeconds=581&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/pxc-client-67fc4995bb-tml4x to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok ----------------------------------------------------------------------------------- verify initial PVC size is 1Gi ----------------------------------------------------------------------------------- Initial PVC size: 1Gi ----------------------------------------------------------------------------------- fill disk to trigger autoscaling threshold 50 percent ----------------------------------------------------------------------------------- Filling disk on some-name-pxc-0 to approximately 50% (creating 600MB file) Current disk usage on some-name-pxc-0: 98% ----------------------------------------------------------------------------------- wait for auto-resize to trigger ----------------------------------------------------------------------------------- Waiting for PVC datadir-some-name-pxc-0 to auto-resize to 3Gi ... PVC datadir-some-name-pxc-0 successfully resized to 3Gi Waiting for PVC datadir-some-name-pxc-1 to auto-resize to 3Gi . PVC datadir-some-name-pxc-1 successfully resized to 3Gi Waiting for PVC datadir-some-name-pxc-2 to auto-resize to 3Gi PVC datadir-some-name-pxc-2 successfully resized to 3Gi ----------------------------------------------------------------------------------- verify autoscaling status is updated ----------------------------------------------------------------------------------- Checking autoscaling status for PVCs: datadir-some-name-pxc-0 datadir-some-name-pxc-1 datadir-some-name-pxc-2 Expected resize count per PVC: 1 ----------------------------------------------------------------------------------- wait for cluster consistency after resize ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- wait cluster consistency ----------------------------------------------------------------------------------- waiting for pxc/some-name to be ready ----------------------------------------------------------------------------------- verify cluster is ready ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- test namespace resource quota enforcement ----------------------------------------------------------------------------------- Applying resourcequota for default storageclass standard-rwo with quota 9Gi resourcequota/default-storage-quota created Filling disk again to trigger autoscaling with quota limit Filling disk on some-name-pxc-0 to approximately 50% (creating 1700MB file) Current disk usage on some-name-pxc-0: 69% Waiting to verify PVC does not resize beyond quota (should stay at 3Gi) ----------------------------------------------------------------------------------- increase quota to allow further autoscaling ----------------------------------------------------------------------------------- Applying resourcequota for default storageclass standard-rwo with quota 15Gi resourcequota/default-storage-quota configured Waiting for PVC datadir-some-name-pxc-0 to auto-resize to 5Gi ... PVC datadir-some-name-pxc-0 successfully resized to 5Gi Waiting for PVC datadir-some-name-pxc-1 to auto-resize to 5Gi .. PVC datadir-some-name-pxc-1 successfully resized to 5Gi Waiting for PVC datadir-some-name-pxc-2 to auto-resize to 5Gi PVC datadir-some-name-pxc-2 successfully resized to 5Gi ----------------------------------------------------------------------------------- verify autoscaling status after quota test ----------------------------------------------------------------------------------- Checking autoscaling status for PVCs: datadir-some-name-pxc-0 datadir-some-name-pxc-1 datadir-some-name-pxc-2 Expected resize count per PVC: 2 ----------------------------------------------------------------------------------- verify cluster consistency after quota test ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- wait cluster consistency ----------------------------------------------------------------------------------- waiting for pxc/some-name to be ready ----------------------------------------------------------------------------------- test maxSize limit ----------------------------------------------------------------------------------- Applying resourcequota for default storageclass standard-rwo with quota 30Gi resourcequota/default-storage-quota configured Continuing to fill disk to test maxSize enforcement Filling disk on some-name-pxc-0 to approximately 50% (creating 2900MB file) Current disk usage on some-name-pxc-0: 65% Waiting for PVC datadir-some-name-pxc-0 to auto-resize to 7Gi .... PVC datadir-some-name-pxc-0 successfully resized to 7Gi Waiting for PVC datadir-some-name-pxc-1 to auto-resize to 7Gi PVC datadir-some-name-pxc-1 successfully resized to 7Gi Waiting for PVC datadir-some-name-pxc-2 to auto-resize to 7Gi PVC datadir-some-name-pxc-2 successfully resized to 7Gi Filling disk on some-name-pxc-0 to approximately 50% (creating 4000MB file) Current disk usage on some-name-pxc-0: 62% Waiting for PVC datadir-some-name-pxc-0 to auto-resize to 9Gi .. PVC datadir-some-name-pxc-0 successfully resized to 9Gi Waiting for PVC datadir-some-name-pxc-1 to auto-resize to 9Gi .... PVC datadir-some-name-pxc-1 successfully resized to 9Gi Waiting for PVC datadir-some-name-pxc-2 to auto-resize to 9Gi . PVC datadir-some-name-pxc-2 successfully resized to 9Gi Filling disk on some-name-pxc-0 to approximately 50% (creating 5200MB file) Current disk usage on some-name-pxc-0: 62% PVC is at 9Gi, will resize to 10Gi (maxSize) Waiting for PVC datadir-some-name-pxc-0 to auto-resize to 10Gi ... PVC datadir-some-name-pxc-0 successfully resized to 10Gi Waiting for PVC datadir-some-name-pxc-1 to auto-resize to 10Gi PVC datadir-some-name-pxc-1 successfully resized to 10Gi Waiting for PVC datadir-some-name-pxc-2 to auto-resize to 10Gi PVC datadir-some-name-pxc-2 successfully resized to 10Gi ----------------------------------------------------------------------------------- verify final autoscaling status ----------------------------------------------------------------------------------- Checking autoscaling status for PVCs: datadir-some-name-pxc-0 datadir-some-name-pxc-1 datadir-some-name-pxc-2 Expected resize count per PVC: 5 ----------------------------------------------------------------------------------- wait cluster consistency ----------------------------------------------------------------------------------- waiting for pxc/some-name to be ready ----------------------------------------------------------------------------------- destroy cluster/operator and all other resources ----------------------------------------------------------------------------------- perconaxtradbcluster.pxc.percona.com/some-name patched perconaxtradbcluster.pxc.percona.com "some-name" deleted from pvc-auto-resize-15210 namespace No resources found validatingwebhookconfiguration.admissionregistration.k8s.io "percona-xtradbcluster-webhook" deleted namespace "pvc-auto-resize-15210" force deleted Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely. ----------------------------------------------------------------------------------- test passed -----------------------------------------------------------------------------------