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-146197: Add Emscripten to CI by hoodmane · Pull Request #146198 · python/cpython Conversation
|
|
I just copied the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
!buildbot emscripten |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @hoodmane for commit 9da3ed3 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F146198%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
So it took 19m 28s with no cache. But the cache is not working yet. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
!buildbot emscripten |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @hoodmane for commit d77a339 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F146198%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
Sorry, something went wrong.
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]>
|
!buildbot Emscripten |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @hoodmane for commit 4276a51 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F146198%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
!buildbot Emscripten |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @hoodmane for commit 4276a51 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F146198%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
!buildbot emscripten |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @hoodmane for commit 1520ee8 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F146198%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @hoodmane for commit 9d545d1 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F146198%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Alright, let's set the timeout to 25-30 minutes — this will help catch problems early. We just need to cover the cacheless run, plus have some margin for networking + minor flakiness. Otherwise, situations with something getting stuck for 40min+ would waste CI resources.. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Well we have: Since most other CI jobs seem to have |
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.
Changes to the build script make sense to me; I'll leave it to others to approve the CI configs, but they broadly look good to me. I'll leave it to @hugovk or @webknjaz to make the final call on timeouts; I agree that 60 minutes seems excessive, but it's also consistently excessive, which is a separate problem.
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.
Future PR to review all timeout-minutes welcome.
The main reason for the setting is to make sure if something gets stuck, it doesn't sit there for the full six hours.
They don't get stuck too often, and better to have more spare time available than have slow builds cancelled before they're finished.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Sorry, @hoodmane and @hugovk, I could not cleanly backport this to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@hoodmane Please could you check the backport? Thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
(cherry picked from commit c94048b) Co-authored-by: Hood Chatham <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
(cherry picked from commit c94048b) Co-authored-by: Hood Chatham <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
|
GH-146331 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.
|
@hugovk unfortunately the github action will be crashing on main because we were crossed up by a commit that broke Emscripten tests. Fixed by this: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
FTR it's usually easier to set the right timeout as a part of the initial integration since the following runs will make use of cache and somebody handling this in the future would need to have privileges to wipe all the cache records to see the slow durations for each job. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Well that makes sense. Do you think 30 minutes makes sense here? That is about 50% higher than the worst run without cache. Or 40 minutes for 2x? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…8577 * 'main' of github.com:python/cpython: pythongh-146197: Run -m test.pythoninfo on the Emscripten CI (python#146332) pythongh-146325: Use `test.support.requires_fork` in test_fastpath_cache_cleared_in_forked_child (python#146330) pythongh-146197: Add Emscripten to CI (python#146198) pythongh-143387: Raise an exception instead of returning None when metadata file is missing. (python#146234) pythongh-108907: ctypes: Document _type_ codes (pythonGH-145837) pythongh-146175: Soft-deprecate outdated macros; convert internal usage (pythonGH-146178) pythongh-146056: Rework ref counting in treebuilder_handle_end() (python#146167) Add a warning about untrusted input to `configparser` docs (python#146276) pythongh-145264: Do not ignore excess Base64 data after the first padded quad (pythonGH-145267) pythongh-146308: Fix error handling issues in _remote_debugging module (python#146309) pythongh-146192: Add base32 support to binascii (pythonGH-146193) pythongh-135953: Properly obtain main thread identifier in Gecko Collector (python#146045) pythongh-143414: Implement unique reference tracking for JIT, optimize unpacking of such tuples (pythonGH-144300) pythongh-146261: Fix bug in `_Py_uop_sym_set_func_version` (pythonGH-146291) pythongh-145144: Add more tests for UserList, UserDict, etc (pythonGH-145145) pythongh-143959: Fix test_datetime if _datetime is unavailable (pythonGH-145248) pythongh-146245: Fix reference and buffer leaks via audit hook in socket module (pythonGH-146248) pythongh-140049: Colorize exception notes in `traceback.py` (python#140051) Update docs for pythongh-146056 (pythonGH-146213)
|
Sorry, @hoodmane and @hugovk, I could not cleanly backport this to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
@hoodmane already created #146331 to add the CI to the 3.14 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
(cherry picked from commit c94048b) Co-authored-by: Hood Chatham <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
@hoodmane my personal approach is having tight limits to get responsive cancelations. So I see how it performs when caching is not in use, then add a minute for each networking-related step/operation (things like Often, we can make an educated guess that the jobs won't be able to complete early: when So yes, 30 minutes should be fine but if you feel more comfortable with 40, that's good too. I like documenting how I estimated the timeout in a YAML comment. So if you feel like sending a follow-up, plz do that too. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Opened #146378 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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.