Pull request #2647 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch master at ed46fb0143020621c68bd2e62bf5a0780552c1fb rather than f99d8f37af363bfab40bf75e520d68882fd0e293 Obtained Jenkinsfile from ed46fb0143020621c68bd2e62bf5a0780552c1fb Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 using credential jps-reader > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --force --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 # timeout=10 Commit message: "Merge pull request #25 from ingshtrom/in-2733-load-from-file" > git rev-list --no-walk 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 # timeout=10 Excluding src/test/ from checkout of git https://github.com/docker/jps.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task All nodes of label ‘amd64&&ubuntu-1804&&overlay2’ are offline Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-04cdcc4c83c91f86a) in /home/ubuntu/workspace/docker-py_PR-2647 [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-2647@tmp/45070d8c-cf7b-49ab-9c5f-0ae9961c659e/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2647:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox df8698476c65: Pulling fs layer df8698476c65: Verifying Checksum df8698476c65: Download complete df8698476c65: Pull complete Digest: sha256:d366a4665ab44f0648d7a00ae3fae139d55e32f9712c67accd604bb55df9d05a 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-2647 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2647/head:refs/remotes/origin/PR-2647 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit ed46fb0143020621c68bd2e62bf5a0780552c1fb into PR head commit f99d8f37af363bfab40bf75e520d68882fd0e293 Merge succeeded, producing 7ba1320e05892f93d61d99a1789469668620c2a7 Checking out Revision 7ba1320e05892f93d61d99a1789469668620c2a7 (PR-2647) > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2647/head:refs/remotes/origin/PR-2647 # 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/2647/head:refs/remotes/origin/PR-2647 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f99d8f37af363bfab40bf75e520d68882fd0e293 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge ed46fb0143020621c68bd2e62bf5a0780552c1fb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ba1320e05892f93d61d99a1789469668620c2a7 # timeout=10 Commit message: "Merge commit 'ed46fb0143020621c68bd2e62bf5a0780552c1fb' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 253e055079554c8fbafff4a1a36b5c3b8c13e925 # timeout=10 [Pipeline] sh + git rev-parse HEAD [Pipeline] isUnix [Pipeline] sh + docker pull dockerbuildbot/docker-py:py2-7ba1320e05892f93d61d99a1789469668620c2a7 Error response from daemon: manifest for dockerbuildbot/docker-py:py2-7ba1320e05892f93d61d99a1789469668620c2a7 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerbuildbot/docker-py:py2-7ba1320e05892f93d61d99a1789469668620c2a7 -f tests/Dockerfile --build-arg PYTHON_VERSION=2.7 . Sending build context to Docker daemon 1.317MB Step 1/19 : ARG PYTHON_VERSION=3.7 Step 2/19 : FROM python:${PYTHON_VERSION} 2.7: Pulling from library/python 7e2b2a5af8f6: Pulling fs layer 09b6f03ffac4: Pulling fs layer dc3f0c679f0f: Pulling fs layer fd4b47407fc3: Pulling fs layer b32f6bf7d96d: Pulling fs layer 6f4489a7e4cf: Pulling fs layer af4b99ad9ef0: Pulling fs layer 39db0bc48c26: Pulling fs layer acb4a89489fc: Pulling fs layer 6f4489a7e4cf: Waiting fd4b47407fc3: Waiting af4b99ad9ef0: Waiting b32f6bf7d96d: Waiting acb4a89489fc: Waiting 39db0bc48c26: Waiting 09b6f03ffac4: Verifying Checksum 09b6f03ffac4: Download complete dc3f0c679f0f: Verifying Checksum dc3f0c679f0f: Download complete 7e2b2a5af8f6: Verifying Checksum 7e2b2a5af8f6: Download complete 6f4489a7e4cf: Verifying Checksum 6f4489a7e4cf: Download complete fd4b47407fc3: Verifying Checksum fd4b47407fc3: Download complete 39db0bc48c26: Verifying Checksum 39db0bc48c26: Download complete af4b99ad9ef0: Verifying Checksum af4b99ad9ef0: Download complete acb4a89489fc: Verifying Checksum acb4a89489fc: Download complete b32f6bf7d96d: Verifying Checksum b32f6bf7d96d: Download complete 7e2b2a5af8f6: Pull complete 09b6f03ffac4: Pull complete dc3f0c679f0f: Pull complete fd4b47407fc3: Pull complete b32f6bf7d96d: Pull complete 6f4489a7e4cf: Pull complete af4b99ad9ef0: Pull complete 39db0bc48c26: Pull complete acb4a89489fc: Pull complete Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d Status: Downloaded newer image for python:2.7 ---> 68e7be49c28c Step 3/19 : ARG APT_MIRROR ---> Running in 17db07c326ed Removing intermediate container 17db07c326ed ---> 25424ae48a7a 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 32bfe0aa29cd Removing intermediate container 32bfe0aa29cd ---> c0e8807b296a Step 5/19 : RUN apt-get update && apt-get -y install gnupg2 pass curl ---> Running in a3f70b1d3627 Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:2 http://deb.debian.org/debian buster InRelease [122 kB] Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [226 kB] Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7906 kB] Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7868 B] Fetched 8380 kB in 2s (4854 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... curl is already the newest version (7.64.0-4+deb10u1). 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 54 not upgraded. Need to get 708 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+deb10u1 [393 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 708 kB in 0s (2525 kB/s) Selecting previously unselected package gnupg2. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 24538 files and directories currently installed.) Preparing to unpack .../0-gnupg2_2.2.12-1+deb10u1_all.deb ... Unpacking gnupg2 (2.2.12-1+deb10u1) ... 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+deb10u1) ... 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 a3f70b1d3627 ---> 7bcd2e91b96b Step 6/19 : COPY ./tests/gpg-keys /gpg-keys ---> fda6083908e9 Step 7/19 : RUN gpg2 --import gpg-keys/secret ---> Running in c9a5520d85b8 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 c9a5520d85b8 ---> 3ee0244ea85c Step 8/19 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in c73af86b44f6 gpg: inserting ownertrust of 6 Removing intermediate container c73af86b44f6 ---> e874c1282f6b Step 9/19 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in 2cbc1baee54d gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container 2cbc1baee54d ---> c3a769d8a6f4 Step 10/19 : RUN gpg2 --check-trustdb ---> Running in 3d2ec8c9d613 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 3d2ec8c9d613 ---> a35c5be0ea71 Step 11/19 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in d499125b6c68 Removing intermediate container d499125b6c68 ---> b3f39168be59 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 336f43c6857b Removing intermediate container 336f43c6857b ---> 065c9e650b74 Step 13/19 : WORKDIR /src ---> Running in 352b90b926a6 Removing intermediate container 352b90b926a6 ---> c85e5ffcc180 Step 14/19 : COPY requirements.txt /src/requirements.txt ---> 7362ccd3e24a Step 15/19 : RUN pip install -r requirements.txt ---> Running in 8ab8695966b0 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment Requirement already satisfied: appdirs==1.4.3 in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 1)) (1.4.3) Collecting asn1crypto==0.22.0 Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97 kB) Collecting backports.ssl-match-hostname==3.5.0.1 Downloading backports.ssl_match_hostname-3.5.0.1.tar.gz (5.6 kB) Collecting cffi==1.10.0 Downloading cffi-1.10.0-cp27-cp27mu-manylinux1_x86_64.whl (392 kB) Collecting cryptography==2.3 Downloading cryptography-2.3-cp27-cp27mu-manylinux1_x86_64.whl (2.1 MB) Collecting enum34==1.1.6 Downloading enum34-1.1.6-py2-none-any.whl (12 kB) Collecting idna==2.5 Downloading idna-2.5-py2.py3-none-any.whl (55 kB) Collecting ipaddress==1.0.18 Downloading ipaddress-1.0.18-py2-none-any.whl (17 kB) Collecting packaging==16.8 Downloading packaging-16.8-py2.py3-none-any.whl (23 kB) Collecting paramiko==2.4.2 Downloading paramiko-2.4.2-py2.py3-none-any.whl (193 kB) Collecting pycparser==2.17 Downloading pycparser-2.17.tar.gz (231 kB) Collecting pyOpenSSL==18.0.0 Downloading pyOpenSSL-18.0.0-py2.py3-none-any.whl (53 kB) Collecting pyparsing==2.2.0 Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56 kB) Collecting requests==2.20.0 Downloading requests-2.20.0-py2.py3-none-any.whl (60 kB) Collecting six==1.10.0 Downloading six-1.10.0-py2.py3-none-any.whl (10 kB) Collecting urllib3==1.24.3 Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB) Collecting websocket-client==0.56.0 Downloading websocket_client-0.56.0-py2.py3-none-any.whl (200 kB) Collecting pyasn1>=0.1.7 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting pynacl>=1.0.1 Downloading PyNaCl-1.4.0-cp27-cp27mu-manylinux1_x86_64.whl (964 kB) Collecting bcrypt>=3.1.3 Downloading bcrypt-3.1.7-cp27-cp27mu-manylinux1_x86_64.whl (59 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB) Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Building wheels for collected packages: backports.ssl-match-hostname, pycparser Building wheel for backports.ssl-match-hostname (setup.py): started Building wheel for backports.ssl-match-hostname (setup.py): finished with status 'done' Created wheel for backports.ssl-match-hostname: filename=backports.ssl_match_hostname-3.5.0.1-py2-none-any.whl size=5209 sha256=be0321083ecf37e147ad42d3a81870c89496176163938552129f43b014fdea0a Stored in directory: /root/.cache/pip/wheels/19/dd/8c/6cad8e6c38a9fe006dd7423ca1655bb1eb3cb94c5ce1814e4f Building wheel for pycparser (setup.py): started Building wheel for pycparser (setup.py): finished with status 'done' Created wheel for pycparser: filename=pycparser-2.17-py2.py3-none-any.whl size=193884 sha256=9c178b369ef3cbc17e43f165c100acb4e637bb785658df074cf5a9bc861f9bbe Stored in directory: /root/.cache/pip/wheels/03/08/f2/bf70552f051cd78e9d8fe7d196ef762858dcfa156965e3a1e3 Successfully built backports.ssl-match-hostname pycparser Installing collected packages: asn1crypto, backports.ssl-match-hostname, pycparser, cffi, six, idna, enum34, ipaddress, cryptography, pyparsing, packaging, pyasn1, pynacl, bcrypt, paramiko, pyOpenSSL, certifi, chardet, urllib3, requests, websocket-client Attempting uninstall: six Found existing installation: six 1.14.0 Uninstalling six-1.14.0: Successfully uninstalled six-1.14.0 Successfully installed asn1crypto-0.22.0 backports.ssl-match-hostname-3.5.0.1 bcrypt-3.1.7 certifi-2020.6.20 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.8 pycparser-2.17 pynacl-1.4.0 pyparsing-2.2.0 requests-2.20.0 six-1.10.0 urllib3-1.24.3 websocket-client-0.56.0 WARNING: You are using pip version 20.0.2; however, version 20.2.3 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container 8ab8695966b0 ---> 414956159a4f Step 16/19 : COPY test-requirements.txt /src/test-requirements.txt ---> a7332b745189 Step 17/19 : RUN pip install -r test-requirements.txt ---> Running in 7d976f1d9eb4 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting setuptools==44.0.0 Downloading setuptools-44.0.0-py2.py3-none-any.whl (583 kB) Collecting coverage==4.5.2 Downloading coverage-4.5.2-cp27-cp27mu-manylinux1_x86_64.whl (201 kB) Collecting flake8==3.6.0 Downloading flake8-3.6.0-py2.py3-none-any.whl (68 kB) Collecting mock==1.0.1 Downloading mock-1.0.1.tar.gz (818 kB) Collecting pytest==4.3.1 Downloading pytest-4.3.1-py2.py3-none-any.whl (219 kB) Collecting pytest-cov==2.6.1 Downloading pytest_cov-2.6.1-py2.py3-none-any.whl (16 kB) Collecting pytest-timeout==1.3.3 Downloading pytest_timeout-1.3.3-py2.py3-none-any.whl (9.8 kB) Collecting pyflakes<2.1.0,>=2.0.0 Downloading pyflakes-2.0.0-py2.py3-none-any.whl (53 kB) Requirement already satisfied: configparser; python_version < "3.2" in /usr/local/lib/python2.7/site-packages (from flake8==3.6.0->-r test-requirements.txt (line 3)) (4.0.2) Requirement already satisfied: enum34; python_version < "3.4" in /usr/local/lib/python2.7/site-packages (from flake8==3.6.0->-r test-requirements.txt (line 3)) (1.1.6) Collecting pycodestyle<2.5.0,>=2.4.0 Downloading pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB) Collecting mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Requirement already satisfied: pathlib2>=2.2.0; python_version < "3.6" in /usr/local/lib/python2.7/site-packages (from pytest==4.3.1->-r test-requirements.txt (line 5)) (2.3.5) Collecting atomicwrites>=1.0 Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB) Collecting py>=1.5.0 Downloading py-1.9.0-py2.py3-none-any.whl (99 kB) Collecting attrs>=17.4.0 Downloading attrs-20.2.0-py2.py3-none-any.whl (48 kB) Collecting more-itertools<6.0.0,>=4.0.0; python_version <= "2.7" Downloading more_itertools-5.0.0-py2-none-any.whl (52 kB) Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python2.7/site-packages (from pytest==4.3.1->-r test-requirements.txt (line 5)) (1.10.0) Collecting pluggy>=0.7 Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB) Collecting funcsigs; python_version < "3.0" Downloading funcsigs-1.0.2-py2.py3-none-any.whl (17 kB) Requirement already satisfied: scandir; python_version < "3.5" in /usr/local/lib/python2.7/site-packages (from pathlib2>=2.2.0; python_version < "3.6"->pytest==4.3.1->-r test-requirements.txt (line 5)) (1.10.0) Requirement already satisfied: importlib-metadata>=0.12; python_version < "3.8" in /usr/local/lib/python2.7/site-packages (from pluggy>=0.7->pytest==4.3.1->-r test-requirements.txt (line 5)) (1.6.0) Requirement already satisfied: contextlib2; python_version < "3" in /usr/local/lib/python2.7/site-packages (from importlib-metadata>=0.12; python_version < "3.8"->pluggy>=0.7->pytest==4.3.1->-r test-requirements.txt (line 5)) (0.6.0.post1) Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python2.7/site-packages (from importlib-metadata>=0.12; python_version < "3.8"->pluggy>=0.7->pytest==4.3.1->-r test-requirements.txt (line 5)) (1.2.0) Building wheels for collected packages: mock Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py2-none-any.whl size=23755 sha256=2b527be8af070a0556712e35412581f3b26bc8b566e1e68a6a9ae538c0b66a5e Stored in directory: /root/.cache/pip/wheels/ad/62/e0/a06cc957652749e64c7904e899eca3ecb2ec47c60d52653660 Successfully built mock Installing collected packages: setuptools, coverage, pyflakes, pycodestyle, mccabe, flake8, mock, atomicwrites, py, attrs, more-itertools, pluggy, funcsigs, pytest, pytest-cov, pytest-timeout Attempting uninstall: setuptools Found existing installation: setuptools 44.1.0 Uninstalling setuptools-44.1.0: Successfully uninstalled setuptools-44.1.0 Successfully installed atomicwrites-1.4.0 attrs-20.2.0 coverage-4.5.2 flake8-3.6.0 funcsigs-1.0.2 mccabe-0.6.1 mock-1.0.1 more-itertools-5.0.0 pluggy-0.13.1 py-1.9.0 pycodestyle-2.4.0 pyflakes-2.0.0 pytest-4.3.1 pytest-cov-2.6.1 pytest-timeout-1.3.3 setuptools-44.0.0 WARNING: You are using pip version 20.0.2; however, version 20.2.3 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container 7d976f1d9eb4 ---> 6d765cfdbd47 Step 18/19 : COPY . /src ---> ed47cae0dddf Step 19/19 : RUN pip install . ---> Running in fad805f5c27b DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Processing /src Requirement already satisfied: six>=1.4.0 in /usr/local/lib/python2.7/site-packages (from docker==4.4.0.dev0) (1.10.0) Requirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python2.7/site-packages (from docker==4.4.0.dev0) (0.56.0) Requirement already satisfied: requests!=2.18.0,>=2.14.2 in /usr/local/lib/python2.7/site-packages (from docker==4.4.0.dev0) (2.20.0) Requirement already satisfied: backports.ssl_match_hostname>=3.5 in /usr/local/lib/python2.7/site-packages (from docker==4.4.0.dev0) (3.5.0.1) Requirement already satisfied: ipaddress>=1.0.16 in /usr/local/lib/python2.7/site-packages (from docker==4.4.0.dev0) (1.0.18) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.0.dev0) (2020.6.20) Requirement already satisfied: idna<2.8,>=2.5 in /usr/local/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.0.dev0) (2.5) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.0.dev0) (3.0.4) Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/local/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.0.dev0) (1.24.3) Building wheels for collected packages: docker Building wheel for docker (setup.py): started Building wheel for docker (setup.py): finished with status 'done' Created wheel for docker: filename=docker-4.4.0.dev0-py2.py3-none-any.whl size=145308 sha256=c8270b2373ec29cb52e2db96622b8a6ed21683dd42f2c3b7bff9011a2434f2d3 Stored in directory: /tmp/pip-ephem-wheel-cache-xTHsll/wheels/dc/45/28/050a7fcd95fc9b9f504d64d6668214323c48b439857458e65c Successfully built docker Installing collected packages: docker Successfully installed docker-4.4.0.dev0 WARNING: You are using pip version 20.0.2; however, version 20.2.3 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container fad805f5c27b ---> 4a9ec6879496 Successfully built 4a9ec6879496 Successfully tagged dockerbuildbot/docker-py:py2-7ba1320e05892f93d61d99a1789469668620c2a7 [Pipeline] isUnix [Pipeline] sh + docker tag dockerbuildbot/docker-py:py2-7ba1320e05892f93d61d99a1789469668620c2a7 dockerbuildbot/docker-py:py2-7ba1320e05892f93d61d99a1789469668620c2a7 [Pipeline] isUnix [Pipeline] sh + docker push dockerbuildbot/docker-py:py2-7ba1320e05892f93d61d99a1789469668620c2a7 The push refers to repository [docker.io/dockerbuildbot/docker-py] 6aa473cbc7da: Preparing 2de1a4b367b9: Preparing 1eaa44e1840f: Preparing cd4f9e22f9d4: Preparing b5551ae48343: Preparing 94a9653bf3d1: Preparing 3f5c4f200f84: Preparing 06ebb5ea0b31: Preparing b29ef419c8fb: Preparing 345c2e3d9ef6: Preparing 7f93df21e570: Preparing a423246ab281: Preparing 2a5c210de5b0: Preparing 9de8e1a12dec: Preparing 0a96af626cf9: Preparing e571d2d3c73c: Preparing da7b0a80a4f2: Preparing ceee8816bb96: Preparing 47458fb45d99: Preparing 46829331b1e4: Preparing d35c5bda4793: Preparing a3c1026c6bcc: Preparing f1d420c2af1a: Preparing 461719022993: Preparing 94a9653bf3d1: Waiting 3f5c4f200f84: Waiting 06ebb5ea0b31: Waiting b29ef419c8fb: Waiting 345c2e3d9ef6: Waiting 7f93df21e570: Waiting a423246ab281: Waiting 2a5c210de5b0: Waiting 9de8e1a12dec: Waiting 0a96af626cf9: Waiting e571d2d3c73c: Waiting da7b0a80a4f2: Waiting ceee8816bb96: Waiting 47458fb45d99: Waiting 46829331b1e4: Waiting d35c5bda4793: Waiting a3c1026c6bcc: Waiting f1d420c2af1a: Waiting 461719022993: Waiting cd4f9e22f9d4: Pushed 6aa473cbc7da: Pushed 2de1a4b367b9: Pushed 94a9653bf3d1: Pushed 3f5c4f200f84: Pushed 1eaa44e1840f: Pushed 345c2e3d9ef6: Pushed b29ef419c8fb: Pushed 06ebb5ea0b31: Pushed b5551ae48343: Pushed 7f93df21e570: Pushed e571d2d3c73c: Layer already exists da7b0a80a4f2: Layer already exists ceee8816bb96: Layer already exists 47458fb45d99: Layer already exists 46829331b1e4: Layer already exists d35c5bda4793: Layer already exists a3c1026c6bcc: Layer already exists f1d420c2af1a: Layer already exists 2a5c210de5b0: Pushed 461719022993: Layer already exists a423246ab281: Pushed 0a96af626cf9: Pushed 9de8e1a12dec: Pushed py2-7ba1320e05892f93d61d99a1789469668620c2a7: digest: sha256:a5254a0639f2983d42aba5a18b901167c0e6f14d24c50e82af8cb242f69193ef size: 5353 [Pipeline] isUnix [Pipeline] sh + docker pull dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7 Error response from daemon: manifest for dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.7 . Sending build context to Docker daemon 1.317MB Step 1/19 : ARG PYTHON_VERSION=3.7 Step 2/19 : FROM python:${PYTHON_VERSION} 3.7: Pulling from library/python 57df1a1f1ad8: Pulling fs layer 71e126169501: Pulling fs layer 1af28a55c3f3: Pulling fs layer 03f1c9932170: Pulling fs layer 65b3db15f518: Pulling fs layer 3e3b8947ed83: Pulling fs layer 38d9e7938097: Pulling fs layer 724043f425e0: Pulling fs layer 6cf90f3f5863: Pulling fs layer 3e3b8947ed83: Waiting 03f1c9932170: Waiting 65b3db15f518: Waiting 38d9e7938097: Waiting 724043f425e0: Waiting 6cf90f3f5863: Waiting 71e126169501: Verifying Checksum 71e126169501: Download complete 1af28a55c3f3: Verifying Checksum 1af28a55c3f3: Download complete 57df1a1f1ad8: Verifying Checksum 57df1a1f1ad8: Download complete 3e3b8947ed83: Verifying Checksum 3e3b8947ed83: Download complete 38d9e7938097: Verifying Checksum 38d9e7938097: Download complete 03f1c9932170: Verifying Checksum 03f1c9932170: Download complete 724043f425e0: Verifying Checksum 724043f425e0: Download complete 6cf90f3f5863: Verifying Checksum 6cf90f3f5863: Download complete 65b3db15f518: Verifying Checksum 65b3db15f518: Download complete 57df1a1f1ad8: Pull complete 71e126169501: Pull complete 1af28a55c3f3: Pull complete 03f1c9932170: Pull complete 65b3db15f518: Pull complete 3e3b8947ed83: Pull complete 38d9e7938097: Pull complete 724043f425e0: Pull complete 6cf90f3f5863: Pull complete Digest: sha256:5b430fe2263d891ce94145fdc320fe2a88336cc127301637625d6e5fe37bef60 Status: Downloaded newer image for python:3.7 ---> 11c6e5fd966a Step 3/19 : ARG APT_MIRROR ---> Running in e7b1db182634 Removing intermediate container e7b1db182634 ---> 5a89fdd33916 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 31e0290db8dc Removing intermediate container 31e0290db8dc ---> ae20808c5623 Step 5/19 : RUN apt-get update && apt-get -y install gnupg2 pass curl ---> Running in 9044eb55f34d Get:1 http://deb.debian.org/debian buster InRelease [122 kB] Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7906 kB] Get:5 http://deb.debian.org/debian buster-updates/main amd64 Packages [7868 B] Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [226 kB] Fetched 8380 kB in 2s (4964 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... curl is already the newest version (7.64.0-4+deb10u1). 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 0 not upgraded. Need to get 708 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+deb10u1 [393 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 708 kB in 0s (2555 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 ... 24604 files and directories currently installed.) Preparing to unpack .../0-gnupg2_2.2.12-1+deb10u1_all.deb ... Unpacking gnupg2 (2.2.12-1+deb10u1) ... 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+deb10u1) ... 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 9044eb55f34d ---> 9c270dde5f64 Step 6/19 : COPY ./tests/gpg-keys /gpg-keys ---> e1f211e05d48 Step 7/19 : RUN gpg2 --import gpg-keys/secret ---> Running in dfb28da4a91a 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 dfb28da4a91a ---> e1d55c37aaab Step 8/19 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in 1b34e1177cb9 gpg: inserting ownertrust of 6 Removing intermediate container 1b34e1177cb9 ---> bf7e9a20f862 Step 9/19 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in 376eea08d8cb gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container 376eea08d8cb ---> cf5c683e0122 Step 10/19 : RUN gpg2 --check-trustdb ---> Running in f6a09dae2eb1 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 f6a09dae2eb1 ---> 90e8c45c9c63 Step 11/19 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in e9b1f67b0c33 Removing intermediate container e9b1f67b0c33 ---> fb31e748ef3b 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 0f2d74592174 Removing intermediate container 0f2d74592174 ---> 96cb0f8cba68 Step 13/19 : WORKDIR /src ---> Running in 69adf1171858 Removing intermediate container 69adf1171858 ---> 2efeccf9bc42 Step 14/19 : COPY requirements.txt /src/requirements.txt ---> a9f813c9660a Step 15/19 : RUN pip install -r requirements.txt ---> Running in a0e0d816da9f Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment Collecting appdirs==1.4.3 Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB) Collecting asn1crypto==0.22.0 Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97 kB) Collecting backports.ssl-match-hostname==3.5.0.1 Downloading backports.ssl_match_hostname-3.5.0.1.tar.gz (5.6 kB) Collecting cffi==1.10.0 Downloading cffi-1.10.0.tar.gz (418 kB) Collecting cryptography==2.3 Downloading cryptography-2.3-cp34-abi3-manylinux1_x86_64.whl (2.1 MB) Collecting enum34==1.1.6 Downloading enum34-1.1.6-py3-none-any.whl (12 kB) Collecting idna==2.5 Downloading idna-2.5-py2.py3-none-any.whl (55 kB) Collecting ipaddress==1.0.18 Downloading ipaddress-1.0.18.tar.gz (32 kB) Collecting packaging==16.8 Downloading packaging-16.8-py2.py3-none-any.whl (23 kB) Collecting paramiko==2.4.2 Downloading paramiko-2.4.2-py2.py3-none-any.whl (193 kB) Collecting pycparser==2.17 Downloading pycparser-2.17.tar.gz (231 kB) Collecting pyOpenSSL==18.0.0 Downloading pyOpenSSL-18.0.0-py2.py3-none-any.whl (53 kB) Collecting pyparsing==2.2.0 Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56 kB) Collecting requests==2.20.0 Downloading requests-2.20.0-py2.py3-none-any.whl (60 kB) Collecting six==1.10.0 Downloading six-1.10.0-py2.py3-none-any.whl (10 kB) Collecting urllib3==1.24.3 Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB) Collecting websocket-client==0.56.0 Downloading websocket_client-0.56.0-py2.py3-none-any.whl (200 kB) Collecting pyasn1>=0.1.7 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting bcrypt>=3.1.3 Downloading bcrypt-3.2.0-cp36-abi3-manylinux2010_x86_64.whl (63 kB) Collecting pynacl>=1.0.1 Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB) Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB) Building wheels for collected packages: backports.ssl-match-hostname, cffi, ipaddress, pycparser Building wheel for backports.ssl-match-hostname (setup.py): started Building wheel for backports.ssl-match-hostname (setup.py): finished with status 'done' Created wheel for backports.ssl-match-hostname: filename=backports.ssl_match_hostname-3.5.0.1-py3-none-any.whl size=5206 sha256=c767e130a93b1d6ff042802f3d60b2d96568bad5f7cf3f03c1aae607017c6723 Stored in directory: /root/.cache/pip/wheels/93/72/f6/df894bfc7947d11f89dbdb4e9b786703a43cd547c1b5e8c738 Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'done' Created wheel for cffi: filename=cffi-1.10.0-cp37-cp37m-linux_x86_64.whl size=371206 sha256=a7df66d4a402b520cda2b5ad8aac631e2bb5bce6593a7b000eefe50c1cf35dbb Stored in directory: /root/.cache/pip/wheels/cc/8d/6c/d24a8db003ac4a51d9959a9985718fac84e1baa5ec6c42d115 Building wheel for ipaddress (setup.py): started Building wheel for ipaddress (setup.py): finished with status 'done' Created wheel for ipaddress: filename=ipaddress-1.0.18-py3-none-any.whl size=18105 sha256=5358466b48f0299c2d78b1963e9dbc0decb1a43bb9e9636e1720fa09e6f33ef1 Stored in directory: /root/.cache/pip/wheels/54/90/bd/f99e221ab77ef8e6d65c14efe986cef3360da2990396093151 Building wheel for pycparser (setup.py): started Building wheel for pycparser (setup.py): finished with status 'done' Created wheel for pycparser: filename=pycparser-2.17-py2.py3-none-any.whl size=192837 sha256=6fcd7dff08092d2a8046ed50bf0caa1289e31a56827e3ac1a5fc5484a4a95ccc Stored in directory: /root/.cache/pip/wheels/91/50/7a/9f94e39b01559aa44c3cefb775d7befcc01d0a6ed0093cab37 Successfully built backports.ssl-match-hostname cffi ipaddress pycparser Installing collected packages: appdirs, asn1crypto, backports.ssl-match-hostname, pycparser, cffi, six, idna, cryptography, enum34, ipaddress, pyparsing, packaging, pyasn1, bcrypt, pynacl, paramiko, pyOpenSSL, chardet, certifi, urllib3, requests, websocket-client Successfully installed appdirs-1.4.3 asn1crypto-0.22.0 backports.ssl-match-hostname-3.5.0.1 bcrypt-3.2.0 certifi-2020.6.20 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.8 pycparser-2.17 pynacl-1.4.0 pyparsing-2.2.0 requests-2.20.0 six-1.10.0 urllib3-1.24.3 websocket-client-0.56.0 Removing intermediate container a0e0d816da9f ---> 78e185571ce1 Step 16/19 : COPY test-requirements.txt /src/test-requirements.txt ---> f762c89fbeb5 Step 17/19 : RUN pip install -r test-requirements.txt ---> Running in cd811ce712f0 Collecting setuptools==44.0.0 Downloading setuptools-44.0.0-py2.py3-none-any.whl (583 kB) Collecting coverage==4.5.2 Downloading coverage-4.5.2-cp37-cp37m-manylinux1_x86_64.whl (205 kB) Collecting flake8==3.6.0 Downloading flake8-3.6.0-py2.py3-none-any.whl (68 kB) Collecting mock==1.0.1 Downloading mock-1.0.1.tar.gz (818 kB) Collecting pytest==4.3.1 Downloading pytest-4.3.1-py2.py3-none-any.whl (219 kB) Collecting pytest-cov==2.6.1 Downloading pytest_cov-2.6.1-py2.py3-none-any.whl (16 kB) Collecting pytest-timeout==1.3.3 Downloading pytest_timeout-1.3.3-py2.py3-none-any.whl (9.8 kB) Collecting pyflakes<2.1.0,>=2.0.0 Downloading pyflakes-2.0.0-py2.py3-none-any.whl (53 kB) Collecting pycodestyle<2.5.0,>=2.4.0 Downloading pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB) Collecting mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting pluggy>=0.7 Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB) Collecting py>=1.5.0 Downloading py-1.9.0-py2.py3-none-any.whl (99 kB) Collecting more-itertools>=4.0.0; python_version > "2.7" Downloading more_itertools-8.5.0-py3-none-any.whl (44 kB) Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.7/site-packages (from pytest==4.3.1->-r test-requirements.txt (line 5)) (1.10.0) Collecting atomicwrites>=1.0 Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB) Collecting attrs>=17.4.0 Downloading attrs-20.2.0-py2.py3-none-any.whl (48 kB) Collecting importlib-metadata>=0.12; python_version < "3.8" Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB) Collecting zipp>=0.5 Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB) Building wheels for collected packages: mock Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23754 sha256=8766ecfe669b4017fdad1eedb3a8dcb1de64a9276d22afb6754c9d2098d68a32 Stored in directory: /root/.cache/pip/wheels/16/03/37/f0a64ab894c9102906f192db1a4071b7592292ad661563c69b Successfully built mock Installing collected packages: setuptools, coverage, pyflakes, pycodestyle, mccabe, flake8, mock, zipp, importlib-metadata, pluggy, py, more-itertools, atomicwrites, attrs, pytest, pytest-cov, pytest-timeout Attempting uninstall: setuptools Found existing installation: setuptools 50.3.0 Uninstalling setuptools-50.3.0: Successfully uninstalled setuptools-50.3.0 Successfully installed atomicwrites-1.4.0 attrs-20.2.0 coverage-4.5.2 flake8-3.6.0 importlib-metadata-1.7.0 mccabe-0.6.1 mock-1.0.1 more-itertools-8.5.0 pluggy-0.13.1 py-1.9.0 pycodestyle-2.4.0 pyflakes-2.0.0 pytest-4.3.1 pytest-cov-2.6.1 pytest-timeout-1.3.3 setuptools-44.0.0 zipp-3.1.0 Removing intermediate container cd811ce712f0 ---> e15aace731d3 Step 18/19 : COPY . /src ---> 6ee8bd7c2fdd Step 19/19 : RUN pip install . ---> Running in 3363938a9eeb Processing /src Requirement already satisfied: six>=1.4.0 in /usr/local/lib/python3.7/site-packages (from docker==4.4.0.dev0) (1.10.0) Requirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python3.7/site-packages (from docker==4.4.0.dev0) (0.56.0) Requirement already satisfied: requests!=2.18.0,>=2.14.2 in /usr/local/lib/python3.7/site-packages (from docker==4.4.0.dev0) (2.20.0) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.0.dev0) (3.0.4) Requirement already satisfied: idna<2.8,>=2.5 in /usr/local/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.0.dev0) (2.5) Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/local/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.0.dev0) (1.24.3) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.4.0.dev0) (2020.6.20) Building wheels for collected packages: docker Building wheel for docker (setup.py): started Building wheel for docker (setup.py): finished with status 'done' Created wheel for docker: filename=docker-4.4.0.dev0-py2.py3-none-any.whl size=145308 sha256=5e9f45b1d672d106d52acfa0c04b3ea2d0bfbdfbc9f4499ab35abfb7e3260243 Stored in directory: /tmp/pip-ephem-wheel-cache-4zxbinkh/wheels/6f/63/19/359cf44f647b75d0ea75ecc03aa429fec4c372b453eb4b6525 Successfully built docker Installing collected packages: docker Successfully installed docker-4.4.0.dev0 Removing intermediate container 3363938a9eeb ---> 00d03d851484 Successfully built 00d03d851484 Successfully tagged dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7 [Pipeline] isUnix [Pipeline] sh + docker tag dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7 dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7 [Pipeline] isUnix [Pipeline] sh + docker push dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7 The push refers to repository [docker.io/dockerbuildbot/docker-py] 668c93f833ed: Preparing c8bd63b527c6: Preparing b082e9a1f248: Preparing fa28b0376050: Preparing f43255bef763: Preparing 7e4203ef9a66: Preparing dfc62dde4169: Preparing ca17646187a3: Preparing 082f53bf8054: Preparing 4602bcaae6f6: Preparing da5cde744217: Preparing 3ecd8cfa1663: Preparing 4781e7f93455: Preparing bbf03521c59c: Preparing 566705861485: Preparing a92828556ea3: Preparing 0843bbf2ef8c: Preparing a3080e907f05: Preparing 0fb2e27dc3b8: Preparing a995c5106335: Preparing 17bdf5e22660: Preparing d37096232ed8: Preparing 6add0d2b5482: Preparing 4ef54afed780: Preparing 4781e7f93455: Waiting bbf03521c59c: Waiting 566705861485: Waiting a92828556ea3: Waiting 0843bbf2ef8c: Waiting a3080e907f05: Waiting 0fb2e27dc3b8: Waiting a995c5106335: Waiting 17bdf5e22660: Waiting d37096232ed8: Waiting 6add0d2b5482: Waiting 4ef54afed780: Waiting 7e4203ef9a66: Waiting dfc62dde4169: Waiting ca17646187a3: Waiting 082f53bf8054: Waiting 4602bcaae6f6: Waiting da5cde744217: Waiting 3ecd8cfa1663: Waiting fa28b0376050: Pushed 668c93f833ed: Pushed c8bd63b527c6: Pushed b082e9a1f248: Pushed 7e4203ef9a66: Pushed dfc62dde4169: Pushed ca17646187a3: Pushed 4602bcaae6f6: Pushed 082f53bf8054: Pushed da5cde744217: Pushed 3ecd8cfa1663: Pushed a92828556ea3: Layer already exists 0843bbf2ef8c: Layer already exists f43255bef763: Pushed 0fb2e27dc3b8: Layer already exists a3080e907f05: Layer already exists a995c5106335: Layer already exists 17bdf5e22660: Layer already exists d37096232ed8: Layer already exists 6add0d2b5482: Layer already exists 4781e7f93455: Pushed 4ef54afed780: Layer already exists 566705861485: Pushed bbf03521c59c: Pushed py3-7ba1320e05892f93d61d99a1789469668620c2a7: digest: sha256:8bc3b34d6c487107c4a0894dbfe6d9325dbc6e54c6ab623e32665b4faa1cb22c size: 5349 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2-mem (i-0bf5c6f97e399117a) in /home/ubuntu/workspace/docker-py_PR-2647 [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-2647@tmp/4f17f286-e974-478c-a42d-d6cc16bdb41a/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-7ba1320e05892f93d61d99a1789469668620c2a7 /src/scripts/versions.py Unable to find image 'dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7' locally py3-7ba1320e05892f93d61d99a1789469668620c2a7: Pulling from dockerbuildbot/docker-py 57df1a1f1ad8: Pulling fs layer 71e126169501: Pulling fs layer 1af28a55c3f3: Pulling fs layer 03f1c9932170: Pulling fs layer 65b3db15f518: Pulling fs layer 3e3b8947ed83: Pulling fs layer 38d9e7938097: Pulling fs layer 724043f425e0: Pulling fs layer 6cf90f3f5863: Pulling fs layer 97b3b6e3942c: Pulling fs layer 7d0fab06dd1c: Pulling fs layer 8822b887b191: Pulling fs layer 6fed37101b40: Pulling fs layer 20d8b4bff89d: Pulling fs layer c25a56bc0f45: Pulling fs layer e9d5fb9163e3: Pulling fs layer c564631bbd04: Pulling fs layer c0acff43869b: Pulling fs layer c58ce5ae1e8e: Pulling fs layer 4b821409f0d0: Pulling fs layer d3fd94bee181: Pulling fs layer 902eec69ee20: Pulling fs layer 73d189953b80: Pulling fs layer ce9d0f04f569: Pulling fs layer 6fed37101b40: Waiting 20d8b4bff89d: Waiting c25a56bc0f45: Waiting e9d5fb9163e3: Waiting c564631bbd04: Waiting c0acff43869b: Waiting c58ce5ae1e8e: Waiting 4b821409f0d0: Waiting d3fd94bee181: Waiting 902eec69ee20: Waiting 73d189953b80: Waiting ce9d0f04f569: Waiting 03f1c9932170: Waiting 65b3db15f518: Waiting 3e3b8947ed83: Waiting 38d9e7938097: Waiting 724043f425e0: Waiting 6cf90f3f5863: Waiting 97b3b6e3942c: Waiting 7d0fab06dd1c: Waiting 8822b887b191: Waiting 71e126169501: Verifying Checksum 71e126169501: Download complete 1af28a55c3f3: Verifying Checksum 1af28a55c3f3: Download complete 57df1a1f1ad8: Verifying Checksum 57df1a1f1ad8: Download complete 3e3b8947ed83: Verifying Checksum 3e3b8947ed83: Download complete 03f1c9932170: Verifying Checksum 03f1c9932170: Download complete 724043f425e0: Verifying Checksum 724043f425e0: Download complete 6cf90f3f5863: Verifying Checksum 6cf90f3f5863: Download complete 97b3b6e3942c: Verifying Checksum 97b3b6e3942c: Download complete 38d9e7938097: Verifying Checksum 38d9e7938097: Download complete 8822b887b191: Verifying Checksum 8822b887b191: Download complete 6fed37101b40: Verifying Checksum 6fed37101b40: Download complete 20d8b4bff89d: Verifying Checksum 20d8b4bff89d: Download complete 7d0fab06dd1c: Verifying Checksum 7d0fab06dd1c: Download complete e9d5fb9163e3: Verifying Checksum e9d5fb9163e3: Download complete c25a56bc0f45: Verifying Checksum c25a56bc0f45: Download complete c0acff43869b: Verifying Checksum c0acff43869b: Download complete c564631bbd04: Verifying Checksum c564631bbd04: Download complete c58ce5ae1e8e: Verifying Checksum c58ce5ae1e8e: Download complete d3fd94bee181: Verifying Checksum d3fd94bee181: Download complete 4b821409f0d0: Verifying Checksum 4b821409f0d0: Download complete 73d189953b80: Verifying Checksum 73d189953b80: Download complete 902eec69ee20: Verifying Checksum 902eec69ee20: Download complete ce9d0f04f569: Verifying Checksum ce9d0f04f569: Download complete 65b3db15f518: Verifying Checksum 65b3db15f518: Download complete 57df1a1f1ad8: Pull complete 71e126169501: Pull complete 1af28a55c3f3: Pull complete 03f1c9932170: Pull complete 65b3db15f518: Pull complete 3e3b8947ed83: Pull complete 38d9e7938097: Pull complete 724043f425e0: Pull complete 6cf90f3f5863: Pull complete 97b3b6e3942c: Pull complete 7d0fab06dd1c: Pull complete 8822b887b191: Pull complete 6fed37101b40: Pull complete 20d8b4bff89d: Pull complete c25a56bc0f45: Pull complete e9d5fb9163e3: Pull complete c564631bbd04: Pull complete c0acff43869b: Pull complete c58ce5ae1e8e: Pull complete 4b821409f0d0: Pull complete d3fd94bee181: Pull complete 902eec69ee20: Pull complete 73d189953b80: Pull complete ce9d0f04f569: Pull complete Digest: sha256:8bc3b34d6c487107c4a0894dbfe6d9325dbc6e54c6ab623e32665b4faa1cb22c Status: Downloaded newer image for dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7 [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] parallel [Pipeline] { (Branch: py2.7_19.03.12) [Pipeline] { (Branch: py2.7_19.03.13-beta2) [Pipeline] { (Branch: py3.7_19.03.12) [Pipeline] { (Branch: py3.7_19.03.13-beta2) [Pipeline] node [Pipeline] node [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-04cdcc4c83c91f86a) in /home/ubuntu/workspace/docker-py_PR-2647 [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2-mem (i-0bf5c6f97e399117a) in /home/ubuntu/workspace/docker-py_PR-2647 [Pipeline] { [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ Running on EC2 (managed-agents) - ubuntu-1804-overlay2-big (i-0dfd543eb783fc86e) in /home/ubuntu/workspace/docker-py_PR-2647 [Pipeline] { [Pipeline] withDockerRegistry WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2647@tmp/17cedf36-e395-4597-ab27-ebdd964bc008/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 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-2647@tmp/3eba185b-9cbd-4ffb-91b1-36ae772b1794/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2647:/workspace busybox chown -R 1000:1000 /workspace + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2647:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox df8698476c65: Pulling fs layer df8698476c65: Verifying Checksum df8698476c65: Download complete [Pipeline] echo Removing all docker containers [Pipeline] sh df8698476c65: Pull complete Digest: sha256:d366a4665ab44f0648d7a00ae3fae139d55e32f9712c67accd604bb55df9d05a Status: Downloaded newer image for busybox:latest + 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.12) [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] echo Removing all docker containers [Pipeline] sh Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2647 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2647/head:refs/remotes/origin/PR-2647 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags + 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.13-beta2) Merging remotes/origin/master commit ed46fb0143020621c68bd2e62bf5a0780552c1fb into PR head commit f99d8f37af363bfab40bf75e520d68882fd0e293 [Pipeline] checkout > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2647/head:refs/remotes/origin/PR-2647 # 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/2647/head:refs/remotes/origin/PR-2647 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 945a35ed65c7ca9643f2d956c67ca969d5987e03 Checking out Revision 945a35ed65c7ca9643f2d956c67ca969d5987e03 (PR-2647) Commit message: "Merge commit 'ed46fb0143020621c68bd2e62bf5a0780552c1fb' into HEAD" First time build. Skipping changelog. using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] sh + docker network create dpy-testnet-18-0-py2.7-19.03.12 a6e1dbe3461e029fa0f846cf7aa9e8f0a45ac14d9daf12a82559a17051c881bc [Pipeline] sh Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2647 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2647/head:refs/remotes/origin/PR-2647 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git checkout -f f99d8f37af363bfab40bf75e520d68882fd0e293 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge ed46fb0143020621c68bd2e62bf5a0780552c1fb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 945a35ed65c7ca9643f2d956c67ca969d5987e03 # timeout=10 > git rev-list --no-walk 253e055079554c8fbafff4a1a36b5c3b8c13e925 # timeout=10 + docker run -d --name dpy-dind-18-0-py2.7-19.03.12 -v /tmp --privileged --network dpy-testnet-18-0-py2.7-19.03.12 docker:19.03.12-dind dockerd -H tcp://0.0.0.0:2375 Unable to find image 'docker:19.03.12-dind' locally 19.03.12-dind: Pulling from library/docker df20fa9351a1: Pulling fs layer 25ad7478873d: Pulling fs layer 4684f6177b5d: Pulling fs layer 46e300cec669: Pulling fs layer 63038576ad94: Pulling fs layer 0fdb76c4706c: Pulling fs layer cb7edeffdfd5: Pulling fs layer cc28bd76800f: Pulling fs layer 54196fe38f7e: Pulling fs layer ea71acc29633: Pulling fs layer 657cc4c15165: Pulling fs layer cb7edeffdfd5: Waiting cc28bd76800f: Waiting 54196fe38f7e: Waiting ea71acc29633: Waiting 657cc4c15165: Waiting 46e300cec669: Waiting 63038576ad94: Waiting 0fdb76c4706c: Waiting 4684f6177b5d: Verifying Checksum 4684f6177b5d: Download complete 25ad7478873d: Verifying Checksum 25ad7478873d: Download complete 63038576ad94: Verifying Checksum 63038576ad94: Download complete df20fa9351a1: Verifying Checksum df20fa9351a1: Download complete 0fdb76c4706c: Verifying Checksum 0fdb76c4706c: Download complete cb7edeffdfd5: Verifying Checksum cb7edeffdfd5: Download complete 54196fe38f7e: Verifying Checksum 54196fe38f7e: Download complete cc28bd76800f: Verifying Checksum cc28bd76800f: Download complete 657cc4c15165: Verifying Checksum 657cc4c15165: Download complete ea71acc29633: Verifying Checksum ea71acc29633: Download complete df20fa9351a1: Pull complete 25ad7478873d: Pull complete 46e300cec669: Verifying Checksum 46e300cec669: Download complete Fetching without tags 4684f6177b5d: Pull complete Merging remotes/origin/master commit ed46fb0143020621c68bd2e62bf5a0780552c1fb into PR head commit f99d8f37af363bfab40bf75e520d68882fd0e293 Merge succeeded, producing 2b36beb86ef26e18d7683139144f7f27b801ccf0 Checking out Revision 2b36beb86ef26e18d7683139144f7f27b801ccf0 (PR-2647) 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-2647@tmp/fad9b2fc-2394-4f31-a4c8-cb1c78c3adf0/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2647/head:refs/remotes/origin/PR-2647 # 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/2647/head:refs/remotes/origin/PR-2647 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f99d8f37af363bfab40bf75e520d68882fd0e293 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge ed46fb0143020621c68bd2e62bf5a0780552c1fb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b36beb86ef26e18d7683139144f7f27b801ccf0 # timeout=10 + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2647:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox df8698476c65: Pulling fs layer df8698476c65: Verifying Checksum df8698476c65: Download complete df8698476c65: Pull complete Digest: sha256:d366a4665ab44f0648d7a00ae3fae139d55e32f9712c67accd604bb55df9d05a Status: Downloaded newer image for busybox:latest 46e300cec669: Pull complete 63038576ad94: Pull complete 0fdb76c4706c: Pull complete cb7edeffdfd5: Pull complete cc28bd76800f: Pull complete 54196fe38f7e: Pull complete ea71acc29633: Pull complete 657cc4c15165: Pull complete Digest: sha256:674f1f40ff7c8ac14f5d8b6b28d8fb1f182647ff75304d018003f1e21a0d8771 Status: Downloaded newer image for docker:19.03.12-dind [Pipeline] echo Removing all docker containers [Pipeline] sh + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=py3.7 / docker=19.03.12) [Pipeline] checkout 3f14058d8e7b93cd6e5d6fddded0c18b6231aa9b2ed7f4499435d50813c6213d Commit message: "Merge commit 'ed46fb0143020621c68bd2e62bf5a0780552c1fb' into HEAD" First time build. Skipping changelog. [Pipeline] sh [Pipeline] sh + docker run --name dpy-tests-18-0-py2.7-19.03.12 -e DOCKER_HOST=tcp://dpy-dind-18-0-py2.7-19.03.12:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-18-0-py2.7-19.03.12 --volumes-from dpy-dind-18-0-py2.7-19.03.12 dockerbuildbot/docker-py:py2-7ba1320e05892f93d61d99a1789469668620c2a7 py.test -v -rxs --cov=docker tests/ using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags > git rev-list --no-walk 253e055079554c8fbafff4a1a36b5c3b8c13e925 # timeout=10 + docker network create dpy-testnet-18-0-py2.7-19.03.13-beta2 d26314cdb3e3c60d5aea2d3e8b925c16dfe58881602a48ad74374c7861ad860f [Pipeline] sh + docker run -d --name dpy-dind-18-0-py2.7-19.03.13-beta2 -v /tmp --privileged --network dpy-testnet-18-0-py2.7-19.03.13-beta2 docker:19.03.13-beta2-dind dockerd -H tcp://0.0.0.0:2375 Unable to find image 'docker:19.03.13-beta2-dind' locally 19.03.13-beta2-dind: Pulling from library/docker df20fa9351a1: Pulling fs layer 25ad7478873d: Pulling fs layer 4684f6177b5d: Pulling fs layer 6a7bc71302bb: Pulling fs layer ffa883581c86: Pulling fs layer c63137de011e: Pulling fs layer 963dfd0472c9: Pulling fs layer 06f4d368cf7c: Pulling fs layer 88924d48d2df: Pulling fs layer e2fccac7c8b3: Pulling fs layer d607daba1a35: Pulling fs layer 963dfd0472c9: Waiting 06f4d368cf7c: Waiting 88924d48d2df: Waiting e2fccac7c8b3: Waiting d607daba1a35: Waiting 6a7bc71302bb: Waiting ffa883581c86: Waiting c63137de011e: Waiting 4684f6177b5d: Verifying Checksum 4684f6177b5d: Download complete 25ad7478873d: Verifying Checksum 25ad7478873d: Download complete df20fa9351a1: Download complete c63137de011e: Verifying Checksum c63137de011e: Download complete ffa883581c86: Verifying Checksum ffa883581c86: Download complete 963dfd0472c9: Verifying Checksum 963dfd0472c9: Download complete df20fa9351a1: Pull complete Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2647 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2647/head:refs/remotes/origin/PR-2647 +refs/heads/master:refs/remotes/origin/master # timeout=10 88924d48d2df: Verifying Checksum 88924d48d2df: Download complete 06f4d368cf7c: Verifying Checksum 06f4d368cf7c: Download complete e2fccac7c8b3: Verifying Checksum e2fccac7c8b3: Download complete Fetching without tags ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-4.3.1, py-1.9.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: timeout-1.3.3, cov-2.6.1 Merging remotes/origin/master commit ed46fb0143020621c68bd2e62bf5a0780552c1fb into PR head commit f99d8f37af363bfab40bf75e520d68882fd0e293 d607daba1a35: Verifying Checksum d607daba1a35: Download complete 25ad7478873d: Pull complete 4684f6177b5d: Pull complete 6a7bc71302bb: Verifying Checksum 6a7bc71302bb: Download complete Merge succeeded, producing d0b3c7693de30f826458da31969b9d1bfab6eb6e Checking out Revision d0b3c7693de30f826458da31969b9d1bfab6eb6e (PR-2647) > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2647/head:refs/remotes/origin/PR-2647 # 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/2647/head:refs/remotes/origin/PR-2647 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f99d8f37af363bfab40bf75e520d68882fd0e293 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge ed46fb0143020621c68bd2e62bf5a0780552c1fb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0b3c7693de30f826458da31969b9d1bfab6eb6e # timeout=10 6a7bc71302bb: Pull complete ffa883581c86: Pull complete c63137de011e: Pull complete 963dfd0472c9: Pull complete 06f4d368cf7c: Pull complete 88924d48d2df: Pull complete e2fccac7c8b3: Pull complete d607daba1a35: Pull complete Digest: sha256:f3056b5eb11aa6f0dadb42510f681089dfec13c18e0032a91e67f5c50541ce93 Status: Downloaded newer image for docker:19.03.13-beta2-dind collecting ... collected 918 items / 1 errors / 917 selected ==================================== ERRORS ==================================== ________________ ERROR collecting tests/unit/api_image_test.py _________________ /usr/local/lib/python2.7/site-packages/_pytest/python.py:499: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) /usr/local/lib/python2.7/site-packages/py/_path/local.py:704: in pyimport __import__(modname) E File "/src/tests/unit/api_image_test.py", line 19 E return 'X-Registry-Auth' in b.keys(): E ^ E SyntaxError: invalid syntax ---------- coverage: platform linux2, python 2.7.18-final-0 ---------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 112 92 0 6% docker/api/client.py 263 172 96 9 28% docker/api/config.py 31 19 6 0 32% docker/api/container.py 266 208 102 0 16% docker/api/daemon.py 39 29 14 0 19% docker/api/exec_api.py 46 36 22 0 15% docker/api/image.py 156 121 50 0 17% docker/api/network.py 90 74 48 0 12% docker/api/plugin.py 90 68 12 0 22% docker/api/secret.py 36 23 10 0 28% docker/api/service.py 200 176 149 0 7% docker/api/swarm.py 106 77 38 0 20% docker/api/volume.py 38 29 14 0 17% docker/auth.py 198 134 74 6 27% docker/client.py 67 18 2 1 72% docker/constants.py 20 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 57 38 0 18% docker/context/config.py 61 42 16 1 26% docker/context/context.py 151 110 62 2 20% docker/credentials/__init__.py 3 0 0 0 100% docker/credentials/constants.py 4 0 0 0 100% docker/credentials/errors.py 11 4 2 0 54% docker/credentials/store.py 50 35 16 0 23% docker/credentials/utils.py 23 18 12 0 14% docker/errors.py 110 60 18 0 39% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 0 0 62% docker/models/containers.py 183 131 60 0 21% docker/models/images.py 137 92 52 0 24% docker/models/networks.py 37 20 8 0 38% docker/models/nodes.py 15 5 0 0 67% docker/models/plugins.py 49 30 8 0 33% docker/models/resource.py 41 24 6 0 36% docker/models/secrets.py 21 8 0 0 62% docker/models/services.py 87 63 34 0 20% docker/models/swarm.py 39 21 6 0 40% docker/models/volumes.py 23 10 2 0 52% docker/tls.py 37 26 14 0 22% docker/transport/__init__.py 11 3 0 0 73% docker/transport/basehttpadapter.py 6 3 2 0 38% docker/transport/npipeconn.py 58 53 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/sshconn.py 89 63 24 1 24% docker/transport/ssladapter.py 36 20 10 1 37% docker/transport/unixconn.py 65 41 12 0 31% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 2 2 0 43% docker/types/containers.py 418 375 326 0 6% docker/types/daemon.py 36 26 14 0 20% docker/types/healthcheck.py 34 20 4 0 37% docker/types/networks.py 41 31 28 0 14% docker/types/services.py 312 259 206 0 10% docker/types/swarm.py 51 45 40 0 7% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 154 129 74 0 11% docker/utils/config.py 36 11 10 4 67% docker/utils/decorators.py 32 15 12 0 39% docker/utils/fnmatch.py 55 47 28 0 10% docker/utils/json_stream.py 43 31 14 1 23% docker/utils/ports.py 50 42 28 0 10% docker/utils/proxy.py 32 21 12 0 25% docker/utils/socket.py 86 64 40 0 17% docker/utils/utils.py 285 196 164 22 25% docker/version.py 2 0 0 0 100% ----------------------------------------------------------------------- TOTAL 5047 3689 2165 48 20% !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! =========================== 1 error in 3.95 seconds ============================ Commit message: "Merge commit 'ed46fb0143020621c68bd2e62bf5a0780552c1fb' into HEAD" First time build. Skipping changelog. [Pipeline] sh [Pipeline] sh + docker stop dpy-dind-18-0-py2.7-19.03.12 dpy-tests-18-0-py2.7-19.03.12 > git rev-list --no-walk 253e055079554c8fbafff4a1a36b5c3b8c13e925 # timeout=10 + docker network create dpy-testnet-18-0-py3.7-19.03.12 1c3ac35e9232792fe640fdac48460f8f93750a5348ea9e2b0990dc1b87c05734 [Pipeline] sh Still waiting to schedule task Waiting for next available executor on ‘amd64&&ubuntu-1804&&overlay2’ + docker run -d --name dpy-dind-18-0-py3.7-19.03.12 -v /tmp --privileged --network dpy-testnet-18-0-py3.7-19.03.12 docker:19.03.12-dind dockerd -H tcp://0.0.0.0:2375 Unable to find image 'docker:19.03.12-dind' locally 19.03.12-dind: Pulling from library/docker adb83e8173ac7373d68a4455152fdbd8ca39669413dc190b58bacfeb837dde19 df20fa9351a1: Pulling fs layer 25ad7478873d: Pulling fs layer 4684f6177b5d: Pulling fs layer 46e300cec669: Pulling fs layer 63038576ad94: Pulling fs layer 0fdb76c4706c: Pulling fs layer cb7edeffdfd5: Pulling fs layer cc28bd76800f: Pulling fs layer 54196fe38f7e: Pulling fs layer ea71acc29633: Pulling fs layer 657cc4c15165: Pulling fs layer 63038576ad94: Waiting 0fdb76c4706c: Waiting 54196fe38f7e: Waiting cb7edeffdfd5: Waiting ea71acc29633: Waiting cc28bd76800f: Waiting 46e300cec669: Waiting 657cc4c15165: Waiting 4684f6177b5d: Verifying Checksum 4684f6177b5d: Download complete df20fa9351a1: Verifying Checksum df20fa9351a1: Download complete 25ad7478873d: Verifying Checksum 25ad7478873d: Download complete 63038576ad94: Download complete cb7edeffdfd5: Verifying Checksum cb7edeffdfd5: Download complete 0fdb76c4706c: Verifying Checksum 0fdb76c4706c: Download complete df20fa9351a1: Pull complete 54196fe38f7e: Verifying Checksum 54196fe38f7e: Download complete 25ad7478873d: Pull complete cc28bd76800f: Verifying Checksum cc28bd76800f: Download complete 4684f6177b5d: Pull complete [Pipeline] sh ea71acc29633: Download complete 657cc4c15165: Download complete 46e300cec669: Verifying Checksum 46e300cec669: Download complete dpy-dind-18-0-py2.7-19.03.12 dpy-tests-18-0-py2.7-19.03.12 + docker rm -vf dpy-dind-18-0-py2.7-19.03.12 dpy-tests-18-0-py2.7-19.03.12 dpy-dind-18-0-py2.7-19.03.12 dpy-tests-18-0-py2.7-19.03.12 + docker network rm dpy-testnet-18-0-py2.7-19.03.12 dpy-testnet-18-0-py2.7-19.03.12 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-04cdcc4c83c91f86a) in /home/ubuntu/workspace/docker-py_PR-2647 [Pipeline] // node [Pipeline] { [Pipeline] } Failed in branch py2.7_19.03.12 [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ + docker run --name dpy-tests-18-0-py2.7-19.03.13-beta2 -e DOCKER_HOST=tcp://dpy-dind-18-0-py2.7-19.03.13-beta2:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-18-0-py2.7-19.03.13-beta2 --volumes-from dpy-dind-18-0-py2.7-19.03.13-beta2 dockerbuildbot/docker-py:py2-7ba1320e05892f93d61d99a1789469668620c2a7 py.test -v -rxs --cov=docker tests/ Unable to find image 'dockerbuildbot/docker-py:py2-7ba1320e05892f93d61d99a1789469668620c2a7' locally py2-7ba1320e05892f93d61d99a1789469668620c2a7: Pulling from dockerbuildbot/docker-py 7e2b2a5af8f6: Pulling fs layer 09b6f03ffac4: Pulling fs layer dc3f0c679f0f: Pulling fs layer fd4b47407fc3: Pulling fs layer b32f6bf7d96d: Pulling fs layer 6f4489a7e4cf: Pulling fs layer af4b99ad9ef0: Pulling fs layer 39db0bc48c26: Pulling fs layer acb4a89489fc: Pulling fs layer fd4b47407fc3: Waiting b32f6bf7d96d: Waiting 6f4489a7e4cf: Waiting af4b99ad9ef0: Waiting 39db0bc48c26: Waiting 20d62ef4e1b6: Pulling fs layer 9b6315459f96: Pulling fs layer f29012d0925d: Pulling fs layer acb4a89489fc: Waiting 20d62ef4e1b6: Waiting 9b6315459f96: Waiting 6126d7bb47cc: Pulling fs layer 88764b81157c: Pulling fs layer 5baa6f231c57: Pulling fs layer 57aa41e70455: Pulling fs layer 3b20aa2c30a0: Pulling fs layer f29012d0925d: Waiting 6126d7bb47cc: Waiting 88764b81157c: Waiting 5baa6f231c57: Waiting 57aa41e70455: Waiting 4cd76815f8a9: Pulling fs layer 1673a08738fd: Pulling fs layer 557b030fe21b: Pulling fs layer 08a07d10a811: Pulling fs layer 92ac9dc56d91: Pulling fs layer c395efd8c845: Pulling fs layer 3b20aa2c30a0: Waiting 4cd76815f8a9: Waiting 1673a08738fd: Waiting 557b030fe21b: Waiting 08a07d10a811: Waiting 92ac9dc56d91: Waiting 6f1e21b6e4b0: Pulling fs layer c395efd8c845: Waiting 6f1e21b6e4b0: Waiting 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-2647@tmp/fed6810b-d3ce-41d2-973c-89559276b1f3/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2647:/workspace busybox chown -R 1000:1000 /workspace dc3f0c679f0f: Verifying Checksum dc3f0c679f0f: Download complete 09b6f03ffac4: Verifying Checksum 09b6f03ffac4: Download complete [Pipeline] echo Removing all docker containers [Pipeline] sh 7e2b2a5af8f6: Verifying Checksum 7e2b2a5af8f6: 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.13-beta2) [Pipeline] checkout 46e300cec669: Pull complete 63038576ad94: Pull complete 0fdb76c4706c: Pull complete cb7edeffdfd5: Pull complete using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags 6f4489a7e4cf: Verifying Checksum 6f4489a7e4cf: Download complete fd4b47407fc3: Verifying Checksum fd4b47407fc3: Download complete cc28bd76800f: Pull complete 54196fe38f7e: Pull complete ea71acc29633: Pull complete 657cc4c15165: Pull complete Digest: sha256:674f1f40ff7c8ac14f5d8b6b28d8fb1f182647ff75304d018003f1e21a0d8771 Status: Downloaded newer image for docker:19.03.12-dind 39db0bc48c26: Verifying Checksum 39db0bc48c26: Download complete af4b99ad9ef0: Verifying Checksum af4b99ad9ef0: Download complete 20d62ef4e1b6: Verifying Checksum 20d62ef4e1b6: Download complete acb4a89489fc: Verifying Checksum acb4a89489fc: Download complete Fetching without tags Merging remotes/origin/master commit ed46fb0143020621c68bd2e62bf5a0780552c1fb into PR head commit f99d8f37af363bfab40bf75e520d68882fd0e293 Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2647 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2647/head:refs/remotes/origin/PR-2647 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2647/head:refs/remotes/origin/PR-2647 # 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/2647/head:refs/remotes/origin/PR-2647 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 f29012d0925d: Verifying Checksum f29012d0925d: Download complete Merge succeeded, producing 83d4fcabf808a3c8c57deb5643b1380d375fcf0f Checking out Revision 83d4fcabf808a3c8c57deb5643b1380d375fcf0f (PR-2647) Commit message: "Merge commit 'ed46fb0143020621c68bd2e62bf5a0780552c1fb' into HEAD" First time build. Skipping changelog. 6126d7bb47cc: Verifying Checksum 6126d7bb47cc: Download complete 9b6315459f96: Verifying Checksum 9b6315459f96: Download complete 88764b81157c: Verifying Checksum 88764b81157c: Download complete 5baa6f231c57: Verifying Checksum 5baa6f231c57: Download complete 57aa41e70455: Verifying Checksum 57aa41e70455: Download complete 4cd76815f8a9: Verifying Checksum 4cd76815f8a9: Download complete 3b20aa2c30a0: Verifying Checksum 3b20aa2c30a0: Download complete 1673a08738fd: Verifying Checksum 1673a08738fd: Download complete [Pipeline] sh 08a07d10a811: Verifying Checksum 08a07d10a811: Download complete + docker network create dpy-testnet-18-0-py3.7-19.03.13-beta2 23969b0a43f816c5833147b0e9457586a3688358b9d26a53548a365340e0c2cb [Pipeline] sh > git checkout -f f99d8f37af363bfab40bf75e520d68882fd0e293 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge ed46fb0143020621c68bd2e62bf5a0780552c1fb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83d4fcabf808a3c8c57deb5643b1380d375fcf0f # timeout=10 > git rev-list --no-walk 253e055079554c8fbafff4a1a36b5c3b8c13e925 # timeout=10 92ac9dc56d91: Verifying Checksum 92ac9dc56d91: Download complete b32f6bf7d96d: Verifying Checksum b32f6bf7d96d: Download complete 557b030fe21b: Verifying Checksum 557b030fe21b: Download complete c395efd8c845: Verifying Checksum c395efd8c845: Download complete 6f1e21b6e4b0: Verifying Checksum 6f1e21b6e4b0: Download complete + docker run -d --name dpy-dind-18-0-py3.7-19.03.13-beta2 -v /tmp --privileged --network dpy-testnet-18-0-py3.7-19.03.13-beta2 docker:19.03.13-beta2-dind dockerd -H tcp://0.0.0.0:2375 Unable to find image 'docker:19.03.13-beta2-dind' locally 19.03.13-beta2-dind: Pulling from library/docker df20fa9351a1: Already exists 25ad7478873d: Already exists 4684f6177b5d: Already exists 6a7bc71302bb: Pulling fs layer ffa883581c86: Pulling fs layer c63137de011e: Pulling fs layer 963dfd0472c9: Pulling fs layer 06f4d368cf7c: Pulling fs layer 88924d48d2df: Pulling fs layer e2fccac7c8b3: Pulling fs layer d607daba1a35: Pulling fs layer 06f4d368cf7c: Waiting 88924d48d2df: Waiting e2fccac7c8b3: Waiting d607daba1a35: Waiting 963dfd0472c9: Waiting c63137de011e: Download complete ffa883581c86: Verifying Checksum ffa883581c86: Download complete 963dfd0472c9: Download complete 88924d48d2df: Verifying Checksum 88924d48d2df: Download complete 06f4d368cf7c: Verifying Checksum 06f4d368cf7c: Download complete e2fccac7c8b3: Verifying Checksum e2fccac7c8b3: Download complete d607daba1a35: Verifying Checksum d607daba1a35: Download complete 6a7bc71302bb: Verifying Checksum 6a7bc71302bb: Download complete 76a01a4665bda70055bb20c53c1df776ff05478298aaa3405c8a977fb0d68529 [Pipeline] sh + docker run --name dpy-tests-18-0-py3.7-19.03.12 -e DOCKER_HOST=tcp://dpy-dind-18-0-py3.7-19.03.12:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-18-0-py3.7-19.03.12 --volumes-from dpy-dind-18-0-py3.7-19.03.12 dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7 py.test -v -rxs --cov=docker tests/ Unable to find image 'dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7' locally 7e2b2a5af8f6: Pull complete py3-7ba1320e05892f93d61d99a1789469668620c2a7: Pulling from dockerbuildbot/docker-py 57df1a1f1ad8: Pulling fs layer 71e126169501: Pulling fs layer 1af28a55c3f3: Pulling fs layer 03f1c9932170: Pulling fs layer 65b3db15f518: Pulling fs layer 3e3b8947ed83: Pulling fs layer 38d9e7938097: Pulling fs layer 724043f425e0: Pulling fs layer 6cf90f3f5863: Pulling fs layer 97b3b6e3942c: Pulling fs layer 7d0fab06dd1c: Pulling fs layer 03f1c9932170: Waiting 8822b887b191: Pulling fs layer 6fed37101b40: Pulling fs layer 20d8b4bff89d: Pulling fs layer 65b3db15f518: Waiting c25a56bc0f45: Pulling fs layer e9d5fb9163e3: Pulling fs layer 3e3b8947ed83: Waiting c564631bbd04: Pulling fs layer c0acff43869b: Pulling fs layer 38d9e7938097: Waiting c58ce5ae1e8e: Pulling fs layer 4b821409f0d0: Pulling fs layer d3fd94bee181: Pulling fs layer 724043f425e0: Waiting 902eec69ee20: Pulling fs layer 73d189953b80: Pulling fs layer 6cf90f3f5863: Waiting ce9d0f04f569: Pulling fs layer 6fed37101b40: Waiting 97b3b6e3942c: Waiting 20d8b4bff89d: Waiting 7d0fab06dd1c: Waiting 8822b887b191: Waiting c25a56bc0f45: Waiting d3fd94bee181: Waiting 902eec69ee20: Waiting c0acff43869b: Waiting e9d5fb9163e3: Waiting 73d189953b80: Waiting c564631bbd04: Waiting c58ce5ae1e8e: Waiting ce9d0f04f569: Waiting 4b821409f0d0: Waiting 71e126169501: Download complete 1af28a55c3f3: Verifying Checksum 1af28a55c3f3: Download complete 09b6f03ffac4: Pull complete 57df1a1f1ad8: Verifying Checksum 57df1a1f1ad8: Download complete 3e3b8947ed83: Verifying Checksum 3e3b8947ed83: Download complete dc3f0c679f0f: Pull complete 03f1c9932170: Verifying Checksum 03f1c9932170: Download complete 38d9e7938097: Verifying Checksum 38d9e7938097: Download complete 724043f425e0: Verifying Checksum 724043f425e0: Download complete 6cf90f3f5863: Verifying Checksum 6cf90f3f5863: Download complete 97b3b6e3942c: Verifying Checksum 97b3b6e3942c: Download complete 8822b887b191: Verifying Checksum 8822b887b191: Download complete 6fed37101b40: Verifying Checksum 6fed37101b40: Download complete 20d8b4bff89d: Verifying Checksum 20d8b4bff89d: Download complete 7d0fab06dd1c: Verifying Checksum 7d0fab06dd1c: Download complete c25a56bc0f45: Verifying Checksum c25a56bc0f45: Download complete e9d5fb9163e3: Verifying Checksum e9d5fb9163e3: Download complete c564631bbd04: Verifying Checksum c564631bbd04: Download complete 6a7bc71302bb: Pull complete ffa883581c86: Pull complete c63137de011e: Pull complete c0acff43869b: Verifying Checksum c0acff43869b: Download complete c58ce5ae1e8e: Verifying Checksum c58ce5ae1e8e: Download complete d3fd94bee181: Download complete 4b821409f0d0: Verifying Checksum 4b821409f0d0: Download complete 963dfd0472c9: Pull complete 902eec69ee20: Verifying Checksum 902eec69ee20: Download complete 73d189953b80: Download complete ce9d0f04f569: Download complete 06f4d368cf7c: Pull complete 88924d48d2df: Pull complete e2fccac7c8b3: Pull complete d607daba1a35: Pull complete Digest: sha256:f3056b5eb11aa6f0dadb42510f681089dfec13c18e0032a91e67f5c50541ce93 Status: Downloaded newer image for docker:19.03.13-beta2-dind 65b3db15f518: Download complete 57df1a1f1ad8: Pull complete fd4b47407fc3: Pull complete 71e126169501: Pull complete 1af28a55c3f3: Pull complete 6d305705cd3334e2e278c2b6065e090cc4eb3586293f31e6151830a07e79e3f2 [Pipeline] sh + docker run --name dpy-tests-18-0-py3.7-19.03.13-beta2 -e DOCKER_HOST=tcp://dpy-dind-18-0-py3.7-19.03.13-beta2:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-18-0-py3.7-19.03.13-beta2 --volumes-from dpy-dind-18-0-py3.7-19.03.13-beta2 dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7 py.test -v -rxs --cov=docker tests/ ============================= test session starts ============================== platform linux -- Python 3.7.9, pytest-4.3.1, py-1.9.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: timeout-1.3.3, cov-2.6.1 03f1c9932170: Pull complete collecting ... collected 918 items / 1 errors / 917 selected ==================================== ERRORS ==================================== ________________ ERROR collecting tests/unit/api_image_test.py _________________ /usr/local/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) /usr/local/lib/python3.7/site-packages/py/_path/local.py:704: in pyimport __import__(modname) E File "/src/tests/unit/api_image_test.py", line 19 E return 'X-Registry-Auth' in b.keys(): E ^ E SyntaxError: invalid syntax =============================== warnings summary =============================== /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23 /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working from collections import MutableMapping -- Docs: https://docs.pytest.org/en/latest/warnings.html ----------- coverage: platform linux, python 3.7.9-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 112 93 0 6% docker/api/client.py 263 172 98 9 28% docker/api/config.py 31 19 6 0 32% docker/api/container.py 266 208 104 0 16% docker/api/daemon.py 39 29 14 0 19% docker/api/exec_api.py 46 36 22 0 15% docker/api/image.py 156 121 52 0 17% docker/api/network.py 90 74 48 0 12% docker/api/plugin.py 90 68 14 0 21% docker/api/secret.py 36 23 10 0 28% docker/api/service.py 200 176 149 0 7% docker/api/swarm.py 106 77 38 0 20% docker/api/volume.py 38 29 14 0 17% docker/auth.py 198 135 74 6 27% docker/client.py 67 18 2 1 72% docker/constants.py 20 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 57 38 0 18% docker/context/config.py 61 42 16 1 26% docker/context/context.py 151 110 62 2 20% docker/credentials/__init__.py 3 0 0 0 100% docker/credentials/constants.py 4 0 0 0 100% docker/credentials/errors.py 11 4 2 0 54% docker/credentials/store.py 50 35 16 0 23% docker/credentials/utils.py 23 18 12 0 14% docker/errors.py 110 60 20 0 38% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 2 0 57% docker/models/containers.py 183 131 70 0 21% docker/models/images.py 137 92 58 0 23% docker/models/networks.py 37 20 12 0 35% docker/models/nodes.py 15 5 2 0 59% docker/models/plugins.py 49 30 10 0 32% docker/models/resource.py 41 24 6 0 36% docker/models/secrets.py 21 8 2 0 57% docker/models/services.py 87 63 36 0 20% docker/models/swarm.py 39 21 6 0 40% docker/models/volumes.py 23 10 4 0 48% docker/tls.py 37 26 14 0 22% docker/transport/__init__.py 11 3 0 0 73% docker/transport/basehttpadapter.py 6 3 2 0 38% docker/transport/npipeconn.py 58 53 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/sshconn.py 89 63 24 1 24% docker/transport/ssladapter.py 36 22 10 1 33% docker/transport/unixconn.py 65 41 12 0 31% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 2 2 0 43% docker/types/containers.py 418 375 328 0 6% docker/types/daemon.py 36 26 14 0 20% docker/types/healthcheck.py 34 20 4 0 37% docker/types/networks.py 41 31 28 0 14% docker/types/services.py 312 259 206 0 10% docker/types/swarm.py 51 45 40 0 7% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 154 129 76 0 11% docker/utils/config.py 36 11 10 4 67% docker/utils/decorators.py 32 15 12 0 39% docker/utils/fnmatch.py 55 47 28 0 10% docker/utils/json_stream.py 43 31 14 1 23% docker/utils/ports.py 50 42 32 0 10% docker/utils/proxy.py 32 21 12 0 25% docker/utils/socket.py 86 64 40 0 17% docker/utils/utils.py 285 197 177 22 24% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5047 3693 2231 48 19% !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! ===================== 1 warnings, 1 error in 3.70 seconds ====================== [Pipeline] sh + docker stop dpy-dind-18-0-py3.7-19.03.13-beta2 dpy-tests-18-0-py3.7-19.03.13-beta2 b32f6bf7d96d: Pull complete 6f4489a7e4cf: Pull complete 65b3db15f518: Pull complete 3e3b8947ed83: Pull complete 38d9e7938097: Pull complete af4b99ad9ef0: Pull complete 724043f425e0: Pull complete 6cf90f3f5863: Pull complete 97b3b6e3942c: Pull complete 39db0bc48c26: Pull complete 7d0fab06dd1c: Pull complete 8822b887b191: Pull complete acb4a89489fc: Pull complete 6fed37101b40: Pull complete 20d8b4bff89d: Pull complete c25a56bc0f45: Pull complete e9d5fb9163e3: Pull complete dpy-dind-18-0-py3.7-19.03.13-beta2 dpy-tests-18-0-py3.7-19.03.13-beta2 + docker rm -vf dpy-dind-18-0-py3.7-19.03.13-beta2 dpy-tests-18-0-py3.7-19.03.13-beta2 dpy-dind-18-0-py3.7-19.03.13-beta2 dpy-tests-18-0-py3.7-19.03.13-beta2 + docker network rm dpy-testnet-18-0-py3.7-19.03.13-beta2 dpy-testnet-18-0-py3.7-19.03.13-beta2 20d62ef4e1b6: Pull complete [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py3.7_19.03.13-beta2 c564631bbd04: Pull complete c0acff43869b: Pull complete c58ce5ae1e8e: Pull complete 9b6315459f96: Pull complete f29012d0925d: Pull complete 6126d7bb47cc: Pull complete 88764b81157c: Pull complete 5baa6f231c57: Pull complete 57aa41e70455: Pull complete 4b821409f0d0: Pull complete d3fd94bee181: Pull complete 3b20aa2c30a0: Pull complete 4cd76815f8a9: Pull complete 1673a08738fd: Pull complete 902eec69ee20: Pull complete 73d189953b80: Pull complete ce9d0f04f569: Pull complete Digest: sha256:8bc3b34d6c487107c4a0894dbfe6d9325dbc6e54c6ab623e32665b4faa1cb22c Status: Downloaded newer image for dockerbuildbot/docker-py:py3-7ba1320e05892f93d61d99a1789469668620c2a7 557b030fe21b: Pull complete 08a07d10a811: Pull complete 92ac9dc56d91: Pull complete c395efd8c845: Pull complete 6f1e21b6e4b0: Pull complete Digest: sha256:a5254a0639f2983d42aba5a18b901167c0e6f14d24c50e82af8cb242f69193ef Status: Downloaded newer image for dockerbuildbot/docker-py:py2-7ba1320e05892f93d61d99a1789469668620c2a7 ============================= test session starts ============================== platform linux -- Python 3.7.9, pytest-4.3.1, py-1.9.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: timeout-1.3.3, cov-2.6.1 ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-4.3.1, py-1.9.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: timeout-1.3.3, cov-2.6.1 collecting ... collected 918 items / 1 errors / 917 selected ==================================== ERRORS ==================================== ________________ ERROR collecting tests/unit/api_image_test.py _________________ /usr/local/lib/python3.7/site-packages/_pytest/python.py:499: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) /usr/local/lib/python3.7/site-packages/py/_path/local.py:704: in pyimport __import__(modname) E File "/src/tests/unit/api_image_test.py", line 19 E return 'X-Registry-Auth' in b.keys(): E ^ E SyntaxError: invalid syntax =============================== warnings summary =============================== /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23 /usr/local/lib/python3.7/site-packages/paramiko/hostkeys.py:23: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working from collections import MutableMapping -- Docs: https://docs.pytest.org/en/latest/warnings.html ----------- coverage: platform linux, python 3.7.9-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 112 93 0 6% docker/api/client.py 263 172 98 9 28% docker/api/config.py 31 19 6 0 32% docker/api/container.py 266 208 104 0 16% docker/api/daemon.py 39 29 14 0 19% docker/api/exec_api.py 46 36 22 0 15% docker/api/image.py 156 121 52 0 17% docker/api/network.py 90 74 48 0 12% docker/api/plugin.py 90 68 14 0 21% docker/api/secret.py 36 23 10 0 28% docker/api/service.py 200 176 149 0 7% docker/api/swarm.py 106 77 38 0 20% docker/api/volume.py 38 29 14 0 17% docker/auth.py 198 135 74 6 27% docker/client.py 67 18 2 1 72% docker/constants.py 20 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 57 38 0 18% docker/context/config.py 61 42 16 1 26% docker/context/context.py 151 110 62 2 20% docker/credentials/__init__.py 3 0 0 0 100% docker/credentials/constants.py 4 0 0 0 100% docker/credentials/errors.py 11 4 2 0 54% docker/credentials/store.py 50 35 16 0 23% docker/credentials/utils.py 23 18 12 0 14% docker/errors.py 110 60 20 0 38% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 2 0 57% docker/models/containers.py 183 131 70 0 21% docker/models/images.py 137 92 58 0 23% docker/models/networks.py 37 20 12 0 35% docker/models/nodes.py 15 5 2 0 59% docker/models/plugins.py 49 30 10 0 32% docker/models/resource.py 41 24 6 0 36% docker/models/secrets.py 21 8 2 0 57% docker/models/services.py 87 63 36 0 20% docker/models/swarm.py 39 21 6 0 40% docker/models/volumes.py 23 10 4 0 48% docker/tls.py 37 26 14 0 22% docker/transport/__init__.py 11 3 0 0 73% docker/transport/basehttpadapter.py 6 3 2 0 38% docker/transport/npipeconn.py 58 53 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/sshconn.py 89 63 24 1 24% docker/transport/ssladapter.py 36 22 10 1 33% docker/transport/unixconn.py 65 41 12 0 31% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 2 2 0 43% docker/types/containers.py 418 375 328 0 6% docker/types/daemon.py 36 26 14 0 20% docker/types/healthcheck.py 34 20 4 0 37% docker/types/networks.py 41 31 28 0 14% docker/types/services.py 312 259 206 0 10% docker/types/swarm.py 51 45 40 0 7% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 154 129 76 0 11% docker/utils/config.py 36 11 10 4 67% docker/utils/decorators.py 32 15 12 0 39% docker/utils/fnmatch.py 55 47 28 0 10% docker/utils/json_stream.py 43 31 14 1 23% docker/utils/ports.py 50 42 32 0 10% docker/utils/proxy.py 32 21 12 0 25% docker/utils/socket.py 86 64 40 0 17% docker/utils/utils.py 285 197 177 22 24% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 5047 3693 2231 48 19% !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! ===================== 1 warnings, 1 error in 3.48 seconds ====================== [Pipeline] sh + docker stop dpy-dind-18-0-py3.7-19.03.12 dpy-tests-18-0-py3.7-19.03.12 collecting ... collected 918 items / 1 errors / 917 selected dpy-dind-18-0-py3.7-19.03.12 dpy-tests-18-0-py3.7-19.03.12 + docker rm -vf dpy-dind-18-0-py3.7-19.03.12 dpy-tests-18-0-py3.7-19.03.12 dpy-dind-18-0-py3.7-19.03.12 dpy-tests-18-0-py3.7-19.03.12 + docker network rm dpy-testnet-18-0-py3.7-19.03.12 dpy-testnet-18-0-py3.7-19.03.12 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py3.7_19.03.12 ==================================== ERRORS ==================================== ________________ ERROR collecting tests/unit/api_image_test.py _________________ /usr/local/lib/python2.7/site-packages/_pytest/python.py:499: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) /usr/local/lib/python2.7/site-packages/py/_path/local.py:704: in pyimport __import__(modname) E File "/src/tests/unit/api_image_test.py", line 19 E return 'X-Registry-Auth' in b.keys(): E ^ E SyntaxError: invalid syntax ---------- coverage: platform linux2, python 2.7.18-final-0 ---------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 0 0 0 100% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 112 92 0 6% docker/api/client.py 263 172 96 9 28% docker/api/config.py 31 19 6 0 32% docker/api/container.py 266 208 102 0 16% docker/api/daemon.py 39 29 14 0 19% docker/api/exec_api.py 46 36 22 0 15% docker/api/image.py 156 121 50 0 17% docker/api/network.py 90 74 48 0 12% docker/api/plugin.py 90 68 12 0 22% docker/api/secret.py 36 23 10 0 28% docker/api/service.py 200 176 149 0 7% docker/api/swarm.py 106 77 38 0 20% docker/api/volume.py 38 29 14 0 17% docker/auth.py 198 134 74 6 27% docker/client.py 67 18 2 1 72% docker/constants.py 20 0 0 0 100% docker/context/__init__.py 2 0 0 0 100% docker/context/api.py 78 57 38 0 18% docker/context/config.py 61 42 16 1 26% docker/context/context.py 151 110 62 2 20% docker/credentials/__init__.py 3 0 0 0 100% docker/credentials/constants.py 4 0 0 0 100% docker/credentials/errors.py 11 4 2 0 54% docker/credentials/store.py 50 35 16 0 23% docker/credentials/utils.py 23 18 12 0 14% docker/errors.py 110 60 18 0 39% docker/models/__init__.py 0 0 0 0 100% docker/models/configs.py 21 8 0 0 62% docker/models/containers.py 183 131 60 0 21% docker/models/images.py 137 92 52 0 24% docker/models/networks.py 37 20 8 0 38% docker/models/nodes.py 15 5 0 0 67% docker/models/plugins.py 49 30 8 0 33% docker/models/resource.py 41 24 6 0 36% docker/models/secrets.py 21 8 0 0 62% docker/models/services.py 87 63 34 0 20% docker/models/swarm.py 39 21 6 0 40% docker/models/volumes.py 23 10 2 0 52% docker/tls.py 37 26 14 0 22% docker/transport/__init__.py 11 3 0 0 73% docker/transport/basehttpadapter.py 6 3 2 0 38% docker/transport/npipeconn.py 58 53 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/sshconn.py 89 63 24 1 24% docker/transport/ssladapter.py 36 20 10 1 37% docker/transport/unixconn.py 65 41 12 0 31% docker/types/__init__.py 6 0 0 0 100% docker/types/base.py 5 2 2 0 43% docker/types/containers.py 418 375 326 0 6% docker/types/daemon.py 36 26 14 0 20% docker/types/healthcheck.py 34 20 4 0 37% docker/types/networks.py 41 31 28 0 14% docker/types/services.py 312 259 206 0 10% docker/types/swarm.py 51 45 40 0 7% docker/utils/__init__.py 3 0 0 0 100% docker/utils/build.py 154 129 74 0 11% docker/utils/config.py 36 11 10 4 67% docker/utils/decorators.py 32 15 12 0 39% docker/utils/fnmatch.py 55 47 28 0 10% docker/utils/json_stream.py 43 31 14 1 23% docker/utils/ports.py 50 42 28 0 10% docker/utils/proxy.py 32 21 12 0 25% docker/utils/socket.py 86 64 40 0 17% docker/utils/utils.py 285 196 164 22 25% docker/version.py 2 0 0 0 100% ----------------------------------------------------------------------- TOTAL 5047 3689 2165 48 20% !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! =========================== 1 error in 3.91 seconds ============================ [Pipeline] sh + docker stop dpy-dind-18-0-py2.7-19.03.13-beta2 dpy-tests-18-0-py2.7-19.03.13-beta2 dpy-dind-18-0-py2.7-19.03.13-beta2 dpy-tests-18-0-py2.7-19.03.13-beta2 + docker rm -vf dpy-dind-18-0-py2.7-19.03.13-beta2 dpy-tests-18-0-py2.7-19.03.13-beta2 dpy-dind-18-0-py2.7-19.03.13-beta2 dpy-tests-18-0-py2.7-19.03.13-beta2 + docker network rm dpy-testnet-18-0-py2.7-19.03.13-beta2 dpy-testnet-18-0-py2.7-19.03.13-beta2 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py2.7_19.03.13-beta2 [Pipeline] // parallel [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 2 Finished: FAILURE