Subject: | EntityModel: extensive test failures against perl-5.31.* |
Tested today against perl-5.31.9 on FreeBSD-11, threaded, as part of CPAN-River-3000 testing, this module failed with the following errors:
#####
$ dumpjson TEAM.EntityModel-0.102.log.json
{
author => "TEAM",
dist => "EntityModel",
distname => "EntityModel-0.102",
distversion => 0.102,
grade => "FAIL",
prereqs => undef,
test_output => [
"Building and testing EntityModel-0.102",
"cp share/template/support/android.tt2 blib/lib/auto/share/dist/EntityModel/template/support/android.tt2",
...
"cp lib/EntityModel/StorageClass/KVStore/Layer/LRU.pm blib/lib/EntityModel/StorageClass/KVStore/Layer/LRU.pm",
"cp bin/entitymodel blib/script/entitymodel",
"\"/usr/home/jkeenan/var/tad/testing/perl-5.31.9/bin/perl\" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/entitymodel",
"Skip blib/lib/auto/share/dist/EntityModel/template/support/java.tt2 (unchanged)",
"Skip blib/lib/auto/share/dist/EntityModel/template/support/django.tt2 (unchanged)",
"Skip blib/lib/auto/share/dist/EntityModel/template/support/cpp.tt2 (unchanged)",
"Skip blib/lib/auto/share/dist/EntityModel/template/support/android.tt2 (unchanged)",
"Skip blib/lib/auto/share/dist/EntityModel/template/support/js.tt2 (unchanged)",
"Skip blib/lib/auto/share/dist/EntityModel/template/support/c.tt2 (unchanged)",
"PERL_DL_NONLAZY=1 \"/usr/home/jkeenan/var/tad/testing/perl-5.31.9/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')\" t/*.t t/support/*.t",
"t/00-check-deps.t .......... ok",
"t/00-compile.t ............. ok",
"Can't call method \"try\" on an undefined value at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel.pm line 296.",
"# Looks like your test exited with 255 before it could output anything.",
"t/00-test-entitymodel.t .... ",
"Dubious, test returned 255 (wstat 65280, 0xff00)",
"Failed 6/6 subtests ",
"t/app.t .................... ok",
"Can't call method \"try\" on an undefined value at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel.pm line 296.",
"# Looks like your test exited with 255 just after 12.",
"t/async-storage-perl.t ..... ",
"Dubious, test returned 255 (wstat 65280, 0xff00)",
"Failed 2/14 subtests ",
"t/async.t .................. skipped: i broke it",
"t/cache.t .................. ok",
"Use of uninitialized value \$param[0] in join or string at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel/Collection.pm line 36.",
"Use of uninitialized value \$param[0] in join or string at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel/Collection.pm line 36.",
"\t(in cleanup) Can't locate object method \"catch\" via package \"1\" (perhaps you forgot to load \"1\"?) at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel/Collection.pm line 42.",
" # Looks like you planned 26 tests but ran 19.",
"",
"# Failed test 'Basic EntityModel::Collection functionality'",
"# at t/collection.t line 57.",
"Can't locate object method \"catch\" via package \"1\" (perhaps you forgot to load \"1\"?) at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel/Collection.pm line 42.",
"# Looks like your test exited with 255 just after 1.",
"t/collection.t ............. ",
"Dubious, test returned 255 (wstat 65280, 0xff00)",
"Failed 3/3 subtests ",
"t/deferred.t ............... ok",
"t/definition.t ............. ok",
"Use of uninitialized value \$param[0] in join or string at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel/Collection.pm line 36.",
" # Looks like you planned 24 tests but ran 16.",
"",
"# Failed test 'EntityModel::Collection compatibility'",
"# at t/entity-collection.t line 53.",
"Can't locate object method \"catch\" via package \"1\" (perhaps you forgot to load \"1\"?) at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel/Collection.pm line 42.",
"# Looks like your test exited with 255 just after 1.",
"Use of uninitialized value \$param[0] in join or string at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel/Collection.pm line 36 during global destruction.",
"\t(in cleanup) \t(in cleanup) at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel/Collection.pm line 42 during global destruction.",
"t/entity-collection.t ...... ",
"Dubious, test returned 255 (wstat 65280, 0xff00)",
"Failed 4/4 subtests ",
"t/entity.t ................. ok",
"t/entitymodel.t ............ skipped: incomplete",
"t/field.t .................. ok",
"Can't call method \"try\" on an undefined value at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel.pm line 296.",
"BEGIN failed--compilation aborted at t/general.t line 124.",
"t/general.t ................ ",
"Dubious, test returned 255 (wstat 65280, 0xff00)",
"No subtests run ",
"t/kvstore.t ................ skipped: skipping to avoid IO::Async requirement",
"t/large-model.t ............ skipped: pointless test, skip for now",
"t/new-api.t ................ ok",
"t/plugin.t ................. ok",
"t/query.t .................. ok",
"Can't call method \"try\" on an undefined value at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel.pm line 296.",
"# Looks like your test exited with 255 just after 1.",
"t/resolver.t ............... ",
"Dubious, test returned 255 (wstat 65280, 0xff00)",
"Failed 16/17 subtests ",
"t/sharedir.t ............... ok",
"Can't call method \"try\" on an undefined value at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel.pm line 296.",
"# Looks like your test exited with 255 before it could output anything.",
"t/storage-create-entity.t .. ",
"Dubious, test returned 255 (wstat 65280, 0xff00)",
"Failed 2/2 subtests ",
"",
"# Failed test 'setup_model died (Can't call method \"try\" on an undefined value at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel.pm line 296.)'",
"# at t/storage.t line 134.",
"# (in EntityModel::Storage::PerlTest->setup_model)",
"# Looks like you planned 242 tests but ran 6.",
"# Looks like you failed 1 test of 6 run.",
"t/storage.t ................ ",
"Dubious, test returned 1 (wstat 256, 0x100)",
"Failed 237/242 subtests ",
"\t(less 3 skipped subtests: 2 okay)",
"t/support/c.t .............. ok",
"t/support/cpp.t ............ ok",
"t/support/django.t ......... skipped: Inline::Python not found",
"t/support/doctrine.t ....... skipped: no php",
"t/support/java.t ........... skipped: Inline::Java not found",
"t/support/js.t ............. skipped: JavaScript::V8 not found",
"Can't call method \"try\" on an undefined value at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel.pm line 296.",
"# Looks like your test exited with 255 before it could output anything.",
"t/support/perl.t ........... ",
"Dubious, test returned 255 (wstat 65280, 0xff00)",
"Failed 4/4 subtests ",
"t/support/propel.t ......... skipped: no php",
"t/support/python.t ......... skipped: Inline::Python not found",
"t/support/redbean.t ........ skipped: no php",
"t/template.t ............... ok",
"",
"# Failed test 'EntityModel::Cache is a valid, working EntityModel::Cache (sub)class'",
"# at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel/Test/Cache.pm line 75.",
"Can't call method \"catch\" on an undefined value at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel/Test/Cache.pm line 101.",
"# Looks like your test exited with 255 just after 1.",
"t/test-cache.t ............. ",
"Dubious, test returned 255 (wstat 65280, 0xff00)",
"Failed 4/4 subtests ",
"",
"# Failed test 'EntityModel::Storage is a valid, working EntityModel::Storage (sub)class'",
"# at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel/Test/Storage.pm line 266.",
"Can't call method \"catch\" on an undefined value at /usr/home/jkeenan/var/tad/testing/perl-5.31.9/.cpanm/work/1582297107.50587/EntityModel-0.102/blib/lib/EntityModel/Test/Storage.pm line 134.",
"# Looks like your test exited with 255 just after 1.",
"t/test-storage.t ........... ",
"Dubious, test returned 255 (wstat 65280, 0xff00)",
"Failed 4/4 subtests ",
"t/transaction.t ............ ok",
"",
"Test Summary Report",
"-------------------",
"t/00-test-entitymodel.t (Wstat: 65280 Tests: 0 Failed: 0)",
" Non-zero exit status: 255",
" Parse errors: Bad plan. You planned 6 tests but ran 0.",
"t/async-storage-perl.t (Wstat: 65280 Tests: 12 Failed: 0)",
" Non-zero exit status: 255",
" Parse errors: Bad plan. You planned 14 tests but ran 12.",
"t/collection.t (Wstat: 65280 Tests: 1 Failed: 1)",
" Failed test: 1",
" Non-zero exit status: 255",
" Parse errors: Bad plan. You planned 3 tests but ran 1.",
"t/entity-collection.t (Wstat: 65280 Tests: 1 Failed: 1)",
" Failed test: 1",
" Non-zero exit status: 255",
" Parse errors: Bad plan. You planned 4 tests but ran 1.",
"t/general.t (Wstat: 65280 Tests: 0 Failed: 0)",
" Non-zero exit status: 255",
" Parse errors: No plan found in TAP output",
"t/resolver.t (Wstat: 65280 Tests: 1 Failed: 0)",
" Non-zero exit status: 255",
" Parse errors: Bad plan. You planned 17 tests but ran 1.",
"t/storage-create-entity.t (Wstat: 65280 Tests: 0 Failed: 0)",
" Non-zero exit status: 255",
" Parse errors: Bad plan. You planned 2 tests but ran 0.",
"t/storage.t (Wstat: 256 Tests: 6 Failed: 1)",
" Failed test: 3",
" Non-zero exit status: 1",
" Parse errors: Bad plan. You planned 242 tests but ran 6.",
"t/support/perl.t (Wstat: 65280 Tests: 0 Failed: 0)",
" Non-zero exit status: 255",
" Parse errors: Bad plan. You planned 4 tests but ran 0.",
"t/test-cache.t (Wstat: 65280 Tests: 1 Failed: 1)",
" Failed test: 1",
" Non-zero exit status: 255",
" Parse errors: Bad plan. You planned 4 tests but ran 1.",
"t/test-storage.t (Wstat: 65280 Tests: 1 Failed: 1)",
" Failed test: 1",
" Non-zero exit status: 255",
" Parse errors: Bad plan. You planned 4 tests but ran 1.",
"Files=38, Tests=300, 12 wallclock secs ( 0.10 usr 0.09 sys + 6.81 cusr 3.84 csys = 10.84 CPU)",
"Result: FAIL",
],
via => "App::cpanminus::reporter 0.17 (1.7044)",
}
#####
Can you investigate?
Thank you very much.
Jim Keenan