Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-04-01 Thread Ivan Pozdeev via Python-Dev
On 02.04.2019 1:44, Steve Dower wrote: On 01Apr2019 1535, Cameron Simpson wrote: On 01Apr2019 09:12, Steve Dower wrote: On 30Mar2019 1130, Gregory P. Smith wrote: I wouldn't expect it to be the case in a CI environment but I believe a umask can be overridden if the filesystem is mounted and

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-04-01 Thread Gregory P. Smith
On Mon, Apr 1, 2019 at 4:49 PM Cameron Simpson wrote: > On 01Apr2019 15:44, Steve Dower wrote: > >On 01Apr2019 1535, Cameron Simpson wrote: > >>On 01Apr2019 09:12, Steve Dower wrote: > >>>On 30Mar2019 1130, Gregory P. Smith wrote: > I wouldn't expect it to be the case in a CI environment

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-04-01 Thread Cameron Simpson
On 01Apr2019 15:44, Steve Dower wrote: On 01Apr2019 1535, Cameron Simpson wrote: On 01Apr2019 09:12, Steve Dower wrote: On 30Mar2019 1130, Gregory P. Smith wrote: I wouldn't expect it to be the case in a CI environment but I believe a umask can be overridden if the filesystem is mounted

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-04-01 Thread Steve Dower
On 01Apr2019 1535, Cameron Simpson wrote: On 01Apr2019 09:12, Steve Dower wrote: On 30Mar2019 1130, Gregory P. Smith wrote: I wouldn't expect it to be the case in a CI environment but I believe a umask can be overridden if the filesystem is mounted and configured with acls set?  (oh, hah,

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-04-01 Thread Cameron Simpson
On 01Apr2019 09:12, Steve Dower wrote: On 30Mar2019 1130, Gregory P. Smith wrote: I wouldn't expect it to be the case in a CI environment but I believe a umask can be overridden if the filesystem is mounted and configured with acls set?  (oh, hah, Ivan just said the same thing) Yep, it

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-04-01 Thread Steve Dower
On 30Mar2019 1130, Gregory P. Smith wrote: I wouldn't expect it to be the case in a CI environment but I believe a umask can be overridden if the filesystem is mounted and configured with acls set?  (oh, hah, Ivan just said the same thing) Yep, it appears this is the case. The Pipelines team

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-03-30 Thread Kushal Kumaran
Steve Dower writes: > On 29Mar.2019 1944, Steve Dower wrote: >> On 29Mar.2019 1939, Cameron Simpson wrote: >>> Can you get a branch into your pipeline? Then you could just hack the >>> tarfile test with something quick and dirty like: >>> >>>    pid = os.getpid() >>>    system("strace -p %d

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-03-30 Thread Gregory P. Smith
I wouldn't expect it to be the case in a CI environment but I believe a umask can be overridden if the filesystem is mounted and configured with acls set? (oh, hah, Ivan just said the same thing) -gps On Sat, Mar 30, 2019 at 9:05 AM Steve Dower wrote: > On 29Mar.2019 1944, Steve Dower wrote:

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-03-30 Thread Ivan Pozdeev via Python-Dev
On 30.03.2019 19:00, Steve Dower wrote: On 29Mar.2019 1944, Steve Dower wrote: On 29Mar.2019 1939, Cameron Simpson wrote: Can you get a branch into your pipeline? Then you could just hack the tarfile test with something quick and dirty like:    pid = os.getpid()    system("strace -p %d

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-03-30 Thread Steve Dower
On 29Mar.2019 1944, Steve Dower wrote: > On 29Mar.2019 1939, Cameron Simpson wrote: >> Can you get a branch into your pipeline? Then you could just hack the >> tarfile test with something quick and dirty like: >> >>    pid = os.getpid() >>    system("strace -p %d 2>/path/to/strace.out &" % pid) >>

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-03-29 Thread Steve Dower
On 29Mar.2019 1939, Cameron Simpson wrote: > Can you get a branch into your pipeline? Then you could just hack the > tarfile test with something quick and dirty like: > >    pid = os.getpid() >    system("strace -p %d 2>/path/to/strace.out &" % pid) >    time.sleep(2)   # get strace heaps of time

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-03-29 Thread Cameron Simpson
On 29Mar2019 19:30, Steve Dower wrote: On 29Mar.2019 1731, Nathaniel Smith wrote: That does sound strange. Oh good, it's not just me :) How easily can you reproduce it? That majorly effects how I would try to debug something like this... No idea. Looking at the builds on Pipelines again,

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-03-29 Thread Steve Dower
On 29Mar.2019 1731, Nathaniel Smith wrote: > That does sound strange. Oh good, it's not just me :) > How easily can you reproduce it? That majorly > effects how I would try to debug something like this... No idea. Looking at the builds on Pipelines again, it seems that all the builds since

Re: [Python-Dev] Strange umask(?)/st_mode issue

2019-03-29 Thread Nathaniel Smith
That does sound strange. How easily can you reproduce it? That majorly effects how I would try to debug something like this... If you're able to get an strace of a failed run then that would probably tell us a *lot*. On Fri, Mar 29, 2019, 16:28 Steve Dower wrote: > Hi > > I'm trying to track

[Python-Dev] Strange umask(?)/st_mode issue

2019-03-29 Thread Steve Dower
Hi I'm trying to track down the cause of the failed Linux tests on this build (it's also been happening on random PR builds for the last day or two, but this is the first I've seen it happen on already merged code): https://dev.azure.com/Python/cpython/_build/results?buildId=40189 One of