From 94d2015f69a0dd961057a7bfdd5d5da42715265a Mon Sep 17 00:00:00 2001 From: Lan Lou <1554893443@qq.com> Date: Thu, 4 Aug 2022 04:45:53 +0000 Subject: [PATCH] Adding debug info to cloud-provider-azure serial tests temporarily --- .../cloud-provider-azure/cloud-provider-azure-config.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-config.yaml b/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-config.yaml index a0a7b6ec7b31..a93aa07d7106 100644 --- a/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-config.yaml +++ b/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-config.yaml @@ -842,7 +842,11 @@ periodics: - >- cp ./kubeconfig ${GOPATH}/src/sigs.k8s.io/cloud-provider-azure/kubeconfig && cd ${GOPATH}/src/sigs.k8s.io/cloud-provider-azure && - make test-e2e-capz + make test-e2e-capz && + export KUBECONFIG=${GOPATH}/src/sigs.k8s.io/cloud-provider-azure/kubeconfig && + kubectl get apiservice && + kubectl get ns -A && + kubectl get ns -A | grep -m1 "nsdeletetest" | awk '{printf("kubectl describe ns %s\n",$1)}' | /bin/bash securityContext: privileged: true env: @@ -862,7 +866,7 @@ periodics: - name: CLUSTER_PROVISIONING_TOOL value: "capz" - name: GINKGO_PARALLEL_NODES - value: "2" + value: "1" - name: GINKGO_TOLERATE_FLAKES value: "y" annotations: