-
Notifications
You must be signed in to change notification settings - Fork 1.6k
ci: Return custom exit code to indicate known shm leak failure in L0_backend_python bls test #7485
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
Changes from 12 commits
648b8e2
d2aef79
fc3d0ec
c30fcaa
b4a8881
47e7b80
ee7e703
f5f2bd6
ef5d373
42f081d
3ec8000
948d031
8717160
6b3f235
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env python3 | ||
|
||
# Copyright 2018-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
# Copyright 2018-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions | ||
|
@@ -441,6 +441,9 @@ def __exit__(self, type, value, traceback): | |
print( | ||
f"Shared memory leak detected [{shm_region}]: {curr_shm_free_size} (curr free) < {prev_shm_free_size} (prev free)." | ||
) | ||
# Known shared memory leak of 480 bytes in BLS test. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we have any ticket to eventually find/resolve this issue all together? Would be good to leave the FIXME There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good call, added the ticket reference. |
||
if curr_shm_free_size == 1006576 and prev_shm_free_size == 1007056: | ||
assert False, f"Known shared memory leak of 480 bytes detected." | ||
assert not shm_leak_detected, f"Shared memory leak detected." | ||
|
||
def _get_shm_free_sizes(self, delay_sec=0): | ||
|
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.
Nice find 🚀