Skip Menu |

This queue is for tickets about the DateTime-Format-Epoch CPAN distribution.

Report information
The Basics
Id: 33816
Status: open
Priority: 0/
Queue: DateTime-Format-Epoch

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

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



Subject: Seemingly random test results
If you visit http://bbbike2.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=DateTime-Format-Epoch;maxver= you will notice test results on your module are mixed. My smoke machine has already sent both a FAIL and a PASS result for the very same perl. Most FAILS are due to a test named "100 AD" in the script 402_format.t. Unfortunately there are two tests with the same name. Because big ints are involved it might be that the root of the problem is in Math::BigInt or its dependencies. Maybe it would help if you wrote a test for only Math::BigInt working under the given configuration? I have looked at the test report and did not find a common thing to the FAILs. Thanks,
On Wed Mar 05 02:53:22 2008, ANDK wrote: Show quoted text
> If you visit > http://bbbike2.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=DateTime- > Format-Epoch;maxver= > > you will notice test results on your module are mixed. My smoke > machine > has already sent both a FAIL and a PASS result for the very same perl. > > Most FAILS are due to a test named "100 AD" in the script > 402_format.t. > > Unfortunately there are two tests with the same name. > > Because big ints are involved it might be that the root of the problem > is in Math::BigInt or its dependencies. > > Maybe it would help if you wrote a test for only Math::BigInt working > under the given configuration? > > I have looked at the test report and did not find a common thing to > the > FAILs. >
I think it's GMP-related. Here a test where Math::BigInt::GMP is available: $ perl5.8.8@33662 -Mblib t/402_format.t 1..9 ok 1 - The object isa DateTime::Format::Epoch::DotNet ok 2 - Epoch = 0 ok 3 - Epoch = 0 ok 4 - Epoch + 1hour ok 5 - Epoch + 1hour ok 6 - Epoch + 1day ok 7 - Epoch + 1day not ok 8 - 100 AD # Failed test '100 AD' # at t/402_format.t line 26. # got: '-42949672960000000' # expected: '0' not ok 9 - 100 AD # Failed test '100 AD' # at t/402_format.t line 27. # got: '-42949672960000000' # expected: '0' # Looks like you failed 2 tests of 9. And now the same perl with GMP hidden: $ perl5.8.8@33662 -MDevel::Hide=Math::BigInt::GMP -Mblib t/402_format.t Devel::Hide hides Math/BigInt/GMP.pm 1..9 ok 1 - The object isa DateTime::Format::Epoch::DotNet ok 2 - Epoch = 0 ok 3 - Epoch = 0 ok 4 - Epoch + 1hour ok 5 - Epoch + 1hour ok 6 - Epoch + 1day ok 7 - Epoch + 1day ok 8 - 100 AD ok 9 - 100 AD Regards, Slaven
Same results here: Show quoted text
cpan> test DateTime::Format::Epoch
Running test for module 'DateTime::Format::Epoch' Running Build for C/CH/CHORNY/DateTime-Format-Epoch-0.13.tar.gz Has already been unwrapped into directory /home/mike/.cpan/build/DateTime-Format-Epoch-0.13-t0koYR Has already been made Running Build test t/001_load.t .... 1/1 # ==> DateTime version = 0.61 # ==> Math::BigInt version = 1.95 # ==> Math::BigInt lib = Math::BigInt::GMP t/001_load.t .... ok t/002_format.t .. ok t/003_bigint.t .. ok t/004_nano.t .... ok t/005_leap.t .... ok t/006_local.t ... ok t/007_parse.t ... ok t/008_dhms.t .... ok t/101_load.t .... ok t/102_format.t .. ok t/201_load.t .... ok t/202_format.t .. ok t/301_load.t .... ok t/302_format.t .. ok t/303_parse.t ... ok t/401_load.t .... ok t/402_format.t .. 1/9 # Failed test '100 AD (object)' # at t/402_format.t line 26. # got: '-42949672960000000' # expected: '0' # Failed test '100 AD (class)' # at t/402_format.t line 27. # got: '-42949672960000000' # expected: '0' # Looks like you failed 2 tests of 9. t/402_format.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/9 subtests t/502_format.t .. ok t/601_load.t .... ok t/pod.t ......... ok Test Summary Report ------------------- t/402_format.t (Wstat: 512 Tests: 9 Failed: 2) Failed tests: 8-9 Non-zero exit status: 2 Files=20, Tests=129, 5 wallclock secs ( 0.17 usr 0.09 sys + 5.15 cusr 0.41 csys = 5.82 CPU) Result: FAIL Failed 1/20 test programs. 2/129 subtests failed. CHORNY/DateTime-Format-Epoch-0.13.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports CHORNY/DateTime-Format-Epoch-0.13.tar.gz Stopping: 'test' failed for 'DateTime::Format::Epoch'. Failed during this command: CHORNY/DateTime-Format-Epoch-0.13.tar.gz : make_test NO