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 31db77b939a30cc147061b9753883adc7df923ce 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 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/53a23b6f-44a9-40b6-9438-7c7c00922e01/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 [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 Fetching without tags Merging remotes/origin/master commit ed46fb0143020621c68bd2e62bf5a0780552c1fb into PR head commit 31db77b939a30cc147061b9753883adc7df923ce 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 > git checkout -f 31db77b939a30cc147061b9753883adc7df923ce # timeout=10 Merge succeeded, producing ca3ff5d31b891e2ef64b962bb22e6ee71974e230 Checking out Revision ca3ff5d31b891e2ef64b962bb22e6ee71974e230 (PR-2647) Commit message: "Merge commit 'ed46fb0143020621c68bd2e62bf5a0780552c1fb' into HEAD" First time build. Skipping changelog. [Pipeline] sh + git rev-parse HEAD [Pipeline] isUnix [Pipeline] sh > 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 ca3ff5d31b891e2ef64b962bb22e6ee71974e230 # timeout=10 > git rev-list --no-walk 7ba1320e05892f93d61d99a1789469668620c2a7 # timeout=10 + docker pull dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 Error response from daemon: manifest for dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 -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: Already exists 09b6f03ffac4: Already exists dc3f0c679f0f: Already exists fd4b47407fc3: Already exists b32f6bf7d96d: Already exists 6f4489a7e4cf: Already exists af4b99ad9ef0: Already exists 39db0bc48c26: Already exists acb4a89489fc: Already exists Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d Status: Downloaded newer image for python:2.7 ---> 68e7be49c28c Step 3/19 : ARG APT_MIRROR ---> Running in dde5277b9906 Removing intermediate container dde5277b9906 ---> d4558b1731f6 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 80e926dcdbc1 Removing intermediate container 80e926dcdbc1 ---> b1459b5ba788 Step 5/19 : RUN apt-get update && apt-get -y install gnupg2 pass curl ---> Running in 7eee983bd14c 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 (4681 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 (2498 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 7eee983bd14c ---> ba896880f5b4 Step 6/19 : COPY ./tests/gpg-keys /gpg-keys ---> bccf5fdd1e9c Step 7/19 : RUN gpg2 --import gpg-keys/secret ---> Running in daa0a6bf82ca 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 daa0a6bf82ca ---> 758a7928728d Step 8/19 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in fff84a8daee1 gpg: inserting ownertrust of 6 Removing intermediate container fff84a8daee1 ---> f4fde4bc4cb0 Step 9/19 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in 8b1f189474b6 gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container 8b1f189474b6 ---> eb748a08fa3d Step 10/19 : RUN gpg2 --check-trustdb ---> Running in 9c3fefd50dbb 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 9c3fefd50dbb ---> 5bc15de998e5 Step 11/19 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in 850497c79436 Removing intermediate container 850497c79436 ---> 8faca5b8202b 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 fdb3436a43f2 Removing intermediate container fdb3436a43f2 ---> 716c2eb2d4a4 Step 13/19 : WORKDIR /src ---> Running in de96babaf6f0 Removing intermediate container de96babaf6f0 ---> 8e0965792d23 Step 14/19 : COPY requirements.txt /src/requirements.txt ---> 5456a42243f6 Step 15/19 : RUN pip install -r requirements.txt ---> Running in 3e8adf6b3693 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=9f3f0237d5f4ca01f5ce3d8937ab37f6337e21c6841932401f7502cdfed0fd08 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=193885 sha256=f359c6b2666a2fe0e75fe56e01c79e929cb79a06a0e6c56c2c6833f8deb451f2 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 3e8adf6b3693 ---> 67bd1bb00eac Step 16/19 : COPY test-requirements.txt /src/test-requirements.txt ---> 5b1b6210a142 Step 17/19 : RUN pip install -r test-requirements.txt ---> Running in 7fe21727a505 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting setuptools==44.0.0 Downloading setuptools-44.0.0-py2.py3-none-any.whl (583 kB) Collecting coverage==4.5.2 Downloading coverage-4.5.2-cp27-cp27mu-manylinux1_x86_64.whl (201 kB) Collecting flake8==3.6.0 Downloading flake8-3.6.0-py2.py3-none-any.whl (68 kB) Collecting mock==1.0.1 Downloading mock-1.0.1.tar.gz (818 kB) Collecting pytest==4.3.1 Downloading pytest-4.3.1-py2.py3-none-any.whl (219 kB) Collecting pytest-cov==2.6.1 Downloading pytest_cov-2.6.1-py2.py3-none-any.whl (16 kB) Collecting pytest-timeout==1.3.3 Downloading pytest_timeout-1.3.3-py2.py3-none-any.whl (9.8 kB) Collecting pyflakes<2.1.0,>=2.0.0 Downloading pyflakes-2.0.0-py2.py3-none-any.whl (53 kB) Requirement already satisfied: configparser; python_version < "3.2" in /usr/local/lib/python2.7/site-packages (from flake8==3.6.0->-r test-requirements.txt (line 3)) (4.0.2) Requirement already satisfied: enum34; python_version < "3.4" in /usr/local/lib/python2.7/site-packages (from flake8==3.6.0->-r test-requirements.txt (line 3)) (1.1.6) Collecting pycodestyle<2.5.0,>=2.4.0 Downloading pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB) Collecting mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python2.7/site-packages (from pytest==4.3.1->-r test-requirements.txt (line 5)) (1.10.0) Requirement already satisfied: pathlib2>=2.2.0; python_version < "3.6" in /usr/local/lib/python2.7/site-packages (from pytest==4.3.1->-r test-requirements.txt (line 5)) (2.3.5) Collecting py>=1.5.0 Downloading py-1.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) Collecting atomicwrites>=1.0 Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB) Collecting pluggy>=0.7 Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB) Collecting funcsigs; python_version < "3.0" Downloading funcsigs-1.0.2-py2.py3-none-any.whl (17 kB) Requirement already satisfied: scandir; python_version < "3.5" in /usr/local/lib/python2.7/site-packages (from pathlib2>=2.2.0; python_version < "3.6"->pytest==4.3.1->-r test-requirements.txt (line 5)) (1.10.0) Requirement already satisfied: importlib-metadata>=0.12; python_version < "3.8" in /usr/local/lib/python2.7/site-packages (from pluggy>=0.7->pytest==4.3.1->-r test-requirements.txt (line 5)) (1.6.0) Requirement already satisfied: contextlib2; python_version < "3" in /usr/local/lib/python2.7/site-packages (from importlib-metadata>=0.12; python_version < "3.8"->pluggy>=0.7->pytest==4.3.1->-r test-requirements.txt (line 5)) (0.6.0.post1) Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python2.7/site-packages (from importlib-metadata>=0.12; python_version < "3.8"->pluggy>=0.7->pytest==4.3.1->-r test-requirements.txt (line 5)) (1.2.0) Building wheels for collected packages: mock Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py2-none-any.whl size=23755 sha256=bc719ff24c6408de17b56b1b6d2de1cb275b4b3530856ff8eac20cbabec72bc5 Stored in directory: /root/.cache/pip/wheels/ad/62/e0/a06cc957652749e64c7904e899eca3ecb2ec47c60d52653660 Successfully built mock Installing collected packages: setuptools, coverage, pyflakes, pycodestyle, mccabe, flake8, mock, py, attrs, more-itertools, atomicwrites, pluggy, funcsigs, pytest, pytest-cov, pytest-timeout Attempting uninstall: setuptools Found existing installation: setuptools 44.1.0 Uninstalling setuptools-44.1.0: Successfully uninstalled setuptools-44.1.0 Successfully installed atomicwrites-1.4.0 attrs-20.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 7fe21727a505 ---> d008a72e6f59 Step 18/19 : COPY . /src ---> f9a00583de1b Step 19/19 : RUN pip install . ---> Running in 763a468f01c4 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=145300 sha256=30ef9d62a567d7ca68fd250c882c3646dcd9c79617b730e3c859e513e6f1ceda Stored in directory: /tmp/pip-ephem-wheel-cache-Kz2vTh/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 763a468f01c4 ---> f7fb09e5819e Successfully built f7fb09e5819e Successfully tagged dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 [Pipeline] isUnix [Pipeline] sh + docker tag dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 [Pipeline] isUnix [Pipeline] sh + docker push dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 The push refers to repository [docker.io/dockerbuildbot/docker-py] b50c4a26a4bf: Preparing 1e8f24ab28ae: Preparing b02ad60c47b1: Preparing 7e4ec8338915: Preparing 0060c056e492: Preparing d1ac40a5fd69: Preparing f9847825d821: Preparing d59222ffa312: Preparing a9a55d3d659c: Preparing e2ce112085a0: Preparing 90d91ade180a: Preparing 5a06354782a4: Preparing 10a30e8931b7: Preparing 2a6ee9a3760e: Preparing 07e8e1f30149: Preparing e571d2d3c73c: Preparing da7b0a80a4f2: Preparing ceee8816bb96: Preparing 47458fb45d99: Preparing 46829331b1e4: Preparing d35c5bda4793: Preparing a3c1026c6bcc: Preparing f1d420c2af1a: Preparing 461719022993: Preparing d1ac40a5fd69: Waiting f9847825d821: Waiting d59222ffa312: Waiting a9a55d3d659c: Waiting e2ce112085a0: Waiting 90d91ade180a: Waiting 5a06354782a4: Waiting 10a30e8931b7: Waiting 2a6ee9a3760e: Waiting 07e8e1f30149: Waiting e571d2d3c73c: Waiting da7b0a80a4f2: Waiting ceee8816bb96: Waiting 47458fb45d99: Waiting 46829331b1e4: Waiting d35c5bda4793: Waiting a3c1026c6bcc: Waiting f1d420c2af1a: Waiting 461719022993: Waiting 1e8f24ab28ae: Pushed 7e4ec8338915: Pushed b50c4a26a4bf: Pushed b02ad60c47b1: Pushed f9847825d821: Pushed 0060c056e492: Pushed a9a55d3d659c: Pushed d59222ffa312: Pushed 5a06354782a4: Pushed e2ce112085a0: Pushed 10a30e8931b7: Pushed e571d2d3c73c: Layer already exists da7b0a80a4f2: Layer already exists ceee8816bb96: Layer already exists 90d91ade180a: Pushed 47458fb45d99: Layer already exists 46829331b1e4: Layer already exists d35c5bda4793: Layer already exists a3c1026c6bcc: Layer already exists f1d420c2af1a: Layer already exists 461719022993: Layer already exists 07e8e1f30149: Pushed d1ac40a5fd69: Pushed 2a6ee9a3760e: Pushed py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230: digest: sha256:4d279c1a4a121879e340bc795ebf2fe9751da56844811a16b6e7ad1c3545941c size: 5353 [Pipeline] isUnix [Pipeline] sh + docker pull dockerbuildbot/docker-py:py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 Error response from daemon: manifest for dockerbuildbot/docker-py:py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerbuildbot/docker-py:py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 -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: Already exists 71e126169501: Already exists 1af28a55c3f3: Already exists 03f1c9932170: Already exists 65b3db15f518: Already exists 3e3b8947ed83: Already exists 38d9e7938097: Already exists 724043f425e0: Already exists 6cf90f3f5863: Already exists Digest: sha256:5b430fe2263d891ce94145fdc320fe2a88336cc127301637625d6e5fe37bef60 Status: Downloaded newer image for python:3.7 ---> 11c6e5fd966a Step 3/19 : ARG APT_MIRROR ---> Running in 1be691f4e98c Removing intermediate container 1be691f4e98c ---> 7e4bbd6f5aff 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 c9666f0cb99c Removing intermediate container c9666f0cb99c ---> e304d2642dbf Step 5/19 : RUN apt-get update && apt-get -y install gnupg2 pass curl ---> Running in a0d8f685d44f 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 (4892 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 (2450 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 a0d8f685d44f ---> 7788ea42522b Step 6/19 : COPY ./tests/gpg-keys /gpg-keys ---> df708488be9d Step 7/19 : RUN gpg2 --import gpg-keys/secret ---> Running in 4a23146bd369 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 4a23146bd369 ---> 18eb034fe6d5 Step 8/19 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in def5adb88090 gpg: inserting ownertrust of 6 Removing intermediate container def5adb88090 ---> ff15f03ec659 Step 9/19 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in ea77813da3ee gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container ea77813da3ee ---> a9ca491bf539 Step 10/19 : RUN gpg2 --check-trustdb ---> Running in 50e5c54d0c6e 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 50e5c54d0c6e ---> 1725393399cf Step 11/19 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in 15a3a768011e Removing intermediate container 15a3a768011e ---> af1730694cd7 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 b14398c1ff83 Removing intermediate container b14398c1ff83 ---> bdd61695c96d Step 13/19 : WORKDIR /src ---> Running in 09db2942946a Removing intermediate container 09db2942946a ---> 1eaa4e46eea1 Step 14/19 : COPY requirements.txt /src/requirements.txt ---> 14c9fc63a134 Step 15/19 : RUN pip install -r requirements.txt ---> Running in a166eef3bea2 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 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, 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=3514e4dbff12c8f54d2c90187edd6c7e1d86368c7feec83cd1c685c79a8ea636 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=371212 sha256=93205e1ff30026b0687bf4e145531e2689f38a2a9872f5fd30adaca54c71ef08 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=d237649a8fb3a7f7f3273e491901eebcc2acb8428bc9ccfa6cb51043312f1328 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=192838 sha256=bb9a0c83eb175007666afca82fd2b770470b3857890b39bb79cefaab27ca7849 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, certifi, chardet, urllib3, requests, websocket-client Successfully installed appdirs-1.4.3 asn1crypto-0.22.0 backports.ssl-match-hostname-3.5.0.1 bcrypt-3.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 a166eef3bea2 ---> 420571e5a71f Step 16/19 : COPY test-requirements.txt /src/test-requirements.txt ---> 7ecd0c395058 Step 17/19 : RUN pip install -r test-requirements.txt ---> Running in f78bae586e11 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 mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting pycodestyle<2.5.0,>=2.4.0 Downloading pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB) Collecting pyflakes<2.1.0,>=2.0.0 Downloading pyflakes-2.0.0-py2.py3-none-any.whl (53 kB) 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 attrs>=17.4.0 Downloading attrs-20.2.0-py2.py3-none-any.whl (48 kB) Collecting pluggy>=0.7 Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB) Collecting more-itertools>=4.0.0; python_version > "2.7" Downloading more_itertools-8.5.0-py3-none-any.whl (44 kB) Collecting py>=1.5.0 Downloading py-1.9.0-py2.py3-none-any.whl (99 kB) Collecting atomicwrites>=1.0 Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 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=b89ee351493975d48205ff286600d7647d88508e211d9b806dfa962a57fece59 Stored in directory: /root/.cache/pip/wheels/16/03/37/f0a64ab894c9102906f192db1a4071b7592292ad661563c69b Successfully built mock Installing collected packages: setuptools, coverage, mccabe, pycodestyle, pyflakes, flake8, mock, attrs, zipp, importlib-metadata, pluggy, more-itertools, py, atomicwrites, 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 f78bae586e11 ---> 244a794f840b Step 18/19 : COPY . /src ---> bd0b8bf45cc7 Step 19/19 : RUN pip install . ---> Running in 24e86988b256 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: 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) 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: 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) 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=145301 sha256=e417030941062969ba8e5bc106caa266a7aa3c12bbb2ab770c4f11ba8517f62e Stored in directory: /tmp/pip-ephem-wheel-cache-n1hrab61/wheels/6f/63/19/359cf44f647b75d0ea75ecc03aa429fec4c372b453eb4b6525 Successfully built docker Installing collected packages: docker Successfully installed docker-4.4.0.dev0 Removing intermediate container 24e86988b256 ---> a4a67e182f7c Successfully built a4a67e182f7c Successfully tagged dockerbuildbot/docker-py:py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 [Pipeline] isUnix [Pipeline] sh + docker tag dockerbuildbot/docker-py:py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 dockerbuildbot/docker-py:py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 [Pipeline] isUnix [Pipeline] sh + docker push dockerbuildbot/docker-py:py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 The push refers to repository [docker.io/dockerbuildbot/docker-py] 05034b5353a5: Preparing 0364d07f1219: Preparing e172ecc769cd: Preparing f179f11051a2: Preparing f0675b19a3f7: Preparing b11e740adb36: Preparing a99df257bc2d: Preparing ac3ad6b1d567: Preparing 1d6ad2e39cf8: Preparing 86774524ffae: Preparing 5afa9bc39bbd: Preparing d1d22255bd26: Preparing f79f270cc1af: Preparing 457568faebbf: Preparing 5917e61c6e2d: Preparing a92828556ea3: Preparing 0843bbf2ef8c: Preparing a3080e907f05: Preparing 0fb2e27dc3b8: Preparing a995c5106335: Preparing 17bdf5e22660: Preparing d37096232ed8: Preparing 6add0d2b5482: Preparing 4ef54afed780: Preparing b11e740adb36: Waiting a99df257bc2d: Waiting ac3ad6b1d567: Waiting 0843bbf2ef8c: Waiting a3080e907f05: Waiting 1d6ad2e39cf8: Waiting 0fb2e27dc3b8: Waiting 86774524ffae: Waiting a995c5106335: Waiting 5afa9bc39bbd: Waiting 17bdf5e22660: Waiting d1d22255bd26: Waiting f79f270cc1af: Waiting d37096232ed8: Waiting 6add0d2b5482: Waiting 457568faebbf: Waiting 5917e61c6e2d: Waiting 4ef54afed780: Waiting a92828556ea3: Waiting f179f11051a2: Pushed 05034b5353a5: Pushed 0364d07f1219: Pushed e172ecc769cd: Pushed b11e740adb36: Pushed ac3ad6b1d567: Pushed 1d6ad2e39cf8: Pushed 86774524ffae: Pushed f0675b19a3f7: Pushed a99df257bc2d: Pushed d1d22255bd26: Pushed a92828556ea3: Layer already exists f79f270cc1af: Pushed 0843bbf2ef8c: Layer already exists a3080e907f05: Layer already exists 0fb2e27dc3b8: Layer already exists 5afa9bc39bbd: Pushed a995c5106335: Layer already exists d37096232ed8: Layer already exists 17bdf5e22660: Layer already exists 6add0d2b5482: Layer already exists 4ef54afed780: Layer already exists 5917e61c6e2d: Pushed 457568faebbf: Pushed py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230: digest: sha256:6189d025670552eb8d19603a2e43d13695c80bda0879f2276e7f245a20ca23b1 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/9241b90c-b106-4f83-b0a9-2339de4a9c88/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-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 /src/scripts/versions.py [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] parallel [Pipeline] { (Branch: py2.7_19.03.12) [Pipeline] { (Branch: py2.7_19.03.13-beta2) [Pipeline] { (Branch: py3.7_19.03.12) [Pipeline] { (Branch: py3.7_19.03.13-beta2) [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] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2-big (i-0dfd543eb783fc86e) in /home/ubuntu/workspace/docker-py_PR-2647 [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] withDockerRegistry [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ $ 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/bf6ab333-4166-4263-91ce-13876de10e0d/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded 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/190e893b-8a7c-4970-b671-f85a67f40235/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] { [Pipeline] wrap [Pipeline] wrap [Pipeline] { [Pipeline] { [Pipeline] wrap [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh [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/69daaf16-a1f7-4e81-9fda-45b305dcb60c/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 + 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 [Pipeline] echo Removing all docker containers [Pipeline] sh [Pipeline] echo Removing all docker containers [Pipeline] sh [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 + 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 [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=py2.7 / docker=19.03.12) using credential docker-jenkins-github-credentials [Pipeline] checkout Cloning the remote Git repository Cloning with configured refspecs honoured and without tags + docker container ls -aq using credential docker-jenkins-github-credentials [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=py2.7 / docker=19.03.13-beta2) [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Merging remotes/origin/master commit ed46fb0143020621c68bd2e62bf5a0780552c1fb into PR head commit 31db77b939a30cc147061b9753883adc7df923ce Merge succeeded, producing c743a534ffcd30f77be643758616c1d2c46decba Checking out Revision c743a534ffcd30f77be643758616c1d2c46decba (PR-2647) Commit message: "Merge commit 'ed46fb0143020621c68bd2e62bf5a0780552c1fb' into HEAD" First time build. Skipping changelog. Fetching without tags Fetching 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 > 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 31db77b939a30cc147061b9753883adc7df923ce # 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 c743a534ffcd30f77be643758616c1d2c46decba # timeout=10 > git rev-list --no-walk 7ba1320e05892f93d61d99a1789469668620c2a7 # timeout=10 Merging remotes/origin/master commit ed46fb0143020621c68bd2e62bf5a0780552c1fb into PR head commit 31db77b939a30cc147061b9753883adc7df923ce 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 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 Merge succeeded, producing c743a534ffcd30f77be643758616c1d2c46decba Checking out Revision c743a534ffcd30f77be643758616c1d2c46decba (PR-2647) Merging remotes/origin/master commit ed46fb0143020621c68bd2e62bf5a0780552c1fb into PR head commit 31db77b939a30cc147061b9753883adc7df923ce Commit message: "Merge commit 'ed46fb0143020621c68bd2e62bf5a0780552c1fb' into HEAD" Merge succeeded, producing c743a534ffcd30f77be643758616c1d2c46decba Checking out Revision c743a534ffcd30f77be643758616c1d2c46decba (PR-2647) Commit message: "Merge commit 'ed46fb0143020621c68bd2e62bf5a0780552c1fb' into HEAD" [Pipeline] sh [Pipeline] sh + docker network create dpy-testnet-19-0-py3.7-19.03.12 cdf72d558e6d62bc622b6c99140184e4021c41fe7d7e2dd582bc560ebe89243a [Pipeline] sh [Pipeline] sh + docker network create dpy-testnet-19-0-py2.7-19.03.12 5e1f8b3f2a5c626b213f941b43abb5837b21fc8ff5d69a29e0d74c217b4a4546 [Pipeline] sh + docker run -d --name dpy-dind-19-0-py3.7-19.03.12 -v /tmp --privileged --network dpy-testnet-19-0-py3.7-19.03.12 docker:19.03.12-dind dockerd -H tcp://0.0.0.0:2375 fa2629b08a96a51aa0f82ff74cb1649c3a8d94bda1b802d8d8653fd4bc6e4229 > git checkout -f 31db77b939a30cc147061b9753883adc7df923ce # 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 c743a534ffcd30f77be643758616c1d2c46decba # timeout=10 + docker network create dpy-testnet-19-0-py2.7-19.03.13-beta2 43981d5cd11fc278cda183025937728cea685a7539546a7e50dfc5ee9bae7c54 [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 31db77b939a30cc147061b9753883adc7df923ce # 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 c743a534ffcd30f77be643758616c1d2c46decba # timeout=10 + docker run -d --name dpy-dind-19-0-py2.7-19.03.12 -v /tmp --privileged --network dpy-testnet-19-0-py2.7-19.03.12 docker:19.03.12-dind dockerd -H tcp://0.0.0.0:2375 5f1de897acc66bb9fbca600fa5d5e497197a8211a223e0484496cdecb9becc2f [Pipeline] sh + docker run -d --name dpy-dind-19-0-py2.7-19.03.13-beta2 -v /tmp --privileged --network dpy-testnet-19-0-py2.7-19.03.13-beta2 docker:19.03.13-beta2-dind dockerd -H tcp://0.0.0.0:2375 d8e3c990d5dcbbfcdc13df9cc5902a3b4ed33d26270a195356782c5deccb92f3 [Pipeline] sh + docker run --name dpy-tests-19-0-py3.7-19.03.12 -e DOCKER_HOST=tcp://dpy-dind-19-0-py3.7-19.03.12:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-19-0-py3.7-19.03.12 --volumes-from dpy-dind-19-0-py3.7-19.03.12 dockerbuildbot/docker-py:py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 py.test -v -rxs --cov=docker tests/ Unable to find image 'dockerbuildbot/docker-py:py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230' locally py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230: Pulling from dockerbuildbot/docker-py 57df1a1f1ad8: Already exists 71e126169501: Already exists 1af28a55c3f3: Already exists 03f1c9932170: Already exists 65b3db15f518: Already exists 3e3b8947ed83: Already exists 38d9e7938097: Already exists 724043f425e0: Already exists 6cf90f3f5863: Already exists 78ab61a96140: Pulling fs layer c08b6fa0e59f: Pulling fs layer e64d829b3686: Pulling fs layer 0da3be707bfe: Pulling fs layer 583ba3bfe341: Pulling fs layer 7f24f1dba668: Pulling fs layer 5327c19b2320: Pulling fs layer 36670d0fe74b: Pulling fs layer cc3d4e05d126: Pulling fs layer da754e2b46b8: Pulling fs layer 8273a7d6575d: Pulling fs layer f0dd0724d5ff: Pulling fs layer d3f5e0f91087: Pulling fs layer f674ab98822c: Pulling fs layer 342f8b78d894: Pulling fs layer 5327c19b2320: Waiting 583ba3bfe341: Waiting 36670d0fe74b: Waiting 7f24f1dba668: Waiting cc3d4e05d126: Waiting f674ab98822c: Waiting f0dd0724d5ff: Waiting 8273a7d6575d: Waiting d3f5e0f91087: Waiting 342f8b78d894: Waiting da754e2b46b8: Waiting 0da3be707bfe: Waiting [Pipeline] sh + docker run --name dpy-tests-19-0-py2.7-19.03.12 -e DOCKER_HOST=tcp://dpy-dind-19-0-py2.7-19.03.12:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-19-0-py2.7-19.03.12 --volumes-from dpy-dind-19-0-py2.7-19.03.12 dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 py.test -v -rxs --cov=docker tests/ Unable to find image 'dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230' locally py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230: Pulling from dockerbuildbot/docker-py 7e2b2a5af8f6: Already exists 09b6f03ffac4: Already exists dc3f0c679f0f: Already exists fd4b47407fc3: Already exists b32f6bf7d96d: Already exists 6f4489a7e4cf: Already exists af4b99ad9ef0: Already exists 39db0bc48c26: Already exists acb4a89489fc: Already exists ec8dae6de6c0: Pulling fs layer 402d4a332b4a: Pulling fs layer bee0f8904970: Pulling fs layer 9efcd7fdc495: Pulling fs layer 8b5a0b688270: Pulling fs layer 3cf83313542a: Pulling fs layer d9c3697735d5: Pulling fs layer cf9eaf432f24: Pulling fs layer 502c690b3a67: Pulling fs layer 0d7bcc9916a8: Pulling fs layer 5497efe37cac: Pulling fs layer 1c97a6afc87f: Pulling fs layer f5746e1c63d7: Pulling fs layer 9af48223da19: Pulling fs layer 569d38b4a292: Pulling fs layer 9efcd7fdc495: Waiting 8b5a0b688270: Waiting 3cf83313542a: Waiting d9c3697735d5: Waiting cf9eaf432f24: Waiting 502c690b3a67: Waiting 0d7bcc9916a8: Waiting 5497efe37cac: Waiting 1c97a6afc87f: Waiting f5746e1c63d7: Waiting 9af48223da19: Waiting 569d38b4a292: Waiting 78ab61a96140: Verifying Checksum 78ab61a96140: Download complete e64d829b3686: Verifying Checksum e64d829b3686: Download complete 78ab61a96140: Pull complete 0da3be707bfe: Verifying Checksum 0da3be707bfe: Download complete 583ba3bfe341: Verifying Checksum 583ba3bfe341: Download complete 5327c19b2320: Download complete 7f24f1dba668: Download complete c08b6fa0e59f: Verifying Checksum c08b6fa0e59f: Download complete + docker run --name dpy-tests-19-0-py2.7-19.03.13-beta2 -e DOCKER_HOST=tcp://dpy-dind-19-0-py2.7-19.03.13-beta2:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-19-0-py2.7-19.03.13-beta2 --volumes-from dpy-dind-19-0-py2.7-19.03.13-beta2 dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 py.test -v -rxs --cov=docker tests/ bee0f8904970: Verifying Checksum bee0f8904970: Download complete ec8dae6de6c0: Download complete ec8dae6de6c0: Pull complete 8b5a0b688270: Verifying Checksum 8b5a0b688270: Download complete 9efcd7fdc495: Verifying Checksum 9efcd7fdc495: Download complete 3cf83313542a: Verifying Checksum 3cf83313542a: Download complete 402d4a332b4a: Verifying Checksum 402d4a332b4a: Download complete d9c3697735d5: Verifying Checksum d9c3697735d5: Download complete da754e2b46b8: Verifying Checksum da754e2b46b8: Download complete 36670d0fe74b: Verifying Checksum 36670d0fe74b: Download complete cc3d4e05d126: Verifying Checksum cc3d4e05d126: Download complete c08b6fa0e59f: Pull complete d3f5e0f91087: Verifying Checksum d3f5e0f91087: Download complete f0dd0724d5ff: Verifying Checksum f0dd0724d5ff: Download complete e64d829b3686: Pull complete cf9eaf432f24: Verifying Checksum cf9eaf432f24: Download complete 502c690b3a67: Verifying Checksum 502c690b3a67: Download complete 0d7bcc9916a8: Verifying Checksum 0d7bcc9916a8: Download complete 1c97a6afc87f: Verifying Checksum 1c97a6afc87f: Download complete 8273a7d6575d: Verifying Checksum 8273a7d6575d: Download complete f674ab98822c: Download complete 0da3be707bfe: Pull complete 342f8b78d894: Download complete 583ba3bfe341: Pull complete 7f24f1dba668: Pull complete 5327c19b2320: Pull complete f5746e1c63d7: Verifying Checksum f5746e1c63d7: Download complete 9af48223da19: Verifying Checksum 9af48223da19: Download complete 569d38b4a292: Verifying Checksum 569d38b4a292: Download complete 5497efe37cac: Verifying Checksum 5497efe37cac: Download complete 402d4a332b4a: Pull complete bee0f8904970: Pull complete 36670d0fe74b: Pull complete cc3d4e05d126: Pull complete da754e2b46b8: Pull complete 9efcd7fdc495: Pull complete 8b5a0b688270: Pull complete 3cf83313542a: Pull complete d9c3697735d5: Pull complete 8273a7d6575d: Pull complete ============================= 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 cf9eaf432f24: Pull complete 502c690b3a67: Pull complete 0d7bcc9916a8: Pull complete f0dd0724d5ff: Pull complete d3f5e0f91087: Pull complete f674ab98822c: Pull complete 342f8b78d894: Pull complete Digest: sha256:6189d025670552eb8d19603a2e43d13695c80bda0879f2276e7f245a20ca23b1 Status: Downloaded newer image for dockerbuildbot/docker-py:py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 5497efe37cac: Pull complete 1c97a6afc87f: Pull complete f5746e1c63d7: Pull complete 9af48223da19: Pull complete 569d38b4a292: Pull complete Digest: sha256:4d279c1a4a121879e340bc795ebf2fe9751da56844811a16b6e7ad1c3545941c Status: Downloaded newer image for dockerbuildbot/docker-py:py2-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 ============================= 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/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.86 seconds ============================ [Pipeline] sh + docker stop dpy-dind-19-0-py2.7-19.03.13-beta2 dpy-tests-19-0-py2.7-19.03.13-beta2 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.43 seconds ====================== [Pipeline] sh dpy-dind-19-0-py2.7-19.03.13-beta2 dpy-tests-19-0-py2.7-19.03.13-beta2 + docker rm -vf dpy-dind-19-0-py2.7-19.03.13-beta2 dpy-tests-19-0-py2.7-19.03.13-beta2 dpy-dind-19-0-py2.7-19.03.13-beta2 dpy-tests-19-0-py2.7-19.03.13-beta2 + docker network rm dpy-testnet-19-0-py2.7-19.03.13-beta2 dpy-testnet-19-0-py2.7-19.03.13-beta2 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } Running on EC2 (managed-agents) - ubuntu-1804-overlay2-mem (i-0bf5c6f97e399117a) in /home/ubuntu/workspace/docker-py_PR-2647 [Pipeline] // node [Pipeline] { [Pipeline] } Failed in branch py2.7_19.03.13-beta2 [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ + docker stop dpy-dind-19-0-py3.7-19.03.12 dpy-tests-19-0-py3.7-19.03.12 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/594df374-742e-4e7b-9e5e-fbf4b2dfac30/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 collecting ... collected 918 items / 1 errors / 917 selected + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2647:/workspace busybox chown -R 1000:1000 /workspace ==================================== 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 ============================ [Pipeline] sh [Pipeline] echo Removing all docker containers [Pipeline] sh + docker stop dpy-dind-19-0-py2.7-19.03.12 dpy-tests-19-0-py2.7-19.03.12 dpy-dind-19-0-py3.7-19.03.12 dpy-tests-19-0-py3.7-19.03.12 + docker rm -vf dpy-dind-19-0-py3.7-19.03.12 dpy-tests-19-0-py3.7-19.03.12 dpy-dind-19-0-py3.7-19.03.12 dpy-tests-19-0-py3.7-19.03.12 + docker network rm dpy-testnet-19-0-py3.7-19.03.12 dpy-testnet-19-0-py3.7-19.03.12 + docker container ls -aq [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py3.7_19.03.12 [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=py3.7 / docker=19.03.13-beta2) [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Merging remotes/origin/master commit ed46fb0143020621c68bd2e62bf5a0780552c1fb into PR head commit 31db77b939a30cc147061b9753883adc7df923ce 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 > git checkout -f 31db77b939a30cc147061b9753883adc7df923ce # 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 Merge succeeded, producing 51553a8fee68fbc5423f4eb076bf6d5807cebb92 Checking out Revision 51553a8fee68fbc5423f4eb076bf6d5807cebb92 (PR-2647) Commit message: "Merge commit 'ed46fb0143020621c68bd2e62bf5a0780552c1fb' into HEAD" First time build. Skipping changelog. dpy-dind-19-0-py2.7-19.03.12 dpy-tests-19-0-py2.7-19.03.12 + docker rm -vf dpy-dind-19-0-py2.7-19.03.12 dpy-tests-19-0-py2.7-19.03.12 dpy-dind-19-0-py2.7-19.03.12 dpy-tests-19-0-py2.7-19.03.12 + docker network rm dpy-testnet-19-0-py2.7-19.03.12 dpy-testnet-19-0-py2.7-19.03.12 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py2.7_19.03.12 [Pipeline] sh + docker network create dpy-testnet-19-0-py3.7-19.03.13-beta2 812a5de98fd6062eff2e69c2bfb60680ffd9aa89283e7c243e790baac5f44ac9 [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51553a8fee68fbc5423f4eb076bf6d5807cebb92 # timeout=10 > git rev-list --no-walk 7ba1320e05892f93d61d99a1789469668620c2a7 # timeout=10 + docker run -d --name dpy-dind-19-0-py3.7-19.03.13-beta2 -v /tmp --privileged --network dpy-testnet-19-0-py3.7-19.03.13-beta2 docker:19.03.13-beta2-dind dockerd -H tcp://0.0.0.0:2375 9d00b2a17281f68e57ab29e0d6a0226699210c7d6c698c80d8339e45d4052dec [Pipeline] sh + docker run --name dpy-tests-19-0-py3.7-19.03.13-beta2 -e DOCKER_HOST=tcp://dpy-dind-19-0-py3.7-19.03.13-beta2:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-19-0-py3.7-19.03.13-beta2 --volumes-from dpy-dind-19-0-py3.7-19.03.13-beta2 dockerbuildbot/docker-py:py3-ca3ff5d31b891e2ef64b962bb22e6ee71974e230 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 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.58 seconds ====================== [Pipeline] sh + docker stop dpy-dind-19-0-py3.7-19.03.13-beta2 dpy-tests-19-0-py3.7-19.03.13-beta2 dpy-dind-19-0-py3.7-19.03.13-beta2 dpy-tests-19-0-py3.7-19.03.13-beta2 + docker rm -vf dpy-dind-19-0-py3.7-19.03.13-beta2 dpy-tests-19-0-py3.7-19.03.13-beta2 dpy-dind-19-0-py3.7-19.03.13-beta2 dpy-tests-19-0-py3.7-19.03.13-beta2 + docker network rm dpy-testnet-19-0-py3.7-19.03.13-beta2 dpy-testnet-19-0-py3.7-19.03.13-beta2 [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 [Pipeline] // parallel [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 2 Finished: FAILURE