Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Run address sanitiser in the GitHub CI#26640

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
pablogsal merged 2 commits intopython:mainfrompablogsal:asan
Jun 10, 2021
Merged

Conversation

@pablogsal
Copy link
Member

No description provided.

@markshannon
Copy link
Member

Looks like you've found an X11 bug.
I don't where the X11 bug tracker is. Somewhere inhttps://gitlab.freedesktop.org/ probably.

@markshannon
Copy link
Member

I'd exclude the failing tests for now and add a note somewhere to revisit the exclusions in a month or two.

- name: Display build info
run: make pythoninfo
- name: Tests
run: xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu -x test_ctypes test_capi test_crypt test_decimal test_faulthandler test_interpreters"
Copy link
Member

Choose a reason for hiding this comment

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

Addtest___all__ test_idle test_tix test_tk test_ttk_guionly test_ttk_textonly to this list.

@vstinner
Copy link
Member

Rather than putting-x test_ctypes test_crypt test_decimal test_faulthandler test_interpreters test___all__ test_idle test_tix test_tk test_ttk_guionly test_ttk_textonly list in the CI configuration, what do you think of adding an option to regrtest, similar to --pgo? Example: add--asan option.

@pablogsal
Copy link
MemberAuthor

Rather than putting-x test_ctypes test_crypt test_decimal test_faulthandler test_interpreters test___all__ test_idle test_tix test_tk test_ttk_guionly test_ttk_textonly list in the CI configuration, what do you think of adding an option to regrtest, similar to --pgo? Example: add--asan option.

👍 Makes sense, that's clearly a better option

@markshannon
Copy link
Member

markshannon commentedJun 10, 2021
edited
Loading

--pgo describes what it does, whereas--asan would not.
I know it is clumsy to have to list all the exceptions, but that makes it clear what is excluded.
We want to make the list shorter, having this long list makes it clear what needs fixing.

@pablogsal
Copy link
MemberAuthor

Yeah, that makes sense, although it may be worth to also addsome option so you can easily run this locally. I think we should also add something to the devguide about what is excluded and why.

In any case, I am going to merge this and add the option to regrtest in a separate PR.

markshannon reacted with thumbs up emoji

@pablogsalpablogsal merged commitf82262b intopython:mainJun 10, 2021
@pablogsalpablogsal deleted the asan branchJune 10, 2021 17:47
@vstinner
Copy link
Member

I know it is clumsy to have to list all the exceptions, but that makes it clear what is excluded.

My concern is that there is also an ASAN buildbot, and this denylist is copied manually. It increases the maintenance burden. Well, since@pablogsal runs the buildbot, he is likely eagger to maintain these two lists manually ;-)

Maybe an option is not needed, and regrtest could detected if Python was built with ASAN using sysconfig to get compiler flags.

We want to make the list shorter, having this long list makes it clear what needs fixing.

Sure, it would be great to skip less tests ;-)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@markshannonmarkshannonmarkshannon left review comments

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@pablogsal@markshannon@vstinner@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2026 Movatter.jp