Source: python-adal Version: 1.2.0-1 Severity: serious Justification: FTBFS on amd64 Tags: buster sid Usertags: ftbfs-20181229 ftbfs-buster
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > # HTTPretty fails if the http{s,}_proxy is set > http_proxy= https_proxy= dh_auto_test > I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_adal/build; > python2.7 -m unittest discover -v > test_create_jwt_hash_colons (tests.test_self_signed_jwt.TestSelfSignedJwt) > ... ok > test_create_jwt_hash_spaces (tests.test_self_signed_jwt.TestSelfSignedJwt) > ... ok > test_create_jwt_hash_straight_hex > (tests.test_self_signed_jwt.TestSelfSignedJwt) ... ok > test_create_jwt_invalid_cert (tests.test_self_signed_jwt.TestSelfSignedJwt) > ... ok > test_create_jwt_invalid_thumbprint_1 > (tests.test_self_signed_jwt.TestSelfSignedJwt) ... ok > test_create_jwt_invalid_thumbprint_invalid_char > (tests.test_self_signed_jwt.TestSelfSignedJwt) ... ok > test_create_jwt_invalid_thumbprint_wrong_size > (tests.test_self_signed_jwt.TestSelfSignedJwt) ... ok > test_jwt_hash_with_public_cert (tests.test_self_signed_jwt.TestSelfSignedJwt) > ... ok > test_bad_url_has_query (tests.test_authority.TestAuthority) ... ok > test_bad_url_not_https (tests.test_authority.TestAuthority) ... ok > test_dsts_authority (tests.test_authority.TestAuthority) ... ok > test_http_error (tests.test_authority.TestAuthority) ... ok > test_success_dynamic_instance_discovery (tests.test_authority.TestAuthority) > ... ok > test_success_static_instance_discovery (tests.test_authority.TestAuthority) > ... ok > test_url_extra_path_elements (tests.test_authority.TestAuthority) ... ok > test_url_extra_slashes (tests.test_authority.TestAuthority) ... ok > test_url_extra_slashes_change_authority_url > (tests.test_authority.TestAuthority) ... ok > test_validation_error (tests.test_authority.TestAuthority) ... ok > test_validation_off (tests.test_authority.TestAuthority) ... ok > test_bad_argument (tests.test_authorization_code.TestAuthorizationCode) ... ok > test_failed_http_request > (tests.test_authorization_code.TestAuthorizationCode) ... ok > test_happy_path (tests.test_authorization_code.TestAuthorizationCode) ... ok > test_happy_path_with_resource_adfs > (tests.test_refresh_token.TestRefreshToken) ... ok > test_happy_path_with_resource_client_secret > (tests.test_refresh_token.TestRefreshToken) ... ok > test_findall_content_for_real > (tests.test_wstrust_response.Test_wstrustresponse) ... ok > test_findall_content_with_comparison > (tests.test_wstrust_response.Test_wstrustresponse) ... ok > test_parse_error_happy_path > (tests.test_wstrust_response.Test_wstrustresponse) ... ok > test_rstr_empty_string (tests.test_wstrust_response.Test_wstrustresponse) ... > ok > test_rstr_none (tests.test_wstrust_response.Test_wstrustresponse) ... ok > test_rstr_unparseable_xml (tests.test_wstrust_response.Test_wstrustresponse) > ... ok > test_token_parsing_happy_path > (tests.test_wstrust_response.Test_wstrustresponse) ... ok > test_rt_less_item_wont_cause_exception > (tests.test_cache_driver.TestCacheDriver) ... ok > test_failed_request (tests.test_mex.Test_Mex) ... ok > test_happy_path_1 (tests.test_mex.Test_Mex) ... ok > test_happy_path_2 (tests.test_mex.Test_Mex) ... ok > test_happy_path_3 (tests.test_mex.Test_Mex) ... ok > test_fail_to_parse_rstr (tests.test_wstrust_request.Test_wstrust_request) ... > ok > test_happy_path (tests.test_wstrust_request.Test_wstrust_request) ... ok > test_api_version_default_value > (tests.test_api_version.TestAuthenticationContextApiVersionBehavior) ... ok > test_explicitly_turn_off_api_version > (tests.test_api_version.TestAuthenticationContextApiVersionBehavior) ... ok > test_api_version_is_not_set > (tests.test_api_version.TestOAuth2ClientApiVersionBehavior) ... ok > test_api_version_is_set > (tests.test_api_version.TestOAuth2ClientApiVersionBehavior) ... ok > test_cert_bad_cert (tests.test_client_credentials.TestClientCredentials) ... > FAIL > test_cert_bad_thumbprint > (tests.test_client_credentials.TestClientCredentials) ... ok > test_cert_happy_path (tests.test_client_credentials.TestClientCredentials) > TODO: Test Failing as of 2015/06/03 and needs to be completed. ... skipped > 'https://github.com/AzureAD/azure-activedirectory-library-for-python-priv/issues/20' > test_error_with_junk_return > (tests.test_client_credentials.TestClientCredentials) ... ok > test_happy_path (tests.test_client_credentials.TestClientCredentials) ... ok > test_http_error (tests.test_client_credentials.TestClientCredentials) ... ok > test_no_cached_token_found_error > (tests.test_client_credentials.TestClientCredentials) ... ok > test_oauth_error (tests.test_client_credentials.TestClientCredentials) ... ok > test_success_with_junk_return > (tests.test_client_credentials.TestClientCredentials) ... ok > test_create_from_header > (tests.test_authentication_parameters.TestAuthenticationParameters) ... ok > test_create_from_response > (tests.test_authentication_parameters.TestAuthenticationParameters) ... ok > test_create_from_url_bad_object > (tests.test_authentication_parameters.TestAuthenticationParameters) ... ok > test_create_from_url_happy_path_url_object > (tests.test_authentication_parameters.TestAuthenticationParameters) ... ok > test_create_from_url_happy_string_url > (tests.test_authentication_parameters.TestAuthenticationParameters) ... ok > test_create_from_url_network_error > (tests.test_authentication_parameters.TestAuthenticationParameters) ... ok > test_create_from_url_no_header > (tests.test_authentication_parameters.TestAuthenticationParameters) ... ok > test_create_from_url_not_passed > (tests.test_authentication_parameters.TestAuthenticationParameters) ... ok > test_console_settings (tests.test_log.TestLog) ... ok > test_logging (tests.test_log.TestLog) ... ok > test_scrub_pii (tests.test_log.TestLog) ... ok > test_settings_none (tests.test_log.TestLog) ... ok > test_bad_id_token_base64_in_response > (tests.test_username_password.TestUsernamePassword) ... ok > test_bad_int_in_response (tests.test_username_password.TestUsernamePassword) > ... ok > test_federated_failed_mex (tests.test_username_password.TestUsernamePassword) > ... ok > test_federated_failed_wstrust > (tests.test_username_password.TestUsernamePassword) ... ok > test_federated_happy_path_and_correlation_id > (tests.test_username_password.TestUsernamePassword) ... ok > test_federated_saml2 (tests.test_username_password.TestUsernamePassword) ... > ok > test_federated_unknown_token_type > (tests.test_username_password.TestUsernamePassword) ... ok > test_federated_user_realm_returns_no_mex_endpoint_wstrust13 > (tests.test_username_password.TestUsernamePassword) ... ok > test_federated_user_realm_returns_no_mex_endpoint_wstrust2005 > (tests.test_username_password.TestUsernamePassword) ... ok > test_federated_wstrust_unknown_token_type > (tests.test_username_password.TestUsernamePassword) ... ok > test_federated_wstrust_unparseable > (tests.test_username_password.TestUsernamePassword) ... ok > test_happy_path_adfs_authority > (tests.test_username_password.TestUsernamePassword) ... ok > test_invalid_id_token (tests.test_username_password.TestUsernamePassword) ... > ok > test_jwt_cracking (tests.test_username_password.TestUsernamePassword) ... ok > test_managed_happy_path (tests.test_username_password.TestUsernamePassword) > ... ok > test_no_access_token (tests.test_username_password.TestUsernamePassword) ... > ok > test_no_token_type (tests.test_username_password.TestUsernamePassword) ... ok > test_parse_id_token_with_unicode > (tests.test_username_password.TestUsernamePassword) ... ok > test_user_realm_returns_unknown_account_type > (tests.test_username_password.TestUsernamePassword) ... ok > test_happy_path_federated (tests.test_user_realm.TestUserRealm) ... ok > test_negative_empty_json (tests.test_user_realm.TestUserRealm) ... ok > test_negative_fed_err (tests.test_user_realm.TestUserRealm) ... ok > test_negative_no_root (tests.test_user_realm.TestUserRealm) ... ok > test_negative_wrong_field (tests.test_user_realm.TestUserRealm) ... ok > > ====================================================================== > FAIL: test_cert_bad_cert (tests.test_client_credentials.TestClientCredentials) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "tests/test_client_credentials.py", line 164, in test_cert_bad_cert > context.acquire_token_with_client_certificate(cp['resource'], > cp['clientId'], cert, cp['certHash']) > AssertionError: "Error:Invalid Certificate: Expected Start of Certificate to > be '-----BEGIN RSA PRIVATE KEY-----'" does not match "Get Token request > returned http error: 400 and server response: > {"error":"invalid_request","error_description":"AADSTS90014: The required > field 'aud' is missing.\r\nTrace ID: > a868a696-7804-49ca-b687-1cdda0982e00\r\nCorrelation ID: > fa0ea61a-5cf6-4ac8-8a2a-da469e71e422\r\nTimestamp: 2018-12-29 > 12:22:12Z","error_codes":[90014],"timestamp":"2018-12-29 > 12:22:12Z","trace_id":"a868a696-7804-49ca-b687-1cdda0982e00","correlation_id":"fa0ea61a-5cf6-4ac8-8a2a-da469e71e422"}" > > ---------------------------------------------------------------------- > Ran 87 tests in 0.302s > > FAILED (failures=1, skipped=1) > WARNING: E2E example testing were skipped, for missing 'config.py'. > E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_adal/build; python2.7 -m unittest > discover -v > dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13 The full build log is available from: http://aws-logs.debian.net/2018/12/29/python-adal_1.2.0-1_unstable.log 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! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.