Skip Menu |
 

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id: 13426
Status: resolved
Priority: 0/
Queue: Archive-Zip

People
Owner: Nobody in particular
Requestors: steven.moix [...] axianet.ch
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.15
Fixed in: 1.16



Subject: make test fail in Archive::Zip 1.15
Hello, I noticed a "bug" in Archive::Zip from version 1.15. When I run the normal installation process it fails: perl Makefile.PL: ok make: ok make test: not ok (see at the bottom) This bug was reproduced on serveral OS including CentOS 4.1, Fedora Core 3, Mandriva 10.1 and the latest Ubuntu release. For example let's take CentOS 4.1 or Fedora Core 3 both with Perl 5.8.5, while running the "make test" I got this result: [root@gamma Archive-Zip-1.15]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00.load...........ok 2/2# Testing Archive::Zip 1.15, Perl 5.008005, /usr/bin/perl t/00.load...........ok t/pod...............ok t/test..............ok t/testex............ok t/testMemberRead....ok t/testTree..........ok t/testUpdate........ok t/za_archive_zip....NOK 12# Failed test (t/za_archive_zip.t at line 36) t/za_archive_zip....NOK 15# Failed test (t/za_archive_zip.t at line 42) t/za_archive_zip....NOK 16# Failed test (t/za_archive_zip.t at line 43) # got: 'IO::File=GLOB(0x84ea0a8)' # expected: undef t/za_archive_zip....NOK 17# Failed test (t/za_archive_zip.t at line 44) # got: 'ziptest/5n4ltriKOe.zip' # expected: undef t/za_archive_zip....NOK 19# Failed test (t/za_archive_zip.t at line 46) # got: '0' # expected: '1' # Directory not empty t/za_archive_zip....NOK 20# Failed test (t/za_archive_zip.t at line 47) t/za_archive_zip....ok 22/0# Looks like you failed 6 tests of 22. t/za_archive_zip....dubious Test returned status 6 (wstat 1536, 0x600) DIED. FAILED tests 12, 15-17, 19-20 Failed 6/22 tests, 72.73% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/za_archive_zip.t 6 1536 22 6 27.27% 12 15-17 19-20 Failed 1/8 test scripts, 87.50% okay. 6/195 subtests failed, 96.92% okay. make: *** [test_dynamic] Error 2 It was not broken in the last versions :) Have a nice day...
Download (untitled) / with headers
text/plain 187b
Same for me: OS X v 10.3.9 (panther) factory perl install. Didn't help to update dependent modules by hand either. perl, v5.8.1-RC3 built for darwin-thread-multi-2level Thanks, --rob
Download (untitled) / with headers
text/plain 2.5k
[guest - Sun Jun 26 13:53:15 2005]: Show quoted text
> Hello, I noticed a "bug" in Archive::Zip from version 1.15. When I run > the normal installation process it fails: > perl Makefile.PL: ok > make: ok > make test: not ok (see at the bottom) > > This bug was reproduced on serveral OS including CentOS 4.1, Fedora > Core 3, Mandriva 10.1 and the latest Ubuntu release. For example > let's take CentOS 4.1 or Fedora Core 3 both with Perl 5.8.5, while > running the "make test" I got this result: > > [root@gamma Archive-Zip-1.15]# make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/00.load...........ok 2/2# Testing Archive::Zip 1.15, Perl 5.008005, > /usr/bin/perl > t/00.load...........ok > t/pod...............ok > t/test..............ok > t/testex............ok > t/testMemberRead....ok > t/testTree..........ok > t/testUpdate........ok > t/za_archive_zip....NOK 12# Failed test (t/za_archive_zip.t at > line 36) > t/za_archive_zip....NOK 15# Failed test (t/za_archive_zip.t at > line 42) > t/za_archive_zip....NOK 16# Failed test (t/za_archive_zip.t at > line 43) > # got: 'IO::File=GLOB(0x84ea0a8)' > # expected: undef > t/za_archive_zip....NOK 17# Failed test (t/za_archive_zip.t at > line 44) > # got: 'ziptest/5n4ltriKOe.zip' > # expected: undef > t/za_archive_zip....NOK 19# Failed test (t/za_archive_zip.t at > line 46) > # got: '0' > # expected: '1' > # Directory not empty > t/za_archive_zip....NOK 20# Failed test (t/za_archive_zip.t at > line 47) > t/za_archive_zip....ok 22/0# Looks like you failed 6 tests of 22. > t/za_archive_zip....dubious > Test returned status 6 (wstat 1536, 0x600) > DIED. FAILED tests 12, 15-17, 19-20 > Failed 6/22 tests, 72.73% okay > Failed Test Stat Wstat Total Fail Failed List of Failed >
------------------------------------------------------------------------------- Show quoted text
> t/za_archive_zip.t 6 1536 22 6 27.27% 12 15-17 19-20 > Failed 1/8 test scripts, 87.50% okay. 6/195 subtests failed, 96.92% > okay. > make: *** [test_dynamic] Error 2 > > > It was not broken in the last versions :) > > Have a nice day...
Hmmm...these tests were added to improve test coverage, not to blow up miserably, obviously. I had tested on both OpenBSD and Ubuntu Linux without problems, but obviously, others are having problems. I'll be removing these tests from the current distribution, while figuring out what's going on.
From: JussiT
Download (untitled) / with headers
text/plain 430b
[SMPETERS - Tue Jun 28 11:39:47 2005]: Show quoted text
> Hmmm...these tests were added to improve test coverage, not to blow up > miserably, obviously. I had tested on both OpenBSD and Ubuntu Linux > without problems, but obviously, others are having problems. I'll be > removing these tests from the current distribution, while figuring out > what's going on.
Same problem here with Red Hat Enterprise Linux 3 ES as well as Fedora Core #4.
From: Andres Yacopino
Download (untitled) / with headers
text/plain 1.6k
Some Problem on Solaris 9 with UltraSparc Processor: root@acafipri # make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00.load...........# Testing Archive::Zip 1.15, Perl 5.008007, /usr/bin/perl t/00.load...........ok t/pod...............skipped all skipped: Test::Pod 1.00 required for testing POD t/test..............ok t/testex............ok t/testMemberRead....ok t/testTree..........ok t/testUpdate........ok t/za_archive_zip....NOK 12 # Failed test (t/za_archive_zip.t at line 36) t/za_archive_zip....NOK 15 # Failed test (t/za_archive_zip.t at line 42) t/za_archive_zip....NOK 16 # Failed test (t/za_archive_zip.t at line 43) # got: 'IO::File=GLOB(0x451794)' # expected: undef t/za_archive_zip....NOK 17 # Failed test (t/za_archive_zip.t at line 44) # got: 'ziptest/gH6d7Fhesa.zip' # expected: undef t/za_archive_zip....NOK 19 # Failed test (t/za_archive_zip.t at line 46) # got: '0' # expected: '1' # File exists t/za_archive_zip....NOK 20 # Failed test (t/za_archive_zip.t at line 47) # Looks like you failed 6 tests of 22. t/za_archive_zip....dubious Test returned status 6 (wstat 1536, 0x600) DIED. FAILED tests 12, 15-17, 19-20 Failed 6/22 tests, 72.73% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/za_archive_zip.t 6 1536 22 6 27.27% 12 15-17 19-20 1 test skipped. Failed 1/8 test scripts, 87.50% okay. 6/187 subtests failed, 96.79% okay. *** Error code 6 make: Fatal error: Command failed for target `test_dynamic'
Download (untitled) / with headers
text/plain 2.4k
[guest - Sun Jun 26 13:53:15 2005]: Show quoted text
> Hello, I noticed a "bug" in Archive::Zip from version 1.15. When I run > the normal installation process it fails: > perl Makefile.PL: ok > make: ok > make test: not ok (see at the bottom) > > This bug was reproduced on serveral OS including CentOS 4.1, Fedora > Core 3, Mandriva 10.1 and the latest Ubuntu release. For example > let's take CentOS 4.1 or Fedora Core 3 both with Perl 5.8.5, while > running the "make test" I got this result: > > [root@gamma Archive-Zip-1.15]# make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/00.load...........ok 2/2# Testing Archive::Zip 1.15, Perl 5.008005, > /usr/bin/perl > t/00.load...........ok > t/pod...............ok > t/test..............ok > t/testex............ok > t/testMemberRead....ok > t/testTree..........ok > t/testUpdate........ok > t/za_archive_zip....NOK 12# Failed test (t/za_archive_zip.t at > line 36) > t/za_archive_zip....NOK 15# Failed test (t/za_archive_zip.t at > line 42) > t/za_archive_zip....NOK 16# Failed test (t/za_archive_zip.t at > line 43) > # got: 'IO::File=GLOB(0x84ea0a8)' > # expected: undef > t/za_archive_zip....NOK 17# Failed test (t/za_archive_zip.t at > line 44) > # got: 'ziptest/5n4ltriKOe.zip' > # expected: undef > t/za_archive_zip....NOK 19# Failed test (t/za_archive_zip.t at > line 46) > # got: '0' > # expected: '1' > # Directory not empty > t/za_archive_zip....NOK 20# Failed test (t/za_archive_zip.t at > line 47) > t/za_archive_zip....ok 22/0# Looks like you failed 6 tests of 22. > t/za_archive_zip....dubious > Test returned status 6 (wstat 1536, 0x600) > DIED. FAILED tests 12, 15-17, 19-20 > Failed 6/22 tests, 72.73% okay > Failed Test Stat Wstat Total Fail Failed List of Failed >
------------------------------------------------------------------------------- Show quoted text
> t/za_archive_zip.t 6 1536 22 6 27.27% 12 15-17 19-20 > Failed 1/8 test scripts, 87.50% okay. 6/195 subtests failed, 96.92% > okay. > make: *** [test_dynamic] Error 2 > > > It was not broken in the last versions :) > > Have a nice day...
Grrr....now even I'm seeing the same problems. This new test file is now removed. Archive::Zip 1.16 has been uploaded minus the bad test file. I'll have to re-evaluate my plans to improve Archive::Zip's current test coverage considering the impending new release of Compress::Zlib.


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.