Uh oh!
There was an error while loading. Please reload this page.
[3.12] gh-127637: add tests for dis command-line interface (#127759) - #127780
Conversation
picnixz
commented
Dec 10, 2024
Apparently, |
iritkatriel
commented
Dec 10, 2024
I doubt it's related to this PR. |
picnixz
commented
Dec 16, 2024
@iritkatriel Do you want to merge this as is? |
iritkatriel
commented
Dec 16, 2024
I can't, the button is greyed out when there are failing tests. |
picnixz
commented
Dec 28, 2024
Ok, so the tests consistently fail. Other backports PRs don't have this issue. I'll disable the automerge and check if removing the test actually changes something. |
What I found is that |
picnixz
commented
Dec 28, 2024
OK so now the tests passed. I don't know why. Is it because of |
picnixz
commented
Dec 28, 2024
Ok, so after some investigation it appears that the |
@iritkatriel Can you perhaps explain to me why removing the import of |
iritkatriel
commented
Dec 28, 2024
I don't know. Could you squash the commits so that the diff between the working and non working versions is clear, and then we can ask an import expert? |
a610c0e to
68a33f3CompareOk, now here's the commit that fixed everything: 68a33f3 |
iritkatriel
commented
Dec 28, 2024
ok, now revert this commit so we see the error, but leave this commit and the revert commit in the log. |
This reverts commit 68a33f3.
picnixz
commented
Dec 28, 2024
AFAIR, the error was a timeout (after 20 minutes) and a simple "FAIL". But the stacktrace could help the import expert (AFAICT, the execution appears to wait for some input, and I thought it was because it was trying to run |
iritkatriel
commented
Dec 28, 2024
It didn't happen on 3.13, right? |
picnixz
commented
Dec 28, 2024
No, the 3.13 backport went well. |
iritkatriel
commented
Dec 28, 2024
Let's see if the release manager for 3.12 has any ideas then. @Yhg1s |
I think the bug this exposes is real, but not caused by the change here. It may just be a bug in test_embed's test program (Programs/_testembed.c). I managed to reproduce it locally (on Windows). The timeout is because the _testembed program crashes, and Windows (in debug builds) produces a popup dialog asking if you want to abort. It is a real abort, an assertion failure: As you can see it happens on the second time running the test code (after finalizing and reinitializing), and the I'm not comfortable enough with the Windows debugging environment to dig into this more. I'm pretty sure this is only a problem with repeated |
picnixz
commented
Jan 18, 2025
@vstinner I plan to merge this one with no commit message and the PR as the title. |
(cherry picked from commit e85f2f1)
discommand-line interface #127637