Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ad194bc803dc916884c38fead828e9a39ff73581 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.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] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-515 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision ad194bc803dc916884c38fead828e9a39ff73581 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad194bc803dc916884c38fead828e9a39ff73581 # timeout=10 Commit message: "Merge pull request #56 from hahattan/issue-54/55" > git rev-list --no-walk ad194bc803dc916884c38fead828e9a39ff73581 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:42:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:42:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:42:50 ========================================================= 20:42:50 EdgeX Global Pipelines Version Info 20:42:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:42:52 ------------------- 20:42:52 stable info: 20:42:52 ------------------- 20:42:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:42:52 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 20:42:52 Message: update stable to v1.0.106 20:42:53 ------------------- 20:42:53 experimental info: 20:42:53 ------------------- 20:42:53 Commited By: **** collab-it+edgex@linuxfoundation.org 20:42:53 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 20:42:53 Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:55 + git log --format=format:%s -1 ad194bc803dc916884c38fead828e9a39ff73581 [Pipeline] echo 20:42:55 GIT_COMMIT: ad194bc803dc916884c38fead828e9a39ff73581, Commit Message: Merge pull request #56 from hahattan/issue-54/55 [Pipeline] echo 20:42:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:42:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:42:56 20:42:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:42:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:42:56 latest: Pulling from edgex-devops/git-semver 20:42:56 31603596830f: Pulling fs layer 20:42:56 2a8b12db71e7: Pulling fs layer 20:42:56 6ca5941a6612: Pulling fs layer 20:42:56 ecc8261a40a4: Pulling fs layer 20:42:56 ecc8261a40a4: Waiting 20:42:56 2a8b12db71e7: Verifying Checksum 20:42:56 2a8b12db71e7: Download complete 20:42:56 31603596830f: Verifying Checksum 20:42:56 31603596830f: Download complete 20:42:56 ecc8261a40a4: Verifying Checksum 20:42:56 ecc8261a40a4: Download complete 20:42:56 6ca5941a6612: Verifying Checksum 20:42:56 6ca5941a6612: Download complete 20:42:57 31603596830f: Pull complete 20:42:57 2a8b12db71e7: Pull complete 20:42:58 6ca5941a6612: Pull complete 20:42:58 ecc8261a40a4: Pull complete 20:42:58 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:42:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:42:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:42:58 prd-centos7-docker-4c-2g-515 does not seem to be running inside a container 20:42:58 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:43:00 $ docker top 39fb550e7dcd87565187cc734e9531b50c5ae74f0b2ee614a77b89269f752280 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:43:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:01 [ssh-agent] Looking for ssh-agent implementation... 20:43:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:01 $ docker exec 39fb550e7dcd87565187cc734e9531b50c5ae74f0b2ee614a77b89269f752280 ssh-agent 20:43:01 SSH_AUTH_SOCK=/tmp/ssh-pP6DFvGDF5qa/agent.11 20:43:01 SSH_AGENT_PID=17 20:43:01 Running ssh-add (command line suppressed) 20:43:01 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6170536063532288072.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6170536063532288072.key) 20:43:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:02 + git describe --exact-match --tags HEAD 20:43:02 fatal: No names found, cannot describe anything. [Pipeline] } 20:43:02 $ docker exec --env ******** --env ******** 39fb550e7dcd87565187cc734e9531b50c5ae74f0b2ee614a77b89269f752280 ssh-agent -k 20:43:02 unset SSH_AUTH_SOCK; 20:43:02 unset SSH_AGENT_PID; 20:43:02 echo Agent pid 17 killed; 20:43:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:43:02 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:43:02 This usually means this commit has not been tagged. [Pipeline] sshagent 20:43:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:02 [ssh-agent] Looking for ssh-agent implementation... 20:43:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:02 $ docker exec 39fb550e7dcd87565187cc734e9531b50c5ae74f0b2ee614a77b89269f752280 ssh-agent 20:43:02 SSH_AUTH_SOCK=/tmp/ssh-Hxu9EuLSmmd8/agent.45 20:43:02 SSH_AGENT_PID=50 20:43:02 Running ssh-add (command line suppressed) 20:43:02 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_540293858372706438.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_540293858372706438.key) 20:43:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:03 + git semver init 20:43:03 # -> Open(): unable to determine branch for HEAD 20:43:03 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 20:43:03 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 20:43:03 # $SEMVER_REMOTE_NAME = origin 20:43:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:43:03 # $SEMVER_USER_NAME = edgex-jenkins 20:43:03 # $SEMVER_BRANCH = master 20:43:03 # $SEMVER_TEMP = /tmp/semver-388773643 20:43:03 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 20:43:03 # '/tmp/semver-388773643' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' 20:43:03 # -> Force: false 20:43:03 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 20:43:03 $ docker exec --env ******** --env ******** 39fb550e7dcd87565187cc734e9531b50c5ae74f0b2ee614a77b89269f752280 ssh-agent -k 20:43:03 unset SSH_AUTH_SOCK; 20:43:03 unset SSH_AGENT_PID; 20:43:03 echo Agent pid 50 killed; 20:43:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:43:04 + git semver [Pipeline] } 20:43:04 $ docker stop --time=1 39fb550e7dcd87565187cc734e9531b50c5ae74f0b2ee614a77b89269f752280 20:43:05 $ docker rm -f 39fb550e7dcd87565187cc734e9531b50c5ae74f0b2ee614a77b89269f752280 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:43:06 Stashed 19 file(s) [Pipeline] echo 20:43:06 [edgeXSemver] initialized semver on version 1.2.2 [Pipeline] echo 20:43:06 Archived original version: [1.2.2] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 20:43:22 Still waiting to schedule task 20:43:22 ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-507’ is offline; ‘prd-centos7-docker-4c-2g-517’ is offline 20:43:22 Still waiting to schedule task 20:43:22 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-513’ 20:44:43 Running on prd-centos7-docker-4c-2g-521 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 20:44:43 Running in /w/workspace/device-snmp-go/11 [Pipeline] { [Pipeline] checkout 20:44:50 using credential edgex-jenkins-ssh 20:44:51 Cloning the remote Git repository 20:44:51 Cloning with configured refspecs honoured and without tags 20:44:51 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 20:44:51 > git init /w/workspace/device-snmp-go/11 # timeout=10 20:44:51 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:44:51 > git --version # timeout=10 20:44:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:44:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:44:52 Fetching without tags 20:44:52 Checking out Revision ad194bc803dc916884c38fead828e9a39ff73581 (master) 20:44:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:44:52 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:44:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:44:52 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:44:52 using GIT_SSH to set credentials SSH Credentials for GitHub 20:44:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:44:52 > git config core.sparsecheckout # timeout=10 20:44:52 > git checkout -f ad194bc803dc916884c38fead828e9a39ff73581 # timeout=10 20:44:57 Commit message: "Merge pull request #56 from hahattan/issue-54/55" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:44:58 ========================================================= 20:44:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 20:44:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:44:59 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 20:45:00 Sending build context to Docker daemon 346.6kB 20:45:00 Step 1/10 : ARG BASE=golang:1.13-alpine 20:45:00 Step 2/10 : FROM ${BASE} 20:45:00 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 20:45:00 df20fa9351a1: Pulling fs layer 20:45:00 ed8968b2872e: Pulling fs layer 20:45:00 a92cc7c5fd73: Pulling fs layer 20:45:00 2dd03ba5bac4: Pulling fs layer 20:45:00 1e091d79d1de: Pulling fs layer 20:45:00 481702a1767f: Pulling fs layer 20:45:00 f64a6f60c768: Pulling fs layer 20:45:00 e78d2573fc39: Pulling fs layer 20:45:00 e876d2f968b6: Pulling fs layer 20:45:00 ce8a83651883: Pulling fs layer 20:45:00 07967f4d0e4b: Pulling fs layer 20:45:00 2dd03ba5bac4: Waiting 20:45:00 1e091d79d1de: Waiting 20:45:00 481702a1767f: Waiting 20:45:00 f64a6f60c768: Waiting 20:45:00 e78d2573fc39: Waiting 20:45:00 e876d2f968b6: Waiting 20:45:00 ce8a83651883: Waiting 20:45:00 07967f4d0e4b: Waiting 20:45:00 a92cc7c5fd73: Download complete 20:45:00 ed8968b2872e: Download complete 20:45:00 1e091d79d1de: Verifying Checksum 20:45:00 1e091d79d1de: Download complete 20:45:00 481702a1767f: Verifying Checksum 20:45:00 481702a1767f: Download complete 20:45:01 df20fa9351a1: Verifying Checksum 20:45:01 df20fa9351a1: Download complete 20:45:01 df20fa9351a1: Pull complete 20:45:02 ed8968b2872e: Pull complete 20:45:02 a92cc7c5fd73: Pull complete 20:45:04 f64a6f60c768: Verifying Checksum 20:45:04 f64a6f60c768: Download complete 20:45:04 e876d2f968b6: Verifying Checksum 20:45:04 e876d2f968b6: Download complete 20:45:07 2dd03ba5bac4: Download complete 20:45:07 07967f4d0e4b: Verifying Checksum 20:45:07 07967f4d0e4b: Download complete 20:45:07 e78d2573fc39: Verifying Checksum 20:45:07 e78d2573fc39: Download complete 20:45:08 ce8a83651883: Verifying Checksum 20:45:08 ce8a83651883: Download complete 20:45:18 2dd03ba5bac4: Pull complete 20:45:18 1e091d79d1de: Pull complete 20:45:18 481702a1767f: Pull complete 20:45:22 f64a6f60c768: Pull complete 20:45:26 e78d2573fc39: Pull complete 20:45:26 e876d2f968b6: Pull complete 20:45:29 ce8a83651883: Pull complete 20:45:29 07967f4d0e4b: Pull complete 20:45:29 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 20:45:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 20:45:29 ---> 5d7c900382c6 20:45:29 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 20:45:31 ---> Running in 3a69f4b90275 20:45:31 Removing intermediate container 3a69f4b90275 20:45:31 ---> 9c2d725d453a 20:45:31 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:45:31 ---> Running in be6dd0e61b19 20:45:31 Removing intermediate container be6dd0e61b19 20:45:31 ---> 9fdbe93ece8a 20:45:31 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 20:45:31 ---> Running in 9a2c34aa47f6 20:45:31 Removing intermediate container 9a2c34aa47f6 20:45:31 ---> ed1783daf960 20:45:31 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:45:31 ---> Running in db4cbe69e92a 20:45:34 Removing intermediate container db4cbe69e92a 20:45:34 ---> 3c1e547cf3b4 20:45:34 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:45:34 ---> Running in 342194d721a3 20:45:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:45:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:45:36 OK: 166 MiB in 39 packages 20:45:37 Removing intermediate container 342194d721a3 20:45:37 ---> 6fc2b9c522da 20:45:37 Step 8/10 : WORKDIR /device-snmp-go 20:45:37 ---> Running in 71eade9eb45d 20:45:37 Removing intermediate container 71eade9eb45d 20:45:37 ---> 3a713cda1d9a 20:45:37 Step 9/10 : COPY . . 20:45:38 ---> bef2a3f13b14 20:45:38 Step 10/10 : RUN go mod download 20:45:38 ---> Running in 14f3a87429ab 20:45:42 go: finding github.com/BurntSushi/toml v0.3.1 20:45:42 go: finding github.com/OneOfOne/xxhash v1.2.6 20:45:42 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:45:42 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:45:42 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:45:42 go: finding github.com/bgentry/speakeasy v0.1.0 20:45:42 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:45:42 go: finding github.com/davecgh/go-spew v1.1.1 20:45:42 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 20:45:42 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 20:45:42 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:45:42 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:45:42 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:45:42 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:45:42 go: finding github.com/fatih/color v1.7.0 20:45:42 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:45:42 go: finding github.com/go-kit/kit v0.8.0 20:45:42 go: finding github.com/go-logfmt/logfmt v0.4.0 20:45:42 go: finding github.com/go-stack/stack v1.8.0 20:45:42 go: finding github.com/golang/mock v1.2.0 20:45:42 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:45:42 go: finding github.com/google/uuid v1.1.0 20:45:42 go: finding github.com/gorilla/mux v1.7.1 20:45:43 go: finding github.com/hashicorp/consul/api v1.1.0 20:45:43 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:45:43 go: finding github.com/hashicorp/errwrap v1.0.0 20:45:43 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:45:43 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:45:43 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:45:43 go: finding github.com/hashicorp/go-multierror v1.0.0 20:45:43 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:45:43 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:45:43 go: finding github.com/hashicorp/go-syslog v1.0.0 20:45:43 go: finding github.com/hashicorp/go-uuid v1.0.1 20:45:43 go: finding github.com/hashicorp/go.net v0.0.1 20:45:43 go: finding github.com/hashicorp/golang-lru v0.5.0 20:45:43 go: finding github.com/hashicorp/logutils v1.0.0 20:45:43 go: finding github.com/hashicorp/mdns v1.0.0 20:45:44 go: finding github.com/hashicorp/memberlist v0.1.3 20:45:44 go: finding github.com/hashicorp/serf v0.8.2 20:45:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:45:44 go: finding github.com/mattn/go-colorable v0.0.9 20:45:44 go: finding github.com/mattn/go-isatty v0.0.3 20:45:44 go: finding github.com/miekg/dns v1.0.14 20:45:44 go: finding github.com/mitchellh/cli v1.0.0 20:45:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:45:44 go: finding github.com/mitchellh/copystructure v1.0.0 20:45:44 go: finding github.com/mitchellh/go-homedir v1.0.0 20:45:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:45:44 go: finding github.com/mitchellh/gox v0.4.0 20:45:44 go: finding github.com/mitchellh/iochan v1.0.0 20:45:44 go: finding github.com/mitchellh/mapstructure v1.1.2 20:45:44 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:45:44 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:45:44 go: finding github.com/pelletier/go-toml v1.2.0 20:45:44 go: finding github.com/pkg/errors v0.8.1 20:45:44 go: finding github.com/pmezard/go-difflib v1.0.0 20:45:44 go: finding github.com/posener/complete v1.1.1 20:45:44 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:45:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:45:45 go: finding github.com/soniah/gosnmp v1.21.0 20:45:45 go: finding github.com/stretchr/objx v0.1.0 20:45:45 go: finding github.com/stretchr/testify v1.5.1 20:45:45 go: finding github.com/ugorji/go v1.1.4 20:45:45 go: finding github.com/x448/float16 v0.8.4 20:45:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:45:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:45:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:45:45 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:45:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:45:45 go: finding gopkg.in/yaml.v2 v2.2.8 20:45:56 Removing intermediate container 14f3a87429ab 20:45:56 ---> 0841257c2790 20:45:56 Successfully built 0841257c2790 20:45:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:45:58 + ls -al . 20:45:58 total 76 20:45:58 drwxrwxr-x. 9 jenkins jenkins 4096 Aug 19 20:44 . 20:45:58 drwxrwxr-x. 4 jenkins jenkins 30 Aug 19 20:44 .. 20:45:58 -rw-rw-r--. 1 jenkins jenkins 4910 Aug 19 20:44 Attribution.txt 20:45:58 drwxrwxr-x. 2 jenkins jenkins 87 Aug 19 20:44 bin 20:45:58 drwxrwxr-x. 3 jenkins jenkins 32 Aug 19 20:44 cmd 20:45:58 -rw-rw-r--. 1 jenkins jenkins 994 Aug 19 20:44 Dockerfile 20:45:58 -rw-rw-r--. 1 jenkins jenkins 409 Aug 19 20:44 Dockerfile.build 20:45:58 -rw-rw-r--. 1 jenkins jenkins 6 Aug 19 20:44 .dockerignore 20:45:58 drwxrwxr-x. 8 jenkins jenkins 162 Aug 19 20:44 .git 20:45:58 drwxrwxr-x. 2 jenkins jenkins 38 Aug 19 20:44 .github 20:45:58 -rw-rw-r--. 1 jenkins jenkins 272 Aug 19 20:44 .gitignore 20:45:58 -rw-rw-r--. 1 jenkins jenkins 203 Aug 19 20:44 go.mod 20:45:58 drwxrwxr-x. 3 jenkins jenkins 20 Aug 19 20:44 internal 20:45:58 -rw-rw-r--. 1 jenkins jenkins 678 Aug 19 20:44 Jenkinsfile 20:45:58 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 19 20:44 LICENSE 20:45:58 -rw-rw-r--. 1 jenkins jenkins 937 Aug 19 20:44 Makefile 20:45:58 drwxrwxr-x. 2 jenkins jenkins 84 Aug 19 20:44 profiles 20:45:58 -rw-rw-r--. 1 jenkins jenkins 12398 Aug 19 20:44 README.md 20:45:58 drwxrwxr-x. 3 jenkins jenkins 61 Aug 19 20:44 .semver 20:45:58 -rw-rw-r--. 1 jenkins jenkins 5 Aug 19 20:43 VERSION 20:45:58 -rw-rw-r--. 1 jenkins jenkins 209 Aug 19 20:44 version.go [Pipeline] isUnix [Pipeline] sh 20:45:59 + docker build -t docker-device-snmp-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=ad194bc803dc916884c38fead828e9a39ff73581 --label arch=amd64 --label version=1.2.2 . 20:46:00 Sending build context to Docker daemon 346.6kB 20:46:00 Step 1/25 : ARG BASE=golang:1.13-alpine 20:46:00 Step 2/25 : FROM ${BASE} AS builder 20:46:00 ---> 0841257c2790 20:46:00 Step 3/25 : ARG MAKE='make build' 20:46:00 ---> Running in d56749d88a94 20:46:00 Removing intermediate container d56749d88a94 20:46:00 ---> bbf83b996f46 20:46:00 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 20:46:00 ---> Running in b44a944fea94 20:46:00 Removing intermediate container b44a944fea94 20:46:00 ---> 744f6d216e8a 20:46:00 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:46:01 ---> Running in fe2caabb9d06 20:46:01 Removing intermediate container fe2caabb9d06 20:46:01 ---> 18cb3e9b44d7 20:46:01 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:46:01 ---> Running in 2988710921fc 20:46:03 Removing intermediate container 2988710921fc 20:46:03 ---> 1d6b599e0808 20:46:03 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:04 ---> Running in f796af72ed48 20:46:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:46:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:46:07 OK: 166 MiB in 39 packages 20:46:08 Removing intermediate container f796af72ed48 20:46:08 ---> 73dcbcb38366 20:46:08 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 20:46:08 ---> Running in 9a7c1a9adbaf 20:46:08 Removing intermediate container 9a7c1a9adbaf 20:46:08 ---> 40b639c62674 20:46:08 Step 9/25 : COPY go.mod . 20:46:08 ---> b492e6000859 20:46:08 Step 10/25 : COPY Makefile . 20:46:09 ---> b8f8625ea917 20:46:09 Step 11/25 : RUN make update 20:46:09 ---> Running in 142d0ece6cf8 20:46:09 CGO_ENABLED=0 GO111MODULE=on go mod download 20:46:10 Removing intermediate container 142d0ece6cf8 20:46:10 ---> 5b78f67daf8d 20:46:10 Step 12/25 : COPY . . 20:46:10 ---> 99d9c01fb327 20:46:10 Step 13/25 : RUN ${MAKE} 20:46:10 ---> Running in a358423bec4d 20:46:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.2" -o cmd/device-snmp-go ./cmd 20:46:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-524 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 20:46:16 Running in /w/workspace/device-snmp-go/11 [Pipeline] { [Pipeline] checkout 20:46:21 using credential edgex-jenkins-ssh 20:46:21 Cloning the remote Git repository 20:46:21 Cloning with configured refspecs honoured and without tags 20:46:21 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 20:46:21 > git init /w/workspace/device-snmp-go/11 # timeout=10 20:46:22 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:46:22 > git --version # timeout=10 20:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:46:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:46:23 Fetching without tags 20:46:23 Checking out Revision ad194bc803dc916884c38fead828e9a39ff73581 (master) 20:46:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:46:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:46:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:46:23 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:46:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:46:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:46:23 > git config core.sparsecheckout # timeout=10 20:46:23 > git checkout -f ad194bc803dc916884c38fead828e9a39ff73581 # timeout=10 20:46:27 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:46:28 Commit message: "Merge pull request #56 from hahattan/issue-54/55" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:46:29 ========================================================= 20:46:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 20:46:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:46:30 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 20:46:31 Sending build context to Docker daemon 346.6kB 20:46:31 Step 1/10 : ARG BASE=golang:1.13-alpine 20:46:31 Step 2/10 : FROM ${BASE} 20:46:31 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:46:31 b538f80385f9: Pulling fs layer 20:46:31 74f711af9a0d: Pulling fs layer 20:46:31 99f96fe45779: Pulling fs layer 20:46:31 fd7a069fd194: Pulling fs layer 20:46:31 66aa3694b03b: Pulling fs layer 20:46:31 170f70906a0f: Pulling fs layer 20:46:31 ad7c5574e4b9: Pulling fs layer 20:46:31 e772456be8f7: Pulling fs layer 20:46:31 c890913d741a: Pulling fs layer 20:46:31 2480fcc9aa5a: Pulling fs layer 20:46:31 09adf4765672: Pulling fs layer 20:46:31 ad7c5574e4b9: Waiting 20:46:31 e772456be8f7: Waiting 20:46:31 c890913d741a: Waiting 20:46:31 2480fcc9aa5a: Waiting 20:46:31 09adf4765672: Waiting 20:46:31 fd7a069fd194: Waiting 20:46:31 66aa3694b03b: Waiting 20:46:31 170f70906a0f: Waiting 20:46:31 99f96fe45779: Verifying Checksum 20:46:31 99f96fe45779: Download complete 20:46:31 74f711af9a0d: Verifying Checksum 20:46:31 74f711af9a0d: Download complete 20:46:31 66aa3694b03b: Verifying Checksum 20:46:31 66aa3694b03b: Download complete 20:46:31 170f70906a0f: Verifying Checksum 20:46:31 170f70906a0f: Download complete 20:46:31 b538f80385f9: Verifying Checksum 20:46:31 b538f80385f9: Download complete 20:46:32 b538f80385f9: Pull complete 20:46:33 Removing intermediate container a358423bec4d 20:46:33 ---> 6487d6bbf7a7 20:46:33 Step 14/25 : FROM alpine 20:46:33 latest: Pulling from library/alpine 20:46:33 df20fa9351a1: Already exists 20:46:33 74f711af9a0d: Pull complete 20:46:33 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 20:46:33 Status: Downloaded newer image for alpine:latest 20:46:33 ---> a24bb4013296 20:46:33 Step 15/25 : ENV APP_PORT=49993 20:46:33 ---> Running in 0ac7955b7e0f 20:46:33 99f96fe45779: Pull complete 20:46:33 Removing intermediate container 0ac7955b7e0f 20:46:33 ---> 73748fcb243e 20:46:33 Step 16/25 : EXPOSE $APP_PORT 20:46:33 ---> Running in 9c094705bb14 20:46:34 Removing intermediate container 9c094705bb14 20:46:34 ---> 974f5519c4de 20:46:34 Step 17/25 : ENV DEVICE_PORT=161 20:46:34 ---> Running in c8543a448b4f 20:46:34 Removing intermediate container c8543a448b4f 20:46:34 ---> 9e65ae14b6b9 20:46:34 Step 18/25 : EXPOSE $DEVICE_PORT 20:46:34 ---> Running in 148837e14c34 20:46:34 Removing intermediate container 148837e14c34 20:46:34 ---> c569a5c56ad4 20:46:34 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 20:46:35 ad7c5574e4b9: Verifying Checksum 20:46:35 ad7c5574e4b9: Download complete 20:46:35 c890913d741a: Verifying Checksum 20:46:35 c890913d741a: Download complete 20:46:36 ---> 0d2d912bb75d 20:46:36 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 20:46:37 ---> 08ea93361672 20:46:37 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 20:46:37 ---> 0ed3b41d6f51 20:46:37 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 20:46:37 ---> Running in bf33157a4556 20:46:37 Removing intermediate container bf33157a4556 20:46:37 ---> 5a8bcac04c57 20:46:37 Step 23/25 : LABEL arch=amd64 20:46:37 ---> Running in b98d6e29cf73 20:46:37 2480fcc9aa5a: Verifying Checksum 20:46:37 2480fcc9aa5a: Download complete 20:46:37 09adf4765672: Verifying Checksum 20:46:37 09adf4765672: Download complete 20:46:37 Removing intermediate container b98d6e29cf73 20:46:37 ---> e83e92c17e89 20:46:37 Step 24/25 : LABEL git_sha=ad194bc803dc916884c38fead828e9a39ff73581 20:46:37 ---> Running in 04fdf107ef0e 20:46:37 e772456be8f7: Verifying Checksum 20:46:37 e772456be8f7: Download complete 20:46:38 Removing intermediate container 04fdf107ef0e 20:46:38 ---> 4ecc7254e055 20:46:38 Step 25/25 : LABEL version=1.2.2 20:46:38 ---> Running in 3dc5f40a3fe7 20:46:38 Removing intermediate container 3dc5f40a3fe7 20:46:38 ---> 53428883e86b 20:46:38 [Warning] One or more build-args [ARCH] were not consumed 20:46:38 Successfully built 53428883e86b 20:46:38 Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // script 20:46:38 fd7a069fd194: Download complete [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:46:38 provisioning config files... 20:46:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/11@tmp/config5791542648990450020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:39 nexus3.edgexfoundry.org:10001 20:46:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:39 Configure a credential helper to remove this warning. See 20:46:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:39 20:46:39 Login Succeeded 20:46:39 nexus3.edgexfoundry.org:10002 20:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:40 Configure a credential helper to remove this warning. See 20:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:40 20:46:40 Login Succeeded 20:46:40 nexus3.edgexfoundry.org:10003 20:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:40 Configure a credential helper to remove this warning. See 20:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:40 20:46:40 Login Succeeded 20:46:40 nexus3.edgexfoundry.org:10004 20:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:40 Configure a credential helper to remove this warning. See 20:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:40 20:46:40 Login Succeeded 20:46:40 docker.io 20:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:41 Configure a credential helper to remove this warning. See 20:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:41 20:46:41 Login Succeeded [Pipeline] } 20:46:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:46:41 [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: 20:46:41 ad194bc803dc916884c38fead828e9a39ff73581 20:46:41 latest 20:46:41 1.2.2 20:46:41 ad194bc803dc916884c38fead828e9a39ff73581-1.2.2 20:46:41 master 20:46:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:46:42 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581 [Pipeline] isUnix [Pipeline] sh 20:46:42 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581 20:46:42 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 20:46:42 bb468d14d3cf: Preparing 20:46:42 22329efed9df: Preparing 20:46:42 933358dafca0: Preparing 20:46:42 50644c29ef5a: Preparing 20:46:42 50644c29ef5a: Layer already exists 20:46:42 22329efed9df: Pushed 20:46:42 bb468d14d3cf: Pushed 20:46:44 933358dafca0: Pushed 20:46:44 ad194bc803dc916884c38fead828e9a39ff73581: digest: sha256:440ee3bb84be572a65875ee3456c5876604b914a15c542a3b17777159276d5b3 size: 1155 [Pipeline] isUnix [Pipeline] sh 20:46:45 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [Pipeline] isUnix [Pipeline] sh 20:46:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest 20:46:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 20:46:45 bb468d14d3cf: Preparing 20:46:45 22329efed9df: Preparing 20:46:45 933358dafca0: Preparing 20:46:45 50644c29ef5a: Preparing 20:46:45 bb468d14d3cf: Layer already exists 20:46:45 933358dafca0: Layer already exists 20:46:45 22329efed9df: Layer already exists 20:46:45 50644c29ef5a: Layer already exists 20:46:45 latest: digest: sha256:440ee3bb84be572a65875ee3456c5876604b914a15c542a3b17777159276d5b3 size: 1155 [Pipeline] isUnix [Pipeline] sh 20:46:46 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.2 [Pipeline] isUnix [Pipeline] sh 20:46:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.2 20:46:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 20:46:46 bb468d14d3cf: Preparing 20:46:46 22329efed9df: Preparing 20:46:46 933358dafca0: Preparing 20:46:46 50644c29ef5a: Preparing 20:46:46 bb468d14d3cf: Layer already exists 20:46:46 22329efed9df: Layer already exists 20:46:46 933358dafca0: Layer already exists 20:46:46 50644c29ef5a: Layer already exists 20:46:46 1.2.2: digest: sha256:440ee3bb84be572a65875ee3456c5876604b914a15c542a3b17777159276d5b3 size: 1155 [Pipeline] isUnix [Pipeline] sh 20:46:47 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581-1.2.2 [Pipeline] isUnix [Pipeline] sh 20:46:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581-1.2.2 20:46:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 20:46:48 bb468d14d3cf: Preparing 20:46:48 22329efed9df: Preparing 20:46:48 933358dafca0: Preparing 20:46:48 50644c29ef5a: Preparing 20:46:48 22329efed9df: Layer already exists 20:46:48 933358dafca0: Layer already exists 20:46:48 50644c29ef5a: Layer already exists 20:46:48 bb468d14d3cf: Layer already exists 20:46:48 ad194bc803dc916884c38fead828e9a39ff73581-1.2.2: digest: sha256:440ee3bb84be572a65875ee3456c5876604b914a15c542a3b17777159276d5b3 size: 1155 [Pipeline] isUnix [Pipeline] sh 20:46:48 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh 20:46:49 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master 20:46:49 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 20:46:49 bb468d14d3cf: Preparing 20:46:49 22329efed9df: Preparing 20:46:49 933358dafca0: Preparing 20:46:49 50644c29ef5a: Preparing 20:46:49 22329efed9df: Layer already exists 20:46:49 933358dafca0: Layer already exists 20:46:49 bb468d14d3cf: Layer already exists 20:46:49 50644c29ef5a: Layer already exists 20:46:49 master: digest: sha256:440ee3bb84be572a65875ee3456c5876604b914a15c542a3b17777159276d5b3 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:46:49 ===================================================== [Pipeline] echo 20:46:49 taggedImages: 20:46:49 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581 20:46:49 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest 20:46:49 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.2 20:46:49 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581-1.2.2 20:46:49 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:46:50 fd7a069fd194: Pull complete 20:46:50 66aa3694b03b: Pull complete 20:46:50 170f70906a0f: Pull complete 20:46:53 ad7c5574e4b9: Pull complete 20:46:59 e772456be8f7: Pull complete 20:46:59 c890913d741a: Pull complete 20:47:01 2480fcc9aa5a: Pull complete 20:47:01 09adf4765672: Pull complete 20:47:01 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 20:47:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 20:47:01 ---> 2248a725d1cf 20:47:01 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 20:47:06 ---> Running in 4286af1d3d03 20:47:07 Removing intermediate container 4286af1d3d03 20:47:07 ---> 6810b35a668c 20:47:07 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:47:07 ---> Running in 2b113d6c0458 20:47:07 Removing intermediate container 2b113d6c0458 20:47:07 ---> 5ec7b2d94700 20:47:07 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 20:47:07 ---> Running in 84d2e2ea0885 20:47:08 Removing intermediate container 84d2e2ea0885 20:47:08 ---> ea41ba26adb0 20:47:08 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:47:08 ---> Running in f9bfdc65c07e 20:47:11 Removing intermediate container f9bfdc65c07e 20:47:11 ---> 2992423122f8 20:47:11 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:11 ---> Running in b9c9dc7018fc 20:47:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:47:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:47:15 OK: 142 MiB in 39 packages 20:47:17 Removing intermediate container b9c9dc7018fc 20:47:17 ---> dea4c653be96 20:47:17 Step 8/10 : WORKDIR /device-snmp-go 20:47:17 ---> Running in 006a293393f2 20:47:17 Removing intermediate container 006a293393f2 20:47:17 ---> 445731973621 20:47:17 Step 9/10 : COPY . . 20:47:18 ---> eec4b727d9a3 20:47:18 Step 10/10 : RUN go mod download 20:47:18 ---> Running in 2235f6d00f9a 20:47:21 go: finding github.com/BurntSushi/toml v0.3.1 20:47:21 go: finding github.com/OneOfOne/xxhash v1.2.6 20:47:21 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:47:21 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:47:21 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:47:21 go: finding github.com/bgentry/speakeasy v0.1.0 20:47:22 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:47:22 go: finding github.com/davecgh/go-spew v1.1.1 20:47:22 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 20:47:22 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 20:47:22 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:47:22 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:47:22 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:47:22 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:47:22 go: finding github.com/fatih/color v1.7.0 20:47:22 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:47:22 go: finding github.com/go-kit/kit v0.8.0 20:47:22 go: finding github.com/go-logfmt/logfmt v0.4.0 20:47:22 go: finding github.com/go-stack/stack v1.8.0 20:47:22 go: finding github.com/golang/mock v1.2.0 20:47:22 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:47:22 go: finding github.com/google/uuid v1.1.0 20:47:22 go: finding github.com/gorilla/mux v1.7.1 20:47:22 go: finding github.com/hashicorp/consul/api v1.1.0 20:47:22 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:47:22 go: finding github.com/hashicorp/errwrap v1.0.0 20:47:22 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:47:22 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:47:22 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:47:22 go: finding github.com/hashicorp/go-multierror v1.0.0 20:47:22 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:47:22 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:47:22 go: finding github.com/hashicorp/go-syslog v1.0.0 20:47:23 go: finding github.com/hashicorp/go-uuid v1.0.1 20:47:23 go: finding github.com/hashicorp/go.net v0.0.1 20:47:23 go: finding github.com/hashicorp/golang-lru v0.5.0 20:47:23 go: finding github.com/hashicorp/logutils v1.0.0 20:47:23 go: finding github.com/hashicorp/mdns v1.0.0 20:47:23 go: finding github.com/hashicorp/memberlist v0.1.3 20:47:23 go: finding github.com/hashicorp/serf v0.8.2 20:47:23 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:47:23 go: finding github.com/mattn/go-colorable v0.0.9 20:47:23 go: finding github.com/mattn/go-isatty v0.0.3 20:47:23 go: finding github.com/miekg/dns v1.0.14 20:47:23 go: finding github.com/mitchellh/cli v1.0.0 20:47:23 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:47:23 go: finding github.com/mitchellh/copystructure v1.0.0 20:47:23 go: finding github.com/mitchellh/go-homedir v1.0.0 20:47:23 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:47:23 go: finding github.com/mitchellh/gox v0.4.0 20:47:23 go: finding github.com/mitchellh/iochan v1.0.0 20:47:23 go: finding github.com/mitchellh/mapstructure v1.1.2 20:47:23 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:47:23 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:47:24 go: finding github.com/pelletier/go-toml v1.2.0 20:47:24 go: finding github.com/pkg/errors v0.8.1 20:47:24 go: finding github.com/pmezard/go-difflib v1.0.0 20:47:24 go: finding github.com/posener/complete v1.1.1 20:47:24 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:47:24 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:47:24 go: finding github.com/soniah/gosnmp v1.21.0 20:47:24 go: finding github.com/stretchr/objx v0.1.0 20:47:24 go: finding github.com/stretchr/testify v1.5.1 20:47:24 go: finding github.com/ugorji/go v1.1.4 20:47:24 go: finding github.com/x448/float16 v0.8.4 20:47:24 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:47:24 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:47:24 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:47:24 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:47:24 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:47:24 go: finding gopkg.in/yaml.v2 v2.2.8 20:47:34 Removing intermediate container 2235f6d00f9a 20:47:34 ---> 1587e879ae29 20:47:34 Successfully built 1587e879ae29 20:47:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:47:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:47:35 + ls -al . 20:47:35 total 108 20:47:35 drwxrwxr-x 9 jenkins jenkins 4096 Aug 19 20:46 . 20:47:35 drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 20:46 .. 20:47:35 -rw-rw-r-- 1 jenkins jenkins 6 Aug 19 20:46 .dockerignore 20:47:35 drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 20:46 .git 20:47:35 drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:46 .github 20:47:35 -rw-rw-r-- 1 jenkins jenkins 272 Aug 19 20:46 .gitignore 20:47:35 drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:46 .semver 20:47:35 -rw-rw-r-- 1 jenkins jenkins 4910 Aug 19 20:46 Attribution.txt 20:47:35 -rw-rw-r-- 1 jenkins jenkins 994 Aug 19 20:46 Dockerfile 20:47:35 -rw-rw-r-- 1 jenkins jenkins 409 Aug 19 20:46 Dockerfile.build 20:47:35 -rw-rw-r-- 1 jenkins jenkins 678 Aug 19 20:46 Jenkinsfile 20:47:35 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 19 20:46 LICENSE 20:47:35 -rw-rw-r-- 1 jenkins jenkins 937 Aug 19 20:46 Makefile 20:47:35 -rw-rw-r-- 1 jenkins jenkins 12398 Aug 19 20:46 README.md 20:47:35 -rw-rw-r-- 1 jenkins jenkins 5 Aug 19 20:43 VERSION 20:47:35 drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:46 bin 20:47:35 drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:46 cmd 20:47:35 -rw-rw-r-- 1 jenkins jenkins 203 Aug 19 20:46 go.mod 20:47:35 drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:46 internal 20:47:35 drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:46 profiles 20:47:35 -rw-rw-r-- 1 jenkins jenkins 209 Aug 19 20:46 version.go [Pipeline] isUnix [Pipeline] sh 20:47:36 + docker build -t docker-device-snmp-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ad194bc803dc916884c38fead828e9a39ff73581 --label arch=arm64 --label version=1.2.2 . 20:47:36 Sending build context to Docker daemon 346.6kB 20:47:36 Step 1/25 : ARG BASE=golang:1.13-alpine 20:47:36 Step 2/25 : FROM ${BASE} AS builder 20:47:36 ---> 1587e879ae29 20:47:36 Step 3/25 : ARG MAKE='make build' 20:47:36 ---> Running in dc63b49c2019 20:47:37 Removing intermediate container dc63b49c2019 20:47:37 ---> 6028e9cdb631 20:47:37 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 20:47:37 ---> Running in 0ae44c9e7bdd 20:47:38 Removing intermediate container 0ae44c9e7bdd 20:47:38 ---> b3b9a840cc5f 20:47:38 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:47:38 ---> Running in 67d88b430bd8 20:47:39 Removing intermediate container 67d88b430bd8 20:47:39 ---> e1957de610d2 20:47:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:47:39 ---> Running in 340ce22d0bf3 20:47:42 Removing intermediate container 340ce22d0bf3 20:47:42 ---> b2391fa4333d 20:47:42 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:42 ---> Running in 5a121dc39637 20:47:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:47:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:47:46 OK: 142 MiB in 39 packages 20:47:47 Removing intermediate container 5a121dc39637 20:47:47 ---> 281218a703c4 20:47:47 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 20:47:47 ---> Running in 98f4cf55ca67 20:47:48 Removing intermediate container 98f4cf55ca67 20:47:48 ---> 7d5fa2775ea9 20:47:48 Step 9/25 : COPY go.mod . 20:47:49 ---> 8e20f9ab872e 20:47:49 Step 10/25 : COPY Makefile . 20:47:49 ---> f7bf020d8efc 20:47:49 Step 11/25 : RUN make update 20:47:49 ---> Running in ec625caa1fe1 20:47:51 CGO_ENABLED=0 GO111MODULE=on go mod download 20:47:52 Removing intermediate container ec625caa1fe1 20:47:52 ---> 821571bbb6c1 20:47:52 Step 12/25 : COPY . . 20:47:53 ---> 5337959b87c1 20:47:53 Step 13/25 : RUN ${MAKE} 20:47:53 ---> Running in 5d7c8ef135eb 20:47:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.2" -o cmd/device-snmp-go ./cmd 20:48:22 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:48:25 Removing intermediate container 5d7c8ef135eb 20:48:25 ---> f6a4f9374f6a 20:48:25 Step 14/25 : FROM alpine 20:48:25 latest: Pulling from library/alpine 20:48:26 b538f80385f9: Already exists 20:48:26 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 20:48:26 Status: Downloaded newer image for alpine:latest 20:48:26 ---> 62ee0e9f8440 20:48:26 Step 15/25 : ENV APP_PORT=49993 20:48:26 ---> Running in 28a32101ee1b 20:48:26 Removing intermediate container 28a32101ee1b 20:48:26 ---> 13a7fd6cddae 20:48:26 Step 16/25 : EXPOSE $APP_PORT 20:48:26 ---> Running in d980e454a01a 20:48:27 Removing intermediate container d980e454a01a 20:48:27 ---> 240b29f0217f 20:48:27 Step 17/25 : ENV DEVICE_PORT=161 20:48:27 ---> Running in 6c0f6caaea72 20:48:28 Removing intermediate container 6c0f6caaea72 20:48:28 ---> ac864830bc28 20:48:28 Step 18/25 : EXPOSE $DEVICE_PORT 20:48:28 ---> Running in 362b9bd06c3e 20:48:28 Removing intermediate container 362b9bd06c3e 20:48:28 ---> ba3d5392935b 20:48:28 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 20:48:30 ---> 155ac1c1ebd8 20:48:30 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 20:48:30 ---> a042ad897234 20:48:30 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 20:48:31 ---> f11ef8b03bc4 20:48:31 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 20:48:31 ---> Running in f769c5ee2cfe 20:48:32 Removing intermediate container f769c5ee2cfe 20:48:32 ---> 30b814dddf1f 20:48:32 Step 23/25 : LABEL arch=arm64 20:48:32 ---> Running in 992770bc731e 20:48:32 Removing intermediate container 992770bc731e 20:48:32 ---> 37672be02d71 20:48:32 Step 24/25 : LABEL git_sha=ad194bc803dc916884c38fead828e9a39ff73581 20:48:32 ---> Running in 958706915b89 20:48:33 Removing intermediate container 958706915b89 20:48:33 ---> dc3aec207514 20:48:33 Step 25/25 : LABEL version=1.2.2 20:48:33 ---> Running in e7d570a698ef 20:48:33 Removing intermediate container e7d570a698ef 20:48:33 ---> 1020d584abc5 20:48:33 [Warning] One or more build-args [ARCH] were not consumed 20:48:34 Successfully built 1020d584abc5 20:48:34 Successfully tagged docker-device-snmp-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:48:34 provisioning config files... 20:48:34 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/11@tmp/config1077874757305085191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:35 nexus3.edgexfoundry.org:10001 20:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:35 Configure a credential helper to remove this warning. See 20:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:35 20:48:35 Login Succeeded 20:48:35 nexus3.edgexfoundry.org:10002 20:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:36 Configure a credential helper to remove this warning. See 20:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:36 20:48:36 Login Succeeded 20:48:36 nexus3.edgexfoundry.org:10003 20:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:36 Configure a credential helper to remove this warning. See 20:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:36 20:48:36 Login Succeeded 20:48:36 nexus3.edgexfoundry.org:10004 20:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:37 Configure a credential helper to remove this warning. See 20:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:37 20:48:37 Login Succeeded 20:48:37 docker.io 20:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:38 Configure a credential helper to remove this warning. See 20:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:38 20:48:38 Login Succeeded [Pipeline] } 20:48:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:48:38 [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: 20:48:38 ad194bc803dc916884c38fead828e9a39ff73581 20:48:38 latest 20:48:38 1.2.2 20:48:38 ad194bc803dc916884c38fead828e9a39ff73581-1.2.2 20:48:38 master 20:48:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:48:38 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581 [Pipeline] isUnix [Pipeline] sh 20:48:39 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581 20:48:39 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 20:48:39 a2faebe051bb: Preparing 20:48:39 849f9ba08e70: Preparing 20:48:39 e088fc8b410b: Preparing 20:48:39 e2f13739ad41: Preparing 20:48:39 e2f13739ad41: Layer already exists 20:48:39 849f9ba08e70: Pushed 20:48:39 a2faebe051bb: Pushed 20:48:42 e088fc8b410b: Pushed 20:48:42 ad194bc803dc916884c38fead828e9a39ff73581: digest: sha256:b8a994ce9fea1293ad6a31e54c1ff391fd1b30e321f01849cded92d411347a4f size: 1155 [Pipeline] isUnix [Pipeline] sh 20:48:43 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:48:43 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest 20:48:43 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 20:48:43 a2faebe051bb: Preparing 20:48:43 849f9ba08e70: Preparing 20:48:43 e088fc8b410b: Preparing 20:48:43 e2f13739ad41: Preparing 20:48:43 e088fc8b410b: Layer already exists 20:48:43 a2faebe051bb: Layer already exists 20:48:43 e2f13739ad41: Layer already exists 20:48:43 849f9ba08e70: Layer already exists 20:48:43 latest: digest: sha256:b8a994ce9fea1293ad6a31e54c1ff391fd1b30e321f01849cded92d411347a4f size: 1155 [Pipeline] isUnix [Pipeline] sh 20:48:43 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.2 [Pipeline] isUnix [Pipeline] sh 20:48:44 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.2 20:48:44 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 20:48:44 a2faebe051bb: Preparing 20:48:44 849f9ba08e70: Preparing 20:48:44 e088fc8b410b: Preparing 20:48:44 e2f13739ad41: Preparing 20:48:44 a2faebe051bb: Layer already exists 20:48:44 e088fc8b410b: Layer already exists 20:48:44 849f9ba08e70: Layer already exists 20:48:44 e2f13739ad41: Layer already exists 20:48:44 1.2.2: digest: sha256:b8a994ce9fea1293ad6a31e54c1ff391fd1b30e321f01849cded92d411347a4f size: 1155 [Pipeline] isUnix [Pipeline] sh 20:48:44 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581-1.2.2 [Pipeline] isUnix [Pipeline] sh 20:48:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581-1.2.2 20:48:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 20:48:45 a2faebe051bb: Preparing 20:48:45 849f9ba08e70: Preparing 20:48:45 e088fc8b410b: Preparing 20:48:45 e2f13739ad41: Preparing 20:48:45 e088fc8b410b: Layer already exists 20:48:45 e2f13739ad41: Layer already exists 20:48:45 a2faebe051bb: Layer already exists 20:48:45 849f9ba08e70: Layer already exists 20:48:45 ad194bc803dc916884c38fead828e9a39ff73581-1.2.2: digest: sha256:b8a994ce9fea1293ad6a31e54c1ff391fd1b30e321f01849cded92d411347a4f size: 1155 [Pipeline] isUnix [Pipeline] sh 20:48:45 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh 20:48:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master 20:48:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 20:48:46 a2faebe051bb: Preparing 20:48:46 849f9ba08e70: Preparing 20:48:46 e088fc8b410b: Preparing 20:48:46 e2f13739ad41: Preparing 20:48:46 e2f13739ad41: Layer already exists 20:48:46 849f9ba08e70: Layer already exists 20:48:46 a2faebe051bb: Layer already exists 20:48:46 e088fc8b410b: Layer already exists 20:48:46 master: digest: sha256:b8a994ce9fea1293ad6a31e54c1ff391fd1b30e321f01849cded92d411347a4f size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:48:46 ===================================================== [Pipeline] echo 20:48:46 taggedImages: 20:48:46 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581 20:48:46 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest 20:48:46 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.2 20:48:46 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581-1.2.2 20:48:46 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 20:48:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 20:48:47 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 20:48:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:48:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 20:48:48 20:48:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 20:48:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 20:48:48 1.317.0: Pulling from edgex-devops/edgex-snyk-go 20:48:48 cbdbe7a5bc2a: Pulling fs layer 20:48:48 408f87550127: Pulling fs layer 20:48:48 fe522b08c979: Pulling fs layer 20:48:48 221eaa008020: Pulling fs layer 20:48:48 2a4607e5d6b9: Pulling fs layer 20:48:48 8f79b27c4fd2: Pulling fs layer 20:48:48 e5c8dbe1645b: Pulling fs layer 20:48:48 23e8b3b47431: Pulling fs layer 20:48:48 5c568d65a230: Pulling fs layer 20:48:48 8f79b27c4fd2: Waiting 20:48:48 e5c8dbe1645b: Waiting 20:48:48 221eaa008020: Waiting 20:48:48 23e8b3b47431: Waiting 20:48:48 2a4607e5d6b9: Waiting 20:48:48 5c568d65a230: Waiting 20:48:48 408f87550127: Download complete 20:48:48 2a4607e5d6b9: Verifying Checksum 20:48:48 2a4607e5d6b9: Download complete 20:48:48 8f79b27c4fd2: Verifying Checksum 20:48:48 8f79b27c4fd2: Download complete 20:48:48 cbdbe7a5bc2a: Verifying Checksum 20:48:48 cbdbe7a5bc2a: Download complete 20:48:49 e5c8dbe1645b: Verifying Checksum 20:48:49 e5c8dbe1645b: Download complete 20:48:49 cbdbe7a5bc2a: Pull complete 20:48:49 23e8b3b47431: Verifying Checksum 20:48:49 23e8b3b47431: Download complete 20:48:49 408f87550127: Pull complete 20:48:49 5c568d65a230: Verifying Checksum 20:48:49 5c568d65a230: Download complete 20:48:49 fe522b08c979: Pull complete 20:48:50 221eaa008020: Verifying Checksum 20:48:50 221eaa008020: Download complete 20:48:55 221eaa008020: Pull complete 20:48:55 2a4607e5d6b9: Pull complete 20:48:55 8f79b27c4fd2: Pull complete 20:48:59 e5c8dbe1645b: Pull complete 20:49:01 23e8b3b47431: Pull complete 20:49:03 5c568d65a230: Pull complete 20:49:03 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 20:49:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 20:49:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 20:49:03 prd-centos7-docker-4c-2g-515 does not seem to be running inside a container 20:49:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-snmp-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 20:49:04 $ docker top 94db26c4e7215469dec5fa1f7e7d408aad4e6002815ccc39387086675bdf61af -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:05 + snyk monitor '--org=edgex-jenkins' 20:49:13 20:49:13 Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... 20:49:13 20:49:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/2621be77-e586-4e33-b1ce-c1d2153a4d02 20:49:13 20:49:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:49:13 20:49:13 20:49:13 Snyk CLI supports Node.js 8 and higher. 20:49:13 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 20:49:13 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 20:49:13 20:49:13 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 20:49:13 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 20:49:13 $ docker stop --time=1 94db26c4e7215469dec5fa1f7e7d408aad4e6002815ccc39387086675bdf61af 20:49:16 $ docker rm -f 94db26c4e7215469dec5fa1f7e7d408aad4e6002815ccc39387086675bdf61af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:49:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:49:17 20:49:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 20:49:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:49:17 latest: Pulling from edgex-devops/edgex-klar 20:49:17 e7c96db7181b: Pulling fs layer 20:49:17 1868ca2cb446: Pulling fs layer 20:49:17 136be5d0fe8e: Pulling fs layer 20:49:17 894bfe63afcb: Pulling fs layer 20:49:17 894bfe63afcb: Waiting 20:49:17 1868ca2cb446: Verifying Checksum 20:49:17 1868ca2cb446: Download complete 20:49:17 136be5d0fe8e: Verifying Checksum 20:49:17 136be5d0fe8e: Download complete 20:49:17 e7c96db7181b: Verifying Checksum 20:49:17 e7c96db7181b: Download complete 20:49:17 894bfe63afcb: Verifying Checksum 20:49:17 e7c96db7181b: Pull complete 20:49:18 1868ca2cb446: Pull complete 20:49:18 136be5d0fe8e: Pull complete 20:49:18 894bfe63afcb: Pull complete 20:49:18 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 20:49:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:49:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 20:49:18 prd-centos7-docker-4c-2g-515 does not seem to be running inside a container 20:49:18 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 20:49:19 $ docker top a8ace5718abe5871a288405fa553f130256a73ca089fe12667cf1fe4651e198f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:20 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581 20:49:20 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:49:24 $ docker stop --time=1 a8ace5718abe5871a288405fa553f130256a73ca089fe12667cf1fe4651e198f 20:49:26 $ docker rm -f a8ace5718abe5871a288405fa553f130256a73ca089fe12667cf1fe4651e198f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:49:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:49:26 . [Pipeline] withDockerContainer 20:49:26 prd-centos7-docker-4c-2g-515 does not seem to be running inside a container 20:49:26 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 20:49:27 $ docker top f216898b549ebb4ea1c8724ef43d21f1ab9eddb31b118e8c1e98675959c6c2cf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:27 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581 20:49:27 + tee 20:49:27 clair timeout 1m0s 20:49:27 docker timeout: 1m0s 20:49:27 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:49:28 $ docker stop --time=1 f216898b549ebb4ea1c8724ef43d21f1ab9eddb31b118e8c1e98675959c6c2cf 20:49:29 $ docker rm -f f216898b549ebb4ea1c8724ef43d21f1ab9eddb31b118e8c1e98675959c6c2cf [Pipeline] // withDockerContainer [Pipeline] sh 20:49:30 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo 20:49:30 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-snmp-go_master/clair-reports/clair_results_docker-device-snmp-go_ad194bc803dc916884c38fead828e9a39ff73581.html [Pipeline] writeFile [Pipeline] step 20:49:30 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 20:49:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:49:30 . [Pipeline] withDockerContainer 20:49:31 prd-centos7-docker-4c-2g-515 does not seem to be running inside a container 20:49:31 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 20:49:31 $ docker top 40a0343ba4116de44f6fd9d01757a4fe25a2f44ef66f1e2c988987f352dcb08b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:32 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581 20:49:32 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:49:35 $ docker stop --time=1 40a0343ba4116de44f6fd9d01757a4fe25a2f44ef66f1e2c988987f352dcb08b 20:49:37 $ docker rm -f 40a0343ba4116de44f6fd9d01757a4fe25a2f44ef66f1e2c988987f352dcb08b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:49:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:49:37 . [Pipeline] withDockerContainer 20:49:37 prd-centos7-docker-4c-2g-515 does not seem to be running inside a container 20:49:37 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 20:49:38 $ docker top f15f44ee579e24fed8fc1df94b89ee4c11f34807768cb5257192e242942cd339 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:39 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581 20:49:39 + tee 20:49:39 clair timeout 1m0s 20:49:39 docker timeout: 1m0s 20:49:39 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:49:39 $ docker stop --time=1 f15f44ee579e24fed8fc1df94b89ee4c11f34807768cb5257192e242942cd339 20:49:41 $ docker rm -f f15f44ee579e24fed8fc1df94b89ee4c11f34807768cb5257192e242942cd339 [Pipeline] // withDockerContainer [Pipeline] sh 20:49:41 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo 20:49:41 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-snmp-go_master/clair-reports/clair_results_docker-device-snmp-go-arm64_ad194bc803dc916884c38fead828e9a39ff73581.html [Pipeline] writeFile [Pipeline] step 20:49:41 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 20:49:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:49:42 . [Pipeline] withDockerContainer 20:49:42 prd-centos7-docker-4c-2g-515 does not seem to be running inside a container 20:49:42 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:49:43 $ docker top 19e095fc9710ef95b53f9229bcd190737314b5e3eab9ae2b3e831edce8814a06 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:49:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:49:43 [ssh-agent] Looking for ssh-agent implementation... 20:49:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:49:43 $ docker exec 19e095fc9710ef95b53f9229bcd190737314b5e3eab9ae2b3e831edce8814a06 ssh-agent 20:49:44 SSH_AUTH_SOCK=/tmp/ssh-SZv8FOwyGC06/agent.11 20:49:44 SSH_AGENT_PID=16 20:49:44 Running ssh-add (command line suppressed) 20:49:44 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2112574991735094127.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2112574991735094127.key) 20:49:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:49:44 + git semver tag 20:49:44 # -> Open(): unable to determine branch for HEAD 20:49:44 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 20:49:44 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 20:49:44 # $SEMVER_REMOTE_NAME = origin 20:49:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:49:44 # $SEMVER_USER_NAME = edgex-jenkins 20:49:44 # $SEMVER_BRANCH = master 20:49:44 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 20:49:44 # ad194bc803dc916884c38fead828e9a39ff73581 HEAD 20:49:44 # -> Force: false 20:49:44 # ba7dff33b080a7c04e30f2c96e7b46211bb0cb87 refs/tags/v1.2.2 [Pipeline] } 20:49:44 $ docker exec --env ******** --env ******** 19e095fc9710ef95b53f9229bcd190737314b5e3eab9ae2b3e831edce8814a06 ssh-agent -k 20:49:44 unset SSH_AUTH_SOCK; 20:49:44 unset SSH_AGENT_PID; 20:49:44 echo Agent pid 16 killed; 20:49:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:49:45 + git semver [Pipeline] } 20:49:45 $ docker stop --time=1 19e095fc9710ef95b53f9229bcd190737314b5e3eab9ae2b3e831edce8814a06 20:49:46 $ docker rm -f 19e095fc9710ef95b53f9229bcd190737314b5e3eab9ae2b3e831edce8814a06 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:49:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:49:47 20:49:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:49:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:49:47 0.23.1-centos7: Pulling from edgex-lftools 20:49:47 ab5ef0e58194: Pulling fs layer 20:49:47 9712f1f96733: Pulling fs layer 20:49:47 63f879dbbcfc: Pulling fs layer 20:49:47 0d9ebad4ef96: Pulling fs layer 20:49:47 e9a5061849ea: Pulling fs layer 20:49:47 d747dcd14b5f: Pulling fs layer 20:49:47 2de7ff778b66: Pulling fs layer 20:49:47 d747dcd14b5f: Waiting 20:49:47 2de7ff778b66: Waiting 20:49:47 e9a5061849ea: Waiting 20:49:47 0d9ebad4ef96: Waiting 20:49:47 9712f1f96733: Verifying Checksum 20:49:47 9712f1f96733: Download complete 20:49:48 63f879dbbcfc: Verifying Checksum 20:49:48 63f879dbbcfc: Download complete 20:49:48 e9a5061849ea: Verifying Checksum 20:49:48 e9a5061849ea: Download complete 20:49:49 d747dcd14b5f: Verifying Checksum 20:49:49 d747dcd14b5f: Download complete 20:49:49 0d9ebad4ef96: Verifying Checksum 20:49:49 0d9ebad4ef96: Download complete 20:49:49 ab5ef0e58194: Verifying Checksum 20:49:49 ab5ef0e58194: Download complete 20:49:49 2de7ff778b66: Verifying Checksum 20:49:49 2de7ff778b66: Download complete 20:49:53 ab5ef0e58194: Pull complete 20:49:53 9712f1f96733: Pull complete 20:49:55 63f879dbbcfc: Pull complete 20:50:02 0d9ebad4ef96: Pull complete 20:50:02 e9a5061849ea: Pull complete 20:50:02 d747dcd14b5f: Pull complete 20:50:05 2de7ff778b66: Pull complete 20:50:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:50:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:50:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:50:06 prd-centos7-docker-4c-2g-515 does not seem to be running inside a container 20:50:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:50:09 $ docker top 143dc73923ddbc3d2c00f8b75f41d7ce1957d9b5769eba7104ce8d722de8df12 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:50:09 provisioning config files... 20:50:09 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3083017527011246133tmp 20:50:09 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3501654429679799793tmp 20:50:09 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2378211830624911896tmp [Pipeline] { [Pipeline] echo 20:50:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:50:10 ---> sigul-configuration.sh 20:50:10 gpg: directory `/root/.gnupg' created 20:50:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:50:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:50:10 gpg: keyring `/root/.gnupg/secring.gpg' created 20:50:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:50:10 gpg: CAST5 encrypted data 20:50:10 gpg: encrypted with 1 passphrase 20:50:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:50:10 + mkdir /home/jenkins 20:50:10 + mkdir /home/jenkins/sigul [Pipeline] sh 20:50:10 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 20:50:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:50:11 ---> sigul-install.sh 20:50:17 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 20:50:18 + git tag --list 20:50:18 v1.2.2 [Pipeline] sh 20:50:18 + lftools sign git-tag v1.2.2 20:50:19 Signing Git tag with Sigul... 20:50:19 Signing v1.2.2 [Pipeline] echo 20:50:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:50:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:50:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:50:21 $ docker stop --time=1 143dc73923ddbc3d2c00f8b75f41d7ce1957d9b5769eba7104ce8d722de8df12 20:50:23 $ docker rm -f 143dc73923ddbc3d2c00f8b75f41d7ce1957d9b5769eba7104ce8d722de8df12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:50:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:50:24 . [Pipeline] withDockerContainer 20:50:24 prd-centos7-docker-4c-2g-515 does not seem to be running inside a container 20:50:24 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:50:24 $ docker top c7ccc0ec38f242c7c069c9254f5eba940dcd026476100d1a373490e599cf0324 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:50:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:25 [ssh-agent] Looking for ssh-agent implementation... 20:50:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:25 $ docker exec c7ccc0ec38f242c7c069c9254f5eba940dcd026476100d1a373490e599cf0324 ssh-agent 20:50:25 SSH_AUTH_SOCK=/tmp/ssh-heFI3c8KoP1k/agent.11 20:50:25 SSH_AGENT_PID=16 20:50:25 Running ssh-add (command line suppressed) 20:50:25 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5630233705239583979.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5630233705239583979.key) 20:50:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:26 + git semver bump pre 20:50:26 # -> Open(): unable to determine branch for HEAD 20:50:26 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 20:50:26 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 20:50:26 # $SEMVER_REMOTE_NAME = origin 20:50:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:50:26 # $SEMVER_USER_NAME = edgex-jenkins 20:50:26 # $SEMVER_BRANCH = master 20:50:26 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 20:50:26 1.2.3-dev.1 [Pipeline] } 20:50:26 $ docker exec --env ******** --env ******** c7ccc0ec38f242c7c069c9254f5eba940dcd026476100d1a373490e599cf0324 ssh-agent -k 20:50:26 unset SSH_AUTH_SOCK; 20:50:26 unset SSH_AGENT_PID; 20:50:26 echo Agent pid 16 killed; 20:50:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:50:26 + git semver [Pipeline] } 20:50:26 $ docker stop --time=1 c7ccc0ec38f242c7c069c9254f5eba940dcd026476100d1a373490e599cf0324 20:50:28 $ docker rm -f c7ccc0ec38f242c7c069c9254f5eba940dcd026476100d1a373490e599cf0324 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:50:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:50:28 . [Pipeline] withDockerContainer 20:50:28 prd-centos7-docker-4c-2g-515 does not seem to be running inside a container 20:50:28 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:50:29 $ docker top 5675ba61ec59b58dc04b46b2be41532b3dc30c0f7bd4362ce3ec15f4366f4077 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:50:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:30 [ssh-agent] Looking for ssh-agent implementation... 20:50:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:30 $ docker exec 5675ba61ec59b58dc04b46b2be41532b3dc30c0f7bd4362ce3ec15f4366f4077 ssh-agent 20:50:30 SSH_AUTH_SOCK=/tmp/ssh-urVfKstOlm1I/agent.12 20:50:30 SSH_AGENT_PID=17 20:50:30 Running ssh-add (command line suppressed) 20:50:30 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8344523702325515902.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8344523702325515902.key) 20:50:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:31 + git semver push 20:50:31 # -> Open(): unable to determine branch for HEAD 20:50:31 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 20:50:31 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 20:50:31 # $SEMVER_REMOTE_NAME = origin 20:50:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:50:31 # $SEMVER_USER_NAME = edgex-jenkins 20:50:31 # $SEMVER_BRANCH = master 20:50:31 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 20:50:37 $ docker exec --env ******** --env ******** 5675ba61ec59b58dc04b46b2be41532b3dc30c0f7bd4362ce3ec15f4366f4077 ssh-agent -k 20:50:37 unset SSH_AUTH_SOCK; 20:50:37 unset SSH_AGENT_PID; 20:50:37 echo Agent pid 17 killed; 20:50:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:50:38 + git semver [Pipeline] } 20:50:38 $ docker stop --time=1 5675ba61ec59b58dc04b46b2be41532b3dc30c0f7bd4362ce3ec15f4366f4077 20:50:39 $ docker rm -f 5675ba61ec59b58dc04b46b2be41532b3dc30c0f7bd4362ce3ec15f4366f4077 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:50:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:50:41 ---> package-listing.sh 20:50:41 ++ facter osfamily 20:50:41 ++ tr '[:upper:]' '[:lower:]' 20:50:41 + OS_FAMILY=redhat 20:50:41 + workspace=/w/workspace/gexfoundry_device-snmp-go_master 20:50:41 + START_PACKAGES=/tmp/packages_start.txt 20:50:41 + END_PACKAGES=/tmp/packages_end.txt 20:50:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:50:41 + PACKAGES=/tmp/packages_start.txt 20:50:41 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 20:50:41 + PACKAGES=/tmp/packages_end.txt 20:50:41 + case "${OS_FAMILY}" in 20:50:41 + rpm -qa 20:50:41 + sort 20:50:45 + '[' -f /tmp/packages_start.txt ']' 20:50:45 + '[' -f /tmp/packages_end.txt ']' 20:50:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:50:45 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 20:50:45 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ 20:50:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 20:50:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:50:46 20:50:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:50:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:50:46 alpine: Pulling from edgex-lftools-log-publisher 20:50:46 c9b1b535fdd9: Pulling fs layer 20:50:46 2cc5ad85d9ab: Pulling fs layer 20:50:46 756a868c4378: Pulling fs layer 20:50:46 444b2fc9a129: Pulling fs layer 20:50:46 ea15f1150254: Pulling fs layer 20:50:46 41b27a9f41bf: Pulling fs layer 20:50:46 28c525ee5125: Pulling fs layer 20:50:46 094b1ea09ed8: Pulling fs layer 20:50:46 138eaada9080: Pulling fs layer 20:50:46 0622d0fa9048: Pulling fs layer 20:50:46 28c525ee5125: Waiting 20:50:46 094b1ea09ed8: Waiting 20:50:46 138eaada9080: Waiting 20:50:46 ea15f1150254: Waiting 20:50:46 41b27a9f41bf: Waiting 20:50:46 444b2fc9a129: Waiting 20:50:46 0622d0fa9048: Waiting 20:50:46 2cc5ad85d9ab: Verifying Checksum 20:50:46 2cc5ad85d9ab: Download complete 20:50:46 444b2fc9a129: Download complete 20:50:46 c9b1b535fdd9: Verifying Checksum 20:50:46 ea15f1150254: Verifying Checksum 20:50:46 ea15f1150254: Download complete 20:50:46 28c525ee5125: Verifying Checksum 20:50:46 28c525ee5125: Download complete 20:50:47 756a868c4378: Verifying Checksum 20:50:47 756a868c4378: Download complete 20:50:47 138eaada9080: Verifying Checksum 20:50:47 138eaada9080: Download complete 20:50:47 0622d0fa9048: Verifying Checksum 20:50:47 0622d0fa9048: Download complete 20:50:47 094b1ea09ed8: Verifying Checksum 20:50:47 094b1ea09ed8: Download complete 20:50:47 41b27a9f41bf: Verifying Checksum 20:50:47 41b27a9f41bf: Download complete 20:50:47 c9b1b535fdd9: Pull complete 20:50:48 2cc5ad85d9ab: Pull complete 20:50:50 756a868c4378: Pull complete 20:50:50 444b2fc9a129: Pull complete 20:50:50 ea15f1150254: Pull complete 20:50:53 41b27a9f41bf: Pull complete 20:50:53 28c525ee5125: Pull complete 20:50:56 094b1ea09ed8: Pull complete 20:50:56 138eaada9080: Pull complete 20:50:56 0622d0fa9048: Pull complete 20:50:56 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 20:50:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:50:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:50:56 prd-centos7-docker-4c-2g-515 does not seem to be running inside a container 20:50:56 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:51:00 $ docker top 9eb328db9cc86a319ac6707ea0b00c6451663df6cd37a175fb13114fc38fead4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:51:01 provisioning config files... 20:51:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config8741247794282670369tmp [Pipeline] { [Pipeline] echo 20:51:01 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:51:01 ---> create-netrc.sh [Pipeline] echo 20:51:01 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:51:01 ---> logs-deploy.sh 20:51:01 + ARCHIVE_ARTIFACTS= 20:51:01 + LOGS_SERVER=https://logs.edgexfoundry.org 20:51:01 + '[' https://logs.edgexfoundry.org == None ']' 20:51:01 + NEXUS_URL=https://nexus.edgexfoundry.org 20:51:01 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/11 20:51:01 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/master/11/ 20:51:01 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/11 /w/workspace/gexfoundry_device-snmp-go_master 20:51:03 Archives upload complete. 20:51:03 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/11 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/master/11/