Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/logs/storage.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 + '[' -n '' ']' + main + create_infra storage-5 + local ns=storage-5 + 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.WXHBaufnLV ++ mktemp + local LAST_ERR=/tmp/tmp.gV00TwEEQL + 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.WXHBaufnLV + cat /tmp/tmp.gV00TwEEQL error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.239.34.79/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-1551/deploy/crd.yaml": Delete "https://35.239.34.79/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-1551/deploy/crd.yaml": Delete "https://35.239.34.79/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-1551/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.WXHBaufnLV + cat /tmp/tmp.gV00TwEEQL error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.239.34.79/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-1551/deploy/crd.yaml": Delete "https://35.239.34.79/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-1551/deploy/crd.yaml": Delete "https://35.239.34.79/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-1551/deploy/crd.yaml --ignore-not-found --wait=false + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.WXHBaufnLV + cat /tmp/tmp.gV00TwEEQL error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.239.34.79/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-1551/deploy/crd.yaml": Delete "https://35.239.34.79/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-1551/deploy/crd.yaml": Delete "https://35.239.34.79/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.WXHBaufnLV + cat /tmp/tmp.gV00TwEEQL error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/crd.yaml": Delete "https://35.239.34.79/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-1551/deploy/crd.yaml": Delete "https://35.239.34.79/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-1551/deploy/crd.yaml": Delete "https://35.239.34.79/apis/apiextensions.k8s.io/v1/customresourcedefinitions/perconaservermongodbs.psmdb.percona.com": tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.WXHBaufnLV /tmp/tmp.gV00TwEEQL + 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:28:13.055590 25319 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:13.266016 25319 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:13.478874 25319 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:13.691480 25319 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:13.915872 25319 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/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:28:14.172770 25361 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:14.383610 25361 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:14.595995 25361 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:14.803859 25361 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:15.014297 25361 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/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.2wIX8ASsbG ++ mktemp + local LAST_ERR=/tmp/tmp.IzqArFIXsY + 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.2wIX8ASsbG + cat /tmp/tmp.IzqArFIXsY 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.2wIX8ASsbG + cat /tmp/tmp.IzqArFIXsY 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.2wIX8ASsbG + cat /tmp/tmp.IzqArFIXsY Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.2wIX8ASsbG + cat /tmp/tmp.IzqArFIXsY Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.2wIX8ASsbG /tmp/tmp.IzqArFIXsY + 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:28:28.502542 25641 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:28.713651 25641 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:28.923675 25641 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:29.132760 25641 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:29.341250 25641 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/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:28:30.090670 25745 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:30.302137 25745 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:30.511579 25745 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:30.720603 25745 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:30.929035 25745 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/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.alMIjF1Mv6 ++ mktemp + local LAST_ERR=/tmp/tmp.6Biy6REdVV + 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.alMIjF1Mv6 + cat /tmp/tmp.6Biy6REdVV 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.alMIjF1Mv6 + cat /tmp/tmp.6Biy6REdVV 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.alMIjF1Mv6 + cat /tmp/tmp.6Biy6REdVV Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.alMIjF1Mv6 + cat /tmp/tmp.6Biy6REdVV Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.alMIjF1Mv6 /tmp/tmp.6Biy6REdVV + return 1 + : + for crd_name in '$(yq eval '\''.metadata.name'\'' "${src_dir}/deploy/crd.yaml" | grep -v '\''\-\-\-'\'')' + grep -v NAMESPACE + kubectl get perconaservermongodbs.psmdb.percona.com --all-namespaces -o wide + xargs -L 1 sh -xc 'kubectl patch perconaservermongodbs.psmdb.percona.com -n $0 $1 --type=merge -p "{\"metadata\":{\"finalizers\":[]}}"' E0604 22:28:44.889825 26086 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:45.098771 26086 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:45.310263 26086 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:45.519871 26086 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:45.732065 26086 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/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:28:46.439101 26172 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:46.649754 26172 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:46.858306 26172 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:47.065820 26172 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/api?timeout=32s": tls: failed to verify certificate: x509: certificate signed by unknown authority E0604 22:28:47.275459 26172 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/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.pjYghPVKsx ++ mktemp + local LAST_ERR=/tmp/tmp.9CBTHQtoaW + 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.pjYghPVKsx + cat /tmp/tmp.9CBTHQtoaW 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.pjYghPVKsx + cat /tmp/tmp.9CBTHQtoaW 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.pjYghPVKsx + cat /tmp/tmp.9CBTHQtoaW Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.pjYghPVKsx + cat /tmp/tmp.9CBTHQtoaW Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.pjYghPVKsx /tmp/tmp.9CBTHQtoaW + 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.nYjwGw7lNr ++ mktemp + local LAST_ERR=/tmp/tmp.4EngMBbabY + 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.nYjwGw7lNr + cat /tmp/tmp.4EngMBbabY error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.239.34.79/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-1551/deploy/cw-rbac.yaml": Delete "https://35.239.34.79/api/v1/namespaces/scaling-24841/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-1551/deploy/cw-rbac.yaml": Delete "https://35.239.34.79/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-1551/deploy/cw-rbac.yaml --ignore-not-found + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.nYjwGw7lNr + cat /tmp/tmp.4EngMBbabY error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.239.34.79/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-1551/deploy/cw-rbac.yaml": Delete "https://35.239.34.79/api/v1/namespaces/scaling-24841/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-1551/deploy/cw-rbac.yaml": Delete "https://35.239.34.79/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-1551/deploy/cw-rbac.yaml --ignore-not-found + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.nYjwGw7lNr + cat /tmp/tmp.4EngMBbabY error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.239.34.79/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-1551/deploy/cw-rbac.yaml": Delete "https://35.239.34.79/api/v1/namespaces/scaling-24841/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-1551/deploy/cw-rbac.yaml": Delete "https://35.239.34.79/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.nYjwGw7lNr + cat /tmp/tmp.4EngMBbabY error when deleting "/mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/deploy/cw-rbac.yaml": Delete "https://35.239.34.79/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-1551/deploy/cw-rbac.yaml": Delete "https://35.239.34.79/api/v1/namespaces/scaling-24841/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-1551/deploy/cw-rbac.yaml": Delete "https://35.239.34.79/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.nYjwGw7lNr /tmp/tmp.4EngMBbabY + 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.22oniYBAK1 +++ mktemp ++ local LAST_ERR=/tmp/tmp.iv18MLZ4IU ++ 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.22oniYBAK1 ++ cat /tmp/tmp.iv18MLZ4IU 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.22oniYBAK1 ++ cat /tmp/tmp.iv18MLZ4IU 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.22oniYBAK1 ++ cat /tmp/tmp.iv18MLZ4IU Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ sleep 8 ++ cat /tmp/tmp.22oniYBAK1 ++ cat /tmp/tmp.iv18MLZ4IU Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ rm /tmp/tmp.22oniYBAK1 /tmp/tmp.iv18MLZ4IU ++ 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.239.34.79/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:29:31.591123 27343 memcache.go:265] couldn't get current server API group list: Get "https://35.239.34.79/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 + egrep -v '^kube-|^default|Terminating|psmdb-operator|openshift|gke-mcs|^NAME' + awk '{print$1}' + '[' -n '' ']' + xargs kubectl delete ns + desc 'cleaned up old namespaces psmdb-operator' + set +o xtrace ----------------------------------------------------------------------------------- cleaned up old namespaces psmdb-operator ----------------------------------------------------------------------------------- + kubectl_bin delete namespace psmdb-operator --ignore-not-found ++ mktemp + local LAST_OUT=/tmp/tmp.CGmitvbBSU ++ mktemp + local LAST_OUT=/tmp/tmp.IR60pBX6xN ++ mktemp ++ mktemp + local LAST_ERR=/tmp/tmp.HU0dIXyjPC + local exit_status=0 + local timeout=4 + local LAST_ERR=/tmp/tmp.fd8lgjG6us + local exit_status=0 + local timeout=4 ++ seq 0 2 ++ 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.IR60pBX6xN + cat /tmp/tmp.fd8lgjG6us Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 0 + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.CGmitvbBSU + for i in '$(seq 0 2)' + set +e + kubectl get ns + cat /tmp/tmp.HU0dIXyjPC 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.CGmitvbBSU + cat /tmp/tmp.HU0dIXyjPC 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.IR60pBX6xN + cat /tmp/tmp.fd8lgjG6us 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.CGmitvbBSU + cat /tmp/tmp.HU0dIXyjPC 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.IR60pBX6xN + cat /tmp/tmp.fd8lgjG6us Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.CGmitvbBSU + cat /tmp/tmp.HU0dIXyjPC Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.CGmitvbBSU /tmp/tmp.HU0dIXyjPC + return 1 + : + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.g1q6XM01Ty ++ mktemp + local LAST_ERR=/tmp/tmp.0wcpt6niUY + 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.IR60pBX6xN + cat /tmp/tmp.fd8lgjG6us Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.IR60pBX6xN /tmp/tmp.fd8lgjG6us + 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.g1q6XM01Ty + cat /tmp/tmp.0wcpt6niUY 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.g1q6XM01Ty + cat /tmp/tmp.0wcpt6niUY 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.g1q6XM01Ty + cat /tmp/tmp.0wcpt6niUY Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.g1q6XM01Ty + cat /tmp/tmp.0wcpt6niUY Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.g1q6XM01Ty /tmp/tmp.0wcpt6niUY + 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.6eE0NGh5i9 ++ mktemp + local LAST_ERR=/tmp/tmp.HcgpzMHZCt + 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.6eE0NGh5i9 + cat /tmp/tmp.HcgpzMHZCt 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.6eE0NGh5i9 + cat /tmp/tmp.HcgpzMHZCt 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.6eE0NGh5i9 + cat /tmp/tmp.HcgpzMHZCt Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.6eE0NGh5i9 + cat /tmp/tmp.HcgpzMHZCt Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.6eE0NGh5i9 /tmp/tmp.HcgpzMHZCt + return 1