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 — gh-139322: Reenable test_os.test_getlogin() by vstinner · Pull Request #139498 · python/cpython Conversation
|
|
The test is skipped temporarily for 15 years :-D Since commit 0151b8e: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Note that we are actually setting a negative errno instead of a positive one (and thus we have errno = -25 which is actually the negative value for "ENOTTY Inappropriate ioctl for device").
See also pytest-dev/pytest#1156 and #84998. The manpage also says:
So, this may also be an issue with glibc itself when we're running in the CI (on my laptop, I can do |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Skip test_getlogin() is getlogin() fails with ENOTTY.
I fixed os.getlogin() to report the correct errno.
I would prefer to avoid that. It has a side effect and it requires to implement (expose) setlogin() in Python.
errno 25 is ENOTTY. The getlogin() manual page says:
I modified my PR to skip the test is getlogin() fails with ENOTTY. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @vstinner for commit ecd2fdc 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F139498%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Oh, that's a real failure: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @vstinner for commit cd42a96 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F139498%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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.