Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created June 23, 2021 06:51
Show Gist options
  • Save r-rmcgibbo/787cdd3d87670b80a6c18ec5f094193a to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/787cdd3d87670b80a6c18ec5f094193a to your computer and use it in GitHub Desktop.
system: aarch64-linux | build_time: 10 seconds | https://github.com/NixOS/nixpkgs/pull/127871
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing flit-build-hook
Using flitBuildPhase
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing pytest-check-hook
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/1l96ji3vj5l5zdcsy4m14pz1llkmq2wh-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tox.ini
@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 flitBuildPhase
(B
>Fetching list of valid trove classifiers I-flit.validate(B
Couldn't get list of valid classifiers to check against W-flit.validate(B
Zip timestamps will be from SOURCE_DATE_EPOCH: 1980-01-02 00:00:00 I-flit_core.wheel(B
Copying package file(s) from ipfshttpclient I-flit_core.wheel(B
Writing metadata files I-flit_core.wheel(B
Writing the record of files I-flit_core.wheel(B
Built wheel: dist/ipfshttpclient-0.7.0-py3-none-any.whl I-flit_core.wheel(B
Finished executing flitBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pipInstallPhase
/build/source/dist /build/source
Processing ./ipfshttpclient-0.7.0-py3-none-any.whl
Requirement already satisfied: multiaddr>=0.0.7 in /nix/store/6iixhhhi6wcrgv77nqjqscshqq685xkl-python3.8-py-multiaddr-0.0.9/lib/python3.8/site-packages (from ipfshttpclient==0.7.0) (0.0.9)
Requirement already satisfied: requests>=2.11 in /nix/store/1jpxkysbxfh350qs2ss3gqjk3srfxclp-python3.8-requests-2.25.1/lib/python3.8/site-packages (from ipfshttpclient==0.7.0) (2.25.1)
Requirement already satisfied: netaddr in /nix/store/5i7kszhkgkmgv96iicsxx3f8602dz9qb-python3.8-netaddr-0.8.0/lib/python3.8/site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.7.0) (0.8.0)
Requirement already satisfied: base58 in /nix/store/iyxzzpgfmhjzm0lv98pqyxws3frd1i5l-python3.8-base58-2.1.0/lib/python3.8/site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.7.0) (2.1.0)
Requirement already satisfied: six in /nix/store/28s853jgyi13w7wr1y58v1v1fcb8x2vi-python3.8-six-1.15.0/lib/python3.8/site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.7.0) (1.15.0)
Requirement already satisfied: varint in /nix/store/fdr4k177796qsqj8kwmdc8h7rd6wkbhq-python3.8-varint-1.0.2/lib/python3.8/site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.7.0) (1.0.2)
Requirement already satisfied: certifi>=2017.4.17 in /nix/store/240rrymcdjwf8qr6xkqbf2c4yp2f9fhp-python3.8-certifi-2020.12.5/lib/python3.8/site-packages (from requests>=2.11->ipfshttpclient==0.7.0) (2020.12.5)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /nix/store/ng2mb90smg3fyjnf4pvqf459wsvadw1h-python3.8-urllib3-1.26.4/lib/python3.8/site-packages (from requests>=2.11->ipfshttpclient==0.7.0) (1.26.4)
Requirement already satisfied: chardet<5,>=3.0.2 in /nix/store/pl6hi6djqhqss4zs1q92bixspxy4p4g9-python3.8-chardet-4.0.0/lib/python3.8/site-packages (from requests>=2.11->ipfshttpclient==0.7.0) (4.0.0)
Requirement already satisfied: idna>=2.5 in /nix/store/r7n2343c08zjh2q73qkxgr37pfjrsv6x-python3.8-idna-3.1/lib/python3.8/site-packages (from requests>=2.11->ipfshttpclient==0.7.0) (3.1)
Installing collected packages: ipfshttpclient
Successfully installed ipfshttpclient-0.7.0
/build/source
Finished executing pipInstallPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/j19fnqnh0bggrcan6yva2fdd55dgl3m3-python3.8-ipfshttpclient-0.7.0
strip is /nix/store/ca148jcwpzjqyasyaqf9l81sndxwgbqn-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/j19fnqnh0bggrcan6yva2fdd55dgl3m3-python3.8-ipfshttpclient-0.7.0/lib
patching script interpreter paths in /nix/store/j19fnqnh0bggrcan6yva2fdd55dgl3m3-python3.8-ipfshttpclient-0.7.0
checking for references to /build/ in /nix/store/j19fnqnh0bggrcan6yva2fdd55dgl3m3-python3.8-ipfshttpclient-0.7.0...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
@nix { "action": "setPhase", "phase": "installCheckPhase" }
running install tests
generating ED25519 keypair...done
peer identity: 12D3KooWGggebCa4CvLrNzu3Xwh1nvXPgtX8iNZZ7sJ7gvurEdBu
initializing IPFS node at build/test-py38/ipfs-path
to get started, enter:
ipfs cat /ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/readme
Starting IPFS daemon on /ip4/127.0.0.1/tcp/41962…
Initializing daemon...
go-ipfs version: 0.9.0
Repo version: 11
System version: arm64/linux
Golang version: go1.16.5
2021/06/23 06:51:37 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.
2021-06-23T06:51:37.703Z ERROR p2pnode libp2p/discovery.go:46 mdns error: No multicast listeners could be started
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/127.0.0.1/udp/4001/quic
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /ip6/::1/udp/4001/quic
Swarm listening on /p2p-circuit
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip4/127.0.0.1/udp/4001/quic
Swarm announcing /ip6/::1/tcp/4001
Swarm announcing /ip6/::1/udp/4001/quic
API server listening on /ip4/127.0.0.1/tcp/41962
WebUI: http://127.0.0.1:41962/webui
Daemon is ready
============================= test session starts ==============================
platform linux -- Python 3.8.9, pytest-6.2.3, py-1.10.0, pluggy-0.13.1 -- /nix/store/f07kwhhgrgl4yr47wr01yyj83ws15pqf-python3-3.8.9/bin/python3.8
cachedir: .pytest_cache
rootdir: /build/source, configfile: tox.ini, testpaths: ipfshttpclient, test/unit, test/functional
plugins: cov-2.11.1, dependency-0.5.1, localserver-0.5.0, mock-3.5.1, order-0.10.0, pytest_cid-1.1.1, anyio-0.0.0
collecting ...
collecting 127 items
collecting 248 items
collected 259 items
test/unit/test_client.py::test_assert_version PASSED [ 0%]
test/unit/test_client.py::test_client_session_param PASSED [ 0%]
test/unit/test_client.py::test_client_session_context PASSED [ 1%]
test/unit/test_encoding.py::test_dummy_encoder PASSED [ 1%]
test/unit/test_encoding.py::test_json_parse_partial PASSED [ 1%]
test/unit/test_encoding.py::test_json_with_newlines PASSED [ 2%]
test/unit/test_encoding.py::test_json_parse_incomplete PASSED [ 2%]
test/unit/test_encoding.py::test_json_encode PASSED [ 3%]
test/unit/test_encoding.py::test_json_encode_invalid_surrogate PASSED [ 3%]
test/unit/test_encoding.py::test_json_encode_invalid_type PASSED [ 3%]
test/unit/test_encoding.py::test_get_encoder_by_name PASSED [ 4%]
test/unit/test_encoding.py::test_get_invalid_encoder PASSED [ 4%]
test/unit/test_filescanner.py::test_glob_compile[literal-expected0-kwargs0] PASSED [ 5%]
test/unit/test_filescanner.py::test_glob_compile[literal-expected1-kwargs1] PASSED [ 5%]
test/unit/test_filescanner.py::test_glob_compile[*.a-expected2-kwargs2] PASSED [ 5%]
test/unit/test_filescanner.py::test_glob_compile[*.a-expected3-kwargs3] PASSED [ 6%]
test/unit/test_filescanner.py::test_glob_compile[*/**/*.dir/**/**/.hidden-expected4-kwargs4] PASSED [ 6%]
test/unit/test_filescanner.py::test_glob_compile[*/**/*.dir/**/**/.hidden-expected5-kwargs5] PASSED [ 6%]
test/unit/test_filescanner.py::test_glob_compile[././/////////./*.a-expected6-kwargs6] PASSED [ 7%]
test/unit/test_filescanner.py::test_glob_compile[././/////////./*.a-expected7-kwargs7] PASSED [ 7%]
test/unit/test_filescanner.py::test_glob_compile[*/*.a-expected8-kwargs8] PASSED [ 8%]
test/unit/test_filescanner.py::test_glob_compile[*/*.a-expected9-kwargs9] PASSED [ 8%]
test/unit/test_filescanner.py::test_glob_sep_normalize PASSED [ 8%]
test/unit/test_filescanner.py::test_glob_errors[../*0] PASSED [ 9%]
test/unit/test_filescanner.py::test_glob_errors[../*1] PASSED [ 9%]
test/unit/test_filescanner.py::test_glob_errors[/absolute/file/path0] PASSED [ 10%]
test/unit/test_filescanner.py::test_glob_errors[/absolute/file/path1] PASSED [ 10%]
test/unit/test_filescanner.py::test_glob_not_implemented PASSED [ 10%]
test/unit/test_filescanner.py::test_glob_matching[literal-other-False-False-False-kwargs0] PASSED [ 11%]
test/unit/test_filescanner.py::test_glob_matching[literal-literal-False-False-True-kwargs1] PASSED [ 11%]
test/unit/test_filescanner.py::test_glob_matching[literal-literal/more-False-False-False-kwargs2] PASSED [ 11%]
test/unit/test_filescanner.py::test_glob_matching[literal-other-False-False-False-kwargs3] PASSED [ 12%]
test/unit/test_filescanner.py::test_glob_matching[literal-literal-False-False-True-kwargs4] PASSED [ 12%]
test/unit/test_filescanner.py::test_glob_matching[literal-literal/more-False-False-False-kwargs5] PASSED [ 13%]
test/unit/test_filescanner.py::test_glob_matching[literal/more-other-False-False-False-kwargs6] PASSED [ 13%]
test/unit/test_filescanner.py::test_glob_matching[literal/more-literal-False-True-False-kwargs7] PASSED [ 13%]
test/unit/test_filescanner.py::test_glob_matching[literal/more-literal-True-True-True-kwargs8] PASSED [ 14%]
test/unit/test_filescanner.py::test_glob_matching[literal/more-literal/more-False-False-True-kwargs9] PASSED [ 14%]
test/unit/test_filescanner.py::test_glob_matching[literal/more-other-False-False-False-kwargs10] PASSED [ 15%]
test/unit/test_filescanner.py::test_glob_matching[literal/more-literal-False-True-False-kwargs11] PASSED [ 15%]
test/unit/test_filescanner.py::test_glob_matching[literal/more-literal-True-True-True-kwargs12] PASSED [ 15%]
test/unit/test_filescanner.py::test_glob_matching[literal/more-literal/more-False-False-True-kwargs13] PASSED [ 16%]
test/unit/test_filescanner.py::test_glob_matching[literal/more-other-False-False-False-kwargs14] PASSED [ 16%]
test/unit/test_filescanner.py::test_glob_matching[literal/more-literal-False-False-False-kwargs15] PASSED [ 16%]
test/unit/test_filescanner.py::test_glob_matching[literal/more-literal-True-False-True-kwargs16] PASSED [ 17%]
test/unit/test_filescanner.py::test_glob_matching[literal/more-literal/more-False-False-False-kwargs17] PASSED [ 17%]
test/unit/test_filescanner.py::test_glob_matching[*.a-.a-False-False-False-kwargs18] PASSED [ 18%]
test/unit/test_filescanner.py::test_glob_matching[*.a-.a-False-False-True-kwargs19] PASSED [ 18%]
test/unit/test_filescanner.py::test_glob_matching[*.a-.a-True-False-False-kwargs20] PASSED [ 18%]
test/unit/test_filescanner.py::test_glob_matching[*.a-.a-True-False-True-kwargs21] PASSED [ 19%]
test/unit/test_filescanner.py::test_glob_matching[*.a/-.a-False-False-False-kwargs22] PASSED [ 19%]
test/unit/test_filescanner.py::test_glob_matching[*.a/-.a-False-False-False-kwargs23] PASSED [ 20%]
test/unit/test_filescanner.py::test_glob_matching[*.a/-.a-True-False-False-kwargs24] PASSED [ 20%]
test/unit/test_filescanner.py::test_glob_matching[*.a/-.a-True-False-True-kwargs25] PASSED [ 20%]
test/unit/test_filescanner.py::test_glob_matching[*/**/*.dir/**/**/.hidden-.dir/.hidden-False-False-False-kwargs26] PASSED [ 21%]
test/unit/test_filescanner.py::test_glob_matching[*/**/*.dir/**/**/.hidden-a/.dir/.hidden-False-True-False-kwargs27] PASSED [ 21%]
test/unit/test_filescanner.py::test_glob_matching[*/**/*.dir/**/**/.hidden-a/b.dir/.hidden-False-True-True-kwargs28] PASSED [ 22%]
test/unit/test_filescanner.py::test_glob_matching[*/**/*.dir/**/**/.hidden-a/u/v/w/b.dir/c/d/e/f/.hidden-False-True-True-kwargs29] PASSED [ 22%]
test/unit/test_filescanner.py::test_glob_matching[**-.a-False-True-False-kwargs30] PASSED [ 22%]
test/unit/test_filescanner.py::test_glob_matching[pattern31-.a-False-True-False-kwargs31] PASSED [ 23%]
test/unit/test_filescanner.py::test_glob_matching[[^/\\\\]+[/\\\\](IMG-\\d{0,4}\\.jpeg)?$-Camera/IMG-0169.jpeg-False-True-True-kwargs32] PASSED [ 23%]
test/unit/test_filescanner.py::test_glob_matching[[^/\\\\]+[/\\\\](IMG-\\d{0,4}\\.jpeg)?$-Camera-True-True-True-kwargs33] PASSED [ 23%]
test/unit/test_filescanner.py::test_glob_matching[[^/\\\\]+[/\\\\](IMG-\\d{0,4}\\.jpeg)?$-Camera/Thumbs.db-False-True-False-kwargs34] PASSED [ 24%]
test/unit/test_filescanner.py::test_glob_matching[[^/\\]+[/\\](IMG-\d{0,4}\.jpeg)?$-Camera/IMG-0169.jpeg-False-True-True-kwargs35] PASSED [ 24%]
test/unit/test_filescanner.py::test_glob_matching[[^/\\]+[/\\](IMG-\d{0,4}\.jpeg)?$-Camera-True-True-True-kwargs36] PASSED [ 25%]
test/unit/test_filescanner.py::test_glob_matching[[^/\\]+[/\\](IMG-\d{0,4}\.jpeg)?$-Camera/Thumbs.db-False-True-False-kwargs37] PASSED [ 25%]
test/unit/test_filescanner.py::test_glob_matching[pattern38-Camera/Thumbs.db-False-True-False-kwargs38] PASSED [ 25%]
test/unit/test_filescanner.py::test_glob_matching[pattern39-Camera/IMG-1279.jpeg-False-True-True-kwargs39] PASSED [ 26%]
test/unit/test_filescanner.py::test_glob_matching[pattern40-Camera/IMG-1279.jpeg-False-True-True-kwargs40] PASSED [ 26%]
test/unit/test_filescanner.py::test_glob_matching[pattern41-a/.dir/.hidden-False-True-False-kwargs41] PASSED [ 27%]
test/unit/test_filescanner.py::test_glob_matching[pattern42-a/.dir/.hidden-False-True-False-kwargs42] PASSED [ 27%]
test/unit/test_filescanner.py::test_glob_matching[pattern43-a/b.dir/.hidden-False-True-True-kwargs43] PASSED [ 27%]
test/unit/test_filescanner.py::test_glob_matching[pattern44-a/b.dir/.hidden-False-True-True-kwargs44] PASSED [ 28%]
test/unit/test_filescanner.py::test_glob_matching[pattern45-???-False-False-False-kwargs45] PASSED [ 28%]
test/unit/test_filescanner.py::test_glob_matching[pattern46-???-False-False-False-kwargs46] PASSED [ 28%]
test/unit/test_filescanner.py::test_walk_fd_unsupported PASSED [ 29%]
test/unit/test_filescanner.py::test_walk_instaclose PASSED [ 29%]
test/unit/test_filescanner.py::test_walk[/build/source/test/unit/../functional/fake_dir_almost_empty/-None-kwargs0-expected0] PASSED [ 30%]
test/unit/test_filescanner.py::test_walk[/build/source/test/unit/../functional/fake_dir-pattern1-kwargs1-expected1] PASSED [ 30%]
test/unit/test_filescanner.py::test_supports_fd PASSED [ 30%]
test/unit/test_http.py::test_successful_request PASSED [ 31%]
test/unit/test_http.py::test_successful_request_uds PASSED [ 31%]
test/unit/test_http.py::test_generic_failure PASSED [ 32%]
test/unit/test_http.py::test_generic_failure_uds PASSED [ 32%]
test/unit/test_http.py::test_http_client_failure PASSED [ 32%]
test/unit/test_http.py::test_http_client_failure_broken_msg PASSED [ 33%]
test/unit/test_http.py::test_http_client_late_failure PASSED [ 33%]
test/unit/test_http.py::test_stream PASSED [ 33%]
test/unit/test_http.py::test_cat PASSED [ 34%]
test/unit/test_http.py::test_default_decoder PASSED [ 34%]
test/unit/test_http.py::test_explicit_decoder PASSED [ 35%]
test/unit/test_http.py::test_unsupported_decoder PASSED [ 35%]
test/unit/test_http.py::test_failed_decoder PASSED [ 35%]
test/unit/test_http.py::test_failed_download PASSED [ 36%]
test/unit/test_http.py::test_download_connect_error PASSED [ 36%]
test/unit/test_http.py::test_download_protocol_error PASSED [ 37%]
test/unit/test_http.py::test_download_timeout PASSED [ 37%]
test/unit/test_http.py::test_download_timeout_session PASSED [ 37%]
test/unit/test_http.py::test_request_connect_error PASSED [ 38%]
test/unit/test_http.py::test_request_protocol_error PASSED [ 38%]
test/unit/test_http.py::test_request_timeout PASSED [ 38%]
test/unit/test_http.py::test_session PASSED [ 39%]
test/unit/test_http.py::test_stream_close PASSED [ 39%]
test/unit/test_http.py::test_basic_auth PASSED [ 40%]
test/unit/test_http.py::test_readable_stream_wrapper_read_all PASSED [ 40%]
test/unit/test_http.py::test_readable_stream_wrapper_read_single_bytes PASSED [ 40%]
test/unit/test_http.py::test_multiaddr_to_url_data[args0-expected0] PASSED [ 41%]
test/unit/test_http.py::test_multiaddr_to_url_data[args1-expected1] PASSED [ 41%]
test/unit/test_http.py::test_multiaddr_to_url_data[args2-expected2] PASSED [ 42%]
test/unit/test_http.py::test_multiaddr_to_url_data[args3-expected3] PASSED [ 42%]
test/unit/test_http.py::test_multiaddr_to_url_data[args4-expected4] PASSED [ 42%]
test/unit/test_http.py::test_multiaddr_to_url_data[args5-expected5] PASSED [ 43%]
test/unit/test_http.py::test_multiaddr_to_url_data[args6-expected6] PASSED [ 43%]
test/unit/test_http.py::test_multiaddr_to_url_data[args7-expected7] PASSED [ 44%]
test/unit/test_http.py::test_multiaddr_to_url_data[args8-expected8] PASSED [ 44%]
test/unit/test_http.py::test_multiaddr_to_url_data_invalid[args0] PASSED [ 44%]
test/unit/test_http.py::test_multiaddr_to_url_data_invalid[args1] PASSED [ 45%]
test/unit/test_http.py::test_multiaddr_to_url_data_invalid[args2] PASSED [ 45%]
test/unit/test_http.py::test_multiaddr_to_url_data_invalid[args3] PASSED [ 45%]
test/unit/test_http.py::test_multiaddr_to_url_data_invalid[args4] PASSED [ 46%]
test/unit/test_http.py::test_multiaddr_to_url_data_invalid[args5] PASSED [ 46%]
test/unit/test_http.py::test_multiaddr_to_url_data_invalid[args6] PASSED [ 47%]
test/unit/test_http.py::test_multiaddr_to_url_data_invalid[args7] PASSED [ 47%]
test/unit/test_http.py::test_multiaddr_to_url_data_invalid[args8] PASSED [ 47%]
test/unit/test_http.py::test_multiaddr_to_url_data_invalid[args9] PASSED [ 48%]
test/unit/test_http.py::test_multiaddr_to_url_data_invalid[args10] PASSED [ 48%]
test/unit/test_http.py::test_multiaddr_to_url_data_invalid[args11] PASSED [ 49%]
test/unit/test_http_httpx.py::test_map_args_to_httpx[kwargs0-expected0] PASSED [ 49%]
test/unit/test_http_httpx.py::test_map_args_to_httpx[kwargs1-expected1] PASSED [ 49%]
test/unit/test_http_httpx.py::test_map_args_to_httpx[kwargs2-expected2] PASSED [ 50%]
test/unit/test_http_httpx.py::test_client_args_to_session_kwargs[args0-kwargs0-expected_kwargs0-http://localhost:5001/api/v0/-None] PASSED [ 50%]
test/unit/test_http_httpx.py::test_client_args_to_session_kwargs[args1-kwargs1-expected_kwargs1-https://ietf.org:443/base/-::] PASSED [ 50%]
test/unit/test_http_requests.py::test_map_args_to_requests[kwargs0-expected0] PASSED [ 51%]
test/unit/test_http_requests.py::test_map_args_to_requests[kwargs1-expected1] PASSED [ 51%]
test/unit/test_http_requests.py::test_map_args_to_requests[kwargs2-expected2] PASSED [ 52%]
test/unit/test_http_requests.py::test_client_args_to_session_props[args0-kwargs0-http://localhost:5001/api/v0/-expected20-None] PASSED [ 52%]
test/unit/test_http_requests.py::test_client_args_to_session_props[args1-kwargs1-https://ietf.org:443/base/-expected21-expected31] PASSED [ 52%]
test/unit/test_multipart.py::TestContentHelpers::test_content_disposition_headers PASSED [ 53%]
test/unit/test_multipart.py::TestContentHelpers::test_content_disposition_headers_with_type PASSED [ 53%]
test/unit/test_multipart.py::TestContentHelpers::test_content_type_headers PASSED [ 54%]
test/unit/test_multipart.py::TestContentHelpers::test_multipart_content_type_headers PASSED [ 54%]
test/unit/test_multipart.py::TestStreamBase::test__gen_chunks PASSED [ 54%]
test/unit/test_multipart.py::TestStreamBase::test__gen_end PASSED [ 55%]
test/unit/test_multipart.py::TestStreamBase::test__gen_headers PASSED [ 55%]
test/unit/test_multipart.py::TestStreamBase::test__gen_item_end PASSED [ 55%]
test/unit/test_multipart.py::TestStreamBase::test__gen_item_start PASSED [ 56%]
test/unit/test_multipart.py::TestStreamBase::test_body PASSED [ 56%]
test/unit/test_multipart.py::TestStreamBase::test_init PASSED [ 57%]
test/unit/test_multipart.py::TestStreamBase::test_init_defaults PASSED [ 57%]
test/unit/test_multipart.py::TestStreamFileMixin::test__gen_file PASSED [ 57%]
test/unit/test_multipart.py::TestStreamFileMixin::test__gen_file_absolute PASSED [ 58%]
test/unit/test_multipart.py::TestStreamFileMixin::test__gen_file_chunks PASSED [ 58%]
test/unit/test_multipart.py::TestStreamFileMixin::test__gen_file_end PASSED [ 59%]
test/unit/test_multipart.py::TestStreamFileMixin::test__gen_file_relative PASSED [ 59%]
test/unit/test_multipart.py::TestStreamFileMixin::test__gen_file_start PASSED [ 59%]
test/unit/test_multipart.py::TestStreamFileMixin::test__gen_file_start_with_filepath PASSED [ 60%]
test/unit/test_multipart.py::TestFilesStream::test_body_absolute PASSED [ 60%]
test/unit/test_multipart.py::TestFilesStream::test_body_relative PASSED [ 61%]
test/unit/test_multipart.py::TestDirectoryStream::test_body PASSED [ 61%]
test/unit/test_multipart.py::TestBytesFileStream::test_body PASSED [ 61%]
test/unit/test_multipart.py::TestStreamHelpers::test_stream_directory PASSED [ 62%]
test/unit/test_multipart.py::TestStreamHelpers::test_stream_files PASSED [ 62%]
test/unit/test_multipart.py::TestStreamHelpers::test_stream_text PASSED [ 62%]
test/unit/test_utils.py::TestUtils::test_clean_file_opened PASSED [ 63%]
test/unit/test_utils.py::TestUtils::test_clean_file_unopened_binarypath PASSED [ 63%]
test/unit/test_utils.py::TestUtils::test_clean_file_unopened_textpath PASSED [ 64%]
test/unit/test_utils.py::TestUtils::test_clean_files_list PASSED [ 64%]
test/unit/test_utils.py::TestUtils::test_clean_files_single PASSED [ 64%]
test/unit/test_utils.py::TestUtils::test_guess_mimetype PASSED [ 65%]
test/unit/test_utils.py::TestUtils::test_return_field_call PASSED [ 65%]
test/unit/test_utils.py::TestUtils::test_return_field_init PASSED [ 66%]
test/functional/test_bitswap.py::test_wantlist ERROR [ 66%]
test/functional/test_bitswap.py::test_stat SKIPPED (Running IPFS nod...) [ 66%]
test/functional/test_block.py::test_put SKIPPED (Running IPFS node r...) [ 67%]
test/functional/test_block.py::test_stat SKIPPED (test_stat depends ...) [ 67%]
test/functional/test_block.py::test_get SKIPPED (test_get depends on...) [ 67%]
test/functional/test_block.py::test_put_str SKIPPED (Running IPFS no...) [ 68%]
test/functional/test_block.py::test_stat_cid_obj SKIPPED (test_stat_...) [ 68%]
test/functional/test_dag.py::test_put_get_resolve SKIPPED (Running I...) [ 69%]
test/functional/test_dag.py::test_import_export SKIPPED (Running IPF...) [ 69%]
test/functional/test_files.py::test_add_single_from_str_with_dir SKIPPED [ 69%]
test/functional/test_files.py::test_only_hash_file SKIPPED (Running ...) [ 70%]
test/functional/test_files.py::test_add_multiple_from_list SKIPPED (...) [ 70%]
test/functional/test_files.py::test_add_with_raw_leaves SKIPPED (Run...) [ 71%]
test/functional/test_files.py::test_add_nocopy_without_raw_leaves SKIPPED [ 71%]
test/functional/test_files.py::test_nocopy_with_raw_leaves_file SKIPPED [ 71%]
test/functional/test_files.py::test_nocopy_with_default_raw_leaves_file SKIPPED [ 72%]
test/functional/test_files.py::test_add_relative_path SKIPPED (Runni...) [ 72%]
test/functional/test_files.py::test_add_nocopy_with_relative_path SKIPPED [ 72%]
test/functional/test_files.py::test_add_multiple_from_dirname SKIPPED [ 73%]
test/functional/test_files.py::test_add_filepattern_from_dirname SKIPPED [ 73%]
test/functional/test_files.py::test_add_filepattern_from_dirname_nofwalk SKIPPED [ 74%]
test/functional/test_files.py::test_add_filepattern_from_dirfd SKIPPED [ 74%]
test/functional/test_files.py::test_add_filepattern_from_dirname_recursive SKIPPED [ 74%]
test/functional/test_files.py::test_add_filepattern_from_dirname_recursive_nofwalk SKIPPED [ 75%]
test/functional/test_files.py::test_add_filepattern_from_dirfd_recursive_nofwalk SKIPPED [ 75%]
test/functional/test_files.py::test_add_filepattern_from_dirfd_recursive SKIPPED [ 76%]
test/functional/test_files.py::test_add_filepattern_from_dirname_recursive_binary SKIPPED [ 76%]
test/functional/test_files.py::test_add_filepattern_from_dirname_recursive_nofwalk_binary SKIPPED [ 76%]
test/functional/test_files.py::test_add_filepattern_subdir_wildcard SKIPPED [ 77%]
test/functional/test_files.py::test_add_filepattern_subdir_wildcard_recursive SKIPPED [ 77%]
test/functional/test_files.py::test_add_subdir_dotfiles SKIPPED (Run...) [ 77%]
test/functional/test_files.py::test_add_subdir_dotfiles_starpattern SKIPPED [ 78%]
test/functional/test_files.py::test_add_subdir_dotfiles_starpattern_no_period_special SKIPPED [ 78%]
test/functional/test_files.py::test_add_subdir_dotfiles_dotstarpattern SKIPPED [ 79%]
test/functional/test_files.py::test_add_recursive SKIPPED (Running I...) [ 79%]
test/functional/test_files.py::test_add_cid_version_0 SKIPPED (Runni...) [ 79%]
test/functional/test_files.py::test_add_cid_version_1 SKIPPED (Runni...) [ 80%]
test/functional/test_files.py::test_get_file SKIPPED (test_get_file ...) [ 80%]
test/functional/test_files.py::test_get_dir SKIPPED (test_get_dir de...) [ 81%]
test/functional/test_files.py::test_get_path SKIPPED (test_get_path ...) [ 81%]
test/functional/test_files.py::test_get_path_with_target SKIPPED (te...) [ 81%]
test/functional/test_files.py::test_cat_single_file_str SKIPPED (tes...) [ 82%]
test/functional/test_files.py::test_cat_file_block SKIPPED (test_cat...) [ 82%]
test/functional/test_files.py::test_mfs_file_cp_rm SKIPPED (Running ...) [ 83%]
test/functional/test_files.py::test_mfs_file_write_stat_read_delete SKIPPED [ 83%]
test/functional/test_files.py::test_mfs_dir_make_fill_list_delete SKIPPED [ 83%]
test/functional/test_key.py::test_add_list_rename_rm SKIPPED (Runnin...) [ 84%]
test/functional/test_miscellaneous.py::test_version SKIPPED (Running...) [ 84%]
test/functional/test_miscellaneous.py::test_id SKIPPED (Running IPFS...) [ 84%]
test/functional/test_name.py::test_publish_self SKIPPED (Running IPF...) [ 85%]
test/functional/test_name.py::test_publish_params SKIPPED (Running I...) [ 85%]
test/functional/test_name.py::test_publish_key SKIPPED (Running IPFS...) [ 86%]
test/functional/test_name.py::test_publish_indirect SKIPPED (Running...) [ 86%]
test/functional/test_name.py::test_resolve SKIPPED (Running IPFS nod...) [ 86%]
test/functional/test_name.py::test_resolve_recursive SKIPPED (Runnin...) [ 87%]
test/functional/test_name.py::test_resolve_params SKIPPED (Running I...) [ 87%]
test/functional/test_object.py::test_new SKIPPED (Running IPFS node ...) [ 88%]
test/functional/test_object.py::test_stat SKIPPED (Running IPFS node...) [ 88%]
test/functional/test_object.py::test_put_get SKIPPED (Running IPFS n...) [ 88%]
test/functional/test_object.py::test_links SKIPPED (Running IPFS nod...) [ 89%]
test/functional/test_object.py::test_data SKIPPED (Running IPFS node...) [ 89%]
test/functional/test_object.py::test_prepare_test_files SKIPPED (tes...) [ 89%]
test/functional/test_object.py::test_patch_append_data SKIPPED (test...) [ 90%]
test/functional/test_object.py::test_patch_add_link SKIPPED (test_pa...) [ 90%]
test/functional/test_object.py::test_patch_rm_link SKIPPED (test_pat...) [ 91%]
test/functional/test_object.py::test_patch_set_data SKIPPED (test_pa...) [ 91%]
test/functional/test_object.py::test_diff_same SKIPPED (test_diff_sa...) [ 91%]
test/functional/test_object.py::test_diff_different_files SKIPPED (t...) [ 92%]
test/functional/test_other.py::test_ipfs_node_available FAILED [ 92%]
test/functional/test_other.py::test_add_json SKIPPED (Running IPFS n...) [ 93%]
test/functional/test_pin.py::test_ls_void SKIPPED (Running IPFS node...) [ 93%]
test/functional/test_pin.py::test_ls_single SKIPPED (Running IPFS no...) [ 93%]
test/functional/test_pin.py::test_ls_multiple SKIPPED (Running IPFS ...) [ 94%]
test/functional/test_pin.py::test_ls_add_rm_single SKIPPED (Running ...) [ 94%]
test/functional/test_pin.py::test_ls_add_rm_directory SKIPPED (Runni...) [ 94%]
test/functional/test_pin.py::test_add_update_verify_rm SKIPPED (Runn...) [ 95%]
test/functional/test_pubsub.py::test_publish_subscribe SKIPPED (Runn...) [ 95%]
test/functional/test_pubsub.py::test_ls SKIPPED (Running IPFS node r...) [ 96%]
test/functional/test_pubsub.py::test_peers SKIPPED (Running IPFS nod...) [ 96%]
test/functional/test_repo.py::test_stat SKIPPED (Running IPFS node r...) [ 96%]
test/functional/test_repo.py::test_gc SKIPPED (Running IPFS node req...) [ 97%]
test/functional/test_repo.py::test_gc_no_result SKIPPED (Running IPF...) [ 97%]
test/functional/test_unstable.py::test_log_ls_level SKIPPED (Running...) [ 98%]
test/functional/test_unstable.py::test_log_tail SKIPPED (Running IPF...) [ 98%]
test/functional/test_unstable.py::test_refs_local_1 SKIPPED (Running...) [ 98%]
test/functional/test_unstable.py::test_refs_local_2 SKIPPED (Running...) [ 99%]
test/functional/test_unstable.py::test_refs SKIPPED (Running IPFS no...) [ 99%]
test/functional/test_miscellaneous.py::test_daemon_stop SKIPPED (Run...) [100%]
==================================== ERRORS ====================================
_______________________ ERROR at setup of test_wantlist ________________________
@pytest.fixture(scope="function")
def client():
"""Create a client with function lifetimme to connect to the IPFS daemon.
Each test function should instantiate a fresh client, so use this
fixture in test functions."""
> with get_client() as client:
test/functional/conftest.py:52:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/functional/conftest.py:40: in get_client
if is_available():
test/functional/conftest.py:22: in is_available
ipfshttpclient.connect()
ipfshttpclient/client/__init__.py:119: in connect
assert_version(client.apply_workarounds()["Version"])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
version = [0, 9, 0], minimum = [0, 4, 23], maximum = [0, 9, 0], blacklist = []
def assert_version(version: str, minimum: str = VERSION_MINIMUM,
maximum: str = VERSION_MAXIMUM,
blacklist: ty.Iterable[str] = VERSION_BLACKLIST) -> None:
"""Make sure that the given daemon version is supported by this client
version.
Raises
------
~ipfshttpclient.exceptions.VersionMismatch
Parameters
----------
version
The actual version of an IPFS daemon
minimum
The minimal IPFS daemon version allowed (inclusive)
maximum
The maximum IPFS daemon version allowed (exclusive)
blacklist
Versions explicitly disallowed even if in range *minimum* – *maximum*
"""
# Convert version strings to integer tuples
version = list(map(int, version.split('-', 1)[0].split('.')))
minimum = list(map(int, minimum.split('-', 1)[0].split('.')))
maximum = list(map(int, maximum.split('-', 1)[0].split('.')))
if minimum > version or version >= maximum:
> raise exceptions.VersionMismatch(version, minimum, maximum)
E ipfshttpclient.exceptions.VersionMismatch: Unsupported daemon version '0.9.0' (not in range: 0.4.23 ≤ … < 0.9.0)
ipfshttpclient/client/__init__.py:69: VersionMismatch
=================================== FAILURES ===================================
___________________________ test_ipfs_node_available ___________________________
def test_ipfs_node_available():
"""
Dummy test to ensure that running the tests without a daemon produces a failure, since we
think it's unlikely that people running tests want this
"""
> assert conftest.is_available(), \
"Functional tests require an IPFS node to be available at: {0}" \
.format(ipfshttpclient.DEFAULT_ADDR)
E AssertionError: Functional tests require an IPFS node to be available at: /ip4/127.0.0.1/tcp/41962
E assert False
E + where False = <function is_available at 0xfffff5a96430>()
E + where <function is_available at 0xfffff5a96430> = conftest.is_available
test/functional/test_other.py:11: AssertionError
=========================== short test summary info ============================
SKIPPED [70] test/functional/conftest.py:43: Running IPFS node required
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_stat depends on test_put
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_get depends on test_put
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_stat_cid_obj depends on test_put_str
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_get_file depends on test_add_recursive
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_get_dir depends on test_add_recursive
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_get_path depends on test_add_recursive
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_get_path_with_target depends on test_add_recursive
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_cat_single_file_str depends on test_add_recursive
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_cat_file_block depends on test_add_recursive
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_prepare_test_files depends on test/functional/test_files.py::test_add_recursive
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_patch_append_data depends on test_prepare_test_files
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_patch_add_link depends on test_prepare_test_files
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_patch_rm_link depends on test_prepare_test_files
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_patch_set_data depends on test_prepare_test_files
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_diff_same depends on test_prepare_test_files
SKIPPED [1] ../../nix/store/cg5i6l98sq1kmxz9a82l257wax0f9kvf-python3.8-pytest-dependency-0.5.1/lib/python3.8/site-packages/pytest_dependency.py:103: test_diff_different_files depends on test_prepare_test_files
ERROR test/functional/test_bitswap.py::test_wantlist - ipfshttpclient.excepti...
FAILED test/functional/test_other.py::test_ipfs_node_available - AssertionErr...
============== 1 failed, 171 passed, 86 skipped, 1 error in 3.44s ==============
IPFS daemon was still running after test!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment