pplu / aws-sdk-perl

A community AWS SDK for Perl Programmers
Other
170 stars 94 forks source link

recipe for target 'test_dynamic' failed on Debian #167

Open BlurbMaster opened 7 years ago

BlurbMaster commented 7 years ago

Trying to install this package on a Debian instance in the AWS cloud and not having any luck. The first few tries died on unfulfilled dependencies on Furl, Mojo, Future, HTTP::Body and Planck modules. When these are installed I then (after 20 minutes of man3 and cp activity) get the results included below.

The trouble seems to start with "Use of uninitialized value in subroutine entry at /usr/local/share/perl/5.20.2/Net/Amazon/Signature/V4.pm line 106." Do I need to get a certificate from somewhere? Then there's "Use of uninitialized value $got in string eq at (eval in cmp_ok) t/10_responses.t line 141." but I don't know what $got is trying to get. There's also something about "No plan found in TAP output" but I can't find anything about that either.

I'm using perl v5.20.2, cpan v2.05 and Debian stretch/sid if that helps.

=================== ... JLMARTIN/Paws-0.32.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/.t t/01_load.t ............................. 10/? Paws::CloudFront is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/blib/lib/Paws/CloudFront.pm line 2. t/01_load.t ............................. 75/? Paws::Route53 is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/blib/lib/Paws/Route53.pm line 2. t/01_load.t ............................. 77/? Paws::S3 is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/blib/lib/Paws/S3.pm line 2. t/01_load.t ............................. All 83 subtests passed t/02_aws_object.t ....................... ok
t/03_aws_default_object.t ............... ok
t/04_credentials.t ...................... ok
t/05_service_calls.t .................... 47/? Paws::S3 is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/blib/lib/Paws/S3.pm line 2. t/05_service_calls.t .................... 76/? Paws::CloudFront is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/blib/lib/Paws/CloudFront.pm line 2. t/05_service_calls.t .................... 84/? Paws::Route53 is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/blib/lib/Paws/Route53.pm line 2. Use of uninitialized value in subroutine entry at /usr/local/share/perl/5.20.2/Net/Amazon/Signature/V4.pm line 106. t/05_service_calls.t .................... ok
t/10_responses.t ........................ 129/? Paws::CloudFront is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/blib/lib/Paws/CloudFront.pm line 2. t/10_responses.t ........................ 8561/? Use of uninitialized value $got in string eq at (eval in cmp_ok) t/10_responses.t line 141. Use of uninitialized value $got in string eq at (eval in cmp_ok) t/10_responses.t line 141. Use of uninitialized value $got in string eq at (eval in cmp_ok) t/10_responses.t line 141. Use of uninitialized value $got in string eq at (eval in cmp_ok) t/10_responses.t line 141. t/10_responses.t ........................ 8741/? Paws::Route53 is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/blib/lib/Paws/Route53.pm line 2. t/10_responses.t ........................ 9525/? Paws::S3 is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/blib/lib/Paws/S3.pm line 2. t/10_responses.t ........................ ok
t/11_client_exceptions.t ................ # Testing with caller Paws::Net::FurlCaller t/11_client_exceptions.t ................ 14/? Paws::S3 is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/blib/lib/Paws/S3.pm line 2. t/11_client_exceptions.t ................ 22/? Paws::Route53 is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/blib/lib/Paws/Route53.pm line 2. t/11_client_exceptions.t ................ 50/? # Testing with caller Paws::Net::Caller t/11_client_exceptions.t ................ 91/? # Testing with caller Paws::Net::LWPCaller t/11_client_exceptions.t ................ ok
t/12_regions.t .......................... 3/? Paws::CloudFront is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/t/../lib/Paws/CloudFront.pm line 2. t/12_regions.t .......................... 18/? Paws::Route53 is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/t/../lib/Paws/Route53.pm line 2. Paws::S3 is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/t/../lib/Paws/S3.pm line 2. t/12_regions.t .......................... 149/? No service for email at t/12_regions.t line 310. t/12_regions.t .......................... ok
t/13_client_connect_errors.t ............ # Default caller t/13_client_connect_errors.t ............ 1/? # LWP caller t/13_client_connect_errors.t ............ 3/? # Mojo caller

t/13_client_connect_errors.t ............ 5/? # Furl caller t/13_client_connect_errors.t ............ ok
t/14_dns_client_errors.t ................ # Default caller t/14_dns_client_errors.t ................ 1/? # LWP caller t/14_dns_client_errors.t ................ 3/? # Mojo caller t/14_dns_client_errors.t ................ 5/? # Furl caller t/14_dns_client_errors.t ................ ok
t/15_timeouts.t ......................... ok
t/16_retries.t .......................... ok
t/17_s3metadata.t ....................... Paws::S3 is not stable / supported / entirely developed at /root/.cpan/build/Paws-0.32-dBwouL/blib/lib/Paws/S3.pm line 2. t/17_s3metadata.t ....................... ok
t/20_json_syntetic_responses.t .......... ok
t/21_restjson_syntetic_responses.t ...... ok
t/22_query_syntetic_responses.t ......... ok
t/23_queryflatten_syntetic_responses.t .. ok
t/99_pod_syntax.t ....................... skipped: author testing only

Test Summary Report

t/01_load.t (Wstat: 9 Tests: 83 Failed: 0) Non-zero wait status: 9 Parse errors: No plan found in TAP output t/10_responses.t (Wstat: 0 Tests: 9892 Failed: 0) TODO passed: 6364, 9573 Files=18, Tests=10639, 1189 wallclock secs (10.83 usr 2.03 sys + 960.18 cusr 29.25 csys = 1002.29 CPU) Result: FAIL Failed 1/18 test programs. 0/10639 subtests failed. Makefile:47831: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 JLMARTIN/Paws-0.32.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports JLMARTIN/Paws-0.32.tar.gz

Grinnz commented 7 years ago

None of those are errors, and Furl/LWP/Mojolicious are optional dependencies, the tests are skipped without them. The actual error seems to be that t/01_load.t exits with a non-zero status. I don't know what exit status 9 means.

BlurbMaster commented 7 years ago

Installed the ssl libraries mentioned in the developer notes and got the same thing except that 01_load.t runs 68 test instead of 83. Upgraded CPAN to v2.16, went back to 83 subtests but got a different bad return code from 01_load.t.

Test Summary Report

t/01_load.t (Wstat: 9 Tests: 83 Failed: 0) Non-zero wait status: 9 Parse errors: No plan found in TAP output t/10_responses.t (Wstat: 0 Tests: 9892 Failed: 0) TODO passed: 6364, 9573 Files=18, Tests=10639, 1197 wallclock secs (10.97 usr 1.66 sys + 911.11 cusr 28.03 csys = 951.77 CPU) Result: FAIL Failed 1/18 test programs. 0/10639 subtests failed. Makefile:47831: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 JLMARTIN/Paws-0.32.tar.gz make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports JLMARTIN/Paws-0.32.tar.gz Failed during this command: JLMARTIN/Paws-0.32.tar.gz : make_test NO