Raku / modules.raku.org

Source code for modules.raku.org - Raku module listing
https://modules.raku.org/
Artistic License 2.0
27 stars 27 forks source link

Tests fail #111

Open JJ opened 5 years ago

JJ commented 5 years ago

With perl 5.20 and perl 5.24. Here's the result for this:

t/01-models/01-build-stats.t .............................. 4/? # New stats
# Update stats
# Delete stats
t/01-models/01-build-stats.t .............................. ok    
t/01-models/02-dists.t .................................... 1/? DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::SQLite::st execute failed: NOT NULL constraint failed: dists.repo_url [for Statement "INSERT INTO dists ( appveyor_status, appveyor_url, author_id, build_id, date_added, date_updated, description, dist_source, files, issue_url, issues, meta_url, name, repo_url, stargazer_url, stars, travis_status, url) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )" with ParamValues: 1="not set up", 2="", 3="Dynacoder", 4="rvOZAHmQ5RGKE79B+wjaYA==", 5=1446694664, 6=0, 7="Test Dist1", 8="unknown", 9="{}", 10="unknown", 11=12, 12="https://raw.githubusercontent.com/zoffixznet/perl6-Pastebin-Gist/master/META.info", 13="Dist1", 14=undef, 15="unknown", 16=42, 17="passing", 18="https://github.com/perl6/modules.perl6.org"] at /home/jmerelo/Code/forks/perl6/modules.perl6.org/blib/lib/ModulesPerl6/Model/Dists.pm line 84
DBIx::Class::Storage::TxnScopeGuard::DESTROY(): A DBIx::Class::Storage::TxnScopeGuard went out of scope without explicit commit or error. Rolling back. at /home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/DBIx/Class/Exception.pm line 77
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 4.
t/01-models/02-dists.t .................................... Dubious, test returned 2 (wstat 512, 0x200)
All 4 subtests passed 
t/01-models/03-site-tips.t ................................ 1/?     # Seen these tips: Tip 1, Tip 2
t/01-models/03-site-tips.t ................................ ok   
t/02-db-builder/01-logger.t ............................... ok    
t/02-db-builder/02-github-source-and-source-base-class.t .. 1/? DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::SQLite::st execute failed: NOT NULL constraint failed: dists.repo_url [for Statement "INSERT INTO dists ( appveyor_status, appveyor_url, author_id, build_id, date_added, date_updated, description, dist_source, files, issue_url, issues, meta_url, name, repo_url, stargazer_url, stars, travis_status, url) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )" with ParamValues: 1="not set up", 2="", 3="Dynacoder", 4="rvOZAHmQ5RGKE79B+wjaYA==", 5=1446694664, 6=0, 7="Test Dist1", 8="unknown", 9="{}", 10="unknown", 11=12, 12="https://raw.githubusercontent.com/zoffixznet/perl6-Pastebin-Gist/master/META.info", 13="Dist1", 14=undef, 15="unknown", 16=42, 17="passing", 18="https://github.com/perl6/modules.perl6.org"] at /home/jmerelo/Code/forks/perl6/modules.perl6.org/blib/lib/ModulesPerl6/Model/Dists.pm line 84
DBIx::Class::Storage::TxnScopeGuard::DESTROY(): A DBIx::Class::Storage::TxnScopeGuard went out of scope without explicit commit or error. Rolling back. at /home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/DBIx/Class/Exception.pm line 77
Use of uninitialized value $db_file in unlink at t/02-db-builder/02-github-source-and-source-base-class.t line 17.
END failed--call queue aborted at t/02-db-builder/02-github-source-and-source-base-class.t line 77.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 22 just after 2.
t/02-db-builder/02-github-source-and-source-base-class.t .. Dubious, test returned 22 (wstat 5632, 0x1600)
All 2 subtests passed 
t/02-db-builder/03-dist-source-errors.t ................... 1/? DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::SQLite::st execute failed: NOT NULL constraint failed: dists.repo_url [for Statement "INSERT INTO dists ( appveyor_status, appveyor_url, author_id, build_id, date_added, date_updated, description, dist_source, files, issue_url, issues, meta_url, name, repo_url, stargazer_url, stars, travis_status, url) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )" with ParamValues: 1="not set up", 2="", 3="Dynacoder", 4="rvOZAHmQ5RGKE79B+wjaYA==", 5=1446694664, 6=0, 7="Test Dist1", 8="unknown", 9="{}", 10="unknown", 11=12, 12="https://raw.githubusercontent.com/zoffixznet/perl6-Pastebin-Gist/master/META.info", 13="Dist1", 14=undef, 15="unknown", 16=42, 17="passing", 18="https://github.com/perl6/modules.perl6.org"] at /home/jmerelo/Code/forks/perl6/modules.perl6.org/blib/lib/ModulesPerl6/Model/Dists.pm line 84
DBIx::Class::Storage::TxnScopeGuard::DESTROY(): A DBIx::Class::Storage::TxnScopeGuard went out of scope without explicit commit or error. Rolling back. at /home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/DBIx/Class/Exception.pm line 77
Use of uninitialized value $db_file in unlink at t/02-db-builder/03-dist-source-errors.t line 15.
END failed--call queue aborted at t/02-db-builder/03-dist-source-errors.t line 77.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 22 just after 1.
t/02-db-builder/03-dist-source-errors.t ................... Dubious, test returned 22 (wstat 5632, 0x1600)
All 1 subtests passed 
t/02-db-builder/04-dist.t ................................. 1/? DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::SQLite::st execute failed: NOT NULL constraint failed: dists.repo_url [for Statement "INSERT INTO dists ( appveyor_status, appveyor_url, author_id, build_id, date_added, date_updated, description, dist_source, files, issue_url, issues, meta_url, name, repo_url, stargazer_url, stars, travis_status, url) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )" with ParamValues: 1="not set up", 2="", 3="Dynacoder", 4="rvOZAHmQ5RGKE79B+wjaYA==", 5=1446694664, 6=0, 7="Test Dist1", 8="unknown", 9="{}", 10="unknown", 11=12, 12="https://raw.githubusercontent.com/zoffixznet/perl6-Pastebin-Gist/master/META.info", 13="Dist1", 14=undef, 15="unknown", 16=42, 17="passing", 18="https://github.com/perl6/modules.perl6.org"] at /home/jmerelo/Code/forks/perl6/modules.perl6.org/blib/lib/ModulesPerl6/Model/Dists.pm line 84
DBIx::Class::Storage::TxnScopeGuard::DESTROY(): A DBIx::Class::Storage::TxnScopeGuard went out of scope without explicit commit or error. Rolling back. at /home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/DBIx/Class/Exception.pm line 77
Use of uninitialized value $db_file in unlink at t/02-db-builder/04-dist.t line 15.
END failed--call queue aborted at t/02-db-builder/04-dist.t line 77.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 22 just after 1.
t/02-db-builder/04-dist.t ................................. Dubious, test returned 22 (wstat 5632, 0x1600)
All 1 subtests passed 
t/02-db-builder/05-build-project-list.pl.t ................ "spurt" is not exported by the Mojo::Util module
Can't continue after import errors at t/02-db-builder/05-build-project-list.pl.t line 7.
BEGIN failed--compilation aborted at t/02-db-builder/05-build-project-list.pl.t line 7.
t/02-db-builder/05-build-project-list.pl.t ................ Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
t/02-db-builder/06-postprocessor-travis.t ................. 1/? 
#   Failed test 'use ModulesPerl6::DbBuilder::Dist::PostProcessor::TravisCI;'
#   at t/02-db-builder/06-postprocessor-travis.t line 9.
#     Tried to use 'ModulesPerl6::DbBuilder::Dist::PostProcessor::TravisCI'.
#     Error:  Can't locate ModulesPerl6/DbBuilder/Dist/PostProcessor/TravisCI.pm in @INC (you may need to install the ModulesPerl6::DbBuilder::Dist::PostProcessor::TravisCI module) (@INC contains: /home/jmerelo/Code/forks/perl6/modules.perl6.org/blib/lib /home/jmerelo/Code/forks/perl6/modules.perl6.org/blib/arch /home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/x86_64-linux /home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0 /home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/lib/5.20.0/x86_64-linux /home/jmerelo/perl5/perlbrew/perls/perl-5.20.0/lib/5.20.0 .) at t/02-db-builder/06-postprocessor-travis.t line 9.
# BEGIN failed--compilation aborted at t/02-db-builder/06-postprocessor-travis.t line 9.
    # No tests run!

