cpan-testers / cpantesters-api

An API in to data held by CPAN Testers: Test reports and CPAN uploads
Other
4 stars 4 forks source link

Test failures (with newest JSON::Validator?) #14

Closed eserte closed 6 years ago

eserte commented 6 years ago

The test suite started to fail with schema errors:

Invalid schema:
/info/contact/url: Does not match uri format. at /home/cpansand/.cpan/build/2017100215/JSON-Validator-1.03-2/blib/lib/JSON/Validator/OpenAPI.pm line 28, <DATA> line 1.
    JSON::Validator::OpenAPI::load_and_validate_schema(JSON::Validator::OpenAPI::Mojolicious=HASH(0x4e0a6f48), "/home/cpansand/.cpan/build/2017100215/CPAN-Testers-API-0.019-"..., HASH(0x4e060420)) called at /usr/perl5.24.0p/lib/site_perl/5.24.0/Mojolicious/Plugin/OpenAPI.pm line 22
    Mojolicious::Plugin::OpenAPI::register(Mojolicious::Plugin::OpenAPI=HASH(0x4e0a00f0), CPAN::Testers::API=HASH(0x4d2b2c60), HASH(0x4d3e0798)) called at /usr/perl5.24.0p/lib/site_perl/5.24.0/Mojolicious/Plugins.pm line 46
    Mojolicious::Plugins::register_plugin(Mojolicious::Plugins=HASH(0x4d3d2b40), "OpenAPI", CPAN::Testers::API=HASH(0x4d2b2c60), HASH(0x4d3e0798)) called at /usr/perl5.24.0p/lib/site_perl/5.24.0/Mojolicious.pm line 186
    Mojolicious::plugin(CPAN::Testers::API=HASH(0x4d2b2c60), "OpenAPI", HASH(0x4d3e0798)) called at /home/cpansand/.cpan/build/2017100215/CPAN-Testers-API-0.019-5/blib/lib/CPAN/Testers/API.pm line 119
    CPAN::Testers::API::startup(CPAN::Testers::API=HASH(0x4d2b2c60)) called at /usr/perl5.24.0p/lib/site_perl/5.24.0/Mojolicious.pm line 179
    Mojolicious::new("CPAN::Testers::API", "schema", CPAN::Testers::Schema=HASH(0x41cba7e0)) called at /home/cpansand/.cpan/build/2017100215/CPAN-Testers-API-0.019-5/t/lib/Local/App.pm line 47
    Local::App::prepare_test_app() called at t/api.t line 12
t/api.t ................. 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 

Possibly caused by the following change in JSON::Validator: https://metacpan.org/source/JHTHORSEN/JSON-Validator-1.03/Changes#L4

preaction commented 6 years ago

Thanks!