-
-
Notifications
You must be signed in to change notification settings - Fork 31k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.12] gh-127637: add tests for dis
command-line interface (#127759)
#127780
[3.12] gh-127637: add tests for dis
command-line interface (#127759)
#127780
Conversation
Apparently, |
I doubt it's related to this PR. |
@iritkatriel Do you want to merge this as is? |
I can't, the button is greyed out when there are failing tests. |
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 |
OK so now the tests passed. I don't know why. Is it because of |
Ok, so after some investigation it appears that the |
@iritkatriel Can you perhaps explain to me why removing the import of |
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
68a33f3
Compare
Ok, now here's the commit that fixed everything: 68a33f3 |
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.
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 |
It didn't happen on 3.13, right? |
No, the 3.13 backport went well. |
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 |
@vstinner I plan to merge this one with no commit message and the PR as the title. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(cherry picked from commit e85f2f1)
dis
command-line interface #127637