BBC: 4288c5b broke test in CPAN module XML::Easy

--------------ABE444FC7708068DB02D8512
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

As originally reported in 
https://rt.cpan.org/Ticket/Display.html?id=127416, a failure has 
appeared during this development cycle in the test suite for CPAN 
distribution XML-Easy.

#####
$ ~/bin/perl/dumpjson ZEFRAM.XML-Easy-0.011.log.json
{
   author => "ZEFRAM",
   dist => "XML-Easy",
   distname => "XML-Easy-0.011",
   distversion => 0.011,
   grade => "FAIL",
   prereqs => undef,
   test_output => [
     "Building and testing XML-Easy-0.011",
     "Building XML-Easy",
     "cc 
-I/home/jkeenan/var/tad/testing/perl-5.29.4/lib/5.29.4/amd64-freebsd-thread-multi/CORE 
-DVERSION=\"0.011\" -DXS_VERSION=\"0.011\" -DPIC -fPIC -c 
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 
-pipe -fstack-protector -fno-strict-aliasing -o lib/XML/Easy.o 
lib/XML/Easy.c",
 
"ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/XML/Easy/Easy.bs')",
     "cc -shared -L/usr/local/lib -fstack-protector-strong -o 
blib/arch/auto/XML/Easy/Easy.so lib/XML/Easy.o",
     "t/classify.t ........ ok",
     "t/classify_pp.t ..... ok",
     "t/easy_module.t ..... ok",
     "t/easy_module_pp.t .. ok",
     "t/node_basics.t ..... ok",
     "t/node_basics_pp.t .. ok",
     "t/node_object.t ..... ok",
     "t/node_object_pp.t .. ok",
     "t/pod_cvg.t ......... ok",
     "t/pod_cvg_pp.t ...... ok",
     "t/pod_syn.t ......... ok",
     "t/read.t ............ ok",
     "t/read_pp.t ......... ok",
     "WARNING: Complex regular subexpression recursion limit (65534) 
exceeded at t/syntax_main.t line 79, <GEN0> line 1635.",
     "# Looks like your test exited with 25 just after 369.",
     "t/syntax_main.t ..... ",
     "Dubious, test returned 25 (wstat 6400, 0x1900)",
     "Failed 640/1009 subtests ",
     "t/version_synch.t ... ok",
     "t/write.t ........... ok",
     "t/write_pp.t ........ ok",
     "",
     "Test Summary Report",
     "-------------------",
     "t/syntax_main.t   (Wstat: 6400 Tests: 369 Failed: 0)",
     "  Non-zero exit status: 25",
     "  Parse errors: Bad plan.  You planned 1009 tests but ran 369.",
     "Files=17, Tests=100677, 47 wallclock secs ( 0.46 usr  7.45 sys + 
40.20 cusr  6.88 csys = 54.98 CPU)",
     "Result: FAIL",
   ],
   via => "App::cpanminus::reporter 0.17 (1.7044)",
}
#####

I provided a patch (which has not yet been applied).  Slaven 
subsequently observed that this was probably was related to a change in 
blead.  Bisection points to:

#####
HEAD is now at 4288c5b93b Change REG_INFTY to 2**16-1, instead of 2**15-1
bad - non-zero exit from /tmp/GLUOqiNNx2/bin/perl -I /home/jkeenan/.cpan 
-MCPAN::MyConfig -MCPAN -e 
$CPAN::Config->{build_dir}=q{/tmp/wRUfXf4y2y}; -e install('XML::Easy'); 
die unless CPAN::Shell->expand(Module => 'XML::Easy')->uptodate;
4288c5b93b3823465d8a11e569547afd41b5d1b8 is the first bad commit
commit 4288c5b93b3823465d8a11e569547afd41b5d1b8
Author: Karl Williamson <khw@cpan.org>
Date:   Sun Sep 30 12:10:17 2018 -0600

Change REG_INFTY to 2**16-1, instead of 2**15-1

This commit doubles the upper limit that unbounded regular expression 
quantifiers can match up to.  Things like {m,} "+" and "*" now can match 
up to U16_MAX times.

We probably should make this a 32 bit value, but doing this doubling was 
easy and has fewer potential implications.

See http://nntp.perl.org/group/perl.perl5.porters/251413 and followups

:040000 040000 5180c35445d2089ef994fcb0634d5e0064197f50 
ca323198918692cde3d4d80cca850138f4a1e58b M	pod
:100644 100644 ea3a0661d9ffe614167b9e183394e9d89514e1f4 
0c5222692138a5614401d0c9b41a1183aee3bc27 M	regcomp.h
:040000 040000 fd6ac6b4d41de9a65f73f5ee7c61bbd4b70b9db3 
a911dcc50233fe4b31104610c85325128598f631 M	t
bisect run success
That took 2991 seconds.
#####

Thank you very much.

--------------ABE444FC7708068DB02D8512
Content-Type: text/plain; charset=UTF-8;
 name="perl_V.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="perl_V.txt"

ClRoaXMgaXMgcGVybCA1LCB2ZXJzaW9uIDI5LCBzdWJ2ZXJzaW9uIDcgKHY1LjI5LjcgKHY1
LjI5LjYtNjktZ2MwMTExNzRjYWUpKSBidWlsdCBmb3IgeDg2XzY0LWxpbnV4Cih3aXRoIDkz
IHJlZ2lzdGVyZWQgcGF0Y2hlcywgc2VlIHBlcmwgLVYgZm9yIG1vcmUgZGV0YWlsKQoKQ29w
eXJpZ2h0IDE5ODctMjAxOCwgTGFycnkgV2FsbAoKUGVybCBtYXkgYmUgY29waWVkIG9ubHkg
dW5kZXIgdGhlIHRlcm1zIG9mIGVpdGhlciB0aGUgQXJ0aXN0aWMgTGljZW5zZSBvciB0aGUK
R05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UsIHdoaWNoIG1heSBiZSBmb3VuZCBpbiB0aGUg
UGVybCA1IHNvdXJjZSBraXQuCgpDb21wbGV0ZSBkb2N1bWVudGF0aW9uIGZvciBQZXJsLCBp
bmNsdWRpbmcgRkFRIGxpc3RzLCBzaG91bGQgYmUgZm91bmQgb24KdGhpcyBzeXN0ZW0gdXNp
bmcgIm1hbiBwZXJsIiBvciAicGVybGRvYyBwZXJsIi4gIElmIHlvdSBoYXZlIGFjY2VzcyB0
byB0aGUKSW50ZXJuZXQsIHBvaW50IHlvdXIgYnJvd3NlciBhdCBodHRwOi8vd3d3LnBlcmwu
b3JnLywgdGhlIFBlcmwgSG9tZSBQYWdlLgoK
--------------ABE444FC7708068DB02D8512--
0
jkeenan
2/2/2019 3:13:28 PM
perl.perl5.porters 47560 articles. 1 followers. Follow

1 Replies
31 Views

Similar Articles

[PageSpeed] 41

On 2/2/19 10:13 AM, James E Keenan wrote:
> As originally reported in 
> https://rt.cpan.org/Ticket/Display.html?id=127416, a failure has 
> appeared during this development cycle in the test suite for CPAN 
> distribution XML-Easy.
> 

By mistake, I posted this to perl5.porters rather than to perlbug. 
Please comment in the bug ticket or equivalent thread:

https://rt.perl.org/Ticket/Display.html?id=133816

Thank you very much.
Jim Keenan
0
jkeenan
2/2/2019 3:21:30 PM
Reply: