Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 597984 Details for
Bug 701546
dev-python/flask-login-0.4.1: FAIL: test_unauthorized_uses_host_from_x_forwarded_for_header (test_login.StrictHostForRedirectsTestCase)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/x-log), 14.28 KB, created by
Andreas Sturmlechner
on 2019-11-30 12:33:11 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Andreas Sturmlechner
Created:
2019-11-30 12:33:11 UTC
Size:
14.28 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/flask-login-0.4.1 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: python@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_6 python_targets_python3_7 test userland_GNU >[32;01m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >[32;01m * [39;49;00mPackage: dev-python/flask-login-0.4.1 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: python@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_6 python_targets_python3_7 test userland_GNU >[32;01m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking flask-login-0.4.1.tar.gz to /var/tmp/portage/dev-python/flask-login-0.4.1/work >>>> Source unpacked in /var/tmp/portage/dev-python/flask-login-0.4.1/work >>>> Preparing source in /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1 ... > [32;01m*[0m python3_6: running distutils-r1_run_phase distutils-r1_python_compile >python3.6 setup.py build -j 8 >running build >running build_py >creating /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_6/lib/flask_login >copying flask_login/utils.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_6/lib/flask_login >copying flask_login/signals.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_6/lib/flask_login >copying flask_login/mixins.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_6/lib/flask_login >copying flask_login/login_manager.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_6/lib/flask_login >copying flask_login/config.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_6/lib/flask_login >copying flask_login/_compat.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_6/lib/flask_login >copying flask_login/__init__.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_6/lib/flask_login >copying flask_login/__about__.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_6/lib/flask_login >warning: build_py: byte-compiling is disabled, skipping. > > [32;01m*[0m python3_7: running distutils-r1_run_phase distutils-r1_python_compile >python3.7 setup.py build -j 8 >running build >running build_py >creating /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_7/lib/flask_login >copying flask_login/utils.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_7/lib/flask_login >copying flask_login/signals.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_7/lib/flask_login >copying flask_login/mixins.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_7/lib/flask_login >copying flask_login/login_manager.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_7/lib/flask_login >copying flask_login/config.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_7/lib/flask_login >copying flask_login/_compat.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_7/lib/flask_login >copying flask_login/__init__.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_7/lib/flask_login >copying flask_login/__about__.py -> /var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1-python3_7/lib/flask_login >warning: build_py: byte-compiling is disabled, skipping. > > [32;01m*[0m python3_7: running distutils-r1_run_phase python_compile_all >>>> Source compiled. >>>> Test phase: dev-python/flask-login-0.4.1 > [32;01m*[0m python3_6: running distutils-r1_run_phase python_test >test_have_about_data (test_login.AboutTestCase) ... ok >test_values (test_login.AnonymousUserTestCase) ... ok >test_cookie_encoding (test_login.CookieEncodingTestCase) ... ok >test_class_init (test_login.InitializationTestCase) ... ok >test_init_app (test_login.InitializationTestCase) ... ok >test_login_disabled_is_set (test_login.InitializationTestCase) ... ok >test_no_user_loader_raises (test_login.InitializationTestCase) ... ok >test_authentication_is_fresh (test_login.LoginTestCase) ... ok >test_chinese_user_agent (test_login.LoginTestCase) ... SKIP: wait for upstream implementing RFC 5987 >test_confirm_login (test_login.LoginTestCase) ... ok >test_decorators_are_disabled (test_login.LoginTestCase) ... ok >test_defaults_anonymous (test_login.LoginTestCase) ... ok >test_fresh_login_required_decorator (test_login.LoginTestCase) ... ok >test_incorrect_id_logs_out (test_login.LoginTestCase) ... ok >test_login_inactive_user (test_login.LoginTestCase) ... ok >test_login_inactive_user_forced (test_login.LoginTestCase) ... ok >test_login_invalid_user_with_header (test_login.LoginTestCase) ... ok >test_login_invalid_user_with_request (test_login.LoginTestCase) ... ok >test_login_persists (test_login.LoginTestCase) ... ok >test_login_persists_with_many_x_forwarded_for (test_login.LoginTestCase) ... ok >test_login_persists_with_signle_x_forwarded_for (test_login.LoginTestCase) ... ok >test_login_required_decorator (test_login.LoginTestCase) ... ok >test_login_user (test_login.LoginTestCase) ... ok >test_login_user_emits_signal (test_login.LoginTestCase) ... ok >test_login_user_not_fresh (test_login.LoginTestCase) ... ok >test_login_user_with_header (test_login.LoginTestCase) ... ok >test_login_user_with_request (test_login.LoginTestCase) ... ok >test_logout_emits_signal (test_login.LoginTestCase) ... ok >test_logout_logs_out_current_user (test_login.LoginTestCase) ... ok >test_logout_persists (test_login.LoginTestCase) ... ok >test_logout_stays_logged_out_with_remember_me (test_login.LoginTestCase) ... ok >test_logout_stays_logged_out_with_remember_me_custom_duration (test_login.LoginTestCase) ... ok >test_logout_without_current_user (test_login.LoginTestCase) ... ok >test_needs_refresh_aborts_401 (test_login.LoginTestCase) ... ok >test_needs_refresh_fires_flash_when_redirect_to_refresh_view (test_login.LoginTestCase) ... ok >test_needs_refresh_fires_needs_refresh_signal (test_login.LoginTestCase) ... ok >test_needs_refresh_flash_message_localized (test_login.LoginTestCase) ... ok >test_needs_refresh_uses_handler (test_login.LoginTestCase) ... ok >test_permanent_strong_session_protection_fires_signal (test_login.LoginTestCase) ... ok >test_permanent_strong_session_protection_marks_session_unfresh (test_login.LoginTestCase) ... ok >test_redirects_to_refresh_view (test_login.LoginTestCase) ... ok >test_refresh_with_next_in_session (test_login.LoginTestCase) ... ok >test_remember_me (test_login.LoginTestCase) ... ok >test_remember_me_accepts_duration_as_int (test_login.LoginTestCase) ... ok >test_remember_me_custom_duration (test_login.LoginTestCase) ... ok >test_remember_me_custom_duration_uses_custom_cookie (test_login.LoginTestCase) ... ok >test_remember_me_is_unfresh (test_login.LoginTestCase) ... ok >test_remember_me_refresh_every_request (test_login.LoginTestCase) ... ok >test_remember_me_uses_custom_cookie_parameters (test_login.LoginTestCase) ... ok >test_remember_me_with_invalid_custom_duration_returns_500_resp (test_login.LoginTestCase) ... ok >test_remember_me_with_invalid_duration_returns_500_response (test_login.LoginTestCase) ... ok >test_requests_without_accessing_session (test_login.LoginTestCase) ... ok >test_russian_cp1251_user_agent (test_login.LoginTestCase) ... SKIP: wait for upstream implementing RFC 5987 >test_session_not_modified (test_login.LoginTestCase) ... ok >test_session_protection_basic_fires_signal (test_login.LoginTestCase) ... ok >test_session_protection_basic_marks_session_unfresh (test_login.LoginTestCase) ... ok >test_session_protection_basic_passes_successive_requests (test_login.LoginTestCase) ... ok >test_session_protection_basic_skips_when_remember_me (test_login.LoginTestCase) ... ok >test_session_protection_skip_when_basic_and_anonymous (test_login.LoginTestCase) ... ok >test_session_protection_skip_when_off_and_anonymous (test_login.LoginTestCase) ... ok >test_session_protection_strong_deletes_session (test_login.LoginTestCase) ... ok >test_session_protection_strong_fires_signal_user_agent (test_login.LoginTestCase) ... ok >test_session_protection_strong_fires_signal_x_forwarded_for (test_login.LoginTestCase) ... ok >test_session_protection_strong_passes_successive_requests (test_login.LoginTestCase) ... ok >test_session_protection_strong_skips_when_remember_me (test_login.LoginTestCase) ... ok >test_set_cookie_with_invalid_custom_duration_raises_exception (test_login.LoginTestCase) ... ok >test_set_cookie_with_invalid_duration_raises_exception (test_login.LoginTestCase) ... ok >test_set_login_view_without_blueprints (test_login.LoginTestCase) ... ok >test_test_request_context_users_are_anonymous (test_login.LoginTestCase) ... ok >test_unauthorized_aborts_with_401 (test_login.LoginTestCase) ... ok >test_unauthorized_fires_unauthorized_signal (test_login.LoginTestCase) ... ok >test_unauthorized_flash_message_localized (test_login.LoginTestCase) ... ok >test_unauthorized_flashes_message_with_login_view (test_login.LoginTestCase) ... ok >test_unauthorized_redirects_to_login_view (test_login.LoginTestCase) ... ok >test_unauthorized_uses_authorized_handler (test_login.LoginTestCase) ... ok >test_unauthorized_uses_blueprint_login_view (test_login.LoginTestCase) ... ok >test_unauthorized_with_next_in_session (test_login.LoginTestCase) ... ok >test_user_context_processor (test_login.LoginTestCase) ... ok >test_user_loaded_from_cookie_fired (test_login.LoginTestCase) ... ok >test_user_loaded_from_header_fired (test_login.LoginTestCase) ... ok >test_user_loaded_from_request_fired (test_login.LoginTestCase) ... ok >test_user_login_confirmed_signal_fired (test_login.LoginTestCase) ... ok >test_options_call_exempt (test_login.MethodViewLoginTestCase) ... ok >test_bytes (test_login.SecretKeyTestCase) ... ok >test_default (test_login.SecretKeyTestCase) ... ok >test_native (test_login.SecretKeyTestCase) ... ok >test_static_loads_anonymous (test_login.StaticTestCase) ... ok >test_static_loads_without_accessing_session (test_login.StaticTestCase) ... ok >test_unauthorized_ignores_host_from_x_forwarded_for_header (test_login.StrictHostForRedirectsTestCase) ... ok >test_unauthorized_uses_host_from_config_when_available (test_login.StrictHostForRedirectsTestCase) ... ok >test_unauthorized_uses_host_from_next_url (test_login.StrictHostForRedirectsTestCase) ... ok >test_unauthorized_uses_host_from_x_forwarded_for_header (test_login.StrictHostForRedirectsTestCase) ... FAIL >test_login_url_generation (test_login.TestLoginUrlGeneration) ... ok >test_login_url_generation_with_view (test_login.TestLoginUrlGeneration) ... ok >test_login_url_no_next_url (test_login.TestLoginUrlGeneration) ... ok >test_make_next_param (test_login.TestLoginUrlGeneration) ... ok >test_remember_me_user_id (test_login.UnicodeCookieUserIDTestCase) ... ok >test_remember_me_username (test_login.UnicodeCookieUserIDTestCase) ... ok >test_default_values (test_login.UserMixinTestCase) ... ok >test_equality (test_login.UserMixinTestCase) ... ok >test_get_id_from_id_attribute (test_login.UserMixinTestCase) ... ok >test_get_id_not_implemented (test_login.UserMixinTestCase) ... ok >test_hashable (test_login.UserMixinTestCase) ... ok > >====================================================================== >FAIL: test_unauthorized_uses_host_from_x_forwarded_for_header (test_login.StrictHostForRedirectsTestCase) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1/test_login.py", line 1537, in test_unauthorized_uses_host_from_x_forwarded_for_header > 'http://proxy.com/login?next=%2Fsecret') >AssertionError: 'http://foo.com/login?next=%2Fsecret' != 'http://proxy.com/login?next=%2Fsecret' >- http://foo.com/login?next=%2Fsecret >? ^ ^ >+ http://proxy.com/login?next=%2Fsecret >? ^^ ^^ > > >---------------------------------------------------------------------- >Ran 103 tests in 0.646s > >FAILED (SKIP=2, failures=1) > [31;01m*[0m ERROR: dev-python/flask-login-0.4.1::gentoo failed (test phase): > [31;01m*[0m Tests fail with python3.6 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 125: Called src_test > [31;01m*[0m environment, line 2889: Called distutils-r1_src_test > [31;01m*[0m environment, line 1024: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 460: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2417: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 1789: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 1787: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 671: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 955: Called python_test > [31;01m*[0m environment, line 2791: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m nosetests -v || die "Tests fail with ${EPYTHON}" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/flask-login-0.4.1::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/flask-login-0.4.1::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/buildlog/dev-python:flask-login-0.4.1:20191130-123004.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/flask-login-0.4.1/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/flask-login-0.4.1/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1' > [31;01m*[0m S: '/var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1'
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 701546
: 597984