Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/e2e-tests/logs/pitr-sharded.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 + main + create_infra pitr-sharded-1873 + local ns=pitr-sharded-1873 + 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.eOA607dGWU ++ mktemp + local LAST_ERR=/tmp/tmp.kFLfrWf1rf + 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.eOA607dGWU + cat /tmp/tmp.kFLfrWf1rf 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.eOA607dGWU + cat /tmp/tmp.kFLfrWf1rf 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.eOA607dGWU + cat /tmp/tmp.kFLfrWf1rf 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.eOA607dGWU + cat /tmp/tmp.kFLfrWf1rf 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.eOA607dGWU /tmp/tmp.kFLfrWf1rf + 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 + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbbackups.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' + kubectl get perconaservermongodbbackups.psmdb.percona.com --all-namespaces -o wide E0604 22:14:32.796054 28759 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 E0604 22:14:33.015835 28759 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 E0604 22:14:33.228954 28759 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 E0604 22:14:33.443194 28759 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 E0604 22:14:33.657962 28759 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":[]}}' E0604 22:14:33.916165 28781 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 E0604 22:14:34.127705 28781 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 E0604 22:14:34.345050 28781 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 E0604 22:14:34.561017 28781 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 E0604 22:14:34.774204 28781 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.QWizX3DXDy ++ mktemp + local LAST_ERR=/tmp/tmp.UgJ8dJLDz8 + 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.QWizX3DXDy + cat /tmp/tmp.UgJ8dJLDz8 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.QWizX3DXDy + cat /tmp/tmp.UgJ8dJLDz8 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.QWizX3DXDy + cat /tmp/tmp.UgJ8dJLDz8 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.QWizX3DXDy + cat /tmp/tmp.UgJ8dJLDz8 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.QWizX3DXDy /tmp/tmp.UgJ8dJLDz8 + 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:14:47.850321 28986 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 E0604 22:14:48.067272 28986 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 E0604 22:14:48.279385 28986 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 E0604 22:14:48.490283 28986 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 E0604 22:14:48.701204 28986 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":[]}}' E0604 22:14:48.964013 29008 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 E0604 22:14:49.174524 29008 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 E0604 22:14:49.385641 29008 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 E0604 22:14:49.596224 29008 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 E0604 22:14:49.807010 29008 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.tRm5gVyPhX ++ mktemp + local LAST_ERR=/tmp/tmp.9PaC5EdhSC + 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.tRm5gVyPhX + cat /tmp/tmp.9PaC5EdhSC 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.tRm5gVyPhX + cat /tmp/tmp.9PaC5EdhSC 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.tRm5gVyPhX + cat /tmp/tmp.9PaC5EdhSC Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.tRm5gVyPhX + cat /tmp/tmp.9PaC5EdhSC Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.tRm5gVyPhX /tmp/tmp.9PaC5EdhSC + 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:15:02.898724 29220 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 E0604 22:15:03.111511 29220 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 E0604 22:15:03.326537 29220 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 E0604 22:15:03.541334 29220 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 E0604 22:15:03.753099 29220 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":[]}}' E0604 22:15:04.010581 29242 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 E0604 22:15:04.221569 29242 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 E0604 22:15:04.433390 29242 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 E0604 22:15:04.646746 29242 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 E0604 22:15:04.859786 29242 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.UtxmrxDFVG ++ mktemp + local LAST_ERR=/tmp/tmp.4WMA3yKKt7 + 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.UtxmrxDFVG + cat /tmp/tmp.4WMA3yKKt7 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.UtxmrxDFVG + cat /tmp/tmp.4WMA3yKKt7 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.UtxmrxDFVG + cat /tmp/tmp.4WMA3yKKt7 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.UtxmrxDFVG + cat /tmp/tmp.4WMA3yKKt7 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.UtxmrxDFVG /tmp/tmp.4WMA3yKKt7 + 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.7umAKLWs9v ++ mktemp + local LAST_ERR=/tmp/tmp.SZob4LxqRN + 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.7umAKLWs9v + cat /tmp/tmp.SZob4LxqRN 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.7umAKLWs9v + cat /tmp/tmp.SZob4LxqRN 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.7umAKLWs9v + cat /tmp/tmp.SZob4LxqRN 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.7umAKLWs9v + cat /tmp/tmp.SZob4LxqRN 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.7umAKLWs9v /tmp/tmp.SZob4LxqRN + 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.vJuktMtO7D +++ mktemp ++ local LAST_ERR=/tmp/tmp.sfAaNcuDq4 ++ 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.vJuktMtO7D ++ cat /tmp/tmp.sfAaNcuDq4 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.vJuktMtO7D ++ cat /tmp/tmp.sfAaNcuDq4 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.vJuktMtO7D ++ cat /tmp/tmp.sfAaNcuDq4 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ sleep 8 ++ cat /tmp/tmp.vJuktMtO7D ++ cat /tmp/tmp.sfAaNcuDq4 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ rm /tmp/tmp.vJuktMtO7D /tmp/tmp.sfAaNcuDq4 ++ 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 ++ sed s/NAMESPACE// ++ awk '-F ' '{print $2}' 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}' E0604 22:15:46.188410 29928 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 ----------------------------------------------------------------------------------- + egrep -v '^kube-|^default|Terminating|psmdb-operator|openshift|gke-mcs|^NAME' + 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 ++ mktemp + kubectl_bin get ns ++ mktemp + local LAST_OUT=/tmp/tmp.hUB02q91Uv ++ mktemp + local LAST_OUT=/tmp/tmp.TcKYuIG3EA ++ mktemp + local LAST_ERR=/tmp/tmp.qwGtzptJjl + local exit_status=0 + local timeout=4 ++ seq 0 2 + local LAST_ERR=/tmp/tmp.kGDvi2Kdz8 + 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.TcKYuIG3EA + cat /tmp/tmp.kGDvi2Kdz8 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 ns + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.hUB02q91Uv + cat /tmp/tmp.qwGtzptJjl 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.TcKYuIG3EA + cat /tmp/tmp.kGDvi2Kdz8 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.hUB02q91Uv + cat /tmp/tmp.qwGtzptJjl 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 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.TcKYuIG3EA + cat /tmp/tmp.kGDvi2Kdz8 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.hUB02q91Uv + cat /tmp/tmp.qwGtzptJjl Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.TcKYuIG3EA + cat /tmp/tmp.kGDvi2Kdz8 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.TcKYuIG3EA /tmp/tmp.kGDvi2Kdz8 + return 1 error: resource(s) were provided, but no name was specified + cat /tmp/tmp.hUB02q91Uv + cat /tmp/tmp.qwGtzptJjl Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.hUB02q91Uv /tmp/tmp.qwGtzptJjl + return 1 + : + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.0e0a9SymUk ++ mktemp + local LAST_ERR=/tmp/tmp.uVuGhy9WJM + 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 + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.0e0a9SymUk + cat /tmp/tmp.uVuGhy9WJM 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.0e0a9SymUk + cat /tmp/tmp.uVuGhy9WJM 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.0e0a9SymUk + cat /tmp/tmp.uVuGhy9WJM Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.0e0a9SymUk + cat /tmp/tmp.uVuGhy9WJM Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.0e0a9SymUk /tmp/tmp.uVuGhy9WJM + 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.8hctMtJ4ue ++ mktemp + local LAST_ERR=/tmp/tmp.6myAkR2kzO + 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.8hctMtJ4ue + cat /tmp/tmp.6myAkR2kzO 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.8hctMtJ4ue + cat /tmp/tmp.6myAkR2kzO 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.8hctMtJ4ue + cat /tmp/tmp.6myAkR2kzO Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.8hctMtJ4ue + cat /tmp/tmp.6myAkR2kzO Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.8hctMtJ4ue /tmp/tmp.6myAkR2kzO + return 1