Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/e2e-tests/logs/pitr.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 + main + create_infra pitr-29653 + local ns=pitr-29653 + 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.PXGEFtscp6 ++ mktemp + local LAST_ERR=/tmp/tmp.LDNwFB6CG2 + 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.PXGEFtscp6 + cat /tmp/tmp.LDNwFB6CG2 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.PXGEFtscp6 + cat /tmp/tmp.LDNwFB6CG2 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.PXGEFtscp6 + cat /tmp/tmp.LDNwFB6CG2 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.PXGEFtscp6 + cat /tmp/tmp.LDNwFB6CG2 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.PXGEFtscp6 /tmp/tmp.LDNwFB6CG2 + 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 '\''\-\-\-'\'')' + grep -v NAMESPACE + kubectl get perconaservermongodbbackups.psmdb.percona.com --all-namespaces -o wide + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbbackups.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' E0604 22:57:04.752831 28750 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 E0604 22:57:34.753919 28750 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 E0604 22:58:04.754955 28750 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 E0604 22:58:34.755242 28750 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 E0604 22:59:04.755774 28750 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":[]}}' E0604 22:59:35.248974 30448 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 E0604 23:00:05.249281 30448 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 E0604 23:00:35.249912 30448 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 E0604 23:01:05.250597 30448 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 E0604 23:01:35.251919 30448 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.w63V9smKK5 ++ mktemp + local LAST_ERR=/tmp/tmp.DYv6h760uD + 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.w63V9smKK5 + cat /tmp/tmp.DYv6h760uD 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.w63V9smKK5 + cat /tmp/tmp.DYv6h760uD 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.w63V9smKK5 + cat /tmp/tmp.DYv6h760uD Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.w63V9smKK5 + cat /tmp/tmp.DYv6h760uD Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.w63V9smKK5 /tmp/tmp.DYv6h760uD + 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\":[]}}"' E0604 23:03:48.357831 900 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 E0604 23:04:18.358867 900 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 E0604 23:04:48.360082 900 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 E0604 23:05:18.360692 900 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 E0604 23:05:48.361743 900 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":[]}}' E0604 23:06:18.858901 2584 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 E0604 23:06:48.859234 2584 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 E0604 23:07:18.860483 2584 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 E0604 23:07:48.861058 2584 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 E0604 23:08:18.861928 2584 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.Mk7nZ6Ypf0 ++ mktemp + local LAST_ERR=/tmp/tmp.uBvTHpIcfD + 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.Mk7nZ6Ypf0 + cat /tmp/tmp.uBvTHpIcfD 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.Mk7nZ6Ypf0 + cat /tmp/tmp.uBvTHpIcfD 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.Mk7nZ6Ypf0 + cat /tmp/tmp.uBvTHpIcfD Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.Mk7nZ6Ypf0 + cat /tmp/tmp.uBvTHpIcfD Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.Mk7nZ6Ypf0 /tmp/tmp.uBvTHpIcfD + 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\":[]}}"' E0604 23:10:32.082990 5413 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 E0604 23:11:02.083485 5413 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 E0604 23:11:32.084493 5413 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 E0604 23:12:02.084990 5413 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 E0604 23:12:32.085511 5413 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":[]}}' E0604 23:13:02.588927 7035 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 E0604 23:13:32.589897 7035 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 E0604 23:14:02.591059 7035 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 E0604 23:14:32.591645 7035 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 E0604 23:15:02.592059 7035 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.ABbgZoul3I ++ mktemp + local LAST_ERR=/tmp/tmp.vNSH2Q3sEl + 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.ABbgZoul3I + cat /tmp/tmp.vNSH2Q3sEl 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.ABbgZoul3I + cat /tmp/tmp.vNSH2Q3sEl 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.ABbgZoul3I + cat /tmp/tmp.vNSH2Q3sEl Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.ABbgZoul3I + cat /tmp/tmp.vNSH2Q3sEl Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.ABbgZoul3I /tmp/tmp.vNSH2Q3sEl + 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.rw0VpFdBc6 ++ mktemp + local LAST_ERR=/tmp/tmp.1TeXheO6DC + 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.rw0VpFdBc6 + cat /tmp/tmp.1TeXheO6DC 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.rw0VpFdBc6 + cat /tmp/tmp.1TeXheO6DC 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.rw0VpFdBc6 + cat /tmp/tmp.1TeXheO6DC 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.rw0VpFdBc6 + cat /tmp/tmp.1TeXheO6DC 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.rw0VpFdBc6 /tmp/tmp.1TeXheO6DC + 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.aXs3nzzjrC +++ mktemp ++ local LAST_ERR=/tmp/tmp.b7vc5DHSM1 ++ 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.aXs3nzzjrC ++ cat /tmp/tmp.b7vc5DHSM1 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.aXs3nzzjrC ++ cat /tmp/tmp.b7vc5DHSM1 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.aXs3nzzjrC ++ cat /tmp/tmp.b7vc5DHSM1 Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout ++ sleep 8 ++ cat /tmp/tmp.aXs3nzzjrC ++ cat /tmp/tmp.b7vc5DHSM1 Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout ++ rm /tmp/tmp.aXs3nzzjrC /tmp/tmp.b7vc5DHSM1 ++ 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}' E0604 23:25:42.765855 15733 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 ++ grep chaos-mesh.org ++ awk '{print $1}' 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.Hu2qkNpSFb ++ mktemp + local LAST_ERR=/tmp/tmp.dP9PnGllxD + local exit_status=0 + local timeout=4 + local LAST_OUT=/tmp/tmp.B4210j9MNW ++ seq 0 2 ++ mktemp + for i in '$(seq 0 2)' + set +e + kubectl get ns + local LAST_ERR=/tmp/tmp.yG1tJdxm72 + 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 + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.Hu2qkNpSFb + cat /tmp/tmp.dP9PnGllxD 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 + exit_status=1 + kubectl get ns + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.B4210j9MNW + cat /tmp/tmp.yG1tJdxm72 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.B4210j9MNW + cat /tmp/tmp.yG1tJdxm72 Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 4 + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.Hu2qkNpSFb + cat /tmp/tmp.dP9PnGllxD 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.B4210j9MNW + cat /tmp/tmp.yG1tJdxm72 Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.Hu2qkNpSFb + cat /tmp/tmp.dP9PnGllxD Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.B4210j9MNW + cat /tmp/tmp.yG1tJdxm72 Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.B4210j9MNW /tmp/tmp.yG1tJdxm72 + return 1 + : + kubectl_bin wait --for=delete namespace psmdb-operator + cat /tmp/tmp.Hu2qkNpSFb ++ mktemp + cat /tmp/tmp.dP9PnGllxD + local LAST_OUT=/tmp/tmp.NwW9Urmi7R ++ mktemp Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.Hu2qkNpSFb /tmp/tmp.dP9PnGllxD + local LAST_ERR=/tmp/tmp.ahPUwOSBxq + local exit_status=0 + local timeout=4 ++ seq 0 2 + return 1 + 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.NwW9Urmi7R + cat /tmp/tmp.ahPUwOSBxq 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.NwW9Urmi7R + cat /tmp/tmp.ahPUwOSBxq 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.NwW9Urmi7R + cat /tmp/tmp.ahPUwOSBxq Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.NwW9Urmi7R + cat /tmp/tmp.ahPUwOSBxq Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.NwW9Urmi7R /tmp/tmp.ahPUwOSBxq + 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.r9EswKpHC6 ++ mktemp + local LAST_ERR=/tmp/tmp.0i5ho3Ywnf + 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.r9EswKpHC6 + cat /tmp/tmp.0i5ho3Ywnf 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.r9EswKpHC6 + cat /tmp/tmp.0i5ho3Ywnf 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.r9EswKpHC6 + cat /tmp/tmp.0i5ho3Ywnf Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + sleep 8 + cat /tmp/tmp.r9EswKpHC6 + cat /tmp/tmp.0i5ho3Ywnf Unable to connect to the server: dial tcp 35.225.87.244:443: i/o timeout + rm /tmp/tmp.r9EswKpHC6 /tmp/tmp.0i5ho3Ywnf + return 1