#   Failed test 'No tests run for subtest "Bailout if dist does not have date_updated"'
#   at t/02-db-builder/06-postprocessor-travis.t line 20.
Can't locate object method "new" via package "ModulesPerl6::DbBuilder::Dist::PostProcessor::TravisCI" (perhaps you forgot to load "ModulesPerl6::DbBuilder::Dist::PostProcessor::TravisCI"?) at t/02-db-builder/06-postprocessor-travis.t line 14.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 2.
t/02-db-builder/06-postprocessor-travis.t ................. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests 
t/02-db-builder/07-db-builder.pm.t ........................ "spurt" is not exported by the Mojo::Util module
Can't continue after import errors at t/02-db-builder/07-db-builder.pm.t line 6.
BEGIN failed--compilation aborted at t/02-db-builder/07-db-builder.pm.t line 6.
t/02-db-builder/07-db-builder.pm.t ........................ Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
t/02-db-builder/08-postprocessor-base.t ................... ok   

Test Summary Report
-------------------
t/01-models/02-dists.t                                  (Wstat: 512 Tests: 4 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/02-db-builder/02-github-source-and-source-base-class.t (Wstat: 5632 Tests: 2 Failed: 0)
  Non-zero exit status: 22
  Parse errors: No plan found in TAP output
t/02-db-builder/03-dist-source-errors.t                 (Wstat: 5632 Tests: 1 Failed: 0)
  Non-zero exit status: 22
  Parse errors: No plan found in TAP output
t/02-db-builder/04-dist.t                               (Wstat: 5632 Tests: 1 Failed: 0)
  Non-zero exit status: 22
  Parse errors: No plan found in TAP output
t/02-db-builder/05-build-project-list.pl.t              (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/02-db-builder/06-postprocessor-travis.t               (Wstat: 65280 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/02-db-builder/07-db-builder.pm.t                      (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=11, Tests=41,  5 wallclock secs ( 0.03 usr  0.01 sys +  2.97 cusr  0.24 csys =  3.25 CPU)
Result: FAIL
Failed 7/11 test programs. 2/41 subtests failed.

This needs to pass before #110 is even thought of...