Re: [Perl-workflow-devel] 0.32_4 tests, not good :-/
Brought to you by:
jonasbn
From: Jonas B. N. <jo...@gm...> - 2008-08-20 07:03:20
|
Ok, I did some googling and I found a link to perlmonks: http://www.perlmonks.org/?node_id=512040 Here is the explanation, taken from (): ####### The problem in this case is a bug in the XML::SAX::RTF installer, which registers itself in ...lib.../XML/SAX/ParserDetails.ini. This ini file is used to determine the default SAX parser and since XML::SAX::RTF was installed most recently, it is the default. Unfortunately, XML::SAX::RTF is not an XML parser (despite generating SAX events) so it should be removed from the ParserDetails.ini file. I have reported this problem to the module maintainer some time ago, but I will try again and submit a patch this time. Thanks for the test. Grant ####### So the problem could be with XML::SAX::RTF http://rt.cpan.org/Ticket/Display.html?id=5943 I will write Grant and ask how things are going with this and hopefully we can get it out of the way by introducing a requirement for XML::SAX::RTF (patched version) even though we do not use it. jonasbn On 20/08/2008, at 08.30, Jonas Brømsø Nielsen wrote: > Hello all, > > Apparently we have some more issues, the colour report is not > available yet, but from the mails and RSS I can see that we have > some issues. > > The report will be here at some point: > > http://cpantesters.perl.org/show/Workflow.html#Workflow-0.32_4 > > The mails can be seen online, but I have added an excerpt from one > below. > > I think this is XML parser related, ideas and suggestions are > welcome, I will start to dig into this shortly. > > jonasbn > -- > > Output from '/usr/bin/make test': > > PERL_DL_NONLAZY=1 /home/src/perl/repoperls/installed-perls/ > maint-5.10/pjgo6vl/perl-5.10.0@33955/bin/perl "- > MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/ > arch')" t/*.t > t/00_load..........................Log4perl: Seems like no > initialization happened. Forgot to call init()? > ok > t/02_pod...........................skipped: set TEST_POD to enable > this test > t/03_pod-coverage..................skipped: set TEST_POD to enable > this test > t/action...........................ok > t/action_field.....................ok > t/action_mailer....................ok > t/action_null......................ok > t/base.............................ok > t/cached_conditions................Processing > workflow_cached_condition_condition.xml: No _parse_* routine defined > on this driver (If it is a filter, remember to set the Parent > property. If you call the parse() method, make sure to set a Source. > You may want to call parse_uri, parse_string or parse_file instead.) > [XML::LibXML::SAX::ChunkParser=HASH(0x87a1b74)] at /home/src/perl/ > repoperls/installed-perls/maint-5.10/pjgo6vl/perl-5.10.0@33955/lib/ > site_perl/5.10.0/XML/SAX/Base.pm line 2616. > # Looks like your test died before it could output anything. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 3/3 subtests > t/condition........................Processing > workflow_condition.xml: No _parse_* routine defined on this driver > (If it is a filter, remember to set the Parent property. If you call > the parse() method, make sure to set a Source. You may want to call > parse_uri, parse_string or parse_file instead.) > [XML::LibXML::SAX::ChunkParser=HASH(0x87b2f60)] at /home/src/perl/ > repoperls/installed-perls/maint-5.10/pjgo6vl/perl-5.10.0@33955/lib/ > site_perl/5.10.0/XML/SAX/Base.pm line 2616. > # Looks like you planned 11 tests but only ran 3. > # Looks like your test died just after 3. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 8/11 subtests > t/condition_evaluate...............ok > t/config...........................Processing workflow_action.xml: > No _parse_* routine defined on this driver (If it is a filter, > remember to set the Parent property. If you call the parse() method, > make sure to set a Source. You may want to call parse_uri, > parse_string or parse_file instead.) > [XML::LibXML::SAX::ChunkParser=HASH(0x86dcdbc)] at /home/src/perl/ > repoperls/installed-perls/maint-5.10/pjgo6vl/perl-5.10.0@33955/lib/ > site_perl/5.10.0/XML/SAX/Base.pm line 2616. > # Looks like you planned 47 tests but only ran 6. > # Looks like your test died just after 6. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 41/47 subtests > t/context..........................ok > t/exception........................ok > t/factory.......................... > # Failed test at t/factory.t line 30. > # died: Processing workflow_condition.xml: No _parse_* routine > defined on this driver (If it is a filter, remember to set the > Parent property. If you call the parse() method, make sure to set a > Source. You may want to call parse_uri, parse_string or parse_file > instead.) [XML::LibXML::SAX::ChunkParser=HASH(0x87b7ce0)] at /home/ > src/perl/repoperls/installed-perls/maint-5.10/pjgo6vl/ > perl-5.10.0@33955/lib/site_perl/5.10.0/XML/SAX/Base.pm line 2616. > > # Failed test at t/factory.t line 35. > # died: Processing workflow_condition.xml: No _parse_* routine > defined on this driver (If it is a filter, remember to set the > Parent property. If you call the parse() method, make sure to set a > Source. You may want to call parse_uri, parse_string or parse_file > instead.) [XML::LibXML::SAX::ChunkParser=HASH(0x87b7d80)] at /home/ > src/perl/repoperls/installed-perls/maint-5.10/pjgo6vl/ > perl-5.10.0@33955/lib/site_perl/5.10.0/XML/SAX/Base.pm line 2616. > # Looks like you failed 2 tests of 7. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/7 subtests > t/factory_subclass.................ok > t/history..........................ok > t/persister........................ok > t/persister_dbi....................Processing > workflow_condition.xml: No _parse_* routine defined on this driver > (If it is a filter, remember to set the Parent property. If you call > the parse() method, make sure to set a Source. You may want to call > parse_uri, parse_string or parse_file instead.) > [XML::LibXML::SAX::ChunkParser=HASH(0x88fecf4)] at /home/src/perl/ > repoperls/installed-perls/maint-5.10/pjgo6vl/perl-5.10.0@33955/lib/ > site_perl/5.10.0/XML/SAX/Base.pm line 2616. > # Looks like you planned 43 tests but only ran 1. > # Looks like your test died just after 1. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 42/43 subtests > t/persister_dbi_extra_data.........ok > t/persister_dbi_sqlite.............Cannot read '/home/sand/.cpan/ > build/Workflow-0.32_4-GPzZCN/t/struct/workflow_sqlite.sql': Datei > oder Verzeichnis nicht gefunden at TestDBUtil.pm line 93. > Dubious, test returned 2 (wstat 512, 0x200) > No subtests run > t/persister_file...................Processing > workflow_condition.xml: No _parse_* routine defined on this driver > (If it is a filter, remember to set the Parent property. If you call > the parse() method, make sure to set a Source. You may want to call > parse_uri, parse_string or parse_file instead.) > [XML::LibXML::SAX::ChunkParser=HASH(0x87e097c)] at /home/src/perl/ > repoperls/installed-perls/maint-5.10/pjgo6vl/perl-5.10.0@33955/lib/ > site_perl/5.10.0/XML/SAX/Base.pm line 2616. > # Looks like you planned 19 tests but only ran 1. > # Looks like your test died just after 1. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 18/19 subtests > t/persister_random_id..............ok > t/persister_spops..................skipped: SPOPS not installed > t/persister_uuid...................ok > t/state............................Processing > workflow_condition.xml: No _parse_* routine defined on this driver > (If it is a filter, remember to set the Parent property. If you call > the parse() method, make sure to set a Source. You may want to call > parse_uri, parse_string or parse_file instead.) > [XML::LibXML::SAX::ChunkParser=HASH(0x879ec68)] at /home/src/perl/ > repoperls/installed-perls/maint-5.10/pjgo6vl/perl-5.10.0@33955/lib/ > site_perl/5.10.0/XML/SAX/Base.pm line 2616. > # Looks like you planned 19 tests but only ran 1. > # Looks like your test died just after 1. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 18/19 subtests > t/state_perl.......................# Running with perl config. > ok > t/validator........................ok > t/validator_has_required_field.....ok > t/validator_in_enumerated_type.....Use of uninitialized value in > concatenation (.) or string at /home/sand/.cpan/build/ > Workflow-0.32_4-GPzZCN/blib/lib/Workflow/Validator.pm line 19. > Use of uninitialized value in concatenation (.) or string at /home/ > sand/.cpan/build/Workflow-0.32_4-GPzZCN/blib/lib/Workflow/ > Validator.pm line 19. > Use of uninitialized value in concatenation (.) or string at /home/ > sand/.cpan/build/Workflow-0.32_4-GPzZCN/blib/lib/Workflow/ > Validator.pm line 19. > ok > t/validator_matches_date_format....Use of uninitialized value in > concatenation (.) or string at /home/sand/.cpan/build/ > Workflow-0.32_4-GPzZCN/blib/lib/Workflow/Validator.pm line 19. > Use of uninitialized value in concatenation (.) or string at /home/ > sand/.cpan/build/Workflow-0.32_4-GPzZCN/blib/lib/Workflow/ > Validator.pm line 19. > ok > t/workflow.........................Processing > workflow_condition.xml: No _parse_* routine defined on this driver > (If it is a filter, remember to set the Parent property. If you call > the parse() method, make sure to set a Source. You may want to call > parse_uri, parse_string or parse_file instead.) > [XML::LibXML::SAX::ChunkParser=HASH(0x883a1d8)] at /home/src/perl/ > repoperls/installed-perls/maint-5.10/pjgo6vl/perl-5.10.0@33955/lib/ > site_perl/5.10.0/XML/SAX/Base.pm line 2616. > # Looks like you planned 35 tests but only ran 1. > # Looks like your test died just after 1. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 34/35 subtests > > Test Summary Report > ------------------- > t/cached_conditions (Wstat: 65280 Tests: 0 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 3 tests but ran 0. > t/condition (Wstat: 65280 Tests: 3 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 11 tests but ran 3. > t/config (Wstat: 65280 Tests: 6 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 47 tests but ran 6. > t/factory (Wstat: 512 Tests: 7 Failed: 2) > Failed tests: 6-7 > Non-zero exit status: 2 > t/persister_dbi (Wstat: 65280 Tests: 1 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 43 tests but ran 1. > t/persister_dbi_sqlite (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: No plan found in TAP output > t/persister_file (Wstat: 65280 Tests: 1 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 19 tests but ran 1. > t/state (Wstat: 65280 Tests: 1 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 19 tests but ran 1. > t/workflow (Wstat: 65280 Tests: 1 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 35 tests but ran 1. > Files=32, Tests=191, 19 wallclock secs ( 0.24 usr 0.05 sys + 14.34 > cusr 1.40 csys = 16.03 CPU) > Result: FAIL > Failed 9/32 test programs. 2/191 subtests failed. > make: *** [test_dynamic] Fehler 255 > > ------------------------------ > PREREQUISITES > ------------------------------ > > Prerequisite modules loaded: > > requires: > > Module Need Have > -------------------------- ---- -------- > Class::Accessor 0.18 0.31 > Class::Factory 1 1.06 > Class::Observable 1.04 1.04 > Data::Dumper 0 2.121_14 > DateTime 0.15 0.4304 > DateTime::Format::Strptime 1 1.0800 > DBD::Mock 0.1 1.37 > DBI 0 1.607 > Exception::Class 1.1 1.24 > List::MoreUtils 0 0.22 > Log::Dispatch 2 2.21 > Log::Log4perl 0.34 1.17 > Safe 0 2.16 > Test::Exception 0 0.27 > Test::More 0.41 0.80 > XML::Simple 2 2.18 > > > > > -- > pauseid: JONASBN > email: jo...@cp... > blog: http://use.perl.org/~jonasbn/journal/ > > |