Skip Menu |

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

Report information
The Basics
Id: 21384
Status: open
Priority: 0/
Queue: DateTime-Format-Duration

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

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



Subject: DateTime::Format::Duration fails tests
DateTime::Format::Duration is failing tests for me on two systems. Is this a known issue? I've attached test output from one of the systems. Zev
Subject: test_output.txt
t/0_pod......................ok t/1_load.....................ok t/2_fmt_normalise............ok 40/52# DST ends, Day is 25 hours long t/2_fmt_normalise............NOK 41 # Failed test 'Test 41: 0000-00-00 48:00:00 should become 0000-00-01 23:00:00' # in t/2_fmt_normalise.t at line 115. # got: '0000-00-01 24:00:00' # expected: '0000-00-01 23:00:00' # If you send an error report, please include the output of: # /usr/athena/bin/perl t/2_fmt_normalise.t 41! t/2_fmt_normalise............NOK 43 # Failed test 'Test 43: 0000-00-02 00:00:00 should stay 0000-00-02 00:00:00' # in t/2_fmt_normalise.t at line 115. # got: '0000-00-02 01:00:00' # expected: '0000-00-02 00:00:00' # If you send an error report, please include the output of: # /usr/athena/bin/perl t/2_fmt_normalise.t 43! t/2_fmt_normalise............ok 44/52# DST starts, Day is 23 hours long t/2_fmt_normalise............NOK 45 # Failed test 'Test 45: 0000-00-00 48:00:00 should become 0000-00-02 01:00:00' # in t/2_fmt_normalise.t at line 115. # got: '0000-00-02 00:00:00' # expected: '0000-00-02 01:00:00' # If you send an error report, please include the output of: # /usr/athena/bin/perl t/2_fmt_normalise.t 45! t/2_fmt_normalise............NOK 47 # Failed test 'Test 47: 0000-00-02 00:00:00 should stay 0000-00-02 00:00:00' # in t/2_fmt_normalise.t at line 115. # got: '0000-00-01 23:00:00' # expected: '0000-00-02 00:00:00' # If you send an error report, please include the output of: # /usr/athena/bin/perl t/2_fmt_normalise.t 47! t/2_fmt_normalise............ok 48/52# Leap Second adds an extra second to one of the minutes. t/2_fmt_normalise............ok 52/52# Looks like you failed 4 tests of 52. t/2_fmt_normalise............dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 41, 43, 45, 47 Failed 4/52 tests, 92.31% okay t/3_fmt_normalise_iso........ok t/4_fmt_normalise_no_base....ok t/5_fmt_no_normalise.........ok t/6_parse....................# Individual Components t/6_parse....................ok 20/24# Group Components t/6_parse....................ok t/7_misc.....................ok t/8_negatives................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/2_fmt_normalise.t 4 1024 52 4 7.69% 41 43 45 47 Failed 1/9 test scripts, 88.89% okay. 4/211 subtests failed, 98.10% okay.
From: DORIAN [...] cpan.org
On Thu Sep 07 19:21:05 2006, ZEV wrote: Show quoted text
> DateTime::Format::Duration is failing tests for me on two systems. Is > this a known issue? I've attached test output from one of the systems. > > > Zev
I suspect that it's something to do with recent changes in DST in Australia - didn't they change it or something?
Subject: DateTime::Format::Duration fails tests on Debian
Scanning cache /root/.cpan/build for sizes ........................................................................ ....DONE CPAN: Archive::Tar loaded ok (v1.32) DateTime-Format-Duration-1.02/ DateTime-Format-Duration-1.02/t/ DateTime-Format-Duration-1.02/t/5_fmt_no_normalise.t DateTime-Format-Duration-1.02/t/0_pod.t DateTime-Format-Duration-1.02/t/8_negatives.t DateTime-Format-Duration-1.02/t/6_parse.t DateTime-Format-Duration-1.02/t/2_fmt_normalise.t DateTime-Format-Duration-1.02/t/7_misc.t DateTime-Format-Duration-1.02/t/1_load.t DateTime-Format-Duration-1.02/t/4_fmt_normalise_no_base.t DateTime-Format-Duration-1.02/t/3_fmt_normalise_iso.t DateTime-Format-Duration-1.02/Changes DateTime-Format-Duration-1.02/MANIFEST DateTime-Format-Duration-1.02/docs/ DateTime-Format-Duration-1.02/docs/figure3.gif DateTime-Format-Duration-1.02/docs/figure1.gif DateTime-Format-Duration-1.02/docs/figure2.gif DateTime-Format-Duration-1.02/lib/ DateTime-Format-Duration-1.02/lib/DateTime/ DateTime-Format-Duration-1.02/lib/DateTime/Format/ DateTime-Format-Duration-1.02/lib/DateTime/Format/Duration.pm DateTime-Format-Duration-1.02/README DateTime-Format-Duration-1.02/Makefile.PL DateTime-Format-Duration-1.02/LICENSE CPAN: File::Temp loaded ok (v0.18) CPAN.pm: Going to build R/RI/RICKM/DateTime-Format-Duration- 1.02.tar.gz Checking if your kit is complete... Looks good Writing Makefile for DateTime::Format::Duration cp lib/DateTime/Format/Duration.pm blib/lib/DateTime/Format/Duration.pm Manifying blib/man3/DateTime::Format::Duration.3pm RICKM/DateTime-Format-Duration-1.02.tar.gz make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/0_pod......................ok t/1_load.....................ok t/2_fmt_normalise............ok 1/52# DST ends, Day is 25 hours long t/2_fmt_normalise............NOK 41/52 # Failed test 'Test 41: 0000-00-00 48:00:00 should become 0000-00- 01 23:00:00' # at t/2_fmt_normalise.t line 115. # got: '0000-00-01 24:00:00' # expected: '0000-00-01 23:00:00' # If you send an error report, please include the output of: # /usr/bin/perl t/2_fmt_normalise.t 41! t/2_fmt_normalise............NOK 43/52 # Failed test 'Test 43: 0000-00-02 00:00:00 should stay 0000-00- 02 00:00:00' # at t/2_fmt_normalise.t line 115. # got: '0000-00-02 01:00:00' # expected: '0000-00-02 00:00:00' # If you send an error report, please include the output of: # /usr/bin/perl t/2_fmt_normalise.t 43! # DST starts, Day is 23 hours long t/2_fmt_normalise............NOK 45/52 # Failed test 'Test 45: 0000-00-00 48:00:00 should become 0000-00- 02 01:00:00' # at t/2_fmt_normalise.t line 115. # got: '0000-00-02 00:00:00' # expected: '0000-00-02 01:00:00' # If you send an error report, please include the output of: # /usr/bin/perl t/2_fmt_normalise.t 45! t/2_fmt_normalise............NOK 47/52 # Failed test 'Test 47: 0000-00-02 00:00:00 should stay 0000-00- 02 00:00:00' # at t/2_fmt_normalise.t line 115. # got: '0000-00-01 23:00:00' # expected: '0000-00-02 00:00:00' # If you send an error report, please include the output of: # /usr/bin/perl t/2_fmt_normalise.t 47! # Leap Second adds an extra second to one of the minutes. # Looks like you failed 4 tests of 52. t/2_fmt_normalise............dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 41, 43, 45, 47 Failed 4/52 tests, 92.31% okay t/3_fmt_normalise_iso........ok t/4_fmt_normalise_no_base....ok t/5_fmt_no_normalise.........ok t/6_parse....................# Individual Components t/6_parse....................ok 1/24# Group Components t/6_parse....................ok t/7_misc.....................ok t/8_negatives................ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------ ------- t/2_fmt_normalise.t 4 1024 52 4 41 43 45 47 Failed 1/9 test scripts. 4/211 subtests failed. Files=9, Tests=211, 2 wallclock secs ( 1.98 cusr + 0.10 csys = 2.08 CPU) Failed 1/9 test programs. 4/211 subtests failed. make: *** [test_dynamic] Error 255 RICKM/DateTime-Format-Duration-1.02.tar.gz make test -- NOT OK Running make install make test had returned bad status, won't install without force Failed during this command: RICKM/DateTime-Format-Duration-1.02.tar.gz : make_test NO cpan[2]> cpan[2]> exit No history written (no histfile specified). Lockfile removed. lgoddard@uk-sandbox2:~/tmp/List-Member-0.041$ lperl -V -bash: lperl: command not found lgoddard@uk-sandbox2:~/tmp/List-Member-0.041$ perl -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=linux, osvers=2.6.10, archname=i486-linux-gnu-thread-multi uname='linux rothera 2.6.10 #1 smp fri may 13 09:24:22 utc 2005 i686 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN - Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr - Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 - Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 - Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local - Dsitelib=/usr/local/share/perl/5.8.7 - Dsitearch=/usr/local/lib/perl/5.8.7 -Dman1dir=/usr/share/man/man1 - Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 - Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl - Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm - Duseshrplib -Dlibperl=libperl.so.5.8.7 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS - DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include - D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN - fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.0.3 20051204 (prerelease) (Ubuntu 4.0.2- 5ubuntu2)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.3.5.so, so=so, useshrplib=true, libperl=libperl.so.5.8.7 gnulibc_version='2.3.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962 Built under linux Compiled at Dec 16 2005 07:48:39 @INC: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 . lgoddard@uk-sandbox2:~/tmp/List-Member-0.041$