Skip Menu |

This queue is for tickets about the Test-WWW-Simple CPAN distribution.

Report information
The Basics
Id: 95958
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Test-WWW-Simple

People
Owner: mcmahon [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Some tests use "perl" instead of "$^X"
See http://www.cpantesters.org/cpan/report/a45803a2-d372-11e3-89a6-1b1aeea79835 for a sample fail report. The reported @INC contains the /usr/local/lib/perl5/5.16/BSDPAN directory, which indicates that the system perl is used here, not the currently tested perl. Regards, Slaven
On 2014-05-25 11:08:17, SREZIC wrote: Show quoted text
> See http://www.cpantesters.org/cpan/report/a45803a2-d372-11e3-89a6- > 1b1aeea79835 for a sample fail report. The reported @INC contains the > /usr/local/lib/perl5/5.16/BSDPAN directory, which indicates that the > system perl is used here, not the currently tested perl.
Same problem with 0.35, it seems.
Subject: Re: [rt.cpan.org #95958] Some tests use "perl" instead of "$^X"
Date: Thu, 14 Jun 2018 16:53:31 -0700
To: bug-Test-WWW-Simple [...] rt.cpan.org
From: Joe McMahon <joe.mcmahon [...] gmail.com>
Thanks. I've finally found a need for it at the moment after a lot of idle time, so I'm bringing it all the way up to match modern modules. On Thu, Jun 14, 2018 at 1:13 PM Slaven_Rezic via RT < bug-Test-WWW-Simple@rt.cpan.org> wrote: Show quoted text
> Queue: Test-WWW-Simple > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=95958 > > > On 2014-05-25 11:08:17, SREZIC wrote:
> > See http://www.cpantesters.org/cpan/report/a45803a2-d372-11e3-89a6- > > 1b1aeea79835 for a sample fail report. The reported @INC contains the > > /usr/local/lib/perl5/5.16/BSDPAN directory, which indicates that the > > system perl is used here, not the currently tested perl.
> > Same problem with 0.35, it seems. >
Fixed in 0.36 (awaiting CPAN approval).
RT-Send-CC: joe.mcmahon [...] gmail.com
On 2018-06-14 20:13:04, MCMAHON wrote: Show quoted text
> Fixed in 0.36 (awaiting CPAN approval).
Does not seems so. Failing test log starts with: ... Can't locate Regexp/Common.pm in @INC (you may need to install the Regexp::Common module) (@INC contains: /home/cpansand/.cpan/build/2018061502/Test-WWW-Simple-0.36-1/blib/lib /home/cpansand/.cpan/build/2018061502/Test-WWW-Simple-0.36-1/blib/arch /home/cpansand/.cpan/build/2018061502/WWW-Mechanize-Pluggable-1.12-1/blib/arch /home/cpansand/.cpan/build/2018061502/WWW-Mechanize-Pluggable-1.12-1/blib/lib /home/cpansand/.cpan/build/2018061502/WWW-Mechanize-Pluggable-1.12-1/blib/arch /home/cpansand/.cpan/build/2018061502/WWW-Mechanize-Pluggable-1.12-1/blib/lib /usr/local/lib/perl5/site_perl/mach/5.24 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.24/mach /usr/local/lib/perl5/5.24 .) at examples/simple_scan line 5. BEGIN failed--compilation aborted at examples/simple_scan line 5. # Failed test 'working output as expected' # at t/06ss_works.t line 12. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = '1..4 # ' # Looks like you failed 1 test of 1. t/06ss_works.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests ... Test Summary Report ------------------- t/06ss_works.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/07ss_intl.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/09ss_comment.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/10ss_blank.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/11ss_garbage.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=24, Tests=85, 27 wallclock secs ( 0.00 usr 0.13 sys + 1.25 cusr 4.70 csys = 6.08 CPU) Result: FAIL Failed 5/24 test programs. 5/85 subtests failed.
Looks like the backticked scripts are using `/usr/bin/env perl`. I'm adding `$^X` to all the backticked invocations; let's see if that gets it.
Looks like the backticked scripts are using `/usr/bin/env perl`. I'm adding `$^X` to all the backticked invocations; let's see if that gets it.
RT-Send-CC: joe.mcmahon [...] gmail.com
On 2018-06-15 03:09:17, MCMAHON wrote: Show quoted text
> Looks like the backticked scripts are using `/usr/bin/env perl`. I'm > adding `$^X` to all the backticked invocations; let's see if that gets > it.
One test seems to be missing in 0.37: Can't locate Regexp/Common.pm in @INC (you may need to install the Regexp::Common module) (@INC contains: /home/cpansand/.cpan/build/2018061509/Test-WWW-Simple-0.37-1/blib/lib /home/cpansand/.cpan/build/2018061509/Test-WWW-Simple-0.37-1/blib/arch /home/cpansand/.cpan/build/2018061509/WWW-Mechanize-Pluggable-1.12-1/blib/arch /home/cpansand/.cpan/build/2018061509/WWW-Mechanize-Pluggable-1.12-1/blib/lib /home/cpansand/.cpan/build/2018061509/WWW-Mechanize-Pluggable-1.12-1/blib/arch /home/cpansand/.cpan/build/2018061509/WWW-Mechanize-Pluggable-1.12-1/blib/lib /usr/local/lib/perl5/site_perl/mach/5.24 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.24/mach /usr/local/lib/perl5/5.24 .) at examples/simple_scan line 5. BEGIN failed--compilation aborted at examples/simple_scan line 5. # Failed test 'working output as expected' # at t/11ss_garbage.t line 13. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = '1..1 # ' # Looks like you failed 1 test of 2. t/11ss_garbage.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests ... Test Summary Report ------------------- t/11ss_garbage.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=23, Tests=85, 32 wallclock secs ( 0.02 usr 0.10 sys + 1.37 cusr 5.74 csys = 7.23 CPU) Result: FAIL Failed 1/23 test programs. 1/85 subtests failed.
Subject: Re: [rt.cpan.org #95958] Some tests use "perl" instead of "$^X"
Date: Fri, 15 Jun 2018 16:43:57 -0700
To: bug-Test-WWW-Simple [...] rt.cpan.org
From: Joe McMahon <joe.mcmahon [...] gmail.com>
Thanks, I'll look into it. I think it's another backtick that I must have missed - or not committed. On Fri, Jun 15, 2018 at 3:28 PM Slaven_Rezic via RT < bug-Test-WWW-Simple@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=95958 > > > On 2018-06-15 03:09:17, MCMAHON wrote:
> > Looks like the backticked scripts are using `/usr/bin/env perl`. I'm > > adding `$^X` to all the backticked invocations; let's see if that gets > > it.
> > One test seems to be missing in 0.37: > > Can't locate Regexp/Common.pm in @INC (you may need to install the > Regexp::Common module) (@INC contains: > /home/cpansand/.cpan/build/2018061509/Test-WWW-Simple-0.37-1/blib/lib > /home/cpansand/.cpan/build/2018061509/Test-WWW-Simple-0.37-1/blib/arch > /home/cpansand/.cpan/build/2018061509/WWW-Mechanize-Pluggable-1.12-1/blib/arch > /home/cpansand/.cpan/build/2018061509/WWW-Mechanize-Pluggable-1.12-1/blib/lib > /home/cpansand/.cpan/build/2018061509/WWW-Mechanize-Pluggable-1.12-1/blib/arch > /home/cpansand/.cpan/build/2018061509/WWW-Mechanize-Pluggable-1.12-1/blib/lib > /usr/local/lib/perl5/site_perl/mach/5.24 /usr/local/lib/perl5/site_perl > /usr/local/lib/perl5/5.24/mach /usr/local/lib/perl5/5.24 .) at > examples/simple_scan line 5. > BEGIN failed--compilation aborted at examples/simple_scan line 5. > > # Failed test 'working output as expected' > # at t/11ss_garbage.t line 13. > # Structures begin differing at: > # $got->[0] = Does not exist > # $expected->[0] = '1..1 > # ' > # Looks like you failed 1 test of 2. > t/11ss_garbage.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/2 subtests > ... > Test Summary Report > ------------------- > t/11ss_garbage.t (Wstat: 256 Tests: 2 Failed: 1) > Failed test: 2 > Non-zero exit status: 1 > Files=23, Tests=85, 32 wallclock secs ( 0.02 usr 0.10 sys + 1.37 cusr > 5.74 csys = 7.23 CPU) > Result: FAIL > Failed 1/23 test programs. 1/85 subtests failed. > >
Have swapped all the invocations to $^X; let's see how it does this time out.
Should be fixed in the latest release.