Skip Menu |

This queue is for tickets about the Catalyst-Plugin-Unicode-Encoding CPAN distribution.

Report information
The Basics
Id: 78387
Status: rejected
Priority: 0/
Queue: Catalyst-Plugin-Unicode-Encoding

People
Owner: Nobody in particular
Requestors: jonas.genannt [...] capi2name.de
Cc:
AdminCc:

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



Subject: t/08charset_utf8.t - make test error
Date: Sun, 15 Jul 2012 17:34:36 +0200
To: bug-Catalyst-Plugin-Unicode-Encoding [...] rt.cpan.org
From: Jonas Genannt <jonas.genannt [...] capi2name.de>
Hello, during Debian Archive rebuild an make test error appears in Catalyst-Plugin-Unicode-Encoding: Debian Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680816 make test error output on an clean Debian SID with Perl v5.14.2 on amd64: t/08charset_utf8.t .... 1/? # Failed test at t/08charset_utf8.t line 21. # got: '2' # expected: '1' # Failed test at t/08charset_utf8.t line 26. # got: '2' # expected: '1' # Looks like you failed 2 tests of 7. t/08charset_utf8.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/7 subtests Test Summary Report ------------------- t/08charset_utf8.t (Wstat: 512 Tests: 7 Failed: 2) Failed tests: 4, 6 Non-zero exit status: 2 Files=6, Tests=52, 6 wallclock secs ( 0.06 usr 0.01 sys + 5.09 cusr 0.30 csys = 5.46 CPU) Result: FAIL Failed 1/6 test programs. 2/52 subtests failed. make: *** [test_dynamic] Error 2 Thanks, Jonas
Hi I'm afraid I can't replicate this issue, and I don't have a suitable test system handy at the moment. Could you do me a favour, and check out the latest code from: http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Unicode-Encoding/trunk and run the tests? I have committed some additional diagnostics, which I believe should enable me to be able to debug the problem without having to reproduce it. Thanks in advance!
Subject: Re: [rt.cpan.org #78387] t/08charset_utf8.t - make test error
Date: Sun, 15 Jul 2012 19:34:08 +0200
To: bug-Catalyst-Plugin-Unicode-Encoding [...] rt.cpan.org
From: Jonas Genannt <jonas.genannt [...] capi2name.de>
Hello Tomas, thanks for your work. Show quoted text
> Could you do me a favour, and check out the latest code from: > > http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Unicode-Encoding/trunk > > and run the tests?
I have cloned the repro and run make test again: t/08charset_utf8.t .... 1/? # Failed test at t/08charset_utf8.t line 22. # got: '2' # expected: '1' # $VAR1 = [ # 'Unicode::Encoding is set to encode in \'UTF-8\', content type is \'latin1\', not encoding ', # 'Unicode::Encoding is set to encode in \'UTF-8\', content type is \'latin1\', not encoding ' # ]; # Failed test at t/08charset_utf8.t line 28. # got: '2' # expected: '1' # $VAR1 = [ # 'Unicode::Encoding is set to encode in \'UTF-8\', content type is \'iso-8859-1\', not encoding ', # 'Unicode::Encoding is set to encode in \'UTF-8\', content type is \'iso-8859-1\', not encoding ' # ]; # Looks like you failed 2 tests of 7. t/08charset_utf8.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/7 subtests Test Summary Report ------------------- t/08charset_utf8.t (Wstat: 512 Tests: 7 Failed: 2) Failed tests: 4, 6 Non-zero exit status: 2 Files=6, Tests=52, 6 wallclock secs ( 0.08 usr 0.02 sys + 5.01 cusr 0.38 csys = 5.49 CPU) Result: FAIL Failed 1/6 test programs. 2/52 subtests failed. make: *** [test_dynamic] Error 2 without line breaks, see here: http://paste.debian.net/179216/ Greets, Jonas
On Sun Jul 15 13:34:19 2012, jonas.genannt@capi2name.de wrote: Show quoted text
> Hello Tomas, > > thanks for your work. >
> > Could you do me a favour, and check out the latest code from: > > > > http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Unicode-
> Encoding/trunk
> > > > and run the tests?
> > I have cloned the repro and run make test again: >
Aha, this makes it all clear. 89ba65d5fb85ab30fa5d8109cd0d22860608605b - in Catalyst::Runtime Fix ->finalize_headers getting called twice. RT#78090 http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits/Catalyst-Runtime.git;a=commitdiff;h=89ba65d5fb85ab30fa5d8109cd0d22860608605b this is fixed upstream to C::P::Unicode::Encoding, sorry about that - but I can't see a good way to fix that here directly however, so I'm afraid I'm going to close this.