CC: | SHLOMIF [...] cpan.org |
Subject: | t/04-xml.t and t/05-mixed.t started to fail (with newest XML::LibXML?) |
The test suite started to fail on my smokers:
...
# Failed test 'XML document without default NS'
# at t/04-xml.t line 38.
# got: '<stuff><test:test:elem1 xmlns:test="http://test/" id="1" test:buh="testing"><test:test:sub1>some content</test:test:sub1></test:test:elem1><elem2 id="2"></elem2></stuff>'
# expected: '<stuff><test:elem1 xmlns:test="http://test/" id="1" test:buh="testing"><test:sub1>some content</test:sub1></test:elem1><elem2 id="2"></elem2></stuff>'
[Test failed. Stopping test.]A context appears to have been destroyed without first calling release().
Based on $@ it does not look like an exception was thrown (this is not always
a reliable test)
This is a problem because the global error variables ($!, $@, and $?) will
not be restored. In addition some release callbacks will not work properly from
inside a DESTROY method.
Here are the context creation details, just in case a tool forgot to call
release():
File: t/04-xml.t
Line: 49
Tool: Test::More::is
Cleaning up the CONTEXT stack...
A context appears to have been destroyed without first calling release().
Based on $@ it does not look like an exception was thrown (this is not always
a reliable test)
This is a problem because the global error variables ($!, $@, and $?) will
not be restored. In addition some release callbacks will not work properly from
inside a DESTROY method.
Here are the context creation details, just in case a tool forgot to call
release():
File: t/04-xml.t
Line: 49
Tool: Test::More::is
Cleaning up the CONTEXT stack...
# Looks like your test exited with 255 just after 1.
t/04-xml.t ................
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests
# Failed test 'XML document'
# at t/05-mixed.t line 32.
# got: '<stuff><test:test:elem1 xmlns:test="http://test/" id="1" test:buh="testing"><test:test:sub1></test:test:sub1></test:test:elem1><elem2 id="2"></elem2></stuff>'
# expected: '<stuff><test:elem1 xmlns:test="http://test/" id="1" test:buh="testing"><test:sub1></test:sub1></test:elem1><elem2 id="2"></elem2></stuff>'
[Test failed. Stopping test.]# Looks like your test exited with 255 just after 1.
t/05-mixed.t ..............
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests
...
Statistical analysis suggests that this happens with newest XML::LibXML (probability is not 100%, but I did some manual testing and could always reproduce failures with XML::LibXML 2.0131):
$ grep XML::LibXML $(local-ctgetreports.pl --list Tree-Template-Declare-0.7)
...
/home/e/eserte/var/cpansmoker/done/2016-07/pass.Tree-Template-Declare-0.7.x86_64-linux.3.16.0-4-amd64.1469183040.28608.rpt: XML::LibXML 0 2.0126
/home/e/eserte/var/cpansmoker/done/2016-07/pass.Tree-Template-Declare-0.7.x86_64-linux.3.16.0-4-amd64.1469201012.10405.rpt: XML::LibXML 0 2.0126
/home/e/eserte/var/cpansmoker/done/2016-08/pass.Tree-Template-Declare-0.7.x86_64-linux.3.16.0-4-amd64.1470044112.13342.rpt: XML::LibXML 0 2.0128
/home/e/eserte/var/cpansmoker/done/2016-08/pass.Tree-Template-Declare-0.7.x86_64-linux.3.16.0-4-amd64.1470064701.27613.rpt: XML::LibXML 0 2.0128
/home/e/eserte/var/cpansmoker/done/2016-08/pass.Tree-Template-Declare-0.7.x86_64-linux.3.16.0-4-amd64.1472158149.25309.rpt: XML::LibXML 0 2.0128
/home/e/eserte/var/cpansmoker/done/2016-08/pass.Tree-Template-Declare-0.7.x86_64-linux.3.16.0-4-amd64.1472174382.1183.rpt: XML::LibXML 0 2.0128
/home/e/eserte/var/cpansmoker/done/2016-08/pass.Tree-Template-Declare-0.7.x86_64-linux.3.16.0-4-amd64.1472202328.28500.rpt: XML::LibXML 0 2.0128
/home/e/eserte/var/cpansmoker/done/2017-01/pass.Tree-Template-Declare-0.7.x86_64-linux.4.4.0-59-generic.1485476461.20909.rpt: XML::LibXML 0 2.0128
/home/e/eserte/var/cpansmoker/done/2017-01/pass.Tree-Template-Declare-0.7.x86_64-linux.4.4.0-59-generic.1485556096.20423.rpt: XML::LibXML 0 2.0128
/home/e/eserte/var/cpansmoker/done/2017-01/pass.Tree-Template-Declare-0.7.x86_64-linux.4.4.0-59-generic.1485647116.5902.rpt: XML::LibXML 0 2.0128
/home/e/eserte/var/cpansmoker/done/2017-01/pass.Tree-Template-Declare-0.7.x86_64-linux.4.4.0-59-generic.1485705075.15259.rpt: XML::LibXML 0 2.0128
/home/e/eserte/var/cpansmoker/done/2017-01/pass.Tree-Template-Declare-0.7.x86_64-linux.4.8.0-2-amd64.1485389200.23337.rpt: XML::LibXML 0 2.0128
/home/e/eserte/var/cpansmoker/done/2017-01/pass.Tree-Template-Declare-0.7.x86_64-linux.4.8.0-2-amd64.1485431061.16168.rpt: XML::LibXML 0 2.0128
/home/e/eserte/var/cpansmoker/done/2017-04/pass.Tree-Template-Declare-0.7.x86_64-linux.4.4.0-72-generic.1493006472.10325.rpt: XML::LibXML 0 2.0129
/home/e/eserte/var/cpansmoker/done/2017-04/pass.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-2-amd64.1493004539.24411.rpt: XML::LibXML 0 2.0129
/home/e/eserte/var/cpansmoker/done/2017-05/pass.Tree-Template-Declare-0.7.x86_64-linux.4.4.0-77-generic.1495156641.21724.rpt: XML::LibXML 0 2.0129
/home/e/eserte/var/cpansmoker/done/2017-05/pass.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-2-amd64.1495110610.31043.rpt: XML::LibXML 0 2.0129
/home/e/eserte/var/cpansmoker/done/2017-07/pass.Tree-Template-Declare-0.7.x86_64-linux-thread-multi.4.9.0-3-amd64.1501276619.12264.rpt: XML::LibXML 0 2.0129
/home/e/eserte/var/cpansmoker/done/2017-07/pass.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-3-amd64.1501242968.22667.rpt: XML::LibXML 0 2.0129
/home/e/eserte/var/cpansmoker/done/2017-08/pass.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-3-amd64.1503552472.32472.rpt: XML::LibXML 0 2.0129
/home/e/eserte/var/cpansmoker/done/2017-09/pass.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-3-amd64.1505313749.17037.rpt: XML::LibXML 0 2.0129
/home/e/eserte/var/cpansmoker/done/2017-09/pass.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-3-amd64.1505335956.8265.rpt: XML::LibXML 0 2.0129
/home/e/eserte/var/cpansmoker/done/2017-09/pass.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-3-amd64.1506133995.24802.rpt: XML::LibXML 0 2.0129
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.amd64-freebsd.11.1-prerelease.1509217292.53012.rpt: XML::LibXML 0 2.0131
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.amd64-freebsd.11.1-stable.1509215715.38643.rpt: XML::LibXML 0 2.0131
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.amd64-freebsd.11.1-stable.1509217268.52630.rpt: XML::LibXML 0 2.0131
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.amd64-freebsd.11.1-stable.1509217316.53394.rpt: XML::LibXML 0 2.0131
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.x86_64-linux-ld.3.16.0-4-amd64.1509190806.32416.rpt: XML::LibXML 0 2.0131
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.x86_64-linux-thread-multi.4.9.0-3-amd64.1509191583.29177.rpt: XML::LibXML 0 2.0131
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.x86_64-linux.4.4.0-91-generic.1509188179.32406.rpt: XML::LibXML 0 2.0131
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.x86_64-linux.4.4.0-97-generic.1509188225.8215.rpt: XML::LibXML 0 2.0131
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-3-amd64.1509191498.27368.rpt: XML::LibXML 0 2.0130
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-3-amd64.1509191508.27506.rpt: XML::LibXML 0 2.0130
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-3-amd64.1509191518.27628.rpt: XML::LibXML 0 2.0130
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-3-amd64.1509191528.27767.rpt: XML::LibXML 0 2.0130
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-3-amd64.1509191547.28019.rpt: XML::LibXML 0 2.0130
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-3-amd64.1509191564.28661.rpt: XML::LibXML 0 2.0131
/home/e/eserte/var/cpansmoker/new/fail.Tree-Template-Declare-0.7.x86_64-linux.4.9.0-3-amd64.1509191572.28934.rpt: XML::LibXML 0 2.0130
/home/e/eserte/var/cpansmoker/new/pass.Tree-Template-Declare-0.7.x86_64-linux-thread-multi.4.9.0-3-amd64.1509191537.27885.rpt: XML::LibXML 0 2.0129
/home/e/eserte/var/cpansmoker/new/pass.Tree-Template-Declare-0.7.x86_64-linux-thread-multi.4.9.0-3-amd64.1509191557.28287.rpt: XML::LibXML 0 2.0129