Branch indexing Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 63a4f790db7c368e75eb2f036edcbcd7c4bab4ef Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision ead69454b4062f17d1f8389642089a002b037213 using credential jps-reader 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/emove-context-field-from-service@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 --progress https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master > 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 --progress https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master Checking out Revision ead69454b4062f17d1f8389642089a002b037213 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f ead69454b4062f17d1f8389642089a002b037213 Commit message: "Merge pull request #10 from russellcardullo/sonar-scan" First time build. Skipping changelog. [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task ‘arm32v7-ubuntu-47’ doesn’t have label ‘linux&&x86_64’; ‘arm32v7-ubuntu-48’ doesn’t have label ‘linux&&x86_64’; ‘arm32v7-ubuntu-49’ doesn’t have label ‘linux&&x86_64’; ‘arm32v7-ubuntu-50’ doesn’t have label ‘linux&&x86_64’; ‘arm64v8-ubuntu-01’ doesn’t have label ‘linux&&x86_64’; ‘arm64v8-ubuntu-02’ doesn’t have label ‘linux&&x86_64’; ‘ppc64le-ubuntu-31’ doesn’t have label ‘linux&&x86_64’; ‘ppc64le-ubuntu-32’ doesn’t have label ‘linux&&x86_64’; ‘ppc64le-ubuntu-33’ doesn’t have label ‘linux&&x86_64’; ‘s390x-ubuntu-14’ doesn’t have label ‘linux&&x86_64’; ‘s390x-ubuntu-15’ doesn’t have label ‘linux&&x86_64’; ‘s390x-ubuntu-16’ doesn’t have label ‘linux&&x86_64’; ‘s390x-ubuntu-29’ doesn’t have label ‘linux&&x86_64’; ‘s390x-ubuntu-30’ doesn’t have label ‘linux&&x86_64’; ‘ubuntu-1604-aufs (i-09f3d6fcd223e08fb)’ is offline Running on ubuntu-1804-overlay2 (i-05aa069266971d88b) in /home/ubuntu/workspace/emove-context-field-from-service [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/emove-context-field-from-service@tmp/57f3f25e-8869-4d22-b21d-999a6671c866/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] deleteDir [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Checking out Revision 63a4f790db7c368e75eb2f036edcbcd7c4bab4ef (revert-368-remove-context-field-from-service) Commit message: "Revert "Remove ctx.Context field from Service struct."" First time build. Skipping changelog. Cloning repository https://github.com/docker/libcompose.git > git init /home/ubuntu/workspace/emove-context-field-from-service # timeout=10 Fetching upstream changes from https://github.com/docker/libcompose.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/libcompose.git +refs/heads/revert-368-remove-context-field-from-service:refs/remotes/origin/revert-368-remove-context-field-from-service > git config remote.origin.url https://github.com/docker/libcompose.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/revert-368-remove-context-field-from-service:refs/remotes/origin/revert-368-remove-context-field-from-service # timeout=10 > git config remote.origin.url https://github.com/docker/libcompose.git # timeout=10 Fetching upstream changes from https://github.com/docker/libcompose.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/libcompose.git +refs/heads/revert-368-remove-context-field-from-service:refs/remotes/origin/revert-368-remove-context-field-from-service > git config core.sparsecheckout # timeout=10 > git checkout -f 63a4f790db7c368e75eb2f036edcbcd7c4bab4ef [Pipeline] stage Using the ‘stage’ step without a block argument is deprecated Entering stage build image Proceeding [Pipeline] sh fatal: bad object ead69454b4062f17d1f8389642089a002b037213 + git rev-parse HEAD [Pipeline] sh + docker build -t dockerbuildbot/libcompose:63a4f790db7c368e75eb2f036edcbcd7c4bab4ef . Sending build context to Docker daemon 7.588MB Step 1/15 : FROM golang:1.7.0 1.7.0: Pulling from library/golang 8ad8b3f87b37: Pulling fs layer 751fe39c4d34: Pulling fs layer ae3b77eefc06: Pulling fs layer 92c7f8737c98: Pulling fs layer 1d75a9904ce2: Pulling fs layer 81c6a8f7bafb: Pulling fs layer 4e29d27f64fd: Pulling fs layer 92c7f8737c98: Waiting 1d75a9904ce2: Waiting 81c6a8f7bafb: Waiting 4e29d27f64fd: Waiting 751fe39c4d34: Verifying Checksum 751fe39c4d34: Download complete ae3b77eefc06: Verifying Checksum ae3b77eefc06: Download complete 8ad8b3f87b37: Verifying Checksum 8ad8b3f87b37: Download complete 81c6a8f7bafb: Verifying Checksum 81c6a8f7bafb: Download complete 4e29d27f64fd: Verifying Checksum 4e29d27f64fd: Download complete 92c7f8737c98: Verifying Checksum 92c7f8737c98: Download complete 1d75a9904ce2: Verifying Checksum 1d75a9904ce2: Download complete 8ad8b3f87b37: Pull complete 751fe39c4d34: Pull complete ae3b77eefc06: Pull complete 92c7f8737c98: Pull complete 1d75a9904ce2: Pull complete 81c6a8f7bafb: Pull complete 4e29d27f64fd: Pull complete Digest: sha256:6765038c2b8f407fd6e3ecea043b44580c229ccfa2a13f6d85866cf2b4a9628e Status: Downloaded newer image for golang:1.7.0 ---> 138c2e655421 Step 2/15 : RUN apt-get update && apt-get install -y iptables build-essential --no-install-recommends && apt-get install -y python-setuptools && easy_install pip && pip install virtualenv ---> Running in 07a5e5ac099e Ign http://httpredir.debian.org jessie InRelease Get:1 http://httpredir.debian.org jessie-updates InRelease [16.3 kB] Get:2 http://security.debian.org jessie/updates InRelease [44.9 kB] Get:3 http://httpredir.debian.org jessie Release.gpg [1652 B] Get:4 http://httpredir.debian.org jessie Release [77.3 kB] Get:5 http://httpredir.debian.org jessie-updates/main amd64 Packages [20 B] Get:6 http://httpredir.debian.org jessie/main amd64 Packages [9098 kB] Get:7 http://security.debian.org jessie/updates/main amd64 Packages [886 kB] Fetched 10.1 MB in 12s (838 kB/s) Reading package lists... W: There is no public key available for the following key IDs: AA8E81B4331F7F50 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bzip2 dpkg-dev libbz2-1.0 libdpkg-perl libnfnetlink0 libtimedate-perl libxtables10 patch xz-utils Suggested packages: bzip2-doc debian-keyring ed diffutils-doc Recommended packages: fakeroot libalgorithm-merge-perl libfile-fcntllock-perl The following NEW packages will be installed: build-essential bzip2 dpkg-dev iptables libdpkg-perl libnfnetlink0 libtimedate-perl libxtables10 patch xz-utils The following packages will be upgraded: libbz2-1.0 1 upgraded, 10 newly installed, 0 to remove and 100 not upgraded. Need to get 3451 kB of archives. After this operation, 8899 kB of additional disk space will be used. Get:1 http://security.debian.org/ jessie/updates/main libbz2-1.0 amd64 1.0.6-7+deb8u2 [43.3 kB] Get:2 http://security.debian.org/ jessie/updates/main bzip2 amd64 1.0.6-7+deb8u2 [46.8 kB] Get:3 http://security.debian.org/ jessie/updates/main patch amd64 2.7.5-1+deb8u3 [109 kB] Get:4 http://httpredir.debian.org/debian/ jessie/main libnfnetlink0 amd64 1.0.1-3 [13.5 kB] Get:5 http://httpredir.debian.org/debian/ jessie/main libxtables10 amd64 1.4.21-2+b1 [67.6 kB] Get:6 http://httpredir.debian.org/debian/ jessie/main iptables amd64 1.4.21-2+b1 [277 kB] Get:7 http://httpredir.debian.org/debian/ jessie/main xz-utils amd64 5.1.1alpha+20120614-2+b3 [221 kB] Get:8 http://httpredir.debian.org/debian/ jessie/main libtimedate-perl all 2.3000-2 [42.2 kB] Get:9 http://httpredir.debian.org/debian/ jessie/main libdpkg-perl all 1.17.27 [1075 kB] Get:10 http://httpredir.debian.org/debian/ jessie/main dpkg-dev all 1.17.27 [1548 kB] Get:11 http://httpredir.debian.org/debian/ jessie/main build-essential amd64 11.7 [7114 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 3451 kB in 6s (549 kB/s) (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 ... 14720 files and directories currently installed.) Preparing to unpack .../libbz2-1.0_1.0.6-7+deb8u2_amd64.deb ... Unpacking libbz2-1.0:amd64 (1.0.6-7+deb8u2) over (1.0.6-7+b3) ... Setting up libbz2-1.0:amd64 (1.0.6-7+deb8u2) ... Processing triggers for libc-bin (2.19-18+deb8u4) ... Selecting previously unselected package libnfnetlink0:amd64. (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 ... 14719 files and directories currently installed.) Preparing to unpack .../libnfnetlink0_1.0.1-3_amd64.deb ... Unpacking libnfnetlink0:amd64 (1.0.1-3) ... Selecting previously unselected package libxtables10. Preparing to unpack .../libxtables10_1.4.21-2+b1_amd64.deb ... Unpacking libxtables10 (1.4.21-2+b1) ... Selecting previously unselected package iptables. Preparing to unpack .../iptables_1.4.21-2+b1_amd64.deb ... Unpacking iptables (1.4.21-2+b1) ... Selecting previously unselected package bzip2. Preparing to unpack .../bzip2_1.0.6-7+deb8u2_amd64.deb ... Unpacking bzip2 (1.0.6-7+deb8u2) ... Selecting previously unselected package patch. Preparing to unpack .../patch_2.7.5-1+deb8u3_amd64.deb ... Unpacking patch (2.7.5-1+deb8u3) ... Selecting previously unselected package xz-utils. Preparing to unpack .../xz-utils_5.1.1alpha+20120614-2+b3_amd64.deb ... Unpacking xz-utils (5.1.1alpha+20120614-2+b3) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../libdpkg-perl_1.17.27_all.deb ... Unpacking libdpkg-perl (1.17.27) ... Selecting previously unselected package dpkg-dev. Preparing to unpack .../dpkg-dev_1.17.27_all.deb ... Unpacking dpkg-dev (1.17.27) ... Selecting previously unselected package build-essential. Preparing to unpack .../build-essential_11.7_amd64.deb ... Unpacking build-essential (11.7) ... Setting up libnfnetlink0:amd64 (1.0.1-3) ... Setting up libxtables10 (1.4.21-2+b1) ... Setting up iptables (1.4.21-2+b1) ... Setting up bzip2 (1.0.6-7+deb8u2) ... Setting up patch (2.7.5-1+deb8u3) ... Setting up xz-utils (5.1.1alpha+20120614-2+b3) ... update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode Setting up libtimedate-perl (2.3000-2) ... Setting up libdpkg-perl (1.17.27) ... Setting up dpkg-dev (1.17.27) ... Setting up build-essential (11.7) ... Processing triggers for libc-bin (2.19-18+deb8u4) ... Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: python-pkg-resources Suggested packages: python-distribute python-distribute-doc The following NEW packages will be installed: python-pkg-resources python-setuptools 0 upgraded, 2 newly installed, 0 to remove and 100 not upgraded. Need to get 306 kB of archives. After this operation, 957 kB of additional disk space will be used. Get:1 http://httpredir.debian.org/debian/ jessie/main python-pkg-resources all 5.5.1-1 [64.4 kB] Get:2 http://httpredir.debian.org/debian/ jessie/main python-setuptools all 5.5.1-1 [242 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 306 kB in 5s (58.9 kB/s) Selecting previously unselected package python-pkg-resources. (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 ... 15395 files and directories currently installed.) Preparing to unpack .../python-pkg-resources_5.5.1-1_all.deb ... Unpacking python-pkg-resources (5.5.1-1) ... Selecting previously unselected package python-setuptools. Preparing to unpack .../python-setuptools_5.5.1-1_all.deb ... Unpacking python-setuptools (5.5.1-1) ... Setting up python-pkg-resources (5.5.1-1) ... Setting up python-setuptools (5.5.1-1) ... Searching for pip Reading https://pypi.python.org/simple/pip/ Best match: pip 19.2.3 Downloading https://files.pythonhosted.org/packages/00/9e/4c83a0950d8bdec0b4ca72afd2f9cea92d08eb7c1a768363f2ea458d08b4/pip-19.2.3.tar.gz#sha256=e7a31f147974362e6c82d84b91c7f2bdf57e4d3163d3d454e6c3e71944d67135 Processing pip-19.2.3.tar.gz Writing /tmp/easy_install-W38aPC/pip-19.2.3/setup.cfg Running pip-19.2.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-W38aPC/pip-19.2.3/egg-dist-tmp-rX2KqU /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) warning: no files found matching 'docs/docutils.conf' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.mailmap' warning: no previously-included files found matching '.appveyor.yml' warning: no previously-included files found matching '.travis.yml' warning: no previously-included files found matching 'tox.ini' warning: no files found matching 'Makefile' under directory 'docs' warning: no files found matching '*.bat' under directory 'docs' warning: no previously-included files found matching 'src/pip/_vendor/six' warning: no previously-included files found matching 'src/pip/_vendor/six/moves' warning: no previously-included files matching '*.pyi' found under directory 'src/pip/_vendor' no previously-included directories found matching '.github' no previously-included directories found matching '.azure-pipelines' no previously-included directories found matching 'docs/build' no previously-included directories found matching 'news' no previously-included directories found matching 'tasks' no previously-included directories found matching 'tests' no previously-included directories found matching 'tools' Adding pip 19.2.3 to easy-install.pth file Installing pip script to /usr/local/bin Installing pip2.7 script to /usr/local/bin Installing pip2 script to /usr/local/bin Installed /usr/local/lib/python2.7/dist-packages/pip-19.2.3-py2.7.egg Processing dependencies for pip Finished processing dependencies for pip DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting virtualenv Downloading https://files.pythonhosted.org/packages/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB) Installing collected packages: virtualenv Successfully installed virtualenv-16.7.4 Removing intermediate container 07a5e5ac099e ---> efc8cfa79007 Step 3/15 : RUN go get github.com/aktau/github-release && go get golang.org/x/tools/cmd/cover && go get github.com/golang/lint/golint ---> Running in 73eaeef4e845 # golang.org/x/tools/go/internal/gcimporter src/golang.org/x/tools/go/internal/gcimporter/bexport.go:212: obj.IsAlias undefined (type *types.TypeName has no field or method IsAlias) The command '/bin/sh -c go get github.com/aktau/github-release && go get golang.org/x/tools/cmd/cover && go get github.com/golang/lint/golint' returned a non-zero code: 2 [Pipeline] archive The archive step is deprecated, please use archiveArtifacts instead. No files found to archive for pattern "bundles"; continuing. [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 2 Finished: FAILURE