Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 768225 Details for
Bug 836443
dev-python/pywinrm-0.4.2-r1 fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build log
pywinrm-0.4.2-r1-build.log (text/x-log), 37.55 KB, created by
Jakov Smolić
on 2022-03-30 17:19:21 UTC
(
hide
)
Description:
build log
Filename:
MIME Type:
Creator:
Jakov Smolić
Created:
2022-03-30 17:19:21 UTC
Size:
37.55 KB
patch
obsolete
>[32m * [39;49;00mPackage: dev-python/pywinrm-0.4.2-r1 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: marecki@gentoo.org >[32m * [39;49;00mUSE: elibc_glibc kernel_linux python_targets_python3_9 riscv test userland_GNU >[32m * [39;49;00mFEATURES: ccache distcc network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pywinrm-0.4.2.tar.gz to /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work >>>> Source unpacked in /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work >>>> Preparing source in /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2 ... > [32m*[0m python3_9: running distutils-r1_run_phase distutils-r1_python_compile >python3.9 setup.py build -j 4 >running build >running build_py >creating build >creating build/lib >creating build/lib/winrm >copying winrm/transport.py -> build/lib/winrm >copying winrm/protocol.py -> build/lib/winrm >copying winrm/exceptions.py -> build/lib/winrm >copying winrm/encryption.py -> build/lib/winrm >copying winrm/__init__.py -> build/lib/winrm >creating build/lib/winrm/vendor >copying winrm/vendor/__init__.py -> build/lib/winrm/vendor >creating build/lib/winrm/tests >copying winrm/tests/test_wql.py -> build/lib/winrm/tests >copying winrm/tests/test_transport.py -> build/lib/winrm/tests >copying winrm/tests/test_session.py -> build/lib/winrm/tests >copying winrm/tests/test_protocol.py -> build/lib/winrm/tests >copying winrm/tests/test_powershell.py -> build/lib/winrm/tests >copying winrm/tests/test_nori_type_casting.py -> build/lib/winrm/tests >copying winrm/tests/test_integration_session.py -> build/lib/winrm/tests >copying winrm/tests/test_integration_protocol.py -> build/lib/winrm/tests >copying winrm/tests/test_encryption.py -> build/lib/winrm/tests >copying winrm/tests/test_cmd.py -> build/lib/winrm/tests >copying winrm/tests/conftest.py -> build/lib/winrm/tests >copying winrm/tests/__init__.py -> build/lib/winrm/tests >creating build/lib/winrm/vendor/requests_kerberos >copying winrm/vendor/requests_kerberos/kerberos_.py -> build/lib/winrm/vendor/requests_kerberos >copying winrm/vendor/requests_kerberos/exceptions.py -> build/lib/winrm/vendor/requests_kerberos >copying winrm/vendor/requests_kerberos/compat.py -> build/lib/winrm/vendor/requests_kerberos >copying winrm/vendor/requests_kerberos/__init__.py -> build/lib/winrm/vendor/requests_kerberos >copying winrm/tests/sample_script.ps1 -> build/lib/winrm/tests >warning: build_py: byte-compiling is disabled, skipping. > > [32m*[0m Building the wheel for pywinrm-0.4.2 via setuptools.build_meta:__legacy__ >running bdist_wheel >running build >running build_py >warning: build_py: byte-compiling is disabled, skipping. > >installing to build/bdist.linux-riscv64/wheel >running install >running install_lib >creating build/bdist.linux-riscv64 >creating build/bdist.linux-riscv64/wheel >creating build/bdist.linux-riscv64/wheel/winrm >creating build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/sample_script.ps1 -> build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/__init__.py -> build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/conftest.py -> build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/test_cmd.py -> build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/test_encryption.py -> build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/test_integration_protocol.py -> build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/test_integration_session.py -> build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/test_nori_type_casting.py -> build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/test_powershell.py -> build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/test_protocol.py -> build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/test_session.py -> build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/test_transport.py -> build/bdist.linux-riscv64/wheel/winrm/tests >copying build/lib/winrm/tests/test_wql.py -> build/bdist.linux-riscv64/wheel/winrm/tests >creating build/bdist.linux-riscv64/wheel/winrm/vendor >creating build/bdist.linux-riscv64/wheel/winrm/vendor/requests_kerberos >copying build/lib/winrm/vendor/requests_kerberos/__init__.py -> build/bdist.linux-riscv64/wheel/winrm/vendor/requests_kerberos >copying build/lib/winrm/vendor/requests_kerberos/compat.py -> build/bdist.linux-riscv64/wheel/winrm/vendor/requests_kerberos >copying build/lib/winrm/vendor/requests_kerberos/exceptions.py -> build/bdist.linux-riscv64/wheel/winrm/vendor/requests_kerberos >copying build/lib/winrm/vendor/requests_kerberos/kerberos_.py -> build/bdist.linux-riscv64/wheel/winrm/vendor/requests_kerberos >copying build/lib/winrm/vendor/__init__.py -> build/bdist.linux-riscv64/wheel/winrm/vendor >copying build/lib/winrm/__init__.py -> build/bdist.linux-riscv64/wheel/winrm >copying build/lib/winrm/encryption.py -> build/bdist.linux-riscv64/wheel/winrm >copying build/lib/winrm/exceptions.py -> build/bdist.linux-riscv64/wheel/winrm >copying build/lib/winrm/protocol.py -> build/bdist.linux-riscv64/wheel/winrm >copying build/lib/winrm/transport.py -> build/bdist.linux-riscv64/wheel/winrm >warning: install_lib: byte-compiling is disabled, skipping. > >running install_egg_info >running egg_info >writing pywinrm.egg-info/PKG-INFO >writing dependency_links to pywinrm.egg-info/dependency_links.txt >writing requirements to pywinrm.egg-info/requires.txt >writing top-level names to pywinrm.egg-info/top_level.txt >listing git files failed - pretending there aren't any >reading manifest file 'pywinrm.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >adding license file 'LICENSE' >writing manifest file 'pywinrm.egg-info/SOURCES.txt' >Copying pywinrm.egg-info to build/bdist.linux-riscv64/wheel/pywinrm-0.4.2-py3.9.egg-info >running install_scripts >adding license file "LICENSE" (matched pattern "LICEN[CS]E*") >creating build/bdist.linux-riscv64/wheel/pywinrm-0.4.2.dist-info/WHEEL >creating '/var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2-python3_9/wheel/tmpd0pqrfed/pywinrm-0.4.2-py2.py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it >adding 'winrm/__init__.py' >adding 'winrm/encryption.py' >adding 'winrm/exceptions.py' >adding 'winrm/protocol.py' >adding 'winrm/transport.py' >adding 'winrm/tests/__init__.py' >adding 'winrm/tests/conftest.py' >adding 'winrm/tests/sample_script.ps1' >adding 'winrm/tests/test_cmd.py' >adding 'winrm/tests/test_encryption.py' >adding 'winrm/tests/test_integration_protocol.py' >adding 'winrm/tests/test_integration_session.py' >adding 'winrm/tests/test_nori_type_casting.py' >adding 'winrm/tests/test_powershell.py' >adding 'winrm/tests/test_protocol.py' >adding 'winrm/tests/test_session.py' >adding 'winrm/tests/test_transport.py' >adding 'winrm/tests/test_wql.py' >adding 'winrm/vendor/__init__.py' >adding 'winrm/vendor/requests_kerberos/__init__.py' >adding 'winrm/vendor/requests_kerberos/compat.py' >adding 'winrm/vendor/requests_kerberos/exceptions.py' >adding 'winrm/vendor/requests_kerberos/kerberos_.py' >adding 'pywinrm-0.4.2.dist-info/LICENSE' >adding 'pywinrm-0.4.2.dist-info/METADATA' >adding 'pywinrm-0.4.2.dist-info/WHEEL' >adding 'pywinrm-0.4.2.dist-info/top_level.txt' >adding 'pywinrm-0.4.2.dist-info/RECORD' >removing build/bdist.linux-riscv64/wheel > [32m*[0m Installing the wheel to /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2-python3_9/install >python3.9 setup.py clean -a >running clean >removing 'build/lib' (and everything under it) >removing 'build/bdist.linux-riscv64' (and everything under it) >'build/scripts-3.9' does not exist -- can't clean it >removing 'build' >>>> Source compiled. >>>> Test phase: dev-python/pywinrm-0.4.2-r1 > [32m*[0m python3_9: running distutils-r1_run_phase python_test >python3.9 -m pytest -vv -ra -l -Wdefault --color=yes -p no:cov -p no:flake8 -p no:flakes -p no:pylint >[1m=============================================================================================== test session starts ===============================================================================================[0m >platform linux -- Python 3.9.11, pytest-7.1.1, pluggy-1.0.0 -- /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2-python3_9/install/usr/bin/python3.9 >cachedir: .pytest_cache >tempdir: /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/temp/pywinrm-0.4.2 >rootdir: /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2, configfile: setup.cfg >plugins: pkgcore-0.12.10, testinfra-6.6.0, flaky-3.7.0, pyfakefs-4.5.6, forked-1.4.0, requests-mock-1.9.3, tempdir-2019.10.12, helpers-namespace-2021.3.24, subtests-0.7.0, services-2.2.1 >[1mcollecting ... [0mcollected 66 items > >winrm/tests/test_encryption.py::test_init_with_invalid_protocol [32mPASSED[0m[33m [ 1%][0m >winrm/tests/test_encryption.py::test_encrypt_message [32mPASSED[0m[33m [ 3%][0m >winrm/tests/test_encryption.py::test_encrypt_large_credssp_message [32mPASSED[0m[33m [ 4%][0m >winrm/tests/test_encryption.py::test_decrypt_message [32mPASSED[0m[33m [ 6%][0m >winrm/tests/test_encryption.py::test_decrypt_message_boundary_with_end_hyphens [32mPASSED[0m[33m [ 7%][0m >winrm/tests/test_encryption.py::test_decrypt_message_length_mismatch [32mPASSED[0m[33m [ 9%][0m >winrm/tests/test_encryption.py::test_decrypt_large_credssp_message [32mPASSED[0m[33m [ 10%][0m >winrm/tests/test_encryption.py::test_decrypt_message_decryption_not_needed [32mPASSED[0m[33m [ 12%][0m >winrm/tests/test_encryption.py::test_get_credssp_trailer_length_gcm [32mPASSED[0m[33m [ 13%][0m >winrm/tests/test_encryption.py::test_get_credssp_trailer_length_md5_rc4 [32mPASSED[0m[33m [ 15%][0m >winrm/tests/test_encryption.py::test_get_credssp_trailer_length_sha256_3des [32mPASSED[0m[33m [ 16%][0m >winrm/tests/test_encryption.py::test_get_credssp_trailer_length_sha384_aes [32mPASSED[0m[33m [ 18%][0m >winrm/tests/test_encryption.py::test_get_credssp_trailer_length_no_hash [32mPASSED[0m[33m [ 19%][0m >winrm/tests/test_integration_protocol.py::test_unicode_roundtrip [33mSKIPPED[0m (WINRM_ENDPOINT environment variable was not set. Integration tests will be skipped)[33m [ 21%][0m >winrm/tests/test_integration_protocol.py::test_open_shell_and_close_shell [33mSKIPPED[0m (WINRM_ENDPOINT environment variable was not set. Integration tests will be skipped)[33m [ 22%][0m >winrm/tests/test_integration_protocol.py::test_run_command_with_arguments_and_cleanup_command [33mSKIPPED[0m (WINRM_ENDPOINT environment variable was not set. Integration tests will be skipped)[33m [ 24%][0m >winrm/tests/test_integration_protocol.py::test_run_command_without_arguments_and_cleanup_command [33mSKIPPED[0m (WINRM_ENDPOINT environment variable was not set. Integration tests will be skipped)[33m [ 25%][0m >winrm/tests/test_integration_protocol.py::test_run_command_with_env [33mSKIPPED[0m (WINRM_ENDPOINT environment variable was not set. Integration tests will be skipped)[33m [ 27%][0m >winrm/tests/test_integration_protocol.py::test_get_command_output [33mSKIPPED[0m (WINRM_ENDPOINT environment variable was not set. Integration tests will be skipped)[33m [ 28%][0m >winrm/tests/test_integration_protocol.py::test_run_command_taking_more_than_operation_timeout_sec [33mSKIPPED[0m (WINRM_ENDPOINT environment variable was not set. Integration tests will be skipped)[33m [ 30%][0m >winrm/tests/test_integration_protocol.py::test_set_timeout [33mSKIPPED[0m (WINRM_ENDPOINT environment variable was not set. Integration tests will be skipped)[33m [ 31%][0m >winrm/tests/test_integration_protocol.py::test_set_max_env_size [33mSKIPPED[0m (WINRM_ENDPOINT environment variable was not set. Integration tests will be skipped)[33m [ 33%][0m >winrm/tests/test_integration_protocol.py::test_set_locale [33mSKIPPED[0m (WINRM_ENDPOINT environment variable was not set. Integration tests will be skipped)[33m [ 34%][0m >winrm/tests/test_integration_session.py::test_run_cmd [33mXFAIL[0m[33m [ 36%][0m >winrm/tests/test_protocol.py::test_open_shell_and_close_shell [32mPASSED[0m[33m [ 37%][0m >winrm/tests/test_protocol.py::test_run_command_with_arguments_and_cleanup_command [32mPASSED[0m[33m [ 39%][0m >winrm/tests/test_protocol.py::test_run_command_without_arguments_and_cleanup_command [32mPASSED[0m[33m [ 40%][0m >winrm/tests/test_protocol.py::test_get_command_output [32mPASSED[0m[33m [ 42%][0m >winrm/tests/test_protocol.py::test_send_command_input [32mPASSED[0m[33m [ 43%][0m >winrm/tests/test_protocol.py::test_set_timeout_as_sec [32mPASSED[0m[33m [ 45%][0m >winrm/tests/test_protocol.py::test_fail_set_read_timeout_as_sec [32mPASSED[0m[33m [ 46%][0m >winrm/tests/test_protocol.py::test_fail_set_operation_timeout_as_sec [32mPASSED[0m[33m [ 48%][0m >winrm/tests/test_session.py::test_run_cmd [32mPASSED[0m[33m [ 50%][0m >winrm/tests/test_session.py::test_run_ps_with_error [32mPASSED[0m[33m [ 51%][0m >winrm/tests/test_session.py::test_target_as_hostname [32mPASSED[0m[33m [ 53%][0m >winrm/tests/test_session.py::test_target_as_hostname_then_port [32mPASSED[0m[33m [ 54%][0m >winrm/tests/test_session.py::test_target_as_schema_then_hostname [32mPASSED[0m[33m [ 56%][0m >winrm/tests/test_session.py::test_target_as_schema_then_hostname_then_port [32mPASSED[0m[33m [ 57%][0m >winrm/tests/test_session.py::test_target_as_full_url [32mPASSED[0m[33m [ 59%][0m >winrm/tests/test_session.py::test_target_with_dots [32mPASSED[0m[33m [ 60%][0m >winrm/tests/test_session.py::test_decode_clixml_error [32mPASSED[0m[33m [ 62%][0m >winrm/tests/test_session.py::test_decode_clixml_no_clixml [32mPASSED[0m[33m [ 63%][0m >winrm/tests/test_session.py::test_decode_clixml_no_errors [32mPASSED[0m[33m [ 65%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_cert_ignore_1 [32mPASSED[0m[33m [ 66%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_cert_ignore_2 [32mPASSED[0m[33m [ 68%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_cert_override_1 [32mPASSED[0m[33m [ 69%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_cert_override_2 [32mPASSED[0m[33m [ 71%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_cert_override_3 [32mPASSED[0m[33m [ 72%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_1 [32mPASSED[0m[33m [ 74%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_2 [32mPASSED[0m[33m [ 75%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_default [32mPASSED[0m[33m [ 77%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_default_env [32mPASSED[0m[33m [ 78%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_invalid_auth [32mPASSED[0m[33m [ 80%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_invalid_encryption [32mPASSED[0m[33m [ 81%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_krb_delegation_as_invalid_str [32mPASSED[0m[33m [ 83%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_krb_delegation_as_str [32mPASSED[0m[33m [ 84%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_no_password [32mPASSED[0m[33m [ 86%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_no_username [32mPASSED[0m[33m [ 87%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_defined [31mFAILED[0m[31m [ 89%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_defined_and_env [31mFAILED[0m[31m [ 90%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_none [32mPASSED[0m[31m [ 92%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_with_env_http [31mFAILED[0m[31m [ 93%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_with_env_https [31mFAILED[0m[31m [ 95%][0m >winrm/tests/test_transport.py::TestTransport::test_build_session_server_cert_validation_invalid [32mPASSED[0m[31m [ 96%][0m >winrm/tests/test_transport.py::TestTransport::test_close_session [32mPASSED[0m[31m [ 98%][0m >winrm/tests/test_transport.py::TestTransport::test_close_session_not_built [32mPASSED[0m[31m [100%][0m > >==================================================================================================== FAILURES ===================================================================================================== >[31m[1m_________________________________________________________________________________ TestTransport.test_build_session_proxy_defined __________________________________________________________________________________[0m > >self = <winrm.tests.test_transport.TestTransport testMethod=test_build_session_proxy_defined> > > [94mdef[39;49;00m [92mtest_build_session_proxy_defined[39;49;00m([96mself[39;49;00m): > t_default = transport.Transport(endpoint=[33m"[39;49;00m[33mhttps://example.com[39;49;00m[33m"[39;49;00m, > server_cert_validation=[33m'[39;49;00m[33mvalidate[39;49;00m[33m'[39;49;00m, > username=[33m'[39;49;00m[33mtest[39;49;00m[33m'[39;49;00m, > password=[33m'[39;49;00m[33mtest[39;49;00m[33m'[39;49;00m, > auth_method=[33m'[39;49;00m[33mbasic[39;49;00m[33m'[39;49;00m, > proxy=[33m'[39;49;00m[33mtest_proxy[39;49;00m[33m'[39;49;00m > ) > > t_default.build_session() >> [96mself[39;49;00m.assertEqual({[33m'[39;49;00m[33mhttp[39;49;00m[33m'[39;49;00m: [33m'[39;49;00m[33mtest_proxy[39;49;00m[33m'[39;49;00m, [33m'[39;49;00m[33mhttps[39;49;00m[33m'[39;49;00m: [33m'[39;49;00m[33mtest_proxy[39;49;00m[33m'[39;49;00m}, t_default.session.proxies) >[1m[31mE AssertionError: {'http': 'test_proxy', 'https': 'test_proxy'} != OrderedDict([('http', 'test_proxy'), ('ht[144 chars]k')])[0m > >self = <winrm.tests.test_transport.TestTransport testMethod=test_build_session_proxy_defined> >t_default = <winrm.transport.Transport object at 0x3f9bfe2430> > >[1m[31mwinrm/tests/test_transport.py[0m:172: AssertionError >[31m[1m_____________________________________________________________________________ TestTransport.test_build_session_proxy_defined_and_env ______________________________________________________________________________[0m > >self = <winrm.tests.test_transport.TestTransport testMethod=test_build_session_proxy_defined_and_env> > > [94mdef[39;49;00m [92mtest_build_session_proxy_defined_and_env[39;49;00m([96mself[39;49;00m): > os.environ[[33m'[39;49;00m[33mHTTPS_PROXY[39;49;00m[33m'[39;49;00m] = [33m'[39;49;00m[33mrandom_proxy[39;49;00m[33m'[39;49;00m > > t_default = transport.Transport(endpoint=[33m"[39;49;00m[33mhttps://example.com[39;49;00m[33m"[39;49;00m, > server_cert_validation=[33m'[39;49;00m[33mvalidate[39;49;00m[33m'[39;49;00m, > username=[33m'[39;49;00m[33mtest[39;49;00m[33m'[39;49;00m, > password=[33m'[39;49;00m[33mtest[39;49;00m[33m'[39;49;00m, > auth_method=[33m'[39;49;00m[33mbasic[39;49;00m[33m'[39;49;00m, > proxy=[33m'[39;49;00m[33mtest_proxy[39;49;00m[33m'[39;49;00m > ) > > t_default.build_session() >> [96mself[39;49;00m.assertEqual({[33m'[39;49;00m[33mhttp[39;49;00m[33m'[39;49;00m: [33m'[39;49;00m[33mtest_proxy[39;49;00m[33m'[39;49;00m, [33m'[39;49;00m[33mhttps[39;49;00m[33m'[39;49;00m: [33m'[39;49;00m[33mtest_proxy[39;49;00m[33m'[39;49;00m}, t_default.session.proxies) >[1m[31mE AssertionError: {'http': 'test_proxy', 'https': 'test_proxy'} != OrderedDict([('http', 'test_proxy'), ('ht[144 chars]k')])[0m > >self = <winrm.tests.test_transport.TestTransport testMethod=test_build_session_proxy_defined_and_env> >t_default = <winrm.transport.Transport object at 0x3f9bf84af0> > >[1m[31mwinrm/tests/test_transport.py[0m:186: AssertionError >[31m[1m______________________________________________________________________________ TestTransport.test_build_session_proxy_with_env_http _______________________________________________________________________________[0m > >self = <winrm.tests.test_transport.TestTransport testMethod=test_build_session_proxy_with_env_http> > > [94mdef[39;49;00m [92mtest_build_session_proxy_with_env_http[39;49;00m([96mself[39;49;00m): > os.environ[[33m'[39;49;00m[33mHTTP_PROXY[39;49;00m[33m'[39;49;00m] = [33m'[39;49;00m[33mrandom_proxy[39;49;00m[33m'[39;49;00m > > t_default = transport.Transport(endpoint=[33m"[39;49;00m[33mhttps://example.com[39;49;00m[33m"[39;49;00m, > server_cert_validation=[33m'[39;49;00m[33mvalidate[39;49;00m[33m'[39;49;00m, > username=[33m'[39;49;00m[33mtest[39;49;00m[33m'[39;49;00m, > password=[33m'[39;49;00m[33mtest[39;49;00m[33m'[39;49;00m, > auth_method=[33m'[39;49;00m[33mbasic[39;49;00m[33m'[39;49;00m, > ) > > t_default.build_session() >> [96mself[39;49;00m.assertEqual({[33m'[39;49;00m[33mhttp[39;49;00m[33m'[39;49;00m: [33m'[39;49;00m[33mrandom_proxy[39;49;00m[33m'[39;49;00m}, t_default.session.proxies) >[1m[31mE AssertionError: {'http': 'random_proxy'} != OrderedDict([('distcc_socks', '/var/tmp/p[121 chars]y')])[0m > >self = <winrm.tests.test_transport.TestTransport testMethod=test_build_session_proxy_with_env_http> >t_default = <winrm.transport.Transport object at 0x3f9c0b3490> > >[1m[31mwinrm/tests/test_transport.py[0m:212: AssertionError >[31m[1m______________________________________________________________________________ TestTransport.test_build_session_proxy_with_env_https ______________________________________________________________________________[0m > >self = <winrm.tests.test_transport.TestTransport testMethod=test_build_session_proxy_with_env_https> > > [94mdef[39;49;00m [92mtest_build_session_proxy_with_env_https[39;49;00m([96mself[39;49;00m): > os.environ[[33m'[39;49;00m[33mHTTPS_PROXY[39;49;00m[33m'[39;49;00m] = [33m'[39;49;00m[33mrandom_proxy[39;49;00m[33m'[39;49;00m > > t_default = transport.Transport(endpoint=[33m"[39;49;00m[33mhttps://example.com[39;49;00m[33m"[39;49;00m, > server_cert_validation=[33m'[39;49;00m[33mvalidate[39;49;00m[33m'[39;49;00m, > username=[33m'[39;49;00m[33mtest[39;49;00m[33m'[39;49;00m, > password=[33m'[39;49;00m[33mtest[39;49;00m[33m'[39;49;00m, > auth_method=[33m'[39;49;00m[33mbasic[39;49;00m[33m'[39;49;00m, > ) > > t_default.build_session() >> [96mself[39;49;00m.assertEqual({[33m'[39;49;00m[33mhttps[39;49;00m[33m'[39;49;00m: [33m'[39;49;00m[33mrandom_proxy[39;49;00m[33m'[39;49;00m}, t_default.session.proxies) >[1m[31mE AssertionError: {'https': 'random_proxy'} != OrderedDict([('distcc_socks', '/var/tmp/p[122 chars]y')])[0m > >self = <winrm.tests.test_transport.TestTransport testMethod=test_build_session_proxy_with_env_https> >t_default = <winrm.transport.Transport object at 0x3f9bf687c0> > >[1m[31mwinrm/tests/test_transport.py[0m:199: AssertionError >[33m================================================================================================ warnings summary =================================================================================================[0m >../../../../../../../usr/lib/python3.9/site-packages/_pytest/config/__init__.py:1252 > /usr/lib/python3.9/site-packages/_pytest/config/__init__.py:1252: PytestConfigWarning: Unknown config option: flake8-ignore > > self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") > >../../../../../../../usr/lib/python3.9/site-packages/_pytest/config/__init__.py:1252 > /usr/lib/python3.9/site-packages/_pytest/config/__init__.py:1252: PytestConfigWarning: Unknown config option: flake8-max-line-length > > self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") > >winrm/__init__.py:107 > /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2/winrm/__init__.py:107: DeprecationWarning: invalid escape sequence \d > '(?i)^((?P<scheme>http[s]?)://)?(?P<host>[0-9a-z-_.]+)(:(?P<port>\d+))?(?P<path>(/)?(wsman)?)?', target) # NOQA > >winrm/vendor/requests_kerberos/kerberos_.py:101 > /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2/winrm/vendor/requests_kerberos/kerberos_.py:101: DeprecationWarning: invalid escape sequence \s > regex = re.compile('(?:.*,)*\s*Negotiate\s*([^,]*),?', re.I) > >winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_1 >winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_default_env > /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2/winrm/transport.py:221: DeprecationWarning: 'pywinrm' will use an environment variable defined CA Trust. This feature will be disabled in the future, please specify it explicitly. REQUESTS_CA_BUNDLE contains path_to_REQUESTS_CA_CERT > warnings.warn(message, DeprecationWarning) > >winrm/tests/test_transport.py::TestTransport::test_build_session_cert_validate_2 > /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2/winrm/transport.py:221: DeprecationWarning: 'pywinrm' will use an environment variable defined CA Trust. This feature will be disabled in the future, please specify it explicitly. CURL_CA_BUNDLE contains path_to_CURL_CA_CERT > warnings.warn(message, DeprecationWarning) > >winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_with_env_http > /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2/winrm/transport.py:195: DeprecationWarning: 'pywinrm' will use an environment defined proxy. This feature will be disabled in the future, please specify it explicitly. HTTP proxy random_proxy discovered. > warnings.warn(message, DeprecationWarning) > >winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_with_env_https > /var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2/winrm/transport.py:195: DeprecationWarning: 'pywinrm' will use an environment defined proxy. This feature will be disabled in the future, please specify it explicitly. HTTPS proxy random_proxy discovered. > warnings.warn(message, DeprecationWarning) > >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >============================================================================================= short test summary info ============================================================================================= >SKIPPED [10] winrm/tests/conftest.py:595: WINRM_ENDPOINT environment variable was not set. Integration tests will be skipped >XFAIL winrm/tests/test_integration_session.py::test_run_cmd >FAILED winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_defined - AssertionError: {'http': 'test_proxy', 'https': 'test_proxy'} != OrderedDict([('http', 'test_proxy'), ('ht[144 chars]k')]) >FAILED winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_defined_and_env - AssertionError: {'http': 'test_proxy', 'https': 'test_proxy'} != OrderedDict([('http', 'test_proxy'), ('ht[144 c... >FAILED winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_with_env_http - AssertionError: {'http': 'random_proxy'} != OrderedDict([('distcc_socks', '/var/tmp/p[121 chars]y')]) >FAILED winrm/tests/test_transport.py::TestTransport::test_build_session_proxy_with_env_https - AssertionError: {'https': 'random_proxy'} != OrderedDict([('distcc_socks', '/var/tmp/p[122 chars]y')]) >[31m========================================================================= [31m[1m4 failed[0m, [32m51 passed[0m, [33m10 skipped[0m, [33m1 xfailed[0m, [33m9 warnings[0m[31m in 9.10s[0m[31m =========================================================================[0m > [31;01m*[0m ERROR: dev-python/pywinrm-0.4.2-r1::gentoo failed (test phase): > [31;01m*[0m pytest failed with python3.9 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 127: Called src_test > [31;01m*[0m environment, line 3122: Called distutils-r1_src_test > [31;01m*[0m environment, line 1458: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 577: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2799: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2348: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2346: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 910: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 1385: Called python_test > [31;01m*[0m environment, line 3089: Called distutils-r1_python_test > [31;01m*[0m environment, line 1337: Called epytest > [31;01m*[0m environment, line 1859: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "${@}" || die -n "pytest failed with ${EPYTHON}"; > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/pywinrm-0.4.2-r1::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/pywinrm-0.4.2-r1::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-python/pywinrm-0.4.2-r1/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/pywinrm-0.4.2-r1/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2' > [31;01m*[0m S: '/var/tmp/portage/dev-python/pywinrm-0.4.2-r1/work/pywinrm-0.4.2'
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 836443
: 768225