diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 538a01fbcbb..d6b34bac382 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -325,7 +325,7 @@ jobs: kubectl get pods -n kserve kubectl describe pods -n kserve - - name: Run all E2E tests except graph + - name: Run predictor E2E tests timeout-minutes: 40 run: | ./test/scripts/gh-actions/run-e2e-tests.sh "predictor" "6" @@ -845,8 +845,6 @@ jobs: ./test/scripts/gh-actions/run-e2e-tests.sh "kourier" "6" - kubectl get pods -n kserve - - name: Check system status if: always() run: | diff --git a/test/scripts/gh-actions/status-check.sh b/test/scripts/gh-actions/status-check.sh index aa289d402c8..bdd28387b73 100755 --- a/test/scripts/gh-actions/status-check.sh +++ b/test/scripts/gh-actions/status-check.sh @@ -54,6 +54,14 @@ for pod in $(kubectl get pods -l 'component in (explainer)' -o jsonpath='{.items done echo "::endgroup::" +echo "::group::InferenceGraph Pod logs" +for pod in $(kubectl get pods -l 'serving.kserve.io/inferencegraph=model-chainer' -o jsonpath='{.items[*].metadata.name}' -n kserve-ci-e2e-test); do + echo "===================================== Logs for Graph Pod: $pod =========================================" + kubectl logs "$pod" -c user-container -n kserve-ci-e2e-test --tail 500 + echo "================================================================================================================" +done +echo "::endgroup::" + shopt -s nocasematch if [[ $# -eq 1 && "$1" == "kourier" ]]; then echo "::group::Kourier Gateway Pod logs"