Log: /mnt/jenkins/workspace/cloud-psmdb-operator_PR-1551/e2e-tests/logs/service-per-pod.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 service-per-pod-11291 + local ns=service-per-pod-11291 + 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.wmWwAYrwdn ++ mktemp + local LAST_ERR=/tmp/tmp.otcp22aDqh + 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.wmWwAYrwdn + cat /tmp/tmp.otcp22aDqh 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.wmWwAYrwdn + cat /tmp/tmp.otcp22aDqh 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.wmWwAYrwdn + cat /tmp/tmp.otcp22aDqh 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.wmWwAYrwdn + cat /tmp/tmp.otcp22aDqh 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.wmWwAYrwdn /tmp/tmp.otcp22aDqh + 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 + 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:17.398669 8063 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:14:17.613234 8063 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:14:17.824574 8063 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:14:18.043834 8063 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:14:18.252990 8063 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:14:18.506955 8094 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:14:18.722010 8094 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:14:18.934681 8094 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:14:19.160542 8094 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:14:19.396531 8094 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.kZJY3x6Fc5 ++ mktemp + local LAST_ERR=/tmp/tmp.B22Q2272Ie + 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.kZJY3x6Fc5 + cat /tmp/tmp.B22Q2272Ie 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.kZJY3x6Fc5 + cat /tmp/tmp.B22Q2272Ie 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.kZJY3x6Fc5 + cat /tmp/tmp.B22Q2272Ie Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.kZJY3x6Fc5 + cat /tmp/tmp.B22Q2272Ie Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.kZJY3x6Fc5 /tmp/tmp.B22Q2272Ie + 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:32.482398 8293 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:14:32.700121 8293 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:14:32.937973 8293 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:14:33.159073 8293 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:14:33.373358 8293 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:14:33.625358 8327 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:14:33.834540 8327 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:14:34.047258 8327 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:14:34.259237 8327 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:14:34.475050 8327 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.pmiC6oDnc6 ++ mktemp + local LAST_ERR=/tmp/tmp.H0CwOio1dM + 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.pmiC6oDnc6 + cat /tmp/tmp.H0CwOio1dM 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.pmiC6oDnc6 + cat /tmp/tmp.H0CwOio1dM 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.pmiC6oDnc6 + cat /tmp/tmp.H0CwOio1dM Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.pmiC6oDnc6 + cat /tmp/tmp.H0CwOio1dM Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.pmiC6oDnc6 /tmp/tmp.H0CwOio1dM + 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:14:47.505820 8526 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:14:47.720070 8526 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:14:47.929244 8526 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:14:48.140357 8526 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:14:48.352448 8526 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:14:48.609104 8548 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:14:48.817463 8548 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:14:49.025817 8548 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:14:49.238131 8548 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:14:49.447440 8548 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.YthhPan5wg ++ mktemp + local LAST_ERR=/tmp/tmp.uV8nrLpYkQ + 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.YthhPan5wg + cat /tmp/tmp.uV8nrLpYkQ 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.YthhPan5wg + cat /tmp/tmp.uV8nrLpYkQ 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.YthhPan5wg + cat /tmp/tmp.uV8nrLpYkQ Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.YthhPan5wg + cat /tmp/tmp.uV8nrLpYkQ Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.YthhPan5wg /tmp/tmp.uV8nrLpYkQ + 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.qJ4ikYXmxT ++ mktemp + local LAST_ERR=/tmp/tmp.bpZTUJuDS0 + 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.qJ4ikYXmxT + cat /tmp/tmp.bpZTUJuDS0 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.qJ4ikYXmxT + cat /tmp/tmp.bpZTUJuDS0 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.qJ4ikYXmxT + cat /tmp/tmp.bpZTUJuDS0 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.qJ4ikYXmxT + cat /tmp/tmp.bpZTUJuDS0 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.qJ4ikYXmxT /tmp/tmp.bpZTUJuDS0 + 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.aYtmdluyCa +++ mktemp ++ local LAST_ERR=/tmp/tmp.Anyxu2eiOj ++ 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.aYtmdluyCa ++ cat /tmp/tmp.Anyxu2eiOj 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.aYtmdluyCa ++ cat /tmp/tmp.Anyxu2eiOj 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.aYtmdluyCa ++ cat /tmp/tmp.Anyxu2eiOj Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ sleep 8 ++ cat /tmp/tmp.aYtmdluyCa ++ cat /tmp/tmp.Anyxu2eiOj Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority ++ rm /tmp/tmp.aYtmdluyCa /tmp/tmp.Anyxu2eiOj ++ 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:15:31.110603 9313 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 ----------------------------------------------------------------------------------- + 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 + kubectl_bin get ns ++ mktemp ++ mktemp + local LAST_OUT=/tmp/tmp.nmZdWylYLb + local LAST_OUT=/tmp/tmp.GObiKkKFgS ++ mktemp + local LAST_ERR=/tmp/tmp.BGRHYqWQo6 + local exit_status=0 + local timeout=4 ++ mktemp ++ seq 0 2 + local LAST_ERR=/tmp/tmp.2myIS2OPX4 + local exit_status=0 + local timeout=4 + for i in '$(seq 0 2)' + set +e + kubectl get ns ++ seq 0 2 + for i in '$(seq 0 2)' + set +e + kubectl delete namespace psmdb-operator --ignore-not-found + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.nmZdWylYLb + cat /tmp/tmp.BGRHYqWQo6 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.GObiKkKFgS + cat /tmp/tmp.2myIS2OPX4 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.GObiKkKFgS + cat /tmp/tmp.2myIS2OPX4 + exit_status=1 + set -e + '[' 1 '!=' 0 -a -n 1 ']' + cat /tmp/tmp.nmZdWylYLb Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 4 + cat /tmp/tmp.BGRHYqWQo6 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.GObiKkKFgS + cat /tmp/tmp.2myIS2OPX4 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.nmZdWylYLb + cat /tmp/tmp.BGRHYqWQo6 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.GObiKkKFgS + cat /tmp/tmp.2myIS2OPX4 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.GObiKkKFgS /tmp/tmp.2myIS2OPX4 + return 1 + : + kubectl_bin wait --for=delete namespace psmdb-operator ++ mktemp + local LAST_OUT=/tmp/tmp.nuZikBxcd0 ++ mktemp + local LAST_ERR=/tmp/tmp.TYl3Xsu2Ns + 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.nmZdWylYLb + cat /tmp/tmp.BGRHYqWQo6 Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.nmZdWylYLb /tmp/tmp.BGRHYqWQo6 + 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.nuZikBxcd0 + cat /tmp/tmp.TYl3Xsu2Ns 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.nuZikBxcd0 + cat /tmp/tmp.TYl3Xsu2Ns 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.nuZikBxcd0 + cat /tmp/tmp.TYl3Xsu2Ns Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.nuZikBxcd0 + cat /tmp/tmp.TYl3Xsu2Ns Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.nuZikBxcd0 /tmp/tmp.TYl3Xsu2Ns + 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.vm1jDMnw85 ++ mktemp + local LAST_ERR=/tmp/tmp.nUaIOvzUDR + 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.vm1jDMnw85 + cat /tmp/tmp.nUaIOvzUDR 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.vm1jDMnw85 + cat /tmp/tmp.nUaIOvzUDR 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.vm1jDMnw85 + cat /tmp/tmp.nUaIOvzUDR Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + sleep 8 + cat /tmp/tmp.vm1jDMnw85 + cat /tmp/tmp.nUaIOvzUDR Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority + rm /tmp/tmp.vm1jDMnw85 /tmp/tmp.nUaIOvzUDR + return 1