Skip Menu |

This queue is for tickets about the OpenAPI-Client CPAN distribution.

Report information
The Basics
Id: 123394
Status: resolved
Priority: 0/
Queue: OpenAPI-Client

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.09
Fixed in: (no value)



Subject: t/command-local.t fails (with newest JSON::Validator?)
Output from my smokers: Unable to load schema '/v1' at /home/cpansand/.cpan/build/2017102618/JSON-Validator-1.05-0/blib/lib/JSON/Validator.pm line 159. JSON::Validator::_load_schema(JSON::Validator::OpenAPI::Mojolicious=HASH(0x47c9bc18), "/v1") called at /home/cpansand/.cpan/build/2017102618/JSON-Validator-1.05-0/blib/lib/JSON/Validator.pm line 269 JSON::Validator::_resolve(JSON::Validator::OpenAPI::Mojolicious=HASH(0x47c9bc18), "/v1") called at /home/cpansand/.cpan/build/2017102618/JSON-Validator-1.05-0/blib/lib/JSON/Validator.pm line 67 JSON::Validator::load_and_validate_schema(JSON::Validator::OpenAPI::Mojolicious=HASH(0x47c9bc18), "/v1", HASH(0x47ce2210)) called at /home/cpansand/.cpan/build/2017102618/JSON-Validator-1.05-0/blib/lib/JSON/Validator/OpenAPI.pm line 20 JSON::Validator::OpenAPI::load_and_validate_schema(JSON::Validator::OpenAPI::Mojolicious=HASH(0x47c9bc18), "/v1", HASH(0x47ce2210)) called at /usr/home/cpansand/.cpan/build/2017102618/OpenAPI-Client-0.09-0/blib/lib/OpenAPI/Client.pm line 43 OpenAPI::Client::new("OpenAPI::Client", "/v1", "app", Mojolicious=HASH(0x440d5558)) called at /usr/home/cpansand/.cpan/build/2017102618/OpenAPI-Client-0.09-0/blib/lib/Mojolicious/Command/openapi.pm line 56 Mojolicious::Command::openapi::run(Mojolicious::Command::openapi=HASH(0x47c01c48), "/v1") called at t/command-local.t line 23 t/command-local.t ..... Dubious, test returned 2 (wstat 512, 0x200) No subtests run Statistical analysis shows all fails with JSON::Validator 1.05: **************************************************************** Regression 'mod:JSON::Validator' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 21056592438855168.00 [1='eq_1.02'] 0.0000 0.0000 2.16 [2='eq_1.03'] 0.0000 0.0000 7.64 [3='eq_1.04'] 0.0000 0.0000 0.00 [4='eq_1.05'] -1.0000 0.0000 -17656489525420586.00 R^2= 1.000, N= 106, K= 5 ****************************************************************
On 2017-10-26 15:21:24, SREZIC wrote: Show quoted text
> Output from my smokers: > > Unable to load schema '/v1' at > /home/cpansand/.cpan/build/2017102618/JSON-Validator-1.05- > 0/blib/lib/JSON/Validator.pm line 159. > JSON::Validator::_load_schema(JSON::Validator::OpenAPI::Mojolicious=HASH(0x47c9bc18), > "/v1") called at /home/cpansand/.cpan/build/2017102618/JSON-Validator- > 1.05-0/blib/lib/JSON/Validator.pm line 269 > JSON::Validator::_resolve(JSON::Validator::OpenAPI::Mojolicious=HASH(0x47c9bc18), > "/v1") called at /home/cpansand/.cpan/build/2017102618/JSON-Validator- > 1.05-0/blib/lib/JSON/Validator.pm line 67 > JSON::Validator::load_and_validate_schema(JSON::Validator::OpenAPI::Mojolicious=HASH(0x47c9bc18), > "/v1", HASH(0x47ce2210)) called at > /home/cpansand/.cpan/build/2017102618/JSON-Validator-1.05- > 0/blib/lib/JSON/Validator/OpenAPI.pm line 20 > JSON::Validator::OpenAPI::load_and_validate_schema(JSON::Validator::OpenAPI::Mojolicious=HASH(0x47c9bc18), > "/v1", HASH(0x47ce2210)) called at > /usr/home/cpansand/.cpan/build/2017102618/OpenAPI-Client-0.09- > 0/blib/lib/OpenAPI/Client.pm line 43 > OpenAPI::Client::new("OpenAPI::Client", "/v1", "app", > Mojolicious=HASH(0x440d5558)) called at > /usr/home/cpansand/.cpan/build/2017102618/OpenAPI-Client-0.09- > 0/blib/lib/Mojolicious/Command/openapi.pm line 56 > Mojolicious::Command::openapi::run(Mojolicious::Command::openapi=HASH(0x47c01c48), > "/v1") called at t/command-local.t line 23 > t/command-local.t ..... > Dubious, test returned 2 (wstat 512, 0x200) > No subtests run > > > Statistical analysis shows all fails with JSON::Validator 1.05: > > **************************************************************** > Regression 'mod:JSON::Validator' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 1.0000 0.0000 21056592438855168.00 > [1='eq_1.02'] 0.0000 0.0000 2.16 > [2='eq_1.03'] 0.0000 0.0000 7.64 > [3='eq_1.04'] 0.0000 0.0000 0.00 > [4='eq_1.05'] -1.0000 0.0000 -17656489525420586.00 > > R^2= 1.000, N= 106, K= 5 > ****************************************************************
Now (0.11) it seems to fail with older JSON::Validator versions --- so maybe the minimum version should be adjusted to 1.07 or so.
Not sure if this is a problem or not anymore, but please use https://github.com/jhthorsen/json-validator/issues if it is. Thanks for reporting in.