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

Fix a bug when touching logfile #1913

Merged
merged 1 commit into from
May 1, 2023

Conversation

cblmemo
Copy link
Collaborator

@cblmemo cblmemo commented Apr 29, 2023

In one of my previous PR #1907 , touching the logfile raised a 'No such file or directory' error. This PR calls os.makedirs to eliminate this error.

Tested (run the relevant ones):

  • Any manual or new tests for this PR (please specify below)
  • All smoke tests: pytest tests/test_smoke.py
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_fill_in_the_name
  • Backward compatibility tests: bash tests/backward_comaptibility_tests.sh

@concretevitamin
Copy link
Member

Which dir was not created that caused this error? With the main branch, I do not run into this issue.

Copy link
Member

@concretevitamin concretevitamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind, I did see

I 05-01 08:13:20 cloud_vm_ray_backend.py:1200] To view detailed progress: tail -n100 -f /Users/zongheng/sky_logs/sky-2023-05-01-08-13-16-707643/provision.log
touch: /Users/zongheng/sky_logs/sky-2023-05-01-08-13-16-707643/provision.log: No such file or directory

@concretevitamin concretevitamin merged commit f3acd9e into skypilot-org:master May 1, 2023
@cblmemo cblmemo deleted the fix-touch-logfile branch July 12, 2023 18:02
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 this pull request may close these issues.

2 participants