Skip Menu |

This queue is for tickets about the HTML-Laundry CPAN distribution.

Report information
The Basics
Id: 104707
Status: new
Priority: 0/
Queue: HTML-Laundry

People
Owner: Nobody in particular
Requestors: christoph.halbartschlager [...] atikon.com
Cc:
AdminCc:

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



Subject: Testfails when installing HTML::Laundry
Date: Tue, 26 May 2015 14:01:31 +0200
To: bug-HTML-Laundry [...] rt.cpan.org
From: Christoph Halbartschlager <christoph.halbartschlager [...] atikon.com>
Hi! I get some testfails when installing HTML::Laundry via cpan: cpan[1]> install HTML::Laundry Reading '/home/cha/.local/share/.cpan/Metadata' Database was generated on Wed, 20 May 2015 22:17:02 GMT Fetching with LWP: http://www.planet-elektronik.de/CPAN/authors/01mailrc.txt.gz Reading '/home/cha/.local/share/.cpan/sources/authors/01mailrc.txt.gz' ............................................................................DONE Fetching with LWP: http://www.planet-elektronik.de/CPAN/modules/02packages.details.txt.gz Reading '/home/cha/.local/share/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Mon, 25 May 2015 23:41:02 GMT .............. New CPAN.pm version (v2.10) available. [Currently running version is v2.05] You might want to try install CPAN reload cpan to both upgrade CPAN.pm and run the new version without leaving the current session. ..............................................................DONE Fetching with LWP: http://www.planet-elektronik.de/CPAN/modules/03modlist.data.gz Reading '/home/cha/.local/share/.cpan/sources/modules/03modlist.data.gz' DONE Writing /home/cha/.local/share/.cpan/Metadata Running install for module 'HTML::Laundry' Checksum for /home/cha/.local/share/.cpan/sources/authors/id/S/ST/STEVECOOK/HTML- Laundry-0.0103.tar.gz ok Scanning cache /home/cha/.local/share/.cpan/build for sizes ............................................................................DONE DEL(1/2): /home/cha/.local/share/.cpan/build/Wx-0.9923-PNDlfb DEL(2/2): /home/cha/.local/share/.cpan/build/Wx-0.9923-PNDlfb.yml Configuring S/ST/STEVECOOK/HTML-Laundry-0.0103.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for HTML::Laundry Writing MYMETA.yml and MYMETA.json STEVECOOK/HTML-Laundry-0.0103.tar.gz /usr/bin/perl Makefile.PL -- OK Running make for S/ST/STEVECOOK/HTML-Laundry-0.0103.tar.gz cp lib/HTML/Laundry.pm blib/lib/HTML/Laundry.pm cp lib/HTML/Laundry/Rules/Minimal.pm blib/lib/HTML/Laundry/Rules/Minimal.pm cp lib/HTML/Laundry/Rules/Default.pm blib/lib/HTML/Laundry/Rules/Default.pm cp lib/HTML/Laundry/Rules.pm blib/lib/HTML/Laundry/Rules.pm Manifying 4 pod documents STEVECOOK/HTML-Laundry-0.0103.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-use.t ............ 1/4 # Testing HTML::Laundry 0.0103, Perl 5.020001, /usr/bin/perl t/00-use.t ............ ok t/add_attributes.t .... 1/8 # Failed test 'acceptable_attributes() returns default Rules in list (not hash) form' # at t/add_attributes.t line 15. # Structures begin differing at: # $got->[0] = 'rowspan' # $expected->[0] = 'valign' # Looks like you failed 1 test of 8. t/add_attributes.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests t/add_elements.t ...... 1/27 # Failed test 'acceptable_elements() returns default Rules in list (not hash) form' # at t/add_elements.t line 15. # Structures begin differing at: # $got->[0] = 'code' # $expected->[0] = 'del' # Failed test 'New elements can nest' # at t/add_elements.t line 72. # got: '<austen:footnote><swanzo /><austen:footnote></austen:footnote></austen:footnote>' # expected: '<austen:footnote><swanzo /></austen:footnote>' # Looks like you failed 2 tests of 27. t/add_elements.t ...... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/27 subtests t/add_unacceptable.t .. ok t/callbacks.t ......... 1/45 # Failed test 'Start_tag callbacks may be chained' # at t/callbacks.t line 116. # got: '<img src="http://www.example.com/static/otter.png" alt="srly ttr bby!" />' # expected: '<img alt="srly ttr bby!" src="http://www.example.com/static/otter.png" />' # Failed test 'URI callback allows manipulation of URI' # at t/callbacks.t line 207. # got: '<p>Some text, and then: <img src="https://www.example.com/static/otter.png" class="exciting" alt="Surly otter baby!" /></p>' # expected: '<p>Some text, and then: <img alt="Surly otter baby!" src="https://www.example.com/static/otter.png" class="exciting" /></p>' # Failed test 'Cleared URI callback turns off callback' # at t/callbacks.t line 211. # got: '<p>Some text, and then: <img alt="Surly otter baby!" class="exciting" src="http://www.example.com/static/otter.png" /></p>' # expected: '<p>Some text, and then: <img alt="Surly otter baby!" src="http://www.example.com/static/otter.png" class="exciting" /></p>' # Looks like you failed 3 tests of 45. t/callbacks.t ......... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/45 subtests t/parser_cdata.t ...... ok t/parser_default.t .... ok t/pod-coverage.t ...... ok t/pod.t ............... ok t/rebase.t ............ ok t/ruleset.t ........... ok t/ruleset_minimal.t ... ok t/sanitize_default.t .. ok t/tag_whitespace.t .... ok t/tidy_default.t ...... 1/20 # Failed test 'UTF-8 text passes through cleanly' # at t/tidy_default.t line 23. Wide character in print at /usr/lib/perl5/vendor_perl/5.20.1/Test/Builder.pm line 1826. # got: 'Akira Kurosawa (Kyūjitai: 黒澤 明, Shinjitai: 黒沢 明 Kurosawa Akira, 23 March 1910 – 6 September 1998) was a legendary Japanese filmmaker, producer, screenwriter and editor' # expected: 'Akira Kurosawa (KyÅ«jitai: é»æ¾¤ æ, Shinjitai: é»æ²¢ æ Kurosawa Akira, 23 March 1910 â 6 September 1998) was a legendary Japanese filmmaker, producer, screenwriter and editor' # Looks like you failed 1 test of 20. t/tidy_default.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/20 subtests (1 TODO test unexpectedly succeeded) t/tidy_libxml.t ....... ok t/uri.t ............... ok Test Summary Report ------------------- t/add_attributes.t (Wstat: 256 Tests: 8 Failed: 1) Failed test: 3 Non-zero exit status: 1 t/add_elements.t (Wstat: 512 Tests: 27 Failed: 2) Failed tests: 3, 23 Non-zero exit status: 2 t/callbacks.t (Wstat: 768 Tests: 45 Failed: 3) Failed tests: 13, 42-43 Non-zero exit status: 3 t/tidy_default.t (Wstat: 256 Tests: 20 Failed: 1) Failed test: 5 TODO passed: 7 Non-zero exit status: 1 Files=17, Tests=568, 3 wallclock secs ( 0.10 usr 0.02 sys + 2.98 cusr 0.09 csys = 3.19 CPU) Result: FAIL Failed 4/17 test programs. 7/568 subtests failed. Makefile:871: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 STEVECOOK/HTML-Laundry-0.0103.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports STEVECOOK/HTML-Laundry-0.0103.tar.gz Failed during this command: STEVECOOK/HTML-Laundry-0.0103.tar.gz : make_test NO Is there any way to fix this? My workaround right now is to force install. Cheers Christoph