Subject: | t/40reader.t failing with libxml2 2.9.4 |
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
#
#
# Compiled against libxml2 version: 20904
# Running libxml2 version: 20904
#
t/01basic.t ........................................ ok
t/02parse.t ........................................ ok
t/03doc.t .......................................... ok
t/04node.t ......................................... ok
t/05text.t ......................................... ok
t/06elements.t ..................................... ok
t/07dtd.t .......................................... ok
t/08findnodes.t .................................... ok
t/09xpath.t ........................................ ok
t/10ns.t ........................................... ok
t/11memory.t ....................................... skipped: developers only (set MEMORY_TEST=1 to run these tests)
t/12html.t ......................................... ok
t/13dtd.t .......................................... ok
t/14sax.t .......................................... ok
t/15nodelist.t ..................................... ok
t/16docnodes.t ..................................... ok
t/17callbacks.t .................................... ok
t/18docfree.t ...................................... ok
t/19die_on_invalid_utf8_rt_58848.t ................. ok
t/19encoding.t ..................................... ok
t/20extras.t ....................................... ok
t/21catalog.t ...................................... ok
t/23rawfunctions.t ................................. ok
t/24c14n.t ......................................... ok
t/25relaxng.t ...................................... ok
t/26schema.t ....................................... ok
t/27new_callbacks_simple.t ......................... ok
t/28new_callbacks_multiple.t ....................... ok
t/29id.t ........................................... ok
t/30keep_blanks.t .................................. ok
t/30xpathcontext.t ................................. ok
t/31xpc_functions.t ................................ ok
t/32xpc_variables.t ................................ ok
t/35huge_mode.t .................................... ok
test/schema/demo.xml:1: Schemas validity error : Element 'Item', attribute 'partNum': [facet 'pattern'] The value '' is not accepted by the pattern '\d{3}-[A-Z]{2}'.
test/schema/demo.xml:1: Schemas validity error : Element 'Item', attribute 'partNum': '' is not a valid value of the atomic type 'SKU'.
test/schema/demo.xml:1: Schemas validity error : Element 'Item', attribute 'shipBy': [facet 'enumeration'] The value '' is not an element of the set {'air', 'land', 'any'}.
test/schema/demo.xml:1: Schemas validity error : Element 'Item', attribute 'shipBy': '' is not a valid value of the local atomic type.
# Looks like you planned 100 tests but ran 89.
# Looks like your test exited with 2 just after 89.
t/40reader.t .......................................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 11/100 subtests
t/40reader_mem_error.t ............................. ok
t/41xinclude.t ..................................... ok
t/42common.t ....................................... ok
t/43options.t ...................................... ok
t/44extent.t ....................................... ok
t/45regex.t ........................................ ok
t/46err_column.t ................................... ok
t/47load_xml_callbacks.t ........................... ok
t/48_memleak_rt_83744.t ............................ ok
t/48_reader_undef_warning_on_empty_str_rt106830.t .. ok
t/48_removeChild_crashes_rt_80395.t ................ ok
t/48_replaceNode_DTD_nodes_rT_80521.t .............. ok
t/48_RH5_double_free_rt83779.t ..................... ok
t/48_rt55000.t ..................................... ok
t/48_rt93429_recover_2_in_html_parsing.t ........... ok
t/48_SAX_Builder_rt_91433.t ........................ ok
t/48importing_nodes_IDs_rt_69520.t ................. ok
t/49_load_html.t ................................... ok
t/49callbacks_returning_undef.t .................... ok
t/49global_extent.t ................................ ok
t/50devel.t ........................................ ok
t/51_parse_html_string_rt87089.t ................... ok
t/60error_prev_chain.t ............................. ok
t/60struct_error.t ................................. ok
t/61error.t ........................................ ok
t/62overload.t ..................................... ok
t/71overloads.t .................................... ok
t/72destruction.t .................................. ok
t/80registryleak.t ................................. ok
t/90shared_clone_failed_rt_91800.t ................. skipped: optional (set THREAD_TEST=1 to run these tests)
t/90stack.t ........................................ ok
t/90threads.t ...................................... skipped: optional (set THREAD_TEST=1 to run these tests)
t/91unique_key.t ................................... ok
t/cpan-changes.t ................................... ok
t/pod.t ............................................ ok
t/style-trailing-space.t ........................... ok
Test Summary Report
-------------------
t/40reader.t (Wstat: 512 Tests: 89 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 100 tests but ran 89.
Files=71, Tests=2552, 2 wallclock secs ( 0.19 usr 0.04 sys + 1.95 cusr 0.20 csys = 2.38 CPU)
Result: FAIL
Failed 1/71 test programs. 0/2552 subtests failed.
make: *** [test_dynamic] Error 255
I'm seeing this with a variety of perl versions, old (RHEL6 5.10.1) and new (Rawhide 5.24.0) and inrbetween.