Bug#1064755: libflickr-api-perl: FTBFS: dh_auto_test: error: make -j8 test TEST_VERBOSE=1 returned exit code 2

Lucas Nussbaum lucas at debian.org
Sun Feb 25 19:46:55 GMT 2024


Source: libflickr-api-perl
Version: 1.28-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240224 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
> 
> #   Failed test 'checking the error code for "method not found"'
> #   at t/01-test.t line 32.
> #          got: '212'
> #     expected: '112'
> 
> The 'perms' parameter must be one of: read, write, delete
>  at t/01-test.t line 77.
> # Looks like you failed 1 test of 26.
> t/01-test.t .......................... 
> 1..26
> ok 1 - An object of class 'Flickr::API' isa 'Flickr::API'
> ok 2 - An object of class 'Flickr::API::Response' isa 'Flickr::API::Response'
> not ok 3 - checking the error code for "method not found"
> ok 4 - checking the error code for "format not found"
> ok 5 - checking that http response code propagated
> ok 6 - checking that success flag propagated
> ok 7 - checking that error code propagated
> ok 8 - Signing test 1
> ok 9 - Signing test 2
> ok 10 - Signing test 3 (unicode=0)
> ok 11 - Signing test 4 (unicode=1)
> ok 12 - Did request_auth_url object to invalid permission
> ok 13 - did request_auth_url accept write permissions
> ok 14 - did request_auth_url accept delete permissions
> ok 15 - Checking that the api_key item in the query matches
> ok 16 - Checking that the perms item in the query matches
> ok 17 - Checking that the api_sig item in the query matches
> ok 18 - Checking that the frob item in the query matches
> ok 19 - Checking that the api_key item in the query matches in reverse
> ok 20 - Checking that the perms item in the query matches in reverse
> ok 21 - Checking that the frob item in the query matches in reverse
> ok 22 - Checking that the api_sig item in the query matches in reverse
> ok 23 - Checking correct return path
> ok 24 - Checking return domain
> ok 25 - Checking return protocol
> ok 26 - Checking URL generation without a secret
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/26 subtests 
> t/02-flickr_api.t .................... 
> 1..15
> ok 1 - An object of class 'Flickr::API' isa 'Flickr::API'
> ok 2 - Does Flickr::API object identify as Flickr authentication
> ok 3 - Does Flickr::API object correctly specify its type as flickr
> ok 4 - Did export_config return the api_key
> ok 5 - Did constructor remove the older key in favor of api_key
> ok 6 - Did export_config return the api secret
> ok 7 - Did constructor remove the older secret in favor of api_secret
> ok 8 - Did export_config return undef for undefined frob
> ok 9 - Did export_config return undef for undefined token
> ok 10 - Did export_storable_config produce a readable config
> ok 11 - An object of class 'Flickr::API' isa 'Flickr::API'
> ok 12 - were we able to import our api key
> ok 13 - did we sucessfully shake deprecated 'key' argument
> ok 14 - were we able to import our api secret
> ok 15 - did we sucessfully shake deprecated 'secret' argument
> ok
> t/02-oauth_api.t ..................... 
> 1..32
> ok 1 - An object of class 'Flickr::API' isa 'Flickr::API'
> ok 2 - Does Flickr::API object identify as OAuth
> ok 3 - Does Flickr::API object identify as consumer request
> ok 4 - Does Flickr::API object correctly specify its type as oauth
> ok 5 - Did export_config return the consumer_key in consumer/message request
> ok 6 - Did export_config return the correct signature_method in consumer/message request
> ok 7 - Did export_config return a nonce in consumer/message request
> ok 8 - Did export_config return a timestamp in consumer/message request
> ok 9 - Did export_config return the consumer_secret in consumer/api request
> ok 10 - Did export_config return the correct request_method in consumer/api request
> ok 11 - Did export_config return the correct request_url in consumer/api request
> ok 12 - An object of class 'Flickr::API' isa 'Flickr::API'
> ok 13 - Does Flickr::API object identify as OAuth
> ok 14 - Does Flickr::API object identify as protected resource request
> ok 15 - Did export_config return the consumer_key in protected resource/message request
> ok 16 - Did export_config return the token in protected resource/message request
> ok 17 - Did export_config return the correct signature_method in protected resource/message request
> ok 18 - Did export_config return a nonce in protected resource/message request
> ok 19 - Did export_config return a timestamp in protected resource/message request
> ok 20 - Did export_config return the consumer_secret in protected resource/api request
> ok 21 - Did export_config return the token_secret in protected resource/api request
> ok 22 - Did export_config return the correct request_method in protected resource/api request
> ok 23 - Did export_config return the correct request_url in protected resource/api request
> ok 24 - Did export_storable_config produce a readable config
> ok 25 - An object of class 'Flickr::API' isa 'Flickr::API'
> ok 26 - Did import_storable_config get back the config we stored
> ok 27 - Does flickr_make_stored_config.pl compile
> ok 28 - Does flickr_dump_stored_config.pl compile
> ok 29 - Does flickr_make_test_values.pl compile
> ok 30 - Did flickr_dump_stored_config.pl run
> ok 31 - Did _export_api return the consumer_key when asked
> ok 32 - Did _make_nonce return a nonce when asked
> ok
> t/03-flickr_api.t .................... skipped: These tests require that MAKETEST_FLICKR_CFG points to a valid config, see README.
> t/03-oauth_consumer.t ................ skipped: These tests require that MAKETEST_OAUTH_CFG points to a valid config, see README.
> t/04-flickr_authuri.t ................ skipped: These tests require that MAKETEST_FLICKR_CFG points to a valid config, see README.
> t/04-oauth_requesttoken.t ............ skipped: These tests require that MAKETEST_OAUTH_CFG points to a valid config, see README.
> t/05-flickr_authentication.t ......... skipped: These tests require that MAKETEST_FLICKR_CFG points to a valid config, see README.
> t/05-oauth_authentication.t .......... skipped: These tests require that MAKETEST_OAUTH_CFG points to a valid config, see README.
> t/06-flickr-authenticated-methods.t .. skipped: These tests require that MAKETEST_FLICKR_CFG points to a valid config, see README.
> # No MAKETEST_OAUTH_CFG, shallow tests only
> t/06-oauth-authenticated-methods.t ... 
> 1..17
> ok 1 - An object of class 'Flickr::API' isa 'Flickr::API'
> ok 2 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 3 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 4 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 5 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 6 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 7 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 8 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 9 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 10 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 11 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 12 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 13 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 14 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 15 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 16 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok 17 # skip Skipping authentication tests, oauth config isn't there or is not readable
> ok
> t/07-reflection.t .................... skipped: Reflection tests require that MAKETEST_OAUTH_CFG points to a valid config, see README.
> t/08-cameras.t ....................... skipped: Cameras tests require that MAKETEST_OAUTH_CFG points to a valid config, see README.
> t/09-people.t ........................ skipped: People tests require that MAKETEST_OAUTH_CFG points to a valid config, see README.
> t/10-upload.t ........................ skipped: Upload tests require that MAKETEST_OAUTH_CFG points to a valid config, see README.
> 
> Test Summary Report
> -------------------
> t/01-test.t                        (Wstat: 256 (exited 1) Tests: 26 Failed: 1)
>   Failed test:  3
>   Non-zero exit status: 1
> Files=15, Tests=90,  3 wallclock secs ( 0.06 usr  0.01 sys +  2.18 cusr  0.40 csys =  2.65 CPU)
> Result: FAIL
> Failed 1/15 test programs. 1/90 subtests failed.
> make[1]: *** [Makefile:927: test_dynamic] Error 255
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j8 test TEST_VERBOSE=1 returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2024/02/24/libflickr-api-perl_1.28-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240224;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240224&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-perl-maintainers mailing list