Skip Menu |
 

This queue is for tickets about the SVN-Notify-Config CPAN distribution.

Report information
The Basics
Id: 22704
Status: resolved
Priority: 0/
Queue: SVN-Notify-Config

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

Bug Information
Severity: Normal
Broken in:
  • 0.08
  • 0.09
Fixed in: (no value)



Subject: make test fails
Download (untitled) / with headers
text/plain 6.8k
When running make test, I get the following result: =====================================8<----------------------- $ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/001_basic.t t/002_config.t t/003_config.t t/001_basic.....ok t/002_config....ok 1/0 # Failed test 'All object properties match at rev: 2' # in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{date} = '2005-12-26 17:38:12 +0000 (Mon, 26 Dec 2005)' # $expected->[0]{date} = '2005-12-26 12:38:12 -0500 (Mon, 26 Dec 2005)' t/002_config....ok 3/0 # Failed test 'All object properties match at rev: 5' # in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{date} = '2005-12-26 17:38:14 +0000 (Mon, 26 Dec 2005)' # $expected->[0]{date} = '2005-12-26 12:38:14 -0500 (Mon, 26 Dec 2005)' t/002_config....NOK 5/0 # Failed test 'All object properties match at rev: 6' t/002_config....NOK 6/0# in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{date} = '2005-12-26 17:38:15 +0000 (Mon, 26 Dec 2005)' # $expected->[0]{date} = '2005-12-26 12:38:15 -0500 (Mon, 26 Dec 2005)' # Looks like you failed 3 tests of 7. t/002_config....dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 2, 5-6 Failed 3/7 tests, 57.14% okay t/003_config....ok 4/0 # Failed test 'All object properties match at rev: 8' # in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{date} = '2005-12-26 17:38:16 +0000 (Mon, 26 Dec 2005)' # $expected->[0]{date} = '2005-12-26 12:38:16 -0500 (Mon, 26 Dec 2005)' t/003_config....NOK 8/0 # Failed test 'All object properties match at rev: 9' t/003_config....NOK 9/0# in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{date} = '2005-12-26 17:38:17 +0000 (Mon, 26 Dec 2005)' # $expected->[0]{date} = '2005-12-26 12:38:17 -0500 (Mon, 26 Dec 2005)' # Failed test 'All object properties match at rev: 10' # in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{date} = '2005-12-26 17:38:17 +0000 (Mon, 26 Dec 2005)' # $expected->[0]{date} = '2005-12-26 12:38:17 -0500 (Mon, 26 Dec 2005)' t/003_config....NOK 10/0 # Failed test 'All object properties match at rev: 11' # in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{date} = '2005-12-26 17:38:20 +0000 (Mon, 26 Dec 2005)' # $expected->[0]{date} = '2005-12-26 12:38:20 -0500 (Mon, 26 Dec 2005)' t/003_config....NOK 11/0 # Failed test 'All object properties match at rev: 12' # in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{date} = '2005-12-26 17:38:22 +0000 (Mon, 26 Dec 2005)' # $expected->[0]{date} = '2005-12-26 12:38:22 -0500 (Mon, 26 Dec 2005)' t/003_config....NOK 12/0# Looks like you failed 5 tests of 12. t/003_config....dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 8-12 Failed 5/12 tests, 58.33% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/002_config.t 3 768 7 3 2 5-6 t/003_config.t 5 1280 12 5 8-12 Failed 2/3 test scripts. 8/20 subtests failed. Files=3, Tests=20, 5 wallclock secs ( 4.11 cusr + 0.67 csys = 4.78 CPU) Failed 2/3 test programs. 8/20 subtests failed. make: *** [test_dynamic] Error 5 ---------------------------->8=============================== There's a workaround for this, by running the test as follows: $ USER=jpeacock TZ="EST5EDT" make test .... at which one gets another test error: ==============8<--------------------------------------------- $ TZ="EST5EDT" make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/001_basic.t t/002_config.t t/003_config.t t/001_basic.....ok t/002_config....ok 1/0 # Failed test 'All object properties match at rev: 2' # in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{from} = 'jpeacock@example.com' # $expected->[0]{from} = 'sjn@example.com' t/002_config....ok 3/0 # Failed test 'All object properties match at rev: 5' # in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{user} = 'jpeacock' # $expected->[0]{user} = 'sjn' t/002_config....NOK 5/0 # Failed test 'All object properties match at rev: 6' t/002_config....NOK 6/0# in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{from} = 'jpeacock@example.com' # $expected->[0]{from} = 'sjn@example.com' # Looks like you failed 3 tests of 7. t/002_config....dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 2, 5-6 Failed 3/7 tests, 57.14% okay t/003_config....ok 5/0 # Failed test 'All object properties match at rev: 8' # in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{user} = 'jpeacock' # $expected->[0]{user} = 'sjn' t/003_config....NOK 8/0 # Failed test 'All object properties match at rev: 9' # in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{user} = 'jpeacock' # $expected->[0]{user} = 'sjn' t/003_config....NOK 9/0 # Failed test 'All object properties match at rev: 10' # in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{user} = 'jpeacock' # $expected->[0]{user} = 'sjn' t/003_config....NOK 10/0 # Failed test 'All object properties match at rev: 11' t/003_config....NOK 11/0# in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{user} = 'jpeacock' # $expected->[0]{user} = 'sjn' # Failed test 'All object properties match at rev: 12' # in t/coretests.pm at line 85. # Structures begin differing at: # $got->[0]{user} = 'jpeacock' # $expected->[0]{user} = 'sjn' t/003_config....NOK 12/0# Looks like you failed 5 tests of 12. t/003_config....dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 8-12 Failed 5/12 tests, 58.33% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/002_config.t 3 768 7 3 2 5-6 t/003_config.t 5 1280 12 5 8-12 Failed 2/3 test scripts. 8/20 subtests failed. Files=3, Tests=20, 4 wallclock secs ( 4.16 cusr + 0.63 csys = 4.79 CPU) Failed 2/3 test programs. 8/20 subtests failed. make: *** [test_dynamic] Error 5 =====================================8<------------------------ This error also has a workaround: $ USER=jpeacock TZ="EST5EDT" make test Obviously, the error is that the tests shouldn't be dependent on username or timezone. Great if you can fix this! :)
Oops. Hopefully fixed in 0.0901 (on it's way to CPAN now)...
CC: sjn+perlbug [...] pvv.org
Subject: Re: [rt.cpan.org #22704] make test fails
Date: Tue, 31 Oct 2006 17:48:22 +0100 (CET)
To: via RT <bug-SVN-Notify-Config [...] rt.cpan.org>
From: Salve J Nilsen <sjn [...] pvv.org>
Download (untitled) / with headers
text/plain 641b
via RT said: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22704 > > > Oops. Hopefully fixed in 0.0901 (on it's way to CPAN now)...
Great! I think this bug also got a message through CPAN Testers. Do you get mail from them? http://cpantesters.perl.org/show/SVN-Notify-Config.html and specifically http://www.nntp.perl.org/group/perl.cpan.testers/350267 - Salve -- #!/usr/bin/perl sub AUTOLOAD{$AUTOLOAD=~/.*::(\d+)/;seek(DATA,$1,0);print# Salve Joshua Nilsen getc DATA}$"="'};&{'";@_=unpack("C*",unpack("u*",':4@,$'.# <sjn@foo.no> '2!--"5-(50P%$PL,!0X354UC-PP%/0\`'."\n"));eval "&{'@_'}"; __END__ is near! :)
Subject: Re: [rt.cpan.org #22704] make test fails
Date: Tue, 31 Oct 2006 11:57:48 -0500
To: bug-SVN-Notify-Config [...] rt.cpan.org
From: John Peacock <jpeacock [...] rowman.com>
Download (untitled) / with headers
text/plain 676b
Salve J Nilsen via RT wrote: Show quoted text
> I think this bug also got a message through CPAN Testers. Do you get mail > from them? > > http://cpantesters.perl.org/show/SVN-Notify-Config.html > > and specifically > > http://www.nntp.perl.org/group/perl.cpan.testers/350267 >
No, CPANTESTERS rarely sends me an e-mail about any of my modules. I'm not sure why not (I'm guessing there is something wrong about how my e-mail address is listed in the POD, though META.yml has it OK). John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
Closing the ticket again... John


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.