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 — bpo-41818: test_openpty succeed on Gentoo, don't expect to fail on this platform by asvetlov · Pull Request #23514 · python/cpython Conversation
|
|
🤖 New build scheduled with the buildbot fleet by @asvetlov for commit 4ba515d 🤖 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.
| os_release = pathlib.Path("/etc/os-release") | ||
| if os_release.exists(): | ||
| # Actually the file has complex multi-line structure, | ||
| # these is no need to parse it for Gentoo check |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
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.
Sorry, something went wrong.
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.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| def expectedFailureIfStdinIsTTY(fun): | ||
| # avoid isatty() for now | ||
| PLATFORM = platform.system() |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the rationale for skipping the test only on Gentoo. Would you mind to write a comment to explaining the rationale? Why not skipping the test on Ubuntu? Is it a temporary workaround until someone can investigate the root issue? Please add a reference to bpo-41818 in the command.
Sorry, something went wrong.
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.
No, it is the reverse: Gentoo passes the test, all other tested Linux distributions fail.
That's why expectedFailure() is applied for each platform where stdin is a TTY except Gentoo.
I'll add a comment.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@asvetlov: Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@asvetlov: Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry, I can't merge this PR. Reason: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry, I can't merge this PR. Reason: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I just noticed this. I have a 1-2 hour(s) long meeting with my advisor that is scheduled to start in an hour. After that, I will install Gentoo in a VM to inspect what exactly is happening. Thank you for being patient. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@8vasu take your time. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@asvetlov Thank you for being so kind. Also, thank you for preparing this quick-fix. My advisor has postponed the meeting because of thanksgiving preparation. I will look into this matter now. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@ethanfurman @asvetlov I created a Gentoo VM which is currently running There are a few things to note. I realized that by default, the live cd does not include a C compiler; their "stage tarballs" include a C compiler. Since I already have one VM currently performing a full installation of Gentoo, I decided to avoid performing those steps again. As an initial phase of the investigation, I ran the tests using the To be able to run the tests using Python 3.7, I had to comment out the 2 I will try compiling Python 3.10 after Gentoo is fully installed in the first VM. Edit: I ran the tests without applying this quick-fix. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
FTR, I have serious doubts that this is a Gentoo-specific issue. Note that this bot is run using buildbot's and |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
In fact, running this test on both of my Gentoo machines (including the one running the buildbot worker in question) in an interactive SSH session, there is a failure with this change: There is no such failure without this change, or when run in a non-interactive SSH session. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@zware I also have doubts about that. Thank you for the help. I can now reinforce your doubts. I just finished installing Gentoo; it took half a day for the process to complete. Some details:
Everything went as expected when I ran
Both the above results were as expected. Therefore, I am still not sure how the buildbot was able to make the test pass earlier. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Update: #23526 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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.