Skip to content
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

[Core] Task fails when run section is to long #3511

Closed
Michaelvll opened this issue May 6, 2024 · 0 comments · Fixed by #3512
Closed

[Core] Task fails when run section is to long #3511

Michaelvll opened this issue May 6, 2024 · 0 comments · Fixed by #3512
Labels
bug Something isn't working core Features/bugs related to core

Comments

@Michaelvll
Copy link
Collaborator

Michaelvll commented May 6, 2024

#3394 removed the rsync for the script for job submission, which makes a long user yaml causing the following error:

OSError: [Errno 7] Argument list too long: '/bin/sh'

To reproduce:

  1. create a YAML: test.yaml
resources:
  cpus: 2

run: |
  echo hi
  1. Make the run section long: for i in `seq 1 100000`; do echo " echo $i" >> test.yaml; done
  2. sky launch -c test-long-user-run test.yaml
@Michaelvll Michaelvll added bug Something isn't working core Features/bugs related to core labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core Features/bugs related to core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant