Skip Menu |
 

This queue is for tickets about the File-Path CPAN distribution.

Report information
The Basics
Id: 77881
Status: resolved
Priority: 0/
Queue: File-Path

People
Owner: Nobody in particular
Requestors: nwtour [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Failed test: created a directory not owned
Date: Mon, 18 Jun 2012 21:44:08 +0400
To: bug-File-Path [...] rt.cpan.org
From: Кокарев Константин <nwtour [...] mail.ru>
Download (untitled) / with headers
text/plain 764b
not ok 96 - created a directory not owned by nobodz:nogrouq... # Failed test 'created a directory not owned by nobodz:nogrouq...' # at t/Path.t line 501. # STDERR: # unable to map nobodz to a uid, ownership not changed: at t/Path.t line 499. # unable to map nogrouq to a gid, group ownership not changed: at t/Path.t line 499. # # doesn't match: # (?^:\Aunable to map nobodz to a uid, ownership not changed: .* at \S+ line \d+ # unable to map nogrouq to a gid, group ownership not changed: .* at \S+ line \d+\b) # as expected perl -V: Summary of my perl5 (revision 5 version 16 subversion 0) configuration: Platform: osname=linux, osvers=2.6.32-4-686-bigmem, archname=i686-linux-thread-multi Patch for fix attached (dot symbol in regex) Thanks!

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #77881] AutoReply: Failed test: created a directory not owned
Date: Tue, 19 Jun 2012 19:34:15 +0400
To: bug-File-Path [...] rt.cpan.org
From: Кокарев Константин <nwtour [...] mail.ru>
Download (untitled) / with headers
text/plain 502b
Related tickets: https://rt.perl.org/rt3//Public/Bug/Display.html?id=106538 https://rt.perl.org/rt3//Public/Bug/Display.html?id=109788 https://rt.cpan.org/Public/Bug/Display.html?id=75324 Mon, 18 Jun 2012 13:44:21 -0400 от "Bugs in File-Path via RT" <bug-File-Path@rt.cpan.org>: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Failed test: created a directory not owned", > a summary of which appears below. >
Download (untitled) / with headers
text/plain 1.3k
On Mon Jun 18 13:44:20 2012, nwtour@mail.ru wrote: Show quoted text
> not ok 96 - created a directory not owned by nobodz:nogrouq... > # Failed test 'created a directory not owned by nobodz:nogrouq...' > # at t/Path.t line 501. > # STDERR: > # unable to map nobodz to a uid, ownership not changed: at t/Path.t > line 499. > # unable to map nogrouq to a gid, group ownership not changed: at > t/Path.t line 499. > # > # doesn't match: > # (?^:\Aunable to map nobodz to a uid, ownership not changed: .* at > \S+ line \d+ > # unable to map nogrouq to a gid, group ownership not changed: .* at > \S+ line \d+\b) > # as expected > > perl -V: > Summary of my perl5 (revision 5 version 16 subversion 0) > configuration: > > Platform: > osname=linux, osvers=2.6.32-4-686-bigmem, archname=i686-linux- > thread-multi > > Patch for fix attached (dot symbol in regex) > > Thanks!
I could not reproduce this error. Using blead with the attendant File::Path version 2.09 and running as root in the directory where I customarily build and test blead, I got (excerpt): ##### ok 87 - create a ZZ directory ok 88 - blow it away via @ARGV ok 89 - created a directory owned by nobody... ok 90 - ... owned by 65534 ok 91 - created a directory owned by group nogroup... ok 92 - ... owned by group 65534 ok 93 - created a directory owned by nobody:nogroup... ok 94 - ... owned by 65534 ok 95 - ... owned by group 65534 #####
Subject: perl_V_blead.txt
Download perl_V_blead.txt
text/plain 3.2k
Summary of my perl5 (revision 5 version 21 subversion 11) configuration: Commit id: 792e46564870a460524a90be0cffedd5dcc9e032 Platform: osname=linux, osvers=3.13.0-49-generic, archname=x86_64-linux uname='linux zareason 3.13.0-49-generic #83-ubuntu smp fri apr 10 20:11:33 utc 2015 x86_64 x86_64 x86_64 gnulinux ' config_args='-des -Dusedevel' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.8.2', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /lib64 /usr/lib64 libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.19' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF Built under linux Compiled at Apr 15 2015 18:11:02 %ENV: PERL5LIB="/home/jkeenan/perl5/lib/perl5" PERLBREW_BASHRC_VERSION="0.67" PERLBREW_HOME="/home/jkeenan/.perlbrew" PERLBREW_MANPATH="/home/jkeenan/perl5/perlbrew/perls/perl-5.20.1/man" PERLBREW_PATH="/home/jkeenan/perl5/perlbrew/bin:/home/jkeenan/perl5/perlbrew/perls/perl-5.20.1/bin" PERLBREW_PERL="perl-5.20.1" PERLBREW_ROOT="/home/jkeenan/perl5/perlbrew" PERLBREW_VERSION="0.67" PERL_LOCAL_LIB_ROOT="/home/jkeenan/perl5" PERL_MB_OPT="--install_base "/home/jkeenan/perl5"" PERL_MM_OPT="INSTALL_BASE=/home/jkeenan/perl5" PERL_WORKDIR="gitwork/perl" @INC: lib /home/jkeenan/perl5/lib/perl5/x86_64-linux /home/jkeenan/perl5/lib/perl5 /usr/local/lib/perl5/site_perl/5.21.11/x86_64-linux /usr/local/lib/perl5/site_perl/5.21.11 /usr/local/lib/perl5/5.21.11/x86_64-linux /usr/local/lib/perl5/5.21.11 .
Download (untitled) / with headers
text/plain 1.5k
On 2015-04-15 22:05:05, JKEENAN wrote: Show quoted text
> On Mon Jun 18 13:44:20 2012, nwtour@mail.ru wrote:
> > not ok 96 - created a directory not owned by nobodz:nogrouq... > > # Failed test 'created a directory not owned by nobodz:nogrouq...' > > # at t/Path.t line 501. > > # STDERR: > > # unable to map nobodz to a uid, ownership not changed: at t/Path.t > > line 499. > > # unable to map nogrouq to a gid, group ownership not changed: at > > t/Path.t line 499. > > # > > # doesn't match: > > # (?^:\Aunable to map nobodz to a uid, ownership not changed: .* at > > \S+ line \d+ > > # unable to map nogrouq to a gid, group ownership not changed: .* at > > \S+ line \d+\b) > > # as expected > > > > perl -V: > > Summary of my perl5 (revision 5 version 16 subversion 0) > > configuration: > > > > Platform: > > osname=linux, osvers=2.6.32-4-686-bigmem, archname=i686-linux- > > thread-multi > > > > Patch for fix attached (dot symbol in regex) > > > > Thanks!
> > I could not reproduce this error. Using blead with the attendant > File::Path version 2.09 and running as root in the directory where I > customarily build and test blead, I got (excerpt): >
Additionally to being root you need to install Test::Output. Show quoted text
> ##### > ok 87 - create a ZZ directory > ok 88 - blow it away via @ARGV > ok 89 - created a directory owned by nobody... > ok 90 - ... owned by 65534 > ok 91 - created a directory owned by group nogroup... > ok 92 - ... owned by group 65534 > ok 93 - created a directory owned by nobody:nogroup... > ok 94 - ... owned by 65534 > ok 95 - ... owned by group 65534 > #####
Subject: Re: [rt.cpan.org #77881] Failed test: created a directory not owned
Date: Thu, 16 Apr 2015 15:05:03 +0300
To: bug-File-Path [...] rt.cpan.org
From: Кокарев Константин <nwtour [...] mail.ru>
Download (untitled) / with headers
text/plain 2.8k
Среда, 15 апреля 2015, 22:05 -04:00 от "James E Keenan via RT" <bug-File-Path@rt.cpan.org>: Show quoted text
> >I could not reproduce this error. Using blead with the attendant File::Path version 2.09 and running as root in the directory where I customarily build and test blead, I got (excerpt): > >##### >ok 87 - create a ZZ directory >ok 88 - blow it away via @ARGV >ok 89 - created a directory owned by nobody... >ok 90 - ... owned by 65534 >ok 91 - created a directory owned by group nogroup... >ok 92 - ... owned by group 65534 >ok 93 - created a directory owned by nobody:nogroup... >ok 94 - ... owned by 65534 >ok 95 - ... owned by group 65534 >#####
# perl -MCPAN -e 'install "Test::Output"' Test::Output is up to date (1.03). # perl -MCPAN -e 'install "Carp"' Carp is up to date (1.36). # perl -MCPAN -e 'install "File::Path"' File::Path is up to date (2.09). # perl -MCPAN -e 'install "Test::Builder"' Test::Builder is up to date (1.001014). # LANG=C id uid=0(root) gid=0(root) groups=0(root) # wget https://cpan.metacpan.org/authors/id/D/DL/DLAND/File-Path-2.09.tar.gz && tar xzvf File-Path-2.09.tar.gz && cd File-Path-2.09/ && perl Makefile.PL && make && make test Checking if your kit is complete... Looks good Writing Makefile for File::Path Writing MYMETA.yml and MYMETA.json cp Path.pm blib/lib/File/Path.pm Manifying blib/man3/File::Path.3pm PERL_DL_NONLAZY=1 perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Path.t ... 1/129 #   Failed test 'created a directory not owned by kostat:huntert...' #   at t/Path.t line 503. # STDERR: # unable to map kostat to a uid, ownership not changed:  at t/Path.t line 501. # unable to map huntert to a gid, group ownership not changed:  at t/Path.t line 501. # # doesn't match: # (?^:\Aunable to map kostat to a uid, ownership not changed: .* at \S+ line \d+ # unable to map huntert to a gid, group ownership not changed: .* at \S+ line \d+\b) # as expected # Looks like you failed 1 test of 129. t/Path.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/129 subtests         (less 29 skipped subtests: 99 okay) t/pod.t .... skipped: PERL_AUTHOR_TESTING environment variable not set (or zero) t/taint.t .. ok    Test Summary Report ------------------- t/Path.t (Wstat: 256 Tests: 129 Failed: 1)   Failed test:  96   Non-zero exit status: 1 Files=3, Tests=135,  0 wallclock secs ( 0.05 usr  0.01 sys +  0.15 cusr  0.03 csys =  0.24 CPU) Result: FAIL Failed 1/3 test programs. 1/135 subtests failed. make: *** [test_dynamic] Error 255 # rm /usr/lib/perl5/Test/Output.pm # make test t/Path.t ... ok        t/pod.t .... skipped: PERL_AUTHOR_TESTING environment variable not set (or zero) t/taint.t .. ok    All tests successful. Files=3, Tests=135,  0 wallclock secs ( 0.05 usr  0.01 sys +  0.12 cusr  0.01 csys =  0.19 CPU) Result: PASS
Download (untitled) / with headers
text/plain 14.7k

Message body is not shown because it is too large.

Subject: Path.t.patch
Download Path.t.patch
text/x-diff 205b
503c503 < qr{\Aunable to map $max_user to a uid, ownership not changed: .* at \S+ line \d+ --- > qr{\Aunable to map $max_user to a uid, ownership not changed: .* at \S+ line \d+\.?
Resolved as duplicate of 77881.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.