Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created March 20, 2021 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r-rmcgibbo/99ef07ff4128b91bdfde0db0687de7bc to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/99ef07ff4128b91bdfde0db0687de7bc to your computer and use it in GitHub Desktop.
system: aarch64-linux | build_time: a minute | https://github.com/NixOS/nixpkgs/pull/117004
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pip-build-hook
Using pipBuildPhase
Using pipShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing pytest-check-hook
Using pytestCheckPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/0npdkrmkkmvsgxq9ky87r0qsim79l0ri-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tox.ini
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/668k8qzpi72rif5hfwjd3ii423b4wji2-8ddceb7c52b3b1f35412479707fa790e5d60e691.diff
patching file tests/repositories/test_installed_repository.py
Hunk #1 succeeded at 2 (offset -1 lines).
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Executing pipBuildPhase
Creating a wheel...
WARNING: The directory '/homeless-shelter/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Processing /build/source
Preparing wheel metadata ... done
Building wheels for collected packages: poetry
Building wheel for poetry (PEP 517) ... done
Created wheel for poetry: filename=poetry-1.1.4-py2.py3-none-any.whl size=171593 sha256=ec0f25f961291c2154066b2e48acc61b435eb1d8a3ece70e3f4f7af35c2f82b4
Stored in directory: /build/pip-ephem-wheel-cache-xv30xlsb/wheels/4e/ad/e4/8b34a2d71a66bf6c38e937ebdd6e1b8340c5ad8008d77a009a
Successfully built poetry
Finished creating a wheel...
Finished executing pipBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pipInstallPhase
/build/source/dist /build/source
Processing ./poetry-1.1.4-py2.py3-none-any.whl
Requirement already satisfied: crashtest<0.4.0,>=0.3.0 in /nix/store/2xj1r7vfph5rklw89m9qsy7237vqa1m1-python3.9-crashtest-0.3.1/lib/python3.9/site-packages (from poetry==1.1.4) (0.3.1)
Requirement already satisfied: cleo<0.9.0,>=0.8.1 in /nix/store/0i7dil7zcqp688g8hym36kn2xpdw9129-python3.9-cleo-0.8.1/lib/python3.9/site-packages (from poetry==1.1.4) (0.8.1)
Requirement already satisfied: pkginfo<2.0,>=1.4 in /nix/store/wfhmr7shlc0shirlr4gxvczdgr33xq7p-python3.9-pkginfo-1.6.1/lib/python3.9/site-packages (from poetry==1.1.4) (1.6.1)
Requirement already satisfied: virtualenv<21.0.0,>=20.0.26 in /nix/store/bz3pak434v7pif5m2l58xw7f1qd2qfi7-python3.9-virtualenv-20.2.2/lib/python3.9/site-packages (from poetry==1.1.4) (20.2.2)
Requirement already satisfied: requests-toolbelt<0.10.0,>=0.9.1 in /nix/store/6pjsjclj1fq3k3pwjps9bn745bzlhlcv-python3.9-requests-toolbelt-0.9.1/lib/python3.9/site-packages (from poetry==1.1.4) (0.9.1)
Requirement already satisfied: poetry-core<2.0.0,>=1.0.0 in /nix/store/ldig6bhpw7kaynjwz5dxfhiqvixm0d53-python3.9-poetry-core-1.0.2/lib/python3.9/site-packages (from poetry==1.1.4) (1.0.2)
Requirement already satisfied: clikit<0.7.0,>=0.6.2 in /nix/store/4ljnwi0ihc8pzw7jri9rkaybrzj8fzjs-python3.9-clikit-0.6.2/lib/python3.9/site-packages (from poetry==1.1.4) (0.6.2)
Requirement already satisfied: keyring<22.0.0,>=21.2.0 in /nix/store/606cwyci05cm1w3xzjxkvyr4w6qn06rs-python3.9-keyring-21.5.0/lib/python3.9/site-packages (from poetry==1.1.4) (21.5.0)
Requirement already satisfied: tomlkit<1.0.0,>=0.7.0 in /nix/store/5ph3nqb5lvm04rq191zgka87j99axz1c-python3.9-tomlkit-0.7.0/lib/python3.9/site-packages (from poetry==1.1.4) (0.7.0)
Requirement already satisfied: shellingham<2.0,>=1.1 in /nix/store/7f3scd3gjjppgrlbg49v9p3p7l519dbh-python3.9-shellingham-1.3.2/lib/python3.9/site-packages (from poetry==1.1.4) (1.3.2)
Requirement already satisfied: pexpect<5.0.0,>=4.7.0 in /nix/store/3j6wyfqkqaai26kfdb0sczv9yy0qrl82-python3.9-pexpect-4.8.0/lib/python3.9/site-packages (from poetry==1.1.4) (4.8.0)
Requirement already satisfied: html5lib<2.0,>=1.0 in /nix/store/1l54z6kkx5qw4mbiyc0y5r71hxp7xv1x-python3.9-html5lib-1.1/lib/python3.9/site-packages (from poetry==1.1.4) (1.1)
Requirement already satisfied: cachecontrol[filecache]<0.13.0,>=0.12.4 in /nix/store/s78vwpm03703fa3rh5lqidsjknq981a4-python3.9-CacheControl-0.12.6/lib/python3.9/site-packages (from poetry==1.1.4) (0.12.6)
Requirement already satisfied: requests<3.0,>=2.18 in /nix/store/rgxfvfvdl17b4vyv18dvqhy2fr58z4y1-python3.9-requests-2.25.1/lib/python3.9/site-packages (from poetry==1.1.4) (2.25.1)
Requirement already satisfied: packaging<21.0,>=20.4 in /nix/store/fg393wsy948npwqfxfrb11jnk2fp3kpk-python3.9-packaging-20.8/lib/python3.9/site-packages (from poetry==1.1.4) (20.8)
Requirement already satisfied: cachy<0.4.0,>=0.3.0 in /nix/store/x89nwfcfd93an490lq6c2y376cv28lyd-python3.9-cachy-0.3.0/lib/python3.9/site-packages (from poetry==1.1.4) (0.3.0)
Requirement already satisfied: msgpack>=0.5.2 in /nix/store/pi74q9d6v7lz37jkw5jbp92prjj0lda9-python3.9-msgpack-1.0.2/lib/python3.9/site-packages (from cachecontrol[filecache]<0.13.0,>=0.12.4->poetry==1.1.4) (1.0.2)
Requirement already satisfied: lockfile>=0.9 in /nix/store/5bn5zbwdpjmvw7zx3cspy0ni901961bf-python3.9-lockfile-0.12.2/lib/python3.9/site-packages (from cachecontrol[filecache]<0.13.0,>=0.12.4->poetry==1.1.4) (0.12.2)
Requirement already satisfied: pastel<0.3.0,>=0.2.0 in /nix/store/sxr3xnqvc0z7pxw6znqjyyl4qcbbkwlv-python3.9-pastel-0.2.1/lib/python3.9/site-packages (from clikit<0.7.0,>=0.6.2->poetry==1.1.4) (0.2.1)
Requirement already satisfied: pylev<2.0,>=1.3 in /nix/store/ahkdx1pzhbxfy99i6jbi9352dja5xhaj-python3.9-pylev-1.3.0/lib/python3.9/site-packages (from clikit<0.7.0,>=0.6.2->poetry==1.1.4) (1.3.0)
Requirement already satisfied: webencodings in /nix/store/fsbxsksqbf1s51n1ak5hk2jnh55554fl-python3.9-webencodings-0.5.1/lib/python3.9/site-packages (from html5lib<2.0,>=1.0->poetry==1.1.4) (0.5.1)
Requirement already satisfied: six>=1.9 in /nix/store/na518fy49k42fyp3ibfb522iz93hmgx2-python3.9-six-1.15.0/lib/python3.9/site-packages (from html5lib<2.0,>=1.0->poetry==1.1.4) (1.15.0)
Requirement already satisfied: jeepney>=0.4.2 in /nix/store/xk881wklalrfz2q4xvgj6pfff2gwk4n0-python3.9-jeepney-0.6.0/lib/python3.9/site-packages (from keyring<22.0.0,>=21.2.0->poetry==1.1.4) (0.6.0)
Requirement already satisfied: SecretStorage>=3.2 in /nix/store/a5m5drpc7lhkgh322ip74w82jy0vzl39-python3.9-secretstorage-3.3.1/lib/python3.9/site-packages (from keyring<22.0.0,>=21.2.0->poetry==1.1.4) (3.3.1)
Requirement already satisfied: pyparsing>=2.0.2 in /nix/store/kcla725d12cyda103m3fqhi0zcmmil5h-python3.9-pyparsing-2.4.7/lib/python3.9/site-packages (from packaging<21.0,>=20.4->poetry==1.1.4) (2.4.7)
Requirement already satisfied: ptyprocess>=0.5 in /nix/store/yjly172cdxjkmgfm0bnlqq1rr8cjl24h-python3.9-ptyprocess-0.6.0/lib/python3.9/site-packages (from pexpect<5.0.0,>=4.7.0->poetry==1.1.4) (0.6.0)
Requirement already satisfied: certifi>=2017.4.17 in /nix/store/d3kxcxb81mmirbvipdc1r5ngaki02h9w-python3.9-certifi-2020.12.5/lib/python3.9/site-packages (from requests<3.0,>=2.18->poetry==1.1.4) (2020.12.5)
Requirement already satisfied: idna<3,>=2.5 in /nix/store/x4ln6zlj24kkwg5hm94cblfvn4c702d3-python3.9-idna-2.10/lib/python3.9/site-packages (from requests<3.0,>=2.18->poetry==1.1.4) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /nix/store/vszdgmmybb1wq6r99ksqhqn1w6d4f8gw-python3.9-chardet-3.0.4/lib/python3.9/site-packages (from requests<3.0,>=2.18->poetry==1.1.4) (3.0.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /nix/store/sskr8kw1hpa1zwp3swi18xyw2w6b61j9-python3.9-urllib3-1.26.3/lib/python3.9/site-packages (from requests<3.0,>=2.18->poetry==1.1.4) (1.26.3)
Requirement already satisfied: cryptography>=2.0 in /nix/store/2jybg6xbyaklyihfzim4nh0kvsbc94qk-python3.9-cryptography-3.4.6/lib/python3.9/site-packages (from SecretStorage>=3.2->keyring<22.0.0,>=21.2.0->poetry==1.1.4) (3.4.6)
Requirement already satisfied: cffi>=1.12 in /nix/store/x1i5lnw8j6ldj3an2wf3kkw2j216j35v-python3.9-cffi-1.14.5/lib/python3.9/site-packages (from cryptography>=2.0->SecretStorage>=3.2->keyring<22.0.0,>=21.2.0->poetry==1.1.4) (1.14.5)
Requirement already satisfied: pycparser in /nix/store/fgwdwhihnk5lq67grcax4w9kh9h7zwab-python3.9-pycparser-2.20/lib/python3.9/site-packages (from cffi>=1.12->cryptography>=2.0->SecretStorage>=3.2->keyring<22.0.0,>=21.2.0->poetry==1.1.4) (2.20)
Requirement already satisfied: filelock<4,>=3.0.0 in /nix/store/1zs6lfq0781ynfiwv7p5lbmip7wns41w-python3.9-filelock-3.0.12/lib/python3.9/site-packages (from virtualenv<21.0.0,>=20.0.26->poetry==1.1.4) (3.0.12)
Requirement already satisfied: distlib<1,>=0.3.1 in /nix/store/ba2ji2mwihw487mkvgb4z3bq1f2ksxpy-python3.9-distlib-0.3.1/lib/python3.9/site-packages (from virtualenv<21.0.0,>=20.0.26->poetry==1.1.4) (0.3.1)
Requirement already satisfied: appdirs<2,>=1.4.3 in /nix/store/s3vskj1nqj76higfpc6qi4havqqdx9cc-python3.9-appdirs-1.4.4/lib/python3.9/site-packages (from virtualenv<21.0.0,>=20.0.26->poetry==1.1.4) (1.4.4)
Installing collected packages: poetry
Successfully installed poetry-1.1.4
/build/source
Finished executing pipInstallPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/bjb2gnmiqqqv7z4rq9l3xdssssxnkkh5-python3.9-poetry-1.1.4
strip is /nix/store/h5wgppbyv8vkla58v8zi535j5i9akly5-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/bjb2gnmiqqqv7z4rq9l3xdssssxnkkh5-python3.9-poetry-1.1.4/lib /nix/store/bjb2gnmiqqqv7z4rq9l3xdssssxnkkh5-python3.9-poetry-1.1.4/bin
patching script interpreter paths in /nix/store/bjb2gnmiqqqv7z4rq9l3xdssssxnkkh5-python3.9-poetry-1.1.4
checking for references to /build/ in /nix/store/bjb2gnmiqqqv7z4rq9l3xdssssxnkkh5-python3.9-poetry-1.1.4...
Rewriting #!/nix/store/aqxv6kyxvijg5qnbjmkd6idmpn2mhw1b-python3-3.9.2/bin/python3.9 to #!/nix/store/aqxv6kyxvijg5qnbjmkd6idmpn2mhw1b-python3-3.9.2
wrapping `/nix/store/bjb2gnmiqqqv7z4rq9l3xdssssxnkkh5-python3.9-poetry-1.1.4/bin/poetry'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
@nix { "action": "setPhase", "phase": "installCheckPhase" }
running install tests
no Makefile or custom installCheckPhase, doing nothing
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
@nix { "action": "setPhase", "phase": "pytestCheckPhase" }
pytestCheckPhase
Executing pytestCheckPhase
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-6.2.2, py-1.9.0, pluggy-0.13.1
rootdir: /build/source
plugins: mock-3.5.1, cov-2.10.1
collecting ...
collecting 75 items
collecting 312 items
collecting 574 items
collected 638 items / 200 deselected / 438 selected
tests/test_factory.py ........... [ 2%]
tests/config/test_config.py ....... [ 4%]
tests/console/commands/test_about.py . [ 4%]
tests/console/commands/test_add.py ..................................... [ 12%]
......... [ 14%]
tests/console/commands/test_cache.py .. [ 15%]
tests/console/commands/test_check.py .. [ 15%]
tests/console/commands/test_config.py .......... [ 18%]
tests/console/commands/test_export.py .... [ 18%]
tests/console/commands/test_init.py ............... [ 22%]
tests/console/commands/test_publish.py .... [ 23%]
tests/console/commands/test_run.py . [ 23%]
tests/console/commands/test_search.py . [ 23%]
tests/console/commands/test_show.py ............... [ 27%]
tests/console/commands/test_version.py ....................... [ 32%]
tests/console/commands/debug/test_resolve.py .. [ 32%]
tests/console/commands/env/test_info.py .. [ 33%]
tests/console/commands/env/test_list.py ... [ 34%]
tests/console/commands/env/test_remove.py .. [ 34%]
tests/console/commands/env/test_use.py ... [ 35%]
tests/console/commands/self/test_update.py . [ 35%]
tests/inspection/test_info.py .........s......... [ 39%]
tests/installation/test_authenticator.py ................. [ 43%]
tests/installation/test_chef.py ... [ 44%]
tests/installation/test_chooser.py .......... [ 46%]
tests/installation/test_installer.py ................................. [ 54%]
tests/installation/test_installer_old.py ............................... [ 61%]
. [ 61%]
tests/installation/test_pip_installer.py ..... [ 62%]
tests/masonry/builders/test_editable_builder.py ... [ 63%]
tests/mixology/solutions/solutions/test_python_requirement_solution.py . [ 63%]
[ 63%]
tests/publishing/test_publisher.py ........ [ 65%]
tests/puzzle/test_provider.py .............. [ 68%]
tests/repositories/test_legacy_repository.py ..................... [ 73%]
tests/repositories/test_pool.py ....... [ 74%]
tests/repositories/test_pypi_repository.py .............. [ 78%]
tests/utils/test_env.py .................................. [ 85%]
tests/utils/test_env_site.py .. [ 86%]
tests/utils/test_exporter.py .......................... [ 92%]
tests/utils/test_extras.py ....... [ 93%]
tests/utils/test_helpers.py ... [ 94%]
tests/utils/test_password_manager.py ............... [ 97%]
tests/utils/test_setup_reader.py ......... [100%]
=============================== warnings summary ===============================
tests/helpers.py:139
/build/source/tests/helpers.py:139: PytestCollectionWarning: cannot collect test class 'TestApplication' because it has a __init__ constructor (from: tests/console/commands/test_init.py)
class TestApplication(Application):
tests/console/commands/test_publish.py::test_publish_returns_non_zero_code_for_connection_errors
tests/console/commands/test_publish.py::test_publish_returns_non_zero_code_for_connection_errors
tests/console/commands/test_publish.py::test_publish_dry_run
tests/console/commands/test_publish.py::test_publish_dry_run
/nix/store/sskr8kw1hpa1zwp3swi18xyw2w6b61j9-python3.9-urllib3-1.26.3/lib/python3.9/site-packages/urllib3/util/retry.py:252: DeprecationWarning: Using 'method_whitelist' with Retry is deprecated and will be removed in v2.0. Use 'allowed_methods' instead
warnings.warn(
tests/console/commands/test_publish.py::test_publish_returns_non_zero_code_for_connection_errors
/nix/store/kn3can5f9s4rbi0zwymaga52h40wd757-python3.9-pytest-6.2.2/lib/python3.9/site-packages/_pytest/threadexception.py:75: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-1
Traceback (most recent call last):
File "/nix/store/aqxv6kyxvijg5qnbjmkd6idmpn2mhw1b-python3-3.9.2/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/nix/store/aqxv6kyxvijg5qnbjmkd6idmpn2mhw1b-python3-3.9.2/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/nix/store/zb8h64rzxzkxcw4l7qd5bq76gcirvv49-python3.9-httpretty-1.0.5/lib/python3.9/site-packages/httpretty/core.py", line 897, in fill_filekind
status, headers, self.body = self.callable_body(self.request, self.info.full_url(), headers)
File "/build/source/tests/console/commands/test_publish.py", line 35, in request_callback
raise requests.ConnectionError()
requests.exceptions.ConnectionError
warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
tests/installation/test_authenticator.py::test_authenticator_request_retries_on_exception
/nix/store/kn3can5f9s4rbi0zwymaga52h40wd757-python3.9-pytest-6.2.2/lib/python3.9/site-packages/_pytest/threadexception.py:75: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-48
Traceback (most recent call last):
File "/nix/store/aqxv6kyxvijg5qnbjmkd6idmpn2mhw1b-python3-3.9.2/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/nix/store/aqxv6kyxvijg5qnbjmkd6idmpn2mhw1b-python3-3.9.2/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/nix/store/zb8h64rzxzkxcw4l7qd5bq76gcirvv49-python3.9-httpretty-1.0.5/lib/python3.9/site-packages/httpretty/core.py", line 897, in fill_filekind
status, headers, self.body = self.callable_body(self.request, self.info.full_url(), headers)
File "/build/source/tests/installation/test_authenticator.py", line 130, in callback
raise requests.exceptions.ConnectionError("Disconnected")
requests.exceptions.ConnectionError: Disconnected
warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
tests/installation/test_authenticator.py::test_authenticator_request_raises_exception_when_attempts_exhausted
/nix/store/kn3can5f9s4rbi0zwymaga52h40wd757-python3.9-pytest-6.2.2/lib/python3.9/site-packages/_pytest/threadexception.py:75: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-55
Traceback (most recent call last):
File "/nix/store/aqxv6kyxvijg5qnbjmkd6idmpn2mhw1b-python3-3.9.2/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/nix/store/aqxv6kyxvijg5qnbjmkd6idmpn2mhw1b-python3-3.9.2/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/nix/store/zb8h64rzxzkxcw4l7qd5bq76gcirvv49-python3.9-httpretty-1.0.5/lib/python3.9/site-packages/httpretty/core.py", line 897, in fill_filekind
status, headers, self.body = self.callable_body(self.request, self.info.full_url(), headers)
File "/build/source/tests/installation/test_authenticator.py", line 148, in callback
raise requests.exceptions.ConnectionError(str(uuid.uuid4()))
requests.exceptions.ConnectionError: 310e1ad7-35cc-40e7-b6c3-17c34f96e443
warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
-- Docs: https://docs.pytest.org/en/stable/warnings.html
==== 437 passed, 1 skipped, 200 deselected, 8 warnings in 62.07s (0:01:02) =====
Finished executing pytestCheckPhase
@nix { "action": "setPhase", "phase": "pytestcachePhase" }
pytestcachePhase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment