Subject: | Tests started to fail (with Mojolicious 7.19?) |
The t/02_smtp.t test started to fail on my smokers:
...
Bareword "Mojo::IOLoop::Client::TLS" not allowed while "strict subs" in use at t/02_smtp.t line 14.
Bareword "Mojo::IOLoop::Client::TLS" not allowed while "strict subs" in use at t/02_smtp.t line 13.
Execution of t/02_smtp.t aborted due to compilation errors.
t/02_smtp.t .....
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
...
And there are a lot of warnings in t/03_smtp_nb.t:
Mojo::Reactor::Poll: I/O watcher failed: Can't call method "_read" on an undefined value at /home/eserte/.cpan/build/2017012318/Mojolicious-7.21-1kclhi/blib/lib/Mojo/IOLoop/Stream.pm line 46, <DATA> line 36.
Mojo::Reactor::Poll: I/O watcher failed: Can't call method "_read" on an undefined value at /home/eserte/.cpan/build/2017012318/Mojolicious-7.21-1kclhi/blib/lib/Mojo/IOLoop/Stream.pm line 46.
Mojo::Reactor::Poll: I/O watcher failed: Can't call method "_read" on an undefined value at /home/eserte/.cpan/build/2017012318/Mojolicious-7.21-1kclhi/blib/lib/Mojo/IOLoop/Stream.pm line 46, <$sock1> line 12.
...
Statistical analysis suggests that the test suite is broken by Mojolicious 7.19 and newer (negative theta means "bad"):
****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.2064 4.85
[1='eq_6.02'] 0.0000 0.2918 0.00
[2='eq_6.63'] -0.0000 0.2383 -0.00
[3='eq_6.64'] 0.0000 0.2918 0.00
[4='eq_6.65'] 0.0000 0.2527 0.00
[5='eq_6.66'] -0.1200 0.2104 -0.57
[6='eq_7.0'] 0.0000 0.2383 0.00
[7='eq_7.03'] 0.0000 0.2206 0.00
[8='eq_7.05'] 0.0000 0.2918 0.00
[9='eq_7.07'] 0.0000 0.2918 0.00
[10='eq_7.08'] 0.0000 0.2527 0.00
[11='eq_7.09'] 0.0000 0.2918 0.00
[12='eq_7.10'] 0.0000 0.2918 0.00
[13='eq_7.12'] 0.0000 0.2918 0.00
[14='eq_7.14'] 0.0000 0.2527 0.00
[15='eq_7.18'] 0.0000 0.2383 0.00
[16='eq_7.19'] -1.0000 0.2229 -4.49
[17='eq_7.20'] -1.0000 0.2527 -3.96
[18='eq_7.21'] -1.0000 0.2120 -4.72
R^2= 0.858, N= 81, K= 19
****************************************************************