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

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

Closed
wants to merge 1 commit into from

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Apr 1, 2023

@bedevere-bot
Copy link

🤖 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-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Apr 1, 2023
@sobolevn sobolevn added skip news 🔨 test-with-buildbots Test PR w/ buildbots; report in status section labels Apr 1, 2023
@bedevere-bot
Copy link

🤖 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-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Apr 1, 2023
@sobolevn sobolevn added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Apr 6, 2023
@bedevere-bot
Copy link

🤖 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-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Apr 6, 2023
@sobolevn sobolevn added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Apr 6, 2023
@bedevere-bot
Copy link

🤖 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-bot bedevere-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
@sobolevn sobolevn changed the title gh-103053: Skip the whole test_freeze module in tests on buildbots gh-103053: Skip the whole test_freeze module in tests on s390x with PGO Apr 6, 2023
@sobolevn
Copy link
Member Author

sobolevn commented Apr 7, 2023

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

@sobolevn sobolevn requested a review from zware April 7, 2023 05:11
Copy link
Member

@vstinner vstinner left a comment

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

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
Member Author

sobolevn commented Apr 7, 2023

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
Copy link
Contributor

ambv commented Apr 7, 2023

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

@encukou
Copy link
Member

encukou commented May 22, 2023

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
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
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.

@sobolevn sobolevn closed this Sep 20, 2023
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.

5 participants