Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/e2e-tests/logs/upgrade-consistency.log Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + CLUSTER=some-name + main + create_infra upgrade-consistency-21358 + local ns=upgrade-consistency-21358 + delete_crd + desc 'get and delete old CRDs and RBAC' + set +o xtrace ----------------------------------------------------------------------------------- get and delete old CRDs and RBAC ----------------------------------------------------------------------------------- + kubectl_bin delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.sm93vBPEGX ++ mktemp + local LAST_ERR=/tmp/tmp.Uqz7xirbvn + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.sm93vBPEGX + cat /tmp/tmp.Uqz7xirbvn error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://35.225.87.244/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbbackups.psmdb.percona.com": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://35.225.87.244/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbrestores.psmdb.percona.com": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://35.225.87.244/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": dial tcp 35.225.87.244:443: i/o timeout + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.sm93vBPEGX + cat /tmp/tmp.Uqz7xirbvn error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://35.225.87.244/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbbackups.psmdb.percona.com": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://35.225.87.244/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbrestores.psmdb.percona.com": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://35.225.87.244/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": dial tcp 35.225.87.244:443: i/o timeout + sleep 4 + for i in '$(seq 0 2)' + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.sm93vBPEGX + cat /tmp/tmp.Uqz7xirbvn error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://35.225.87.244/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbbackups.psmdb.percona.com": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://35.225.87.244/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbrestores.psmdb.percona.com": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://35.225.87.244/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.sm93vBPEGX + cat /tmp/tmp.Uqz7xirbvn error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://35.225.87.244/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbbackups.psmdb.percona.com": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://35.225.87.244/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbrestores.psmdb.percona.com": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://35.225.87.244/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.sm93vBPEGX /tmp/tmp.Uqz7xirbvn + return 1 + : ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml ++ grep -v '\-\-\-' + for crd_name in '$(yq eval '\''.metadata.name'\'' "${src_dir}/deploy/crd.yaml" | grep -v '\''\-\-\-'\'')' + kubectl get perconaservermongodbbackups.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbbackups.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' E0605 01:55:13.473966 6511 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 01:55:43.474278 6511 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 01:56:13.474630 6511 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 01:56:43.475196 6511 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 01:57:13.475985 6511 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + kubectl patch perconaservermongodbbackups.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' E0605 01:57:43.963783 8560 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 01:58:13.964464 8560 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 01:58:43.965375 8560 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 01:59:13.965995 8560 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 01:59:43.967281 8560 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + : + kubectl_bin wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.WLmwxG3Row ++ mktemp + local LAST_ERR=/tmp/tmp.tnvsAnYjUq + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.WLmwxG3Row + cat /tmp/tmp.tnvsAnYjUq Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.WLmwxG3Row + cat /tmp/tmp.tnvsAnYjUq Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 4 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.WLmwxG3Row + cat /tmp/tmp.tnvsAnYjUq Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.WLmwxG3Row + cat /tmp/tmp.tnvsAnYjUq Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.WLmwxG3Row /tmp/tmp.tnvsAnYjUq + return 1 + : + for crd_name in '$(yq eval '\''.metadata.name'\'' "${src_dir}/deploy/crd.yaml" | grep -v '\''\-\-\-'\'')' + kubectl get perconaservermongodbrestores.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbrestores.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' E0605 02:01:57.055350 11503 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:02:27.055843 11503 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:02:57.056110 11503 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:03:27.056623 11503 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:03:57.057561 11503 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + kubectl patch perconaservermongodbrestores.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' E0605 02:04:27.547932 13118 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:04:57.549006 13118 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:05:27.549350 13118 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:05:57.549954 13118 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:06:27.550936 13118 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + : + kubectl_bin wait --for=delete crd perconaservermongodbrestores.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.kGuXfnnW6N ++ mktemp + local LAST_ERR=/tmp/tmp.6dYRGVRhcY + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete crd perconaservermongodbrestores.psmdb.percona.com + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.kGuXfnnW6N + cat /tmp/tmp.6dYRGVRhcY Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete crd perconaservermongodbrestores.psmdb.percona.com + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.kGuXfnnW6N + cat /tmp/tmp.6dYRGVRhcY Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 4 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete crd perconaservermongodbrestores.psmdb.percona.com + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.kGuXfnnW6N + cat /tmp/tmp.6dYRGVRhcY Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.kGuXfnnW6N + cat /tmp/tmp.6dYRGVRhcY Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.kGuXfnnW6N /tmp/tmp.6dYRGVRhcY + return 1 + : + for crd_name in '$(yq eval '\''.metadata.name'\'' "${src_dir}/deploy/crd.yaml" | grep -v '\''\-\-\-'\'')' + kubectl get perconaservermongodbs.psmdb.percona.com --all-namespaces -o wide + grep -v NAMESPACE + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbs.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' E0605 02:08:40.631411 15964 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:09:10.632404 15964 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:09:40.633254 15964 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:10:10.633841 15964 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:10:40.634299 15964 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + kubectl patch perconaservermongodbs.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' E0605 02:11:11.153047 17594 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:11:41.153684 17594 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:12:11.154714 17594 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:12:41.155253 17594 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout E0605 02:13:11.156368 17594 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + : + kubectl_bin wait --for=delete crd perconaservermongodbs.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.GpeJDbE0kz ++ mktemp + local LAST_ERR=/tmp/tmp.O45bAU8y5M + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete crd perconaservermongodbs.psmdb.percona.com + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.GpeJDbE0kz + cat /tmp/tmp.O45bAU8y5M Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete crd perconaservermongodbs.psmdb.percona.com + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.GpeJDbE0kz + cat /tmp/tmp.O45bAU8y5M Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 4 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete crd perconaservermongodbs.psmdb.percona.com + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.GpeJDbE0kz + cat /tmp/tmp.O45bAU8y5M Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.GpeJDbE0kz + cat /tmp/tmp.O45bAU8y5M Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.GpeJDbE0kz /tmp/tmp.O45bAU8y5M + return 1 + : + local rbac_yaml=rbac.yaml + '[' -n psmdb-operator ']' + rbac_yaml=cw-rbac.yaml + kubectl_bin delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.lylqrgVc43 ++ mktemp + local LAST_ERR=/tmp/tmp.6yjS9L5wwy + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml --ignore-not-found + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.lylqrgVc43 + cat /tmp/tmp.6yjS9L5wwy error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://35.225.87.244/apis/rbac.authorization.k8s.io/v1/clusterroles/percona-server-mongodb-operator": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://35.225.87.244/api/v1/namespaces/one-pod-30753/serviceaccounts/percona-server-mongodb-operator": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://35.225.87.244/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/service-account-percona-server-mongodb-operator": dial tcp 35.225.87.244:443: i/o timeout + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml --ignore-not-found + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.lylqrgVc43 + cat /tmp/tmp.6yjS9L5wwy error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://35.225.87.244/apis/rbac.authorization.k8s.io/v1/clusterroles/percona-server-mongodb-operator": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://35.225.87.244/api/v1/namespaces/one-pod-30753/serviceaccounts/percona-server-mongodb-operator": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://35.225.87.244/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/service-account-percona-server-mongodb-operator": dial tcp 35.225.87.244:443: i/o timeout + sleep 4 + for i in '$(seq 0 2)' + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml --ignore-not-found + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.lylqrgVc43 + cat /tmp/tmp.6yjS9L5wwy error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://35.225.87.244/apis/rbac.authorization.k8s.io/v1/clusterroles/percona-server-mongodb-operator": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://35.225.87.244/api/v1/namespaces/one-pod-30753/serviceaccounts/percona-server-mongodb-operator": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://35.225.87.244/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/service-account-percona-server-mongodb-operator": dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.lylqrgVc43 + cat /tmp/tmp.6yjS9L5wwy error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://35.225.87.244/apis/rbac.authorization.k8s.io/v1/clusterroles/percona-server-mongodb-operator": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://35.225.87.244/api/v1/namespaces/one-pod-30753/serviceaccounts/percona-server-mongodb-operator": dial tcp 35.225.87.244:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://35.225.87.244/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/service-account-percona-server-mongodb-operator": dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.lylqrgVc43 /tmp/tmp.6yjS9L5wwy + return 1 + true + check_crd_for_deletion PR-1552-a008e872 + local git_tag=PR-1552-a008e872 ++ curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/PR-1552-a008e872/deploy/crd.yaml ++ yq eval .metadata.name ++ /usr/bin/sed s/---//g ++ /usr/bin/sed ':a;N;$!ba;s/\n/ /g' + for crd_name in '$(curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/${git_tag}/deploy/crd.yaml | yq eval '\''.metadata.name'\'' | $sed '\''s/---//g'\'' | $sed '\'':a;N;$!ba;s/\n/ /g'\'')' ++ kubectl_bin get crd/null -o 'jsonpath={.status.conditions[-1].type}' +++ mktemp ++ local LAST_OUT=/tmp/tmp.EmhW2s15hF +++ mktemp ++ local LAST_ERR=/tmp/tmp.Wv2Wat2gjS ++ local exit_status=0 ++ local timeout=4 +++ seq 0 2 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.EmhW2s15hF ++ cat /tmp/tmp.Wv2Wat2gjS Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout ++ sleep 0 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.EmhW2s15hF ++ cat /tmp/tmp.Wv2Wat2gjS Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout ++ sleep 4 ++ for i in '$(seq 0 2)' ++ set +e ++ kubectl get crd/null -o 'jsonpath={.status.conditions[-1].type}' ++ exit_status=1 ++ set -e ++ '[' 1 '!=' 0 -a -n 1 ']' ++ cat /tmp/tmp.EmhW2s15hF ++ cat /tmp/tmp.Wv2Wat2gjS Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout ++ sleep 8 ++ cat /tmp/tmp.EmhW2s15hF ++ cat /tmp/tmp.Wv2Wat2gjS Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout ++ rm /tmp/tmp.EmhW2s15hF /tmp/tmp.Wv2Wat2gjS ++ return 1 + [[ '' == \T\e\r\m\i\n\a\t\i\n\g ]] + '[' -n psmdb-operator ']' + create_namespace psmdb-operator + local namespace=psmdb-operator + 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// Error: Kubernetes cluster unreachable: Get "https://35.225.87.244/version": dial tcp 35.225.87.244:443: i/o timeout + local chaos_mesh_ns= + desc 'destroy chaos-mesh' + set +o xtrace ----------------------------------------------------------------------------------- destroy chaos-mesh ----------------------------------------------------------------------------------- + '[' -n '' ']' ++ kubectl get MutatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ grep chaos-mesh ++ awk '{print $1}' E0605 02:23:51.306857 26197 memcache.go:265] couldn't get current server API group list: Get "https://35.225.87.244/api?timeout=32s": dial tcp 35.225.87.244:443: i/o timeout Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout ++ kubectl get crd ++ awk '{print $1}' ++ grep chaos-mesh.org Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + timeout 30 kubectl delete clusterrole 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 psmdb-operator' + xargs kubectl delete ns + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace psmdb-operator --ignore-not-found + egrep -v '^kube-|^default|Terminating|psmdb-operator|openshift|gke-mcs|^NAME' ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.CXtIACXBLR ++ mktemp + local LAST_OUT=/tmp/tmp.c348SO9V9C ++ mktemp + local LAST_ERR=/tmp/tmp.uNHfamfACT + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.2JMK2hmxgP + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace psmdb-operator --ignore-not-found + for i in '$(seq 0 2)' + set +e + kubectl get ns + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.c348SO9V9C + cat /tmp/tmp.2JMK2hmxgP + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.CXtIACXBLR Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 0 + cat /tmp/tmp.uNHfamfACT + for i in '$(seq 0 2)' + set +e + kubectl get ns Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace psmdb-operator --ignore-not-found + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.CXtIACXBLR + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.c348SO9V9C + cat /tmp/tmp.uNHfamfACT + cat /tmp/tmp.2JMK2hmxgP Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 4 Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 4 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace psmdb-operator --ignore-not-found + for i in '$(seq 0 2)' + set +e + kubectl get ns + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.CXtIACXBLR + cat /tmp/tmp.uNHfamfACT + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.c348SO9V9C Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.2JMK2hmxgP Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.CXtIACXBLR + cat /tmp/tmp.uNHfamfACT + cat /tmp/tmp.c348SO9V9C Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.CXtIACXBLR /tmp/tmp.uNHfamfACT + cat /tmp/tmp.2JMK2hmxgP + return 1 + : + kubectl_bin wait --for=delete namespace psmdb-operator Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.c348SO9V9C /tmp/tmp.2JMK2hmxgP ++ mktemp + local LAST_OUT=/tmp/tmp.KMbxFZaDf2 + return 1 ++ mktemp + local LAST_ERR=/tmp/tmp.mUI5N8svnF + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete namespace psmdb-operator error: resource(s) were provided, but no name was specified + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.KMbxFZaDf2 + cat /tmp/tmp.mUI5N8svnF Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete namespace psmdb-operator + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.KMbxFZaDf2 + cat /tmp/tmp.mUI5N8svnF Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 4 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete namespace psmdb-operator + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.KMbxFZaDf2 + cat /tmp/tmp.mUI5N8svnF Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.KMbxFZaDf2 + cat /tmp/tmp.mUI5N8svnF Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.KMbxFZaDf2 /tmp/tmp.mUI5N8svnF + return 1 + : + desc 'create namespace psmdb-operator' + set +o xtrace ----------------------------------------------------------------------------------- create namespace psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin create namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.UJn5lkwQpP ++ mktemp + local LAST_ERR=/tmp/tmp.W1nLcrEEVO + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl create namespace psmdb-operator + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.UJn5lkwQpP + cat /tmp/tmp.W1nLcrEEVO Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl create namespace psmdb-operator + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.UJn5lkwQpP + cat /tmp/tmp.W1nLcrEEVO Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 4 + for i in '$(seq 0 2)' + set +e + kubectl create namespace psmdb-operator + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.UJn5lkwQpP + cat /tmp/tmp.W1nLcrEEVO Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.UJn5lkwQpP + cat /tmp/tmp.W1nLcrEEVO Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.UJn5lkwQpP /tmp/tmp.W1nLcrEEVO + return 1