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

Disable attach tests in cibuildwheel #670

Merged

Conversation

godlygeek
Copy link
Contributor

@godlygeek godlygeek commented Aug 21, 2024

Disable the memray attach tests in cibuildwheel. These tests have broken because of changes to the GitHub runners. The old debuggers being installed in the containers are not compatible with the new Linux kernel being used by the runners. Rather than spend a bunch of effort to get this working, we'll just disable these tests in those environments.

Note that we still exercising attaching with both debuggers in other workflows: the test_with_coverage workflow tests both gdb and lldb on glibc, and the test_on_alpine workflow tests both gdb and lldb on musl libc.

Additionally, ensure "Build and test wheels" can fail. We added the "Build and test wheels" job as a required check to our CI in order to avoid needing to list every possible matrix job as required, but this didn't actually work as intended: the job never failed, it always either passed or was skipped, and GitHub doesn't count a skipped job as a failing check.

Work around this with a different approach: ensure that this job always runs, and succeeds if and only if all of its dependencies succeeded.

These tests have broken because of changes to the GitHub runners. The
old debuggers being installed in the containers are not compatible with
the new Linux kernel being used by the runners. Rather than spend
a bunch of effort to get this working, we'll just disable these tests in
those environments.

Note that we still exercising attaching with both debuggers in other
workflows: the `test_with_coverage` workflow tests both gdb and lldb on
glibc, and the `test_on_alpine` workflow tests both gdb and lldb on
musl libc.

Signed-off-by: Matt Wozniski <[email protected]>
We added the "Build and test wheels" job as a required check to our CI
in order to avoid needing to list every possible matrix job as required,
but this didn't actually work as intended: the job never failed, it
always either passed or was skipped, and GitHub doesn't count a skipped
job as a failing check.

Work around this with a different approach: ensure that this job always
runs, and succeeds if and only if all of its dependencies succeeded.

Signed-off-by: Matt Wozniski <[email protected]>
@godlygeek godlygeek self-assigned this Aug 21, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.97%. Comparing base (29daff6) to head (e9c5d8c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #670      +/-   ##
==========================================
- Coverage   93.00%   92.97%   -0.03%     
==========================================
  Files          94       94              
  Lines       11445    11445              
  Branches     2114     2114              
==========================================
- Hits        10644    10641       -3     
- Misses        801      804       +3     
Flag Coverage Δ
cpp 92.97% <ø> (-0.03%) ⬇️
python_and_cython 92.97% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@godlygeek godlygeek merged commit 58adb86 into bloomberg:main Aug 21, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants