Skip to content

Console Output

04:24:50 + docker run --name dpy-tests-19-0-py2.7-19.03.12 -e DOCKER_HOST=tcp://dpy-dind-19-0-py2.7-19.03.12:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-19-0-py2.7-19.03.12 --volumes-from dpy-dind-19-0-py2.7-19.03.12 dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 py.test -v -rxs --cov=docker tests/
04:24:50 Unable to find image 'dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230' locally
04:24:50 py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230: Pulling from dockerbuildbot/docker-py
04:24:50 7e2b2a5af8f6: Already exists
04:24:50 09b6f03ffac4: Already exists
04:24:50 dc3f0c679f0f: Already exists
04:24:50 fd4b47407fc3: Already exists
04:24:50 b32f6bf7d96d: Already exists
04:24:50 6f4489a7e4cf: Already exists
04:24:50 af4b99ad9ef0: Already exists
04:24:50 39db0bc48c26: Already exists
04:24:50 acb4a89489fc: Already exists
04:24:50 ec8dae6de6c0: Pulling fs layer
04:24:50 402d4a332b4a: Pulling fs layer
04:24:50 bee0f8904970: Pulling fs layer
04:24:50 9efcd7fdc495: Pulling fs layer
04:24:50 8b5a0b688270: Pulling fs layer
04:24:50 3cf83313542a: Pulling fs layer
04:24:50 d9c3697735d5: Pulling fs layer
04:24:50 cf9eaf432f24: Pulling fs layer
04:24:50 502c690b3a67: Pulling fs layer
04:24:50 0d7bcc9916a8: Pulling fs layer
04:24:50 5497efe37cac: Pulling fs layer
04:24:50 1c97a6afc87f: Pulling fs layer
04:24:50 f5746e1c63d7: Pulling fs layer
04:24:50 9af48223da19: Pulling fs layer
04:24:50 569d38b4a292: Pulling fs layer
04:24:50 9efcd7fdc495: Waiting
04:24:50 8b5a0b688270: Waiting
04:24:50 3cf83313542a: Waiting
04:24:50 d9c3697735d5: Waiting
04:24:50 cf9eaf432f24: Waiting
04:24:50 502c690b3a67: Waiting
04:24:50 0d7bcc9916a8: Waiting
04:24:50 5497efe37cac: Waiting
04:24:50 1c97a6afc87f: Waiting
04:24:50 f5746e1c63d7: Waiting
04:24:50 9af48223da19: Waiting
04:24:50 569d38b4a292: Waiting
04:24:50 bee0f8904970: Verifying Checksum
04:24:50 bee0f8904970: Download complete
04:24:50 ec8dae6de6c0: Download complete
04:24:50 ec8dae6de6c0: Pull complete
04:24:50 8b5a0b688270: Verifying Checksum
04:24:50 8b5a0b688270: Download complete
04:24:50 9efcd7fdc495: Verifying Checksum
04:24:50 9efcd7fdc495: Download complete
04:24:50 3cf83313542a: Verifying Checksum
04:24:50 3cf83313542a: Download complete
04:24:50 402d4a332b4a: Verifying Checksum
04:24:50 402d4a332b4a: Download complete
04:24:50 d9c3697735d5: Verifying Checksum
04:24:50 d9c3697735d5: Download complete
04:24:51 cf9eaf432f24: Verifying Checksum
04:24:51 cf9eaf432f24: Download complete
04:24:51 502c690b3a67: Verifying Checksum
04:24:51 502c690b3a67: Download complete
04:24:51 0d7bcc9916a8: Verifying Checksum
04:24:51 0d7bcc9916a8: Download complete
04:24:51 1c97a6afc87f: Verifying Checksum
04:24:51 1c97a6afc87f: Download complete
04:24:51 f5746e1c63d7: Verifying Checksum
04:24:51 f5746e1c63d7: Download complete
04:24:51 9af48223da19: Verifying Checksum
04:24:51 9af48223da19: Download complete
04:24:51 569d38b4a292: Verifying Checksum
04:24:51 569d38b4a292: Download complete
04:24:51 5497efe37cac: Verifying Checksum
04:24:51 5497efe37cac: Download complete
04:24:51 402d4a332b4a: Pull complete
04:24:51 bee0f8904970: Pull complete
04:24:51 9efcd7fdc495: Pull complete
04:24:51 8b5a0b688270: Pull complete
04:24:51 3cf83313542a: Pull complete
04:24:51 d9c3697735d5: Pull complete
04:24:51 cf9eaf432f24: Pull complete
04:24:51 502c690b3a67: Pull complete
04:24:51 0d7bcc9916a8: Pull complete
04:24:52 5497efe37cac: Pull complete
04:24:52 1c97a6afc87f: Pull complete
04:24:52 f5746e1c63d7: Pull complete
04:24:52 9af48223da19: Pull complete
04:24:52 569d38b4a292: Pull complete
04:24:52 Digest: sha256:4d279c1a4a121879e340bc795ebf2fe9751da56844811a16b6e7ad1c3545941c
04:24:52 Status: Downloaded newer image for dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230
04:24:54 ============================= test session starts ==============================
04:24:54 platform linux2 -- Python 2.7.18, pytest-4.3.1, py-1.9.0, pluggy-0.13.1 -- /usr/local/bin/python
04:24:54 cachedir: .pytest_cache
04:24:54 rootdir: /src, inifile: pytest.ini
04:24:54 plugins: timeout-1.3.3, cov-2.6.1
04:24:57 collecting ... collected 918 items / 1 errors / 917 selected
04:24:58 
04:24:58 ==================================== ERRORS ====================================
04:24:58 ________________ ERROR collecting tests/unit/api_image_test.py _________________
04:24:58 /usr/local/lib/python2.7/site-packages/_pytest/python.py:499: in _importtestmodule
04:24:58     mod = self.fspath.pyimport(ensuresyspath=importmode)
04:24:58 /usr/local/lib/python2.7/site-packages/py/_path/local.py:704: in pyimport
04:24:58     __import__(modname)
04:24:58 E     File "/src/tests/unit/api_image_test.py", line 19
04:24:58 E       return 'X-Registry-Auth' in b.keys():
04:24:58 E                                           ^
04:24:58 E   SyntaxError: invalid syntax
04:24:58 
04:24:58 ---------- coverage: platform linux2, python 2.7.18-final-0 ----------
04:24:58 Name                                  Stmts   Miss Branch BrPart  Cover
04:24:58 -----------------------------------------------------------------------
04:24:58 docker/__init__.py                        8      0      0      0   100%
04:24:58 docker/api/__init__.py                    1      0      0      0   100%
04:24:58 docker/api/build.py                     126    112     92      0     6%
04:24:58 docker/api/client.py                    263    172     96      9    28%
04:24:58 docker/api/config.py                     31     19      6      0    32%
04:24:58 docker/api/container.py                 266    208    102      0    16%
04:24:58 docker/api/daemon.py                     39     29     14      0    19%
04:24:58 docker/api/exec_api.py                   46     36     22      0    15%
04:24:58 docker/api/image.py                     156    121     50      0    17%
04:24:58 docker/api/network.py                    90     74     48      0    12%
04:24:58 docker/api/plugin.py                     90     68     12      0    22%
04:24:58 docker/api/secret.py                     36     23     10      0    28%
04:24:58 docker/api/service.py                   200    176    149      0     7%
04:24:58 docker/api/swarm.py                     106     77     38      0    20%
04:24:58 docker/api/volume.py                     38     29     14      0    17%
04:24:58 docker/auth.py                          198    134     74      6    27%
04:24:58 docker/client.py                         67     18      2      1    72%
04:24:58 docker/constants.py                      20      0      0      0   100%
04:24:58 docker/context/__init__.py                2      0      0      0   100%
04:24:58 docker/context/api.py                    78     57     38      0    18%
04:24:58 docker/context/config.py                 61     42     16      1    26%
04:24:58 docker/context/context.py               151    110     62      2    20%
04:24:58 docker/credentials/__init__.py            3      0      0      0   100%
04:24:58 docker/credentials/constants.py           4      0      0      0   100%
04:24:58 docker/credentials/errors.py             11      4      2      0    54%
04:24:58 docker/credentials/store.py              50     35     16      0    23%
04:24:58 docker/credentials/utils.py              23     18     12      0    14%
04:24:58 docker/errors.py                        110     60     18      0    39%
04:24:58 docker/models/__init__.py                 0      0      0      0   100%
04:24:58 docker/models/configs.py                 21      8      0      0    62%
04:24:58 docker/models/containers.py             183    131     60      0    21%
04:24:58 docker/models/images.py                 137     92     52      0    24%
04:24:58 docker/models/networks.py                37     20      8      0    38%
04:24:58 docker/models/nodes.py                   15      5      0      0    67%
04:24:58 docker/models/plugins.py                 49     30      8      0    33%
04:24:58 docker/models/resource.py                41     24      6      0    36%
04:24:58 docker/models/secrets.py                 21      8      0      0    62%
04:24:58 docker/models/services.py                87     63     34      0    20%
04:24:58 docker/models/swarm.py                   39     21      6      0    40%
04:24:58 docker/models/volumes.py                 23     10      2      0    52%
04:24:58 docker/tls.py                            37     26     14      0    22%
04:24:58 docker/transport/__init__.py             11      3      0      0    73%
04:24:58 docker/transport/basehttpadapter.py       6      3      2      0    38%
04:24:58 docker/transport/npipeconn.py            58     53     10      0     7%
04:24:58 docker/transport/npipesocket.py         137    132     22      0     3%
04:24:58 docker/transport/sshconn.py              89     63     24      1    24%
04:24:58 docker/transport/ssladapter.py           36     20     10      1    37%
04:24:58 docker/transport/unixconn.py             65     41     12      0    31%
04:24:58 docker/types/__init__.py                  6      0      0      0   100%
04:24:58 docker/types/base.py                      5      2      2      0    43%
04:24:58 docker/types/containers.py              418    375    326      0     6%
04:24:58 docker/types/daemon.py                   36     26     14      0    20%
04:24:58 docker/types/healthcheck.py              34     20      4      0    37%
04:24:58 docker/types/networks.py                 41     31     28      0    14%
04:24:58 docker/types/services.py                312    259    206      0    10%
04:24:58 docker/types/swarm.py                    51     45     40      0     7%
04:24:58 docker/utils/__init__.py                  3      0      0      0   100%
04:24:58 docker/utils/build.py                   154    129     74      0    11%
04:24:58 docker/utils/config.py                   36     11     10      4    67%
04:24:58 docker/utils/decorators.py               32     15     12      0    39%
04:24:58 docker/utils/fnmatch.py                  55     47     28      0    10%
04:24:58 docker/utils/json_stream.py              43     31     14      1    23%
04:24:58 docker/utils/ports.py                    50     42     28      0    10%
04:24:58 docker/utils/proxy.py                    32     21     12      0    25%
04:24:58 docker/utils/socket.py                   86     64     40      0    17%
04:24:58 docker/utils/utils.py                   285    196    164     22    25%
04:24:58 docker/version.py                         2      0      0      0   100%
04:24:58 -----------------------------------------------------------------------
04:24:58 TOTAL                                  5047   3689   2165     48    20%
04:24:58 
04:24:58 !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
04:24:58 =========================== 1 error in 3.95 seconds ============================