Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1552/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-10755 + local ns=storage-10755 + 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.zRsg74h3zb ++ mktemp + local LAST_ERR=/tmp/tmp.DGtNKLXqQ8 + 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.zRsg74h3zb + cat /tmp/tmp.DGtNKLXqQ8 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.zRsg74h3zb + cat /tmp/tmp.DGtNKLXqQ8 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.zRsg74h3zb + cat /tmp/tmp.DGtNKLXqQ8 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.zRsg74h3zb + cat /tmp/tmp.DGtNKLXqQ8 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.zRsg74h3zb /tmp/tmp.DGtNKLXqQ8 + 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:26:11.169286 7592 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:26:11.380733 7592 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:26:11.591729 7592 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:26:11.802657 7592 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:26:12.014187 7592 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:26:12.273664 7623 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:26:12.484118 7623 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:26:12.694688 7623 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:26:12.906851 7623 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:26:13.119232 7623 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.yz8MYPkCYN ++ mktemp + local LAST_ERR=/tmp/tmp.pFMAqi6u3W + 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.yz8MYPkCYN + cat /tmp/tmp.pFMAqi6u3W 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.yz8MYPkCYN + cat /tmp/tmp.pFMAqi6u3W 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.yz8MYPkCYN + cat /tmp/tmp.pFMAqi6u3W Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.yz8MYPkCYN + cat /tmp/tmp.pFMAqi6u3W Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.yz8MYPkCYN /tmp/tmp.pFMAqi6u3W + 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:26:26.165014 7844 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:26:26.377382 7844 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:26:26.589537 7844 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:26:26.800548 7844 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:26:27.011748 7844 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:26:27.269070 7867 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:26:27.482740 7867 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:26:27.694883 7867 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:26:27.907872 7867 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:26:28.119727 7867 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.ekIZEMyFtG ++ mktemp + local LAST_ERR=/tmp/tmp.upcBphduxl + 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.ekIZEMyFtG + cat /tmp/tmp.upcBphduxl 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.ekIZEMyFtG + cat /tmp/tmp.upcBphduxl 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.ekIZEMyFtG + cat /tmp/tmp.upcBphduxl Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.ekIZEMyFtG + cat /tmp/tmp.upcBphduxl Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.ekIZEMyFtG /tmp/tmp.upcBphduxl + 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:26:41.163048 8079 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:26:41.373306 8079 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:26:41.584730 8079 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:26:41.796803 8079 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:26:42.006675 8079 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:26:42.265444 8103 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:26:42.477474 8103 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:26:42.690950 8103 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:26:42.904564 8103 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:26:43.117192 8103 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.yxWfh7sc4B ++ mktemp + local LAST_ERR=/tmp/tmp.Q4hhSg0nJf + 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.yxWfh7sc4B + cat /tmp/tmp.Q4hhSg0nJf 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.yxWfh7sc4B + cat /tmp/tmp.Q4hhSg0nJf 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.yxWfh7sc4B + cat /tmp/tmp.Q4hhSg0nJf Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.yxWfh7sc4B + cat /tmp/tmp.Q4hhSg0nJf Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.yxWfh7sc4B /tmp/tmp.Q4hhSg0nJf + 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.0Rdb3M2eoY ++ mktemp + local LAST_ERR=/tmp/tmp.VuufiHi1ym + 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.0Rdb3M2eoY + cat /tmp/tmp.VuufiHi1ym 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.0Rdb3M2eoY + cat /tmp/tmp.VuufiHi1ym 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.0Rdb3M2eoY + cat /tmp/tmp.VuufiHi1ym 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.0Rdb3M2eoY + cat /tmp/tmp.VuufiHi1ym 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.0Rdb3M2eoY /tmp/tmp.VuufiHi1ym + 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.WuKVJsF5RI +++ mktemp ++ local LAST_ERR=/tmp/tmp.gBfOFvvItN ++ 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.WuKVJsF5RI ++ cat /tmp/tmp.gBfOFvvItN 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.WuKVJsF5RI ++ cat /tmp/tmp.gBfOFvvItN 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.WuKVJsF5RI ++ cat /tmp/tmp.gBfOFvvItN Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ sleep 8 ++ cat /tmp/tmp.WuKVJsF5RI ++ cat /tmp/tmp.gBfOFvvItN Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ rm /tmp/tmp.WuKVJsF5RI /tmp/tmp.gBfOFvvItN ++ 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:27:24.805742 8863 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}' ++ mktemp + '[' -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 + egrep -v '^kube-|^default|Terminating|psmdb-operator|openshift|gke-mcs|^NAME' + local LAST_OUT=/tmp/tmp.ienY2uIYoV + local LAST_OUT=/tmp/tmp.kl2c4np5mk ++ mktemp ++ mktemp + local LAST_ERR=/tmp/tmp.yXOG6i6bRD + local LAST_ERR=/tmp/tmp.RrcMVPQ7nM + local exit_status=0 + local exit_status=0 + local timeout=4 + local timeout=4 ++ seq 0 2 ++ seq 0 2 + for i in '$(seq 0 2)' + for i in '$(seq 0 2)' + set +e + set +e + kubectl get ns + kubectl delete namespace psmdb-operator --ignore-not-found + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.ienY2uIYoV + cat /tmp/tmp.yXOG6i6bRD 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.kl2c4np5mk + cat /tmp/tmp.RrcMVPQ7nM 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.ienY2uIYoV + cat /tmp/tmp.yXOG6i6bRD 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.kl2c4np5mk + cat /tmp/tmp.RrcMVPQ7nM 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.ienY2uIYoV + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.kl2c4np5mk + cat /tmp/tmp.yXOG6i6bRD + cat /tmp/tmp.RrcMVPQ7nM Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.ienY2uIYoV + cat /tmp/tmp.kl2c4np5mk + cat /tmp/tmp.yXOG6i6bRD + cat /tmp/tmp.RrcMVPQ7nM Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.ienY2uIYoV /tmp/tmp.yXOG6i6bRD Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.kl2c4np5mk /tmp/tmp.RrcMVPQ7nM + return 1 + return 1 + : + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.p2t5HPyxvv ++ mktemp + local LAST_ERR=/tmp/tmp.lxqCpwHXCe + local exit_status=0 + local timeout=4 ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl wait --for=delete namespace psmdb-operator error: resource(s) were provided, but no name was specified + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.p2t5HPyxvv + cat /tmp/tmp.lxqCpwHXCe 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.p2t5HPyxvv + cat /tmp/tmp.lxqCpwHXCe 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.p2t5HPyxvv + cat /tmp/tmp.lxqCpwHXCe Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.p2t5HPyxvv + cat /tmp/tmp.lxqCpwHXCe Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.p2t5HPyxvv /tmp/tmp.lxqCpwHXCe + 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.sHD5J68eLB ++ mktemp + local LAST_ERR=/tmp/tmp.ZgwlrXFDAu + 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.sHD5J68eLB + cat /tmp/tmp.ZgwlrXFDAu 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.sHD5J68eLB + cat /tmp/tmp.ZgwlrXFDAu 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.sHD5J68eLB + cat /tmp/tmp.ZgwlrXFDAu Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.sHD5J68eLB + cat /tmp/tmp.ZgwlrXFDAu Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.sHD5J68eLB /tmp/tmp.ZgwlrXFDAu + return 1