Console Output
16:43:31 + docker run --rm --name dpy-tests-7-0-py3.7-19.03.12 -e DOCKER_HOST=tcp://dpy-dind-7-0-py3.7-19.03.12:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-7-0-py3.7-19.03.12 --volumes-from dpy-dind-7-0-py3.7-19.03.12 -v /home/ubuntu/.docker/config.json:/root/.docker/config.json dockerbuildbot/docker-py:py3-d239e37c092375d83e3414bb572813f1b9250fe7 py.test -v -rxs --cov=docker --ignore=tests/ssh tests/
16:43:31 Unable to find image 'dockerbuildbot/docker-py:py3-d239e37c092375d83e3414bb572813f1b9250fe7' locally
16:43:31 py3-d239e37c092375d83e3414bb572813f1b9250fe7: Pulling from dockerbuildbot/docker-py
16:43:31 6c33745f49b4: Pulling fs layer
16:43:31 ef072fc32a84: Pulling fs layer
16:43:31 c0afb8e68e0b: Pulling fs layer
16:43:31 d599c07d28e6: Pulling fs layer
16:43:31 f2ecc74db11a: Pulling fs layer
16:43:31 26856d31ce86: Pulling fs layer
16:43:31 d4db05d8da44: Pulling fs layer
16:43:31 a63ae5575b2c: Pulling fs layer
16:43:31 a8c72204fafe: Pulling fs layer
16:43:31 32c245bc59ad: Pulling fs layer
16:43:31 a5380d78cae5: Pulling fs layer
16:43:31 b92f1223ddbe: Pulling fs layer
16:43:31 023c459e5fb9: Pulling fs layer
16:43:31 2d5f9db1ab90: Pulling fs layer
16:43:31 8d3da26c4806: Pulling fs layer
16:43:31 144c92b4a1c9: Pulling fs layer
16:43:31 d4db05d8da44: Waiting
16:43:31 f2ecc74db11a: Waiting
16:43:31 75e545f9c195: Pulling fs layer
16:43:31 26856d31ce86: Waiting
16:43:31 a63ae5575b2c: Waiting
16:43:31 b9ec5f1fc89c: Pulling fs layer
16:43:31 82df71b5fdc6: Pulling fs layer
16:43:31 cc030f14d299: Pulling fs layer
16:43:31 a8c72204fafe: Waiting
16:43:31 340677365c4d: Pulling fs layer
16:43:31 32c245bc59ad: Waiting
16:43:31 4185195eaf8d: Pulling fs layer
16:43:31 600fcd45ef09: Pulling fs layer
16:43:31 a5380d78cae5: Waiting
16:43:31 8c0289ee076a: Pulling fs layer
16:43:31 96fd3bffe145: Pulling fs layer
16:43:31 a70d3b392329: Pulling fs layer
16:43:31 b92f1223ddbe: Waiting
16:43:31 2d5f9db1ab90: Waiting
16:43:31 340677365c4d: Waiting
16:43:31 4185195eaf8d: Waiting
16:43:31 600fcd45ef09: Waiting
16:43:31 8d3da26c4806: Waiting
16:43:31 8c0289ee076a: Waiting
16:43:31 144c92b4a1c9: Waiting
16:43:31 96fd3bffe145: Waiting
16:43:31 a70d3b392329: Waiting
16:43:31 75e545f9c195: Waiting
16:43:31 cc030f14d299: Waiting
16:43:31 b9ec5f1fc89c: Waiting
16:43:31 82df71b5fdc6: Waiting
16:43:31 023c459e5fb9: Waiting
16:43:31 d599c07d28e6: Waiting
16:43:32 ef072fc32a84: Download complete
16:43:32 c0afb8e68e0b: Verifying Checksum
16:43:32 c0afb8e68e0b: Download complete
16:43:32 6c33745f49b4: Verifying Checksum
16:43:32 6c33745f49b4: Download complete
16:43:33 d599c07d28e6: Verifying Checksum
16:43:33 d599c07d28e6: Download complete
16:43:33 26856d31ce86: Verifying Checksum
16:43:33 26856d31ce86: Download complete
16:43:33 a63ae5575b2c: Verifying Checksum
16:43:33 a63ae5575b2c: Download complete
16:43:33 a8c72204fafe: Download complete
16:43:33 32c245bc59ad: Verifying Checksum
16:43:33 32c245bc59ad: Download complete
16:43:33 d4db05d8da44: Verifying Checksum
16:43:33 d4db05d8da44: Download complete
16:43:33 b92f1223ddbe: Download complete
16:43:33 023c459e5fb9: Verifying Checksum
16:43:33 023c459e5fb9: Download complete
16:43:33 2d5f9db1ab90: Download complete
16:43:33 8d3da26c4806: Verifying Checksum
16:43:33 8d3da26c4806: Download complete
16:43:33 a5380d78cae5: Verifying Checksum
16:43:33 a5380d78cae5: Download complete
16:43:33 144c92b4a1c9: Verifying Checksum
16:43:33 144c92b4a1c9: Download complete
16:43:33 75e545f9c195: Verifying Checksum
16:43:33 75e545f9c195: Download complete
16:43:33 b9ec5f1fc89c: Verifying Checksum
16:43:33 b9ec5f1fc89c: Download complete
16:43:33 cc030f14d299: Verifying Checksum
16:43:33 cc030f14d299: Download complete
16:43:33 82df71b5fdc6: Verifying Checksum
16:43:33 82df71b5fdc6: Download complete
16:43:33 340677365c4d: Verifying Checksum
16:43:33 340677365c4d: Download complete
16:43:33 600fcd45ef09: Verifying Checksum
16:43:33 600fcd45ef09: Download complete
16:43:33 8c0289ee076a: Verifying Checksum
16:43:33 8c0289ee076a: Download complete
16:43:33 96fd3bffe145: Verifying Checksum
16:43:33 96fd3bffe145: Download complete
16:43:33 4185195eaf8d: Verifying Checksum
16:43:33 4185195eaf8d: Download complete
16:43:34 a70d3b392329: Verifying Checksum
16:43:34 a70d3b392329: Download complete
16:43:34 f2ecc74db11a: Verifying Checksum
16:43:34 f2ecc74db11a: Download complete
16:43:35 6c33745f49b4: Pull complete
16:43:36 ef072fc32a84: Pull complete
16:43:36 c0afb8e68e0b: Pull complete
16:43:38 d599c07d28e6: Pull complete
16:43:43 f2ecc74db11a: Pull complete
16:43:43 26856d31ce86: Pull complete
16:43:43 d4db05d8da44: Pull complete
16:43:43 a63ae5575b2c: Pull complete
16:43:43 a8c72204fafe: Pull complete
16:43:43 32c245bc59ad: Pull complete
16:43:43 a5380d78cae5: Pull complete
16:43:44 b92f1223ddbe: Pull complete
16:43:44 023c459e5fb9: Pull complete
16:43:44 2d5f9db1ab90: Pull complete
16:43:44 8d3da26c4806: Pull complete
16:43:44 144c92b4a1c9: Pull complete
16:43:44 75e545f9c195: Pull complete
16:43:44 b9ec5f1fc89c: Pull complete
16:43:44 82df71b5fdc6: Pull complete
16:43:44 cc030f14d299: Pull complete
16:43:44 340677365c4d: Pull complete
16:43:44 4185195eaf8d: Pull complete
16:43:45 600fcd45ef09: Pull complete
16:43:45 8c0289ee076a: Pull complete
16:43:45 96fd3bffe145: Pull complete
16:43:45 a70d3b392329: Pull complete
16:43:45 Digest: sha256:17d8fc174722b2c6f666336074147f3389252b4c49031baf10a9a7c877ace146
16:43:45 Status: Downloaded newer image for dockerbuildbot/docker-py:py3-d239e37c092375d83e3414bb572813f1b9250fe7
16:43:48 ============================= test session starts ==============================
16:43:48 platform linux -- Python 3.7.9, pytest-4.3.1, py-1.10.0, pluggy-0.13.1 -- /usr/local/bin/python
16:43:48 cachedir: .pytest_cache
16:43:48 rootdir: /src, inifile: pytest.ini
16:43:48 plugins: timeout-1.3.3, cov-2.6.1
16:43:48 collecting ... collected 0 items / 1 errors
16:43:49
16:43:49 ==================================== ERRORS ====================================
16:43:49 ______________________________ ERROR collecting _______________________________
16:43:49 /usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py:429: in _importconftest
16:43:49 return self._conftestpath2mod[conftestpath]
16:43:49 E KeyError: local('/src/tests/integration/conftest.py')
16:43:49
16:43:49 During handling of the above exception, another exception occurred:
16:43:49 /usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py:435: in _importconftest
16:43:49 mod = conftestpath.pyimport()
16:43:49 /usr/local/lib/python3.7/site-packages/py/_path/local.py:704: in pyimport
16:43:49 __import__(modname)
16:43:49 <frozen importlib._bootstrap>:983: in _find_and_load
16:43:49 ???
16:43:49 <frozen importlib._bootstrap>:967: in _find_and_load_unlocked
16:43:49 ???
16:43:49 <frozen importlib._bootstrap>:668: in _load_unlocked
16:43:49 ???
16:43:49 <frozen importlib._bootstrap>:638: in _load_backward_compatible
16:43:49 ???
16:43:49 /usr/local/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module
16:43:49 six.exec_(co, mod.__dict__)
16:43:49 tests/integration/conftest.py:6: in <module>
16:43:49 import docker.errors
16:43:49 docker/__init__.py:2: in <module>
16:43:49 from .api import APIClient
16:43:49 docker/api/__init__.py:2: in <module>
16:43:49 from .client import APIClient
16:43:49 docker/api/client.py:10: in <module>
16:43:49 from .. import auth
16:43:49 docker/auth.py:9: in <module>
16:43:49 from .utils import config
16:43:49 docker/utils/__init__.py:3: in <module>
16:43:49 from .decorators import check_resource, minimum_version, update_headers
16:43:49 docker/utils/decorators.py:4: in <module>
16:43:49 from . import utils
16:43:49 docker/utils/utils.py:13: in <module>
16:43:49 from .. import tls
16:43:49 docker/tls.py:5: in <module>
16:43:49 from .transport import SSLHTTPAdapter
16:43:49 docker/transport/__init__.py:11: in <module>
16:43:49 from .sshconn import SSHHTTPAdapter
16:43:49 E File "/src/docker/transport/sshconn.py", line 48
16:43:49 E preexec_func = lambda: signal.signal(signal.SIGINT, signal.SIG_IGN))
16:43:49 E ^
16:43:49 E SyntaxError: invalid syntax
16:43:49
16:43:49 During handling of the above exception, another exception occurred:
16:43:49 /usr/local/lib/python3.7/site-packages/py/_path/common.py:383: in visit
16:43:49 for x in Visitor(fil, rec, ignore, bf, sort).gen(self):
16:43:49 /usr/local/lib/python3.7/site-packages/py/_path/common.py:424: in gen
16:43:49 dirs = self.optsort([p for p in entries
16:43:49 /usr/local/lib/python3.7/site-packages/py/_path/common.py:425: in <listcomp>
16:43:49 if p.check(dir=1) and (rec is None or rec(p))])
16:43:49 /usr/local/lib/python3.7/site-packages/_pytest/main.py:651: in _recurse
16:43:49 ihook = self.gethookproxy(dirpath)
16:43:49 /usr/local/lib/python3.7/site-packages/_pytest/main.py:472: in gethookproxy
16:43:49 my_conftestmodules = pm._getconftestmodules(fspath)
16:43:49 /usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py:413: in _getconftestmodules
16:43:49 mod = self._importconftest(conftestpath.realpath())
16:43:49 /usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py:452: in _importconftest
16:43:49 raise ConftestImportFailure(conftestpath, sys.exc_info())
16:43:49 E _pytest.config.ConftestImportFailure: (local('/src/tests/integration/conftest.py'), (<class 'SyntaxError'>, SyntaxError('invalid syntax', ('/src/docker/transport/sshconn.py', 48, 80, ' preexec_func = lambda: signal.signal(signal.SIGINT, signal.SIG_IGN))\n')), <traceback object at 0x7f40daa36410>))
16:43:49
16:43:49 ----------- coverage: platform linux, python 3.7.9-final-0 -----------
16:43:49 Name Stmts Miss Branch BrPart Cover
16:43:49 -----------------------------------------------------------------------
16:43:49 docker/__init__.py 8 7 0 0 12%
16:43:49 docker/api/__init__.py 1 0 0 0 100%
16:43:49 docker/api/build.py 126 126 93 0 0%
16:43:49 docker/api/client.py 263 255 98 0 2%
16:43:49 docker/api/config.py 31 31 6 0 0%
16:43:49 docker/api/container.py 266 266 104 0 0%
16:43:49 docker/api/daemon.py 39 39 14 0 0%
16:43:49 docker/api/exec_api.py 46 46 22 0 0%
16:43:49 docker/api/image.py 157 157 58 0 0%
16:43:49 docker/api/network.py 90 90 48 0 0%
16:43:49 docker/api/plugin.py 90 90 14 0 0%
16:43:49 docker/api/secret.py 36 36 10 0 0%
16:43:49 docker/api/service.py 200 200 149 0 0%
16:43:49 docker/api/swarm.py 106 106 38 0 0%
16:43:49 docker/api/volume.py 38 38 14 0 0%
16:43:49 docker/auth.py 198 191 74 0 3%
16:43:49 docker/client.py 69 69 2 0 0%
16:43:49 docker/constants.py 21 0 0 0 100%
16:43:49 docker/context/__init__.py 2 2 0 0 0%
16:43:49 docker/context/api.py 78 78 38 0 0%
16:43:49 docker/context/config.py 61 61 16 0 0%
16:43:49 docker/context/context.py 151 151 62 0 0%
16:43:49 docker/credentials/__init__.py 3 0 0 0 100%
16:43:49 docker/credentials/constants.py 4 0 0 0 100%
16:43:49 docker/credentials/errors.py 11 4 2 0 54%
16:43:49 docker/credentials/store.py 50 35 16 0 23%
16:43:49 docker/credentials/utils.py 23 18 12 0 14%
16:43:49 docker/errors.py 110 60 20 0 38%
16:43:49 docker/models/__init__.py 0 0 0 0 100%
16:43:49 docker/models/configs.py 21 21 2 0 0%
16:43:49 docker/models/containers.py 183 183 70 0 0%
16:43:49 docker/models/images.py 137 137 56 0 0%
16:43:49 docker/models/networks.py 37 37 12 0 0%
16:43:49 docker/models/nodes.py 15 15 2 0 0%
16:43:49 docker/models/plugins.py 49 49 10 0 0%
16:43:49 docker/models/resource.py 41 41 6 0 0%
16:43:49 docker/models/secrets.py 21 21 2 0 0%
16:43:49 docker/models/services.py 87 87 36 0 0%
16:43:49 docker/models/swarm.py 39 39 6 0 0%
16:43:49 docker/models/volumes.py 23 23 4 0 0%
16:43:49 docker/tls.py 37 33 14 0 8%
16:43:49 docker/transport/__init__.py 11 2 0 0 82%
16:43:49 docker/transport/basehttpadapter.py 6 3 2 0 38%
16:43:49 docker/transport/npipeconn.py 59 54 10 0 7%
16:43:49 docker/transport/npipesocket.py 137 132 22 0 3%
16:43:49 docker/transport/ssladapter.py 36 22 10 1 33%
16:43:49 docker/transport/unixconn.py 66 42 12 0 31%
16:43:49 docker/types/__init__.py 6 6 0 0 0%
16:43:49 docker/types/base.py 5 5 2 0 0%
16:43:49 docker/types/containers.py 420 420 326 0 0%
16:43:49 docker/types/daemon.py 36 36 14 0 0%
16:43:49 docker/types/healthcheck.py 34 34 4 0 0%
16:43:49 docker/types/networks.py 41 41 28 0 0%
16:43:49 docker/types/services.py 312 312 206 0 0%
16:43:49 docker/types/swarm.py 51 51 40 0 0%
16:43:49 docker/utils/__init__.py 3 1 0 0 67%
16:43:49 docker/utils/build.py 155 130 76 0 11%
16:43:49 docker/utils/config.py 36 36 10 0 0%
16:43:49 docker/utils/decorators.py 32 29 12 0 7%
16:43:49 docker/utils/fnmatch.py 55 47 28 0 10%
16:43:49 docker/utils/json_stream.py 43 43 14 0 0%
16:43:49 docker/utils/ports.py 50 50 32 0 0%
16:43:49 docker/utils/proxy.py 32 32 12 0 0%
16:43:49 docker/utils/socket.py 86 86 40 0 0%
16:43:49 docker/utils/utils.py 285 274 177 0 2%
16:43:49 docker/version.py 2 0 2 0 100%
16:43:49 -----------------------------------------------------------------------
16:43:49 TOTAL 4967 4730 2209 1 3%
16:43:49
16:43:49 !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
16:43:49 =========================== 1 error in 1.01 seconds ============================