Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/jmpvvq9g2mhryspkpksmyf7playx69qs-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tox.ini" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Setting SETUPTOOLS_SCM_PRETEND_VERSION to 7.1.0 Including all tracked files automatically Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... * Building wheel... Successfully built docker-7.1.0-py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for docker-7.1.0-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed docker-7.1.0-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/vknhjrqlkj9jwzb3bd9lw0d57n0xfs2p-python3.13-docker-7.1.0 checking for references to /build/ in /nix/store/vknhjrqlkj9jwzb3bd9lw0d57n0xfs2p-python3.13-docker-7.1.0... patching script interpreter paths in /nix/store/vknhjrqlkj9jwzb3bd9lw0d57n0xfs2p-python3.13-docker-7.1.0 stripping (with command strip and flags -S -p) in /nix/store/vknhjrqlkj9jwzb3bd9lw0d57n0xfs2p-python3.13-docker-7.1.0/lib shrinking RPATHs of ELF executables and libraries in /nix/store/a3gwiaiyf4yr3v77afn5pd9sz626jdqa-python3.13-docker-7.1.0-dist checking for references to /build/ in /nix/store/a3gwiaiyf4yr3v77afn5pd9sz626jdqa-python3.13-docker-7.1.0-dist... patching script interpreter paths in /nix/store/a3gwiaiyf4yr3v77afn5pd9sz626jdqa-python3.13-docker-7.1.0-dist Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Check whether the following modules can be imported: docker Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest tests/unit ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0 rootdir: /build/source configfile: pytest.ini collected 626 items tests/unit/api_build_test.py ..........s... [ 2%] tests/unit/api_container_test.py ....................................... [ 8%] ............................................................... [ 18%] tests/unit/api_exec_test.py ..... [ 19%] tests/unit/api_image_test.py .......................... [ 23%] tests/unit/api_network_test.py ...... [ 24%] tests/unit/api_test.py ..................................... [ 30%] tests/unit/api_volume_test.py .......... [ 31%] tests/unit/auth_test.py ................................................ [ 39%] ........ [ 40%] tests/unit/client_test.py ...s....s..s.....s [ 43%] tests/unit/context_test.py ......s [ 44%] tests/unit/dockertypes_test.py ......................................... [ 51%] ........x............ [ 54%] tests/unit/errors_test.py .................. [ 57%] tests/unit/models_configs_test.py . [ 57%] tests/unit/models_containers_test.py ................................... [ 63%] ............... [ 65%] tests/unit/models_images_test.py ................... [ 68%] tests/unit/models_networks_test.py ...... [ 69%] tests/unit/models_resources_test.py .. [ 70%] tests/unit/models_secrets_test.py . [ 70%] tests/unit/models_services_test.py . [ 70%] tests/unit/sshadapter_test.py ..... [ 71%] tests/unit/swarm_test.py ... [ 71%] tests/unit/types_containers_test.py . [ 71%] tests/unit/utils_build_test.py ...s.......................s............. [ 78%] ...............x..............X.xxxxxx.. [ 84%] tests/unit/utils_config_test.py .....s.... [ 86%] tests/unit/utils_json_stream_test.py ....... [ 87%] tests/unit/utils_proxy_test.py ..... [ 88%] tests/unit/utils_test.py ............................................... [ 95%] .......................... [100%] =============================== warnings summary =============================== tests/unit/api_container_test.py::ContainerTest::test_log_since_with_datetime /build/source/tests/unit/api_container_test.py:1305: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). time = datetime.datetime.utcfromtimestamp(ts) tests/unit/api_test.py::DockerApiTest::test_events_with_since_until /build/source/tests/unit/api_test.py:234: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). now = datetime.datetime.utcfromtimestamp(ts) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ XFAIL tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows XFAIL tests/unit/utils_build_test.py::test_match_tag[a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a:tag-False] XFAIL tests/unit/utils_build_test.py::test_match_tag[[2001:db8::1]/repo-True] XFAIL tests/unit/utils_build_test.py::test_match_tag[[2001:db8:1:2:3:4:5:6]/repo:tag-True] XFAIL tests/unit/utils_build_test.py::test_match_tag[[2001:db8::1]:5000/repo-True] XFAIL tests/unit/utils_build_test.py::test_match_tag[[2001:db8::1]:5000/repo:tag-True] XFAIL tests/unit/utils_build_test.py::test_match_tag[[2001:db8::]:5000/repo-True] XFAIL tests/unit/utils_build_test.py::test_match_tag[[::1]:5000/repo-True] SKIPPED [1] tests/unit/api_build_test.py:190: Windows-specific syntax SKIPPED [1] tests/unit/client_test.py:99: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/client_test.py:135: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/client_test.py:207: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/client_test.py:241: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/context_test.py:18: Windows specific path check SKIPPED [1] tests/unit/utils_build_test.py:229: Backslash patterns only on Windows SKIPPED [1] tests/unit/utils_build_test.py:251: Backslash patterns only on Windows SKIPPED [1] tests/unit/utils_config_test.py:54: condition: sys.platform != 'win32' ======= 608 passed, 9 skipped, 8 xfailed, 1 xpassed, 2 warnings in 3.92s ======= Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase