I noticed this error while building CHI with Perl 5.26
and can noticed that t/smoke-Driver-NonMoose.t was randomly failing
Failed test 'CHI::Test::Driver::NonMoose:l1_cache size = 40'
Failed test 'CHI::Test::Driver::NonMoose:l1_cache keys = 2'
rebuilding it fixes the issue for me, I've not investigated the source of the problem
but there could be something wrong there
# Testing CHI 0.60, Perl 5.026000, /usr/local/cpanel/3rdparty/perl/526/bin/perl
t/00-load.t ............................. ok
t/author-03-pod.t ....................... skipped: these tests are for testing by the author
t/author-file-driver.t .................. skipped: these tests are for testing by the author
t/author-no-data-serializer.t ........... skipped: these tests are for testing by the author
t/author-RequiredModules.t .............. skipped: these tests are for testing by the author
t/Bugs.t ................................ ok
t/Config.t .............................. ok
t/Constants.t ........................... ok
t/Driver-Memory.t ....................... ok
t/Driver-RawMemory.t .................... ok
t/GetError.t ............................ ok
t/Initialize.t .......................... ok
t/release-dependent.t ................... skipped: these tests are for release candidate testing
t/Sanity.t .............................. ok
t/SetError.t ............................ ok
t/smoke-Driver-CacheCache.t ............. skipped: one of required modules not installed: Cache::Cache
t/smoke-Driver-FastMmap.t ............... skipped: one of required modules not installed: Cache::FastMmap
t/smoke-Driver-File-DepthZero.t ......... ok
t/smoke-Driver-File.t ................... ok
# 40 is not between 59 and 99
# Failed test 'CHI::Test::Driver::NonMoose:l1_cache size = 40'
# at /home/rpmbuild/rpm-build/BUILD/CHI-0.60/blib/lib/CHI/t/Driver.pm line 1555.
# (in CHI::t::Driver::NonMoose->test_size_awareness_with_subcaches)
# 2 is not between 3 and 5
# Failed test 'CHI::Test::Driver::NonMoose:l1_cache keys = 2'
# at /home/rpmbuild/rpm-build/BUILD/CHI-0.60/blib/lib/CHI/t/Driver.pm line 1557.
# (in CHI::t::Driver::NonMoose->test_size_awareness_with_subcaches)
# Looks like you failed 2 tests of 874.
t/smoke-Driver-NonMoose.t ...............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/874 subtests
(less 1 skipped subtest: 871 okay)
t/smoke-Driver-Subcache-l1_cache.t ...... ok
t/smoke-Driver-Subcache-mirror_cache.t .. ok
t/smoke-Null.t .......................... ok
t/Subcache.t ............................ ok
t/Subclass.t ............................ ok
t/Util.t ................................ ok
Test Summary Report
-------------------
t/smoke-Driver-NonMoose.t (Wstat: 512 Tests: 874 Failed: 2)
Failed tests: 863-864
Non-zero exit status: 2
Files=26, Tests=5218, 11 wallclock secs ( 0.57 usr 0.06 sys + 8.49 cusr 0.94 csys = 10.06 CPU)
Result: FAIL
Failed 1/26 test programs. 2/5218 subtests failed.
make: *** [test_dynamic] Error 255
error: Bad exit status from /var/tmp/rpm-tmp.5yDawl (%check)
I noticed this error while building CHI with Perl 5.26
and can noticed that t/smoke-Driver-NonMoose.t was randomly failing
Failed test 'CHI::Test::Driver::NonMoose:l1_cache size = 40'Failed test 'CHI::Test::Driver::NonMoose:l1_cache keys = 2'rebuilding it fixes the issue for me, I've not investigated the source of the problem
but there could be something wrong there