Skip to content

[Job] The managed job logs do not include the logs for all tasks #5399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DanielZhangQD opened this issue Apr 27, 2025 · 0 comments · May be fixed by #5400
Open

[Job] The managed job logs do not include the logs for all tasks #5399

DanielZhangQD opened this issue Apr 27, 2025 · 0 comments · May be fixed by #5400
Assignees

Comments

@DanielZhangQD
Copy link
Collaborator

Launch a managed job pipeline with the following yaml:

name: pipeline
---
name: train
resources:
  cpus: 0.5+
  ordered:
  - cloud: kubernetes

setup: |
  echo "running setup for train"

run: |
  echo "running commands for train"
  sleep 10s
  echo "train done"
---
name: eval
resources:
  cpus: 0.5+
  ordered:
  - cloud: kubernetes

setup: |
  echo "running setup for eval"

run: |
  echo "running commands for eval"
  sleep 10s
  echo "eval done"

After the job succeeds, run sky jobs logs $id to check the job logs, it only shows the logs for the first task:

├── Waiting for task resources on 1 node.
└── Job started. Streaming logs... (Ctrl-C to exit log streaming; job will not be killed)
(setup pid=1504) running setup for train
(train, pid=1504) running commands for train
(train, pid=1504) train done
@DanielZhangQD DanielZhangQD self-assigned this Apr 27, 2025
@DanielZhangQD DanielZhangQD linked a pull request Apr 27, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant