Pull request #2637 opened Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 2d219ff739cbb743db5fd6d5e2988cede39a03e8+7f11cd417956c51e9df27fd640fff25d99085322 (947eb5d35bb70d51fdcb3cbabb3beb8645eb0240) 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/jps.git > git init /var/cloudbees-jenkins-distribution/workspace/docker-py_PR-2637@libs/jps # timeout=10 Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --force --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://github.com/docker/jps.git # 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/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git 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" First time build. Skipping changelog. > git --version # timeout=10 Excluding src/test/ from checkout of git https://github.com/docker/jps.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-01c5189a72d35c528) in /home/ubuntu/workspace/docker-py_PR-2637 [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-2637@tmp/73618dbb-1085-48fe-af9a-caa568ebcad9/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-2637:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox 61c5ed1cbdf8: Pulling fs layer 61c5ed1cbdf8: Verifying Checksum 61c5ed1cbdf8: Download complete 61c5ed1cbdf8: Pull complete Digest: sha256:4f47c01fa91355af2865ac10fef5bf6ec9c7f42ad2321377c21e844427972977 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-2637 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2637/head:refs/remotes/origin/PR-2637 +refs/heads/release:refs/remotes/origin/release # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 Fetching without tags > git config --add remote.origin.fetch +refs/pull/2637/head:refs/remotes/origin/PR-2637 # timeout=10 > git config --add remote.origin.fetch +refs/heads/release:refs/remotes/origin/release # 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/2637/head:refs/remotes/origin/PR-2637 +refs/heads/release:refs/remotes/origin/release # timeout=10 Merging remotes/origin/release commit 7f11cd417956c51e9df27fd640fff25d99085322 into PR head commit 2d219ff739cbb743db5fd6d5e2988cede39a03e8 Merge succeeded, producing 2d219ff739cbb743db5fd6d5e2988cede39a03e8 Checking out Revision 2d219ff739cbb743db5fd6d5e2988cede39a03e8 (PR-2637) > git config core.sparsecheckout # timeout=10 > git checkout -f 2d219ff739cbb743db5fd6d5e2988cede39a03e8 # timeout=10 > git merge 7f11cd417956c51e9df27fd640fff25d99085322 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d219ff739cbb743db5fd6d5e2988cede39a03e8 # timeout=10 Commit message: "Prepare release 4.3.0" First time build. Skipping changelog. [Pipeline] sh + git rev-parse HEAD [Pipeline] isUnix [Pipeline] sh > git --version # timeout=10 fatal: bad object 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 + docker pull dockerbuildbot/docker-py:py2-2d219ff739cbb743db5fd6d5e2988cede39a03e8 py2-2d219ff739cbb743db5fd6d5e2988cede39a03e8: 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 67bf5e489e70: Pulling fs layer feb4c910b379: Pulling fs layer 69aac06b5705: Pulling fs layer abcee8100f69: Pulling fs layer 27e8edc25577: Pulling fs layer 615adcdb9fee: Pulling fs layer 8f849d5f3f8c: Pulling fs layer ce2d8b42d2e8: Pulling fs layer 3540ba12e7a9: Pulling fs layer e33e1f27b72d: Pulling fs layer 96d88c9e244c: Pulling fs layer 8a33ab26d583: Pulling fs layer 7108c207f8c9: Pulling fs layer a3df6d2bf9ae: Pulling fs layer 7d3443626aa9: Pulling fs layer fd4b47407fc3: Waiting 27e8edc25577: Waiting b32f6bf7d96d: Waiting 615adcdb9fee: Waiting 8f849d5f3f8c: Waiting 6f4489a7e4cf: Waiting ce2d8b42d2e8: Waiting af4b99ad9ef0: Waiting 3540ba12e7a9: Waiting 39db0bc48c26: Waiting acb4a89489fc: Waiting 67bf5e489e70: Waiting feb4c910b379: Waiting 69aac06b5705: Waiting abcee8100f69: Waiting 96d88c9e244c: Waiting e33e1f27b72d: Waiting 8a33ab26d583: Waiting 7108c207f8c9: Waiting a3df6d2bf9ae: Waiting 7d3443626aa9: Waiting dc3f0c679f0f: Verifying Checksum dc3f0c679f0f: Download complete 09b6f03ffac4: Verifying Checksum 09b6f03ffac4: Download complete 7e2b2a5af8f6: Verifying Checksum 7e2b2a5af8f6: Download complete fd4b47407fc3: Verifying Checksum fd4b47407fc3: Download complete 6f4489a7e4cf: Verifying Checksum 6f4489a7e4cf: Download complete 39db0bc48c26: Verifying Checksum 39db0bc48c26: Download complete af4b99ad9ef0: Verifying Checksum af4b99ad9ef0: Download complete 67bf5e489e70: Verifying Checksum 67bf5e489e70: Download complete acb4a89489fc: Verifying Checksum acb4a89489fc: Download complete 69aac06b5705: Verifying Checksum 69aac06b5705: Download complete abcee8100f69: Verifying Checksum abcee8100f69: Download complete feb4c910b379: Verifying Checksum feb4c910b379: Download complete 27e8edc25577: Verifying Checksum 27e8edc25577: Download complete 615adcdb9fee: Verifying Checksum 615adcdb9fee: Download complete 8f849d5f3f8c: Verifying Checksum 8f849d5f3f8c: Download complete ce2d8b42d2e8: Verifying Checksum ce2d8b42d2e8: Download complete 3540ba12e7a9: Verifying Checksum 3540ba12e7a9: Download complete e33e1f27b72d: Verifying Checksum e33e1f27b72d: Download complete 8a33ab26d583: Verifying Checksum 8a33ab26d583: Download complete 96d88c9e244c: Verifying Checksum 96d88c9e244c: Download complete 7108c207f8c9: Verifying Checksum 7108c207f8c9: Download complete a3df6d2bf9ae: Verifying Checksum a3df6d2bf9ae: Download complete 7d3443626aa9: Verifying Checksum 7d3443626aa9: 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 67bf5e489e70: Pull complete feb4c910b379: Pull complete 69aac06b5705: Pull complete abcee8100f69: Pull complete 27e8edc25577: Pull complete 615adcdb9fee: Pull complete 8f849d5f3f8c: Pull complete ce2d8b42d2e8: Pull complete 3540ba12e7a9: Pull complete e33e1f27b72d: Pull complete 96d88c9e244c: Pull complete 8a33ab26d583: Pull complete 7108c207f8c9: Pull complete a3df6d2bf9ae: Pull complete 7d3443626aa9: Pull complete Digest: sha256:a9b16885145ca1bd0e8c8ee0026ee83993e821a5344088e2c4866733d9c615c4 Status: Downloaded newer image for dockerbuildbot/docker-py:py2-2d219ff739cbb743db5fd6d5e2988cede39a03e8 docker.io/dockerbuildbot/docker-py:py2-2d219ff739cbb743db5fd6d5e2988cede39a03e8 [Pipeline] isUnix [Pipeline] sh + docker pull dockerbuildbot/docker-py:py3-2d219ff739cbb743db5fd6d5e2988cede39a03e8 Error response from daemon: manifest for dockerbuildbot/docker-py:py3-2d219ff739cbb743db5fd6d5e2988cede39a03e8 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerbuildbot/docker-py:py3-2d219ff739cbb743db5fd6d5e2988cede39a03e8 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.7 . Sending build context to Docker daemon 1.314MB Step 1/19 : ARG PYTHON_VERSION=3.7 Step 2/19 : FROM python:${PYTHON_VERSION} 3.7: Pulling from library/python d6ff36c9ec48: Pulling fs layer c958d65b3090: Pulling fs layer edaf0a6b092f: Pulling fs layer 80931cf68816: Pulling fs layer bc1b8aca3825: Pulling fs layer edfe96a4dd20: Pulling fs layer 5870fef1e623: Pulling fs layer 6790a6a53a00: Pulling fs layer 4700c40d366f: Pulling fs layer 80931cf68816: Waiting bc1b8aca3825: Waiting edfe96a4dd20: Waiting 5870fef1e623: Waiting 6790a6a53a00: Waiting 4700c40d366f: Waiting c958d65b3090: Verifying Checksum c958d65b3090: Download complete edaf0a6b092f: Verifying Checksum edaf0a6b092f: Download complete d6ff36c9ec48: Verifying Checksum d6ff36c9ec48: Download complete edfe96a4dd20: Verifying Checksum edfe96a4dd20: Download complete 80931cf68816: Verifying Checksum 80931cf68816: Download complete 6790a6a53a00: Verifying Checksum 6790a6a53a00: Download complete 5870fef1e623: Verifying Checksum 5870fef1e623: Download complete 4700c40d366f: Verifying Checksum 4700c40d366f: Download complete bc1b8aca3825: Verifying Checksum bc1b8aca3825: Download complete d6ff36c9ec48: Pull complete c958d65b3090: Pull complete edaf0a6b092f: Pull complete 80931cf68816: Pull complete bc1b8aca3825: Pull complete edfe96a4dd20: Pull complete 5870fef1e623: Pull complete 6790a6a53a00: Pull complete 4700c40d366f: Pull complete Digest: sha256:45a9d9059c9a83066f66d0c7ef7f344bd55f2a41c7a32ca73b2b7bad363ed2b9 Status: Downloaded newer image for python:3.7 ---> 3f7ca107793b Step 3/19 : ARG APT_MIRROR ---> Running in 5b592f051e35 Removing intermediate container 5b592f051e35 ---> 62f24d11fd5a 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 1014cbf8c795 Removing intermediate container 1014cbf8c795 ---> 2de29d15472a Step 5/19 : RUN apt-get update && apt-get -y install gnupg2 pass curl ---> Running in 07929c9b10f5 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 [218 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 8372 kB in 2s (4707 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 (2646 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 07929c9b10f5 ---> d96fc277c206 Step 6/19 : COPY ./tests/gpg-keys /gpg-keys ---> 33477624d574 Step 7/19 : RUN gpg2 --import gpg-keys/secret ---> Running in f3c565479784 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 f3c565479784 ---> 0f6e76e7bcef Step 8/19 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in ce0a86c928d1 gpg: inserting ownertrust of 6 Removing intermediate container ce0a86c928d1 ---> ae6b11e3c0a7 Step 9/19 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in 048db9640b60 gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container 048db9640b60 ---> a0734f4c4df8 Step 10/19 : RUN gpg2 --check-trustdb ---> Running in d30cbb75ecb0 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 d30cbb75ecb0 ---> 481296b9fd59 Step 11/19 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in c851c7bb44a5 Removing intermediate container c851c7bb44a5 ---> 64d8bb19ba65 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 2c694d1dd528 Removing intermediate container 2c694d1dd528 ---> e056b8fd2cf3 Step 13/19 : WORKDIR /src ---> Running in 72450fbbf215 Removing intermediate container 72450fbbf215 ---> 28485e06af99 Step 14/19 : COPY requirements.txt /src/requirements.txt ---> eb68a9f9eaa8 Step 15/19 : RUN pip install -r requirements.txt ---> Running in 182b49638dc0 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  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /packages/c2/fa/fa9a8933c285895935d1392922fe721e9cb1b2c1881d14f149213a227ee3/cryptography-2.3-cp34-abi3-manylinux1_x86_64.whl  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.1.7-cp34-abi3-manylinux1_x86_64.whl (56 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=5205 sha256=d334ddc1a666fa39ec7d7ae3533411d730b96c2b768cca87f1f41867e24fe363 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=371221 sha256=9929e10f9aba86e4bb220ffc274dfdd98153141d2b649bbacaf457b6fb16641c 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=18104 sha256=4e3fe1533792e08c8373c0ba459ab79365b7c44e9ea9babe3c0da0b4ad756df3 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=37b89f1e600ee3dc856965041f00f6bcbe29b5d1ca197a1ff23a1dc3a5de4fe2 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, idna, six, cryptography, enum34, ipaddress, pyparsing, packaging, pyasn1, bcrypt, pynacl, paramiko, pyOpenSSL, urllib3, chardet, certifi, requests, websocket-client Successfully installed appdirs-1.4.3 asn1crypto-0.22.0 backports.ssl-match-hostname-3.5.0.1 bcrypt-3.1.7 certifi-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 182b49638dc0 ---> 856c0d7b419b Step 16/19 : COPY test-requirements.txt /src/test-requirements.txt ---> e26707953e05 Step 17/19 : RUN pip install -r test-requirements.txt ---> Running in 61910743024f 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 pyflakes<2.1.0,>=2.0.0 Downloading pyflakes-2.0.0-py2.py3-none-any.whl (53 kB) Collecting pycodestyle<2.5.0,>=2.4.0 Downloading pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB) Collecting atomicwrites>=1.0 Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB) Collecting attrs>=17.4.0 Downloading attrs-19.3.0-py2.py3-none-any.whl (39 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.4.0-py3-none-any.whl (43 kB) Collecting py>=1.5.0 Downloading py-1.9.0-py2.py3-none-any.whl (99 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 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=2d6b62e40af8421e878c4b92608c1207ab996fc02f32c40ce9438be963cd0751 Stored in directory: /root/.cache/pip/wheels/16/03/37/f0a64ab894c9102906f192db1a4071b7592292ad661563c69b Successfully built mock Installing collected packages: setuptools, coverage, mccabe, pyflakes, pycodestyle, flake8, mock, atomicwrites, attrs, zipp, importlib-metadata, pluggy, more-itertools, py, pytest, pytest-cov, pytest-timeout Attempting uninstall: setuptools Found existing installation: setuptools 49.2.1 Uninstalling setuptools-49.2.1: Successfully uninstalled setuptools-49.2.1 Successfully installed atomicwrites-1.4.0 attrs-19.3.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.4.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 61910743024f ---> b8756576084a Step 18/19 : COPY . /src ---> 77d9bcf93f5a Step 19/19 : RUN pip install . ---> Running in 7ad2681a1610 Processing /src Requirement already satisfied: six>=1.4.0 in /usr/local/lib/python3.7/site-packages (from docker==4.3.0) (1.10.0) Requirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python3.7/site-packages (from docker==4.3.0) (0.56.0) Requirement already satisfied: requests!=2.18.0,>=2.14.2 in /usr/local/lib/python3.7/site-packages (from docker==4.3.0) (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.3.0) (3.0.4) 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.3.0) (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.3.0) (1.24.3) Requirement already satisfied: idna<2.8,>=2.5 in /usr/local/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.3.0) (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.3.0-py2.py3-none-any.whl size=145330 sha256=0bebc2b6c2731079863ccae919416c390750122973daad3712852475eb65d35c Stored in directory: /tmp/pip-ephem-wheel-cache-vdl08eq2/wheels/6f/63/19/359cf44f647b75d0ea75ecc03aa429fec4c372b453eb4b6525 Successfully built docker Installing collected packages: docker Successfully installed docker-4.3.0 Removing intermediate container 7ad2681a1610 ---> 425918fb4f69 Successfully built 425918fb4f69 Successfully tagged dockerbuildbot/docker-py:py3-2d219ff739cbb743db5fd6d5e2988cede39a03e8 [Pipeline] isUnix [Pipeline] sh + docker tag dockerbuildbot/docker-py:py3-2d219ff739cbb743db5fd6d5e2988cede39a03e8 dockerbuildbot/docker-py:py3-2d219ff739cbb743db5fd6d5e2988cede39a03e8 [Pipeline] isUnix [Pipeline] sh + docker push dockerbuildbot/docker-py:py3-2d219ff739cbb743db5fd6d5e2988cede39a03e8 The push refers to repository [docker.io/dockerbuildbot/docker-py] 7f2b3883ad00: Preparing c162e40a2770: Preparing 329132a43cb0: Preparing ed589875854d: Preparing 7b83c13e66c0: Preparing c7002c539b88: Preparing 0a63570f4f86: Preparing 910d9272969c: Preparing afa6f6645478: Preparing 8eefa3c7ef2a: Preparing 07ca3bead2ae: Preparing 9b52f65cb810: Preparing e8aa1a7deed0: Preparing f0d12b6459b8: Preparing 54cc44c05a74: Preparing 8ba9e2d3931a: Preparing fe1ecc1383ce: Preparing e83007e57a22: Preparing f17789b093c5: Preparing e480b226ea6b: Preparing e5df62d9b33a: Preparing 7a9460d53218: Preparing b2765ac0333a: Preparing 0ced13fcf944: Preparing e8aa1a7deed0: Waiting c7002c539b88: Waiting 0a63570f4f86: Waiting f0d12b6459b8: Waiting 910d9272969c: Waiting 54cc44c05a74: Waiting afa6f6645478: Waiting 8ba9e2d3931a: Waiting fe1ecc1383ce: Waiting 8eefa3c7ef2a: Waiting e83007e57a22: Waiting 07ca3bead2ae: Waiting f17789b093c5: Waiting 9b52f65cb810: Waiting e480b226ea6b: Waiting 0ced13fcf944: Waiting 7a9460d53218: Waiting e5df62d9b33a: Waiting b2765ac0333a: Waiting ed589875854d: Pushed c162e40a2770: Pushed 7f2b3883ad00: Pushed c7002c539b88: Pushed 329132a43cb0: Pushed 0a63570f4f86: Pushed afa6f6645478: Pushed 910d9272969c: Pushed 8eefa3c7ef2a: Pushed 7b83c13e66c0: Pushed 07ca3bead2ae: Pushed 8ba9e2d3931a: Layer already exists fe1ecc1383ce: Layer already exists e83007e57a22: Layer already exists f17789b093c5: Layer already exists e480b226ea6b: Layer already exists e5df62d9b33a: Layer already exists 7a9460d53218: Layer already exists 9b52f65cb810: Pushed b2765ac0333a: Layer already exists e8aa1a7deed0: Pushed 0ced13fcf944: Layer already exists 54cc44c05a74: Pushed f0d12b6459b8: Pushed py3-2d219ff739cbb743db5fd6d5e2988cede39a03e8: digest: sha256:e348ae12a05a1ab32e4e9acda3c0d9edea8aaeac994b9114748e5323301fe09c 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 (i-01c5189a72d35c528) in /home/ubuntu/workspace/docker-py_PR-2637 [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-2637@tmp/585256ac-17ff-42e3-9f8b-22e7003967eb/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-2d219ff739cbb743db5fd6d5e2988cede39a03e8 /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 [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-01c5189a72d35c528) in /home/ubuntu/workspace/docker-py_PR-2637 [Pipeline] node [Pipeline] { [Pipeline] withDockerRegistry Running on EC2 (managed-agents) - ubuntu-1804-overlay2-mem (i-01aec7bb3098c6697) in /home/ubuntu/workspace/docker-py_PR-2637 [Pipeline] { Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0b8462d27e4cb54c8) in /home/ubuntu/workspace/docker-py_PR-2637 [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ [Pipeline] withDockerRegistry $ 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-2637@tmp/1d389e8c-4b77-4c87-93aa-b5f4196cb78b/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 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-2637@tmp/c376aa61-f192-42fb-a5a2-5461a9b9b815/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] 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-2637@tmp/f0de3bed-b9cc-4f63-9042-da238b275fef/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] { [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 + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2637:/workspace busybox chown -R 1000:1000 /workspace + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2637:/workspace busybox chown -R 1000:1000 /workspace + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2637:/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 cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=py2.7 / docker=19.03.12) [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] checkout + docker container ls -aq [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=py2.7 / docker=19.03.13-beta2) [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir using credential docker-jenkins-github-credentials [Pipeline] checkout Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=py3.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 using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Fetching without tags Fetching without tags Merging remotes/origin/release commit 7f11cd417956c51e9df27fd640fff25d99085322 into PR head commit 2d219ff739cbb743db5fd6d5e2988cede39a03e8 Merging remotes/origin/release commit 7f11cd417956c51e9df27fd640fff25d99085322 into PR head commit 2d219ff739cbb743db5fd6d5e2988cede39a03e8 Merging remotes/origin/release commit 7f11cd417956c51e9df27fd640fff25d99085322 into PR head commit 2d219ff739cbb743db5fd6d5e2988cede39a03e8 Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2637 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2637/head:refs/remotes/origin/PR-2637 +refs/heads/release:refs/remotes/origin/release # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2637/head:refs/remotes/origin/PR-2637 # timeout=10 > git config --add remote.origin.fetch +refs/heads/release:refs/remotes/origin/release # 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/2637/head:refs/remotes/origin/PR-2637 +refs/heads/release:refs/remotes/origin/release # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d219ff739cbb743db5fd6d5e2988cede39a03e8 # timeout=10 Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2637 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2637/head:refs/remotes/origin/PR-2637 +refs/heads/release:refs/remotes/origin/release # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2637/head:refs/remotes/origin/PR-2637 # timeout=10 > git config --add remote.origin.fetch +refs/heads/release:refs/remotes/origin/release # 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/2637/head:refs/remotes/origin/PR-2637 +refs/heads/release:refs/remotes/origin/release # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d219ff739cbb743db5fd6d5e2988cede39a03e8 # timeout=10 > git merge 7f11cd417956c51e9df27fd640fff25d99085322 # timeout=10 Merge succeeded, producing 2d219ff739cbb743db5fd6d5e2988cede39a03e8 Checking out Revision 2d219ff739cbb743db5fd6d5e2988cede39a03e8 (PR-2637) Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2637 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2637/head:refs/remotes/origin/PR-2637 +refs/heads/release:refs/remotes/origin/release # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2637/head:refs/remotes/origin/PR-2637 # timeout=10 > git config --add remote.origin.fetch +refs/heads/release:refs/remotes/origin/release # 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/2637/head:refs/remotes/origin/PR-2637 +refs/heads/release:refs/remotes/origin/release # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d219ff739cbb743db5fd6d5e2988cede39a03e8 # timeout=10 > git merge 7f11cd417956c51e9df27fd640fff25d99085322 # timeout=10 Merge succeeded, producing 2d219ff739cbb743db5fd6d5e2988cede39a03e8 Checking out Revision 2d219ff739cbb743db5fd6d5e2988cede39a03e8 (PR-2637) Merge succeeded, producing 2d219ff739cbb743db5fd6d5e2988cede39a03e8 Checking out Revision 2d219ff739cbb743db5fd6d5e2988cede39a03e8 (PR-2637) Commit message: "Prepare release 4.3.0" Commit message: "Prepare release 4.3.0" Commit message: "Prepare release 4.3.0" [Pipeline] sh [Pipeline] sh [Pipeline] sh + docker network create dpy-testnet-1-0-py2.7-19.03.12 f55dc637f9d65c1a70a5ddb3dec8af56f210b515ca1a85c8d6e0263809c97662 [Pipeline] sh + docker network create dpy-testnet-1-0-py3.7-19.03.12 9670101df6aac90967c2e4d0d48d1291704479013a9ccd3dc7a0bcbb64fa964c [Pipeline] sh + docker network create dpy-testnet-1-0-py2.7-19.03.13-beta2 57a605e68a0f74918d51e77c44eb085951b1fc0f2350d3938ad32486f7fc1482 [Pipeline] sh > git merge 7f11cd417956c51e9df27fd640fff25d99085322 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d219ff739cbb743db5fd6d5e2988cede39a03e8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d219ff739cbb743db5fd6d5e2988cede39a03e8 # timeout=10 > git --version # timeout=10 fatal: bad object 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 > git --version # timeout=10 fatal: bad object 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d219ff739cbb743db5fd6d5e2988cede39a03e8 # timeout=10 > git --version # timeout=10 fatal: bad object 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 + docker run -d --name dpy-dind-1-0-py2.7-19.03.12 -v /tmp --privileged --network dpy-testnet-1-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 + docker run -d --name dpy-dind-1-0-py3.7-19.03.12 -v /tmp --privileged --network dpy-testnet-1-0-py3.7-19.03.12 docker:19.03.12-dind dockerd -H tcp://0.0.0.0:2375 b90b6ce935b82d0dd3cd7d21f90b66ac9ba2998c6c2ca6d7b584779f33af57bf + docker run -d --name dpy-dind-1-0-py2.7-19.03.13-beta2 -v /tmp --privileged --network dpy-testnet-1-0-py2.7-19.03.13-beta2 docker:19.03.13-beta2-dind dockerd -H tcp://0.0.0.0:2375 8780256c0b8fe9fdbccff4d65daf400befd6dab8fe3097de02409de0fd483bae 25ad7478873d: Verifying Checksum 25ad7478873d: Download complete df20fa9351a1: Verifying Checksum df20fa9351a1: Download complete 0fdb76c4706c: Verifying Checksum 0fdb76c4706c: Download complete cb7edeffdfd5: Verifying Checksum cb7edeffdfd5: Download complete 63038576ad94: Verifying Checksum 63038576ad94: Download complete [Pipeline] sh [Pipeline] sh df20fa9351a1: Pull complete 54196fe38f7e: Verifying Checksum 54196fe38f7e: Download complete cc28bd76800f: Verifying Checksum cc28bd76800f: Download complete ea71acc29633: Verifying Checksum ea71acc29633: Download complete 657cc4c15165: Verifying Checksum 657cc4c15165: Download complete + docker run --name dpy-tests-1-0-py3.7-19.03.12 -e DOCKER_HOST=tcp://dpy-dind-1-0-py3.7-19.03.12:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-1-0-py3.7-19.03.12 --volumes-from dpy-dind-1-0-py3.7-19.03.12 dockerbuildbot/docker-py:py3-2d219ff739cbb743db5fd6d5e2988cede39a03e8 py.test -v -rxs --cov=docker tests/ + docker run --name dpy-tests-1-0-py2.7-19.03.13-beta2 -e DOCKER_HOST=tcp://dpy-dind-1-0-py2.7-19.03.13-beta2:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-1-0-py2.7-19.03.13-beta2 --volumes-from dpy-dind-1-0-py2.7-19.03.13-beta2 dockerbuildbot/docker-py:py2-2d219ff739cbb743db5fd6d5e2988cede39a03e8 py.test -v -rxs --cov=docker tests/ Unable to find image 'dockerbuildbot/docker-py:py2-2d219ff739cbb743db5fd6d5e2988cede39a03e8' locally py2-2d219ff739cbb743db5fd6d5e2988cede39a03e8: 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 67bf5e489e70: Pulling fs layer feb4c910b379: Pulling fs layer 69aac06b5705: Pulling fs layer abcee8100f69: Pulling fs layer 27e8edc25577: Pulling fs layer 615adcdb9fee: Pulling fs layer 8f849d5f3f8c: Pulling fs layer ce2d8b42d2e8: Pulling fs layer 3540ba12e7a9: Pulling fs layer e33e1f27b72d: Pulling fs layer 96d88c9e244c: Pulling fs layer 8a33ab26d583: Pulling fs layer 7108c207f8c9: Pulling fs layer a3df6d2bf9ae: Pulling fs layer 7d3443626aa9: Pulling fs layer abcee8100f69: Waiting 27e8edc25577: Waiting 615adcdb9fee: Waiting 8f849d5f3f8c: Waiting ce2d8b42d2e8: Waiting 3540ba12e7a9: Waiting e33e1f27b72d: Waiting 96d88c9e244c: Waiting 8a33ab26d583: Waiting 7108c207f8c9: Waiting a3df6d2bf9ae: Waiting 7d3443626aa9: Waiting fd4b47407fc3: Waiting b32f6bf7d96d: Waiting 6f4489a7e4cf: Waiting af4b99ad9ef0: Waiting 39db0bc48c26: Waiting acb4a89489fc: Waiting 67bf5e489e70: Waiting feb4c910b379: Waiting 69aac06b5705: Waiting 25ad7478873d: Pull complete 4684f6177b5d: Pull complete dc3f0c679f0f: Verifying Checksum dc3f0c679f0f: Download complete 46e300cec669: Download complete 09b6f03ffac4: Verifying Checksum 09b6f03ffac4: Download complete 7e2b2a5af8f6: Verifying Checksum 7e2b2a5af8f6: Download complete ============================= test session starts ============================== platform linux -- Python 3.7.8, 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: cov-2.6.1, timeout-1.3.3 fd4b47407fc3: Verifying Checksum fd4b47407fc3: Download complete 6f4489a7e4cf: Verifying Checksum 6f4489a7e4cf: Download complete 39db0bc48c26: Verifying Checksum 39db0bc48c26: Download complete collecting ... collected 0 items / 1 errors af4b99ad9ef0: Verifying Checksum af4b99ad9ef0: Download complete acb4a89489fc: Verifying Checksum acb4a89489fc: Download complete 67bf5e489e70: Verifying Checksum 67bf5e489e70: Download complete 69aac06b5705: Verifying Checksum 69aac06b5705: Download complete feb4c910b379: Verifying Checksum feb4c910b379: Download complete abcee8100f69: Verifying Checksum abcee8100f69: Download complete 615adcdb9fee: Verifying Checksum 615adcdb9fee: Download complete 27e8edc25577: Verifying Checksum 27e8edc25577: Download complete ce2d8b42d2e8: Verifying Checksum ce2d8b42d2e8: Download complete ==================================== ERRORS ==================================== ______________________________ ERROR collecting _______________________________ /usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py:429: in _importconftest return self._conftestpath2mod[conftestpath] E KeyError: local('/src/tests/integration/conftest.py') During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py:435: in _importconftest mod = conftestpath.pyimport() /usr/local/lib/python3.7/site-packages/py/_path/local.py:704: in pyimport __import__(modname) :983: in _find_and_load ??? :967: in _find_and_load_unlocked ??? :668: in _load_unlocked ??? :638: in _load_backward_compatible ??? /usr/local/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module six.exec_(co, mod.__dict__) tests/integration/conftest.py:6: in import docker.errors docker/__init__.py:4: in from .context import Context docker/context/__init__.py:2: in from .context import Context E File "/src/docker/context/context.py", line 189 E <<<<<<< HEAD E ^ E IndentationError: expected an indented block During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/py/_path/common.py:383: in visit for x in Visitor(fil, rec, ignore, bf, sort).gen(self): /usr/local/lib/python3.7/site-packages/py/_path/common.py:424: in gen dirs = self.optsort([p for p in entries /usr/local/lib/python3.7/site-packages/py/_path/common.py:425: in if p.check(dir=1) and (rec is None or rec(p))]) /usr/local/lib/python3.7/site-packages/_pytest/main.py:651: in _recurse ihook = self.gethookproxy(dirpath) /usr/local/lib/python3.7/site-packages/_pytest/main.py:472: in gethookproxy my_conftestmodules = pm._getconftestmodules(fspath) /usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py:413: in _getconftestmodules mod = self._importconftest(conftestpath.realpath()) /usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py:452: in _importconftest raise ConftestImportFailure(conftestpath, sys.exc_info()) E _pytest.config.ConftestImportFailure: (local('/src/tests/integration/conftest.py'), (, IndentationError('expected an indented block', ('/src/docker/context/context.py', 189, 0, '<<<<<<< HEAD\n')), )) =============================== 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.8-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 5 0 0 38% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 112 93 0 6% docker/api/client.py 265 200 100 0 18% 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 149 116 52 0 16% 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 159 74 0 14% docker/client.py 67 25 2 0 61% docker/constants.py 20 0 0 0 100% docker/context/__init__.py 2 1 0 0 50% docker/context/api.py 78 78 38 0 0% docker/context/config.py 61 61 16 0 0% 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 87 61 22 1 25% 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 25 10 0 24% 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 50 32 0 0% docker/utils/proxy.py 32 22 12 0 23% docker/utils/socket.py 86 64 40 0 17% docker/utils/utils.py 285 244 177 1 9% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 4889 3751 2169 4 16% !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! ===================== 1 warnings, 1 error in 1.13 seconds ====================== 3540ba12e7a9: Verifying Checksum 3540ba12e7a9: Download complete 8f849d5f3f8c: Verifying Checksum 8f849d5f3f8c: Download complete e33e1f27b72d: Verifying Checksum e33e1f27b72d: Download complete 96d88c9e244c: Verifying Checksum 96d88c9e244c: Download complete 8a33ab26d583: Verifying Checksum 8a33ab26d583: Download complete [Pipeline] sh a3df6d2bf9ae: Verifying Checksum a3df6d2bf9ae: Download complete 7108c207f8c9: Verifying Checksum 7108c207f8c9: Download complete 7d3443626aa9: Verifying Checksum 7d3443626aa9: Download complete + docker stop dpy-dind-1-0-py3.7-19.03.12 dpy-tests-1-0-py3.7-19.03.12 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 b32f6bf7d96d: Verifying Checksum b32f6bf7d96d: Download complete dpy-dind-1-0-py3.7-19.03.12 dpy-tests-1-0-py3.7-19.03.12 + docker rm -vf dpy-dind-1-0-py3.7-19.03.12 dpy-tests-1-0-py3.7-19.03.12 dpy-dind-1-0-py3.7-19.03.12 dpy-tests-1-0-py3.7-19.03.12 + docker network rm dpy-testnet-1-0-py3.7-19.03.12 dpy-testnet-1-0-py3.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-mem (i-01aec7bb3098c6697) in /home/ubuntu/workspace/docker-py_PR-2637 [Pipeline] // node [Pipeline] { [Pipeline] } Failed in branch py3.7_19.03.12 [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-2637@tmp/506fe1ef-fd29-4895-b17d-5f85aa00cd71/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-2637:/workspace busybox chown -R 1000:1000 /workspace 7e2b2a5af8f6: Pull complete 09b6f03ffac4: Pull complete dc3f0c679f0f: Pull complete [Pipeline] echo Removing all docker containers [Pipeline] sh + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=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/release commit 7f11cd417956c51e9df27fd640fff25d99085322 into PR head commit 2d219ff739cbb743db5fd6d5e2988cede39a03e8 Merge succeeded, producing 2d219ff739cbb743db5fd6d5e2988cede39a03e8 Checking out Revision 2d219ff739cbb743db5fd6d5e2988cede39a03e8 (PR-2637) Commit message: "Prepare release 4.3.0" Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2637 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2637/head:refs/remotes/origin/PR-2637 +refs/heads/release:refs/remotes/origin/release # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2637/head:refs/remotes/origin/PR-2637 # timeout=10 > git config --add remote.origin.fetch +refs/heads/release:refs/remotes/origin/release # 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/2637/head:refs/remotes/origin/PR-2637 +refs/heads/release:refs/remotes/origin/release # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d219ff739cbb743db5fd6d5e2988cede39a03e8 # timeout=10 > git merge 7f11cd417956c51e9df27fd640fff25d99085322 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d219ff739cbb743db5fd6d5e2988cede39a03e8 # timeout=10 [Pipeline] sh + docker network create dpy-testnet-1-0-py3.7-19.03.13-beta2 47d7049408290b7244cf81613abbd18c32f316c3ac4ef3aeb929b332d8549e0a [Pipeline] sh > git --version # timeout=10 fatal: bad object 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 + docker run -d --name dpy-dind-1-0-py3.7-19.03.13-beta2 -v /tmp --privileged --network dpy-testnet-1-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 fd4b47407fc3: Pull complete 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 ffa883581c86: Verifying Checksum ffa883581c86: Download complete 963dfd0472c9: Verifying Checksum 963dfd0472c9: Download complete c63137de011e: Verifying Checksum c63137de011e: Download complete 88924d48d2df: Verifying Checksum 88924d48d2df: Download complete e2fccac7c8b3: Verifying Checksum e2fccac7c8b3: Download complete d607daba1a35: Download complete 06f4d368cf7c: Verifying Checksum 06f4d368cf7c: Download complete 6a7bc71302bb: Verifying Checksum 6a7bc71302bb: Download complete 8ef0a6801f97b51724f52f7a29db055f52120c02276724a7e45f2ce88692cb08 [Pipeline] sh + docker run --name dpy-tests-1-0-py2.7-19.03.12 -e DOCKER_HOST=tcp://dpy-dind-1-0-py2.7-19.03.12:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-1-0-py2.7-19.03.12 --volumes-from dpy-dind-1-0-py2.7-19.03.12 dockerbuildbot/docker-py:py2-2d219ff739cbb743db5fd6d5e2988cede39a03e8 py.test -v -rxs --cov=docker tests/ 6a7bc71302bb: Pull complete ffa883581c86: Pull complete c63137de011e: 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: cov-2.6.1, timeout-1.3.3 963dfd0472c9: Pull complete collecting ... collected 0 items / 1 errors 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 ==================================== ERRORS ==================================== ______________________________ ERROR collecting _______________________________ /usr/local/lib/python2.7/site-packages/py/_path/common.py:383: in visit for x in Visitor(fil, rec, ignore, bf, sort).gen(self): /usr/local/lib/python2.7/site-packages/py/_path/common.py:425: in gen if p.check(dir=1) and (rec is None or rec(p))]) /usr/local/lib/python2.7/site-packages/_pytest/main.py:651: in _recurse ihook = self.gethookproxy(dirpath) /usr/local/lib/python2.7/site-packages/_pytest/main.py:472: in gethookproxy my_conftestmodules = pm._getconftestmodules(fspath) /usr/local/lib/python2.7/site-packages/_pytest/config/__init__.py:413: in _getconftestmodules mod = self._importconftest(conftestpath.realpath()) /usr/local/lib/python2.7/site-packages/_pytest/config/__init__.py:452: in _importconftest raise ConftestImportFailure(conftestpath, sys.exc_info()) E ConftestImportFailure: (local('/src/tests/integration/conftest.py'), (, IndentationError('expected an indented block', ('/src/docker/context/context.py', 189, 0, '<<<<<<< HEAD\n')), )) ---------- coverage: platform linux2, python 2.7.18-final-0 ---------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 5 0 0 38% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 112 92 0 6% docker/api/client.py 265 200 98 0 18% 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 149 116 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 159 74 0 14% docker/client.py 67 25 2 0 61% docker/constants.py 20 0 0 0 100% docker/context/__init__.py 2 1 0 0 50% docker/context/api.py 78 78 38 0 0% docker/context/config.py 61 61 16 0 0% 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 87 61 22 1 25% 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 25 10 0 24% 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 50 28 0 0% docker/utils/proxy.py 32 22 12 0 23% docker/utils/socket.py 86 64 40 0 17% docker/utils/utils.py 285 243 164 1 10% docker/version.py 2 0 0 0 100% ----------------------------------------------------------------------- TOTAL 4889 3748 2103 4 16% !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! =========================== 1 error in 0.98 seconds ============================ [Pipeline] sh + docker stop dpy-dind-1-0-py2.7-19.03.12 dpy-tests-1-0-py2.7-19.03.12 0093eb6750fe9cd665d8851912f0a36a09cd15e9726eb53a1e22ae40e9ca50e3 [Pipeline] sh + docker run --name dpy-tests-1-0-py3.7-19.03.13-beta2 -e DOCKER_HOST=tcp://dpy-dind-1-0-py3.7-19.03.13-beta2:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-1-0-py3.7-19.03.13-beta2 --volumes-from dpy-dind-1-0-py3.7-19.03.13-beta2 dockerbuildbot/docker-py:py3-2d219ff739cbb743db5fd6d5e2988cede39a03e8 py.test -v -rxs --cov=docker tests/ ============================= test session starts ============================== platform linux -- Python 3.7.8, 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: cov-2.6.1, timeout-1.3.3 dpy-dind-1-0-py2.7-19.03.12 dpy-tests-1-0-py2.7-19.03.12 + docker rm -vf dpy-dind-1-0-py2.7-19.03.12 dpy-tests-1-0-py2.7-19.03.12 dpy-dind-1-0-py2.7-19.03.12 dpy-tests-1-0-py2.7-19.03.12 + docker network rm dpy-testnet-1-0-py2.7-19.03.12 dpy-testnet-1-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 collecting ... collected 0 items / 1 errors ==================================== ERRORS ==================================== ______________________________ ERROR collecting _______________________________ /usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py:429: in _importconftest return self._conftestpath2mod[conftestpath] E KeyError: local('/src/tests/integration/conftest.py') During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py:435: in _importconftest mod = conftestpath.pyimport() /usr/local/lib/python3.7/site-packages/py/_path/local.py:704: in pyimport __import__(modname) :983: in _find_and_load ??? :967: in _find_and_load_unlocked ??? :668: in _load_unlocked ??? :638: in _load_backward_compatible ??? /usr/local/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:296: in load_module six.exec_(co, mod.__dict__) tests/integration/conftest.py:6: in import docker.errors docker/__init__.py:4: in from .context import Context docker/context/__init__.py:2: in from .context import Context E File "/src/docker/context/context.py", line 189 E <<<<<<< HEAD E ^ E IndentationError: expected an indented block During handling of the above exception, another exception occurred: /usr/local/lib/python3.7/site-packages/py/_path/common.py:383: in visit for x in Visitor(fil, rec, ignore, bf, sort).gen(self): /usr/local/lib/python3.7/site-packages/py/_path/common.py:424: in gen dirs = self.optsort([p for p in entries /usr/local/lib/python3.7/site-packages/py/_path/common.py:425: in if p.check(dir=1) and (rec is None or rec(p))]) /usr/local/lib/python3.7/site-packages/_pytest/main.py:651: in _recurse ihook = self.gethookproxy(dirpath) /usr/local/lib/python3.7/site-packages/_pytest/main.py:472: in gethookproxy my_conftestmodules = pm._getconftestmodules(fspath) /usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py:413: in _getconftestmodules mod = self._importconftest(conftestpath.realpath()) /usr/local/lib/python3.7/site-packages/_pytest/config/__init__.py:452: in _importconftest raise ConftestImportFailure(conftestpath, sys.exc_info()) E _pytest.config.ConftestImportFailure: (local('/src/tests/integration/conftest.py'), (, IndentationError('expected an indented block', ('/src/docker/context/context.py', 189, 0, '<<<<<<< HEAD\n')), )) =============================== 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.8-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 5 0 0 38% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 112 93 0 6% docker/api/client.py 265 200 100 0 18% 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 149 116 52 0 16% 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 159 74 0 14% docker/client.py 67 25 2 0 61% docker/constants.py 20 0 0 0 100% docker/context/__init__.py 2 1 0 0 50% docker/context/api.py 78 78 38 0 0% docker/context/config.py 61 61 16 0 0% 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 87 61 22 1 25% 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 25 10 0 24% 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 50 32 0 0% docker/utils/proxy.py 32 22 12 0 23% docker/utils/socket.py 86 64 40 0 17% docker/utils/utils.py 285 244 177 1 9% docker/version.py 2 0 2 0 100% ----------------------------------------------------------------------- TOTAL 4889 3751 2169 4 16% !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! ===================== 1 warnings, 1 error in 1.15 seconds ====================== b32f6bf7d96d: Pull complete 6f4489a7e4cf: Pull complete [Pipeline] sh af4b99ad9ef0: Pull complete + docker stop dpy-dind-1-0-py3.7-19.03.13-beta2 dpy-tests-1-0-py3.7-19.03.13-beta2 39db0bc48c26: Pull complete acb4a89489fc: Pull complete 67bf5e489e70: Pull complete feb4c910b379: Pull complete 69aac06b5705: Pull complete abcee8100f69: Pull complete 27e8edc25577: Pull complete 615adcdb9fee: Pull complete 8f849d5f3f8c: Pull complete ce2d8b42d2e8: Pull complete 3540ba12e7a9: Pull complete e33e1f27b72d: Pull complete dpy-dind-1-0-py3.7-19.03.13-beta2 dpy-tests-1-0-py3.7-19.03.13-beta2 + docker rm -vf dpy-dind-1-0-py3.7-19.03.13-beta2 dpy-tests-1-0-py3.7-19.03.13-beta2 dpy-dind-1-0-py3.7-19.03.13-beta2 dpy-tests-1-0-py3.7-19.03.13-beta2 + docker network rm dpy-testnet-1-0-py3.7-19.03.13-beta2 dpy-testnet-1-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 96d88c9e244c: Pull complete 8a33ab26d583: Pull complete 7108c207f8c9: Pull complete a3df6d2bf9ae: Pull complete 7d3443626aa9: Pull complete Digest: sha256:a9b16885145ca1bd0e8c8ee0026ee83993e821a5344088e2c4866733d9c615c4 Status: Downloaded newer image for dockerbuildbot/docker-py:py2-2d219ff739cbb743db5fd6d5e2988cede39a03e8 ============================= 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: cov-2.6.1, timeout-1.3.3 collecting ... collected 0 items / 1 errors ==================================== ERRORS ==================================== ______________________________ ERROR collecting _______________________________ /usr/local/lib/python2.7/site-packages/py/_path/common.py:383: in visit for x in Visitor(fil, rec, ignore, bf, sort).gen(self): /usr/local/lib/python2.7/site-packages/py/_path/common.py:425: in gen if p.check(dir=1) and (rec is None or rec(p))]) /usr/local/lib/python2.7/site-packages/_pytest/main.py:651: in _recurse ihook = self.gethookproxy(dirpath) /usr/local/lib/python2.7/site-packages/_pytest/main.py:472: in gethookproxy my_conftestmodules = pm._getconftestmodules(fspath) /usr/local/lib/python2.7/site-packages/_pytest/config/__init__.py:413: in _getconftestmodules mod = self._importconftest(conftestpath.realpath()) /usr/local/lib/python2.7/site-packages/_pytest/config/__init__.py:452: in _importconftest raise ConftestImportFailure(conftestpath, sys.exc_info()) E ConftestImportFailure: (local('/src/tests/integration/conftest.py'), (, IndentationError('expected an indented block', ('/src/docker/context/context.py', 189, 0, '<<<<<<< HEAD\n')), )) ---------- coverage: platform linux2, python 2.7.18-final-0 ---------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 5 0 0 38% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 112 92 0 6% docker/api/client.py 265 200 98 0 18% 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 149 116 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 159 74 0 14% docker/client.py 67 25 2 0 61% docker/constants.py 20 0 0 0 100% docker/context/__init__.py 2 1 0 0 50% docker/context/api.py 78 78 38 0 0% docker/context/config.py 61 61 16 0 0% 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 87 61 22 1 25% 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 25 10 0 24% 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 50 28 0 0% docker/utils/proxy.py 32 22 12 0 23% docker/utils/socket.py 86 64 40 0 17% docker/utils/utils.py 285 243 164 1 10% docker/version.py 2 0 0 0 100% ----------------------------------------------------------------------- TOTAL 4889 3748 2103 4 16% !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! =========================== 1 error in 0.96 seconds ============================ [Pipeline] sh + docker stop dpy-dind-1-0-py2.7-19.03.13-beta2 dpy-tests-1-0-py2.7-19.03.13-beta2 dpy-dind-1-0-py2.7-19.03.13-beta2 dpy-tests-1-0-py2.7-19.03.13-beta2 + docker rm -vf dpy-dind-1-0-py2.7-19.03.13-beta2 dpy-tests-1-0-py2.7-19.03.13-beta2 dpy-dind-1-0-py2.7-19.03.13-beta2 dpy-tests-1-0-py2.7-19.03.13-beta2 + docker network rm dpy-testnet-1-0-py2.7-19.03.13-beta2 dpy-testnet-1-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