Pull request #2843 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch master at 96c12726fdb9b24e985b4de74d5c82145ccd8185 rather than d0057116d54de76cde447ac3e1696f087dcf24d0 Obtained Jenkinsfile from 96c12726fdb9b24e985b4de74d5c82145ccd8185 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 The recommended git tool is: NONE using credential jps-reader > git rev-parse --resolve-git-dir /var/cloudbees-jenkins-distribution/workspace/docker-py_PR-2843@libs/jps/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --force --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 # timeout=10 Commit message: "Merge pull request #25 from ingshtrom/in-2733-load-from-file" > git rev-list --no-walk 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 # timeout=10 Excluding src/test/ from checkout of git https://github.com/docker/jps.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task All nodes of label ‘amd64&&ubuntu-2004&&overlay2’ are offline Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-04102a36894a21caa) in /home/ubuntu/workspace/docker-py_PR-2843 [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2843@tmp/4b67df14-d96f-424f-84f0-bd37f46cb82c/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2843:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox 92f8b3f0730f: Pulling fs layer 92f8b3f0730f: Download complete 92f8b3f0730f: Pull complete Digest: sha256:b5fc1d7b2e4ea86a06b0cf88de915a2c43a99a00b6b3c0af731e5f4c07ae8eff Status: Downloaded newer image for busybox:latest [Pipeline] echo Removing all docker containers [Pipeline] sh + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (build image) [Pipeline] checkout The recommended git tool is: git using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2843 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --force --progress -- https://github.com/docker/docker-py.git +refs/pull/2843/head:refs/remotes/origin/PR-2843 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 96c12726fdb9b24e985b4de74d5c82145ccd8185 into PR head commit d0057116d54de76cde447ac3e1696f087dcf24d0 Merge succeeded, producing d0057116d54de76cde447ac3e1696f087dcf24d0 Checking out Revision d0057116d54de76cde447ac3e1696f087dcf24d0 (PR-2843) > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2843/head:refs/remotes/origin/PR-2843 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --force --progress -- https://github.com/docker/docker-py.git +refs/pull/2843/head:refs/remotes/origin/PR-2843 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0057116d54de76cde447ac3e1696f087dcf24d0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge 96c12726fdb9b24e985b4de74d5c82145ccd8185 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0057116d54de76cde447ac3e1696f087dcf24d0 # timeout=10 Commit message: "Update: allow "force" parameter in plugin.disable()" First time build. Skipping changelog. [Pipeline] sh + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh > git rev-list --no-walk 7cccee1551110f4a1049e60dde93c646dc3ed248 # timeout=10 + docker pull dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 -f tests/Dockerfile-ssh-dind . Sending build context to Docker daemon 1.373MB Step 1/11 : ARG API_VERSION=1.39 Step 2/11 : ARG ENGINE_VERSION=19.03.12 Step 3/11 : FROM docker:${ENGINE_VERSION}-dind $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2843@tmp/1a6b074d-0a19-451a-b8f0-3c16ea405763/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded 19.03.12-dind: Pulling from library/docker df20fa9351a1: Pulling fs layer 25ad7478873d: Pulling fs layer 4684f6177b5d: Pulling fs layer 46e300cec669: Pulling fs layer 63038576ad94: Pulling fs layer 0fdb76c4706c: Pulling fs layer cb7edeffdfd5: Pulling fs layer cc28bd76800f: Pulling fs layer 54196fe38f7e: Pulling fs layer ea71acc29633: Pulling fs layer 657cc4c15165: Pulling fs layer 46e300cec669: Waiting 63038576ad94: Waiting 0fdb76c4706c: Waiting cb7edeffdfd5: Waiting cc28bd76800f: Waiting 54196fe38f7e: Waiting ea71acc29633: Waiting 657cc4c15165: Waiting 4684f6177b5d: Verifying Checksum 4684f6177b5d: Download complete 25ad7478873d: Verifying Checksum 25ad7478873d: Download complete df20fa9351a1: Verifying Checksum 63038576ad94: Verifying Checksum 63038576ad94: Download complete 0fdb76c4706c: Verifying Checksum 0fdb76c4706c: Download complete cb7edeffdfd5: Verifying Checksum cb7edeffdfd5: Download complete 54196fe38f7e: Verifying Checksum 54196fe38f7e: Download complete cc28bd76800f: Verifying Checksum cc28bd76800f: Download complete ea71acc29633: Verifying Checksum ea71acc29633: Download complete 657cc4c15165: Verifying Checksum 657cc4c15165: Download complete df20fa9351a1: Pull complete 46e300cec669: Verifying Checksum 46e300cec669: Download complete 25ad7478873d: Pull complete 4684f6177b5d: Pull complete 46e300cec669: Pull complete 63038576ad94: Pull complete 0fdb76c4706c: Pull complete cb7edeffdfd5: Pull complete cc28bd76800f: Pull complete 54196fe38f7e: Pull complete ea71acc29633: Pull complete 657cc4c15165: Pull complete Digest: sha256:674f1f40ff7c8ac14f5d8b6b28d8fb1f182647ff75304d018003f1e21a0d8771 Status: Downloaded newer image for docker:19.03.12-dind ---> 66dc2d45749a Step 4/11 : RUN apk add --no-cache openssh ---> Running in ea0e38720c77 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz (1/4) Installing openssh-sftp-server (8.3_p1-r2) (2/4) Installing openssh-server-common (8.3_p1-r2) (3/4) Installing openssh-server (8.3_p1-r2) (4/4) Installing openssh (8.3_p1-r2) Executing busybox-1.31.1-r16.trigger OK: 28 MiB in 51 packages Removing intermediate container ea0e38720c77 ---> ea1468913a75 Step 5/11 : RUN ssh-keygen -A ---> Running in b6b80a103ab1 ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 Removing intermediate container b6b80a103ab1 ---> 63b418476091 Step 6/11 : RUN echo "IgnoreUserKnownHosts yes" > /etc/ssh/sshd_config && echo "PubkeyAuthentication yes" >> /etc/ssh/sshd_config && echo "PermitRootLogin yes" >> /etc/ssh/sshd_config ---> Running in 9adfcb02b2c8 Removing intermediate container 9adfcb02b2c8 ---> b9671f06f3b9 Step 7/11 : COPY tests/ssh-keys/authorized_keys /root/.ssh/authorized_keys ---> ddadbfec3395 Step 8/11 : RUN chmod 600 /root/.ssh/authorized_keys ---> Running in fd62262f2a39 Removing intermediate container fd62262f2a39 ---> 311c72717c70 Step 9/11 : RUN echo "root:root" | chpasswd ---> Running in b4b83fdbbd53 chpasswd: password for 'root' changed Removing intermediate container b4b83fdbbd53 ---> 4919a1357208 Step 10/11 : RUN ln -s /usr/local/bin/docker /usr/bin/docker ---> Running in 00eacba7479f Removing intermediate container 00eacba7479f ---> 705bfd201c3b Step 11/11 : EXPOSE 22 ---> Running in 49d4aa641e7f Removing intermediate container 49d4aa641e7f ---> 8ccd9a02eaa8 Successfully built 8ccd9a02eaa8 Successfully tagged dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 [Pipeline] isUnix [Pipeline] sh + docker tag dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 [Pipeline] isUnix [Pipeline] sh + docker push dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 The push refers to repository [docker.io/dockerpinata/docker-py] 1860b1e7efd2: Preparing 9fdb6390252d: Preparing 4064bdafe203: Preparing ae784466e745: Preparing bcbb4f4b04de: Preparing 5b20bf9d97e1: Preparing b3b0b491fd20: Preparing 1149e736aa92: Preparing 39e79983ac8b: Preparing da8c28465f82: Preparing d1292e236c36: Preparing 8890c171a12b: Preparing 4ae5bd84d450: Preparing 723a561964c8: Preparing 78764725b56c: Preparing 51d6d3d09136: Preparing 1507bc794612: Preparing 50644c29ef5a: Preparing 5b20bf9d97e1: Waiting b3b0b491fd20: Waiting 1149e736aa92: Waiting 39e79983ac8b: Waiting da8c28465f82: Waiting d1292e236c36: Waiting 8890c171a12b: Waiting 4ae5bd84d450: Waiting 723a561964c8: Waiting 78764725b56c: Waiting 51d6d3d09136: Waiting 1507bc794612: Waiting 50644c29ef5a: Waiting 4064bdafe203: Pushed 9fdb6390252d: Pushed bcbb4f4b04de: Pushed 1149e736aa92: Layer already exists 39e79983ac8b: Layer already exists da8c28465f82: Layer already exists d1292e236c36: Layer already exists 1860b1e7efd2: Pushed ae784466e745: Pushed 8890c171a12b: Layer already exists 723a561964c8: Layer already exists 4ae5bd84d450: Layer already exists 78764725b56c: Layer already exists 51d6d3d09136: Layer already exists 1507bc794612: Layer already exists 50644c29ef5a: Layer already exists 5b20bf9d97e1: Pushed b3b0b491fd20: Pushed sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0: digest: sha256:4453cbc5bf8f4114062daae5c21ddfe9c71bf40b21452dd286a1abf3753bcdae size: 4067 [Pipeline] isUnix [Pipeline] sh + docker pull dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 Error response from daemon: manifest for dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.7 . Sending build context to Docker daemon 1.373MB Step 1/21 : ARG PYTHON_VERSION=3.7 Step 2/21 : FROM python:${PYTHON_VERSION} 3.7: Pulling from library/python d960726af2be: Pulling fs layer e8d62473a22d: Pulling fs layer 8962bc0fad55: Pulling fs layer 65d943ee54c1: Pulling fs layer 532f6f723709: Pulling fs layer 1334e0fe2851: Pulling fs layer ba365db42d14: Pulling fs layer 9c5512e22a86: Pulling fs layer cb3bee3da6f6: Pulling fs layer 1334e0fe2851: Waiting ba365db42d14: Waiting 9c5512e22a86: Waiting cb3bee3da6f6: Waiting 65d943ee54c1: Waiting 532f6f723709: Waiting e8d62473a22d: Verifying Checksum e8d62473a22d: Download complete 8962bc0fad55: Verifying Checksum 8962bc0fad55: Download complete d960726af2be: Verifying Checksum d960726af2be: Download complete 1334e0fe2851: Verifying Checksum 1334e0fe2851: Download complete 65d943ee54c1: Verifying Checksum 65d943ee54c1: Download complete ba365db42d14: Verifying Checksum ba365db42d14: Download complete 9c5512e22a86: Verifying Checksum 9c5512e22a86: Download complete cb3bee3da6f6: Verifying Checksum cb3bee3da6f6: Download complete 532f6f723709: Verifying Checksum 532f6f723709: Download complete d960726af2be: Pull complete e8d62473a22d: Pull complete 8962bc0fad55: Pull complete 65d943ee54c1: Pull complete 532f6f723709: Pull complete 1334e0fe2851: Pull complete ba365db42d14: Pull complete 9c5512e22a86: Pull complete cb3bee3da6f6: Pull complete Digest: sha256:354a4c2400dd1c1293b657bcf059742e45f7c6222dc908fc63ba4538740805e5 Status: Downloaded newer image for python:3.7 ---> 4890a41b5e72 Step 3/21 : ARG APT_MIRROR ---> Running in 90cd172d82a5 Removing intermediate container 90cd172d82a5 ---> 578e312b4b27 Step 4/21 : RUN sed -ri "s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g" /etc/apt/sources.list && sed -ri "s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g" /etc/apt/sources.list ---> Running in a2fa23c75ca2 Removing intermediate container a2fa23c75ca2 ---> 92ab934cb03a Step 5/21 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass ---> Running in d8b89bce50bc Get:1 http://deb.debian.org/debian buster InRelease [121 kB] Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [290 kB] Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB] Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [10.9 kB] Fetched 8447 kB in 2s (4522 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: tree Suggested packages: libxml-simple-perl ruby Recommended packages: qrencode xclip The following NEW packages will be installed: gnupg2 pass tree 0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded. Need to get 481 kB of archives. After this operation, 684 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 gnupg2 all 2.2.12-1+deb10u1 [393 kB] Get:2 http://deb.debian.org/debian buster/main amd64 tree amd64 1.8.0-1 [49.3 kB] Get:3 http://deb.debian.org/debian buster/main amd64 pass all 1.7.3-2 [39.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 481 kB in 0s (1815 kB/s) Selecting previously unselected package gnupg2. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 24611 files and directories currently installed.) Preparing to unpack .../gnupg2_2.2.12-1+deb10u1_all.deb ... Unpacking gnupg2 (2.2.12-1+deb10u1) ... Selecting previously unselected package tree. Preparing to unpack .../tree_1.8.0-1_amd64.deb ... Unpacking tree (1.8.0-1) ... Selecting previously unselected package pass. Preparing to unpack .../archives/pass_1.7.3-2_all.deb ... Unpacking pass (1.7.3-2) ... Setting up gnupg2 (2.2.12-1+deb10u1) ... Setting up tree (1.8.0-1) ... Setting up pass (1.7.3-2) ... Removing intermediate container d8b89bce50bc ---> 06d419929685 Step 6/21 : COPY tests/ssh-keys /root/.ssh ---> a08b79cc0c05 Step 7/21 : RUN chmod -R 600 /root/.ssh ---> Running in ff5a8dd2c34a Removing intermediate container ff5a8dd2c34a ---> 18f1a069e005 Step 8/21 : COPY ./tests/gpg-keys /gpg-keys ---> c22f65719afe Step 9/21 : RUN gpg2 --import gpg-keys/secret ---> Running in b3c5754c243a gpg: directory '/root/.gnupg' created gpg: keybox '/root/.gnupg/pubring.kbx' created gpg: /root/.gnupg/trustdb.gpg: trustdb created gpg: key 464ED987A7B21401: public key "Sakuya Izayoi " imported gpg: key 464ED987A7B21401: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 Removing intermediate container b3c5754c243a ---> d7956ca8e1c5 Step 10/21 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in 7529e5209560 gpg: inserting ownertrust of 6 Removing intermediate container 7529e5209560 ---> bc1c2c70976d Step 11/21 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in 3569bed16955 gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container 3569bed16955 ---> bf260bf380d9 Step 12/21 : RUN gpg2 --check-trustdb ---> Running in f3d0579cb8db gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u Removing intermediate container f3d0579cb8db ---> 7327ea7913c0 Step 13/21 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in c70cac91a4df Removing intermediate container c70cac91a4df ---> 259cfd4027cb Step 14/21 : RUN curl -sSL -o /opt/docker-credential-pass.tar.gz https://github.com/docker/docker-credential-helpers/releases/download/$CREDSTORE_VERSION/docker-credential-pass-$CREDSTORE_VERSION-amd64.tar.gz && tar -xf /opt/docker-credential-pass.tar.gz -O > /usr/local/bin/docker-credential-pass && rm -rf /opt/docker-credential-pass.tar.gz && chmod +x /usr/local/bin/docker-credential-pass ---> Running in 6437dc22e59c Removing intermediate container 6437dc22e59c ---> d1a211f4acfd Step 15/21 : WORKDIR /src ---> Running in 3521f2e517d3 Removing intermediate container 3521f2e517d3 ---> 1708b3f14173 Step 16/21 : COPY requirements.txt /src/requirements.txt ---> 77b7b7fa8a25 Step 17/21 : RUN pip install -r requirements.txt ---> Running in 3fd5449b07ae Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment Collecting appdirs==1.4.3 Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB) Collecting asn1crypto==0.22.0 Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97 kB) Collecting backports.ssl-match-hostname==3.5.0.1 Downloading backports.ssl_match_hostname-3.5.0.1.tar.gz (5.6 kB) Collecting cffi==1.14.4 Downloading cffi-1.14.4-cp37-cp37m-manylinux1_x86_64.whl (402 kB) Collecting cryptography==3.4.7 Downloading cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB) Collecting enum34==1.1.6 Downloading enum34-1.1.6-py3-none-any.whl (12 kB) Collecting idna==2.5 Downloading idna-2.5-py2.py3-none-any.whl (55 kB) Collecting ipaddress==1.0.18 Downloading ipaddress-1.0.18.tar.gz (32 kB) Collecting packaging==16.8 Downloading packaging-16.8-py2.py3-none-any.whl (23 kB) Collecting paramiko==2.4.2 Downloading paramiko-2.4.2-py2.py3-none-any.whl (193 kB) Collecting pycparser==2.17 Downloading pycparser-2.17.tar.gz (231 kB) Collecting pyOpenSSL==18.0.0 Downloading pyOpenSSL-18.0.0-py2.py3-none-any.whl (53 kB) Collecting pyparsing==2.2.0 Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56 kB) Collecting requests==2.20.0 Downloading requests-2.20.0-py2.py3-none-any.whl (60 kB) Collecting urllib3==1.24.3 Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB) Collecting websocket-client==0.56.0 Downloading websocket_client-0.56.0-py2.py3-none-any.whl (200 kB) Collecting six Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting bcrypt>=3.1.3 Downloading bcrypt-3.2.0-cp36-abi3-manylinux2010_x86_64.whl (63 kB) Collecting pynacl>=1.0.1 Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB) Collecting pyasn1>=0.1.7 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB) Building wheels for collected packages: backports.ssl-match-hostname, ipaddress, pycparser Building wheel for backports.ssl-match-hostname (setup.py): started Building wheel for backports.ssl-match-hostname (setup.py): finished with status 'done' Created wheel for backports.ssl-match-hostname: filename=backports.ssl_match_hostname-3.5.0.1-py3-none-any.whl size=5206 sha256=dd899b148f8d24088984570ea0f2b4a1c3d6d6010446e112426f9222bd9853dc Stored in directory: /root/.cache/pip/wheels/93/72/f6/df894bfc7947d11f89dbdb4e9b786703a43cd547c1b5e8c738 Building wheel for ipaddress (setup.py): started Building wheel for ipaddress (setup.py): finished with status 'done' Created wheel for ipaddress: filename=ipaddress-1.0.18-py3-none-any.whl size=18105 sha256=8494a77ef7b20e8e48b56ec968c5246fef603fd8940da006ec88a7366f11d1dc Stored in directory: /root/.cache/pip/wheels/54/90/bd/f99e221ab77ef8e6d65c14efe986cef3360da2990396093151 Building wheel for pycparser (setup.py): started Building wheel for pycparser (setup.py): finished with status 'done' Created wheel for pycparser: filename=pycparser-2.17-py2.py3-none-any.whl size=192879 sha256=a09fa77b701522a1037cbd0a8b6d76b5dc32d4a7714083609343155589ddeb01 Stored in directory: /root/.cache/pip/wheels/91/50/7a/9f94e39b01559aa44c3cefb775d7befcc01d0a6ed0093cab37 Successfully built backports.ssl-match-hostname ipaddress pycparser Installing collected packages: pycparser, six, cffi, urllib3, pyparsing, pynacl, pyasn1, idna, cryptography, chardet, certifi, bcrypt, websocket-client, requests, pyOpenSSL, paramiko, packaging, ipaddress, enum34, backports.ssl-match-hostname, asn1crypto, appdirs Successfully installed appdirs-1.4.3 asn1crypto-0.22.0 backports.ssl-match-hostname-3.5.0.1 bcrypt-3.2.0 certifi-2020.12.5 cffi-1.14.4 chardet-3.0.4 cryptography-3.4.7 enum34-1.1.6 idna-2.5 ipaddress-1.0.18 packaging-16.8 paramiko-2.4.2 pyOpenSSL-18.0.0 pyasn1-0.4.8 pycparser-2.17 pynacl-1.4.0 pyparsing-2.2.0 requests-2.20.0 six-1.16.0 urllib3-1.24.3 websocket-client-0.56.0 WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv WARNING: You are using pip version 21.1.1; however, version 21.1.2 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container 3fd5449b07ae ---> f462983f4376 Step 18/21 : COPY test-requirements.txt /src/test-requirements.txt ---> 0e36416c825c Step 19/21 : RUN pip install -r test-requirements.txt ---> Running in 9dbae89665b9 Collecting setuptools==54.1.1 Downloading setuptools-54.1.1-py3-none-any.whl (784 kB) Collecting coverage==4.5.2 Downloading coverage-4.5.2-cp37-cp37m-manylinux1_x86_64.whl (205 kB) Collecting flake8==3.6.0 Downloading flake8-3.6.0-py2.py3-none-any.whl (68 kB) Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) Collecting pytest==4.3.1 Downloading pytest-4.3.1-py2.py3-none-any.whl (219 kB) Collecting pytest-cov==2.6.1 Downloading pytest_cov-2.6.1-py2.py3-none-any.whl (16 kB) Collecting pytest-timeout==1.3.3 Downloading pytest_timeout-1.3.3-py2.py3-none-any.whl (9.8 kB) Collecting mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting pyflakes<2.1.0,>=2.0.0 Downloading pyflakes-2.0.0-py2.py3-none-any.whl (53 kB) Collecting pycodestyle<2.5.0,>=2.4.0 Downloading pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB) Collecting atomicwrites>=1.0 Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB) Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.7/site-packages (from pytest==4.3.1->-r test-requirements.txt (line 5)) (1.16.0) Collecting attrs>=17.4.0 Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB) Collecting pluggy>=0.7 Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB) Collecting more-itertools>=4.0.0 Downloading more_itertools-8.8.0-py3-none-any.whl (48 kB) Collecting py>=1.5.0 Downloading py-1.10.0-py2.py3-none-any.whl (97 kB) Collecting importlib-metadata>=0.12 Downloading importlib_metadata-4.0.1-py3-none-any.whl (16 kB) Collecting typing-extensions>=3.6.4 Downloading typing_extensions-3.10.0.0-py3-none-any.whl (26 kB) Collecting zipp>=0.5 Downloading zipp-3.4.1-py3-none-any.whl (5.2 kB) Building wheels for collected packages: mock Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23755 sha256=3fe0c622b8b4897abf5d863056b2e286f50283b3fabf65175287d5766a8d7bc7 Stored in directory: /root/.cache/pip/wheels/7a/94/b1/0fdc5339a5bd487a5cc15421ec200d9ba3e2aa7190e4a727f1 Successfully built mock Installing collected packages: zipp, typing-extensions, importlib-metadata, setuptools, py, pluggy, more-itertools, attrs, atomicwrites, pytest, pyflakes, pycodestyle, mccabe, coverage, pytest-timeout, pytest-cov, mock, flake8 Attempting uninstall: setuptools Found existing installation: setuptools 56.2.0 Uninstalling setuptools-56.2.0: Successfully uninstalled setuptools-56.2.0 Successfully installed atomicwrites-1.4.0 attrs-21.2.0 coverage-4.5.2 flake8-3.6.0 importlib-metadata-4.0.1 mccabe-0.6.1 mock-1.0.1 more-itertools-8.8.0 pluggy-0.13.1 py-1.10.0 pycodestyle-2.4.0 pyflakes-2.0.0 pytest-4.3.1 pytest-cov-2.6.1 pytest-timeout-1.3.3 setuptools-54.1.1 typing-extensions-3.10.0.0 zipp-3.4.1 WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv WARNING: You are using pip version 21.1.1; however, version 21.1.2 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container 9dbae89665b9 ---> 13678e5adae2 Step 20/21 : COPY . /src ---> 7ee5012edde1 Step 21/21 : RUN pip install . ---> Running in 0884aa426a13 Processing /src  DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555. Requirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python3.7/site-packages (from docker==4.5.0.dev0) (0.56.0) Requirement already satisfied: requests!=2.18.0,>=2.14.2 in /usr/local/lib/python3.7/site-packages (from docker==4.5.0.dev0) (2.20.0) Requirement already satisfied: idna<2.8,>=2.5 in /usr/local/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.5.0.dev0) (2.5) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.5.0.dev0) (2020.12.5) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.5.0.dev0) (3.0.4) Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/local/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.5.0.dev0) (1.24.3) Requirement already satisfied: six in /usr/local/lib/python3.7/site-packages (from websocket-client>=0.32.0->docker==4.5.0.dev0) (1.16.0) Building wheels for collected packages: docker Building wheel for docker (setup.py): started Building wheel for docker (setup.py): finished with status 'done' Created wheel for docker: filename=docker-4.5.0.dev0-py2.py3-none-any.whl size=147044 sha256=f402769ec9d0904a8daa9a13cfc0cd641953ff6bc7a319405b2b8099369be03f Stored in directory: /tmp/pip-ephem-wheel-cache-uz0d22nl/wheels/6f/63/19/359cf44f647b75d0ea75ecc03aa429fec4c372b453eb4b6525 Successfully built docker Installing collected packages: docker Successfully installed docker-4.5.0.dev0 WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv WARNING: You are using pip version 21.1.1; however, version 21.1.2 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container 0884aa426a13 ---> 22a85bc552e5 Successfully built 22a85bc552e5 Successfully tagged dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 [Pipeline] isUnix [Pipeline] sh + docker tag dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 [Pipeline] isUnix [Pipeline] sh + docker push dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 The push refers to repository [docker.io/dockerpinata/docker-py] 42a5e7924525: Preparing 3be094bd5f9c: Preparing d4db489390b2: Preparing a8ecc4183be7: Preparing 8bd142736178: Preparing adc01da54df4: Preparing 724244edc572: Preparing bfc63d09f9fd: Preparing 3e93df35a295: Preparing 7d740c5d3cc5: Preparing 900bc3b7ef57: Preparing 2bdcd14e13b3: Preparing 48ab7697e40d: Preparing d8c649159aeb: Preparing a27fba6c9303: Preparing 44120cd7084d: Preparing 0034c3a11e0a: Preparing df58ce8478ec: Preparing 577d182336e4: Preparing 2147747beb86: Preparing 1591bf7ec708: Preparing dd3097cd7909: Preparing 685934357c89: Preparing ccb9b68523fd: Preparing 00bcea93703b: Preparing 688e187d6c79: Preparing adc01da54df4: Waiting 724244edc572: Waiting bfc63d09f9fd: Waiting 3e93df35a295: Waiting 7d740c5d3cc5: Waiting 900bc3b7ef57: Waiting 2bdcd14e13b3: Waiting 48ab7697e40d: Waiting d8c649159aeb: Waiting a27fba6c9303: Waiting 44120cd7084d: Waiting 0034c3a11e0a: Waiting df58ce8478ec: Waiting 577d182336e4: Waiting 2147747beb86: Waiting 1591bf7ec708: Waiting dd3097cd7909: Waiting 685934357c89: Waiting ccb9b68523fd: Waiting 00bcea93703b: Waiting 688e187d6c79: Waiting a8ecc4183be7: Pushed 42a5e7924525: Pushed 3be094bd5f9c: Pushed adc01da54df4: Pushed d4db489390b2: Pushed 724244edc572: Pushed bfc63d09f9fd: Pushed 3e93df35a295: Pushed 7d740c5d3cc5: Pushed 900bc3b7ef57: Pushed 2bdcd14e13b3: Pushed 8bd142736178: Pushed 48ab7697e40d: Pushed df58ce8478ec: Layer already exists 577d182336e4: Layer already exists 2147747beb86: Layer already exists 1591bf7ec708: Layer already exists dd3097cd7909: Layer already exists 685934357c89: Layer already exists d8c649159aeb: Pushed ccb9b68523fd: Layer already exists 00bcea93703b: Layer already exists a27fba6c9303: Pushed 688e187d6c79: Layer already exists 0034c3a11e0a: Pushed 44120cd7084d: Pushed py3-d0057116d54de76cde447ac3e1696f087dcf24d0: digest: sha256:a7897b0e4cf737eaa778152baaca5d426658e685dd1ca3d48627ba043dc8c4e9 size: 5765 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] node Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-04102a36894a21caa) in /home/ubuntu/workspace/docker-py_PR-2843 [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2843@tmp/96e5c2ac-39e7-4e41-adfd-8f0ae6e979d2/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] sh + docker run --rm --entrypoint=python dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 /src/scripts/versions.py [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] parallel [Pipeline] { (Branch: py3.7_19.03.12) [Pipeline] { (Branch: py3.7_20.10.6) [Pipeline] { (Branch: py3.7_19.03.13) [Pipeline] node [Pipeline] node Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-04102a36894a21caa) in /home/ubuntu/workspace/docker-py_PR-2843 [Pipeline] node [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2843@tmp/a5fde83b-157f-4d14-b03a-b738da7a30cc/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2843:/workspace busybox chown -R 1000:1000 /workspace [Pipeline] echo Removing all docker containers [Pipeline] sh + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=py3.7 / docker=19.03.12) [Pipeline] checkout The recommended git tool is: git using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2843 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --force --progress -- https://github.com/docker/docker-py.git +refs/pull/2843/head:refs/remotes/origin/PR-2843 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2843/head:refs/remotes/origin/PR-2843 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --force --progress -- https://github.com/docker/docker-py.git +refs/pull/2843/head:refs/remotes/origin/PR-2843 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 96c12726fdb9b24e985b4de74d5c82145ccd8185 into PR head commit d0057116d54de76cde447ac3e1696f087dcf24d0 Merge succeeded, producing d0057116d54de76cde447ac3e1696f087dcf24d0 Checking out Revision d0057116d54de76cde447ac3e1696f087dcf24d0 (PR-2843) Commit message: "Update: allow "force" parameter in plugin.disable()" [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] sh + docker run --rm -e DOCKER_TEST_API_VERSION=1.40 dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 py.test -v -rxs --cov=docker tests/unit > git config core.sparsecheckout # timeout=10 > git checkout -f d0057116d54de76cde447ac3e1696f087dcf24d0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge 96c12726fdb9b24e985b4de74d5c82145ccd8185 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0057116d54de76cde447ac3e1696f087dcf24d0 # timeout=10 $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2843@tmp/77a83f5a-93e3-4312-95aa-90b1ed70bb24/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded ============================= test session starts ============================== platform linux -- Python 3.7.10, pytest-4.3.1, py-1.10.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: cov-2.6.1, timeout-1.3.3 collecting ... collected 572 items tests/unit/api_build_test.py::BuildTest::test_build_container PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_custom_context PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_custom_context_gzip PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_invalid_container_limits PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_pull PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_container_limits PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_named_dockerfile PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_build_remote_with_registry_auth PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile_win_longpath_prefix SKIPPED [ 1%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_auth_configs PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_no_auth_configs PASSED [ 2%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_empty_dict_and_auth_configs PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_none PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_privileged PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_regression_573 PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_ro PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_rw PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_links PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_links_as_list_of_tuples PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_lxc_conf PASSED [ 4%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_lxc_conf_compat PASSED [ 4%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_multiple_links PASSED [ 4%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_port_binds PASSED [ 4%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container PASSED [ 4%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_privileged PASSED [ 4%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_added_capabilities PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_aliases PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_list PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_mode PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_mode_and_ro_error PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_ro PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_rw PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_cgroup_parent PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_device_requests PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_devices PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_dropped_capabilities PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_entrypoint PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpu_shares PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpus PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpuset PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpuset_mems PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_dict PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_list PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links_as_list_of_tuples PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_lxc_conf PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_lxc_conf_compat PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mac_address PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_int PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_g_unit PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_k_unit PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_m_unit PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_wrong_value PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_multiple_links PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_named_volume PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_port_binds PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_ports PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_restart_policy PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stdin_open PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stop_signal PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_sysctl PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_dict PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_list PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_unicode_envvars PASSED [ 12%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_volume_string PASSED [ 12%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_working_dir PASSED [ 12%] tests/unit/api_container_test.py::CreateContainerTest::test_create_named_container PASSED [ 12%] tests/unit/api_container_test.py::ContainerTest::test_container_stats PASSED [ 12%] tests/unit/api_container_test.py::ContainerTest::test_container_top PASSED [ 12%] tests/unit/api_container_test.py::ContainerTest::test_container_top_with_psargs PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_container_update PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_diff PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_diff_with_dict_instead_of_id PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_export PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_export_with_dict_instead_of_id PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_inspect_container PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_inspect_container_undefined_id PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_kill_container PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_dict_instead_of_id PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_signal PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_list_containers PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_following PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_following_backwards PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_since PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_since_with_datetime PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_since_with_invalid_value_raises_error PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming_and_following PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_log_tail PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_log_tty PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_logs PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_logs_with_dict_instead_of_id PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_pause_container PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_port PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_remove_container PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_remove_container_with_dict_instead_of_id PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_rename_container PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_resize_container PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_restart_container PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_restart_container_with_dict_instead_of_id PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_stop_container PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_stop_container_with_dict_instead_of_id PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_unpause_container PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_wait PASSED [ 19%] tests/unit/api_container_test.py::ContainerTest::test_wait_with_dict_instead_of_id PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_create PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_resize PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_start PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_commit PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_get_image PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_image_history PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_image_ids PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_image_viz PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_images PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_images_filters PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_images_name PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_images_quiet PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_import_image PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_import_image_from_bytes PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_import_image_from_image PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_inspect_image PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_inspect_image_undefined_id PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_load_image PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_load_image_quiet PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_pull PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_pull_stream PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_push_image PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_push_image_stream PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_push_image_with_auth PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_push_image_with_tag PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_remove_image PASSED [ 24%] tests/unit/api_image_test.py::ImageTest::test_tag_image PASSED [ 24%] tests/unit/api_image_test.py::ImageTest::test_tag_image_force PASSED [ 24%] tests/unit/api_image_test.py::ImageTest::test_tag_image_tag PASSED [ 24%] tests/unit/api_network_test.py::NetworkTest::test_connect_container_to_network PASSED [ 24%] tests/unit/api_network_test.py::NetworkTest::test_create_network PASSED [ 25%] tests/unit/api_network_test.py::NetworkTest::test_disconnect_container_from_network PASSED [ 25%] tests/unit/api_network_test.py::NetworkTest::test_inspect_network PASSED [ 25%] tests/unit/api_network_test.py::NetworkTest::test_list_networks PASSED [ 25%] tests/unit/api_network_test.py::NetworkTest::test_remove_network PASSED [ 25%] tests/unit/api_test.py::DockerApiTest::test_auto_retrieve_server_version PASSED [ 25%] tests/unit/api_test.py::DockerApiTest::test_create_host_config_secopt PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_ctor PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_events PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_events_with_filters PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_events_with_since_until PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_info PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_login PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_remove_link PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_retrieve_server_version PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_search PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_stream_helper_decoding PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http_unix_triple_slash PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_tcp PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix_triple_slash PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_invalid_resource PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_no_resource PASSED [ 29%] tests/unit/api_test.py::DockerApiTest::test_url_unversioned_api PASSED [ 29%] tests/unit/api_test.py::DockerApiTest::test_url_valid_resource PASSED [ 29%] tests/unit/api_test.py::DockerApiTest::test_version PASSED [ 29%] tests/unit/api_test.py::DockerApiTest::test_version_no_api_version PASSED [ 29%] tests/unit/api_test.py::UnixSocketStreamTest::test_early_stream_response PASSED [ 29%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty_demux PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty_demux PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty_demux PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty PASSED [ 31%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty_demux PASSED [ 31%] tests/unit/api_test.py::UserAgentTest::test_custom_user_agent PASSED [ 31%] tests/unit/api_test.py::UserAgentTest::test_default_user_agent PASSED [ 31%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout PASSED [ 31%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout2 PASSED [ 31%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timout_non_blocking PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_invalid_opts_type PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_driver PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_invalid_labels PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_labels PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_no_specified_name PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_inspect_volume PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes_and_filters PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_remove_volume PASSED [ 33%] tests/unit/auth_test.py::RegressionTest::test_803_urlsafe_encode PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_localhost PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_localhost_with_username PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_no_dots_but_port PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_no_dots_but_port_and_username PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry PASSED [ 36%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_port PASSED [ 36%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_username PASSED [ 36%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_auth_with_empty_credstore_and_auth_dict PASSED [ 36%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_explicit_none PASSED [ 36%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_registry PASSED [ 36%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_fully_explicit PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_hostname_only PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_legacy_config PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_match PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_trailing_slash PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_insecure_proto PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_secure_proto PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_protocol PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_path_wrong_proto PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_explicit_hub PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_explicit_legacy_hub PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_hub_image PASSED [ 39%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_library_image PASSED [ 39%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_private_registry PASSED [ 39%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_unauthenticated_registry PASSED [ 39%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env PASSED [ 39%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_utf8 PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_with_auths PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_identity_token PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_invalid_auth_dict PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_with_random_name PASSED [ 41%] tests/unit/auth_test.py::LoadConfigTest::test_load_json_config PASSED [ 41%] tests/unit/auth_test.py::LoadConfigTest::test_load_legacy_config PASSED [ 41%] tests/unit/auth_test.py::LoadConfigTest::test_load_modern_json_config PASSED [ 41%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_3_sources PASSED [ 41%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_credstore_only PASSED [ 41%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_credstore_overrides_auth_entry PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_helpers_override_default PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_auths_entries PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_credhelpers_only PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_auths_entry PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_credhelper PASSED [ 43%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store PASSED [ 43%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_default_index PASSED [ 43%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_no_default PASSED [ 43%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_with_plain_dict PASSED [ 43%] tests/unit/client_test.py::ClientTest::test_call_api_client_method PASSED [ 43%] tests/unit/client_test.py::ClientTest::test_call_containers PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_default_pool_size_unix PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_default_pool_size_win SKIPPED [ 44%] tests/unit/client_test.py::ClientTest::test_events PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_info PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_ping PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_pool_size_unix PASSED [ 45%] tests/unit/client_test.py::ClientTest::test_pool_size_win SKIPPED [ 45%] tests/unit/client_test.py::ClientTest::test_version PASSED [ 45%] tests/unit/client_test.py::FromEnvTest::test_default_pool_size_from_env_unix PASSED [ 45%] tests/unit/client_test.py::FromEnvTest::test_default_pool_size_from_env_win SKIPPED [ 45%] tests/unit/client_test.py::FromEnvTest::test_from_env PASSED [ 45%] tests/unit/client_test.py::FromEnvTest::test_from_env_with_version PASSED [ 46%] tests/unit/client_test.py::FromEnvTest::test_from_env_without_timeout_uses_default PASSED [ 46%] tests/unit/client_test.py::FromEnvTest::test_from_env_without_version_uses_default PASSED [ 46%] tests/unit/client_test.py::FromEnvTest::test_pool_size_from_env_unix PASSED [ 46%] tests/unit/client_test.py::FromEnvTest::test_pool_size_from_env_win SKIPPED [ 46%] tests/unit/context_test.py::BaseContextTest::test_context_inspect_without_params PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_default_in_context_list PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_fail_on_default_context_create PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_get_current_context PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_https_host PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_url_compatibility_on_linux PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_url_compatibility_on_windows SKIPPED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_cfs_types PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_count_types PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_percent_types PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_mem_swappiness PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_nano_cpus_types PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_pid_mode PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_blkio_constraints PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_count PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_percent PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_period PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_quota PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period_types PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_runtime PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_dns_opt PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_isolation PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_kernel_memory PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_mem_reservation PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_nano_cpus PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_oom_kill_disable PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_oom_score_adj PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_pids_limit PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size_in_mb PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_userns_mode PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_uts PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_volume_driver PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_ctrate_host_config_with_cpu_rt_runtime_types PASSED [ 53%] tests/unit/dockertypes_test.py::ContainerSpecTest::test_parse_mounts PASSED [ 53%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_dict_ulimit PASSED [ 53%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_dict_ulimit_capitals PASSED [ 53%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_obj_ulimit PASSED [ 53%] tests/unit/dockertypes_test.py::UlimitTest::test_ulimit_invalid_type PASSED [ 54%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_dict_logconfig PASSED [ 54%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_obj_logconfig PASSED [ 54%] tests/unit/dockertypes_test.py::LogConfigTest::test_logconfig_invalid_config_type PASSED [ 54%] tests/unit/dockertypes_test.py::EndpointConfigTest::test_create_endpoint_config_with_aliases PASSED [ 54%] tests/unit/dockertypes_test.py::IPAMConfigTest::test_create_ipam_config PASSED [ 54%] tests/unit/dockertypes_test.py::ServiceModeTest::test_global_replicas_error PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_global_simple PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_invalid_mode PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas_0 PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_simple PASSED [ 55%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows XFAIL [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_named_volume PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_invalid PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_no_source PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_ro PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_rw PASSED [ 57%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_short_form PASSED [ 57%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_invalid PASSED [ 57%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_multiple PASSED [ 57%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_no_protocol_and_mode PASSED [ 57%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_simple PASSED [ 58%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_with_protocol PASSED [ 58%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_with_protocol_and_mode PASSED [ 58%] tests/unit/errors_test.py::APIErrorTest::test_api_error_is_caught_by_dockerexception PASSED [ 58%] tests/unit/errors_test.py::APIErrorTest::test_create_error_from_exception PASSED [ 58%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_400 PASSED [ 58%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_500 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_error_300 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_error_400 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_error_500 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_200 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_300 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_400 PASSED [ 60%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_500 PASSED [ 60%] tests/unit/errors_test.py::APIErrorTest::test_status_code_200 PASSED [ 60%] tests/unit/errors_test.py::APIErrorTest::test_status_code_400 PASSED [ 60%] tests/unit/errors_test.py::APIErrorTest::test_status_code_500 PASSED [ 60%] tests/unit/errors_test.py::ContainerErrorTest::test_container_with_stderr PASSED [ 61%] tests/unit/errors_test.py::ContainerErrorTest::test_container_without_stderr PASSED [ 61%] tests/unit/errors_test.py::CreateUnexpectedKwargsErrorTest::test_create_unexpected_kwargs_error_multiple PASSED [ 61%] tests/unit/errors_test.py::CreateUnexpectedKwargsErrorTest::test_create_unexpected_kwargs_error_single PASSED [ 61%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create PASSED [ 61%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create_container_args PASSED [ 61%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create_with_image_object PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list_ignore_removed PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_pull PASSED [ 63%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_remove PASSED [ 63%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_with_error PASSED [ 63%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_with_image_object PASSED [ 63%] tests/unit/models_containers_test.py::ContainerTest::test_attach PASSED [ 63%] tests/unit/models_containers_test.py::ContainerTest::test_commit PASSED [ 63%] tests/unit/models_containers_test.py::ContainerTest::test_diff PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run_failure PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_export PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_get_archive PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_image PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_kill PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_labels PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_logs PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_name PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_pause PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_put_archive PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_remove PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_rename PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_resize PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_restart PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_start PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_stats PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_status PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_stop PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_top PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_unpause PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_update PASSED [ 68%] tests/unit/models_containers_test.py::ContainerTest::test_wait PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_build PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_get PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_labels PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_list PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_load PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_tag_precedence PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_with_stream_param PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_push PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_remove PASSED [ 70%] tests/unit/models_images_test.py::ImageCollectionTest::test_search PASSED [ 70%] tests/unit/models_images_test.py::ImageCollectionTest::test_search_limit PASSED [ 70%] tests/unit/models_images_test.py::ImageTest::test_history PASSED [ 70%] tests/unit/models_images_test.py::ImageTest::test_save PASSED [ 70%] tests/unit/models_images_test.py::ImageTest::test_short_id PASSED [ 70%] tests/unit/models_images_test.py::ImageTest::test_tag PASSED [ 71%] tests/unit/models_images_test.py::ImageTest::test_tags PASSED [ 71%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 71%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 71%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_list PASSED [ 71%] tests/unit/models_networks_test.py::NetworkTest::test_connect PASSED [ 72%] tests/unit/models_networks_test.py::NetworkTest::test_disconnect PASSED [ 72%] tests/unit/models_networks_test.py::NetworkTest::test_remove PASSED [ 72%] tests/unit/models_resources_test.py::ModelTest::test_hash PASSED [ 72%] tests/unit/models_resources_test.py::ModelTest::test_reload PASSED [ 72%] tests/unit/models_secrets_test.py::CreateServiceTest::test_secrets_repr PASSED [ 72%] tests/unit/models_services_test.py::CreateServiceKwargsTest::test_get_create_service_kwargs PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_hostname_prefix_trim PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_parse_hostname_and_port PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_parse_hostname_only PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_parse_url PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_parse_user_and_hostname PASSED [ 73%] tests/unit/ssladapter_test.py::SSLAdapterTest::test_only_uses_tls PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_dns_failure PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_dns_success PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_ip_address_failure PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_ip_address_success PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_localhost_success PASSED [ 75%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm PASSED [ 75%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm_no_listen_address_takes_default PASSED [ 75%] tests/unit/swarm_test.py::SwarmTest::test_node_update PASSED [ 75%] tests/unit/types_containers_test.py::test_uid_0_is_not_elided PASSED [ 75%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory PASSED [ 75%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_single_exception PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_subdir_exception PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_subdir_exception_win32_pathsep SKIPPED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_trailing_slash PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_wildcard_exception PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard_with_exception PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_custom_dockerfile PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_dockerfile_child PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_dockerfile_dockerignore PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_include_absolute_path PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_include_wildcard PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_last_line_precedence PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_dupes PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_excludes PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_parent_directory PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_question_mark PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_and_double_wildcard PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename_leading_dot_slash PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename_trailing_slash PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_single_filename PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_single_filename_leading_slash PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_wildcard_filename PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_with_path_traversal PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory_win32_pathsep SKIPPED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_trailing_double_wildcard PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_exclude PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_filename_end PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_filename_start PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_subdir_single_filename PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_subdir_wildcard_filename PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_exception PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_wildcard_exception PASSED [ 81%] tests/unit/utils_build_test.py::TarTest::test_tar_directory_link PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_socket_file PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_with_broken_symlinks PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_with_directory_symlinks PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_with_empty_directory PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_with_excludes PASSED [ 83%] tests/unit/utils_build_test.py::TarTest::test_tar_with_file_symlinks PASSED [ 83%] tests/unit/utils_build_test.py::TarTest::test_tar_with_inaccessible_file SKIPPED [ 83%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_fallback PASSED [ 83%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_environment PASSED [ 83%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_explicit_path PASSED [ 83%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_legacy_name PASSED [ 84%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_posix PASSED [ 84%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_windows SKIPPED [ 84%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_custom_headers PASSED [ 84%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_detach_keys PASSED [ 84%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_from_env PASSED [ 84%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_no_object PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_with_object PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_leading_whitespace PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestStreamAsText::test_stream_with_non_utf_unicode_character PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestStreamAsText::test_stream_with_utf_character PASSED [ 86%] tests/unit/utils_json_stream_test.py::TestJsonStream::test_with_falsy_entries PASSED [ 86%] tests/unit/utils_json_stream_test.py::TestJsonStream::test_with_leading_whitespace PASSED [ 86%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_environment PASSED [ 86%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_from_dict PASSED [ 86%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_inject_proxy_environment PASSED [ 86%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_new PASSED [ 87%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_truthiness PASSED [ 87%] tests/unit/utils_test.py::DecoratorsTest::test_update_headers PASSED [ 87%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_alternate_env PASSED [ 87%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_empty PASSED [ 87%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_no_cert_path PASSED [ 87%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls PASSED [ 88%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false PASSED [ 88%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false_no_cert PASSED [ 88%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_compact PASSED [ 88%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_complete PASSED [ 88%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_empty PASSED [ 88%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_list PASSED [ 89%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_no_mode PASSED [ 89%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_unicode_bytes_input PASSED [ 89%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_unicode_unicode_input PASSED [ 89%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_commented_line PASSED [ 89%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_invalid_line PASSED [ 90%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_newline PASSED [ 90%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_proper PASSED [ 90%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_with_equals_character PASSED [ 90%] tests/unit/utils_test.py::ParseHostTest::test_parse_host PASSED [ 90%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_empty_value PASSED [ 90%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls PASSED [ 91%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls_tcp_proto PASSED [ 91%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_trailing_slash PASSED [ 91%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_no_tag PASSED [ 91%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_sha PASSED [ 91%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_tag PASSED [ 91%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_user_image_no_tag PASSED [ 92%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_user_image_tag PASSED [ 92%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_no_tag PASSED [ 92%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_sha PASSED [ 92%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_tag PASSED [ 92%] tests/unit/utils_test.py::ParseDeviceTest::test_dict PASSED [ 93%] tests/unit/utils_test.py::ParseDeviceTest::test_full_string_definition PASSED [ 93%] tests/unit/utils_test.py::ParseDeviceTest::test_hybrid_list PASSED [ 93%] tests/unit/utils_test.py::ParseDeviceTest::test_partial_string_definition PASSED [ 93%] tests/unit/utils_test.py::ParseDeviceTest::test_permissionless_string_definition PASSED [ 93%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_float PASSED [ 93%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_invalid PASSED [ 94%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_valid PASSED [ 94%] tests/unit/utils_test.py::UtilsTest::test_convert_filters PASSED [ 94%] tests/unit/utils_test.py::UtilsTest::test_decode_json_header PASSED [ 94%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_bytes SKIPPED [ 94%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_unicode PASSED [ 94%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_matching_internal_port_ranges PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_matching_internal_ports PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_nonmatching_internal_port_ranges PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_nonmatching_internal_ports PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_one_port PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_port_range PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_host_only_with_colon PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_non_matching_length_port_ranges PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_port_and_range_invalid PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_port_only_with_colon PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_split_port_empty_string PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_split_port_invalid PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_invalid_protocol PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_no_host_port PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_non_string PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_random_port_range_with_host_port PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_range_no_host_port PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_range_with_host_ip_no_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_range_with_host_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_range_with_protocol PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_ip PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_ip_no_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_with_ipv6_address PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_ipv6_square_brackets_address PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_protocol PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_with_no_container_port PASSED [ 99%] tests/unit/utils_test.py::FormatEnvironmentTest::test_format_env_binary_unicode_value PASSED [ 99%] tests/unit/utils_test.py::FormatEnvironmentTest::test_format_env_no_value PASSED [100%] =============================== warnings summary =============================== /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23 /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working from collections import MutableMapping -- Docs: https://docs.pytest.org/en/latest/warnings.html ---------- coverage: platform linux, python 3.7.10-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 41 93 21 63% docker/api/client.py 261 64 96 12 75% docker/api/config.py 31 19 6 0 32% docker/api/container.py 266 72 104 25 65% docker/api/daemon.py 39 4 14 4 85% docker/api/exec_api.py 46 11 22 9 68% docker/api/image.py 160 43 60 14 70% docker/api/network.py 90 35 48 11 51% docker/api/plugin.py 91 68 14 0 22% docker/api/secret.py 36 23 10 0 28% docker/api/service.py 200 176 149 0 7% docker/api/swarm.py 106 67 38 1 28% docker/api/volume.py 38 9 14 2 71% docker/auth.py 198 16 74 16 88% docker/client.py 69 9 2 0 87% docker/constants.py 21 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 41 38 8 39% docker/context/config.py 61 33 16 2 42% docker/context/context.py 154 96 64 6 29% docker/credentials/__init__.py 3 0 0 0 100% docker/credentials/constants.py 4 0 0 0 100% docker/credentials/errors.py 11 4 2 0 54% docker/credentials/store.py 50 35 16 0 23% docker/credentials/utils.py 23 18 12 0 14% docker/errors.py 110 26 20 4 71% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 2 0 57% docker/models/containers.py 183 11 70 9 91% docker/models/images.py 137 55 56 4 52% docker/models/networks.py 37 7 12 3 71% docker/models/nodes.py 15 5 2 0 59% docker/models/plugins.py 49 30 10 0 32% docker/models/resource.py 41 10 6 3 72% docker/models/secrets.py 22 4 2 0 75% docker/models/services.py 87 35 36 4 59% docker/models/swarm.py 39 21 6 0 40% docker/models/volumes.py 23 10 4 0 48% docker/tls.py 37 6 14 6 76% docker/transport/__init__.py 11 3 0 0 73% docker/transport/basehttpadapter.py 6 0 2 1 88% docker/transport/npipeconn.py 59 54 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/sshconn.py 163 106 56 4 30% docker/transport/ssladapter.py 36 10 10 4 65% docker/transport/unixconn.py 66 6 12 4 87% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 0 2 0 100% docker/types/containers.py 420 79 326 43 81% docker/types/daemon.py 36 24 14 0 24% docker/types/healthcheck.py 34 20 4 0 37% docker/types/networks.py 41 11 28 9 65% docker/types/services.py 314 140 208 39 50% docker/types/swarm.py 51 45 40 0 7% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 155 27 76 10 81% docker/utils/config.py 36 1 10 1 96% docker/utils/decorators.py 32 1 12 1 95% docker/utils/fnmatch.py 55 18 28 2 61% docker/utils/json_stream.py 43 8 14 2 79% docker/utils/ports.py 50 3 32 2 91% docker/utils/proxy.py 32 1 12 0 98% docker/utils/socket.py 86 10 40 8 84% docker/utils/utils.py 278 18 171 13 92% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5131 1829 2263 307 60% =========================== short test summary info ============================ XFAIL tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows SKIPPED [1] tests/unit/api_build_test.py:169: Windows-specific syntax SKIPPED [1] tests/unit/client_test.py:103: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/client_test.py:142: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/client_test.py:216: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/client_test.py:253: 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:232: Backslash patterns only on Windows SKIPPED [1] tests/unit/utils_build_test.py:254: Backslash patterns only on Windows SKIPPED [1] tests/unit/utils_build_test.py:402: root user always has access ; no chmod on Windows SKIPPED [1] tests/unit/utils_config_test.py:58: condition: sys.platform != 'win32' SKIPPED [1] tests/unit/utils_test.py:478: shlex doesn't support bytes in py3 ======== 560 passed, 11 skipped, 1 xfailed, 1 warnings in 6.20 seconds ========= [Pipeline] sh + docker network create dpy-testnet-3-0-py3.7-19.03.12 7ed944e3afbaf44f215dc55cfd4c255e44b37301fe6147ee467c325f7d1b8241 [Pipeline] sh + docker run --rm -d --name dpy-dind-3-0-py3.7-19.03.12 -v /tmp --privileged --network dpy-testnet-3-0-py3.7-19.03.12 dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 dockerd -H tcp://0.0.0.0:2375 302d1720661bda7b0991d0cda6adb7a44f4cd631cf0acdda234e608945ff5770 [Pipeline] sh + docker run --rm --name dpy-tests-3-0-py3.7-19.03.12 -e DOCKER_HOST=tcp://dpy-dind-3-0-py3.7-19.03.12:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-3-0-py3.7-19.03.12 --volumes-from dpy-dind-3-0-py3.7-19.03.12 -v /home/ubuntu/workspace/docker-py_PR-2843@tmp/77a83f5a-93e3-4312-95aa-90b1ed70bb24/config.json:/root/.docker/config.json dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 py.test -v -rxs --cov=docker tests/integration Still waiting to schedule task Waiting for next available executor on ‘EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-04102a36894a21caa)’ Still waiting to schedule task Waiting for next available executor on ‘EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-04102a36894a21caa)’ ============================= test session starts ============================== platform linux -- Python 3.7.10, pytest-4.3.1, py-1.10.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: cov-2.6.1, timeout-1.3.3 collecting ... collected 390 items tests/integration/api_build_test.py::BuildTest::test_build_container_with_target PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_from_stringio PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_gzip_custom_encoding PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_gzip_encoding PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_nested_dockerfile PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_invalid_platform SKIPPED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_isolation PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_labels PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_out_of_context_dockerfile PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_shmsize PASSED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_squash SKIPPED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_stderr_data PASSED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_streaming PASSED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_with_cache_from PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerfile_empty_lines PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_network_mode PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_proxy PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_proxy_and_buildargs PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_prune_builds XPASS [ 6%] tests/integration/api_client_test.py::InformationTest::test_info PASSED [ 6%] tests/integration/api_client_test.py::InformationTest::test_version PASSED [ 6%] tests/integration/api_client_test.py::AutoDetectVersionTest::test_client_init PASSED [ 6%] tests/integration/api_client_test.py::ConnectionTimeoutTest::test_timeout PASSED [ 7%] tests/integration/api_client_test.py::UnixconnTest::test_resource_warnings PASSED [ 7%] tests/integration/api_config_test.py::ConfigAPITest::test_create_config PASSED [ 7%] tests/integration/api_config_test.py::ConfigAPITest::test_create_config_unicode_data PASSED [ 7%] tests/integration/api_config_test.py::ConfigAPITest::test_inspect_config PASSED [ 8%] tests/integration/api_config_test.py::ConfigAPITest::test_list_configs PASSED [ 8%] tests/integration/api_config_test.py::ConfigAPITest::test_remove_config PASSED [ 8%] tests/integration/api_container_test.py::ListContainersTest::test_list_containers PASSED [ 8%] tests/integration/api_container_test.py::CreateContainerTest::test_create PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_create_container_with_volumes_from PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_auto_remove PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options XFAIL [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_device_cgroup_rules PASSED [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_environment_variable_no_value PASSED [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_host_pid_mode PASSED [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_init PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_isolation PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_links PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_mac_address PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_int PASSED [ 12%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_str PASSED [ 12%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_restart_policy PASSED [ 12%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_stop_timeout PASSED [ 12%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_storage_opt XFAIL [ 13%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_tmpfs PASSED [ 13%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_uts_mode PASSED [ 13%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_ints PASSED [ 13%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_strings PASSED [ 14%] tests/integration/api_container_test.py::CreateContainerTest::test_invalid_log_driver_raises_exception PASSED [ 14%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_log_driver_and_log_opt PASSED [ 14%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_config_specified PASSED [ 14%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_log_driver_specified PASSED [ 15%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_ro PASSED [ 15%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_rw PASSED [ 15%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts PASSED [ 15%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts_ro PASSED [ 16%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_volume_mount PASSED [ 16%] tests/integration/api_container_test.py::ArchiveTest::test_copy_directory_to_container PASSED [ 16%] tests/integration/api_container_test.py::ArchiveTest::test_copy_file_to_container PASSED [ 16%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_archive_from_container PASSED [ 17%] Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-0cbaceb3248b94d27) in /home/ubuntu/workspace/docker-py_PR-2843 [Pipeline] { [Pipeline] withDockerRegistry tests/integration/api_container_test.py::ArchiveTest::test_get_file_stat_from_container PASSED [ 17%] tests/integration/api_container_test.py::RenameContainerTest::test_rename_container PASSED [ 17%] $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ tests/integration/api_container_test.py::StartContainerTest::test_run_shlex_commands PASSED [ 17%] tests/integration/api_container_test.py::StartContainerTest::test_start_container PASSED [ 18%] tests/integration/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 18%] tests/integration/api_container_test.py::WaitTest::test_wait PASSED [ 18%] WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2843@tmp/115f4f7f-4c33-4ba4-a101-6b2987ffbd4e/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-0e1e314fe7d83a55f) in /home/ubuntu/workspace/docker-py_PR-2843 [Pipeline] { [Pipeline] withDockerRegistry + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2843:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ latest: Pulling from library/busybox tests/integration/api_container_test.py::WaitTest::test_wait_with_condition PASSED [ 18%] 92f8b3f0730f: Pulling fs layer 92f8b3f0730f: Verifying Checksum 92f8b3f0730f: Download complete 92f8b3f0730f: Pull complete Digest: sha256:b5fc1d7b2e4ea86a06b0cf88de915a2c43a99a00b6b3c0af731e5f4c07ae8eff Status: Downloaded newer image for busybox:latest WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2843@tmp/3b875273-41b5-4d5e-b867-904f47f7ff19/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2843:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox tests/integration/api_container_test.py::WaitTest::test_wait_with_dict_instead_of_id PASSED [ 19%] tests/integration/api_container_test.py::LogsTest::test_logs PASSED [ 19%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow PASSED [ 19%] 92f8b3f0730f: Pulling fs layer 92f8b3f0730f: Verifying Checksum 92f8b3f0730f: Download complete 92f8b3f0730f: Pull complete Digest: sha256:b5fc1d7b2e4ea86a06b0cf88de915a2c43a99a00b6b3c0af731e5f4c07ae8eff Status: Downloaded newer image for busybox:latest [Pipeline] echo Removing all docker containers [Pipeline] sh + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow_and_cancel PASSED [ 20%] [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=py3.7 / docker=20.10.6) [Pipeline] checkout The recommended git tool is: git tests/integration/api_container_test.py::LogsTest::test_logs_tail_option PASSED [ 20%] tests/integration/api_container_test.py::LogsTest::test_logs_with_dict_instead_of_id PASSED [ 20%] tests/integration/api_container_test.py::LogsTest::test_logs_with_tail_0 PASSED [ 20%] tests/integration/api_container_test.py::LogsTest::test_logs_with_until PASSED [ 21%] tests/integration/api_container_test.py::DiffTest::test_diff PASSED [ 21%] using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] echo Removing all docker containers [Pipeline] sh tests/integration/api_container_test.py::DiffTest::test_diff_with_dict_instead_of_id PASSED [ 21%] + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=py3.7 / docker=19.03.13) [Pipeline] checkout The recommended git tool is: git Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2843 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --force --progress -- https://github.com/docker/docker-py.git +refs/pull/2843/head:refs/remotes/origin/PR-2843 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 96c12726fdb9b24e985b4de74d5c82145ccd8185 into PR head commit d0057116d54de76cde447ac3e1696f087dcf24d0 Merge succeeded, producing d0057116d54de76cde447ac3e1696f087dcf24d0 Checking out Revision d0057116d54de76cde447ac3e1696f087dcf24d0 (PR-2843) > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2843/head:refs/remotes/origin/PR-2843 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --force --progress -- https://github.com/docker/docker-py.git +refs/pull/2843/head:refs/remotes/origin/PR-2843 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0057116d54de76cde447ac3e1696f087dcf24d0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge 96c12726fdb9b24e985b4de74d5c82145ccd8185 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0057116d54de76cde447ac3e1696f087dcf24d0 # timeout=10 tests/integration/api_container_test.py::StopTest::test_stop PASSED [ 21%] using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2843 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --force --progress -- https://github.com/docker/docker-py.git +refs/pull/2843/head:refs/remotes/origin/PR-2843 +refs/heads/master:refs/remotes/origin/master # timeout=10 tests/integration/api_container_test.py::StopTest::test_stop_with_dict_instead_of_id PASSED [ 22%] Fetching without tags tests/integration/api_container_test.py::KillTest::test_kill PASSED [ 22%] Commit message: "Update: allow "force" parameter in plugin.disable()" Merging remotes/origin/master commit 96c12726fdb9b24e985b4de74d5c82145ccd8185 into PR head commit d0057116d54de76cde447ac3e1696f087dcf24d0 tests/integration/api_container_test.py::KillTest::test_kill_with_dict_instead_of_id PASSED [ 22%] [Pipeline] withDockerRegistry Merge succeeded, producing d0057116d54de76cde447ac3e1696f087dcf24d0 Checking out Revision d0057116d54de76cde447ac3e1696f087dcf24d0 (PR-2843) [Pipeline] { [Pipeline] sh > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2843/head:refs/remotes/origin/PR-2843 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --force --progress -- https://github.com/docker/docker-py.git +refs/pull/2843/head:refs/remotes/origin/PR-2843 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0057116d54de76cde447ac3e1696f087dcf24d0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge 96c12726fdb9b24e985b4de74d5c82145ccd8185 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0057116d54de76cde447ac3e1696f087dcf24d0 # timeout=10 tests/integration/api_container_test.py::KillTest::test_kill_with_signal PASSED [ 22%] + docker run --rm -e DOCKER_TEST_API_VERSION=1.40 dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 py.test -v -rxs --cov=docker tests/unit Unable to find image 'dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0' locally tests/integration/api_container_test.py::KillTest::test_kill_with_signal_integer PASSED [ 23%] py3-d0057116d54de76cde447ac3e1696f087dcf24d0: Pulling from dockerpinata/docker-py d960726af2be: Pulling fs layer e8d62473a22d: Pulling fs layer 8962bc0fad55: Pulling fs layer 65d943ee54c1: Pulling fs layer 532f6f723709: Pulling fs layer 1334e0fe2851: Pulling fs layer ba365db42d14: Pulling fs layer 9c5512e22a86: Pulling fs layer cb3bee3da6f6: Pulling fs layer 00a90151f142: Pulling fs layer eaeab49fd846: Pulling fs layer c0d2e2e9902c: Pulling fs layer 3e2f8200dca4: Pulling fs layer f619d12e183a: Pulling fs layer 9955a1a64fa2: Pulling fs layer be4abfbde3c4: Pulling fs layer c8ad21d935df: Pulling fs layer c07c9489c134: Pulling fs layer 806fbc14f86e: Pulling fs layer 3385faf468b3: Pulling fs layer 6465c2e9007b: Pulling fs layer 41c4a0374ce4: Pulling fs layer 08c491ef5e50: Pulling fs layer 242d00e74125: Pulling fs layer 25381501322e: Pulling fs layer 737337dce5d7: Pulling fs layer 65d943ee54c1: Waiting 532f6f723709: Waiting 1334e0fe2851: Waiting ba365db42d14: Waiting 9c5512e22a86: Waiting cb3bee3da6f6: Waiting 00a90151f142: Waiting eaeab49fd846: Waiting c0d2e2e9902c: Waiting 3e2f8200dca4: Waiting f619d12e183a: Waiting 9955a1a64fa2: Waiting be4abfbde3c4: Waiting c8ad21d935df: Waiting c07c9489c134: Waiting 806fbc14f86e: Waiting 3385faf468b3: Waiting 6465c2e9007b: Waiting 41c4a0374ce4: Waiting 08c491ef5e50: Waiting 242d00e74125: Waiting 25381501322e: Waiting 737337dce5d7: Waiting 8962bc0fad55: Verifying Checksum 8962bc0fad55: Download complete e8d62473a22d: Verifying Checksum e8d62473a22d: Download complete $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2843@tmp/03ea3307-6ec1-4fb0-88a4-490e291fa1f8/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded tests/integration/api_container_test.py::KillTest::test_kill_with_signal_name PASSED [ 23%] d960726af2be: Verifying Checksum d960726af2be: Download complete 65d943ee54c1: Verifying Checksum 65d943ee54c1: Download complete 1334e0fe2851: Verifying Checksum 1334e0fe2851: Download complete 9c5512e22a86: Verifying Checksum 9c5512e22a86: Download complete tests/integration/api_container_test.py::PortTest::test_port PASSED [ 23%] ba365db42d14: Verifying Checksum ba365db42d14: Download complete cb3bee3da6f6: Verifying Checksum cb3bee3da6f6: Download complete 00a90151f142: Verifying Checksum 00a90151f142: Download complete c0d2e2e9902c: Verifying Checksum c0d2e2e9902c: Download complete 3e2f8200dca4: Verifying Checksum 3e2f8200dca4: Download complete eaeab49fd846: Verifying Checksum eaeab49fd846: Download complete f619d12e183a: Verifying Checksum f619d12e183a: Download complete 9955a1a64fa2: Verifying Checksum 9955a1a64fa2: Download complete tests/integration/api_container_test.py::ContainerTopTest::test_top XPASS [ 23%] be4abfbde3c4: Verifying Checksum be4abfbde3c4: Download complete c8ad21d935df: Verifying Checksum c8ad21d935df: Download complete c07c9489c134: Verifying Checksum c07c9489c134: Download complete 3385faf468b3: Verifying Checksum 3385faf468b3: Download complete tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs XFAIL [ 24%] 806fbc14f86e: Verifying Checksum 806fbc14f86e: Download complete 6465c2e9007b: Verifying Checksum 6465c2e9007b: Download complete 08c491ef5e50: Verifying Checksum 08c491ef5e50: Download complete 242d00e74125: Verifying Checksum 242d00e74125: Download complete 41c4a0374ce4: Verifying Checksum 41c4a0374ce4: Download complete 25381501322e: Verifying Checksum 25381501322e: Download complete 737337dce5d7: Verifying Checksum 737337dce5d7: Download complete 532f6f723709: Verifying Checksum 532f6f723709: Download complete Commit message: "Update: allow "force" parameter in plugin.disable()" [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] sh d960726af2be: Pull complete + docker run --rm -e DOCKER_TEST_API_VERSION=1.40 dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 py.test -v -rxs --cov=docker tests/unit Unable to find image 'dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0' locally e8d62473a22d: Pull complete $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2843@tmp/59142ee1-5ded-49f1-9887-96b4e41702f2/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded py3-d0057116d54de76cde447ac3e1696f087dcf24d0: Pulling from dockerpinata/docker-py d960726af2be: Pulling fs layer e8d62473a22d: Pulling fs layer 8962bc0fad55: Pulling fs layer 65d943ee54c1: Pulling fs layer 532f6f723709: Pulling fs layer 1334e0fe2851: Pulling fs layer ba365db42d14: Pulling fs layer 9c5512e22a86: Pulling fs layer cb3bee3da6f6: Pulling fs layer 00a90151f142: Pulling fs layer eaeab49fd846: Pulling fs layer c0d2e2e9902c: Pulling fs layer 3e2f8200dca4: Pulling fs layer f619d12e183a: Pulling fs layer 9955a1a64fa2: Pulling fs layer be4abfbde3c4: Pulling fs layer c8ad21d935df: Pulling fs layer c07c9489c134: Pulling fs layer 806fbc14f86e: Pulling fs layer 3385faf468b3: Pulling fs layer 6465c2e9007b: Pulling fs layer 41c4a0374ce4: Pulling fs layer 08c491ef5e50: Pulling fs layer 242d00e74125: Pulling fs layer 25381501322e: Pulling fs layer 737337dce5d7: Pulling fs layer f619d12e183a: Waiting 9955a1a64fa2: Waiting be4abfbde3c4: Waiting c8ad21d935df: Waiting c07c9489c134: Waiting 806fbc14f86e: Waiting 3385faf468b3: Waiting 6465c2e9007b: Waiting 41c4a0374ce4: Waiting 08c491ef5e50: Waiting 242d00e74125: Waiting 25381501322e: Waiting 737337dce5d7: Waiting 9c5512e22a86: Waiting cb3bee3da6f6: Waiting 00a90151f142: Waiting eaeab49fd846: Waiting c0d2e2e9902c: Waiting 65d943ee54c1: Waiting 532f6f723709: Waiting 1334e0fe2851: Waiting ba365db42d14: Waiting 3e2f8200dca4: Waiting e8d62473a22d: Verifying Checksum e8d62473a22d: Download complete 8962bc0fad55: Verifying Checksum 8962bc0fad55: Download complete 8962bc0fad55: Pull complete d960726af2be: Verifying Checksum d960726af2be: Download complete tests/integration/api_container_test.py::RestartContainerTest::test_restart PASSED [ 24%] 1334e0fe2851: Verifying Checksum 1334e0fe2851: Download complete 65d943ee54c1: Verifying Checksum 65d943ee54c1: Download complete 9c5512e22a86: Verifying Checksum 9c5512e22a86: Download complete cb3bee3da6f6: Verifying Checksum cb3bee3da6f6: Download complete ba365db42d14: Verifying Checksum ba365db42d14: Download complete 00a90151f142: Verifying Checksum 00a90151f142: Download complete c0d2e2e9902c: Verifying Checksum c0d2e2e9902c: Download complete 3e2f8200dca4: Verifying Checksum 3e2f8200dca4: Download complete eaeab49fd846: Verifying Checksum eaeab49fd846: Download complete f619d12e183a: Verifying Checksum f619d12e183a: Download complete 9955a1a64fa2: Verifying Checksum 9955a1a64fa2: Download complete be4abfbde3c4: Verifying Checksum be4abfbde3c4: Download complete c8ad21d935df: Verifying Checksum c8ad21d935df: Download complete c07c9489c134: Verifying Checksum c07c9489c134: Download complete 806fbc14f86e: Verifying Checksum 806fbc14f86e: Download complete 3385faf468b3: Verifying Checksum 3385faf468b3: Download complete 6465c2e9007b: Verifying Checksum 6465c2e9007b: Download complete 08c491ef5e50: Verifying Checksum 08c491ef5e50: Download complete 41c4a0374ce4: Verifying Checksum 41c4a0374ce4: Download complete 242d00e74125: Verifying Checksum 242d00e74125: Download complete 25381501322e: Verifying Checksum 25381501322e: Download complete 737337dce5d7: Verifying Checksum 737337dce5d7: Download complete 532f6f723709: Verifying Checksum 532f6f723709: Download complete 65d943ee54c1: Pull complete tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_dict_instead_of_id PASSED [ 24%] d960726af2be: Pull complete e8d62473a22d: Pull complete 8962bc0fad55: Pull complete tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_low_timeout PASSED [ 24%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove PASSED [ 25%] 65d943ee54c1: Pull complete tests/integration/api_container_test.py::RemoveContainerTest::test_remove_with_dict_instead_of_id PASSED [ 25%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream PASSED [ 25%] 532f6f723709: Pull complete 1334e0fe2851: Pull complete ba365db42d14: Pull complete 9c5512e22a86: Pull complete cb3bee3da6f6: Pull complete 00a90151f142: Pull complete eaeab49fd846: Pull complete c0d2e2e9902c: Pull complete 3e2f8200dca4: Pull complete f619d12e183a: Pull complete tests/integration/api_container_test.py::AttachContainerTest::test_attach_stream_and_cancel PASSED [ 25%] 9955a1a64fa2: Pull complete be4abfbde3c4: Pull complete c8ad21d935df: Pull complete tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_arg PASSED [ 26%] c07c9489c134: Pull complete 806fbc14f86e: Pull complete 3385faf468b3: Pull complete 6465c2e9007b: Pull complete tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_config_file PASSED [ 26%] 41c4a0374ce4: Pull complete 08c491ef5e50: Pull complete 242d00e74125: Pull complete 25381501322e: Pull complete 532f6f723709: Pull complete 1334e0fe2851: Pull complete 737337dce5d7: Pull complete Digest: sha256:a7897b0e4cf737eaa778152baaca5d426658e685dd1ca3d48627ba043dc8c4e9 Status: Downloaded newer image for dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_default PASSED [ 26%] ba365db42d14: Pull complete tests/integration/api_container_test.py::AttachContainerTest::test_run_container_reading_socket PASSED [ 26%] 9c5512e22a86: Pull complete cb3bee3da6f6: Pull complete 00a90151f142: Pull complete tests/integration/api_container_test.py::AttachContainerTest::test_run_container_streaming PASSED [ 27%] eaeab49fd846: Pull complete tests/integration/api_container_test.py::PauseTest::test_pause_unpause PASSED [ 27%] c0d2e2e9902c: Pull complete 3e2f8200dca4: Pull complete f619d12e183a: Pull complete 9955a1a64fa2: Pull complete be4abfbde3c4: Pull complete c8ad21d935df: Pull complete c07c9489c134: Pull complete 806fbc14f86e: Pull complete 3385faf468b3: Pull complete 6465c2e9007b: Pull complete tests/integration/api_container_test.py::PruneTest::test_prune_containers PASSED [ 27%] ============================= test session starts ============================== platform linux -- Python 3.7.10, pytest-4.3.1, py-1.10.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: cov-2.6.1, timeout-1.3.3 41c4a0374ce4: Pull complete 08c491ef5e50: Pull complete 242d00e74125: Pull complete 25381501322e: Pull complete 737337dce5d7: Pull complete Digest: sha256:a7897b0e4cf737eaa778152baaca5d426658e685dd1ca3d48627ba043dc8c4e9 Status: Downloaded newer image for dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 tests/integration/api_container_test.py::GetContainerStatsTest::test_get_container_stats_no_stream PASSED [ 27%] collecting ... collected 572 items tests/unit/api_build_test.py::BuildTest::test_build_container PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_custom_context PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_custom_context_gzip PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_invalid_container_limits PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_pull PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_container_limits PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_named_dockerfile PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_build_remote_with_registry_auth PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile_win_longpath_prefix SKIPPED [ 1%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_auth_configs PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_no_auth_configs PASSED [ 2%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_empty_dict_and_auth_configs PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_none PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_privileged PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_regression_573 PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_ro PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_rw PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_links PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_links_as_list_of_tuples PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_lxc_conf PASSED [ 4%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_lxc_conf_compat PASSED [ 4%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_multiple_links PASSED [ 4%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_port_binds PASSED [ 4%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container PASSED [ 4%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_privileged PASSED [ 4%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_added_capabilities PASSED [ 5%] tests/integration/api_container_test.py::ContainerUpdateTest::test_restart_policy_update PASSED [ 28%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_aliases PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_list PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_mode PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_mode_and_ro_error PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_ro PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_rw PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_cgroup_parent PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_device_requests PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_devices PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_dropped_capabilities PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_entrypoint PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpu_shares PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpus PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpuset PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpuset_mems PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_dict PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_list PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links_as_list_of_tuples PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_lxc_conf PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_lxc_conf_compat PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mac_address PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_int PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_g_unit PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_k_unit PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_m_unit PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_wrong_value PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_multiple_links PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_named_volume PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_port_binds PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_ports PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_restart_policy PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stdin_open PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stop_signal PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_sysctl PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_dict PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_list PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_unicode_envvars PASSED [ 12%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_volume_string PASSED [ 12%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_working_dir PASSED [ 12%] tests/unit/api_container_test.py::CreateContainerTest::test_create_named_container PASSED [ 12%] tests/unit/api_container_test.py::ContainerTest::test_container_stats PASSED [ 12%] tests/unit/api_container_test.py::ContainerTest::test_container_top PASSED [ 12%] tests/unit/api_container_test.py::ContainerTest::test_container_top_with_psargs PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_container_update PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_diff PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_diff_with_dict_instead_of_id PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_export PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_export_with_dict_instead_of_id PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_inspect_container PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_inspect_container_undefined_id PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_kill_container PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_dict_instead_of_id PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_signal PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_list_containers PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_following PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_following_backwards PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_since PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_since_with_datetime PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_since_with_invalid_value_raises_error PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming_and_following PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_log_tail PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_log_tty PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_logs PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_logs_with_dict_instead_of_id PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_pause_container PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_port PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_remove_container PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_remove_container_with_dict_instead_of_id PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_rename_container PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_resize_container PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_restart_container PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_restart_container_with_dict_instead_of_id PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_stop_container PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_stop_container_with_dict_instead_of_id PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_unpause_container PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_wait PASSED [ 19%] tests/unit/api_container_test.py::ContainerTest::test_wait_with_dict_instead_of_id PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_create PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_resize PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_start PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_commit PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_get_image PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_image_history PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_image_ids PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_image_viz PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_images PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_images_filters PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_images_name PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_images_quiet PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_import_image PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_import_image_from_bytes PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_import_image_from_image PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_inspect_image PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_inspect_image_undefined_id PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_load_image PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_load_image_quiet PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_pull PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_pull_stream PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_push_image PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_push_image_stream PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_push_image_with_auth PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_push_image_with_tag PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_remove_image PASSED [ 24%] tests/unit/api_image_test.py::ImageTest::test_tag_image PASSED [ 24%] tests/unit/api_image_test.py::ImageTest::test_tag_image_force PASSED [ 24%] tests/unit/api_image_test.py::ImageTest::test_tag_image_tag PASSED [ 24%] tests/unit/api_network_test.py::NetworkTest::test_connect_container_to_network PASSED [ 24%] tests/unit/api_network_test.py::NetworkTest::test_create_network PASSED [ 25%] tests/unit/api_network_test.py::NetworkTest::test_disconnect_container_from_network PASSED [ 25%] tests/unit/api_network_test.py::NetworkTest::test_inspect_network PASSED [ 25%] tests/unit/api_network_test.py::NetworkTest::test_list_networks PASSED [ 25%] tests/unit/api_network_test.py::NetworkTest::test_remove_network PASSED [ 25%] tests/unit/api_test.py::DockerApiTest::test_auto_retrieve_server_version PASSED [ 25%] tests/unit/api_test.py::DockerApiTest::test_create_host_config_secopt PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_ctor PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_events PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_events_with_filters PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_events_with_since_until PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_info PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_login PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_remove_link PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_retrieve_server_version PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_search PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_stream_helper_decoding PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http_unix_triple_slash PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_tcp PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix_triple_slash PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_invalid_resource PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_no_resource PASSED [ 29%] tests/unit/api_test.py::DockerApiTest::test_url_unversioned_api PASSED [ 29%] tests/unit/api_test.py::DockerApiTest::test_url_valid_resource PASSED [ 29%] tests/unit/api_test.py::DockerApiTest::test_version PASSED [ 29%] tests/unit/api_test.py::DockerApiTest::test_version_no_api_version PASSED [ 29%] tests/unit/api_test.py::UnixSocketStreamTest::test_early_stream_response PASSED [ 29%] tests/integration/api_container_test.py::ContainerUpdateTest::test_update_container PASSED [ 28%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty PASSED [ 30%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpu_shares PASSED [ 28%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty_demux PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty_demux PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty PASSED [ 30%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpuset PASSED [ 28%] tests/integration/api_container_test.py::ContainerCPUTest::test_create_with_runtime PASSED [ 29%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty_demux PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty PASSED [ 31%] tests/integration/api_container_test.py::LinkTest::test_remove_link PASSED [ 29%] ============================= test session starts ============================== platform linux -- Python 3.7.10, pytest-4.3.1, py-1.10.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: cov-2.6.1, timeout-1.3.3 tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty_demux PASSED [ 31%] tests/unit/api_test.py::UserAgentTest::test_custom_user_agent PASSED [ 31%] tests/unit/api_test.py::UserAgentTest::test_default_user_agent PASSED [ 31%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout PASSED [ 31%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout2 PASSED [ 31%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timout_non_blocking PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_invalid_opts_type PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_driver PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_invalid_labels PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_labels PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_no_specified_name PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_inspect_volume PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes_and_filters PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_remove_volume PASSED [ 33%] tests/unit/auth_test.py::RegressionTest::test_803_urlsafe_encode PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_localhost PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_localhost_with_username PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_no_dots_but_port PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_no_dots_but_port_and_username PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry PASSED [ 36%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_port PASSED [ 36%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_username PASSED [ 36%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_auth_with_empty_credstore_and_auth_dict PASSED [ 36%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_explicit_none PASSED [ 36%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_registry PASSED [ 36%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_fully_explicit PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_hostname_only PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_legacy_config PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_match PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_trailing_slash PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_insecure_proto PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_secure_proto PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_protocol PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_path_wrong_proto PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_explicit_hub PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_explicit_legacy_hub PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_hub_image PASSED [ 39%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_library_image PASSED [ 39%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_private_registry PASSED [ 39%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_unauthenticated_registry PASSED [ 39%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env PASSED [ 39%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_utf8 PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_with_auths PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_identity_token PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_invalid_auth_dict PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_with_random_name PASSED [ 41%] tests/unit/auth_test.py::LoadConfigTest::test_load_json_config PASSED [ 41%] tests/unit/auth_test.py::LoadConfigTest::test_load_legacy_config PASSED [ 41%] tests/unit/auth_test.py::LoadConfigTest::test_load_modern_json_config PASSED [ 41%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_3_sources PASSED [ 41%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_credstore_only PASSED [ 41%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_credstore_overrides_auth_entry PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_helpers_override_default PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_auths_entries PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_credhelpers_only PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_auths_entry PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_credhelper PASSED [ 43%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store PASSED [ 43%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_default_index PASSED [ 43%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_no_default PASSED [ 43%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_with_plain_dict PASSED [ 43%] tests/unit/client_test.py::ClientTest::test_call_api_client_method PASSED [ 43%] tests/unit/client_test.py::ClientTest::test_call_containers PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_default_pool_size_unix PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_default_pool_size_win SKIPPED [ 44%] tests/unit/client_test.py::ClientTest::test_events PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_info PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_ping PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_pool_size_unix PASSED [ 45%] tests/unit/client_test.py::ClientTest::test_pool_size_win SKIPPED [ 45%] tests/unit/client_test.py::ClientTest::test_version PASSED [ 45%] tests/unit/client_test.py::FromEnvTest::test_default_pool_size_from_env_unix PASSED [ 45%] tests/unit/client_test.py::FromEnvTest::test_default_pool_size_from_env_win SKIPPED [ 45%] tests/unit/client_test.py::FromEnvTest::test_from_env PASSED [ 45%] tests/unit/client_test.py::FromEnvTest::test_from_env_with_version PASSED [ 46%] tests/unit/client_test.py::FromEnvTest::test_from_env_without_timeout_uses_default PASSED [ 46%] tests/unit/client_test.py::FromEnvTest::test_from_env_without_version_uses_default PASSED [ 46%] tests/unit/client_test.py::FromEnvTest::test_pool_size_from_env_unix PASSED [ 46%] tests/unit/client_test.py::FromEnvTest::test_pool_size_from_env_win SKIPPED [ 46%] tests/unit/context_test.py::BaseContextTest::test_context_inspect_without_params PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_default_in_context_list PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_fail_on_default_context_create PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_get_current_context PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_https_host PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_url_compatibility_on_linux PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_url_compatibility_on_windows SKIPPED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_cfs_types PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_count_types PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_percent_types PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_mem_swappiness PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_nano_cpus_types PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_pid_mode PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_blkio_constraints PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_count PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_percent PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_period PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_quota PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period_types PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_runtime PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_dns_opt PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_isolation PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_kernel_memory PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_mem_reservation PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_nano_cpus PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_oom_kill_disable PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_oom_score_adj PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_pids_limit PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size_in_mb PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_userns_mode PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_uts PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_volume_driver PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_ctrate_host_config_with_cpu_rt_runtime_types PASSED [ 53%] tests/unit/dockertypes_test.py::ContainerSpecTest::test_parse_mounts PASSED [ 53%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_dict_ulimit PASSED [ 53%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_dict_ulimit_capitals PASSED [ 53%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_obj_ulimit PASSED [ 53%] tests/unit/dockertypes_test.py::UlimitTest::test_ulimit_invalid_type PASSED [ 54%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_dict_logconfig PASSED [ 54%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_obj_logconfig PASSED [ 54%] tests/unit/dockertypes_test.py::LogConfigTest::test_logconfig_invalid_config_type PASSED [ 54%] tests/unit/dockertypes_test.py::EndpointConfigTest::test_create_endpoint_config_with_aliases PASSED [ 54%] tests/unit/dockertypes_test.py::IPAMConfigTest::test_create_ipam_config PASSED [ 54%] tests/unit/dockertypes_test.py::ServiceModeTest::test_global_replicas_error PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_global_simple PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_invalid_mode PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas_0 PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_simple PASSED [ 55%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows XFAIL [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_named_volume PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_invalid PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_no_source PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_ro PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_rw PASSED [ 57%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_short_form PASSED [ 57%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_invalid PASSED [ 57%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_multiple PASSED [ 57%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_no_protocol_and_mode PASSED [ 57%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_simple PASSED [ 58%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_with_protocol PASSED [ 58%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_with_protocol_and_mode PASSED [ 58%] tests/unit/errors_test.py::APIErrorTest::test_api_error_is_caught_by_dockerexception PASSED [ 58%] tests/unit/errors_test.py::APIErrorTest::test_create_error_from_exception PASSED [ 58%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_400 PASSED [ 58%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_500 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_error_300 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_error_400 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_error_500 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_200 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_300 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_400 PASSED [ 60%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_500 PASSED [ 60%] tests/unit/errors_test.py::APIErrorTest::test_status_code_200 PASSED [ 60%] tests/unit/errors_test.py::APIErrorTest::test_status_code_400 PASSED [ 60%] tests/unit/errors_test.py::APIErrorTest::test_status_code_500 PASSED [ 60%] tests/unit/errors_test.py::ContainerErrorTest::test_container_with_stderr PASSED [ 61%] tests/unit/errors_test.py::ContainerErrorTest::test_container_without_stderr PASSED [ 61%] tests/unit/errors_test.py::CreateUnexpectedKwargsErrorTest::test_create_unexpected_kwargs_error_multiple PASSED [ 61%] tests/unit/errors_test.py::CreateUnexpectedKwargsErrorTest::test_create_unexpected_kwargs_error_single PASSED [ 61%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create PASSED [ 61%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create_container_args PASSED [ 61%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create_with_image_object PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list_ignore_removed PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_pull PASSED [ 63%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_remove PASSED [ 63%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_with_error PASSED [ 63%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_with_image_object PASSED [ 63%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_config_file PASSED [ 29%] tests/unit/models_containers_test.py::ContainerTest::test_attach PASSED [ 63%] tests/unit/models_containers_test.py::ContainerTest::test_commit PASSED [ 63%] tests/unit/models_containers_test.py::ContainerTest::test_diff PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run_failure PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_export PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_get_archive PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_image PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_kill PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_labels PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_logs PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_name PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_pause PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_put_archive PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_remove PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_rename PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_resize PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_restart PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_start PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_stats PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_status PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_stop PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_top PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_unpause PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_update PASSED [ 68%] tests/unit/models_containers_test.py::ContainerTest::test_wait PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_build PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_get PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_labels PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_list PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_load PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_tag_precedence PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_with_stream_param PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_push PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_remove PASSED [ 70%] tests/unit/models_images_test.py::ImageCollectionTest::test_search PASSED [ 70%] tests/unit/models_images_test.py::ImageCollectionTest::test_search_limit PASSED [ 70%] tests/unit/models_images_test.py::ImageTest::test_history PASSED [ 70%] tests/unit/models_images_test.py::ImageTest::test_save PASSED [ 70%] tests/unit/models_images_test.py::ImageTest::test_short_id PASSED [ 70%] tests/unit/models_images_test.py::ImageTest::test_tag PASSED [ 71%] tests/unit/models_images_test.py::ImageTest::test_tags PASSED [ 71%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 71%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 71%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_list PASSED [ 71%] tests/unit/models_networks_test.py::NetworkTest::test_connect PASSED [ 72%] tests/unit/models_networks_test.py::NetworkTest::test_disconnect PASSED [ 72%] tests/unit/models_networks_test.py::NetworkTest::test_remove PASSED [ 72%] tests/unit/models_resources_test.py::ModelTest::test_hash PASSED [ 72%] tests/unit/models_resources_test.py::ModelTest::test_reload PASSED [ 72%] tests/unit/models_secrets_test.py::CreateServiceTest::test_secrets_repr PASSED [ 72%] tests/unit/models_services_test.py::CreateServiceKwargsTest::test_get_create_service_kwargs PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_hostname_prefix_trim PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_parse_hostname_and_port PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_parse_hostname_only PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_parse_url PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_parse_user_and_hostname PASSED [ 73%] tests/unit/ssladapter_test.py::SSLAdapterTest::test_only_uses_tls PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_dns_failure PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_dns_success PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_ip_address_failure PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_ip_address_success PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_localhost_success PASSED [ 75%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm PASSED [ 75%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm_no_listen_address_takes_default PASSED [ 75%] tests/unit/swarm_test.py::SwarmTest::test_node_update PASSED [ 75%] tests/unit/types_containers_test.py::test_uid_0_is_not_elided PASSED [ 75%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory PASSED [ 75%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_single_exception PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_subdir_exception PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_subdir_exception_win32_pathsep SKIPPED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_trailing_slash PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_wildcard_exception PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard_with_exception PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_custom_dockerfile PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_dockerfile_child PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_dockerfile_dockerignore PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_include_absolute_path PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_include_wildcard PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_last_line_precedence PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_dupes PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_excludes PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_parent_directory PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_question_mark PASSED [ 78%] collecting ... collected 572 items tests/unit/api_build_test.py::BuildTest::test_build_container PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_custom_context PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_custom_context_gzip PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_invalid_container_limits PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_pull PASSED [ 0%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_container_limits PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_named_dockerfile PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_build_remote_with_registry_auth PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile_win_longpath_prefix SKIPPED [ 1%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_auth_configs PASSED [ 1%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_no_auth_configs PASSED [ 2%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_empty_dict_and_auth_configs PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_none PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_privileged PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_regression_573 PASSED [ 2%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_ro PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_rw PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_links PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_links_as_list_of_tuples PASSED [ 3%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_lxc_conf PASSED [ 4%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_lxc_conf_compat PASSED [ 4%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_multiple_links PASSED [ 4%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_port_binds PASSED [ 4%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container PASSED [ 4%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_privileged PASSED [ 4%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_added_capabilities PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_aliases PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_list PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_mode PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_mode_and_ro_error PASSED [ 5%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_ro PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_rw PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_cgroup_parent PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_device_requests PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_devices PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_dropped_capabilities PASSED [ 6%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_entrypoint PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpu_shares PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpus PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpuset PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpuset_mems PASSED [ 7%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_dict PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_list PASSED [ 8%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_and_double_wildcard PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename_leading_dot_slash PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename_trailing_slash PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_single_filename PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_single_filename_leading_slash PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_wildcard_filename PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_with_path_traversal PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory_win32_pathsep SKIPPED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_trailing_double_wildcard PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_exclude PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_filename_end PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_filename_start PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_subdir_single_filename PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_subdir_wildcard_filename PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_exception PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_wildcard_exception PASSED [ 81%] tests/unit/utils_build_test.py::TarTest::test_tar_directory_link PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_socket_file PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_with_broken_symlinks PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_with_directory_symlinks PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_with_empty_directory PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_with_excludes PASSED [ 83%] tests/unit/utils_build_test.py::TarTest::test_tar_with_file_symlinks PASSED [ 83%] tests/unit/utils_build_test.py::TarTest::test_tar_with_inaccessible_file SKIPPED [ 83%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_fallback PASSED [ 83%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_environment PASSED [ 83%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_explicit_path PASSED [ 83%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_legacy_name PASSED [ 84%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_posix PASSED [ 84%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_windows SKIPPED [ 84%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_custom_headers PASSED [ 84%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_detach_keys PASSED [ 84%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_from_env PASSED [ 84%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_no_object PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_with_object PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_leading_whitespace PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestStreamAsText::test_stream_with_non_utf_unicode_character PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestStreamAsText::test_stream_with_utf_character PASSED [ 86%] tests/unit/utils_json_stream_test.py::TestJsonStream::test_with_falsy_entries PASSED [ 86%] tests/unit/utils_json_stream_test.py::TestJsonStream::test_with_leading_whitespace PASSED [ 86%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_environment PASSED [ 86%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_from_dict PASSED [ 86%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_inject_proxy_environment PASSED [ 86%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_new PASSED [ 87%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_truthiness PASSED [ 87%] tests/unit/utils_test.py::DecoratorsTest::test_update_headers PASSED [ 87%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_alternate_env PASSED [ 87%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_empty PASSED [ 87%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_no_cert_path PASSED [ 87%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls PASSED [ 88%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false PASSED [ 88%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false_no_cert PASSED [ 88%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_compact PASSED [ 88%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_complete PASSED [ 88%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_empty PASSED [ 88%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_list PASSED [ 89%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_no_mode PASSED [ 89%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_unicode_bytes_input PASSED [ 89%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_unicode_unicode_input PASSED [ 89%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_commented_line PASSED [ 89%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_invalid_line PASSED [ 90%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_newline PASSED [ 90%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_proper PASSED [ 90%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_with_equals_character PASSED [ 90%] tests/unit/utils_test.py::ParseHostTest::test_parse_host PASSED [ 90%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_empty_value PASSED [ 90%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls PASSED [ 91%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls_tcp_proto PASSED [ 91%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_trailing_slash PASSED [ 91%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_no_tag PASSED [ 91%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_sha PASSED [ 91%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_tag PASSED [ 91%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_user_image_no_tag PASSED [ 92%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_user_image_tag PASSED [ 92%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_no_tag PASSED [ 92%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_sha PASSED [ 92%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_tag PASSED [ 92%] tests/unit/utils_test.py::ParseDeviceTest::test_dict PASSED [ 93%] tests/unit/utils_test.py::ParseDeviceTest::test_full_string_definition PASSED [ 93%] tests/unit/utils_test.py::ParseDeviceTest::test_hybrid_list PASSED [ 93%] tests/unit/utils_test.py::ParseDeviceTest::test_partial_string_definition PASSED [ 93%] tests/unit/utils_test.py::ParseDeviceTest::test_permissionless_string_definition PASSED [ 93%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_float PASSED [ 93%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_invalid PASSED [ 94%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_valid PASSED [ 94%] tests/unit/utils_test.py::UtilsTest::test_convert_filters PASSED [ 94%] tests/unit/utils_test.py::UtilsTest::test_decode_json_header PASSED [ 94%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_bytes SKIPPED [ 94%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_unicode PASSED [ 94%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links_as_list_of_tuples PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_lxc_conf PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_lxc_conf_compat PASSED [ 8%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mac_address PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_int PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_g_unit PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_k_unit PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_m_unit PASSED [ 9%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_wrong_value PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_multiple_links PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_named_volume PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_port_binds PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_ports PASSED [ 10%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_restart_policy PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stdin_open PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stop_signal PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_sysctl PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_dict PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_list PASSED [ 11%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_unicode_envvars PASSED [ 12%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_volume_string PASSED [ 12%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_working_dir PASSED [ 12%] tests/unit/api_container_test.py::CreateContainerTest::test_create_named_container PASSED [ 12%] tests/unit/api_container_test.py::ContainerTest::test_container_stats PASSED [ 12%] tests/unit/api_container_test.py::ContainerTest::test_container_top PASSED [ 12%] tests/unit/api_container_test.py::ContainerTest::test_container_top_with_psargs PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_container_update PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_diff PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_diff_with_dict_instead_of_id PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_export PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_export_with_dict_instead_of_id PASSED [ 13%] tests/unit/api_container_test.py::ContainerTest::test_inspect_container PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_inspect_container_undefined_id PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_kill_container PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_dict_instead_of_id PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_signal PASSED [ 14%] tests/unit/api_container_test.py::ContainerTest::test_list_containers PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_following PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_following_backwards PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_since PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_since_with_datetime PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_since_with_invalid_value_raises_error PASSED [ 15%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming_and_following PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_log_tail PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_log_tty PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_logs PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_logs_with_dict_instead_of_id PASSED [ 16%] tests/unit/api_container_test.py::ContainerTest::test_pause_container PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_port PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_remove_container PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_remove_container_with_dict_instead_of_id PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_rename_container PASSED [ 17%] tests/unit/api_container_test.py::ContainerTest::test_resize_container PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_restart_container PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_restart_container_with_dict_instead_of_id PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_stop_container PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_stop_container_with_dict_instead_of_id PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_unpause_container PASSED [ 18%] tests/unit/api_container_test.py::ContainerTest::test_wait PASSED [ 19%] tests/unit/api_container_test.py::ContainerTest::test_wait_with_dict_instead_of_id PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_create PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_resize PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_start PASSED [ 19%] tests/unit/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_commit PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_get_image PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_image_history PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_image_ids PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_image_viz PASSED [ 20%] tests/unit/api_image_test.py::ImageTest::test_images PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_images_filters PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_images_name PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_images_quiet PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_import_image PASSED [ 21%] tests/unit/api_image_test.py::ImageTest::test_import_image_from_bytes PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_import_image_from_image PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_inspect_image PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_inspect_image_undefined_id PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_load_image PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_load_image_quiet PASSED [ 22%] tests/unit/api_image_test.py::ImageTest::test_pull PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_pull_stream PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_push_image PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_push_image_stream PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_push_image_with_auth PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_push_image_with_tag PASSED [ 23%] tests/unit/api_image_test.py::ImageTest::test_remove_image PASSED [ 24%] tests/unit/api_image_test.py::ImageTest::test_tag_image PASSED [ 24%] tests/unit/api_image_test.py::ImageTest::test_tag_image_force PASSED [ 24%] tests/unit/api_image_test.py::ImageTest::test_tag_image_tag PASSED [ 24%] tests/unit/api_network_test.py::NetworkTest::test_connect_container_to_network PASSED [ 24%] tests/unit/api_network_test.py::NetworkTest::test_create_network PASSED [ 25%] tests/unit/api_network_test.py::NetworkTest::test_disconnect_container_from_network PASSED [ 25%] tests/unit/api_network_test.py::NetworkTest::test_inspect_network PASSED [ 25%] tests/unit/api_network_test.py::NetworkTest::test_list_networks PASSED [ 25%] tests/unit/api_network_test.py::NetworkTest::test_remove_network PASSED [ 25%] tests/unit/api_test.py::DockerApiTest::test_auto_retrieve_server_version PASSED [ 25%] tests/unit/api_test.py::DockerApiTest::test_create_host_config_secopt PASSED [ 26%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_matching_internal_port_ranges PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_matching_internal_ports PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_nonmatching_internal_port_ranges PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_nonmatching_internal_ports PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_one_port PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_port_range PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_host_only_with_colon PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_non_matching_length_port_ranges PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_port_and_range_invalid PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_port_only_with_colon PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_split_port_empty_string PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_split_port_invalid PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_invalid_protocol PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_no_host_port PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_non_string PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_random_port_range_with_host_port PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_range_no_host_port PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_range_with_host_ip_no_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_range_with_host_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_range_with_protocol PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_ip PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_ip_no_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_with_ipv6_address PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_ipv6_square_brackets_address PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_protocol PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_with_no_container_port PASSED [ 99%] tests/unit/utils_test.py::FormatEnvironmentTest::test_format_env_binary_unicode_value PASSED [ 99%] tests/unit/api_test.py::DockerApiTest::test_ctor PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_events PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_events_with_filters PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_events_with_since_until PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_info PASSED [ 26%] tests/unit/api_test.py::DockerApiTest::test_login PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_remove_link PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_retrieve_server_version PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_search PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_stream_helper_decoding PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http PASSED [ 27%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http_unix_triple_slash PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_tcp PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix_triple_slash PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_invalid_resource PASSED [ 28%] tests/unit/api_test.py::DockerApiTest::test_url_no_resource PASSED [ 29%] tests/unit/api_test.py::DockerApiTest::test_url_unversioned_api PASSED [ 29%] tests/unit/api_test.py::DockerApiTest::test_url_valid_resource PASSED [ 29%] tests/unit/api_test.py::DockerApiTest::test_version PASSED [ 29%] tests/unit/api_test.py::DockerApiTest::test_version_no_api_version PASSED [ 29%] tests/unit/api_test.py::UnixSocketStreamTest::test_early_stream_response PASSED [ 29%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty_demux PASSED [ 30%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_default PASSED [ 30%] tests/unit/utils_test.py::FormatEnvironmentTest::test_format_env_no_value PASSED [100%] =============================== warnings summary =============================== /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23 /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working from collections import MutableMapping -- Docs: https://docs.pytest.org/en/latest/warnings.html ---------- coverage: platform linux, python 3.7.10-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 41 93 21 63% docker/api/client.py 261 64 96 12 75% docker/api/config.py 31 19 6 0 32% docker/api/container.py 266 72 104 25 65% docker/api/daemon.py 39 4 14 4 85% docker/api/exec_api.py 46 11 22 9 68% docker/api/image.py 160 43 60 14 70% docker/api/network.py 90 35 48 11 51% docker/api/plugin.py 91 68 14 0 22% docker/api/secret.py 36 23 10 0 28% docker/api/service.py 200 176 149 0 7% docker/api/swarm.py 106 67 38 1 28% docker/api/volume.py 38 9 14 2 71% docker/auth.py 198 16 74 16 88% docker/client.py 69 9 2 0 87% docker/constants.py 21 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 41 38 8 39% docker/context/config.py 61 33 16 2 42% docker/context/context.py 154 96 64 6 29% docker/credentials/__init__.py 3 0 0 0 100% docker/credentials/constants.py 4 0 0 0 100% docker/credentials/errors.py 11 4 2 0 54% docker/credentials/store.py 50 35 16 0 23% docker/credentials/utils.py 23 18 12 0 14% docker/errors.py 110 26 20 4 71% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 2 0 57% docker/models/containers.py 183 11 70 9 91% docker/models/images.py 137 55 56 4 52% docker/models/networks.py 37 7 12 3 71% docker/models/nodes.py 15 5 2 0 59% docker/models/plugins.py 49 30 10 0 32% docker/models/resource.py 41 10 6 3 72% docker/models/secrets.py 22 4 2 0 75% docker/models/services.py 87 35 36 4 59% docker/models/swarm.py 39 21 6 0 40% docker/models/volumes.py 23 10 4 0 48% docker/tls.py 37 6 14 6 76% docker/transport/__init__.py 11 3 0 0 73% docker/transport/basehttpadapter.py 6 0 2 1 88% docker/transport/npipeconn.py 59 54 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/sshconn.py 163 106 56 4 30% docker/transport/ssladapter.py 36 10 10 4 65% docker/transport/unixconn.py 66 6 12 4 87% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 0 2 0 100% docker/types/containers.py 420 79 326 43 81% docker/types/daemon.py 36 24 14 0 24% docker/types/healthcheck.py 34 20 4 0 37% docker/types/networks.py 41 11 28 9 65% docker/types/services.py 314 140 208 39 50% docker/types/swarm.py 51 45 40 0 7% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 155 27 76 10 81% docker/utils/config.py 36 1 10 1 96% docker/utils/decorators.py 32 1 12 1 95% docker/utils/fnmatch.py 55 18 28 2 61% docker/utils/json_stream.py 43 8 14 2 79% docker/utils/ports.py 50 3 32 2 91% docker/utils/proxy.py 32 1 12 0 98% docker/utils/socket.py 86 10 40 8 84% docker/utils/utils.py 278 18 171 13 92% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5131 1829 2263 307 60% =========================== short test summary info ============================ XFAIL tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows SKIPPED [1] tests/unit/api_build_test.py:169: Windows-specific syntax SKIPPED [1] tests/unit/client_test.py:103: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/client_test.py:142: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/client_test.py:216: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/client_test.py:253: 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:232: Backslash patterns only on Windows SKIPPED [1] tests/unit/utils_build_test.py:254: Backslash patterns only on Windows SKIPPED [1] tests/unit/utils_build_test.py:402: root user always has access ; no chmod on Windows SKIPPED [1] tests/unit/utils_config_test.py:58: condition: sys.platform != 'win32' SKIPPED [1] tests/unit/utils_test.py:478: shlex doesn't support bytes in py3 ======== 560 passed, 11 skipped, 1 xfailed, 1 warnings in 6.27 seconds ========= tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty_demux PASSED [ 30%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_root PASSED [ 30%] [Pipeline] sh tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty PASSED [ 30%] + docker network create dpy-testnet-3-0-py3.7-20.10.6 tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty_demux PASSED [ 30%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty PASSED [ 31%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_user PASSED [ 30%] 3ec8f6e547e1d4fd3b1dfb570943017227a22caec2557f8c3bed7ed41fb6da1b [Pipeline] sh + docker run --rm -d --name dpy-dind-3-0-py3.7-20.10.6 -v /tmp --privileged --network dpy-testnet-3-0-py3.7-20.10.6 dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 dockerd -H tcp://0.0.0.0:2375 Unable to find image 'dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0' locally sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0: Pulling from dockerpinata/docker-py df20fa9351a1: Pulling fs layer 25ad7478873d: Pulling fs layer 4684f6177b5d: Pulling fs layer 46e300cec669: Pulling fs layer 63038576ad94: Pulling fs layer 0fdb76c4706c: Pulling fs layer cb7edeffdfd5: Pulling fs layer cc28bd76800f: Pulling fs layer 54196fe38f7e: Pulling fs layer ea71acc29633: Pulling fs layer 657cc4c15165: Pulling fs layer c1e68edff292: Pulling fs layer 51586e744eb8: Pulling fs layer e70f420e4f15: Pulling fs layer 5da3b3e2c0ba: Pulling fs layer 16dacd4276b0: Pulling fs layer 6973ea1cfe9d: Pulling fs layer 4e1857cc653e: Pulling fs layer ea71acc29633: Waiting 657cc4c15165: Waiting c1e68edff292: Waiting 51586e744eb8: Waiting e70f420e4f15: Waiting 5da3b3e2c0ba: Waiting 16dacd4276b0: Waiting 6973ea1cfe9d: Waiting 4e1857cc653e: Waiting 0fdb76c4706c: Waiting cb7edeffdfd5: Waiting cc28bd76800f: Waiting 54196fe38f7e: Waiting 46e300cec669: Waiting 63038576ad94: Waiting tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty_demux PASSED [ 31%] tests/unit/api_test.py::UserAgentTest::test_custom_user_agent PASSED [ 31%] tests/unit/api_test.py::UserAgentTest::test_default_user_agent PASSED [ 31%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout PASSED [ 31%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout2 PASSED [ 31%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timout_non_blocking PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_invalid_opts_type PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_driver PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_invalid_labels PASSED [ 32%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_labels PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_no_specified_name PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_inspect_volume PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes_and_filters PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_remove_volume PASSED [ 33%] tests/unit/auth_test.py::RegressionTest::test_803_urlsafe_encode PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image PASSED [ 34%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_localhost PASSED [ 35%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_streaming PASSED [ 30%] 4684f6177b5d: Verifying Checksum 4684f6177b5d: Download complete df20fa9351a1: Verifying Checksum df20fa9351a1: Download complete 25ad7478873d: Verifying Checksum 25ad7478873d: Download complete 63038576ad94: Verifying Checksum 63038576ad94: Download complete 0fdb76c4706c: Verifying Checksum 0fdb76c4706c: Download complete tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_localhost_with_username PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_no_dots_but_port PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_no_dots_but_port_and_username PASSED [ 35%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry PASSED [ 36%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_port PASSED [ 36%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_username PASSED [ 36%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_auth_with_empty_credstore_and_auth_dict PASSED [ 36%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_explicit_none PASSED [ 36%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_registry PASSED [ 36%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_fully_explicit PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_hostname_only PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_legacy_config PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_match PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_trailing_slash PASSED [ 37%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_insecure_proto PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_secure_proto PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_protocol PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_path_wrong_proto PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_explicit_hub PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_explicit_legacy_hub PASSED [ 38%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_hub_image PASSED [ 39%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_library_image PASSED [ 39%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_private_registry PASSED [ 39%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_unauthenticated_registry PASSED [ 39%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env PASSED [ 39%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_utf8 PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_with_auths PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_identity_token PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_invalid_auth_dict PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys PASSED [ 40%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_with_random_name PASSED [ 41%] tests/unit/auth_test.py::LoadConfigTest::test_load_json_config PASSED [ 41%] tests/unit/auth_test.py::LoadConfigTest::test_load_legacy_config PASSED [ 41%] tests/unit/auth_test.py::LoadConfigTest::test_load_modern_json_config PASSED [ 41%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_3_sources PASSED [ 41%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_credstore_only PASSED [ 41%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_credstore_overrides_auth_entry PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_helpers_override_default PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_auths_entries PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_credhelpers_only PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_auths_entry PASSED [ 42%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_credhelper PASSED [ 43%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store PASSED [ 43%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_default_index PASSED [ 43%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_no_default PASSED [ 43%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_with_plain_dict PASSED [ 43%] tests/unit/client_test.py::ClientTest::test_call_api_client_method PASSED [ 43%] tests/unit/client_test.py::ClientTest::test_call_containers PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_default_pool_size_unix PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_default_pool_size_win SKIPPED [ 44%] tests/unit/client_test.py::ClientTest::test_events PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_info PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_ping PASSED [ 44%] tests/unit/client_test.py::ClientTest::test_pool_size_unix PASSED [ 45%] tests/unit/client_test.py::ClientTest::test_pool_size_win SKIPPED [ 45%] tests/unit/client_test.py::ClientTest::test_version PASSED [ 45%] tests/unit/client_test.py::FromEnvTest::test_default_pool_size_from_env_unix PASSED [ 45%] tests/unit/client_test.py::FromEnvTest::test_default_pool_size_from_env_win SKIPPED [ 45%] tests/unit/client_test.py::FromEnvTest::test_from_env PASSED [ 45%] tests/unit/client_test.py::FromEnvTest::test_from_env_with_version PASSED [ 46%] tests/unit/client_test.py::FromEnvTest::test_from_env_without_timeout_uses_default PASSED [ 46%] tests/unit/client_test.py::FromEnvTest::test_from_env_without_version_uses_default PASSED [ 46%] tests/unit/client_test.py::FromEnvTest::test_pool_size_from_env_unix PASSED [ 46%] tests/unit/client_test.py::FromEnvTest::test_pool_size_from_env_win SKIPPED [ 46%] tests/unit/context_test.py::BaseContextTest::test_context_inspect_without_params PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_default_in_context_list PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_fail_on_default_context_create PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_get_current_context PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_https_host PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_url_compatibility_on_linux PASSED [ 47%] tests/unit/context_test.py::BaseContextTest::test_url_compatibility_on_windows SKIPPED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_cfs_types PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_count_types PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_percent_types PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_mem_swappiness PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_nano_cpus_types PASSED [ 48%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_pid_mode PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_blkio_constraints PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_count PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_percent PASSED [ 49%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_period PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_quota PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period_types PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_runtime PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_dns_opt PASSED [ 50%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_isolation PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_kernel_memory PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_mem_reservation PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_nano_cpus PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_oom_kill_disable PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_oom_score_adj PASSED [ 51%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_pids_limit PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size_in_mb PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_userns_mode PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_uts PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_volume_driver PASSED [ 52%] tests/unit/dockertypes_test.py::HostConfigTest::test_ctrate_host_config_with_cpu_rt_runtime_types PASSED [ 53%] tests/unit/dockertypes_test.py::ContainerSpecTest::test_parse_mounts PASSED [ 53%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_dict_ulimit PASSED [ 53%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_dict_ulimit_capitals PASSED [ 53%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_obj_ulimit PASSED [ 53%] tests/unit/dockertypes_test.py::UlimitTest::test_ulimit_invalid_type PASSED [ 54%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_dict_logconfig PASSED [ 54%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_string PASSED [ 31%] cc28bd76800f: Verifying Checksum cc28bd76800f: Download complete df20fa9351a1: Pull complete cb7edeffdfd5: Verifying Checksum cb7edeffdfd5: Download complete 54196fe38f7e: Verifying Checksum 54196fe38f7e: Download complete ea71acc29633: Verifying Checksum ea71acc29633: Download complete 657cc4c15165: Verifying Checksum 657cc4c15165: Download complete 51586e744eb8: Verifying Checksum 51586e744eb8: Download complete tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_obj_logconfig PASSED [ 54%] tests/unit/dockertypes_test.py::LogConfigTest::test_logconfig_invalid_config_type PASSED [ 54%] tests/unit/dockertypes_test.py::EndpointConfigTest::test_create_endpoint_config_with_aliases PASSED [ 54%] tests/unit/dockertypes_test.py::IPAMConfigTest::test_create_ipam_config PASSED [ 54%] tests/unit/dockertypes_test.py::ServiceModeTest::test_global_replicas_error PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_global_simple PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_invalid_mode PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas_0 PASSED [ 55%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_simple PASSED [ 55%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows XFAIL [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_named_volume PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_invalid PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_no_source PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_ro PASSED [ 56%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_rw PASSED [ 57%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_short_form PASSED [ 57%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_invalid PASSED [ 57%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_multiple PASSED [ 57%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_no_protocol_and_mode PASSED [ 57%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_simple PASSED [ 58%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_with_protocol PASSED [ 58%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_with_protocol_and_mode PASSED [ 58%] tests/unit/errors_test.py::APIErrorTest::test_api_error_is_caught_by_dockerexception PASSED [ 58%] tests/unit/errors_test.py::APIErrorTest::test_create_error_from_exception PASSED [ 58%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_400 PASSED [ 58%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_500 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_error_300 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_error_400 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_error_500 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_200 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_300 PASSED [ 59%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_400 PASSED [ 60%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_500 PASSED [ 60%] tests/unit/errors_test.py::APIErrorTest::test_status_code_200 PASSED [ 60%] tests/unit/errors_test.py::APIErrorTest::test_status_code_400 PASSED [ 60%] tests/unit/errors_test.py::APIErrorTest::test_status_code_500 PASSED [ 60%] tests/unit/errors_test.py::ContainerErrorTest::test_container_with_stderr PASSED [ 61%] tests/unit/errors_test.py::ContainerErrorTest::test_container_without_stderr PASSED [ 61%] tests/unit/errors_test.py::CreateUnexpectedKwargsErrorTest::test_create_unexpected_kwargs_error_multiple PASSED [ 61%] tests/unit/errors_test.py::CreateUnexpectedKwargsErrorTest::test_create_unexpected_kwargs_error_single PASSED [ 61%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create PASSED [ 61%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create_container_args PASSED [ 61%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create_with_image_object PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list_ignore_removed PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 62%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_pull PASSED [ 63%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_remove PASSED [ 63%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_with_error PASSED [ 63%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_with_image_object PASSED [ 63%] tests/unit/models_containers_test.py::ContainerTest::test_attach PASSED [ 63%] tests/unit/models_containers_test.py::ContainerTest::test_commit PASSED [ 63%] tests/unit/models_containers_test.py::ContainerTest::test_diff PASSED [ 64%] c1e68edff292: Verifying Checksum c1e68edff292: Download complete e70f420e4f15: Verifying Checksum e70f420e4f15: Download complete 25ad7478873d: Pull complete 16dacd4276b0: Verifying Checksum 16dacd4276b0: Download complete 5da3b3e2c0ba: Verifying Checksum 5da3b3e2c0ba: Download complete 4e1857cc653e: Verifying Checksum 4e1857cc653e: Download complete 4684f6177b5d: Pull complete 6973ea1cfe9d: Download complete tests/unit/models_containers_test.py::ContainerTest::test_exec_run PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run_failure PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_export PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_get_archive PASSED [ 64%] tests/unit/models_containers_test.py::ContainerTest::test_image PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_kill PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_labels PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_logs PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_name PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_pause PASSED [ 65%] tests/unit/models_containers_test.py::ContainerTest::test_put_archive PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_remove PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_rename PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_resize PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_restart PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_start PASSED [ 66%] tests/unit/models_containers_test.py::ContainerTest::test_stats PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_status PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_stop PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_top PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_unpause PASSED [ 67%] tests/unit/models_containers_test.py::ContainerTest::test_update PASSED [ 68%] tests/unit/models_containers_test.py::ContainerTest::test_wait PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_build PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_get PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_labels PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_list PASSED [ 68%] tests/unit/models_images_test.py::ImageCollectionTest::test_load PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_tag_precedence PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_with_stream_param PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_push PASSED [ 69%] tests/unit/models_images_test.py::ImageCollectionTest::test_remove PASSED [ 70%] tests/unit/models_images_test.py::ImageCollectionTest::test_search PASSED [ 70%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_env PASSED [ 31%] tests/unit/models_images_test.py::ImageCollectionTest::test_search_limit PASSED [ 70%] tests/unit/models_images_test.py::ImageTest::test_history PASSED [ 70%] tests/unit/models_images_test.py::ImageTest::test_save PASSED [ 70%] tests/unit/models_images_test.py::ImageTest::test_short_id PASSED [ 70%] tests/unit/models_images_test.py::ImageTest::test_tag PASSED [ 71%] tests/unit/models_images_test.py::ImageTest::test_tags PASSED [ 71%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 71%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 71%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_list PASSED [ 71%] tests/unit/models_networks_test.py::NetworkTest::test_connect PASSED [ 72%] tests/unit/models_networks_test.py::NetworkTest::test_disconnect PASSED [ 72%] tests/unit/models_networks_test.py::NetworkTest::test_remove PASSED [ 72%] tests/unit/models_resources_test.py::ModelTest::test_hash PASSED [ 72%] tests/unit/models_resources_test.py::ModelTest::test_reload PASSED [ 72%] tests/unit/models_secrets_test.py::CreateServiceTest::test_secrets_repr PASSED [ 72%] tests/unit/models_services_test.py::CreateServiceKwargsTest::test_get_create_service_kwargs PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_hostname_prefix_trim PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_parse_hostname_and_port PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_parse_hostname_only PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_parse_url PASSED [ 73%] tests/unit/sshadapter_test.py::SSHAdapterTest::test_ssh_parse_user_and_hostname PASSED [ 73%] tests/unit/ssladapter_test.py::SSLAdapterTest::test_only_uses_tls PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_dns_failure PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_dns_success PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_ip_address_failure PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_ip_address_success PASSED [ 74%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_localhost_success PASSED [ 75%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm PASSED [ 75%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm_no_listen_address_takes_default PASSED [ 75%] tests/unit/swarm_test.py::SwarmTest::test_node_update PASSED [ 75%] tests/unit/types_containers_test.py::test_uid_0_is_not_elided PASSED [ 75%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory PASSED [ 75%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_single_exception PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_subdir_exception PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_subdir_exception_win32_pathsep SKIPPED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_trailing_slash PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_wildcard_exception PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard PASSED [ 76%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard_with_exception PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_custom_dockerfile PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_dockerfile_child PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_dockerfile_dockerignore PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_include_absolute_path PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_include_wildcard PASSED [ 77%] tests/unit/utils_build_test.py::ExcludePathsTest::test_last_line_precedence PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_dupes PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_excludes PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_parent_directory PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_question_mark PASSED [ 78%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_and_double_wildcard PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename_leading_dot_slash PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename_trailing_slash PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_single_filename PASSED [ 79%] 46e300cec669: Verifying Checksum 46e300cec669: Download complete tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_single_filename_leading_slash PASSED [ 79%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_wildcard_filename PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_with_path_traversal PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory_win32_pathsep SKIPPED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_trailing_double_wildcard PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_exclude PASSED [ 80%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_filename_end PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_filename_start PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_subdir_single_filename PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_subdir_wildcard_filename PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_exception PASSED [ 81%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_wildcard_exception PASSED [ 81%] tests/unit/utils_build_test.py::TarTest::test_tar_directory_link PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_socket_file PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_with_broken_symlinks PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_with_directory_symlinks PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_with_empty_directory PASSED [ 82%] tests/unit/utils_build_test.py::TarTest::test_tar_with_excludes PASSED [ 83%] tests/unit/utils_build_test.py::TarTest::test_tar_with_file_symlinks PASSED [ 83%] tests/unit/utils_build_test.py::TarTest::test_tar_with_inaccessible_file SKIPPED [ 83%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_fallback PASSED [ 83%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_environment PASSED [ 83%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_explicit_path PASSED [ 83%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_legacy_name PASSED [ 84%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_posix PASSED [ 84%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_windows SKIPPED [ 84%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_custom_headers PASSED [ 84%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_detach_keys PASSED [ 84%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_from_env PASSED [ 84%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_no_object PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_with_object PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_leading_whitespace PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestStreamAsText::test_stream_with_non_utf_unicode_character PASSED [ 85%] tests/unit/utils_json_stream_test.py::TestStreamAsText::test_stream_with_utf_character PASSED [ 86%] tests/unit/utils_json_stream_test.py::TestJsonStream::test_with_falsy_entries PASSED [ 86%] tests/unit/utils_json_stream_test.py::TestJsonStream::test_with_leading_whitespace PASSED [ 86%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_environment PASSED [ 86%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_from_dict PASSED [ 86%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_inject_proxy_environment PASSED [ 86%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_new PASSED [ 87%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_truthiness PASSED [ 87%] tests/unit/utils_test.py::DecoratorsTest::test_update_headers PASSED [ 87%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_alternate_env PASSED [ 87%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_empty PASSED [ 87%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_no_cert_path PASSED [ 87%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls PASSED [ 88%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false PASSED [ 88%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false_no_cert PASSED [ 88%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_compact PASSED [ 88%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_complete PASSED [ 88%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_empty PASSED [ 88%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_list PASSED [ 89%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_no_mode PASSED [ 89%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_unicode_bytes_input PASSED [ 89%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_unicode_unicode_input PASSED [ 89%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_commented_line PASSED [ 89%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_invalid_line PASSED [ 90%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_newline PASSED [ 90%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_proper PASSED [ 90%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_with_equals_character PASSED [ 90%] tests/unit/utils_test.py::ParseHostTest::test_parse_host PASSED [ 90%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_empty_value PASSED [ 90%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls PASSED [ 91%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls_tcp_proto PASSED [ 91%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_trailing_slash PASSED [ 91%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_no_tag PASSED [ 91%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_sha PASSED [ 91%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_tag PASSED [ 91%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_user_image_no_tag PASSED [ 92%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_user_image_tag PASSED [ 92%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_no_tag PASSED [ 92%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_sha PASSED [ 92%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_tag PASSED [ 92%] tests/unit/utils_test.py::ParseDeviceTest::test_dict PASSED [ 93%] tests/unit/utils_test.py::ParseDeviceTest::test_full_string_definition PASSED [ 93%] tests/unit/utils_test.py::ParseDeviceTest::test_hybrid_list PASSED [ 93%] tests/unit/utils_test.py::ParseDeviceTest::test_partial_string_definition PASSED [ 93%] tests/unit/utils_test.py::ParseDeviceTest::test_permissionless_string_definition PASSED [ 93%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_float PASSED [ 93%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_invalid PASSED [ 94%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_valid PASSED [ 94%] tests/unit/utils_test.py::UtilsTest::test_convert_filters PASSED [ 94%] tests/unit/utils_test.py::UtilsTest::test_decode_json_header PASSED [ 94%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_bytes SKIPPED [ 94%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_unicode PASSED [ 94%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_matching_internal_port_ranges PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_matching_internal_ports PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_nonmatching_internal_port_ranges PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_nonmatching_internal_ports PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_one_port PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_port_range PASSED [ 95%] tests/unit/utils_test.py::PortsTest::test_host_only_with_colon PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_non_matching_length_port_ranges PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_port_and_range_invalid PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_port_only_with_colon PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_split_port_empty_string PASSED [ 96%] tests/unit/utils_test.py::PortsTest::test_split_port_invalid PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_invalid_protocol PASSED [ 97%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_workdir PASSED [ 31%] tests/unit/utils_test.py::PortsTest::test_split_port_no_host_port PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_non_string PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_random_port_range_with_host_port PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_range_no_host_port PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_split_port_range_with_host_ip_no_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_range_with_host_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_range_with_protocol PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_ip PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_ip_no_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_with_ipv6_address PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_ipv6_square_brackets_address PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_protocol PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_with_no_container_port PASSED [ 99%] tests/unit/utils_test.py::FormatEnvironmentTest::test_format_env_binary_unicode_value PASSED [ 99%] tests/integration/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 31%] tests/unit/utils_test.py::FormatEnvironmentTest::test_format_env_no_value PASSED [100%] =============================== warnings summary =============================== /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23 /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working from collections import MutableMapping -- Docs: https://docs.pytest.org/en/latest/warnings.html ---------- coverage: platform linux, python 3.7.10-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 41 93 21 63% docker/api/client.py 261 64 96 12 75% docker/api/config.py 31 19 6 0 32% docker/api/container.py 266 72 104 25 65% docker/api/daemon.py 39 4 14 4 85% docker/api/exec_api.py 46 11 22 9 68% docker/api/image.py 160 43 60 14 70% docker/api/network.py 90 35 48 11 51% docker/api/plugin.py 91 68 14 0 22% docker/api/secret.py 36 23 10 0 28% docker/api/service.py 200 176 149 0 7% docker/api/swarm.py 106 67 38 1 28% docker/api/volume.py 38 9 14 2 71% docker/auth.py 198 16 74 16 88% docker/client.py 69 9 2 0 87% docker/constants.py 21 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 41 38 8 39% docker/context/config.py 61 33 16 2 42% docker/context/context.py 154 96 64 6 29% docker/credentials/__init__.py 3 0 0 0 100% docker/credentials/constants.py 4 0 0 0 100% docker/credentials/errors.py 11 4 2 0 54% docker/credentials/store.py 50 35 16 0 23% docker/credentials/utils.py 23 18 12 0 14% docker/errors.py 110 26 20 4 71% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 2 0 57% docker/models/containers.py 183 11 70 9 91% docker/models/images.py 137 55 56 4 52% docker/models/networks.py 37 7 12 3 71% docker/models/nodes.py 15 5 2 0 59% docker/models/plugins.py 49 30 10 0 32% docker/models/resource.py 41 10 6 3 72% docker/models/secrets.py 22 4 2 0 75% docker/models/services.py 87 35 36 4 59% docker/models/swarm.py 39 21 6 0 40% docker/models/volumes.py 23 10 4 0 48% docker/tls.py 37 6 14 6 76% docker/transport/__init__.py 11 3 0 0 73% docker/transport/basehttpadapter.py 6 0 2 1 88% docker/transport/npipeconn.py 59 54 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/sshconn.py 163 106 56 4 30% docker/transport/ssladapter.py 36 10 10 4 65% docker/transport/unixconn.py 66 6 12 4 87% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 0 2 0 100% docker/types/containers.py 420 79 326 43 81% docker/types/daemon.py 36 24 14 0 24% docker/types/healthcheck.py 34 20 4 0 37% docker/types/networks.py 41 11 28 9 65% docker/types/services.py 314 140 208 39 50% docker/types/swarm.py 51 45 40 0 7% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 155 27 76 10 81% docker/utils/config.py 36 1 10 1 96% docker/utils/decorators.py 32 1 12 1 95% docker/utils/fnmatch.py 55 18 28 2 61% docker/utils/json_stream.py 43 8 14 2 79% docker/utils/ports.py 50 3 32 2 91% docker/utils/proxy.py 32 1 12 0 98% docker/utils/socket.py 86 10 40 8 84% docker/utils/utils.py 278 18 171 13 92% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5131 1829 2263 307 60% =========================== short test summary info ============================ XFAIL tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows SKIPPED [1] tests/unit/api_build_test.py:169: Windows-specific syntax SKIPPED [1] tests/unit/client_test.py:103: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/client_test.py:142: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/client_test.py:216: Npipe Connection Pool only on Windows SKIPPED [1] tests/unit/client_test.py:253: 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:232: Backslash patterns only on Windows SKIPPED [1] tests/unit/utils_build_test.py:254: Backslash patterns only on Windows SKIPPED [1] tests/unit/utils_build_test.py:402: root user always has access ; no chmod on Windows SKIPPED [1] tests/unit/utils_config_test.py:58: condition: sys.platform != 'win32' SKIPPED [1] tests/unit/utils_test.py:478: shlex doesn't support bytes in py3 ======== 560 passed, 11 skipped, 1 xfailed, 1 warnings in 6.25 seconds ========= tests/integration/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 32%] [Pipeline] sh + docker network create dpy-testnet-3-0-py3.7-19.03.13 tests/integration/api_exec_test.py::ExecTest::test_exec_start_socket PASSED [ 32%] 0ced0f3eceb2a6d08703f40f632490f3411e019c77f447ac1ee2f52042aae88d [Pipeline] sh tests/integration/api_exec_test.py::ExecTest::test_execute_command PASSED [ 32%] 46e300cec669: Pull complete 63038576ad94: Pull complete 0fdb76c4706c: Pull complete cb7edeffdfd5: Pull complete + docker run --rm -d --name dpy-dind-3-0-py3.7-19.03.13 -v /tmp --privileged --network dpy-testnet-3-0-py3.7-19.03.13 dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 dockerd -H tcp://0.0.0.0:2375 Unable to find image 'dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0' locally cc28bd76800f: Pull complete 54196fe38f7e: Pull complete sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0: Pulling from dockerpinata/docker-py df20fa9351a1: Pulling fs layer 25ad7478873d: Pulling fs layer 4684f6177b5d: Pulling fs layer 46e300cec669: Pulling fs layer 63038576ad94: Pulling fs layer 0fdb76c4706c: Pulling fs layer cb7edeffdfd5: Pulling fs layer cc28bd76800f: Pulling fs layer 54196fe38f7e: Pulling fs layer ea71acc29633: Pulling fs layer 657cc4c15165: Pulling fs layer c1e68edff292: Pulling fs layer 51586e744eb8: Pulling fs layer e70f420e4f15: Pulling fs layer 5da3b3e2c0ba: Pulling fs layer 16dacd4276b0: Pulling fs layer 6973ea1cfe9d: Pulling fs layer 4e1857cc653e: Pulling fs layer cb7edeffdfd5: Waiting cc28bd76800f: Waiting 54196fe38f7e: Waiting ea71acc29633: Waiting 657cc4c15165: Waiting c1e68edff292: Waiting 51586e744eb8: Waiting e70f420e4f15: Waiting 46e300cec669: Waiting 63038576ad94: Waiting 0fdb76c4706c: Waiting 5da3b3e2c0ba: Waiting 16dacd4276b0: Waiting 6973ea1cfe9d: Waiting 4e1857cc653e: Waiting 4684f6177b5d: Verifying Checksum 4684f6177b5d: Download complete df20fa9351a1: Verifying Checksum df20fa9351a1: Download complete 25ad7478873d: Verifying Checksum 25ad7478873d: Download complete 0fdb76c4706c: Verifying Checksum 0fdb76c4706c: Download complete 63038576ad94: Verifying Checksum 63038576ad94: Download complete ea71acc29633: Pull complete 657cc4c15165: Pull complete tests/integration/api_exec_test.py::ExecTest::test_execute_command_with_proxy_env PASSED [ 32%] cb7edeffdfd5: Verifying Checksum cb7edeffdfd5: Download complete 54196fe38f7e: Verifying Checksum 54196fe38f7e: Download complete cc28bd76800f: Verifying Checksum cc28bd76800f: Download complete df20fa9351a1: Pull complete ea71acc29633: Verifying Checksum ea71acc29633: Download complete 657cc4c15165: Verifying Checksum 657cc4c15165: Download complete 51586e744eb8: Verifying Checksum 51586e744eb8: Download complete c1e68edff292: Pull complete 51586e744eb8: Pull complete e70f420e4f15: Pull complete c1e68edff292: Verifying Checksum c1e68edff292: Download complete e70f420e4f15: Verifying Checksum e70f420e4f15: Download complete 5da3b3e2c0ba: Verifying Checksum 5da3b3e2c0ba: Download complete 16dacd4276b0: Verifying Checksum 16dacd4276b0: Download complete 6973ea1cfe9d: Verifying Checksum 6973ea1cfe9d: Download complete 4e1857cc653e: Verifying Checksum 4e1857cc653e: Download complete 5da3b3e2c0ba: Pull complete 16dacd4276b0: Pull complete 6973ea1cfe9d: Pull complete 25ad7478873d: Pull complete 46e300cec669: Verifying Checksum 46e300cec669: Download complete 4684f6177b5d: Pull complete 4e1857cc653e: Pull complete Digest: sha256:4453cbc5bf8f4114062daae5c21ddfe9c71bf40b21452dd286a1abf3753bcdae Status: Downloaded newer image for dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_demux PASSED [ 33%] 51526ffa382e2e3721f84c188eaa46bad9fb3a753ba2b7da081f87203437b66c tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_no_demux PASSED [ 33%] 46e300cec669: Pull complete 63038576ad94: Pull complete 0fdb76c4706c: Pull complete [Pipeline] sh cb7edeffdfd5: Pull complete cc28bd76800f: Pull complete 54196fe38f7e: Pull complete ea71acc29633: Pull complete + docker run --rm --name dpy-tests-3-0-py3.7-20.10.6 -e DOCKER_HOST=tcp://dpy-dind-3-0-py3.7-20.10.6:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-3-0-py3.7-20.10.6 --volumes-from dpy-dind-3-0-py3.7-20.10.6 -v /home/ubuntu/workspace/docker-py_PR-2843@tmp/03ea3307-6ec1-4fb0-88a4-490e291fa1f8/config.json:/root/.docker/config.json dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 py.test -v -rxs --cov=docker tests/integration tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_demux PASSED [ 33%] 657cc4c15165: Pull complete c1e68edff292: Pull complete 51586e744eb8: Pull complete e70f420e4f15: Pull complete 5da3b3e2c0ba: Pull complete 16dacd4276b0: Pull complete 6973ea1cfe9d: Pull complete 4e1857cc653e: Pull complete Digest: sha256:4453cbc5bf8f4114062daae5c21ddfe9c71bf40b21452dd286a1abf3753bcdae Status: Downloaded newer image for dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_no_demux PASSED [ 33%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_demux PASSED [ 34%] c743a5e0eadf6d88a9fa5063738de43dabaa5c364ba634085a24265ca0a3d093 tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_no_demux PASSED [ 34%] [Pipeline] sh + docker run --rm --name dpy-tests-3-0-py3.7-19.03.13 -e DOCKER_HOST=tcp://dpy-dind-3-0-py3.7-19.03.13:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-3-0-py3.7-19.03.13 --volumes-from dpy-dind-3-0-py3.7-19.03.13 -v /home/ubuntu/workspace/docker-py_PR-2843@tmp/59142ee1-5ded-49f1-9887-96b4e41702f2/config.json:/root/.docker/config.json dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 py.test -v -rxs --cov=docker tests/integration tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_demux PASSED [ 34%] ============================= test session starts ============================== platform linux -- Python 3.7.10, pytest-4.3.1, py-1.10.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: cov-2.6.1, timeout-1.3.3 collecting ... collected 390 items tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux PASSED [ 34%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_fails PASSED [ 35%] ============================= test session starts ============================== platform linux -- Python 3.7.10, pytest-4.3.1, py-1.10.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: cov-2.6.1, timeout-1.3.3 tests/integration/api_build_test.py::BuildTest::test_build_container_with_target PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_from_stringio PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_gzip_custom_encoding PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_gzip_encoding PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 1%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_passes PASSED [ 35%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_shell_command PASSED [ 35%] collecting ... collected 390 items tests/integration/api_build_test.py::BuildTest::test_build_in_context_nested_dockerfile PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_invalid_platform SKIPPED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_isolation PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_labels PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_out_of_context_dockerfile PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_shmsize PASSED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_squash SKIPPED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_container_with_target PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_from_stringio PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_gzip_custom_encoding PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_stderr_data PASSED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_streaming PASSED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_gzip_encoding PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 1%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_start_period PASSED [ 35%] tests/integration/api_image_test.py::ListImagesTest::test_images PASSED [ 36%] tests/integration/api_image_test.py::ListImagesTest::test_images_quiet PASSED [ 36%] tests/integration/api_image_test.py::PullImageTest::test_pull PASSED [ 36%] tests/integration/api_image_test.py::PullImageTest::test_pull_invalid_platform SKIPPED [ 36%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_nested_dockerfile PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_invalid_platform SKIPPED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_isolation PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_labels PASSED [ 2%] tests/integration/api_image_test.py::PullImageTest::test_pull_streaming PASSED [ 37%] tests/integration/api_image_test.py::CommitTest::test_commit PASSED [ 37%] tests/integration/api_image_test.py::CommitTest::test_commit_with_changes PASSED [ 37%] tests/integration/api_build_test.py::BuildTest::test_build_out_of_context_dockerfile PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_shmsize PASSED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_squash SKIPPED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_with_cache_from PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerfile_empty_lines PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_stderr_data PASSED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_streaming PASSED [ 3%] tests/integration/api_image_test.py::RemoveImageTest::test_remove PASSED [ 37%] tests/integration/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 4%] tests/integration/api_image_test.py::ImportImageTest::test_get_load_image PASSED [ 38%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_bytes PASSED [ 38%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_file PASSED [ 38%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_stream PASSED [ 38%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_url SKIPPED [ 39%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_from_data_with_changes PASSED [ 39%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_with_changes PASSED [ 39%] tests/integration/api_image_test.py::PruneImagesTest::test_prune_images PASSED [ 40%] tests/integration/api_image_test.py::SaveLoadImagesTest::test_get_image_load_image PASSED [ 40%] tests/integration/api_image_test.py::InspectDistributionTest::test_inspect_distribution PASSED [ 40%] tests/integration/api_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_cache_from PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerfile_empty_lines PASSED [ 4%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_disconnect_container PASSED [ 40%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 4%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_force_disconnect_container PASSED [ 41%] tests/integration/api_build_test.py::BuildTest::test_build_with_network_mode PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_proxy PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_proxy_and_buildargs PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_prune_builds XPASS [ 6%] tests/integration/api_client_test.py::InformationTest::test_info PASSED [ 6%] tests/integration/api_client_test.py::InformationTest::test_version PASSED [ 6%] tests/integration/api_client_test.py::AutoDetectVersionTest::test_client_init PASSED [ 6%] tests/integration/api_client_test.py::ConnectionTimeoutTest::test_timeout PASSED [ 7%] tests/integration/api_client_test.py::UnixconnTest::test_resource_warnings PASSED [ 7%] tests/integration/api_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 5%] tests/integration/api_network_test.py::TestNetworks::test_connect_on_container_create PASSED [ 41%] tests/integration/api_config_test.py::ConfigAPITest::test_create_config PASSED [ 7%] tests/integration/api_config_test.py::ConfigAPITest::test_create_config_unicode_data PASSED [ 7%] tests/integration/api_config_test.py::ConfigAPITest::test_inspect_config PASSED [ 8%] tests/integration/api_config_test.py::ConfigAPITest::test_list_configs PASSED [ 8%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_aliases PASSED [ 41%] tests/integration/api_config_test.py::ConfigAPITest::test_remove_config PASSED [ 8%] tests/integration/api_container_test.py::ListContainersTest::test_list_containers PASSED [ 8%] tests/integration/api_container_test.py::CreateContainerTest::test_create PASSED [ 9%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv4_address PASSED [ 41%] tests/integration/api_build_test.py::BuildTest::test_build_with_network_mode PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_proxy PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_proxy_and_buildargs PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_prune_builds XPASS [ 6%] tests/integration/api_client_test.py::InformationTest::test_info PASSED [ 6%] tests/integration/api_client_test.py::InformationTest::test_version PASSED [ 6%] tests/integration/api_client_test.py::AutoDetectVersionTest::test_client_init PASSED [ 6%] tests/integration/api_client_test.py::ConnectionTimeoutTest::test_timeout PASSED [ 7%] tests/integration/api_client_test.py::UnixconnTest::test_resource_warnings PASSED [ 7%] tests/integration/api_config_test.py::ConfigAPITest::test_create_config PASSED [ 7%] tests/integration/api_config_test.py::ConfigAPITest::test_create_config_unicode_data PASSED [ 7%] tests/integration/api_config_test.py::ConfigAPITest::test_inspect_config PASSED [ 8%] tests/integration/api_config_test.py::ConfigAPITest::test_list_configs PASSED [ 8%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv6_address PASSED [ 42%] tests/integration/api_container_test.py::CreateContainerTest::test_create_container_with_volumes_from PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_auto_remove PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options XFAIL [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_device_cgroup_rules PASSED [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_environment_variable_no_value PASSED [ 10%] tests/integration/api_config_test.py::ConfigAPITest::test_remove_config PASSED [ 8%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_host_pid_mode PASSED [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_init PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_isolation PASSED [ 11%] tests/integration/api_container_test.py::ListContainersTest::test_list_containers PASSED [ 8%] tests/integration/api_container_test.py::CreateContainerTest::test_create PASSED [ 9%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_links PASSED [ 42%] tests/integration/api_network_test.py::TestNetworks::test_create_check_duplicate PASSED [ 42%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_links PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_create_container_with_volumes_from PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_auto_remove PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options XFAIL [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_device_cgroup_rules PASSED [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_mac_address PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_environment_variable_no_value PASSED [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_int PASSED [ 12%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_host_pid_mode PASSED [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_init PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_isolation PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_str PASSED [ 12%] tests/integration/api_network_test.py::TestNetworks::test_create_inspect_network_with_scope PASSED [ 42%] tests/integration/api_network_test.py::TestNetworks::test_create_internal_networks PASSED [ 43%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_links PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_mac_address PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_int PASSED [ 12%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_str PASSED [ 12%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_restart_policy PASSED [ 12%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_stop_timeout PASSED [ 12%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_storage_opt XFAIL [ 13%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_tmpfs PASSED [ 13%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_uts_mode PASSED [ 13%] tests/integration/api_network_test.py::TestNetworks::test_create_network_attachable PASSED [ 43%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_ints PASSED [ 13%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_strings PASSED [ 14%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ingress PASSED [ 43%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ipv6_enabled PASSED [ 43%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_host_driver_fails PASSED [ 44%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_ipam_config PASSED [ 44%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_labels PASSED [ 44%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_labels_wrong_type PASSED [ 44%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_restart_policy PASSED [ 12%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_stop_timeout PASSED [ 12%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_storage_opt XFAIL [ 13%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_tmpfs PASSED [ 13%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_uts_mode PASSED [ 13%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_ints PASSED [ 13%] tests/integration/api_network_test.py::TestNetworks::test_create_remove_network_with_space_in_name PASSED [ 45%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_strings PASSED [ 14%] tests/integration/api_network_test.py::TestNetworks::test_create_with_aliases PASSED [ 45%] tests/integration/api_network_test.py::TestNetworks::test_create_with_driveropt PASSED [ 45%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv4_address PASSED [ 45%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv6_address PASSED [ 46%] tests/integration/api_network_test.py::TestNetworks::test_create_with_linklocal_ips PASSED [ 46%] tests/integration/api_network_test.py::TestNetworks::test_create_with_links PASSED [ 46%] tests/integration/api_network_test.py::TestNetworks::test_inspect_network PASSED [ 46%] tests/integration/api_network_test.py::TestNetworks::test_list_networks PASSED [ 47%] tests/integration/api_network_test.py::TestNetworks::test_prune_networks PASSED [ 47%] tests/integration/api_network_test.py::TestNetworks::test_remove_network PASSED [ 47%] tests/integration/api_plugin_test.py::PluginTest::test_configure_plugin PASSED [ 47%] tests/integration/api_plugin_test.py::PluginTest::test_create_plugin PASSED [ 48%] tests/integration/api_plugin_test.py::PluginTest::test_disable_plugin PASSED [ 48%] tests/integration/api_plugin_test.py::PluginTest::test_enable_plugin PASSED [ 48%] tests/integration/api_plugin_test.py::PluginTest::test_force_remove_plugin PASSED [ 48%] tests/integration/api_plugin_test.py::PluginTest::test_inspect_plugin PASSED [ 49%] tests/integration/api_plugin_test.py::PluginTest::test_install_plugin PASSED [ 49%] tests/integration/api_plugin_test.py::PluginTest::test_list_plugins PASSED [ 49%] tests/integration/api_plugin_test.py::PluginTest::test_plugin_privileges PASSED [ 50%] tests/integration/api_plugin_test.py::PluginTest::test_remove_plugin PASSED [ 50%] tests/integration/api_container_test.py::CreateContainerTest::test_invalid_log_driver_raises_exception PASSED [ 14%] tests/integration/api_plugin_test.py::PluginTest::test_upgrade_plugin PASSED [ 50%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_log_driver_and_log_opt PASSED [ 14%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret PASSED [ 50%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret_unicode_data PASSED [ 51%] tests/integration/api_secret_test.py::SecretAPITest::test_inspect_secret PASSED [ 51%] tests/integration/api_secret_test.py::SecretAPITest::test_list_secrets PASSED [ 51%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_config_specified PASSED [ 14%] tests/integration/api_container_test.py::CreateContainerTest::test_invalid_log_driver_raises_exception PASSED [ 14%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_log_driver_and_log_opt PASSED [ 14%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_config_specified PASSED [ 14%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_log_driver_specified PASSED [ 15%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_ro PASSED [ 15%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_rw PASSED [ 15%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_log_driver_specified PASSED [ 15%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts PASSED [ 15%] tests/integration/api_secret_test.py::SecretAPITest::test_remove_secret PASSED [ 51%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_ro PASSED [ 15%] tests/integration/api_service_test.py::ServiceTest::test_create_service_custom_log_driver PASSED [ 52%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts_ro PASSED [ 16%] tests/integration/api_service_test.py::ServiceTest::test_create_service_global_mode PASSED [ 52%] tests/integration/api_service_test.py::ServiceTest::test_create_service_replicated_mode PASSED [ 52%] tests/integration/api_service_test.py::ServiceTest::test_create_service_simple PASSED [ 52%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_rw PASSED [ 15%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_volume_mount PASSED [ 16%] tests/integration/api_container_test.py::ArchiveTest::test_copy_directory_to_container PASSED [ 16%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_config PASSED [ 53%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_custom_networks PASSED [ 53%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_dns_config PASSED [ 53%] tests/integration/api_container_test.py::ArchiveTest::test_copy_file_to_container PASSED [ 16%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts PASSED [ 15%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec PASSED [ 53%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec_host_publish_mode PASSED [ 54%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_env PASSED [ 54%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_failure_action_rollback PASSED [ 54%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_generic_resources PASSED [ 54%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_groups PASSED [ 55%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_healthcheck PASSED [ 55%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hostname PASSED [ 55%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hosts PASSED [ 55%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_init PASSED [ 56%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_invalid_generic_resources PASSED [ 56%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_network_attachment_config PASSED [ 56%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement PASSED [ 56%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_maxreplicas PASSED [ 57%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_object PASSED [ 57%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_platform PASSED [ 57%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences PASSED [ 57%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences_tuple PASSED [ 58%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_privileges PASSED [ 58%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_readonly PASSED [ 58%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_resources_constraints PASSED [ 58%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_restart_policy PASSED [ 59%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_rollback_config PASSED [ 59%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_archive_from_container PASSED [ 17%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts_ro PASSED [ 16%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_volume_mount PASSED [ 16%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_stat_from_container PASSED [ 17%] tests/integration/api_container_test.py::RenameContainerTest::test_rename_container PASSED [ 17%] tests/integration/api_container_test.py::ArchiveTest::test_copy_directory_to_container PASSED [ 16%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_secret PASSED [ 59%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_stop_signal PASSED [ 60%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty PASSED [ 60%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty_dict PASSED [ 60%] tests/integration/api_container_test.py::ArchiveTest::test_copy_file_to_container PASSED [ 16%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_archive_from_container PASSED [ 17%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_config PASSED [ 60%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_stat_from_container PASSED [ 17%] tests/integration/api_container_test.py::RenameContainerTest::test_rename_container PASSED [ 17%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_secret PASSED [ 61%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config PASSED [ 61%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config_monitor PASSED [ 61%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_order PASSED [ 61%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_volume_mount PASSED [ 62%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_id PASSED [ 62%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_name PASSED [ 62%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_insert_defaults PASSED [ 62%] tests/integration/api_service_test.py::ServiceTest::test_list_services PASSED [ 63%] tests/integration/api_service_test.py::ServiceTest::test_list_services_filter_by_label PASSED [ 63%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_id PASSED [ 63%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_name PASSED [ 63%] tests/integration/api_service_test.py::ServiceTest::test_service_logs PASSED [ 64%] tests/integration/api_container_test.py::StartContainerTest::test_run_shlex_commands PASSED [ 17%] tests/integration/api_service_test.py::ServiceTest::test_update_service_force_update PASSED [ 64%] tests/integration/api_container_test.py::StartContainerTest::test_start_container PASSED [ 18%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_container_labels PASSED [ 64%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_healthcheck PASSED [ 64%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_labels PASSED [ 65%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_container_labels PASSED [ 65%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_endpoint_spec PASSED [ 65%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_labels PASSED [ 65%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_mode PASSED [ 66%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_name PASSED [ 66%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_networks PASSED [ 66%] tests/integration/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 18%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_update_config PASSED [ 66%] tests/integration/api_container_test.py::StartContainerTest::test_run_shlex_commands PASSED [ 17%] tests/integration/api_container_test.py::StartContainerTest::test_start_container PASSED [ 18%] tests/integration/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 18%] tests/integration/api_container_test.py::WaitTest::test_wait PASSED [ 18%] tests/integration/api_container_test.py::WaitTest::test_wait PASSED [ 18%] tests/integration/api_container_test.py::WaitTest::test_wait_with_condition PASSED [ 18%] tests/integration/api_container_test.py::WaitTest::test_wait_with_condition PASSED [ 18%] tests/integration/api_container_test.py::WaitTest::test_wait_with_dict_instead_of_id PASSED [ 19%] tests/integration/api_container_test.py::LogsTest::test_logs PASSED [ 19%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_network_change PASSED [ 67%] tests/integration/api_swarm_test.py::SwarmTest::test_init_already_in_cluster PASSED [ 67%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow PASSED [ 19%] tests/integration/api_container_test.py::WaitTest::test_wait_with_dict_instead_of_id PASSED [ 19%] tests/integration/api_container_test.py::LogsTest::test_logs PASSED [ 19%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow PASSED [ 19%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_both_args PASSED [ 67%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow_and_cancel PASSED [ 20%] tests/integration/api_container_test.py::LogsTest::test_logs_tail_option PASSED [ 20%] tests/integration/api_container_test.py::LogsTest::test_logs_with_dict_instead_of_id PASSED [ 20%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow_and_cancel PASSED [ 20%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_defaults PASSED [ 67%] tests/integration/api_container_test.py::LogsTest::test_logs_with_tail_0 PASSED [ 20%] tests/integration/api_container_test.py::LogsTest::test_logs_tail_option PASSED [ 20%] tests/integration/api_container_test.py::LogsTest::test_logs_with_until PASSED [ 21%] tests/integration/api_container_test.py::LogsTest::test_logs_with_dict_instead_of_id PASSED [ 20%] tests/integration/api_container_test.py::LogsTest::test_logs_with_tail_0 PASSED [ 20%] tests/integration/api_container_test.py::DiffTest::test_diff PASSED [ 21%] tests/integration/api_container_test.py::DiffTest::test_diff_with_dict_instead_of_id PASSED [ 21%] tests/integration/api_container_test.py::LogsTest::test_logs_with_until PASSED [ 21%] tests/integration/api_container_test.py::DiffTest::test_diff PASSED [ 21%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_pool PASSED [ 68%] tests/integration/api_container_test.py::DiffTest::test_diff_with_dict_instead_of_id PASSED [ 21%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_subnet_size PASSED [ 68%] tests/integration/api_container_test.py::StopTest::test_stop PASSED [ 21%] tests/integration/api_container_test.py::StopTest::test_stop PASSED [ 21%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_raft_spec PASSED [ 68%] tests/integration/api_container_test.py::StopTest::test_stop_with_dict_instead_of_id PASSED [ 22%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_data_path_addr XPASS [ 68%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_force_new_cluster SKIPPED [ 69%] tests/integration/api_container_test.py::KillTest::test_kill PASSED [ 22%] tests/integration/api_container_test.py::KillTest::test_kill_with_dict_instead_of_id PASSED [ 22%] tests/integration/api_container_test.py::StopTest::test_stop_with_dict_instead_of_id PASSED [ 22%] tests/integration/api_container_test.py::KillTest::test_kill PASSED [ 22%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_simple PASSED [ 69%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal PASSED [ 22%] tests/integration/api_container_test.py::KillTest::test_kill_with_dict_instead_of_id PASSED [ 22%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_integer PASSED [ 23%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal PASSED [ 22%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_name PASSED [ 23%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_integer PASSED [ 23%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_name PASSED [ 23%] tests/integration/api_container_test.py::PortTest::test_port PASSED [ 23%] tests/integration/api_container_test.py::ContainerTopTest::test_top XPASS [ 23%] tests/integration/api_container_test.py::PortTest::test_port PASSED [ 23%] tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs XFAIL [ 24%] tests/integration/api_container_test.py::ContainerTopTest::test_top XPASS [ 23%] tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs XFAIL [ 24%] tests/integration/api_container_test.py::RestartContainerTest::test_restart PASSED [ 24%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_autolock_managers PASSED [ 69%] tests/integration/api_container_test.py::RestartContainerTest::test_restart PASSED [ 24%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_dict_instead_of_id PASSED [ 24%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_dict_instead_of_id PASSED [ 24%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_ca_config PASSED [ 70%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_low_timeout PASSED [ 24%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove PASSED [ 25%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove_with_dict_instead_of_id PASSED [ 25%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_low_timeout PASSED [ 24%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove PASSED [ 25%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver XFAIL [ 70%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove_with_dict_instead_of_id PASSED [ 25%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream PASSED [ 25%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream PASSED [ 25%] tests/integration/api_swarm_test.py::SwarmTest::test_inspect_node PASSED [ 70%] tests/integration/api_swarm_test.py::SwarmTest::test_leave_swarm PASSED [ 70%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_stream_and_cancel PASSED [ 25%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_stream_and_cancel PASSED [ 25%] tests/integration/api_swarm_test.py::SwarmTest::test_list_nodes PASSED [ 71%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_arg PASSED [ 26%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_arg PASSED [ 26%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_config_file PASSED [ 26%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_config_file PASSED [ 26%] tests/integration/api_swarm_test.py::SwarmTest::test_remove_main_node PASSED [ 71%] tests/integration/api_swarm_test.py::SwarmTest::test_rotate_manager_unlock_key PASSED [ 71%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_default PASSED [ 26%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_default PASSED [ 26%] tests/integration/api_swarm_test.py::SwarmTest::test_update_node FAILED [ 71%] tests/integration/api_swarm_test.py::SwarmTest::test_update_node ERROR [ 71%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_reading_socket PASSED [ 26%] tests/integration/api_swarm_test.py::SwarmTest::test_update_swarm FAILED [ 72%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_streaming PASSED [ 27%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_reading_socket PASSED [ 26%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_streaming PASSED [ 27%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume FAILED [ 72%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume ERROR [ 72%] tests/integration/api_container_test.py::PauseTest::test_pause_unpause PASSED [ 27%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume_invalid_driver FAILED [ 72%] tests/integration/api_container_test.py::PauseTest::test_pause_unpause PASSED [ 27%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume FAILED [ 72%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume ERROR [ 72%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_nonexistent_volume FAILED [ 73%] tests/integration/api_container_test.py::PruneTest::test_prune_containers PASSED [ 27%] tests/integration/api_container_test.py::PruneTest::test_prune_containers PASSED [ 27%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume FAILED [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume ERROR [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_list_volumes FAILED [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_list_volumes ERROR [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_prune_volumes FAILED [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_remove_nonexistent_volume FAILED [ 74%] tests/integration/api_container_test.py::GetContainerStatsTest::test_get_container_stats_no_stream PASSED [ 27%] tests/integration/api_volume_test.py::TestVolumes::test_remove_volume FAILED [ 74%] tests/integration/api_volume_test.py::TestVolumes::test_remove_volume ERROR [ 74%] tests/integration/api_container_test.py::ContainerUpdateTest::test_restart_policy_update PASSED [ 28%] tests/integration/client_test.py::ClientTest::test_df FAILED [ 74%] tests/integration/api_container_test.py::GetContainerStatsTest::test_get_container_stats_no_stream PASSED [ 27%] tests/integration/api_container_test.py::ContainerUpdateTest::test_restart_policy_update PASSED [ 28%] tests/integration/client_test.py::ClientTest::test_info FAILED [ 74%] tests/integration/api_container_test.py::ContainerUpdateTest::test_update_container PASSED [ 28%] tests/integration/client_test.py::ClientTest::test_ping FAILED [ 75%] tests/integration/api_container_test.py::ContainerUpdateTest::test_update_container PASSED [ 28%] tests/integration/client_test.py::ClientTest::test_version FAILED [ 75%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpu_shares PASSED [ 28%] tests/integration/client_test.py::CancellableEventsTest::test_cancel_events FAILED [ 75%] tests/integration/context_api_test.py::ContextLifecycleTest::test_context_remove PASSED [ 75%] tests/integration/context_api_test.py::ContextLifecycleTest::test_lifecycle PASSED [ 76%] tests/integration/context_api_test.py::ContextLifecycleTest::test_load_context_without_orchestrator PASSED [ 76%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpu_shares PASSED [ 28%] tests/integration/errors_test.py::ErrorsTest::test_api_error_parses_json FAILED [ 76%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpuset PASSED [ 28%] tests/integration/api_container_test.py::ContainerCPUTest::test_create_with_runtime PASSED [ 29%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_get FAILED [ 76%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpuset PASSED [ 28%] tests/integration/api_container_test.py::ContainerCPUTest::test_create_with_runtime PASSED [ 29%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list FAILED [ 77%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list_sparse FAILED [ 77%] tests/integration/api_container_test.py::LinkTest::test_remove_link PASSED [ 29%] tests/integration/api_container_test.py::LinkTest::test_remove_link PASSED [ 29%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run FAILED [ 77%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_detach FAILED [ 77%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove FAILED [ 78%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_config_file PASSED [ 29%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove_error FAILED [ 78%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_config_file PASSED [ 29%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_error FAILED [ 78%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_image_that_does_not_exist FAILED [ 78%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_json_file_driver FAILED [ 79%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_named_volume FAILED [ 79%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_network FAILED [ 79%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_default PASSED [ 30%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_none_driver FAILED [ 80%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_proxy_config FAILED [ 80%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_default PASSED [ 30%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_root PASSED [ 30%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs FAILED [ 80%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_root PASSED [ 30%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_user PASSED [ 30%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs_and_cancel FAILED [ 80%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_volume FAILED [ 81%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_user PASSED [ 30%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_streaming PASSED [ 30%] tests/integration/models_containers_test.py::ContainerTest::test_commit FAILED [ 81%] tests/integration/models_containers_test.py::ContainerTest::test_create_with_volume_driver FAILED [ 81%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_streaming PASSED [ 30%] tests/integration/models_containers_test.py::ContainerTest::test_diff FAILED [ 81%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_string PASSED [ 31%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_string PASSED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_failed FAILED [ 82%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_success FAILED [ 82%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_env PASSED [ 31%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_env PASSED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_kill FAILED [ 82%] tests/integration/models_containers_test.py::ContainerTest::test_logs FAILED [ 82%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_workdir PASSED [ 31%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_workdir PASSED [ 31%] tests/integration/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_pause FAILED [ 83%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_list FAILED [ 83%] tests/integration/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 31%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_none FAILED [ 83%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_tuple FAILED [ 83%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_remove FAILED [ 84%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_socket PASSED [ 32%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_socket PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_rename FAILED [ 84%] tests/integration/models_containers_test.py::ContainerTest::test_restart FAILED [ 84%] tests/integration/api_exec_test.py::ExecTest::test_execute_command PASSED [ 32%] tests/integration/api_exec_test.py::ExecTest::test_execute_command PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_start FAILED [ 84%] tests/integration/api_exec_test.py::ExecTest::test_execute_command_with_proxy_env PASSED [ 32%] tests/integration/api_exec_test.py::ExecTest::test_execute_command_with_proxy_env PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_stats FAILED [ 85%] tests/integration/models_containers_test.py::ContainerTest::test_stop FAILED [ 85%] tests/integration/models_containers_test.py::ContainerTest::test_top FAILED [ 85%] tests/integration/models_containers_test.py::ContainerTest::test_update FAILED [ 85%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_demux PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_wait FAILED [ 86%] tests/integration/models_images_test.py::ImageCollectionTest::test_build FAILED [ 86%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_demux PASSED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_error FAILED [ 86%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_multiple_success FAILED [ 86%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_no_demux PASSED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_success_build_output FAILED [ 87%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_no_demux PASSED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_list FAILED [ 87%] tests/integration/models_images_test.py::ImageCollectionTest::test_list_with_repository FAILED [ 87%] tests/integration/models_images_test.py::ImageCollectionTest::test_load_error FAILED [ 87%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_demux PASSED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull FAILED [ 88%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_demux PASSED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_multiple FAILED [ 88%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_sha FAILED [ 88%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_no_demux PASSED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_tag FAILED [ 88%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_no_demux PASSED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load FAILED [ 89%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load_repo_name FAILED [ 89%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_name_error FAILED [ 89%] tests/integration/models_images_test.py::ImageTest::test_tag_and_remove FAILED [ 90%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_demux PASSED [ 34%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_create FAILED [ 90%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_demux PASSED [ 34%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_get FAILED [ 90%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_list_remove FAILED [ 90%] tests/integration/models_networks_test.py::NetworkTest::test_connect_disconnect FAILED [ 91%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_no_demux PASSED [ 34%] tests/integration/models_nodes_test.py::NodesTest::test_list_get_update FAILED [ 91%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_no_demux PASSED [ 34%] tests/integration/models_resources_test.py::ModelTest::test_reload FAILED [ 91%] tests/integration/models_services_test.py::ServiceTest::test_create ERROR [ 91%] tests/integration/models_services_test.py::ServiceTest::test_create_with_network ERROR [ 92%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_demux PASSED [ 34%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service ERROR [ 92%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_demux PASSED [ 34%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_bool ERROR [ 92%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_shorthand_method ERROR [ 92%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux PASSED [ 34%] tests/integration/models_services_test.py::ServiceTest::test_get ERROR [ 93%] tests/integration/models_services_test.py::ServiceTest::test_list_remove ERROR [ 93%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_global_service ERROR [ 93%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux PASSED [ 34%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_service ERROR [ 93%] tests/integration/models_services_test.py::ServiceTest::test_scale_service ERROR [ 94%] tests/integration/models_services_test.py::ServiceTest::test_tasks ERROR [ 94%] tests/integration/models_services_test.py::ServiceTest::test_update ERROR [ 94%] tests/integration/models_services_test.py::ServiceTest::test_update_remove_service_labels ERROR [ 94%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_fails PASSED [ 35%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_fails PASSED [ 35%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_container_labels ERROR [ 95%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks XFAIL [ 95%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_service_labels ERROR [ 95%] tests/integration/models_swarm_test.py::SwarmTest::test_init_update_leave FAILED [ 95%] tests/integration/models_swarm_test.py::SwarmTest::test_join_on_already_joined_swarm FAILED [ 96%] tests/integration/models_volumes_test.py::VolumesTest::test_create_get FAILED [ 96%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_passes PASSED [ 35%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_shell_command PASSED [ 35%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_passes PASSED [ 35%] tests/integration/models_volumes_test.py::VolumesTest::test_list_remove FAILED [ 96%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_shell_command PASSED [ 35%] tests/integration/regression_test.py::TestRegressions::test_443_handle_nonchunked_response_in_stream FAILED [ 96%] tests/integration/regression_test.py::TestRegressions::test_542_truncate_ids_client_side FAILED [ 97%] tests/integration/regression_test.py::TestRegressions::test_647_support_doubleslash_in_image_names FAILED [ 97%] tests/integration/regression_test.py::TestRegressions::test_649_handle_timeout_value_none FAILED [ 97%] tests/integration/regression_test.py::TestRegressions::test_715_handle_user_param_as_int_value FAILED [ 97%] tests/integration/regression_test.py::TestRegressions::test_792_explicit_port_protocol FAILED [ 98%] tests/integration/credentials/store_test.py::TestStore::test_store_and_get PASSED [ 98%] tests/integration/credentials/store_test.py::TestStore::test_get_nonexistent PASSED [ 98%] tests/integration/credentials/store_test.py::TestStore::test_store_and_erase PASSED [ 98%] tests/integration/credentials/store_test.py::TestStore::test_unicode_strings PASSED [ 99%] tests/integration/credentials/store_test.py::TestStore::test_list PASSED [ 99%] tests/integration/credentials/store_test.py::TestStore::test_execute_with_env_override PASSED [ 99%] tests/integration/credentials/utils_test.py::test_create_environment_dict PASSED [100%] ==================================== ERRORS ==================================== _______________ ERROR at teardown of SwarmTest.test_update_node ________________ /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:384: in _make_request six.raise_from(e, None) :2: in raise_from ??? /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:380: in _make_request httplib_response = conn.getresponse() /usr/local/lib/python3.7/http/client.py:1369: in getresponse response.begin() /usr/local/lib/python3.7/http/client.py:310: in begin version, status, reason = self._read_status() /usr/local/lib/python3.7/http/client.py:271: in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") /usr/local/lib/python3.7/socket.py:589: in readinto return self._sock.recv_into(b) E ConnectionResetError: [Errno 104] Connection reset by peer During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:368: in increment raise six.reraise(type(error), error, _stacktrace) /usr/local/lib/python3.7/site-packages/urllib3/packages/six.py:685: in reraise raise value.with_traceback(tb) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:384: in _make_request six.raise_from(e, None) :2: in raise_from ??? /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:380: in _make_request httplib_response = conn.getresponse() /usr/local/lib/python3.7/http/client.py:1369: in getresponse response.begin() /usr/local/lib/python3.7/http/client.py:310: in begin version, status, reason = self._read_status() /usr/local/lib/python3.7/http/client.py:271: in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") /usr/local/lib/python3.7/socket.py:589: in readinto return self._sock.recv_into(b) E urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) During handling of the above exception, another exception occurred: tests/integration/api_swarm_test.py:21: in tearDown force_leave_swarm(self.client) tests/helpers.py:99: in force_leave_swarm return client.leave_swarm(force=True) # elif APIClient docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:274: in leave_swarm response = self._post(url, params={'force': force}) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:498: in send raise ConnectionError(err, request=request) E requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) _____________ ERROR at teardown of TestVolumes.test_create_volume ______________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/perfectcherryblossom (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/base.py:82: in tearDown super(BaseAPIIntegrationTest, self).tearDown() tests/integration/base.py:49: in tearDown client.api.remove_volume(volume) docker/api/volume.py:160: in remove_volume resp = self._delete(url) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:245: in _delete return self.delete(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:606: in delete return self.request('DELETE', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/perfectcherryblossom (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) __________ ERROR at teardown of TestVolumes.test_force_remove_volume ___________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/shootthebullet (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/base.py:82: in tearDown super(BaseAPIIntegrationTest, self).tearDown() tests/integration/base.py:49: in tearDown client.api.remove_volume(volume) docker/api/volume.py:160: in remove_volume resp = self._delete(url) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:245: in _delete return self.delete(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:606: in delete return self.request('DELETE', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/shootthebullet (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _____________ ERROR at teardown of TestVolumes.test_inspect_volume _____________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/embodimentofscarletdevil (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/base.py:82: in tearDown super(BaseAPIIntegrationTest, self).tearDown() tests/integration/base.py:49: in tearDown client.api.remove_volume(volume) docker/api/volume.py:160: in remove_volume resp = self._delete(url) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:245: in _delete return self.delete(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:606: in delete return self.request('DELETE', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/embodimentofscarletdevil (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______________ ERROR at teardown of TestVolumes.test_list_volumes ______________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/imperishablenight (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/base.py:82: in tearDown super(BaseAPIIntegrationTest, self).tearDown() tests/integration/base.py:49: in tearDown client.api.remove_volume(volume) docker/api/volume.py:160: in remove_volume resp = self._delete(url) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:245: in _delete return self.delete(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:606: in delete return self.request('DELETE', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/imperishablenight (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _____________ ERROR at teardown of TestVolumes.test_remove_volume ______________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/shootthebullet (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/base.py:82: in tearDown super(BaseAPIIntegrationTest, self).tearDown() tests/integration/base.py:49: in tearDown client.api.remove_volume(volume) docker/api/volume.py:160: in remove_volume resp = self._delete(url) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:245: in _delete return self.delete(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:606: in delete return self.request('DELETE', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/shootthebullet (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) __________________ ERROR at setup of ServiceTest.test_create ___________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ____________ ERROR at setup of ServiceTest.test_create_with_network ____________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________ ERROR at setup of ServiceTest.test_force_update_service ____________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______ ERROR at setup of ServiceTest.test_force_update_service_using_bool ______ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _ ERROR at setup of ServiceTest.test_force_update_service_using_shorthand_method _ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ____________________ ERROR at setup of ServiceTest.test_get ____________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________ ERROR at setup of ServiceTest.test_list_remove ________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________ ERROR at setup of ServiceTest.test_scale_method_global_service ________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________ ERROR at setup of ServiceTest.test_scale_method_service ____________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _______________ ERROR at setup of ServiceTest.test_scale_service _______________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________ ERROR at setup of ServiceTest.test_tasks ___________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) __________________ ERROR at setup of ServiceTest.test_update ___________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _______ ERROR at setup of ServiceTest.test_update_remove_service_labels ________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______ ERROR at setup of ServiceTest.test_update_retains_container_labels ______ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _______ ERROR at setup of ServiceTest.test_update_retains_service_labels _______ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_services_test.py:16: in setUpClass helpers.force_leave_swarm(client) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) =================================== FAILURES =================================== __________________________ SwarmTest.test_update_node __________________________ /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:384: in _make_request six.raise_from(e, None) :2: in raise_from ??? /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:380: in _make_request httplib_response = conn.getresponse() /usr/local/lib/python3.7/http/client.py:1369: in getresponse response.begin() /usr/local/lib/python3.7/http/client.py:310: in begin version, status, reason = self._read_status() /usr/local/lib/python3.7/http/client.py:279: in _read_status raise RemoteDisconnected("Remote end closed connection without" E http.client.RemoteDisconnected: Remote end closed connection without response During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:368: in increment raise six.reraise(type(error), error, _stacktrace) /usr/local/lib/python3.7/site-packages/urllib3/packages/six.py:685: in reraise raise value.with_traceback(tb) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:384: in _make_request six.raise_from(e, None) :2: in raise_from ??? /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:380: in _make_request httplib_response = conn.getresponse() /usr/local/lib/python3.7/http/client.py:1369: in getresponse response.begin() /usr/local/lib/python3.7/http/client.py:310: in begin version, status, reason = self._read_status() /usr/local/lib/python3.7/http/client.py:279: in _read_status raise RemoteDisconnected("Remote end closed connection without" E urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) During handling of the above exception, another exception occurred: tests/integration/api_swarm_test.py:201: in test_update_node assert self.init_swarm() tests/integration/base.py:127: in init_swarm return self._init_swarm(self.client, **kwargs) tests/integration/base.py:94: in _init_swarm '127.0.0.1', listen_addr=helpers.swarm_listen_addr(), **kwargs docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:169: in init_swarm response = self._post_json(url, data=data) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:498: in send raise ConnectionError(err, request=request) E requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) _________________________ SwarmTest.test_update_swarm __________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm/leave?force=True (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/api_swarm_test.py:12: in setUp force_leave_swarm(self.client) tests/helpers.py:99: in force_leave_swarm return client.leave_swarm(force=True) # elif APIClient docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:274: in leave_swarm response = self._post(url, params={'force': force}) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm/leave?force=True (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________________ TestVolumes.test_create_volume ________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/api_volume_test.py:12: in test_create_volume result = self.client.create_volume(name) docker/api/volume.py:89: in create_volume return self._result(self._post_json(url, data=data), True) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________ TestVolumes.test_create_volume_invalid_driver _________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/api_volume_test.py:22: in test_create_volume_invalid_driver self.client.create_volume('perfectcherryblossom', driver_name) docker/api/volume.py:89: in create_volume return self._result(self._post_json(url, data=data), True) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _____________________ TestVolumes.test_force_remove_volume _____________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/api_volume_test.py:55: in test_force_remove_volume self.client.create_volume(name) docker/api/volume.py:89: in create_volume return self._result(self._post_json(url, data=data), True) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _________________ TestVolumes.test_inspect_nonexistent_volume __________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/embodimentofscarletdevil (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/api_volume_test.py:43: in test_inspect_nonexistent_volume self.client.inspect_volume(name) docker/api/volume.py:114: in inspect_volume return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/embodimentofscarletdevil (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _______________________ TestVolumes.test_inspect_volume ________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/api_volume_test.py:36: in test_inspect_volume volume_info = self.client.create_volume(name) docker/api/volume.py:89: in create_volume return self._result(self._post_json(url, data=data), True) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________________ TestVolumes.test_list_volumes _________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/api_volume_test.py:27: in test_list_volumes volume_info = self.client.create_volume(name) docker/api/volume.py:89: in create_volume return self._result(self._post_json(url, data=data), True) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________________ TestVolumes.test_prune_volumes ________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/api_volume_test.py:61: in test_prune_volumes self.client.create_volume(name) docker/api/volume.py:89: in create_volume return self._result(self._post_json(url, data=data), True) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) __________________ TestVolumes.test_remove_nonexistent_volume __________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/shootthebullet (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/api_volume_test.py:69: in test_remove_nonexistent_volume self.client.remove_volume(name) docker/api/volume.py:160: in remove_volume resp = self._delete(url) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:245: in _delete return self.delete(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:606: in delete return self.request('DELETE', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/shootthebullet (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________________ TestVolumes.test_remove_volume ________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/api_volume_test.py:48: in test_remove_volume self.client.create_volume(name) docker/api/volume.py:89: in create_volume return self._result(self._post_json(url, data=data), True) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______________________________ ClientTest.test_df ______________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/system/df (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/client_test.py:28: in test_df data = self.client.df() docker/client.py:191: in df return self.api.df() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/daemon.py:22: in df return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/system/df (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _____________________________ ClientTest.test_info _____________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/info (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/client_test.py:16: in test_info info = self.client.info() docker/client.py:195: in info return self.api.info(*args, **kwargs) docker/api/daemon.py:95: in info return self._result(self._get(self._url("/info")), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/info (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _____________________________ ClientTest.test_ping _____________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/_ping (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/client_test.py:21: in test_ping assert self.client.ping() is True docker/client.py:203: in ping return self.api.ping(*args, **kwargs) docker/api/daemon.py:166: in ping return self._result(self._get(self._url('/_ping'))) == 'OK' docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/_ping (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________________ ClientTest.test_version ____________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/version (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/client_test.py:24: in test_version assert 'Version' in self.client.version() docker/client.py:207: in version return self.api.version(*args, **kwargs) docker/api/daemon.py:181: in version return self._result(self._get(url), json=True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/version (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________ CancellableEventsTest.test_cancel_events ___________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/events?until=1621876048 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/client_test.py:41: in test_cancel_events events = self.client.events(until=start + timedelta(seconds=5)) docker/client.py:187: in events return self.api.events(*args, **kwargs) docker/api/daemon.py:78: in events response = self._get(url, params=params, stream=True, timeout=None) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/events?until=1621876048 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ____________________ ErrorsTest.test_api_error_parses_json _____________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/errors_test.py:8: in test_api_error_parses_json container = self.client.create_container(TEST_IMG, ['sleep', '10']) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _______________________ ContainerCollectionTest.test_get _______________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:187: in test_get container = client.containers.run("alpine", "sleep 300", detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______________________ ContainerCollectionTest.test_list _______________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:195: in test_list "alpine", "sleep 300", detach=True).id docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________ ContainerCollectionTest.test_list_sparse ___________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:213: in test_list_sparse "alpine", "sleep 300", detach=True).id docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _______________________ ContainerCollectionTest.test_run _______________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:18: in test_run assert client.containers.run( docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________ ContainerCollectionTest.test_run_detach ____________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:24: in test_run_detach container = client.containers.run("alpine", "sleep 300", detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______________ ContainerCollectionTest.test_run_with_auto_remove _______________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:131: in test_run_with_auto_remove 'alpine', 'sh -c "echo hello && sleep 2"', auto_remove=True docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________ ContainerCollectionTest.test_run_with_auto_remove_error ____________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:143: in test_run_with_auto_remove_error auto_remove=True docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _________________ ContainerCollectionTest.test_run_with_error __________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:32: in test_run_with_error client.containers.run("alpine", "cat /test", remove=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _______ ContainerCollectionTest.test_run_with_image_that_does_not_exist ________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:41: in test_run_with_image_that_does_not_exist client.containers.run("dockerpytest_does_not_exist") docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ____________ ContainerCollectionTest.test_run_with_json_file_driver ____________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:121: in test_run_with_json_file_driver log_config=dict(type='json-file') docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______________ ContainerCollectionTest.test_run_with_named_volume ______________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:69: in test_run_with_named_volume volume = client.volumes.create(name="somevolume") docker/models/volumes.py:57: in create obj = self.client.api.create_volume(name, **kwargs) docker/api/volume.py:89: in create_volume return self._result(self._post_json(url, data=data), True) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________ ContainerCollectionTest.test_run_with_network _________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/networks/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:92: in test_run_with_network client.networks.create(net_name) docker/models/networks.py:156: in create resp = self.client.api.create_network(name, *args, **kwargs) docker/api/network.py:152: in create_network res = self._post_json(url, data=data) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/networks/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______________ ContainerCollectionTest.test_run_with_none_driver _______________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:112: in test_run_with_none_driver log_config=dict(type='none') docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______________ ContainerCollectionTest.test_run_with_proxy_config ______________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:180: in test_run_with_proxy_config out = client.containers.run('alpine', 'sh -c "env"') docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _____________ ContainerCollectionTest.test_run_with_streamed_logs ______________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:151: in test_run_with_streamed_logs 'alpine', 'sh -c "echo hello && echo world"', stream=True docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________ ContainerCollectionTest.test_run_with_streamed_logs_and_cancel ________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:163: in test_run_with_streamed_logs_and_cancel 'alpine', 'sh -c "echo hello && echo world"', stream=True docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _________________ ContainerCollectionTest.test_run_with_volume _________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:53: in test_run_with_volume detach=True docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) __________________________ ContainerTest.test_commit ___________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:237: in test_commit detach=True docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _________________ ContainerTest.test_create_with_volume_driver _________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:453: in test_create_with_volume_driver volume_driver='foo' docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________________ ContainerTest.test_diff ____________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:248: in test_diff container = client.containers.run("alpine", "touch /test", detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______________________ ContainerTest.test_exec_run_failed ______________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:266: in test_exec_run_failed "alpine", "sh -c 'sleep 60'", detach=True docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _____________________ ContainerTest.test_exec_run_success ______________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:256: in test_exec_run_success "alpine", "sh -c 'echo \"hello\" > /test; sleep 60'", detach=True docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________________ ContainerTest.test_kill ____________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:274: in test_kill container = client.containers.run("alpine", "sleep 300", detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________________ ContainerTest.test_logs ____________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:286: in test_logs detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________________ ContainerTest.test_pause ___________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:293: in test_pause container = client.containers.run("alpine", "sleep 300", detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _____________________ ContainerTest.test_ports_target_list _____________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:396: in test_ports_target_list ports=target_ports docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _____________________ ContainerTest.test_ports_target_none _____________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:356: in test_ports_target_none ports=target_ports docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ____________________ ContainerTest.test_ports_target_tuple _____________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:376: in test_ports_target_tuple ports=target_ports docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) __________________________ ContainerTest.test_remove ___________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:304: in test_remove container = client.containers.run("alpine", "echo hello", detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) __________________________ ContainerTest.test_rename ___________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create?name=test1 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:315: in test_rename detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create?name=test1 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) __________________________ ContainerTest.test_restart __________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:324: in test_restart container = client.containers.run("alpine", "sleep 100", detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________________ ContainerTest.test_start ___________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:334: in test_start container = client.containers.create("alpine", "sleep 50", detach=True) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________________ ContainerTest.test_stats ___________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:343: in test_stats container = client.containers.run("alpine", "sleep 100", detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________________ ContainerTest.test_stop ____________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:412: in test_stop container = client.containers.run("alpine", "top", detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ____________________________ ContainerTest.test_top ____________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:421: in test_top container = client.containers.run("alpine", "sleep 60", detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) __________________________ ContainerTest.test_update ___________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:430: in test_update cpu_shares=2) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________________ ContainerTest.test_wait ____________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_containers_test.py:440: in test_wait detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________________ ImageCollectionTest.test_build ________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/build?q=False&nocache=False&rm=False&forcerm=False&pull=False (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:17: in test_build "CMD echo hello world".encode('ascii') docker/models/images.py:279: in build resp = self.client.api.build(**kwargs) docker/api/build.py:269: in build timeout=timeout, docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/build?q=False&nocache=False&rm=False&forcerm=False&pull=False (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) __________________ ImageCollectionTest.test_build_with_error ___________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/build?q=False&nocache=False&rm=False&forcerm=False&pull=False (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:28: in test_build_with_error "RUN exit 1".encode('ascii') docker/models/images.py:279: in build resp = self.client.api.build(**kwargs) docker/api/build.py:269: in build timeout=timeout, docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/build?q=False&nocache=False&rm=False&forcerm=False&pull=False (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _____________ ImageCollectionTest.test_build_with_multiple_success _____________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/build?t=some-tag&q=False&nocache=False&rm=False&forcerm=False&pull=False (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:40: in test_build_with_multiple_success "CMD echo hello world".encode('ascii') docker/models/images.py:279: in build resp = self.client.api.build(**kwargs) docker/api/build.py:269: in build timeout=timeout, docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/build?t=some-tag&q=False&nocache=False&rm=False&forcerm=False&pull=False (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________ ImageCollectionTest.test_build_with_success_build_output ___________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/build?t=dup-txt-tag&q=False&nocache=False&rm=False&forcerm=False&pull=False (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:51: in test_build_with_success_build_output "CMD echo Successfully built abcd1234".encode('ascii') docker/models/images.py:279: in build resp = self.client.api.build(**kwargs) docker/api/build.py:269: in build timeout=timeout, docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/build?t=dup-txt-tag&q=False&nocache=False&rm=False&forcerm=False&pull=False (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________________ ImageCollectionTest.test_list _________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?tag=latest&fromImage=alpine (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:59: in test_list image = client.images.pull('alpine:latest') docker/models/images.py:447: in pull repository, tag=tag, stream=True, all_tags=all_tags, **kwargs docker/api/image.py:427: in pull stream=stream, timeout=None docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?tag=latest&fromImage=alpine (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________ ImageCollectionTest.test_list_with_repository _________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?tag=latest&fromImage=alpine (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:64: in test_list_with_repository image = client.images.pull('alpine:latest') docker/models/images.py:447: in pull repository, tag=tag, stream=True, all_tags=all_tags, **kwargs docker/api/image.py:427: in pull stream=stream, timeout=None docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?tag=latest&fromImage=alpine (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _____________________ ImageCollectionTest.test_load_error ______________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/load (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:98: in test_load_error client.images.load('abc') docker/models/images.py:382: in load resp = self.client.api.load_image(data) docker/api/image.py:321: in load_image self._url("/images/load"), data=data, params=params, stream=True docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/load (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________________ ImageCollectionTest.test_pull _________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?tag=latest&fromImage=alpine (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:70: in test_pull image = client.images.pull('alpine:latest') docker/models/images.py:447: in pull repository, tag=tag, stream=True, all_tags=all_tags, **kwargs docker/api/image.py:427: in pull stream=stream, timeout=None docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?tag=latest&fromImage=alpine (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ____________________ ImageCollectionTest.test_pull_multiple ____________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?fromImage=hello-world (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:89: in test_pull_multiple images = client.images.pull('hello-world', all_tags=True) docker/models/images.py:447: in pull repository, tag=tag, stream=True, all_tags=all_tags, **kwargs docker/api/image.py:427: in pull stream=stream, timeout=None docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?fromImage=hello-world (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ____________________ ImageCollectionTest.test_pull_with_sha ____________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?tag=sha256%3A083de497cff944f969d8499ab94f07134c50bcf5e6b9559b27182d3fa80ce3f7&fromImage=hello-world (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:84: in test_pull_with_sha image = client.images.pull(image_ref) docker/models/images.py:447: in pull repository, tag=tag, stream=True, all_tags=all_tags, **kwargs docker/api/image.py:427: in pull stream=stream, timeout=None docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?tag=sha256%3A083de497cff944f969d8499ab94f07134c50bcf5e6b9559b27182d3fa80ce3f7&fromImage=hello-world (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ____________________ ImageCollectionTest.test_pull_with_tag ____________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?tag=3.10&fromImage=alpine (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:75: in test_pull_with_tag image = client.images.pull('alpine', tag='3.10') docker/models/images.py:447: in pull repository, tag=tag, stream=True, all_tags=all_tags, **kwargs docker/api/image.py:427: in pull stream=stream, timeout=None docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?tag=3.10&fromImage=alpine (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ____________________ ImageCollectionTest.test_save_and_load ____________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/alpine:3.10/json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:102: in test_save_and_load image = client.images.get(TEST_IMG) docker/models/images.py:316: in get return self.prepare_model(self.client.api.inspect_image(name)) docker/utils/decorators.py:19: in wrapped return f(self, resource_id, *args, **kwargs) docker/api/image.py:254: in inspect_image self._get(self._url("/images/{0}/json", image)), True docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/alpine:3.10/json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _______________ ImageCollectionTest.test_save_and_load_repo_name _______________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/alpine:3.10/json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:116: in test_save_and_load_repo_name image = client.images.get(TEST_IMG) docker/models/images.py:316: in get return self.prepare_model(self.client.api.inspect_image(name)) docker/utils/decorators.py:19: in wrapped return f(self, resource_id, *args, **kwargs) docker/api/image.py:254: in inspect_image self._get(self._url("/images/{0}/json", image)), True docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/alpine:3.10/json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________________ ImageCollectionTest.test_save_name_error ___________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/alpine:3.10/json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:136: in test_save_name_error image = client.images.get(TEST_IMG) docker/models/images.py:316: in get return self.prepare_model(self.client.api.inspect_image(name)) docker/utils/decorators.py:19: in wrapped return f(self, resource_id, *args, **kwargs) docker/api/image.py:254: in inspect_image self._get(self._url("/images/{0}/json", image)), True docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/alpine:3.10/json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________________ ImageTest.test_tag_and_remove _________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?tag=latest&fromImage=alpine (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_images_test.py:149: in test_tag_and_remove image = client.images.pull('alpine:latest') docker/models/images.py:447: in pull repository, tag=tag, stream=True, all_tags=all_tags, **kwargs docker/api/image.py:427: in pull stream=stream, timeout=None docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/create?tag=latest&fromImage=alpine (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______________________ NetworkCollectionTest.test_create _______________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/networks/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_networks_test.py:11: in test_create network = client.networks.create(name, labels={'foo': 'bar'}) docker/models/networks.py:156: in create resp = self.client.api.create_network(name, *args, **kwargs) docker/api/network.py:152: in create_network res = self._post_json(url, data=data) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/networks/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________________ NetworkCollectionTest.test_get ________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/networks/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_networks_test.py:19: in test_get network_id = client.networks.create(name).id docker/models/networks.py:156: in create resp = self.client.api.create_network(name, *args, **kwargs) docker/api/network.py:152: in create_network res = self._post_json(url, data=data) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/networks/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ____________________ NetworkCollectionTest.test_list_remove ____________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/networks/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_networks_test.py:27: in test_list_remove network = client.networks.create(name) docker/models/networks.py:156: in create resp = self.client.api.create_network(name, *args, **kwargs) docker/api/network.py:152: in create_network res = self._post_json(url, data=data) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/networks/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _____________________ NetworkTest.test_connect_disconnect ______________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/networks/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_networks_test.py:54: in test_connect_disconnect network = client.networks.create(helpers.random_name()) docker/models/networks.py:156: in create resp = self.client.api.create_network(name, *args, **kwargs) docker/api/network.py:152: in create_network res = self._post_json(url, data=data) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/networks/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________________________ NodesTest.test_list_get_update ________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_nodes_test.py:11: in setUp helpers.force_leave_swarm(docker.from_env(version=TEST_API_VERSION)) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ____________________________ ModelTest.test_reload _____________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_resources_test.py:9: in test_reload container = client.containers.run("alpine", "sleep 300", detach=True) docker/models/containers.py:812: in run detach=detach, **kwargs) docker/models/containers.py:870: in create resp = self.client.api.create_container(**create_kwargs) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _______________________ SwarmTest.test_init_update_leave _______________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_swarm_test.py:12: in setUp helpers.force_leave_swarm(docker.from_env(version=TEST_API_VERSION)) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _________________ SwarmTest.test_join_on_already_joined_swarm __________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_swarm_test.py:12: in setUp helpers.force_leave_swarm(docker.from_env(version=TEST_API_VERSION)) tests/helpers.py:98: in force_leave_swarm return client.swarm.leave(force=True) docker/client.py:175: in swarm return Swarm(client=self) docker/models/swarm.py:17: in __init__ self.reload() docker/models/swarm.py:147: in reload self.attrs = self.client.api.inspect_swarm() docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/swarm.py:185: in inspect_swarm return self._result(self._get(url), True) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/swarm (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _________________________ VolumesTest.test_create_get __________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_volumes_test.py:11: in test_create_get labels={'labelkey': 'labelvalue'} docker/models/volumes.py:57: in create obj = self.client.api.create_volume(name, **kwargs) docker/api/volume.py:89: in create_volume return self._result(self._post_json(url, data=data), True) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _________________________ VolumesTest.test_list_remove _________________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/models_volumes_test.py:23: in test_list_remove volume = client.volumes.create('dockerpytest_1') docker/models/volumes.py:57: in create obj = self.client.api.create_volume(name, **kwargs) docker/api/volume.py:89: in create_volume return self._result(self._post_json(url, data=data), True) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/volumes/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ________ TestRegressions.test_443_handle_nonchunked_response_in_stream _________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/build?t=a%2Fb%2Fc&q=False&nocache=False&rm=False&forcerm=False&pull=False (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/regression_test.py:15: in test_443_handle_nonchunked_response_in_stream for line in self.client.build(fileobj=dfile, tag="a/b/c"): docker/api/build.py:269: in build timeout=timeout, docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/build?t=a%2Fb%2Fc&q=False&nocache=False&rm=False&forcerm=False&pull=False (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______________ TestRegressions.test_542_truncate_ids_client_side _______________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/regression_test.py:22: in test_542_truncate_ids_client_side self.client.create_container(TEST_IMG, ['true']) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _________ TestRegressions.test_647_support_doubleslash_in_image_names __________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/gensokyo.jp//kirisame/json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/regression_test.py:29: in test_647_support_doubleslash_in_image_names self.client.inspect_image('gensokyo.jp//kirisame') docker/utils/decorators.py:19: in wrapped return f(self, resource_id, *args, **kwargs) docker/api/image.py:254: in inspect_image self._get(self._url("/images/{0}/json", image)), True docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:237: in _get return self.get(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:537: in get return self.request('GET', url, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/images/gensokyo.jp//kirisame/json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ______________ TestRegressions.test_649_handle_timeout_value_none ______________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/regression_test.py:33: in test_649_handle_timeout_value_none ctnr = self.client.create_container(TEST_IMG, ['sleep', '2']) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ___________ TestRegressions.test_715_handle_user_param_as_int_value ____________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/regression_test.py:38: in test_715_handle_user_param_as_int_value ctnr = self.client.create_container(TEST_IMG, ['id', '-u'], user=1000) docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) _______________ TestRegressions.test_792_explicit_port_protocol ________________ /usr/local/lib/python3.7/site-packages/urllib3/connection.py:159: in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:57: in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): /usr/local/lib/python3.7/socket.py:752: in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): E socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:600: in urlopen chunked=chunked) /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:354: in _make_request conn.request(method, url, **httplib_request_kw) /usr/local/lib/python3.7/http/client.py:1277: in request self._send_request(method, url, body, headers, encode_chunked) /usr/local/lib/python3.7/http/client.py:1323: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1272: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/local/lib/python3.7/http/client.py:1032: in _send_output self.send(msg) /usr/local/lib/python3.7/http/client.py:972: in send self.connect() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:181: in connect conn = self._new_conn() /usr/local/lib/python3.7/site-packages/urllib3/connection.py:168: in _new_conn self, "Failed to establish a new connection: %s" % e) E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/requests/adapters.py:449: in send timeout=timeout /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) /usr/local/lib/python3.7/site-packages/urllib3/util/retry.py:399: in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) During handling of the above exception, another exception occurred: tests/integration/regression_test.py:52: in test_792_explicit_port_protocol port_bindings={'2000/tcp': tcp_port, '2000/udp': udp_port} docker/api/container.py:430: in create_container return self.create_container_from_config(config, name) docker/api/container.py:440: in create_container_from_config res = self._post_json(u, data=config, params=params) docker/api/client.py:296: in _post_json return self._post(url, data=json.dumps(data2), **kwargs) docker/utils/decorators.py:46: in inner return f(self, *args, **kwargs) docker/api/client.py:233: in _post return self.post(url, **self._set_request_timeout(kwargs)) /usr/local/lib/python3.7/site-packages/requests/sessions.py:572: in post return self.request('POST', url, data=data, json=json, **kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:524: in request resp = self.send(prep, **send_kwargs) /usr/local/lib/python3.7/site-packages/requests/sessions.py:637: in send r = adapter.send(request, **kwargs) /usr/local/lib/python3.7/site-packages/requests/adapters.py:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-3-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/containers/create (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) ---------- coverage: platform linux, python 3.7.10-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 26 93 23 74% docker/api/client.py 261 57 96 20 76% docker/api/config.py 31 0 6 2 95% docker/api/container.py 266 40 104 31 79% docker/api/daemon.py 39 16 14 3 49% docker/api/exec_api.py 46 9 22 4 78% docker/api/image.py 160 50 60 13 65% docker/api/network.py 90 13 48 12 80% docker/api/plugin.py 91 10 14 4 85% docker/api/secret.py 36 3 10 3 83% docker/api/service.py 200 63 149 32 60% docker/api/swarm.py 106 24 38 10 74% docker/api/volume.py 38 14 14 4 58% docker/auth.py 198 93 74 22 48% docker/client.py 69 7 2 1 89% docker/constants.py 21 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 18 38 10 72% docker/context/config.py 61 25 16 3 53% docker/context/context.py 154 26 64 15 78% docker/credentials/__init__.py 3 0 0 0 100% docker/credentials/constants.py 4 0 0 0 100% docker/credentials/errors.py 11 1 2 1 85% docker/credentials/store.py 50 9 16 5 73% docker/credentials/utils.py 23 13 12 1 31% docker/errors.py 110 34 20 6 66% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 2 0 57% docker/models/containers.py 183 87 70 8 49% docker/models/images.py 137 85 56 1 27% docker/models/networks.py 37 19 12 0 37% docker/models/nodes.py 15 5 2 0 59% docker/models/plugins.py 49 30 10 0 32% docker/models/resource.py 41 18 6 1 51% docker/models/secrets.py 22 9 2 0 54% docker/models/services.py 87 63 36 0 20% docker/models/swarm.py 39 15 6 1 56% docker/models/volumes.py 23 9 4 0 52% docker/tls.py 37 13 14 5 57% docker/transport/__init__.py 11 3 0 0 73% docker/transport/basehttpadapter.py 6 3 2 0 38% docker/transport/npipeconn.py 59 54 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/sshconn.py 163 124 56 1 18% docker/transport/ssladapter.py 36 22 10 1 33% docker/transport/unixconn.py 66 42 12 0 31% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 0 2 0 100% docker/types/containers.py 420 222 326 70 45% docker/types/daemon.py 36 8 14 5 70% docker/types/healthcheck.py 34 12 4 1 61% docker/types/networks.py 41 7 28 6 78% docker/types/services.py 314 71 208 41 74% docker/types/swarm.py 51 24 40 10 52% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 155 25 76 13 80% docker/utils/config.py 36 9 10 5 70% docker/utils/decorators.py 32 6 12 4 73% docker/utils/fnmatch.py 55 27 28 4 41% docker/utils/json_stream.py 43 8 14 3 77% docker/utils/ports.py 50 50 32 0 0% docker/utils/proxy.py 32 2 12 1 93% docker/utils/socket.py 86 9 40 7 86% docker/utils/utils.py 278 98 171 32 60% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5131 1870 2263 445 59% =========================== short test summary info ============================ XFAIL tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options CONFIG_RT_GROUP_SCHED isn't enabled XFAIL tests/integration/api_container_test.py::CreateContainerTest::test_create_with_storage_opt Not supported on most drivers XFAIL tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs Output of docker top depends on host distro, and is not formalized. XFAIL tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver This doesn't seem to be taken into account by the engine XFAIL tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks Flaky test SKIPPED [3] /src/tests/helpers.py:71: Feature requires Docker Engine experimental mode SKIPPED [1] tests/integration/api_image_test.py:291: Doesn't work inside a container - FIXME SKIPPED [1] /src/tests/integration/api_swarm_test.py:31: Test stalls the engine on 1.12.0 = 85 failed, 277 passed, 5 skipped, 5 xfailed, 3 xpassed, 21 error in 232.59 seconds = [Pipeline] sh + docker stop dpy-dind-3-0-py3.7-19.03.12 Error response from daemon: No such container: dpy-dind-3-0-py3.7-19.03.12 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py3.7_19.03.12 tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_start_period PASSED [ 35%] tests/integration/api_image_test.py::ListImagesTest::test_images PASSED [ 36%] tests/integration/api_image_test.py::ListImagesTest::test_images_quiet PASSED [ 36%] tests/integration/api_image_test.py::PullImageTest::test_pull PASSED [ 36%] tests/integration/api_image_test.py::PullImageTest::test_pull_invalid_platform SKIPPED [ 36%] tests/integration/api_image_test.py::PullImageTest::test_pull_streaming PASSED [ 37%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_start_period PASSED [ 35%] tests/integration/api_image_test.py::ListImagesTest::test_images PASSED [ 36%] tests/integration/api_image_test.py::ListImagesTest::test_images_quiet PASSED [ 36%] tests/integration/api_image_test.py::PullImageTest::test_pull PASSED [ 36%] tests/integration/api_image_test.py::PullImageTest::test_pull_invalid_platform SKIPPED [ 36%] tests/integration/api_image_test.py::PullImageTest::test_pull_streaming PASSED [ 37%] tests/integration/api_image_test.py::CommitTest::test_commit PASSED [ 37%] tests/integration/api_image_test.py::CommitTest::test_commit PASSED [ 37%] tests/integration/api_image_test.py::CommitTest::test_commit_with_changes PASSED [ 37%] tests/integration/api_image_test.py::CommitTest::test_commit_with_changes PASSED [ 37%] tests/integration/api_image_test.py::RemoveImageTest::test_remove PASSED [ 37%] tests/integration/api_image_test.py::RemoveImageTest::test_remove PASSED [ 37%] tests/integration/api_image_test.py::ImportImageTest::test_get_load_image PASSED [ 38%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_bytes PASSED [ 38%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_file PASSED [ 38%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_stream PASSED [ 38%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_url SKIPPED [ 39%] tests/integration/api_image_test.py::ImportImageTest::test_get_load_image PASSED [ 38%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_bytes PASSED [ 38%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_from_data_with_changes PASSED [ 39%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_with_changes PASSED [ 39%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_file PASSED [ 38%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_stream PASSED [ 38%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_url SKIPPED [ 39%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_from_data_with_changes PASSED [ 39%] tests/integration/api_image_test.py::PruneImagesTest::test_prune_images PASSED [ 40%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_with_changes PASSED [ 39%] tests/integration/api_image_test.py::SaveLoadImagesTest::test_get_image_load_image PASSED [ 40%] tests/integration/api_image_test.py::InspectDistributionTest::test_inspect_distribution PASSED [ 40%] tests/integration/api_image_test.py::PruneImagesTest::test_prune_images PASSED [ 40%] tests/integration/api_image_test.py::SaveLoadImagesTest::test_get_image_load_image PASSED [ 40%] tests/integration/api_image_test.py::InspectDistributionTest::test_inspect_distribution PASSED [ 40%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_disconnect_container PASSED [ 40%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_disconnect_container PASSED [ 40%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_force_disconnect_container PASSED [ 41%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_force_disconnect_container PASSED [ 41%] tests/integration/api_network_test.py::TestNetworks::test_connect_on_container_create PASSED [ 41%] tests/integration/api_network_test.py::TestNetworks::test_connect_on_container_create PASSED [ 41%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_aliases PASSED [ 41%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_aliases PASSED [ 41%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv4_address PASSED [ 41%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv4_address PASSED [ 41%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv6_address PASSED [ 42%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv6_address PASSED [ 42%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_links PASSED [ 42%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_links PASSED [ 42%] tests/integration/api_network_test.py::TestNetworks::test_create_check_duplicate PASSED [ 42%] tests/integration/api_network_test.py::TestNetworks::test_create_check_duplicate PASSED [ 42%] tests/integration/api_network_test.py::TestNetworks::test_create_inspect_network_with_scope PASSED [ 42%] tests/integration/api_network_test.py::TestNetworks::test_create_internal_networks PASSED [ 43%] tests/integration/api_network_test.py::TestNetworks::test_create_inspect_network_with_scope PASSED [ 42%] tests/integration/api_network_test.py::TestNetworks::test_create_internal_networks PASSED [ 43%] tests/integration/api_network_test.py::TestNetworks::test_create_network_attachable PASSED [ 43%] tests/integration/api_network_test.py::TestNetworks::test_create_network_attachable PASSED [ 43%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ingress PASSED [ 43%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ipv6_enabled PASSED [ 43%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_host_driver_fails PASSED [ 44%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ingress PASSED [ 43%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ipv6_enabled PASSED [ 43%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_host_driver_fails PASSED [ 44%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_ipam_config PASSED [ 44%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_ipam_config PASSED [ 44%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_labels PASSED [ 44%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_labels_wrong_type PASSED [ 44%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_labels PASSED [ 44%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_labels_wrong_type PASSED [ 44%] tests/integration/api_network_test.py::TestNetworks::test_create_remove_network_with_space_in_name PASSED [ 45%] tests/integration/api_network_test.py::TestNetworks::test_create_remove_network_with_space_in_name PASSED [ 45%] tests/integration/api_network_test.py::TestNetworks::test_create_with_aliases PASSED [ 45%] tests/integration/api_network_test.py::TestNetworks::test_create_with_aliases PASSED [ 45%] tests/integration/api_network_test.py::TestNetworks::test_create_with_driveropt PASSED [ 45%] tests/integration/api_network_test.py::TestNetworks::test_create_with_driveropt PASSED [ 45%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv4_address PASSED [ 45%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv4_address PASSED [ 45%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv6_address PASSED [ 46%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv6_address PASSED [ 46%] tests/integration/api_network_test.py::TestNetworks::test_create_with_linklocal_ips PASSED [ 46%] tests/integration/api_network_test.py::TestNetworks::test_create_with_linklocal_ips PASSED [ 46%] tests/integration/api_network_test.py::TestNetworks::test_create_with_links PASSED [ 46%] tests/integration/api_network_test.py::TestNetworks::test_create_with_links PASSED [ 46%] tests/integration/api_network_test.py::TestNetworks::test_inspect_network PASSED [ 46%] tests/integration/api_network_test.py::TestNetworks::test_inspect_network PASSED [ 46%] tests/integration/api_network_test.py::TestNetworks::test_list_networks PASSED [ 47%] tests/integration/api_network_test.py::TestNetworks::test_list_networks PASSED [ 47%] tests/integration/api_network_test.py::TestNetworks::test_prune_networks PASSED [ 47%] tests/integration/api_network_test.py::TestNetworks::test_prune_networks PASSED [ 47%] tests/integration/api_network_test.py::TestNetworks::test_remove_network PASSED [ 47%] tests/integration/api_network_test.py::TestNetworks::test_remove_network PASSED [ 47%] tests/integration/api_plugin_test.py::PluginTest::test_configure_plugin PASSED [ 47%] tests/integration/api_plugin_test.py::PluginTest::test_configure_plugin PASSED [ 47%] tests/integration/api_plugin_test.py::PluginTest::test_create_plugin PASSED [ 48%] tests/integration/api_plugin_test.py::PluginTest::test_create_plugin PASSED [ 48%] tests/integration/api_plugin_test.py::PluginTest::test_disable_plugin PASSED [ 48%] tests/integration/api_plugin_test.py::PluginTest::test_disable_plugin PASSED [ 48%] tests/integration/api_plugin_test.py::PluginTest::test_enable_plugin PASSED [ 48%] tests/integration/api_plugin_test.py::PluginTest::test_enable_plugin PASSED [ 48%] tests/integration/api_plugin_test.py::PluginTest::test_force_remove_plugin PASSED [ 48%] tests/integration/api_plugin_test.py::PluginTest::test_force_remove_plugin PASSED [ 48%] tests/integration/api_plugin_test.py::PluginTest::test_inspect_plugin PASSED [ 49%] tests/integration/api_plugin_test.py::PluginTest::test_inspect_plugin PASSED [ 49%] tests/integration/api_plugin_test.py::PluginTest::test_install_plugin PASSED [ 49%] tests/integration/api_plugin_test.py::PluginTest::test_list_plugins PASSED [ 49%] tests/integration/api_plugin_test.py::PluginTest::test_plugin_privileges PASSED [ 50%] tests/integration/api_plugin_test.py::PluginTest::test_remove_plugin PASSED [ 50%] tests/integration/api_plugin_test.py::PluginTest::test_install_plugin PASSED [ 49%] tests/integration/api_plugin_test.py::PluginTest::test_list_plugins PASSED [ 49%] tests/integration/api_plugin_test.py::PluginTest::test_plugin_privileges PASSED [ 50%] tests/integration/api_plugin_test.py::PluginTest::test_remove_plugin PASSED [ 50%] tests/integration/api_plugin_test.py::PluginTest::test_upgrade_plugin PASSED [ 50%] tests/integration/api_plugin_test.py::PluginTest::test_upgrade_plugin PASSED [ 50%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret PASSED [ 50%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret_unicode_data PASSED [ 51%] tests/integration/api_secret_test.py::SecretAPITest::test_inspect_secret PASSED [ 51%] tests/integration/api_secret_test.py::SecretAPITest::test_list_secrets PASSED [ 51%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret PASSED [ 50%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret_unicode_data PASSED [ 51%] tests/integration/api_secret_test.py::SecretAPITest::test_inspect_secret PASSED [ 51%] tests/integration/api_secret_test.py::SecretAPITest::test_list_secrets PASSED [ 51%] tests/integration/api_secret_test.py::SecretAPITest::test_remove_secret PASSED [ 51%] tests/integration/api_secret_test.py::SecretAPITest::test_remove_secret PASSED [ 51%] tests/integration/api_service_test.py::ServiceTest::test_create_service_custom_log_driver PASSED [ 52%] tests/integration/api_service_test.py::ServiceTest::test_create_service_global_mode PASSED [ 52%] tests/integration/api_service_test.py::ServiceTest::test_create_service_replicated_mode PASSED [ 52%] tests/integration/api_service_test.py::ServiceTest::test_create_service_simple PASSED [ 52%] tests/integration/api_service_test.py::ServiceTest::test_create_service_custom_log_driver PASSED [ 52%] tests/integration/api_service_test.py::ServiceTest::test_create_service_global_mode PASSED [ 52%] tests/integration/api_service_test.py::ServiceTest::test_create_service_replicated_mode PASSED [ 52%] tests/integration/api_service_test.py::ServiceTest::test_create_service_simple PASSED [ 52%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_config PASSED [ 53%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_custom_networks PASSED [ 53%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_dns_config PASSED [ 53%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec PASSED [ 53%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec_host_publish_mode PASSED [ 54%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_env PASSED [ 54%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_failure_action_rollback PASSED [ 54%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_config PASSED [ 53%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_custom_networks PASSED [ 53%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_dns_config PASSED [ 53%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec PASSED [ 53%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_generic_resources PASSED [ 54%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_groups PASSED [ 55%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_healthcheck PASSED [ 55%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hostname PASSED [ 55%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hosts PASSED [ 55%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_init PASSED [ 56%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_invalid_generic_resources PASSED [ 56%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_network_attachment_config PASSED [ 56%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement PASSED [ 56%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_maxreplicas PASSED [ 57%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_object PASSED [ 57%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_platform PASSED [ 57%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences PASSED [ 57%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences_tuple PASSED [ 58%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_privileges PASSED [ 58%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_readonly PASSED [ 58%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_resources_constraints PASSED [ 58%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_restart_policy PASSED [ 59%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_rollback_config PASSED [ 59%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec_host_publish_mode PASSED [ 54%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_env PASSED [ 54%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_failure_action_rollback PASSED [ 54%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_generic_resources PASSED [ 54%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_groups PASSED [ 55%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_healthcheck PASSED [ 55%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hostname PASSED [ 55%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hosts PASSED [ 55%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_init PASSED [ 56%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_invalid_generic_resources PASSED [ 56%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_network_attachment_config PASSED [ 56%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement PASSED [ 56%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_maxreplicas PASSED [ 57%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_object PASSED [ 57%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_platform PASSED [ 57%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences PASSED [ 57%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences_tuple PASSED [ 58%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_privileges PASSED [ 58%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_readonly PASSED [ 58%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_resources_constraints PASSED [ 58%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_restart_policy PASSED [ 59%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_rollback_config PASSED [ 59%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_secret PASSED [ 59%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_stop_signal PASSED [ 60%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty PASSED [ 60%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty_dict PASSED [ 60%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_secret PASSED [ 59%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_stop_signal PASSED [ 60%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty PASSED [ 60%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty_dict PASSED [ 60%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_config PASSED [ 60%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_config PASSED [ 60%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_secret PASSED [ 61%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config PASSED [ 61%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config_monitor PASSED [ 61%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_order PASSED [ 61%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_volume_mount PASSED [ 62%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_id PASSED [ 62%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_name PASSED [ 62%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_insert_defaults PASSED [ 62%] tests/integration/api_service_test.py::ServiceTest::test_list_services PASSED [ 63%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_secret PASSED [ 61%] tests/integration/api_service_test.py::ServiceTest::test_list_services_filter_by_label PASSED [ 63%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_id PASSED [ 63%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_name PASSED [ 63%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config PASSED [ 61%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config_monitor PASSED [ 61%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_order PASSED [ 61%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_volume_mount PASSED [ 62%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_id PASSED [ 62%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_name PASSED [ 62%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_insert_defaults PASSED [ 62%] tests/integration/api_service_test.py::ServiceTest::test_list_services PASSED [ 63%] tests/integration/api_service_test.py::ServiceTest::test_list_services_filter_by_label PASSED [ 63%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_id PASSED [ 63%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_name PASSED [ 63%] tests/integration/api_service_test.py::ServiceTest::test_service_logs PASSED [ 64%] tests/integration/api_service_test.py::ServiceTest::test_update_service_force_update PASSED [ 64%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_container_labels PASSED [ 64%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_healthcheck PASSED [ 64%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_labels PASSED [ 65%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_container_labels PASSED [ 65%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_endpoint_spec PASSED [ 65%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_labels PASSED [ 65%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_mode PASSED [ 66%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_name PASSED [ 66%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_networks PASSED [ 66%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_update_config PASSED [ 66%] tests/integration/api_service_test.py::ServiceTest::test_service_logs PASSED [ 64%] tests/integration/api_service_test.py::ServiceTest::test_update_service_force_update PASSED [ 64%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_container_labels PASSED [ 64%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_healthcheck PASSED [ 64%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_labels PASSED [ 65%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_container_labels PASSED [ 65%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_endpoint_spec PASSED [ 65%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_labels PASSED [ 65%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_mode PASSED [ 66%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_name PASSED [ 66%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_networks PASSED [ 66%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_update_config PASSED [ 66%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_network_change PASSED [ 67%] tests/integration/api_swarm_test.py::SwarmTest::test_init_already_in_cluster PASSED [ 67%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_network_change PASSED [ 67%] tests/integration/api_swarm_test.py::SwarmTest::test_init_already_in_cluster PASSED [ 67%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_both_args PASSED [ 67%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_both_args PASSED [ 67%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_defaults PASSED [ 67%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_defaults PASSED [ 67%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_pool PASSED [ 68%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_pool PASSED [ 68%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_subnet_size PASSED [ 68%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_subnet_size PASSED [ 68%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_raft_spec PASSED [ 68%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_raft_spec PASSED [ 68%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_data_path_addr XPASS [ 68%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_force_new_cluster SKIPPED [ 69%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_data_path_addr XPASS [ 68%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_force_new_cluster SKIPPED [ 69%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_simple PASSED [ 69%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_simple PASSED [ 69%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_autolock_managers PASSED [ 69%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_autolock_managers PASSED [ 69%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_ca_config PASSED [ 70%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_ca_config PASSED [ 70%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver XFAIL [ 70%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver XFAIL [ 70%] tests/integration/api_swarm_test.py::SwarmTest::test_inspect_node PASSED [ 70%] tests/integration/api_swarm_test.py::SwarmTest::test_inspect_node PASSED [ 70%] tests/integration/api_swarm_test.py::SwarmTest::test_leave_swarm PASSED [ 70%] tests/integration/api_swarm_test.py::SwarmTest::test_leave_swarm PASSED [ 70%] tests/integration/api_swarm_test.py::SwarmTest::test_list_nodes PASSED [ 71%] tests/integration/api_swarm_test.py::SwarmTest::test_list_nodes PASSED [ 71%] tests/integration/api_swarm_test.py::SwarmTest::test_remove_main_node PASSED [ 71%] tests/integration/api_swarm_test.py::SwarmTest::test_remove_main_node PASSED [ 71%] tests/integration/api_swarm_test.py::SwarmTest::test_rotate_manager_unlock_key PASSED [ 71%] tests/integration/api_swarm_test.py::SwarmTest::test_rotate_manager_unlock_key PASSED [ 71%] tests/integration/api_swarm_test.py::SwarmTest::test_update_node PASSED [ 71%] tests/integration/api_swarm_test.py::SwarmTest::test_update_node PASSED [ 71%] tests/integration/api_swarm_test.py::SwarmTest::test_update_swarm PASSED [ 72%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume PASSED [ 72%] tests/integration/api_swarm_test.py::SwarmTest::test_update_swarm PASSED [ 72%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume PASSED [ 72%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume_invalid_driver PASSED [ 72%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume PASSED [ 72%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_nonexistent_volume PASSED [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume PASSED [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_list_volumes PASSED [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_prune_volumes PASSED [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_remove_nonexistent_volume PASSED [ 74%] tests/integration/api_volume_test.py::TestVolumes::test_remove_volume PASSED [ 74%] tests/integration/client_test.py::ClientTest::test_df PASSED [ 74%] tests/integration/client_test.py::ClientTest::test_info PASSED [ 74%] tests/integration/client_test.py::ClientTest::test_ping PASSED [ 75%] tests/integration/client_test.py::ClientTest::test_version PASSED [ 75%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume_invalid_driver PASSED [ 72%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume PASSED [ 72%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_nonexistent_volume PASSED [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume PASSED [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_list_volumes PASSED [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_prune_volumes PASSED [ 73%] tests/integration/api_volume_test.py::TestVolumes::test_remove_nonexistent_volume PASSED [ 74%] tests/integration/api_volume_test.py::TestVolumes::test_remove_volume PASSED [ 74%] tests/integration/client_test.py::ClientTest::test_df PASSED [ 74%] tests/integration/client_test.py::ClientTest::test_info PASSED [ 74%] tests/integration/client_test.py::ClientTest::test_ping PASSED [ 75%] tests/integration/client_test.py::ClientTest::test_version PASSED [ 75%] tests/integration/client_test.py::CancellableEventsTest::test_cancel_events PASSED [ 75%] tests/integration/context_api_test.py::ContextLifecycleTest::test_context_remove PASSED [ 75%] tests/integration/context_api_test.py::ContextLifecycleTest::test_lifecycle PASSED [ 76%] tests/integration/context_api_test.py::ContextLifecycleTest::test_load_context_without_orchestrator PASSED [ 76%] tests/integration/errors_test.py::ErrorsTest::test_api_error_parses_json PASSED [ 76%] tests/integration/client_test.py::CancellableEventsTest::test_cancel_events PASSED [ 75%] tests/integration/context_api_test.py::ContextLifecycleTest::test_context_remove PASSED [ 75%] tests/integration/context_api_test.py::ContextLifecycleTest::test_lifecycle PASSED [ 76%] tests/integration/context_api_test.py::ContextLifecycleTest::test_load_context_without_orchestrator PASSED [ 76%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 76%] tests/integration/errors_test.py::ErrorsTest::test_api_error_parses_json PASSED [ 76%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 77%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list_sparse PASSED [ 77%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run PASSED [ 77%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 76%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 77%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 77%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list_sparse PASSED [ 77%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run PASSED [ 77%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 77%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove PASSED [ 78%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove PASSED [ 78%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove_error PASSED [ 78%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_error PASSED [ 78%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_image_that_does_not_exist PASSED [ 78%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_json_file_driver PASSED [ 79%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove_error PASSED [ 78%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_named_volume PASSED [ 79%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_error PASSED [ 78%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_image_that_does_not_exist PASSED [ 78%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_json_file_driver PASSED [ 79%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_network PASSED [ 79%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_named_volume PASSED [ 79%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_none_driver PASSED [ 80%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_proxy_config PASSED [ 80%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs PASSED [ 80%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs_and_cancel PASSED [ 80%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_network PASSED [ 79%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_none_driver PASSED [ 80%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_proxy_config PASSED [ 80%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_volume PASSED [ 81%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs PASSED [ 80%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs_and_cancel PASSED [ 80%] tests/integration/models_containers_test.py::ContainerTest::test_commit PASSED [ 81%] tests/integration/models_containers_test.py::ContainerTest::test_create_with_volume_driver PASSED [ 81%] tests/integration/models_containers_test.py::ContainerTest::test_diff PASSED [ 81%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_volume PASSED [ 81%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_failed PASSED [ 82%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_success PASSED [ 82%] tests/integration/models_containers_test.py::ContainerTest::test_commit PASSED [ 81%] tests/integration/models_containers_test.py::ContainerTest::test_create_with_volume_driver PASSED [ 81%] tests/integration/models_containers_test.py::ContainerTest::test_kill PASSED [ 82%] tests/integration/models_containers_test.py::ContainerTest::test_diff PASSED [ 81%] tests/integration/models_containers_test.py::ContainerTest::test_logs PASSED [ 82%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_failed PASSED [ 82%] tests/integration/models_containers_test.py::ContainerTest::test_pause PASSED [ 83%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_success PASSED [ 82%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_list PASSED [ 83%] tests/integration/models_containers_test.py::ContainerTest::test_kill PASSED [ 82%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_none PASSED [ 83%] tests/integration/models_containers_test.py::ContainerTest::test_logs PASSED [ 82%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_tuple PASSED [ 83%] tests/integration/models_containers_test.py::ContainerTest::test_pause PASSED [ 83%] tests/integration/models_containers_test.py::ContainerTest::test_remove PASSED [ 84%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_list PASSED [ 83%] tests/integration/models_containers_test.py::ContainerTest::test_rename PASSED [ 84%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_none PASSED [ 83%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_tuple PASSED [ 83%] tests/integration/models_containers_test.py::ContainerTest::test_remove PASSED [ 84%] tests/integration/models_containers_test.py::ContainerTest::test_rename PASSED [ 84%] tests/integration/models_containers_test.py::ContainerTest::test_restart PASSED [ 84%] tests/integration/models_containers_test.py::ContainerTest::test_start PASSED [ 84%] tests/integration/models_containers_test.py::ContainerTest::test_stats PASSED [ 85%] tests/integration/models_containers_test.py::ContainerTest::test_stop PASSED [ 85%] tests/integration/models_containers_test.py::ContainerTest::test_top PASSED [ 85%] tests/integration/models_containers_test.py::ContainerTest::test_update PASSED [ 85%] tests/integration/models_containers_test.py::ContainerTest::test_restart PASSED [ 84%] tests/integration/models_containers_test.py::ContainerTest::test_start PASSED [ 84%] tests/integration/models_containers_test.py::ContainerTest::test_stats PASSED [ 85%] tests/integration/models_containers_test.py::ContainerTest::test_wait PASSED [ 86%] tests/integration/models_images_test.py::ImageCollectionTest::test_build PASSED [ 86%] tests/integration/models_containers_test.py::ContainerTest::test_stop PASSED [ 85%] tests/integration/models_containers_test.py::ContainerTest::test_top PASSED [ 85%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_error PASSED [ 86%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_multiple_success PASSED [ 86%] tests/integration/models_containers_test.py::ContainerTest::test_update PASSED [ 85%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_success_build_output PASSED [ 87%] tests/integration/models_images_test.py::ImageCollectionTest::test_list PASSED [ 87%] tests/integration/models_containers_test.py::ContainerTest::test_wait PASSED [ 86%] tests/integration/models_images_test.py::ImageCollectionTest::test_list_with_repository PASSED [ 87%] tests/integration/models_images_test.py::ImageCollectionTest::test_load_error PASSED [ 87%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 88%] tests/integration/models_images_test.py::ImageCollectionTest::test_build PASSED [ 86%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 88%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_error PASSED [ 86%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_sha PASSED [ 88%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_tag PASSED [ 88%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load PASSED [ 89%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_multiple_success PASSED [ 86%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load_repo_name PASSED [ 89%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_name_error PASSED [ 89%] tests/integration/models_images_test.py::ImageTest::test_tag_and_remove PASSED [ 90%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 90%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_success_build_output PASSED [ 87%] tests/integration/models_images_test.py::ImageCollectionTest::test_list PASSED [ 87%] tests/integration/models_images_test.py::ImageCollectionTest::test_list_with_repository PASSED [ 87%] tests/integration/models_images_test.py::ImageCollectionTest::test_load_error PASSED [ 87%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 88%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 90%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_list_remove PASSED [ 90%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 88%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_sha PASSED [ 88%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_tag PASSED [ 88%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load PASSED [ 89%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load_repo_name PASSED [ 89%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_name_error PASSED [ 89%] tests/integration/models_images_test.py::ImageTest::test_tag_and_remove PASSED [ 90%] tests/integration/models_networks_test.py::NetworkTest::test_connect_disconnect PASSED [ 91%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 90%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 90%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_list_remove PASSED [ 90%] tests/integration/models_networks_test.py::NetworkTest::test_connect_disconnect PASSED [ 91%] tests/integration/models_nodes_test.py::NodesTest::test_list_get_update PASSED [ 91%] tests/integration/models_resources_test.py::ModelTest::test_reload PASSED [ 91%] tests/integration/models_services_test.py::ServiceTest::test_create PASSED [ 91%] tests/integration/models_services_test.py::ServiceTest::test_create_with_network PASSED [ 92%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service PASSED [ 92%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_bool PASSED [ 92%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_shorthand_method PASSED [ 92%] tests/integration/models_services_test.py::ServiceTest::test_get PASSED [ 93%] tests/integration/models_services_test.py::ServiceTest::test_list_remove PASSED [ 93%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_global_service PASSED [ 93%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_service PASSED [ 93%] tests/integration/models_services_test.py::ServiceTest::test_scale_service PASSED [ 94%] tests/integration/models_services_test.py::ServiceTest::test_tasks PASSED [ 94%] tests/integration/models_services_test.py::ServiceTest::test_update PASSED [ 94%] tests/integration/models_services_test.py::ServiceTest::test_update_remove_service_labels PASSED [ 94%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_container_labels PASSED [ 95%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks XPASS [ 95%] tests/integration/models_nodes_test.py::NodesTest::test_list_get_update PASSED [ 91%] tests/integration/models_resources_test.py::ModelTest::test_reload PASSED [ 91%] tests/integration/models_services_test.py::ServiceTest::test_create PASSED [ 91%] tests/integration/models_services_test.py::ServiceTest::test_create_with_network PASSED [ 92%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service PASSED [ 92%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_bool PASSED [ 92%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_shorthand_method PASSED [ 92%] tests/integration/models_services_test.py::ServiceTest::test_get PASSED [ 93%] tests/integration/models_services_test.py::ServiceTest::test_list_remove PASSED [ 93%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_global_service PASSED [ 93%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_service PASSED [ 93%] tests/integration/models_services_test.py::ServiceTest::test_scale_service PASSED [ 94%] tests/integration/models_services_test.py::ServiceTest::test_tasks PASSED [ 94%] tests/integration/models_services_test.py::ServiceTest::test_update PASSED [ 94%] tests/integration/models_services_test.py::ServiceTest::test_update_remove_service_labels PASSED [ 94%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_container_labels PASSED [ 95%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks XPASS [ 95%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_service_labels PASSED [ 95%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_service_labels PASSED [ 95%] tests/integration/models_swarm_test.py::SwarmTest::test_init_update_leave PASSED [ 95%] tests/integration/models_swarm_test.py::SwarmTest::test_init_update_leave PASSED [ 95%] tests/integration/models_swarm_test.py::SwarmTest::test_join_on_already_joined_swarm PASSED [ 96%] tests/integration/models_volumes_test.py::VolumesTest::test_create_get PASSED [ 96%] tests/integration/models_volumes_test.py::VolumesTest::test_list_remove PASSED [ 96%] tests/integration/regression_test.py::TestRegressions::test_443_handle_nonchunked_response_in_stream PASSED [ 96%] tests/integration/regression_test.py::TestRegressions::test_542_truncate_ids_client_side PASSED [ 97%] tests/integration/regression_test.py::TestRegressions::test_647_support_doubleslash_in_image_names PASSED [ 97%] tests/integration/models_swarm_test.py::SwarmTest::test_join_on_already_joined_swarm PASSED [ 96%] tests/integration/models_volumes_test.py::VolumesTest::test_create_get PASSED [ 96%] tests/integration/models_volumes_test.py::VolumesTest::test_list_remove PASSED [ 96%] tests/integration/regression_test.py::TestRegressions::test_443_handle_nonchunked_response_in_stream PASSED [ 96%] tests/integration/regression_test.py::TestRegressions::test_542_truncate_ids_client_side PASSED [ 97%] tests/integration/regression_test.py::TestRegressions::test_647_support_doubleslash_in_image_names PASSED [ 97%] tests/integration/regression_test.py::TestRegressions::test_649_handle_timeout_value_none PASSED [ 97%] tests/integration/regression_test.py::TestRegressions::test_715_handle_user_param_as_int_value PASSED [ 97%] tests/integration/regression_test.py::TestRegressions::test_792_explicit_port_protocol PASSED [ 98%] tests/integration/credentials/store_test.py::TestStore::test_store_and_get PASSED [ 98%] tests/integration/credentials/store_test.py::TestStore::test_get_nonexistent PASSED [ 98%] tests/integration/regression_test.py::TestRegressions::test_649_handle_timeout_value_none PASSED [ 97%] tests/integration/credentials/store_test.py::TestStore::test_store_and_erase PASSED [ 98%] tests/integration/credentials/store_test.py::TestStore::test_unicode_strings PASSED [ 99%] tests/integration/regression_test.py::TestRegressions::test_715_handle_user_param_as_int_value PASSED [ 97%] tests/integration/credentials/store_test.py::TestStore::test_list PASSED [ 99%] tests/integration/credentials/store_test.py::TestStore::test_execute_with_env_override PASSED [ 99%] tests/integration/regression_test.py::TestRegressions::test_792_explicit_port_protocol PASSED [ 98%] tests/integration/credentials/utils_test.py::test_create_environment_dict PASSED [100%] ---------- coverage: platform linux, python 3.7.10-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 26 93 23 74% docker/api/client.py 261 56 96 19 77% docker/api/config.py 31 0 6 2 95% docker/api/container.py 266 34 104 26 83% docker/api/daemon.py 39 14 14 3 53% docker/api/exec_api.py 46 9 22 3 79% docker/api/image.py 160 45 60 13 67% docker/api/network.py 90 13 48 12 80% docker/api/plugin.py 91 10 14 4 85% docker/api/secret.py 36 3 10 3 83% docker/api/service.py 200 58 149 32 62% docker/api/swarm.py 106 15 38 10 81% docker/api/volume.py 38 5 14 5 81% docker/auth.py 198 93 74 22 48% docker/client.py 69 5 2 1 92% docker/constants.py 21 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 18 38 10 72% docker/context/config.py 61 25 16 3 53% docker/context/context.py 154 26 64 15 78% docker/credentials/__init__.py 3 0 0 0 100% docker/credentials/constants.py 4 0 0 0 100% docker/credentials/errors.py 11 1 2 1 85% docker/credentials/store.py 50 9 16 5 73% docker/credentials/utils.py 23 13 12 1 31% docker/errors.py 110 22 20 6 75% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 2 0 57% docker/models/containers.py 183 21 70 9 86% docker/models/images.py 137 41 56 6 67% docker/models/networks.py 37 1 12 2 94% docker/models/nodes.py 15 1 2 0 94% docker/models/plugins.py 49 30 10 0 32% docker/models/resource.py 41 11 6 2 72% docker/models/secrets.py 22 9 2 0 54% docker/models/services.py 87 5 36 5 92% docker/models/swarm.py 39 3 6 3 87% docker/models/volumes.py 23 1 4 0 96% docker/tls.py 37 13 14 5 57% docker/transport/__init__.py 11 3 0 0 73% docker/transport/basehttpadapter.py 6 3 2 0 38% docker/transport/npipeconn.py 59 54 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/sshconn.py 163 124 56 1 18% docker/transport/ssladapter.py 36 22 10 1 33% docker/transport/unixconn.py 66 42 12 0 31% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 0 2 0 100% docker/types/containers.py 420 222 326 70 45% docker/types/daemon.py 36 8 14 4 72% docker/types/healthcheck.py 34 12 4 1 61% docker/types/networks.py 41 7 28 6 78% docker/types/services.py 314 70 208 40 75% docker/types/swarm.py 51 24 40 10 52% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 155 25 76 13 80% docker/utils/config.py 36 9 10 5 70% docker/utils/decorators.py 32 6 12 4 73% docker/utils/fnmatch.py 55 27 28 4 41% docker/utils/json_stream.py 43 8 14 3 77% docker/utils/ports.py 50 50 32 0 0% docker/utils/proxy.py 32 2 12 1 93% docker/utils/socket.py 86 9 40 7 86% docker/utils/utils.py 278 98 171 32 60% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5131 1601 2263 453 64% =========================== short test summary info ============================ XFAIL tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options CONFIG_RT_GROUP_SCHED isn't enabled XFAIL tests/integration/api_container_test.py::CreateContainerTest::test_create_with_storage_opt Not supported on most drivers XFAIL tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs Output of docker top depends on host distro, and is not formalized. XFAIL tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver This doesn't seem to be taken into account by the engine SKIPPED [3] /src/tests/helpers.py:71: Feature requires Docker Engine experimental mode SKIPPED [1] tests/integration/api_image_test.py:291: Doesn't work inside a container - FIXME SKIPPED [1] /src/tests/integration/api_swarm_test.py:31: Test stalls the engine on 1.12.0 ======== 377 passed, 5 skipped, 4 xfailed, 4 xpassed in 300.11 seconds ========= tests/integration/credentials/store_test.py::TestStore::test_store_and_get PASSED [ 98%] tests/integration/credentials/store_test.py::TestStore::test_get_nonexistent PASSED [ 98%] tests/integration/credentials/store_test.py::TestStore::test_store_and_erase PASSED [ 98%] [Pipeline] sh tests/integration/credentials/store_test.py::TestStore::test_unicode_strings PASSED [ 99%] tests/integration/credentials/store_test.py::TestStore::test_list PASSED [ 99%] tests/integration/credentials/store_test.py::TestStore::test_execute_with_env_override PASSED [ 99%] + docker stop dpy-dind-3-0-py3.7-20.10.6 tests/integration/credentials/utils_test.py::test_create_environment_dict PASSED [100%] ---------- coverage: platform linux, python 3.7.10-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 26 93 23 74% docker/api/client.py 261 56 96 19 77% docker/api/config.py 31 0 6 2 95% docker/api/container.py 266 34 104 26 83% docker/api/daemon.py 39 14 14 3 53% docker/api/exec_api.py 46 9 22 3 79% docker/api/image.py 160 45 60 13 67% docker/api/network.py 90 13 48 12 80% docker/api/plugin.py 91 10 14 4 85% docker/api/secret.py 36 3 10 3 83% docker/api/service.py 200 58 149 32 62% docker/api/swarm.py 106 15 38 10 81% docker/api/volume.py 38 5 14 5 81% docker/auth.py 198 93 74 22 48% docker/client.py 69 5 2 1 92% docker/constants.py 21 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 18 38 10 72% docker/context/config.py 61 25 16 3 53% docker/context/context.py 154 26 64 15 78% docker/credentials/__init__.py 3 0 0 0 100% docker/credentials/constants.py 4 0 0 0 100% docker/credentials/errors.py 11 1 2 1 85% docker/credentials/store.py 50 9 16 5 73% docker/credentials/utils.py 23 13 12 1 31% docker/errors.py 110 22 20 6 75% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 2 0 57% docker/models/containers.py 183 21 70 9 86% docker/models/images.py 137 41 56 6 67% docker/models/networks.py 37 1 12 2 94% docker/models/nodes.py 15 1 2 0 94% docker/models/plugins.py 49 30 10 0 32% docker/models/resource.py 41 11 6 2 72% docker/models/secrets.py 22 9 2 0 54% docker/models/services.py 87 5 36 5 92% docker/models/swarm.py 39 3 6 3 87% docker/models/volumes.py 23 1 4 0 96% docker/tls.py 37 13 14 5 57% docker/transport/__init__.py 11 3 0 0 73% docker/transport/basehttpadapter.py 6 3 2 0 38% docker/transport/npipeconn.py 59 54 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/sshconn.py 163 124 56 1 18% docker/transport/ssladapter.py 36 22 10 1 33% docker/transport/unixconn.py 66 42 12 0 31% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 0 2 0 100% docker/types/containers.py 420 222 326 70 45% docker/types/daemon.py 36 8 14 4 72% docker/types/healthcheck.py 34 12 4 1 61% docker/types/networks.py 41 7 28 6 78% docker/types/services.py 314 70 208 40 75% docker/types/swarm.py 51 24 40 10 52% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 155 25 76 13 80% docker/utils/config.py 36 9 10 5 70% docker/utils/decorators.py 32 6 12 4 73% docker/utils/fnmatch.py 55 27 28 4 41% docker/utils/json_stream.py 43 8 14 3 77% docker/utils/ports.py 50 50 32 0 0% docker/utils/proxy.py 32 2 12 1 93% docker/utils/socket.py 86 9 40 7 86% docker/utils/utils.py 278 98 171 32 60% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5131 1601 2263 453 64% =========================== short test summary info ============================ XFAIL tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options CONFIG_RT_GROUP_SCHED isn't enabled XFAIL tests/integration/api_container_test.py::CreateContainerTest::test_create_with_storage_opt Not supported on most drivers XFAIL tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs Output of docker top depends on host distro, and is not formalized. XFAIL tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver This doesn't seem to be taken into account by the engine SKIPPED [3] /src/tests/helpers.py:71: Feature requires Docker Engine experimental mode SKIPPED [1] tests/integration/api_image_test.py:291: Doesn't work inside a container - FIXME SKIPPED [1] /src/tests/integration/api_swarm_test.py:31: Test stalls the engine on 1.12.0 ======== 377 passed, 5 skipped, 4 xfailed, 4 xpassed in 297.51 seconds ========= [Pipeline] sh + docker stop dpy-dind-3-0-py3.7-19.03.13 dpy-dind-3-0-py3.7-19.03.13 [Pipeline] sh + docker run --rm -d --name dpy-dind-3-0-py3.7-19.03.13 -v /tmp --privileged --network dpy-testnet-3-0-py3.7-19.03.13 dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 dockerd --experimental e0b7fd13a7aa53f64f8a448e507f0dbecf0b31a47e46e08d969e71f3b2d3d824 [Pipeline] sh dpy-dind-3-0-py3.7-20.10.6 [Pipeline] sh + docker exec dpy-dind-3-0-py3.7-19.03.13 sh -c /usr/sbin/sshd [Pipeline] sh + docker run --rm -d --name dpy-dind-3-0-py3.7-20.10.6 -v /tmp --privileged --network dpy-testnet-3-0-py3.7-20.10.6 dockerpinata/docker-py:sshdind-d0057116d54de76cde447ac3e1696f087dcf24d0 dockerd --experimental 0e53cc2dc949452ff580f27d1cd9c81e0d3b0c0335c5c66fc0aad0774f744607 + docker run --rm --name dpy-tests-3-0-py3.7-19.03.13 -e DOCKER_HOST=ssh://dpy-dind-3-0-py3.7-19.03.13:22 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-3-0-py3.7-19.03.13 --volumes-from dpy-dind-3-0-py3.7-19.03.13 -v /home/ubuntu/workspace/docker-py_PR-2843@tmp/59142ee1-5ded-49f1-9887-96b4e41702f2/config.json:/root/.docker/config.json dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 py.test -v -rxs --cov=docker tests/ssh [Pipeline] sh + docker exec dpy-dind-3-0-py3.7-20.10.6 sh -c /usr/sbin/sshd [Pipeline] sh ============================= test session starts ============================== platform linux -- Python 3.7.10, pytest-4.3.1, py-1.10.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: cov-2.6.1, timeout-1.3.3 + docker run --rm --name dpy-tests-3-0-py3.7-20.10.6 -e DOCKER_HOST=ssh://dpy-dind-3-0-py3.7-20.10.6:22 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-3-0-py3.7-20.10.6 --volumes-from dpy-dind-3-0-py3.7-20.10.6 -v /home/ubuntu/workspace/docker-py_PR-2843@tmp/03ea3307-6ec1-4fb0-88a4-490e291fa1f8/config.json:/root/.docker/config.json dockerpinata/docker-py:py3-d0057116d54de76cde447ac3e1696f087dcf24d0 py.test -v -rxs --cov=docker tests/ssh collecting ... collected 24 items ============================= test session starts ============================== platform linux -- Python 3.7.10, pytest-4.3.1, py-1.10.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: cov-2.6.1, timeout-1.3.3 collecting ... collected 24 items tests/ssh/api_build_test.py::BuildTest::test_build_container_with_target PASSED [ 4%] tests/ssh/api_build_test.py::BuildTest::test_build_from_stringio PASSED [ 8%] tests/ssh/api_build_test.py::BuildTest::test_build_gzip_custom_encoding PASSED [ 12%] tests/ssh/api_build_test.py::BuildTest::test_build_gzip_encoding PASSED [ 16%] tests/ssh/api_build_test.py::BuildTest::test_build_container_with_target PASSED [ 4%] tests/ssh/api_build_test.py::BuildTest::test_build_from_stringio PASSED [ 8%] tests/ssh/api_build_test.py::BuildTest::test_build_gzip_custom_encoding PASSED [ 12%] tests/ssh/api_build_test.py::BuildTest::test_build_gzip_encoding PASSED [ 16%] tests/ssh/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 20%] tests/ssh/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 25%] tests/ssh/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 20%] tests/ssh/api_build_test.py::BuildTest::test_build_in_context_nested_dockerfile PASSED [ 29%] tests/ssh/api_build_test.py::BuildTest::test_build_invalid_platform PASSED [ 33%] tests/ssh/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 25%] tests/ssh/api_build_test.py::BuildTest::test_build_isolation PASSED [ 37%] tests/ssh/api_build_test.py::BuildTest::test_build_labels PASSED [ 41%] tests/ssh/api_build_test.py::BuildTest::test_build_in_context_nested_dockerfile PASSED [ 29%] tests/ssh/api_build_test.py::BuildTest::test_build_invalid_platform PASSED [ 33%] tests/ssh/api_build_test.py::BuildTest::test_build_isolation PASSED [ 37%] tests/ssh/api_build_test.py::BuildTest::test_build_out_of_context_dockerfile PASSED [ 45%] tests/ssh/api_build_test.py::BuildTest::test_build_labels PASSED [ 41%] tests/ssh/api_build_test.py::BuildTest::test_build_shmsize PASSED [ 50%] tests/ssh/api_build_test.py::BuildTest::test_build_out_of_context_dockerfile PASSED [ 45%] tests/ssh/api_build_test.py::BuildTest::test_build_shmsize PASSED [ 50%] tests/ssh/api_build_test.py::BuildTest::test_build_squash PASSED [ 54%] tests/ssh/api_build_test.py::BuildTest::test_build_stderr_data PASSED [ 58%] tests/ssh/api_build_test.py::BuildTest::test_build_streaming PASSED [ 62%] tests/ssh/api_build_test.py::BuildTest::test_build_squash PASSED [ 54%] tests/ssh/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 66%] tests/ssh/api_build_test.py::BuildTest::test_build_stderr_data PASSED [ 58%] tests/ssh/api_build_test.py::BuildTest::test_build_streaming PASSED [ 62%] tests/ssh/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 66%] tests/ssh/api_build_test.py::BuildTest::test_build_with_cache_from PASSED [ 70%] tests/ssh/api_build_test.py::BuildTest::test_build_with_dockerfile_empty_lines PASSED [ 75%] tests/ssh/api_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 79%] tests/ssh/api_build_test.py::BuildTest::test_build_with_cache_from PASSED [ 70%] tests/ssh/api_build_test.py::BuildTest::test_build_with_dockerfile_empty_lines PASSED [ 75%] tests/ssh/api_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 79%] tests/ssh/api_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 83%] tests/ssh/api_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 83%] tests/ssh/api_build_test.py::BuildTest::test_build_with_network_mode PASSED [ 87%] tests/ssh/api_build_test.py::BuildTest::test_build_with_proxy PASSED [ 91%] tests/ssh/api_build_test.py::BuildTest::test_build_with_proxy_and_buildargs PASSED [ 95%] tests/ssh/api_build_test.py::BuildTest::test_prune_builds XPASS [100%] =============================== warnings summary =============================== /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23 /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working from collections import MutableMapping -- Docs: https://docs.pytest.org/en/latest/warnings.html ---------- coverage: platform linux, python 3.7.10-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 22 93 23 78% docker/api/client.py 261 100 96 15 56% docker/api/config.py 31 19 6 0 32% docker/api/container.py 266 171 104 10 28% docker/api/daemon.py 39 28 14 0 21% docker/api/exec_api.py 46 36 22 0 15% docker/api/image.py 160 108 60 5 26% docker/api/network.py 90 56 48 7 30% docker/api/plugin.py 91 68 14 0 22% docker/api/secret.py 36 23 10 0 28% docker/api/service.py 200 176 149 0 7% docker/api/swarm.py 106 77 38 0 20% docker/api/volume.py 38 29 14 0 17% docker/auth.py 198 93 74 22 48% docker/client.py 69 20 2 0 69% docker/constants.py 21 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 57 38 0 18% docker/context/config.py 61 42 16 1 26% docker/context/context.py 154 113 64 2 20% docker/credentials/__init__.py 3 0 0 0 100% docker/credentials/constants.py 4 0 0 0 100% docker/credentials/errors.py 11 4 2 0 54% docker/credentials/store.py 50 35 16 0 23% docker/credentials/utils.py 23 18 12 0 14% docker/errors.py 110 38 20 5 61% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 2 0 57% docker/models/containers.py 183 131 70 0 21% docker/models/images.py 137 92 56 0 23% docker/models/networks.py 37 20 12 0 35% docker/models/nodes.py 15 5 2 0 59% docker/models/plugins.py 49 30 10 0 32% docker/models/resource.py 41 24 6 0 36% docker/models/secrets.py 22 9 2 0 54% docker/models/services.py 87 63 36 0 20% docker/models/swarm.py 39 21 6 0 40% docker/models/volumes.py 23 10 4 0 48% docker/tls.py 37 26 14 0 22% docker/transport/__init__.py 11 3 0 0 73% docker/transport/basehttpadapter.py 6 0 2 1 88% docker/transport/npipeconn.py 59 54 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/sshconn.py 163 58 56 17 56% docker/transport/ssladapter.py 36 22 10 1 33% docker/transport/unixconn.py 66 42 12 0 31% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 2 2 0 43% docker/types/containers.py 420 356 326 11 10% docker/types/daemon.py 36 26 14 0 20% docker/types/healthcheck.py 34 20 4 0 37% docker/types/networks.py 41 21 28 8 41% docker/types/services.py 314 261 208 0 10% docker/types/swarm.py 51 45 40 0 7% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 155 27 76 13 79% docker/utils/config.py 36 9 10 5 70% docker/utils/decorators.py 32 6 12 4 73% docker/utils/fnmatch.py 55 27 28 4 41% docker/utils/json_stream.py 43 8 14 3 77% docker/utils/ports.py 50 50 32 0 0% docker/utils/proxy.py 32 3 12 2 89% docker/utils/socket.py 86 64 40 0 17% docker/utils/utils.py 278 182 171 25 29% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5131 3190 2263 184 31% ============== 23 passed, 1 xpassed, 1 warnings in 25.41 seconds =============== tests/ssh/api_build_test.py::BuildTest::test_build_with_network_mode PASSED [ 87%] tests/ssh/api_build_test.py::BuildTest::test_build_with_proxy PASSED [ 91%] [Pipeline] sh tests/ssh/api_build_test.py::BuildTest::test_build_with_proxy_and_buildargs PASSED [ 95%] + docker stop dpy-dind-3-0-py3.7-19.03.13 tests/ssh/api_build_test.py::BuildTest::test_prune_builds XPASS [100%] =============================== warnings summary =============================== /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23 /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working from collections import MutableMapping -- Docs: https://docs.pytest.org/en/latest/warnings.html ---------- coverage: platform linux, python 3.7.10-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 22 93 23 78% docker/api/client.py 261 100 96 15 56% docker/api/config.py 31 19 6 0 32% docker/api/container.py 266 171 104 10 28% docker/api/daemon.py 39 28 14 0 21% docker/api/exec_api.py 46 36 22 0 15% docker/api/image.py 160 108 60 5 26% docker/api/network.py 90 56 48 7 30% docker/api/plugin.py 91 68 14 0 22% docker/api/secret.py 36 23 10 0 28% docker/api/service.py 200 176 149 0 7% docker/api/swarm.py 106 77 38 0 20% docker/api/volume.py 38 29 14 0 17% docker/auth.py 198 93 74 22 48% docker/client.py 69 20 2 0 69% docker/constants.py 21 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 57 38 0 18% docker/context/config.py 61 42 16 1 26% docker/context/context.py 154 113 64 2 20% docker/credentials/__init__.py 3 0 0 0 100% docker/credentials/constants.py 4 0 0 0 100% docker/credentials/errors.py 11 4 2 0 54% docker/credentials/store.py 50 35 16 0 23% docker/credentials/utils.py 23 18 12 0 14% docker/errors.py 110 38 20 5 61% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 2 0 57% docker/models/containers.py 183 131 70 0 21% docker/models/images.py 137 92 56 0 23% docker/models/networks.py 37 20 12 0 35% docker/models/nodes.py 15 5 2 0 59% docker/models/plugins.py 49 30 10 0 32% docker/models/resource.py 41 24 6 0 36% docker/models/secrets.py 22 9 2 0 54% docker/models/services.py 87 63 36 0 20% docker/models/swarm.py 39 21 6 0 40% docker/models/volumes.py 23 10 4 0 48% docker/tls.py 37 26 14 0 22% docker/transport/__init__.py 11 3 0 0 73% docker/transport/basehttpadapter.py 6 0 2 1 88% docker/transport/npipeconn.py 59 54 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/sshconn.py 163 58 56 17 56% docker/transport/ssladapter.py 36 22 10 1 33% docker/transport/unixconn.py 66 42 12 0 31% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 2 2 0 43% docker/types/containers.py 420 356 326 11 10% docker/types/daemon.py 36 26 14 0 20% docker/types/healthcheck.py 34 20 4 0 37% docker/types/networks.py 41 21 28 8 41% docker/types/services.py 314 261 208 0 10% docker/types/swarm.py 51 45 40 0 7% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 155 27 76 13 79% docker/utils/config.py 36 9 10 5 70% docker/utils/decorators.py 32 6 12 4 73% docker/utils/fnmatch.py 55 27 28 4 41% docker/utils/json_stream.py 43 8 14 3 77% docker/utils/ports.py 50 50 32 0 0% docker/utils/proxy.py 32 3 12 2 89% docker/utils/socket.py 86 64 40 0 17% docker/utils/utils.py 278 182 171 25 29% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5131 3190 2263 184 31% ============== 23 passed, 1 xpassed, 1 warnings in 25.63 seconds =============== [Pipeline] sh + docker stop dpy-dind-3-0-py3.7-20.10.6 dpy-dind-3-0-py3.7-19.03.13 + docker network rm dpy-testnet-3-0-py3.7-19.03.13 dpy-testnet-3-0-py3.7-19.03.13 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } dpy-dind-3-0-py3.7-20.10.6 + docker network rm dpy-testnet-3-0-py3.7-20.10.6 dpy-testnet-3-0-py3.7-20.10.6 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // parallel [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 1 Finished: FAILURE