Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/e2e-tests/logs/self-healing-chaos.log Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + cluster=some-name-rs0 + main + create_infra self-healing-chaos-15838 + local ns=self-healing-chaos-15838 + 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.ymTc4QRksX ++ mktemp + local LAST_ERR=/tmp/tmp.kRjj6hLX8H + 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.ymTc4QRksX + cat /tmp/tmp.kRjj6hLX8H error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://104.198.163.144/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbbackups.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://104.198.163.144/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbrestores.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://104.198.163.144/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.ymTc4QRksX + cat /tmp/tmp.kRjj6hLX8H error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://104.198.163.144/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbbackups.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://104.198.163.144/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbrestores.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://104.198.163.144/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.ymTc4QRksX + cat /tmp/tmp.kRjj6hLX8H error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://104.198.163.144/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbbackups.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://104.198.163.144/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbrestores.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://104.198.163.144/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.ymTc4QRksX + cat /tmp/tmp.kRjj6hLX8H error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://104.198.163.144/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbbackups.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://104.198.163.144/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbrestores.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/crd.yaml": Delete "https://104.198.163.144/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.ymTc4QRksX /tmp/tmp.kRjj6hLX8H + 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\":[]}}"' E0605 00:08:00.773960 19691 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:00.984670 19691 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:01.193410 19691 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:01.403827 19691 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:01.614403 19691 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + kubectl patch perconaservermongodbbackups.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' E0605 00:08:01.871084 19738 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:02.083551 19738 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:02.295992 19738 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:02.508905 19738 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:02.719055 19738 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + : + kubectl_bin wait --for=delete crd perconaservermongodbbackups.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.f5gtiNStD9 ++ mktemp + local LAST_ERR=/tmp/tmp.QAC7SiA1vx + 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.f5gtiNStD9 + cat /tmp/tmp.QAC7SiA1vx Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.f5gtiNStD9 + cat /tmp/tmp.QAC7SiA1vx Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.f5gtiNStD9 + cat /tmp/tmp.QAC7SiA1vx Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.f5gtiNStD9 + cat /tmp/tmp.QAC7SiA1vx Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.f5gtiNStD9 /tmp/tmp.QAC7SiA1vx + 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 00:08:15.761019 19943 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:15.975324 19943 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:16.186094 19943 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:16.397127 19943 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:16.607318 19943 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + kubectl patch perconaservermongodbrestores.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' E0605 00:08:16.865227 19974 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:17.076579 19974 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:17.287491 19974 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:17.497381 19974 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:17.708250 19974 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + : + kubectl_bin wait --for=delete crd perconaservermongodbrestores.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.4YSmFoMpSX ++ mktemp + local LAST_ERR=/tmp/tmp.AIpA4Pdw1Y + 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.4YSmFoMpSX + cat /tmp/tmp.AIpA4Pdw1Y Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.4YSmFoMpSX + cat /tmp/tmp.AIpA4Pdw1Y Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.4YSmFoMpSX + cat /tmp/tmp.AIpA4Pdw1Y Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.4YSmFoMpSX + cat /tmp/tmp.AIpA4Pdw1Y Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.4YSmFoMpSX /tmp/tmp.AIpA4Pdw1Y + 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 00:08:31.193501 20235 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:31.404527 20235 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:31.612663 20235 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:31.829934 20235 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:32.043446 20235 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + kubectl patch perconaservermongodbs.psmdb.percona.com -n sh --type=merge -p '{"metadata":{"finalizers":[]}}' E0605 00:08:32.300365 20284 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:32.511853 20284 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:32.720757 20284 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:32.933562 20284 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0605 00:08:33.144010 20284 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + : + kubectl_bin wait --for=delete crd perconaservermongodbs.psmdb.percona.com ++ mktemp + local LAST_OUT=/tmp/tmp.yjVON2mcd5 ++ mktemp + local LAST_ERR=/tmp/tmp.oIhvaEFxBE + 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.yjVON2mcd5 + cat /tmp/tmp.oIhvaEFxBE Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.yjVON2mcd5 + cat /tmp/tmp.oIhvaEFxBE Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.yjVON2mcd5 + cat /tmp/tmp.oIhvaEFxBE Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.yjVON2mcd5 + cat /tmp/tmp.oIhvaEFxBE Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.yjVON2mcd5 /tmp/tmp.oIhvaEFxBE + 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.ZzIIiTz5ls ++ mktemp + local LAST_ERR=/tmp/tmp.c6w9NNuYMe + 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.ZzIIiTz5ls + cat /tmp/tmp.c6w9NNuYMe error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://104.198.163.144/apis/rbac.authorization.k8s.io/v1/clusterroles/percona-server-mongodb-operator": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://104.198.163.144/api/v1/namespaces/non-voting-20764/serviceaccounts/percona-server-mongodb-operator": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://104.198.163.144/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/service-account-percona-server-mongodb-operator": tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.ZzIIiTz5ls + cat /tmp/tmp.c6w9NNuYMe error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://104.198.163.144/apis/rbac.authorization.k8s.io/v1/clusterroles/percona-server-mongodb-operator": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://104.198.163.144/api/v1/namespaces/non-voting-20764/serviceaccounts/percona-server-mongodb-operator": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://104.198.163.144/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/service-account-percona-server-mongodb-operator": tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.ZzIIiTz5ls + cat /tmp/tmp.c6w9NNuYMe error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://104.198.163.144/apis/rbac.authorization.k8s.io/v1/clusterroles/percona-server-mongodb-operator": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://104.198.163.144/api/v1/namespaces/non-voting-20764/serviceaccounts/percona-server-mongodb-operator": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://104.198.163.144/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/service-account-percona-server-mongodb-operator": tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.ZzIIiTz5ls + cat /tmp/tmp.c6w9NNuYMe error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://104.198.163.144/apis/rbac.authorization.k8s.io/v1/clusterroles/percona-server-mongodb-operator": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://104.198.163.144/api/v1/namespaces/non-voting-20764/serviceaccounts/percona-server-mongodb-operator": tls: failed to verify certificate: x509: certificate signed by unknown authority error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/deploy/cw-rbac.yaml": Delete "https://104.198.163.144/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/service-account-percona-server-mongodb-operator": tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.ZzIIiTz5ls /tmp/tmp.c6w9NNuYMe + 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.7xK6HALsOQ +++ mktemp ++ local LAST_ERR=/tmp/tmp.qv1TGwta3r ++ 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.7xK6HALsOQ ++ cat /tmp/tmp.qv1TGwta3r Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ 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.7xK6HALsOQ ++ cat /tmp/tmp.qv1TGwta3r Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ 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.7xK6HALsOQ ++ cat /tmp/tmp.qv1TGwta3r Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ sleep 8 ++ cat /tmp/tmp.7xK6HALsOQ ++ cat /tmp/tmp.qv1TGwta3r Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ rm /tmp/tmp.7xK6HALsOQ /tmp/tmp.qv1TGwta3r ++ 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://104.198.163.144/version": tls: failed to verify certificate: x509: certificate signed by unknown authority + 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: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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 00:09:14.777307 21027 memcache.go:265] couldn't get current server API group list: Get "https://104.198.163.144/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ kubectl get crd ++ grep chaos-mesh.org ++ awk '{print $1}' Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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' ++ mktemp + 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 + local LAST_OUT=/tmp/tmp.Mter3Qa1fX ++ mktemp + local LAST_OUT=/tmp/tmp.d9UM15MS0f ++ mktemp + local LAST_ERR=/tmp/tmp.jLpqWEY9ye + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.kXb6hla6r3 + 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.Mter3Qa1fX + cat /tmp/tmp.kXb6hla6r3 + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.d9UM15MS0f Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 0 + cat /tmp/tmp.jLpqWEY9ye + for i in '$(seq 0 2)' + set +e + kubectl get ns Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.d9UM15MS0f + cat /tmp/tmp.jLpqWEY9ye Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 4 + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.Mter3Qa1fX + cat /tmp/tmp.kXb6hla6r3 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.d9UM15MS0f + cat /tmp/tmp.jLpqWEY9ye Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.Mter3Qa1fX + cat /tmp/tmp.kXb6hla6r3 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.d9UM15MS0f + cat /tmp/tmp.jLpqWEY9ye Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.d9UM15MS0f /tmp/tmp.jLpqWEY9ye + return 1 + : + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.uMSDcM1s6r ++ mktemp + local LAST_ERR=/tmp/tmp.qxQzYWBGbQ + 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 + cat /tmp/tmp.Mter3Qa1fX + cat /tmp/tmp.kXb6hla6r3 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.Mter3Qa1fX /tmp/tmp.kXb6hla6r3 + return 1 error: resource(s) were provided, but no name was specified + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.uMSDcM1s6r + cat /tmp/tmp.qxQzYWBGbQ Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.uMSDcM1s6r + cat /tmp/tmp.qxQzYWBGbQ Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.uMSDcM1s6r + cat /tmp/tmp.qxQzYWBGbQ Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.uMSDcM1s6r + cat /tmp/tmp.qxQzYWBGbQ Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.uMSDcM1s6r /tmp/tmp.qxQzYWBGbQ + 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.sVVoP3IWbf ++ mktemp + local LAST_ERR=/tmp/tmp.LBaLW0KywT + 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.sVVoP3IWbf + cat /tmp/tmp.LBaLW0KywT Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.sVVoP3IWbf + cat /tmp/tmp.LBaLW0KywT Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + 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.sVVoP3IWbf + cat /tmp/tmp.LBaLW0KywT Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.sVVoP3IWbf + cat /tmp/tmp.LBaLW0KywT Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.sVVoP3IWbf /tmp/tmp.LBaLW0KywT + return 1