Pull request #2726 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 0990cf3f2bd3cd88adca9e5f95914611912212be+4757eea80c49b7d593537ea9a0b9e5b398570745 (a3b03fa0e8fd76e22fce507d273e89d38ea7da70) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 using credential jps-reader > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --force --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 # timeout=10 Commit message: "Merge pull request #25 from ingshtrom/in-2733-load-from-file" > git rev-list --no-walk 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 # timeout=10 Excluding src/test/ from checkout of git https://github.com/docker/jps.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘EC2 (managed-agents) - ubuntu-1804-overlay2 (i-05a999c3a023d3e42)’ Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) in /home/ubuntu/workspace/docker-py_PR-2726 [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-2726@tmp/f0bfc453-2f8a-43f3-bf20-0541efa38fc9/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-2726:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox ea97eb0eb3ec: Pulling fs layer ea97eb0eb3ec: Verifying Checksum ea97eb0eb3ec: Download complete ea97eb0eb3ec: Pull complete Digest: sha256:bde48e1751173b709090c2539fdf12d6ba64e88ec7a4301591227ce925f3c678 Status: Downloaded newer image for busybox:latest [Pipeline] echo Removing all docker containers [Pipeline] sh + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (build image) [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2726 # 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/2726/head:refs/remotes/origin/PR-2726 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 4757eea80c49b7d593537ea9a0b9e5b398570745 into PR head commit 0990cf3f2bd3cd88adca9e5f95914611912212be Merge succeeded, producing 0990cf3f2bd3cd88adca9e5f95914611912212be Checking out Revision 0990cf3f2bd3cd88adca9e5f95914611912212be (PR-2726) > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2726/head:refs/remotes/origin/PR-2726 # 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/2726/head:refs/remotes/origin/PR-2726 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0990cf3f2bd3cd88adca9e5f95914611912212be # 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 4757eea80c49b7d593537ea9a0b9e5b398570745 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0990cf3f2bd3cd88adca9e5f95914611912212be # timeout=10 Commit message: "Avoid setting unsuported parameter for subprocess.Popen on Windows" First time build. Skipping changelog. > git rev-list --no-walk d239e37c092375d83e3414bb572813f1b9250fe7 # timeout=10 [Pipeline] sh + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker pull dockerbuildbot/docker-py:sshdind-0990cf3f2bd3cd88adca9e5f95914611912212be $ 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-2726@tmp/26448c90-cf82-4fde-8220-2c5d24d2509b/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded Error response from daemon: manifest for dockerbuildbot/docker-py:sshdind-0990cf3f2bd3cd88adca9e5f95914611912212be not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerbuildbot/docker-py:sshdind-0990cf3f2bd3cd88adca9e5f95914611912212be -f tests/Dockerfile-ssh-dind . Sending build context to Docker daemon 1.37MB Step 1/11 : ARG API_VERSION=1.39 Step 2/11 : ARG ENGINE_VERSION=19.03.12 Step 3/11 : FROM docker:${ENGINE_VERSION}-dind 19.03.12-dind: Pulling from library/docker df20fa9351a1: Pulling fs layer 25ad7478873d: Pulling fs layer 4684f6177b5d: Pulling fs layer 46e300cec669: Pulling fs layer 63038576ad94: Pulling fs layer 0fdb76c4706c: Pulling fs layer cb7edeffdfd5: Pulling fs layer cc28bd76800f: Pulling fs layer 54196fe38f7e: Pulling fs layer ea71acc29633: Pulling fs layer 657cc4c15165: Pulling fs layer 46e300cec669: Waiting 63038576ad94: Waiting 0fdb76c4706c: Waiting cb7edeffdfd5: Waiting cc28bd76800f: Waiting 54196fe38f7e: Waiting ea71acc29633: Waiting 657cc4c15165: Waiting df20fa9351a1: Verifying Checksum df20fa9351a1: Download complete 4684f6177b5d: Verifying Checksum 4684f6177b5d: Download complete 25ad7478873d: Verifying Checksum 25ad7478873d: Download complete 0fdb76c4706c: Verifying Checksum 0fdb76c4706c: Download complete 63038576ad94: Verifying Checksum 63038576ad94: Download complete cb7edeffdfd5: Verifying Checksum cb7edeffdfd5: Download complete 54196fe38f7e: Verifying Checksum 54196fe38f7e: Download complete cc28bd76800f: Verifying Checksum cc28bd76800f: Download complete ea71acc29633: Verifying Checksum ea71acc29633: Download complete 657cc4c15165: Verifying Checksum 657cc4c15165: Download complete df20fa9351a1: Pull complete 25ad7478873d: Pull complete 46e300cec669: Verifying Checksum 46e300cec669: Download complete 4684f6177b5d: Pull complete 46e300cec669: Pull complete 63038576ad94: Pull complete 0fdb76c4706c: Pull complete cb7edeffdfd5: Pull complete cc28bd76800f: Pull complete 54196fe38f7e: Pull complete ea71acc29633: Pull complete 657cc4c15165: Pull complete Digest: sha256:674f1f40ff7c8ac14f5d8b6b28d8fb1f182647ff75304d018003f1e21a0d8771 Status: Downloaded newer image for docker:19.03.12-dind ---> 66dc2d45749a Step 4/11 : RUN apk add --no-cache openssh ---> Running in 5c2561fc4e56 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz (1/4) Installing openssh-sftp-server (8.3_p1-r1) (2/4) Installing openssh-server-common (8.3_p1-r1) (3/4) Installing openssh-server (8.3_p1-r1) (4/4) Installing openssh (8.3_p1-r1) Executing busybox-1.31.1-r16.trigger OK: 28 MiB in 51 packages Removing intermediate container 5c2561fc4e56 ---> 399267cde5cb Step 5/11 : RUN ssh-keygen -A ---> Running in 028c61ffd65c ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 Removing intermediate container 028c61ffd65c ---> cde986f401e6 Step 6/11 : RUN echo "IgnoreUserKnownHosts yes" > /etc/ssh/sshd_config && echo "PubkeyAuthentication yes" >> /etc/ssh/sshd_config && echo "PermitRootLogin yes" >> /etc/ssh/sshd_config ---> Running in 9a10b6640aba Removing intermediate container 9a10b6640aba ---> 04417b408341 Step 7/11 : COPY tests/ssh-keys/authorized_keys /root/.ssh/authorized_keys ---> 2edb27a98f0e Step 8/11 : RUN chmod 600 /root/.ssh/authorized_keys ---> Running in 99a7c91ad4a6 Removing intermediate container 99a7c91ad4a6 ---> 366b8d271221 Step 9/11 : RUN echo "root:root" | chpasswd ---> Running in 9dad93fb5f3e chpasswd: password for 'root' changed Removing intermediate container 9dad93fb5f3e ---> 4e5ce2fb69b5 Step 10/11 : RUN ln -s /usr/local/bin/docker /usr/bin/docker ---> Running in ae9e02e526bf Removing intermediate container ae9e02e526bf ---> 99398efd9af6 Step 11/11 : EXPOSE 22 ---> Running in 0ccf730b37ba Removing intermediate container 0ccf730b37ba ---> 4986a15d9004 Successfully built 4986a15d9004 Successfully tagged dockerbuildbot/docker-py:sshdind-0990cf3f2bd3cd88adca9e5f95914611912212be [Pipeline] isUnix [Pipeline] sh + docker tag dockerbuildbot/docker-py:sshdind-0990cf3f2bd3cd88adca9e5f95914611912212be dockerbuildbot/docker-py:sshdind-0990cf3f2bd3cd88adca9e5f95914611912212be [Pipeline] isUnix [Pipeline] sh + docker push dockerbuildbot/docker-py:sshdind-0990cf3f2bd3cd88adca9e5f95914611912212be The push refers to repository [docker.io/dockerbuildbot/docker-py] 6b3adeaae279: Preparing 9b012fd8396d: Preparing b14646be1d35: Preparing a23250b9f750: Preparing 880ad9bee0cd: Preparing c779fac1b2df: Preparing 88181b1499ec: Preparing 1149e736aa92: Preparing 39e79983ac8b: Preparing da8c28465f82: Preparing d1292e236c36: Preparing 8890c171a12b: Preparing 4ae5bd84d450: Preparing 723a561964c8: Preparing 78764725b56c: Preparing 51d6d3d09136: Preparing 1507bc794612: Preparing 50644c29ef5a: Preparing da8c28465f82: Waiting d1292e236c36: Waiting 8890c171a12b: Waiting 4ae5bd84d450: Waiting 723a561964c8: Waiting 78764725b56c: Waiting 51d6d3d09136: Waiting 1507bc794612: Waiting 50644c29ef5a: Waiting c779fac1b2df: Waiting 88181b1499ec: Waiting 1149e736aa92: Waiting 39e79983ac8b: Waiting a23250b9f750: Pushed 9b012fd8396d: Pushed 880ad9bee0cd: Pushed 1149e736aa92: Layer already exists 39e79983ac8b: Layer already exists da8c28465f82: Layer already exists d1292e236c36: Layer already exists 8890c171a12b: Layer already exists 4ae5bd84d450: Layer already exists 723a561964c8: Layer already exists 78764725b56c: Layer already exists 51d6d3d09136: Layer already exists 1507bc794612: Layer already exists 50644c29ef5a: Layer already exists 6b3adeaae279: Pushed b14646be1d35: Pushed c779fac1b2df: Pushed 88181b1499ec: Pushed sshdind-0990cf3f2bd3cd88adca9e5f95914611912212be: digest: sha256:74675d68c3295ef8ef24c9c322b266b66f380fc7dd097d7727b1150ab987803d size: 4067 [Pipeline] isUnix [Pipeline] sh + docker pull dockerbuildbot/docker-py:py2-0990cf3f2bd3cd88adca9e5f95914611912212be Error response from daemon: manifest for dockerbuildbot/docker-py:py2-0990cf3f2bd3cd88adca9e5f95914611912212be not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerbuildbot/docker-py:py2-0990cf3f2bd3cd88adca9e5f95914611912212be -f tests/Dockerfile --build-arg PYTHON_VERSION=2.7 . Sending build context to Docker daemon 1.37MB Step 1/21 : ARG PYTHON_VERSION=3.7 Step 2/21 : FROM python:${PYTHON_VERSION} 2.7: Pulling from library/python 7e2b2a5af8f6: Pulling fs layer 09b6f03ffac4: Pulling fs layer dc3f0c679f0f: Pulling fs layer fd4b47407fc3: Pulling fs layer b32f6bf7d96d: Pulling fs layer 6f4489a7e4cf: Pulling fs layer af4b99ad9ef0: Pulling fs layer 39db0bc48c26: Pulling fs layer acb4a89489fc: Pulling fs layer b32f6bf7d96d: Waiting 6f4489a7e4cf: Waiting af4b99ad9ef0: Waiting 39db0bc48c26: Waiting acb4a89489fc: Waiting fd4b47407fc3: Waiting 09b6f03ffac4: Verifying Checksum 09b6f03ffac4: Download complete dc3f0c679f0f: Verifying Checksum dc3f0c679f0f: Download complete 7e2b2a5af8f6: Verifying Checksum 7e2b2a5af8f6: Download complete 6f4489a7e4cf: Verifying Checksum 6f4489a7e4cf: Download complete fd4b47407fc3: Verifying Checksum fd4b47407fc3: Download complete af4b99ad9ef0: Verifying Checksum af4b99ad9ef0: Download complete 39db0bc48c26: Verifying Checksum 39db0bc48c26: Download complete acb4a89489fc: Verifying Checksum acb4a89489fc: Download complete b32f6bf7d96d: Verifying Checksum b32f6bf7d96d: Download complete 7e2b2a5af8f6: Pull complete 09b6f03ffac4: Pull complete dc3f0c679f0f: Pull complete fd4b47407fc3: Pull complete b32f6bf7d96d: Pull complete 6f4489a7e4cf: Pull complete af4b99ad9ef0: Pull complete 39db0bc48c26: Pull complete acb4a89489fc: Pull complete Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d Status: Downloaded newer image for python:2.7 ---> 68e7be49c28c Step 3/21 : ARG APT_MIRROR ---> Running in 185f670097be Removing intermediate container 185f670097be ---> 903901bb9fa9 Step 4/21 : RUN sed -ri "s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g" /etc/apt/sources.list && sed -ri "s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g" /etc/apt/sources.list ---> Running in d69d886a8f0b Removing intermediate container d69d886a8f0b ---> cf1a824f3206 Step 5/21 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass ---> Running in e9bafe088e90 Get:1 http://deb.debian.org/debian buster InRelease [121 kB] Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB] Get:5 http://deb.debian.org/debian buster-updates/main amd64 Packages [7856 B] Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [256 kB] Fetched 8410 kB in 2s (3643 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: tree Suggested packages: libxml-simple-perl ruby Recommended packages: qrencode xclip The following NEW packages will be installed: gnupg2 pass tree 0 upgraded, 3 newly installed, 0 to remove and 78 not upgraded. Need to get 481 kB of archives. After this operation, 684 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 gnupg2 all 2.2.12-1+deb10u1 [393 kB] Get:2 http://deb.debian.org/debian buster/main amd64 tree amd64 1.8.0-1 [49.3 kB] Get:3 http://deb.debian.org/debian buster/main amd64 pass all 1.7.3-2 [39.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 481 kB in 0s (1804 kB/s) Selecting previously unselected package gnupg2. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 24538 files and directories currently installed.) Preparing to unpack .../gnupg2_2.2.12-1+deb10u1_all.deb ... Unpacking gnupg2 (2.2.12-1+deb10u1) ... Selecting previously unselected package tree. Preparing to unpack .../tree_1.8.0-1_amd64.deb ... Unpacking tree (1.8.0-1) ... Selecting previously unselected package pass. Preparing to unpack .../archives/pass_1.7.3-2_all.deb ... Unpacking pass (1.7.3-2) ... Setting up gnupg2 (2.2.12-1+deb10u1) ... Setting up tree (1.8.0-1) ... Setting up pass (1.7.3-2) ... Removing intermediate container e9bafe088e90 ---> bd0e38965dc5 Step 6/21 : COPY tests/ssh-keys /root/.ssh ---> 9da1fc7c2e30 Step 7/21 : RUN chmod -R 600 /root/.ssh ---> Running in f4cce4ddd257 Removing intermediate container f4cce4ddd257 ---> 44361d3218d8 Step 8/21 : COPY ./tests/gpg-keys /gpg-keys ---> e877700fec26 Step 9/21 : RUN gpg2 --import gpg-keys/secret ---> Running in 40f308e3fb6d 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 40f308e3fb6d ---> 5cfcd92b68e7 Step 10/21 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in 3bb98e11b2c8 gpg: inserting ownertrust of 6 Removing intermediate container 3bb98e11b2c8 ---> ab46e5d0054f Step 11/21 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in d8dfcac72a0e gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container d8dfcac72a0e ---> 1b0b910ea0d2 Step 12/21 : RUN gpg2 --check-trustdb ---> Running in ab672007c5a1 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 ab672007c5a1 ---> 6db1d179e0d2 Step 13/21 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in 9c9dd932cd0d Removing intermediate container 9c9dd932cd0d ---> 7b21b5e141f7 Step 14/21 : RUN curl -sSL -o /opt/docker-credential-pass.tar.gz https://github.com/docker/docker-credential-helpers/releases/download/$CREDSTORE_VERSION/docker-credential-pass-$CREDSTORE_VERSION-amd64.tar.gz && tar -xf /opt/docker-credential-pass.tar.gz -O > /usr/local/bin/docker-credential-pass && rm -rf /opt/docker-credential-pass.tar.gz && chmod +x /usr/local/bin/docker-credential-pass ---> Running in c6a51af4753a Removing intermediate container c6a51af4753a ---> c1ca66b4e401 Step 15/21 : WORKDIR /src ---> Running in 2c6e3c356a52 Removing intermediate container 2c6e3c356a52 ---> 5d6e64068b76 Step 16/21 : COPY requirements.txt /src/requirements.txt ---> 98b7187f4b41 Step 17/21 : RUN pip install -r requirements.txt ---> Running in 30470bea7cb4 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment Requirement already satisfied: appdirs==1.4.3 in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 1)) (1.4.3) Collecting asn1crypto==0.22.0 Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97 kB) Collecting backports.ssl-match-hostname==3.5.0.1 Downloading backports.ssl_match_hostname-3.5.0.1.tar.gz (5.6 kB) Collecting cffi==1.10.0 Downloading cffi-1.10.0-cp27-cp27mu-manylinux1_x86_64.whl (392 kB) Collecting cryptography==3.2 Downloading cryptography-3.2-cp27-cp27mu-manylinux2010_x86_64.whl (2.7 MB) Collecting enum34==1.1.6 Downloading enum34-1.1.6-py2-none-any.whl (12 kB) Collecting idna==2.5 Downloading idna-2.5-py2.py3-none-any.whl (55 kB) Collecting ipaddress==1.0.18 Downloading ipaddress-1.0.18-py2-none-any.whl (17 kB) Collecting packaging==16.8 Downloading packaging-16.8-py2.py3-none-any.whl (23 kB) Collecting paramiko==2.4.2 Downloading paramiko-2.4.2-py2.py3-none-any.whl (193 kB) Collecting pycparser==2.17 Downloading pycparser-2.17.tar.gz (231 kB) Collecting pyOpenSSL==18.0.0 Downloading pyOpenSSL-18.0.0-py2.py3-none-any.whl (53 kB) Collecting pyparsing==2.2.0 Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56 kB) Collecting requests==2.20.0 Downloading requests-2.20.0-py2.py3-none-any.whl (60 kB) Collecting six==1.10.0 Downloading six-1.10.0-py2.py3-none-any.whl (10 kB) Collecting urllib3==1.24.3 Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB) Collecting websocket-client==0.56.0 Downloading websocket_client-0.56.0-py2.py3-none-any.whl (200 kB) Collecting pyasn1>=0.1.7 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting pynacl>=1.0.1 Downloading PyNaCl-1.4.0-cp27-cp27mu-manylinux1_x86_64.whl (964 kB) Collecting bcrypt>=3.1.3 Downloading bcrypt-3.1.7-cp27-cp27mu-manylinux1_x86_64.whl (59 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB) Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Building wheels for collected packages: backports.ssl-match-hostname, pycparser Building wheel for backports.ssl-match-hostname (setup.py): started Building wheel for backports.ssl-match-hostname (setup.py): finished with status 'done' Created wheel for backports.ssl-match-hostname: filename=backports.ssl_match_hostname-3.5.0.1-py2-none-any.whl size=5209 sha256=4c818709e7943269861ab8ef953a6290d6dcd279d84b7472c95200f2a1dc23e0 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=f0a9f3077b6fb01284fc59456185180277a943f510996356ea8a334f442b3bdd Stored in directory: /root/.cache/pip/wheels/03/08/f2/bf70552f051cd78e9d8fe7d196ef762858dcfa156965e3a1e3 Successfully built backports.ssl-match-hostname pycparser Installing collected packages: asn1crypto, backports.ssl-match-hostname, pycparser, cffi, ipaddress, six, enum34, cryptography, idna, pyparsing, packaging, pyasn1, pynacl, bcrypt, paramiko, pyOpenSSL, certifi, chardet, urllib3, requests, websocket-client Attempting uninstall: six Found existing installation: six 1.14.0 Uninstalling six-1.14.0: Successfully uninstalled six-1.14.0 Successfully installed asn1crypto-0.22.0 backports.ssl-match-hostname-3.5.0.1 bcrypt-3.1.7 certifi-2020.12.5 cffi-1.10.0 chardet-3.0.4 cryptography-3.2 enum34-1.1.6 idna-2.5 ipaddress-1.0.18 packaging-16.8 paramiko-2.4.2 pyOpenSSL-18.0.0 pyasn1-0.4.8 pycparser-2.17 pynacl-1.4.0 pyparsing-2.2.0 requests-2.20.0 six-1.10.0 urllib3-1.24.3 websocket-client-0.56.0 WARNING: You are using pip version 20.0.2; however, version 20.3.3 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container 30470bea7cb4 ---> 9df261ad3a5c Step 18/21 : COPY test-requirements.txt /src/test-requirements.txt ---> 309cdabbe48e Step 19/21 : RUN pip install -r test-requirements.txt ---> Running in 8347edc4d573 /usr/local/lib/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release. from cryptography import x509 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting setuptools==44.0.0 Downloading setuptools-44.0.0-py2.py3-none-any.whl (583 kB) Collecting coverage==4.5.2 Downloading coverage-4.5.2-cp27-cp27mu-manylinux1_x86_64.whl (201 kB) Collecting flake8==3.6.0 Downloading flake8-3.6.0-py2.py3-none-any.whl (68 kB) Collecting mock==1.0.1 Downloading mock-1.0.1.tar.gz (818 kB) Collecting pytest==4.3.1 Downloading pytest-4.3.1-py2.py3-none-any.whl (219 kB) Collecting pytest-cov==2.6.1 Downloading pytest_cov-2.6.1-py2.py3-none-any.whl (16 kB) Collecting pytest-timeout==1.3.3 Downloading pytest_timeout-1.3.3-py2.py3-none-any.whl (9.8 kB) Collecting pyflakes<2.1.0,>=2.0.0 Downloading pyflakes-2.0.0-py2.py3-none-any.whl (53 kB) Requirement already satisfied: configparser; python_version < "3.2" in /usr/local/lib/python2.7/site-packages (from flake8==3.6.0->-r test-requirements.txt (line 3)) (4.0.2) Requirement already satisfied: enum34; python_version < "3.4" in /usr/local/lib/python2.7/site-packages (from flake8==3.6.0->-r test-requirements.txt (line 3)) (1.1.6) Collecting pycodestyle<2.5.0,>=2.4.0 Downloading pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB) Collecting mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python2.7/site-packages (from pytest==4.3.1->-r test-requirements.txt (line 5)) (1.10.0) Requirement already satisfied: pathlib2>=2.2.0; python_version < "3.6" in /usr/local/lib/python2.7/site-packages (from pytest==4.3.1->-r test-requirements.txt (line 5)) (2.3.5) Collecting py>=1.5.0 Downloading py-1.10.0-py2.py3-none-any.whl (97 kB) Collecting attrs>=17.4.0 Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB) Collecting more-itertools<6.0.0,>=4.0.0; python_version <= "2.7" Downloading more_itertools-5.0.0-py2-none-any.whl (52 kB) Collecting atomicwrites>=1.0 Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB) Collecting pluggy>=0.7 Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB) Collecting funcsigs; python_version < "3.0" Downloading funcsigs-1.0.2-py2.py3-none-any.whl (17 kB) Requirement already satisfied: scandir; python_version < "3.5" in /usr/local/lib/python2.7/site-packages (from pathlib2>=2.2.0; python_version < "3.6"->pytest==4.3.1->-r test-requirements.txt (line 5)) (1.10.0) Requirement already satisfied: importlib-metadata>=0.12; python_version < "3.8" in /usr/local/lib/python2.7/site-packages (from pluggy>=0.7->pytest==4.3.1->-r test-requirements.txt (line 5)) (1.6.0) Requirement already satisfied: contextlib2; python_version < "3" in /usr/local/lib/python2.7/site-packages (from importlib-metadata>=0.12; python_version < "3.8"->pluggy>=0.7->pytest==4.3.1->-r test-requirements.txt (line 5)) (0.6.0.post1) Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python2.7/site-packages (from importlib-metadata>=0.12; python_version < "3.8"->pluggy>=0.7->pytest==4.3.1->-r test-requirements.txt (line 5)) (1.2.0) Building wheels for collected packages: mock Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py2-none-any.whl size=23755 sha256=37a4b6ec7ca2be5d01d0fd401cd6561527b5915dcb4ad3490744e7971d527d2f Stored in directory: /root/.cache/pip/wheels/ad/62/e0/a06cc957652749e64c7904e899eca3ecb2ec47c60d52653660 Successfully built mock Installing collected packages: setuptools, coverage, pyflakes, pycodestyle, mccabe, flake8, mock, py, attrs, more-itertools, atomicwrites, pluggy, funcsigs, pytest, pytest-cov, pytest-timeout Attempting uninstall: setuptools Found existing installation: setuptools 44.1.0 Uninstalling setuptools-44.1.0: Successfully uninstalled setuptools-44.1.0 Successfully installed atomicwrites-1.4.0 attrs-20.3.0 coverage-4.5.2 flake8-3.6.0 funcsigs-1.0.2 mccabe-0.6.1 mock-1.0.1 more-itertools-5.0.0 pluggy-0.13.1 py-1.10.0 pycodestyle-2.4.0 pyflakes-2.0.0 pytest-4.3.1 pytest-cov-2.6.1 pytest-timeout-1.3.3 setuptools-44.0.0 WARNING: You are using pip version 20.0.2; however, version 20.3.3 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container 8347edc4d573 ---> f38587d7ebfe Step 20/21 : COPY . /src ---> 07ceb9624616 Step 21/21 : RUN pip install . ---> Running in 5c2f32aaf7bd /usr/local/lib/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release. from cryptography import x509 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Processing /src Requirement already satisfied: six>=1.4.0 in /usr/local/lib/python2.7/site-packages (from docker==4.5.0.dev0) (1.10.0) Requirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python2.7/site-packages (from docker==4.5.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.5.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.5.0.dev0) (3.5.0.1) Requirement already satisfied: ipaddress>=1.0.16 in /usr/local/lib/python2.7/site-packages (from docker==4.5.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.5.0.dev0) (2020.12.5) Requirement already satisfied: idna<2.8,>=2.5 in /usr/local/lib/python2.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.5.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.5.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.5.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.5.0.dev0-py2.py3-none-any.whl size=146864 sha256=1b8fe587729c8277a9095ccc61ddbda332ee730e799d15b485da9e82252e8c26 Stored in directory: /tmp/pip-ephem-wheel-cache-fXj3iZ/wheels/dc/45/28/050a7fcd95fc9b9f504d64d6668214323c48b439857458e65c Successfully built docker Installing collected packages: docker Successfully installed docker-4.5.0.dev0 WARNING: You are using pip version 20.0.2; however, version 20.3.3 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container 5c2f32aaf7bd ---> 0cc0e72eeedb Successfully built 0cc0e72eeedb Successfully tagged dockerbuildbot/docker-py:py2-0990cf3f2bd3cd88adca9e5f95914611912212be [Pipeline] isUnix [Pipeline] sh + docker tag dockerbuildbot/docker-py:py2-0990cf3f2bd3cd88adca9e5f95914611912212be dockerbuildbot/docker-py:py2-0990cf3f2bd3cd88adca9e5f95914611912212be [Pipeline] isUnix [Pipeline] sh + docker push dockerbuildbot/docker-py:py2-0990cf3f2bd3cd88adca9e5f95914611912212be The push refers to repository [docker.io/dockerbuildbot/docker-py] f7360de070e1: Preparing 67a6d5e00a9f: Preparing 4ff3a919ddda: Preparing 02984004efef: Preparing 21c0151e9a1b: Preparing 59b7416b12f4: Preparing ee3a44f8a053: Preparing c6dacb4e46f8: Preparing 1c4e3f1e8fac: Preparing 31d129810b56: Preparing 7582aebc302a: Preparing 09646115eaa1: Preparing 0c44fb2f8059: Preparing 513df9ef56a6: Preparing 457e463bec92: Preparing 86e8848a082f: Preparing 7219c972bc74: Preparing e571d2d3c73c: Preparing da7b0a80a4f2: Preparing ceee8816bb96: Preparing 47458fb45d99: Preparing 46829331b1e4: Preparing d35c5bda4793: Preparing a3c1026c6bcc: Preparing f1d420c2af1a: Preparing 461719022993: Preparing 59b7416b12f4: Waiting ee3a44f8a053: Waiting c6dacb4e46f8: Waiting 1c4e3f1e8fac: Waiting 31d129810b56: Waiting 7582aebc302a: Waiting 09646115eaa1: Waiting 0c44fb2f8059: Waiting 513df9ef56a6: Waiting 457e463bec92: Waiting 86e8848a082f: Waiting 7219c972bc74: Waiting e571d2d3c73c: Waiting da7b0a80a4f2: Waiting ceee8816bb96: Waiting 47458fb45d99: Waiting 46829331b1e4: Waiting d35c5bda4793: Waiting a3c1026c6bcc: Waiting f1d420c2af1a: Waiting 461719022993: Waiting 02984004efef: Pushed f7360de070e1: Pushed 67a6d5e00a9f: Pushed 4ff3a919ddda: Pushed ee3a44f8a053: Pushed 21c0151e9a1b: Pushed 1c4e3f1e8fac: Pushed c6dacb4e46f8: Pushed 31d129810b56: Pushed 59b7416b12f4: Pushed 0c44fb2f8059: Pushed 7582aebc302a: Pushed 09646115eaa1: Pushed e571d2d3c73c: Layer already exists da7b0a80a4f2: Layer already exists ceee8816bb96: Layer already exists 47458fb45d99: Layer already exists 46829331b1e4: Layer already exists d35c5bda4793: Layer already exists a3c1026c6bcc: Layer already exists f1d420c2af1a: Layer already exists 461719022993: Layer already exists 457e463bec92: Pushed 7219c972bc74: Pushed 513df9ef56a6: Pushed 86e8848a082f: Pushed py2-0990cf3f2bd3cd88adca9e5f95914611912212be: digest: sha256:d550df4e4ddbe852afe2953f99414f93088838c9317fbfc880db4756128e13f2 size: 5769 [Pipeline] isUnix [Pipeline] sh + docker pull dockerbuildbot/docker-py:py3-0990cf3f2bd3cd88adca9e5f95914611912212be Error response from daemon: manifest for dockerbuildbot/docker-py:py3-0990cf3f2bd3cd88adca9e5f95914611912212be not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerbuildbot/docker-py:py3-0990cf3f2bd3cd88adca9e5f95914611912212be -f tests/Dockerfile --build-arg PYTHON_VERSION=3.7 . Sending build context to Docker daemon 1.37MB Step 1/21 : ARG PYTHON_VERSION=3.7 Step 2/21 : FROM python:${PYTHON_VERSION} 3.7: Pulling from library/python 6c33745f49b4: Pulling fs layer ef072fc32a84: Pulling fs layer c0afb8e68e0b: Pulling fs layer d599c07d28e6: Pulling fs layer f2ecc74db11a: Pulling fs layer 26856d31ce86: Pulling fs layer d4db05d8da44: Pulling fs layer a63ae5575b2c: Pulling fs layer a8c72204fafe: Pulling fs layer d599c07d28e6: Waiting f2ecc74db11a: Waiting 26856d31ce86: Waiting d4db05d8da44: Waiting a63ae5575b2c: Waiting a8c72204fafe: Waiting ef072fc32a84: Verifying Checksum ef072fc32a84: Download complete c0afb8e68e0b: Verifying Checksum c0afb8e68e0b: Download complete 6c33745f49b4: Verifying Checksum 6c33745f49b4: Download complete d599c07d28e6: Verifying Checksum d599c07d28e6: Download complete 26856d31ce86: Verifying Checksum 26856d31ce86: Download complete a63ae5575b2c: Verifying Checksum a63ae5575b2c: Download complete a8c72204fafe: Verifying Checksum a8c72204fafe: Download complete d4db05d8da44: Verifying Checksum d4db05d8da44: Download complete f2ecc74db11a: Verifying Checksum f2ecc74db11a: Download complete 6c33745f49b4: Pull complete ef072fc32a84: Pull complete c0afb8e68e0b: Pull complete d599c07d28e6: Pull complete f2ecc74db11a: Pull complete 26856d31ce86: Pull complete d4db05d8da44: Pull complete a63ae5575b2c: Pull complete a8c72204fafe: Pull complete Digest: sha256:bdd950df83006ce9e7f7f9cb878a2ca72e945f3cbd37faef07509c8510d22ba8 Status: Downloaded newer image for python:3.7 ---> 978a47fa762f Step 3/21 : ARG APT_MIRROR ---> Running in 6de11d2de2d7 Removing intermediate container 6de11d2de2d7 ---> eeb852ab6246 Step 4/21 : RUN sed -ri "s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g" /etc/apt/sources.list && sed -ri "s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g" /etc/apt/sources.list ---> Running in aa02219be194 Removing intermediate container aa02219be194 ---> 6d170b203c32 Step 5/21 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass ---> Running in 4afcd8d36f37 Get:1 http://deb.debian.org/debian buster InRelease [121 kB] Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB] Get:5 http://security.debian.org/debian-security buster/updates/main amd64 Packages [256 kB] Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7856 B] Fetched 8410 kB in 3s (3309 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: tree Suggested packages: libxml-simple-perl ruby Recommended packages: qrencode xclip The following NEW packages will be installed: gnupg2 pass tree 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 481 kB of archives. After this operation, 684 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 gnupg2 all 2.2.12-1+deb10u1 [393 kB] Get:2 http://deb.debian.org/debian buster/main amd64 tree amd64 1.8.0-1 [49.3 kB] Get:3 http://deb.debian.org/debian buster/main amd64 pass all 1.7.3-2 [39.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 481 kB in 0s (1805 kB/s) Selecting previously unselected package gnupg2. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 24600 files and directories currently installed.) Preparing to unpack .../gnupg2_2.2.12-1+deb10u1_all.deb ... Unpacking gnupg2 (2.2.12-1+deb10u1) ... Selecting previously unselected package tree. Preparing to unpack .../tree_1.8.0-1_amd64.deb ... Unpacking tree (1.8.0-1) ... Selecting previously unselected package pass. Preparing to unpack .../archives/pass_1.7.3-2_all.deb ... Unpacking pass (1.7.3-2) ... Setting up gnupg2 (2.2.12-1+deb10u1) ... Setting up tree (1.8.0-1) ... Setting up pass (1.7.3-2) ... Removing intermediate container 4afcd8d36f37 ---> 41468ae07cb9 Step 6/21 : COPY tests/ssh-keys /root/.ssh ---> 3a9d72c59bfc Step 7/21 : RUN chmod -R 600 /root/.ssh ---> Running in 1cccf2d31cb2 Removing intermediate container 1cccf2d31cb2 ---> 95a7d665a32a Step 8/21 : COPY ./tests/gpg-keys /gpg-keys ---> b320316f8007 Step 9/21 : RUN gpg2 --import gpg-keys/secret ---> Running in f2e654b70380 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 f2e654b70380 ---> bfee12223407 Step 10/21 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in a1e5cebbecce gpg: inserting ownertrust of 6 Removing intermediate container a1e5cebbecce ---> 0575ee4cdcab Step 11/21 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in 1e4ede716709 gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container 1e4ede716709 ---> 6eb536fa24b6 Step 12/21 : RUN gpg2 --check-trustdb ---> Running in 34dd2c720266 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 34dd2c720266 ---> fbace41e9d38 Step 13/21 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in 2972d67d5275 Removing intermediate container 2972d67d5275 ---> 38150440ade1 Step 14/21 : RUN curl -sSL -o /opt/docker-credential-pass.tar.gz https://github.com/docker/docker-credential-helpers/releases/download/$CREDSTORE_VERSION/docker-credential-pass-$CREDSTORE_VERSION-amd64.tar.gz && tar -xf /opt/docker-credential-pass.tar.gz -O > /usr/local/bin/docker-credential-pass && rm -rf /opt/docker-credential-pass.tar.gz && chmod +x /usr/local/bin/docker-credential-pass ---> Running in 7f935b09f7fb Removing intermediate container 7f935b09f7fb ---> b51c3a50c48f Step 15/21 : WORKDIR /src ---> Running in e009201ed838 Removing intermediate container e009201ed838 ---> 49191783a291 Step 16/21 : COPY requirements.txt /src/requirements.txt ---> a3def31c0bc4 Step 17/21 : RUN pip install -r requirements.txt ---> Running in 68c0dec346fb Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment Collecting appdirs==1.4.3 Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB) Collecting asn1crypto==0.22.0 Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97 kB) Collecting backports.ssl-match-hostname==3.5.0.1 Downloading backports.ssl_match_hostname-3.5.0.1.tar.gz (5.6 kB) Collecting cffi==1.10.0 Downloading cffi-1.10.0.tar.gz (418 kB) Collecting cryptography==3.2 Downloading cryptography-3.2-cp35-abi3-manylinux2010_x86_64.whl (2.6 MB) Collecting enum34==1.1.6 Downloading enum34-1.1.6-py3-none-any.whl (12 kB) Collecting idna==2.5 Downloading idna-2.5-py2.py3-none-any.whl (55 kB) Collecting ipaddress==1.0.18 Downloading ipaddress-1.0.18.tar.gz (32 kB) Collecting packaging==16.8 Downloading packaging-16.8-py2.py3-none-any.whl (23 kB) Collecting paramiko==2.4.2 Downloading paramiko-2.4.2-py2.py3-none-any.whl (193 kB) Collecting pycparser==2.17 Downloading pycparser-2.17.tar.gz (231 kB) Collecting pyOpenSSL==18.0.0 Downloading pyOpenSSL-18.0.0-py2.py3-none-any.whl (53 kB) Collecting pyparsing==2.2.0 Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56 kB) Collecting requests==2.20.0 Downloading requests-2.20.0-py2.py3-none-any.whl (60 kB) Collecting six==1.10.0 Downloading six-1.10.0-py2.py3-none-any.whl (10 kB) Collecting urllib3==1.24.3 Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB) Collecting websocket-client==0.56.0 Downloading websocket_client-0.56.0-py2.py3-none-any.whl (200 kB) Collecting bcrypt>=3.1.3 Downloading bcrypt-3.2.0-cp36-abi3-manylinux2010_x86_64.whl (63 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB) Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting pyasn1>=0.1.7 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting pynacl>=1.0.1 Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB) Building wheels for collected packages: backports.ssl-match-hostname, cffi, ipaddress, pycparser Building wheel for backports.ssl-match-hostname (setup.py): started Building wheel for backports.ssl-match-hostname (setup.py): finished with status 'done' Created wheel for backports.ssl-match-hostname: filename=backports.ssl_match_hostname-3.5.0.1-py3-none-any.whl size=5206 sha256=b35118dea18b6e639b105eecbcb1030023e5cdf1b58cc5723d6f03ed4b198e09 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=371255 sha256=675156eb6a19db9d4281b4c26b865e3358768d556d684fb0b055fab0f6275a44 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=29e13cfa76bf44b1e0670c52f5bf5b43263416b71ef17a7e3c8b83a422652fce 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=192877 sha256=abf25613546a758c0a56c6e35dfe62d8468aab950c997d170d98926f64e216f7 Stored in directory: /root/.cache/pip/wheels/91/50/7a/9f94e39b01559aa44c3cefb775d7befcc01d0a6ed0093cab37 Successfully built backports.ssl-match-hostname cffi ipaddress pycparser Installing collected packages: pycparser, six, cffi, urllib3, pyparsing, pynacl, pyasn1, idna, cryptography, chardet, certifi, bcrypt, websocket-client, requests, pyOpenSSL, paramiko, packaging, ipaddress, enum34, backports.ssl-match-hostname, asn1crypto, appdirs Successfully installed appdirs-1.4.3 asn1crypto-0.22.0 backports.ssl-match-hostname-3.5.0.1 bcrypt-3.2.0 certifi-2020.12.5 cffi-1.10.0 chardet-3.0.4 cryptography-3.2 enum34-1.1.6 idna-2.5 ipaddress-1.0.18 packaging-16.8 paramiko-2.4.2 pyOpenSSL-18.0.0 pyasn1-0.4.8 pycparser-2.17 pynacl-1.4.0 pyparsing-2.2.0 requests-2.20.0 six-1.10.0 urllib3-1.24.3 websocket-client-0.56.0 Removing intermediate container 68c0dec346fb ---> fb87dcfb531a Step 18/21 : COPY test-requirements.txt /src/test-requirements.txt ---> f6ec17d815ee Step 19/21 : RUN pip install -r test-requirements.txt ---> Running in a8da751f45a0 Collecting coverage==4.5.2 Downloading coverage-4.5.2-cp37-cp37m-manylinux1_x86_64.whl (205 kB) Collecting flake8==3.6.0 Downloading flake8-3.6.0-py2.py3-none-any.whl (68 kB) Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) Collecting pytest==4.3.1 Downloading pytest-4.3.1-py2.py3-none-any.whl (219 kB) Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.7/site-packages (from pytest==4.3.1->-r test-requirements.txt (line 5)) (1.10.0) Collecting pytest-cov==2.6.1 Downloading pytest_cov-2.6.1-py2.py3-none-any.whl (16 kB) Collecting pytest-timeout==1.3.3 Downloading pytest_timeout-1.3.3-py2.py3-none-any.whl (9.8 kB) Collecting atomicwrites>=1.0 Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB) Collecting attrs>=17.4.0 Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB) Collecting mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting more-itertools>=4.0.0 Downloading more_itertools-8.6.0-py3-none-any.whl (45 kB) Collecting pluggy>=0.7 Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB) Collecting importlib-metadata>=0.12 Downloading importlib_metadata-3.3.0-py3-none-any.whl (10 kB) Collecting py>=1.5.0 Downloading py-1.10.0-py2.py3-none-any.whl (97 kB) Collecting pycodestyle<2.5.0,>=2.4.0 Downloading pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB) Collecting pyflakes<2.1.0,>=2.0.0 Downloading pyflakes-2.0.0-py2.py3-none-any.whl (53 kB) Collecting typing-extensions>=3.6.4 Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB) Collecting zipp>=0.5 Downloading zipp-3.4.0-py3-none-any.whl (5.2 kB) Collecting setuptools==44.0.0 Downloading setuptools-44.0.0-py2.py3-none-any.whl (583 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=23755 sha256=8134142d519de361030f35c502373a87199bfef735ec8d3cd20eb08aeeb896f0 Stored in directory: /root/.cache/pip/wheels/7a/94/b1/0fdc5339a5bd487a5cc15421ec200d9ba3e2aa7190e4a727f1 Successfully built mock Installing collected packages: zipp, typing-extensions, importlib-metadata, setuptools, py, pluggy, more-itertools, attrs, atomicwrites, pytest, pyflakes, pycodestyle, mccabe, coverage, pytest-timeout, pytest-cov, mock, flake8 Attempting uninstall: setuptools Found existing installation: setuptools 51.0.0 Uninstalling setuptools-51.0.0: Successfully uninstalled setuptools-51.0.0 Successfully installed atomicwrites-1.4.0 attrs-20.3.0 coverage-4.5.2 flake8-3.6.0 importlib-metadata-3.3.0 mccabe-0.6.1 mock-1.0.1 more-itertools-8.6.0 pluggy-0.13.1 py-1.10.0 pycodestyle-2.4.0 pyflakes-2.0.0 pytest-4.3.1 pytest-cov-2.6.1 pytest-timeout-1.3.3 setuptools-44.0.0 typing-extensions-3.7.4.3 zipp-3.4.0 Removing intermediate container a8da751f45a0 ---> 52e3d1baf0a5 Step 20/21 : COPY . /src ---> 802d9d46fc87 Step 21/21 : RUN pip install . ---> Running in 1a2b4bc4e577 Processing /src Requirement already satisfied: six>=1.4.0 in /usr/local/lib/python3.7/site-packages (from docker==4.5.0.dev0) (1.10.0) Requirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python3.7/site-packages (from docker==4.5.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.5.0.dev0) (2.20.0) 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.5.0.dev0) (1.24.3) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker==4.5.0.dev0) (2020.12.5) 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.5.0.dev0) (2.5) 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.5.0.dev0) (3.0.4) Building wheels for collected packages: docker Building wheel for docker (setup.py): started Building wheel for docker (setup.py): finished with status 'done' Created wheel for docker: filename=docker-4.5.0.dev0-py2.py3-none-any.whl size=146866 sha256=f6b59de9dbfb6f8790749b3834cdd6de5190bca8291bbeee4c465b58df40a4da Stored in directory: /tmp/pip-ephem-wheel-cache-swt3_iem/wheels/6f/63/19/359cf44f647b75d0ea75ecc03aa429fec4c372b453eb4b6525 Successfully built docker Installing collected packages: docker Successfully installed docker-4.5.0.dev0 Removing intermediate container 1a2b4bc4e577 ---> df336c801996 Successfully built df336c801996 Successfully tagged dockerbuildbot/docker-py:py3-0990cf3f2bd3cd88adca9e5f95914611912212be [Pipeline] isUnix [Pipeline] sh + docker tag dockerbuildbot/docker-py:py3-0990cf3f2bd3cd88adca9e5f95914611912212be dockerbuildbot/docker-py:py3-0990cf3f2bd3cd88adca9e5f95914611912212be [Pipeline] isUnix [Pipeline] sh + docker push dockerbuildbot/docker-py:py3-0990cf3f2bd3cd88adca9e5f95914611912212be The push refers to repository [docker.io/dockerbuildbot/docker-py] c5d1b70c558e: Preparing f1b645572ae9: Preparing c9e17478bd71: Preparing a9a41983d57b: Preparing d31563a7a89b: Preparing fea5fa5efcdd: Preparing 3a5b4c2094e2: Preparing 575f6c5ce844: Preparing 8effb28d01c9: Preparing aeeedd79bef1: Preparing 79cd6e777e56: Preparing 34bbbc3f0ed0: Preparing 13ffe11fa3d5: Preparing 2ac392cc2618: Preparing 1ccffb4f2ffc: Preparing a4eb9b711ff4: Preparing ad9bce8480a7: Preparing 3da8662a6eed: Preparing 6a6ea1335e48: Preparing 4324e0912cc9: Preparing 59840d625c92: Preparing da87e334550a: Preparing c5f4367d4a59: Preparing ceecb62b2fcc: Preparing 193bc1d68b80: Preparing f0e10b20de19: Preparing 1ccffb4f2ffc: Waiting a4eb9b711ff4: Waiting ad9bce8480a7: Waiting 3da8662a6eed: Waiting 6a6ea1335e48: Waiting 4324e0912cc9: Waiting 59840d625c92: Waiting da87e334550a: Waiting c5f4367d4a59: Waiting ceecb62b2fcc: Waiting 193bc1d68b80: Waiting f0e10b20de19: Waiting fea5fa5efcdd: Waiting 3a5b4c2094e2: Waiting 575f6c5ce844: Waiting 8effb28d01c9: Waiting 13ffe11fa3d5: Waiting aeeedd79bef1: Waiting 79cd6e777e56: Waiting 2ac392cc2618: Waiting f1b645572ae9: Pushed a9a41983d57b: Pushed c5d1b70c558e: Pushed c9e17478bd71: Pushed 3a5b4c2094e2: Pushed d31563a7a89b: Pushed fea5fa5efcdd: Pushed 575f6c5ce844: Pushed aeeedd79bef1: Pushed 34bbbc3f0ed0: Pushed 8effb28d01c9: Pushed 79cd6e777e56: Pushed 1ccffb4f2ffc: Pushed 3da8662a6eed: Layer already exists 6a6ea1335e48: Layer already exists 4324e0912cc9: Layer already exists 59840d625c92: Layer already exists da87e334550a: Layer already exists c5f4367d4a59: Layer already exists ceecb62b2fcc: Layer already exists 193bc1d68b80: Layer already exists f0e10b20de19: Layer already exists ad9bce8480a7: Pushed 2ac392cc2618: Pushed a4eb9b711ff4: Pushed 13ffe11fa3d5: Pushed py3-0990cf3f2bd3cd88adca9e5f95914611912212be: digest: sha256:f8c0786cf4c9c3f51be61b113c37c546a50eaccf0055174f83b8ba6d2d6350cc size: 5765 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) in /home/ubuntu/workspace/docker-py_PR-2726 [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-2726@tmp/4450bf42-7732-4fa5-9e31-4bc477733df8/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-0990cf3f2bd3cd88adca9e5f95914611912212be /src/scripts/versions.py [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] parallel [Pipeline] { (Branch: py2.7_19.03.12) [Pipeline] { (Branch: py2.7_20.10.1) [Pipeline] { (Branch: py2.7_19.03.13) [Pipeline] { (Branch: py3.7_19.03.12) [Pipeline] { (Branch: py3.7_20.10.1) [Pipeline] { (Branch: py3.7_19.03.13) [Pipeline] node [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) in /home/ubuntu/workspace/docker-py_PR-2726 [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [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-2726@tmp/813918b9-c11f-43a9-91d3-6afc623a465a/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-2726:/workspace busybox chown -R 1000:1000 /workspace [Pipeline] echo Removing all docker containers [Pipeline] sh + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (test python=py2.7 / docker=19.03.12) [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 4757eea80c49b7d593537ea9a0b9e5b398570745 into PR head commit 0990cf3f2bd3cd88adca9e5f95914611912212be Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2726 # 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/2726/head:refs/remotes/origin/PR-2726 +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/2726/head:refs/remotes/origin/PR-2726 # 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/2726/head:refs/remotes/origin/PR-2726 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0990cf3f2bd3cd88adca9e5f95914611912212be # 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 4757eea80c49b7d593537ea9a0b9e5b398570745 # timeout=10 Merge succeeded, producing 0990cf3f2bd3cd88adca9e5f95914611912212be Checking out Revision 0990cf3f2bd3cd88adca9e5f95914611912212be (PR-2726) Commit message: "Avoid setting unsuported parameter for subprocess.Popen on Windows" [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] sh + docker network create dpy-testnet-2-0-py2.7-19.03.12 f1b75e969b7e8e7cd08606a8109015c40aa627bdfd8266b90e7ddca953e30620 [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0990cf3f2bd3cd88adca9e5f95914611912212be # timeout=10 + docker run --rm -d --name dpy-dind-2-0-py2.7-19.03.12 -v /tmp --privileged --network dpy-testnet-2-0-py2.7-19.03.12 dockerbuildbot/docker-py:sshdind-0990cf3f2bd3cd88adca9e5f95914611912212be dockerd -H tcp://0.0.0.0:2375 c75fb216008bca9414989e8e8130aab093a37e8568b5f6099ec33bd52d6a5aee [Pipeline] sh $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2726@tmp/c8b85596-b9d1-4ecf-93bf-d1990e0fdb03/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + docker run --rm --name dpy-tests-2-0-py2.7-19.03.12 -e DOCKER_HOST=tcp://dpy-dind-2-0-py2.7-19.03.12:2375 -e DOCKER_TEST_API_VERSION=1.40 --network dpy-testnet-2-0-py2.7-19.03.12 --volumes-from dpy-dind-2-0-py2.7-19.03.12 -v /home/ubuntu/.docker/config.json:/root/.docker/config.json dockerbuildbot/docker-py:py2-0990cf3f2bd3cd88adca9e5f95914611912212be py.test -v -rxs --cov=docker --ignore=tests/ssh tests/ ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-4.3.1, py-1.10.0, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /src, inifile: pytest.ini plugins: timeout-1.3.3, cov-2.6.1 collecting ... collected 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'), (, SyntaxError('invalid syntax', ('/src/docker/transport/sshconn.py', 48, 80, ' preexec_func = lambda: signal.signal(signal.SIGINT, signal.SIG_IGN))\n')), )) =============================== warnings summary =============================== /usr/local/lib/python2.7/site-packages/OpenSSL/crypto.py:12 /usr/local/lib/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release. from cryptography import x509 -- Docs: https://docs.pytest.org/en/latest/warnings.html ---------- coverage: platform linux2, python 2.7.18-final-0 ---------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------- docker/__init__.py 8 7 0 0 13% docker/api/__init__.py 1 0 0 0 100% docker/api/build.py 126 126 92 0 0% docker/api/client.py 263 255 96 0 2% docker/api/config.py 31 31 6 0 0% docker/api/container.py 266 266 102 0 0% docker/api/daemon.py 39 39 14 0 0% docker/api/exec_api.py 46 46 22 0 0% docker/api/image.py 157 157 56 0 0% docker/api/network.py 90 90 48 0 0% docker/api/plugin.py 90 90 12 0 0% docker/api/secret.py 36 36 10 0 0% docker/api/service.py 200 200 149 0 0% docker/api/swarm.py 106 106 38 0 0% docker/api/volume.py 38 38 14 0 0% docker/auth.py 198 191 74 0 3% docker/client.py 69 69 2 0 0% docker/constants.py 21 0 0 0 100% docker/context/__init__.py 2 2 0 0 0% docker/context/api.py 78 78 38 0 0% docker/context/config.py 61 61 16 0 0% docker/context/context.py 151 151 62 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 21 0 0 0% docker/models/containers.py 183 183 60 0 0% docker/models/images.py 137 137 50 0 0% docker/models/networks.py 37 37 8 0 0% docker/models/nodes.py 15 15 0 0 0% docker/models/plugins.py 49 49 8 0 0% docker/models/resource.py 41 41 6 0 0% docker/models/secrets.py 21 21 0 0 0% docker/models/services.py 87 87 34 0 0% docker/models/swarm.py 39 39 6 0 0% docker/models/volumes.py 23 23 2 0 0% docker/tls.py 37 33 14 0 8% docker/transport/__init__.py 11 2 0 0 82% docker/transport/basehttpadapter.py 6 3 2 0 38% docker/transport/npipeconn.py 59 54 10 0 7% docker/transport/npipesocket.py 137 132 22 0 3% docker/transport/ssladapter.py 36 20 10 1 37% docker/transport/unixconn.py 66 42 12 0 31% docker/types/__init__.py 6 6 0 0 0% docker/types/base.py 5 5 2 0 0% docker/types/containers.py 420 420 324 0 0% docker/types/daemon.py 36 36 14 0 0% docker/types/healthcheck.py 34 34 4 0 0% docker/types/networks.py 41 41 28 0 0% docker/types/services.py 312 312 206 0 0% docker/types/swarm.py 51 51 40 0 0% docker/utils/__init__.py 3 1 0 0 67% docker/utils/build.py 155 130 74 0 11% docker/utils/config.py 36 36 10 0 0% docker/utils/decorators.py 32 29 12 0 7% docker/utils/fnmatch.py 55 47 28 0 10% docker/utils/json_stream.py 43 43 14 0 0% docker/utils/ports.py 50 50 28 0 0% docker/utils/proxy.py 32 32 12 0 0% docker/utils/socket.py 86 86 40 0 0% docker/utils/utils.py 285 274 164 0 2% docker/version.py 2 0 0 0 100% ----------------------------------------------------------------------- TOTAL 4967 4728 2143 1 3% !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! ===================== 1 warnings, 1 error in 1.39 seconds ====================== [Pipeline] sh + docker stop dpy-dind-2-0-py2.7-19.03.12 dpy-dind-2-0-py2.7-19.03.12 + docker network rm dpy-testnet-2-0-py2.7-19.03.12 dpy-testnet-2-0-py2.7-19.03.12 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) in /home/ubuntu/workspace/docker-py_PR-2726 [Pipeline] } Failed in branch py2.7_19.03.12 [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) in /home/ubuntu/workspace/docker-py_PR-2726 [Pipeline] } Failed in branch py2.7_20.10.1 [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] // withDockerRegistry [Pipeline] } Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) in /home/ubuntu/workspace/docker-py_PR-2726 [Pipeline] // node [Pipeline] { [Pipeline] } Failed in branch py2.7_19.03.13 [Pipeline] withDockerRegistry [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) in /home/ubuntu/workspace/docker-py_PR-2726 [Pipeline] { [Pipeline] } Failed in branch py3.7_19.03.12 [Pipeline] withDockerRegistry [Pipeline] // withDockerRegistry [Pipeline] } Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) in /home/ubuntu/workspace/docker-py_PR-2726 [Pipeline] // node [Pipeline] { [Pipeline] } Failed in branch py3.7_20.10.1 [Pipeline] withDockerRegistry [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch py3.7_19.03.13 [Pipeline] // parallel [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:1001) at hudson.FilePath.act(FilePath.java:1070) at hudson.FilePath.act(FilePath.java:1059) at hudson.FilePath.readToString(FilePath.java:2087) at org.jenkinsci.plugins.docker.commons.impl.RegistryKeyMaterialFactory.materialize(RegistryKeyMaterialFactory.java:81) at org.jenkinsci.plugins.docker.workflow.AbstractEndpointStepExecution2.doStart(AbstractEndpointStepExecution2.java:53) at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Also: Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:1001) at hudson.FilePath.act(FilePath.java:1070) at hudson.FilePath.act(FilePath.java:1059) at hudson.FilePath.readToString(FilePath.java:2087) at org.jenkinsci.plugins.docker.commons.impl.RegistryKeyMaterialFactory.materialize(RegistryKeyMaterialFactory.java:81) at org.jenkinsci.plugins.docker.workflow.AbstractEndpointStepExecution2.doStart(AbstractEndpointStepExecution2.java:53) at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.io.IOException: Is a directory Also: Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:1001) at hudson.FilePath.act(FilePath.java:1070) at hudson.FilePath.act(FilePath.java:1059) at hudson.FilePath.readToString(FilePath.java:2087) at org.jenkinsci.plugins.docker.commons.impl.RegistryKeyMaterialFactory.materialize(RegistryKeyMaterialFactory.java:81) at org.jenkinsci.plugins.docker.workflow.AbstractEndpointStepExecution2.doStart(AbstractEndpointStepExecution2.java:53) at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.io.IOException: Is a directory Also: Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:1001) at hudson.FilePath.act(FilePath.java:1070) at hudson.FilePath.act(FilePath.java:1059) at hudson.FilePath.readToString(FilePath.java:2087) at org.jenkinsci.plugins.docker.commons.impl.RegistryKeyMaterialFactory.materialize(RegistryKeyMaterialFactory.java:81) at org.jenkinsci.plugins.docker.workflow.AbstractEndpointStepExecution2.doStart(AbstractEndpointStepExecution2.java:53) at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.io.IOException: Is a directory Also: Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a89fa9ff248f9783) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:1001) at hudson.FilePath.act(FilePath.java:1070) at hudson.FilePath.act(FilePath.java:1059) at hudson.FilePath.readToString(FilePath.java:2087) at org.jenkinsci.plugins.docker.commons.impl.RegistryKeyMaterialFactory.materialize(RegistryKeyMaterialFactory.java:81) at org.jenkinsci.plugins.docker.workflow.AbstractEndpointStepExecution2.doStart(AbstractEndpointStepExecution2.java:53) at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.io.IOException: Is a directory Also: hudson.AbortException: script returned exit code 2 at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:659) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:605) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:549) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.io.IOException: Is a directory at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.FileDispatcherImpl.read(FileDispatcherImpl.java:48) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:276) at sun.nio.ch.IOUtil.read(IOUtil.java:245) at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:223) at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:65) at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:109) at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) at java.nio.file.Files.read(Files.java:3158) at java.nio.file.Files.readAllBytes(Files.java:3212) at hudson.FilePath$ReadToString.invoke(FilePath.java:2093) at hudson.FilePath$ReadToString.invoke(FilePath.java:2089) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3122) at hudson.remoting.UserRequest.perform(UserRequest.java:211) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:375) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73) at java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.lang.Thread.run(Thread.java:834) Finished: FAILURE