Started by user Peter Salvatore Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Waiting for GitHub to create a merge commit for pull request 1712. Retrying 4 more times... Loading trusted files from base branch master at 8acd2c3d084805df0bbeda4697c8ad7215ff7247 rather than a97c861482d2868e65755d8c656aa4fb34954225 Obtained Jenkinsfile from 8acd2c3d084805df0bbeda4697c8ad7215ff7247 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 ead69454b4062f17d1f8389642089a002b037213 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 using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --progress https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master Checking out Revision ead69454b4062f17d1f8389642089a002b037213 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f ead69454b4062f17d1f8389642089a002b037213 Commit message: "Merge pull request #10 from russellcardullo/sonar-scan" > git rev-list --no-walk ead69454b4062f17d1f8389642089a002b037213 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task ‘arm32v7-ubuntu-47’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘arm32v7-ubuntu-48’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘arm32v7-ubuntu-49’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘arm32v7-ubuntu-50’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘arm64v8-ubuntu-01’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘arm64v8-ubuntu-02’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘azwin-2-bb2df0’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘ppc64le-ubuntu-31’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘ppc64le-ubuntu-33’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘ppc64le-ubuntu-34’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘s390x-ubuntu-13’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘s390x-ubuntu-15’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘s390x-ubuntu-16’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘s390x-ubuntu-29’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘s390x-ubuntu-30’ doesn’t have label ‘ubuntu&&!zfs&&amd64’; ‘ubuntu-1804-overlay2 (i-060ba60082fdfe26a)’ is offline; ‘ubuntu-1804-overlay2 (i-0677d3558de9a10cd)’ is offline; ‘ubuntu-1804-overlay2 (i-069c8abf474edcec3)’ is offline; ‘ubuntu-1804-overlay2 (i-07134769e7bb4fdb6)’ is offline; ‘ubuntu-1804-overlay2 (i-0bb0478f34709d418)’ is offline; ‘ubuntu-1804-overlay2 (i-0ce5224f3d390ad6f)’ is offline; ‘ubuntu-1804-overlay2 (i-0e3df8cc163eff1b7)’ is offline Running on ubuntu-1804-overlay2 (i-0e3df8cc163eff1b7) in /home/ubuntu/workspace/docker-py_PR-1712 [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-1712@tmp/1bae38a4-ab7e-45ab-bb3a-3caa24ba9927/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 + uname -m [Pipeline] sh + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-1712:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox ee153a04d683: Pulling fs layer ee153a04d683: Verifying Checksum ee153a04d683: Download complete ee153a04d683: Pull complete Digest: sha256:9f1003c480699be56815db0f8146ad2e22efea85129b5b5983d0e0fb52d9ab70 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-1712 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/docker-py.git +refs/pull/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master Fetching without tags > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/1712/head:refs/remotes/origin/PR-1712 # 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/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master Merging remotes/origin/master commit 8acd2c3d084805df0bbeda4697c8ad7215ff7247 into PR head commit a97c861482d2868e65755d8c656aa4fb34954225 Merge succeeded, producing d3674bfdbd7d996aab2f50336a7a65a77aa1a14e Checking out Revision d3674bfdbd7d996aab2f50336a7a65a77aa1a14e (PR-1712) Commit message: "Merge commit '8acd2c3d084805df0bbeda4697c8ad7215ff7247' into HEAD" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f a97c861482d2868e65755d8c656aa4fb34954225 > git merge 8acd2c3d084805df0bbeda4697c8ad7215ff7247 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3674bfdbd7d996aab2f50336a7a65a77aa1a14e > git rev-list --no-walk 4452c67a05e3b300f519496d2c081681e090146e # timeout=10 [Pipeline] sh + git rev-parse HEAD [Pipeline] sh + docker pull dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e Error response from daemon: manifest for dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e not found: manifest unknown: manifest unknown [Pipeline] sh + docker build -t dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e -f tests/Dockerfile --build-arg PYTHON_VERSION=2.7 . Sending build context to Docker daemon 1.273MB Step 1/19 : ARG PYTHON_VERSION=3.7 Step 2/19 : FROM python:${PYTHON_VERSION} 2.7: Pulling from library/python 4ae16bd47783: Pulling fs layer bbab4ec87ac4: Pulling fs layer 2ea1f7804402: Pulling fs layer 96465440c208: Pulling fs layer 6ac892e64b94: Pulling fs layer 6f7ce750b843: Pulling fs layer 886c714e5c8c: Pulling fs layer 9ef5af0ee617: Pulling fs layer 95b0a7d3ce20: Pulling fs layer 6f7ce750b843: Waiting 886c714e5c8c: Waiting 9ef5af0ee617: Waiting 95b0a7d3ce20: Waiting 96465440c208: Waiting 6ac892e64b94: Waiting bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete 2ea1f7804402: Verifying Checksum 2ea1f7804402: Download complete 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete 6f7ce750b843: Verifying Checksum 6f7ce750b843: Download complete 96465440c208: Verifying Checksum 96465440c208: Download complete 886c714e5c8c: Verifying Checksum 886c714e5c8c: Download complete 9ef5af0ee617: Verifying Checksum 9ef5af0ee617: Download complete 95b0a7d3ce20: Verifying Checksum 95b0a7d3ce20: Download complete 6ac892e64b94: Verifying Checksum 6ac892e64b94: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete 96465440c208: Pull complete 6ac892e64b94: Pull complete 6f7ce750b843: Pull complete 886c714e5c8c: Pull complete 9ef5af0ee617: Pull complete 95b0a7d3ce20: Pull complete Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446 Status: Downloaded newer image for python:2.7 ---> 55b47eef9c39 Step 3/19 : ARG APT_MIRROR ---> Running in 7d90247c2edc Removing intermediate container 7d90247c2edc ---> 8b72a2160fb7 Step 4/19 : 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 66f47f604bb1 Removing intermediate container 66f47f604bb1 ---> f3f2bd1a3545 Step 5/19 : RUN apt-get update && apt-get -y install gnupg2 pass curl ---> Running in 3ca1ef1f6c27 Get:1 http://deb.debian.org/debian buster InRelease [118 kB] Get:2 http://security.debian.org/debian-security buster/updates InRelease [39.1 kB] Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7897 kB] Get:5 http://security.debian.org/debian-security buster/updates/main amd64 Packages [73.9 kB] Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [884 B] Fetched 8178 kB in 2s (4581 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... curl is already the newest version (7.64.0-4). The following additional packages will be installed: libqrencode4 libxmu6 libxmuu1 qrencode tree xauth xclip Suggested packages: libxml-simple-perl ruby The following NEW packages will be installed: gnupg2 libqrencode4 libxmu6 libxmuu1 pass qrencode tree xauth xclip 0 upgraded, 9 newly installed, 0 to remove and 1 not upgraded. Need to get 707 kB of archives. After this operation, 1197 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 gnupg2 all 2.2.12-1 [392 kB] Get:2 http://deb.debian.org/debian buster/main amd64 libqrencode4 amd64 4.0.2-1 [38.2 kB] Get:3 http://deb.debian.org/debian buster/main amd64 libxmu6 amd64 2:1.1.2-2+b3 [60.8 kB] Get:4 http://deb.debian.org/debian buster/main amd64 libxmuu1 amd64 2:1.1.2-2+b3 [23.9 kB] Get:5 http://deb.debian.org/debian buster/main amd64 tree amd64 1.8.0-1 [49.3 kB] Get:6 http://deb.debian.org/debian buster/main amd64 pass all 1.7.3-2 [39.2 kB] Get:7 http://deb.debian.org/debian buster/main amd64 qrencode amd64 4.0.2-1 [39.8 kB] Get:8 http://deb.debian.org/debian buster/main amd64 xauth amd64 1:1.0.10-1 [40.3 kB] Get:9 http://deb.debian.org/debian buster/main amd64 xclip amd64 0.13-1 [23.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 707 kB in 0s (2601 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 ... 24544 files and directories currently installed.) Preparing to unpack .../0-gnupg2_2.2.12-1_all.deb ... Unpacking gnupg2 (2.2.12-1) ... Selecting previously unselected package libqrencode4:amd64. Preparing to unpack .../1-libqrencode4_4.0.2-1_amd64.deb ... Unpacking libqrencode4:amd64 (4.0.2-1) ... Selecting previously unselected package libxmu6:amd64. Preparing to unpack .../2-libxmu6_2%3a1.1.2-2+b3_amd64.deb ... Unpacking libxmu6:amd64 (2:1.1.2-2+b3) ... Selecting previously unselected package libxmuu1:amd64. Preparing to unpack .../3-libxmuu1_2%3a1.1.2-2+b3_amd64.deb ... Unpacking libxmuu1:amd64 (2:1.1.2-2+b3) ... Selecting previously unselected package tree. Preparing to unpack .../4-tree_1.8.0-1_amd64.deb ... Unpacking tree (1.8.0-1) ... Selecting previously unselected package pass. Preparing to unpack .../5-pass_1.7.3-2_all.deb ... Unpacking pass (1.7.3-2) ... Selecting previously unselected package qrencode. Preparing to unpack .../6-qrencode_4.0.2-1_amd64.deb ... Unpacking qrencode (4.0.2-1) ... Selecting previously unselected package xauth. Preparing to unpack .../7-xauth_1%3a1.0.10-1_amd64.deb ... Unpacking xauth (1:1.0.10-1) ... Selecting previously unselected package xclip. Preparing to unpack .../8-xclip_0.13-1_amd64.deb ... Unpacking xclip (0.13-1) ... Setting up gnupg2 (2.2.12-1) ... Setting up libxmu6:amd64 (2:1.1.2-2+b3) ... Setting up libqrencode4:amd64 (4.0.2-1) ... Setting up qrencode (4.0.2-1) ... Setting up tree (1.8.0-1) ... Setting up xclip (0.13-1) ... Setting up pass (1.7.3-2) ... Setting up libxmuu1:amd64 (2:1.1.2-2+b3) ... Setting up xauth (1:1.0.10-1) ... Processing triggers for libc-bin (2.28-10) ... Removing intermediate container 3ca1ef1f6c27 ---> 41001ae2ef87 Step 6/19 : COPY ./tests/gpg-keys /gpg-keys ---> b2810838d7ce Step 7/19 : RUN gpg2 --import gpg-keys/secret ---> Running in e2d46f712c5b 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 e2d46f712c5b ---> 381ea294b74c Step 8/19 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in acae5cf34378 gpg: inserting ownertrust of 6 Removing intermediate container acae5cf34378 ---> e0279f17354d Step 9/19 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in b1a62897b7dd gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container b1a62897b7dd ---> 68cc1b85d3bd Step 10/19 : RUN gpg2 --check-trustdb ---> Running in 6cdfd0804876 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 6cdfd0804876 ---> 12d185c64e30 Step 11/19 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in 7f0c5afffb09 Removing intermediate container 7f0c5afffb09 ---> 94f8e78f8a9a Step 12/19 : 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 bc80ed9840a8 Removing intermediate container bc80ed9840a8 ---> fb56f52cacec Step 13/19 : WORKDIR /src ---> Running in 5927ad4e5c99 Removing intermediate container 5927ad4e5c99 ---> a03dab410ae8 Step 14/19 : COPY requirements.txt /src/requirements.txt ---> 4df6af743fc2 Step 15/19 : RUN pip install -r requirements.txt ---> Running in 26b59f04a79d DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. 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 pypiwin32: markers 'sys_platform == "win32" and python_version < "3.6"' don't match your environment Ignoring pypiwin32: markers 'sys_platform == "win32" and python_version >= "3.6"' don't match your environment Collecting appdirs==1.4.3 (from -r requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl Collecting asn1crypto==0.22.0 (from -r requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/97/ba/7e8117d8efcee589f4d96dd2b2eb1d997f96d27d214cf2b7134ad8acf6ab/asn1crypto-0.22.0-py2.py3-none-any.whl (97kB) Collecting backports.ssl-match-hostname==3.5.0.1 (from -r requirements.txt (line 3)) Downloading https://files.pythonhosted.org/packages/76/21/2dc61178a2038a5cb35d14b61467c6ac632791ed05131dda72c20e7b9e23/backports.ssl_match_hostname-3.5.0.1.tar.gz Collecting cffi==1.10.0 (from -r requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/50/85/d74d06ac09fc2deb3d9bd6d6aca4ca13d82b8118c04494cd0e84fcd81624/cffi-1.10.0-cp27-cp27mu-manylinux1_x86_64.whl (392kB) Collecting cryptography==2.3 (from -r requirements.txt (line 5)) Downloading https://files.pythonhosted.org/packages/67/21/e79987f1f9abae42d666b1f89b4e78aa096acc00bbf97ad40d19b07b4a83/cryptography-2.3-cp27-cp27mu-manylinux1_x86_64.whl (2.1MB) Collecting enum34==1.1.6 (from -r requirements.txt (line 6)) Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl Collecting idna==2.5 (from -r requirements.txt (line 7)) Downloading https://files.pythonhosted.org/packages/11/7d/9bbbd7bb35f34b0169542487d2a8859e44306bb2e6a4455d491800a5621f/idna-2.5-py2.py3-none-any.whl (55kB) Collecting ipaddress==1.0.18 (from -r requirements.txt (line 8)) Downloading https://files.pythonhosted.org/packages/17/93/28f4dd560780dd70fe75ce7e2662869770dfac181f6bbb472179ea8da516/ipaddress-1.0.18-py2-none-any.whl Collecting packaging==16.8 (from -r requirements.txt (line 9)) Downloading https://files.pythonhosted.org/packages/87/1b/c39b7c65b5612812b83d6cab7ef2885eac9f6beb0b7b8a7071a186aea3b1/packaging-16.8-py2.py3-none-any.whl Collecting paramiko==2.4.2 (from -r requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/cf/ae/94e70d49044ccc234bfdba20114fa947d7ba6eb68a2e452d89b920e62227/paramiko-2.4.2-py2.py3-none-any.whl (193kB) Collecting pycparser==2.17 (from -r requirements.txt (line 11)) Downloading https://files.pythonhosted.org/packages/be/64/1bb257ffb17d01f4a38d7ce686809a736837ad4371bcc5c42ba7a715c3ac/pycparser-2.17.tar.gz (231kB) Collecting pyOpenSSL==18.0.0 (from -r requirements.txt (line 12)) Downloading https://files.pythonhosted.org/packages/96/af/9d29e6bd40823061aea2e0574ccb2fcf72bfd6130ce53d32773ec375458c/pyOpenSSL-18.0.0-py2.py3-none-any.whl (53kB) Collecting pyparsing==2.2.0 (from -r requirements.txt (line 13)) Downloading https://files.pythonhosted.org/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl (56kB) Collecting requests==2.20.0 (from -r requirements.txt (line 16)) Downloading https://files.pythonhosted.org/packages/f1/ca/10332a30cb25b627192b4ea272c351bce3ca1091e541245cccbace6051d8/requests-2.20.0-py2.py3-none-any.whl (60kB) Collecting six==1.10.0 (from -r requirements.txt (line 17)) Downloading https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl Collecting urllib3==1.24.3 (from -r requirements.txt (line 18)) Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB) Collecting websocket-client==0.56.0 (from -r requirements.txt (line 19)) Downloading https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl (200kB) Collecting pynacl>=1.0.1 (from paramiko==2.4.2->-r requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/b3/25/e605574f24948a8a53b497744e93f061eb1dbe7c44b6465fc1c172d591aa/PyNaCl-1.3.0-cp27-cp27mu-manylinux1_x86_64.whl (762kB) Collecting pyasn1>=0.1.7 (from paramiko==2.4.2->-r requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/6a/6e/209351ec34b7d7807342e2bb6ff8a96eef1fd5dcac13bdbadf065c2bb55c/pyasn1-0.4.6-py2.py3-none-any.whl (75kB) Collecting bcrypt>=3.1.3 (from paramiko==2.4.2->-r requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/ad/36/9a0227d048e98409f012570f7bef8a8c2373b9c9c5dfbf82963cbae05ede/bcrypt-3.1.7-cp27-cp27mu-manylinux1_x86_64.whl (59kB) Collecting certifi>=2017.4.17 (from requests==2.20.0->-r requirements.txt (line 16)) Downloading https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl (157kB) Collecting chardet<3.1.0,>=3.0.2 (from requests==2.20.0->-r requirements.txt (line 16)) Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB) 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-cp27-none-any.whl size=5211 sha256=6f86ff884e2d3dcd0da8ac83a74c4fc076e15b063b68a78361e37c6503cd4c43 Stored in directory: /root/.cache/pip/wheels/99/7e/f7/a88a9bcf7a3bd6b12cf6a74eee8c89746aaa02f71ab7b33939 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=193885 sha256=e1333750ef7dbc3053ad813d8897252534ad499ead582b72cbf31aa93a3b1ef0 Stored in directory: /root/.cache/pip/wheels/3f/a9/a7/44a27bb67d962845df8df4ac988e1f369184e307392ce37c5b Successfully built backports.ssl-match-hostname pycparser Installing collected packages: appdirs, asn1crypto, backports.ssl-match-hostname, pycparser, cffi, enum34, six, idna, ipaddress, cryptography, pyparsing, packaging, pynacl, pyasn1, bcrypt, paramiko, pyOpenSSL, urllib3, certifi, chardet, requests, websocket-client Successfully installed appdirs-1.4.3 asn1crypto-0.22.0 backports.ssl-match-hostname-3.5.0.1 bcrypt-3.1.7 certifi-2019.6.16 cffi-1.10.0 chardet-3.0.4 cryptography-2.3 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.6 pycparser-2.17 pynacl-1.3.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 26b59f04a79d ---> 7ed4e0a94514 Step 16/19 : COPY test-requirements.txt /src/test-requirements.txt ---> 32fa13f2132e Step 17/19 : RUN pip install -r test-requirements.txt ---> Running in 1663517240ff DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. 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 coverage==4.5.2 (from -r test-requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/af/cf/e240715a50d64b0538a08a2be1ae4060fb25791e911cbe8fd2367b5deeaa/coverage-4.5.2-cp27-cp27mu-manylinux1_x86_64.whl (201kB) Collecting flake8==3.6.0 (from -r test-requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/34/a6/49e2849a0e5464e1b5d621f63bc8453066f0f367bb3b744a33fca0bc1ddd/flake8-3.6.0-py2.py3-none-any.whl (68kB) Collecting mock==1.0.1 (from -r test-requirements.txt (line 3)) Downloading https://files.pythonhosted.org/packages/a2/52/7edcd94f0afb721a2d559a5b9aae8af4f8f2c79bc63fdbe8a8a6c9b23bbe/mock-1.0.1.tar.gz (818kB) Collecting pytest==4.2.1 (from -r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/11/e9/dc9a7269a7e1fed46de7d5864da6a86370256c791bf263dd0c7d7e8f1ff1/pytest-4.2.1-py2.py3-none-any.whl (218kB) Collecting pytest-cov==2.6.1 (from -r test-requirements.txt (line 5)) Downloading https://files.pythonhosted.org/packages/7d/b5/92f32674ab954f80499ac73347bfeb815545ea295439c12b0ef3ac8f0975/pytest_cov-2.6.1-py2.py3-none-any.whl Collecting pytest-timeout==1.3.3 (from -r test-requirements.txt (line 6)) Downloading https://files.pythonhosted.org/packages/58/92/f60ea2e27074d6f97c8aaf21e34d1f838eb623e4b8070680846c65318a10/pytest_timeout-1.3.3-py2.py3-none-any.whl Collecting configparser; python_version < "3.2" (from flake8==3.6.0->-r test-requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/ab/1a/ec151e5e703ac80041eaccef923611bbcec2b667c20383655a06962732e9/configparser-3.8.1-py2.py3-none-any.whl 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 2)) (1.1.6) Collecting pycodestyle<2.5.0,>=2.4.0 (from flake8==3.6.0->-r test-requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/e5/c6/ce130213489969aa58610042dff1d908c25c731c9575af6935c2dfad03aa/pycodestyle-2.4.0-py2.py3-none-any.whl (62kB) Collecting mccabe<0.7.0,>=0.6.0 (from flake8==3.6.0->-r test-requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl Collecting pyflakes<2.1.0,>=2.0.0 (from flake8==3.6.0->-r test-requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/44/98/af7a72c9a543b1487d92813c648cb9b9adfbc96faef5455d60f4439aa99b/pyflakes-2.0.0-py2.py3-none-any.whl (53kB) Requirement already satisfied: setuptools>=30 in /usr/local/lib/python2.7/site-packages (from flake8==3.6.0->-r test-requirements.txt (line 2)) (41.2.0) Collecting py>=1.5.0 (from pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB) Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python2.7/site-packages (from pytest==4.2.1->-r test-requirements.txt (line 4)) (1.10.0) Collecting pathlib2>=2.2.0; python_version < "3.6" (from pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/67/c6/4dbf5dfdbe1140cadf765c3896acc098578626c35721bc7d3eb35f6a8fc1/pathlib2-2.3.4-py2.py3-none-any.whl Collecting funcsigs; python_version < "3.0" (from pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl Collecting atomicwrites>=1.0 (from pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/52/90/6155aa926f43f2b2a22b01be7241be3bfd1ceaf7d0b3267213e8127d41f4/atomicwrites-1.3.0-py2.py3-none-any.whl Collecting pluggy>=0.7 (from pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/06/ee/de89e0582276e3551df3110088bf20844de2b0e7df2748406876cc78e021/pluggy-0.12.0-py2.py3-none-any.whl Collecting more-itertools<6.0.0,>=4.0.0; python_version <= "2.7" (from pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/2f/9d/dcfe59e213093695f108508af1214cf9cd95cc5489e46877ec5cb56369e5/more_itertools-5.0.0-py2-none-any.whl (52kB) Collecting attrs>=17.4.0 (from pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl Collecting scandir; python_version < "3.5" (from pathlib2>=2.2.0; python_version < "3.6"->pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/df/f5/9c052db7bd54d0cbf1bc0bb6554362bba1012d03e5888950a4f5c5dadc4e/scandir-1.10.0.tar.gz Collecting importlib-metadata>=0.12 (from pluggy>=0.7->pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/ad/aa/25fcbded2ab4ed4ff3071d1e000cd4f8f9c65653d2d7157dd105a8e81d42/importlib_metadata-0.19-py2.py3-none-any.whl Collecting zipp>=0.5 (from importlib-metadata>=0.12->pluggy>=0.7->pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl Collecting contextlib2; python_version < "3" (from importlib-metadata>=0.12->pluggy>=0.7->pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/a2/71/8273a7eeed0aff6a854237ab5453bc9aa67deb49df4832801c21f0ff3782/contextlib2-0.5.5-py2.py3-none-any.whl Building wheels for collected packages: mock, scandir 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-cp27-none-any.whl size=23755 sha256=4388d8e564ab8be35140f4c5a03f4ea23368c7cedb8f52e65c11ef6c0591c57e Stored in directory: /root/.cache/pip/wheels/7e/72/92/744b532c779242b57aab4bcba80c312b30c069bbd60025e7e6 Building wheel for scandir (setup.py): started Building wheel for scandir (setup.py): finished with status 'done' Created wheel for scandir: filename=scandir-1.10.0-cp27-cp27mu-linux_x86_64.whl size=42779 sha256=69c3f80766ec589e80b2dd7708cc8178cb8dd2109668c42562f4b0a05bac1be6 Stored in directory: /root/.cache/pip/wheels/91/95/75/19c98a91239878abbc7c59970abd3b4e0438a7dd5b61778335 Successfully built mock scandir Installing collected packages: coverage, configparser, pycodestyle, mccabe, pyflakes, flake8, mock, py, scandir, pathlib2, funcsigs, atomicwrites, more-itertools, zipp, contextlib2, importlib-metadata, pluggy, attrs, pytest, pytest-cov, pytest-timeout Successfully installed atomicwrites-1.3.0 attrs-19.1.0 configparser-3.8.1 contextlib2-0.5.5 coverage-4.5.2 flake8-3.6.0 funcsigs-1.0.2 importlib-metadata-0.19 mccabe-0.6.1 mock-1.0.1 more-itertools-5.0.0 pathlib2-2.3.4 pluggy-0.12.0 py-1.8.0 pycodestyle-2.4.0 pyflakes-2.0.0 pytest-4.2.1 pytest-cov-2.6.1 pytest-timeout-1.3.3 scandir-1.10.0 zipp-0.6.0 Removing intermediate container 1663517240ff ---> 4950803b1225 Step 18/19 : COPY . /src ---> 86e1ae8f6fe3 Step 19/19 : RUN pip install . ---> Running in 8206dd78c488 DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. 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.1.0.dev0) (1.10.0) Requirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python2.7/site-packages (from docker==4.1.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.1.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.1.0.dev0) (3.5.0.1) Requirement already satisfied: ipaddress>=1.0.16 in /usr/local/lib/python2.7/site-packages (from docker==4.1.0.dev0) (1.0.18) 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.1.0.dev0) (2.5) 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.1.0.dev0) (1.24.3) 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.1.0.dev0) (2019.6.16) 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.1.0.dev0) (3.0.4) 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.1.0.dev0-py2.py3-none-any.whl size=139191 sha256=8c1d8b7a625f38531866bc66ff3b34bd5efb07813d449e3f0b446c0bbec32e7c Stored in directory: /tmp/pip-ephem-wheel-cache-IaTrNL/wheels/ee/4d/f0/2a86c10b571f6f2e614d6de70cb18e96cf856ba00408408b23 Successfully built docker Installing collected packages: docker Successfully installed docker-4.1.0.dev0 Removing intermediate container 8206dd78c488 ---> 1748de5988e9 Successfully built 1748de5988e9 Successfully tagged dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e [Pipeline] dockerFingerprintFrom [Pipeline] sh + docker tag dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e [Pipeline] sh + docker push dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e The push refers to repository [docker.io/dockerbuildbot/docker-py] 77545e2aba4a: Preparing 0180762d8f91: Preparing 1595d559e075: Preparing a208adde603a: Preparing 0fb766901167: Preparing 787f840ae36f: Preparing d3eb2793bb8f: Preparing cfc84cdab706: Preparing 6ef01798205f: Preparing de4c4af99b38: Preparing c32e53503725: Preparing 5238121c2d4e: Preparing ef247f555278: Preparing f8793edbd462: Preparing 0051ff492022: Preparing c8992614e936: Preparing aec8973e3aff: Preparing 64f59e052a98: Preparing 190e115e5849: Preparing 6e302bbcacce: Preparing 97e8dd85db4e: Preparing 74e2ede3b29c: Preparing 6d5a64ea8f37: Preparing 660314270d76: Preparing 787f840ae36f: Waiting d3eb2793bb8f: Waiting cfc84cdab706: Waiting 6ef01798205f: Waiting de4c4af99b38: Waiting c32e53503725: Waiting 5238121c2d4e: Waiting ef247f555278: Waiting f8793edbd462: Waiting 0051ff492022: Waiting c8992614e936: Waiting aec8973e3aff: Waiting 64f59e052a98: Waiting 190e115e5849: Waiting 6e302bbcacce: Waiting 97e8dd85db4e: Waiting 74e2ede3b29c: Waiting 6d5a64ea8f37: Waiting 660314270d76: Waiting 0180762d8f91: Pushed a208adde603a: Pushed 77545e2aba4a: Pushed 787f840ae36f: Pushed 1595d559e075: Pushed d3eb2793bb8f: Pushed cfc84cdab706: Pushed 6ef01798205f: Pushed de4c4af99b38: Pushed c32e53503725: Pushed 0fb766901167: Pushed c8992614e936: Layer already exists aec8973e3aff: Layer already exists 64f59e052a98: Layer already exists 190e115e5849: Layer already exists 6e302bbcacce: Layer already exists 5238121c2d4e: Pushed ef247f555278: Pushed 97e8dd85db4e: Layer already exists 74e2ede3b29c: Layer already exists 660314270d76: Layer already exists 6d5a64ea8f37: Layer already exists 0051ff492022: Pushed f8793edbd462: Pushed py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e: digest: sha256:46d4b62976d41c41586be157f547336da3a18ae5cce951210f7faa5922cbf148 size: 5353 [Pipeline] sh + docker pull dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e Error response from daemon: manifest for dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e not found: manifest unknown: manifest unknown [Pipeline] sh + docker build -t dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e -f tests/Dockerfile --build-arg PYTHON_VERSION=3.7 . Sending build context to Docker daemon 1.273MB Step 1/19 : ARG PYTHON_VERSION=3.7 Step 2/19 : FROM python:${PYTHON_VERSION} 3.7: Pulling from library/python 4ae16bd47783: Already exists bbab4ec87ac4: Already exists 2ea1f7804402: Already exists 96465440c208: Already exists 6ac892e64b94: Already exists 5b3ec9e84adf: Pulling fs layer 317202007d7c: Pulling fs layer ba1ee226143f: Pulling fs layer e33fb8e92c2f: Pulling fs layer e33fb8e92c2f: Waiting ba1ee226143f: Verifying Checksum ba1ee226143f: Download complete 5b3ec9e84adf: Verifying Checksum 5b3ec9e84adf: Download complete e33fb8e92c2f: Verifying Checksum e33fb8e92c2f: Download complete 317202007d7c: Verifying Checksum 317202007d7c: Download complete 5b3ec9e84adf: Pull complete 317202007d7c: Pull complete ba1ee226143f: Pull complete e33fb8e92c2f: Pull complete Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e Status: Downloaded newer image for python:3.7 ---> 60e318e4984a Step 3/19 : ARG APT_MIRROR ---> Running in 3bdacd6b865b Removing intermediate container 3bdacd6b865b ---> 3f3e04027697 Step 4/19 : 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 041da4d155ac Removing intermediate container 041da4d155ac ---> f33296e340ca Step 5/19 : RUN apt-get update && apt-get -y install gnupg2 pass curl ---> Running in 1f5b661b0131 Get:1 http://deb.debian.org/debian buster InRelease [118 kB] Get:2 http://security.debian.org/debian-security buster/updates InRelease [39.1 kB] Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [73.9 kB] Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7897 kB] Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [884 B] Fetched 8178 kB in 2s (5008 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... curl is already the newest version (7.64.0-4). The following additional packages will be installed: libqrencode4 libxmu6 libxmuu1 qrencode tree xauth xclip Suggested packages: libxml-simple-perl ruby The following NEW packages will be installed: gnupg2 libqrencode4 libxmu6 libxmuu1 pass qrencode tree xauth xclip 0 upgraded, 9 newly installed, 0 to remove and 1 not upgraded. Need to get 707 kB of archives. After this operation, 1197 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 gnupg2 all 2.2.12-1 [392 kB] Get:2 http://deb.debian.org/debian buster/main amd64 libqrencode4 amd64 4.0.2-1 [38.2 kB] Get:3 http://deb.debian.org/debian buster/main amd64 libxmu6 amd64 2:1.1.2-2+b3 [60.8 kB] Get:4 http://deb.debian.org/debian buster/main amd64 libxmuu1 amd64 2:1.1.2-2+b3 [23.9 kB] Get:5 http://deb.debian.org/debian buster/main amd64 tree amd64 1.8.0-1 [49.3 kB] Get:6 http://deb.debian.org/debian buster/main amd64 pass all 1.7.3-2 [39.2 kB] Get:7 http://deb.debian.org/debian buster/main amd64 qrencode amd64 4.0.2-1 [39.8 kB] Get:8 http://deb.debian.org/debian buster/main amd64 xauth amd64 1:1.0.10-1 [40.3 kB] Get:9 http://deb.debian.org/debian buster/main amd64 xclip amd64 0.13-1 [23.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 707 kB in 0s (2649 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 ... 24544 files and directories currently installed.) Preparing to unpack .../0-gnupg2_2.2.12-1_all.deb ... Unpacking gnupg2 (2.2.12-1) ... Selecting previously unselected package libqrencode4:amd64. Preparing to unpack .../1-libqrencode4_4.0.2-1_amd64.deb ... Unpacking libqrencode4:amd64 (4.0.2-1) ... Selecting previously unselected package libxmu6:amd64. Preparing to unpack .../2-libxmu6_2%3a1.1.2-2+b3_amd64.deb ... Unpacking libxmu6:amd64 (2:1.1.2-2+b3) ... Selecting previously unselected package libxmuu1:amd64. Preparing to unpack .../3-libxmuu1_2%3a1.1.2-2+b3_amd64.deb ... Unpacking libxmuu1:amd64 (2:1.1.2-2+b3) ... Selecting previously unselected package tree. Preparing to unpack .../4-tree_1.8.0-1_amd64.deb ... Unpacking tree (1.8.0-1) ... Selecting previously unselected package pass. Preparing to unpack .../5-pass_1.7.3-2_all.deb ... Unpacking pass (1.7.3-2) ... Selecting previously unselected package qrencode. Preparing to unpack .../6-qrencode_4.0.2-1_amd64.deb ... Unpacking qrencode (4.0.2-1) ... Selecting previously unselected package xauth. Preparing to unpack .../7-xauth_1%3a1.0.10-1_amd64.deb ... Unpacking xauth (1:1.0.10-1) ... Selecting previously unselected package xclip. Preparing to unpack .../8-xclip_0.13-1_amd64.deb ... Unpacking xclip (0.13-1) ... Setting up gnupg2 (2.2.12-1) ... Setting up libxmu6:amd64 (2:1.1.2-2+b3) ... Setting up libqrencode4:amd64 (4.0.2-1) ... Setting up qrencode (4.0.2-1) ... Setting up tree (1.8.0-1) ... Setting up xclip (0.13-1) ... Setting up pass (1.7.3-2) ... Setting up libxmuu1:amd64 (2:1.1.2-2+b3) ... Setting up xauth (1:1.0.10-1) ... Processing triggers for libc-bin (2.28-10) ... Removing intermediate container 1f5b661b0131 ---> 8b3c21b7ce30 Step 6/19 : COPY ./tests/gpg-keys /gpg-keys ---> c773d293591a Step 7/19 : RUN gpg2 --import gpg-keys/secret ---> Running in 36c53e09c88e 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 36c53e09c88e ---> e518e399f78d Step 8/19 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in 3409f1b5aa12 gpg: inserting ownertrust of 6 Removing intermediate container 3409f1b5aa12 ---> b9e9241d04bc Step 9/19 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in 5f2c5a8fc801 gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container 5f2c5a8fc801 ---> 8ca9cd8ffa32 Step 10/19 : RUN gpg2 --check-trustdb ---> Running in b97a3f763913 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 b97a3f763913 ---> fc4ea0350256 Step 11/19 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in 3e5164ab5223 Removing intermediate container 3e5164ab5223 ---> 6f734bcd888f Step 12/19 : 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 80df37beb045 Removing intermediate container 80df37beb045 ---> e0d8d4e6fceb Step 13/19 : WORKDIR /src ---> Running in 0fd730f9b0b9 Removing intermediate container 0fd730f9b0b9 ---> f4d2b5d85a17 Step 14/19 : COPY requirements.txt /src/requirements.txt ---> eecb81371f49 Step 15/19 : RUN pip install -r requirements.txt ---> Running in da13368dc61e Ignoring pypiwin32: markers 'sys_platform == "win32" and python_version < "3.6"' don't match your environment Ignoring pypiwin32: markers 'sys_platform == "win32" and python_version >= "3.6"' don't match your environment Collecting appdirs==1.4.3 (from -r requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl Collecting asn1crypto==0.22.0 (from -r requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/97/ba/7e8117d8efcee589f4d96dd2b2eb1d997f96d27d214cf2b7134ad8acf6ab/asn1crypto-0.22.0-py2.py3-none-any.whl (97kB) Collecting backports.ssl-match-hostname==3.5.0.1 (from -r requirements.txt (line 3)) Downloading https://files.pythonhosted.org/packages/76/21/2dc61178a2038a5cb35d14b61467c6ac632791ed05131dda72c20e7b9e23/backports.ssl_match_hostname-3.5.0.1.tar.gz Collecting cffi==1.10.0 (from -r requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/5b/b9/790f8eafcdab455bcd3bd908161f802c9ce5adbf702a83aa7712fcc345b7/cffi-1.10.0.tar.gz (418kB) Collecting cryptography==2.3 (from -r requirements.txt (line 5)) Downloading https://files.pythonhosted.org/packages/c2/fa/fa9a8933c285895935d1392922fe721e9cb1b2c1881d14f149213a227ee3/cryptography-2.3-cp34-abi3-manylinux1_x86_64.whl (2.1MB) Collecting enum34==1.1.6 (from -r requirements.txt (line 6)) Downloading https://files.pythonhosted.org/packages/af/42/cb9355df32c69b553e72a2e28daee25d1611d2c0d9c272aa1d34204205b2/enum34-1.1.6-py3-none-any.whl Collecting idna==2.5 (from -r requirements.txt (line 7)) Downloading https://files.pythonhosted.org/packages/11/7d/9bbbd7bb35f34b0169542487d2a8859e44306bb2e6a4455d491800a5621f/idna-2.5-py2.py3-none-any.whl (55kB) Collecting ipaddress==1.0.18 (from -r requirements.txt (line 8)) Downloading https://files.pythonhosted.org/packages/4e/13/774faf38b445d0b3a844b65747175b2e0500164b7c28d78e34987a5bfe06/ipaddress-1.0.18.tar.gz Collecting packaging==16.8 (from -r requirements.txt (line 9)) Downloading https://files.pythonhosted.org/packages/87/1b/c39b7c65b5612812b83d6cab7ef2885eac9f6beb0b7b8a7071a186aea3b1/packaging-16.8-py2.py3-none-any.whl Collecting paramiko==2.4.2 (from -r requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/cf/ae/94e70d49044ccc234bfdba20114fa947d7ba6eb68a2e452d89b920e62227/paramiko-2.4.2-py2.py3-none-any.whl (193kB) Collecting pycparser==2.17 (from -r requirements.txt (line 11)) Downloading https://files.pythonhosted.org/packages/be/64/1bb257ffb17d01f4a38d7ce686809a736837ad4371bcc5c42ba7a715c3ac/pycparser-2.17.tar.gz (231kB) Collecting pyOpenSSL==18.0.0 (from -r requirements.txt (line 12)) Downloading https://files.pythonhosted.org/packages/96/af/9d29e6bd40823061aea2e0574ccb2fcf72bfd6130ce53d32773ec375458c/pyOpenSSL-18.0.0-py2.py3-none-any.whl (53kB) Collecting pyparsing==2.2.0 (from -r requirements.txt (line 13)) Downloading https://files.pythonhosted.org/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl (56kB) Collecting requests==2.20.0 (from -r requirements.txt (line 16)) Downloading https://files.pythonhosted.org/packages/f1/ca/10332a30cb25b627192b4ea272c351bce3ca1091e541245cccbace6051d8/requests-2.20.0-py2.py3-none-any.whl (60kB) Collecting six==1.10.0 (from -r requirements.txt (line 17)) Downloading https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl Collecting urllib3==1.24.3 (from -r requirements.txt (line 18)) Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB) Collecting websocket-client==0.56.0 (from -r requirements.txt (line 19)) Downloading https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl (200kB) Collecting pynacl>=1.0.1 (from paramiko==2.4.2->-r requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/27/15/2cd0a203f318c2240b42cd9dd13c931ddd61067809fee3479f44f086103e/PyNaCl-1.3.0-cp34-abi3-manylinux1_x86_64.whl (759kB) Collecting pyasn1>=0.1.7 (from paramiko==2.4.2->-r requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/6a/6e/209351ec34b7d7807342e2bb6ff8a96eef1fd5dcac13bdbadf065c2bb55c/pyasn1-0.4.6-py2.py3-none-any.whl (75kB) Collecting bcrypt>=3.1.3 (from paramiko==2.4.2->-r requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/8b/1d/82826443777dd4a624e38a08957b975e75df859b381ae302cfd7a30783ed/bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56kB) Collecting certifi>=2017.4.17 (from requests==2.20.0->-r requirements.txt (line 16)) Downloading https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl (157kB) Collecting chardet<3.1.0,>=3.0.2 (from requests==2.20.0->-r requirements.txt (line 16)) Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB) 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-cp37-none-any.whl size=5206 sha256=0b42b679e0c6b506dfe3da4d791efa03dfcffc46da24ec5c7452c3379f49a5d6 Stored in directory: /root/.cache/pip/wheels/99/7e/f7/a88a9bcf7a3bd6b12cf6a74eee8c89746aaa02f71ab7b33939 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=371221 sha256=9b31566c9a2a9825d623ee4dfa2f0f38291d283d10dfa2c4c0b6b6b3bdb4a395 Stored in directory: /root/.cache/pip/wheels/f7/15/ae/fb38663a1329fd6043160c18a6c5e3a60aec7f7a727a631875 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-cp37-none-any.whl size=18105 sha256=ecc419d016e3ecbce01e990118fa523ab00d993bc57081fa1ccb33aeed357dda Stored in directory: /root/.cache/pip/wheels/b4/e1/56/07b2633e42e05445161d0748b02fc47c0fe24ba56ff4920f98 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=192835 sha256=9f1f1b424d64b747d86e277588b1cf0e3374f7dfbfd72118bf779dd8370824a7 Stored in directory: /root/.cache/pip/wheels/3f/a9/a7/44a27bb67d962845df8df4ac988e1f369184e307392ce37c5b Successfully built backports.ssl-match-hostname cffi ipaddress pycparser Installing collected packages: appdirs, asn1crypto, backports.ssl-match-hostname, pycparser, cffi, idna, six, cryptography, enum34, ipaddress, pyparsing, packaging, pynacl, pyasn1, bcrypt, paramiko, pyOpenSSL, certifi, chardet, urllib3, requests, websocket-client Successfully installed appdirs-1.4.3 asn1crypto-0.22.0 backports.ssl-match-hostname-3.5.0.1 bcrypt-3.1.7 certifi-2019.6.16 cffi-1.10.0 chardet-3.0.4 cryptography-2.3 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.6 pycparser-2.17 pynacl-1.3.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 da13368dc61e ---> 270a4d3108d6 Step 16/19 : COPY test-requirements.txt /src/test-requirements.txt ---> 3b00015188ba Step 17/19 : RUN pip install -r test-requirements.txt ---> Running in 25bfcba4f0d6 Collecting coverage==4.5.2 (from -r test-requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/d0/a1/ea743f1facd8d287c2088d47fc80b06e042833041ba906fdd5c8f5d291bb/coverage-4.5.2-cp37-cp37m-manylinux1_x86_64.whl (205kB) Collecting flake8==3.6.0 (from -r test-requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/34/a6/49e2849a0e5464e1b5d621f63bc8453066f0f367bb3b744a33fca0bc1ddd/flake8-3.6.0-py2.py3-none-any.whl (68kB) Collecting mock==1.0.1 (from -r test-requirements.txt (line 3)) Downloading https://files.pythonhosted.org/packages/a2/52/7edcd94f0afb721a2d559a5b9aae8af4f8f2c79bc63fdbe8a8a6c9b23bbe/mock-1.0.1.tar.gz (818kB) Collecting pytest==4.2.1 (from -r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/11/e9/dc9a7269a7e1fed46de7d5864da6a86370256c791bf263dd0c7d7e8f1ff1/pytest-4.2.1-py2.py3-none-any.whl (218kB) Collecting pytest-cov==2.6.1 (from -r test-requirements.txt (line 5)) Downloading https://files.pythonhosted.org/packages/7d/b5/92f32674ab954f80499ac73347bfeb815545ea295439c12b0ef3ac8f0975/pytest_cov-2.6.1-py2.py3-none-any.whl Collecting pytest-timeout==1.3.3 (from -r test-requirements.txt (line 6)) Downloading https://files.pythonhosted.org/packages/58/92/f60ea2e27074d6f97c8aaf21e34d1f838eb623e4b8070680846c65318a10/pytest_timeout-1.3.3-py2.py3-none-any.whl Collecting mccabe<0.7.0,>=0.6.0 (from flake8==3.6.0->-r test-requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl Requirement already satisfied: setuptools>=30 in /usr/local/lib/python3.7/site-packages (from flake8==3.6.0->-r test-requirements.txt (line 2)) (41.2.0) Collecting pyflakes<2.1.0,>=2.0.0 (from flake8==3.6.0->-r test-requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/44/98/af7a72c9a543b1487d92813c648cb9b9adfbc96faef5455d60f4439aa99b/pyflakes-2.0.0-py2.py3-none-any.whl (53kB) Collecting pycodestyle<2.5.0,>=2.4.0 (from flake8==3.6.0->-r test-requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/e5/c6/ce130213489969aa58610042dff1d908c25c731c9575af6935c2dfad03aa/pycodestyle-2.4.0-py2.py3-none-any.whl (62kB) Collecting pluggy>=0.7 (from pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/06/ee/de89e0582276e3551df3110088bf20844de2b0e7df2748406876cc78e021/pluggy-0.12.0-py2.py3-none-any.whl Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.7/site-packages (from pytest==4.2.1->-r test-requirements.txt (line 4)) (1.10.0) Collecting attrs>=17.4.0 (from pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl Collecting more-itertools>=4.0.0; python_version > "2.7" (from pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/45/dc/3241eef99eb45f1def35cf93af35d1cf9ef4c0991792583b8f33ea41b092/more_itertools-7.2.0-py3-none-any.whl (57kB) Collecting atomicwrites>=1.0 (from pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/52/90/6155aa926f43f2b2a22b01be7241be3bfd1ceaf7d0b3267213e8127d41f4/atomicwrites-1.3.0-py2.py3-none-any.whl Collecting py>=1.5.0 (from pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB) Collecting importlib-metadata>=0.12 (from pluggy>=0.7->pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/ad/aa/25fcbded2ab4ed4ff3071d1e000cd4f8f9c65653d2d7157dd105a8e81d42/importlib_metadata-0.19-py2.py3-none-any.whl Collecting zipp>=0.5 (from importlib-metadata>=0.12->pluggy>=0.7->pytest==4.2.1->-r test-requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl 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-cp37-none-any.whl size=23754 sha256=8e0f2a78269ef48c29178f9879ab971fad01af42418cd3cf46ec579b671f4757 Stored in directory: /root/.cache/pip/wheels/7e/72/92/744b532c779242b57aab4bcba80c312b30c069bbd60025e7e6 Successfully built mock Installing collected packages: coverage, mccabe, pyflakes, pycodestyle, flake8, mock, more-itertools, zipp, importlib-metadata, pluggy, attrs, atomicwrites, py, pytest, pytest-cov, pytest-timeout Successfully installed atomicwrites-1.3.0 attrs-19.1.0 coverage-4.5.2 flake8-3.6.0 importlib-metadata-0.19 mccabe-0.6.1 mock-1.0.1 more-itertools-7.2.0 pluggy-0.12.0 py-1.8.0 pycodestyle-2.4.0 pyflakes-2.0.0 pytest-4.2.1 pytest-cov-2.6.1 pytest-timeout-1.3.3 zipp-0.6.0 Removing intermediate container 25bfcba4f0d6 ---> e25879268d7b Step 18/19 : COPY . /src ---> 5c2e11292887 Step 19/19 : RUN pip install . ---> Running in f3808abbe2f4 Processing /src Requirement already satisfied: six>=1.4.0 in /usr/local/lib/python3.7/site-packages (from docker==4.1.0.dev0) (1.10.0) Requirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python3.7/site-packages (from docker==4.1.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.1.0.dev0) (2.20.0) 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.1.0.dev0) (2019.6.16) 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.1.0.dev0) (2.5) 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.1.0.dev0) (1.24.3) 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.1.0.dev0) (3.0.4) 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.1.0.dev0-py2.py3-none-any.whl size=139192 sha256=9937ec14c3f0f56b23c79873c79240fe7266fcc185204a3dd0fe02a223c02106 Stored in directory: /tmp/pip-ephem-wheel-cache-fsishm8r/wheels/ee/4d/f0/2a86c10b571f6f2e614d6de70cb18e96cf856ba00408408b23 Successfully built docker Installing collected packages: docker Successfully installed docker-4.1.0.dev0 Removing intermediate container f3808abbe2f4 ---> 5fe8a354a010 Successfully built 5fe8a354a010 Successfully tagged dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e [Pipeline] dockerFingerprintFrom [Pipeline] sh + docker tag dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e [Pipeline] sh + docker push dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e The push refers to repository [docker.io/dockerbuildbot/docker-py] 42501f818bf1: Preparing 5eaa539334cb: Preparing a97fd6c8ad57: Preparing 8527f5bba568: Preparing c52a82a3f54e: Preparing 65b627bc3fca: Preparing 45f18a091636: Preparing 307e0138ccce: Preparing e391913ddda2: Preparing d7c5230f3681: Preparing ec54e8fc631e: Preparing 6578ab9e91bc: Preparing a3675dbf009f: Preparing ec3f4240aff2: Preparing b538019159fc: Preparing 69d95271719a: Preparing f88be44e4bd8: Preparing e505c7600391: Preparing 4d2fd1bf072c: Preparing 6e302bbcacce: Preparing 97e8dd85db4e: Preparing 74e2ede3b29c: Preparing 6d5a64ea8f37: Preparing 660314270d76: Preparing 65b627bc3fca: Waiting 45f18a091636: Waiting 307e0138ccce: Waiting e391913ddda2: Waiting d7c5230f3681: Waiting ec54e8fc631e: Waiting 6578ab9e91bc: Waiting a3675dbf009f: Waiting ec3f4240aff2: Waiting b538019159fc: Waiting 69d95271719a: Waiting f88be44e4bd8: Waiting e505c7600391: Waiting 4d2fd1bf072c: Waiting 6e302bbcacce: Waiting 97e8dd85db4e: Waiting 74e2ede3b29c: Waiting 6d5a64ea8f37: Waiting 660314270d76: Waiting 8527f5bba568: Pushed 42501f818bf1: Pushed 5eaa539334cb: Pushed a97fd6c8ad57: Pushed 65b627bc3fca: Pushed 45f18a091636: Pushed 307e0138ccce: Pushed d7c5230f3681: Pushed c52a82a3f54e: Pushed ec54e8fc631e: Pushed e391913ddda2: Pushed 69d95271719a: Layer already exists 6578ab9e91bc: Pushed f88be44e4bd8: Layer already exists e505c7600391: Layer already exists 4d2fd1bf072c: Layer already exists 97e8dd85db4e: Layer already exists 6e302bbcacce: Layer already exists 74e2ede3b29c: Layer already exists 6d5a64ea8f37: Layer already exists 660314270d76: Layer already exists a3675dbf009f: Pushed b538019159fc: Pushed ec3f4240aff2: Pushed py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e: digest: sha256:cf9dd5ce200ca0b9bb32157a6c4dbd2ba4bca90c55f815c35714f5e467c12f13 size: 5349 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] node Terminated Still waiting to schedule task Waiting for next available executor on ‘ubuntu&&!zfs’ Running on ubuntu-1804-overlay2 (i-011cf5cce979c68b7) in /home/ubuntu/workspace/docker-py_PR-1712 [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-1712@tmp/11824180-5060-4df6-ad99-3e91b5676475/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-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e /src/scripts/versions.py Unable to find image 'dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e' locally py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e: Pulling from dockerbuildbot/docker-py 4ae16bd47783: Already exists bbab4ec87ac4: Already exists 2ea1f7804402: Already exists 96465440c208: Already exists 6ac892e64b94: Already exists 5b3ec9e84adf: Already exists 317202007d7c: Already exists ba1ee226143f: Already exists e33fb8e92c2f: Already exists 4485312d7300: Pulling fs layer 690f0cb5f573: Pulling fs layer eddb215b5ff5: Pulling fs layer 6c7fa8ab44ae: Pulling fs layer 1909c9208a70: Pulling fs layer 7dbd676499f6: Pulling fs layer 833c40d419d8: Pulling fs layer 5889a1996626: Pulling fs layer d94d236a5b43: Pulling fs layer 10db0801156d: Pulling fs layer e9f43d4d2476: Pulling fs layer 9b106825d48e: Pulling fs layer c9db6693c52e: Pulling fs layer 04b97ee80f5d: Pulling fs layer 4be3315db7e7: Pulling fs layer 6c7fa8ab44ae: Waiting 1909c9208a70: Waiting 7dbd676499f6: Waiting 833c40d419d8: Waiting 5889a1996626: Waiting d94d236a5b43: Waiting 10db0801156d: Waiting e9f43d4d2476: Waiting 9b106825d48e: Waiting c9db6693c52e: Waiting 04b97ee80f5d: Waiting 4be3315db7e7: Waiting eddb215b5ff5: Verifying Checksum eddb215b5ff5: Download complete 4485312d7300: Verifying Checksum 4485312d7300: Download complete 1909c9208a70: Verifying Checksum 1909c9208a70: Download complete 6c7fa8ab44ae: Verifying Checksum 6c7fa8ab44ae: Download complete 7dbd676499f6: Verifying Checksum 7dbd676499f6: Download complete 690f0cb5f573: Verifying Checksum 690f0cb5f573: Download complete 833c40d419d8: Verifying Checksum 833c40d419d8: Download complete 4485312d7300: Pull complete 5889a1996626: Verifying Checksum 5889a1996626: Download complete d94d236a5b43: Verifying Checksum d94d236a5b43: Download complete 10db0801156d: Verifying Checksum 10db0801156d: Download complete 9b106825d48e: Verifying Checksum 9b106825d48e: Download complete 04b97ee80f5d: Verifying Checksum 04b97ee80f5d: Download complete e9f43d4d2476: Verifying Checksum e9f43d4d2476: Download complete c9db6693c52e: Verifying Checksum c9db6693c52e: Download complete 4be3315db7e7: Verifying Checksum 4be3315db7e7: Download complete 690f0cb5f573: Pull complete eddb215b5ff5: Pull complete 6c7fa8ab44ae: Pull complete 1909c9208a70: Pull complete 7dbd676499f6: Pull complete 833c40d419d8: Pull complete 5889a1996626: Pull complete d94d236a5b43: Pull complete 10db0801156d: Pull complete e9f43d4d2476: Pull complete 9b106825d48e: Pull complete c9db6693c52e: Pull complete 04b97ee80f5d: Pull complete 4be3315db7e7: Pull complete Digest: sha256:cf9dd5ce200ca0b9bb32157a6c4dbd2ba4bca90c55f815c35714f5e467c12f13 Status: Downloaded newer image for dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] parallel [Pipeline] { (Branch: py2.7_17.06.2-ce) [Pipeline] { (Branch: py2.7_19.03.2-rc1) [Pipeline] { (Branch: py2.7_19.03.1) [Pipeline] { (Branch: py3.7_17.06.2-ce) [Pipeline] { (Branch: py3.7_19.03.2-rc1) [Pipeline] { (Branch: py3.7_19.03.1) [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node Terminated Still waiting to schedule task Waiting for next available executor on ‘ubuntu&&!zfs&&amd64’ Still waiting to schedule task Waiting for next available executor on ‘ubuntu&&!zfs&&amd64’ Still waiting to schedule task Waiting for next available executor on ‘ubuntu&&!zfs&&amd64’ Still waiting to schedule task Waiting for next available executor on ‘ubuntu&&!zfs&&amd64’ Still waiting to schedule task Waiting for next available executor on ‘ubuntu&&!zfs&&amd64’ Still waiting to schedule task Waiting for next available executor on ‘ubuntu&&!zfs&&amd64’ Running on ubuntu-1804-overlay2 (i-0d1f852b8f8dc2ead) in /home/ubuntu/workspace/docker-py_PR-1712 [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-1712@tmp/ac64138f-63cc-4414-91c6-4fc41d3e92dd/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 + uname -m [Pipeline] sh + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-1712:/workspace busybox chown -R 1000:1000 /workspace [Pipeline] echo Removing all docker containers [Pipeline] sh + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=py2.7 / docker=17.06.2-ce) [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Merging remotes/origin/master commit 8acd2c3d084805df0bbeda4697c8ad7215ff7247 into PR head commit a97c861482d2868e65755d8c656aa4fb34954225 Merge succeeded, producing 438c1a0b76f32c232e5eaffcb3ab74f20390f238 Checking out Revision 438c1a0b76f32c232e5eaffcb3ab74f20390f238 (PR-1712) Commit message: "Merge commit '8acd2c3d084805df0bbeda4697c8ad7215ff7247' into HEAD" Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-1712 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/docker-py.git +refs/pull/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/1712/head:refs/remotes/origin/PR-1712 # 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/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master > git config core.sparsecheckout # timeout=10 > git checkout -f a97c861482d2868e65755d8c656aa4fb34954225 > git merge 8acd2c3d084805df0bbeda4697c8ad7215ff7247 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 438c1a0b76f32c232e5eaffcb3ab74f20390f238 > git rev-list --no-walk 4452c67a05e3b300f519496d2c081681e090146e # timeout=10 First time build. Skipping changelog. [Pipeline] sh + docker network create dpy-testnet-2-0-py2.7-17.06.2-ce d4bd01d82183c3d0fffa93a760cc4421ee3ec543eb66ea1b82f86751b54665a6 [Pipeline] sh + docker run -d --name dpy-dind-2-0-py2.7-17.06.2-ce -v /tmp --privileged --network dpy-testnet-2-0-py2.7-17.06.2-ce dockerswarm/dind:17.06.2-ce dockerd -H tcp://0.0.0.0:2375 032637f8a0d1de6b29b94ddf4e3f48d3cc9de245ec80b56145b411c851f3ec2d [Pipeline] sh + docker run --name dpy-tests-2-0-py2.7-17.06.2-ce -e DOCKER_HOST=tcp://dpy-dind-2-0-py2.7-17.06.2-ce:2375 -e DOCKER_TEST_API_VERSION=1.30 --network dpy-testnet-2-0-py2.7-17.06.2-ce --volumes-from dpy-dind-2-0-py2.7-17.06.2-ce dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e py.test -v -rxs --cov=docker tests/ Unable to find image 'dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e' locally py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e: Pulling from dockerbuildbot/docker-py 4ae16bd47783: Already exists bbab4ec87ac4: Already exists 2ea1f7804402: Already exists 96465440c208: Already exists 6ac892e64b94: Already exists 6f7ce750b843: Already exists 886c714e5c8c: Already exists 9ef5af0ee617: Already exists 95b0a7d3ce20: Already exists 06ab0f793871: Pulling fs layer d829e3c85bf0: Pulling fs layer 0dacc36fbe6d: Pulling fs layer 1f07512d14b8: Pulling fs layer 606927784e40: Pulling fs layer c0ad05f3a402: Pulling fs layer 814d06304f33: Pulling fs layer 25f7ee14da15: Pulling fs layer 8dd5868c102a: Pulling fs layer d6ac1c9b028f: Pulling fs layer 04e09a0fd6f9: Pulling fs layer e762d767faab: Pulling fs layer c744c0773eaa: Pulling fs layer 31206a63f58b: Pulling fs layer 208e843d3d9d: Pulling fs layer 1f07512d14b8: Waiting 606927784e40: Waiting c0ad05f3a402: Waiting 814d06304f33: Waiting 25f7ee14da15: Waiting 8dd5868c102a: Waiting d6ac1c9b028f: Waiting 04e09a0fd6f9: Waiting e762d767faab: Waiting c744c0773eaa: Waiting 31206a63f58b: Waiting 208e843d3d9d: Waiting Running on ubuntu-1804-overlay2 (i-00d28cbae43c9d5b6) in /home/ubuntu/workspace/docker-py_PR-1712 [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ 06ab0f793871: Download complete 0dacc36fbe6d: Verifying Checksum 0dacc36fbe6d: Download complete 606927784e40: Verifying Checksum 606927784e40: Download complete 06ab0f793871: Pull complete 1f07512d14b8: Verifying Checksum 1f07512d14b8: Download complete c0ad05f3a402: Verifying Checksum c0ad05f3a402: Download complete 814d06304f33: Verifying Checksum 814d06304f33: Download complete d829e3c85bf0: Verifying Checksum d829e3c85bf0: Download complete 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-1712@tmp/0d05b5b9-1a3b-4c74-8d37-57764db3cdd0/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 25f7ee14da15: Verifying Checksum 25f7ee14da15: Download complete d6ac1c9b028f: Verifying Checksum d6ac1c9b028f: Download complete 8dd5868c102a: Verifying Checksum 8dd5868c102a: Download complete e762d767faab: Verifying Checksum e762d767faab: Download complete + uname -m [Pipeline] sh c744c0773eaa: Verifying Checksum c744c0773eaa: Download complete 04e09a0fd6f9: Verifying Checksum 04e09a0fd6f9: Download complete 31206a63f58b: Verifying Checksum 31206a63f58b: Download complete 208e843d3d9d: Verifying Checksum 208e843d3d9d: Download complete + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-1712:/workspace busybox chown -R 1000:1000 /workspace d829e3c85bf0: Pull complete 0dacc36fbe6d: Pull complete 1f07512d14b8: Pull complete 606927784e40: Pull complete c0ad05f3a402: Pull complete 814d06304f33: Pull complete 25f7ee14da15: Pull complete 8dd5868c102a: Pull complete d6ac1c9b028f: Pull complete [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=py2.7 / docker=19.03.2-rc1) [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags 04e09a0fd6f9: Pull complete e762d767faab: Pull complete c744c0773eaa: Pull complete 31206a63f58b: Pull complete 208e843d3d9d: Pull complete Digest: sha256:46d4b62976d41c41586be157f547336da3a18ae5cce951210f7faa5922cbf148 Status: Downloaded newer image for dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e Fetching without tags Merging remotes/origin/master commit 8acd2c3d084805df0bbeda4697c8ad7215ff7247 into PR head commit a97c861482d2868e65755d8c656aa4fb34954225 Merge succeeded, producing 2c01b113fecf06b8c5afac76b5f778acb65c660b Checking out Revision 2c01b113fecf06b8c5afac76b5f778acb65c660b (PR-1712) Commit message: "Merge commit '8acd2c3d084805df0bbeda4697c8ad7215ff7247' into HEAD" Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-1712 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/docker-py.git +refs/pull/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/1712/head:refs/remotes/origin/PR-1712 # 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/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master > git config core.sparsecheckout # timeout=10 > git checkout -f a97c861482d2868e65755d8c656aa4fb34954225 > git merge 8acd2c3d084805df0bbeda4697c8ad7215ff7247 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c01b113fecf06b8c5afac76b5f778acb65c660b First time build. Skipping changelog. [Pipeline] sh + docker network create dpy-testnet-2-0-py2.7-19.03.2-rc1 e93ef8c7e2303d7ad64bf5e449d9c37cec52ed1c14b6b1bc7a5834fd58075748 [Pipeline] sh + docker run -d --name dpy-dind-2-0-py2.7-19.03.2-rc1 -v /tmp --privileged --network dpy-testnet-2-0-py2.7-19.03.2-rc1 dockerswarm/dind:19.03.2-rc1 dockerd -H tcp://0.0.0.0:2375 02dd89ae1937d25c51336f6fecc7cb73b8ce6d2ee3a513b6558e03ca67c142d1 > git rev-list --no-walk 4452c67a05e3b300f519496d2c081681e090146e # timeout=10 ============================= test session starts ============================== platform linux2 -- Python 2.7.16, pytest-4.2.1, py-1.8.0, pluggy-0.12.0 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: timeout-1.3.3, cov-2.6.1 [Pipeline] sh + docker run --name dpy-tests-2-0-py2.7-19.03.2-rc1 -e DOCKER_HOST=tcp://dpy-dind-2-0-py2.7-19.03.2-rc1:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-2-0-py2.7-19.03.2-rc1 --volumes-from dpy-dind-2-0-py2.7-19.03.2-rc1 dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e py.test -v -rxs --cov=docker tests/ Unable to find image 'dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e' locally py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e: Pulling from dockerbuildbot/docker-py 4ae16bd47783: Already exists bbab4ec87ac4: Already exists 2ea1f7804402: Already exists 96465440c208: Already exists 6ac892e64b94: Already exists 6f7ce750b843: Already exists 886c714e5c8c: Already exists 9ef5af0ee617: Already exists 95b0a7d3ce20: Already exists 06ab0f793871: Pulling fs layer d829e3c85bf0: Pulling fs layer 0dacc36fbe6d: Pulling fs layer 1f07512d14b8: Pulling fs layer 606927784e40: Pulling fs layer c0ad05f3a402: Pulling fs layer 814d06304f33: Pulling fs layer 25f7ee14da15: Pulling fs layer 8dd5868c102a: Pulling fs layer d6ac1c9b028f: Pulling fs layer 04e09a0fd6f9: Pulling fs layer e762d767faab: Pulling fs layer c744c0773eaa: Pulling fs layer 31206a63f58b: Pulling fs layer 208e843d3d9d: Pulling fs layer 8dd5868c102a: Waiting d6ac1c9b028f: Waiting 04e09a0fd6f9: Waiting e762d767faab: Waiting c744c0773eaa: Waiting 31206a63f58b: Waiting 208e843d3d9d: Waiting 1f07512d14b8: Waiting 606927784e40: Waiting c0ad05f3a402: Waiting 814d06304f33: Waiting 25f7ee14da15: Waiting 0dacc36fbe6d: Verifying Checksum 0dacc36fbe6d: Download complete 06ab0f793871: Verifying Checksum 06ab0f793871: Download complete 1f07512d14b8: Verifying Checksum 1f07512d14b8: Download complete 606927784e40: Verifying Checksum 606927784e40: Download complete 814d06304f33: Verifying Checksum 814d06304f33: Download complete c0ad05f3a402: Verifying Checksum c0ad05f3a402: Download complete 06ab0f793871: Pull complete 8dd5868c102a: Verifying Checksum 8dd5868c102a: Download complete d829e3c85bf0: Download complete 25f7ee14da15: Verifying Checksum 25f7ee14da15: Download complete e762d767faab: Verifying Checksum e762d767faab: Download complete d6ac1c9b028f: Verifying Checksum d6ac1c9b028f: Download complete 31206a63f58b: Verifying Checksum 31206a63f58b: Download complete 04e09a0fd6f9: Verifying Checksum 04e09a0fd6f9: Download complete 208e843d3d9d: Verifying Checksum 208e843d3d9d: Download complete c744c0773eaa: Verifying Checksum c744c0773eaa: Download complete d829e3c85bf0: Pull complete 0dacc36fbe6d: Pull complete 1f07512d14b8: Pull complete 606927784e40: Pull complete c0ad05f3a402: Pull complete 814d06304f33: Pull complete 25f7ee14da15: Pull complete 8dd5868c102a: Pull complete d6ac1c9b028f: Pull complete 04e09a0fd6f9: Pull complete e762d767faab: Pull complete c744c0773eaa: Pull complete 31206a63f58b: Pull complete 208e843d3d9d: Pull complete Digest: sha256:46d4b62976d41c41586be157f547336da3a18ae5cce951210f7faa5922cbf148 Status: Downloaded newer image for dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e collecting ... collected 932 items Running on ubuntu-1804-overlay2 (i-012b61c396261681a) in /home/ubuntu/workspace/docker-py_PR-1712 [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-1712@tmp/a4fc995e-81ae-4ba5-a508-1b821cb48584/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 ============================= test session starts ============================== platform linux2 -- Python 2.7.16, pytest-4.2.1, py-1.8.0, pluggy-0.12.0 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: timeout-1.3.3, cov-2.6.1 + uname -m [Pipeline] sh 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%] + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-1712:/workspace busybox chown -R 1000:1000 /workspace tests/integration/api_build_test.py::BuildTest::test_build_gzip_encoding PASSED [ 0%] [Pipeline] echo Removing all docker containers [Pipeline] sh tests/integration/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 0%] + 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=py2.7 / docker=19.03.1) [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags tests/integration/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 0%] Fetching without tags Merging remotes/origin/master commit 8acd2c3d084805df0bbeda4697c8ad7215ff7247 into PR head commit a97c861482d2868e65755d8c656aa4fb34954225 Merge succeeded, producing 300c74e1c6328ee34112e8fe60fd40c547626bd0 Checking out Revision 300c74e1c6328ee34112e8fe60fd40c547626bd0 (PR-1712) Commit message: "Merge commit '8acd2c3d084805df0bbeda4697c8ad7215ff7247' into HEAD" First time build. Skipping changelog. Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-1712 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/docker-py.git +refs/pull/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/1712/head:refs/remotes/origin/PR-1712 # 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/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master > git config core.sparsecheckout # timeout=10 > git checkout -f a97c861482d2868e65755d8c656aa4fb34954225 > git merge 8acd2c3d084805df0bbeda4697c8ad7215ff7247 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 300c74e1c6328ee34112e8fe60fd40c547626bd0 > git rev-list --no-walk 4452c67a05e3b300f519496d2c081681e090146e # timeout=10 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%] [Pipeline] sh tests/integration/api_build_test.py::BuildTest::test_build_labels PASSED [ 1%] collecting ... collected 932 items + docker network create dpy-testnet-2-0-py2.7-19.03.1 72388451ffe31771067345a9563b8d3fba07bb546b5da4ca63f14cde226b46f0 [Pipeline] sh + docker run -d --name dpy-dind-2-0-py2.7-19.03.1 -v /tmp --privileged --network dpy-testnet-2-0-py2.7-19.03.1 dockerswarm/dind:19.03.1 dockerd -H tcp://0.0.0.0:2375 4abe9b66a07d790d8e9a0ebbde30d471bc08225e5f29e700fa65401a8d2a28e9 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] sh 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%] + docker run --name dpy-tests-2-0-py2.7-19.03.1 -e DOCKER_HOST=tcp://dpy-dind-2-0-py2.7-19.03.1:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-2-0-py2.7-19.03.1 --volumes-from dpy-dind-2-0-py2.7-19.03.1 dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e py.test -v -rxs --cov=docker tests/ Unable to find image 'dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e' locally py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e: Pulling from dockerbuildbot/docker-py 4ae16bd47783: Already exists bbab4ec87ac4: Already exists 2ea1f7804402: Already exists 96465440c208: Already exists 6ac892e64b94: Already exists 6f7ce750b843: Already exists 886c714e5c8c: Already exists 9ef5af0ee617: Already exists 95b0a7d3ce20: Already exists 06ab0f793871: Pulling fs layer d829e3c85bf0: Pulling fs layer 0dacc36fbe6d: Pulling fs layer 1f07512d14b8: Pulling fs layer 606927784e40: Pulling fs layer c0ad05f3a402: Pulling fs layer 814d06304f33: Pulling fs layer 25f7ee14da15: Pulling fs layer 8dd5868c102a: Pulling fs layer d6ac1c9b028f: Pulling fs layer 04e09a0fd6f9: Pulling fs layer e762d767faab: Pulling fs layer c744c0773eaa: Pulling fs layer 31206a63f58b: Pulling fs layer 208e843d3d9d: Pulling fs layer 1f07512d14b8: Waiting 606927784e40: Waiting c0ad05f3a402: Waiting 814d06304f33: Waiting 25f7ee14da15: Waiting 8dd5868c102a: Waiting d6ac1c9b028f: Waiting 04e09a0fd6f9: Waiting e762d767faab: Waiting c744c0773eaa: Waiting 31206a63f58b: Waiting 208e843d3d9d: Waiting 0dacc36fbe6d: Download complete 06ab0f793871: Verifying Checksum 06ab0f793871: Download complete 1f07512d14b8: Verifying Checksum 1f07512d14b8: Download complete 606927784e40: Verifying Checksum 606927784e40: Download complete d829e3c85bf0: Verifying Checksum d829e3c85bf0: Download complete c0ad05f3a402: Verifying Checksum c0ad05f3a402: Download complete 814d06304f33: Verifying Checksum 814d06304f33: Download complete 06ab0f793871: Pull complete 8dd5868c102a: Verifying Checksum 8dd5868c102a: Download complete 25f7ee14da15: Verifying Checksum 25f7ee14da15: Download complete 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%] d6ac1c9b028f: Verifying Checksum d6ac1c9b028f: Download complete e762d767faab: Verifying Checksum e762d767faab: Download complete c744c0773eaa: Verifying Checksum c744c0773eaa: Download complete 04e09a0fd6f9: Verifying Checksum 04e09a0fd6f9: Download complete 31206a63f58b: Verifying Checksum 31206a63f58b: Download complete 208e843d3d9d: Verifying Checksum 208e843d3d9d: Download complete d829e3c85bf0: Pull complete 0dacc36fbe6d: Pull complete 1f07512d14b8: Pull complete 606927784e40: Pull complete Running on ubuntu-1804-overlay2 (i-01ce1de453b1756aa) in /home/ubuntu/workspace/docker-py_PR-1712 [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ c0ad05f3a402: Pull complete 814d06304f33: Pull complete 25f7ee14da15: Pull complete 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-1712@tmp/39a01b62-8661-470a-9e7a-663bfb921850/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 8dd5868c102a: Pull complete d6ac1c9b028f: Pull complete + uname -m tests/integration/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 0%] [Pipeline] sh tests/integration/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 0%] + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-1712:/workspace busybox chown -R 1000:1000 /workspace 04e09a0fd6f9: Pull complete e762d767faab: Pull complete c744c0773eaa: Pull complete 31206a63f58b: 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%] 208e843d3d9d: Pull complete Digest: sha256:46d4b62976d41c41586be157f547336da3a18ae5cce951210f7faa5922cbf148 Status: Downloaded newer image for dockerbuildbot/docker-py:py2-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e 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%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 2%] [Pipeline] echo Removing all docker containers [Pipeline] sh tests/integration/api_build_test.py::BuildTest::test_build_labels PASSED [ 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=17.06.2-ce) [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags tests/integration/api_build_test.py::BuildTest::test_build_out_of_context_dockerfile PASSED [ 1%] ============================= test session starts ============================== platform linux2 -- Python 2.7.16, pytest-4.2.1, py-1.8.0, pluggy-0.12.0 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: timeout-1.3.3, cov-2.6.1 Fetching without tags Merging remotes/origin/master commit 8acd2c3d084805df0bbeda4697c8ad7215ff7247 into PR head commit a97c861482d2868e65755d8c656aa4fb34954225 Merge succeeded, producing e629b1f28e1dcdfde596cab5e371efd2301f5fd7 Checking out Revision e629b1f28e1dcdfde596cab5e371efd2301f5fd7 (PR-1712) Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-1712 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/docker-py.git +refs/pull/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/1712/head:refs/remotes/origin/PR-1712 # 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/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master > git config core.sparsecheckout # timeout=10 > git checkout -f a97c861482d2868e65755d8c656aa4fb34954225 > git merge 8acd2c3d084805df0bbeda4697c8ad7215ff7247 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e629b1f28e1dcdfde596cab5e371efd2301f5fd7 Commit message: "Merge commit '8acd2c3d084805df0bbeda4697c8ad7215ff7247' into HEAD" First time build. Skipping changelog. 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] sh tests/integration/api_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 2%] + docker network create dpy-testnet-2-0-py3.7-17.06.2-ce 60c3cc1a5399c8a1a6e68e0e3ee65e9a216c1947e11880aedcf20e094600b024 [Pipeline] sh 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%] + docker run -d --name dpy-dind-2-0-py3.7-17.06.2-ce -v /tmp --privileged --network dpy-testnet-2-0-py3.7-17.06.2-ce dockerswarm/dind:17.06.2-ce dockerd -H tcp://0.0.0.0:2375 4de0395a48c81d940163f659401034f66b2b9de682fc70208707b2f392b1eed0 > git rev-list --no-walk 4452c67a05e3b300f519496d2c081681e090146e # timeout=10 tests/integration/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 1%] [Pipeline] sh + docker run --name dpy-tests-2-0-py3.7-17.06.2-ce -e DOCKER_HOST=tcp://dpy-dind-2-0-py3.7-17.06.2-ce:2375 -e DOCKER_TEST_API_VERSION=1.30 --network dpy-testnet-2-0-py3.7-17.06.2-ce --volumes-from dpy-dind-2-0-py3.7-17.06.2-ce dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e py.test -v -rxs --cov=docker tests/ Unable to find image 'dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e' locally py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e: Pulling from dockerbuildbot/docker-py 4ae16bd47783: Already exists bbab4ec87ac4: Already exists 2ea1f7804402: Already exists 96465440c208: Already exists 6ac892e64b94: Already exists 5b3ec9e84adf: Already exists 317202007d7c: Already exists ba1ee226143f: Already exists e33fb8e92c2f: Already exists 4485312d7300: Pulling fs layer 690f0cb5f573: Pulling fs layer eddb215b5ff5: Pulling fs layer 6c7fa8ab44ae: Pulling fs layer 1909c9208a70: Pulling fs layer 7dbd676499f6: Pulling fs layer 833c40d419d8: Pulling fs layer 5889a1996626: Pulling fs layer d94d236a5b43: Pulling fs layer 10db0801156d: Pulling fs layer e9f43d4d2476: Pulling fs layer 9b106825d48e: Pulling fs layer c9db6693c52e: Pulling fs layer 04b97ee80f5d: Pulling fs layer 4be3315db7e7: Pulling fs layer 6c7fa8ab44ae: Waiting 1909c9208a70: Waiting 7dbd676499f6: Waiting 833c40d419d8: Waiting 5889a1996626: Waiting d94d236a5b43: Waiting 10db0801156d: Waiting e9f43d4d2476: Waiting 9b106825d48e: Waiting c9db6693c52e: Waiting 04b97ee80f5d: Waiting 4be3315db7e7: Waiting eddb215b5ff5: Verifying Checksum eddb215b5ff5: Download complete 4485312d7300: Verifying Checksum 4485312d7300: Download complete 6c7fa8ab44ae: Verifying Checksum 6c7fa8ab44ae: Download complete 1909c9208a70: Verifying Checksum 1909c9208a70: Download complete 4485312d7300: Pull complete 7dbd676499f6: Verifying Checksum 7dbd676499f6: Download complete 690f0cb5f573: Verifying Checksum 690f0cb5f573: Download complete 833c40d419d8: Verifying Checksum 833c40d419d8: Download complete 5889a1996626: Verifying Checksum 5889a1996626: Download complete 10db0801156d: Verifying Checksum 10db0801156d: Download complete d94d236a5b43: Verifying Checksum d94d236a5b43: Download complete 9b106825d48e: Verifying Checksum 9b106825d48e: Download complete Running on ubuntu-1804-overlay2 (i-0ae2dbe3d6ef4c523) in /home/ubuntu/workspace/docker-py_PR-1712 [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ collecting ... collected 932 items c9db6693c52e: Verifying Checksum c9db6693c52e: Download complete 04b97ee80f5d: Verifying Checksum 04b97ee80f5d: Download complete 4be3315db7e7: Verifying Checksum 4be3315db7e7: Download complete e9f43d4d2476: Verifying Checksum e9f43d4d2476: 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 SKIPPED [ 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%] 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-1712@tmp/a6c42c61-3e6b-4902-9e76-c9ec3f0171e8/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 690f0cb5f573: Pull complete eddb215b5ff5: Pull complete 6c7fa8ab44ae: Pull complete 1909c9208a70: Pull complete 7dbd676499f6: Pull complete + uname -m [Pipeline] sh tests/integration/api_client_test.py::ConnectionTimeoutTest::test_timeout PASSED [ 3%] tests/integration/api_client_test.py::UnixconnTest::test_resource_warnings PASSED [ 3%] 833c40d419d8: Pull complete 5889a1996626: Pull complete d94d236a5b43: Pull complete + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-1712:/workspace busybox chown -R 1000:1000 /workspace 10db0801156d: Pull 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%] e9f43d4d2476: Pull complete 9b106825d48e: 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%] [Pipeline] echo Removing all docker containers [Pipeline] sh c9db6693c52e: Pull complete tests/integration/api_build_test.py::BuildTest::test_build_container_with_target PASSED [ 0%] + 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.2-rc1) [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags tests/integration/api_config_test.py::ConfigAPITest::test_remove_config PASSED [ 3%] 04b97ee80f5d: Pull complete 4be3315db7e7: Pull complete Digest: sha256:cf9dd5ce200ca0b9bb32157a6c4dbd2ba4bca90c55f815c35714f5e467c12f13 Status: Downloaded newer image for dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e 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_with_dockerignore PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_gzip_encoding PASSED [ 0%] tests/integration/api_container_test.py::ListContainersTest::test_list_containers PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create PASSED [ 3%] Fetching without tags Merging remotes/origin/master commit 8acd2c3d084805df0bbeda4697c8ad7215ff7247 into PR head commit a97c861482d2868e65755d8c656aa4fb34954225 Merge succeeded, producing 174e35380f3945151a2fac8777d1401debc2d03d Checking out Revision 174e35380f3945151a2fac8777d1401debc2d03d (PR-1712) Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-1712 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/docker-py.git +refs/pull/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/1712/head:refs/remotes/origin/PR-1712 # 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/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master > git config core.sparsecheckout # timeout=10 > git checkout -f a97c861482d2868e65755d8c656aa4fb34954225 > git merge 8acd2c3d084805df0bbeda4697c8ad7215ff7247 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 174e35380f3945151a2fac8777d1401debc2d03d Commit message: "Merge commit '8acd2c3d084805df0bbeda4697c8ad7215ff7247' into HEAD" First time build. Skipping changelog. tests/integration/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 0%] 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 [ 4%] [Pipeline] sh tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options XFAIL [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 0%] + docker network create dpy-testnet-2-0-py3.7-19.03.2-rc1 a263c86edd7ba67a5e42822293512b857aabf1447d087cc56ffe111b40230c89 [Pipeline] sh Running on ubuntu-1804-overlay2 (i-06243118adfb02be3) in /home/ubuntu/workspace/docker-py_PR-1712 [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ ============================= test session starts ============================== platform linux -- Python 3.7.4, pytest-4.2.1, py-1.8.0, pluggy-0.12.0 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: timeout-1.3.3, cov-2.6.1 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-1712@tmp/00b49da5-a1e1-424d-b87c-b89fed60143e/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded > git rev-list --no-walk 4452c67a05e3b300f519496d2c081681e090146e # timeout=10 [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh + docker run -d --name dpy-dind-2-0-py3.7-19.03.2-rc1 -v /tmp --privileged --network dpy-testnet-2-0-py3.7-19.03.2-rc1 dockerswarm/dind:19.03.2-rc1 dockerd -H tcp://0.0.0.0:2375 e81671f24e0c5f9935eae6310dd712f6f124d8097ca5e8c9ea52b14d8265ad37 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%] + uname -m [Pipeline] sh 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_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 2%] + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-1712:/workspace busybox chown -R 1000:1000 /workspace 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_isolation PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_isolation PASSED [ 0%] [Pipeline] sh tests/integration/api_build_test.py::BuildTest::test_build_labels PASSED [ 1%] + docker run --name dpy-tests-2-0-py3.7-19.03.2-rc1 -e DOCKER_HOST=tcp://dpy-dind-2-0-py3.7-19.03.2-rc1:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-2-0-py3.7-19.03.2-rc1 --volumes-from dpy-dind-2-0-py3.7-19.03.2-rc1 dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e py.test -v -rxs --cov=docker tests/ Unable to find image 'dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e' locally py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e: Pulling from dockerbuildbot/docker-py 4ae16bd47783: Already exists bbab4ec87ac4: Already exists 2ea1f7804402: Already exists 96465440c208: Already exists 6ac892e64b94: Already exists 5b3ec9e84adf: Already exists 317202007d7c: Already exists ba1ee226143f: Already exists e33fb8e92c2f: Already exists 4485312d7300: Pulling fs layer 690f0cb5f573: Pulling fs layer eddb215b5ff5: Pulling fs layer 6c7fa8ab44ae: Pulling fs layer 1909c9208a70: Pulling fs layer 7dbd676499f6: Pulling fs layer 833c40d419d8: Pulling fs layer 5889a1996626: Pulling fs layer d94d236a5b43: Pulling fs layer 10db0801156d: Pulling fs layer e9f43d4d2476: Pulling fs layer 9b106825d48e: Pulling fs layer c9db6693c52e: Pulling fs layer 04b97ee80f5d: Pulling fs layer 4be3315db7e7: Pulling fs layer 6c7fa8ab44ae: Waiting 1909c9208a70: Waiting 7dbd676499f6: Waiting 833c40d419d8: Waiting 5889a1996626: Waiting d94d236a5b43: Waiting 10db0801156d: Waiting e9f43d4d2476: Waiting 9b106825d48e: Waiting c9db6693c52e: Waiting 04b97ee80f5d: Waiting 4be3315db7e7: Waiting 4485312d7300: Verifying Checksum 4485312d7300: Download complete eddb215b5ff5: Verifying Checksum eddb215b5ff5: Download complete 6c7fa8ab44ae: Verifying Checksum 6c7fa8ab44ae: Download complete 1909c9208a70: Verifying Checksum 1909c9208a70: Download complete 4485312d7300: Pull complete 833c40d419d8: Verifying Checksum 833c40d419d8: Download complete 7dbd676499f6: Verifying Checksum 7dbd676499f6: Download complete 690f0cb5f573: Verifying Checksum 690f0cb5f573: Download complete d94d236a5b43: Download complete 5889a1996626: Verifying Checksum 5889a1996626: Download complete [Pipeline] echo Removing all docker containers [Pipeline] sh 10db0801156d: Verifying Checksum 10db0801156d: Download complete 9b106825d48e: Verifying Checksum 9b106825d48e: Download complete 04b97ee80f5d: Verifying Checksum 04b97ee80f5d: Download complete c9db6693c52e: Verifying Checksum c9db6693c52e: Download complete e9f43d4d2476: Verifying Checksum e9f43d4d2476: Download complete 4be3315db7e7: Verifying Checksum 4be3315db7e7: Download complete + 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.1) [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-1712 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/docker-py.git +refs/pull/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master 690f0cb5f573: Pull complete eddb215b5ff5: Pull complete tests/integration/api_build_test.py::BuildTest::test_build_out_of_context_dockerfile PASSED [ 1%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_links PASSED [ 4%] 6c7fa8ab44ae: Pull complete 1909c9208a70: Pull complete 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::CreateContainerTest::test_create_with_mac_address PASSED [ 4%] 7dbd676499f6: Pull complete 833c40d419d8: Pull complete 5889a1996626: Pull complete Fetching without tags Merging remotes/origin/master commit 8acd2c3d084805df0bbeda4697c8ad7215ff7247 into PR head commit a97c861482d2868e65755d8c656aa4fb34954225 d94d236a5b43: Pull complete 10db0801156d: Pull complete Merge succeeded, producing 4854af37dd44a9ea1f6f005b4eb009f8f368a76b Checking out Revision 4854af37dd44a9ea1f6f005b4eb009f8f368a76b (PR-1712) > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/1712/head:refs/remotes/origin/PR-1712 # 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/1712/head:refs/remotes/origin/PR-1712 +refs/heads/master:refs/remotes/origin/master > git config core.sparsecheckout # timeout=10 > git checkout -f a97c861482d2868e65755d8c656aa4fb34954225 > git merge 8acd2c3d084805df0bbeda4697c8ad7215ff7247 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4854af37dd44a9ea1f6f005b4eb009f8f368a76b Commit message: "Merge commit '8acd2c3d084805df0bbeda4697c8ad7215ff7247' into HEAD" First time build. Skipping changelog. 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::CreateContainerTest::test_create_with_memory_constraints_with_int PASSED [ 5%] collecting ... collected 932 items tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_str PASSED [ 5%] e9f43d4d2476: Pull complete [Pipeline] sh tests/integration/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 1%] 9b106825d48e: Pull complete + docker network create dpy-testnet-2-0-py3.7-19.03.1 f4e4d4e02198605c10b133984defbfc1d958b448160338c4e4ba3c7ec768b6b7 [Pipeline] sh 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%] c9db6693c52e: Pull complete 04b97ee80f5d: Pull complete > git rev-list --no-walk 4452c67a05e3b300f519496d2c081681e090146e # timeout=10 + docker run -d --name dpy-dind-2-0-py3.7-19.03.1 -v /tmp --privileged --network dpy-testnet-2-0-py3.7-19.03.1 dockerswarm/dind:19.03.1 dockerd -H tcp://0.0.0.0:2375 59af51de7d25553c02a7aa898bb0cf8c5d3d4598fd16f1af57dc9a520b09a0d2 tests/integration/api_client_test.py::ConnectionTimeoutTest::test_timeout PASSED [ 3%] tests/integration/api_client_test.py::UnixconnTest::test_resource_warnings PASSED [ 3%] 4be3315db7e7: Pull complete Digest: sha256:cf9dd5ce200ca0b9bb32157a6c4dbd2ba4bca90c55f815c35714f5e467c12f13 Status: Downloaded newer image for dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e [Pipeline] sh 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%] + docker run --name dpy-tests-2-0-py3.7-19.03.1 -e DOCKER_HOST=tcp://dpy-dind-2-0-py3.7-19.03.1:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-2-0-py3.7-19.03.1 --volumes-from dpy-dind-2-0-py3.7-19.03.1 dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e py.test -v -rxs --cov=docker tests/ Unable to find image 'dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e' locally py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e: Pulling from dockerbuildbot/docker-py 4ae16bd47783: Already exists bbab4ec87ac4: Already exists 2ea1f7804402: Already exists 96465440c208: Already exists 6ac892e64b94: Already exists 5b3ec9e84adf: Already exists 317202007d7c: Already exists ba1ee226143f: Already exists e33fb8e92c2f: Already exists 4485312d7300: Pulling fs layer 690f0cb5f573: Pulling fs layer eddb215b5ff5: Pulling fs layer 6c7fa8ab44ae: Pulling fs layer 1909c9208a70: Pulling fs layer 7dbd676499f6: Pulling fs layer 833c40d419d8: Pulling fs layer 5889a1996626: Pulling fs layer d94d236a5b43: Pulling fs layer 10db0801156d: Pulling fs layer e9f43d4d2476: Pulling fs layer 9b106825d48e: Pulling fs layer c9db6693c52e: Pulling fs layer 04b97ee80f5d: Pulling fs layer 4be3315db7e7: Pulling fs layer 6c7fa8ab44ae: Waiting 1909c9208a70: Waiting 7dbd676499f6: Waiting 833c40d419d8: Waiting 5889a1996626: Waiting d94d236a5b43: Waiting 10db0801156d: Waiting e9f43d4d2476: Waiting 9b106825d48e: Waiting c9db6693c52e: Waiting 04b97ee80f5d: Waiting 4be3315db7e7: Waiting 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%] eddb215b5ff5: Verifying Checksum eddb215b5ff5: Download complete 4485312d7300: Verifying Checksum 4485312d7300: Download complete 6c7fa8ab44ae: Verifying Checksum 6c7fa8ab44ae: Download complete 1909c9208a70: Verifying Checksum 1909c9208a70: Download complete 7dbd676499f6: Verifying Checksum 7dbd676499f6: Download complete 690f0cb5f573: Verifying Checksum 690f0cb5f573: Download complete 833c40d419d8: Verifying Checksum 833c40d419d8: Download complete 4485312d7300: Pull complete d94d236a5b43: Verifying Checksum d94d236a5b43: Download complete tests/integration/api_build_test.py::BuildTest::test_build_gzip_encoding PASSED [ 0%] 10db0801156d: Verifying Checksum 10db0801156d: Download complete 5889a1996626: Verifying Checksum 5889a1996626: Download complete 9b106825d48e: Verifying Checksum 9b106825d48e: Download complete 04b97ee80f5d: Verifying Checksum 04b97ee80f5d: Download complete c9db6693c52e: Verifying Checksum c9db6693c52e: Download complete e9f43d4d2476: Verifying Checksum e9f43d4d2476: Download complete 4be3315db7e7: Verifying Checksum 4be3315db7e7: Download complete 690f0cb5f573: Pull complete eddb215b5ff5: Pull complete 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%] 6c7fa8ab44ae: Pull complete 1909c9208a70: Pull complete ============================= test session starts ============================== platform linux -- Python 3.7.4, pytest-4.2.1, py-1.8.0, pluggy-0.12.0 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: timeout-1.3.3, cov-2.6.1 tests/integration/api_config_test.py::ConfigAPITest::test_remove_config PASSED [ 3%] 7dbd676499f6: Pull complete tests/integration/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 0%] tests/integration/api_container_test.py::ListContainersTest::test_list_containers PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_ints PASSED [ 5%] 833c40d419d8: Pull complete 5889a1996626: Pull complete d94d236a5b43: Pull complete tests/integration/api_container_test.py::CreateContainerTest::test_create PASSED [ 3%] 10db0801156d: 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::CreateContainerTest::test_group_id_strings PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 2%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 0%] e9f43d4d2476: Pull complete 9b106825d48e: Pull complete c9db6693c52e: Pull complete 04b97ee80f5d: Pull complete 4be3315db7e7: Pull complete Digest: sha256:cf9dd5ce200ca0b9bb32157a6c4dbd2ba4bca90c55f815c35714f5e467c12f13 Status: Downloaded newer image for dockerbuildbot/docker-py:py3-d3674bfdbd7d996aab2f50336a7a65a77aa1a14e 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 [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options XFAIL [ 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_build_test.py::BuildTest::test_build_isolation PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_labels PASSED [ 1%] 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%] collecting ... collected 932 items 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_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 2%] ============================= test session starts ============================== platform linux -- Python 3.7.4, pytest-4.2.1, py-1.8.0, pluggy-0.12.0 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: timeout-1.3.3, cov-2.6.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_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_create_with_links PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 1%] 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_abs_dockerfile PASSED [ 0%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_int PASSED [ 5%] 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_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%] collecting ... collected 932 items tests/integration/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 0%] tests/integration/api_client_test.py::ConnectionTimeoutTest::test_timeout PASSED [ 3%] 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_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%] tests/integration/api_build_test.py::BuildTest::test_build_labels PASSED [ 1%] 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_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_config_test.py::ConfigAPITest::test_remove_config PASSED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_gzip_encoding PASSED [ 0%] tests/integration/api_build_test.py::BuildTest::test_build_out_of_context_dockerfile 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::ListContainersTest::test_list_containers PASSED [ 3%] 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::CreateContainerTest::test_create_with_tmpfs PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_uts_mode PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 2%] tests/integration/api_container_test.py::CreateContainerTest::test_create PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_ints PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_abs_dockerfile PASSED [ 0%] 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::CreateContainerTest::test_create_container_with_volumes_from PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_auto_remove PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_strings PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_in_context_dockerfile PASSED [ 0%] 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_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%] 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_build_test.py::BuildTest::test_build_labels PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 2%] 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_container_test.py::CreateContainerTest::test_create_with_links PASSED [ 4%] 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::CreateContainerTest::test_create_with_mac_address PASSED [ 4%] tests/integration/api_build_test.py::BuildTest::test_build_streaming PASSED [ 1%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_int PASSED [ 5%] tests/integration/api_build_test.py::BuildTest::test_build_with_buildargs PASSED [ 1%] tests/integration/api_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 2%] 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_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 SKIPPED [ 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 [ 3%] tests/integration/api_client_test.py::UnixconnTest::test_resource_warnings PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_invalid_log_driver_raises_exception PASSED [ 6%] 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_container_test.py::CreateContainerTest::test_valid_log_driver_and_log_opt PASSED [ 6%] 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_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 2%] 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_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::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_config_test.py::ConfigAPITest::test_remove_config PASSED [ 3%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_ro PASSED [ 6%] 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_build_test.py::BuildTest::test_build_with_dockerignore PASSED [ 2%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_ints PASSED [ 5%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_rw PASSED [ 6%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_strings PASSED [ 5%] 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::CreateContainerTest::test_create_container_with_volumes_from PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_auto_remove PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_cpu_rt_options XFAIL [ 4%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_volume_mount PASSED [ 6%] 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::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_client_test.py::ConnectionTimeoutTest::test_timeout PASSED [ 3%] tests/integration/api_client_test.py::UnixconnTest::test_resource_warnings PASSED [ 3%] tests/integration/api_build_test.py::BuildTest::test_build_with_extra_hosts PASSED [ 2%] tests/integration/api_container_test.py::ArchiveTest::test_copy_directory_to_container PASSED [ 6%] 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_container_test.py::ArchiveTest::test_copy_file_to_container PASSED [ 7%] 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::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_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_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_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 [ 3%] tests/integration/api_client_test.py::UnixconnTest::test_resource_warnings 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 [ 4%] 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_memory_constraints_with_int PASSED [ 5%] 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_container_test.py::CreateContainerTest::test_create_with_device_cgroup_rules PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_str PASSED [ 5%] 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::StartContainerTest::test_run_shlex_commands PASSED [ 7%] 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::StartContainerTest::test_start_container PASSED [ 7%] tests/integration/api_config_test.py::ConfigAPITest::test_remove_config PASSED [ 3%] tests/integration/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 7%] 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_with_restart_policy PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_links PASSED [ 4%] 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_create_container_with_volumes_from PASSED [ 3%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_auto_remove PASSED [ 4%] 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_mac_address PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_invalid_log_driver_raises_exception PASSED [ 6%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_log_driver_and_log_opt PASSED [ 6%] 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::CreateContainerTest::test_group_id_ints PASSED [ 5%] 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_memory_constraints_with_int PASSED [ 5%] 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_group_id_strings PASSED [ 5%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_rw PASSED [ 6%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_str PASSED [ 5%] 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_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::CreateContainerTest::test_create_with_links PASSED [ 4%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_mac_address PASSED [ 4%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_volume_mount PASSED [ 6%] 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_create_with_memory_constraints_with_int PASSED [ 5%] tests/integration/api_container_test.py::ArchiveTest::test_copy_directory_to_container PASSED [ 6%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_ints PASSED [ 5%] tests/integration/api_container_test.py::CreateContainerTest::test_create_with_memory_constraints_with_str PASSED [ 5%] tests/integration/api_container_test.py::ArchiveTest::test_copy_file_to_container PASSED [ 7%] tests/integration/api_container_test.py::CreateContainerTest::test_group_id_strings PASSED [ 5%] 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::WaitTest::test_wait_with_condition PASSED [ 7%] 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::CreateContainerTest::test_invalid_log_driver_raises_exception PASSED [ 6%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_log_driver_and_log_opt PASSED [ 6%] 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::WaitTest::test_wait_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs PASSED [ 8%] tests/integration/api_container_test.py::StartContainerTest::test_run_shlex_commands PASSED [ 7%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow PASSED [ 8%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts PASSED [ 6%] 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::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::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::ArchiveTest::test_copy_directory_to_container PASSED [ 6%] tests/integration/api_container_test.py::LogsTest::test_logs_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_container_test.py::ArchiveTest::test_copy_file_to_container PASSED [ 7%] tests/integration/api_container_test.py::LogsTest::test_logs_with_tail_0 PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs_with_until SKIPPED [ 8%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_archive_from_container PASSED [ 7%] 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 [ 9%] 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::WaitTest::test_wait PASSED [ 7%] tests/integration/api_container_test.py::StopTest::test_stop PASSED [ 9%] 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::StopTest::test_stop_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_invalid_log_driver_raises_exception PASSED [ 6%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_log_driver_and_log_opt PASSED [ 6%] 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::KillTest::test_kill PASSED [ 9%] tests/integration/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 7%] tests/integration/api_container_test.py::WaitTest::test_wait_with_condition PASSED [ 7%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_ro PASSED [ 6%] tests/integration/api_container_test.py::KillTest::test_kill_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_invalid_log_driver_raises_exception PASSED [ 6%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_log_driver_and_log_opt PASSED [ 6%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_rw PASSED [ 6%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_integer PASSED [ 9%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_config_specified PASSED [ 6%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_name PASSED [ 9%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts PASSED [ 6%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_log_driver_specified PASSED [ 6%] tests/integration/api_container_test.py::PortTest::test_port PASSED [ 9%] tests/integration/api_container_test.py::ContainerTopTest::test_top PASSED [ 9%] tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs PASSED [ 10%] tests/integration/api_container_test.py::WaitTest::test_wait_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts_ro PASSED [ 6%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_ro PASSED [ 6%] tests/integration/api_container_test.py::LogsTest::test_logs PASSED [ 8%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_volume_mount PASSED [ 6%] tests/integration/api_container_test.py::WaitTest::test_wait PASSED [ 7%] tests/integration/api_container_test.py::CreateContainerTest::test_invalid_log_driver_raises_exception PASSED [ 6%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_rw PASSED [ 6%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow PASSED [ 8%] tests/integration/api_container_test.py::ArchiveTest::test_copy_directory_to_container PASSED [ 6%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_log_driver_and_log_opt PASSED [ 6%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_config_specified PASSED [ 6%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts PASSED [ 6%] tests/integration/api_container_test.py::ArchiveTest::test_copy_file_to_container PASSED [ 7%] tests/integration/api_container_test.py::CreateContainerTest::test_valid_no_log_driver_specified PASSED [ 6%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_archive_from_container PASSED [ 7%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts_ro PASSED [ 6%] tests/integration/api_container_test.py::RestartContainerTest::test_restart PASSED [ 10%] 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::VolumeBindTest::test_create_with_volume_mount PASSED [ 6%] 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::VolumeBindTest::test_create_with_binds_ro PASSED [ 6%] tests/integration/api_container_test.py::LogsTest::test_logs_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_container_test.py::ArchiveTest::test_copy_directory_to_container PASSED [ 6%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_binds_rw PASSED [ 6%] tests/integration/api_container_test.py::LogsTest::test_logs_with_tail_0 PASSED [ 8%] tests/integration/api_container_test.py::WaitTest::test_wait_with_condition PASSED [ 7%] tests/integration/api_container_test.py::LogsTest::test_logs_with_until PASSED [ 8%] tests/integration/api_container_test.py::ArchiveTest::test_copy_file_to_container PASSED [ 7%] tests/integration/api_container_test.py::VolumeBindTest::test_create_with_mounts PASSED [ 6%] tests/integration/api_container_test.py::DiffTest::test_diff PASSED [ 8%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_archive_from_container PASSED [ 7%] tests/integration/api_container_test.py::DiffTest::test_diff_with_dict_instead_of_id PASSED [ 9%] 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::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::ArchiveTest::test_copy_directory_to_container PASSED [ 6%] tests/integration/api_container_test.py::StartContainerTest::test_run_shlex_commands PASSED [ 7%] tests/integration/api_container_test.py::WaitTest::test_wait_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_container_test.py::ArchiveTest::test_copy_file_to_container PASSED [ 7%] tests/integration/api_container_test.py::LogsTest::test_logs PASSED [ 8%] tests/integration/api_container_test.py::StartContainerTest::test_start_container PASSED [ 7%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_low_timeout PASSED [ 10%] tests/integration/api_container_test.py::ArchiveTest::test_get_file_archive_from_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::RemoveContainerTest::test_remove PASSED [ 10%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow PASSED [ 8%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_container_test.py::StopTest::test_stop PASSED [ 9%] 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::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::LogsTest::test_logs_streaming_and_follow_and_cancel PASSED [ 8%] tests/integration/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 7%] tests/integration/api_container_test.py::StopTest::test_stop_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::LogsTest::test_logs_tail_option PASSED [ 8%] tests/integration/api_container_test.py::KillTest::test_kill PASSED [ 9%] 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_container_test.py::KillTest::test_kill_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::LogsTest::test_logs_with_until PASSED [ 8%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal PASSED [ 9%] tests/integration/api_container_test.py::WaitTest::test_wait PASSED [ 7%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_stream_and_cancel PASSED [ 10%] tests/integration/api_container_test.py::DiffTest::test_diff PASSED [ 8%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_integer PASSED [ 9%] 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_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_arg PASSED [ 10%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_name PASSED [ 9%] 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_detach_with_config_file PASSED [ 11%] tests/integration/api_container_test.py::PortTest::test_port PASSED [ 9%] tests/integration/api_container_test.py::WaitTest::test_wait PASSED [ 7%] tests/integration/api_container_test.py::ContainerTopTest::test_top PASSED [ 9%] tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs PASSED [ 10%] tests/integration/api_container_test.py::StopTest::test_stop PASSED [ 9%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_default PASSED [ 11%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_reading_socket PASSED [ 11%] tests/integration/api_container_test.py::WaitTest::test_wait_with_condition PASSED [ 7%] 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_container_test.py::WaitTest::test_wait PASSED [ 7%] tests/integration/api_container_test.py::PruneTest::test_prune_containers PASSED [ 11%] tests/integration/api_container_test.py::StopTest::test_stop_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::RestartContainerTest::test_restart PASSED [ 10%] tests/integration/api_container_test.py::WaitTest::test_wait_with_condition PASSED [ 7%] tests/integration/api_container_test.py::KillTest::test_kill PASSED [ 9%] 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_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::KillTest::test_kill_with_signal_integer PASSED [ 9%] tests/integration/api_container_test.py::WaitTest::test_wait_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_container_test.py::ContainerUpdateTest::test_update_container PASSED [ 11%] tests/integration/api_container_test.py::LogsTest::test_logs PASSED [ 8%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpu_shares PASSED [ 12%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_name PASSED [ 9%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow PASSED [ 8%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpuset PASSED [ 12%] tests/integration/api_container_test.py::ContainerCPUTest::test_create_with_runtime PASSED [ 12%] tests/integration/api_container_test.py::PortTest::test_port PASSED [ 9%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_container_test.py::WaitTest::test_wait_with_condition PASSED [ 7%] tests/integration/api_container_test.py::WaitTest::test_wait_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_container_test.py::LinkTest::test_remove_link PASSED [ 12%] tests/integration/api_container_test.py::ContainerTopTest::test_top PASSED [ 9%] tests/integration/api_container_test.py::LogsTest::test_logs PASSED [ 8%] tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs PASSED [ 10%] 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_streaming_and_follow PASSED [ 8%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_config_file PASSED [ 12%] 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_streaming_and_follow_and_cancel 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_tail_0 PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs_with_until SKIPPED [ 8%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_low_timeout PASSED [ 10%] tests/integration/api_container_test.py::LogsTest::test_logs_tail_option PASSED [ 8%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_root PASSED [ 12%] tests/integration/api_container_test.py::DiffTest::test_diff PASSED [ 8%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove PASSED [ 10%] tests/integration/api_container_test.py::LogsTest::test_logs_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_user PASSED [ 12%] tests/integration/api_container_test.py::RestartContainerTest::test_restart PASSED [ 10%] tests/integration/api_container_test.py::WaitTest::test_wait_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs PASSED [ 8%] tests/integration/api_container_test.py::DiffTest::test_diff_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_streaming PASSED [ 12%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_container_test.py::LogsTest::test_logs_streaming_and_follow PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs_with_tail_0 PASSED [ 8%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream PASSED [ 10%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_string 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_with_env PASSED [ 13%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_workdir SKIPPED [ 13%] tests/integration/api_container_test.py::DiffTest::test_diff PASSED [ 8%] 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::LogsTest::test_logs_streaming_and_follow_and_cancel PASSED [ 8%] tests/integration/api_container_test.py::DiffTest::test_diff_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::StopTest::test_stop PASSED [ 9%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_socket PASSED [ 13%] tests/integration/api_container_test.py::LogsTest::test_logs_tail_option PASSED [ 8%] tests/integration/api_exec_test.py::ExecTest::test_execute_command PASSED [ 13%] 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_with_dict_instead_of_id PASSED [ 8%] tests/integration/api_exec_test.py::ExecTest::test_execute_command_with_proxy_env PASSED [ 13%] tests/integration/api_container_test.py::LogsTest::test_logs_with_tail_0 PASSED [ 8%] tests/integration/api_container_test.py::LogsTest::test_logs_with_until PASSED [ 8%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_stream_and_cancel PASSED [ 10%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_demux PASSED [ 13%] tests/integration/api_container_test.py::StopTest::test_stop PASSED [ 9%] tests/integration/api_container_test.py::DiffTest::test_diff PASSED [ 8%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_arg PASSED [ 10%] tests/integration/api_container_test.py::DiffTest::test_diff_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_no_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_container_test.py::AttachContainerTest::test_detach_with_config_file PASSED [ 11%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_low_timeout PASSED [ 10%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_demux PASSED [ 14%] tests/integration/api_container_test.py::KillTest::test_kill_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove PASSED [ 10%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal PASSED [ 9%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_integer PASSED [ 9%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_no_demux PASSED [ 14%] 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::StopTest::test_stop PASSED [ 9%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream PASSED [ 10%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_default PASSED [ 11%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_name PASSED [ 9%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_demux PASSED [ 14%] tests/integration/api_container_test.py::KillTest::test_kill_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_reading_socket PASSED [ 11%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal PASSED [ 9%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_streaming PASSED [ 11%] tests/integration/api_container_test.py::PortTest::test_port PASSED [ 9%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_integer PASSED [ 9%] tests/integration/api_container_test.py::PauseTest::test_pause_unpause PASSED [ 11%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_no_demux PASSED [ 14%] tests/integration/api_container_test.py::ContainerTopTest::test_top PASSED [ 9%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_name PASSED [ 9%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_demux PASSED [ 14%] tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs PASSED [ 10%] tests/integration/api_container_test.py::StopTest::test_stop_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_container_test.py::PruneTest::test_prune_containers PASSED [ 11%] tests/integration/api_container_test.py::PortTest::test_port PASSED [ 9%] tests/integration/api_container_test.py::KillTest::test_kill PASSED [ 9%] tests/integration/api_container_test.py::ContainerTopTest::test_top PASSED [ 9%] tests/integration/api_container_test.py::KillTest::test_kill_with_dict_instead_of_id PASSED [ 9%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux PASSED [ 14%] tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs PASSED [ 10%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal PASSED [ 9%] 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_integer PASSED [ 9%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_arg PASSED [ 10%] tests/integration/api_container_test.py::GetContainerStatsTest::test_get_container_stats_no_stream PASSED [ 11%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_fails PASSED [ 14%] tests/integration/api_container_test.py::KillTest::test_kill_with_signal_name PASSED [ 9%] tests/integration/api_container_test.py::ContainerUpdateTest::test_restart_policy_update PASSED [ 11%] tests/integration/api_container_test.py::RestartContainerTest::test_restart PASSED [ 10%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_config_file PASSED [ 11%] tests/integration/api_container_test.py::ContainerUpdateTest::test_update_container PASSED [ 11%] tests/integration/api_container_test.py::PortTest::test_port PASSED [ 9%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpu_shares PASSED [ 12%] tests/integration/api_container_test.py::ContainerTopTest::test_top PASSED [ 9%] 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::RestartContainerTest::test_restart PASSED [ 10%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpuset PASSED [ 12%] tests/integration/api_container_test.py::ContainerTopTest::test_top_with_psargs PASSED [ 10%] tests/integration/api_container_test.py::ContainerCPUTest::test_create_with_runtime PASSED [ 12%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_default PASSED [ 11%] 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_container_test.py::LinkTest::test_remove_link PASSED [ 12%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_container_test.py::PauseTest::test_pause_unpause PASSED [ 11%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_config_file PASSED [ 12%] tests/integration/api_container_test.py::PruneTest::test_prune_containers PASSED [ 11%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_container_test.py::RestartContainerTest::test_restart PASSED [ 10%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_start_period PASSED [ 15%] tests/integration/api_image_test.py::ListImagesTest::test_images PASSED [ 15%] tests/integration/api_image_test.py::ListImagesTest::test_images_quiet PASSED [ 15%] 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_detach_with_default PASSED [ 12%] tests/integration/api_image_test.py::CommitTest::test_commit PASSED [ 15%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_root PASSED [ 12%] tests/integration/api_image_test.py::CommitTest::test_commit_with_changes PASSED [ 15%] tests/integration/api_container_test.py::GetContainerStatsTest::test_get_container_stats_no_stream PASSED [ 11%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_user PASSED [ 12%] 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 [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_file PASSED [ 16%] tests/integration/api_container_test.py::ContainerUpdateTest::test_restart_policy_update PASSED [ 11%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_streaming PASSED [ 12%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_stream PASSED [ 16%] 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_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::ContainerUpdateTest::test_update_container PASSED [ 11%] 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_container_test.py::RestartContainerTest::test_restart_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_string PASSED [ 12%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpu_shares PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_env PASSED [ 13%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream PASSED [ 10%] 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::ContainerCPUTest::test_container_cpuset PASSED [ 12%] tests/integration/api_container_test.py::ContainerCPUTest::test_create_with_runtime PASSED [ 12%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_disconnect_container PASSED [ 17%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_workdir PASSED [ 13%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream PASSED [ 10%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_force_disconnect_container PASSED [ 17%] tests/integration/api_container_test.py::LinkTest::test_remove_link 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_network_test.py::TestNetworks::test_connect_on_container_create PASSED [ 17%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_config_file PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_socket PASSED [ 13%] tests/integration/api_container_test.py::RestartContainerTest::test_restart_with_low_timeout PASSED [ 10%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_aliases PASSED [ 17%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove PASSED [ 10%] tests/integration/api_exec_test.py::ExecTest::test_execute_command PASSED [ 13%] tests/integration/api_container_test.py::RemoveContainerTest::test_remove_with_dict_instead_of_id PASSED [ 10%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_default PASSED [ 12%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream PASSED [ 10%] tests/integration/api_exec_test.py::ExecTest::test_execute_command_with_proxy_env PASSED [ 13%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_stream_and_cancel PASSED [ 10%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv4_address PASSED [ 17%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_root PASSED [ 12%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_arg PASSED [ 10%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_stream_and_cancel PASSED [ 10%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_user PASSED [ 12%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv6_address PASSED [ 17%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_demux PASSED [ 13%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_arg PASSED [ 10%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_streaming PASSED [ 12%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_config_file PASSED [ 11%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_string PASSED [ 12%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_no_demux PASSED [ 13%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_config_file PASSED [ 11%] 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_network_test.py::TestNetworks::test_create_inspect_network_with_scope SKIPPED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_internal_networks PASSED [ 18%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_env PASSED [ 13%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_demux PASSED [ 14%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_workdir PASSED [ 13%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_default PASSED [ 11%] tests/integration/api_container_test.py::AttachContainerTest::test_attach_stream_and_cancel PASSED [ 10%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_reading_socket PASSED [ 11%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_default PASSED [ 11%] tests/integration/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 13%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_no_demux PASSED [ 14%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_streaming PASSED [ 11%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_reading_socket PASSED [ 11%] tests/integration/api_network_test.py::TestNetworks::test_create_network_attachable PASSED [ 18%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_arg PASSED [ 10%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 13%] tests/integration/api_container_test.py::PauseTest::test_pause_unpause PASSED [ 11%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_streaming PASSED [ 11%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_socket PASSED [ 13%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_demux PASSED [ 14%] tests/integration/api_container_test.py::PauseTest::test_pause_unpause PASSED [ 11%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_config_file PASSED [ 11%] tests/integration/api_exec_test.py::ExecTest::test_execute_command PASSED [ 13%] 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_no_demux PASSED [ 14%] tests/integration/api_exec_test.py::ExecTest::test_execute_command_with_proxy_env PASSED [ 13%] tests/integration/api_container_test.py::PruneTest::test_prune_containers PASSED [ 11%] tests/integration/api_container_test.py::AttachContainerTest::test_detach_with_default PASSED [ 11%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_reading_socket PASSED [ 11%] tests/integration/api_container_test.py::GetContainerStatsTest::test_get_container_stats_no_stream PASSED [ 11%] 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_no_stream_demux PASSED [ 13%] tests/integration/api_container_test.py::AttachContainerTest::test_run_container_streaming PASSED [ 11%] tests/integration/api_container_test.py::ContainerUpdateTest::test_restart_policy_update PASSED [ 11%] tests/integration/api_container_test.py::PauseTest::test_pause_unpause PASSED [ 11%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux PASSED [ 14%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_no_demux PASSED [ 13%] tests/integration/api_container_test.py::ContainerUpdateTest::test_update_container PASSED [ 11%] 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::PruneTest::test_prune_containers 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 [ 12%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ingress PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ipv6_enabled PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_host_driver_fails PASSED [ 18%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_demux PASSED [ 14%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_ipam_config PASSED [ 18%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpu_shares PASSED [ 12%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpuset PASSED [ 12%] tests/integration/api_container_test.py::ContainerCPUTest::test_create_with_runtime PASSED [ 12%] 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_healthcheck_test.py::HealthcheckTest::test_healthcheck_fails PASSED [ 14%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpuset PASSED [ 12%] tests/integration/api_container_test.py::ContainerCPUTest::test_create_with_runtime PASSED [ 12%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_no_demux PASSED [ 14%] tests/integration/api_network_test.py::TestNetworks::test_create_with_aliases PASSED [ 18%] tests/integration/api_container_test.py::LinkTest::test_remove_link PASSED [ 12%] tests/integration/api_container_test.py::GetContainerStatsTest::test_get_container_stats_no_stream PASSED [ 11%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv4_address PASSED [ 19%] tests/integration/api_container_test.py::LinkTest::test_remove_link PASSED [ 12%] tests/integration/api_container_test.py::ContainerUpdateTest::test_restart_policy_update PASSED [ 11%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_demux PASSED [ 14%] 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::ContainerUpdateTest::test_update_container PASSED [ 11%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_config_file PASSED [ 12%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv6_address PASSED [ 19%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_config_file PASSED [ 12%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_no_demux PASSED [ 14%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpu_shares PASSED [ 12%] tests/integration/api_network_test.py::TestNetworks::test_create_with_linklocal_ips PASSED [ 19%] tests/integration/api_container_test.py::ContainerCPUTest::test_container_cpuset PASSED [ 12%] tests/integration/api_container_test.py::ContainerCPUTest::test_create_with_runtime PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_default PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_default PASSED [ 12%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_demux PASSED [ 14%] tests/integration/api_container_test.py::LinkTest::test_remove_link PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_root PASSED [ 12%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux PASSED [ 14%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_root 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_exec_test.py::ExecTest::test_exec_command_as_user PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_user PASSED [ 12%] tests/integration/api_network_test.py::TestNetworks::test_remove_network PASSED [ 19%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_config_file PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_streaming PASSED [ 12%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_start_period PASSED [ 15%] tests/integration/api_image_test.py::ListImagesTest::test_images PASSED [ 15%] tests/integration/api_image_test.py::ListImagesTest::test_images_quiet PASSED [ 15%] 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_command_streaming PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_string PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_string PASSED [ 12%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_fails PASSED [ 14%] tests/integration/api_plugin_test.py::PluginTest::test_configure_plugin PASSED [ 19%] tests/integration/api_plugin_test.py::PluginTest::test_create_plugin PASSED [ 20%] tests/integration/api_image_test.py::CommitTest::test_commit PASSED [ 15%] tests/integration/api_exec_test.py::ExecTest::test_detach_with_default PASSED [ 12%] tests/integration/api_image_test.py::CommitTest::test_commit_with_changes PASSED [ 15%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_env PASSED [ 13%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_workdir SKIPPED [ 13%] tests/integration/api_plugin_test.py::PluginTest::test_disable_plugin PASSED [ 20%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_env PASSED [ 13%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_root PASSED [ 12%] tests/integration/api_image_test.py::RemoveImageTest::test_remove PASSED [ 15%] tests/integration/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 13%] tests/integration/api_plugin_test.py::PluginTest::test_enable_plugin PASSED [ 20%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_workdir PASSED [ 13%] 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 [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_file PASSED [ 16%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_as_user PASSED [ 12%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_stream PASSED [ 16%] 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::ExecTest::test_exec_inspect PASSED [ 13%] 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_image_test.py::ImportImageTest::test_import_image_with_changes PASSED [ 16%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 13%] tests/integration/api_plugin_test.py::PluginTest::test_force_remove_plugin PASSED [ 20%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_streaming PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 13%] 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_exec_test.py::ExecTest::test_exec_start_socket PASSED [ 13%] tests/integration/api_plugin_test.py::PluginTest::test_inspect_plugin PASSED [ 20%] tests/integration/api_image_test.py::InspectDistributionTest::test_inspect_distribution PASSED [ 16%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_string PASSED [ 12%] tests/integration/api_exec_test.py::ExecTest::test_execute_command PASSED [ 13%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_socket PASSED [ 13%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_env 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_network_test.py::TestNetworks::test_connect_and_disconnect_container PASSED [ 17%] tests/integration/api_exec_test.py::ExecTest::test_exec_command_with_workdir PASSED [ 13%] tests/integration/api_exec_test.py::ExecTest::test_execute_command_with_proxy_env PASSED [ 13%] 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_exec_test.py::ExecTest::test_exec_inspect PASSED [ 13%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_force_disconnect_container PASSED [ 17%] tests/integration/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 13%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_demux PASSED [ 13%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_demux PASSED [ 13%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_start_period PASSED [ 15%] tests/integration/api_image_test.py::ListImagesTest::test_images PASSED [ 15%] tests/integration/api_image_test.py::ListImagesTest::test_images_quiet PASSED [ 15%] 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_exec_test.py::ExecTest::test_exec_start_socket PASSED [ 13%] tests/integration/api_network_test.py::TestNetworks::test_connect_on_container_create PASSED [ 17%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_no_demux PASSED [ 13%] tests/integration/api_image_test.py::PullImageTest::test_pull_streaming PASSED [ 15%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_no_stream_no_demux PASSED [ 13%] tests/integration/api_exec_test.py::ExecTest::test_execute_command PASSED [ 13%] tests/integration/api_plugin_test.py::PluginTest::test_upgrade_plugin PASSED [ 21%] tests/integration/api_image_test.py::CommitTest::test_commit PASSED [ 15%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_aliases PASSED [ 17%] tests/integration/api_exec_test.py::ExecTest::test_execute_command_with_proxy_env PASSED [ 13%] tests/integration/api_image_test.py::CommitTest::test_commit_with_changes PASSED [ 15%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret_unicode_data PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_inspect_secret PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_list_secrets PASSED [ 21%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_demux PASSED [ 14%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_demux PASSED [ 14%] tests/integration/api_image_test.py::RemoveImageTest::test_remove PASSED [ 15%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv4_address PASSED [ 17%] tests/integration/api_image_test.py::ImportImageTest::test_get_load_image PASSED [ 15%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_no_demux PASSED [ 14%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_bytes PASSED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_file PASSED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_stream PASSED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_url SKIPPED [ 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_from_data_with_changes PASSED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_image_with_changes PASSED [ 16%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_no_demux PASSED [ 14%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv6_address PASSED [ 17%] 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_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_demux PASSED [ 14%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_demux PASSED [ 14%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_disconnect_container PASSED [ 17%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_demux PASSED [ 14%] 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_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_network_test.py::TestNetworks::test_connect_and_force_disconnect_container PASSED [ 17%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_stream_no_demux PASSED [ 14%] 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_demux PASSED [ 14%] tests/integration/api_secret_test.py::SecretAPITest::test_remove_secret PASSED [ 21%] tests/integration/api_network_test.py::TestNetworks::test_connect_on_container_create PASSED [ 17%] 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 [ 18%] tests/integration/api_service_test.py::ServiceTest::test_create_service_custom_log_driver FAILED [ 21%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_demux PASSED [ 14%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux PASSED [ 14%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux PASSED [ 14%] tests/integration/api_service_test.py::ServiceTest::test_create_service_global_mode FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_replicated_mode FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_simple FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_config FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_custom_networks FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_dns_config FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec_host_publish_mode SKIPPED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_env FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_failure_action_rollback FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_generic_resources SKIPPED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_groups FAILED [ 22%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_aliases PASSED [ 17%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_no_stream_no_demux PASSED [ 14%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_healthcheck FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hostname FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hosts FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_init SKIPPED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_invalid_generic_resources SKIPPED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_network_attachment_config FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_object FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_platform FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences_tuple FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_privileges FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_readonly FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_resources_constraints FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_restart_policy FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_rollback_config FAILED [ 24%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv4_address PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_network_attachable PASSED [ 18%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_secret FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_stop_signal FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty FAILED [ 25%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_fails PASSED [ 14%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_fails PASSED [ 14%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_demux PASSED [ 14%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty_dict FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_config FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_secret FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config_monitor FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_order FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_volume_mount FAILED [ 25%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv6_address PASSED [ 17%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_id FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_name FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_insert_defaults FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_list_services FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_list_services_filter_by_label FAILED [ 26%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ingress PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ipv6_enabled PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_with_host_driver_fails PASSED [ 18%] tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux PASSED [ 14%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_id FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_name FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_service_logs FAILED [ 26%] 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_healthcheck_test.py::HealthcheckTest::test_healthcheck_passes PASSED [ 14%] tests/integration/api_service_test.py::ServiceTest::test_update_service_force_update FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_container_labels FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_healthcheck FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_labels FAILED [ 27%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_shell_command PASSED [ 14%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_container_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_endpoint_spec FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_labels FAILED [ 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_service_test.py::ServiceTest::test_update_service_with_defaults_mode FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_name FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_networks FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_update_config FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_network_change FAILED [ 27%] tests/integration/api_network_test.py::TestNetworks::test_create_with_aliases PASSED [ 18%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_fails 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_network_test.py::TestNetworks::test_create_with_ipv4_address PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv6_address PASSED [ 19%] tests/integration/api_swarm_test.py::SwarmTest::test_init_already_in_cluster PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_both_args SKIPPED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_defaults SKIPPED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_pool SKIPPED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_subnet_size SKIPPED [ 28%] 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 [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_with_linklocal_ips PASSED [ 19%] 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_raft_spec PASSED [ 28%] tests/integration/api_healthcheck_test.py::HealthcheckTest::test_healthcheck_start_period PASSED [ 15%] tests/integration/api_image_test.py::ListImagesTest::test_images PASSED [ 15%] tests/integration/api_image_test.py::ListImagesTest::test_images_quiet PASSED [ 15%] 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_healthcheck_test.py::HealthcheckTest::test_healthcheck_start_period PASSED [ 15%] tests/integration/api_image_test.py::ListImagesTest::test_images PASSED [ 15%] tests/integration/api_image_test.py::ListImagesTest::test_images_quiet PASSED [ 15%] 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_network_test.py::TestNetworks::test_create_network_attachable PASSED [ 18%] tests/integration/api_image_test.py::PullImageTest::test_pull_streaming PASSED [ 15%] 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_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_image_test.py::CommitTest::test_commit PASSED [ 15%] 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_image_test.py::CommitTest::test_commit PASSED [ 15%] tests/integration/api_network_test.py::TestNetworks::test_remove_network PASSED [ 19%] tests/integration/api_image_test.py::CommitTest::test_commit_with_changes PASSED [ 15%] tests/integration/api_image_test.py::CommitTest::test_commit_with_changes PASSED [ 15%] tests/integration/api_image_test.py::RemoveImageTest::test_remove PASSED [ 15%] tests/integration/api_plugin_test.py::PluginTest::test_configure_plugin PASSED [ 19%] tests/integration/api_plugin_test.py::PluginTest::test_create_plugin PASSED [ 20%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ingress PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ipv6_enabled PASSED [ 18%] 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_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 [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_file PASSED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_stream PASSED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_url SKIPPED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_get_load_image PASSED [ 15%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_simple PASSED [ 28%] 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_disable_plugin PASSED [ 20%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_bytes PASSED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_file PASSED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_stream PASSED [ 16%] 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_healthcheck_test.py::HealthcheckTest::test_healthcheck_start_period PASSED [ 15%] tests/integration/api_image_test.py::ListImagesTest::test_images PASSED [ 15%] tests/integration/api_image_test.py::ListImagesTest::test_images_quiet PASSED [ 15%] 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::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::PullImageTest::test_pull_streaming PASSED [ 15%] tests/integration/api_image_test.py::InspectDistributionTest::test_inspect_distribution 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_network_test.py::TestNetworks::test_create_with_aliases PASSED [ 18%] tests/integration/api_plugin_test.py::PluginTest::test_enable_plugin PASSED [ 20%] tests/integration/api_image_test.py::InspectDistributionTest::test_inspect_distribution PASSED [ 16%] tests/integration/api_image_test.py::CommitTest::test_commit PASSED [ 15%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv4_address PASSED [ 19%] tests/integration/api_image_test.py::CommitTest::test_commit_with_changes PASSED [ 15%] tests/integration/api_plugin_test.py::PluginTest::test_force_remove_plugin PASSED [ 20%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_disconnect_container PASSED [ 17%] tests/integration/api_image_test.py::RemoveImageTest::test_remove PASSED [ 15%] 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 [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv6_address 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 [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_file PASSED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_stream PASSED [ 16%] tests/integration/api_image_test.py::ImportImageTest::test_import_from_url SKIPPED [ 16%] tests/integration/api_network_test.py::TestNetworks::test_create_with_linklocal_ips PASSED [ 19%] 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_network_test.py::TestNetworks::test_connect_and_force_disconnect_container PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_force_disconnect_container PASSED [ 17%] 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_network_test.py::TestNetworks::test_connect_on_container_create PASSED [ 17%] 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_network_test.py::TestNetworks::test_connect_on_container_create PASSED [ 17%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_autolock_managers PASSED [ 28%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_disconnect_container PASSED [ 17%] 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_network_test.py::TestNetworks::test_connect_with_aliases PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_aliases PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_connect_and_force_disconnect_container PASSED [ 17%] tests/integration/api_plugin_test.py::PluginTest::test_configure_plugin PASSED [ 19%] tests/integration/api_plugin_test.py::PluginTest::test_create_plugin PASSED [ 20%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv4_address PASSED [ 17%] tests/integration/api_plugin_test.py::PluginTest::test_upgrade_plugin PASSED [ 21%] tests/integration/api_network_test.py::TestNetworks::test_connect_on_container_create PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv4_address PASSED [ 17%] tests/integration/api_plugin_test.py::PluginTest::test_disable_plugin PASSED [ 20%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret_unicode_data PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_inspect_secret PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_list_secrets PASSED [ 21%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv6_address PASSED [ 17%] tests/integration/api_plugin_test.py::PluginTest::test_enable_plugin PASSED [ 20%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv6_address PASSED [ 17%] tests/integration/api_secret_test.py::SecretAPITest::test_remove_secret PASSED [ 21%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_aliases PASSED [ 17%] tests/integration/api_plugin_test.py::PluginTest::test_force_remove_plugin PASSED [ 20%] tests/integration/api_service_test.py::ServiceTest::test_create_service_custom_log_driver FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_global_mode FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_replicated_mode FAILED [ 21%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv4_address PASSED [ 17%] tests/integration/api_service_test.py::ServiceTest::test_create_service_simple FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_config FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_custom_networks FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_dns_config FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec_host_publish_mode FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_env FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_failure_action_rollback FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_generic_resources FAILED [ 22%] 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_plugin_test.py::PluginTest::test_inspect_plugin PASSED [ 20%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_groups FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_healthcheck FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hostname FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hosts FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_init FAILED [ 23%] 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 FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_object FAILED [ 23%] 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_network_test.py::TestNetworks::test_create_inspect_network_with_scope SKIPPED [ 17%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_platform FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences_tuple FAILED [ 24%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_ipv6_address PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_internal_networks PASSED [ 18%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_privileges FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_readonly FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_resources_constraints FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_restart_policy FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_rollback_config FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_secret FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_stop_signal FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty_dict FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_config FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_secret FAILED [ 25%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_ca_config PASSED [ 29%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config_monitor FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_order FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_volume_mount FAILED [ 25%] 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 [ 18%] 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_service_test.py::ServiceTest::test_inspect_service_by_id FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_name FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_insert_defaults FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_list_services FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_list_services_filter_by_label FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_id FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_name FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_service_logs FAILED [ 26%] tests/integration/api_network_test.py::TestNetworks::test_connect_with_links PASSED [ 17%] tests/integration/api_network_test.py::TestNetworks::test_create_network_attachable PASSED [ 18%] tests/integration/api_service_test.py::ServiceTest::test_update_service_force_update FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_container_labels FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_healthcheck FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_labels FAILED [ 27%] tests/integration/api_network_test.py::TestNetworks::test_create_check_duplicate PASSED [ 17%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_container_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_endpoint_spec FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_mode FAILED [ 27%] tests/integration/api_network_test.py::TestNetworks::test_create_network_attachable PASSED [ 18%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_name FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_networks FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_update_config FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_network_change FAILED [ 27%] tests/integration/api_plugin_test.py::PluginTest::test_upgrade_plugin PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret_unicode_data PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_inspect_secret PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_list_secrets 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 [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ingress PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ipv6_enabled PASSED [ 18%] 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_swarm_test.py::SwarmTest::test_init_already_in_cluster PASSED [ 28%] tests/integration/api_secret_test.py::SecretAPITest::test_remove_secret PASSED [ 21%] tests/integration/api_network_test.py::TestNetworks::test_create_with_aliases PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_attachable PASSED [ 18%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver XFAIL [ 29%] tests/integration/api_service_test.py::ServiceTest::test_create_service_custom_log_driver FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_global_mode FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_replicated_mode FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_simple FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_config FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_custom_networks FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_dns_config FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec_host_publish_mode FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_env FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_failure_action_rollback FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_generic_resources FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_groups FAILED [ 22%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_both_args PASSED [ 28%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv4_address PASSED [ 19%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_healthcheck FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hostname FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hosts FAILED [ 23%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ingress PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ingress PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ipv6_enabled PASSED [ 18%] 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_init FAILED [ 23%] 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 FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_object FAILED [ 23%] tests/integration/api_network_test.py::TestNetworks::test_create_network_ipv6_enabled PASSED [ 18%] 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_with_ipv6_address PASSED [ 19%] 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_placement_platform FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences_tuple FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_privileges FAILED [ 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_service_test.py::ServiceTest::test_create_service_with_readonly FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_resources_constraints FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_restart_policy FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_rollback_config FAILED [ 24%] 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_linklocal_ips PASSED [ 19%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_secret FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_stop_signal FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty FAILED [ 25%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_defaults PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty_dict FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_config FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_secret FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config_monitor FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_order FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_volume_mount FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_id FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_name FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_insert_defaults FAILED [ 26%] tests/integration/api_network_test.py::TestNetworks::test_create_with_aliases PASSED [ 18%] tests/integration/api_network_test.py::TestNetworks::test_create_with_aliases PASSED [ 18%] tests/integration/api_service_test.py::ServiceTest::test_list_services FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_list_services_filter_by_label FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_id FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_name FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_service_logs FAILED [ 26%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv4_address PASSED [ 19%] tests/integration/api_service_test.py::ServiceTest::test_update_service_force_update FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_container_labels FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_healthcheck FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_container_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_endpoint_spec FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_labels FAILED [ 27%] tests/integration/api_network_test.py::TestNetworks::test_create_with_links PASSED [ 19%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_pool PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_mode FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_name FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_networks FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_update_config FAILED [ 27%] 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_create_with_ipv4_address 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_service_test.py::ServiceTest::test_update_service_with_network_change FAILED [ 27%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv6_address PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_create_with_linklocal_ips PASSED [ 19%] tests/integration/api_network_test.py::TestNetworks::test_create_with_ipv6_address PASSED [ 19%] tests/integration/api_swarm_test.py::SwarmTest::test_inspect_node PASSED [ 29%] tests/integration/api_plugin_test.py::PluginTest::test_configure_plugin PASSED [ 19%] tests/integration/api_plugin_test.py::PluginTest::test_create_plugin PASSED [ 20%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_subnet_size PASSED [ 28%] tests/integration/api_network_test.py::TestNetworks::test_create_with_linklocal_ips PASSED [ 19%] tests/integration/api_plugin_test.py::PluginTest::test_disable_plugin PASSED [ 20%] tests/integration/api_swarm_test.py::SwarmTest::test_init_already_in_cluster PASSED [ 28%] tests/integration/api_plugin_test.py::PluginTest::test_enable_plugin PASSED [ 20%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_raft_spec PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_both_args PASSED [ 28%] 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_plugin_test.py::PluginTest::test_force_remove_plugin PASSED [ 20%] 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_plugin_test.py::PluginTest::test_inspect_plugin PASSED [ 20%] 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_plugin_test.py::PluginTest::test_configure_plugin PASSED [ 19%] tests/integration/api_plugin_test.py::PluginTest::test_create_plugin PASSED [ 20%] 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_disable_plugin PASSED [ 20%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_defaults 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 [ 20%] tests/integration/api_plugin_test.py::PluginTest::test_enable_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_plugin_test.py::PluginTest::test_disable_plugin PASSED [ 20%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_simple PASSED [ 28%] tests/integration/api_plugin_test.py::PluginTest::test_enable_plugin PASSED [ 20%] tests/integration/api_plugin_test.py::PluginTest::test_force_remove_plugin PASSED [ 20%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_pool PASSED [ 28%] 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_swarm_test.py::SwarmTest::test_leave_swarm PASSED [ 29%] tests/integration/api_plugin_test.py::PluginTest::test_inspect_plugin PASSED [ 20%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_subnet_size PASSED [ 28%] tests/integration/api_plugin_test.py::PluginTest::test_upgrade_plugin PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret_unicode_data PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_inspect_secret PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_list_secrets PASSED [ 21%] 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_secret_test.py::SecretAPITest::test_remove_secret PASSED [ 21%] 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_init_swarm_custom_raft_spec PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_create_service_custom_log_driver FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_global_mode FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_replicated_mode FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_simple FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_config FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_custom_networks FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_dns_config FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec_host_publish_mode FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_env FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_failure_action_rollback FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_generic_resources FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_groups FAILED [ 22%] tests/integration/api_plugin_test.py::PluginTest::test_upgrade_plugin PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_healthcheck FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hostname FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hosts FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_init FAILED [ 23%] 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 FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_object FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_platform FAILED [ 23%] 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_secret_test.py::SecretAPITest::test_create_secret PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret_unicode_data PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_inspect_secret PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_list_secrets PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences_tuple FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_privileges FAILED [ 24%] tests/integration/api_plugin_test.py::PluginTest::test_upgrade_plugin PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_readonly FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_resources_constraints FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_restart_policy FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_rollback_config FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_secret FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_stop_signal FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty_dict FAILED [ 25%] tests/integration/api_swarm_test.py::SwarmTest::test_list_nodes PASSED [ 29%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_create_secret_unicode_data PASSED [ 21%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_autolock_managers PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_config FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_secret FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config_monitor FAILED [ 25%] tests/integration/api_secret_test.py::SecretAPITest::test_inspect_secret PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_list_secrets PASSED [ 21%] tests/integration/api_secret_test.py::SecretAPITest::test_remove_secret PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_order FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_volume_mount FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_id FAILED [ 25%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_simple PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_name FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_insert_defaults FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_list_services FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_list_services_filter_by_label FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_id FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_name FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_service_logs FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_force_update FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_container_labels FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_create_service_custom_log_driver FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_global_mode FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_replicated_mode FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_healthcheck FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_container_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_endpoint_spec FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_create_service_simple FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_config FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_custom_networks FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_mode FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_name FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_networks FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_dns_config FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec_host_publish_mode FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_env FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_update_config FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_failure_action_rollback FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_generic_resources FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_groups FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_network_change FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_healthcheck FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hostname FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hosts FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_init FAILED [ 23%] 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 FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_object FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_platform FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences FAILED [ 24%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_autolock_managers PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences_tuple FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_privileges FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_readonly FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_resources_constraints FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_restart_policy FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_rollback_config FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_secret FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_stop_signal FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty_dict FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_config FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_secret FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config_monitor FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_order FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_volume_mount FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_id FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_name FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_insert_defaults FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_list_services FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_list_services_filter_by_label FAILED [ 26%] tests/integration/api_swarm_test.py::SwarmTest::test_init_already_in_cluster PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_id FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_name FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_service_logs FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_force_update FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_container_labels FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_healthcheck FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_container_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_endpoint_spec FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_mode FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_name FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_networks FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_update_config FAILED [ 27%] tests/integration/api_swarm_test.py::SwarmTest::test_remove_main_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_ca_config PASSED [ 29%] tests/integration/api_secret_test.py::SecretAPITest::test_remove_secret PASSED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_network_change FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_create_service_custom_log_driver FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_global_mode FAILED [ 21%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_both_args PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_create_service_replicated_mode FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_simple FAILED [ 21%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_config FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_custom_networks FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_dns_config FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_endpoint_spec_host_publish_mode SKIPPED [ 22%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver XFAIL [ 29%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_env FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_failure_action_rollback FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_generic_resources SKIPPED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_groups FAILED [ 22%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_healthcheck FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hostname FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_hosts FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_init SKIPPED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_invalid_generic_resources SKIPPED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_network_attachment_config FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_object FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_platform FAILED [ 23%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_placement_preferences_tuple FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_privileges FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_readonly FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_resources_constraints FAILED [ 24%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_defaults PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_already_in_cluster PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_restart_policy FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_rollback_config FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_secret FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_stop_signal FAILED [ 24%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_tty_dict FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_config FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_unicode_secret FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_config_monitor FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_update_order FAILED [ 25%] tests/integration/api_swarm_test.py::SwarmTest::test_inspect_node PASSED [ 29%] tests/integration/api_service_test.py::ServiceTest::test_create_service_with_volume_mount FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_id FAILED [ 25%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_by_name FAILED [ 25%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_both_args PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_inspect_service_insert_defaults FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_list_services FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_list_services_filter_by_label FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_id FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_remove_service_by_name FAILED [ 26%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_ca_config PASSED [ 29%] tests/integration/api_service_test.py::ServiceTest::test_service_logs FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_force_update FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_container_labels FAILED [ 26%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_healthcheck FAILED [ 26%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_pool PASSED [ 28%] tests/integration/api_service_test.py::ServiceTest::test_update_service_remove_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_container_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_endpoint_spec FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_labels FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_mode FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_name FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_networks FAILED [ 27%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_defaults_update_config FAILED [ 27%] tests/integration/api_swarm_test.py::SwarmTest::test_leave_swarm PASSED [ 29%] tests/integration/api_service_test.py::ServiceTest::test_update_service_with_network_change FAILED [ 27%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_defaults PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_rotate_manager_unlock_key PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_subnet_size PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_list_nodes PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_pool 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_init_already_in_cluster PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_both_args SKIPPED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_defaults SKIPPED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_pool SKIPPED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_addr_pool_only_subnet_size 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_custom_addr_pool_only_subnet_size PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver XFAIL [ 29%] 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_custom_raft_spec PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_rotate_manager_unlock_key PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_custom_raft_spec PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_inspect_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_simple PASSED [ 28%] 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_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_update_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_leave_swarm PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_simple PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_simple PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_list_nodes PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_autolock_managers PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_remove_main_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_update_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_update_swarm PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume PASSED [ 30%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_autolock_managers PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_autolock_managers PASSED [ 28%] tests/integration/api_swarm_test.py::SwarmTest::test_update_swarm PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume PASSED [ 30%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_ca_config PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_rotate_manager_unlock_key PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_ca_config PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver XFAIL [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_ca_config PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_inspect_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver XFAIL [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_leave_swarm PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_update_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_inspect_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_update_swarm PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume PASSED [ 30%] tests/integration/api_swarm_test.py::SwarmTest::test_list_nodes PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_leave_swarm PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_with_log_driver XFAIL [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_remove_main_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_list_nodes PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume_invalid_driver PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_nonexistent_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume PASSED [ 30%] 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 [ 31%] tests/integration/client_test.py::ClientTest::test_info PASSED [ 31%] tests/integration/client_test.py::ClientTest::test_ping PASSED [ 31%] tests/integration/client_test.py::ClientTest::test_version PASSED [ 31%] tests/integration/api_swarm_test.py::SwarmTest::test_remove_main_node PASSED [ 29%] tests/integration/client_test.py::CancellableEventsTest::test_cancel_events PASSED [ 31%] tests/integration/errors_test.py::ErrorsTest::test_api_error_parses_json PASSED [ 31%] tests/integration/api_swarm_test.py::SwarmTest::test_rotate_manager_unlock_key PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume_invalid_driver PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_nonexistent_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume PASSED [ 30%] 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 [ 31%] tests/integration/client_test.py::ClientTest::test_info PASSED [ 31%] tests/integration/client_test.py::ClientTest::test_ping PASSED [ 31%] tests/integration/client_test.py::ClientTest::test_version PASSED [ 31%] tests/integration/api_swarm_test.py::SwarmTest::test_inspect_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_rotate_manager_unlock_key PASSED [ 29%] tests/integration/client_test.py::CancellableEventsTest::test_cancel_events PASSED [ 31%] tests/integration/errors_test.py::ErrorsTest::test_api_error_parses_json PASSED [ 31%] tests/integration/api_swarm_test.py::SwarmTest::test_update_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_leave_swarm PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_update_node PASSED [ 29%] tests/integration/api_swarm_test.py::SwarmTest::test_update_swarm PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume_invalid_driver PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_nonexistent_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume PASSED [ 30%] 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 [ 31%] tests/integration/client_test.py::ClientTest::test_info PASSED [ 31%] tests/integration/client_test.py::ClientTest::test_ping PASSED [ 31%] tests/integration/client_test.py::ClientTest::test_version PASSED [ 31%] tests/integration/client_test.py::CancellableEventsTest::test_cancel_events PASSED [ 31%] tests/integration/errors_test.py::ErrorsTest::test_api_error_parses_json PASSED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 31%] 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/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 32%] tests/integration/api_swarm_test.py::SwarmTest::test_update_swarm PASSED [ 29%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume PASSED [ 30%] tests/integration/api_swarm_test.py::SwarmTest::test_list_nodes PASSED [ 29%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 31%] 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/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove_error PASSED [ 32%] 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/api_swarm_test.py::SwarmTest::test_remove_main_node PASSED [ 29%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_named_volume PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove 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 [ 33%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs PASSED [ 33%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs_and_cancel PASSED [ 33%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_volume PASSED [ 33%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove_error PASSED [ 32%] 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::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::ContainerCollectionTest::test_run_with_json_file_driver PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_diff PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_failed PASSED [ 33%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 31%] 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/models_containers_test.py::ContainerCollectionTest::test_run_with_named_volume PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_success PASSED [ 33%] tests/integration/api_swarm_test.py::SwarmTest::test_rotate_manager_unlock_key PASSED [ 29%] tests/integration/models_containers_test.py::ContainerTest::test_kill PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_network PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_logs PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_none_driver PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_pause PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_proxy_config PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_list PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_none PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs PASSED [ 33%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume_invalid_driver PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_nonexistent_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume PASSED [ 30%] 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 [ 31%] tests/integration/client_test.py::ClientTest::test_info PASSED [ 31%] tests/integration/client_test.py::ClientTest::test_ping PASSED [ 31%] tests/integration/client_test.py::ClientTest::test_version PASSED [ 31%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume_invalid_driver PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_nonexistent_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume PASSED [ 30%] 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 [ 31%] tests/integration/client_test.py::ClientTest::test_info PASSED [ 31%] tests/integration/client_test.py::ClientTest::test_ping PASSED [ 31%] tests/integration/client_test.py::ClientTest::test_version PASSED [ 31%] tests/integration/client_test.py::CancellableEventsTest::test_cancel_events PASSED [ 31%] tests/integration/errors_test.py::ErrorsTest::test_api_error_parses_json PASSED [ 31%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_tuple PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs_and_cancel PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_remove PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_rename PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_volume PASSED [ 33%] tests/integration/client_test.py::CancellableEventsTest::test_cancel_events PASSED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove_error PASSED [ 32%] tests/integration/errors_test.py::ErrorsTest::test_api_error_parses_json PASSED [ 31%] 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::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/api_swarm_test.py::SwarmTest::test_update_node PASSED [ 29%] tests/integration/models_containers_test.py::ContainerTest::test_diff PASSED [ 33%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_json_file_driver PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_failed PASSED [ 33%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_named_volume PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_success PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_kill PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_network PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_logs PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_none_driver PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_pause PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_proxy_config PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_list PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_none PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs_and_cancel PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_tuple 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 [ 30%] tests/integration/models_containers_test.py::ContainerTest::test_remove PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_volume PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_rename PASSED [ 34%] 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/models_containers_test.py::ContainerTest::test_exec_run_failed PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_success PASSED [ 33%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 31%] 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/models_containers_test.py::ContainerTest::test_kill PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_logs PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 32%] 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_pause PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_stats PASSED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_stop PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 31%] 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/models_containers_test.py::ContainerTest::test_ports_target_list PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_top PASSED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_none PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_update PASSED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_tuple PASSED [ 34%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_wait PASSED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_remove PASSED [ 34%] tests/integration/models_images_test.py::ImageCollectionTest::test_build PASSED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_rename PASSED [ 34%] 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_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove PASSED [ 32%] 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 [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_list_with_repository PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_load_error PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 36%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove_error PASSED [ 32%] 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_multiple PASSED [ 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_sha PASSED [ 36%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove_error PASSED [ 32%] 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 [ 37%] 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::ImageTest::test_tag_and_remove PASSED [ 37%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_named_volume PASSED [ 32%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 37%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_json_file_driver PASSED [ 32%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_list_remove PASSED [ 37%] 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::ContainerCollectionTest::test_run_with_network PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_none_driver PASSED [ 32%] tests/integration/models_networks_test.py::NetworkTest::test_connect_disconnect PASSED [ 37%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_named_volume PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_proxy_config PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_stats PASSED [ 35%] tests/integration/api_volume_test.py::TestVolumes::test_create_volume_invalid_driver PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_force_remove_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_nonexistent_volume PASSED [ 30%] tests/integration/api_volume_test.py::TestVolumes::test_inspect_volume PASSED [ 30%] 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 [ 31%] tests/integration/client_test.py::ClientTest::test_info PASSED [ 31%] tests/integration/client_test.py::ClientTest::test_ping PASSED [ 31%] tests/integration/client_test.py::ClientTest::test_version PASSED [ 31%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_network PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_stop PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_none_driver PASSED [ 32%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs_and_cancel PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_top PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_proxy_config PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_update PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs PASSED [ 33%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_volume PASSED [ 33%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs_and_cancel PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_wait PASSED [ 35%] tests/integration/client_test.py::CancellableEventsTest::test_cancel_events PASSED [ 31%] tests/integration/errors_test.py::ErrorsTest::test_api_error_parses_json PASSED [ 31%] tests/integration/models_images_test.py::ImageCollectionTest::test_build PASSED [ 35%] 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::ContainerCollectionTest::test_run_with_volume PASSED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_error PASSED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_diff PASSED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_multiple_success PASSED [ 35%] tests/integration/models_nodes_test.py::NodesTest::test_list_get_update PASSED [ 37%] 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_exec_run_failed PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_diff PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_success PASSED [ 33%] 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 [ 36%] tests/integration/models_resources_test.py::ModelTest::test_reload PASSED [ 37%] tests/integration/models_images_test.py::ImageCollectionTest::test_list_with_repository PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_load_error PASSED [ 36%] tests/integration/models_containers_test.py::ContainerTest::test_kill PASSED [ 34%] 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_images_test.py::ImageCollectionTest::test_pull PASSED [ 36%] tests/integration/models_services_test.py::ServiceTest::test_create FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create_with_network FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service FAILED [ 38%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_failed PASSED [ 33%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_bool FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_shorthand_method FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_get FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_list_remove FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_global_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_tasks FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update FAILED [ 39%] tests/integration/models_containers_test.py::ContainerTest::test_logs PASSED [ 34%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 36%] tests/integration/models_services_test.py::ServiceTest::test_update_remove_service_labels FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_container_labels FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks XFAIL [ 39%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_success PASSED [ 33%] 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_containers_test.py::ContainerTest::test_kill PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_pause PASSED [ 34%] 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 [ 37%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_list PASSED [ 34%] tests/integration/models_images_test.py::ImageTest::test_tag_and_remove PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 37%] tests/integration/models_containers_test.py::ContainerTest::test_logs PASSED [ 34%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_list_remove PASSED [ 37%] tests/integration/models_containers_test.py::ContainerTest::test_pause PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_none PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_stats PASSED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_tuple PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_stop PASSED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_list PASSED [ 34%] tests/integration/models_networks_test.py::NetworkTest::test_connect_disconnect PASSED [ 37%] tests/integration/models_containers_test.py::ContainerTest::test_remove PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_top PASSED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_none PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_rename PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_update PASSED [ 35%] 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_wait PASSED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_rename PASSED [ 34%] tests/integration/models_images_test.py::ImageCollectionTest::test_build PASSED [ 35%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_service_labels FAILED [ 39%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_error PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 31%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_multiple_success PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 31%] 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 [ 36%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_list_sparse PASSED [ 31%] tests/integration/models_images_test.py::ImageCollectionTest::test_list_with_repository PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_load_error PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 36%] tests/integration/models_nodes_test.py::NodesTest::test_list_get_update PASSED [ 37%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run PASSED [ 31%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 36%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_detach PASSED [ 32%] 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_resources_test.py::ModelTest::test_reload PASSED [ 37%] 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 [ 37%] tests/integration/models_images_test.py::ImageTest::test_tag_and_remove PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create_with_network FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_bool FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_shorthand_method FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_get FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_list_remove FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_global_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_service FAILED [ 38%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_list_remove PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_tasks FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_remove_service_labels FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_container_labels FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks XFAIL [ 39%] tests/integration/models_networks_test.py::NetworkTest::test_connect_disconnect PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_service_labels FAILED [ 39%] tests/integration/models_swarm_test.py::SwarmTest::test_init_update_leave PASSED [ 39%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove PASSED [ 32%] tests/integration/models_swarm_test.py::SwarmTest::test_init_update_leave PASSED [ 39%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_auto_remove_error PASSED [ 32%] 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 [ 40%] 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/regression_test.py::TestRegressions::test_542_truncate_ids_client_side PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_647_support_doubleslash_in_image_names PASSED [ 40%] 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::ContainerCollectionTest::test_run_with_json_file_driver PASSED [ 32%] 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 [ 35%] 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 [ 40%] tests/integration/regression_test.py::TestRegressions::test_542_truncate_ids_client_side PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_647_support_doubleslash_in_image_names PASSED [ 40%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_named_volume PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_stop PASSED [ 35%] tests/integration/regression_test.py::TestRegressions::test_649_handle_timeout_value_none PASSED [ 40%] 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/regression_test.py::TestRegressions::test_715_handle_user_param_as_int_value PASSED [ 40%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_network PASSED [ 32%] tests/integration/models_services_test.py::ServiceTest::test_create FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create_with_network FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_bool FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_shorthand_method FAILED [ 38%] tests/integration/models_containers_test.py::ContainerTest::test_top PASSED [ 35%] tests/integration/models_services_test.py::ServiceTest::test_get FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_list_remove FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_global_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_tasks FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_remove_service_labels FAILED [ 39%] tests/integration/models_containers_test.py::ContainerTest::test_update PASSED [ 35%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_none_driver PASSED [ 32%] tests/integration/models_containers_test.py::ContainerTest::test_stats PASSED [ 35%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_container_labels FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks XFAIL [ 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/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_proxy_config PASSED [ 33%] tests/integration/credentials/store_test.py::TestStore::test_unicode_strings PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_list PASSED [ 41%] tests/integration/credentials/store_test.py::TestStore::test_execute_with_env_override PASSED [ 41%] tests/integration/credentials/utils_test.py::test_create_environment_dict PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container PASSED [ 41%] 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_containers_test.py::ContainerTest::test_stop PASSED [ 35%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_named_dockerfile PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_build_remote_with_registry_auth PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile_win_longpath_prefix SKIPPED [ 42%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_auth_configs PASSED [ 42%] 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 [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_regression_573 PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_ro PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_rw PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 43%] 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 [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_privileged PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_added_capabilities PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_aliases PASSED [ 44%] 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 [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_rw PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_cgroup_parent PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_devices PASSED [ 45%] 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 [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_dict PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_list PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links_as_list_of_tuples PASSED [ 46%] 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 [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_k_unit PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_m_unit PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_wrong_value PASSED [ 47%] tests/integration/regression_test.py::TestRegressions::test_649_handle_timeout_value_none PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_715_handle_user_param_as_int_value PASSED [ 40%] 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 [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stop_signal PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_sysctl PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_dict PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_list PASSED [ 48%] 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 [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_top PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_top_with_psargs PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_update PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_diff PASSED [ 49%] 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 [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_dict_instead_of_id PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_signal PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_list_containers PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_following PASSED [ 50%] 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 [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming_and_following PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_tail PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_tty PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_logs PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_logs_with_dict_instead_of_id PASSED [ 51%] 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 [ 52%] tests/unit/api_container_test.py::ContainerTest::test_rename_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_resize_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_restart_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_restart_container_with_dict_instead_of_id PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_stop_container PASSED [ 52%] 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 [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_create PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_resize PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_start PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_commit PASSED [ 53%] 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 [ 54%] tests/unit/api_image_test.py::ImageTest::test_images PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_images_filters PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_images_quiet PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_import_image PASSED [ 54%] 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 [ 55%] tests/unit/api_image_test.py::ImageTest::test_load_image_quiet PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_pull PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_pull_stream PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image_stream PASSED [ 55%] 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 [ 56%] tests/unit/api_image_test.py::ImageTest::test_tag_image_force PASSED [ 56%] tests/unit/api_image_test.py::ImageTest::test_tag_image_tag PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_connect_container_to_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_create_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_disconnect_container_from_network PASSED [ 56%] 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 [ 57%] tests/unit/api_test.py::DockerApiTest::test_ctor PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events_with_filters PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events_with_since_until PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_info PASSED [ 57%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_service_labels FAILED [ 39%] tests/integration/models_containers_test.py::ContainerTest::test_top PASSED [ 35%] tests/integration/models_containers_test.py::ContainerTest::test_wait PASSED [ 35%] 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 [ 58%] tests/unit/api_test.py::DockerApiTest::test_stream_helper_decoding PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http_unix_triple_slash PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_tcp PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix PASSED [ 58%] 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 [ 59%] tests/unit/api_test.py::DockerApiTest::test_url_valid_resource PASSED [ 59%] tests/unit/api_test.py::DockerApiTest::test_version PASSED [ 59%] tests/unit/api_test.py::DockerApiTest::test_version_no_api_version PASSED [ 59%] tests/unit/api_test.py::UnixSocketStreamTest::test_early_stream_response PASSED [ 59%] tests/integration/regression_test.py::TestRegressions::test_792_explicit_port_protocol PASSED [ 40%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs PASSED [ 33%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty_demux PASSED [ 59%] 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/integration/credentials/store_test.py::TestStore::test_unicode_strings PASSED [ 40%] tests/integration/models_images_test.py::ImageCollectionTest::test_build PASSED [ 35%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty PASSED [ 59%] tests/integration/credentials/store_test.py::TestStore::test_list PASSED [ 41%] tests/integration/credentials/store_test.py::TestStore::test_execute_with_env_override PASSED [ 41%] tests/integration/credentials/utils_test.py::test_create_environment_dict PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container PASSED [ 41%] 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_containers_test.py::ContainerCollectionTest::test_run_with_streamed_logs_and_cancel PASSED [ 33%] tests/integration/models_containers_test.py::ContainerTest::test_update PASSED [ 35%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty_demux PASSED [ 59%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_named_dockerfile PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_build_remote_with_registry_auth PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile_win_longpath_prefix SKIPPED [ 42%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_auth_configs PASSED [ 42%] 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 [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_regression_573 PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_ro PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_rw PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 43%] 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 [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_privileged PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_added_capabilities PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_aliases PASSED [ 44%] 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 [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_rw PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_cgroup_parent PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_devices PASSED [ 45%] 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 [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_dict PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_list PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links_as_list_of_tuples PASSED [ 46%] 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 [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_k_unit PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_m_unit PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_wrong_value PASSED [ 47%] 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_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty PASSED [ 59%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_error PASSED [ 35%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stdin_open PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stop_signal PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_sysctl PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_dict PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_list PASSED [ 48%] 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 [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_top PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_top_with_psargs PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_update PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_diff PASSED [ 49%] 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 [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_dict_instead_of_id PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_signal PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_list_containers PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_following PASSED [ 50%] 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 [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming_and_following PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_tail PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_tty PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_logs PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_logs_with_dict_instead_of_id PASSED [ 51%] 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 [ 52%] tests/unit/api_container_test.py::ContainerTest::test_rename_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_resize_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_restart_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_restart_container_with_dict_instead_of_id PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_stop_container PASSED [ 52%] 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 [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_create PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_resize PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_start PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_commit PASSED [ 53%] 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 [ 54%] tests/unit/api_image_test.py::ImageTest::test_images PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_images_filters PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_images_quiet PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_import_image PASSED [ 54%] 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 [ 55%] tests/unit/api_image_test.py::ImageTest::test_load_image_quiet PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_pull PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_pull_stream PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image_stream PASSED [ 55%] 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 [ 56%] tests/unit/api_image_test.py::ImageTest::test_tag_image_force PASSED [ 56%] tests/unit/api_image_test.py::ImageTest::test_tag_image_tag PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_connect_container_to_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_create_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_disconnect_container_from_network PASSED [ 56%] 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 [ 57%] tests/unit/api_test.py::DockerApiTest::test_ctor PASSED [ 57%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty_demux PASSED [ 60%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty PASSED [ 60%] tests/unit/api_test.py::DockerApiTest::test_events PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events_with_filters PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events_with_since_until PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_info PASSED [ 57%] 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 [ 58%] tests/unit/api_test.py::DockerApiTest::test_stream_helper_decoding PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http_unix_triple_slash PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_tcp PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix PASSED [ 58%] 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 [ 59%] tests/unit/api_test.py::DockerApiTest::test_url_valid_resource PASSED [ 59%] tests/unit/api_test.py::DockerApiTest::test_version PASSED [ 59%] tests/unit/api_test.py::DockerApiTest::test_version_no_api_version PASSED [ 59%] tests/unit/api_test.py::UnixSocketStreamTest::test_early_stream_response PASSED [ 59%] tests/integration/models_swarm_test.py::SwarmTest::test_init_update_leave PASSED [ 39%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_multiple_success PASSED [ 35%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty_demux PASSED [ 59%] tests/integration/models_containers_test.py::ContainerTest::test_wait PASSED [ 35%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty_demux PASSED [ 60%] tests/unit/api_test.py::UserAgentTest::test_custom_user_agent PASSED [ 60%] tests/unit/api_test.py::UserAgentTest::test_default_user_agent PASSED [ 60%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout PASSED [ 60%] 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 [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_driver PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_invalid_labels PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_labels PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_no_specified_name PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_inspect_volume PASSED [ 61%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty PASSED [ 59%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes PASSED [ 61%] 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 [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image PASSED [ 62%] 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 [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry PASSED [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_port PASSED [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_username PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_auth_with_empty_credstore_and_auth_dict PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_explicit_none PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_registry PASSED [ 63%] 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 [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_match PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_trailing_slash PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_insecure_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_secure_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_protocol PASSED [ 64%] 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 [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_hub_image PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_library_image PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_private_registry PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_unauthenticated_registry PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_utf8 PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_with_auths PASSED [ 65%] 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 [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_with_random_name PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_json_config PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_legacy_config PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_modern_json_config PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_3_sources PASSED [ 66%] 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 [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_auths_entries PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_credhelpers_only PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_auths_entry PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_credhelper PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_default_index PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_no_default PASSED [ 67%] 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 [ 68%] tests/unit/client_test.py::ClientTest::test_call_containers PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_events PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_info PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_ping PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_version PASSED [ 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/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 [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_nano_cpus_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_pid_mode PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_blkio_constraints PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_count PASSED [ 69%] 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 [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period_types PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_runtime PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_dns_opt PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_isolation PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_kernel_memory PASSED [ 70%] 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 [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size_in_mb PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_userns_mode PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_uts PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_volume_driver PASSED [ 71%] 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 [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_obj_ulimit PASSED [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_ulimit_invalid_type PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_dict_logconfig PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_obj_logconfig PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_logconfig_invalid_config_type PASSED [ 72%] 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 [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas_0 PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_simple PASSED [ 73%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind PASSED [ 73%] tests/integration/models_containers_test.py::ContainerCollectionTest::test_run_with_volume PASSED [ 33%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty_demux PASSED [ 59%] 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 [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_rw PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_short_form PASSED [ 74%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_invalid PASSED [ 74%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_multiple PASSED [ 74%] 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 [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_400 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_500 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_error_300 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_error_400 PASSED [ 75%] 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 [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_200 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_500 PASSED [ 76%] tests/unit/errors_test.py::ContainerErrorTest::test_container_with_stderr PASSED [ 76%] 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 [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list_ignore_removed PASSED [ 77%] 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 [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_attach PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_commit PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_diff PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run_failure PASSED [ 79%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty PASSED [ 59%] 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 [ 36%] 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 [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_logs PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_name PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_pause PASSED [ 79%] 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 [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_stats PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_status PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_stop PASSED [ 80%] 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 [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_list PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_load PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_multiple 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 [ 82%] tests/unit/models_images_test.py::ImageTest::test_history PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_save PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_short_id PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_tag PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_tags PASSED [ 83%] tests/integration/models_images_test.py::ImageCollectionTest::test_build PASSED [ 35%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty_demux PASSED [ 60%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty PASSED [ 60%] tests/integration/models_images_test.py::ImageCollectionTest::test_list_with_repository PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_load_error PASSED [ 36%] 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 [ 83%] tests/unit/models_networks_test.py::NetworkTest::test_remove PASSED [ 83%] tests/unit/models_resources_test.py::ModelTest::test_hash PASSED [ 83%] tests/unit/models_resources_test.py::ModelTest::test_reload PASSED [ 83%] 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 [ 84%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm PASSED [ 84%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm_no_listen_address_takes_default PASSED [ 84%] tests/unit/swarm_test.py::SwarmTest::test_node_update PASSED [ 84%] 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 [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_wildcard_exception PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard_with_exception PASSED [ 85%] 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 [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_excludes PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_parent_directory PASSED [ 86%] 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 [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_wildcard_filename PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_with_path_traversal PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory_win32_pathsep SKIPPED [ 88%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 36%] 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 [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_exception PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_wildcard_exception PASSED [ 88%] 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 [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_inaccessible_file SKIPPED [ 89%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_fallback PASSED [ 89%] 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 [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 90%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_no_object PASSED [ 90%] 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 [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_from_dict PASSED [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_inject_proxy_environment PASSED [ 91%] 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 [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false_no_cert PASSED [ 92%] 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 [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_invalid_line PASSED [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_newline PASSED [ 93%] 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 [ 94%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_sha PASSED [ 94%] 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 [ 95%] tests/unit/utils_test.py::ParseDeviceTest::test_hybrid_list PASSED [ 95%] 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_maxint 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 PASSED [ 96%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_unicode PASSED [ 96%] 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 [ 97%] 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/integration/models_images_test.py::ImageCollectionTest::test_build_with_error PASSED [ 35%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty_demux PASSED [ 60%] tests/unit/api_test.py::UserAgentTest::test_custom_user_agent PASSED [ 60%] tests/unit/api_test.py::UserAgentTest::test_default_user_agent PASSED [ 60%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout PASSED [ 60%] 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/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/models_containers_test.py::ContainerTest::test_commit PASSED [ 33%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_invalid_opts_type PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_driver PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_invalid_labels PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_labels PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_no_specified_name PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_inspect_volume PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes PASSED [ 61%] 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 [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image PASSED [ 62%] 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 [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry PASSED [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_port PASSED [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_username PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_auth_with_empty_credstore_and_auth_dict PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_explicit_none PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_registry PASSED [ 63%] 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 [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_match PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_trailing_slash PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_insecure_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_secure_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_protocol PASSED [ 64%] 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 [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_hub_image PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_library_image PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_private_registry PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_unauthenticated_registry PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_utf8 PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_with_auths PASSED [ 65%] 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 [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_with_random_name PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_json_config PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_legacy_config PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_modern_json_config PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_3_sources PASSED [ 66%] 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 [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_auths_entries PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_credhelpers_only PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_auths_entry PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_credhelper PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_default_index PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_no_default PASSED [ 67%] 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 [ 68%] tests/unit/client_test.py::ClientTest::test_call_containers PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_events PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_info PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_ping PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_version PASSED [ 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/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 [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_nano_cpus_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_pid_mode PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_blkio_constraints PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_count PASSED [ 69%] 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 [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period_types PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_runtime PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_dns_opt PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_isolation PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_kernel_memory PASSED [ 70%] 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 [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size_in_mb PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_userns_mode PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_uts PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_volume_driver PASSED [ 71%] 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 [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_obj_ulimit PASSED [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_ulimit_invalid_type PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_dict_logconfig PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_obj_logconfig PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_logconfig_invalid_config_type PASSED [ 72%] tests/unit/dockertypes_test.py::EndpointConfigTest::test_create_endpoint_config_with_aliases PASSED [ 73%] 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 [ 40%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 36%] tests/integration/models_containers_test.py::ContainerTest::test_create_with_volume_driver PASSED [ 33%] 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 [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas_0 PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_simple PASSED [ 73%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind PASSED [ 73%] 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 [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_rw PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_short_form PASSED [ 74%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_invalid PASSED [ 74%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_multiple PASSED [ 74%] 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 [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_400 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_500 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_error_300 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_error_400 PASSED [ 75%] 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 [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_200 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_500 PASSED [ 76%] tests/unit/errors_test.py::ContainerErrorTest::test_container_with_stderr PASSED [ 76%] 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 [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list_ignore_removed PASSED [ 77%] 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 [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_attach PASSED [ 78%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_multiple_success PASSED [ 35%] tests/integration/regression_test.py::TestRegressions::test_542_truncate_ids_client_side PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_647_support_doubleslash_in_image_names PASSED [ 40%] tests/unit/utils_test.py::FormatEnvironmentTest::test_format_env_no_value PASSED [100%] =================================== FAILURES =================================== ______________ ServiceTest.test_create_service_custom_log_driver _______________ tests/integration/api_service_test.py:166: in test_create_service_custom_log_driver svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_global_mode __________________ tests/integration/api_service_test.py:598: in test_create_service_global_mode task_tmpl, name=name, mode='global' docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_replicated_mode ________________ tests/integration/api_service_test.py:612: in test_create_service_replicated_mode mode=docker.types.ServiceMode('replicated', 5) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_create_service_simple ____________________ tests/integration/api_service_test.py:127: in test_create_service_simple name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_config __________________ tests/integration/api_service_test.py:704: in test_create_service_with_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_custom_networks _____________ tests/integration/api_service_test.py:365: in test_create_service_with_custom_networks 'dockerpytest_1', {'Target': 'dockerpytest_2'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_dns_config ________________ tests/integration/api_service_test.py:803: in test_create_service_with_dns_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_endpoint_spec ______________ tests/integration/api_service_test.py:484: in test_create_service_with_endpoint_spec task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____ ServiceTest.test_create_service_with_endpoint_spec_host_publish_mode _____ tests/integration/api_service_test.py:512: in test_create_service_with_endpoint_spec_host_publish_mode task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_create_service_with_env ___________________ tests/integration/api_service_test.py:531: in test_create_service_with_env svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_create_service_with_failure_action_rollback _________ tests/integration/api_service_test.py:291: in test_create_service_with_failure_action_rollback task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_create_service_with_generic_resources ____________ tests/integration/api_service_test.py:245: in test_create_service_with_generic_resources resrcs, svc_info = self._create_service_with_generic_resources(t) tests/integration/api_service_test.py:226: in _create_service_with_generic_resources svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_groups __________________ tests/integration/api_service_test.py:784: in test_create_service_with_groups svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_healthcheck _______________ tests/integration/api_service_test.py:823: in test_create_service_with_healthcheck svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_hostname _________________ tests/integration/api_service_test.py:769: in test_create_service_with_hostname svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:187: in create_service data["Network"][0]["Aliases"] = [hostname] E KeyError: 'Network' __________________ ServiceTest.test_create_service_with_hosts __________________ tests/integration/api_service_test.py:754: in test_create_service_with_hosts svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________________ ServiceTest.test_create_service_with_init ___________________ tests/integration/api_service_test.py:889: in test_create_service_with_init svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________ ServiceTest.test_create_service_with_network_attachment_config ________ tests/integration/api_service_test.py:393: in test_create_service_with_network_attachment_config task_tmpl, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_placement ________________ tests/integration/api_service_test.py:410: in test_create_service_with_placement svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_create_service_with_placement_object _____________ tests/integration/api_service_test.py:426: in test_create_service_with_placement_object svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________ ServiceTest.test_create_service_with_placement_platform ____________ tests/integration/api_service_test.py:439: in test_create_service_with_placement_platform svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_placement_preferences __________ tests/integration/api_service_test.py:454: in test_create_service_with_placement_preferences svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______ ServiceTest.test_create_service_with_placement_preferences_tuple _______ tests/integration/api_service_test.py:469: in test_create_service_with_placement_preferences_tuple svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_privileges ________________ tests/integration/api_service_test.py:872: in test_create_service_with_privileges svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_readonly _________________ tests/integration/api_service_test.py:840: in test_create_service_with_readonly svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_resources_constraints __________ tests/integration/api_service_test.py:206: in test_create_service_with_resources_constraints svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_restart_policy ______________ tests/integration/api_service_test.py:346: in test_create_service_with_restart_policy svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_rollback_config _____________ tests/integration/api_service_test.py:325: in test_create_service_with_rollback_config task_tmpl, rollback_config=rollback_cfg, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_secret __________________ tests/integration/api_service_test.py:652: in test_create_service_with_secret svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_stop_signal _______________ tests/integration/api_service_test.py:854: in test_create_service_with_stop_signal svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_create_service_with_tty ___________________ tests/integration/api_service_test.py:566: in test_create_service_with_tty svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_tty_dict _________________ tests/integration/api_service_test.py:583: in test_create_service_with_tty_dict svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_unicode_config ______________ tests/integration/api_service_test.py:729: in test_create_service_with_unicode_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_unicode_secret ______________ tests/integration/api_service_test.py:677: in test_create_service_with_unicode_secret svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_update_config ______________ tests/integration/api_service_test.py:275: in test_create_service_with_update_config task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_update_config_monitor __________ tests/integration/api_service_test.py:307: in test_create_service_with_update_config_monitor task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_update_order _______________ tests/integration/api_service_test.py:548: in test_create_service_with_update_order task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_volume_mount _______________ tests/integration/api_service_test.py:185: in test_create_service_with_volume_mount svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_inspect_service_by_id ____________________ tests/integration/api_service_test.py:92: in test_inspect_service_by_id svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_inspect_service_by_name ___________________ tests/integration/api_service_test.py:98: in test_inspect_service_by_name svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_inspect_service_insert_defaults _______________ tests/integration/api_service_test.py:105: in test_inspect_service_insert_defaults svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_list_services ________________________ tests/integration/api_service_test.py:77: in test_list_services self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_list_services_filter_by_label ________________ tests/integration/api_service_test.py:86: in test_list_services_filter_by_label self.create_simple_service(labels={'test_label': 'testing'}) tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_remove_service_by_id _____________________ tests/integration/api_service_test.py:115: in test_remove_service_by_id svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_remove_service_by_name ____________________ tests/integration/api_service_test.py:121: in test_remove_service_by_name svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_service_logs _________________________ tests/integration/api_service_test.py:136: in test_service_logs name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_update_service_force_update _________________ tests/integration/api_service_test.py:626: in test_update_service_force_update svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________ ServiceTest.test_update_service_remove_container_labels ____________ tests/integration/api_service_test.py:1230: in test_update_service_remove_container_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_remove_healthcheck ______________ tests/integration/api_service_test.py:1170: in test_update_service_remove_healthcheck svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_service_remove_labels _________________ tests/integration/api_service_test.py:1206: in test_update_service_remove_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________ ServiceTest.test_update_service_with_defaults_container_labels ________ tests/integration/api_service_test.py:984: in test_update_service_with_defaults_container_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_update_service_with_defaults_endpoint_spec __________ tests/integration/api_service_test.py:1111: in test_update_service_with_defaults_endpoint_spec task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_update_service_with_defaults_labels _____________ tests/integration/api_service_test.py:927: in test_update_service_with_defaults_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_with_defaults_mode ______________ tests/integration/api_service_test.py:955: in test_update_service_with_defaults_mode mode=docker.types.ServiceMode(mode='replicated', replicas=2) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_with_defaults_name ______________ tests/integration/api_service_test.py:903: in test_update_service_with_defaults_name svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_update_service_with_defaults_networks ____________ tests/integration/api_service_test.py:1068: in test_update_service_with_defaults_networks 'dockerpytest_1', {'Target': 'dockerpytest_2'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_update_service_with_defaults_update_config __________ tests/integration/api_service_test.py:1031: in test_update_service_with_defaults_update_config task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_update_service_with_network_change ______________ tests/integration/api_service_test.py:1274: in test_update_service_with_network_change task_tmpl, name=name, networks=[net1['Id']] docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________________ ServiceTest.test_create ____________________________ tests/integration/models_services_test.py:33: in test_create container_labels={'container': 'label'} docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________________ ServiceTest.test_create_with_network _____________________ tests/integration/models_services_test.py:53: in test_create_with_network networks=[network.id] docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_force_update_service _____________________ tests/integration/models_services_test.py:286: in test_force_update_service command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_force_update_service_using_bool _______________ tests/integration/models_services_test.py:308: in test_force_update_service_using_bool command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_force_update_service_using_shorthand_method _________ tests/integration/models_services_test.py:330: in test_force_update_service_using_shorthand_method command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________________________ ServiceTest.test_get _____________________________ tests/integration/models_services_test.py:66: in test_get command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________________ ServiceTest.test_list_remove _________________________ tests/integration/models_services_test.py:76: in test_list_remove command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_scale_method_global_service _________________ tests/integration/models_services_test.py:264: in test_scale_method_global_service mode=mode docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_scale_method_service _____________________ tests/integration/models_services_test.py:242: in test_scale_method_service command="sleep 300", docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_scale_service ________________________ tests/integration/models_services_test.py:218: in test_scale_service command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________________ ServiceTest.test_tasks ____________________________ tests/integration/models_services_test.py:87: in test_tasks command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment tests/unit/models_containers_test.py::ContainerTest::test_commit PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_diff PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run PASSED [ 78%] 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 [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_logs PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_name PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_pause PASSED [ 79%] 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 [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_stats PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_status PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_stop PASSED [ 80%] 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 [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_list PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_load PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_multiple 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 [ 82%] ___________________________ ServiceTest.test_update ____________________________ tests/integration/models_services_test.py:113: in test_update command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_remove_service_labels _________________ tests/integration/models_services_test.py:173: in test_update_remove_service_labels command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_update_retains_container_labels _______________ tests/integration/models_services_test.py:153: in test_update_retains_container_labels container_labels={'container.label': 'SampleLabel'} docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_retains_service_labels ________________ tests/integration/models_services_test.py:133: in test_update_retains_service_labels command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ---------- coverage: platform linux2, python 2.7.16-final-0 ---------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 5 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 19 92 17 82% docker/api/client.py 265 45 98 12 82% docker/api/config.py 31 1 6 2 92% docker/api/container.py 265 19 102 21 89% docker/api/daemon.py 39 2 14 4 89% docker/api/exec_api.py 46 4 22 4 88% docker/api/image.py 149 19 50 10 84% docker/api/network.py 90 13 48 12 80% docker/api/plugin.py 90 13 12 4 81% docker/api/secret.py 36 4 10 3 80% docker/api/service.py 206 137 151 21 29% docker/api/swarm.py 106 14 38 10 82% docker/api/volume.py 38 3 14 3 88% docker/auth.py 198 16 74 17 88% docker/client.py 67 4 2 0 94% docker/constants.py 16 0 0 0 100% 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 6 16 3 83% docker/credentials/utils.py 23 13 12 1 31% docker/errors.py 90 6 18 6 89% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 0 0 62% docker/models/containers.py 183 6 60 5 95% docker/models/images.py 137 29 52 3 76% docker/models/networks.py 37 1 8 0 98% docker/models/nodes.py 15 1 0 0 93% docker/models/plugins.py 49 30 8 0 33% docker/models/resource.py 41 9 6 2 77% docker/models/secrets.py 21 8 0 0 62% docker/models/services.py 87 31 34 2 64% docker/models/swarm.py 39 3 6 3 87% docker/models/volumes.py 23 1 2 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 58 53 10 0 7% docker/transport/npipesocket.py 134 130 20 0 3% docker/transport/sshconn.py 68 44 12 1 31% docker/transport/ssladapter.py 36 8 10 4 70% docker/transport/unixconn.py 65 5 12 4 88% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 0 2 0 100% docker/types/containers.py 360 46 296 35 86% docker/types/daemon.py 36 9 14 3 68% docker/types/healthcheck.py 34 12 4 1 61% docker/types/networks.py 35 4 22 3 84% docker/types/services.py 312 56 206 33 79% docker/types/swarm.py 51 24 40 10 52% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 154 14 74 7 89% docker/utils/config.py 36 1 10 1 96% docker/utils/decorators.py 32 1 12 1 95% docker/utils/fnmatch.py 55 18 28 2 61% docker/utils/json_stream.py 43 8 14 2 79% docker/utils/ports.py 50 3 28 2 91% docker/utils/proxy.py 32 1 12 0 98% docker/utils/socket.py 86 8 40 7 87% docker/utils/utils.py 285 17 164 12 93% docker/version.py 2 0 0 0 100% ----------------------------------------------------------------------- TOTAL 4640 937 2003 301 77% =========================== 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_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 [1] tests/unit/utils_config_test.py:58: condition: sys.platform != 'win32' SKIPPED [1] tests/unit/utils_build_test.py:232: Backslash patterns only on Windows SKIPPED [1] tests/unit/api_build_test.py:169: Windows-specific syntax SKIPPED [3] /src/tests/helpers.py:71: Feature requires Docker Engine experimental mode 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/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 ========================== deprecated python version =========================== You are using Python 2.7.16, which will no longer be supported in pytest 5.0 For more information, please read: https://docs.pytest.org/en/latest/py27-py34-deprecation.html == 73 failed, 842 passed, 10 skipped, 5 xfailed, 2 xpassed in 324.72 seconds === tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_sha PASSED [ 36%] tests/unit/models_images_test.py::ImageTest::test_history PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_save PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_short_id PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_tag PASSED [ 82%] 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 [ 83%] tests/unit/models_networks_test.py::NetworkTest::test_remove PASSED [ 83%] tests/unit/models_resources_test.py::ModelTest::test_hash PASSED [ 83%] tests/unit/models_resources_test.py::ModelTest::test_reload PASSED [ 83%] 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 [ 84%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm PASSED [ 84%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm_no_listen_address_takes_default PASSED [ 84%] tests/unit/swarm_test.py::SwarmTest::test_node_update PASSED [ 84%] 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 [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_wildcard_exception PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard_with_exception PASSED [ 85%] 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 [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_excludes PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_parent_directory PASSED [ 86%] 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 [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_wildcard_filename PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_with_path_traversal PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory PASSED [ 87%] 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/integration/models_containers_test.py::ContainerTest::test_diff PASSED [ 33%] tests/integration/models_images_test.py::ImageCollectionTest::test_build_with_success_build_output PASSED [ 35%] [Pipeline] sh tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_tag PASSED [ 36%] 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 [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_exception PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_wildcard_exception PASSED [ 88%] 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 [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_inaccessible_file SKIPPED [ 89%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_fallback PASSED [ 89%] 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 [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 90%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_no_object PASSED [ 90%] 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 [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_from_dict PASSED [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_inject_proxy_environment PASSED [ 91%] 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 [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false_no_cert PASSED [ 92%] 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 [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_invalid_line PASSED [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_newline PASSED [ 93%] 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 [ 94%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_sha PASSED [ 94%] 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 [ 95%] tests/unit/utils_test.py::ParseDeviceTest::test_hybrid_list PASSED [ 95%] 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_maxint 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 PASSED [ 96%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_unicode PASSED [ 96%] 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 [ 97%] 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/integration/models_images_test.py::ImageCollectionTest::test_list PASSED [ 36%] + docker stop dpy-dind-2-0-py2.7-19.03.2-rc1 dpy-tests-2-0-py2.7-19.03.2-rc1 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 [ 37%] 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/models_images_test.py::ImageCollectionTest::test_list_with_repository PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_load_error PASSED [ 36%] tests/integration/models_images_test.py::ImageTest::test_tag_and_remove PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 37%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 36%] tests/integration/models_containers_test.py::ContainerTest::test_exec_run_failed PASSED [ 33%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_list_remove PASSED [ 37%] tests/unit/utils_test.py::FormatEnvironmentTest::test_format_env_no_value PASSED [100%] =================================== FAILURES =================================== ______________ ServiceTest.test_create_service_custom_log_driver _______________ tests/integration/api_service_test.py:166: in test_create_service_custom_log_driver svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_global_mode __________________ tests/integration/api_service_test.py:598: in test_create_service_global_mode task_tmpl, name=name, mode='global' docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_replicated_mode ________________ tests/integration/api_service_test.py:612: in test_create_service_replicated_mode mode=docker.types.ServiceMode('replicated', 5) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_create_service_simple ____________________ tests/integration/api_service_test.py:127: in test_create_service_simple name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_config __________________ tests/integration/api_service_test.py:704: in test_create_service_with_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_custom_networks _____________ tests/integration/api_service_test.py:365: in test_create_service_with_custom_networks 'dockerpytest_1', {'Target': 'dockerpytest_2'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_dns_config ________________ tests/integration/api_service_test.py:803: in test_create_service_with_dns_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_endpoint_spec ______________ tests/integration/api_service_test.py:484: in test_create_service_with_endpoint_spec task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_create_service_with_env ___________________ tests/integration/api_service_test.py:531: in test_create_service_with_env svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_create_service_with_failure_action_rollback _________ tests/integration/api_service_test.py:291: in test_create_service_with_failure_action_rollback task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_groups __________________ tests/integration/api_service_test.py:784: in test_create_service_with_groups svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_healthcheck _______________ tests/integration/api_service_test.py:823: in test_create_service_with_healthcheck svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_hostname _________________ tests/integration/api_service_test.py:769: in test_create_service_with_hostname svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:187: in create_service data["Network"][0]["Aliases"] = [hostname] E KeyError: 'Network' __________________ ServiceTest.test_create_service_with_hosts __________________ tests/integration/api_service_test.py:754: in test_create_service_with_hosts svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________ ServiceTest.test_create_service_with_network_attachment_config ________ tests/integration/api_service_test.py:393: in test_create_service_with_network_attachment_config task_tmpl, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_placement ________________ tests/integration/api_service_test.py:410: in test_create_service_with_placement svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_create_service_with_placement_object _____________ tests/integration/api_service_test.py:426: in test_create_service_with_placement_object svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________ ServiceTest.test_create_service_with_placement_platform ____________ tests/integration/api_service_test.py:439: in test_create_service_with_placement_platform svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_placement_preferences __________ tests/integration/api_service_test.py:454: in test_create_service_with_placement_preferences svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______ ServiceTest.test_create_service_with_placement_preferences_tuple _______ tests/integration/api_service_test.py:469: in test_create_service_with_placement_preferences_tuple svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_privileges ________________ tests/integration/api_service_test.py:872: in test_create_service_with_privileges svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_readonly _________________ tests/integration/api_service_test.py:840: in test_create_service_with_readonly svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_resources_constraints __________ tests/integration/api_service_test.py:206: in test_create_service_with_resources_constraints svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_restart_policy ______________ tests/integration/api_service_test.py:346: in test_create_service_with_restart_policy svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_rollback_config _____________ tests/integration/api_service_test.py:325: in test_create_service_with_rollback_config task_tmpl, rollback_config=rollback_cfg, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_secret __________________ tests/integration/api_service_test.py:652: in test_create_service_with_secret svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_stop_signal _______________ tests/integration/api_service_test.py:854: in test_create_service_with_stop_signal svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_create_service_with_tty ___________________ tests/integration/api_service_test.py:566: in test_create_service_with_tty svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_tty_dict _________________ tests/integration/api_service_test.py:583: in test_create_service_with_tty_dict svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_unicode_config ______________ tests/integration/api_service_test.py:729: in test_create_service_with_unicode_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_unicode_secret ______________ tests/integration/api_service_test.py:677: in test_create_service_with_unicode_secret svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_update_config ______________ tests/integration/api_service_test.py:275: in test_create_service_with_update_config task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_update_config_monitor __________ tests/integration/api_service_test.py:307: in test_create_service_with_update_config_monitor task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_update_order _______________ tests/integration/api_service_test.py:548: in test_create_service_with_update_order task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_volume_mount _______________ tests/integration/api_service_test.py:185: in test_create_service_with_volume_mount svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_inspect_service_by_id ____________________ tests/integration/api_service_test.py:92: in test_inspect_service_by_id svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_inspect_service_by_name ___________________ tests/integration/api_service_test.py:98: in test_inspect_service_by_name svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_inspect_service_insert_defaults _______________ tests/integration/api_service_test.py:105: in test_inspect_service_insert_defaults svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_list_services ________________________ tests/integration/api_service_test.py:77: in test_list_services self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_list_services_filter_by_label ________________ tests/integration/api_service_test.py:86: in test_list_services_filter_by_label self.create_simple_service(labels={'test_label': 'testing'}) tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_remove_service_by_id _____________________ tests/integration/api_service_test.py:115: in test_remove_service_by_id svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_remove_service_by_name ____________________ tests/integration/api_service_test.py:121: in test_remove_service_by_name svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_service_logs _________________________ tests/integration/api_service_test.py:136: in test_service_logs name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_update_service_force_update _________________ tests/integration/api_service_test.py:626: in test_update_service_force_update svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________ ServiceTest.test_update_service_remove_container_labels ____________ tests/integration/api_service_test.py:1230: in test_update_service_remove_container_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_remove_healthcheck ______________ tests/integration/api_service_test.py:1170: in test_update_service_remove_healthcheck svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_service_remove_labels _________________ tests/integration/api_service_test.py:1206: in test_update_service_remove_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________ ServiceTest.test_update_service_with_defaults_container_labels ________ tests/integration/api_service_test.py:984: in test_update_service_with_defaults_container_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_update_service_with_defaults_endpoint_spec __________ tests/integration/api_service_test.py:1111: in test_update_service_with_defaults_endpoint_spec task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_update_service_with_defaults_labels _____________ tests/integration/api_service_test.py:927: in test_update_service_with_defaults_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_with_defaults_mode ______________ tests/integration/api_service_test.py:955: in test_update_service_with_defaults_mode mode=docker.types.ServiceMode(mode='replicated', replicas=2) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_with_defaults_name ______________ tests/integration/api_service_test.py:903: in test_update_service_with_defaults_name svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_update_service_with_defaults_networks ____________ tests/integration/api_service_test.py:1068: in test_update_service_with_defaults_networks 'dockerpytest_1', {'Target': 'dockerpytest_2'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_update_service_with_defaults_update_config __________ tests/integration/api_service_test.py:1031: in test_update_service_with_defaults_update_config task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_update_service_with_network_change ______________ tests/integration/api_service_test.py:1274: in test_update_service_with_network_change task_tmpl, name=name, networks=[net1['Id']] docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________________ ServiceTest.test_create ____________________________ tests/integration/models_services_test.py:33: in test_create container_labels={'container': 'label'} docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________________ ServiceTest.test_create_with_network _____________________ tests/integration/models_services_test.py:53: in test_create_with_network networks=[network.id] docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_force_update_service _____________________ tests/integration/models_services_test.py:286: in test_force_update_service command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_force_update_service_using_bool _______________ tests/integration/models_services_test.py:308: in test_force_update_service_using_bool command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_force_update_service_using_shorthand_method _________ tests/integration/models_services_test.py:330: in test_force_update_service_using_shorthand_method command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________________________ ServiceTest.test_get _____________________________ tests/integration/models_services_test.py:66: in test_get command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________________ ServiceTest.test_list_remove _________________________ tests/integration/models_services_test.py:76: in test_list_remove command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_scale_method_global_service _________________ tests/integration/models_services_test.py:264: in test_scale_method_global_service mode=mode docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_scale_method_service _____________________ tests/integration/models_services_test.py:242: in test_scale_method_service command="sleep 300", docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_scale_service ________________________ tests/integration/models_services_test.py:218: in test_scale_service command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________________ ServiceTest.test_tasks ____________________________ tests/integration/models_services_test.py:87: in test_tasks command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________________ ServiceTest.test_update ____________________________ tests/integration/models_services_test.py:113: in test_update command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_remove_service_labels _________________ tests/integration/models_services_test.py:173: in test_update_remove_service_labels command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_update_retains_container_labels _______________ tests/integration/models_services_test.py:153: in test_update_retains_container_labels container_labels={'container.label': 'SampleLabel'} docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_retains_service_labels ________________ tests/integration/models_services_test.py:133: in test_update_retains_service_labels command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ---------- coverage: platform linux2, python 2.7.16-final-0 ---------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 5 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 21 92 17 81% docker/api/client.py 265 45 98 12 82% docker/api/config.py 31 1 6 2 92% docker/api/container.py 265 23 102 19 87% docker/api/daemon.py 39 2 14 4 89% docker/api/exec_api.py 46 6 22 4 82% docker/api/image.py 149 19 50 10 84% docker/api/network.py 90 17 48 12 75% docker/api/plugin.py 90 13 12 4 81% docker/api/secret.py 36 4 10 3 80% docker/api/service.py 206 133 151 25 31% docker/api/swarm.py 106 20 38 10 72% docker/api/volume.py 38 3 14 3 88% docker/auth.py 198 16 74 17 88% docker/client.py 67 4 2 0 94% docker/constants.py 16 0 0 0 100% 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 6 16 3 83% docker/credentials/utils.py 23 13 12 1 31% docker/errors.py 90 6 18 6 89% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 0 0 62% docker/models/containers.py 183 6 60 5 95% docker/models/images.py 137 29 52 3 76% docker/models/networks.py 37 1 8 0 98% docker/models/nodes.py 15 1 0 0 93% docker/models/plugins.py 49 30 8 0 33% docker/models/resource.py 41 9 6 2 77% docker/models/secrets.py 21 8 0 0 62% docker/models/services.py 87 31 34 2 64% docker/models/swarm.py 39 3 6 3 87% docker/models/volumes.py 23 1 2 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 58 53 10 0 7% docker/transport/npipesocket.py 134 130 20 0 3% docker/transport/sshconn.py 68 44 12 1 31% docker/transport/ssladapter.py 36 8 10 4 70% docker/transport/unixconn.py 65 5 12 4 88% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 0 2 0 100% docker/types/containers.py 360 46 296 35 86% docker/types/daemon.py 36 9 14 3 68% docker/types/healthcheck.py 34 12 4 1 61% docker/types/networks.py 35 4 22 3 84% docker/types/services.py 312 62 206 39 76% docker/types/swarm.py 51 24 40 10 52% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 154 14 74 7 89% docker/utils/config.py 36 1 10 1 96% docker/utils/decorators.py 32 1 12 1 95% docker/utils/fnmatch.py 55 18 28 2 61% docker/utils/json_stream.py 43 8 14 2 79% docker/utils/ports.py 50 3 28 2 91% docker/utils/proxy.py 32 1 12 0 98% docker/utils/socket.py 86 8 40 7 87% docker/utils/utils.py 285 17 164 12 93% docker/version.py 2 0 0 0 100% ----------------------------------------------------------------------- TOTAL 4640 957 2003 309 77% =========================== 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_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 [1] tests/integration/api_swarm_test.py:45: API version is too low (< 1.39) SKIPPED [1] tests/unit/utils_build_test.py:232: 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/integration/api_exec_test.py:182: API version is too low (< 1.35) SKIPPED [1] tests/integration/api_service_test.py:882: API version is too low (< 1.38) SKIPPED [1] tests/integration/api_build_test.py:587: API version is too low (< 1.31) SKIPPED [1] tests/integration/api_container_test.py:917: API version is too low (< 1.35) SKIPPED [1] tests/unit/utils_config_test.py:58: condition: sys.platform != 'win32' SKIPPED [2] tests/helpers.py:67: API version is too low (< 1.32) SKIPPED [1] tests/integration/api_swarm_test.py:52: API version is too low (< 1.39) SKIPPED [1] tests/unit/api_build_test.py:169: Windows-specific syntax SKIPPED [1] tests/integration/api_swarm_test.py:38: API version is too low (< 1.39) SKIPPED [1] /src/tests/helpers.py:71: Feature requires Docker Engine experimental mode SKIPPED [1] tests/unit/utils_build_test.py:254: Backslash patterns only on Windows SKIPPED [1] tests/integration/api_network_test.py:451: API version is too low (< 1.31) SKIPPED [1] tests/integration/api_image_test.py:292: Doesn't work inside a container - FIXME SKIPPED [1] tests/integration/api_service_test.py:229: API version is too low (< 1.32) SKIPPED [1] /src/tests/integration/api_swarm_test.py:31: Test stalls the engine on 1.12.0 SKIPPED [1] tests/integration/api_service_test.py:503: API version is too low (< 1.32) SKIPPED [1] tests/integration/api_service_test.py:261: API version is too low (< 1.32) SKIPPED [1] tests/integration/api_swarm_test.py:59: API version is too low (< 1.39) ========================== deprecated python version =========================== You are using Python 2.7.16, which will no longer be supported in pytest 5.0 For more information, please read: https://docs.pytest.org/en/latest/py27-py34-deprecation.html == 70 failed, 834 passed, 22 skipped, 5 xfailed, 1 xpassed in 331.19 seconds === tests/integration/models_containers_test.py::ContainerTest::test_exec_run_success PASSED [ 33%] [Pipeline] sh tests/integration/models_images_test.py::ImageCollectionTest::test_pull_multiple PASSED [ 36%] + docker stop dpy-dind-2-0-py2.7-17.06.2-ce dpy-tests-2-0-py2.7-17.06.2-ce tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_sha PASSED [ 36%] tests/integration/models_containers_test.py::ContainerTest::test_kill PASSED [ 34%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull_with_tag PASSED [ 36%] tests/integration/models_networks_test.py::NetworkTest::test_connect_disconnect PASSED [ 37%] 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 [ 37%] tests/integration/regression_test.py::TestRegressions::test_649_handle_timeout_value_none PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_715_handle_user_param_as_int_value PASSED [ 40%] tests/integration/models_images_test.py::ImageTest::test_tag_and_remove PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 37%] tests/integration/models_containers_test.py::ContainerTest::test_logs PASSED [ 34%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_list_remove PASSED [ 37%] 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/models_containers_test.py::ContainerTest::test_pause PASSED [ 34%] 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/integration/credentials/store_test.py::TestStore::test_unicode_strings PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_list PASSED [ 41%] tests/integration/credentials/store_test.py::TestStore::test_execute_with_env_override PASSED [ 41%] tests/integration/credentials/utils_test.py::test_create_environment_dict PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container PASSED [ 41%] 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 [ 42%] tests/unit/api_build_test.py::BuildTest::test_build_remote_with_registry_auth PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile_win_longpath_prefix SKIPPED [ 42%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_auth_configs PASSED [ 42%] 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 [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_regression_573 PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_ro PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_rw PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 43%] 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 [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_privileged PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_added_capabilities PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_aliases PASSED [ 44%] 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 [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_rw PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_cgroup_parent PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_devices PASSED [ 45%] 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 [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_dict PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_list PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links_as_list_of_tuples PASSED [ 46%] 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 [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_k_unit PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_m_unit PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_wrong_value PASSED [ 47%] 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 [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stop_signal PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_sysctl PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_dict PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_list PASSED [ 48%] 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 [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_top PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_top_with_psargs PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_update PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_diff PASSED [ 49%] 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 [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_dict_instead_of_id PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_signal PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_list_containers PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_following PASSED [ 50%] 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 [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming_and_following PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_tail PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_tty PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_logs PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_logs_with_dict_instead_of_id PASSED [ 51%] 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 [ 52%] tests/unit/api_container_test.py::ContainerTest::test_rename_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_resize_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_restart_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_restart_container_with_dict_instead_of_id PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_stop_container PASSED [ 52%] 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 [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_create PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_resize PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_start PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_commit PASSED [ 53%] 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 [ 54%] tests/unit/api_image_test.py::ImageTest::test_images PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_images_filters PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_images_quiet PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_import_image PASSED [ 54%] 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 [ 55%] tests/unit/api_image_test.py::ImageTest::test_load_image_quiet PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_pull PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_pull_stream PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image_stream PASSED [ 55%] 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 [ 56%] tests/unit/api_image_test.py::ImageTest::test_tag_image_force PASSED [ 56%] tests/unit/api_image_test.py::ImageTest::test_tag_image_tag PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_connect_container_to_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_create_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_disconnect_container_from_network PASSED [ 56%] 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 [ 57%] tests/unit/api_test.py::DockerApiTest::test_ctor PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events_with_filters PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events_with_since_until PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_info PASSED [ 57%] 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 [ 58%] tests/integration/models_networks_test.py::NetworkTest::test_connect_disconnect PASSED [ 37%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_list PASSED [ 34%] tests/unit/api_test.py::DockerApiTest::test_stream_helper_decoding PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http_unix_triple_slash PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_tcp PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix PASSED [ 58%] 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 [ 59%] tests/unit/api_test.py::DockerApiTest::test_url_valid_resource PASSED [ 59%] tests/unit/api_test.py::DockerApiTest::test_version PASSED [ 59%] tests/unit/api_test.py::DockerApiTest::test_version_no_api_version PASSED [ 59%] tests/unit/api_test.py::UnixSocketStreamTest::test_early_stream_response PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty_demux PASSED [ 59%] tests/integration/models_containers_test.py::ContainerTest::test_ports_target_none PASSED [ 34%] 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/integration/models_containers_test.py::ContainerTest::test_ports_target_tuple PASSED [ 34%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty_demux PASSED [ 60%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty PASSED [ 60%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty_demux PASSED [ 60%] tests/unit/api_test.py::UserAgentTest::test_custom_user_agent PASSED [ 60%] tests/unit/api_test.py::UserAgentTest::test_default_user_agent PASSED [ 60%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout PASSED [ 60%] 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 [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_driver PASSED [ 61%] tests/integration/models_containers_test.py::ContainerTest::test_remove PASSED [ 34%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_invalid_labels PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_labels PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_no_specified_name PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_inspect_volume PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes PASSED [ 61%] 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 [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image PASSED [ 62%] 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 [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry PASSED [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_port PASSED [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_username PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_auth_with_empty_credstore_and_auth_dict PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_explicit_none PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_registry PASSED [ 63%] 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 [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_match PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_trailing_slash PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_insecure_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_secure_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_protocol PASSED [ 64%] 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 [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_hub_image PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_library_image PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_private_registry PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_unauthenticated_registry PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_utf8 PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_with_auths PASSED [ 65%] 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 [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_with_random_name PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_json_config PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_legacy_config PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_modern_json_config PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_3_sources PASSED [ 66%] 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 [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_auths_entries PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_credhelpers_only PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_auths_entry PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_credhelper PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_default_index PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_no_default PASSED [ 67%] 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 [ 68%] tests/unit/client_test.py::ClientTest::test_call_containers PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_events PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_info PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_ping PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_version PASSED [ 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/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 [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_nano_cpus_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_pid_mode PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_blkio_constraints PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_count PASSED [ 69%] 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 [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period_types PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_runtime PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_dns_opt PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_isolation PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_kernel_memory PASSED [ 70%] 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 [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size_in_mb PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_userns_mode PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_uts PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_volume_driver PASSED [ 71%] 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 [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_obj_ulimit PASSED [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_ulimit_invalid_type PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_dict_logconfig PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_obj_logconfig PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_logconfig_invalid_config_type PASSED [ 72%] 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 [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas_0 PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_simple PASSED [ 73%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind PASSED [ 73%] 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 [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_rw PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_short_form PASSED [ 74%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_invalid PASSED [ 74%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_multiple PASSED [ 74%] 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 [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_400 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_500 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_error_300 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_error_400 PASSED [ 75%] 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 [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_200 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_500 PASSED [ 76%] tests/unit/errors_test.py::ContainerErrorTest::test_container_with_stderr PASSED [ 76%] 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 [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list_ignore_removed PASSED [ 77%] 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 [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_attach PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_commit PASSED [ 78%] tests/integration/models_containers_test.py::ContainerTest::test_rename PASSED [ 34%] tests/unit/models_containers_test.py::ContainerTest::test_diff PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run PASSED [ 78%] 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 [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_logs PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_name PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_pause PASSED [ 79%] 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 [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_stats PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_status PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_stop PASSED [ 80%] 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 [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_list PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_load PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_multiple 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 [ 82%] tests/unit/models_images_test.py::ImageTest::test_history PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_save PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_short_id PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_tag PASSED [ 82%] 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 [ 83%] tests/unit/models_networks_test.py::NetworkTest::test_remove PASSED [ 83%] tests/unit/models_resources_test.py::ModelTest::test_hash PASSED [ 83%] tests/unit/models_resources_test.py::ModelTest::test_reload PASSED [ 83%] 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 [ 84%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm PASSED [ 84%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm_no_listen_address_takes_default PASSED [ 84%] tests/unit/swarm_test.py::SwarmTest::test_node_update PASSED [ 84%] 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 [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_wildcard_exception PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard_with_exception PASSED [ 85%] 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 [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_excludes PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_parent_directory PASSED [ 86%] 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 [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_wildcard_filename PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_with_path_traversal PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory PASSED [ 87%] 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 [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_exception PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_wildcard_exception PASSED [ 88%] 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 [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_inaccessible_file SKIPPED [ 89%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_fallback PASSED [ 89%] 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 [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 90%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_no_object PASSED [ 90%] 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 [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_from_dict PASSED [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_inject_proxy_environment PASSED [ 91%] 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 [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false_no_cert PASSED [ 92%] 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 [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_invalid_line PASSED [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_newline PASSED [ 93%] 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 [ 94%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_sha PASSED [ 94%] 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 [ 95%] tests/unit/utils_test.py::ParseDeviceTest::test_hybrid_list PASSED [ 95%] 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_maxint 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 PASSED [ 96%] tests/unit/utils_test.py::SplitCommandTest::test_split_command_with_unicode PASSED [ 96%] 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 [ 97%] 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%] =================================== FAILURES =================================== ______________ ServiceTest.test_create_service_custom_log_driver _______________ tests/integration/api_service_test.py:166: in test_create_service_custom_log_driver svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_global_mode __________________ tests/integration/api_service_test.py:598: in test_create_service_global_mode task_tmpl, name=name, mode='global' docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_replicated_mode ________________ tests/integration/api_service_test.py:612: in test_create_service_replicated_mode mode=docker.types.ServiceMode('replicated', 5) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_create_service_simple ____________________ tests/integration/api_service_test.py:127: in test_create_service_simple name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_config __________________ tests/integration/api_service_test.py:704: in test_create_service_with_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_custom_networks _____________ tests/integration/api_service_test.py:365: in test_create_service_with_custom_networks 'dockerpytest_1', {'Target': 'dockerpytest_2'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_dns_config ________________ tests/integration/api_service_test.py:803: in test_create_service_with_dns_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_endpoint_spec ______________ tests/integration/api_service_test.py:484: in test_create_service_with_endpoint_spec task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____ ServiceTest.test_create_service_with_endpoint_spec_host_publish_mode _____ tests/integration/api_service_test.py:512: in test_create_service_with_endpoint_spec_host_publish_mode task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_create_service_with_env ___________________ tests/integration/api_service_test.py:531: in test_create_service_with_env svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_create_service_with_failure_action_rollback _________ tests/integration/api_service_test.py:291: in test_create_service_with_failure_action_rollback task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_create_service_with_generic_resources ____________ tests/integration/api_service_test.py:245: in test_create_service_with_generic_resources resrcs, svc_info = self._create_service_with_generic_resources(t) tests/integration/api_service_test.py:226: in _create_service_with_generic_resources svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_groups __________________ tests/integration/api_service_test.py:784: in test_create_service_with_groups svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_healthcheck _______________ tests/integration/api_service_test.py:823: in test_create_service_with_healthcheck svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_hostname _________________ tests/integration/api_service_test.py:769: in test_create_service_with_hostname svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:187: in create_service data["Network"][0]["Aliases"] = [hostname] E KeyError: 'Network' __________________ ServiceTest.test_create_service_with_hosts __________________ tests/integration/api_service_test.py:754: in test_create_service_with_hosts svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________________ ServiceTest.test_create_service_with_init ___________________ tests/integration/api_service_test.py:889: in test_create_service_with_init svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________ ServiceTest.test_create_service_with_network_attachment_config ________ tests/integration/api_service_test.py:393: in test_create_service_with_network_attachment_config task_tmpl, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_placement ________________ tests/integration/api_service_test.py:410: in test_create_service_with_placement svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_create_service_with_placement_object _____________ tests/integration/api_service_test.py:426: in test_create_service_with_placement_object svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________ ServiceTest.test_create_service_with_placement_platform ____________ tests/integration/api_service_test.py:439: in test_create_service_with_placement_platform svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_placement_preferences __________ tests/integration/api_service_test.py:454: in test_create_service_with_placement_preferences svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______ ServiceTest.test_create_service_with_placement_preferences_tuple _______ tests/integration/api_service_test.py:469: in test_create_service_with_placement_preferences_tuple svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_privileges ________________ tests/integration/api_service_test.py:872: in test_create_service_with_privileges svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_readonly _________________ tests/integration/api_service_test.py:840: in test_create_service_with_readonly svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_resources_constraints __________ tests/integration/api_service_test.py:206: in test_create_service_with_resources_constraints svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_restart_policy ______________ tests/integration/api_service_test.py:346: in test_create_service_with_restart_policy svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_rollback_config _____________ tests/integration/api_service_test.py:325: in test_create_service_with_rollback_config task_tmpl, rollback_config=rollback_cfg, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_secret __________________ tests/integration/api_service_test.py:652: in test_create_service_with_secret svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_stop_signal _______________ tests/integration/api_service_test.py:854: in test_create_service_with_stop_signal svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_create_service_with_tty ___________________ tests/integration/api_service_test.py:566: in test_create_service_with_tty svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_tty_dict _________________ tests/integration/api_service_test.py:583: in test_create_service_with_tty_dict svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_unicode_config ______________ tests/integration/api_service_test.py:729: in test_create_service_with_unicode_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_unicode_secret ______________ tests/integration/api_service_test.py:677: in test_create_service_with_unicode_secret svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_update_config ______________ tests/integration/api_service_test.py:275: in test_create_service_with_update_config task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_update_config_monitor __________ tests/integration/api_service_test.py:307: in test_create_service_with_update_config_monitor task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_update_order _______________ tests/integration/api_service_test.py:548: in test_create_service_with_update_order task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_volume_mount _______________ tests/integration/api_service_test.py:185: in test_create_service_with_volume_mount svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_inspect_service_by_id ____________________ tests/integration/api_service_test.py:92: in test_inspect_service_by_id svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_inspect_service_by_name ___________________ tests/integration/api_service_test.py:98: in test_inspect_service_by_name svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_inspect_service_insert_defaults _______________ tests/integration/api_service_test.py:105: in test_inspect_service_insert_defaults svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_list_services ________________________ tests/integration/api_service_test.py:77: in test_list_services self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_list_services_filter_by_label ________________ tests/integration/api_service_test.py:86: in test_list_services_filter_by_label self.create_simple_service(labels={'test_label': 'testing'}) tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_remove_service_by_id _____________________ tests/integration/api_service_test.py:115: in test_remove_service_by_id svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_remove_service_by_name ____________________ tests/integration/api_service_test.py:121: in test_remove_service_by_name svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_service_logs _________________________ tests/integration/api_service_test.py:136: in test_service_logs name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_update_service_force_update _________________ tests/integration/api_service_test.py:626: in test_update_service_force_update svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________ ServiceTest.test_update_service_remove_container_labels ____________ tests/integration/api_service_test.py:1230: in test_update_service_remove_container_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_remove_healthcheck ______________ tests/integration/api_service_test.py:1170: in test_update_service_remove_healthcheck svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_service_remove_labels _________________ tests/integration/api_service_test.py:1206: in test_update_service_remove_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________ ServiceTest.test_update_service_with_defaults_container_labels ________ tests/integration/api_service_test.py:984: in test_update_service_with_defaults_container_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_update_service_with_defaults_endpoint_spec __________ tests/integration/api_service_test.py:1111: in test_update_service_with_defaults_endpoint_spec task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_update_service_with_defaults_labels _____________ tests/integration/api_service_test.py:927: in test_update_service_with_defaults_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_with_defaults_mode ______________ tests/integration/api_service_test.py:955: in test_update_service_with_defaults_mode mode=docker.types.ServiceMode(mode='replicated', replicas=2) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_with_defaults_name ______________ tests/integration/api_service_test.py:903: in test_update_service_with_defaults_name svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_update_service_with_defaults_networks ____________ tests/integration/api_service_test.py:1068: in test_update_service_with_defaults_networks 'dockerpytest_1', {'Target': 'dockerpytest_2'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_update_service_with_defaults_update_config __________ tests/integration/api_service_test.py:1031: in test_update_service_with_defaults_update_config task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_update_service_with_network_change ______________ tests/integration/api_service_test.py:1274: in test_update_service_with_network_change task_tmpl, name=name, networks=[net1['Id']] docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________________ ServiceTest.test_create ____________________________ tests/integration/models_services_test.py:33: in test_create container_labels={'container': 'label'} docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________________ ServiceTest.test_create_with_network _____________________ tests/integration/models_services_test.py:53: in test_create_with_network networks=[network.id] docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_force_update_service _____________________ tests/integration/models_services_test.py:286: in test_force_update_service command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_force_update_service_using_bool _______________ tests/integration/models_services_test.py:308: in test_force_update_service_using_bool command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_force_update_service_using_shorthand_method _________ tests/integration/models_services_test.py:330: in test_force_update_service_using_shorthand_method command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________________________ ServiceTest.test_get _____________________________ tests/integration/models_services_test.py:66: in test_get command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________________ ServiceTest.test_list_remove _________________________ tests/integration/models_services_test.py:76: in test_list_remove command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_scale_method_global_service _________________ tests/integration/models_services_test.py:264: in test_scale_method_global_service mode=mode docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_scale_method_service _____________________ tests/integration/models_services_test.py:242: in test_scale_method_service command="sleep 300", docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_scale_service ________________________ tests/integration/models_services_test.py:218: in test_scale_service command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________________ ServiceTest.test_tasks ____________________________ tests/integration/models_services_test.py:87: in test_tasks command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________________ ServiceTest.test_update ____________________________ tests/integration/models_services_test.py:113: in test_update command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_remove_service_labels _________________ tests/integration/models_services_test.py:173: in test_update_remove_service_labels command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_update_retains_container_labels _______________ tests/integration/models_services_test.py:153: in test_update_retains_container_labels container_labels={'container.label': 'SampleLabel'} docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_retains_service_labels ________________ tests/integration/models_services_test.py:133: in test_update_retains_service_labels command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ---------- coverage: platform linux2, python 2.7.16-final-0 ---------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 5 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 19 92 17 82% docker/api/client.py 265 45 98 12 82% docker/api/config.py 31 1 6 2 92% docker/api/container.py 265 19 102 21 89% docker/api/daemon.py 39 2 14 4 89% docker/api/exec_api.py 46 4 22 4 88% docker/api/image.py 149 19 50 10 84% docker/api/network.py 90 13 48 12 80% docker/api/plugin.py 90 13 12 4 81% docker/api/secret.py 36 4 10 3 80% docker/api/service.py 206 137 151 21 29% docker/api/swarm.py 106 14 38 10 82% docker/api/volume.py 38 3 14 3 88% docker/auth.py 198 16 74 17 88% docker/client.py 67 4 2 0 94% docker/constants.py 16 0 0 0 100% 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 6 16 3 83% docker/credentials/utils.py 23 13 12 1 31% docker/errors.py 90 6 18 6 89% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 0 0 62% docker/models/containers.py 183 6 60 5 95% docker/models/images.py 137 29 52 3 76% docker/models/networks.py 37 1 8 0 98% docker/models/nodes.py 15 1 0 0 93% docker/models/plugins.py 49 30 8 0 33% docker/models/resource.py 41 9 6 2 77% docker/models/secrets.py 21 8 0 0 62% docker/models/services.py 87 31 34 2 64% docker/models/swarm.py 39 3 6 3 87% docker/models/volumes.py 23 1 2 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 58 53 10 0 7% docker/transport/npipesocket.py 134 130 20 0 3% docker/transport/sshconn.py 68 44 12 1 31% docker/transport/ssladapter.py 36 8 10 4 70% docker/transport/unixconn.py 65 5 12 4 88% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 0 2 0 100% docker/types/containers.py 360 46 296 35 86% docker/types/daemon.py 36 9 14 3 68% docker/types/healthcheck.py 34 12 4 1 61% docker/types/networks.py 35 4 22 3 84% docker/types/services.py 312 56 206 33 79% docker/types/swarm.py 51 24 40 10 52% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 154 14 74 7 89% docker/utils/config.py 36 1 10 1 96% docker/utils/decorators.py 32 1 12 1 95% docker/utils/fnmatch.py 55 18 28 2 61% docker/utils/json_stream.py 43 8 14 2 79% docker/utils/ports.py 50 3 28 2 91% docker/utils/proxy.py 32 1 12 0 98% docker/utils/socket.py 86 8 40 7 87% docker/utils/utils.py 285 17 164 12 93% docker/version.py 2 0 0 0 100% ----------------------------------------------------------------------- TOTAL 4640 937 2003 301 77% =========================== 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_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 [1] tests/unit/utils_config_test.py:58: condition: sys.platform != 'win32' SKIPPED [1] tests/unit/utils_build_test.py:232: Backslash patterns only on Windows SKIPPED [1] tests/unit/api_build_test.py:169: Windows-specific syntax SKIPPED [3] /src/tests/helpers.py:71: Feature requires Docker Engine experimental mode 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/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 ========================== deprecated python version =========================== You are using Python 2.7.16, which will no longer be supported in pytest 5.0 For more information, please read: https://docs.pytest.org/en/latest/py27-py34-deprecation.html == 73 failed, 842 passed, 10 skipped, 5 xfailed, 2 xpassed in 323.80 seconds === tests/integration/models_nodes_test.py::NodesTest::test_list_get_update PASSED [ 37%] tests/integration/models_resources_test.py::ModelTest::test_reload PASSED [ 37%] [Pipeline] sh + docker stop dpy-dind-2-0-py2.7-19.03.1 dpy-tests-2-0-py2.7-19.03.1 tests/integration/models_services_test.py::ServiceTest::test_create FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create_with_network FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_bool FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_shorthand_method FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_get FAILED [ 38%] tests/integration/models_nodes_test.py::NodesTest::test_list_get_update PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_list_remove FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_global_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_tasks FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_remove_service_labels FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_container_labels FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks XFAIL [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_service_labels FAILED [ 39%] tests/integration/models_resources_test.py::ModelTest::test_reload PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create_with_network FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_bool FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_shorthand_method FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_get FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_list_remove FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_global_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_tasks FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_remove_service_labels FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_container_labels FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks XFAIL [ 39%] dpy-dind-2-0-py2.7-19.03.2-rc1 dpy-tests-2-0-py2.7-19.03.2-rc1 + docker rm -vf dpy-dind-2-0-py2.7-19.03.2-rc1 dpy-tests-2-0-py2.7-19.03.2-rc1 dpy-dind-2-0-py2.7-19.03.2-rc1 dpy-tests-2-0-py2.7-19.03.2-rc1 + docker network rm dpy-testnet-2-0-py2.7-19.03.2-rc1 dpy-testnet-2-0-py2.7-19.03.2-rc1 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py2.7_19.03.2-rc1 tests/integration/models_swarm_test.py::SwarmTest::test_init_update_leave PASSED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_service_labels FAILED [ 39%] dpy-dind-2-0-py2.7-17.06.2-ce dpy-tests-2-0-py2.7-17.06.2-ce + docker rm -vf dpy-dind-2-0-py2.7-17.06.2-ce dpy-tests-2-0-py2.7-17.06.2-ce dpy-dind-2-0-py2.7-17.06.2-ce dpy-tests-2-0-py2.7-17.06.2-ce + docker network rm dpy-testnet-2-0-py2.7-17.06.2-ce dpy-testnet-2-0-py2.7-17.06.2-ce [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py2.7_17.06.2-ce tests/integration/models_swarm_test.py::SwarmTest::test_init_update_leave PASSED [ 39%] 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 [ 40%] tests/integration/regression_test.py::TestRegressions::test_542_truncate_ids_client_side PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_647_support_doubleslash_in_image_names PASSED [ 40%] 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 [ 40%] tests/integration/regression_test.py::TestRegressions::test_542_truncate_ids_client_side PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_647_support_doubleslash_in_image_names PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_649_handle_timeout_value_none PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_715_handle_user_param_as_int_value PASSED [ 40%] 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/integration/credentials/store_test.py::TestStore::test_unicode_strings PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_list PASSED [ 41%] tests/integration/credentials/store_test.py::TestStore::test_execute_with_env_override PASSED [ 41%] tests/integration/credentials/utils_test.py::test_create_environment_dict PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container PASSED [ 41%] 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_containers_test.py::ContainerTest::test_restart PASSED [ 34%] tests/integration/models_containers_test.py::ContainerTest::test_start PASSED [ 34%] tests/unit/api_build_test.py::BuildTest::test_build_container_with_named_dockerfile PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_build_remote_with_registry_auth PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile_win_longpath_prefix SKIPPED [ 42%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_auth_configs PASSED [ 42%] 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 [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_regression_573 PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_ro PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_rw PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 43%] 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 [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_privileged PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_added_capabilities PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_aliases PASSED [ 44%] 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 [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_rw PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_cgroup_parent PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_devices PASSED [ 45%] 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 [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_dict PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_list PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links_as_list_of_tuples PASSED [ 46%] 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 [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_k_unit PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_m_unit PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_wrong_value PASSED [ 47%] 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 [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stop_signal PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_sysctl PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_dict PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_list PASSED [ 48%] 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 [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_top PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_top_with_psargs PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_update PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_diff PASSED [ 49%] 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 [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_dict_instead_of_id PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_signal PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_list_containers PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_following PASSED [ 50%] 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 [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming_and_following PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_tail PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_tty PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_logs PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_logs_with_dict_instead_of_id PASSED [ 51%] 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 [ 52%] tests/unit/api_container_test.py::ContainerTest::test_rename_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_resize_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_restart_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_restart_container_with_dict_instead_of_id PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_stop_container PASSED [ 52%] 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 [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_create PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_resize PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_start PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_commit PASSED [ 53%] 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 [ 54%] tests/unit/api_image_test.py::ImageTest::test_images PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_images_filters PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_images_quiet PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_import_image PASSED [ 54%] 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 [ 55%] tests/unit/api_image_test.py::ImageTest::test_load_image_quiet PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_pull PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_pull_stream PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image_stream PASSED [ 55%] 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 [ 56%] tests/unit/api_image_test.py::ImageTest::test_tag_image_force PASSED [ 56%] tests/unit/api_image_test.py::ImageTest::test_tag_image_tag PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_connect_container_to_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_create_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_disconnect_container_from_network PASSED [ 56%] 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 [ 57%] tests/unit/api_test.py::DockerApiTest::test_ctor PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events_with_filters PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events_with_since_until PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_info PASSED [ 57%] 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 [ 58%] tests/unit/api_test.py::DockerApiTest::test_stream_helper_decoding PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http_unix_triple_slash PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_tcp PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix PASSED [ 58%] 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 [ 59%] tests/unit/api_test.py::DockerApiTest::test_url_valid_resource PASSED [ 59%] tests/unit/api_test.py::DockerApiTest::test_version PASSED [ 59%] tests/unit/api_test.py::DockerApiTest::test_version_no_api_version PASSED [ 59%] tests/unit/api_test.py::UnixSocketStreamTest::test_early_stream_response PASSED [ 59%] tests/integration/regression_test.py::TestRegressions::test_649_handle_timeout_value_none PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_715_handle_user_param_as_int_value PASSED [ 40%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty_demux PASSED [ 59%] tests/integration/regression_test.py::TestRegressions::test_792_explicit_port_protocol PASSED [ 40%] 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/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/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty_demux PASSED [ 60%] tests/integration/credentials/store_test.py::TestStore::test_unicode_strings PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_list PASSED [ 41%] tests/integration/credentials/store_test.py::TestStore::test_execute_with_env_override PASSED [ 41%] tests/integration/credentials/utils_test.py::test_create_environment_dict PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container PASSED [ 41%] 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_test.py::TCPSocketStreamTest::test_read_from_socket_tty PASSED [ 60%] 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 [ 42%] tests/unit/api_build_test.py::BuildTest::test_build_remote_with_registry_auth PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile_win_longpath_prefix SKIPPED [ 42%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_auth_configs PASSED [ 42%] 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 [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_regression_573 PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_ro PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_rw PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 43%] 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 [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_privileged PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_added_capabilities PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_aliases PASSED [ 44%] 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 [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_rw PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_cgroup_parent PASSED [ 45%] dpy-dind-2-0-py2.7-19.03.1 dpy-tests-2-0-py2.7-19.03.1 + docker rm -vf dpy-dind-2-0-py2.7-19.03.1 dpy-tests-2-0-py2.7-19.03.1 dpy-dind-2-0-py2.7-19.03.1 dpy-tests-2-0-py2.7-19.03.1 + docker network rm dpy-testnet-2-0-py2.7-19.03.1 dpy-testnet-2-0-py2.7-19.03.1 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_devices PASSED [ 45%] 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 [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_dict PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_list PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links_as_list_of_tuples PASSED [ 46%] 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 [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_k_unit PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_m_unit PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_wrong_value PASSED [ 47%] 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 [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stop_signal PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_sysctl PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_dict PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_list PASSED [ 48%] 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 [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_top PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_top_with_psargs PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_update PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_diff PASSED [ 49%] 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 [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_dict_instead_of_id PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_signal PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_list_containers PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_following PASSED [ 50%] 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 [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming_and_following PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_tail PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_tty PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_logs PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_logs_with_dict_instead_of_id PASSED [ 51%] 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 [ 52%] tests/unit/api_container_test.py::ContainerTest::test_rename_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_resize_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_restart_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_restart_container_with_dict_instead_of_id PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_stop_container PASSED [ 52%] 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 [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_create PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_resize PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_start PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_commit PASSED [ 53%] 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 [ 54%] tests/unit/api_image_test.py::ImageTest::test_images PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_images_filters PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_images_quiet PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_import_image PASSED [ 54%] 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 [ 55%] tests/unit/api_image_test.py::ImageTest::test_load_image_quiet PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_pull PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_pull_stream PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image PASSED [ 55%] [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py2.7_19.03.1 tests/integration/models_containers_test.py::ContainerTest::test_stats PASSED [ 35%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty_demux PASSED [ 60%] tests/unit/api_test.py::UserAgentTest::test_custom_user_agent PASSED [ 60%] tests/unit/api_test.py::UserAgentTest::test_default_user_agent PASSED [ 60%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout PASSED [ 60%] 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 [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_driver PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_invalid_labels PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_labels PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_no_specified_name PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_inspect_volume PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes PASSED [ 61%] 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 [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image PASSED [ 62%] 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 [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry PASSED [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_port PASSED [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_username PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_auth_with_empty_credstore_and_auth_dict PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_explicit_none PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_registry PASSED [ 63%] 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 [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_match PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_trailing_slash PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_insecure_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_secure_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_protocol PASSED [ 64%] 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 [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_hub_image PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_library_image PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_private_registry PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_unauthenticated_registry PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_utf8 PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_with_auths PASSED [ 65%] 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 [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_with_random_name PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_json_config PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_legacy_config PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_modern_json_config PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_3_sources PASSED [ 66%] 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 [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_auths_entries PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_credhelpers_only PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_auths_entry PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_credhelper PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_default_index PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_no_default PASSED [ 67%] 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 [ 68%] tests/unit/client_test.py::ClientTest::test_call_containers PASSED [ 68%] tests/unit/api_image_test.py::ImageTest::test_push_image_stream PASSED [ 55%] 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 [ 56%] tests/unit/api_image_test.py::ImageTest::test_tag_image_force PASSED [ 56%] tests/unit/api_image_test.py::ImageTest::test_tag_image_tag PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_connect_container_to_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_create_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_disconnect_container_from_network PASSED [ 56%] 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 [ 57%] tests/unit/api_test.py::DockerApiTest::test_ctor PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events_with_filters PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events_with_since_until PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_info PASSED [ 57%] 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 [ 58%] tests/unit/api_test.py::DockerApiTest::test_stream_helper_decoding PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http_unix_triple_slash PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_tcp PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix PASSED [ 58%] 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 [ 59%] tests/unit/api_test.py::DockerApiTest::test_url_valid_resource PASSED [ 59%] tests/unit/api_test.py::DockerApiTest::test_version PASSED [ 59%] tests/unit/api_test.py::DockerApiTest::test_version_no_api_version PASSED [ 59%] tests/unit/api_test.py::UnixSocketStreamTest::test_early_stream_response PASSED [ 59%] tests/integration/models_containers_test.py::ContainerTest::test_stop PASSED [ 35%] tests/unit/client_test.py::ClientTest::test_events PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_info PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_ping PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_version PASSED [ 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/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 [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_nano_cpus_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_pid_mode PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_blkio_constraints PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_count PASSED [ 69%] 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 [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period_types PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_runtime PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_dns_opt PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_isolation PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_kernel_memory PASSED [ 70%] 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 [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size_in_mb PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_userns_mode PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_uts PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_volume_driver PASSED [ 71%] 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 [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_obj_ulimit PASSED [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_ulimit_invalid_type PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_dict_logconfig PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_obj_logconfig PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_logconfig_invalid_config_type PASSED [ 72%] 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 [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas_0 PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_simple PASSED [ 73%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind PASSED [ 73%] 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 [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_rw PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_short_form PASSED [ 74%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_invalid PASSED [ 74%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_multiple PASSED [ 74%] 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 [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_400 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_500 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_error_300 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_error_400 PASSED [ 75%] 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 [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_200 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_500 PASSED [ 76%] tests/unit/errors_test.py::ContainerErrorTest::test_container_with_stderr PASSED [ 76%] 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 [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list_ignore_removed PASSED [ 77%] 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/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty PASSED [ 59%] 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 [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_attach PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_commit PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_diff PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run PASSED [ 78%] 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 [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_logs PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_name PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_pause PASSED [ 79%] 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 [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_stats PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_status PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_stop PASSED [ 80%] 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 [ 81%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty_demux PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_tty PASSED [ 59%] tests/unit/models_images_test.py::ImageCollectionTest::test_list PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_load PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_multiple 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 [ 82%] tests/unit/models_images_test.py::ImageTest::test_history PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_save PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_short_id PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_tag PASSED [ 82%] 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 [ 83%] tests/unit/models_networks_test.py::NetworkTest::test_remove PASSED [ 83%] tests/unit/models_resources_test.py::ModelTest::test_hash PASSED [ 83%] tests/unit/models_resources_test.py::ModelTest::test_reload PASSED [ 83%] 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 [ 84%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm PASSED [ 84%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm_no_listen_address_takes_default PASSED [ 84%] tests/unit/swarm_test.py::SwarmTest::test_node_update PASSED [ 84%] 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 [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_wildcard_exception PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard_with_exception PASSED [ 85%] 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 [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_excludes PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_parent_directory PASSED [ 86%] 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/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/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 [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_wildcard_filename PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_with_path_traversal PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory PASSED [ 87%] 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 [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_exception PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_wildcard_exception PASSED [ 88%] 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 [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_inaccessible_file SKIPPED [ 89%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_fallback PASSED [ 89%] 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 [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 90%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_no_object PASSED [ 90%] 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 [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_from_dict PASSED [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_inject_proxy_environment PASSED [ 91%] 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 [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false_no_cert PASSED [ 92%] 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 [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_invalid_line PASSED [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_newline PASSED [ 93%] 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 [ 94%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_sha PASSED [ 94%] 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 [ 95%] tests/unit/utils_test.py::ParseDeviceTest::test_hybrid_list PASSED [ 95%] 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_maxint 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 [ 96%] 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/integration/models_containers_test.py::ContainerTest::test_top PASSED [ 35%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_tty_demux PASSED [ 60%] tests/unit/utils_test.py::PortsTest::test_port_and_range_invalid PASSED [ 97%] 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/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty PASSED [ 60%] tests/integration/models_containers_test.py::ContainerTest::test_update PASSED [ 35%] tests/unit/utils_test.py::FormatEnvironmentTest::test_format_env_no_value PASSED [100%] =================================== FAILURES =================================== ______________ ServiceTest.test_create_service_custom_log_driver _______________ tests/integration/api_service_test.py:166: in test_create_service_custom_log_driver svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_global_mode __________________ tests/integration/api_service_test.py:598: in test_create_service_global_mode task_tmpl, name=name, mode='global' docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_replicated_mode ________________ tests/integration/api_service_test.py:612: in test_create_service_replicated_mode mode=docker.types.ServiceMode('replicated', 5) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_create_service_simple ____________________ tests/integration/api_service_test.py:127: in test_create_service_simple name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_config __________________ tests/integration/api_service_test.py:704: in test_create_service_with_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_custom_networks _____________ tests/integration/api_service_test.py:365: in test_create_service_with_custom_networks 'dockerpytest_1', {'Target': 'dockerpytest_2'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_dns_config ________________ tests/integration/api_service_test.py:803: in test_create_service_with_dns_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_endpoint_spec ______________ tests/integration/api_service_test.py:484: in test_create_service_with_endpoint_spec task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____ ServiceTest.test_create_service_with_endpoint_spec_host_publish_mode _____ tests/integration/api_service_test.py:512: in test_create_service_with_endpoint_spec_host_publish_mode task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_create_service_with_env ___________________ tests/integration/api_service_test.py:531: in test_create_service_with_env svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_create_service_with_failure_action_rollback _________ tests/integration/api_service_test.py:291: in test_create_service_with_failure_action_rollback task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_create_service_with_generic_resources ____________ tests/integration/api_service_test.py:245: in test_create_service_with_generic_resources resrcs, svc_info = self._create_service_with_generic_resources(t) tests/integration/api_service_test.py:226: in _create_service_with_generic_resources svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_groups __________________ tests/integration/api_service_test.py:784: in test_create_service_with_groups svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_healthcheck _______________ tests/integration/api_service_test.py:823: in test_create_service_with_healthcheck svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_hostname _________________ tests/integration/api_service_test.py:769: in test_create_service_with_hostname svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:187: in create_service data["Network"][0]["Aliases"] = [hostname] E KeyError: 'Network' __________________ ServiceTest.test_create_service_with_hosts __________________ tests/integration/api_service_test.py:754: in test_create_service_with_hosts svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________________ ServiceTest.test_create_service_with_init ___________________ tests/integration/api_service_test.py:889: in test_create_service_with_init svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________ ServiceTest.test_create_service_with_network_attachment_config ________ tests/integration/api_service_test.py:393: in test_create_service_with_network_attachment_config task_tmpl, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_placement ________________ tests/integration/api_service_test.py:410: in test_create_service_with_placement svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_create_service_with_placement_object _____________ tests/integration/api_service_test.py:426: in test_create_service_with_placement_object svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________ ServiceTest.test_create_service_with_placement_platform ____________ tests/integration/api_service_test.py:439: in test_create_service_with_placement_platform svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_placement_preferences __________ tests/integration/api_service_test.py:454: in test_create_service_with_placement_preferences svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______ ServiceTest.test_create_service_with_placement_preferences_tuple _______ tests/integration/api_service_test.py:469: in test_create_service_with_placement_preferences_tuple svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_privileges ________________ tests/integration/api_service_test.py:872: in test_create_service_with_privileges svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_readonly _________________ tests/integration/api_service_test.py:840: in test_create_service_with_readonly svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_resources_constraints __________ tests/integration/api_service_test.py:206: in test_create_service_with_resources_constraints svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_restart_policy ______________ tests/integration/api_service_test.py:346: in test_create_service_with_restart_policy svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_rollback_config _____________ tests/integration/api_service_test.py:325: in test_create_service_with_rollback_config task_tmpl, rollback_config=rollback_cfg, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_secret __________________ tests/integration/api_service_test.py:652: in test_create_service_with_secret svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_stop_signal _______________ tests/integration/api_service_test.py:854: in test_create_service_with_stop_signal svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_create_service_with_tty ___________________ tests/integration/api_service_test.py:566: in test_create_service_with_tty svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_tty_dict _________________ tests/integration/api_service_test.py:583: in test_create_service_with_tty_dict svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_unicode_config ______________ tests/integration/api_service_test.py:729: in test_create_service_with_unicode_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_unicode_secret ______________ tests/integration/api_service_test.py:677: in test_create_service_with_unicode_secret svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_update_config ______________ tests/integration/api_service_test.py:275: in test_create_service_with_update_config task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_update_config_monitor __________ tests/integration/api_service_test.py:307: in test_create_service_with_update_config_monitor task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_update_order _______________ tests/integration/api_service_test.py:548: in test_create_service_with_update_order task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_volume_mount _______________ tests/integration/api_service_test.py:185: in test_create_service_with_volume_mount svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_inspect_service_by_id ____________________ tests/integration/api_service_test.py:92: in test_inspect_service_by_id svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_inspect_service_by_name ___________________ tests/integration/api_service_test.py:98: in test_inspect_service_by_name svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_inspect_service_insert_defaults _______________ tests/integration/api_service_test.py:105: in test_inspect_service_insert_defaults svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_list_services ________________________ tests/integration/api_service_test.py:77: in test_list_services self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_list_services_filter_by_label ________________ tests/integration/api_service_test.py:86: in test_list_services_filter_by_label self.create_simple_service(labels={'test_label': 'testing'}) tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_remove_service_by_id _____________________ tests/integration/api_service_test.py:115: in test_remove_service_by_id svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_remove_service_by_name ____________________ tests/integration/api_service_test.py:121: in test_remove_service_by_name svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_service_logs _________________________ tests/integration/api_service_test.py:136: in test_service_logs name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_update_service_force_update _________________ tests/integration/api_service_test.py:626: in test_update_service_force_update svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________ ServiceTest.test_update_service_remove_container_labels ____________ tests/integration/api_service_test.py:1230: in test_update_service_remove_container_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_remove_healthcheck ______________ tests/integration/api_service_test.py:1170: in test_update_service_remove_healthcheck svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_service_remove_labels _________________ tests/integration/api_service_test.py:1206: in test_update_service_remove_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________ ServiceTest.test_update_service_with_defaults_container_labels ________ tests/integration/api_service_test.py:984: in test_update_service_with_defaults_container_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_update_service_with_defaults_endpoint_spec __________ tests/integration/api_service_test.py:1111: in test_update_service_with_defaults_endpoint_spec task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_update_service_with_defaults_labels _____________ tests/integration/api_service_test.py:927: in test_update_service_with_defaults_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_with_defaults_mode ______________ tests/integration/api_service_test.py:955: in test_update_service_with_defaults_mode mode=docker.types.ServiceMode(mode='replicated', replicas=2) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_with_defaults_name ______________ tests/integration/api_service_test.py:903: in test_update_service_with_defaults_name svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_update_service_with_defaults_networks ____________ tests/integration/api_service_test.py:1068: in test_update_service_with_defaults_networks 'dockerpytest_1', {'Target': 'dockerpytest_2'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_update_service_with_defaults_update_config __________ tests/integration/api_service_test.py:1031: in test_update_service_with_defaults_update_config task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_update_service_with_network_change ______________ tests/integration/api_service_test.py:1274: in test_update_service_with_network_change task_tmpl, name=name, networks=[net1['Id']] docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________________ ServiceTest.test_create ____________________________ tests/integration/models_services_test.py:33: in test_create container_labels={'container': 'label'} docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________________ ServiceTest.test_create_with_network _____________________ tests/integration/models_services_test.py:53: in test_create_with_network networks=[network.id] docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_force_update_service _____________________ tests/integration/models_services_test.py:286: in test_force_update_service command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_force_update_service_using_bool _______________ tests/integration/models_services_test.py:308: in test_force_update_service_using_bool command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_force_update_service_using_shorthand_method _________ tests/integration/models_services_test.py:330: in test_force_update_service_using_shorthand_method command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________________________ ServiceTest.test_get _____________________________ tests/integration/models_services_test.py:66: in test_get command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________________ ServiceTest.test_list_remove _________________________ tests/integration/models_services_test.py:76: in test_list_remove command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_scale_method_global_service _________________ tests/integration/models_services_test.py:264: in test_scale_method_global_service mode=mode docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_scale_method_service _____________________ tests/integration/models_services_test.py:242: in test_scale_method_service command="sleep 300", docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_scale_service ________________________ tests/integration/models_services_test.py:218: in test_scale_service command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________________ ServiceTest.test_tasks ____________________________ tests/integration/models_services_test.py:87: in test_tasks command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________________ ServiceTest.test_update ____________________________ tests/integration/models_services_test.py:113: in test_update command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_remove_service_labels _________________ tests/integration/models_services_test.py:173: in test_update_remove_service_labels command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_update_retains_container_labels _______________ tests/integration/models_services_test.py:153: in test_update_retains_container_labels container_labels={'container.label': 'SampleLabel'} docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_retains_service_labels ________________ tests/integration/models_services_test.py:133: in test_update_retains_service_labels command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment =============================== 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, and in 3.8 it will stop working from collections import MutableMapping -- Docs: https://docs.pytest.org/en/latest/warnings.html ----------- coverage: platform linux, python 3.7.4-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 5 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 265 46 100 13 82% docker/api/config.py 31 0 6 2 95% docker/api/container.py 265 19 104 21 89% docker/api/daemon.py 39 2 14 4 89% docker/api/exec_api.py 46 4 22 4 88% docker/api/image.py 149 19 52 10 85% 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 206 137 151 21 29% docker/api/swarm.py 106 14 38 10 82% docker/api/volume.py 38 3 14 3 88% docker/auth.py 198 16 74 16 88% docker/client.py 67 4 2 0 94% docker/constants.py 16 0 0 0 100% 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 90 6 20 6 89% 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 58 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 31 36 2 63% 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 58 53 10 0 7% docker/transport/npipesocket.py 134 130 20 0 3% docker/transport/sshconn.py 68 44 12 1 31% docker/transport/ssladapter.py 36 10 10 4 65% docker/transport/unixconn.py 65 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 360 46 298 35 86% docker/types/daemon.py 36 8 14 4 72% docker/types/healthcheck.py 34 12 4 1 61% docker/types/networks.py 35 4 22 3 84% docker/types/services.py 312 56 206 33 79% docker/types/swarm.py 51 24 40 10 52% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 154 18 76 7 87% docker/utils/config.py 36 1 10 1 96% docker/utils/decorators.py 32 1 12 1 95% docker/utils/fnmatch.py 55 18 28 2 61% docker/utils/json_stream.py 43 8 14 2 79% docker/utils/ports.py 50 3 32 2 91% docker/utils/proxy.py 32 1 12 0 98% docker/utils/socket.py 86 9 40 7 86% docker/utils/utils.py 285 19 177 13 92% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 4640 948 2069 305 77% =========================== 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_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/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:486: shlex doesn't support bytes in py3 = 73 failed, 841 passed, 11 skipped, 5 xfailed, 2 xpassed, 1 warnings in 325.66 seconds = tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty_demux PASSED [ 60%] tests/unit/api_test.py::UserAgentTest::test_custom_user_agent PASSED [ 60%] tests/unit/api_test.py::UserAgentTest::test_default_user_agent PASSED [ 60%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout PASSED [ 60%] 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 [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_driver PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_invalid_labels PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_labels PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_no_specified_name PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_inspect_volume PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes PASSED [ 61%] 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 [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image PASSED [ 62%] 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 [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry PASSED [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_port PASSED [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_username PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_auth_with_empty_credstore_and_auth_dict PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_explicit_none PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_registry PASSED [ 63%] 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 [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_match PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_trailing_slash PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_insecure_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_secure_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_protocol PASSED [ 64%] 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 [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_hub_image PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_library_image PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_private_registry PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_unauthenticated_registry PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_utf8 PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_with_auths PASSED [ 65%] 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 [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_with_random_name PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_json_config PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_legacy_config PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_modern_json_config PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_3_sources PASSED [ 66%] 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 [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_auths_entries PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_credhelpers_only PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_auths_entry PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_credhelper PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_default_index PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_no_default PASSED [ 67%] 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 [ 68%] tests/unit/client_test.py::ClientTest::test_call_containers PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_events PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_info PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_ping PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_version PASSED [ 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/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 [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_nano_cpus_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_pid_mode PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_blkio_constraints PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_count PASSED [ 69%] 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 [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period_types PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_runtime PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_dns_opt PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_isolation PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_kernel_memory PASSED [ 70%] 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 [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size_in_mb PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_userns_mode PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_uts PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_volume_driver PASSED [ 71%] 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 [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_obj_ulimit PASSED [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_ulimit_invalid_type PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_dict_logconfig PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_obj_logconfig PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_logconfig_invalid_config_type PASSED [ 72%] 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 [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas_0 PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_simple PASSED [ 73%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind PASSED [ 73%] 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 [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_rw PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_short_form PASSED [ 74%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_invalid PASSED [ 74%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_multiple PASSED [ 74%] 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 [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_400 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_500 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_error_300 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_error_400 PASSED [ 75%] 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 [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_200 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_500 PASSED [ 76%] tests/unit/errors_test.py::ContainerErrorTest::test_container_with_stderr PASSED [ 76%] 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 [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list_ignore_removed PASSED [ 77%] 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 [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_attach PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_commit PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_diff PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run PASSED [ 78%] 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 [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_logs PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_name PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_pause PASSED [ 79%] 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%] [Pipeline] sh 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 [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_stats PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_status PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_stop PASSED [ 80%] 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 [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_list PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_load PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_multiple 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 [ 82%] tests/unit/models_images_test.py::ImageTest::test_history PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_save PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_short_id PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_tag PASSED [ 82%] 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 [ 83%] tests/unit/models_networks_test.py::NetworkTest::test_remove PASSED [ 83%] tests/unit/models_resources_test.py::ModelTest::test_hash PASSED [ 83%] tests/unit/models_resources_test.py::ModelTest::test_reload PASSED [ 83%] 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 [ 84%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm PASSED [ 84%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm_no_listen_address_takes_default PASSED [ 84%] tests/unit/swarm_test.py::SwarmTest::test_node_update PASSED [ 84%] 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%] + docker stop dpy-dind-2-0-py3.7-19.03.2-rc1 dpy-tests-2-0-py3.7-19.03.2-rc1 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 [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_wildcard_exception PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard_with_exception PASSED [ 85%] 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 [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_excludes PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_parent_directory PASSED [ 86%] 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 [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_wildcard_filename PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_with_path_traversal PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory PASSED [ 87%] 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 [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_exception PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_wildcard_exception PASSED [ 88%] 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 [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_inaccessible_file SKIPPED [ 89%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_fallback PASSED [ 89%] 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 [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 90%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_no_object PASSED [ 90%] 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 [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_from_dict PASSED [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_inject_proxy_environment PASSED [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_new PASSED [ 92%] tests/integration/models_containers_test.py::ContainerTest::test_wait PASSED [ 35%] 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 [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false_no_cert PASSED [ 92%] 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 [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_invalid_line PASSED [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_newline PASSED [ 93%] 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 [ 94%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_sha PASSED [ 94%] 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 [ 95%] tests/unit/utils_test.py::ParseDeviceTest::test_hybrid_list PASSED [ 95%] 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_maxint 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 [ 96%] 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 [ 97%] 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%] =================================== FAILURES =================================== ______________ ServiceTest.test_create_service_custom_log_driver _______________ tests/integration/api_service_test.py:166: in test_create_service_custom_log_driver svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_global_mode __________________ tests/integration/api_service_test.py:598: in test_create_service_global_mode task_tmpl, name=name, mode='global' docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_replicated_mode ________________ tests/integration/api_service_test.py:612: in test_create_service_replicated_mode mode=docker.types.ServiceMode('replicated', 5) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_create_service_simple ____________________ tests/integration/api_service_test.py:127: in test_create_service_simple name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_config __________________ tests/integration/api_service_test.py:704: in test_create_service_with_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_custom_networks _____________ tests/integration/api_service_test.py:365: in test_create_service_with_custom_networks 'dockerpytest_1', {'Target': 'dockerpytest_2'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_dns_config ________________ tests/integration/api_service_test.py:803: in test_create_service_with_dns_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_endpoint_spec ______________ tests/integration/api_service_test.py:484: in test_create_service_with_endpoint_spec task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____ ServiceTest.test_create_service_with_endpoint_spec_host_publish_mode _____ tests/integration/api_service_test.py:512: in test_create_service_with_endpoint_spec_host_publish_mode task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_create_service_with_env ___________________ tests/integration/api_service_test.py:531: in test_create_service_with_env svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_create_service_with_failure_action_rollback _________ tests/integration/api_service_test.py:291: in test_create_service_with_failure_action_rollback task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_create_service_with_generic_resources ____________ tests/integration/api_service_test.py:245: in test_create_service_with_generic_resources resrcs, svc_info = self._create_service_with_generic_resources(t) tests/integration/api_service_test.py:226: in _create_service_with_generic_resources svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_groups __________________ tests/integration/api_service_test.py:784: in test_create_service_with_groups svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_healthcheck _______________ tests/integration/api_service_test.py:823: in test_create_service_with_healthcheck svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_hostname _________________ tests/integration/api_service_test.py:769: in test_create_service_with_hostname svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:187: in create_service data["Network"][0]["Aliases"] = [hostname] E KeyError: 'Network' __________________ ServiceTest.test_create_service_with_hosts __________________ tests/integration/api_service_test.py:754: in test_create_service_with_hosts svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________________ ServiceTest.test_create_service_with_init ___________________ tests/integration/api_service_test.py:889: in test_create_service_with_init svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________ ServiceTest.test_create_service_with_network_attachment_config ________ tests/integration/api_service_test.py:393: in test_create_service_with_network_attachment_config task_tmpl, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_placement ________________ tests/integration/api_service_test.py:410: in test_create_service_with_placement svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_create_service_with_placement_object _____________ tests/integration/api_service_test.py:426: in test_create_service_with_placement_object svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________ ServiceTest.test_create_service_with_placement_platform ____________ tests/integration/api_service_test.py:439: in test_create_service_with_placement_platform svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_placement_preferences __________ tests/integration/api_service_test.py:454: in test_create_service_with_placement_preferences svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______ ServiceTest.test_create_service_with_placement_preferences_tuple _______ tests/integration/api_service_test.py:469: in test_create_service_with_placement_preferences_tuple svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_privileges ________________ tests/integration/api_service_test.py:872: in test_create_service_with_privileges svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_readonly _________________ tests/integration/api_service_test.py:840: in test_create_service_with_readonly svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_resources_constraints __________ tests/integration/api_service_test.py:206: in test_create_service_with_resources_constraints svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_restart_policy ______________ tests/integration/api_service_test.py:346: in test_create_service_with_restart_policy svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_rollback_config _____________ tests/integration/api_service_test.py:325: in test_create_service_with_rollback_config task_tmpl, rollback_config=rollback_cfg, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_secret __________________ tests/integration/api_service_test.py:652: in test_create_service_with_secret svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_stop_signal _______________ tests/integration/api_service_test.py:854: in test_create_service_with_stop_signal svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_create_service_with_tty ___________________ tests/integration/api_service_test.py:566: in test_create_service_with_tty svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_tty_dict _________________ tests/integration/api_service_test.py:583: in test_create_service_with_tty_dict svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_unicode_config ______________ tests/integration/api_service_test.py:729: in test_create_service_with_unicode_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_unicode_secret ______________ tests/integration/api_service_test.py:677: in test_create_service_with_unicode_secret svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_update_config ______________ tests/integration/api_service_test.py:275: in test_create_service_with_update_config task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_update_config_monitor __________ tests/integration/api_service_test.py:307: in test_create_service_with_update_config_monitor task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_update_order _______________ tests/integration/api_service_test.py:548: in test_create_service_with_update_order task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_volume_mount _______________ tests/integration/api_service_test.py:185: in test_create_service_with_volume_mount svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_inspect_service_by_id ____________________ tests/integration/api_service_test.py:92: in test_inspect_service_by_id svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_inspect_service_by_name ___________________ tests/integration/api_service_test.py:98: in test_inspect_service_by_name svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_inspect_service_insert_defaults _______________ tests/integration/api_service_test.py:105: in test_inspect_service_insert_defaults svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_list_services ________________________ tests/integration/api_service_test.py:77: in test_list_services self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_list_services_filter_by_label ________________ tests/integration/api_service_test.py:86: in test_list_services_filter_by_label self.create_simple_service(labels={'test_label': 'testing'}) tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_remove_service_by_id _____________________ tests/integration/api_service_test.py:115: in test_remove_service_by_id svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_remove_service_by_name ____________________ tests/integration/api_service_test.py:121: in test_remove_service_by_name svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_service_logs _________________________ tests/integration/api_service_test.py:136: in test_service_logs name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_update_service_force_update _________________ tests/integration/api_service_test.py:626: in test_update_service_force_update svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________ ServiceTest.test_update_service_remove_container_labels ____________ tests/integration/api_service_test.py:1230: in test_update_service_remove_container_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_remove_healthcheck ______________ tests/integration/api_service_test.py:1170: in test_update_service_remove_healthcheck svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_service_remove_labels _________________ tests/integration/api_service_test.py:1206: in test_update_service_remove_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________ ServiceTest.test_update_service_with_defaults_container_labels ________ tests/integration/api_service_test.py:984: in test_update_service_with_defaults_container_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_update_service_with_defaults_endpoint_spec __________ tests/integration/api_service_test.py:1111: in test_update_service_with_defaults_endpoint_spec task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_update_service_with_defaults_labels _____________ tests/integration/api_service_test.py:927: in test_update_service_with_defaults_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_with_defaults_mode ______________ tests/integration/api_service_test.py:955: in test_update_service_with_defaults_mode mode=docker.types.ServiceMode(mode='replicated', replicas=2) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_with_defaults_name ______________ tests/integration/api_service_test.py:903: in test_update_service_with_defaults_name svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_update_service_with_defaults_networks ____________ tests/integration/api_service_test.py:1068: in test_update_service_with_defaults_networks 'dockerpytest_1', {'Target': 'dockerpytest_2'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_update_service_with_defaults_update_config __________ tests/integration/api_service_test.py:1031: in test_update_service_with_defaults_update_config task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_update_service_with_network_change ______________ tests/integration/api_service_test.py:1274: in test_update_service_with_network_change task_tmpl, name=name, networks=[net1['Id']] docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________________ ServiceTest.test_create ____________________________ tests/integration/models_services_test.py:33: in test_create container_labels={'container': 'label'} docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________________ ServiceTest.test_create_with_network _____________________ tests/integration/models_services_test.py:53: in test_create_with_network networks=[network.id] docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_force_update_service _____________________ tests/integration/models_services_test.py:286: in test_force_update_service command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_force_update_service_using_bool _______________ tests/integration/models_services_test.py:308: in test_force_update_service_using_bool command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_force_update_service_using_shorthand_method _________ tests/integration/models_services_test.py:330: in test_force_update_service_using_shorthand_method command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________________________ ServiceTest.test_get _____________________________ tests/integration/models_services_test.py:66: in test_get command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________________ ServiceTest.test_list_remove _________________________ tests/integration/models_services_test.py:76: in test_list_remove command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_scale_method_global_service _________________ tests/integration/models_services_test.py:264: in test_scale_method_global_service mode=mode docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_scale_method_service _____________________ tests/integration/models_services_test.py:242: in test_scale_method_service command="sleep 300", docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_scale_service ________________________ tests/integration/models_services_test.py:218: in test_scale_service command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________________ ServiceTest.test_tasks ____________________________ tests/integration/models_services_test.py:87: in test_tasks command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________________ ServiceTest.test_update ____________________________ tests/integration/models_services_test.py:113: in test_update command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_remove_service_labels _________________ tests/integration/models_services_test.py:173: in test_update_remove_service_labels command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_update_retains_container_labels _______________ tests/integration/models_services_test.py:153: in test_update_retains_container_labels container_labels={'container.label': 'SampleLabel'} docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_retains_service_labels ________________ tests/integration/models_services_test.py:133: in test_update_retains_service_labels command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment =============================== 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, and in 3.8 it will stop working from collections import MutableMapping -- Docs: https://docs.pytest.org/en/latest/warnings.html ----------- coverage: platform linux, python 3.7.4-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 5 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 265 46 100 13 82% docker/api/config.py 31 0 6 2 95% docker/api/container.py 265 19 104 21 89% docker/api/daemon.py 39 2 14 4 89% docker/api/exec_api.py 46 4 22 4 88% docker/api/image.py 149 19 52 10 85% 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 206 137 151 21 29% docker/api/swarm.py 106 14 38 10 82% docker/api/volume.py 38 3 14 3 88% docker/auth.py 198 16 74 16 88% docker/client.py 67 4 2 0 94% docker/constants.py 16 0 0 0 100% 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 90 6 20 6 89% 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 58 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 31 36 2 63% 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 58 53 10 0 7% docker/transport/npipesocket.py 134 130 20 0 3% docker/transport/sshconn.py 68 44 12 1 31% docker/transport/ssladapter.py 36 10 10 4 65% docker/transport/unixconn.py 65 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 360 46 298 35 86% docker/types/daemon.py 36 8 14 4 72% docker/types/healthcheck.py 34 12 4 1 61% docker/types/networks.py 35 4 22 3 84% docker/types/services.py 312 56 206 33 79% docker/types/swarm.py 51 24 40 10 52% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 154 18 76 7 87% docker/utils/config.py 36 1 10 1 96% docker/utils/decorators.py 32 1 12 1 95% docker/utils/fnmatch.py 55 18 28 2 61% docker/utils/json_stream.py 43 8 14 2 79% docker/utils/ports.py 50 3 32 2 91% docker/utils/proxy.py 32 1 12 0 98% docker/utils/socket.py 86 9 40 7 86% docker/utils/utils.py 285 19 177 13 92% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 4640 948 2069 305 77% =========================== 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_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/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:486: shlex doesn't support bytes in py3 = 73 failed, 841 passed, 11 skipped, 5 xfailed, 2 xpassed, 1 warnings in 323.66 seconds = tests/integration/models_images_test.py::ImageCollectionTest::test_build PASSED [ 35%] [Pipeline] sh + docker stop dpy-dind-2-0-py3.7-19.03.1 dpy-tests-2-0-py3.7-19.03.1 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 [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_list_with_repository PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_load_error PASSED [ 36%] tests/integration/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 36%] 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 [ 37%] tests/integration/models_images_test.py::ImageTest::test_tag_and_remove PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_create PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_get PASSED [ 37%] tests/integration/models_networks_test.py::NetworkCollectionTest::test_list_remove PASSED [ 37%] tests/integration/models_networks_test.py::NetworkTest::test_connect_disconnect PASSED [ 37%] dpy-dind-2-0-py3.7-19.03.2-rc1 dpy-tests-2-0-py3.7-19.03.2-rc1 + docker rm -vf dpy-dind-2-0-py3.7-19.03.2-rc1 dpy-tests-2-0-py3.7-19.03.2-rc1 dpy-dind-2-0-py3.7-19.03.2-rc1 dpy-tests-2-0-py3.7-19.03.2-rc1 + docker network rm dpy-testnet-2-0-py3.7-19.03.2-rc1 dpy-testnet-2-0-py3.7-19.03.2-rc1 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py3.7_19.03.2-rc1 tests/integration/models_nodes_test.py::NodesTest::test_list_get_update PASSED [ 37%] dpy-dind-2-0-py3.7-19.03.1 dpy-tests-2-0-py3.7-19.03.1 + docker rm -vf dpy-dind-2-0-py3.7-19.03.1 dpy-tests-2-0-py3.7-19.03.1 dpy-dind-2-0-py3.7-19.03.1 dpy-tests-2-0-py3.7-19.03.1 + docker network rm dpy-testnet-2-0-py3.7-19.03.1 dpy-testnet-2-0-py3.7-19.03.1 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py3.7_19.03.1 tests/integration/models_resources_test.py::ModelTest::test_reload PASSED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_create_with_network FAILED [ 37%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_bool FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_force_update_service_using_shorthand_method FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_get FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_list_remove FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_global_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_method_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_scale_service FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_tasks FAILED [ 38%] tests/integration/models_services_test.py::ServiceTest::test_update FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_remove_service_labels FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_container_labels FAILED [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_networks XFAIL [ 39%] tests/integration/models_services_test.py::ServiceTest::test_update_retains_service_labels FAILED [ 39%] tests/integration/models_swarm_test.py::SwarmTest::test_init_update_leave PASSED [ 39%] 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 [ 40%] tests/integration/regression_test.py::TestRegressions::test_542_truncate_ids_client_side PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_647_support_doubleslash_in_image_names PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_649_handle_timeout_value_none PASSED [ 40%] tests/integration/regression_test.py::TestRegressions::test_715_handle_user_param_as_int_value PASSED [ 40%] 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/integration/credentials/store_test.py::TestStore::test_unicode_strings PASSED [ 40%] tests/integration/credentials/store_test.py::TestStore::test_list PASSED [ 41%] tests/integration/credentials/store_test.py::TestStore::test_execute_with_env_override PASSED [ 41%] tests/integration/credentials/utils_test.py::test_create_environment_dict PASSED [ 41%] tests/unit/api_build_test.py::BuildTest::test_build_container PASSED [ 41%] 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 [ 42%] tests/unit/api_build_test.py::BuildTest::test_build_remote_with_registry_auth PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile PASSED [ 42%] tests/unit/api_build_test.py::BuildTest::test_process_dockerfile_win_longpath_prefix SKIPPED [ 42%] tests/unit/api_build_test.py::BuildTest::test_set_auth_headers_with_dict_and_auth_configs PASSED [ 42%] 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 [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_regression_573 PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_ro PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_binds_rw PASSED [ 43%] tests/unit/api_container_test.py::StartContainerTest::test_start_container_with_dict_instead_of_id PASSED [ 43%] 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 [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_privileged PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_added_capabilities PASSED [ 44%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_aliases PASSED [ 44%] 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 [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_binds_rw PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_cgroup_parent PASSED [ 45%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_devices PASSED [ 45%] 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 [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_dict PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_labels_list PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links PASSED [ 46%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_links_as_list_of_tuples PASSED [ 46%] 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 [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_k_unit PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_m_unit PASSED [ 47%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_mem_limit_as_string_with_wrong_value PASSED [ 47%] 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 [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_stop_signal PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_sysctl PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_dict PASSED [ 48%] tests/unit/api_container_test.py::CreateContainerTest::test_create_container_with_tmpfs_list PASSED [ 48%] 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 [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_top PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_top_with_psargs PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_container_update PASSED [ 49%] tests/unit/api_container_test.py::ContainerTest::test_diff PASSED [ 49%] 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 [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_dict_instead_of_id PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_kill_container_with_signal PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_list_containers PASSED [ 50%] tests/unit/api_container_test.py::ContainerTest::test_log_following PASSED [ 50%] 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 [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_streaming_and_following PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_tail PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_log_tty PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_logs PASSED [ 51%] tests/unit/api_container_test.py::ContainerTest::test_logs_with_dict_instead_of_id PASSED [ 51%] 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 [ 52%] tests/unit/api_container_test.py::ContainerTest::test_rename_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_resize_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_restart_container PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_restart_container_with_dict_instead_of_id PASSED [ 52%] tests/unit/api_container_test.py::ContainerTest::test_stop_container PASSED [ 52%] 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 [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_create PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_inspect PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_resize PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_start PASSED [ 53%] tests/unit/api_exec_test.py::ExecTest::test_exec_start_detached PASSED [ 53%] tests/unit/api_image_test.py::ImageTest::test_commit PASSED [ 53%] 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 [ 54%] tests/unit/api_image_test.py::ImageTest::test_images PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_images_filters PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_images_quiet PASSED [ 54%] tests/unit/api_image_test.py::ImageTest::test_import_image PASSED [ 54%] 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 [ 55%] tests/unit/api_image_test.py::ImageTest::test_load_image_quiet PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_pull PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_pull_stream PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image PASSED [ 55%] tests/unit/api_image_test.py::ImageTest::test_push_image_stream PASSED [ 55%] 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 [ 56%] tests/unit/api_image_test.py::ImageTest::test_tag_image_force PASSED [ 56%] tests/unit/api_image_test.py::ImageTest::test_tag_image_tag PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_connect_container_to_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_create_network PASSED [ 56%] tests/unit/api_network_test.py::NetworkTest::test_disconnect_container_from_network PASSED [ 56%] 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 [ 57%] tests/unit/api_test.py::DockerApiTest::test_ctor PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events_with_filters PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_events_with_since_until PASSED [ 57%] tests/unit/api_test.py::DockerApiTest::test_info PASSED [ 57%] 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 [ 58%] tests/unit/api_test.py::DockerApiTest::test_stream_helper_decoding PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_http_unix_triple_slash PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_tcp PASSED [ 58%] tests/unit/api_test.py::DockerApiTest::test_url_compatibility_unix PASSED [ 58%] 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 [ 59%] tests/unit/api_test.py::DockerApiTest::test_url_valid_resource PASSED [ 59%] tests/unit/api_test.py::DockerApiTest::test_version PASSED [ 59%] tests/unit/api_test.py::DockerApiTest::test_version_no_api_version PASSED [ 59%] tests/unit/api_test.py::UnixSocketStreamTest::test_early_stream_response PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty PASSED [ 59%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_no_stream_no_tty_demux PASSED [ 59%] 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 [ 60%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty PASSED [ 60%] tests/unit/api_test.py::TCPSocketStreamTest::test_read_from_socket_tty_demux PASSED [ 60%] tests/unit/api_test.py::UserAgentTest::test_custom_user_agent PASSED [ 60%] tests/unit/api_test.py::UserAgentTest::test_default_user_agent PASSED [ 60%] tests/unit/api_test.py::DisableSocketTest::test_disable_socket_timeout PASSED [ 60%] 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 [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_driver PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_invalid_labels PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_labels PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_create_volume_with_no_specified_name PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_inspect_volume PASSED [ 61%] tests/unit/api_volume_test.py::VolumeTest::test_list_volumes PASSED [ 61%] 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 [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image PASSED [ 62%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image PASSED [ 62%] 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 [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry PASSED [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_port PASSED [ 63%] tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_private_registry_with_username PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_auth_with_empty_credstore_and_auth_dict PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_explicit_none PASSED [ 63%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_default_registry PASSED [ 63%] 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 [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_match PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_trailing_slash PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_insecure_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_path_wrong_secure_proto PASSED [ 64%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_authconfig_no_protocol PASSED [ 64%] 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 [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_hub_image PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_library_image PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_private_registry PASSED [ 65%] tests/unit/auth_test.py::ResolveAuthTest::test_resolve_registry_and_auth_unauthenticated_registry PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_utf8 PASSED [ 65%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_custom_config_env_with_auths PASSED [ 65%] 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 [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_config_with_random_name PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_json_config PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_legacy_config PASSED [ 66%] tests/unit/auth_test.py::LoadConfigTest::test_load_modern_json_config PASSED [ 66%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_3_sources PASSED [ 66%] 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 [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_auths_entries PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_credhelpers_only PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_auths_entry PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_all_credentials_with_empty_credhelper PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_default_index PASSED [ 67%] tests/unit/auth_test.py::CredstoreTest::test_get_credential_store_no_default PASSED [ 67%] 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 [ 68%] tests/unit/client_test.py::ClientTest::test_call_containers PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_events PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_info PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_ping PASSED [ 68%] tests/unit/client_test.py::ClientTest::test_version PASSED [ 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/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 [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_invalid_nano_cpus_types PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_pid_mode PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_blkio_constraints PASSED [ 69%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_count PASSED [ 69%] 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 [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_period_types PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_cpu_rt_runtime PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_dns_opt PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_isolation PASSED [ 70%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_kernel_memory PASSED [ 70%] 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 [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_shm_size_in_mb PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_userns_mode PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_uts PASSED [ 71%] tests/unit/dockertypes_test.py::HostConfigTest::test_create_host_config_with_volume_driver PASSED [ 71%] 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 [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_create_host_config_obj_ulimit PASSED [ 72%] tests/unit/dockertypes_test.py::UlimitTest::test_ulimit_invalid_type PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_dict_logconfig PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_create_host_config_obj_logconfig PASSED [ 72%] tests/unit/dockertypes_test.py::LogConfigTest::test_logconfig_invalid_config_type PASSED [ 72%] 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 [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_replicas_0 PASSED [ 73%] tests/unit/dockertypes_test.py::ServiceModeTest::test_replicated_simple PASSED [ 73%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_bind PASSED [ 73%] 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 [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_rw PASSED [ 74%] tests/unit/dockertypes_test.py::MountTest::test_parse_mount_string_short_form PASSED [ 74%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_invalid PASSED [ 74%] tests/unit/dockertypes_test.py::ServicePortsTest::test_convert_service_ports_multiple PASSED [ 74%] 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 [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_400 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_client_error_500 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_error_300 PASSED [ 75%] tests/unit/errors_test.py::APIErrorTest::test_is_error_400 PASSED [ 75%] 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 [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_200 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_400 PASSED [ 76%] tests/unit/errors_test.py::APIErrorTest::test_status_code_500 PASSED [ 76%] tests/unit/errors_test.py::ContainerErrorTest::test_container_with_stderr PASSED [ 76%] 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 [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_get PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list PASSED [ 77%] tests/unit/models_containers_test.py::ContainerCollectionTest::test_list_ignore_removed PASSED [ 77%] 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 [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_attach PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_commit PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_diff PASSED [ 78%] tests/unit/models_containers_test.py::ContainerTest::test_exec_run PASSED [ 78%] 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 [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_logs PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_name PASSED [ 79%] tests/unit/models_containers_test.py::ContainerTest::test_pause PASSED [ 79%] 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 [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_stats PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_status PASSED [ 80%] tests/unit/models_containers_test.py::ContainerTest::test_stop PASSED [ 80%] 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 [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_list PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_load PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull PASSED [ 81%] tests/unit/models_images_test.py::ImageCollectionTest::test_pull_multiple 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 [ 82%] tests/unit/models_images_test.py::ImageTest::test_history PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_save PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_short_id PASSED [ 82%] tests/unit/models_images_test.py::ImageTest::test_tag PASSED [ 82%] 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 [ 83%] tests/unit/models_networks_test.py::NetworkTest::test_remove PASSED [ 83%] tests/unit/models_resources_test.py::ModelTest::test_hash PASSED [ 83%] tests/unit/models_resources_test.py::ModelTest::test_reload PASSED [ 83%] 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 [ 84%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm PASSED [ 84%] tests/unit/swarm_test.py::SwarmTest::test_join_swarm_no_listen_address_takes_default PASSED [ 84%] tests/unit/swarm_test.py::SwarmTest::test_node_update PASSED [ 84%] 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 [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_directory_with_wildcard_exception PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard PASSED [ 85%] tests/unit/utils_build_test.py::ExcludePathsTest::test_double_wildcard_with_exception PASSED [ 85%] 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 [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_no_excludes PASSED [ 86%] tests/unit/utils_build_test.py::ExcludePathsTest::test_parent_directory PASSED [ 86%] 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 [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_wildcard_filename PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_single_subdir_with_path_traversal PASSED [ 87%] tests/unit/utils_build_test.py::ExcludePathsTest::test_subdirectory PASSED [ 87%] 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 [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_exception PASSED [ 88%] tests/unit/utils_build_test.py::ExcludePathsTest::test_wildcard_with_wildcard_exception PASSED [ 88%] 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 [ 89%] tests/unit/utils_build_test.py::TarTest::test_tar_with_inaccessible_file SKIPPED [ 89%] tests/unit/utils_config_test.py::FindConfigFileTest::test_find_config_fallback PASSED [ 89%] 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 [ 90%] tests/unit/utils_config_test.py::LoadConfigTest::test_load_config_no_file PASSED [ 90%] tests/unit/utils_json_stream_test.py::TestJsonSplitter::test_json_splitter_no_object PASSED [ 90%] 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 [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_from_dict PASSED [ 91%] tests/unit/utils_proxy_test.py::ProxyConfigTest::test_inject_proxy_environment PASSED [ 91%] 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 [ 92%] tests/unit/utils_test.py::KwargsFromEnvTest::test_kwargs_from_env_tls_verify_false_no_cert PASSED [ 92%] 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 [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_invalid_line PASSED [ 93%] tests/unit/utils_test.py::ParseEnvFileTest::test_parse_env_file_newline PASSED [ 93%] 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 [ 94%] tests/unit/utils_test.py::ParseRepositoryTagTest::test_index_image_sha PASSED [ 94%] 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 [ 95%] tests/unit/utils_test.py::ParseDeviceTest::test_hybrid_list PASSED [ 95%] 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_maxint 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 [ 96%] 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 [ 97%] 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%] =================================== FAILURES =================================== ______________ ServiceTest.test_create_service_custom_log_driver _______________ tests/integration/api_service_test.py:166: in test_create_service_custom_log_driver svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_global_mode __________________ tests/integration/api_service_test.py:598: in test_create_service_global_mode task_tmpl, name=name, mode='global' docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_replicated_mode ________________ tests/integration/api_service_test.py:612: in test_create_service_replicated_mode mode=docker.types.ServiceMode('replicated', 5) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_create_service_simple ____________________ tests/integration/api_service_test.py:127: in test_create_service_simple name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_config __________________ tests/integration/api_service_test.py:704: in test_create_service_with_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_custom_networks _____________ tests/integration/api_service_test.py:365: in test_create_service_with_custom_networks 'dockerpytest_1', {'Target': 'dockerpytest_2'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_dns_config ________________ tests/integration/api_service_test.py:803: in test_create_service_with_dns_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_endpoint_spec ______________ tests/integration/api_service_test.py:484: in test_create_service_with_endpoint_spec task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_create_service_with_env ___________________ tests/integration/api_service_test.py:531: in test_create_service_with_env svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_create_service_with_failure_action_rollback _________ tests/integration/api_service_test.py:291: in test_create_service_with_failure_action_rollback task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_groups __________________ tests/integration/api_service_test.py:784: in test_create_service_with_groups svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_healthcheck _______________ tests/integration/api_service_test.py:823: in test_create_service_with_healthcheck svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_hostname _________________ tests/integration/api_service_test.py:769: in test_create_service_with_hostname svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:187: in create_service data["Network"][0]["Aliases"] = [hostname] E KeyError: 'Network' __________________ ServiceTest.test_create_service_with_hosts __________________ tests/integration/api_service_test.py:754: in test_create_service_with_hosts svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________ ServiceTest.test_create_service_with_network_attachment_config ________ tests/integration/api_service_test.py:393: in test_create_service_with_network_attachment_config task_tmpl, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_placement ________________ tests/integration/api_service_test.py:410: in test_create_service_with_placement svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_create_service_with_placement_object _____________ tests/integration/api_service_test.py:426: in test_create_service_with_placement_object svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________ ServiceTest.test_create_service_with_placement_platform ____________ tests/integration/api_service_test.py:439: in test_create_service_with_placement_platform svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_placement_preferences __________ tests/integration/api_service_test.py:454: in test_create_service_with_placement_preferences svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______ ServiceTest.test_create_service_with_placement_preferences_tuple _______ tests/integration/api_service_test.py:469: in test_create_service_with_placement_preferences_tuple svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_privileges ________________ tests/integration/api_service_test.py:872: in test_create_service_with_privileges svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_readonly _________________ tests/integration/api_service_test.py:840: in test_create_service_with_readonly svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_resources_constraints __________ tests/integration/api_service_test.py:206: in test_create_service_with_resources_constraints svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_restart_policy ______________ tests/integration/api_service_test.py:346: in test_create_service_with_restart_policy svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_rollback_config _____________ tests/integration/api_service_test.py:325: in test_create_service_with_rollback_config task_tmpl, rollback_config=rollback_cfg, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_create_service_with_secret __________________ tests/integration/api_service_test.py:652: in test_create_service_with_secret svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_create_service_with_stop_signal _______________ tests/integration/api_service_test.py:854: in test_create_service_with_stop_signal svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_create_service_with_tty ___________________ tests/integration/api_service_test.py:566: in test_create_service_with_tty svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_create_service_with_tty_dict _________________ tests/integration/api_service_test.py:583: in test_create_service_with_tty_dict svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_unicode_config ______________ tests/integration/api_service_test.py:729: in test_create_service_with_unicode_config svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_create_service_with_unicode_secret ______________ tests/integration/api_service_test.py:677: in test_create_service_with_unicode_secret svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_update_config ______________ tests/integration/api_service_test.py:275: in test_create_service_with_update_config task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment __________ ServiceTest.test_create_service_with_update_config_monitor __________ tests/integration/api_service_test.py:307: in test_create_service_with_update_config_monitor task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_update_order _______________ tests/integration/api_service_test.py:548: in test_create_service_with_update_order task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_create_service_with_volume_mount _______________ tests/integration/api_service_test.py:185: in test_create_service_with_volume_mount svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_inspect_service_by_id ____________________ tests/integration/api_service_test.py:92: in test_inspect_service_by_id svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_inspect_service_by_name ___________________ tests/integration/api_service_test.py:98: in test_inspect_service_by_name svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_inspect_service_insert_defaults _______________ tests/integration/api_service_test.py:105: in test_inspect_service_insert_defaults svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_list_services ________________________ tests/integration/api_service_test.py:77: in test_list_services self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_list_services_filter_by_label ________________ tests/integration/api_service_test.py:86: in test_list_services_filter_by_label self.create_simple_service(labels={'test_label': 'testing'}) tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_remove_service_by_id _____________________ tests/integration/api_service_test.py:115: in test_remove_service_by_id svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________ ServiceTest.test_remove_service_by_name ____________________ tests/integration/api_service_test.py:121: in test_remove_service_by_name svc_name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_service_logs _________________________ tests/integration/api_service_test.py:136: in test_service_logs name, svc_id = self.create_simple_service() tests/integration/api_service_test.py:67: in create_simple_service task_tmpl, name=name, labels=labels docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_update_service_force_update _________________ tests/integration/api_service_test.py:626: in test_update_service_force_update svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________ ServiceTest.test_update_service_remove_container_labels ____________ tests/integration/api_service_test.py:1230: in test_update_service_remove_container_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_remove_healthcheck ______________ tests/integration/api_service_test.py:1170: in test_update_service_remove_healthcheck svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_service_remove_labels _________________ tests/integration/api_service_test.py:1206: in test_update_service_remove_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________ ServiceTest.test_update_service_with_defaults_container_labels ________ tests/integration/api_service_test.py:984: in test_update_service_with_defaults_container_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_update_service_with_defaults_endpoint_spec __________ tests/integration/api_service_test.py:1111: in test_update_service_with_defaults_endpoint_spec task_tmpl, name=name, endpoint_spec=endpoint_spec docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_update_service_with_defaults_labels _____________ tests/integration/api_service_test.py:927: in test_update_service_with_defaults_labels task_tmpl, name=name, labels={'service.label': 'SampleLabel'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_with_defaults_mode ______________ tests/integration/api_service_test.py:955: in test_update_service_with_defaults_mode mode=docker.types.ServiceMode(mode='replicated', replicas=2) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ______________ ServiceTest.test_update_service_with_defaults_name ______________ tests/integration/api_service_test.py:903: in test_update_service_with_defaults_name svc_id = self.client.create_service(task_tmpl, name=name) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________ ServiceTest.test_update_service_with_defaults_networks ____________ tests/integration/api_service_test.py:1068: in test_update_service_with_defaults_networks 'dockerpytest_1', {'Target': 'dockerpytest_2'} docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_update_service_with_defaults_update_config __________ tests/integration/api_service_test.py:1031: in test_update_service_with_defaults_update_config task_tmpl, update_config=update_config, name=name docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________ ServiceTest.test_update_service_with_network_change ______________ tests/integration/api_service_test.py:1274: in test_update_service_with_network_change task_tmpl, name=name, networks=[net1['Id']] docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________________ ServiceTest.test_create ____________________________ tests/integration/models_services_test.py:33: in test_create container_labels={'container': 'label'} docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________________ ServiceTest.test_create_with_network _____________________ tests/integration/models_services_test.py:53: in test_create_with_network networks=[network.id] docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_force_update_service _____________________ tests/integration/models_services_test.py:286: in test_force_update_service command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_force_update_service_using_bool _______________ tests/integration/models_services_test.py:308: in test_force_update_service_using_bool command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________ ServiceTest.test_force_update_service_using_shorthand_method _________ tests/integration/models_services_test.py:330: in test_force_update_service_using_shorthand_method command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _____________________________ ServiceTest.test_get _____________________________ tests/integration/models_services_test.py:66: in test_get command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________________ ServiceTest.test_list_remove _________________________ tests/integration/models_services_test.py:76: in test_list_remove command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _________________ ServiceTest.test_scale_method_global_service _________________ tests/integration/models_services_test.py:264: in test_scale_method_global_service mode=mode docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________ ServiceTest.test_scale_method_service _____________________ tests/integration/models_services_test.py:242: in test_scale_method_service command="sleep 300", docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________________ ServiceTest.test_scale_service ________________________ tests/integration/models_services_test.py:218: in test_scale_service command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ____________________________ ServiceTest.test_tasks ____________________________ tests/integration/models_services_test.py:87: in test_tasks command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ___________________________ ServiceTest.test_update ____________________________ tests/integration/models_services_test.py:113: in test_update command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_remove_service_labels _________________ tests/integration/models_services_test.py:173: in test_update_remove_service_labels command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment _______________ ServiceTest.test_update_retains_container_labels _______________ tests/integration/models_services_test.py:153: in test_update_retains_container_labels container_labels={'container.label': 'SampleLabel'} docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment ________________ ServiceTest.test_update_retains_service_labels ________________ tests/integration/models_services_test.py:133: in test_update_retains_service_labels command="sleep 300" docker/models/services.py:225: in create service_id = self.client.api.create_service(**create_kwargs) docker/utils/decorators.py:34: in wrapper return f(self, *args, **kwargs) docker/api/service.py:186: in create_service if hostname is not None: E UnboundLocalError: local variable 'hostname' referenced before assignment =============================== 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, and in 3.8 it will stop working from collections import MutableMapping -- Docs: https://docs.pytest.org/en/latest/warnings.html ----------- coverage: platform linux, python 3.7.4-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 5 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 21 93 17 81% docker/api/client.py 265 46 100 13 82% docker/api/config.py 31 0 6 2 95% docker/api/container.py 265 23 104 19 86% docker/api/daemon.py 39 2 14 4 89% docker/api/exec_api.py 46 6 22 4 82% docker/api/image.py 149 19 52 10 85% docker/api/network.py 90 17 48 12 75% docker/api/plugin.py 90 13 14 4 82% docker/api/secret.py 36 3 10 3 83% docker/api/service.py 206 133 151 25 31% docker/api/swarm.py 106 20 38 10 72% docker/api/volume.py 38 3 14 3 88% docker/auth.py 198 16 74 16 88% docker/client.py 67 4 2 0 94% docker/constants.py 16 0 0 0 100% 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 90 6 20 6 89% 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 58 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 31 36 2 63% 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 58 53 10 0 7% docker/transport/npipesocket.py 134 130 20 0 3% docker/transport/sshconn.py 68 44 12 1 31% docker/transport/ssladapter.py 36 10 10 4 65% docker/transport/unixconn.py 65 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 360 46 298 35 86% docker/types/daemon.py 36 8 14 4 72% docker/types/healthcheck.py 34 12 4 1 61% docker/types/networks.py 35 4 22 3 84% docker/types/services.py 312 62 206 39 76% docker/types/swarm.py 51 24 40 10 52% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 154 18 76 7 87% docker/utils/config.py 36 1 10 1 96% docker/utils/decorators.py 32 1 12 1 95% docker/utils/fnmatch.py 55 18 28 2 61% docker/utils/json_stream.py 43 8 14 2 79% docker/utils/ports.py 50 3 32 2 91% docker/utils/proxy.py 32 1 12 0 98% docker/utils/socket.py 86 9 40 7 86% docker/utils/utils.py 285 19 177 13 92% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 4640 968 2069 313 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_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 [1] tests/integration/api_build_test.py:441: API version is too low (< 1.32) SKIPPED [1] /src/tests/helpers.py:71: Feature requires Docker Engine experimental mode SKIPPED [1] tests/integration/api_build_test.py:587: API version is too low (< 1.31) SKIPPED [1] tests/integration/api_container_test.py:917: API version is too low (< 1.35) SKIPPED [1] tests/integration/api_exec_test.py:182: API version is too low (< 1.35) SKIPPED [1] tests/integration/api_image_test.py:66: API version is too low (< 1.32) SKIPPED [1] tests/integration/api_image_test.py:292: Doesn't work inside a container - FIXME SKIPPED [1] tests/integration/api_network_test.py:451: API version is too low (< 1.31) SKIPPED [1] tests/integration/api_service_test.py:503: API version is too low (< 1.32) SKIPPED [1] tests/integration/api_service_test.py:229: API version is too low (< 1.32) SKIPPED [1] tests/integration/api_service_test.py:882: API version is too low (< 1.38) SKIPPED [1] tests/integration/api_service_test.py:261: API version is too low (< 1.32) SKIPPED [1] tests/integration/api_swarm_test.py:59: API version is too low (< 1.39) SKIPPED [1] tests/integration/api_swarm_test.py:38: API version is too low (< 1.39) SKIPPED [1] tests/integration/api_swarm_test.py:45: API version is too low (< 1.39) SKIPPED [1] tests/integration/api_swarm_test.py:52: API version is too low (< 1.39) 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/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:486: shlex doesn't support bytes in py3 = 70 failed, 833 passed, 23 skipped, 5 xfailed, 1 xpassed, 1 warnings in 374.06 seconds = [Pipeline] sh + docker stop dpy-dind-2-0-py3.7-17.06.2-ce dpy-tests-2-0-py3.7-17.06.2-ce dpy-dind-2-0-py3.7-17.06.2-ce dpy-tests-2-0-py3.7-17.06.2-ce + docker rm -vf dpy-dind-2-0-py3.7-17.06.2-ce dpy-tests-2-0-py3.7-17.06.2-ce dpy-dind-2-0-py3.7-17.06.2-ce dpy-tests-2-0-py3.7-17.06.2-ce + docker network rm dpy-testnet-2-0-py3.7-17.06.2-ce dpy-testnet-2-0-py3.7-17.06.2-ce [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py3.7_17.06.2-ce [Pipeline] // parallel [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 1 Finished: FAILURE