Subject: | Tests started to fail (with LWP::UserAgent::Caching 0.03?) |
My smokers started to show test failures like this:
...
# Failed test 'LWP::UserAgent::Caching::Simple->new() died'
# at t/00_use_ok_and_methods.t line 12.
# Error was: isa check for "cache_control_request" failed: undef is not a string! at (eval 124) line 102.
# eval {...} called at (eval 124) line 100
# HTTP::Caching::new("HTTP::Caching", "cache", CHI::Driver::File__WITH__CHI::Driver::Role::Universal=HASH(0x45c82d50), "cache_type", "private", "cache_control_request", undef, "forwarder", CODE(0x45c20840), ...) called at /home/cpansand/.cpan/build/2016122118/LWP-UserAgent-Caching-0.03-vXlQ0K/blib/lib/LWP/UserAgent/Caching.pm line 81
# LWP::UserAgent::Caching::new("LWP::UserAgent::Caching::Simple", "cache", CHI::Driver::File__WITH__CHI::Driver::Role::Universal=HASH(0x45c82d50)) called at /home/cpansand/.cpan/build/2016122118/LWP-UserAgent-Caching-Simple-0.02-WK4LM1/blib/lib/LWP/UserAgent/Caching/Simple.pm line 63
# LWP::UserAgent::Caching::Simple::new("LWP::UserAgent::Caching::Simple") called at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/More.pm line 690
# Test::More::__ANON__() called at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line 1527
# eval {...} called at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line 1527
# Test::Builder::_try(Test::Builder=HASH(0x41d968b8), CODE(0x4265b210)) called at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/More.pm line 690
# Test::More::new_ok("LWP::UserAgent::Caching::Simple", undef, "my \$ua_simple") called at t/00_use_ok_and_methods.t line 12
# main::__ANON__() called at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line 261
# Test::Builder::__ANON__() called at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line 266
# eval {...} called at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line 266
# Test::Builder::subtest(Test::Builder=HASH(0x41d968b8), "Instantiating LWP::UserAgent::Caching::Simple object", CODE(0x424dbed0)) called at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/More.pm line 771
# Test::More::subtest("Instantiating LWP::UserAgent::Caching::Simple object", CODE(0x424dbed0)) called at t/00_use_ok_and_methods.t line 15
# Looks like you failed 1 test of 1.
...
Statistical analysis suggests that this happens with LWP::UserAgent::Caching 0.03.