Log: /mnt/jenkins/workspace/cloud-pxc-operator_PR-2538/e2e-tests/logs/pvc-auto-resize-5-7.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 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/pxc-operator created Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-2538-70c04858-1-cluster15" 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:01:10.228019 31312 reflector.go:227] "Failed to watch" err="Get \"https://34.67.239.7/apis/apiextensions.k8s.io/v1/customresourcedefinitions?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dperconaxtradbclusters.pxc.percona.com&resourceVersion=1782961266400156000&timeoutSeconds=351&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:01:12.788964 31789 reflector.go:227] "Failed to watch" err="Get \"https://34.67.239.7/apis/apiextensions.k8s.io/v1/customresourcedefinitions?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dperconaxtradbclusterbackups.pxc.percona.com&resourceVersion=1782961271400298000&timeoutSeconds=414&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:01:16.120158 32148 reflector.go:227] "Failed to watch" err="Get \"https://34.67.239.7/apis/apiextensions.k8s.io/v1/customresourcedefinitions?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dperconaxtradbclusterrestores.pxc.percona.com&resourceVersion=1782961271400298000&timeoutSeconds=496&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-59848dbdcc-dtm42 condition met E0702 03:01:41.163079 3362 reflector.go:227] "Failed to watch" err="Get \"https://34.67.239.7/api/v1/namespaces/pxc-operator/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpercona-xtradb-cluster-operator-59848dbdcc-dtm42&resourceVersion=1782961300801155000&timeoutSeconds=463&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" pod/percona-xtradb-cluster-operator-59848dbdcc-dtm42 condition met E0702 03:01:52.703701 4826 reflector.go:227] "Failed to watch" err="Get \"https://34.67.239.7/api/v1/namespaces/pxc-operator/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpercona-xtradb-cluster-operator-59848dbdcc-dtm42&resourceVersion=1782961307983863000&timeoutSeconds=515&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/percona-xtradb-cluster-operator-59848dbdcc-dtm42 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-30446 ----------------------------------------------------------------------------------- Error from server (NotFound): namespaces "pvc-auto-resize-30446" not found waiting for namespace/pvc-auto-resize-30446 to be deletederror: resource(s) were provided, but no name was specified Error from server (NotFound): namespaces "pvc-auto-resize-30446" not found ----------------------------------------------------------------------------------- create namespace pvc-auto-resize-30446 ----------------------------------------------------------------------------------- namespace/pvc-auto-resize-30446 created Context "gke_cloud-dev-112233_us-central1-a_jen-pxc-2538-70c04858-1-cluster15" 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:07:30.256835 22391 reflector.go:227] "Failed to watch" err="Get \"https://34.67.239.7/api/v1/namespaces/pvc-auto-resize-30446/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dsome-name-haproxy-0&resourceVersion=1782961646075265000&timeoutSeconds=465&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:07:42.311911 24323 reflector.go:227] "Failed to watch" err="Get \"https://34.67.239.7/api/v1/namespaces/pvc-auto-resize-30446/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dsome-name-haproxy-1&resourceVersion=1782961661075520000&timeoutSeconds=385&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-97cb9c68b-ks82r condition met E0702 03:08:23.421692 30489 reflector.go:227] "Failed to watch" err="Get \"https://34.67.239.7/api/v1/namespaces/pvc-auto-resize-30446/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpxc-client-97cb9c68b-ks82r&resourceVersion=1782961700854340000&timeoutSeconds=547&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/pxc-client-97cb9c68b-ks82r to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok pod/pxc-client-97cb9c68b-ks82r condition met E0702 03:08:47.018292 1684 reflector.go:227] "Failed to watch" err="Get \"https://34.67.239.7/api/v1/namespaces/pvc-auto-resize-30446/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpxc-client-97cb9c68b-ks82r&resourceVersion=1782961724721100000&timeoutSeconds=511&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/pxc-client-97cb9c68b-ks82r to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok ----------------------------------------------------------------------------------- compare initial data ----------------------------------------------------------------------------------- pod/pxc-client-97cb9c68b-ks82r condition met E0702 03:09:47.620688 10763 reflector.go:227] "Failed to watch" err="Get \"https://34.67.239.7/api/v1/namespaces/pvc-auto-resize-30446/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpxc-client-97cb9c68b-ks82r&resourceVersion=1782961785095146000&timeoutSeconds=434&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/pxc-client-97cb9c68b-ks82r to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok pod/pxc-client-97cb9c68b-ks82r condition met E0702 03:10:04.727733 13744 reflector.go:227] "Failed to watch" err="Get \"https://34.67.239.7/api/v1/namespaces/pvc-auto-resize-30446/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpxc-client-97cb9c68b-ks82r&resourceVersion=1782961803616876000&timeoutSeconds=321&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/pxc-client-97cb9c68b-ks82r to become ReadyDefaulted container "pxc-client" out of: pxc-client, backup .Ok pod/pxc-client-97cb9c68b-ks82r condition met E0702 03:10:20.684697 15821 reflector.go:227] "Failed to watch" err="Get \"https://34.67.239.7/api/v1/namespaces/pvc-auto-resize-30446/pods?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dpxc-client-97cb9c68b-ks82r&resourceVersion=1782961817448910000&timeoutSeconds=466&watch=true\": context canceled" reflector="k8s.io/client-go/tools/watch/informerwatcher.go:162" type="*unstructured.Unstructured" waiting for pod/pxc-client-97cb9c68b-ks82r 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: 100% ----------------------------------------------------------------------------------- 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: 70% 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: 66% 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: 63% 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-30446 namespace No resources found validatingwebhookconfiguration.admissionregistration.k8s.io "percona-xtradbcluster-webhook" deleted namespace "pxc-operator" 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. namespace "pvc-auto-resize-30446" 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 -----------------------------------------------------------------------------------