Subject: | Failed test for Log::Log4perl 1.48 |
Date: | Mon, 21 Nov 2016 19:27:38 -0500 |
To: | bug-Log-Log4perl [...] rt.cpan.org |
From: | david clarke <davidclarke238 [...] gmail.com> |
This module does not install w/o a force on Strawberry Perl 5.24. Log
file is pasted below. I removed superfluous info.
It appears that the 2 failures (t/026FileApp.t t/034DBI.t) , are due
to re-use of test files, which are not successfully unlinked from a
previous test. I don't have any good guesses as to why the unlink is
not working.
cpanm (App::cpanminus) 1.7041 on perl 5.024000 built for
MSWin32-x86-multi-thread-64int
Work directory is C:\Users\public/.cpanm/work/1479771190.11692
You have make C:\strawberry\c\bin\dmake.exe
You have LWP 6.15
...
Searching Log::Log4perl () on cpanmetadb ...
--> Working on Log::Log4perl
Fetching http://www.cpan.org/authors/id/M/MS/MSCHILLI/Log-Log4perl-1.48.tar.gz
-> OK
Unpacking Log-Log4perl-1.48.tar.gz
Entering Log-Log4perl-1.48
...
"C:\strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM"
"-MTest::Harness" "-e" "undef *Test::Harness::Switches;
test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/001Level.t .............. ok
...
t/025CustLevels.t ......... ok
# Failed test 'header_text'
# at t/026FileApp.t line 459.
# got: 'This is a nice header.
# This is a nice header.
# DEBUG - waah!
# '
# expected: 'This is a nice header.
# DEBUG - waah!
# '
# Looks like you failed 1 test of 27.
t/026FileApp.t ............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/27 subtests
(less 8 skipped subtests: 18 okay)
t/027Watch2.t ............. ok
t/027Watch3.t ............. skipped: only on platforms supporting signals
No such signal: SIGUSR1 at
C:\Users\public\.cpanm\work\1479771190.11692\Log-Log4perl-1.48\blib\lib/Log/Log4perl/Config/Watch.pm
line 39.
t/027Watch4.t ............. ok
t/028Additivity.t ......... ok
t/029SysWide.t ............ ok
t/030LDLevel.t ............ ok
t/031NDC.t ................ ok
t/032JRollFile.t .......... skipped: only with Log::Dispatch::FileRotate 1.10
t/033UsrCspec.t ........... ok
DBD::CSV::db do failed:
Execution ERROR: Cannot create table log4perltest10472: Already exists
at C:/strawberry/perl/vendor/lib/DBI/DBD/SqlEngine.pm line 1624.
called from t/034DBI.t at 231.
[for Statement " CREATE TABLE log4perltest10472 (
loglevel char(9) ,
message char(128)
)
"] at t/034DBI.t line 231.
do failed on CREATE TABLE log4perltest10472 (
loglevel char(9) ,
message char(128)
)
Execution ERROR: Cannot create table log4perltest10472: Already exists
at C:/strawberry/perl/vendor/lib/DBI/DBD/SqlEngine.pm line 1624.
called from t/034DBI.t at 231.
# Looks like you planned 33 tests but ran 31.
# Looks like your test exited with 255 just after 31.
t/034DBI.t ................
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/33 subtests
t/035JDBCAppender.t ....... skipped: only with Log::Dispatch and DBD::CSV 0.33
...
t/070UTCDate.t ............ ok
Test Summary Report
-------------------
t/026FileApp.t (Wstat: 256 Tests: 27 Failed: 1)
Failed test: 23
Non-zero exit status: 1
t/034DBI.t (Wstat: 65280 Tests: 31 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 33 tests but ran 31.
Files=73, Tests=738, 38 wallclock secs ( 0.22 usr + 0.34 sys = 0.56 CPU)
Result: FAIL
Failed 2/73 test programs. 1/738 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
-> FAIL Installing Log::Log4perl failed. See
C:\Users\public\.cpanm\work\1479771190.11692\build.log for details.
Retry with --force to force install it.