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-94675: Add a regression test for rjsmin re slowdown by hroncok · Pull Request #94685 · python/cpython Conversation
|
|
I can confirm that when cherry-picked on 3.11.0b3, the test hangs. Will see what happens next. If you have some tips about how to make the tests fail when it takes longer than X seconds, other than using subprocess, please let me know. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Use multiprocessing to kill the test after SHORT_TIMEOUT.
I've used multiprocessing. |
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.
Co-authored-by: Oleg Iarygin <[email protected]>
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.
Thanks, this looks great to me.
If there's concern over the use of multiprocessing, note that "tests that run effectively forever when broken" are a different category to me than "does not take too long" — as long as the test suite does not complete successfully, we'll detect the regression ;-)
Here's a recent example of a regression test that runs forever when regressed: #93815
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
My concern not about multiprocessing per se. The commit would have broken our WebAssembly buildbots. Neither WASI nor Emscripten support fork() or creation of subprocesses. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This tests a speed regression in the re module which prevented chromium from building in Fedora. python#94685
|
What can I do to get this merged? It was reviewed and approved. Thanks. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @gpshead for commit 7a03947 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I can merge it, I queued a buildbot run first to see if the existing chosen timeout is an obvious issue on any. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks. The timeout is larger than necessary by magnitudes, but better safe than sorry. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Where do I see the buildbot result? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Let me update and re-run the buildbots again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @tiran for commit 54b7abf 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This tests a speed regression in the re module which prevented chromium from building in Fedora. python#94685
|
GH-95630 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…H-94685) Adds a regression test for an re slowdown observed by rjsmin. Uses multiprocessing to kill the test after SHORT_TIMEOUT. Co-authored-by: Oleg Iarygin <[email protected]> Co-authored-by: Christian Heimes <[email protected]> (cherry picked from commit fe23c00) Co-authored-by: Miro Hrončok <[email protected]>
Adds a regression test for an re slowdown observed by rjsmin. Uses multiprocessing to kill the test after SHORT_TIMEOUT. Co-authored-by: Oleg Iarygin <[email protected]> Co-authored-by: Christian Heimes <[email protected]> (cherry picked from commit fe23c00) Co-authored-by: Miro Hrončok <[email protected]>
|
@gpshead Thanks for merging. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…uilding For details, see python/cpython#94675 Backported from upstream 3.11 branch + python/cpython#94685 Needs bootstrap for test_distutils (assert _sre.MAGIC == MAGIC, "SRE module mismatch").
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.