Skip Menu |

This queue is for tickets about the App-Module-Template CPAN distribution.

Report information
The Basics
Id: 122635
Status: open
Priority: 0/
Queue: App-Module-Template

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: t/process_dirs_abs.t (with newest File-Path?)
Some of my smoker systems show the following test failure: ... given is experimental at /home/cpansand/.cpan/build/2017072909/App-Module-Template-0.11-nSNkOs/blib/lib/App/Module/Template.pm line 275. when is experimental at /home/cpansand/.cpan/build/2017072909/App-Module-Template-0.11-nSNkOs/blib/lib/App/Module/Template.pm line 276. when is experimental at /home/cpansand/.cpan/build/2017072909/App-Module-Template-0.11-nSNkOs/blib/lib/App/Module/Template.pm line 280. when is experimental at /home/cpansand/.cpan/build/2017072909/App-Module-Template-0.11-nSNkOs/blib/lib/App/Module/Template.pm line 285. cannot chdir to child for cant_read: Permission denied at t/process_dirs_abs.t line 39. # Failed test 'removing cant_read path' # at t/process_dirs_abs.t line 39. # Failed test 'cant_read path is removed' # at t/process_dirs_abs.t line 41. # got: '1' # expected: undef # Looks like you failed 2 tests of 34. t/process_dirs_abs.t ...... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/34 subtests ... This seems to happen only with newer File-Path versions (2.13 and newer): **************************************************************** Regression 'mod:File::Path' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 39955281125230128.00 [1='eq_2.11'] -0.0000 0.0000 -0.91 [2='eq_2.12'] -0.0000 0.0000 -1.73 [3='eq_2.12_01'] -0.0000 0.0000 -7.47 [4='eq_2.13'] -1.0000 0.0000 -18429996881796128.00 [5='eq_2.14'] -1.0000 0.0000 -25667914853601832.00 R^2= 1.000, N= 151, K= 6 **************************************************************** Related ticket: https://rt.cpan.org/Ticket/Display.html?id=122255
On Sat Jul 29 07:40:01 2017, SREZIC wrote: Show quoted text
> Some of my smoker systems show the following test failure: > > ... > given is experimental at /home/cpansand/.cpan/build/2017072909/App- > Module-Template-0.11-nSNkOs/blib/lib/App/Module/Template.pm line 275. > when is experimental at /home/cpansand/.cpan/build/2017072909/App- > Module-Template-0.11-nSNkOs/blib/lib/App/Module/Template.pm line 276. > when is experimental at /home/cpansand/.cpan/build/2017072909/App- > Module-Template-0.11-nSNkOs/blib/lib/App/Module/Template.pm line 280. > when is experimental at /home/cpansand/.cpan/build/2017072909/App- > Module-Template-0.11-nSNkOs/blib/lib/App/Module/Template.pm line 285. > cannot chdir to child for cant_read: Permission denied at > t/process_dirs_abs.t line 39. > > # Failed test 'removing cant_read path' > # at t/process_dirs_abs.t line 39. > > # Failed test 'cant_read path is removed' > # at t/process_dirs_abs.t line 41. > # got: '1' > # expected: undef > # Looks like you failed 2 tests of 34. > t/process_dirs_abs.t ...... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/34 subtests > ... > > This seems to happen only with newer File-Path versions (2.13 and > newer): > > **************************************************************** > Regression 'mod:File::Path' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 1.0000 0.0000 39955281125230128.00 > [1='eq_2.11'] -0.0000 0.0000 -0.91 > [2='eq_2.12'] -0.0000 0.0000 -1.73 > [3='eq_2.12_01'] -0.0000 0.0000 -7.47 > [4='eq_2.13'] -1.0000 0.0000 -18429996881796128.00 > [5='eq_2.14'] -1.0000 0.0000 -25667914853601832.00 > > R^2= 1.000, N= 151, K= 6 > **************************************************************** > > Related ticket: https://rt.cpan.org/Ticket/Display.html?id=122255
As discussed here, https://rt.cpan.org/Ticket/Display.html?id=122255#txn-1735803, there is an incorrect use of the Perl built-in 'chmod' function in t/process_dirs_abs.t. Once this is corrected, File::Path::rmtree() versions 2.14 and higher work as expected. Thank you very much. Jim Keenan