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
test_read_pty_output() of test_asyncio hangs on macOS 10.13.2 (darwin 17.3.0) #76698
Comments
On buildbot x86-64 Sierra 3.6, since build 163, test_read_pty_output() of test_asyncio started to hang: http://buildbot.python.org/all/#/builders/20/builds/163/steps/4/logs/stdio 0:22:40 load avg: 1.73 [329/406/1] test_asyncio crashed (Exit code 1) Difference between pythoninfo of build 162 and 163: -os.login: buildbot -os.uname: posix.uname_result(sysname='Darwin', nodename='mattb-mbp2.local', release='17.2.0', version='Darwin Kernel Version 17.2.0: Fri Sep 29 18:27:05 PDT 2017; root:xnu-4570.20.62~3/RELEASE_X86_64', machine='x86_64') -platform.platform: Darwin-17.2.0-x86_64-i386-64bit -sys.version: 3.6.4+ (heads/3.6:aea95c2fbd, Jan 2 2018, 00:22:06) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] -sysconfig[HOST_GNU_TYPE]: x86_64-apple-darwin17.2.0 The os.login change is interesting and curious, and it also looks like a macOS upgrade from Darwin 17.2.0 to 17.3.0. |
The darwin version change is likely due to an upgrade from macOS 10.13.1 to 10.13.2. The user change can be due to the introduction of a new system user, but I don't know when user _timed was introduced and don't have 10.3 VMs other than one running 10.13.2. User _timed does not exist on 10.12.6, and is hence a fairly recent addition. The buildbot operator could verify this by checking the UID for user buildbot, this likely conflicts with user _timed. The fix for that would be the give user buildbot a new UID and chown all files in the buildbot tree to the new UID. |
I don't see a conflict in the uids: mattb@mattb-mbp2:~ $ id -u buildbot Buildbot is started via launchd: mattb@mattb-mbp2:~ $ sudo cat /Library/LaunchDaemons/net.buildbot.slave.plist |
Note, I can repro running it by hand from the cli. And I cannot repro on 3.x, only 3.6 on the same machine. |
bpo-32578 has been marked as a duplicate of this issue. |
I can reproduce on my local machine. MacOS 10.13.2, trying to build 3.6.4. Waited for up to 6 hours for it to fail or finish, never does, just hangs at |
Since this is still happening on current macOS 10.13.3, we should get a fix for this in before 3.6.5rc1. PR's welcome! |
It seems to work if you close proto.transport (as is done in |
Awesome, I'm really excited to have contributed something, no matter how small. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: