[Python-modules-team] Bug#966962: flask-restful: FTBFS: dh_auto_test: error: pybuild --test --test-nose -i python{version} -p 3.8 returned exit code 13

Lucas Nussbaum lucas at debian.org
Mon Aug 3 09:31:57 BST 2020


Source: flask-restful
Version: 0.3.8-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> sphinx-build -b html -d _build/doctrees   . _build/html
> Running Sphinx v2.4.3
> making output directory... done
> loading intersphinx inventory from /usr/share/doc/python-flask-doc/html/objects.inv...
> loading intersphinx inventory from /usr/share/doc/python-werkzeug-doc/html/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory '/usr/share/doc/python-flask-doc/html/objects.inv' not fetchable due to <class 'FileNotFoundError'>: [Errno 2] No such file or directory: '/usr/share/doc/python-flask-doc/html/objects.inv'
> loading intersphinx inventory from /usr/share/doc/python3-doc/html/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory '/usr/share/doc/python-werkzeug-doc/html/objects.inv' not fetchable due to <class 'FileNotFoundError'>: [Errno 2] No such file or directory: '/usr/share/doc/python-werkzeug-doc/html/objects.inv'
> loading intersphinx inventory from /usr/share/doc/python3-doc/html/objects.inv...
> loading intersphinx inventory from six/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'six/objects.inv' not fetchable due to <class 'FileNotFoundError'>: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/docs/six/objects.inv'
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 9 source files that are out of date
> updating environment: [new config] 9 added, 0 changed, 0 removed
> reading sources... [ 11%] api
> reading sources... [ 22%] extending
> reading sources... [ 33%] fields
> reading sources... [ 44%] index
> reading sources... [ 55%] installation
> reading sources... [ 66%] intermediate-usage
> reading sources... [ 77%] quickstart
> reading sources... [ 88%] reqparse
> reading sources... [100%] testing
> 
> /<<PKGBUILDDIR>>/docs/index.rst:6: WARNING: duplicate object description of flask_restful, other instance in api, use :noindex: for one of them
> /<<PKGBUILDDIR>>/docs/reqparse.rst:217: WARNING: Explicit markup ends without a blank line; unexpected unindent.
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 11%] api
> writing output... [ 22%] extending
> writing output... [ 33%] fields
> writing output... [ 44%] index
> writing output... [ 55%] installation
> writing output... [ 66%] intermediate-usage
> writing output... [ 77%] quickstart
> writing output... [ 88%] reqparse
> writing output... [100%] testing
> 
> /<<PKGBUILDDIR>>/docs/intermediate-usage.rst:80: WARNING: undefined label: blueprints (if the link has no caption the label must precede a section header)
> /<<PKGBUILDDIR>>/docs/reqparse.rst:41: WARNING: undefined label: error-messages (if the link has no caption the label must precede a section header)
> generating indices...  genindex py-modindexdone
> writing additional pages...  searchdone
> copying static files... ... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 7 warnings.
> 
> The HTML pages are in _build/html.
> 
> Build finished. The HTML pages are in _build/html.
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flask-restful/build; python3.8 -m nose -v tests
> test_accept_default_any_pick_first (tests.test_accept.AcceptTestCase) ... ok
> test_accept_default_application_json (tests.test_accept.AcceptTestCase) ... ok
> test_accept_default_override_accept (tests.test_accept.AcceptTestCase) ... ok
> test_accept_invalid_default_no_representations (tests.test_accept.AcceptTestCase) ... ok
> test_accept_no_default_accept_highest_quality_of_three (tests.test_accept.AcceptTestCase) ... ok
> test_accept_no_default_accept_highest_quality_of_two (tests.test_accept.AcceptTestCase) ... ok
> test_accept_no_default_custom_repr_match (tests.test_accept.AcceptTestCase) ... ok
> test_accept_no_default_custom_repr_not_acceptable (tests.test_accept.AcceptTestCase) ... ok
> test_accept_no_default_match_acceptable (tests.test_accept.AcceptTestCase) ... ok
> q=0 should be considered NotAcceptable, ... ok
> test_accept_no_default_no_match_not_acceptable (tests.test_accept.AcceptTestCase) ... ok
> test_accept_no_default_no_representations (tests.test_accept.AcceptTestCase) ... ok
> test_abort_custom_message (tests.test_api.APITestCase) ... ok
> test_abort_data (tests.test_api.APITestCase) ... ok
> test_abort_no_data (tests.test_api.APITestCase) ... ok
> test_abort_type (tests.test_api.APITestCase) ... ok
> test_add_resource (tests.test_api.APITestCase) ... ok
> test_add_resource_endpoint (tests.test_api.APITestCase) ... ok
> test_add_resource_forward_resource_class_parameters (tests.test_api.APITestCase) ... ok
> test_add_resource_kwargs (tests.test_api.APITestCase) ... ok
> test_add_the_same_resource_on_same_endpoint (tests.test_api.APITestCase) ... ok
> test_add_two_conflicting_resources_on_same_endpoint (tests.test_api.APITestCase) ... ok
> test_allow_null_presents_data (tests.test_api.APITestCase) ... ok
> test_api_base (tests.test_api.APITestCase) ... ok
> test_api_delayed_initialization (tests.test_api.APITestCase) ... ok
> test_api_prefix (tests.test_api.APITestCase) ... ok
> test_api_representation (tests.test_api.APITestCase) ... ok
> test_apply_all_method_decorators_if_not_mapping (tests.test_api.APITestCase) ... ok
> test_calling_owns_endpoint_before_api_init (tests.test_api.APITestCase) ... ok
> test_custom_error_message (tests.test_api.APITestCase) ... ok
> test_decorator (tests.test_api.APITestCase) ... ok
> test_decorators_only_applied_at_dispatch (tests.test_api.APITestCase) ... ok
> test_endpoints (tests.test_api.APITestCase) ... ok
> Verify that if an exception occurs in the Flask-RESTful error handler, ... ok
> Test that HTTPException's headers are extended properly ... ok
> Test that HTTPException's headers do not add a duplicate ... ok
> test_fr_405 (tests.test_api.APITestCase) ... ok
> test_handle_api_error (tests.test_api.APITestCase) ... ok
> test_handle_auth (tests.test_api.APITestCase) ... ok
> test_handle_error (tests.test_api.APITestCase) ... ok
> test_handle_error_401_sends_challege_configured_realm (tests.test_api.APITestCase) ... ok
> test_handle_error_401_sends_challege_default_realm (tests.test_api.APITestCase) ... ok
> test_handle_error_does_not_swallow_abort_response (tests.test_api.APITestCase) ... ok
> test_handle_error_does_not_swallow_custom_exceptions (tests.test_api.APITestCase) ... ok
> test_handle_error_does_not_swallow_exceptions (tests.test_api.APITestCase) ... ok
> test_handle_error_signal (tests.test_api.APITestCase) ... ok
> test_handle_error_with_code (tests.test_api.APITestCase) ... ok
> test_handle_non_api_error (tests.test_api.APITestCase) ... FAIL
> test_handle_server_error (tests.test_api.APITestCase) ... ok
> test_http_code (tests.test_api.APITestCase) ... ok
> test_json_float_marshalled (tests.test_api.APITestCase) ... ok
> test_json_with_no_settings (tests.test_api.APITestCase) ... ok
> test_marshal (tests.test_api.APITestCase) ... ok
> test_marshal_decorator (tests.test_api.APITestCase) ... ok
> test_marshal_decorator_tuple (tests.test_api.APITestCase) ... ok
> test_marshal_decorator_tuple_with_envelope (tests.test_api.APITestCase) ... ok
> test_marshal_decorator_with_envelope (tests.test_api.APITestCase) ... ok
> test_marshal_field (tests.test_api.APITestCase) ... ok
> test_marshal_field_decorator (tests.test_api.APITestCase) ... ok
> test_marshal_field_decorator_tuple (tests.test_api.APITestCase) ... ok
> test_marshal_list (tests.test_api.APITestCase) ... ok
> test_marshal_list_of_lists (tests.test_api.APITestCase) ... ok
> test_marshal_list_of_nesteds (tests.test_api.APITestCase) ... ok
> test_marshal_nested (tests.test_api.APITestCase) ... ok
> test_marshal_nested_dict (tests.test_api.APITestCase) ... ok
> test_marshal_nested_property (tests.test_api.APITestCase) ... ok
> test_marshal_nested_with_non_null (tests.test_api.APITestCase) ... ok
> test_marshal_nested_with_null (tests.test_api.APITestCase) ... ok
> test_marshal_tuple (tests.test_api.APITestCase) ... ok
> test_marshal_tuple_with_envelope (tests.test_api.APITestCase) ... ok
> test_marshal_with_envelope (tests.test_api.APITestCase) ... ok
> test_media_types (tests.test_api.APITestCase) ... ok
> test_media_types_method (tests.test_api.APITestCase) ... ok
> test_media_types_q (tests.test_api.APITestCase) ... ok
> test_non_api_error_404_catchall (tests.test_api.APITestCase) ... ok
> test_output_func (tests.test_api.APITestCase) ... ok
> test_output_unpack (tests.test_api.APITestCase) ... ok
> test_read_json_settings_from_config (tests.test_api.APITestCase) ... ok
> test_redirect (tests.test_api.APITestCase) ... ok
> test_resource (tests.test_api.APITestCase) ... ok
> test_resource_decorator (tests.test_api.APITestCase) ... ok
> test_resource_error (tests.test_api.APITestCase) ... ok
> test_resource_head (tests.test_api.APITestCase) ... ok
> test_resource_resp (tests.test_api.APITestCase) ... ok
> test_resource_text_plain (tests.test_api.APITestCase) ... ok
> test_selectively_apply_method_decorators (tests.test_api.APITestCase) ... ok
> test_unauthorized (tests.test_api.APITestCase) ... ok
> test_unauthorized_custom_realm (tests.test_api.APITestCase) ... ok
> test_unauthorized_no_challenge_by_default (tests.test_api.APITestCase) ... ok
> test_url_for (tests.test_api.APITestCase) ... ok
> Verify that url_for works when an Api object is mounted on a ... ok
> test_use_custom_jsonencoder (tests.test_api.APITestCase) ... ok
> test_will_prettyprint_json_in_debug_mode (tests.test_api.APITestCase) ... ok
> tests.test_api.test_unpack(('hey', 200, {}), ('hey', 200, {})) ... ok
> tests.test_api.test_unpack((('hey',), 200, {}), (('hey',), 200, {})) ... ok
> tests.test_api.test_unpack(('hey', 201, {}), ('hey', 201, {})) ... ok
> tests.test_api.test_unpack(('hey', 201, 'foo'), ('hey', 201, 'foo')) ... ok
> tests.test_api.test_unpack((['hey', 201], 200, {}), (['hey', 201], 200, {})) ... ok
> test_add_resource_endpoint (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_add_resource_endpoint_after_registration (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_api_base (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_api_delayed_initialization (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_error_routing (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_non_blueprint_non_rest_error_routing (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_non_blueprint_rest_error_routing (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_registration_prefix_overrides_blueprint_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_url_part_order_aeb (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_url_with_api_and_blueprint_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_url_with_api_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_url_with_blueprint_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_url_with_registration_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok
> test_access_control_allow_methods (tests.test_cors.CORSTestCase) ... ok
> test_access_control_expose_headers (tests.test_cors.CORSTestCase) ... ok
> test_crossdomain (tests.test_cors.CORSTestCase) ... ok
> test_no_crossdomain (tests.test_cors.CORSTestCase) ... ok
> test_advanced_fixed (tests.test_fields.FieldsTestCase) ... ok
> test_arbitrary (tests.test_fields.FieldsTestCase) ... ok
> test_attribute (tests.test_fields.FieldsTestCase) ... ok
> test_basic_dictionary (tests.test_fields.FieldsTestCase) ... ok
> test_basic_field (tests.test_fields.FieldsTestCase) ... ok
> test_date_field_invalid (tests.test_fields.FieldsTestCase) ... ok
> test_decimal_trash (tests.test_fields.FieldsTestCase) ... ok
> test_fixed (tests.test_fields.FieldsTestCase) ... ok
> test_fixed_with_attribute (tests.test_fields.FieldsTestCase) ... ok
> test_float (tests.test_fields.FieldsTestCase) ... ok
> test_float_decode_error (tests.test_fields.FieldsTestCase) ... ok
> test_formatted_string (tests.test_fields.FieldsTestCase) ... ok
> test_formatted_string_invalid_obj (tests.test_fields.FieldsTestCase) ... ok
> test_formatting_field (tests.test_fields.FieldsTestCase) ... ok
> test_formatting_field_dict (tests.test_fields.FieldsTestCase) ... ok
> test_formatting_field_none (tests.test_fields.FieldsTestCase) ... ok
> test_formatting_field_tuple (tests.test_fields.FieldsTestCase) ... ok
> test_get_value (tests.test_fields.FieldsTestCase) ... ok
> test_get_value_no_value (tests.test_fields.FieldsTestCase) ... ok
> test_get_value_obj (tests.test_fields.FieldsTestCase) ... ok
> test_indexable_object (tests.test_fields.FieldsTestCase) ... ok
> test_infinite_fixed (tests.test_fields.FieldsTestCase) ... ok
> test_int (tests.test_fields.FieldsTestCase) ... ok
> test_int_decode_error (tests.test_fields.FieldsTestCase) ... ok
> test_int_default (tests.test_fields.FieldsTestCase) ... ok
> test_iso8601_date_field_with_offset (tests.test_fields.FieldsTestCase) ... ok
> test_iso8601_date_field_without_offset (tests.test_fields.FieldsTestCase) ... ok
> test_list (tests.test_fields.FieldsTestCase) ... ok
> test_list_from_dict_with_attribute (tests.test_fields.FieldsTestCase) ... ok
> test_list_from_object (tests.test_fields.FieldsTestCase) ... ok
> test_list_from_set (tests.test_fields.FieldsTestCase) ... ok
> test_list_of_nested (tests.test_fields.FieldsTestCase) ... ok
> test_list_of_raw (tests.test_fields.FieldsTestCase) ... ok
> test_list_with_attribute (tests.test_fields.FieldsTestCase) ... ok
> test_list_with_scoped_attribute_on_dict_or_obj (tests.test_fields.FieldsTestCase) ... ok
> test_nested_raw_field (tests.test_fields.FieldsTestCase) ... ok
> test_nested_with_default (tests.test_fields.FieldsTestCase) ... ok
> test_no_attribute (tests.test_fields.FieldsTestCase) ... ok
> test_no_int (tests.test_fields.FieldsTestCase) ... ok
> test_null_list (tests.test_fields.FieldsTestCase) ... ok
> test_raw_field (tests.test_fields.FieldsTestCase) ... ok
> test_rfc822_date_field_with_offset (tests.test_fields.FieldsTestCase) ... ok
> test_rfc822_date_field_without_offset (tests.test_fields.FieldsTestCase) ... ok
> test_string (tests.test_fields.FieldsTestCase) ... ok
> test_string_no_value (tests.test_fields.FieldsTestCase) ... ok
> test_string_none (tests.test_fields.FieldsTestCase) ... ok
> test_string_with_attribute (tests.test_fields.FieldsTestCase) ... ok
> test_string_with_lambda (tests.test_fields.FieldsTestCase) ... ok
> test_string_with_partial (tests.test_fields.FieldsTestCase) ... ok
> test_to_dict (tests.test_fields.FieldsTestCase) ... ok
> test_to_dict_custom_marshal (tests.test_fields.FieldsTestCase) ... ok
> test_to_dict_obj (tests.test_fields.FieldsTestCase) ... ok
> test_unsupported_datetime_format (tests.test_fields.FieldsTestCase) ... ok
> test_url (tests.test_fields.FieldsTestCase) ... ok
> test_url_absolute (tests.test_fields.FieldsTestCase) ... ok
> Url.scheme should override current_request.scheme ... ok
> test_url_invalid_object (tests.test_fields.FieldsTestCase) ... ok
> test_url_superclass_kwargs (tests.test_fields.FieldsTestCase) ... ok
> test_url_with_blueprint (tests.test_fields.FieldsTestCase) ... ok
> test_url_with_blueprint_absolute (tests.test_fields.FieldsTestCase) ... ok
> test_url_with_blueprint_absolute_scheme (tests.test_fields.FieldsTestCase) ... ok
> test_url_with_blueprint_invalid_object (tests.test_fields.FieldsTestCase) ... ok
> test_url_without_endpoint (tests.test_fields.FieldsTestCase) ... ok
> test_url_without_endpoint_absolute (tests.test_fields.FieldsTestCase) ... ok
> test_url_without_endpoint_absolute_scheme (tests.test_fields.FieldsTestCase) ... ok
> test_url_without_endpoint_invalid_object (tests.test_fields.FieldsTestCase) ... ok
> test_zero_fixed (tests.test_fields.FieldsTestCase) ... ok
> tests.test_fields.test_float(-3.13, <flask_restful.fields.Float object at 0x7f30f08dbe50>, '-3.13') ... ok
> tests.test_fields.test_float(-3.13, <flask_restful.fields.Float object at 0x7f30f08dbd30>, '-3.13') ... ok
> tests.test_fields.test_float(3.0, <flask_restful.fields.Float object at 0x7f30f0a81d90>, 3) ... ok
> tests.test_fields.test_boolean(True, <flask_restful.fields.Boolean object at 0x7f30f0c33700>, True) ... ok
> tests.test_fields.test_boolean(False, <flask_restful.fields.Boolean object at 0x7f30f0a811c0>, False) ... ok
> tests.test_fields.test_boolean(False, <flask_restful.fields.Boolean object at 0x7f30f0a81d90>, {}) ... ok
> tests.test_fields.test_boolean(True, <flask_restful.fields.Boolean object at 0x7f30f0a81940>, 'false') ... ok
> tests.test_fields.test_boolean(True, <flask_restful.fields.Boolean object at 0x7f30f0a81460>, '0') ... ok
> tests.test_fields.test_rfc822_datetime_formatters('Sat, 01 Jan 2011 00:00:00 -0000', 'Sat, 01 Jan 2011 00:00:00 -0000') ... ok
> tests.test_fields.test_rfc822_datetime_formatters('Sat, 01 Jan 2011 23:59:59 -0000', 'Sat, 01 Jan 2011 23:59:59 -0000') ... ok
> tests.test_fields.test_rfc822_datetime_formatters('Sat, 01 Jan 2011 23:59:59 -0000', 'Sat, 01 Jan 2011 23:59:59 -0000') ... ok
> tests.test_fields.test_rfc822_datetime_formatters('Sat, 01 Jan 2011 22:59:59 -0000', 'Sat, 01 Jan 2011 22:59:59 -0000') ... ok
> tests.test_fields.test_iso8601_datetime_formatters('2011-01-01T00:00:00', '2011-01-01T00:00:00') ... ok
> tests.test_fields.test_iso8601_datetime_formatters('2011-01-01T23:59:59', '2011-01-01T23:59:59') ... ok
> tests.test_fields.test_iso8601_datetime_formatters('2011-01-01T23:59:59.001000', '2011-01-01T23:59:59.001000') ... ok
> tests.test_fields.test_iso8601_datetime_formatters('2011-01-01T23:59:59+00:00', '2011-01-01T23:59:59+00:00') ... ok
> tests.test_fields.test_iso8601_datetime_formatters('2011-01-01T23:59:59.001000+00:00', '2011-01-01T23:59:59.001000+00:00') ... ok
> tests.test_fields.test_iso8601_datetime_formatters('2011-01-01T23:59:59+01:00', '2011-01-01T23:59:59+01:00') ... ok
> test_bad_boolean (tests.test_inputs.TypesTestCase) ... ok
> test_boolean (tests.test_inputs.TypesTestCase) ... ok
> test_boolean_false (tests.test_inputs.TypesTestCase) ... ok
> test_boolean_is_false_for_0 (tests.test_inputs.TypesTestCase) ... ok
> test_boolean_is_true_for_1 (tests.test_inputs.TypesTestCase) ... ok
> test_boolean_true (tests.test_inputs.TypesTestCase) ... ok
> test_boolean_upper_case (tests.test_inputs.TypesTestCase) ... ok
> Input that is already a native python `bool` should be passed through ... ok
> test_date_input (tests.test_inputs.TypesTestCase) ... ok
> test_date_input_error (tests.test_inputs.TypesTestCase) ... ok
> test_date_later_than_1900 (tests.test_inputs.TypesTestCase) ... ok
> test_int_range_good (tests.test_inputs.TypesTestCase) ... ok
> test_int_range_high (tests.test_inputs.TypesTestCase) ... ok
> test_int_range_inclusive (tests.test_inputs.TypesTestCase) ... ok
> test_int_range_low (tests.test_inputs.TypesTestCase) ... ok
> test_natual_negative (tests.test_inputs.TypesTestCase) ... ok
> test_natual_string (tests.test_inputs.TypesTestCase) ... ok
> test_natural (tests.test_inputs.TypesTestCase) ... ok
> test_positive (tests.test_inputs.TypesTestCase) ... ok
> test_positive_negative_input (tests.test_inputs.TypesTestCase) ... ok
> test_positive_zero (tests.test_inputs.TypesTestCase) ... ok
> tests.test_inputs.test_reverse_rfc822_datetime(datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>), datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) ... ok
> tests.test_inputs.test_reverse_rfc822_datetime(datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=<UTC>), datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=<UTC>)) ... ok
> tests.test_inputs.test_reverse_rfc822_datetime(datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=<UTC>), datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=<UTC>)) ... ok
> tests.test_inputs.test_reverse_iso8601_datetime(datetime.datetime(2011, 1, 1, 0, 0, tzinfo=+0:00:00 UTC), datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) ... ok
> tests.test_inputs.test_reverse_iso8601_datetime(datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=+0:00:00 UTC), datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=<UTC>)) ... ok
> tests.test_inputs.test_reverse_iso8601_datetime(datetime.datetime(2011, 1, 1, 23, 59, 59, 1000, tzinfo=+0:00:00 UTC), datetime.datetime(2011, 1, 1, 23, 59, 59, 1000, tzinfo=<UTC>)) ... ok
> tests.test_inputs.test_reverse_iso8601_datetime(datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=+2:00:00 UTC), datetime.datetime(2011, 1, 1, 21, 59, 59, tzinfo=<UTC>)) ... ok
> tests.test_inputs.test_urls('http://www.djangoproject.com/', 'http://www.djangoproject.com/') ... ok
> tests.test_inputs.test_urls('http://localhost/', 'http://localhost/') ... ok
> tests.test_inputs.test_urls('http://example.com/', 'http://example.com/') ... ok
> tests.test_inputs.test_urls('http://www.example.com/', 'http://www.example.com/') ... ok
> tests.test_inputs.test_urls('http://www.example.com:8000/test', 'http://www.example.com:8000/test') ... ok
> tests.test_inputs.test_urls('http://valid-with-hyphens.com/', 'http://valid-with-hyphens.com/') ... ok
> tests.test_inputs.test_urls('http://subdomain.example.com/', 'http://subdomain.example.com/') ... ok
> tests.test_inputs.test_urls('http://200.8.9.10/', 'http://200.8.9.10/') ... ok
> tests.test_inputs.test_urls('http://200.8.9.10:8000/test', 'http://200.8.9.10:8000/test') ... ok
> tests.test_inputs.test_urls('http://valid-----hyphens.com/', 'http://valid-----hyphens.com/') ... ok
> tests.test_inputs.test_urls('http://example.com?something=value', 'http://example.com?something=value') ... ok
> tests.test_inputs.test_urls('http://example.com/index.php?something=value&another=value2', 'http://example.com/index.php?something=value&another=value2') ... ok
> tests.test_inputs.test_urls('http://foo:bar@example.com', 'http://foo:bar@example.com') ... ok
> tests.test_inputs.test_urls('http://foo:@example.com', 'http://foo:@example.com') ... ok
> tests.test_inputs.test_urls('http://foo:@2001:db8:85a3::8a2e:370:7334', 'http://foo:@2001:db8:85a3::8a2e:370:7334') ... ok
> tests.test_inputs.test_urls('http://foo2:qd1%r@example.com', 'http://foo2:qd1%r@example.com') ... ok
> tests.test_inputs.test_bad_urls('foo',) ... ok
> tests.test_inputs.test_bad_urls('http://',) ... ok
> tests.test_inputs.test_bad_urls('http://example',) ... ok
> tests.test_inputs.test_bad_urls('http://example.',) ... ok
> tests.test_inputs.test_bad_urls('http://.com',) ... ok
> tests.test_inputs.test_bad_urls('http://invalid-.com',) ... ok
> tests.test_inputs.test_bad_urls('http://-invalid.com',) ... ok
> tests.test_inputs.test_bad_urls('http://inv-.alid-.com',) ... ok
> tests.test_inputs.test_bad_urls('http://inv-.-alid.com',) ... ok
> tests.test_inputs.test_bad_urls('foo bar baz',) ... ok
> tests.test_inputs.test_bad_urls('foo ✓',) ... ok
> tests.test_inputs.test_bad_urls('http://@foo:bar@example.com',) ... ok
> tests.test_inputs.test_bad_urls('http://:bar@example.com',) ... ok
> tests.test_inputs.test_bad_urls('http://bar:bar:bar@example.com',) ... ok
> tests.test_inputs.test_bad_url_error_message('google.com',) ... ok
> tests.test_inputs.test_bad_url_error_message('domain.google.com',) ... ok
> tests.test_inputs.test_bad_url_error_message('kevin:pass at google.com/path?query',) ... ok
> tests.test_inputs.test_bad_url_error_message('google.com/path?✓',) ... ok
> tests.test_inputs.test_regex_bad_input(<class 'ValueError'>, <function test_regex_bad_input.<locals>.<lambda> at 0x7f30f13069d0>) ... ok
> tests.test_inputs.test_regex_bad_input(<class 'ValueError'>, <function test_regex_bad_input.<locals>.<lambda> at 0x7f30f0b1eaf0>) ... ok
> tests.test_inputs.test_regex_bad_input(<class 'ValueError'>, <function test_regex_bad_input.<locals>.<lambda> at 0x7f30f0a6aca0>) ... ok
> tests.test_inputs.test_regex_bad_input(<class 'ValueError'>, <function test_regex_bad_input.<locals>.<lambda> at 0x7f30f0b1eaf0>) ... ok
> tests.test_inputs.test_regex_good_input('123', '123') ... ok
> tests.test_inputs.test_regex_good_input('1234567890', '1234567890') ... ok
> tests.test_inputs.test_regex_good_input('00000', '00000') ... ok
> Regex error raised immediately when regex input parser is created. ... ok
> tests.test_inputs.test_regex_flags_good_input('abcd', 'abcd') ... ok
> tests.test_inputs.test_regex_flags_good_input('ABCabc', 'ABCabc') ... ok
> tests.test_inputs.test_regex_flags_good_input('ABC', 'ABC') ... ok
> tests.test_inputs.test_regex_flags_bad_input(<class 'ValueError'>, <function test_regex_flags_bad_input.<locals>.<lambda> at 0x7f30f0b1eaf0>) ... ok
> tests.test_inputs.test_regex_flags_bad_input(<class 'ValueError'>, <function test_regex_flags_bad_input.<locals>.<lambda> at 0x7f30f0a6aca0>) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 30, tzinfo=<UTC>), datetime.datetime(2014, 3, 5, 16, 35, 6, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 12, 30, tzinfo=<UTC>), datetime.datetime(2014, 3, 5, 16, 35, 6, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 30, tzinfo=<UTC>), datetime.datetime(2013, 1, 3, 12, 30, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 12, 30, tzinfo=<UTC>), datetime.datetime(2013, 1, 3, 12, 30, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 15, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 31, 15, 0, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 15, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 31, 15, 0, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 22, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 15, 22, 0, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 22, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 15, 22, 0, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 0, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 4, 0, 0, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 0, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 4, 0, 0, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 0, tzinfo=<UTC>), datetime.datetime(2013, 2, 1, 12, 0, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 12, 0, tzinfo=<UTC>), datetime.datetime(2013, 2, 1, 12, 0, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 0, 0, tzinfo=<UTC>), datetime.datetime(2013, 6, 30, 0, 0, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 0, 0, tzinfo=<UTC>), datetime.datetime(2013, 6, 30, 0, 0, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 2, 17, 19, 0, tzinfo=<UTC>), datetime.datetime(2013, 2, 28, 22, 0, tzinfo=<UTC>)), (datetime.datetime(2013, 2, 17, 19, 0, tzinfo=<UTC>), datetime.datetime(2013, 2, 28, 22, 0, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 30, 45, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 12, 30, 46, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 12, 30, 45, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 12, 30, 46, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 10, 30, 45, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 10, 30, 46, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 10, 30, 45, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 10, 30, 46, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 30, 45, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 12, 30, 46, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 12, 30, 45, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 12, 30, 46, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 30, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 12, 31, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 12, 30, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 12, 31, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 8, 30, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 8, 31, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 8, 30, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 8, 31, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 30, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 12, 31, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 12, 30, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 12, 31, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 13, 0, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 12, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 13, 0, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 19, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 20, 0, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 19, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 20, 0, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 13, 0, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 12, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 13, 0, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 12, 30, tzinfo=<UTC>)), (datetime.datetime(2013, 1, 1, 12, 0, tzinfo=<UTC>), datetime.datetime(2013, 1, 1, 12, 30, tzinfo=<UTC>))) ... ok
> tests.test_inputs.test_invalid_isointerval_error ... ok
> tests.test_inputs.test_bad_isointervals(<class 'Exception'>, <function iso8601interval at 0x7f30f0c51f70>, '2013-01T14:') ... ok
> tests.test_inputs.test_bad_isointervals(<class 'Exception'>, <function iso8601interval at 0x7f30f0c51f70>, '') ... ok
> tests.test_inputs.test_bad_isointervals(<class 'Exception'>, <function iso8601interval at 0x7f30f0c51f70>, 'asdf') ... ok
> tests.test_inputs.test_bad_isointervals(<class 'Exception'>, <function iso8601interval at 0x7f30f0c51f70>, '01/01/2013') ... ok
> Failure: ImportError (cannot import name 'MultiDict' from 'werkzeug' (/usr/lib/python3/dist-packages/werkzeug/__init__.py)) ... ERROR
> 
> ======================================================================
> ERROR: Failure: ImportError (cannot import name 'MultiDict' from 'werkzeug' (/usr/lib/python3/dist-packages/werkzeug/__init__.py))
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
>     raise self.exc_val.with_traceback(self.tb)
>   File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in loadTestsFromName
>     module = self.importer.importFromPath(
>   File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File "/usr/lib/python3.8/imp.py", line 234, in load_module
>     return load_source(name, filename, file)
>   File "/usr/lib/python3.8/imp.py", line 171, in load_source
>     module = _load(spec)
>   File "<frozen importlib._bootstrap>", line 702, in _load
>   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
>   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
>   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flask-restful/build/tests/test_reqparse.py", line 5, in <module>
>     from werkzeug import exceptions, MultiDict
> ImportError: cannot import name 'MultiDict' from 'werkzeug' (/usr/lib/python3/dist-packages/werkzeug/__init__.py)
> 
> ======================================================================
> FAIL: test_handle_non_api_error (tests.test_api.APITestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flask-restful/build/tests/test_api.py", line 448, in test_handle_non_api_error
>     self.assertEquals('text/html', resp.headers['Content-Type'])
> AssertionError: 'text/html' != 'text/html; charset=utf-8'
> - text/html
> + text/html; charset=utf-8
> 
> 
> ----------------------------------------------------------------------
> Ran 299 tests in 0.165s
> 
> FAILED (errors=1, failures=1)
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flask-restful/build; python3.8 -m nose -v tests
> dh_auto_test: error: pybuild --test --test-nose -i python{version} -p 3.8 returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/flask-restful_0.3.8-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.



More information about the Python-modules-team mailing list