Skip Menu |

This queue is for tickets about the Log-Agent CPAN distribution.

Report information
The Basics
Id: 75324
Status: resolved
Priority: 0/
Queue: Log-Agent

People
Owner: mrogaski [...] cpan.org
Requestors: mkmetw [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.308



Subject: Log-Agent-0.307 tests fail on Win XP
Date: Mon, 27 Feb 2012 01:53:32 +0530
To: <bug-log-agent [...] rt.cpan.org>
From: Manoj Kumar <mkmetw [...] hotmail.com>
Hello, Please find attached patch for passing following tests on Win XP - t/caller.t (Wstat: 0 Tests: 10 Failed: 1) Failed test: 5 t/carp_default.t (Wstat: 0 Tests: 11 Failed: 2) Failed tests: 10-11 t/carp_file.t (Wstat: 0 Tests: 11 Failed: 2) Failed tests: 10-11 t/carp_fork.t (Wstat: 0 Tests: 11 Failed: 2) Failed tests: 10-11 t/carp_multiline.t (Wstat: 0 Tests: 1 Failed: 1) Failed test: 1 t/carp_silent.t (Wstat: 0 Tests: 2 Failed: 1) Failed test: 2 t/file.t (Wstat: 0 Tests: 38 Failed: 11) Failed tests: 16, 20, 22, 28-29, 31-32, 34-35, 37-38 Summary of my perl5 (revision 5 version 14 subversion 2) configuration: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=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='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_ NONSTDC_NO_DEPRECATE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO', optimize='-MD -Zi -DNDEBUG -O1', cppflags='-DWIN32' ccversion='14.00.50727.42', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\programs\perl\5.14.2\lib\CORE" -machine:x86 "/manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publi cKeyToken='6595b64144ccf1df' language='*'"' libpth=C:\Programs\Microsoft_Visual_Studio_8\VC\lib libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut3 2.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib ole aut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl514.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\programs\perl\5.14.2\lib\CORE" - machine:x86 "/manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitectur e='*' publicKeyToken='6595b64144ccf1df' language='*'"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF Built under MSWin32 Compiled at Feb 11 2012 11:34:10 %ENV: PERL_CPAN_REPORTER_DIR="c:\temp\.cpan\cpanreporter" @INC: c:/Programs/perl/site/5.14.2/lib c:/Programs/perl/5.14.2/lib . Regards,
Download Log-Agent-0.307.diff.zip
application/octet-stream 1.9k

Message body not shown because it is not plain text.

Subject: Log-Agent-0.307 tests fail with Carp 1.25
Has your perl Carp version 1.25? Then this bug is not only on windows but on all platforms with Carp 1.25. Workaround for now is to downgrade to Carp 1.24. Carp 1.25 now has one dot more. Related tickets: https://rt.perl.org/rt3/Ticket/Display.html?id=109788 https://rt.perl.org/rt3//Public/Bug/Display.html?id=106538 Sample fail report: http://www.cpantesters.org/cpan/report/e0cf4b78-61ce-11e1-9493-740ea1f8bb33 HTH&&Thanks,
Subject: RE: [rt.cpan.org #75324] Log-Agent-0.307 tests fail with Carp 1.25
Date: Mon, 5 Mar 2012 17:31:15 +0530
To: <bug-log-agent [...] rt.cpan.org>
From: Manoj Kumar <mkmetw [...] hotmail.com>
Hi, I tried Log::Agent with Carp 1.24. It is better, but still failing - D:\PROGRAMS\perl\5.14.2\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/caller.t .......... ok t/carp_default.t .... ok t/carp_file.t ....... ok t/carp_fork.t ....... ok t/carp_multiline.t .. ok t/carp_silent.t ..... ok t/default.t ......... ok t/default_exp.t ..... ok # Failed test 16 in t/file.t at line 130 # t/file.t line 130 is: ok(! contains("t/file.out", 'error')); # Failed test 20 in t/file.t at line 134 # t/file.t line 134 is: ok(! contains("t/file.out", 'warning')); # Failed test 22 in t/file.t at line 136 # t/file.t line 136 is: ok(! contains("t/file.out", 'die')); # Failed test 28 in t/file.t at line 186 # t/file.t line 186 is: ok(perm_ok('file.out', 0644)); # Failed test 29 in t/file.t at line 197 # t/file.t line 197 is: ok(perm_ok('file.out', 0640)); # Failed test 31 in t/file.t at line 224 # t/file.t line 224 is: ok(perm_ok('file.out', 0644)); # Failed test 32 in t/file.t at line 236 # t/file.t line 236 is: ok(perm_ok('file.out', 0640)); # Failed test 34 in t/file.t at line 262 # t/file.t line 262 is: ok(perm_ok('file.err', 0644)); # Failed test 35 in t/file.t at line 263 # t/file.t line 263 is: ok(perm_ok('file.dbg', 0640)); # Failed test 37 in t/file.t at line 290 # t/file.t line 290 is: ok(perm_ok('file.err', 0644)); # Failed test 38 in t/file.t at line 291 # t/file.t line 291 is: ok(perm_ok('file.dbg', 0640)); t/file.t ............ Failed 11/38 subtests t/fork.t ............ ok t/format.t .......... ok t/priority.t ........ ok t/tag_callback.t .... skipped: (no reason given) t/tag_string.t ...... ok Test Summary Report ------------------- t/file.t (Wstat: 0 Tests: 38 Failed: 11) Failed tests: 16, 20, 22, 28-29, 31-32, 34-35, 37-38 Regards, Show quoted text
> Subject: [rt.cpan.org #75324] Log-Agent-0.307 tests fail with Carp 1.25 > From: bug-Log-Agent@rt.cpan.org > To: mkmetw@hotmail.com > Date: Sun, 4 Mar 2012 12:40:59 -0500 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=75324 > > > Has your perl Carp version 1.25? Then this bug is not only on windows > but on all platforms with Carp 1.25. Workaround for now is to downgrade > to Carp 1.24. > > Carp 1.25 now has one dot more. > > Related tickets: https://rt.perl.org/rt3/Ticket/Display.html?id=109788 > https://rt.perl.org/rt3//Public/Bug/Display.html?id=106538 > > Sample fail report: > http://www.cpantesters.org/cpan/report/e0cf4b78-61ce-11e1-9493-740ea1f8bb33 > > HTH&&Thanks, >