GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — gh-110793: Add CI job that runs tests with an installed build by StanFromIreland · Pull Request #152664 · python/cpython Conversation
|
|
This is currently blocked by #152653 (failing |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Hi! Anyone have any comments on this? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Looks good in general. I have an inline question, though. Non-blocking.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
do you have an example of a breakage that would be caught by this CI job, and not by any other existing CI job?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| if: needs.build-context.outputs.run-ubuntu == 'true' | ||
| uses: ./.github/workflows/reusable-install.yml | ||
| with: | ||
| os: ubuntu-26.04-arm |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
why use arm specifically? (vs plain x86_64 ubuntu)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The architecture shouldn't really mater, however, it's generally the fastest runner, that's why we enable -ucpu when running tests on it:
cpython/.github/workflows/build.yml
Lines 236 to 240 in 998b890
| # Enable CPU-intensive tests on ARM (default build only) | |
| - os: ubuntu-26.04-arm | |
| bolt: false | |
| free-threading: false | |
| test-opts: '-u cpu' |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
A little late to the party but I'd like to state FTR that in the future we should be adding an explicit comment explaining such choices. The motivation may otherwise be difficult to trace transparently and figure out, when troubleshooting something in the future.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
For example, #152653 which prompted this. I don't know any more specific examples of the top of my head, but there have been quite a few cases of this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| with: | ||
| os: ubuntu-26.04-arm |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
We're not varying this, so it doesn't need to be a variable.
| with: | |
| os: ubuntu-26.04-arm |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Honestly, I think things like this might be useful in terms of surfacing the same type of information on the same level of abstraction (the calling workflow). But it's probably something to be debated in a separate refactoring effort anyway..
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Hugo van Kemenade <[email protected]>
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Noting for future reference, this new job takes around 6 minutes, much quicker than the current bottleneck (Windows x86 FT) at almost 30 minutes.
https://github.com/python/cpython/actions/runs/31373039414/job/93406279180?pr=152664
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thanks for all the reviews! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-155482 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-155483 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-155484 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…H-152664) (#155483) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
…H-152664) (#155484) (cherry picked from commit 8a4ee5c) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
…H-152664) (#155482) (cherry picked from commit 8a4ee5c) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
…ython#152664) Co-authored-by: Hugo van Kemenade <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.