From 6e12f95126d20281c5dfd203faee9bf95c3e46d1 Mon Sep 17 00:00:00 2001 From: Sreekanth Date: Mon, 23 Sep 2024 09:39:18 +0530 Subject: [PATCH] Debug: show pod logs Signed-off-by: Sreekanth --- .github/workflows/ci.yaml | 2 +- Makefile | 2 +- test/transformer-e2e/transformer_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e9861ca408..a0d1d4deb6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -245,4 +245,4 @@ jobs: - name: Run tests env: GOPATH: /home/runner/go - run: KUBECONFIG=~/.kube/numaflow-e2e-config VERSION=${{ github.sha }} ISBSVC=${{matrix.driver}} SKIP_IMAGE_BUILD=true make test-${{matrix.case}} + run: KUBECONFIG=~/.kube/numaflow-e2e-config VERSION=${{ github.sha }} ISBSVC=${{matrix.driver}} SKIP_IMAGE_BUILD=true make test-${{matrix.case}} || kubectl -n numaflow-system get pods && kubectl -n numaflow-system get pods -l 'numaflow.numaproj.io/vertex-name=in' && kubectl -n numaflow-system describe pods -l 'numaflow.numaproj.io/vertex-name=in' && kubectl -n numaflow-system logs -c numa -l 'numaflow.numaproj.io/vertex-name=in' && kubectl -n numaflow-system logs -c transformer -l 'numaflow.numaproj.io/vertex-name=in' diff --git a/Makefile b/Makefile index 11d91c5890..5a56fba63d 100644 --- a/Makefile +++ b/Makefile @@ -136,7 +136,7 @@ endif cat test/manifests/e2e-api-pod.yaml | sed 's@quay.io/numaproj/@$(IMAGE_NAMESPACE)/@' | sed 's/:latest/:$(VERSION)/' | kubectl -n numaflow-system apply -f - go generate $(shell find ./test/$* -name '*.go') go test -v -timeout 15m -count 1 --tags test -p 1 ./test/$* - $(MAKE) cleanup-e2e + #$(MAKE) cleanup-e2e image-restart: $(MAKE) image diff --git a/test/transformer-e2e/transformer_test.go b/test/transformer-e2e/transformer_test.go index 8c07db744c..3b0fe3d89a 100644 --- a/test/transformer-e2e/transformer_test.go +++ b/test/transformer-e2e/transformer_test.go @@ -198,7 +198,7 @@ func (s *TransformerSuite) testSourceTransformer(lang string) { w := s.Given().Pipeline(fmt.Sprintf("@testdata/event-time-filter-%s.yaml", lang)). When(). CreatePipelineAndWait() - defer w.DeletePipelineAndWait() + //defer w.DeletePipelineAndWait() pipelineName := fmt.Sprintf("event-time-filter-%s", lang) // wait for all the pods to come up