[issue35070] test_posix fails on macOS 10.14 Mojave

2019-05-27 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35070] test_posix fails on macOS 10.14 Mojave

2019-05-03 Thread Dave Page
Dave Page added the comment: The submitted patch from websurfer5 resolves the issue for me. -- ___ Python tracker ___ ___

[issue35070] test_posix fails on macOS 10.14 Mojave

2019-05-02 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +12987 stage: -> patch review ___ Python tracker ___ ___

[issue35070] test_posix fails on macOS 10.14 Mojave

2019-04-27 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: My mistake. It still failed with gcc 8.3.0. -- ___ Python tracker ___ ___ Python-bugs-list

[issue35070] test_posix fails on macOS 10.14 Mojave

2019-04-27 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The test fails for me on Mohave when I build using clang 10.0.0, but passes when I build using gcc 8.3.0.: ProductName:Mac OS X ProductVersion: 10.14.3 BuildVersion: 18D109 gcc-8 (Homebrew GCC 8.3.0) 8.3.0 Copyright (C) 2018 Free Software

[issue35070] test_posix fails on macOS 10.14 Mojave

2019-04-11 Thread Dave Page
Dave Page added the comment: I'm seeing what appears to my uneducated eyes to be the same failure on Mojave, on a brand new machine which is entirely standalone: 12:16:00 0:00:07 load avg: 4.24 [133/416/1] test_posix failed 12:16:00 test test_posix failed -- Traceback (most recent call

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-29 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I've now updated my personal machine to Mojave and cannot reproduce the failure. I'm going to chalk this one up to some weird corporate active directory or whatnot weirdness. I'd still love to know why the code in Python works differently that the

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: issue33223 also reports failure of test_posix under 10.13.4 and seems to be related. -- nosy: +xtreak ___ Python tracker ___

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Wonderful -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: It seems like people have fun with getgroups() on macOS: * bpo-7900 * bpo-16661 * bpo-17557 * bpo-29562 Maybe we should simply skip test_getgroups() and test_getgrouplist() on macOS with a comment listing all these BPO issues. -- nosy: +vstinner

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Yep, stepping through Python with lldb, that's what's happening. I know one of my coworkers has been able to reproduce it. I'll chime in next once I upgrade my personal machine and can try it there, since I know it isn't on AD. --

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I really have no idea what's going on. I've looked at posixmodule.c and tried to reproduce as best I can in a standalone C program. In both cases getgroups(0, NULL) returns 15. In the standalone version, when I then call getgroups(15, grouplist), I again

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -v -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -I.

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: % gcc -v gg.c Apple LLVM version 10.0.0 (clang-1000.11.45.2) Target: x86_64-apple-darwin18.0.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Ned Deily
Ned Deily added the comment: Er, and perhaps the compile and link calls from when Python builds posixmodule.c ? -- ___ Python tracker ___

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Ned Deily
Ned Deily added the comment: Yeah. Can you check the header file paths that are being used in your compiler invocation, e.g something like: cc -v -c ... And, while you are at it, the library search path of the test executable: otool -L ./... And anything suspicious in /usr/local/include or

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Yes, I've rebooted :) I've modified your C program a little and here's the code and output. #include #include #include int main() { gid_t grouplist[32]; int n; int gidsetsize; for (gidsetsize = 0; gidsetsize < 22; ++gidsetsize) {

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Ned Deily
Ned Deily added the comment: Also, I'm assuming you've tried rebooting your system? :) -- ___ Python tracker ___ ___

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Ned Deily
Ned Deily added the comment: It very well could have something to do with Active Directory support. Here's a little getgroups test I used a while back for a previous getgroups issue. You should see something similar in the output depending on the number of groups in your id. If it fails,

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: We're wondering if it could be a weird interaction with Active Directory. This is my work laptop, so it's all integrated with LDAP and whatnot. I don't have Mojave on my personal laptop yet (maybe this weekend). I'm guessing that whatever corporate

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: FWIW I don't see the problem either, VM running 10.14.1 (beta) with Python 3.7.0. -- ___ Python tracker ___

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-25 Thread Ned Deily
Ned Deily added the comment: "on a vanilla-ish 10.8 VM" ?? I meant 10.14, of course. -- ___ Python tracker ___ ___

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-25 Thread Ned Deily
Ned Deily added the comment: I've also tried building on a vanilla-ish 10.8 VM, both without and with installing the /usr/include headers, and I still don't see the failure you're seeing. If you look at Modules/posixmodule.c, you'll see there's a fair amount of Apple-specifc or -caused

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-25 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Oct 25, 2018, at 13:17, Ned Deily wrote: > > OK. When you asy "every version of Python 3", are those all versions you've > built yourself? If so, what ./configure arguments do you use? Yes, built myself from source (both .tar.gz and git tag). I don’t

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-25 Thread Ned Deily
Ned Deily added the comment: OK. When you asy "every version of Python 3", are those all versions you've built yourself? If so, what ./configure arguments do you use? -- ___ Python tracker

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-25 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Seems to fail for me with every version of Python 3 on Mojave. In master, it’s test_getgroups(). > Ned Deily added the comment: > > $ sw_vers > ProductName: Mac OS X > ProductVersion: 10.14 > BuildVersion: 18A391 Mine is exactly the same.

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-25 Thread Ned Deily
Ned Deily added the comment: $ sw_vers ProductName:Mac OS X ProductVersion: 10.14 BuildVersion: 18A391 -- ___ Python tracker ___

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-25 Thread Ned Deily
Ned Deily added the comment: Hmm, I'm not seeing that behavior with either a freshly-built top of master 3.8 or with the python.org 3.7.1. $ ./python -c "import os;print(os.getgroups())" [20, 12, 61, 79, 80, 81, 98, 33, 100, 204, 250, 395, 398, 399] $ id -G 20 12 61 79 80 81 98 33 100 204

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-25 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- title: test_posix -> test_posix fails on macOS 10.14 Mojave ___ Python tracker ___ ___