8000 Merge TSAN test matrices in CI by webknjaz · Pull Request #123278 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Merge TSAN test matrices in CI #123278

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

Merged
merged 2 commits into from
Jan 29, 2025
Merged

Conversation

webknjaz
Copy link
Contributor

Previously, they were duplicated, with custom commands being passed to the same reusable workflow. This patch moves the commands in and adds a matrix resembling the interface of other reusable workflows.

@webknjaz
Copy link
Contributor Author

@hugovk still conflicted about what to do with the skipped job names but figured I'd reshape another test job pair to have the same structure..

@webknjaz webknjaz force-pushed the maintenance/gha-tsan-reusable branch from 5779c18 to 648f35a Compare January 27, 2025 23:32
@webknjaz webknjaz requested a review from AA-Turner as a code owner January 27, 2025 23:32
with:
config_hash: ${{ needs.check_source.outputs.config_hash }}
options: ./configure --config-cache --with-thread-sanitizer --with-pydebug
suppressions_path: Tools/tsan/supressions.txt
Copy link
Contributor Author

Choose a reason for hiding this comment

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

NOTE: there was a typo in the filename, so this patch also fixes that.

s/supressions.txt/suppressions.txt/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So this is what was causing the CI job to fail: #123278 (comment)

Previously, they were duplicated, with custom commands being passed to
the same reusable workflow. This patch moves the commands in and adds
a matrix resembling the interface of other reusable workflows.
A `p` was missing before this patch. And now it doesn't.
@webknjaz webknjaz force-pushed the maintenance/gha-tsan-reusable branch from b0fc735 to d6fe871 Compare January 27, 2025 23:55
@webknjaz
Copy link
Contributor Author

@hugovk this should be ready for the final review and merge now that I've found and addressed the problem.

@webknjaz webknjaz closed this Jan 28, 2025
@webknjaz webknjaz reopened this Jan 28, 2025
@webknjaz
Copy link
Contributor Author

Looks like there's some flaky ASAN tests, so I reopened the PR to retrigger the CI: https://github.com/python/cpython/actions/runs/13000662810/job/36258482466?pr=123278#step:16:877

Copy link
Member
@hugovk hugovk left a comment

Choose a reason for hiding this comment

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

Thanks! I think we only need to backport this to 3.13?

cc @corona10

@hugovk hugovk added the needs backport to 3.13 bugs and security fixes label Jan 28, 2025
@webknjaz
Copy link
Contributor Author

@hugovk personally, I think that CI updates should be ported as far back as possible to facilitate any future backports in terms of conflicts.

@hugovk
Copy link
Member
hugovk commented Jan 29, 2025

Yeah, let's try to 3.12 then, but I expect conflicts :)

@hugovk hugovk added the needs backport to 3.12 only security fixes label Jan 29, 2025
@hugovk hugovk merged commit 03d9cdb into python:main Jan 29, 2025
74 of 83 checks passed
@miss-islington-app
Copy link
8000

Thanks @webknjaz for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @webknjaz and @hugovk, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 03d9cdb7298cdbf67535dfeb3af5c1a619be7580 3.13

@miss-islington-app
Copy link

Sorry, @webknjaz and @hugovk, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 03d9cdb7298cdbf67535dfeb3af5c1a619be7580 3.12

webknjaz added a commit to webknjaz/cpython that referenced this pull request Feb 5, 2025
webknjaz added a commit to webknjaz/cpython that referenced this pull request Feb 5, 2025
@webknjaz
Copy link
Contributor Author
webknjaz commented Feb 5, 2025

3.13: #129673
3.12: #129674

@bedevere-app
Copy link
bedevere-app bot commented Feb 6, 2025

GH-129673 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Feb 6, 2025
@bedevere-app
Copy link
bedevere-app bot commented Feb 6, 2025

GH-129674 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Feb 6, 2025
webknjaz added a commit to webknjaz/cpython that referenced this pull request Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
45D1
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0