Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1469474 Details for
Bug 1606869
python-sanic: FTBFS in Fedora rawhide
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
build.log (text/plain), 32.00 KB, created by
Mohan Boddu
on 2018-07-20 22:01:23 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Mohan Boddu
Created:
2018-07-20 22:01:23 UTC
Size:
32.00 KB
patch
obsolete
>ning install_scripts >+ /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.6.0-5.fc29 --unique-debug-suffix -0.6.0-5.fc29.noarch --unique-debug-src-base python-sanic-0.6.0-5.fc29.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sanic-0.6.0 >find: 'debug': No such file or directory >+ /usr/lib/rpm/check-buildroot >+ /usr/lib/rpm/redhat/brp-ldconfig >/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory >+ /usr/lib/rpm/brp-compress >+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip >+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 >Bytecompiling .py files below /builddir/build/BUILDROOT/python-sanic-0.6.0-5.fc29.noarch/usr/lib/python3.7 using /usr/bin/python3.7 >+ /usr/lib/rpm/brp-python-hardlink >+ /usr/lib/rpm/redhat/brp-mangle-shebangs >Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.pun3j1 >+ umask 022 >+ cd /builddir/build/BUILD >+ cd sanic-0.6.0 >+ PYTHONPATH=/builddir/build/BUILDROOT/python-sanic-0.6.0-5.fc29.noarch/usr/lib/python3.7/site-packages >+ py.test-3.7 -v >============================= test session starts ============================== >platform linux -- Python 3.7.0, pytest-3.6.3, py-1.5.4, pluggy-0.6.0 -- /usr/bin/python3 >cachedir: .pytest_cache >rootdir: /builddir/build/BUILD/sanic-0.6.0, inifile: >collecting ... collected 263 items >tests/test_bad_request.py::test_bad_request_response PASSED [ 0%] >tests/test_blueprints.py::test_versioned_routes_get[GET] PASSED [ 0%] >tests/test_blueprints.py::test_versioned_routes_get[POST] PASSED [ 1%] >tests/test_blueprints.py::test_versioned_routes_get[PUT] PASSED [ 1%] >tests/test_blueprints.py::test_versioned_routes_get[HEAD] PASSED [ 1%] >tests/test_blueprints.py::test_versioned_routes_get[OPTIONS] PASSED [ 2%] >tests/test_blueprints.py::test_versioned_routes_get[PATCH] PASSED [ 2%] >tests/test_blueprints.py::test_versioned_routes_get[DELETE] PASSED [ 3%] >tests/test_blueprints.py::test_bp PASSED [ 3%] >tests/test_blueprints.py::test_bp_strict_slash PASSED [ 3%] >tests/test_blueprints.py::test_bp_with_url_prefix PASSED [ 4%] >tests/test_blueprints.py::test_several_bp_with_url_prefix PASSED [ 4%] >tests/test_blueprints.py::test_bp_with_host PASSED [ 4%] >tests/test_blueprints.py::test_several_bp_with_host PASSED [ 5%] >tests/test_blueprints.py::test_bp_middleware PASSED [ 5%] >tests/test_blueprints.py::test_bp_exception_handler PASSED [ 6%] >tests/test_blueprints.py::test_bp_listeners PASSED [ 6%] >tests/test_blueprints.py::test_bp_static PASSED [ 6%] >tests/test_blueprints.py::test_bp_shorthand PASSED [ 7%] >tests/test_config.py::test_load_from_object PASSED [ 7%] >tests/test_config.py::test_auto_load_env PASSED [ 7%] >tests/test_config.py::test_load_from_file PASSED [ 8%] >tests/test_config.py::test_load_from_missing_file PASSED [ 8%] >tests/test_config.py::test_load_from_envvar PASSED [ 9%] >tests/test_config.py::test_load_from_missing_envvar PASSED [ 9%] >tests/test_config.py::test_overwrite_exisiting_config PASSED [ 9%] >tests/test_config.py::test_missing_config PASSED [ 10%] >tests/test_cookies.py::test_cookies PASSED [ 10%] >tests/test_cookies.py::test_false_cookies[False-False] PASSED [ 11%] >tests/test_cookies.py::test_false_cookies[True-True] PASSED [ 11%] >tests/test_cookies.py::test_http2_cookies PASSED [ 11%] >tests/test_cookies.py::test_cookie_options PASSED [ 12%] >tests/test_cookies.py::test_cookie_deletion PASSED [ 12%] >tests/test_create_task.py::test_create_task PASSED [ 12%] >tests/test_custom_protocol.py::test_use_custom_protocol PASSED [ 13%] >tests/test_dynamic_routes.py::test_overload_dynamic_routes[get-text-OK1 test] PASSED [ 13%] >tests/test_dynamic_routes.py::test_overload_dynamic_routes[post-text-OK2 test] PASSED [ 14%] >tests/test_dynamic_routes.py::test_overload_dynamic_routes[put-text-OK2 test] PASSED [ 14%] >tests/test_dynamic_routes.py::test_overload_dynamic_routes[delete-status-405] PASSED [ 14%] >tests/test_dynamic_routes.py::test_overload_dynamic_routes_exist PASSED [ 15%] >tests/test_exceptions.py::test_catch_exception_list PASSED [ 15%] >tests/test_exceptions.py::test_no_exception PASSED [ 15%] >tests/test_exceptions.py::test_server_error_exception PASSED [ 16%] >tests/test_exceptions.py::test_invalid_usage_exception PASSED [ 16%] >tests/test_exceptions.py::test_not_found_exception PASSED [ 17%] >tests/test_exceptions.py::test_forbidden_exception PASSED [ 17%] >tests/test_exceptions.py::test_unauthorized_exception PASSED [ 17%] >tests/test_exceptions.py::test_handled_unhandled_exception PASSED [ 18%] >tests/test_exceptions.py::test_exception_in_exception_handler PASSED [ 18%] >tests/test_exceptions.py::test_exception_in_exception_handler_debug_off PASSED [ 19%] >tests/test_exceptions.py::test_abort PASSED [ 19%] >tests/test_exceptions_handler.py::test_invalid_usage_exception_handler PASSED [ 19%] >tests/test_exceptions_handler.py::test_server_error_exception_handler PASSED [ 20%] >tests/test_exceptions_handler.py::test_not_found_exception_handler PASSED [ 20%] >tests/test_exceptions_handler.py::test_text_exception__handler PASSED [ 20%] >tests/test_exceptions_handler.py::test_html_traceback_output_in_debug_mode PASSED [ 21%] >tests/test_exceptions_handler.py::test_inherited_exception_handler PASSED [ 21%] >tests/test_exceptions_handler.py::test_chained_exception_handler PASSED [ 22%] >tests/test_exceptions_handler.py::test_exception_handler_lookup PASSED [ 22%] >tests/test_logging.py::test_log PASSED [ 22%] >tests/test_logging.py::test_default_log_fmt PASSED [ 23%] >tests/test_middleware.py::test_middleware_request PASSED [ 23%] >tests/test_middleware.py::test_middleware_response PASSED [ 23%] >tests/test_middleware.py::test_middleware_response_exception PASSED [ 24%] >tests/test_middleware.py::test_middleware_override_request PASSED [ 24%] >tests/test_middleware.py::test_middleware_override_response PASSED [ 25%] >tests/test_middleware.py::test_middleware_order PASSED [ 25%] >tests/test_multiprocessing.py::test_multiprocessing PASSED [ 25%] >tests/test_payload_too_large.py::test_payload_too_large_from_error_handler PASSED [ 26%] >tests/test_payload_too_large.py::test_payload_too_large_at_data_received_default PASSED [ 26%] >tests/test_payload_too_large.py::test_payload_too_large_at_on_header_default PASSED [ 26%] >tests/test_redirect.py::test_redirect_default_302 PASSED [ 27%] >tests/test_redirect.py::test_redirect_headers_none PASSED [ 27%] >tests/test_redirect.py::test_redirect_with_301 PASSED [ 28%] >tests/test_redirect.py::test_get_then_redirect_follow_redirect PASSED [ 28%] >tests/test_redirect.py::test_chained_redirect PASSED [ 28%] >tests/test_request_data.py::test_storage PASSED [ 29%] >tests/test_request_data.py::test_app_injection PASSED [ 29%] >tests/test_request_stream.py::test_request_stream_method_view PASSED [ 30%] >tests/test_request_stream.py::test_request_stream_app PASSED [ 30%] >tests/test_request_stream.py::test_request_stream_handle_exception PASSED [ 30%] >tests/test_request_stream.py::test_request_stream_blueprint PASSED [ 31%] >tests/test_request_stream.py::test_request_stream_composition_view PASSED [ 31%] >tests/test_request_stream.py::test_request_stream PASSED [ 31%] >tests/test_request_timeout.py::test_server_error_request_timeout PASSED [ 32%] >tests/test_request_timeout.py::test_default_server_error_request_timeout PASSED [ 32%] >tests/test_requests.py::test_sync PASSED [ 33%] >tests/test_requests.py::test_text PASSED [ 33%] >tests/test_requests.py::test_headers PASSED [ 33%] >tests/test_requests.py::test_non_str_headers PASSED [ 34%] >tests/test_requests.py::test_invalid_response PASSED [ 34%] >tests/test_requests.py::test_json PASSED [ 34%] >tests/test_requests.py::test_empty_json PASSED [ 35%] >tests/test_requests.py::test_invalid_json PASSED [ 35%] >tests/test_requests.py::test_query_string PASSED [ 36%] >tests/test_requests.py::test_uri_template PASSED [ 36%] >tests/test_requests.py::test_token PASSED [ 36%] >tests/test_requests.py::test_content_type PASSED [ 37%] >tests/test_requests.py::test_remote_addr PASSED [ 37%] >tests/test_requests.py::test_match_info PASSED [ 38%] >tests/test_requests.py::test_post_json PASSED [ 38%] >tests/test_requests.py::test_post_form_urlencoded PASSED [ 38%] >tests/test_requests.py::test_post_form_multipart_form_data[------sanic\r\nContent-Disposition: form-data; name="test"\r\n\r\nOK\r\n------sanic--\r\n] PASSED [ 39%] >tests/test_requests.py::test_post_form_multipart_form_data[------sanic\r\ncontent-disposition: form-data; name="test"\r\n\r\nOK\r\n------sanic--\r\n] PASSED [ 39%] >tests/test_requests.py::test_url_attributes_no_ssl[/foo--http://{}:{}/foo] PASSED [ 39%] >tests/test_requests.py::test_url_attributes_no_ssl[/bar/baz--http://{}:{}/bar/baz] PASSED [ 40%] >tests/test_requests.py::test_url_attributes_no_ssl[/moo/boo-arg1=val1-http://{}:{}/moo/boo?arg1=val1] PASSED [ 40%] >tests/test_requests.py::test_url_attributes_with_ssl[/foo--https://{}:{}/foo] PASSED [ 41%] >tests/test_requests.py::test_url_attributes_with_ssl[/bar/baz--https://{}:{}/bar/baz] PASSED [ 41%] >tests/test_requests.py::test_url_attributes_with_ssl[/moo/boo-arg1=val1-https://{}:{}/moo/boo?arg1=val1] PASSED [ 41%] >tests/test_response.py::test_response_body_not_a_string PASSED [ 42%] >tests/test_response.py::test_json_response PASSED [ 42%] >tests/test_response.py::test_streaming_adds_correct_headers PASSED [ 42%] >tests/test_response.py::test_streaming_returns_correct_content PASSED [ 43%] >tests/test_response.py::test_stream_response_status_returns_correct_headers[200] PASSED [ 43%] >tests/test_response.py::test_stream_response_status_returns_correct_headers[201] PASSED [ 44%] >tests/test_response.py::test_stream_response_status_returns_correct_headers[400] PASSED [ 44%] >tests/test_response.py::test_stream_response_status_returns_correct_headers[401] PASSED [ 44%] >tests/test_response.py::test_stream_response_keep_alive_returns_correct_headers[10] PASSED [ 45%] >tests/test_response.py::test_stream_response_keep_alive_returns_correct_headers[20] PASSED [ 45%] >tests/test_response.py::test_stream_response_keep_alive_returns_correct_headers[30] PASSED [ 46%] >tests/test_response.py::test_stream_response_includes_chunked_header PASSED [ 46%] >tests/test_response.py::test_stream_response_writes_correct_content_to_transport PASSED [ 46%] >tests/test_response.py::test_file_response[test.file] PASSED [ 47%] >tests/test_response.py::test_file_response[decode me.txt] PASSED [ 47%] >tests/test_response.py::test_file_response[python.png] PASSED [ 47%] >tests/test_response.py::test_file_head_response[test.file] PASSED [ 48%] >tests/test_response.py::test_file_head_response[decode me.txt] PASSED [ 48%] >tests/test_response.py::test_file_stream_response[test.file] PASSED [ 49%] >tests/test_response.py::test_file_stream_response[decode me.txt] PASSED [ 49%] >tests/test_response.py::test_file_stream_response[python.png] PASSED [ 49%] >tests/test_response.py::test_file_stream_head_response[test.file] PASSED [ 50%] >tests/test_response.py::test_file_stream_head_response[decode me.txt] PASSED [ 50%] >tests/test_routes.py::test_versioned_routes_get[GET] PASSED [ 50%] >tests/test_routes.py::test_versioned_routes_get[POST] PASSED [ 51%] >tests/test_routes.py::test_versioned_routes_get[PUT] PASSED [ 51%] >tests/test_routes.py::test_versioned_routes_get[HEAD] PASSED [ 52%] >tests/test_routes.py::test_versioned_routes_get[OPTIONS] PASSED [ 52%] >tests/test_routes.py::test_versioned_routes_get[PATCH] PASSED [ 52%] >tests/test_routes.py::test_versioned_routes_get[DELETE] PASSED [ 53%] >tests/test_routes.py::test_shorthand_routes_get PASSED [ 53%] >tests/test_routes.py::test_route_strict_slash PASSED [ 53%] >tests/test_routes.py::test_route_optional_slash PASSED [ 54%] >tests/test_routes.py::test_shorthand_routes_post PASSED [ 54%] >tests/test_routes.py::test_shorthand_routes_put PASSED [ 55%] >tests/test_routes.py::test_shorthand_routes_delete PASSED [ 55%] >tests/test_routes.py::test_shorthand_routes_patch PASSED [ 55%] >tests/test_routes.py::test_shorthand_routes_head PASSED [ 56%] >tests/test_routes.py::test_shorthand_routes_options PASSED [ 56%] >tests/test_routes.py::test_static_routes PASSED [ 57%] >tests/test_routes.py::test_dynamic_route PASSED [ 57%] >tests/test_routes.py::test_dynamic_route_string PASSED [ 57%] >tests/test_routes.py::test_dynamic_route_int PASSED [ 58%] >tests/test_routes.py::test_dynamic_route_number PASSED [ 58%] >tests/test_routes.py::test_dynamic_route_regex PASSED [ 58%] >tests/test_routes.py::test_dynamic_route_path PASSED [ 59%] >tests/test_routes.py::test_dynamic_route_unhashable PASSED [ 59%] >tests/test_routes.py::test_websocket_route PASSED [ 60%] >tests/test_routes.py::test_route_duplicate PASSED [ 60%] >tests/test_routes.py::test_method_not_allowed PASSED [ 60%] >tests/test_routes.py::test_static_add_route PASSED [ 61%] >tests/test_routes.py::test_dynamic_add_route PASSED [ 61%] >tests/test_routes.py::test_dynamic_add_route_string PASSED [ 61%] >tests/test_routes.py::test_dynamic_add_route_int PASSED [ 62%] >tests/test_routes.py::test_dynamic_add_route_number PASSED [ 62%] >tests/test_routes.py::test_dynamic_add_route_regex PASSED [ 63%] >tests/test_routes.py::test_dynamic_add_route_unhashable PASSED [ 63%] >tests/test_routes.py::test_add_route_duplicate PASSED [ 63%] >tests/test_routes.py::test_add_route_method_not_allowed PASSED [ 64%] >tests/test_routes.py::test_remove_static_route PASSED [ 64%] >tests/test_routes.py::test_remove_dynamic_route PASSED [ 65%] >tests/test_routes.py::test_remove_inexistent_route PASSED [ 65%] >tests/test_routes.py::test_removing_slash PASSED [ 65%] >tests/test_routes.py::test_remove_unhashable_route PASSED [ 66%] >tests/test_routes.py::test_remove_route_without_clean_cache PASSED [ 66%] >tests/test_routes.py::test_overload_routes PASSED [ 66%] >tests/test_routes.py::test_unmergeable_overload_routes PASSED [ 67%] >tests/test_server_events.py::test_single_listener[before_server_start] PASSED [ 67%] >tests/test_server_events.py::test_single_listener[after_server_start] PASSED [ 68%] >tests/test_server_events.py::test_single_listener[before_server_stop] PASSED [ 68%] >tests/test_server_events.py::test_single_listener[after_server_stop] PASSED [ 68%] >tests/test_server_events.py::test_all_listeners PASSED [ 69%] >tests/test_signal_handlers.py::test_register_system_signals PASSED [ 69%] >tests/test_signal_handlers.py::test_dont_register_system_signals PASSED [ 69%] >tests/test_static.py::test_static_file[test.file] PASSED [ 70%] >tests/test_static.py::test_static_file[decode me.txt] PASSED [ 70%] >tests/test_static.py::test_static_file[python.png] PASSED [ 71%] >tests/test_static.py::test_static_directory[/static-test.file] PASSED [ 71%] >tests/test_static.py::test_static_directory[/static-decode me.txt] PASSED [ 71%] >tests/test_static.py::test_static_directory[test.file] PASSED [ 72%] >tests/test_static.py::test_static_directory[decode me.txt] PASSED [ 72%] >tests/test_static.py::test_static_directory[/dir-test.file] PASSED [ 73%] >tests/test_static.py::test_static_directory[/dir-decode me.txt] PASSED [ 73%] >tests/test_static.py::test_static_head_request[test.file] PASSED [ 73%] >tests/test_static.py::test_static_head_request[decode me.txt] PASSED [ 74%] >tests/test_static.py::test_static_content_range_correct[test.file] PASSED [ 74%] >tests/test_static.py::test_static_content_range_correct[decode me.txt] PASSED [ 74%] >tests/test_static.py::test_static_content_range_front[test.file] PASSED [ 75%] >tests/test_static.py::test_static_content_range_front[decode me.txt] PASSED [ 75%] >tests/test_static.py::test_static_content_range_back[test.file] PASSED [ 76%] >tests/test_static.py::test_static_content_range_back[decode me.txt] PASSED [ 76%] >tests/test_static.py::test_static_content_range_empty[test.file] PASSED [ 76%] >tests/test_static.py::test_static_content_range_empty[decode me.txt] PASSED [ 77%] >tests/test_static.py::test_static_content_range_error[test.file] PASSED [ 77%] >tests/test_static.py::test_static_content_range_error[decode me.txt] PASSED [ 77%] >tests/test_url_building.py::test_simple_url_for_getting PASSED [ 78%] >tests/test_url_building.py::test_simple_url_for_getting_with_more_params[args0-/myurl?arg1=v1&arg1=v2] PASSED [ 78%] >tests/test_url_building.py::test_simple_url_for_getting_with_more_params[args1-/myurl?arg1=v1&arg1=v2#anchor] PASSED [ 79%] >tests/test_url_building.py::test_simple_url_for_getting_with_more_params[args2-http://127.0.0.1:42101/myurl?arg1=v1#anchor] PASSED [ 79%] >tests/test_url_building.py::test_fails_if_endpoint_not_found PASSED [ 79%] >tests/test_url_building.py::test_fails_url_build_if_param_not_passed PASSED [ 80%] >tests/test_url_building.py::test_fails_url_build_if_params_not_passed PASSED [ 80%] >tests/test_url_building.py::test_fails_with_int_message PASSED [ 80%] >tests/test_url_building.py::test_fails_with_two_letter_string_message PASSED [ 81%] >tests/test_url_building.py::test_fails_with_number_message PASSED [ 81%] >tests/test_url_building.py::test_adds_other_supplied_values_as_query_string PASSED [ 82%] >tests/test_url_building.py::test_blueprints_are_named_correctly PASSED [ 82%] >tests/test_url_building.py::test_blueprints_work_with_params PASSED [ 82%] >tests/test_url_building.py::test_methodview_naming PASSED [ 83%] >tests/test_utf8.py::test_utf8_query_string PASSED [ 83%] >tests/test_utf8.py::test_utf8_response PASSED [ 84%] >tests/test_utf8.py::test_utf8_post_json PASSED [ 84%] >tests/test_vhosts.py::test_vhosts PASSED [ 84%] >tests/test_vhosts.py::test_vhosts_with_list PASSED [ 85%] >tests/test_vhosts.py::test_vhosts_with_defaults PASSED [ 85%] >tests/test_views.py::test_methods[GET] PASSED [ 85%] >tests/test_views.py::test_methods[POST] PASSED [ 86%] >tests/test_views.py::test_methods[PUT] PASSED [ 86%] >tests/test_views.py::test_methods[HEAD] PASSED [ 87%] >tests/test_views.py::test_methods[OPTIONS] PASSED [ 87%] >tests/test_views.py::test_methods[PATCH] PASSED [ 87%] >tests/test_views.py::test_methods[DELETE] PASSED [ 88%] >tests/test_views.py::test_unexisting_methods PASSED [ 88%] >tests/test_views.py::test_argument_methods PASSED [ 88%] >tests/test_views.py::test_with_bp PASSED [ 89%] >tests/test_views.py::test_with_bp_with_url_prefix PASSED [ 89%] >tests/test_views.py::test_with_middleware PASSED [ 90%] >tests/test_views.py::test_with_middleware_response PASSED [ 90%] >tests/test_views.py::test_with_custom_class_methods PASSED [ 90%] >tests/test_views.py::test_with_decorator PASSED [ 91%] >tests/test_views.py::test_composition_view_rejects_incorrect_methods PASSED [ 91%] >tests/test_views.py::test_composition_view_rejects_duplicate_methods PASSED [ 92%] >tests/test_views.py::test_composition_view_runs_methods_as_expected[GET] PASSED [ 92%] >tests/test_views.py::test_composition_view_runs_methods_as_expected[POST] PASSED [ 92%] >tests/test_views.py::test_composition_view_runs_methods_as_expected[PUT] PASSED [ 93%] >tests/test_views.py::test_composition_view_runs_methods_as_expected[HEAD] PASSED [ 93%] >tests/test_views.py::test_composition_view_runs_methods_as_expected[OPTIONS] PASSED [ 93%] >tests/test_views.py::test_composition_view_runs_methods_as_expected[PATCH] PASSED [ 94%] >tests/test_views.py::test_composition_view_runs_methods_as_expected[DELETE] PASSED [ 94%] >tests/test_views.py::test_composition_view_rejects_invalid_methods[GET] PASSED [ 95%] >tests/test_views.py::test_composition_view_rejects_invalid_methods[POST] PASSED [ 95%] >tests/test_views.py::test_composition_view_rejects_invalid_methods[PUT] PASSED [ 95%] >tests/test_views.py::test_composition_view_rejects_invalid_methods[HEAD] PASSED [ 96%] >tests/test_views.py::test_composition_view_rejects_invalid_methods[OPTIONS] PASSED [ 96%] >tests/test_views.py::test_composition_view_rejects_invalid_methods[PATCH] PASSED [ 96%] >tests/test_views.py::test_composition_view_rejects_invalid_methods[DELETE] PASSED [ 97%] >tests/test_worker.py::test_gunicorn_worker ERROR [ 97%] >tests/test_worker.py::test_worker_init_process PASSED [ 98%] >tests/test_worker.py::test_worker_init_signals PASSED [ 98%] >tests/test_worker.py::test_handle_abort PASSED [ 98%] >tests/test_worker.py::test_handle_quit PASSED [ 99%] >tests/test_worker.py::test_run_max_requests_exceeded PASSED [ 99%] >tests/test_worker.py::test_worker_close PASSED [100%] >==================================== ERRORS ==================================== >____________________ ERROR at setup of test_gunicorn_worker ____________________ > @pytest.fixture(scope='module') > def gunicorn_worker(): > command = 'python3-gunicorn --bind 127.0.0.1:1337 --worker-class sanic.worker.GunicornWorker examples.simple_server:app' >> worker = subprocess.Popen(shlex.split(command)) >tests/test_worker.py:17: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib64/python3.7/subprocess.py:756: in __init__ > restore_signals, start_new_session) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <subprocess.Popen object at 0xffff875f9b70> >args = ['python3-gunicorn', '--bind', '127.0.0.1:1337', '--worker-class', 'sanic.worker.GunicornWorker', 'examples.simple_server:app'] >executable = b'python3-gunicorn', preexec_fn = None, close_fds = True >pass_fds = (), cwd = None, env = None, startupinfo = None, creationflags = 0 >shell = False, p2cread = -1, p2cwrite = -1, c2pread = -1, c2pwrite = -1 >errread = -1, errwrite = -1, restore_signals = True, start_new_session = False > def _execute_child(self, args, executable, preexec_fn, close_fds, > pass_fds, cwd, env, > startupinfo, creationflags, shell, > p2cread, p2cwrite, > c2pread, c2pwrite, > errread, errwrite, > restore_signals, start_new_session): > """Execute program (POSIX version)""" > > if isinstance(args, (str, bytes)): > args = [args] > else: > args = list(args) > > if shell: > # On Android the default shell is at '/system/bin/sh'. > unix_shell = ('/system/bin/sh' if > hasattr(sys, 'getandroidapilevel') else '/bin/sh') > args = [unix_shell, "-c"] + args > if executable: > args[0] = executable > > if executable is None: > executable = args[0] > orig_executable = executable > > # For transferring possible exec failure from child to parent. > # Data format: "exception name:hex errno:description" > # Pickle is not used; it is complex and involves memory allocation. > errpipe_read, errpipe_write = os.pipe() > # errpipe_write must not be in the standard io 0, 1, or 2 fd range. > low_fds_to_close = [] > while errpipe_write < 3: > low_fds_to_close.append(errpipe_write) > errpipe_write = os.dup(errpipe_write) > for low_fd in low_fds_to_close: > os.close(low_fd) > try: > try: > # We must avoid complex work that could involve > # malloc or free in the child process to avoid > # potential deadlocks, thus we do all this here. > # and pass it to fork_exec() > > if env is not None: > env_list = [] > for k, v in env.items(): > k = os.fsencode(k) > if b'=' in k: > raise ValueError("illegal environment variable name") > env_list.append(k + b'=' + os.fsencode(v)) > else: > env_list = None # Use execv instead of execve. > executable = os.fsencode(executable) > if os.path.dirname(executable): > executable_list = (executable,) > else: > # This matches the behavior of os._execvpe(). > executable_list = tuple( > os.path.join(os.fsencode(dir), executable) > for dir in os.get_exec_path(env)) > fds_to_keep = set(pass_fds) > fds_to_keep.add(errpipe_write) > self.pid = _posixsubprocess.fork_exec( > args, executable_list, > close_fds, tuple(sorted(map(int, fds_to_keep))), > cwd, env_list, > p2cread, p2cwrite, c2pread, c2pwrite, > errread, errwrite, > errpipe_read, errpipe_write, > restore_signals, start_new_session, preexec_fn) > self._child_created = True > finally: > # be sure the FD is closed no matter what > os.close(errpipe_write) > > # self._devnull is not always defined. > devnull_fd = getattr(self, '_devnull', None) > if p2cread != -1 and p2cwrite != -1 and p2cread != devnull_fd: > os.close(p2cread) > if c2pwrite != -1 and c2pread != -1 and c2pwrite != devnull_fd: > os.close(c2pwrite) > if errwrite != -1 and errread != -1 and errwrite != devnull_fd: > os.close(errwrite) > if devnull_fd is not None: > os.close(devnull_fd) > # Prevent a double close of these fds from __init__ on error. > self._closed_child_pipe_fds = True > > # Wait for exec to fail or succeed; possibly raising an > # exception (limited in size) > errpipe_data = bytearray() > while True: > part = os.read(errpipe_read, 50000) > errpipe_data += part > if not part or len(errpipe_data) > 50000: > break > finally: > # be sure the FD is closed no matter what > os.close(errpipe_read) > > if errpipe_data: > try: > pid, sts = os.waitpid(self.pid, 0) > if pid == self.pid: > self._handle_exitstatus(sts) > else: > self.returncode = sys.maxsize > except ChildProcessError: > pass > > try: > exception_name, hex_errno, err_msg = ( > errpipe_data.split(b':', 2)) > # The encoding here should match the encoding > # written in by the subprocess implementations > # like _posixsubprocess > err_msg = err_msg.decode() > except ValueError: > exception_name = b'SubprocessError' > hex_errno = b'0' > err_msg = 'Bad exception data from child: {!r}'.format( > bytes(errpipe_data)) > child_exception_type = getattr( > builtins, exception_name.decode('ascii'), > SubprocessError) > if issubclass(child_exception_type, OSError) and hex_errno: > errno_num = int(hex_errno, 16) > child_exec_never_called = (err_msg == "noexec") > if child_exec_never_called: > err_msg = "" > # The error must be from chdir(cwd). > err_filename = cwd > else: > err_filename = orig_executable > if errno_num != 0: > err_msg = os.strerror(errno_num) > if errno_num == errno.ENOENT: > err_msg += ': ' + repr(err_filename) >> raise child_exception_type(errno_num, err_msg, err_filename) >E FileNotFoundError: [Errno 2] No such file or directory: 'python3-gunicorn': 'python3-gunicorn' >/usr/lib64/python3.7/subprocess.py:1499: FileNotFoundError >===================== 262 passed, 1 error in 24.09 seconds ===================== >Exception ignored in: <function BaseEventLoop.__del__ at 0xffff88a46ae8> >Traceback (most recent call last): > File "/usr/lib64/python3.7/asyncio/base_events.py", line 609, in __del__ > self.close() > File "/usr/lib64/python3.7/asyncio/unix_events.py", line 55, in close > super().close() > File "/usr/lib64/python3.7/asyncio/selector_events.py", line 97, in close > self._close_self_pipe() > File "/usr/lib64/python3.7/asyncio/selector_events.py", line 104, in _close_self_pipe > self._remove_reader(self._ssock.fileno()) > File "/usr/lib64/python3.7/asyncio/selector_events.py", line 277, in _remove_reader > key = self._selector.get_key(fd) > File "/usr/lib64/python3.7/selectors.py", line 190, in get_key > return mapping[fileobj] > File "/usr/lib64/python3.7/selectors.py", line 71, in __getitem__ > fd = self._selector._fileobj_lookup(fileobj) > File "/usr/lib64/python3.7/selectors.py", line 225, in _fileobj_lookup > return _fileobj_to_fd(fileobj) > File "/usr/lib64/python3.7/selectors.py", line 42, in _fileobj_to_fd > raise ValueError("Invalid file descriptor: {}".format(fd)) >ValueError: Invalid file descriptor: -1 >error: Bad exit status from /var/tmp/rpm-tmp.pun3j1 (%check) > Bad exit status from /var/tmp/rpm-tmp.pun3j1 (%check) >RPM build errors: >Child return code was: 1 >EXCEPTION: [Error()] >Traceback (most recent call last): > File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 89, in trace > result = func(*args, **kw) > File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 582, in do > raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >mockbuild.exception.Error: Command failed. See logs for output. > # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-sanic.spec
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1606869
: 1469474 |
1469475
|
1469476