Skip to content

gh-103053: Skip the whole test_freeze module in tests on s390x with PGO - #103170

Closed
sobolevn wants to merge 1 commit into
python:mainfrom
sobolevn:issue-103053
Closed

gh-103053: Skip the whole test_freeze module in tests on s390x with PGO#103170
sobolevn wants to merge 1 commit into
python:mainfrom
sobolevn:issue-103053

Conversation

@sobolevn

@sobolevnsobolevn commented Apr 1, 2023

Copy link
Copy Markdown
Member

@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @sobolevn for commit 74ded76 🤖

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Apr 1, 2023
@sobolevnsobolevn added skip news 🔨 test-with-buildbots Test PR w/ buildbots; report in status section labels Apr 1, 2023
@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @sobolevn for commit ee8f33c 🤖

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Apr 1, 2023
@sobolevnsobolevn added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Apr 6, 2023
@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @sobolevn for commit 9b2a4c3 🤖

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Apr 6, 2023
@sobolevnsobolevn added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Apr 6, 2023
@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @sobolevn for commit be3e15d 🤖

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Apr 6, 2023
@sobolevn
sobolevn marked this pull request as ready for review April 6, 2023 17:50
@sobolevnsobolevn changed the title gh-103053: Skip the whole test_freeze module in tests on buildbotsgh-103053: Skip the whole test_freeze module in tests on s390x with PGOApr 6, 2023
@sobolevn

Copy link
Copy Markdown
MemberAuthor

@zware can you please take a look when you have the time?

@sobolevn
sobolevn requested a review from zwareApril 7, 2023 05:11

@vstinnervstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please don't do that. It's ok to have a red buildbot, it doesn't prevent to release Python: it's only part of PEP 11 Tier 3.

Failures on these platforms do not block a release.

If you skip the failing test, as the maintainer of this platform, I will no be able to notice it :-(

@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@sobolevn

Copy link
Copy Markdown
MemberAuthor

So, other options are:

  1. Increase the test timeout for this platform (maybe only for pgo builds)
  2. Try optimizing freeze process (can be very complex and error prone)
  3. Create another form of testing 🤔

Any ideas are welcome!

@ambv

ambv commented Apr 7, 2023

Copy link
Copy Markdown
Contributor

We can try with a greatly increased timeout for this particular platform and see if that's indeed the problem.

@encukou

Copy link
Copy Markdown
Member

Any ideas are welcome!

Use a subdirectory in the build area, instead of os_helper.temp_dir(), and guard against it being copied into itself recursively?

@vstinner

Copy link
Copy Markdown
Member

Create another form of testing thinking

Honestly, I'm not convinced by the value of this test. If freeze is badly broken, everybody will notice since Python itself is also frozen, no? Or did I misunderstood the purpose of the test, or what's frozen exactly? Don't all core devs already indirectly test frozen Python?

@vstinner

Copy link
Copy Markdown
Member

Please don't do that. It's ok to have a red buildbot, it doesn't prevent to release Python: it's only part of PEP 11 Tier 3.
If you skip the failing test, as the maintainer of this platform, I will no be able to notice it :-(

I wrote PR #109591 to not skip the test on s390x, but only if Python is built with PGO, which is differerent.

Sign up for freeto 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.

5 participants

@sobolevn@bedevere-bot@ambv@encukou@vstinner