Created
March 30, 2021 02:51
-
-
Save furrycatherder/1ba4617b08a6f079e96d3e5700fc349e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing setuptools-build-hook | |
Using setuptoolsBuildPhase | |
Using setuptoolsShellHook | |
Sourcing pip-install-hook | |
Using pipInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing setuptools-check-hook | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking sources | |
unpacking source archive /nix/store/416bzvqcvnvrbbpkc123h60wrr4x3ch6-sshtunnel-0.4.0.tar.gz | |
source root is sshtunnel-0.4.0 | |
setting SOURCE_DATE_EPOCH to timestamp 1610371588 of file sshtunnel-0.4.0/setup.cfg | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
patching sources | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
configuring | |
no configure script, doing nothing | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
building | |
Executing setuptoolsBuildPhase | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib | |
copying sshtunnel.py -> build/lib | |
installing to build/bdist.linux-aarch64/wheel | |
running install | |
running install_lib | |
creating build/bdist.linux-aarch64 | |
creating build/bdist.linux-aarch64/wheel | |
copying build/lib/sshtunnel.py -> build/bdist.linux-aarch64/wheel | |
running install_egg_info | |
running egg_info | |
writing sshtunnel.egg-info/PKG-INFO | |
writing dependency_links to sshtunnel.egg-info/dependency_links.txt | |
writing entry points to sshtunnel.egg-info/entry_points.txt | |
writing requirements to sshtunnel.egg-info/requires.txt | |
writing top-level names to sshtunnel.egg-info/top_level.txt | |
reading manifest file 'sshtunnel.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
warning: no previously-included files found matching '.github/*' | |
warning: no previously-included files found matching '.circleci/*' | |
warning: no previously-included files found matching '*.pyc' | |
warning: no previously-included files found matching '__pycache__' | |
warning: no previously-included files found matching 'Pipfile*' | |
writing manifest file 'sshtunnel.egg-info/SOURCES.txt' | |
Copying sshtunnel.egg-info to build/bdist.linux-aarch64/wheel/sshtunnel-0.4.0-py3.8.egg-info | |
running install_scripts | |
adding license file "LICENSE" (matched pattern "LICEN[CS]E*") | |
creating build/bdist.linux-aarch64/wheel/sshtunnel-0.4.0.dist-info/WHEEL | |
creating 'dist/sshtunnel-0.4.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it | |
adding 'sshtunnel.py' | |
adding 'sshtunnel-0.4.0.dist-info/LICENSE' | |
adding 'sshtunnel-0.4.0.dist-info/METADATA' | |
adding 'sshtunnel-0.4.0.dist-info/WHEEL' | |
adding 'sshtunnel-0.4.0.dist-info/entry_points.txt' | |
adding 'sshtunnel-0.4.0.dist-info/top_level.txt' | |
adding 'sshtunnel-0.4.0.dist-info/RECORD' | |
removing build/bdist.linux-aarch64/wheel | |
Finished executing setuptoolsBuildPhase | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
installing | |
Executing pipInstallPhase | |
/tmp/nix-build-python3.8-sshtunnel-0.4.0.drv-0/sshtunnel-0.4.0/dist /tmp/nix-build-python3.8-sshtunnel-0.4.0.drv-0/sshtunnel-0.4.0 | |
Processing ./sshtunnel-0.4.0-py2.py3-none-any.whl | |
Requirement already satisfied: paramiko>=2.7.2 in /nix/store/qkqzjv37kqdrznabgh2wc2m6a60jawjn-python3.8-paramiko-2.7.2/lib/python3.8/site-packages (from sshtunnel==0.4.0) (2.7.2) | |
Requirement already satisfied: bcrypt>=3.1.3 in /nix/store/1mrlb1iwr7z00nk2nbnb9b0lr7m5j21a-python3.8-bcrypt-3.2.0/lib/python3.8/site-packages (from paramiko>=2.7.2->sshtunnel==0.4.0) (3.2.0) | |
Requirement already satisfied: cryptography>=2.5 in /nix/store/kfm0xm06lrxjsxy7pra0klpzkg5x6grg-python3.8-cryptography-3.4.6/lib/python3.8/site-packages (from paramiko>=2.7.2->sshtunnel==0.4.0) (3.4.6) | |
Requirement already satisfied: pynacl>=1.0.1 in /nix/store/yg053iakvsc9v9hs0ibgk92cjrjswc9r-python3.8-pynacl-1.4.0/lib/python3.8/site-packages (from paramiko>=2.7.2->sshtunnel==0.4.0) (1.4.0) | |
Requirement already satisfied: six>=1.4.1 in /nix/store/4kc8y7in0pvmgqfkiz0fqajfffpbbi0k-python3.8-six-1.15.0/lib/python3.8/site-packages (from bcrypt>=3.1.3->paramiko>=2.7.2->sshtunnel==0.4.0) (1.15.0) | |
Requirement already satisfied: cffi>=1.1 in /nix/store/irsa5nfbdfbkhxmyx454vi11m9cmpqfs-python3.8-cffi-1.14.5/lib/python3.8/site-packages (from bcrypt>=3.1.3->paramiko>=2.7.2->sshtunnel==0.4.0) (1.14.5) | |
Requirement already satisfied: pycparser in /nix/store/zvmv4wq9anckfzjqhq70c564ypvk58nr-python3.8-pycparser-2.20/lib/python3.8/site-packages (from cffi>=1.1->bcrypt>=3.1.3->paramiko>=2.7.2->sshtunnel==0.4.0) (2.20) | |
Installing collected packages: sshtunnel | |
Successfully installed sshtunnel-0.4.0 | |
/tmp/nix-build-python3.8-sshtunnel-0.4.0.drv-0/sshtunnel-0.4.0 | |
Finished executing pipInstallPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
post-installation fixup | |
shrinking RPATHs of ELF executables and libraries in /nix/store/rqvq6vgp3z1v2b95yi6ngsz3as3fj4w0-python3.8-sshtunnel-0.4.0 | |
strip is /nix/store/h5wgppbyv8vkla58v8zi535j5i9akly5-binutils-2.35.1/bin/strip | |
stripping (with command strip and flags -S) in /nix/store/rqvq6vgp3z1v2b95yi6ngsz3as3fj4w0-python3.8-sshtunnel-0.4.0/lib /nix/store/rqvq6vgp3z1v2b95yi6ngsz3as3fj4w0-python3.8-sshtunnel-0.4.0/bin | |
patching script interpreter paths in /nix/store/rqvq6vgp3z1v2b95yi6ngsz3as3fj4w0-python3.8-sshtunnel-0.4.0 | |
checking for references to /tmp/nix-build-python3.8-sshtunnel-0.4.0.drv-0/ in /nix/store/rqvq6vgp3z1v2b95yi6ngsz3as3fj4w0-python3.8-sshtunnel-0.4.0... | |
Rewriting #!/nix/store/v0n311h4wqymk6q095p4cram5x4cv745-python3-3.8.8/bin/python3.8 to #!/nix/store/v0n311h4wqymk6q095p4cram5x4cv745-python3-3.8.8 | |
wrapping `/nix/store/rqvq6vgp3z1v2b95yi6ngsz3as3fj4w0-python3.8-sshtunnel-0.4.0/bin/sshtunnel'... | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
running install tests | |
[1m============================= test session starts ==============================[0m | |
platform linux -- Python 3.8.8, pytest-6.2.2, py-1.9.0, pluggy-0.13.1 | |
rootdir: /tmp/nix-build-python3.8-sshtunnel-0.4.0.drv-0/sshtunnel-0.4.0 | |
[1mcollecting ... [0m[1m collecting 41 items [0m[1m collected 51 items / 2 deselected / 49 selected [0m | |
tests/test_forwarder.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31mF[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 97%] | |
[0m[32m.[0m[31m [100%][0m | |
=================================== FAILURES =================================== | |
[31m[1m_________ SSHClientTest.test_gateway_ip_unresolvable_raises_exception __________[0m | |
self = <tests.test_forwarder.SSHClientTest testMethod=test_gateway_ip_unresolvable_raises_exception> | |
@unittest.skipIf(sys.version_info < (2, 7), | |
reason="Cannot intercept logging messages in py26") | |
def test_gateway_ip_unresolvable_raises_exception(self): | |
""" | |
BaseSSHTunnelForwarderError is raised when not able to resolve the | |
ssh gateway IP address | |
""" | |
with self.assertRaises(sshtunnel.BaseSSHTunnelForwarderError): | |
with open_tunnel( | |
(SSH_USERNAME, self.sport), | |
ssh_username=SSH_USERNAME, | |
ssh_password=SSH_PASSWORD, | |
remote_bind_address=(self.eaddr, self.eport), | |
ssh_config_file=None, | |
): | |
pass | |
> self.assertIn( | |
'Could not resolve IP address for {0}, aborting!'.format( | |
SSH_USERNAME | |
), | |
self.sshtunnel_log_messages['error'] | |
) | |
[1m[31mE AssertionError: 'Could not resolve IP address for ppmLhEdjryTV, aborting!' not found in ['Could not connect to gateway ppmLhEdjryTV:52441 : Unable to connect to ppmLhEdjryTV: timed out'][0m | |
[1m[31mtests/test_forwarder.py[0m:751: AssertionError | |
----------------------------- Captured stderr call ----------------------------- | |
2021-03-30 02:41:18,776| DEB | MainThrea/0221@test_forw | ******************************************************************************** | |
2021-03-30 02:41:18,782| INF | MainThrea/0222@test_forw | setUp for: TEST_GATEWAY_IP_UNRESOLVABLE_RAISES_EXCEPTION() | |
2021-03-30 02:41:18,785| INF | MainThrea/0225@test_forw | Socket for ssh-server: 127.0.0.1:52441 | |
2021-03-30 02:41:18,787| INF | MainThrea/0227@test_forw | Socket for echo-server: 127.0.0.1:40875 | |
2021-03-30 02:41:18,789| INF | MainThrea/1038@sshtunnel | Skipping loading of ssh configuration file | |
2021-03-30 02:41:18,789| INF | MainThrea/1038@sshtunnel | Skipping loading of ssh configuration file | |
2021-03-30 02:41:18,790| INF | MainThrea/1117@sshtunnel | 0 key(s) loaded | |
2021-03-30 02:41:18,790| INF | MainThrea/1117@sshtunnel | 0 key(s) loaded | |
2021-03-30 02:41:18,792| INF | MainThrea/0978@sshtunnel | Connecting to gateway: ppmLhEdjryTV:52441 as user 'ppmLhEdjryTV' | |
2021-03-30 02:41:18,792| INF | MainThrea/0978@sshtunnel | Connecting to gateway: ppmLhEdjryTV:52441 as user 'ppmLhEdjryTV' | |
2021-03-30 02:41:18,795| DEB | MainThrea/0983@sshtunnel | Concurrent connections allowed: True | |
2021-03-30 02:41:18,795| DEB | MainThrea/0983@sshtunnel | Concurrent connections allowed: True | |
2021-03-30 02:41:18,798| DEB | MainThrea/1414@sshtunnel | Trying to log in with password: ************ | |
2021-03-30 02:41:18,798| DEB | MainThrea/1414@sshtunnel | Trying to log in with password: ************ | |
2021-03-30 02:41:19,928| ERR | MainThrea/1223@sshtunnel | Could not connect to gateway ppmLhEdjryTV:52441 : Unable to connect to ppmLhEdjryTV: timed out | |
2021-03-30 02:41:19,928| ERR | MainThrea/1223@sshtunnel | Could not connect to gateway ppmLhEdjryTV:52441 : Unable to connect to ppmLhEdjryTV: timed out | |
2021-03-30 02:41:19,933| INF | MainThrea/0238@test_forw | tearDown for: TEST_GATEWAY_IP_UNRESOLVABLE_RAISES_EXCEPTION() | |
2021-03-30 02:41:19,934| INF | MainThrea/0278@test_forw | Sending STOP signal | |
2021-03-30 02:41:19,935| INF | MainThrea/0257@test_forw | tearDown() ssockl | |
2021-03-30 02:41:19,936| INF | MainThrea/0257@test_forw | tearDown() esockl | |
------------------------------ Captured log call ------------------------------- | |
[35mDEBUG [0m sshtunnel:test_forwarder.py:221 ******************************************************************************** | |
[32mINFO [0m sshtunnel:test_forwarder.py:222 setUp for: TEST_GATEWAY_IP_UNRESOLVABLE_RAISES_EXCEPTION() | |
[32mINFO [0m sshtunnel:test_forwarder.py:225 Socket for ssh-server: 127.0.0.1:52441 | |
[32mINFO [0m sshtunnel:test_forwarder.py:227 Socket for echo-server: 127.0.0.1:40875 | |
[32mINFO [0m sshtunnel.SSHTunnelForwarder:sshtunnel.py:1038 Skipping loading of ssh configuration file | |
[32mINFO [0m sshtunnel.SSHTunnelForwarder:sshtunnel.py:1117 0 key(s) loaded | |
[32mINFO [0m sshtunnel.SSHTunnelForwarder:sshtunnel.py:978 Connecting to gateway: ppmLhEdjryTV:52441 as user 'ppmLhEdjryTV' | |
[35mDEBUG [0m sshtunnel.SSHTunnelForwarder:sshtunnel.py:983 Concurrent connections allowed: True | |
[35mDEBUG [0m sshtunnel.SSHTunnelForwarder:sshtunnel.py:1414 Trying to log in with password: ************ | |
[1m[31mERROR [0m sshtunnel.SSHTunnelForwarder:sshtunnel.py:1223 Could not connect to gateway ppmLhEdjryTV:52441 : Unable to connect to ppmLhEdjryTV: timed out | |
[32mINFO [0m sshtunnel:test_forwarder.py:238 tearDown for: TEST_GATEWAY_IP_UNRESOLVABLE_RAISES_EXCEPTION() | |
[32mINFO [0m sshtunnel:test_forwarder.py:278 Sending STOP signal | |
[32mINFO [0m sshtunnel:test_forwarder.py:257 tearDown() ssockl | |
[32mINFO [0m sshtunnel:test_forwarder.py:257 tearDown() esockl | |
[33m=============================== warnings summary ===============================[0m | |
tests/test_forwarder.py::SSHClientTest::test_cli_main_exits_when_pressing_enter | |
tests/test_forwarder.py::SSHClientTest::test_sshaddress_and_sshaddressorhost_mutually_exclusive | |
tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations | |
tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations | |
/tmp/nix-build-python3.8-sshtunnel-0.4.0.drv-0/sshtunnel-0.4.0/sshtunnel.py:1266: DeprecationWarning: 'ssh_address' is DEPRECATED use 'ssh_address_or_host' instead | |
warnings.warn("'{0}' is DEPRECATED use '{1}' instead" | |
tests/test_forwarder.py::SSHClientTest::test_sshhost_and_sshaddressorhost_mutually_exclusive | |
tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations | |
tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations | |
/tmp/nix-build-python3.8-sshtunnel-0.4.0.drv-0/sshtunnel-0.4.0/sshtunnel.py:1266: DeprecationWarning: 'ssh_host' is DEPRECATED use 'ssh_address_or_host' instead | |
warnings.warn("'{0}' is DEPRECATED use '{1}' instead" | |
tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations | |
tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations | |
tests/test_forwarder.py::AuxiliaryTest::test_str | |
/tmp/nix-build-python3.8-sshtunnel-0.4.0.drv-0/sshtunnel-0.4.0/sshtunnel.py:1266: DeprecationWarning: 'ssh_private_key' is DEPRECATED use 'ssh_pkey' instead | |
warnings.warn("'{0}' is DEPRECATED use '{1}' instead" | |
tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations | |
tests/test_forwarder.py::AuxiliaryTest::test_process_deprecations | |
/tmp/nix-build-python3.8-sshtunnel-0.4.0.drv-0/sshtunnel-0.4.0/sshtunnel.py:1266: DeprecationWarning: 'raise_exception_if_any_forwarder_have_a_problem' is DEPRECATED use 'mute_exceptions' instead | |
warnings.warn("'{0}' is DEPRECATED use '{1}' instead" | |
-- Docs: https://docs.pytest.org/en/stable/warnings.html | |
=========================== short test summary info ============================ | |
FAILED tests/test_forwarder.py::SSHClientTest::test_gateway_ip_unresolvable_raises_exception | |
[31m====== [31m[1m1 failed[0m, [32m48 passed[0m, [33m2 deselected[0m, [33m12 warnings[0m[31m in 68.54s (0:01:08)[0m[31m ======[0m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment