Skip to content

Commit

Permalink
add step of checking pod
Browse files Browse the repository at this point in the history
Signed-off-by: helenxie-bit <[email protected]>
  • Loading branch information
helenxie-bit committed Sep 5, 2024
1 parent 6101489 commit d67a1b8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/e2e-test-tune-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ jobs:
with:
tune-api: true
training-operator: true

- name: Check the status of Experiment and Trials
shell: bash
run: |
kubectl get pods -n default
# describe pod
pod_name=$(kubectl get pods -n default -o jsonpath='{.items[?(@.metadata.labels.trial-name)].metadata.name}')
kubectl describe pod $pod_name -n default
# check the logs of pod
kubectl logs $pod_name -n default
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/v1beta1/scripts/gh-actions/run-e2e-tune-api.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from verify import verify_experiment_results

# Experiment timeout is 40 min.
EXPERIMENT_TIMEOUT = 60 * 40
EXPERIMENT_TIMEOUT = 60 * 10

# The default logging config.
logging.basicConfig(level=logging.INFO)
Expand Down

0 comments on commit d67a1b8

Please sign in to comment.