Uh oh!
There was an error while loading. Please reload this page.
gh-140729: Add __mp_main__ as a duplicate for __main__ for pickle to work - #140735
Conversation
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
yihong0618
commented
Oct 29, 2025
test failed is flaky |
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
| @@ -0,0 +1,2 @@ | |||
| Fix: Add __mp_main__ as a duplicate for __main__ for pickle to work in | |||
There was a problem hiding this comment.
This needs to refer the profiler otherwise is not possible to undestand what this is fixing. Also this should say WHAT is fixed not HOW
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
yihong0618
commented
Nov 2, 2025
Do not know why windows free thread failed root cause, will go to find a windows test it these days. |
pablogsal
commented
Nov 2, 2025
It seems there is some kind of race condition because the other windows test failed with a timeout |
| with SuppressCrashReport(): | ||
| with script_helper.spawn_python( | ||
| "-m", "profiling.sampling.sample", | ||
| "-d", "1", |
There was a problem hiding this comment.
You probaby need to sample for more time in case the machine is slow
There was a problem hiding this comment.
check other code in the test use 5 now
| stderr=subprocess.PIPE, | ||
| text=True | ||
| ) as proc: | ||
| proc.wait(timeout=10) |
There was a problem hiding this comment.
Use SHORT_TIMEOUT from support (you are already importing it)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
yihong0618
commented
Nov 2, 2025
passed now, thank you very much, learned that |
bedevere-bot
commented
Nov 3, 2025
🤖 New build scheduled with the buildbot fleet by @pablogsal for commit 59c1c1d 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F140735%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Regarding our recent discussions, could you add the fix about the |
yihong0618
commented
Nov 4, 2025
sorry for the comment, I think we should not fix it here
|
yihong0618
commented
Nov 17, 2025
conflict fixed |
pablogsal
commented
Nov 17, 2025
Amazing! Thanks a lot for the great work @yihong0618 🚀 |
Uh oh!
There was an error while loading. Please reload this page.
yihong0618
commented
Nov 17, 2025
thank you very much! |
the fix is like gaogaotiantian/viztracer#423 viztracer fix