Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
[3.12] gh-127637: add tests for dis command-line interface (#127759)#127780
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
picnixz commented Dec 10, 2024 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
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. |
picnixz commented Dec 28, 2024 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
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 |
picnixz commented Dec 28, 2024 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@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 68a33f3Comparepicnixz commented Dec 28, 2024 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Ok, 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 |
Yhg1s commented Jan 14, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
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. |
vstinner left a comment
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
fbbef60 into python:3.12Uh oh!
There was an error while loading. Please reload this page.
(cherry picked from commit e85f2f1)
discommand-line interface #127637