Pull request #2721 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 88cf89bbc5daf06b6c403ed34a8d141f1958e88a+1757c974fa3a05b0e9b783af85242b18df09d05d (64bdb7a9f0be56fd4022afa8f6b78f3b97552eb2) 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 using credential jps-reader > git rev-parse --is-inside-work-tree # 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 Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-05f678167a990b049) in /home/ubuntu/workspace/docker-py_PR-2721 [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-2721@tmp/7469a870-eba3-447f-9279-298525e63197/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-2721:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox ea97eb0eb3ec: Pulling fs layer ea97eb0eb3ec: Verifying Checksum ea97eb0eb3ec: Download complete ea97eb0eb3ec: Pull complete Digest: sha256:bde48e1751173b709090c2539fdf12d6ba64e88ec7a4301591227ce925f3c678 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 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-2721 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2721/head:refs/remotes/origin/PR-2721 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 1757c974fa3a05b0e9b783af85242b18df09d05d into PR head commit 88cf89bbc5daf06b6c403ed34a8d141f1958e88a Merge succeeded, producing 06171f7499b4e98e27a6f0be32b8ceb774544230 Checking out Revision 06171f7499b4e98e27a6f0be32b8ceb774544230 (PR-2721) Commit message: "Merge commit '1757c974fa3a05b0e9b783af85242b18df09d05d' into HEAD" First time build. Skipping changelog. > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2721/head:refs/remotes/origin/PR-2721 # 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 --progress -- https://github.com/docker/docker-py.git +refs/pull/2721/head:refs/remotes/origin/PR-2721 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88cf89bbc5daf06b6c403ed34a8d141f1958e88a # 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 1757c974fa3a05b0e9b783af85242b18df09d05d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06171f7499b4e98e27a6f0be32b8ceb774544230 # timeout=10 > git rev-list --no-walk 0613765d21cb550fbffffc823f029c5d3b431a24 # timeout=10 [Pipeline] sh + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker pull dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 Error response from daemon: manifest for dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh $ 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-2721@tmp/1292e6d0-dcbc-44c4-b036-66b687e63b1e/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + docker build -t dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 -f tests/Dockerfile-ssh-dind . Sending build context to Docker daemon 1.371MB 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 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 cb7edeffdfd5: Waiting cc28bd76800f: Waiting 54196fe38f7e: Waiting ea71acc29633: Waiting 657cc4c15165: Waiting 46e300cec669: Waiting 63038576ad94: Waiting 0fdb76c4706c: 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 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 0b335435ed7d 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-r0) (2/4) Installing openssh-server-common (8.3_p1-r0) (3/4) Installing openssh-server (8.3_p1-r0) (4/4) Installing openssh (8.3_p1-r0) Executing busybox-1.31.1-r16.trigger OK: 28 MiB in 51 packages Removing intermediate container 0b335435ed7d ---> dc0ff5ef1d7a Step 5/11 : RUN ssh-keygen -A ---> Running in 450ef5d3c9f1 ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 Removing intermediate container 450ef5d3c9f1 ---> 84844b82ebf9 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 93cdc0d58f2f Removing intermediate container 93cdc0d58f2f ---> 2bd659932582 Step 7/11 : COPY tests/ssh-keys/authorized_keys /root/.ssh/authorized_keys ---> ac336be4db39 Step 8/11 : RUN chmod 600 /root/.ssh/authorized_keys ---> Running in f8d4f7160ca2 Removing intermediate container f8d4f7160ca2 ---> c024525a1e94 Step 9/11 : RUN echo "root:root" | chpasswd ---> Running in 40817c0d29a1 chpasswd: password for 'root' changed Removing intermediate container 40817c0d29a1 ---> 5ba230a0603b Step 10/11 : RUN ln -s /usr/local/bin/docker /usr/bin/docker ---> Running in 10b8e4f7636a Removing intermediate container 10b8e4f7636a ---> 10c88a5ea1aa Step 11/11 : EXPOSE 22 ---> Running in 764e2fe2324f Removing intermediate container 764e2fe2324f ---> d043ef8a245f Successfully built d043ef8a245f Successfully tagged dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 [Pipeline] isUnix [Pipeline] sh + docker tag dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 [Pipeline] isUnix [Pipeline] sh + docker push dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 The push refers to repository [docker.io/dockerbuildbot/docker-py] 62ea0da389bc: Preparing 34f72eb21b1b: Preparing 8937e7ccdae6: Preparing 868361f0f7dc: Preparing 4e33e3efb451: Preparing eca83df0aafa: Preparing f677c7bddd14: Preparing 1149e736aa92: Preparing 39e79983ac8b: Preparing da8c28465f82: Preparing d1292e236c36: Preparing 8890c171a12b: Preparing 4ae5bd84d450: Preparing 723a561964c8: Preparing 78764725b56c: Preparing 51d6d3d09136: Preparing 1507bc794612: Preparing 50644c29ef5a: Preparing eca83df0aafa: Waiting f677c7bddd14: Waiting 1149e736aa92: Waiting 39e79983ac8b: Waiting da8c28465f82: Waiting d1292e236c36: Waiting 8890c171a12b: Waiting 4ae5bd84d450: Waiting 723a561964c8: Waiting 78764725b56c: Waiting 51d6d3d09136: Waiting 1507bc794612: Waiting 50644c29ef5a: Waiting 868361f0f7dc: Pushed 4e33e3efb451: Pushed 34f72eb21b1b: Pushed 1149e736aa92: Layer already exists 39e79983ac8b: Layer already exists da8c28465f82: Layer already exists 62ea0da389bc: Pushed d1292e236c36: Layer already exists 8890c171a12b: Layer already exists 4ae5bd84d450: Layer already exists 78764725b56c: Layer already exists 723a561964c8: Layer already exists 51d6d3d09136: Layer already exists 50644c29ef5a: Layer already exists 1507bc794612: Layer already exists 8937e7ccdae6: Pushed eca83df0aafa: Pushed f677c7bddd14: Pushed sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230: digest: sha256:14ea41a10559934b221e977d5f726816e43a3deb12564f35fd82d66881af1549 size: 4067 [Pipeline] isUnix [Pipeline] sh + docker pull dockerbuildbot/docker-py:py2-06171f7499b4e98e27a6f0be32b8ceb774544230 Error response from daemon: manifest for dockerbuildbot/docker-py:py2-06171f7499b4e98e27a6f0be32b8ceb774544230 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerbuildbot/docker-py:py2-06171f7499b4e98e27a6f0be32b8ceb774544230 -f tests/Dockerfile --build-arg PYTHON_VERSION=2.7 . Sending build context to Docker daemon 1.371MB Step 1/21 : ARG PYTHON_VERSION=3.7 Step 2/21 : FROM python:${PYTHON_VERSION} 2.7: Pulling from library/python 7e2b2a5af8f6: Pulling fs layer 09b6f03ffac4: Pulling fs layer dc3f0c679f0f: Pulling fs layer fd4b47407fc3: Pulling fs layer b32f6bf7d96d: Pulling fs layer 6f4489a7e4cf: Pulling fs layer af4b99ad9ef0: Pulling fs layer 39db0bc48c26: Pulling fs layer acb4a89489fc: Pulling fs layer fd4b47407fc3: Waiting b32f6bf7d96d: Waiting 6f4489a7e4cf: Waiting af4b99ad9ef0: Waiting 39db0bc48c26: Waiting acb4a89489fc: Waiting 09b6f03ffac4: Verifying Checksum 09b6f03ffac4: Download complete dc3f0c679f0f: Verifying Checksum dc3f0c679f0f: Download complete 7e2b2a5af8f6: Verifying Checksum 7e2b2a5af8f6: Download complete 6f4489a7e4cf: Verifying Checksum 6f4489a7e4cf: Download complete fd4b47407fc3: Verifying Checksum fd4b47407fc3: Download complete 39db0bc48c26: Verifying Checksum 39db0bc48c26: Download complete af4b99ad9ef0: Verifying Checksum af4b99ad9ef0: Download complete acb4a89489fc: Verifying Checksum acb4a89489fc: Download complete b32f6bf7d96d: Verifying Checksum b32f6bf7d96d: Download complete 7e2b2a5af8f6: Pull complete 09b6f03ffac4: Pull complete dc3f0c679f0f: Pull complete fd4b47407fc3: Pull complete b32f6bf7d96d: Pull complete 6f4489a7e4cf: Pull complete af4b99ad9ef0: Pull complete 39db0bc48c26: Pull complete acb4a89489fc: Pull complete Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d Status: Downloaded newer image for python:2.7 ---> 68e7be49c28c Step 3/21 : ARG APT_MIRROR ---> Running in be339dc9bd68 Removing intermediate container be339dc9bd68 ---> 36ae41b2d5c2 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 c3493aab4e74 Removing intermediate container c3493aab4e74 ---> 4607e87dc9ee Step 5/21 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass ---> Running in 2a0c2350afd1 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 [255 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 [7856 B] Fetched 8409 kB in 2s (4944 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 78 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 (1791 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 ... 24538 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 2a0c2350afd1 ---> 2fd22f707b21 Step 6/21 : COPY tests/ssh-keys /root/.ssh ---> 6d51672b9d88 Step 7/21 : RUN chmod -R 600 /root/.ssh ---> Running in e595aa29c6ec Removing intermediate container e595aa29c6ec ---> c5832ae1a6f6 Step 8/21 : COPY ./tests/gpg-keys /gpg-keys ---> 7dfd8ac19da7 Step 9/21 : RUN gpg2 --import gpg-keys/secret ---> Running in 508a88936cf5 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 508a88936cf5 ---> 2a6be3eafb94 Step 10/21 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in 61c495ef1ae3 gpg: inserting ownertrust of 6 Removing intermediate container 61c495ef1ae3 ---> 2d34b7af6c3a Step 11/21 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in ce8ac24c9fde gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container ce8ac24c9fde ---> 056238a6bb53 Step 12/21 : RUN gpg2 --check-trustdb ---> Running in a654b8e51a85 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 a654b8e51a85 ---> 3db91a016d24 Step 13/21 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in 85dcf5a44f1b Removing intermediate container 85dcf5a44f1b ---> d756353deb08 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 5d926cf1e126 Removing intermediate container 5d926cf1e126 ---> 525b16eea652 Step 15/21 : WORKDIR /src ---> Running in 738a35f7ef17 Removing intermediate container 738a35f7ef17 ---> 7fdfbf082169 Step 16/21 : COPY requirements.txt /src/requirements.txt ---> d7259c3adf7e Step 17/21 : RUN pip install -r requirements.txt ---> Running in 1e431812c65b DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment Requirement already satisfied: appdirs==1.4.3 in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 1)) (1.4.3) 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.10.0 Downloading cffi-1.10.0-cp27-cp27mu-manylinux1_x86_64.whl (392 kB) Collecting cryptography==3.2 Downloading cryptography-3.2-cp27-cp27mu-manylinux2010_x86_64.whl (2.7 MB) Collecting enum34==1.1.6 Downloading enum34-1.1.6-py2-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-py2-none-any.whl (17 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 six==1.10.0 Downloading six-1.10.0-py2.py3-none-any.whl (10 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 pyasn1>=0.1.7 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting pynacl>=1.0.1 Downloading PyNaCl-1.4.0-cp27-cp27mu-manylinux1_x86_64.whl (964 kB) Collecting bcrypt>=3.1.3 Downloading bcrypt-3.1.7-cp27-cp27mu-manylinux1_x86_64.whl (59 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB) Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Building wheels for collected packages: backports.ssl-match-hostname, 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-py2-none-any.whl size=5209 sha256=211c67ce432dcea234e93bb590367b4f5876b040ddc976fcf434df1ca3edd9e0 Stored in directory: /root/.cache/pip/wheels/19/dd/8c/6cad8e6c38a9fe006dd7423ca1655bb1eb3cb94c5ce1814e4f 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=193884 sha256=7d28b868c8732eb1f4fedae990f8b283b81199f9e80e7b7fe8a9d9a635bf62c8 Stored in directory: /root/.cache/pip/wheels/03/08/f2/bf70552f051cd78e9d8fe7d196ef762858dcfa156965e3a1e3 Successfully built backports.ssl-match-hostname pycparser Installing collected packages: asn1crypto, backports.ssl-match-hostname, pycparser, cffi, ipaddress, six, enum34, cryptography, idna, pyparsing, packaging, pyasn1, pynacl, bcrypt, paramiko, pyOpenSSL, certifi, chardet, urllib3, requests, websocket-client Attempting uninstall: six Found existing installation: six 1.14.0 Uninstalling six-1.14.0: Successfully uninstalled six-1.14.0 Successfully installed asn1crypto-0.22.0 backports.ssl-match-hostname-3.5.0.1 bcrypt-3.1.7 certifi-2020.12.5 cffi-1.10.0 chardet-3.0.4 cryptography-3.2 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.10.0 urllib3-1.24.3 websocket-client-0.56.0 WARNING: You are using pip version 20.0.2; however, version 20.3.1 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container 1e431812c65b ---> 11d0274a06e5 Step 18/21 : COPY test-requirements.txt /src/test-requirements.txt ---> d71113d69bfa Step 19/21 : RUN pip install -r test-requirements.txt ---> Running in 02889d2edb7f /usr/local/lib/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release. from cryptography import x509 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting setuptools==44.0.0 Downloading setuptools-44.0.0-py2.py3-none-any.whl (583 kB) Collecting coverage==4.5.2 Downloading coverage-4.5.2-cp27-cp27mu-manylinux1_x86_64.whl (201 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.tar.gz (818 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 pyflakes<2.1.0,>=2.0.0 Downloading pyflakes-2.0.0-py2.py3-none-any.whl (53 kB) Requirement already satisfied: configparser; python_version < "3.2" in /usr/local/lib/python2.7/site-packages (from flake8==3.6.0->-r test-requirements.txt (line 3)) (4.0.2) Requirement already satisfied: enum34; python_version < "3.4" in /usr/local/lib/python2.7/site-packages (from flake8==3.6.0->-r test-requirements.txt (line 3)) (1.1.6) Collecting pycodestyle<2.5.0,>=2.4.0 Downloading pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB) Collecting mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python2.7/site-packages (from pytest==4.3.1->-r test-requirements.txt (line 5)) (1.10.0) Requirement already satisfied: pathlib2>=2.2.0; python_version < "3.6" in /usr/local/lib/python2.7/site-packages (from pytest==4.3.1->-r test-requirements.txt (line 5)) (2.3.5) Collecting py>=1.5.0 Downloading py-1.10.0-py2.py3-none-any.whl (97 kB) Collecting attrs>=17.4.0 Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB) Collecting more-itertools<6.0.0,>=4.0.0; python_version <= "2.7" Downloading more_itertools-5.0.0-py2-none-any.whl (52 kB) Collecting atomicwrites>=1.0 Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB) Collecting pluggy>=0.7 Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB) Collecting funcsigs; python_version < "3.0" Downloading funcsigs-1.0.2-py2.py3-none-any.whl (17 kB) Requirement already satisfied: scandir; python_version < "3.5" in /usr/local/lib/python2.7/site-packages (from pathlib2>=2.2.0; python_version < "3.6"->pytest==4.3.1->-r test-requirements.txt (line 5)) (1.10.0) Requirement already satisfied: importlib-metadata>=0.12; python_version < "3.8" in /usr/local/lib/python2.7/site-packages (from pluggy>=0.7->pytest==4.3.1->-r test-requirements.txt (line 5)) (1.6.0) Requirement already satisfied: contextlib2; python_version < "3" in /usr/local/lib/python2.7/site-packages (from importlib-metadata>=0.12; python_version < "3.8"->pluggy>=0.7->pytest==4.3.1->-r test-requirements.txt (line 5)) (0.6.0.post1) Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python2.7/site-packages (from importlib-metadata>=0.12; python_version < "3.8"->pluggy>=0.7->pytest==4.3.1->-r test-requirements.txt (line 5)) (1.2.0) 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-py2-none-any.whl size=23755 sha256=a647657bedf6931a5fde4941e515f2d7c2cc22b7b7cef51474dfb0137f5517ac Stored in directory: /root/.cache/pip/wheels/ad/62/e0/a06cc957652749e64c7904e899eca3ecb2ec47c60d52653660 Successfully built mock Installing collected packages: setuptools, coverage, pyflakes, pycodestyle, mccabe, flake8, mock, py, attrs, more-itertools, atomicwrites, pluggy, funcsigs, pytest, pytest-cov, pytest-timeout Attempting uninstall: setuptools Found existing installation: setuptools 44.1.0 Uninstalling setuptools-44.1.0: Successfully uninstalled setuptools-44.1.0 Successfully installed atomicwrites-1.4.0 attrs-20.3.0 coverage-4.5.2 flake8-3.6.0 funcsigs-1.0.2 mccabe-0.6.1 mock-1.0.1 more-itertools-5.0.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-44.0.0 WARNING: You are using pip version 20.0.2; however, version 20.3.1 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container 02889d2edb7f ---> e1026b6b8010 Step 20/21 : COPY . /src ---> 33d79bb7813c Step 21/21 : RUN pip install . ---> Running in eff2a4d40b68 /usr/local/lib/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release. from cryptography import x509 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Processing /src Requirement already satisfied: six>=1.4.0 in /usr/local/lib/python2.7/site-packages (from docker==4.4.0.dev0) (1.10.0) Requirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python2.7/site-packages (from docker==4.4.0.dev0) (0.56.0) Requirement already satisfied: requests!=2.18.0,>=2.14.2 in /usr/local/lib/python2.7/site-packages (from docker==4.4.0.dev0) (2.20.0) Requirement already satisfied: backports.ssl_match_hostname>=3.5 in /usr/local/lib/python2.7/site-packages (from docker==4.4.0.dev0) (3.5.0.1) Requirement already satisfied: ipaddress>=1.0.16 in /usr/local/lib/python2.7/site-packages (from docker==4.4.0.dev0) (1.0.18) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.0.dev0) (2020.12.5) Requirement already satisfied: idna<2.8,>=2.5 in /usr/local/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.0.dev0) (2.5) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.0.dev0) (3.0.4) Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/local/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.0.dev0) (1.24.3) 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.4.0.dev0-py2.py3-none-any.whl size=146828 sha256=4f6e2bdd3ec3a8d5ce265a04d84f931586de10aa0818880bd777d2e08a246bb8 Stored in directory: /tmp/pip-ephem-wheel-cache-Ifb6oE/wheels/dc/45/28/050a7fcd95fc9b9f504d64d6668214323c48b439857458e65c Successfully built docker Installing collected packages: docker Successfully installed docker-4.4.0.dev0 WARNING: You are using pip version 20.0.2; however, version 20.3.1 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container eff2a4d40b68 ---> 25eddb746e01 Successfully built 25eddb746e01 Successfully tagged dockerbuildbot/docker-py:py2-06171f7499b4e98e27a6f0be32b8ceb774544230 [Pipeline] isUnix [Pipeline] sh + docker tag dockerbuildbot/docker-py:py2-06171f7499b4e98e27a6f0be32b8ceb774544230 dockerbuildbot/docker-py:py2-06171f7499b4e98e27a6f0be32b8ceb774544230 [Pipeline] isUnix [Pipeline] sh + docker push dockerbuildbot/docker-py:py2-06171f7499b4e98e27a6f0be32b8ceb774544230 The push refers to repository [docker.io/dockerbuildbot/docker-py] 610f579254fb: Preparing e0332c6c1dc0: Preparing 5d3ac9da33f9: Preparing d147d9b0889a: Preparing 9c9fd4b5be60: Preparing d14e52705710: Preparing d3fbddd68338: Preparing ceb3e954be04: Preparing 56323053b30b: Preparing 06eb7aff99ef: Preparing 66e3a245a949: Preparing 2920fb60f244: Preparing 090b600bc4f8: Preparing 2beda02f98f3: Preparing ed9b1a11133f: Preparing 6e6ea778219b: Preparing e2f877ccaef3: Preparing e571d2d3c73c: Preparing da7b0a80a4f2: Preparing ceee8816bb96: Preparing 47458fb45d99: Preparing 46829331b1e4: Preparing d35c5bda4793: Preparing a3c1026c6bcc: Preparing f1d420c2af1a: Preparing 461719022993: Preparing d14e52705710: Waiting d3fbddd68338: Waiting ceb3e954be04: Waiting 56323053b30b: Waiting 06eb7aff99ef: Waiting 66e3a245a949: Waiting 2920fb60f244: Waiting 090b600bc4f8: Waiting 2beda02f98f3: Waiting ed9b1a11133f: Waiting 6e6ea778219b: Waiting e2f877ccaef3: Waiting e571d2d3c73c: Waiting da7b0a80a4f2: Waiting ceee8816bb96: Waiting 47458fb45d99: Waiting 46829331b1e4: Waiting d35c5bda4793: Waiting a3c1026c6bcc: Waiting f1d420c2af1a: Waiting 461719022993: Waiting 610f579254fb: Pushed d147d9b0889a: Pushed e0332c6c1dc0: Pushed 5d3ac9da33f9: Pushed d14e52705710: Pushed d3fbddd68338: Pushed 9c9fd4b5be60: Pushed ceb3e954be04: Pushed 56323053b30b: Pushed 06eb7aff99ef: Pushed 66e3a245a949: Pushed 2920fb60f244: Pushed 090b600bc4f8: Pushed ed9b1a11133f: Pushed e571d2d3c73c: Layer already exists da7b0a80a4f2: Layer already exists 47458fb45d99: Layer already exists ceee8816bb96: Layer already exists 46829331b1e4: Layer already exists d35c5bda4793: Layer already exists a3c1026c6bcc: Layer already exists f1d420c2af1a: Layer already exists 461719022993: Layer already exists 2beda02f98f3: Pushed e2f877ccaef3: Pushed 6e6ea778219b: Pushed py2-06171f7499b4e98e27a6f0be32b8ceb774544230: digest: sha256:8d2f5c04ee501f48bfbeb8471962140128572884de2859ace41f535106baa7eb size: 5769 [Pipeline] isUnix [Pipeline] sh + docker pull dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 Error response from daemon: manifest for dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.7 . Sending build context to Docker daemon 1.371MB Step 1/21 : ARG PYTHON_VERSION=3.7 Step 2/21 : FROM python:${PYTHON_VERSION} 3.7: Pulling from library/python 6c33745f49b4: Pulling fs layer c87cd3c61e27: Pulling fs layer 05a3c799ec37: Pulling fs layer a61c38f966ac: Pulling fs layer c2dd6d195b68: Pulling fs layer 29b9446ae7bd: Pulling fs layer bcb49d30d299: Pulling fs layer 618e5f951c44: Pulling fs layer b61a06eec492: Pulling fs layer a61c38f966ac: Waiting c2dd6d195b68: Waiting 29b9446ae7bd: Waiting bcb49d30d299: Waiting 618e5f951c44: Waiting b61a06eec492: Waiting c87cd3c61e27: Verifying Checksum c87cd3c61e27: Download complete 05a3c799ec37: Verifying Checksum 05a3c799ec37: Download complete 6c33745f49b4: Verifying Checksum 6c33745f49b4: Download complete 29b9446ae7bd: Verifying Checksum 29b9446ae7bd: Download complete a61c38f966ac: Verifying Checksum a61c38f966ac: Download complete 618e5f951c44: Verifying Checksum 618e5f951c44: Download complete b61a06eec492: Verifying Checksum b61a06eec492: Download complete bcb49d30d299: Verifying Checksum bcb49d30d299: Download complete c2dd6d195b68: Verifying Checksum c2dd6d195b68: Download complete 6c33745f49b4: Pull complete c87cd3c61e27: Pull complete 05a3c799ec37: Pull complete a61c38f966ac: Pull complete c2dd6d195b68: Pull complete 29b9446ae7bd: Pull complete bcb49d30d299: Pull complete 618e5f951c44: Pull complete b61a06eec492: Pull complete Digest: sha256:7a32704ac8ee8b2a67a299e08d652845fe34fe4305db40c6e26230d16d64aea7 Status: Downloaded newer image for python:3.7 ---> be890676aead Step 3/21 : ARG APT_MIRROR ---> Running in f2fdf2322c21 Removing intermediate container f2fdf2322c21 ---> 533298557b06 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 4f52268000b7 Removing intermediate container 4f52268000b7 ---> 882a8ae9abc1 Step 5/21 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass ---> Running in 7b6b56c9943f Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:2 http://deb.debian.org/debian buster InRelease [121 kB] Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB] Get:5 http://security.debian.org/debian-security buster/updates/main amd64 Packages [255 kB] Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7856 B] Fetched 8409 kB in 2s (4930 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 0 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 (1803 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 ... 24600 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 7b6b56c9943f ---> 4411855f0522 Step 6/21 : COPY tests/ssh-keys /root/.ssh ---> 8152aeff1881 Step 7/21 : RUN chmod -R 600 /root/.ssh ---> Running in af33b8df018f Removing intermediate container af33b8df018f ---> fafbea3b23c7 Step 8/21 : COPY ./tests/gpg-keys /gpg-keys ---> aadbc2c9d493 Step 9/21 : RUN gpg2 --import gpg-keys/secret ---> Running in d86458dfe4b5 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 d86458dfe4b5 ---> f33a5160e66f Step 10/21 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in e320d1f98be3 gpg: inserting ownertrust of 6 Removing intermediate container e320d1f98be3 ---> dcc32c81ca03 Step 11/21 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in 58d192781f18 gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container 58d192781f18 ---> 9839fee8f93f Step 12/21 : RUN gpg2 --check-trustdb ---> Running in 65eefe52c573 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 65eefe52c573 ---> 23c2614d6392 Step 13/21 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in 09775c78099a Removing intermediate container 09775c78099a ---> b094e2f453ee 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 38e45b26d9e8 Removing intermediate container 38e45b26d9e8 ---> 05a21c221269 Step 15/21 : WORKDIR /src ---> Running in feedf2b1c9b1 Removing intermediate container feedf2b1c9b1 ---> 842293a4203e Step 16/21 : COPY requirements.txt /src/requirements.txt ---> 8a448533da88 Step 17/21 : RUN pip install -r requirements.txt ---> Running in 2abd22e9b3d8 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.10.0 Downloading cffi-1.10.0.tar.gz (418 kB) Collecting cryptography==3.2 Downloading cryptography-3.2-cp35-abi3-manylinux2010_x86_64.whl (2.6 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 six==1.10.0 Downloading six-1.10.0-py2.py3-none-any.whl (10 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 bcrypt>=3.1.3 Downloading bcrypt-3.2.0-cp36-abi3-manylinux2010_x86_64.whl (63 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB) Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting pyasn1>=0.1.7 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting pynacl>=1.0.1 Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB) Building wheels for collected packages: backports.ssl-match-hostname, cffi, 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=f7c1ea820fae384971a9c26ffcb49bf13206bd0159b9680b35bd0814fc952a7f Stored in directory: /root/.cache/pip/wheels/93/72/f6/df894bfc7947d11f89dbdb4e9b786703a43cd547c1b5e8c738 Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'done' Created wheel for cffi: filename=cffi-1.10.0-cp37-cp37m-linux_x86_64.whl size=371275 sha256=57cbd74c241e3f7b5101031a5adf4b19b1f1bb4ffb0227d900e2903c707136f4 Stored in directory: /root/.cache/pip/wheels/cc/8d/6c/d24a8db003ac4a51d9959a9985718fac84e1baa5ec6c42d115 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=278a6f59cf1ee01c4405fce037de66cc57d1b564f7a638a8e3d025fa702c9650 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=192873 sha256=856600d1cbfc7911f93eac1cba1dc636c07b9bdebe9b80ba8931a32c31596921 Stored in directory: /root/.cache/pip/wheels/91/50/7a/9f94e39b01559aa44c3cefb775d7befcc01d0a6ed0093cab37 Successfully built backports.ssl-match-hostname cffi 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.10.0 chardet-3.0.4 cryptography-3.2 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.10.0 urllib3-1.24.3 websocket-client-0.56.0 Removing intermediate container 2abd22e9b3d8 ---> a5b0496507a7 Step 18/21 : COPY test-requirements.txt /src/test-requirements.txt ---> 2c95ede1db9e Step 19/21 : RUN pip install -r test-requirements.txt ---> Running in 1c968d3f0b19 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) 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.10.0) 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 setuptools==44.0.0 Downloading setuptools-44.0.0-py2.py3-none-any.whl (583 kB) Collecting atomicwrites>=1.0 Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB) Collecting attrs>=17.4.0 Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB) Collecting mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting more-itertools>=4.0.0 Downloading more_itertools-8.6.0-py3-none-any.whl (45 kB) Collecting pluggy>=0.7 Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB) Collecting importlib-metadata>=0.12 Downloading importlib_metadata-3.3.0-py3-none-any.whl (10 kB) Collecting py>=1.5.0 Downloading py-1.10.0-py2.py3-none-any.whl (97 kB) Collecting pycodestyle<2.5.0,>=2.4.0 Downloading pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB) Collecting pyflakes<2.1.0,>=2.0.0 Downloading pyflakes-2.0.0-py2.py3-none-any.whl (53 kB) Collecting typing-extensions>=3.6.4 Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB) Collecting zipp>=0.5 Downloading zipp-3.4.0-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=23754 sha256=2514603332a0ee03c8a66e50a100f88d452b8d22fce6bef63f3c3f63da9d6bfe 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 51.0.0 Uninstalling setuptools-51.0.0: Successfully uninstalled setuptools-51.0.0 Successfully installed atomicwrites-1.4.0 attrs-20.3.0 coverage-4.5.2 flake8-3.6.0 importlib-metadata-3.3.0 mccabe-0.6.1 mock-1.0.1 more-itertools-8.6.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-44.0.0 typing-extensions-3.7.4.3 zipp-3.4.0 Removing intermediate container 1c968d3f0b19 ---> a14e7aa6ba2c Step 20/21 : COPY . /src ---> 347a127eae04 Step 21/21 : RUN pip install . ---> Running in 9da35e7023ff Processing /src Requirement already satisfied: six>=1.4.0 in /usr/local/lib/python3.7/site-packages (from docker==4.4.0.dev0) (1.10.0) Requirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python3.7/site-packages (from docker==4.4.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.4.0.dev0) (2.20.0) 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.4.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.4.0.dev0) (1.24.3) 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.4.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.4.0.dev0) (2020.12.5) Requirement already satisfied: six>=1.4.0 in /usr/local/lib/python3.7/site-packages (from docker==4.4.0.dev0) (1.10.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.4.0.dev0-py2.py3-none-any.whl size=146829 sha256=5b77268060460eb1596a079a8b22f08d06e205344205d15b164adfffc9954d3c Stored in directory: /tmp/pip-ephem-wheel-cache-580_0qdf/wheels/6f/63/19/359cf44f647b75d0ea75ecc03aa429fec4c372b453eb4b6525 Successfully built docker Installing collected packages: docker Successfully installed docker-4.4.0.dev0 Removing intermediate container 9da35e7023ff ---> 9346d596d57e Successfully built 9346d596d57e Successfully tagged dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 [Pipeline] isUnix [Pipeline] sh + docker tag dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 [Pipeline] isUnix [Pipeline] sh + docker push dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 The push refers to repository [docker.io/dockerbuildbot/docker-py] 795c3ddc6a1f: Preparing 112e2b5eb6d9: Preparing 3c0cbf54ca12: Preparing c6eb097104b5: Preparing ceb79739492c: Preparing 0d3dbe84e223: Preparing cb5474e7480a: Preparing ce1c64f83d49: Preparing 6e4285c2a25d: Preparing 13a1d85c11ce: Preparing 757f7c618f34: Preparing 90d6865f2d51: Preparing 22424d23f064: Preparing 98cc3195e4cb: Preparing 4b9b12b089fd: Preparing ff9e8e0ee9a5: Preparing a4a2af829a54: Preparing 1443dc9126d0: Preparing adb82c3537aa: Preparing 3d174b1b0a64: Preparing 40645c5a1424: Preparing c620ef4d778e: Preparing b2ba06661080: Preparing d700ff133c5b: Preparing ce6544b3b5e3: Preparing f0e10b20de19: Preparing 0d3dbe84e223: Waiting cb5474e7480a: Waiting ce1c64f83d49: Waiting 6e4285c2a25d: Waiting 13a1d85c11ce: Waiting 757f7c618f34: Waiting 90d6865f2d51: Waiting 22424d23f064: Waiting 98cc3195e4cb: Waiting 4b9b12b089fd: Waiting ff9e8e0ee9a5: Waiting a4a2af829a54: Waiting 1443dc9126d0: Waiting adb82c3537aa: Waiting 3d174b1b0a64: Waiting 40645c5a1424: Waiting c620ef4d778e: Waiting b2ba06661080: Waiting d700ff133c5b: Waiting ce6544b3b5e3: Waiting f0e10b20de19: Waiting c6eb097104b5: Pushed 795c3ddc6a1f: Pushed 3c0cbf54ca12: Pushed 0d3dbe84e223: Pushed 112e2b5eb6d9: Pushed cb5474e7480a: Pushed 13a1d85c11ce: Pushed ce1c64f83d49: Pushed 6e4285c2a25d: Pushed 757f7c618f34: Pushed ceb79739492c: Pushed 90d6865f2d51: Pushed 4b9b12b089fd: Pushed 1443dc9126d0: Layer already exists adb82c3537aa: Layer already exists 3d174b1b0a64: Layer already exists 40645c5a1424: Layer already exists c620ef4d778e: Layer already exists b2ba06661080: Layer already exists d700ff133c5b: Layer already exists ce6544b3b5e3: Layer already exists f0e10b20de19: Layer already exists 22424d23f064: Pushed 98cc3195e4cb: Pushed a4a2af829a54: Pushed ff9e8e0ee9a5: Pushed py3-06171f7499b4e98e27a6f0be32b8ceb774544230: digest: sha256:530635c7314e83e705a05faa75aa0125fb03f3a58220b5d816d29ed659382eec 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-1804-overlay2 (i-05f678167a990b049) in /home/ubuntu/workspace/docker-py_PR-2721 [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-2721@tmp/738e41b8-1c46-4bff-bf5b-a9dcc9cde446/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 dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 /src/scripts/versions.py [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] parallel [Pipeline] { (Branch: py2.7_19.03.12) [Pipeline] { (Branch: py2.7_20.10.0) [Pipeline] { (Branch: py2.7_19.03.13) [Pipeline] { (Branch: py3.7_19.03.12) [Pipeline] { (Branch: py3.7_20.10.0) [Pipeline] { (Branch: py3.7_19.03.13) [Pipeline] node [Pipeline] node [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-02d2cdbe8016a8e00) in /home/ubuntu/workspace/docker-py_PR-2721 [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0145b03f136490b4c) in /home/ubuntu/workspace/docker-py_PR-2721 Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-00f95654f74a4d329) in /home/ubuntu/workspace/docker-py_PR-2721 [Pipeline] node [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-068fd0d228f57efc9) in /home/ubuntu/workspace/docker-py_PR-2721 [Pipeline] { Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-05f678167a990b049) in /home/ubuntu/workspace/docker-py_PR-2721 [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] withDockerRegistry [Pipeline] withDockerRegistry [Pipeline] withDockerRegistry [Pipeline] withDockerRegistry [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] // node [Pipeline] } Failed in branch py2.7_19.03.12 [Pipeline] } $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ [Pipeline] // node [Pipeline] } Failed in branch py2.7_20.10.0 [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py2.7_19.03.13 $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-041560722f18d82f7) in /home/ubuntu/workspace/docker-py_PR-2721 [Pipeline] { [Pipeline] withDockerRegistry 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-2721@tmp/0d1bbabf-0e0b-4f16-bd7a-958c526d7df6/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 $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2721:/workspace busybox chown -R 1000:1000 /workspace [Pipeline] echo Removing all docker containers [Pipeline] sh WARNING! Using --password via the CLI is insecure. Use --password-stdin. + 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 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-2721 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2721/head:refs/remotes/origin/PR-2721 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 1757c974fa3a05b0e9b783af85242b18df09d05d into PR head commit 88cf89bbc5daf06b6c403ed34a8d141f1958e88a Merge succeeded, producing 521680d5faf770f72cb976b773e079f62eb14e8b Checking out Revision 521680d5faf770f72cb976b773e079f62eb14e8b (PR-2721) Commit message: "Merge commit '1757c974fa3a05b0e9b783af85242b18df09d05d' into HEAD" First time build. Skipping changelog. > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2721/head:refs/remotes/origin/PR-2721 # 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 --progress -- https://github.com/docker/docker-py.git +refs/pull/2721/head:refs/remotes/origin/PR-2721 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88cf89bbc5daf06b6c403ed34a8d141f1958e88a # 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 1757c974fa3a05b0e9b783af85242b18df09d05d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 521680d5faf770f72cb976b773e079f62eb14e8b # timeout=10 > git rev-list --no-walk 0613765d21cb550fbffffc823f029c5d3b431a24 # timeout=10 [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] sh + docker network create dpy-testnet-39-0-py3.7-19.03.13 505fc61d42867b2f0e967e1d9e9be10a00e53713f3f96cf7b1adc71bc50c6417 [Pipeline] sh + docker run --rm -d --name dpy-dind-39-0-py3.7-19.03.13 -v /tmp --privileged --network dpy-testnet-39-0-py3.7-19.03.13 dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 dockerd -H tcp://0.0.0.0:2375 9e3b33b66a34aa323395e3035e2dfe18f45a2b9859a4d446177d5823807b6a19 [Pipeline] sh $ 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-2721@tmp/facf0486-9deb-4d25-a05f-331baac5308a/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + docker run --rm --name dpy-tests-39-0-py3.7-19.03.13 -e DOCKER_HOST=tcp://dpy-dind-39-0-py3.7-19.03.13:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-39-0-py3.7-19.03.13 --volumes-from dpy-dind-39-0-py3.7-19.03.13 -v /home/ubuntu/.docker/config.json:/root/.docker/config.json dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 py.test -v -rxs --cov=docker --ignore=tests/ssh tests/ WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2721@tmp/3f7705c6-3dc3-4b63-8d8f-9bdf2c2c1379/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-2721:/workspace busybox chown -R 1000:1000 /workspace [Pipeline] echo Removing all docker containers [Pipeline] sh ============================= test session starts ============================== platform linux -- Python 3.7.9, 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: timeout-1.3.3, cov-2.6.1 + 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=20.10.0) [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags WARNING! Using --password via the CLI is insecure. Use --password-stdin. Fetching without tags Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2721 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2721/head:refs/remotes/origin/PR-2721 +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/2721/head:refs/remotes/origin/PR-2721 # 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 --progress -- https://github.com/docker/docker-py.git +refs/pull/2721/head:refs/remotes/origin/PR-2721 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1757c974fa3a05b0e9b783af85242b18df09d05d into PR head commit 88cf89bbc5daf06b6c403ed34a8d141f1958e88a Merge succeeded, producing e0109762c00e14fff9cff4de1d1953bc42d3c5f9 Checking out Revision e0109762c00e14fff9cff4de1d1953bc42d3c5f9 (PR-2721) > git config core.sparsecheckout # timeout=10 > git checkout -f 88cf89bbc5daf06b6c403ed34a8d141f1958e88a # 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 1757c974fa3a05b0e9b783af85242b18df09d05d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0109762c00e14fff9cff4de1d1953bc42d3c5f9 # timeout=10 collecting ... collected 953 items Commit message: "Merge commit '1757c974fa3a05b0e9b783af85242b18df09d05d' into HEAD" First time build. Skipping changelog. [Pipeline] withDockerRegistry WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2721@tmp/ddeca2c6-b2a6-4959-9630-5bacb8c7e27d/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 > git rev-list --no-walk 0613765d21cb550fbffffc823f029c5d3b431a24 # timeout=10 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 [ 0%] [Pipeline] { [Pipeline] sh + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2721:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally + docker network create dpy-testnet-39-0-py3.7-20.10.0 6c1958d466e389e0d52b2d8165943a28cf905d70cf24869d1672d2098ef05a9d [Pipeline] sh tests/integration/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 0%] $ 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-2721@tmp/13e35a4a-987c-4f44-9068-cb50fc008400/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded latest: Pulling from library/busybox ea97eb0eb3ec: Pulling fs layer + docker run --rm -d --name dpy-dind-39-0-py3.7-20.10.0 -v /tmp --privileged --network dpy-testnet-39-0-py3.7-20.10.0 dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 dockerd -H tcp://0.0.0.0:2375 Unable to find image 'dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230' locally ea97eb0eb3ec: Verifying Checksum ea97eb0eb3ec: Download complete ea97eb0eb3ec: Pull complete Digest: sha256:bde48e1751173b709090c2539fdf12d6ba64e88ec7a4301591227ce925f3c678 tests/integration/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 0%] Status: Downloaded newer image for busybox:latest sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230: Pulling from dockerbuildbot/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 e54e602fdc10: Pulling fs layer 4d039d7a12fa: Pulling fs layer e5dbdc1de3c4: Pulling fs layer 327e3e2dc66d: Pulling fs layer 2b580fd82d58: Pulling fs layer f4226241ff94: Pulling fs layer 79baa31c6394: Pulling fs layer 46e300cec669: Waiting 63038576ad94: Waiting 0fdb76c4706c: Waiting cb7edeffdfd5: Waiting cc28bd76800f: Waiting 54196fe38f7e: Waiting ea71acc29633: Waiting 657cc4c15165: Waiting e54e602fdc10: Waiting 4d039d7a12fa: Waiting e5dbdc1de3c4: Waiting 327e3e2dc66d: Waiting 2b580fd82d58: Waiting f4226241ff94: Waiting 79baa31c6394: 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 cb7edeffdfd5: Verifying Checksum cb7edeffdfd5: Download complete df20fa9351a1: Pull complete 54196fe38f7e: Verifying Checksum 54196fe38f7e: Download complete cc28bd76800f: Verifying Checksum cc28bd76800f: Download complete 657cc4c15165: Verifying Checksum 657cc4c15165: Download complete tests/integration/api_build_test.py::BuildTest::test_build_in_context_nested_dockerfile PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_invalid_platform SKIPPED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_isolation PASSED [ 0%] ea71acc29633: Verifying Checksum ea71acc29633: Download complete 4d039d7a12fa: Verifying Checksum 4d039d7a12fa: Download complete e54e602fdc10: Verifying Checksum e54e602fdc10: Download complete 25ad7478873d: Pull complete 327e3e2dc66d: Verifying Checksum 327e3e2dc66d: Download complete e5dbdc1de3c4: Verifying Checksum e5dbdc1de3c4: Download complete tests/integration/api_build_test.py::BuildTest::test_build_labels PASSED [ 1%] 2b580fd82d58: Verifying Checksum 2b580fd82d58: Download complete f4226241ff94: Verifying Checksum f4226241ff94: Download complete 46e300cec669: Verifying Checksum 46e300cec669: Download complete 4684f6177b5d: Pull complete 79baa31c6394: Verifying Checksum 79baa31c6394: Download complete tests/integration/api_build_test.py::BuildTest::test_build_out_of_context_dockerfile PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_shmsize PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_squash SKIPPED [ 1%] [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 tests/integration/api_build_test.py::BuildTest::test_build_stderr_data PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_streaming PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 1%] 46e300cec669: Pull complete 63038576ad94: Pull complete 0fdb76c4706c: Pull complete cb7edeffdfd5: Pull complete cc28bd76800f: Pull complete 54196fe38f7e: Pull complete ea71acc29633: Pull complete 657cc4c15165: Pull complete using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags e54e602fdc10: Pull complete 4d039d7a12fa: Pull complete e5dbdc1de3c4: Pull complete 327e3e2dc66d: Pull complete 2b580fd82d58: Pull complete f4226241ff94: Pull complete 79baa31c6394: Pull complete Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2721 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2721/head:refs/remotes/origin/PR-2721 +refs/heads/master:refs/remotes/origin/master # timeout=10 Digest: sha256:14ea41a10559934b221e977d5f726816e43a3deb12564f35fd82d66881af1549 Status: Downloaded newer image for dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 tests/integration/api_build_test.py::BuildTest::test_build_with_cache_from PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerfile_empty_lines PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 1%] e3a39cb777ee6f0d82a5b120e240a20dc157f8219c28a886dd64cddc0cf645a8 [Pipeline] sh Fetching without tags + docker run --rm --name dpy-tests-39-0-py3.7-20.10.0 -e DOCKER_HOST=tcp://dpy-dind-39-0-py3.7-20.10.0:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-39-0-py3.7-20.10.0 --volumes-from dpy-dind-39-0-py3.7-20.10.0 -v /home/ubuntu/.docker/config.json:/root/.docker/config.json dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 py.test -v -rxs --cov=docker --ignore=tests/ssh tests/ Unable to find image 'dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230' locally Merging remotes/origin/master commit 1757c974fa3a05b0e9b783af85242b18df09d05d into PR head commit 88cf89bbc5daf06b6c403ed34a8d141f1958e88a Merge succeeded, producing 7227e561bf2d2001e50d19ca6bc51d4889fefa3e Checking out Revision 7227e561bf2d2001e50d19ca6bc51d4889fefa3e (PR-2721) > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2721/head:refs/remotes/origin/PR-2721 # 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 --progress -- https://github.com/docker/docker-py.git +refs/pull/2721/head:refs/remotes/origin/PR-2721 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88cf89bbc5daf06b6c403ed34a8d141f1958e88a # 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 1757c974fa3a05b0e9b783af85242b18df09d05d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7227e561bf2d2001e50d19ca6bc51d4889fefa3e # timeout=10 py3-06171f7499b4e98e27a6f0be32b8ceb774544230: Pulling from dockerbuildbot/docker-py 6c33745f49b4: Pulling fs layer c87cd3c61e27: Pulling fs layer 05a3c799ec37: Pulling fs layer a61c38f966ac: Pulling fs layer c2dd6d195b68: Pulling fs layer 29b9446ae7bd: Pulling fs layer bcb49d30d299: Pulling fs layer 618e5f951c44: Pulling fs layer b61a06eec492: Pulling fs layer 37c9a9680c68: Pulling fs layer 9c2a8723ee8c: Pulling fs layer 4b60ba4497df: Pulling fs layer 23d28a851396: Pulling fs layer 1f5f78ace427: Pulling fs layer 7106d9f68504: Pulling fs layer dbb3ab9bdcd2: Pulling fs layer 5668731e5ff7: Pulling fs layer 1c7e1e6b8d6a: Pulling fs layer ee0ba4ed587e: Pulling fs layer 0b17d1a4ceb5: Pulling fs layer 0fa456667f53: Pulling fs layer 710e0f0f60f5: Pulling fs layer 4149bc55b090: Pulling fs layer e0594a7c800f: Pulling fs layer 52c9cb63daa1: Pulling fs layer 978d3790bf61: Pulling fs layer 1f5f78ace427: Waiting 7106d9f68504: Waiting dbb3ab9bdcd2: Waiting 5668731e5ff7: Waiting 1c7e1e6b8d6a: Waiting a61c38f966ac: Waiting c2dd6d195b68: Waiting 29b9446ae7bd: Waiting bcb49d30d299: Waiting 618e5f951c44: Waiting b61a06eec492: Waiting 37c9a9680c68: Waiting 9c2a8723ee8c: Waiting ee0ba4ed587e: Waiting 0b17d1a4ceb5: Waiting 0fa456667f53: Waiting 710e0f0f60f5: Waiting 4149bc55b090: Waiting e0594a7c800f: Waiting 52c9cb63daa1: Waiting 978d3790bf61: Waiting 4b60ba4497df: Waiting 23d28a851396: Waiting c87cd3c61e27: Verifying Checksum c87cd3c61e27: Download complete 05a3c799ec37: Verifying Checksum 05a3c799ec37: Download complete tests/integration/api_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 2%] 6c33745f49b4: Verifying Checksum 6c33745f49b4: Download complete tests/integration/api_build_test.py::BuildTest::test_build_with_network_mode PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_with_proxy PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_with_proxy_and_buildargs PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_prune_builds XPASS [ 2%] tests/integration/api_client_test.py::InformationTest::test_info PASSED [ 2%] tests/integration/api_client_test.py::InformationTest::test_version PASSED [ 2%] tests/integration/api_client_test.py::AutoDetectVersionTest::test_client_init PASSED [ 2%] 29b9446ae7bd: Verifying Checksum 29b9446ae7bd: Download complete a61c38f966ac: Verifying Checksum a61c38f966ac: Download complete 618e5f951c44: Verifying Checksum 618e5f951c44: Download complete bcb49d30d299: Verifying Checksum bcb49d30d299: Download complete tests/integration/api_client_test.py::ConnectionTimeoutTest::test_timeout PASSED [ 2%] tests/integration/api_client_test.py::UnixconnTest::test_resource_warnings PASSED [ 3%] b61a06eec492: Verifying Checksum b61a06eec492: Download complete 37c9a9680c68: Verifying Checksum 37c9a9680c68: Download complete 4b60ba4497df: Verifying Checksum 4b60ba4497df: Download complete 9c2a8723ee8c: Verifying Checksum 9c2a8723ee8c: Download complete 23d28a851396: Verifying Checksum 23d28a851396: Download complete 7106d9f68504: Verifying Checksum 7106d9f68504: Download complete 1f5f78ace427: Verifying Checksum 1f5f78ace427: Download complete dbb3ab9bdcd2: Verifying Checksum dbb3ab9bdcd2: Download complete tests/integration/api_config_test.py::ConfigAPITest::test_create_config PASSED [ 3%] tests/integration/api_config_test.py::ConfigAPITest::test_create_config_unicode_data PASSED [ 3%] tests/integration/api_config_test.py::ConfigAPITest::test_inspect_config PASSED [ 3%] tests/integration/api_config_test.py::ConfigAPITest::test_list_configs PASSED [ 3%] Commit message: "Merge commit '1757c974fa3a05b0e9b783af85242b18df09d05d' into HEAD" First time build. Skipping changelog. 5668731e5ff7: Verifying Checksum 5668731e5ff7: Download complete ee0ba4ed587e: Verifying Checksum ee0ba4ed587e: Download complete 1c7e1e6b8d6a: Verifying Checksum 1c7e1e6b8d6a: Download complete 0b17d1a4ceb5: Verifying Checksum 0b17d1a4ceb5: Download complete 0fa456667f53: Verifying Checksum 0fa456667f53: Download complete 4149bc55b090: Verifying Checksum 4149bc55b090: Download complete [Pipeline] withDockerRegistry > git rev-list --no-walk 0613765d21cb550fbffffc823f029c5d3b431a24 # timeout=10 710e0f0f60f5: Verifying Checksum 710e0f0f60f5: Download complete e0594a7c800f: Verifying Checksum e0594a7c800f: Download complete 52c9cb63daa1: Verifying Checksum 52c9cb63daa1: Download complete [Pipeline] { [Pipeline] sh tests/integration/api_config_test.py::ConfigAPITest::test_remove_config PASSED [ 3%] 978d3790bf61: Verifying Checksum 978d3790bf61: Download complete + docker network create dpy-testnet-39-0-py3.7-19.03.12 ad51052af77fc4e6999ab6384f5536db1faf56bb19c1e907966751d1351bdea2 [Pipeline] sh tests/integration/api_container_test.py::ListContainersTest::test_list_containers PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create PASSED [ 3%] c2dd6d195b68: Verifying Checksum c2dd6d195b68: Download complete + docker run --rm -d --name dpy-dind-39-0-py3.7-19.03.12 -v /tmp --privileged --network dpy-testnet-39-0-py3.7-19.03.12 dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 dockerd -H tcp://0.0.0.0:2375 Unable to find image 'dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230' locally sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230: Pulling from dockerbuildbot/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 e54e602fdc10: Pulling fs layer 4d039d7a12fa: Pulling fs layer e5dbdc1de3c4: Pulling fs layer 327e3e2dc66d: Pulling fs layer 2b580fd82d58: Pulling fs layer f4226241ff94: Pulling fs layer 79baa31c6394: Pulling fs layer 63038576ad94: Waiting 0fdb76c4706c: Waiting cb7edeffdfd5: Waiting cc28bd76800f: Waiting 54196fe38f7e: Waiting ea71acc29633: Waiting 657cc4c15165: Waiting e54e602fdc10: Waiting 4d039d7a12fa: Waiting e5dbdc1de3c4: Waiting 327e3e2dc66d: Waiting 2b580fd82d58: Waiting f4226241ff94: Waiting 79baa31c6394: Waiting 46e300cec669: Waiting $ 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-2721@tmp/37a74b2b-e504-4d62-993b-69f49fab63cd/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded 4684f6177b5d: Verifying Checksum 4684f6177b5d: Download complete 25ad7478873d: Download complete df20fa9351a1: Verifying Checksum df20fa9351a1: Download complete 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 df20fa9351a1: Pull complete ea71acc29633: Verifying Checksum ea71acc29633: Download complete 657cc4c15165: Verifying Checksum 657cc4c15165: Download complete tests/integration/api_container_test.py::CreateContainerTest::test_create_container_with_volumes_from PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_auto_remove PASSED [ 3%] e54e602fdc10: Verifying Checksum e54e602fdc10: Download complete 4d039d7a12fa: Verifying Checksum 4d039d7a12fa: Download complete e5dbdc1de3c4: Verifying Checksum e5dbdc1de3c4: Download complete 25ad7478873d: Pull complete 327e3e2dc66d: Verifying Checksum 327e3e2dc66d: Download complete 2b580fd82d58: Verifying Checksum tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options XFAIL [ 4%] 2b580fd82d58: Download complete f4226241ff94: Verifying Checksum f4226241ff94: Download complete 46e300cec669: Verifying Checksum 46e300cec669: Download complete 4684f6177b5d: Pull complete 79baa31c6394: Verifying Checksum 79baa31c6394: Download complete 6c33745f49b4: Pull complete tests/integration/api_container_test.py::CreateContainerTest::test_create_with_device_cgroup_rules PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_environment_variable_no_value PASSED [ 4%] c87cd3c61e27: Pull complete tests/integration/api_container_test.py::CreateContainerTest::test_create_with_host_pid_mode PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_init PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_isolation PASSED [ 4%] 05a3c799ec37: Pull complete 46e300cec669: Pull complete 63038576ad94: Pull complete 0fdb76c4706c: Pull complete cb7edeffdfd5: Pull complete tests/integration/api_container_test.py::CreateContainerTest::test_create_with_links PASSED [ 4%] cc28bd76800f: Pull complete tests/integration/api_container_test.py::CreateContainerTest::test_create_with_mac_address PASSED [ 4%] 54196fe38f7e: Pull complete ea71acc29633: Pull complete 657cc4c15165: Pull complete tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_int PASSED [ 4%] e54e602fdc10: Pull complete 4d039d7a12fa: Pull complete e5dbdc1de3c4: Pull complete 327e3e2dc66d: Pull complete 2b580fd82d58: Pull complete f4226241ff94: Pull complete 79baa31c6394: Pull complete Digest: sha256:14ea41a10559934b221e977d5f726816e43a3deb12564f35fd82d66881af1549 Status: Downloaded newer image for dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_str PASSED [ 5%] a61c38f966ac: Pull complete de2899edd2a529744353c94d1f27cef5a9a4cf9ec7e504f640bbd5fb2d6bfcfe tests/integration/api_container_test.py::CreateContainerTest::test_create_with_restart_policy PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_stop_timeout PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_storage_opt XFAIL [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_tmpfs PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_uts_mode PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_ints PASSED [ 5%] [Pipeline] sh + docker run --rm --name dpy-tests-39-0-py3.7-19.03.12 -e DOCKER_HOST=tcp://dpy-dind-39-0-py3.7-19.03.12:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-39-0-py3.7-19.03.12 --volumes-from dpy-dind-39-0-py3.7-19.03.12 -v /home/ubuntu/.docker/config.json:/root/.docker/config.json dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 py.test -v -rxs --cov=docker --ignore=tests/ssh tests/ Unable to find image 'dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230' locally tests/integration/api_container_test.py::CreateContainerTest::test_group_id_strings PASSED [ 5%] py3-06171f7499b4e98e27a6f0be32b8ceb774544230: Pulling from dockerbuildbot/docker-py 6c33745f49b4: Pulling fs layer c87cd3c61e27: Pulling fs layer 05a3c799ec37: Pulling fs layer a61c38f966ac: Pulling fs layer c2dd6d195b68: Pulling fs layer 29b9446ae7bd: Pulling fs layer bcb49d30d299: Pulling fs layer 618e5f951c44: Pulling fs layer b61a06eec492: Pulling fs layer 37c9a9680c68: Pulling fs layer 9c2a8723ee8c: Pulling fs layer 4b60ba4497df: Pulling fs layer 23d28a851396: Pulling fs layer 1f5f78ace427: Pulling fs layer 7106d9f68504: Pulling fs layer dbb3ab9bdcd2: Pulling fs layer 5668731e5ff7: Pulling fs layer 1c7e1e6b8d6a: Pulling fs layer ee0ba4ed587e: Pulling fs layer 0b17d1a4ceb5: Pulling fs layer 0fa456667f53: Pulling fs layer 710e0f0f60f5: Pulling fs layer 4149bc55b090: Pulling fs layer e0594a7c800f: Pulling fs layer 52c9cb63daa1: Pulling fs layer 978d3790bf61: Pulling fs layer a61c38f966ac: Waiting c2dd6d195b68: Waiting 29b9446ae7bd: Waiting bcb49d30d299: Waiting 618e5f951c44: Waiting b61a06eec492: Waiting 37c9a9680c68: Waiting 9c2a8723ee8c: Waiting 4b60ba4497df: Waiting 23d28a851396: Waiting 1f5f78ace427: Waiting 7106d9f68504: Waiting dbb3ab9bdcd2: Waiting 5668731e5ff7: Waiting 1c7e1e6b8d6a: Waiting ee0ba4ed587e: Waiting 0fa456667f53: Waiting 710e0f0f60f5: Waiting 4149bc55b090: Waiting 0b17d1a4ceb5: Waiting 978d3790bf61: Waiting e0594a7c800f: Waiting 52c9cb63daa1: Waiting c87cd3c61e27: Verifying Checksum c87cd3c61e27: Download complete 05a3c799ec37: Verifying Checksum 05a3c799ec37: Download complete 6c33745f49b4: Verifying Checksum 6c33745f49b4: Download complete 29b9446ae7bd: Verifying Checksum 29b9446ae7bd: Download complete a61c38f966ac: Verifying Checksum a61c38f966ac: Download complete 618e5f951c44: Verifying Checksum 618e5f951c44: Download complete bcb49d30d299: Verifying Checksum bcb49d30d299: Download complete b61a06eec492: Verifying Checksum b61a06eec492: Download complete 37c9a9680c68: Verifying Checksum 37c9a9680c68: Download complete 4b60ba4497df: Verifying Checksum 4b60ba4497df: Download complete 23d28a851396: Verifying Checksum 23d28a851396: Download complete 9c2a8723ee8c: Verifying Checksum 9c2a8723ee8c: Download complete 7106d9f68504: Verifying Checksum 7106d9f68504: Download complete dbb3ab9bdcd2: Verifying Checksum dbb3ab9bdcd2: Download complete 1f5f78ace427: Verifying Checksum 1f5f78ace427: Download complete c2dd6d195b68: Pull complete 29b9446ae7bd: Pull complete 5668731e5ff7: Verifying Checksum 5668731e5ff7: Download complete 1c7e1e6b8d6a: Verifying Checksum 1c7e1e6b8d6a: Download complete ee0ba4ed587e: Verifying Checksum ee0ba4ed587e: Download complete 0b17d1a4ceb5: Verifying Checksum 0b17d1a4ceb5: Download complete 0fa456667f53: Verifying Checksum 0fa456667f53: Download complete bcb49d30d299: Pull complete 618e5f951c44: Pull complete 4149bc55b090: Verifying Checksum 4149bc55b090: Download complete 710e0f0f60f5: Verifying Checksum 710e0f0f60f5: Download complete 52c9cb63daa1: Verifying Checksum 52c9cb63daa1: Download complete 978d3790bf61: Verifying Checksum 978d3790bf61: Download complete e0594a7c800f: Verifying Checksum e0594a7c800f: Download complete b61a06eec492: Pull complete 37c9a9680c68: Pull complete c2dd6d195b68: Verifying Checksum c2dd6d195b68: Download complete 9c2a8723ee8c: Pull complete 4b60ba4497df: Pull complete 23d28a851396: Pull complete 1f5f78ace427: Pull complete 7106d9f68504: Pull complete dbb3ab9bdcd2: Pull complete 5668731e5ff7: Pull complete 1c7e1e6b8d6a: Pull complete ee0ba4ed587e: Pull complete 0b17d1a4ceb5: Pull complete 0fa456667f53: Pull complete 6c33745f49b4: Pull complete 710e0f0f60f5: Pull complete 4149bc55b090: Pull complete c87cd3c61e27: Pull complete e0594a7c800f: Pull complete 52c9cb63daa1: Pull complete 978d3790bf61: Pull complete Digest: sha256:530635c7314e83e705a05faa75aa0125fb03f3a58220b5d816d29ed659382eec Status: Downloaded newer image for dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 05a3c799ec37: Pull complete ============================= test session starts ============================== platform linux -- Python 3.7.9, 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: timeout-1.3.3, cov-2.6.1 a61c38f966ac: Pull complete collecting ... collected 953 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 [ 0%] tests/integration/api_container_test.py::CreateContainerTest::test_invalid_log_driver_raises_exception PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 0%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_log_driver_and_log_opt PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 0%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_config_specified PASSED [ 6%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_nested_dockerfile PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_invalid_platform SKIPPED [ 0%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_log_driver_specified PASSED [ 6%] tests/integration/api_build_test.py::BuildTest::test_build_isolation PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_labels PASSED [ 1%] c2dd6d195b68: Pull complete 29b9446ae7bd: Pull complete tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_ro PASSED [ 6%] tests/integration/api_build_test.py::BuildTest::test_build_out_of_context_dockerfile PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_shmsize PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_squash SKIPPED [ 1%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_rw PASSED [ 6%] tests/integration/api_build_test.py::BuildTest::test_build_stderr_data PASSED [ 1%] bcb49d30d299: Pull complete 618e5f951c44: Pull complete b61a06eec492: Pull complete 37c9a9680c68: Pull complete tests/integration/api_build_test.py::BuildTest::test_build_streaming PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 1%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts PASSED [ 6%] 9c2a8723ee8c: Pull complete 4b60ba4497df: Pull complete 23d28a851396: Pull complete 1f5f78ace427: Pull complete 7106d9f68504: Pull complete dbb3ab9bdcd2: Pull complete 5668731e5ff7: Pull complete tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts_ro PASSED [ 6%] 1c7e1e6b8d6a: Pull complete ee0ba4ed587e: Pull complete 0b17d1a4ceb5: Pull complete 0fa456667f53: Pull complete tests/integration/api_container_test.py::VolumeBindTest::test_create_with_volume_mount PASSED [ 6%] tests/integration/api_container_test.py::ArchiveTest::test_copy_directory_to_container PASSED [ 6%] tests/integration/api_container_test.py::ArchiveTest::test_copy_file_to_container PASSED [ 6%] 710e0f0f60f5: Pull complete 4149bc55b090: Pull complete tests/integration/api_build_test.py::BuildTest::test_build_with_cache_from PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerfile_empty_lines PASSED [ 1%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_archive_from_container PASSED [ 7%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 1%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_stat_from_container PASSED [ 7%] tests/integration/api_container_test.py::RenameContainerTest::test_rename_container PASSED [ 7%] e0594a7c800f: Pull complete 52c9cb63daa1: Pull complete 978d3790bf61: Pull complete Digest: sha256:530635c7314e83e705a05faa75aa0125fb03f3a58220b5d816d29ed659382eec Status: Downloaded newer image for dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 tests/integration/api_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 2%] ============================= test session starts ============================== platform linux -- Python 3.7.9, 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: timeout-1.3.3, cov-2.6.1 tests/integration/api_container_test.py::StartContainerTest::test_run_shlex_commands PASSED [ 7%] tests/integration/api_container_test.py::StartContainerTest::test_start_container PASSED [ 7%] tests/integration/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 7%] tests/integration/api_build_test.py::BuildTest::test_build_with_network_mode PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_with_proxy PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_with_proxy_and_buildargs PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_prune_builds XPASS [ 2%] tests/integration/api_client_test.py::InformationTest::test_info PASSED [ 2%] tests/integration/api_client_test.py::InformationTest::test_version PASSED [ 2%] tests/integration/api_client_test.py::AutoDetectVersionTest::test_client_init PASSED [ 2%] tests/integration/api_client_test.py::ConnectionTimeoutTest::test_timeout PASSED [ 2%] tests/integration/api_client_test.py::UnixconnTest::test_resource_warnings PASSED [ 3%] tests/integration/api_config_test.py::ConfigAPITest::test_create_config PASSED [ 3%] tests/integration/api_config_test.py::ConfigAPITest::test_create_config_unicode_data PASSED [ 3%] tests/integration/api_config_test.py::ConfigAPITest::test_inspect_config PASSED [ 3%] tests/integration/api_config_test.py::ConfigAPITest::test_list_configs PASSED [ 3%] tests/integration/api_config_test.py::ConfigAPITest::test_remove_config PASSED [ 3%] collecting ... collected 953 items tests/integration/api_container_test.py::ListContainersTest::test_list_containers PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create_container_with_volumes_from PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_auto_remove PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options XFAIL [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_device_cgroup_rules PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_environment_variable_no_value PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_host_pid_mode PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_init PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_isolation PASSED [ 4%] tests/integration/api_container_test.py::WaitTest::test_wait PASSED [ 7%] 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 [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 0%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_links PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_mac_address PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 0%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_int PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_nested_dockerfile PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_invalid_platform SKIPPED [ 0%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_str PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_isolation PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_labels PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_out_of_context_dockerfile PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_shmsize PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_squash SKIPPED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_stderr_data PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_streaming PASSED [ 1%] tests/integration/api_container_test.py::WaitTest::test_wait_with_condition PASSED [ 7%] tests/integration/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 1%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_restart_policy PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_stop_timeout PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_storage_opt XFAIL [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_tmpfs PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_uts_mode PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_ints PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_strings PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_cache_from PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerfile_empty_lines PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 1%] tests/integration/api_container_test.py::WaitTest::test_wait_with_dict_instead_of_id PASSED [ 7%] tests/integration/api_container_test.py::LogsTest::test_logs PASSED [ 7%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow PASSED [ 8%] tests/integration/api_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 2%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow_and_cancel PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs_tail_option PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs_with_tail_0 PASSED [ 8%] tests/integration/api_build_test.py::BuildTest::test_build_with_network_mode PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_with_proxy PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_with_proxy_and_buildargs PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_prune_builds XPASS [ 2%] tests/integration/api_client_test.py::InformationTest::test_info PASSED [ 2%] tests/integration/api_client_test.py::InformationTest::test_version PASSED [ 2%] tests/integration/api_client_test.py::AutoDetectVersionTest::test_client_init PASSED [ 2%] tests/integration/api_container_test.py::LogsTest::test_logs_with_until PASSED [ 8%] tests/integration/api_client_test.py::ConnectionTimeoutTest::test_timeout PASSED [ 2%] tests/integration/api_client_test.py::UnixconnTest::test_resource_warnings PASSED [ 3%] tests/integration/api_container_test.py::DiffTest::test_diff PASSED [ 8%] tests/integration/api_container_test.py::DiffTest::test_diff_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_config_test.py::ConfigAPITest::test_create_config PASSED [ 3%] tests/integration/api_config_test.py::ConfigAPITest::test_create_config_unicode_data PASSED [ 3%] tests/integration/api_config_test.py::ConfigAPITest::test_inspect_config PASSED [ 3%] tests/integration/api_config_test.py::ConfigAPITest::test_list_configs PASSED [ 3%] tests/integration/api_config_test.py::ConfigAPITest::test_remove_config PASSED [ 3%] tests/integration/api_container_test.py::ListContainersTest::test_list_containers PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create_container_with_volumes_from PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_auto_remove PASSED [ 3%] tests/integration/api_container_test.py::StopTest::test_stop PASSED [ 8%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options XFAIL [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_device_cgroup_rules PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_environment_variable_no_value PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_host_pid_mode PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_init PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_isolation PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_links PASSED [ 4%] tests/integration/api_container_test.py::StopTest::test_stop_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::KillTest::test_kill PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_mac_address PASSED [ 4%] tests/integration/api_container_test.py::KillTest::test_kill_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_int PASSED [ 4%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_str PASSED [ 5%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_integer PASSED [ 9%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_name PASSED [ 9%] tests/integration/api_container_test.py::PortTest::test_port PASSED [ 9%] tests/integration/api_container_test.py::ContainerTopTest::test_top XPASS [ 9%] tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs XFAIL [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_restart_policy PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_stop_timeout PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_storage_opt XFAIL [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_tmpfs PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_uts_mode PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_ints PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_strings PASSED [ 5%] tests/integration/api_container_test.py::RestartContainerTest::test_restart PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_invalid_log_driver_raises_exception PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_log_driver_and_log_opt PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_config_specified PASSED [ 6%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_log_driver_specified PASSED [ 6%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_ro PASSED [ 6%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_rw PASSED [ 6%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts PASSED [ 6%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts_ro PASSED [ 6%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_volume_mount PASSED [ 6%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_container_test.py::ArchiveTest::test_copy_directory_to_container PASSED [ 6%] tests/integration/api_container_test.py::ArchiveTest::test_copy_file_to_container PASSED [ 6%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_archive_from_container PASSED [ 7%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_stat_from_container PASSED [ 7%] tests/integration/api_container_test.py::RenameContainerTest::test_rename_container PASSED [ 7%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_low_timeout PASSED [ 10%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove PASSED [ 10%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream PASSED [ 10%] tests/integration/api_container_test.py::StartContainerTest::test_run_shlex_commands PASSED [ 7%] tests/integration/api_container_test.py::StartContainerTest::test_start_container PASSED [ 7%] tests/integration/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 7%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_stream_and_cancel PASSED [ 10%] tests/integration/api_container_test.py::WaitTest::test_wait PASSED [ 7%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_arg PASSED [ 10%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_config_file PASSED [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_invalid_log_driver_raises_exception PASSED [ 5%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_default PASSED [ 10%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_log_driver_and_log_opt PASSED [ 5%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_reading_socket PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_config_specified PASSED [ 6%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_streaming PASSED [ 11%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_log_driver_specified PASSED [ 6%] tests/integration/api_container_test.py::PauseTest::test_pause_unpause PASSED [ 11%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_ro PASSED [ 6%] tests/integration/api_container_test.py::PruneTest::test_prune_containers PASSED [ 11%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_rw PASSED [ 6%] tests/integration/api_container_test.py::WaitTest::test_wait_with_condition PASSED [ 7%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts PASSED [ 6%] tests/integration/api_container_test.py::GetContainerStatsTest::test_get_container_stats_no_stream PASSED [ 11%] tests/integration/api_container_test.py::ContainerUpdateTest::test_restart_policy_update PASSED [ 11%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts_ro PASSED [ 6%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_volume_mount PASSED [ 6%] tests/integration/api_container_test.py::ContainerUpdateTest::test_update_container PASSED [ 11%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpu_shares PASSED [ 11%] tests/integration/api_container_test.py::ArchiveTest::test_copy_directory_to_container PASSED [ 6%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpuset PASSED [ 11%] tests/integration/api_container_test.py::ContainerCPUTest::test_create_with_runtime PASSED [ 11%] tests/integration/api_container_test.py::ArchiveTest::test_copy_file_to_container PASSED [ 6%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_archive_from_container PASSED [ 7%] tests/integration/api_container_test.py::WaitTest::test_wait_with_dict_instead_of_id PASSED [ 7%] tests/integration/api_container_test.py::LogsTest::test_logs PASSED [ 7%] tests/integration/api_container_test.py::LinkTest::test_remove_link PASSED [ 12%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow PASSED [ 8%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_stat_from_container PASSED [ 7%] tests/integration/api_container_test.py::RenameContainerTest::test_rename_container PASSED [ 7%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_config_file PASSED [ 12%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow_and_cancel PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs_tail_option PASSED [ 8%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_default PASSED [ 12%] tests/integration/api_container_test.py::LogsTest::test_logs_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs_with_tail_0 PASSED [ 8%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_root PASSED [ 12%] tests/integration/api_container_test.py::LogsTest::test_logs_with_until PASSED [ 8%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_user PASSED [ 12%] tests/integration/api_container_test.py::StartContainerTest::test_run_shlex_commands PASSED [ 7%] tests/integration/api_container_test.py::StartContainerTest::test_start_container PASSED [ 7%] tests/integration/api_container_test.py::DiffTest::test_diff PASSED [ 8%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_streaming PASSED [ 12%] tests/integration/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 7%] tests/integration/api_container_test.py::DiffTest::test_diff_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_string PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_env PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_workdir PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 13%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 13%] tests/integration/api_container_test.py::StopTest::test_stop PASSED [ 8%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_socket PASSED [ 13%] tests/integration/api_exec_test.py::ExecTest::test_execute_command PASSED [ 13%] tests/integration/api_exec_test.py::ExecTest::test_execute_command_with_proxy_env PASSED [ 13%] tests/integration/api_container_test.py::WaitTest::test_wait PASSED [ 7%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_demux PASSED [ 13%] tests/integration/api_container_test.py::StopTest::test_stop_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::KillTest::test_kill PASSED [ 9%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_no_demux PASSED [ 13%] tests/integration/api_container_test.py::KillTest::test_kill_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal PASSED [ 9%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_demux PASSED [ 13%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_integer PASSED [ 9%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_name PASSED [ 9%] tests/integration/api_container_test.py::PortTest::test_port PASSED [ 9%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_no_demux PASSED [ 13%] tests/integration/api_container_test.py::ContainerTopTest::test_top XPASS [ 9%] tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs XFAIL [ 9%] tests/integration/api_container_test.py::WaitTest::test_wait_with_condition PASSED [ 7%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_demux PASSED [ 13%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_no_demux PASSED [ 14%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_demux PASSED [ 14%] tests/integration/api_container_test.py::RestartContainerTest::test_restart PASSED [ 9%] tests/integration/api_container_test.py::WaitTest::test_wait_with_dict_instead_of_id PASSED [ 7%] tests/integration/api_container_test.py::LogsTest::test_logs PASSED [ 7%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux PASSED [ 14%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow_and_cancel PASSED [ 8%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_fails PASSED [ 14%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_container_test.py::LogsTest::test_logs_tail_option PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs_with_tail_0 PASSED [ 8%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_passes PASSED [ 14%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_shell_command PASSED [ 14%] tests/integration/api_container_test.py::LogsTest::test_logs_with_until PASSED [ 8%] tests/integration/api_container_test.py::DiffTest::test_diff PASSED [ 8%] tests/integration/api_container_test.py::DiffTest::test_diff_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_low_timeout PASSED [ 10%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove PASSED [ 10%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream PASSED [ 10%] tests/integration/api_container_test.py::StopTest::test_stop PASSED [ 8%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_start_period PASSED [ 14%] tests/integration/api_image_test.py::ListImagesTest::test_images PASSED [ 14%] tests/integration/api_image_test.py::ListImagesTest::test_images_quiet PASSED [ 14%] tests/integration/api_image_test.py::PullImageTest::test_pull PASSED [ 15%] tests/integration/api_image_test.py::PullImageTest::test_pull_invalid_platform SKIPPED [ 15%] tests/integration/api_image_test.py::PullImageTest::test_pull_streaming PASSED [ 15%] tests/integration/api_image_test.py::CommitTest::test_commit PASSED [ 15%] tests/integration/api_image_test.py::CommitTest::test_commit_with_changes PASSED [ 15%] tests/integration/api_container_test.py::StopTest::test_stop_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_image_test.py::RemoveImageTest::test_remove PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_get_load_image PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_bytes PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_file PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_stream PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_url SKIPPED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_from_data_with_changes PASSED [ 16%] tests/integration/api_container_test.py::KillTest::test_kill PASSED [ 9%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_with_changes PASSED [ 16%] tests/integration/api_container_test.py::KillTest::test_kill_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_image_test.py::PruneImagesTest::test_prune_images PASSED [ 16%] tests/integration/api_image_test.py::SaveLoadImagesTest::test_get_image_load_image PASSED [ 16%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_stream_and_cancel PASSED [ 10%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal PASSED [ 9%] tests/integration/api_image_test.py::InspectDistributionTest::test_inspect_distribution PASSED [ 16%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_arg PASSED [ 10%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_integer PASSED [ 9%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_name PASSED [ 9%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_disconnect_container PASSED [ 16%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_config_file PASSED [ 10%] tests/integration/api_container_test.py::PortTest::test_port PASSED [ 9%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_force_disconnect_container PASSED [ 16%] tests/integration/api_container_test.py::ContainerTopTest::test_top XPASS [ 9%] tests/integration/api_network_test.py::TestNetworks::test_connect_on_container_create PASSED [ 16%] tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs XFAIL [ 9%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_default PASSED [ 10%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_aliases PASSED [ 16%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_reading_socket PASSED [ 11%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_streaming PASSED [ 11%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv4_address PASSED [ 17%] tests/integration/api_container_test.py::PauseTest::test_pause_unpause PASSED [ 11%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv6_address PASSED [ 17%] tests/integration/api_container_test.py::PruneTest::test_prune_containers PASSED [ 11%] tests/integration/api_container_test.py::RestartContainerTest::test_restart PASSED [ 9%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_links PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_check_duplicate PASSED [ 17%] tests/integration/api_container_test.py::GetContainerStatsTest::test_get_container_stats_no_stream PASSED [ 11%] tests/integration/api_container_test.py::ContainerUpdateTest::test_restart_policy_update PASSED [ 11%] tests/integration/api_container_test.py::ContainerUpdateTest::test_update_container PASSED [ 11%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpu_shares PASSED [ 11%] tests/integration/api_network_test.py::TestNetworks::test_create_inspect_network_with_scope PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_internal_networks PASSED [ 17%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpuset PASSED [ 11%] tests/integration/api_container_test.py::ContainerCPUTest::test_create_with_runtime PASSED [ 11%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_network_test.py::TestNetworks::test_create_network_attachable PASSED [ 17%] tests/integration/api_container_test.py::LinkTest::test_remove_link PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_config_file PASSED [ 12%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ingress PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ipv6_enabled PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_host_driver_fails PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_ipam_config PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_labels PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_labels_wrong_type PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_remove_network_with_space_in_name PASSED [ 18%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_default PASSED [ 12%] tests/integration/api_network_test.py::TestNetworks::test_create_with_aliases PASSED [ 18%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_root PASSED [ 12%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_low_timeout PASSED [ 10%] tests/integration/api_network_test.py::TestNetworks::test_create_with_driveropt PASSED [ 18%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove PASSED [ 10%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv4_address PASSED [ 18%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_user PASSED [ 12%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv6_address PASSED [ 18%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_streaming PASSED [ 12%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream PASSED [ 10%] tests/integration/api_network_test.py::TestNetworks::test_create_with_linklocal_ips PASSED [ 18%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_string PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_env PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_workdir PASSED [ 12%] tests/integration/api_network_test.py::TestNetworks::test_create_with_links PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_inspect_network PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_list_networks PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_prune_networks PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_remove_network PASSED [ 19%] tests/integration/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 13%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 13%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_socket PASSED [ 13%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_stream_and_cancel PASSED [ 10%] tests/integration/api_plugin_test.py::PluginTest::test_configure_plugin PASSED [ 19%] tests/integration/api_plugin_test.py::PluginTest::test_create_plugin PASSED [ 19%] tests/integration/api_exec_test.py::ExecTest::test_execute_command PASSED [ 13%] tests/integration/api_plugin_test.py::PluginTest::test_disable_plugin PASSED [ 19%] tests/integration/api_exec_test.py::ExecTest::test_execute_command_with_proxy_env PASSED [ 13%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_arg PASSED [ 10%] tests/integration/api_plugin_test.py::PluginTest::test_enable_plugin PASSED [ 19%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_demux PASSED [ 13%] tests/integration/api_plugin_test.py::PluginTest::test_force_remove_plugin PASSED [ 20%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_config_file PASSED [ 10%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_no_demux PASSED [ 13%] tests/integration/api_plugin_test.py::PluginTest::test_inspect_plugin PASSED [ 20%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_default PASSED [ 10%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_demux PASSED [ 13%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_reading_socket PASSED [ 11%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_no_demux PASSED [ 13%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_streaming PASSED [ 11%] tests/integration/api_container_test.py::PauseTest::test_pause_unpause PASSED [ 11%] tests/integration/api_plugin_test.py::PluginTest::test_install_plugin PASSED [ 20%] tests/integration/api_plugin_test.py::PluginTest::test_list_plugins PASSED [ 20%] tests/integration/api_plugin_test.py::PluginTest::test_plugin_privileges PASSED [ 20%] tests/integration/api_plugin_test.py::PluginTest::test_remove_plugin PASSED [ 20%] tests/integration/api_container_test.py::PruneTest::test_prune_containers PASSED [ 11%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_demux PASSED [ 13%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_no_demux PASSED [ 14%] tests/integration/api_container_test.py::GetContainerStatsTest::test_get_container_stats_no_stream PASSED [ 11%] tests/integration/api_plugin_test.py::PluginTest::test_upgrade_plugin PASSED [ 20%] tests/integration/api_container_test.py::ContainerUpdateTest::test_restart_policy_update PASSED [ 11%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_demux PASSED [ 14%] tests/integration/api_container_test.py::ContainerUpdateTest::test_update_container PASSED [ 11%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret PASSED [ 20%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret_unicode_data PASSED [ 20%] tests/integration/api_secret_test.py::SecretAPITest::test_inspect_secret PASSED [ 20%] tests/integration/api_secret_test.py::SecretAPITest::test_list_secrets PASSED [ 21%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpu_shares PASSED [ 11%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux PASSED [ 14%] tests/integration/api_secret_test.py::SecretAPITest::test_remove_secret PASSED [ 21%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpuset PASSED [ 11%] tests/integration/api_container_test.py::ContainerCPUTest::test_create_with_runtime PASSED [ 11%] tests/integration/api_service_test.py::ServiceTest::test_create_service_custom_log_driver PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_global_mode PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_replicated_mode PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_simple PASSED [ 21%] tests/integration/api_container_test.py::LinkTest::test_remove_link PASSED [ 12%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_fails PASSED [ 14%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_config_file PASSED [ 12%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_config PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_custom_networks PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_dns_config PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec_host_publish_mode PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_env PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_failure_action_rollback PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_generic_resources PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_groups PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_healthcheck PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hostname PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hosts PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_init PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_invalid_generic_resources PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_network_attachment_config PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_object PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_platform PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences_tuple PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_privileges PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_readonly PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_resources_constraints PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_restart_policy PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_rollback_config PASSED [ 24%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_passes PASSED [ 14%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_shell_command PASSED [ 14%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_default PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_root PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_user PASSED [ 12%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_secret PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_stop_signal PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty_dict PASSED [ 24%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_streaming PASSED [ 12%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_config PASSED [ 24%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_string PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_env PASSED [ 12%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_secret PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config_monitor PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_order PASSED [ 25%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_workdir PASSED [ 12%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_volume_mount PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_id PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_name PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_insert_defaults PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_list_services PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_list_services_filter_by_label PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_id PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_name PASSED [ 26%] tests/integration/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 13%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_start_period PASSED [ 14%] tests/integration/api_image_test.py::ListImagesTest::test_images PASSED [ 14%] tests/integration/api_image_test.py::ListImagesTest::test_images_quiet PASSED [ 14%] tests/integration/api_service_test.py::ServiceTest::test_service_logs PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_force_update PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_container_labels PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_healthcheck PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_labels PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_container_labels PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_endpoint_spec PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_labels PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_mode PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_name PASSED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_networks PASSED [ 27%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 13%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_update_config PASSED [ 27%] tests/integration/api_image_test.py::PullImageTest::test_pull PASSED [ 15%] tests/integration/api_image_test.py::PullImageTest::test_pull_invalid_platform SKIPPED [ 15%] tests/integration/api_image_test.py::PullImageTest::test_pull_streaming PASSED [ 15%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_socket PASSED [ 13%] tests/integration/api_image_test.py::CommitTest::test_commit PASSED [ 15%] tests/integration/api_exec_test.py::ExecTest::test_execute_command PASSED [ 13%] tests/integration/api_image_test.py::CommitTest::test_commit_with_changes PASSED [ 15%] tests/integration/api_exec_test.py::ExecTest::test_execute_command_with_proxy_env PASSED [ 13%] tests/integration/api_image_test.py::RemoveImageTest::test_remove PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_get_load_image PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_bytes PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_file PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_stream PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_url SKIPPED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_from_data_with_changes PASSED [ 16%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_demux PASSED [ 13%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_with_changes PASSED [ 16%] tests/integration/api_image_test.py::PruneImagesTest::test_prune_images PASSED [ 16%] tests/integration/api_image_test.py::SaveLoadImagesTest::test_get_image_load_image PASSED [ 16%] tests/integration/api_image_test.py::InspectDistributionTest::test_inspect_distribution PASSED [ 16%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_no_demux PASSED [ 13%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_disconnect_container PASSED [ 16%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_demux PASSED [ 13%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_force_disconnect_container PASSED [ 16%] tests/integration/api_network_test.py::TestNetworks::test_connect_on_container_create PASSED [ 16%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_no_demux PASSED [ 13%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_aliases PASSED [ 16%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_demux PASSED [ 13%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv4_address PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv6_address PASSED [ 17%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_no_demux PASSED [ 14%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_links PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_check_duplicate PASSED [ 17%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_demux PASSED [ 14%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux PASSED [ 14%] tests/integration/api_network_test.py::TestNetworks::test_create_inspect_network_with_scope PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_internal_networks PASSED [ 17%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_fails PASSED [ 14%] tests/integration/api_network_test.py::TestNetworks::test_create_network_attachable PASSED [ 17%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_network_change PASSED [ 27%] tests/integration/api_swarm_test.py::SwarmTest::test_init_already_in_cluster PASSED [ 27%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_passes PASSED [ 14%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_shell_command PASSED [ 14%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_both_args PASSED [ 27%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ingress PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ipv6_enabled PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_host_driver_fails PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_ipam_config PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_labels PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_labels_wrong_type PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_remove_network_with_space_in_name PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_with_aliases PASSED [ 18%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_defaults PASSED [ 27%] tests/integration/api_network_test.py::TestNetworks::test_create_with_driveropt PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv4_address PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv6_address PASSED [ 18%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_pool PASSED [ 27%] tests/integration/api_network_test.py::TestNetworks::test_create_with_linklocal_ips PASSED [ 18%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_start_period PASSED [ 14%] tests/integration/api_image_test.py::ListImagesTest::test_images PASSED [ 14%] tests/integration/api_image_test.py::ListImagesTest::test_images_quiet PASSED [ 14%] tests/integration/api_image_test.py::PullImageTest::test_pull PASSED [ 15%] tests/integration/api_image_test.py::PullImageTest::test_pull_invalid_platform SKIPPED [ 15%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_subnet_size PASSED [ 27%] tests/integration/api_network_test.py::TestNetworks::test_create_with_links PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_inspect_network PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_list_networks PASSED [ 19%] tests/integration/api_image_test.py::PullImageTest::test_pull_streaming PASSED [ 15%] tests/integration/api_network_test.py::TestNetworks::test_prune_networks PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_remove_network PASSED [ 19%] tests/integration/api_image_test.py::CommitTest::test_commit PASSED [ 15%] tests/integration/api_image_test.py::CommitTest::test_commit_with_changes PASSED [ 15%] tests/integration/api_plugin_test.py::PluginTest::test_configure_plugin PASSED [ 19%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_raft_spec PASSED [ 28%] tests/integration/api_plugin_test.py::PluginTest::test_create_plugin PASSED [ 19%] tests/integration/api_image_test.py::RemoveImageTest::test_remove PASSED [ 15%] tests/integration/api_plugin_test.py::PluginTest::test_disable_plugin PASSED [ 19%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_data_path_addr XPASS [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_force_new_cluster SKIPPED [ 28%] tests/integration/api_plugin_test.py::PluginTest::test_enable_plugin PASSED [ 19%] tests/integration/api_image_test.py::ImportImageTest::test_get_load_image PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_bytes PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_file PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_stream PASSED [ 15%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_url SKIPPED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_from_data_with_changes PASSED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_with_changes PASSED [ 16%] tests/integration/api_plugin_test.py::PluginTest::test_force_remove_plugin PASSED [ 20%] tests/integration/api_image_test.py::PruneImagesTest::test_prune_images PASSED [ 16%] tests/integration/api_image_test.py::SaveLoadImagesTest::test_get_image_load_image PASSED [ 16%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_simple PASSED [ 28%] tests/integration/api_image_test.py::InspectDistributionTest::test_inspect_distribution PASSED [ 16%] tests/integration/api_plugin_test.py::PluginTest::test_inspect_plugin PASSED [ 20%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_disconnect_container PASSED [ 16%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_force_disconnect_container PASSED [ 16%] tests/integration/api_plugin_test.py::PluginTest::test_install_plugin PASSED [ 20%] tests/integration/api_plugin_test.py::PluginTest::test_list_plugins PASSED [ 20%] tests/integration/api_network_test.py::TestNetworks::test_connect_on_container_create PASSED [ 16%] tests/integration/api_plugin_test.py::PluginTest::test_plugin_privileges PASSED [ 20%] tests/integration/api_plugin_test.py::PluginTest::test_remove_plugin PASSED [ 20%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_aliases PASSED [ 16%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv4_address PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv6_address PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_links PASSED [ 17%] tests/integration/api_plugin_test.py::PluginTest::test_upgrade_plugin PASSED [ 20%] tests/integration/api_network_test.py::TestNetworks::test_create_check_duplicate PASSED [ 17%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret PASSED [ 20%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret_unicode_data PASSED [ 20%] tests/integration/api_secret_test.py::SecretAPITest::test_inspect_secret PASSED [ 20%] tests/integration/api_secret_test.py::SecretAPITest::test_list_secrets PASSED [ 21%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_autolock_managers PASSED [ 28%] tests/integration/api_secret_test.py::SecretAPITest::test_remove_secret PASSED [ 21%] tests/integration/api_network_test.py::TestNetworks::test_create_inspect_network_with_scope PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_internal_networks PASSED [ 17%] tests/integration/api_service_test.py::ServiceTest::test_create_service_custom_log_driver PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_global_mode PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_replicated_mode PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_simple PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_config PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_custom_networks PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_dns_config PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec_host_publish_mode PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_env PASSED [ 22%] tests/integration/api_network_test.py::TestNetworks::test_create_network_attachable PASSED [ 17%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_failure_action_rollback PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_generic_resources PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_groups PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_healthcheck PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hostname PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hosts PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_init PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_invalid_generic_resources PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_network_attachment_config PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_object PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_platform PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences_tuple PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_privileges PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_readonly PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_resources_constraints PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_restart_policy PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_rollback_config PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_secret PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_stop_signal PASSED [ 24%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ingress PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ipv6_enabled PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_host_driver_fails PASSED [ 18%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty_dict PASSED [ 24%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_ipam_config PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_labels PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_labels_wrong_type PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_remove_network_with_space_in_name PASSED [ 18%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_config PASSED [ 24%] tests/integration/api_network_test.py::TestNetworks::test_create_with_aliases PASSED [ 18%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_ca_config PASSED [ 28%] tests/integration/api_network_test.py::TestNetworks::test_create_with_driveropt PASSED [ 18%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver XFAIL [ 28%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv4_address PASSED [ 18%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_secret PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config_monitor PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_order PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_volume_mount PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_id PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_name PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_insert_defaults PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_list_services PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_list_services_filter_by_label PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_id PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_name PASSED [ 26%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv6_address PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_with_linklocal_ips PASSED [ 18%] tests/integration/api_swarm_test.py::SwarmTest::test_inspect_node PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_service_logs PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_force_update PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_container_labels PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_healthcheck PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_labels PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_container_labels PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_endpoint_spec PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_labels PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_mode PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_name PASSED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_networks PASSED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_update_config PASSED [ 27%] tests/integration/api_network_test.py::TestNetworks::test_create_with_links PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_inspect_network PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_list_networks PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_prune_networks PASSED [ 19%] tests/integration/api_swarm_test.py::SwarmTest::test_leave_swarm PASSED [ 28%] tests/integration/api_network_test.py::TestNetworks::test_remove_network PASSED [ 19%] tests/integration/api_swarm_test.py::SwarmTest::test_list_nodes PASSED [ 28%] tests/integration/api_plugin_test.py::PluginTest::test_configure_plugin PASSED [ 19%] tests/integration/api_plugin_test.py::PluginTest::test_create_plugin PASSED [ 19%] tests/integration/api_plugin_test.py::PluginTest::test_disable_plugin PASSED [ 19%] tests/integration/api_swarm_test.py::SwarmTest::test_remove_main_node PASSED [ 29%] tests/integration/api_plugin_test.py::PluginTest::test_enable_plugin PASSED [ 19%] tests/integration/api_plugin_test.py::PluginTest::test_force_remove_plugin PASSED [ 20%] tests/integration/api_plugin_test.py::PluginTest::test_inspect_plugin PASSED [ 20%] tests/integration/api_plugin_test.py::PluginTest::test_install_plugin PASSED [ 20%] tests/integration/api_plugin_test.py::PluginTest::test_list_plugins PASSED [ 20%] tests/integration/api_plugin_test.py::PluginTest::test_plugin_privileges PASSED [ 20%] tests/integration/api_plugin_test.py::PluginTest::test_remove_plugin PASSED [ 20%] tests/integration/api_swarm_test.py::SwarmTest::test_rotate_manager_unlock_key PASSED [ 29%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_network_change PASSED [ 27%] tests/integration/api_plugin_test.py::PluginTest::test_upgrade_plugin PASSED [ 20%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret PASSED [ 20%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret_unicode_data PASSED [ 20%] tests/integration/api_secret_test.py::SecretAPITest::test_inspect_secret PASSED [ 20%] tests/integration/api_secret_test.py::SecretAPITest::test_list_secrets PASSED [ 21%] tests/integration/api_swarm_test.py::SwarmTest::test_init_already_in_cluster PASSED [ 27%] tests/integration/api_secret_test.py::SecretAPITest::test_remove_secret PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_custom_log_driver PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_global_mode PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_replicated_mode PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_simple PASSED [ 21%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_both_args PASSED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_config PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_custom_networks PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_dns_config PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec_host_publish_mode PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_env PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_failure_action_rollback PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_generic_resources PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_groups PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_healthcheck PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hostname PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hosts PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_init PASSED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_invalid_generic_resources PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_network_attachment_config PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_object PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_platform PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences_tuple PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_privileges PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_readonly PASSED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_resources_constraints PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_restart_policy PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_rollback_config PASSED [ 24%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_defaults PASSED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_secret PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_stop_signal PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty_dict PASSED [ 24%] tests/integration/api_swarm_test.py::SwarmTest::test_update_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_pool PASSED [ 27%] tests/integration/api_swarm_test.py::SwarmTest::test_update_swarm PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume PASSED [ 29%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_config PASSED [ 24%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_subnet_size PASSED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_secret PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config PASSED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config_monitor PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_order PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_volume_mount PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_id PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_name PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_insert_defaults PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_list_services PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_list_services_filter_by_label PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_id PASSED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_name PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_service_logs PASSED [ 26%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_raft_spec PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_update_service_force_update PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_container_labels PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_healthcheck PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_labels PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_container_labels PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_endpoint_spec PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_labels PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_mode PASSED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_name PASSED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_networks PASSED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_update_config PASSED [ 27%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_data_path_addr XPASS [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_force_new_cluster SKIPPED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_simple PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_autolock_managers PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_network_change PASSED [ 27%] tests/integration/api_swarm_test.py::SwarmTest::test_init_already_in_cluster PASSED [ 27%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume_invalid_driver PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_nonexistent_volume PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_list_volumes PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_prune_volumes PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_remove_nonexistent_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_remove_volume PASSED [ 30%] tests/integration/client_test.py::ClientTest::test_df PASSED [ 30%] tests/integration/client_test.py::ClientTest::test_info PASSED [ 30%] tests/integration/client_test.py::ClientTest::test_ping PASSED [ 30%] tests/integration/client_test.py::ClientTest::test_version PASSED [ 30%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_both_args PASSED [ 27%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_ca_config PASSED [ 28%] tests/integration/client_test.py::CancellableEventsTest::test_cancel_events PASSED [ 30%] tests/integration/context_api_test.py::ContextLifecycleTest::test_context_remove PASSED [ 30%] tests/integration/context_api_test.py::ContextLifecycleTest::test_lifecycle PASSED [ 31%] tests/integration/context_api_test.py::ContextLifecycleTest::test_load_context_without_orchestrator PASSED [ 31%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_defaults PASSED [ 27%] tests/integration/errors_test.py::ErrorsTest::test_api_error_parses_json PASSED [ 31%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver XFAIL [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_pool PASSED [ 27%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 31%] tests/integration/api_swarm_test.py::SwarmTest::test_inspect_node PASSED [ 28%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list_sparse PASSED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run PASSED [ 31%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_subnet_size PASSED [ 27%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 31%] tests/integration/api_swarm_test.py::SwarmTest::test_leave_swarm PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_raft_spec PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_list_nodes PASSED [ 28%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove PASSED [ 31%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_data_path_addr XPASS [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_force_new_cluster SKIPPED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_remove_main_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_simple PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_rotate_manager_unlock_key PASSED [ 29%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove_error PASSED [ 32%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_autolock_managers PASSED [ 28%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_error PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_image_that_does_not_exist PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_json_file_driver PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_named_volume PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_network PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_none_driver PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_proxy_config PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs_and_cancel PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_volume PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_commit PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_create_with_volume_driver PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_diff PASSED [ 33%] tests/integration/api_swarm_test.py::SwarmTest::test_update_node PASSED [ 29%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_failed PASSED [ 33%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_ca_config PASSED [ 28%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_success PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_kill PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_logs PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_pause PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_list PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_none PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_tuple PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_remove PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_rename PASSED [ 34%] tests/integration/api_swarm_test.py::SwarmTest::test_update_swarm PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver XFAIL [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_inspect_node PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_leave_swarm PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_list_nodes PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_remove_main_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_rotate_manager_unlock_key PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_update_node FAILED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_update_node ERROR [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_update_swarm FAILED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume FAILED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume ERROR [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume_invalid_driver FAILED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume FAILED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume ERROR [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_nonexistent_volume FAILED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume FAILED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume ERROR [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_list_volumes FAILED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_list_volumes ERROR [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_prune_volumes FAILED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_remove_nonexistent_volume FAILED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_remove_volume FAILED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_remove_volume ERROR [ 30%] tests/integration/client_test.py::ClientTest::test_df FAILED [ 30%] tests/integration/models_containers_test.py::ContainerTest::test_restart PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_start PASSED [ 34%] tests/integration/client_test.py::ClientTest::test_info FAILED [ 30%] tests/integration/client_test.py::ClientTest::test_ping FAILED [ 30%] tests/integration/client_test.py::ClientTest::test_version FAILED [ 30%] tests/integration/models_containers_test.py::ContainerTest::test_stats PASSED [ 34%] tests/integration/client_test.py::CancellableEventsTest::test_cancel_events FAILED [ 30%] tests/integration/context_api_test.py::ContextLifecycleTest::test_context_remove PASSED [ 30%] tests/integration/context_api_test.py::ContextLifecycleTest::test_lifecycle PASSED [ 31%] tests/integration/context_api_test.py::ContextLifecycleTest::test_load_context_without_orchestrator PASSED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_stop PASSED [ 34%] tests/integration/errors_test.py::ErrorsTest::test_api_error_parses_json FAILED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_get FAILED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_top PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list FAILED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_update PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list_sparse FAILED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run FAILED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_wait PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_detach FAILED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove FAILED [ 31%] tests/integration/models_images_test.py::ImageCollectionTest::test_build PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove_error FAILED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_error FAILED [ 32%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_error PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_image_that_does_not_exist FAILED [ 32%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume_invalid_driver PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_nonexistent_volume PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_list_volumes PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_prune_volumes PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_remove_nonexistent_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_remove_volume PASSED [ 30%] tests/integration/client_test.py::ClientTest::test_df PASSED [ 30%] tests/integration/client_test.py::ClientTest::test_info PASSED [ 30%] tests/integration/client_test.py::ClientTest::test_ping PASSED [ 30%] tests/integration/client_test.py::ClientTest::test_version PASSED [ 30%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_multiple_success PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_json_file_driver FAILED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_named_volume FAILED [ 32%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_success_build_output PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_network FAILED [ 32%] tests/integration/models_images_test.py::ImageCollectionTest::test_list PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_none_driver FAILED [ 32%] tests/integration/models_images_test.py::ImageCollectionTest::test_list_with_repository PASSED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_load_error PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_proxy_config FAILED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs FAILED [ 32%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 35%] tests/integration/client_test.py::CancellableEventsTest::test_cancel_events PASSED [ 30%] tests/integration/context_api_test.py::ContextLifecycleTest::test_context_remove PASSED [ 30%] tests/integration/context_api_test.py::ContextLifecycleTest::test_lifecycle PASSED [ 31%] tests/integration/context_api_test.py::ContextLifecycleTest::test_load_context_without_orchestrator PASSED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs_and_cancel FAILED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_volume FAILED [ 33%] tests/integration/errors_test.py::ErrorsTest::test_api_error_parses_json PASSED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_commit FAILED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 36%] tests/integration/models_containers_test.py::ContainerTest::test_create_with_volume_driver FAILED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_sha PASSED [ 36%] tests/integration/models_containers_test.py::ContainerTest::test_diff FAILED [ 33%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_failed FAILED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_tag PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load PASSED [ 36%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_success FAILED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load_repo_name PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_name_error PASSED [ 36%] tests/integration/models_containers_test.py::ContainerTest::test_kill FAILED [ 33%] tests/integration/models_images_test.py::ImageTest::test_tag_and_remove PASSED [ 36%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list_sparse PASSED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_logs FAILED [ 33%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 36%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 36%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run PASSED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_pause FAILED [ 33%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_list_remove PASSED [ 37%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_list FAILED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_none FAILED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 31%] tests/integration/models_networks_test.py::NetworkTest::test_connect_disconnect PASSED [ 37%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_tuple FAILED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_remove FAILED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_rename FAILED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_restart FAILED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_start FAILED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_stats FAILED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_stop FAILED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_top FAILED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove PASSED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_update FAILED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_wait FAILED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_build FAILED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_error FAILED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_multiple_success FAILED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_success_build_output FAILED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_list FAILED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_list_with_repository FAILED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_load_error FAILED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull FAILED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove_error PASSED [ 32%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_multiple FAILED [ 36%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_error PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_image_that_does_not_exist PASSED [ 32%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_sha FAILED [ 36%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_json_file_driver PASSED [ 32%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_tag FAILED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load FAILED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load_repo_name FAILED [ 36%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_named_volume PASSED [ 32%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_name_error FAILED [ 36%] tests/integration/models_images_test.py::ImageTest::test_tag_and_remove FAILED [ 36%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_create FAILED [ 36%] tests/integration/models_nodes_test.py::NodesTest::test_list_get_update PASSED [ 37%] tests/integration/models_resources_test.py::ModelTest::test_reload PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_get FAILED [ 36%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_network PASSED [ 32%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_list_remove FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create_with_network PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_bool PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_shorthand_method PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_get PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_list_remove PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_global_service PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_service PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_service PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_tasks PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update_remove_service_labels PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_container_labels PASSED [ 38%] tests/integration/models_networks_test.py::NetworkTest::test_connect_disconnect FAILED [ 37%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_none_driver PASSED [ 32%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks XPASS [ 38%] tests/integration/models_nodes_test.py::NodesTest::test_list_get_update FAILED [ 37%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_proxy_config PASSED [ 32%] tests/integration/models_resources_test.py::ModelTest::test_reload FAILED [ 37%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs PASSED [ 32%] tests/integration/models_services_test.py::ServiceTest::test_create ERROR [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create_with_network ERROR [ 37%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs_and_cancel PASSED [ 32%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service ERROR [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_bool ERROR [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_shorthand_method ERROR [ 37%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_volume PASSED [ 33%] tests/integration/models_services_test.py::ServiceTest::test_get ERROR [ 37%] tests/integration/models_services_test.py::ServiceTest::test_list_remove ERROR [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_global_service ERROR [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_service ERROR [ 38%] tests/integration/models_containers_test.py::ContainerTest::test_commit PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_create_with_volume_driver PASSED [ 33%] tests/integration/models_services_test.py::ServiceTest::test_scale_service ERROR [ 38%] tests/integration/models_containers_test.py::ContainerTest::test_diff PASSED [ 33%] tests/integration/models_services_test.py::ServiceTest::test_tasks ERROR [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update ERROR [ 38%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_failed PASSED [ 33%] tests/integration/models_services_test.py::ServiceTest::test_update_remove_service_labels ERROR [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_container_labels ERROR [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks XFAIL [ 38%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_success PASSED [ 33%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_service_labels ERROR [ 39%] tests/integration/models_swarm_test.py::SwarmTest::test_init_update_leave FAILED [ 39%] tests/integration/models_containers_test.py::ContainerTest::test_kill PASSED [ 33%] tests/integration/models_swarm_test.py::SwarmTest::test_join_on_already_joined_swarm FAILED [ 39%] tests/integration/models_containers_test.py::ContainerTest::test_logs PASSED [ 33%] tests/integration/models_volumes_test.py::VolumesTest::test_create_get FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_service_labels PASSED [ 39%] tests/integration/models_volumes_test.py::VolumesTest::test_list_remove FAILED [ 39%] tests/integration/models_containers_test.py::ContainerTest::test_pause PASSED [ 33%] tests/integration/regression_test.py::TestRegressions::test_443_handle_nonchunked_response_in_stream FAILED [ 39%] tests/integration/regression_test.py::TestRegressions::test_542_truncate_ids_client_side FAILED [ 39%] tests/integration/models_swarm_test.py::SwarmTest::test_init_update_leave PASSED [ 39%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_list PASSED [ 33%] tests/integration/regression_test.py::TestRegressions::test_647_support_doubleslash_in_image_names FAILED [ 39%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_none PASSED [ 34%] tests/integration/regression_test.py::TestRegressions::test_649_handle_timeout_value_none FAILED [ 39%] tests/integration/regression_test.py::TestRegressions::test_715_handle_user_param_as_int_value FAILED [ 39%] tests/integration/regression_test.py::TestRegressions::test_792_explicit_port_protocol FAILED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_store_and_get PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_get_nonexistent PASSED [ 40%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_tuple PASSED [ 34%] tests/integration/credentials/store_test.py::TestStore::test_store_and_erase PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_unicode_strings PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_list PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_execute_with_env_override PASSED [ 40%] tests/integration/credentials/utils_test.py::test_create_environment_dict PASSED [ 40%] tests/unit/api_build_test.py::BuildTest::test_build_container PASSED [ 40%] tests/unit/api_build_test.py::BuildTest::test_build_container_custom_context PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_custom_context_gzip PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_invalid_container_limits PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_pull PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_container_limits PASSED [ 41%] tests/integration/models_swarm_test.py::SwarmTest::test_join_on_already_joined_swarm PASSED [ 39%] tests/integration/models_volumes_test.py::VolumesTest::test_create_get PASSED [ 39%] tests/integration/models_volumes_test.py::VolumesTest::test_list_remove PASSED [ 39%] tests/integration/models_containers_test.py::ContainerTest::test_remove PASSED [ 34%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_named_dockerfile PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_remote_with_registry_auth PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile_win_longpath_prefix SKIPPED [ 41%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_auth_configs PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_no_auth_configs PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_empty_dict_and_auth_configs PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_none PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_privileged PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_regression_573 PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_ro PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_rw PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_links PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_links_as_list_of_tuples PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_lxc_conf PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_lxc_conf_compat PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_multiple_links PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_port_binds PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_privileged PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_added_capabilities PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_aliases PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_list PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_mode PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_mode_and_ro_error PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_ro PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_rw PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_cgroup_parent PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_device_requests PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_devices PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_dropped_capabilities PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_entrypoint PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpu_shares PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpus PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpuset PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpuset_mems PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_dict PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_list PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links_as_list_of_tuples PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_lxc_conf PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_lxc_conf_compat PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mac_address PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_int PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_g_unit PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_k_unit PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_m_unit PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_wrong_value PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_multiple_links PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_named_volume PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_port_binds PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_ports PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_restart_policy PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stdin_open PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stop_signal PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_sysctl PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_dict PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_list PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_unicode_envvars PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_volume_string PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_working_dir PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_named_container PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_container_stats PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_container_top PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_container_top_with_psargs PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_container_update PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_diff PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_diff_with_dict_instead_of_id PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_export PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_export_with_dict_instead_of_id PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_inspect_container PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_inspect_container_undefined_id PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_kill_container PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_dict_instead_of_id PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_signal PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_list_containers PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_log_following PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_log_following_backwards PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_since PASSED [ 50%] tests/integration/regression_test.py::TestRegressions::test_443_handle_nonchunked_response_in_stream PASSED [ 39%] tests/integration/models_containers_test.py::ContainerTest::test_rename PASSED [ 34%] tests/unit/api_container_test.py::ContainerTest::test_log_since_with_datetime PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_since_with_invalid_value_raises_error PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming_and_following PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_tail PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_tty PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_logs PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_logs_with_dict_instead_of_id PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_pause_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_port PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_remove_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_remove_container_with_dict_instead_of_id PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_rename_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_resize_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_restart_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_restart_container_with_dict_instead_of_id PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_stop_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_stop_container_with_dict_instead_of_id PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_unpause_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_wait PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_wait_with_dict_instead_of_id PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_create PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_resize PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_start PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 52%] tests/unit/api_image_test.py::ImageTest::test_commit PASSED [ 52%] tests/unit/api_image_test.py::ImageTest::test_get_image PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_image_history PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_image_ids PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_image_viz PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_images PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_images_filters PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_images_name PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_images_quiet PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_import_image PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_import_image_from_bytes PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_import_image_from_image PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_inspect_image PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_inspect_image_undefined_id PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_load_image PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_load_image_quiet PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_pull PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_pull_stream PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_push_image PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_push_image_stream PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_push_image_with_auth PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image_with_tag PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_remove_image PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_tag_image PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_tag_image_force PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_tag_image_tag PASSED [ 55%] tests/unit/api_network_test.py::NetworkTest::test_connect_container_to_network PASSED [ 55%] tests/unit/api_network_test.py::NetworkTest::test_create_network PASSED [ 55%] tests/unit/api_network_test.py::NetworkTest::test_disconnect_container_from_network PASSED [ 55%] tests/unit/api_network_test.py::NetworkTest::test_inspect_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_list_networks PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_remove_network PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_auto_retrieve_server_version PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_create_host_config_secopt PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_ctor PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_events PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_events_with_filters PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_events_with_since_until PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_info PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_login PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_remove_link PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_retrieve_server_version PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_search PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_stream_helper_decoding PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http_unix_triple_slash PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_tcp PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix_triple_slash PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_invalid_resource PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_no_resource PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_unversioned_api PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_valid_resource PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_version PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_version_no_api_version PASSED [ 58%] tests/unit/api_test.py::UnixSocketStreamTest::test_early_stream_response PASSED [ 58%] tests/integration/regression_test.py::TestRegressions::test_542_truncate_ids_client_side PASSED [ 39%] tests/integration/regression_test.py::TestRegressions::test_647_support_doubleslash_in_image_names PASSED [ 39%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty PASSED [ 58%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty_demux PASSED [ 58%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty_demux PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty_demux PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty_demux PASSED [ 59%] tests/unit/api_test.py::UserAgentTest::test_custom_user_agent PASSED [ 59%] tests/unit/api_test.py::UserAgentTest::test_default_user_agent PASSED [ 59%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout PASSED [ 59%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout2 PASSED [ 60%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timout_non_blocking PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_invalid_opts_type PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_driver PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_invalid_labels PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_labels PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_no_specified_name PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_inspect_volume PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes_and_filters PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_remove_volume PASSED [ 61%] tests/unit/auth_test.py::RegressionTest::test_803_urlsafe_encode PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_localhost PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_localhost_with_username PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_no_dots_but_port PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_no_dots_but_port_and_username PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_port PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_username PASSED [ 62%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_auth_with_empty_credstore_and_auth_dict PASSED [ 62%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_explicit_none PASSED [ 62%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_registry PASSED [ 62%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_fully_explicit PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_hostname_only PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_legacy_config PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_match PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_trailing_slash PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_insecure_proto PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_secure_proto PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_protocol PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_path_wrong_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_explicit_hub PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_explicit_legacy_hub PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_hub_image PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_library_image PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_private_registry PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_unauthenticated_registry PASSED [ 64%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env PASSED [ 64%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_utf8 PASSED [ 64%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_with_auths PASSED [ 64%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_identity_token PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_invalid_auth_dict PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_with_random_name PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_json_config PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_legacy_config PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_modern_json_config PASSED [ 65%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_3_sources PASSED [ 65%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_credstore_only PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_credstore_overrides_auth_entry PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_helpers_override_default PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_auths_entries PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_credhelpers_only PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_auths_entry PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_credhelper PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_default_index PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_no_default PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_with_plain_dict PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_call_api_client_method PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_call_containers PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_default_pool_size_unix PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_default_pool_size_win SKIPPED [ 67%] tests/unit/client_test.py::ClientTest::test_events PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_info PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_ping PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_pool_size_unix PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_pool_size_win SKIPPED [ 67%] tests/unit/client_test.py::ClientTest::test_version PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_default_pool_size_from_env_unix PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_default_pool_size_from_env_win SKIPPED [ 68%] tests/unit/client_test.py::FromEnvTest::test_from_env PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_from_env_with_version PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_from_env_without_timeout_uses_default PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_from_env_without_version_uses_default PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_pool_size_from_env_unix PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_pool_size_from_env_win SKIPPED [ 68%] tests/unit/context_test.py::BaseContextTest::test_context_inspect_without_params PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_default_in_context_list PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_fail_on_default_context_create PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_get_current_context PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_https_host PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_url_compatibility_on_linux PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_url_compatibility_on_windows SKIPPED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_cfs_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_count_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_percent_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_mem_swappiness PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_nano_cpus_types PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_pid_mode PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_blkio_constraints PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_count PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_percent PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_period PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_quota PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period_types PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_runtime PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_dns_opt PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_isolation PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_kernel_memory PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_mem_reservation PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_nano_cpus PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_oom_kill_disable PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_oom_score_adj PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_pids_limit PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size_in_mb PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_userns_mode PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_uts PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_volume_driver PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_ctrate_host_config_with_cpu_rt_runtime_types PASSED [ 72%] tests/unit/dockertypes_test.py::ContainerSpecTest::test_parse_mounts PASSED [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_dict_ulimit PASSED [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_dict_ulimit_capitals PASSED [ 73%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_obj_ulimit PASSED [ 73%] tests/unit/dockertypes_test.py::UlimitTest::test_ulimit_invalid_type PASSED [ 73%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_dict_logconfig PASSED [ 73%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_obj_logconfig PASSED [ 73%] tests/unit/dockertypes_test.py::LogConfigTest::test_logconfig_invalid_config_type PASSED [ 73%] tests/unit/dockertypes_test.py::EndpointConfigTest::test_create_endpoint_config_with_aliases PASSED [ 73%] tests/unit/dockertypes_test.py::IPAMConfigTest::test_create_ipam_config PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_global_replicas_error PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_global_simple PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_invalid_mode PASSED [ 74%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas PASSED [ 74%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas_0 PASSED [ 74%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_simple PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows XFAIL [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_named_volume PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_invalid PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_no_source PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_ro PASSED [ 75%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_rw PASSED [ 75%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_short_form PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_invalid PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_multiple PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_no_protocol_and_mode PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_simple PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_with_protocol PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_with_protocol_and_mode PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_api_error_is_caught_by_dockerexception PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_create_error_from_exception PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_500 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_error_300 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_error_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_error_500 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_200 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_300 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_500 PASSED [ 77%] tests/unit/errors_test.py::APIErrorTest::test_status_code_200 PASSED [ 77%] tests/unit/errors_test.py::APIErrorTest::test_status_code_400 PASSED [ 77%] tests/unit/errors_test.py::APIErrorTest::test_status_code_500 PASSED [ 77%] tests/unit/errors_test.py::ContainerErrorTest::test_container_with_stderr PASSED [ 77%] tests/unit/errors_test.py::ContainerErrorTest::test_container_without_stderr PASSED [ 77%] tests/unit/errors_test.py::CreateUnexpectedKwargsErrorTest::test_create_unexpected_kwargs_error_multiple PASSED [ 77%] tests/unit/errors_test.py::CreateUnexpectedKwargsErrorTest::test_create_unexpected_kwargs_error_single PASSED [ 77%] tests/integration/regression_test.py::TestRegressions::test_649_handle_timeout_value_none PASSED [ 39%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create_container_args PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create_with_image_object PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list_ignore_removed PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_pull PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_remove PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_with_error PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_with_image_object PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_attach PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_commit PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_diff PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run_failure PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_export PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_get_archive PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_image PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_kill PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_labels PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_logs PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_name PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_pause PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_put_archive PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_remove PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_rename PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_resize PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_restart PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_start PASSED [ 81%] tests/integration/regression_test.py::TestRegressions::test_715_handle_user_param_as_int_value PASSED [ 39%] tests/unit/models_containers_test.py::ContainerTest::test_stats PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_status PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_stop PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_top PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_unpause PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_update PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_wait PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_build PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_get PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_labels PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_list PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_load PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_tag_precedence PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_with_stream_param PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_push PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_remove PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_search PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_history PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_save PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_short_id PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_tag PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_tags PASSED [ 83%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 83%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 83%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_list PASSED [ 83%] tests/unit/models_networks_test.py::NetworkTest::test_connect PASSED [ 83%] tests/unit/models_networks_test.py::NetworkTest::test_disconnect PASSED [ 84%] tests/unit/models_networks_test.py::NetworkTest::test_remove PASSED [ 84%] tests/unit/models_resources_test.py::ModelTest::test_hash PASSED [ 84%] tests/unit/models_resources_test.py::ModelTest::test_reload PASSED [ 84%] tests/unit/models_services_test.py::CreateServiceKwargsTest::test_get_create_service_kwargs PASSED [ 84%] tests/unit/ssladapter_test.py::SSLAdapterTest::test_only_uses_tls PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_dns_failure PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_dns_success PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_ip_address_failure PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_ip_address_success PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_localhost_success PASSED [ 85%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm PASSED [ 85%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm_no_listen_address_takes_default PASSED [ 85%] tests/unit/swarm_test.py::SwarmTest::test_node_update PASSED [ 85%] tests/unit/types_containers_test.py::test_uid_0_is_not_elided PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_single_exception PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_subdir_exception PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_subdir_exception_win32_pathsep SKIPPED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_trailing_slash PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_wildcard_exception PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard_with_exception PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_custom_dockerfile PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_dockerfile_child PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_dockerfile_dockerignore PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_include_absolute_path PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_include_wildcard PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_last_line_precedence PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_dupes PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_excludes PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_parent_directory PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_question_mark PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_and_double_wildcard PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename_leading_dot_slash PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename_trailing_slash PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_single_filename PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_single_filename_leading_slash PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_wildcard_filename PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_with_path_traversal PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory_win32_pathsep SKIPPED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_trailing_double_wildcard PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_exclude PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_filename_end PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_filename_start PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_subdir_single_filename PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_subdir_wildcard_filename PASSED [ 89%] tests/integration/regression_test.py::TestRegressions::test_792_explicit_port_protocol PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_store_and_get PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_get_nonexistent PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_store_and_erase PASSED [ 40%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_exception PASSED [ 89%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_wildcard_exception PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_directory_link PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_socket_file PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_broken_symlinks PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_directory_symlinks PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_empty_directory PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_excludes PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_file_symlinks PASSED [ 90%] tests/unit/utils_build_test.py::TarTest::test_tar_with_inaccessible_file SKIPPED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_fallback PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_environment PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_explicit_path PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_legacy_name PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_posix PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_windows SKIPPED [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_custom_headers PASSED [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_detach_keys PASSED [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_from_env PASSED [ 91%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_no_object PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_with_object PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_leading_whitespace PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestStreamAsText::test_stream_with_non_utf_unicode_character PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestStreamAsText::test_stream_with_utf_character PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonStream::test_with_falsy_entries PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonStream::test_with_leading_whitespace PASSED [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_environment PASSED [ 92%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_from_dict PASSED [ 92%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_inject_proxy_environment PASSED [ 92%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_new PASSED [ 92%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_truthiness PASSED [ 92%] tests/unit/utils_test.py::DecoratorsTest::test_update_headers PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_alternate_env PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_empty PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_no_cert_path PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false PASSED [ 93%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false_no_cert PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_compact PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_complete PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_empty PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_list PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_no_mode PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_unicode_bytes_input PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_unicode_unicode_input PASSED [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_commented_line PASSED [ 94%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_invalid_line PASSED [ 94%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_newline PASSED [ 94%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_proper PASSED [ 94%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_with_equals_character PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_empty_value PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls_tcp_proto PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_trailing_slash PASSED [ 94%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_no_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_sha PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_user_image_no_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_user_image_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_no_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_sha PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_tag PASSED [ 95%] tests/unit/utils_test.py::ParseDeviceTest::test_dict PASSED [ 95%] tests/unit/utils_test.py::ParseDeviceTest::test_full_string_definition PASSED [ 96%] tests/unit/utils_test.py::ParseDeviceTest::test_hybrid_list PASSED [ 96%] tests/unit/utils_test.py::ParseDeviceTest::test_partial_string_definition PASSED [ 96%] tests/unit/utils_test.py::ParseDeviceTest::test_permissionless_string_definition PASSED [ 96%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_float PASSED [ 96%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_invalid PASSED [ 96%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_valid PASSED [ 96%] tests/unit/utils_test.py::UtilsTest::test_convert_filters PASSED [ 96%] tests/unit/utils_test.py::UtilsTest::test_decode_json_header PASSED [ 96%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_bytes SKIPPED [ 96%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_unicode PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_matching_internal_port_ranges PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_matching_internal_ports PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_nonmatching_internal_port_ranges PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_nonmatching_internal_ports PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_one_port PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_port_range PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_host_only_with_colon PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_non_matching_length_port_ranges PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_port_and_range_invalid PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_port_only_with_colon PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_empty_string PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_invalid PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_invalid_protocol PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_no_host_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_non_string PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_random_port_range_with_host_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_range_no_host_port PASSED [ 98%] 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 [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_range_with_protocol PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_ip PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_ip_no_port PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_port PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_ipv6_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/credentials/store_test.py::TestStore::test_unicode_strings PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_list PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_execute_with_env_override PASSED [ 40%] tests/integration/credentials/utils_test.py::test_create_environment_dict PASSED [ 40%] tests/unit/api_build_test.py::BuildTest::test_build_container PASSED [ 40%] tests/unit/api_build_test.py::BuildTest::test_build_container_custom_context PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_custom_context_gzip PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_invalid_container_limits PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_pull PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_container_limits PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_named_dockerfile PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_remote_with_registry_auth PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile_win_longpath_prefix SKIPPED [ 41%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_auth_configs PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_no_auth_configs PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_empty_dict_and_auth_configs PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_none PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_privileged PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_regression_573 PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_ro PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_rw PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_links PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_links_as_list_of_tuples PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_lxc_conf PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_lxc_conf_compat PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_multiple_links PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_port_binds PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_privileged PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_added_capabilities PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_aliases PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_list PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_mode PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_mode_and_ro_error PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_ro PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_rw PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_cgroup_parent PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_device_requests PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_devices PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_dropped_capabilities PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_entrypoint PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpu_shares PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpus PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpuset PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpuset_mems PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_dict PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_list PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links_as_list_of_tuples PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_lxc_conf PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_lxc_conf_compat PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mac_address PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_int PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_g_unit PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_k_unit PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_m_unit PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_wrong_value PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_multiple_links PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_named_volume PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_port_binds PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_ports PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_restart_policy PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stdin_open PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stop_signal PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_sysctl PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_dict PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_list PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_unicode_envvars PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_volume_string PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_working_dir PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_named_container PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_container_stats PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_container_top PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_container_top_with_psargs PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_container_update PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_diff PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_diff_with_dict_instead_of_id PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_export PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_export_with_dict_instead_of_id PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_inspect_container PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_inspect_container_undefined_id PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_kill_container PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_dict_instead_of_id PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_signal PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_list_containers PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_log_following PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_log_following_backwards PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_since PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_since_with_datetime PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_since_with_invalid_value_raises_error PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming_and_following PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_tail PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_tty PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_logs PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_logs_with_dict_instead_of_id PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_pause_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_port PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_remove_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_remove_container_with_dict_instead_of_id PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_rename_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_resize_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_restart_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_restart_container_with_dict_instead_of_id PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_stop_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_stop_container_with_dict_instead_of_id PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_unpause_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_wait PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_wait_with_dict_instead_of_id PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_create PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_resize PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_start PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 52%] tests/unit/api_image_test.py::ImageTest::test_commit PASSED [ 52%] tests/unit/api_image_test.py::ImageTest::test_get_image PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_image_history PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_image_ids PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_image_viz PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_images PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_images_filters PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_images_name PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_images_quiet PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_import_image PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_import_image_from_bytes PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_import_image_from_image PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_inspect_image PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_inspect_image_undefined_id PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_load_image PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_load_image_quiet PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_pull PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_pull_stream PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_push_image PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_push_image_stream PASSED [ 54%] tests/unit/utils_test.py::FormatEnvironmentTest::test_format_env_no_value PASSED [100%] ==================================== ERRORS ==================================== _______________ ERROR at teardown of SwarmTest.test_update_node ________________ /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:80: in create_connection raise err /usr/local/lib/python3.7/site-packages/urllib3/util/connection.py:70: in create_connection sock.connect(sa) E ConnectionRefusedError: [Errno 111] Connection refused 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 111] Connection refused 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-39-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 111] Connection refused')) 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:516: in send raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='dpy-dind-39-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 111] Connection refused')) _____________ 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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/events?until=1607966086 (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-39-0-py3.7-19.03.12', port=2375): Max retries exceeded with url: /v1.40/events?until=1607966086 (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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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 tests/unit/api_image_test.py::ImageTest::test_push_image_with_auth PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image_with_tag PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_remove_image PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_tag_image PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_tag_image_force PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_tag_image_tag PASSED [ 55%] tests/unit/api_network_test.py::NetworkTest::test_connect_container_to_network PASSED [ 55%] tests/unit/api_network_test.py::NetworkTest::test_create_network PASSED [ 55%] tests/unit/api_network_test.py::NetworkTest::test_disconnect_container_from_network PASSED [ 55%] tests/unit/api_network_test.py::NetworkTest::test_inspect_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_list_networks PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_remove_network PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_auto_retrieve_server_version PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_create_host_config_secopt PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_ctor PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_events PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_events_with_filters PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_events_with_since_until PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_info PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_login PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_remove_link PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_retrieve_server_version PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_search PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_stream_helper_decoding PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http_unix_triple_slash PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_tcp PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix_triple_slash PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_invalid_resource PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_no_resource PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_unversioned_api PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_valid_resource PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_version PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_version_no_api_version PASSED [ 58%] tests/unit/api_test.py::UnixSocketStreamTest::test_early_stream_response PASSED [ 58%] 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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty PASSED [ 58%] 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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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-39-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')) =============================== 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.9-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 19 93 17 82% docker/api/client.py 263 46 98 13 82% docker/api/config.py 31 0 6 2 95% docker/api/container.py 266 22 104 23 87% docker/api/daemon.py 39 2 14 4 89% docker/api/exec_api.py 46 4 22 4 88% docker/api/image.py 157 21 58 12 84% docker/api/network.py 90 13 48 12 80% docker/api/plugin.py 90 13 14 4 82% docker/api/secret.py 36 3 10 3 83% docker/api/service.py 200 65 149 32 59% docker/api/swarm.py 106 14 38 11 81% docker/api/volume.py 38 9 14 2 71% docker/auth.py 198 17 74 17 88% docker/client.py 69 6 2 0 92% docker/constants.py 21 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 16 38 8 76% docker/context/config.py 61 24 16 2 56% docker/context/context.py 151 21 62 15 81% 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 15 20 6 84% 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 9 6 2 77% docker/models/secrets.py 21 8 2 0 57% docker/models/services.py 87 35 36 4 59% docker/models/swarm.py 39 15 6 1 56% docker/models/volumes.py 23 9 4 0 52% 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 149 110 50 1 20% 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 66 326 43 84% docker/types/daemon.py 36 8 14 5 70% docker/types/healthcheck.py 34 12 4 1 61% docker/types/networks.py 41 6 28 5 81% docker/types/services.py 312 45 206 33 83% docker/types/swarm.py 51 24 40 10 52% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 155 18 76 7 87% docker/utils/config.py 36 2 10 2 91% 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 9 40 7 86% docker/utils/utils.py 285 19 177 13 92% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5116 1106 2259 366 76% =========================== 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 XFAIL tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows SKIPPED [3] /src/tests/helpers.py:71: Feature requires Docker Engine experimental mode SKIPPED [1] tests/integration/api_image_test.py:292: 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 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 = 85 failed, 828 passed, 16 skipped, 6 xfailed, 3 xpassed, 1 warnings, 21 error in 236.71 seconds = tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty_demux PASSED [ 58%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty_demux PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty PASSED [ 59%] [Pipeline] sh tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty_demux PASSED [ 59%] + docker stop dpy-dind-39-0-py3.7-19.03.12 Error response from daemon: No such container: dpy-dind-39-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/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty_demux PASSED [ 59%] tests/unit/api_test.py::UserAgentTest::test_custom_user_agent PASSED [ 59%] tests/unit/api_test.py::UserAgentTest::test_default_user_agent PASSED [ 59%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout PASSED [ 59%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout2 PASSED [ 60%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timout_non_blocking PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_invalid_opts_type PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_driver PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_invalid_labels PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_labels PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_no_specified_name PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_inspect_volume PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes_and_filters PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_remove_volume PASSED [ 61%] tests/unit/auth_test.py::RegressionTest::test_803_urlsafe_encode PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_localhost PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_localhost_with_username PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_no_dots_but_port PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_no_dots_but_port_and_username PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_port PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_username PASSED [ 62%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_auth_with_empty_credstore_and_auth_dict PASSED [ 62%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_explicit_none PASSED [ 62%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_registry PASSED [ 62%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_fully_explicit PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_hostname_only PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_legacy_config PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_match PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_trailing_slash PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_insecure_proto PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_secure_proto PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_protocol PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_path_wrong_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_explicit_hub PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_explicit_legacy_hub PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_hub_image PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_library_image PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_private_registry PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_unauthenticated_registry PASSED [ 64%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env PASSED [ 64%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_utf8 PASSED [ 64%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_with_auths PASSED [ 64%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_identity_token PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_invalid_auth_dict PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_with_random_name PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_json_config PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_legacy_config PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_modern_json_config PASSED [ 65%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_3_sources PASSED [ 65%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_credstore_only PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_credstore_overrides_auth_entry PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_helpers_override_default PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_auths_entries PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_credhelpers_only PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_auths_entry PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_credhelper PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_default_index PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_no_default PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_with_plain_dict PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_call_api_client_method PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_call_containers PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_default_pool_size_unix PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_default_pool_size_win SKIPPED [ 67%] tests/unit/client_test.py::ClientTest::test_events PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_info PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_ping PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_pool_size_unix PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_pool_size_win SKIPPED [ 67%] tests/unit/client_test.py::ClientTest::test_version PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_default_pool_size_from_env_unix PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_default_pool_size_from_env_win SKIPPED [ 68%] tests/unit/client_test.py::FromEnvTest::test_from_env PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_from_env_with_version PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_from_env_without_timeout_uses_default PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_from_env_without_version_uses_default PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_pool_size_from_env_unix PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_pool_size_from_env_win SKIPPED [ 68%] tests/unit/context_test.py::BaseContextTest::test_context_inspect_without_params PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_default_in_context_list PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_fail_on_default_context_create PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_get_current_context PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_https_host PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_url_compatibility_on_linux PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_url_compatibility_on_windows SKIPPED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_cfs_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_count_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_percent_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_mem_swappiness PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_nano_cpus_types PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_pid_mode PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_blkio_constraints PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_count PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_percent PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_period PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_quota PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period_types PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_runtime PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_dns_opt PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_isolation PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_kernel_memory PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_mem_reservation PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_nano_cpus PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_oom_kill_disable PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_oom_score_adj PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_pids_limit PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size_in_mb PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_userns_mode PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_uts PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_volume_driver PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_ctrate_host_config_with_cpu_rt_runtime_types PASSED [ 72%] tests/unit/dockertypes_test.py::ContainerSpecTest::test_parse_mounts PASSED [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_dict_ulimit PASSED [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_dict_ulimit_capitals PASSED [ 73%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_obj_ulimit PASSED [ 73%] tests/unit/dockertypes_test.py::UlimitTest::test_ulimit_invalid_type PASSED [ 73%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_dict_logconfig PASSED [ 73%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_obj_logconfig PASSED [ 73%] tests/unit/dockertypes_test.py::LogConfigTest::test_logconfig_invalid_config_type PASSED [ 73%] tests/unit/dockertypes_test.py::EndpointConfigTest::test_create_endpoint_config_with_aliases PASSED [ 73%] tests/unit/dockertypes_test.py::IPAMConfigTest::test_create_ipam_config PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_global_replicas_error PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_global_simple PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_invalid_mode PASSED [ 74%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas PASSED [ 74%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas_0 PASSED [ 74%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_simple PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows XFAIL [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_named_volume PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_invalid PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_no_source PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_ro PASSED [ 75%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_rw PASSED [ 75%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_short_form PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_invalid PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_multiple PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_no_protocol_and_mode PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_simple PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_with_protocol PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_with_protocol_and_mode PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_api_error_is_caught_by_dockerexception PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_create_error_from_exception PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_500 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_error_300 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_error_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_error_500 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_200 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_300 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_500 PASSED [ 77%] tests/unit/errors_test.py::APIErrorTest::test_status_code_200 PASSED [ 77%] tests/unit/errors_test.py::APIErrorTest::test_status_code_400 PASSED [ 77%] tests/unit/errors_test.py::APIErrorTest::test_status_code_500 PASSED [ 77%] tests/unit/errors_test.py::ContainerErrorTest::test_container_with_stderr PASSED [ 77%] tests/unit/errors_test.py::ContainerErrorTest::test_container_without_stderr PASSED [ 77%] tests/unit/errors_test.py::CreateUnexpectedKwargsErrorTest::test_create_unexpected_kwargs_error_multiple PASSED [ 77%] tests/unit/errors_test.py::CreateUnexpectedKwargsErrorTest::test_create_unexpected_kwargs_error_single PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create_container_args PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create_with_image_object PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list_ignore_removed PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_pull PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_remove PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_with_error PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_with_image_object PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_attach PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_commit PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_diff PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run_failure PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_export PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_get_archive PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_image PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_kill PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_labels PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_logs PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_name PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_pause PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_put_archive PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_remove PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_rename PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_resize PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_restart PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_start PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_stats PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_status PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_stop PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_top PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_unpause PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_update PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_wait PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_build PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_get PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_labels PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_list PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_load PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_tag_precedence PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_with_stream_param PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_push PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_remove PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_search PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_history PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_save PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_short_id PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_tag PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_tags PASSED [ 83%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 83%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 83%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_list PASSED [ 83%] tests/unit/models_networks_test.py::NetworkTest::test_connect PASSED [ 83%] tests/unit/models_networks_test.py::NetworkTest::test_disconnect PASSED [ 84%] tests/unit/models_networks_test.py::NetworkTest::test_remove PASSED [ 84%] tests/unit/models_resources_test.py::ModelTest::test_hash PASSED [ 84%] tests/unit/models_resources_test.py::ModelTest::test_reload PASSED [ 84%] tests/unit/models_services_test.py::CreateServiceKwargsTest::test_get_create_service_kwargs PASSED [ 84%] tests/unit/ssladapter_test.py::SSLAdapterTest::test_only_uses_tls PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_dns_failure PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_dns_success PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_ip_address_failure PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_ip_address_success PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_localhost_success PASSED [ 85%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm PASSED [ 85%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm_no_listen_address_takes_default PASSED [ 85%] tests/unit/swarm_test.py::SwarmTest::test_node_update PASSED [ 85%] tests/unit/types_containers_test.py::test_uid_0_is_not_elided PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_single_exception PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_subdir_exception PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_subdir_exception_win32_pathsep SKIPPED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_trailing_slash PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_wildcard_exception PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard_with_exception PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_custom_dockerfile PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_dockerfile_child PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_dockerfile_dockerignore PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_include_absolute_path PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_include_wildcard PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_last_line_precedence PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_dupes PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_excludes PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_parent_directory PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_question_mark PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_and_double_wildcard PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename_leading_dot_slash PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename_trailing_slash PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_single_filename PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_single_filename_leading_slash PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_wildcard_filename PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_with_path_traversal PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory_win32_pathsep SKIPPED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_trailing_double_wildcard PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_exclude PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_filename_end PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_filename_start PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_subdir_single_filename PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_subdir_wildcard_filename PASSED [ 89%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_exception PASSED [ 89%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_wildcard_exception PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_directory_link PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_socket_file PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_broken_symlinks PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_directory_symlinks PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_empty_directory PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_excludes PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_file_symlinks PASSED [ 90%] tests/unit/utils_build_test.py::TarTest::test_tar_with_inaccessible_file SKIPPED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_fallback PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_environment PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_explicit_path PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_legacy_name PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_posix PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_windows SKIPPED [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_custom_headers PASSED [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_detach_keys PASSED [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_from_env PASSED [ 91%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_no_object PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_with_object PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_leading_whitespace PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestStreamAsText::test_stream_with_non_utf_unicode_character PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestStreamAsText::test_stream_with_utf_character PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonStream::test_with_falsy_entries PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonStream::test_with_leading_whitespace PASSED [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_environment PASSED [ 92%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_from_dict PASSED [ 92%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_inject_proxy_environment PASSED [ 92%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_new PASSED [ 92%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_truthiness PASSED [ 92%] tests/unit/utils_test.py::DecoratorsTest::test_update_headers PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_alternate_env PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_empty PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_no_cert_path PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false PASSED [ 93%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false_no_cert PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_compact PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_complete PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_empty PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_list PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_no_mode PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_unicode_bytes_input PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_unicode_unicode_input PASSED [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_commented_line PASSED [ 94%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_invalid_line PASSED [ 94%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_newline PASSED [ 94%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_proper PASSED [ 94%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_with_equals_character PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_empty_value PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls_tcp_proto PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_trailing_slash PASSED [ 94%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_no_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_sha PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_user_image_no_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_user_image_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_no_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_sha PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_tag PASSED [ 95%] tests/unit/utils_test.py::ParseDeviceTest::test_dict PASSED [ 95%] tests/unit/utils_test.py::ParseDeviceTest::test_full_string_definition PASSED [ 96%] tests/unit/utils_test.py::ParseDeviceTest::test_hybrid_list PASSED [ 96%] tests/unit/utils_test.py::ParseDeviceTest::test_partial_string_definition PASSED [ 96%] tests/unit/utils_test.py::ParseDeviceTest::test_permissionless_string_definition PASSED [ 96%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_float PASSED [ 96%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_invalid PASSED [ 96%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_valid PASSED [ 96%] tests/unit/utils_test.py::UtilsTest::test_convert_filters PASSED [ 96%] tests/unit/utils_test.py::UtilsTest::test_decode_json_header PASSED [ 96%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_bytes SKIPPED [ 96%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_unicode PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_matching_internal_port_ranges PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_matching_internal_ports PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_nonmatching_internal_port_ranges PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_nonmatching_internal_ports PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_one_port PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_port_range PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_host_only_with_colon PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_non_matching_length_port_ranges PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_port_and_range_invalid PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_port_only_with_colon PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_empty_string PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_invalid PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_invalid_protocol PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_no_host_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_non_string PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_random_port_range_with_host_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_range_no_host_port PASSED [ 98%] 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 [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_range_with_protocol PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_ip PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_ip_no_port PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_port PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_ipv6_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.9-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 19 93 17 82% docker/api/client.py 263 46 98 13 82% docker/api/config.py 31 0 6 2 95% docker/api/container.py 266 17 104 19 90% docker/api/daemon.py 39 2 14 4 89% docker/api/exec_api.py 46 4 22 4 88% docker/api/image.py 157 21 58 12 84% docker/api/network.py 90 13 48 12 80% docker/api/plugin.py 90 13 14 4 82% docker/api/secret.py 36 3 10 3 83% docker/api/service.py 200 60 149 32 61% docker/api/swarm.py 106 14 38 10 82% docker/api/volume.py 38 3 14 3 88% docker/auth.py 198 17 74 17 88% docker/client.py 69 4 2 0 94% docker/constants.py 21 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 16 38 8 76% docker/context/config.py 61 24 16 2 56% docker/context/context.py 151 21 62 15 81% 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 12 20 6 86% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 2 0 57% docker/models/containers.py 183 6 70 5 95% docker/models/images.py 137 29 56 3 76% docker/models/networks.py 37 1 12 0 98% docker/models/nodes.py 15 1 2 0 94% docker/models/plugins.py 49 30 10 0 32% docker/models/resource.py 41 9 6 2 77% docker/models/secrets.py 21 8 2 0 57% docker/models/services.py 87 3 36 3 95% docker/models/swarm.py 39 3 6 3 87% docker/models/volumes.py 23 1 4 0 96% 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 149 110 50 1 20% 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 66 326 43 84% docker/types/daemon.py 36 8 14 4 72% docker/types/healthcheck.py 34 12 4 1 61% docker/types/networks.py 41 6 28 5 81% docker/types/services.py 312 45 206 33 83% docker/types/swarm.py 51 24 40 10 52% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 155 18 76 7 87% docker/utils/config.py 36 2 10 2 91% 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 9 40 7 86% docker/utils/utils.py 285 19 177 13 92% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5116 992 2259 354 78% =========================== 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/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows SKIPPED [3] /src/tests/helpers.py:71: Feature requires Docker Engine experimental mode SKIPPED [1] tests/integration/api_image_test.py:292: 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 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 == 928 passed, 16 skipped, 5 xfailed, 4 xpassed, 1 warnings in 290.04 seconds == [Pipeline] sh + docker stop dpy-dind-39-0-py3.7-19.03.13 tests/integration/models_containers_test.py::ContainerTest::test_restart PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_start PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_stats PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_stop PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_top PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_update PASSED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_wait PASSED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_build PASSED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_error PASSED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_multiple_success PASSED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_success_build_output PASSED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_list PASSED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_list_with_repository PASSED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_load_error PASSED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 35%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_sha PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_tag PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load_repo_name PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_save_name_error PASSED [ 36%] tests/integration/models_images_test.py::ImageTest::test_tag_and_remove PASSED [ 36%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 36%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 36%] dpy-dind-39-0-py3.7-19.03.13 [Pipeline] sh tests/integration/models_networks_test.py::NetworkCollectionTest::test_list_remove PASSED [ 37%] + docker run --rm -d --name dpy-dind-39-0-py3.7-19.03.13 -v /tmp --privileged --network dpy-testnet-39-0-py3.7-19.03.13 dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 dockerd --experimental d5c6ad688c0019d8923b2b21a9d6d16342a33b3824e138d0ae73287dca471874 [Pipeline] sh + docker exec dpy-dind-39-0-py3.7-19.03.13 sh -c /usr/sbin/sshd [Pipeline] sh tests/integration/models_networks_test.py::NetworkTest::test_connect_disconnect PASSED [ 37%] + docker run --rm --name dpy-tests-39-0-py3.7-19.03.13 -e DOCKER_HOST=ssh://dpy-dind-39-0-py3.7-19.03.13:22 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-39-0-py3.7-19.03.13 --volumes-from dpy-dind-39-0-py3.7-19.03.13 -v /home/ubuntu/.docker/config.json:/root/.docker/config.json dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 py.test -v -rxs --cov=docker tests/ssh ============================= test session starts ============================== platform linux -- Python 3.7.9, 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: timeout-1.3.3, cov-2.6.1 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_in_context_abs_dockerfile PASSED [ 20%] tests/integration/models_nodes_test.py::NodesTest::test_list_get_update PASSED [ 37%] tests/integration/models_resources_test.py::ModelTest::test_reload PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create_with_network PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_bool PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_shorthand_method PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_get PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_list_remove PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_global_service PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_service PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_service PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_tasks PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update_remove_service_labels PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_container_labels PASSED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks XPASS [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_service_labels PASSED [ 39%] 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_nested_dockerfile PASSED [ 29%] tests/ssh/api_build_test.py::BuildTest::test_build_invalid_platform PASSED [ 33%] tests/integration/models_swarm_test.py::SwarmTest::test_init_update_leave PASSED [ 39%] 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/integration/models_swarm_test.py::SwarmTest::test_join_on_already_joined_swarm PASSED [ 39%] tests/integration/models_volumes_test.py::VolumesTest::test_create_get PASSED [ 39%] tests/integration/models_volumes_test.py::VolumesTest::test_list_remove PASSED [ 39%] tests/integration/regression_test.py::TestRegressions::test_443_handle_nonchunked_response_in_stream PASSED [ 39%] tests/integration/regression_test.py::TestRegressions::test_542_truncate_ids_client_side PASSED [ 39%] tests/integration/regression_test.py::TestRegressions::test_647_support_doubleslash_in_image_names PASSED [ 39%] 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/integration/regression_test.py::TestRegressions::test_649_handle_timeout_value_none PASSED [ 39%] tests/integration/regression_test.py::TestRegressions::test_715_handle_user_param_as_int_value PASSED [ 39%] tests/integration/regression_test.py::TestRegressions::test_792_explicit_port_protocol PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_store_and_get PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_get_nonexistent PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_store_and_erase PASSED [ 40%] tests/ssh/api_build_test.py::BuildTest::test_build_squash PASSED [ 54%] tests/integration/credentials/store_test.py::TestStore::test_unicode_strings PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_list PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_execute_with_env_override PASSED [ 40%] tests/integration/credentials/utils_test.py::test_create_environment_dict PASSED [ 40%] tests/unit/api_build_test.py::BuildTest::test_build_container PASSED [ 40%] tests/unit/api_build_test.py::BuildTest::test_build_container_custom_context PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_custom_context_gzip PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_invalid_container_limits PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_pull PASSED [ 41%] tests/ssh/api_build_test.py::BuildTest::test_build_stderr_data PASSED [ 58%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_container_limits PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_named_dockerfile PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_remote_with_registry_auth PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile_win_longpath_prefix SKIPPED [ 41%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_auth_configs PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_no_auth_configs PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_empty_dict_and_auth_configs PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_none PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_privileged PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_regression_573 PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_ro PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_rw PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 42%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_links PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_links_as_list_of_tuples PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_lxc_conf PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_lxc_conf_compat PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_multiple_links PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_port_binds PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_privileged PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_added_capabilities PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_aliases PASSED [ 43%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_list PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_mode PASSED [ 44%] tests/ssh/api_build_test.py::BuildTest::test_build_streaming PASSED [ 62%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_mode_and_ro_error PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_ro PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_rw PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_cgroup_parent PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_device_requests PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_devices PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_dropped_capabilities PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_entrypoint PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpu_shares PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpus PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpuset PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_host_config_cpuset_mems PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_dict PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_list PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links_as_list_of_tuples PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_lxc_conf PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_lxc_conf_compat PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mac_address PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_int PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_g_unit PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_k_unit PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_m_unit PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_wrong_value PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_multiple_links PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_named_volume PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_port_binds PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_ports PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_restart_policy PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stdin_open PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stop_signal PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_sysctl PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_dict PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_list PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_unicode_envvars PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_volume_string PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_working_dir PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_named_container PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_container_stats PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_container_top PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_container_top_with_psargs PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_container_update PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_diff PASSED [ 48%] tests/unit/api_container_test.py::ContainerTest::test_diff_with_dict_instead_of_id PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_export PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_export_with_dict_instead_of_id PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_inspect_container PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_inspect_container_undefined_id PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_kill_container PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_dict_instead_of_id PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_signal PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_list_containers PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_log_following PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_log_following_backwards PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_since PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_since_with_datetime PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_since_with_invalid_value_raises_error PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming_and_following PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_tail PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_tty PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_logs PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_logs_with_dict_instead_of_id PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_pause_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_port PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_remove_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_remove_container_with_dict_instead_of_id PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_rename_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_resize_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_restart_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_restart_container_with_dict_instead_of_id PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_stop_container PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_stop_container_with_dict_instead_of_id PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_unpause_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_wait PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_wait_with_dict_instead_of_id PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_create PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_resize PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_start PASSED [ 52%] tests/unit/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 52%] tests/unit/api_image_test.py::ImageTest::test_commit PASSED [ 52%] tests/unit/api_image_test.py::ImageTest::test_get_image PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_image_history PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_image_ids PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_image_viz PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_images PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_images_filters PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_images_name PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_images_quiet PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_import_image PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_import_image_from_bytes PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_import_image_from_image PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_inspect_image PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_inspect_image_undefined_id PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_load_image PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_load_image_quiet PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_pull PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_pull_stream PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_push_image PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_push_image_stream PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_push_image_with_auth PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image_with_tag PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_remove_image PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_tag_image PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_tag_image_force PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_tag_image_tag PASSED [ 55%] tests/unit/api_network_test.py::NetworkTest::test_connect_container_to_network PASSED [ 55%] tests/unit/api_network_test.py::NetworkTest::test_create_network PASSED [ 55%] tests/unit/api_network_test.py::NetworkTest::test_disconnect_container_from_network PASSED [ 55%] tests/unit/api_network_test.py::NetworkTest::test_inspect_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_list_networks PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_remove_network PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_auto_retrieve_server_version PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_create_host_config_secopt PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_ctor PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_events PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_events_with_filters PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_events_with_since_until PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_info PASSED [ 56%] tests/unit/api_test.py::DockerApiTest::test_login PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_remove_link PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_retrieve_server_version PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_search PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_stream_helper_decoding PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http_unix_triple_slash PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_tcp PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix_triple_slash PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_invalid_resource PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_no_resource PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_unversioned_api PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_valid_resource PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_version PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_version_no_api_version PASSED [ 58%] tests/unit/api_test.py::UnixSocketStreamTest::test_early_stream_response PASSED [ 58%] tests/ssh/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 66%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty PASSED [ 58%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty_demux PASSED [ 58%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty_demux PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty_demux PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty_demux PASSED [ 59%] tests/unit/api_test.py::UserAgentTest::test_custom_user_agent PASSED [ 59%] tests/unit/api_test.py::UserAgentTest::test_default_user_agent PASSED [ 59%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout PASSED [ 59%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout2 PASSED [ 60%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timout_non_blocking PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_invalid_opts_type PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_driver PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_invalid_labels PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_labels PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_no_specified_name PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_inspect_volume PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes PASSED [ 60%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes_and_filters PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_remove_volume PASSED [ 61%] tests/unit/auth_test.py::RegressionTest::test_803_urlsafe_encode PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image PASSED [ 61%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_localhost PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_localhost_with_username PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_no_dots_but_port PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_no_dots_but_port_and_username PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_port PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_username PASSED [ 62%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_auth_with_empty_credstore_and_auth_dict PASSED [ 62%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_explicit_none PASSED [ 62%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_registry PASSED [ 62%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_fully_explicit PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_hostname_only PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_legacy_config PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_match PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_trailing_slash PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_insecure_proto PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_secure_proto PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_protocol PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_path_wrong_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_explicit_hub PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_explicit_legacy_hub PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_hub_image PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_library_image PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_private_registry PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_unauthenticated_registry PASSED [ 64%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env PASSED [ 64%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_utf8 PASSED [ 64%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_with_auths PASSED [ 64%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_identity_token PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_invalid_auth_dict PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_with_random_name PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_json_config PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_legacy_config PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_modern_json_config PASSED [ 65%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_3_sources PASSED [ 65%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_credstore_only PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_credstore_overrides_auth_entry PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_helpers_override_default PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_auths_entries PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_credhelpers_only PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_auths_entry PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_credhelper PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_default_index PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_no_default PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_with_plain_dict PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_call_api_client_method PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_call_containers PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_default_pool_size_unix PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_default_pool_size_win SKIPPED [ 67%] tests/unit/client_test.py::ClientTest::test_events PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_info PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_ping PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_pool_size_unix PASSED [ 67%] tests/unit/client_test.py::ClientTest::test_pool_size_win SKIPPED [ 67%] tests/unit/client_test.py::ClientTest::test_version PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_default_pool_size_from_env_unix PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_default_pool_size_from_env_win SKIPPED [ 68%] tests/unit/client_test.py::FromEnvTest::test_from_env PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_from_env_with_version PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_from_env_without_timeout_uses_default PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_from_env_without_version_uses_default PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_pool_size_from_env_unix PASSED [ 68%] tests/unit/client_test.py::FromEnvTest::test_pool_size_from_env_win SKIPPED [ 68%] tests/unit/context_test.py::BaseContextTest::test_context_inspect_without_params PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_default_in_context_list PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_fail_on_default_context_create PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_get_current_context PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_https_host PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_url_compatibility_on_linux PASSED [ 69%] tests/unit/context_test.py::BaseContextTest::test_url_compatibility_on_windows SKIPPED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_cfs_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_count_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_cpu_percent_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_mem_swappiness PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_nano_cpus_types PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_pid_mode PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_blkio_constraints PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_count PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_percent PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_period PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_quota PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period_types PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_runtime PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_dns_opt PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_isolation PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_kernel_memory PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_mem_reservation PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_nano_cpus PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_oom_kill_disable PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_oom_score_adj PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_pids_limit PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size_in_mb PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_userns_mode PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_uts PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_volume_driver PASSED [ 72%] tests/unit/dockertypes_test.py::HostConfigTest::test_ctrate_host_config_with_cpu_rt_runtime_types PASSED [ 72%] tests/unit/dockertypes_test.py::ContainerSpecTest::test_parse_mounts PASSED [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_dict_ulimit PASSED [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_dict_ulimit_capitals PASSED [ 73%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_obj_ulimit PASSED [ 73%] tests/unit/dockertypes_test.py::UlimitTest::test_ulimit_invalid_type PASSED [ 73%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_dict_logconfig PASSED [ 73%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_obj_logconfig PASSED [ 73%] tests/unit/dockertypes_test.py::LogConfigTest::test_logconfig_invalid_config_type PASSED [ 73%] tests/unit/dockertypes_test.py::EndpointConfigTest::test_create_endpoint_config_with_aliases PASSED [ 73%] tests/unit/dockertypes_test.py::IPAMConfigTest::test_create_ipam_config PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_global_replicas_error PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_global_simple PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_invalid_mode PASSED [ 74%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas PASSED [ 74%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas_0 PASSED [ 74%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_simple PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows XFAIL [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_named_volume PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_invalid PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_no_source PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_ro PASSED [ 75%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_rw PASSED [ 75%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_short_form PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_invalid PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_multiple PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_no_protocol_and_mode PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_simple PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_with_protocol PASSED [ 75%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_with_protocol_and_mode PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_api_error_is_caught_by_dockerexception PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_create_error_from_exception PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_500 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_error_300 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_error_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_error_500 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_200 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_300 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_is_server_error_500 PASSED [ 77%] tests/unit/errors_test.py::APIErrorTest::test_status_code_200 PASSED [ 77%] tests/unit/errors_test.py::APIErrorTest::test_status_code_400 PASSED [ 77%] tests/unit/errors_test.py::APIErrorTest::test_status_code_500 PASSED [ 77%] tests/unit/errors_test.py::ContainerErrorTest::test_container_with_stderr PASSED [ 77%] tests/unit/errors_test.py::ContainerErrorTest::test_container_without_stderr PASSED [ 77%] tests/unit/errors_test.py::CreateUnexpectedKwargsErrorTest::test_create_unexpected_kwargs_error_multiple PASSED [ 77%] tests/unit/errors_test.py::CreateUnexpectedKwargsErrorTest::test_create_unexpected_kwargs_error_single PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create_container_args PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_create_with_image_object PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list_ignore_removed PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_pull PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_remove PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_with_error PASSED [ 78%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_run_with_image_object PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_attach PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_commit PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_diff PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run_failure PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_export PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_get_archive PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_image PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_kill PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_labels PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_logs PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_name PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_pause PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_put_archive PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_remove PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_rename PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_resize PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_restart PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_start PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_stats PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_status PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_stop PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_top PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_unpause PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_update PASSED [ 81%] tests/unit/models_containers_test.py::ContainerTest::test_wait PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_build PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_get PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_labels PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_list PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_load PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_tag_precedence PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_with_stream_param PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_push PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_remove PASSED [ 82%] tests/unit/models_images_test.py::ImageCollectionTest::test_search PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_history PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_save PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_short_id PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_tag PASSED [ 83%] tests/unit/models_images_test.py::ImageTest::test_tags PASSED [ 83%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 83%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 83%] tests/unit/models_networks_test.py::NetworkCollectionTest::test_list PASSED [ 83%] tests/unit/models_networks_test.py::NetworkTest::test_connect PASSED [ 83%] tests/unit/models_networks_test.py::NetworkTest::test_disconnect PASSED [ 84%] tests/unit/models_networks_test.py::NetworkTest::test_remove PASSED [ 84%] tests/unit/models_resources_test.py::ModelTest::test_hash PASSED [ 84%] tests/unit/models_resources_test.py::ModelTest::test_reload PASSED [ 84%] tests/unit/models_services_test.py::CreateServiceKwargsTest::test_get_create_service_kwargs PASSED [ 84%] tests/unit/ssladapter_test.py::SSLAdapterTest::test_only_uses_tls PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_dns_failure PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_dns_success PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_ip_address_failure PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_ip_address_success PASSED [ 84%] tests/unit/ssladapter_test.py::MatchHostnameTest::test_match_localhost_success PASSED [ 85%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm PASSED [ 85%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm_no_listen_address_takes_default PASSED [ 85%] tests/unit/swarm_test.py::SwarmTest::test_node_update PASSED [ 85%] tests/unit/types_containers_test.py::test_uid_0_is_not_elided PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_single_exception PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_subdir_exception PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_subdir_exception_win32_pathsep SKIPPED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_trailing_slash PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_wildcard_exception PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard_with_exception PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_custom_dockerfile PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_dockerfile_child PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_dockerfile_dockerignore PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_exclude_include_absolute_path PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_include_wildcard PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_last_line_precedence PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_dupes PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_excludes PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_parent_directory PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_question_mark PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_and_double_wildcard PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename_leading_dot_slash PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_filename_trailing_slash PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_single_filename PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_single_filename_leading_slash PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_wildcard_filename PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_with_path_traversal PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory_win32_pathsep SKIPPED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_trailing_double_wildcard PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_exclude PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_filename_end PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_filename_start PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_subdir_single_filename PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_subdir_wildcard_filename PASSED [ 89%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_exception PASSED [ 89%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_wildcard_exception PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_directory_link PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_socket_file PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_broken_symlinks PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_directory_symlinks PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_empty_directory PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_excludes PASSED [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_file_symlinks PASSED [ 90%] tests/unit/utils_build_test.py::TarTest::test_tar_with_inaccessible_file SKIPPED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_fallback PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_environment PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_explicit_path PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_legacy_name PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_posix PASSED [ 90%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_from_home_windows SKIPPED [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_custom_headers PASSED [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_detach_keys PASSED [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_from_env PASSED [ 91%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_no_object PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_with_object PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_leading_whitespace PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestStreamAsText::test_stream_with_non_utf_unicode_character PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestStreamAsText::test_stream_with_utf_character PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonStream::test_with_falsy_entries PASSED [ 91%] tests/unit/utils_json_stream_test.py::TestJsonStream::test_with_leading_whitespace PASSED [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_environment PASSED [ 92%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_from_dict PASSED [ 92%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_inject_proxy_environment PASSED [ 92%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_new PASSED [ 92%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_truthiness PASSED [ 92%] tests/unit/utils_test.py::DecoratorsTest::test_update_headers PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_alternate_env PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_empty PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_no_cert_path PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls PASSED [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false PASSED [ 93%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false_no_cert PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_compact PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_complete PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_empty PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_list PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_no_mode PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_unicode_bytes_input PASSED [ 93%] tests/unit/utils_test.py::ConverVolumeBindsTest::test_convert_volume_binds_unicode_unicode_input PASSED [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_commented_line PASSED [ 94%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_invalid_line PASSED [ 94%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_newline PASSED [ 94%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_proper PASSED [ 94%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_with_equals_character PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_empty_value PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls_tcp_proto PASSED [ 94%] tests/unit/utils_test.py::ParseHostTest::test_parse_host_trailing_slash PASSED [ 94%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_no_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_sha PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_user_image_no_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_user_image_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_no_tag PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_sha PASSED [ 95%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_private_reg_image_tag PASSED [ 95%] tests/unit/utils_test.py::ParseDeviceTest::test_dict PASSED [ 95%] tests/unit/utils_test.py::ParseDeviceTest::test_full_string_definition PASSED [ 96%] tests/unit/utils_test.py::ParseDeviceTest::test_hybrid_list PASSED [ 96%] tests/unit/utils_test.py::ParseDeviceTest::test_partial_string_definition PASSED [ 96%] tests/unit/utils_test.py::ParseDeviceTest::test_permissionless_string_definition PASSED [ 96%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_float PASSED [ 96%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_invalid PASSED [ 96%] tests/unit/utils_test.py::ParseBytesTest::test_parse_bytes_valid PASSED [ 96%] tests/unit/utils_test.py::UtilsTest::test_convert_filters PASSED [ 96%] tests/unit/utils_test.py::UtilsTest::test_decode_json_header PASSED [ 96%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_bytes SKIPPED [ 96%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_unicode PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_matching_internal_port_ranges PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_matching_internal_ports PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_nonmatching_internal_port_ranges PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_nonmatching_internal_ports PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_one_port PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_build_port_bindings_with_port_range PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_host_only_with_colon PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_non_matching_length_port_ranges PASSED [ 97%] tests/unit/utils_test.py::PortsTest::test_port_and_range_invalid PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_port_only_with_colon PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_empty_string PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_invalid PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_invalid_protocol PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_no_host_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_non_string PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_random_port_range_with_host_port PASSED [ 98%] tests/unit/utils_test.py::PortsTest::test_split_port_range_no_host_port PASSED [ 98%] 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 [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_range_with_protocol PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_ip PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_ip_no_port PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_host_port PASSED [ 99%] tests/unit/utils_test.py::PortsTest::test_split_port_with_ipv6_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/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/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.9-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 19 93 17 82% docker/api/client.py 263 46 98 13 82% docker/api/config.py 31 0 6 2 95% docker/api/container.py 266 17 104 19 90% docker/api/daemon.py 39 2 14 4 89% docker/api/exec_api.py 46 4 22 4 88% docker/api/image.py 157 21 58 12 84% docker/api/network.py 90 13 48 12 80% docker/api/plugin.py 90 13 14 4 82% docker/api/secret.py 36 3 10 3 83% docker/api/service.py 200 60 149 32 61% docker/api/swarm.py 106 14 38 10 82% docker/api/volume.py 38 3 14 3 88% docker/auth.py 198 17 74 17 88% docker/client.py 69 4 2 0 94% docker/constants.py 21 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 16 38 8 76% docker/context/config.py 61 24 16 2 56% docker/context/context.py 151 21 62 15 81% 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 12 20 6 86% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 2 0 57% docker/models/containers.py 183 6 70 5 95% docker/models/images.py 137 29 56 3 76% docker/models/networks.py 37 1 12 0 98% docker/models/nodes.py 15 1 2 0 94% docker/models/plugins.py 49 30 10 0 32% docker/models/resource.py 41 9 6 2 77% docker/models/secrets.py 21 8 2 0 57% docker/models/services.py 87 3 36 3 95% docker/models/swarm.py 39 3 6 3 87% docker/models/volumes.py 23 1 4 0 96% 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 149 110 50 1 20% 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 66 326 43 84% docker/types/daemon.py 36 8 14 4 72% docker/types/healthcheck.py 34 12 4 1 61% docker/types/networks.py 41 6 28 5 81% docker/types/services.py 312 45 206 33 83% docker/types/swarm.py 51 24 40 10 52% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 155 18 76 7 87% docker/utils/config.py 36 2 10 2 91% 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 9 40 7 86% docker/utils/utils.py 285 19 177 13 92% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5116 992 2259 354 78% =========================== 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/unit/dockertypes_test.py::MountTest::test_parse_mount_bind_windows SKIPPED [3] /src/tests/helpers.py:71: Feature requires Docker Engine experimental mode SKIPPED [1] tests/integration/api_image_test.py:292: 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 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 == 928 passed, 16 skipped, 5 xfailed, 4 xpassed, 1 warnings in 288.70 seconds == [Pipeline] sh + docker stop dpy-dind-39-0-py3.7-20.10.0 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.9-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 21 93 23 78% docker/api/client.py 263 102 98 15 55% 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 157 106 58 5 26% docker/api/network.py 90 56 48 7 30% docker/api/plugin.py 90 68 14 0 21% 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 100 74 15 42% 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 151 110 62 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 21 8 2 0 57% 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 149 56 50 14 54% 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 312 259 206 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 6 10 5 76% 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 285 186 177 27 29% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5116 3189 2259 176 30% ============== 23 passed, 1 xpassed, 1 warnings in 25.91 seconds =============== [Pipeline] sh + docker stop dpy-dind-39-0-py3.7-19.03.13 dpy-dind-39-0-py3.7-19.03.13 + docker network rm dpy-testnet-39-0-py3.7-19.03.13 dpy-testnet-39-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-39-0-py3.7-20.10.0 [Pipeline] sh + docker run --rm -d --name dpy-dind-39-0-py3.7-20.10.0 -v /tmp --privileged --network dpy-testnet-39-0-py3.7-20.10.0 dockerbuildbot/docker-py:sshdind-06171f7499b4e98e27a6f0be32b8ceb774544230 dockerd --experimental 9ff80d6718dd9c9339bf412e4d60bd38e09fdd50cab99e01dcd8b2abb1f2b454 [Pipeline] sh + docker exec dpy-dind-39-0-py3.7-20.10.0 sh -c /usr/sbin/sshd [Pipeline] sh + docker run --rm --name dpy-tests-39-0-py3.7-20.10.0 -e DOCKER_HOST=ssh://dpy-dind-39-0-py3.7-20.10.0:22 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-39-0-py3.7-20.10.0 --volumes-from dpy-dind-39-0-py3.7-20.10.0 -v /home/ubuntu/.docker/config.json:/root/.docker/config.json dockerbuildbot/docker-py:py3-06171f7499b4e98e27a6f0be32b8ceb774544230 py.test -v -rxs --cov=docker tests/ssh ============================= test session starts ============================== platform linux -- Python 3.7.9, 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: timeout-1.3.3, cov-2.6.1 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_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_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_labels PASSED [ 41%] 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_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_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.9-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 21 93 23 78% docker/api/client.py 263 102 98 15 55% 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 157 106 58 5 26% docker/api/network.py 90 56 48 7 30% docker/api/plugin.py 90 68 14 0 21% 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 100 74 15 42% 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 151 110 62 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 21 8 2 0 57% 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 149 56 50 14 54% 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 312 259 206 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 6 10 5 76% 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 285 186 177 27 29% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5116 3189 2259 176 30% ============== 23 passed, 1 xpassed, 1 warnings in 25.84 seconds =============== [Pipeline] sh + docker stop dpy-dind-39-0-py3.7-20.10.0 dpy-dind-39-0-py3.7-20.10.0 + docker network rm dpy-testnet-39-0-py3.7-20.10.0 dpy-testnet-39-0-py3.7-20.10.0 [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 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 (managed-agents) - ubuntu-1804-overlay2 (i-02d2cdbe8016a8e00) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:1001) at hudson.FilePath.act(FilePath.java:1070) at hudson.FilePath.act(FilePath.java:1059) at hudson.FilePath.readToString(FilePath.java:2087) at org.jenkinsci.plugins.docker.commons.impl.RegistryKeyMaterialFactory.materialize(RegistryKeyMaterialFactory.java:81) at org.jenkinsci.plugins.docker.workflow.AbstractEndpointStepExecution2.doStart(AbstractEndpointStepExecution2.java:53) at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Also: Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 (managed-agents) - ubuntu-1804-overlay2 (i-00f95654f74a4d329) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:1001) at hudson.FilePath.act(FilePath.java:1070) at hudson.FilePath.act(FilePath.java:1059) at hudson.FilePath.readToString(FilePath.java:2087) at org.jenkinsci.plugins.docker.commons.impl.RegistryKeyMaterialFactory.materialize(RegistryKeyMaterialFactory.java:81) at org.jenkinsci.plugins.docker.workflow.AbstractEndpointStepExecution2.doStart(AbstractEndpointStepExecution2.java:53) at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.io.IOException: Is a directory Also: Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0145b03f136490b4c) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:1001) at hudson.FilePath.act(FilePath.java:1070) at hudson.FilePath.act(FilePath.java:1059) at hudson.FilePath.readToString(FilePath.java:2087) at org.jenkinsci.plugins.docker.commons.impl.RegistryKeyMaterialFactory.materialize(RegistryKeyMaterialFactory.java:81) at org.jenkinsci.plugins.docker.workflow.AbstractEndpointStepExecution2.doStart(AbstractEndpointStepExecution2.java:53) at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.io.IOException: Is a directory Also: hudson.AbortException: script returned exit code 1 at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:659) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:605) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:549) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.io.IOException: Is a directory at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.FileDispatcherImpl.read(FileDispatcherImpl.java:48) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:276) at sun.nio.ch.IOUtil.read(IOUtil.java:245) at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:223) at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:65) at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:109) at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) at java.nio.file.Files.read(Files.java:3158) at java.nio.file.Files.readAllBytes(Files.java:3212) at hudson.FilePath$ReadToString.invoke(FilePath.java:2093) at hudson.FilePath$ReadToString.invoke(FilePath.java:2089) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3122) at hudson.remoting.UserRequest.perform(UserRequest.java:211) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:375) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73) at java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.lang.Thread.run(Thread.java:834) Finished: FAILURE