-
Notifications
You must be signed in to change notification settings - Fork 655
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-#3818: Ignore files from /private/tmp/ray/ when detecting file leaks #3826
FIX-#3818: Ignore files from /private/tmp/ray/ when detecting file leaks #3826
Conversation
be1d337
to
9166dd3
Compare
…cting file leaks Signed-off-by: jeffreykennethli <jkli@ponder.io>
9166dd3
to
4a54856
Compare
Signed-off-by: jeffreykennethli <jkli@ponder.io>
Codecov Report
@@ Coverage Diff @@
## master #3826 +/- ##
===========================================
- Coverage 85.38% 56.40% -28.98%
===========================================
Files 197 183 -14
Lines 16437 15755 -682
===========================================
- Hits 14035 8887 -5148
- Misses 2402 6868 +4466
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the logs guaranteed to be here?
Signed-off-by: jeffreykennethli <jkli@ponder.io>
The logs structure is /tmp/ray/session_*/logs per the docs: https://docs.ray.io/en/master/ray-logging.html#logging-directory-structure Modified the check to more explicitly check for this format. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…cting file leaks (modin-project#3826) Signed-off-by: jeffreykennethli <jkli@ponder.io> Signed-off-by: Doris Lee <dorisjunglinlee@gmail.com>
Signed-off-by: jeffreykennethli jkli@ponder.io
What do these changes do?
test_io.p::TestExcel open file handle checks currently catches our check_file_leaks decorator check due to Ray session driver logs that are still open after read_excel(). check_file_leaks compares open files before and after a test case, therefore only the first instance where a Ray session is initiated will catch check_file_leaks.
The session logs still being open is the intended Ray behavior, so our tests should ignore these open files in check_file_leaks. This change adds this exception to check_file_leaks.
flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
git commit -s
docs/developer/architecture.rst
is up-to-date