Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/logs/security-context.log Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout + create_infra security-context-3217 + local ns=security-context-3217 + 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-1551/deploy/crd.yaml --ignore-not-found --wait=false ++ mktemp + local LAST_OUT=/tmp/tmp.up5LNasfhJ ++ mktemp + local LAST_ERR=/tmp/tmp.xEIdZzXDtA + 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-1551/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.up5LNasfhJ + cat /tmp/tmp.xEIdZzXDtA error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.193.150.232/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbbackups.psmdb.percona.com": dial tcp 35.193.150.232:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.193.150.232/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbrestores.psmdb.percona.com": dial tcp 35.193.150.232:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.193.150.232/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": dial tcp 35.193.150.232:443: i/o timeout + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.up5LNasfhJ + cat /tmp/tmp.xEIdZzXDtA error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.193.150.232/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbbackups.psmdb.percona.com": dial tcp 35.193.150.232:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.193.150.232/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbrestores.psmdb.percona.com": dial tcp 35.193.150.232:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.193.150.232/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": dial tcp 35.193.150.232:443: i/o timeout + sleep 4 + for i in '$(seq 0 2)' + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.up5LNasfhJ + cat /tmp/tmp.xEIdZzXDtA error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.193.150.232/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbbackups.psmdb.percona.com": dial tcp 35.193.150.232:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.193.150.232/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbrestores.psmdb.percona.com": dial tcp 35.193.150.232:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.193.150.232/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": dial tcp 35.193.150.232:443: i/o timeout + sleep 8 + cat /tmp/tmp.up5LNasfhJ + cat /tmp/tmp.xEIdZzXDtA error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.193.150.232/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbbackups.psmdb.percona.com": dial tcp 35.193.150.232:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.193.150.232/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbrestores.psmdb.percona.com": dial tcp 35.193.150.232:443: i/o timeout error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.193.150.232/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": dial tcp 35.193.150.232:443: i/o timeout + rm /tmp/tmp.up5LNasfhJ /tmp/tmp.xEIdZzXDtA + return 1 + : ++ yq eval .metadata.name /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/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:06:22.713252 1513 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:06:52.713888 1513 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:07:22.714748 1513 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:07:52.715267 1513 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:08:22.715796 1513 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout + kubectl patch perconaservermongodbbackups.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' E0604 22:08:53.210150 3170 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:09:23.211463 3170 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:09:53.212446 3170 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:10:23.212708 3170 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:10:53.213353 3170 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout + : + kubectl_bin wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.kpVoA27YUZ ++ mktemp + local LAST_ERR=/tmp/tmp.vlm9Zrz4HU + 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.kpVoA27YUZ + cat /tmp/tmp.vlm9Zrz4HU Unable to connect to the server: dial tcp 35.193.150.232: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.kpVoA27YUZ + cat /tmp/tmp.vlm9Zrz4HU Unable to connect to the server: dial tcp 35.193.150.232: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.kpVoA27YUZ + cat /tmp/tmp.vlm9Zrz4HU Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout + sleep 8 + cat /tmp/tmp.kpVoA27YUZ + cat /tmp/tmp.vlm9Zrz4HU Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout + rm /tmp/tmp.kpVoA27YUZ /tmp/tmp.vlm9Zrz4HU + 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 22:13:07.240287 6322 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:13:37.241186 6322 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:14:07.242341 6322 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:14:37.242901 6322 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:15:07.243344 6322 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout + kubectl patch perconaservermongodbrestores.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' E0604 22:15:37.750384 8843 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:16:07.750986 8843 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:16:37.752289 8843 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:17:07.752816 8843 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:17:37.754114 8843 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout + : + kubectl_bin wait --for=delete crd perconaservermongodbrestores.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.DWy1LsWe3j ++ mktemp + local LAST_ERR=/tmp/tmp.wQiT4wtIrf + 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.DWy1LsWe3j + cat /tmp/tmp.wQiT4wtIrf Unable to connect to the server: dial tcp 35.193.150.232: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.DWy1LsWe3j + cat /tmp/tmp.wQiT4wtIrf Unable to connect to the server: dial tcp 35.193.150.232: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.DWy1LsWe3j + cat /tmp/tmp.wQiT4wtIrf Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout + sleep 8 + cat /tmp/tmp.DWy1LsWe3j + cat /tmp/tmp.wQiT4wtIrf Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout + rm /tmp/tmp.DWy1LsWe3j /tmp/tmp.wQiT4wtIrf + 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 22:19:51.750915 13586 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:20:21.751571 13586 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:20:51.752608 13586 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:21:21.753160 13586 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:21:51.754445 13586 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout + kubectl patch perconaservermongodbs.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' E0604 22:22:22.253509 16172 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:22:52.254363 16172 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:23:22.254758 16172 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:23:52.255321 16172 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: i/o timeout E0604 22:23:52.362324 16172 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: connect: connection refused The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + : + kubectl_bin wait --for=delete crd perconaservermongodbs.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.UZoSVqXfDu ++ mktemp + local LAST_ERR=/tmp/tmp.uOxQUkVXAt + 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.UZoSVqXfDu + cat /tmp/tmp.uOxQUkVXAt The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + 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.UZoSVqXfDu + cat /tmp/tmp.uOxQUkVXAt The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + 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.UZoSVqXfDu + cat /tmp/tmp.uOxQUkVXAt Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout + sleep 8 + cat /tmp/tmp.UZoSVqXfDu + cat /tmp/tmp.uOxQUkVXAt Unable to connect to the server: dial tcp 35.193.150.232:443: i/o timeout + rm /tmp/tmp.UZoSVqXfDu /tmp/tmp.uOxQUkVXAt + 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-1551/deploy/cw-rbac.yaml --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.ouPLtjXtm9 ++ mktemp + local LAST_ERR=/tmp/tmp.X7PhVUIFUB + 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-1551/deploy/cw-rbac.yaml --ignore-not-found + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.ouPLtjXtm9 + cat /tmp/tmp.X7PhVUIFUB error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.193.150.232/apis/rbac.authorization.k8s.io/v1/clusterroles/percona-server-mongodb-operator": dial tcp 35.193.150.232:443: connect: connection refused error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.193.150.232/api/v1/namespaces/security-context-25241/serviceaccounts/percona-server-mongodb-operator": dial tcp 35.193.150.232:443: connect: connection refused error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.193.150.232/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/service-account-percona-server-mongodb-operator": dial tcp 35.193.150.232:443: connect: connection refused + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml --ignore-not-found + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.ouPLtjXtm9 + cat /tmp/tmp.X7PhVUIFUB error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.193.150.232/apis/rbac.authorization.k8s.io/v1/clusterroles/percona-server-mongodb-operator": dial tcp 35.193.150.232:443: connect: connection refused error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.193.150.232/api/v1/namespaces/security-context-25241/serviceaccounts/percona-server-mongodb-operator": dial tcp 35.193.150.232:443: connect: connection refused error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.193.150.232/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/service-account-percona-server-mongodb-operator": dial tcp 35.193.150.232:443: connect: connection refused + sleep 4 + for i in '$(seq 0 2)' + set +e + kubectl delete -f /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml --ignore-not-found + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.ouPLtjXtm9 + cat /tmp/tmp.X7PhVUIFUB error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.193.150.232/apis/rbac.authorization.k8s.io/v1/clusterroles/percona-server-mongodb-operator": dial tcp 35.193.150.232:443: connect: connection refused error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.193.150.232/api/v1/namespaces/security-context-25241/serviceaccounts/percona-server-mongodb-operator": dial tcp 35.193.150.232:443: connect: connection refused error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.193.150.232/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/service-account-percona-server-mongodb-operator": dial tcp 35.193.150.232:443: connect: connection refused + sleep 8 + cat /tmp/tmp.ouPLtjXtm9 + cat /tmp/tmp.X7PhVUIFUB error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.193.150.232/apis/rbac.authorization.k8s.io/v1/clusterroles/percona-server-mongodb-operator": dial tcp 35.193.150.232:443: connect: connection refused error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.193.150.232/api/v1/namespaces/security-context-25241/serviceaccounts/percona-server-mongodb-operator": dial tcp 35.193.150.232:443: connect: connection refused error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.193.150.232/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/service-account-percona-server-mongodb-operator": dial tcp 35.193.150.232:443: connect: connection refused + rm /tmp/tmp.ouPLtjXtm9 /tmp/tmp.X7PhVUIFUB + return 1 + true + check_crd_for_deletion PR-1551-e268aa9a + local git_tag=PR-1551-e268aa9a ++ curl -s https://raw.githubusercontent.com/percona/percona-server-mongodb-operator/PR-1551-e268aa9a/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.YzSRJrkKhV +++ mktemp ++ local LAST_ERR=/tmp/tmp.pebDwWS3pa ++ 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.YzSRJrkKhV ++ cat /tmp/tmp.pebDwWS3pa The connection to the server 35.193.150.232 was refused - did you specify the right host or port? ++ 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.YzSRJrkKhV ++ cat /tmp/tmp.pebDwWS3pa The connection to the server 35.193.150.232 was refused - did you specify the right host or port? ++ 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.YzSRJrkKhV ++ cat /tmp/tmp.pebDwWS3pa The connection to the server 35.193.150.232 was refused - did you specify the right host or port? ++ sleep 8 ++ cat /tmp/tmp.YzSRJrkKhV ++ cat /tmp/tmp.pebDwWS3pa The connection to the server 35.193.150.232 was refused - did you specify the right host or port? ++ rm /tmp/tmp.YzSRJrkKhV /tmp/tmp.pebDwWS3pa ++ 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.193.150.232/version": net/http: TLS handshake 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}' Get "https://35.193.150.232/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations?limit=500": dial tcp 35.193.150.232:443: connect: connection refused - error from a previous attempt: read tcp 10.177.1.39:51436->35.193.150.232:443: read: connection reset by peer + timeout 30 kubectl delete MutatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep chaos-mesh ++ awk '{print $1}' The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl get ValidatingWebhookConfiguration ++ grep validate-auth ++ awk '{print $1}' The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + timeout 30 kubectl delete ValidatingWebhookConfiguration error: resource(s) were provided, but no name was specified + : ++ kubectl api-resources ++ awk '{print $1}' ++ grep chaos-mesh E0604 22:25:20.124188 20601 memcache.go:265] couldn't get current server API group list: Get "https://35.193.150.232/api?timeout=32s": dial tcp 35.193.150.232:443: connect: connection refused The connection to the server 35.193.150.232 was refused - did you specify the right host or port? ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + timeout 30 kubectl delete crd error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrolebinding ++ grep chaos-mesh ++ awk '{print $1}' The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + timeout 30 kubectl delete clusterrolebinding error: resource(s) were provided, but no name was specified + : ++ kubectl get clusterrole ++ grep chaos-mesh ++ awk '{print $1}' The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + 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 + '[' -n '' ']' + awk '{print$1}' + 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.6TC7YSE3zy ++ mktemp + local LAST_ERR=/tmp/tmp.zVHyOUkkCo + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_OUT=/tmp/tmp.xRzuf7jkJO ++ mktemp + for i in '$(seq 0 2)' + set +e + kubectl get ns + local LAST_ERR=/tmp/tmp.5rZfAP9zzi + 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.6TC7YSE3zy + cat /tmp/tmp.zVHyOUkkCo The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + sleep 0 + for i in '$(seq 0 2)' + set +e + kubectl get ns + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.xRzuf7jkJO + cat /tmp/tmp.5rZfAP9zzi The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + 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.6TC7YSE3zy + cat /tmp/tmp.zVHyOUkkCo The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + sleep 4 + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.xRzuf7jkJO + cat /tmp/tmp.5rZfAP9zzi The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + sleep 4 + for i in '$(seq 0 2)' + set +e + kubectl get ns + 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.xRzuf7jkJO + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.6TC7YSE3zy + cat /tmp/tmp.5rZfAP9zzi + cat /tmp/tmp.zVHyOUkkCo The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + sleep 8 The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + sleep 8 + cat /tmp/tmp.xRzuf7jkJO + cat /tmp/tmp.6TC7YSE3zy + cat /tmp/tmp.5rZfAP9zzi + cat /tmp/tmp.zVHyOUkkCo The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + rm /tmp/tmp.xRzuf7jkJO /tmp/tmp.5rZfAP9zzi The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + rm /tmp/tmp.6TC7YSE3zy /tmp/tmp.zVHyOUkkCo + return 1 + : + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + return 1 + local LAST_OUT=/tmp/tmp.0h3Fs0CcUy ++ mktemp + local LAST_ERR=/tmp/tmp.ZmJAbBkL8W + 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.0h3Fs0CcUy + cat /tmp/tmp.ZmJAbBkL8W The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + 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.0h3Fs0CcUy + cat /tmp/tmp.ZmJAbBkL8W The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + 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.0h3Fs0CcUy + cat /tmp/tmp.ZmJAbBkL8W The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + sleep 8 + cat /tmp/tmp.0h3Fs0CcUy + cat /tmp/tmp.ZmJAbBkL8W The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + rm /tmp/tmp.0h3Fs0CcUy /tmp/tmp.ZmJAbBkL8W + 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.aw22u5FODn ++ mktemp + local LAST_ERR=/tmp/tmp.Qd65w0WlQG + 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.aw22u5FODn + cat /tmp/tmp.Qd65w0WlQG The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + 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.aw22u5FODn + cat /tmp/tmp.Qd65w0WlQG The connection to the server 35.193.150.232 was refused - did you specify the right host or port? + 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.aw22u5FODn + cat /tmp/tmp.Qd65w0WlQG Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.aw22u5FODn + cat /tmp/tmp.Qd65w0WlQG Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.aw22u5FODn /tmp/tmp.Qd65w0WlQG + return 1