Push event to branch master 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > 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 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 SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-569 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 f4258dd5ce188e27982a4ce32d4fe9ebb57e3cd6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:12:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:12:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:12:36 ========================================================= 10:12:36 EdgeX Global Pipelines Version Info 10:12:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:12:39 ------------------- 10:12:39 stable info: 10:12:39 ------------------- 10:12:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:12:39 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 10:12:39 Message: update stable to v1.0.99 10:12:42 ------------------- 10:12:42 experimental info: 10:12:42 ------------------- 10:12:42 Commited By: **** collab-it+edgex@linuxfoundation.org 10:12:42 Commit SHA: 78d567e8c35819a45e10bd2b75e1138b16507148 10:12:42 Message: update experimental to v1.0.101 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 10:12:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:12:44 10:12:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:12:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:12:45 latest: Pulling from edgex-devops/git-semver 10:12:45 31603596830f: Pulling fs layer 10:12:45 2a8b12db71e7: Pulling fs layer 10:12:45 6ca5941a6612: Pulling fs layer 10:12:45 ecc8261a40a4: Pulling fs layer 10:12:45 ecc8261a40a4: Waiting 10:12:45 2a8b12db71e7: Verifying Checksum 10:12:45 2a8b12db71e7: Download complete 10:12:45 31603596830f: Verifying Checksum 10:12:45 31603596830f: Download complete 10:12:45 ecc8261a40a4: Verifying Checksum 10:12:45 ecc8261a40a4: Download complete 10:12:45 6ca5941a6612: Verifying Checksum 10:12:45 6ca5941a6612: Download complete 10:12:46 31603596830f: Pull complete 10:12:47 2a8b12db71e7: Pull complete 10:12:49 6ca5941a6612: Pull complete 10:12:50 ecc8261a40a4: Pull complete 10:12:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:12:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:12:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:12:50 prd-centos7-docker-4c-2g-569 does not seem to be running inside a container 10:12:50 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:12:54 $ docker top 9ac276551172dbe08e07a329888b419cbeb482425161b39b7a9c4043c3428fe0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:12:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:12:55 [ssh-agent] Looking for ssh-agent implementation... 10:12:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:12:56 $ docker exec 9ac276551172dbe08e07a329888b419cbeb482425161b39b7a9c4043c3428fe0 ssh-agent 10:12:57 SSH_AUTH_SOCK=/tmp/ssh-aHFEnboed6Is/agent.13 10:12:57 SSH_AGENT_PID=18 10:12:57 Running ssh-add (command line suppressed) 10:12:58 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3203949593980154761.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3203949593980154761.key) 10:12:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:12:59 + git describe --exact-match --tags HEAD 10:12:59 fatal: No names found, cannot describe anything. [Pipeline] } 10:13:00 $ docker exec --env ******** --env ******** 9ac276551172dbe08e07a329888b419cbeb482425161b39b7a9c4043c3428fe0 ssh-agent -k 10:13:00 unset SSH_AUTH_SOCK; 10:13:00 unset SSH_AGENT_PID; 10:13:00 echo Agent pid 18 killed; 10:13:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:13:00 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:13:00 This usually means this commit has not been tagged. [Pipeline] sshagent 10:13:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:13:00 [ssh-agent] Looking for ssh-agent implementation... 10:13:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:13:01 $ docker exec 9ac276551172dbe08e07a329888b419cbeb482425161b39b7a9c4043c3428fe0 ssh-agent 10:13:02 SSH_AUTH_SOCK=/tmp/ssh-9IWJCuEvFGzH/agent.49 10:13:02 SSH_AGENT_PID=55 10:13:02 Running ssh-add (command line suppressed) 10:13:03 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_208253159685944142.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_208253159685944142.key) 10:13:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:13:04 + git semver init 10:13:04 # -> Open(): unable to determine branch for HEAD 10:13:04 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 10:13:04 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 10:13:04 # $SEMVER_REMOTE_NAME = origin 10:13:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:13:04 # $SEMVER_USER_NAME = edgex-jenkins 10:13:04 # $SEMVER_BRANCH = master 10:13:04 # $SEMVER_TEMP = /tmp/semver-862137495 10:13:04 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 10:13:04 # '/tmp/semver-862137495' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' 10:13:04 # -> Force: false 10:13:04 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 10:13:05 $ docker exec --env ******** --env ******** 9ac276551172dbe08e07a329888b419cbeb482425161b39b7a9c4043c3428fe0 ssh-agent -k 10:13:05 unset SSH_AUTH_SOCK; 10:13:05 unset SSH_AGENT_PID; 10:13:05 echo Agent pid 55 killed; 10:13:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:13:06 + git semver [Pipeline] } 10:13:06 $ docker stop --time=1 9ac276551172dbe08e07a329888b419cbeb482425161b39b7a9c4043c3428fe0 10:13:08 $ docker rm -f 9ac276551172dbe08e07a329888b419cbeb482425161b39b7a9c4043c3428fe0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:13:11 Stashed 18 file(s) [Pipeline] echo 10:13:11 [edgeXSemver] initialized semver on version 1.2.2-dev.2 [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 10:13:26 Still waiting to schedule task 10:13:26 ‘prd-centos7-docker-4c-2g-572’ is offline 10:13:26 Still waiting to schedule task 10:13:26 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-570’ 10:15:20 Running on prd-centos7-docker-4c-2g-576 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 10:15:20 Running in /w/workspace/device-snmp-go/10 [Pipeline] { [Pipeline] checkout 10:15:23 using credential edgex-jenkins-ssh 10:15:23 Cloning the remote Git repository 10:15:23 Cloning with configured refspecs honoured and without tags 10:15:23 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 10:15:23 > git init /w/workspace/device-snmp-go/10 # timeout=10 10:15:23 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:15:23 > git --version # timeout=10 10:15:23 using GIT_SSH to set credentials SSH Credentials for GitHub 10:15:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:15:24 Fetching without tags 10:15:24 Checking out Revision ad194bc803dc916884c38fead828e9a39ff73581 (master) 10:15:24 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:15:24 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:15:24 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:15:24 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:15:24 using GIT_SSH to set credentials SSH Credentials for GitHub 10:15:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:15:24 > git config core.sparsecheckout # timeout=10 10:15:24 > git checkout -f ad194bc803dc916884c38fead828e9a39ff73581 # timeout=10 10:15: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 10:15:28 ========================================================= 10:15:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 10:15:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:15:29 + 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 . 10:15:29 Sending build context to Docker daemon 342kB 10:15:29 Step 1/10 : ARG BASE=golang:1.13-alpine 10:15:29 Step 2/10 : FROM ${BASE} 10:15:29 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 10:15:29 df20fa9351a1: Pulling fs layer 10:15:29 ed8968b2872e: Pulling fs layer 10:15:29 a92cc7c5fd73: Pulling fs layer 10:15:29 2dd03ba5bac4: Pulling fs layer 10:15:29 1e091d79d1de: Pulling fs layer 10:15:29 481702a1767f: Pulling fs layer 10:15:29 f64a6f60c768: Pulling fs layer 10:15:29 e78d2573fc39: Pulling fs layer 10:15:29 e876d2f968b6: Pulling fs layer 10:15:29 ce8a83651883: Pulling fs layer 10:15:29 07967f4d0e4b: Pulling fs layer 10:15:29 2dd03ba5bac4: Waiting 10:15:29 1e091d79d1de: Waiting 10:15:29 481702a1767f: Waiting 10:15:29 f64a6f60c768: Waiting 10:15:29 ce8a83651883: Waiting 10:15:29 07967f4d0e4b: Waiting 10:15:29 e78d2573fc39: Waiting 10:15:29 e876d2f968b6: Waiting 10:15:29 a92cc7c5fd73: Verifying Checksum 10:15:29 a92cc7c5fd73: Download complete 10:15:29 ed8968b2872e: Verifying Checksum 10:15:29 ed8968b2872e: Download complete 10:15:29 1e091d79d1de: Verifying Checksum 10:15:29 1e091d79d1de: Download complete 10:15:29 481702a1767f: Verifying Checksum 10:15:29 481702a1767f: Download complete 10:15:29 df20fa9351a1: Verifying Checksum 10:15:29 df20fa9351a1: Download complete 10:15:29 df20fa9351a1: Pull complete 10:15:30 f64a6f60c768: Verifying Checksum 10:15:30 f64a6f60c768: Download complete 10:15:30 e876d2f968b6: Download complete 10:15:31 ce8a83651883: Verifying Checksum 10:15:31 ce8a83651883: Download complete 10:15:31 2dd03ba5bac4: Verifying Checksum 10:15:31 2dd03ba5bac4: Download complete 10:15:31 e78d2573fc39: Verifying Checksum 10:15:31 e78d2573fc39: Download complete 10:15:31 07967f4d0e4b: Verifying Checksum 10:15:31 07967f4d0e4b: Download complete 10:15:32 ed8968b2872e: Pull complete 10:15:32 a92cc7c5fd73: Pull complete 10:15:37 2dd03ba5bac4: Pull complete 10:15:37 1e091d79d1de: Pull complete 10:15:37 481702a1767f: Pull complete 10:15:41 f64a6f60c768: Pull complete 10:15:45 e78d2573fc39: Pull complete 10:15:45 e876d2f968b6: Pull complete 10:15:46 ce8a83651883: Pull complete 10:15:46 07967f4d0e4b: Pull complete 10:15:46 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 10:15:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 10:15:46 ---> 5d7c900382c6 10:15:46 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 10:15:48 ---> Running in 0a50443f3c41 10:15:48 Removing intermediate container 0a50443f3c41 10:15:48 ---> 26569a08cf8a 10:15:48 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 10:15:48 ---> Running in 77bef01ae265 10:15:48 Removing intermediate container 77bef01ae265 10:15:48 ---> 2e3de06ede06 10:15:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 10:15:48 ---> Running in df9ddec1c556 10:15:48 Removing intermediate container df9ddec1c556 10:15:48 ---> 6696011a9708 10:15:48 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:15:48 ---> Running in d0efccf15659 10:15:49 Removing intermediate container d0efccf15659 10:15:49 ---> e660b9de35b1 10:15:49 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:15:49 ---> Running in c6994610d608 10:15:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:15:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:15:51 OK: 166 MiB in 39 packages 10:15:52 Removing intermediate container c6994610d608 10:15:52 ---> 2f661d83f5c5 10:15:52 Step 8/10 : WORKDIR /device-snmp-go 10:15:52 ---> Running in cb85ab30d245 10:15:52 Removing intermediate container cb85ab30d245 10:15:52 ---> dcc4af673ef6 10:15:52 Step 9/10 : COPY . . 10:15:52 ---> 68c56dd79d5b 10:15:52 Step 10/10 : RUN go mod download 10:15:52 ---> Running in c632891cf790 10:15:54 go: finding github.com/BurntSushi/toml v0.3.1 10:15:54 go: finding github.com/OneOfOne/xxhash v1.2.6 10:15:54 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 10:15:54 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:15:54 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 10:15:54 go: finding github.com/bgentry/speakeasy v0.1.0 10:15:54 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 10:15:54 go: finding github.com/davecgh/go-spew v1.1.1 10:15:54 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 10:15:54 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 10:15:54 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 10:15:54 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 10:15:54 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 10:15:54 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 10:15:54 go: finding github.com/fatih/color v1.7.0 10:15:54 go: finding github.com/fxamacker/cbor/v2 v2.2.0 10:15:54 go: finding github.com/go-kit/kit v0.8.0 10:15:54 go: finding github.com/go-logfmt/logfmt v0.4.0 10:15:54 go: finding github.com/go-stack/stack v1.8.0 10:15:54 go: finding github.com/golang/mock v1.2.0 10:15:54 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 10:15:55 go: finding github.com/google/uuid v1.1.0 10:15:55 go: finding github.com/gorilla/mux v1.7.1 10:15:55 go: finding github.com/hashicorp/consul/api v1.1.0 10:15:55 go: finding github.com/hashicorp/consul/sdk v0.1.1 10:15:55 go: finding github.com/hashicorp/errwrap v1.0.0 10:15:55 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 10:15:55 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 10:15:55 go: finding github.com/hashicorp/go-msgpack v0.5.3 10:15:55 go: finding github.com/hashicorp/go-multierror v1.0.0 10:15:55 go: finding github.com/hashicorp/go-rootcerts v1.0.0 10:15:55 go: finding github.com/hashicorp/go-sockaddr v1.0.0 10:15:55 go: finding github.com/hashicorp/go-syslog v1.0.0 10:15:55 go: finding github.com/hashicorp/go-uuid v1.0.1 10:15:55 go: finding github.com/hashicorp/go.net v0.0.1 10:15:55 go: finding github.com/hashicorp/golang-lru v0.5.0 10:15:55 go: finding github.com/hashicorp/logutils v1.0.0 10:15:55 go: finding github.com/hashicorp/mdns v1.0.0 10:15:55 go: finding github.com/hashicorp/memberlist v0.1.3 10:15:55 go: finding github.com/hashicorp/serf v0.8.2 10:15:55 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 10:15:55 go: finding github.com/mattn/go-colorable v0.0.9 10:15:55 go: finding github.com/mattn/go-isatty v0.0.3 10:15:55 go: finding github.com/miekg/dns v1.0.14 10:15:55 go: finding github.com/mitchellh/cli v1.0.0 10:15:55 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:15:55 go: finding github.com/mitchellh/copystructure v1.0.0 10:15:55 go: finding github.com/mitchellh/go-homedir v1.0.0 10:15:55 go: finding github.com/mitchellh/go-testing-interface v1.0.0 10:15:55 go: finding github.com/mitchellh/gox v0.4.0 10:15:55 go: finding github.com/mitchellh/iochan v1.0.0 10:15:55 go: finding github.com/mitchellh/mapstructure v1.1.2 10:15:55 go: finding github.com/mitchellh/reflectwalk v1.0.0 10:15:55 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 10:15:55 go: finding github.com/pelletier/go-toml v1.2.0 10:15:55 go: finding github.com/pkg/errors v0.8.1 10:15:55 go: finding github.com/pmezard/go-difflib v1.0.0 10:15:56 go: finding github.com/posener/complete v1.1.1 10:15:56 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 10:15:56 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 10:15:56 go: finding github.com/soniah/gosnmp v1.21.0 10:15:56 go: finding github.com/stretchr/objx v0.1.0 10:15:56 go: finding github.com/stretchr/testify v1.5.1 10:15:56 go: finding github.com/ugorji/go v1.1.4 10:15:56 go: finding github.com/x448/float16 v0.8.4 10:15:56 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 10:15:56 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 10:15:56 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 10:15:56 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 10:15:56 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 10:15:56 go: finding gopkg.in/yaml.v2 v2.2.8 10:15:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-575 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 10:15:57 Running in /w/workspace/device-snmp-go/10 [Pipeline] { [Pipeline] checkout 10:16:02 using credential edgex-jenkins-ssh 10:16:02 Cloning the remote Git repository 10:16:02 Cloning with configured refspecs honoured and without tags 10:16:02 Removing intermediate container c632891cf790 10:16:02 ---> 4e0b2b8197df 10:16:02 Successfully built 4e0b2b8197df 10:16:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:16:03 + docker inspect -f . ci-base-image-x86_64 10:16:03 . [Pipeline] withDockerContainer 10:16:03 prd-centos7-docker-4c-2g-576 does not seem to be running inside a container 10:16:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 ******** ci-base-image-x86_64 cat 10:16:02 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 10:16:02 > git init /w/workspace/device-snmp-go/10 # timeout=10 10:16:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:16:03 > git --version # timeout=10 10:16:03 using GIT_SSH to set credentials SSH Credentials for GitHub 10:16:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:16:04 Fetching without tags 10:16:04 $ docker top 280ddf1cec130fafdfba1470a7886a251cb442c89ec41b894e23aea32a9293b1 -eo pid,comm 10:16:04 Checking out Revision ad194bc803dc916884c38fead828e9a39ff73581 (master) [Pipeline] { [Pipeline] sh 10:16:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:16:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:16:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:16:04 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:16:04 using GIT_SSH to set credentials SSH Credentials for GitHub 10:16:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:16:04 > git config core.sparsecheckout # timeout=10 10:16:04 > git checkout -f ad194bc803dc916884c38fead828e9a39ff73581 # timeout=10 10:16:05 + go version 10:16:05 go version go1.13.13 linux/amd64 [Pipeline] sh 10:16:05 + make test 10:16:05 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:16:06 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:16:09 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 10:16:10 ========================================================= 10:16:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 10:16:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:16:11 + 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 . 10:16:11 Sending build context to Docker daemon 342kB 10:16:12 Step 1/10 : ARG BASE=golang:1.13-alpine 10:16:12 Step 2/10 : FROM ${BASE} 10:16:12 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:16:12 b538f80385f9: Pulling fs layer 10:16:12 74f711af9a0d: Pulling fs layer 10:16:12 99f96fe45779: Pulling fs layer 10:16:12 fd7a069fd194: Pulling fs layer 10:16:12 fd7a069fd194: Waiting 10:16:12 66aa3694b03b: Pulling fs layer 10:16:12 170f70906a0f: Pulling fs layer 10:16:12 ad7c5574e4b9: Pulling fs layer 10:16:12 e772456be8f7: Pulling fs layer 10:16:12 c890913d741a: Pulling fs layer 10:16:12 2480fcc9aa5a: Pulling fs layer 10:16:12 09adf4765672: Pulling fs layer 10:16:12 66aa3694b03b: Waiting 10:16:12 170f70906a0f: Waiting 10:16:12 ad7c5574e4b9: Waiting 10:16:12 e772456be8f7: Waiting 10:16:12 c890913d741a: Waiting 10:16:12 2480fcc9aa5a: Waiting 10:16:12 09adf4765672: Waiting 10:16:12 99f96fe45779: Verifying Checksum 10:16:12 99f96fe45779: Download complete 10:16:12 74f711af9a0d: Verifying Checksum 10:16:12 74f711af9a0d: Download complete 10:16:12 66aa3694b03b: Verifying Checksum 10:16:12 66aa3694b03b: Download complete 10:16:12 b538f80385f9: Verifying Checksum 10:16:12 b538f80385f9: Download complete 10:16:13 b538f80385f9: Pull complete 10:16:13 74f711af9a0d: Pull complete 10:16:14 99f96fe45779: Pull complete 10:16:16 ad7c5574e4b9: Verifying Checksum 10:16:16 ad7c5574e4b9: Download complete 10:16:16 c890913d741a: Verifying Checksum 10:16:16 c890913d741a: Download complete 10:16:16 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:16:16 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.004s coverage: 0.0% of statements 10:16:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:16:17 gofmt -l . 10:16:17 [ "`gofmt -l .`" = "" ] 10:16:17 ./bin/test-attribution-txt.sh 10:16:17 e772456be8f7: Verifying Checksum 10:16:17 e772456be8f7: Download complete 10:16:18 09adf4765672: Verifying Checksum 10:16:18 09adf4765672: Download complete 10:16:18 2480fcc9aa5a: Verifying Checksum 10:16:18 2480fcc9aa5a: Download complete 10:16:18 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:16:18 fd7a069fd194: Verifying Checksum 10:16:18 fd7a069fd194: Download complete 10:16:18 Stashed 1 file(s) [Pipeline] } 10:16:18 $ docker stop --time=1 280ddf1cec130fafdfba1470a7886a251cb442c89ec41b894e23aea32a9293b1 10:16:20 $ docker rm -f 280ddf1cec130fafdfba1470a7886a251cb442c89ec41b894e23aea32a9293b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:16:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:16:22 + ls -al . 10:16:22 total 104 10:16:22 drwxrwxr-x. 9 jenkins jenkins 4096 Jul 22 10:16 . 10:16:22 drwxrwxr-x. 4 jenkins jenkins 30 Jul 22 10:15 .. 10:16:22 -rw-rw-r--. 1 jenkins jenkins 4910 Jul 22 10:15 Attribution.txt 10:16:22 drwxrwxr-x. 2 jenkins jenkins 87 Jul 22 10:15 bin 10:16:22 drwxrwxr-x. 3 jenkins jenkins 32 Jul 22 10:15 cmd 10:16:22 -rw-r--r--. 1 jenkins jenkins 8493 Jul 22 10:16 coverage.out 10:16:22 -rw-rw-r--. 1 jenkins jenkins 994 Jul 22 10:15 Dockerfile 10:16:22 -rw-rw-r--. 1 jenkins jenkins 409 Jul 22 10:15 Dockerfile.build 10:16:22 -rw-rw-r--. 1 jenkins jenkins 6 Jul 22 10:15 .dockerignore 10:16:22 drwxrwxr-x. 8 jenkins jenkins 162 Jul 22 10:15 .git 10:16:22 drwxrwxr-x. 2 jenkins jenkins 38 Jul 22 10:15 .github 10:16:22 -rw-rw-r--. 1 jenkins jenkins 272 Jul 22 10:15 .gitignore 10:16:22 -rw-r--r--. 1 jenkins jenkins 203 Jul 22 10:16 go.mod 10:16:22 -rw-r--r--. 1 jenkins jenkins 12704 Jul 22 10:16 go.sum 10:16:22 drwxrwxr-x. 3 jenkins jenkins 20 Jul 22 10:15 internal 10:16:22 -rw-rw-r--. 1 jenkins jenkins 678 Jul 22 10:15 Jenkinsfile 10:16:22 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 22 10:15 LICENSE 10:16:22 -rw-rw-r--. 1 jenkins jenkins 937 Jul 22 10:15 Makefile 10:16:22 drwxrwxr-x. 2 jenkins jenkins 84 Jul 22 10:15 profiles 10:16:22 -rw-rw-r--. 1 jenkins jenkins 12398 Jul 22 10:15 README.md 10:16:22 drwxrwxr-x. 3 jenkins jenkins 61 Jul 22 10:15 .semver 10:16:22 -rw-rw-r--. 1 jenkins jenkins 11 Jul 22 10:13 VERSION 10:16:22 -rw-rw-r--. 1 jenkins jenkins 209 Jul 22 10:15 version.go [Pipeline] isUnix [Pipeline] sh 10:16:22 + 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-dev.2 . 10:16:22 Sending build context to Docker daemon 351.2kB 10:16:22 Step 1/25 : ARG BASE=golang:1.13-alpine 10:16:22 Step 2/25 : FROM ${BASE} AS builder 10:16:22 ---> 4e0b2b8197df 10:16:22 Step 3/25 : ARG MAKE='make build' 10:16:22 ---> Running in 06b77914f160 10:16:22 Removing intermediate container 06b77914f160 10:16:22 ---> 803733e689d8 10:16:22 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 10:16:22 ---> Running in 9aa821cdd42c 10:16:23 Removing intermediate container 9aa821cdd42c 10:16:23 ---> dd4f49398005 10:16:23 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 10:16:23 ---> Running in 63f789f14293 10:16:23 Removing intermediate container 63f789f14293 10:16:23 ---> ef456f0cf297 10:16:23 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:16:23 ---> Running in e64c9070ab86 10:16:24 Removing intermediate container e64c9070ab86 10:16:24 ---> 99fe6fb91952 10:16:24 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:16:24 ---> Running in cfe849dbe6d3 10:16:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:16:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:16:25 OK: 166 MiB in 39 packages 10:16:26 Removing intermediate container cfe849dbe6d3 10:16:26 ---> 810da474625a 10:16:26 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 10:16:26 ---> Running in ad12418226f4 10:16:26 Removing intermediate container ad12418226f4 10:16:26 ---> 15fe1aeea568 10:16:26 Step 9/25 : COPY go.mod . 10:16:26 ---> efcc52767a4f 10:16:26 Step 10/25 : COPY Makefile . 10:16:26 ---> 54374d35bf9c 10:16:26 Step 11/25 : RUN make update 10:16:26 ---> Running in a8b9790193a4 10:16:27 CGO_ENABLED=0 GO111MODULE=on go mod download 10:16:27 Removing intermediate container a8b9790193a4 10:16:27 ---> c809cfba8f59 10:16:27 Step 12/25 : COPY . . 10:16:28 ---> fb10f0034013 10:16:28 Step 13/25 : RUN ${MAKE} 10:16:28 ---> Running in fe3b4e18b4b0 10:16:28 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.2-dev.2" -o cmd/device-snmp-go ./cmd 10:16:31 fd7a069fd194: Pull complete 10:16:31 66aa3694b03b: Pull complete 10:16:31 170f70906a0f: Pull complete 10:16:33 ad7c5574e4b9: Pull complete 10:16:37 CGO_ENABLED=0 GO111MODULE=on go build ./... 10:16:39 e772456be8f7: Pull complete 10:16:39 c890913d741a: Pull complete 10:16:40 Removing intermediate container fe3b4e18b4b0 10:16:40 ---> 0753edabc6e1 10:16:40 Step 14/25 : FROM alpine 10:16:41 latest: Pulling from library/alpine 10:16:41 df20fa9351a1: Already exists 10:16:41 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 10:16:41 Status: Downloaded newer image for alpine:latest 10:16:41 ---> a24bb4013296 10:16:41 Step 15/25 : ENV APP_PORT=49993 10:16:41 2480fcc9aa5a: Pull complete 10:16:41 ---> Running in 39b7909b3828 10:16:41 Removing intermediate container 39b7909b3828 10:16:41 ---> e46a8e90639a 10:16:41 Step 16/25 : EXPOSE $APP_PORT 10:16:41 ---> Running in 17fee1617734 10:16:41 09adf4765672: Pull complete 10:16:41 Removing intermediate container 17fee1617734 10:16:41 ---> 18e3961178aa 10:16:41 Step 17/25 : ENV DEVICE_PORT=161 10:16:41 ---> Running in 9a0156aa0ef6 10:16:41 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 10:16:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 10:16:41 ---> 2248a725d1cf 10:16:41 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 10:16:41 Removing intermediate container 9a0156aa0ef6 10:16:41 ---> 94b7b12672d9 10:16:41 Step 18/25 : EXPOSE $DEVICE_PORT 10:16:41 ---> Running in bf96ba1adb3a 10:16:42 Removing intermediate container bf96ba1adb3a 10:16:42 ---> 8a9b5a058721 10:16:42 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 10:16:42 ---> 174baa153956 10:16:42 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 10:16:42 ---> 93aa2339d3a0 10:16:42 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 10:16:42 ---> ffb155bf905c 10:16:42 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 10:16:42 ---> Running in 091c127f435b 10:16:43 Removing intermediate container 091c127f435b 10:16:43 ---> e7c75fd15645 10:16:43 Step 23/25 : LABEL arch=amd64 10:16:43 ---> Running in d637e2b47fad 10:16:43 Removing intermediate container d637e2b47fad 10:16:43 ---> 99c882807d6b 10:16:43 Step 24/25 : LABEL git_sha=ad194bc803dc916884c38fead828e9a39ff73581 10:16:43 ---> Running in 841f6f10b1f4 10:16:43 Removing intermediate container 841f6f10b1f4 10:16:43 ---> 9dcec67649b7 10:16:43 Step 25/25 : LABEL version=1.2.2-dev.2 10:16:43 ---> Running in 752a21ff08e7 10:16:43 Removing intermediate container 752a21ff08e7 10:16:43 ---> 59eea74db3d3 10:16:43 [Warning] One or more build-args [ARCH] were not consumed 10:16:43 Successfully built 59eea74db3d3 10:16:43 Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:16:44 provisioning config files... 10:16:44 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/10@tmp/config8597223290783449287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:16:44 nexus3.edgexfoundry.org:10001 10:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:44 Configure a credential helper to remove this warning. See 10:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:44 10:16:44 Login Succeeded 10:16:44 nexus3.edgexfoundry.org:10002 10:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:44 Configure a credential helper to remove this warning. See 10:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:44 10:16:44 Login Succeeded 10:16:44 nexus3.edgexfoundry.org:10003 10:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:44 Configure a credential helper to remove this warning. See 10:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:44 10:16:44 Login Succeeded 10:16:44 nexus3.edgexfoundry.org:10004 10:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:45 Configure a credential helper to remove this warning. See 10:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:45 10:16:45 Login Succeeded 10:16:45 docker.io 10:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:45 Configure a credential helper to remove this warning. See 10:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:45 10:16:45 Login Succeeded [Pipeline] } 10:16:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:16:45 [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: 10:16:45 ad194bc803dc916884c38fead828e9a39ff73581 10:16:45 latest 10:16:45 1.2.2-dev.2 10:16:45 ad194bc803dc916884c38fead828e9a39ff73581-1.2.2-dev.2 10:16:45 master 10:16:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:16:46 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581 [Pipeline] isUnix [Pipeline] sh 10:16:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581 10:16:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 10:16:46 065e97390cf4: Preparing 10:16:46 7defec39cd19: Preparing 10:16:46 2d202cba310e: Preparing 10:16:46 50644c29ef5a: Preparing 10:16:46 50644c29ef5a: Layer already exists 10:16:46 7defec39cd19: Pushed 10:16:46 065e97390cf4: Pushed 10:16:47 ---> Running in 7750b90aa1f5 10:16:47 Removing intermediate container 7750b90aa1f5 10:16:47 ---> c75d7e7dc400 10:16:47 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 10:16:47 ---> Running in c92550a6d136 10:16:47 Removing intermediate container c92550a6d136 10:16:47 ---> b8fd65680254 10:16:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 10:16:47 ---> Running in f515df500bb7 10:16:47 2d202cba310e: Pushed 10:16:47 ad194bc803dc916884c38fead828e9a39ff73581: digest: sha256:466a2757c27936c275b667e01485e3d37f9ece450c6406ba1d486c5ac6fba550 size: 1155 [Pipeline] isUnix [Pipeline] sh 10:16:47 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest 10:16:47 Removing intermediate container f515df500bb7 10:16:47 ---> cecac1ea9caf 10:16:47 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:16:47 ---> Running in e2a578e830f6 [Pipeline] isUnix [Pipeline] sh 10:16:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest 10:16:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 10:16:48 065e97390cf4: Preparing 10:16:48 7defec39cd19: Preparing 10:16:48 2d202cba310e: Preparing 10:16:48 50644c29ef5a: Preparing 10:16:48 2d202cba310e: Layer already exists 10:16:48 065e97390cf4: Layer already exists 10:16:48 50644c29ef5a: Layer already exists 10:16:48 7defec39cd19: Layer already exists 10:16:48 latest: digest: sha256:466a2757c27936c275b667e01485e3d37f9ece450c6406ba1d486c5ac6fba550 size: 1155 [Pipeline] isUnix [Pipeline] sh 10:16:48 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.2-dev.2 [Pipeline] isUnix [Pipeline] sh 10:16:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.2-dev.2 10:16:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 10:16:48 065e97390cf4: Preparing 10:16:48 7defec39cd19: Preparing 10:16:48 2d202cba310e: Preparing 10:16:48 50644c29ef5a: Preparing 10:16:48 065e97390cf4: Layer already exists 10:16:48 2d202cba310e: Layer already exists 10:16:48 50644c29ef5a: Layer already exists 10:16:48 7defec39cd19: Layer already exists 10:16:48 1.2.2-dev.2: digest: sha256:466a2757c27936c275b667e01485e3d37f9ece450c6406ba1d486c5ac6fba550 size: 1155 [Pipeline] isUnix [Pipeline] sh 10:16:49 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581-1.2.2-dev.2 [Pipeline] isUnix [Pipeline] sh 10:16:49 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581-1.2.2-dev.2 10:16:49 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 10:16:49 065e97390cf4: Preparing 10:16:49 7defec39cd19: Preparing 10:16:49 2d202cba310e: Preparing 10:16:49 50644c29ef5a: Preparing 10:16:49 50644c29ef5a: Layer already exists 10:16:49 065e97390cf4: Layer already exists 10:16:49 2d202cba310e: Layer already exists 10:16:49 7defec39cd19: Layer already exists 10:16:49 ad194bc803dc916884c38fead828e9a39ff73581-1.2.2-dev.2: digest: sha256:466a2757c27936c275b667e01485e3d37f9ece450c6406ba1d486c5ac6fba550 size: 1155 [Pipeline] isUnix [Pipeline] sh 10:16:49 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh 10:16:49 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master 10:16:49 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 10:16:49 065e97390cf4: Preparing 10:16:49 7defec39cd19: Preparing 10:16:49 2d202cba310e: Preparing 10:16:49 50644c29ef5a: Preparing 10:16:49 7defec39cd19: Layer already exists 10:16:49 2d202cba310e: Layer already exists 10:16:49 50644c29ef5a: Layer already exists 10:16:49 065e97390cf4: Layer already exists 10:16:49 master: digest: sha256:466a2757c27936c275b667e01485e3d37f9ece450c6406ba1d486c5ac6fba550 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:16:50 ===================================================== [Pipeline] echo 10:16:50 taggedImages: 10:16:50 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581 10:16:50 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest 10:16:50 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.2-dev.2 10:16:50 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581-1.2.2-dev.2 10:16:50 - 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] } 10:16:50 Removing intermediate container e2a578e830f6 10:16:50 ---> d25c5a347593 10:16:50 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 10:16:50 ---> Running in 3adbe93dbe6a [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:16:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:16:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:16:53 OK: 142 MiB in 39 packages 10:16:54 Removing intermediate container 3adbe93dbe6a 10:16:54 ---> dcfc44864cc3 10:16:54 Step 8/10 : WORKDIR /device-snmp-go 10:16:54 ---> Running in ab0ac2060a61 10:16:55 Removing intermediate container ab0ac2060a61 10:16:55 ---> 91c5e5ad98a4 10:16:55 Step 9/10 : COPY . . 10:16:56 ---> 1b1253c18f10 10:16:56 Step 10/10 : RUN go mod download 10:16:56 ---> Running in b5dcc6489c53 10:16:58 go: finding github.com/BurntSushi/toml v0.3.1 10:16:58 go: finding github.com/OneOfOne/xxhash v1.2.6 10:16:58 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 10:16:58 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:16:58 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 10:16:58 go: finding github.com/bgentry/speakeasy v0.1.0 10:16:59 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 10:16:59 go: finding github.com/davecgh/go-spew v1.1.1 10:16:59 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 10:16:59 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 10:16:59 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 10:16:59 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 10:16:59 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 10:16:59 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 10:16:59 go: finding github.com/fatih/color v1.7.0 10:16:59 go: finding github.com/fxamacker/cbor/v2 v2.2.0 10:16:59 go: finding github.com/go-kit/kit v0.8.0 10:16:59 go: finding github.com/go-logfmt/logfmt v0.4.0 10:16:59 go: finding github.com/go-stack/stack v1.8.0 10:16:59 go: finding github.com/golang/mock v1.2.0 10:16:59 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 10:16:59 go: finding github.com/google/uuid v1.1.0 10:16:59 go: finding github.com/gorilla/mux v1.7.1 10:16:59 go: finding github.com/hashicorp/consul/api v1.1.0 10:16:59 go: finding github.com/hashicorp/consul/sdk v0.1.1 10:16:59 go: finding github.com/hashicorp/errwrap v1.0.0 10:16:59 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 10:16:59 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 10:16:59 go: finding github.com/hashicorp/go-msgpack v0.5.3 10:16:59 go: finding github.com/hashicorp/go-multierror v1.0.0 10:16:59 go: finding github.com/hashicorp/go-rootcerts v1.0.0 10:16:59 go: finding github.com/hashicorp/go-sockaddr v1.0.0 10:16:59 go: finding github.com/hashicorp/go-syslog v1.0.0 10:16:59 go: finding github.com/hashicorp/go-uuid v1.0.1 10:16:59 go: finding github.com/hashicorp/go.net v0.0.1 10:16:59 go: finding github.com/hashicorp/golang-lru v0.5.0 10:16:59 go: finding github.com/hashicorp/logutils v1.0.0 10:16:59 go: finding github.com/hashicorp/mdns v1.0.0 10:16:59 go: finding github.com/hashicorp/memberlist v0.1.3 10:16:59 go: finding github.com/hashicorp/serf v0.8.2 10:17:00 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 10:17:00 go: finding github.com/mattn/go-colorable v0.0.9 10:17:00 go: finding github.com/mattn/go-isatty v0.0.3 10:17:00 go: finding github.com/miekg/dns v1.0.14 10:17:00 go: finding github.com/mitchellh/cli v1.0.0 10:17:00 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:17:00 go: finding github.com/mitchellh/copystructure v1.0.0 10:17:00 go: finding github.com/mitchellh/go-homedir v1.0.0 10:17:00 go: finding github.com/mitchellh/go-testing-interface v1.0.0 10:17:00 go: finding github.com/mitchellh/gox v0.4.0 10:17:00 go: finding github.com/mitchellh/iochan v1.0.0 10:17:00 go: finding github.com/mitchellh/mapstructure v1.1.2 10:17:00 go: finding github.com/mitchellh/reflectwalk v1.0.0 10:17:00 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 10:17:00 go: finding github.com/pelletier/go-toml v1.2.0 10:17:00 go: finding github.com/pkg/errors v0.8.1 10:17:00 go: finding github.com/pmezard/go-difflib v1.0.0 10:17:00 go: finding github.com/posener/complete v1.1.1 10:17:00 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 10:17:00 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 10:17:00 go: finding github.com/soniah/gosnmp v1.21.0 10:17:00 go: finding github.com/stretchr/objx v0.1.0 10:17:00 go: finding github.com/stretchr/testify v1.5.1 10:17:00 go: finding github.com/ugorji/go v1.1.4 10:17:00 go: finding github.com/x448/float16 v0.8.4 10:17:00 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 10:17:00 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 10:17:00 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 10:17:00 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 10:17:00 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 10:17:00 go: finding gopkg.in/yaml.v2 v2.2.8 10:17:10 Removing intermediate container b5dcc6489c53 10:17:10 ---> 32a9ecf0e016 10:17:10 Successfully built 32a9ecf0e016 10:17:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:17:11 + docker inspect -f . ci-base-image-arm64 10:17:11 . [Pipeline] withDockerContainer 10:17:11 prd-ubuntu18.04-docker-arm64-4c-16g-575 does not seem to be running inside a container 10:17:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 ******** ci-base-image-arm64 cat 10:17:13 $ docker top 933171cf13007e943e19a5c8ab2add22271d50eeaccba70e1a536c7ddcf67070 -eo pid,comm [Pipeline] { [Pipeline] sh 10:17:15 + go version 10:17:15 go version go1.13.13 linux/arm64 [Pipeline] sh 10:17:16 + make test 10:17:16 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:17:17 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:17:49 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:17:49 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.017s coverage: 0.0% of statements 10:17:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:17:50 gofmt -l . 10:17:50 [ "`gofmt -l .`" = "" ] 10:17:50 ./bin/test-attribution-txt.sh 10:17:51 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:17:52 Warning: overwriting stash ‘coverage-report’ 10:17:52 Stashed 1 file(s) [Pipeline] } 10:17:52 $ docker stop --time=1 933171cf13007e943e19a5c8ab2add22271d50eeaccba70e1a536c7ddcf67070 10:17:54 $ docker rm -f 933171cf13007e943e19a5c8ab2add22271d50eeaccba70e1a536c7ddcf67070 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:17:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:17:56 + ls -al . 10:17:56 total 136 10:17:56 drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 10:17 . 10:17:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 10:16 .. 10:17:56 -rw-rw-r-- 1 jenkins jenkins 6 Jul 22 10:16 .dockerignore 10:17:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 10:16 .git 10:17:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 10:16 .github 10:17:56 -rw-rw-r-- 1 jenkins jenkins 272 Jul 22 10:16 .gitignore 10:17:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 10:16 .semver 10:17:56 -rw-rw-r-- 1 jenkins jenkins 4910 Jul 22 10:16 Attribution.txt 10:17:56 -rw-rw-r-- 1 jenkins jenkins 994 Jul 22 10:16 Dockerfile 10:17:56 -rw-rw-r-- 1 jenkins jenkins 409 Jul 22 10:16 Dockerfile.build 10:17:56 -rw-rw-r-- 1 jenkins jenkins 678 Jul 22 10:16 Jenkinsfile 10:17:56 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 10:16 LICENSE 10:17:56 -rw-rw-r-- 1 jenkins jenkins 937 Jul 22 10:16 Makefile 10:17:56 -rw-rw-r-- 1 jenkins jenkins 12398 Jul 22 10:16 README.md 10:17:56 -rw-rw-r-- 1 jenkins jenkins 11 Jul 22 10:13 VERSION 10:17:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 10:16 bin 10:17:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 10:16 cmd 10:17:56 -rw-r--r-- 1 jenkins jenkins 8493 Jul 22 10:17 coverage.out 10:17:56 -rw-r--r-- 1 jenkins jenkins 203 Jul 22 10:17 go.mod 10:17:56 -rw-r--r-- 1 jenkins jenkins 12704 Jul 22 10:17 go.sum 10:17:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 10:16 internal 10:17:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 10:16 profiles 10:17:56 -rw-rw-r-- 1 jenkins jenkins 209 Jul 22 10:16 version.go [Pipeline] isUnix [Pipeline] sh 10:17:56 + 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-dev.2 . 10:17:56 Sending build context to Docker daemon 351.2kB 10:17:57 Step 1/25 : ARG BASE=golang:1.13-alpine 10:17:57 Step 2/25 : FROM ${BASE} AS builder 10:17:57 ---> 32a9ecf0e016 10:17:57 Step 3/25 : ARG MAKE='make build' 10:17:57 ---> Running in 8d08765721af 10:17:57 Removing intermediate container 8d08765721af 10:17:57 ---> 9c6f07eca8e5 10:17:57 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 10:17:57 ---> Running in f5ec8c8de3ed 10:17:58 Removing intermediate container f5ec8c8de3ed 10:17:58 ---> 9d170171a70b 10:17:58 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 10:17:58 ---> Running in 832c8dcd269c 10:17:58 Removing intermediate container 832c8dcd269c 10:17:58 ---> 9f54e445e11a 10:17:58 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:17:58 ---> Running in 6da402ece588 10:18:01 Removing intermediate container 6da402ece588 10:18:01 ---> 895c38a0ac6a 10:18:01 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:18:01 ---> Running in f70003763186 10:18:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:18:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:18:04 OK: 142 MiB in 39 packages 10:18:05 Removing intermediate container f70003763186 10:18:05 ---> 984ca9dc7b8a 10:18:05 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 10:18:05 ---> Running in 48417d32a403 10:18:06 Removing intermediate container 48417d32a403 10:18:06 ---> 812579309874 10:18:06 Step 9/25 : COPY go.mod . 10:18:06 ---> c23c2363a68c 10:18:06 Step 10/25 : COPY Makefile . 10:18:07 ---> 223bffdf4c87 10:18:07 Step 11/25 : RUN make update 10:18:07 ---> Running in 1578a7c34207 10:18:09 CGO_ENABLED=0 GO111MODULE=on go mod download 10:18:10 Removing intermediate container 1578a7c34207 10:18:10 ---> dc609b907f98 10:18:10 Step 12/25 : COPY . . 10:18:11 ---> d08c4d8ca8ed 10:18:11 Step 13/25 : RUN ${MAKE} 10:18:11 ---> Running in 2e488d40ad61 10:18:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.2-dev.2" -o cmd/device-snmp-go ./cmd 10:18:39 CGO_ENABLED=0 GO111MODULE=on go build ./... 10:18:42 Removing intermediate container 2e488d40ad61 10:18:42 ---> 764ff5c8eef2 10:18:42 Step 14/25 : FROM alpine 10:18:42 latest: Pulling from library/alpine 10:18:42 b538f80385f9: Already exists 10:18:43 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 10:18:43 Status: Downloaded newer image for alpine:latest 10:18:43 ---> 62ee0e9f8440 10:18:43 Step 15/25 : ENV APP_PORT=49993 10:18:43 ---> Running in 18d910d20410 10:18:43 Removing intermediate container 18d910d20410 10:18:43 ---> 4cf9a8855c01 10:18:43 Step 16/25 : EXPOSE $APP_PORT 10:18:43 ---> Running in d80f5b8f093d 10:18:44 Removing intermediate container d80f5b8f093d 10:18:44 ---> 7b052670c9f6 10:18:44 Step 17/25 : ENV DEVICE_PORT=161 10:18:44 ---> Running in 2823a78523b2 10:18:44 Removing intermediate container 2823a78523b2 10:18:44 ---> 4269069286ad 10:18:44 Step 18/25 : EXPOSE $DEVICE_PORT 10:18:44 ---> Running in fc73d4b432a3 10:18:45 Removing intermediate container fc73d4b432a3 10:18:45 ---> 32deddd47442 10:18:45 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 10:18:46 ---> fe63e2581254 10:18:46 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 10:18:47 ---> 8065d5ddd390 10:18:47 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 10:18:47 ---> 0a15dcf61e50 10:18:47 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 10:18:48 ---> Running in 6c3103e375f2 10:18:48 Removing intermediate container 6c3103e375f2 10:18:48 ---> 23804defb29d 10:18:48 Step 23/25 : LABEL arch=arm64 10:18:48 ---> Running in e660eb8185da 10:18:48 Removing intermediate container e660eb8185da 10:18:48 ---> 19962ba4d444 10:18:48 Step 24/25 : LABEL git_sha=ad194bc803dc916884c38fead828e9a39ff73581 10:18:49 ---> Running in 2492326da08e 10:18:49 Removing intermediate container 2492326da08e 10:18:49 ---> 671707a8c873 10:18:49 Step 25/25 : LABEL version=1.2.2-dev.2 10:18:49 ---> Running in 6672a5630738 10:18:50 Removing intermediate container 6672a5630738 10:18:50 ---> 2b359a8f4289 10:18:50 [Warning] One or more build-args [ARCH] were not consumed 10:18:50 Successfully built 2b359a8f4289 10:18:50 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 10:18:50 provisioning config files... 10:18:50 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/10@tmp/config41911332993881924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:51 nexus3.edgexfoundry.org:10001 10:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:51 Configure a credential helper to remove this warning. See 10:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:51 10:18:51 Login Succeeded 10:18:51 nexus3.edgexfoundry.org:10002 10:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:52 Configure a credential helper to remove this warning. See 10:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:52 10:18:52 Login Succeeded 10:18:52 nexus3.edgexfoundry.org:10003 10:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:52 Configure a credential helper to remove this warning. See 10:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:52 10:18:52 Login Succeeded 10:18:52 nexus3.edgexfoundry.org:10004 10:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:53 Configure a credential helper to remove this warning. See 10:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:53 10:18:53 Login Succeeded 10:18:53 docker.io 10:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:54 Configure a credential helper to remove this warning. See 10:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:54 10:18:54 Login Succeeded [Pipeline] } 10:18:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:18:54 [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: 10:18:54 ad194bc803dc916884c38fead828e9a39ff73581 10:18:54 latest 10:18:54 1.2.2-dev.2 10:18:54 ad194bc803dc916884c38fead828e9a39ff73581-1.2.2-dev.2 10:18:54 master 10:18:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:18:54 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581 [Pipeline] isUnix [Pipeline] sh 10:18:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581 10:18:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 10:18:55 f7c6289da2d4: Preparing 10:18:55 708d9b24388d: Preparing 10:18:55 069a522c8542: Preparing 10:18:55 e2f13739ad41: Preparing 10:18:55 e2f13739ad41: Layer already exists 10:18:55 f7c6289da2d4: Pushed 10:18:55 708d9b24388d: Pushed 10:18:58 069a522c8542: Pushed 10:18:58 ad194bc803dc916884c38fead828e9a39ff73581: digest: sha256:5cd1252d4ed5a295c97cac0dc9189623a80c54b977226bff1c15ce57fc4b39bd size: 1155 [Pipeline] isUnix [Pipeline] sh 10:18:58 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:18:58 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest 10:18:58 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 10:18:58 f7c6289da2d4: Preparing 10:18:58 708d9b24388d: Preparing 10:18:58 069a522c8542: Preparing 10:18:58 e2f13739ad41: Preparing 10:18:58 069a522c8542: Layer already exists 10:18:58 e2f13739ad41: Layer already exists 10:18:58 708d9b24388d: Layer already exists 10:18:58 f7c6289da2d4: Layer already exists 10:18:59 latest: digest: sha256:5cd1252d4ed5a295c97cac0dc9189623a80c54b977226bff1c15ce57fc4b39bd size: 1155 [Pipeline] isUnix [Pipeline] sh 10:18:59 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.2-dev.2 [Pipeline] isUnix [Pipeline] sh 10:18:59 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.2-dev.2 10:18:59 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 10:18:59 f7c6289da2d4: Preparing 10:18:59 708d9b24388d: Preparing 10:18:59 069a522c8542: Preparing 10:18:59 e2f13739ad41: Preparing 10:18:59 069a522c8542: Layer already exists 10:18:59 708d9b24388d: Layer already exists 10:18:59 f7c6289da2d4: Layer already exists 10:18:59 e2f13739ad41: Layer already exists 10:18:59 1.2.2-dev.2: digest: sha256:5cd1252d4ed5a295c97cac0dc9189623a80c54b977226bff1c15ce57fc4b39bd size: 1155 [Pipeline] isUnix [Pipeline] sh 10:19:00 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581-1.2.2-dev.2 [Pipeline] isUnix [Pipeline] sh 10:19:00 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581-1.2.2-dev.2 10:19:00 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 10:19:00 f7c6289da2d4: Preparing 10:19:00 708d9b24388d: Preparing 10:19:00 069a522c8542: Preparing 10:19:00 e2f13739ad41: Preparing 10:19:00 069a522c8542: Layer already exists 10:19:00 708d9b24388d: Layer already exists 10:19:00 f7c6289da2d4: Layer already exists 10:19:00 e2f13739ad41: Layer already exists 10:19:00 ad194bc803dc916884c38fead828e9a39ff73581-1.2.2-dev.2: digest: sha256:5cd1252d4ed5a295c97cac0dc9189623a80c54b977226bff1c15ce57fc4b39bd size: 1155 [Pipeline] isUnix [Pipeline] sh 10:19:01 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh 10:19:01 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master 10:19:01 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 10:19:01 f7c6289da2d4: Preparing 10:19:01 708d9b24388d: Preparing 10:19:01 069a522c8542: Preparing 10:19:01 e2f13739ad41: Preparing 10:19:01 069a522c8542: Layer already exists 10:19:01 f7c6289da2d4: Layer already exists 10:19:01 e2f13739ad41: Layer already exists 10:19:01 708d9b24388d: Layer already exists 10:19:01 master: digest: sha256:5cd1252d4ed5a295c97cac0dc9189623a80c54b977226bff1c15ce57fc4b39bd size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:19:02 ===================================================== [Pipeline] echo 10:19:02 taggedImages: 10:19:02 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581 10:19:02 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest 10:19:02 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.2-dev.2 10:19:02 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581-1.2.2-dev.2 10:19:02 - 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) [Pipeline] unstash [Pipeline] wrap 10:19:03 provisioning config files... 10:19:03 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4567112130700915752tmp [Pipeline] { [Pipeline] sh 10:19:03 + bash -s - -t @/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4567112130700915752tmp 10:19:03 + curl -s https://codecov.io/bash [Pipeline] } 10:19:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 10:19:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 10:19:04 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 10:19:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:19:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 10:19:04 10:19:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 10:19:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 10:19:05 1.317.0: Pulling from edgex-devops/edgex-snyk-go 10:19:05 cbdbe7a5bc2a: Pulling fs layer 10:19:05 408f87550127: Pulling fs layer 10:19:05 fe522b08c979: Pulling fs layer 10:19:05 221eaa008020: Pulling fs layer 10:19:05 2a4607e5d6b9: Pulling fs layer 10:19:05 8f79b27c4fd2: Pulling fs layer 10:19:05 e5c8dbe1645b: Pulling fs layer 10:19:05 23e8b3b47431: Pulling fs layer 10:19:05 5c568d65a230: Pulling fs layer 10:19:05 8f79b27c4fd2: Waiting 10:19:05 e5c8dbe1645b: Waiting 10:19:05 221eaa008020: Waiting 10:19:05 2a4607e5d6b9: Waiting 10:19:05 23e8b3b47431: Waiting 10:19:05 5c568d65a230: Waiting 10:19:05 fe522b08c979: Verifying Checksum 10:19:05 fe522b08c979: Download complete 10:19:05 408f87550127: Download complete 10:19:05 2a4607e5d6b9: Verifying Checksum 10:19:05 2a4607e5d6b9: Download complete 10:19:05 8f79b27c4fd2: Verifying Checksum 10:19:05 8f79b27c4fd2: Download complete 10:19:05 cbdbe7a5bc2a: Verifying Checksum 10:19:05 cbdbe7a5bc2a: Download complete 10:19:05 e5c8dbe1645b: Verifying Checksum 10:19:05 e5c8dbe1645b: Download complete 10:19:06 cbdbe7a5bc2a: Pull complete 10:19:06 23e8b3b47431: Verifying Checksum 10:19:06 23e8b3b47431: Download complete 10:19:06 5c568d65a230: Verifying Checksum 10:19:06 5c568d65a230: Download complete 10:19:06 408f87550127: Pull complete 10:19:07 fe522b08c979: Pull complete 10:19:07 221eaa008020: Verifying Checksum 10:19:07 221eaa008020: Download complete 10:19:26 221eaa008020: Pull complete 10:19:26 2a4607e5d6b9: Pull complete 10:19:26 8f79b27c4fd2: Pull complete 10:19:31 e5c8dbe1645b: Pull complete 10:19:37 23e8b3b47431: Pull complete 10:19:43 5c568d65a230: Pull complete 10:19:43 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 10:19:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 10:19:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 10:19:44 prd-centos7-docker-4c-2g-569 does not seem to be running inside a container 10:19:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 10:19:46 $ docker top 8835d527f397feeb4fb5624979a20d6697ba8e6526047d4ef823f4b22e6e247b -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:48 + snyk monitor '--org=edgex-jenkins' 10:20:04 10:20:04 Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... 10:20:04 10:20:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/be714e6f-a764-4e22-b81a-2e2bcbe2494d 10:20:04 10:20:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:20:04 10:20:04 [Pipeline] } 10:20:04 $ docker stop --time=1 8835d527f397feeb4fb5624979a20d6697ba8e6526047d4ef823f4b22e6e247b 10:20:06 $ docker rm -f 8835d527f397feeb4fb5624979a20d6697ba8e6526047d4ef823f4b22e6e247b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:20:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 10:20:07 10:20:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 10:20:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 10:20:08 latest: Pulling from edgex-devops/edgex-klar 10:20:08 e7c96db7181b: Pulling fs layer 10:20:08 1868ca2cb446: Pulling fs layer 10:20:08 136be5d0fe8e: Pulling fs layer 10:20:08 894bfe63afcb: Pulling fs layer 10:20:08 894bfe63afcb: Waiting 10:20:08 1868ca2cb446: Verifying Checksum 10:20:08 1868ca2cb446: Download complete 10:20:08 136be5d0fe8e: Verifying Checksum 10:20:08 136be5d0fe8e: Download complete 10:20:08 e7c96db7181b: Verifying Checksum 10:20:08 e7c96db7181b: Download complete 10:20:08 894bfe63afcb: Verifying Checksum 10:20:08 894bfe63afcb: Download complete 10:20:09 e7c96db7181b: Pull complete 10:20:09 1868ca2cb446: Pull complete 10:20:09 136be5d0fe8e: Pull complete 10:20:10 894bfe63afcb: Pull complete 10:20:10 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 10:20:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 10:20:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 10:20:10 prd-centos7-docker-4c-2g-569 does not seem to be running inside a container 10:20:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 10:20:11 $ docker top 6d20cd710955a41b73332fb3e4fb783f5bc26aeaaddb6a0d03bdb8bb67e5fcbb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:12 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581 10:20:12 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 10:20:16 $ docker stop --time=1 6d20cd710955a41b73332fb3e4fb783f5bc26aeaaddb6a0d03bdb8bb67e5fcbb 10:20:18 $ docker rm -f 6d20cd710955a41b73332fb3e4fb783f5bc26aeaaddb6a0d03bdb8bb67e5fcbb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 10:20:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 10:20:18 . [Pipeline] withDockerContainer 10:20:19 prd-centos7-docker-4c-2g-569 does not seem to be running inside a container 10:20:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 10:20:20 $ docker top d1159475aec3a1dd693bdca43cc5737e82bf306d67bb5f9667c803fd7c543dd4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:21 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:ad194bc803dc916884c38fead828e9a39ff73581 10:20:21 + tee 10:20:21 clair timeout 1m0s 10:20:21 docker timeout: 1m0s 10:20:21 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 10:20:21 $ docker stop --time=1 d1159475aec3a1dd693bdca43cc5737e82bf306d67bb5f9667c803fd7c543dd4 10:20:23 $ docker rm -f d1159475aec3a1dd693bdca43cc5737e82bf306d67bb5f9667c803fd7c543dd4 [Pipeline] // withDockerContainer [Pipeline] sh 10:20:24 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo 10:20:24 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 10:20:24 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 10:20:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 10:20:24 . [Pipeline] withDockerContainer 10:20:25 prd-centos7-docker-4c-2g-569 does not seem to be running inside a container 10:20:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 10:20:26 $ docker top 9ee977d5fe7acdaf4e483da4056502627a70643775f722f2a72f01fe619d17f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:27 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581 10:20:27 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 10:20:31 $ docker stop --time=1 9ee977d5fe7acdaf4e483da4056502627a70643775f722f2a72f01fe619d17f7 10:20:33 $ docker rm -f 9ee977d5fe7acdaf4e483da4056502627a70643775f722f2a72f01fe619d17f7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 10:20:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 10:20:33 . [Pipeline] withDockerContainer 10:20:34 prd-centos7-docker-4c-2g-569 does not seem to be running inside a container 10:20:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 10:20:35 $ docker top 9be24a73e530ad000732c2007e49d18b7dfc145e36d87491593d012929876710 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:36 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:ad194bc803dc916884c38fead828e9a39ff73581 10:20:36 + tee 10:20:36 clair timeout 1m0s 10:20:36 docker timeout: 1m0s 10:20:36 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 10:20:37 $ docker stop --time=1 9be24a73e530ad000732c2007e49d18b7dfc145e36d87491593d012929876710 10:20:39 $ docker rm -f 9be24a73e530ad000732c2007e49d18b7dfc145e36d87491593d012929876710 [Pipeline] // withDockerContainer [Pipeline] sh 10:20:39 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo 10:20:39 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 10:20:40 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 10:20:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:20:41 . [Pipeline] withDockerContainer 10:20:41 prd-centos7-docker-4c-2g-569 does not seem to be running inside a container 10:20:41 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:20:42 $ docker top f8c951985be2b3fd93d1bfdfec286dbc5dfabdc1f15a9d65681bd91b7124b1e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:43 [ssh-agent] Looking for ssh-agent implementation... 10:20:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:43 $ docker exec f8c951985be2b3fd93d1bfdfec286dbc5dfabdc1f15a9d65681bd91b7124b1e3 ssh-agent 10:20:44 SSH_AUTH_SOCK=/tmp/ssh-RrVJ55thF35O/agent.11 10:20:44 SSH_AGENT_PID=16 10:20:44 Running ssh-add (command line suppressed) 10:20:44 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_24497467806514196.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_24497467806514196.key) 10:20:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:44 + git semver tag 10:20:45 # -> Open(): unable to determine branch for HEAD 10:20:45 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 10:20:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 10:20:45 # $SEMVER_REMOTE_NAME = origin 10:20:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:20:45 # $SEMVER_USER_NAME = edgex-jenkins 10:20:45 # $SEMVER_BRANCH = master 10:20:45 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 10:20:45 # ad194bc803dc916884c38fead828e9a39ff73581 HEAD 10:20:45 # -> Force: false 10:20:45 # c936018cda34960e1fc721c0dd68e25782e5232c refs/tags/v1.2.2-dev.2 [Pipeline] } 10:20:45 $ docker exec --env ******** --env ******** f8c951985be2b3fd93d1bfdfec286dbc5dfabdc1f15a9d65681bd91b7124b1e3 ssh-agent -k 10:20:45 unset SSH_AUTH_SOCK; 10:20:45 unset SSH_AGENT_PID; 10:20:45 echo Agent pid 16 killed; 10:20:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:46 + git semver [Pipeline] } 10:20:46 $ docker stop --time=1 f8c951985be2b3fd93d1bfdfec286dbc5dfabdc1f15a9d65681bd91b7124b1e3 10:20:47 $ docker rm -f f8c951985be2b3fd93d1bfdfec286dbc5dfabdc1f15a9d65681bd91b7124b1e3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 10:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:20:48 10:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 10:20:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:20:48 0.23.1-centos7: Pulling from edgex-lftools 10:20:48 ab5ef0e58194: Pulling fs layer 10:20:48 9712f1f96733: Pulling fs layer 10:20:48 63f879dbbcfc: Pulling fs layer 10:20:48 0d9ebad4ef96: Pulling fs layer 10:20:48 e9a5061849ea: Pulling fs layer 10:20:48 d747dcd14b5f: Pulling fs layer 10:20:48 2de7ff778b66: Pulling fs layer 10:20:48 0d9ebad4ef96: Waiting 10:20:48 e9a5061849ea: Waiting 10:20:48 d747dcd14b5f: Waiting 10:20:48 2de7ff778b66: Waiting 10:20:48 9712f1f96733: Verifying Checksum 10:20:48 9712f1f96733: Download complete 10:20:50 63f879dbbcfc: Verifying Checksum 10:20:50 63f879dbbcfc: Download complete 10:20:50 e9a5061849ea: Verifying Checksum 10:20:50 e9a5061849ea: Download complete 10:20:50 d747dcd14b5f: Verifying Checksum 10:20:50 d747dcd14b5f: Download complete 10:20:50 0d9ebad4ef96: Verifying Checksum 10:20:50 0d9ebad4ef96: Download complete 10:20:51 ab5ef0e58194: Verifying Checksum 10:20:51 ab5ef0e58194: Download complete 10:20:51 2de7ff778b66: Verifying Checksum 10:20:51 2de7ff778b66: Download complete 10:21:01 ab5ef0e58194: Pull complete 10:21:01 9712f1f96733: Pull complete 10:21:03 63f879dbbcfc: Pull complete 10:21:16 0d9ebad4ef96: Pull complete 10:21:18 e9a5061849ea: Pull complete 10:21:18 d747dcd14b5f: Pull complete 10:21:23 2de7ff778b66: Pull complete 10:21:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:21:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:21:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 10:21:23 prd-centos7-docker-4c-2g-569 does not seem to be running inside a container 10:21:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:21:26 $ docker top 7840bcfbd1a23ea2ff37f58c0a3796f2c23c79233f947d3457f0510669f9eef2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:21:27 provisioning config files... 10:21:27 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4406986068460380716tmp 10:21:27 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2209544953014487513tmp 10:21:27 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7853398428993579443tmp [Pipeline] { [Pipeline] echo 10:21:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:21:27 ---> sigul-configuration.sh 10:21:27 gpg: directory `/root/.gnupg' created 10:21:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:21:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:21:27 gpg: keyring `/root/.gnupg/secring.gpg' created 10:21:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:21:27 gpg: CAST5 encrypted data 10:21:27 gpg: encrypted with 1 passphrase 10:21:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:21:28 + mkdir /home/jenkins 10:21:28 + mkdir /home/jenkins/sigul [Pipeline] sh 10:21:28 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 10:21:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:21:29 ---> sigul-install.sh 10:21:37 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 10:21:38 + git tag --list 10:21:38 v1.2.2-dev.2 [Pipeline] sh 10:21:38 + lftools sign git-tag v1.2.2-dev.2 10:21:40 Signing Git tag with Sigul... 10:21:40 Signing v1.2.2-dev.2 [Pipeline] echo 10:21:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:21:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:21:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:21:42 $ docker stop --time=1 7840bcfbd1a23ea2ff37f58c0a3796f2c23c79233f947d3457f0510669f9eef2 10:21:45 $ docker rm -f 7840bcfbd1a23ea2ff37f58c0a3796f2c23c79233f947d3457f0510669f9eef2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 10:21:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:21:45 . [Pipeline] withDockerContainer 10:21:46 prd-centos7-docker-4c-2g-569 does not seem to be running inside a container 10:21:46 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:21:47 $ docker top 42a432ce2a87afd94b63d86dc752e32bf0450869884dc24ef41dfbc541e35620 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:21:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:21:47 [ssh-agent] Looking for ssh-agent implementation... 10:21:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:21:48 $ docker exec 42a432ce2a87afd94b63d86dc752e32bf0450869884dc24ef41dfbc541e35620 ssh-agent 10:21:48 SSH_AUTH_SOCK=/tmp/ssh-p3fLV6yWBVTf/agent.12 10:21:48 SSH_AGENT_PID=18 10:21:48 Running ssh-add (command line suppressed) 10:21:48 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_179401898478594659.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_179401898478594659.key) 10:21:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:21:49 + git semver bump pre 10:21:49 # -> Open(): unable to determine branch for HEAD 10:21:49 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 10:21:49 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 10:21:49 # $SEMVER_REMOTE_NAME = origin 10:21:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:21:49 # $SEMVER_USER_NAME = edgex-jenkins 10:21:49 # $SEMVER_BRANCH = master 10:21:49 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 10:21:49 1.2.2-dev.3 [Pipeline] } 10:21:49 $ docker exec --env ******** --env ******** 42a432ce2a87afd94b63d86dc752e32bf0450869884dc24ef41dfbc541e35620 ssh-agent -k 10:21:49 unset SSH_AUTH_SOCK; 10:21:49 unset SSH_AGENT_PID; 10:21:49 echo Agent pid 18 killed; 10:21:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:21:50 + git semver [Pipeline] } 10:21:50 $ docker stop --time=1 42a432ce2a87afd94b63d86dc752e32bf0450869884dc24ef41dfbc541e35620 10:21:51 $ docker rm -f 42a432ce2a87afd94b63d86dc752e32bf0450869884dc24ef41dfbc541e35620 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 10:21:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:21:52 . [Pipeline] withDockerContainer 10:21:52 prd-centos7-docker-4c-2g-569 does not seem to be running inside a container 10:21:52 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:21:53 $ docker top 8038aeddc11af68590c4bddf3ef14f84c801878d80cd908e785ef78980d42916 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:21:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:21:54 [ssh-agent] Looking for ssh-agent implementation... 10:21:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:21:54 $ docker exec 8038aeddc11af68590c4bddf3ef14f84c801878d80cd908e785ef78980d42916 ssh-agent 10:21:54 SSH_AUTH_SOCK=/tmp/ssh-fXYsyW7xLqaG/agent.11 10:21:54 SSH_AGENT_PID=16 10:21:54 Running ssh-add (command line suppressed) 10:21:54 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2404205477800266914.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2404205477800266914.key) 10:21:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:21:55 + git semver push 10:21:55 # -> Open(): unable to determine branch for HEAD 10:21:55 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 10:21:55 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 10:21:55 # $SEMVER_REMOTE_NAME = origin 10:21:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:21:55 # $SEMVER_USER_NAME = edgex-jenkins 10:21:55 # $SEMVER_BRANCH = master 10:21:55 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 10:22:02 $ docker exec --env ******** --env ******** 8038aeddc11af68590c4bddf3ef14f84c801878d80cd908e785ef78980d42916 ssh-agent -k 10:22:02 unset SSH_AUTH_SOCK; 10:22:02 unset SSH_AGENT_PID; 10:22:02 echo Agent pid 16 killed; 10:22:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:22:02 + git semver [Pipeline] } 10:22:02 $ docker stop --time=1 8038aeddc11af68590c4bddf3ef14f84c801878d80cd908e785ef78980d42916 10:22:04 $ docker rm -f 8038aeddc11af68590c4bddf3ef14f84c801878d80cd908e785ef78980d42916 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 10:22:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:22:05 ---> package-listing.sh 10:22:05 ++ facter osfamily 10:22:05 ++ tr '[:upper:]' '[:lower:]' 10:22:06 + OS_FAMILY=redhat 10:22:06 + workspace=/w/workspace/gexfoundry_device-snmp-go_master 10:22:06 + START_PACKAGES=/tmp/packages_start.txt 10:22:06 + END_PACKAGES=/tmp/packages_end.txt 10:22:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:22:06 + PACKAGES=/tmp/packages_start.txt 10:22:06 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 10:22:06 + PACKAGES=/tmp/packages_end.txt 10:22:06 + case "${OS_FAMILY}" in 10:22:06 + rpm -qa 10:22:06 + sort 10:22:14 + '[' -f /tmp/packages_start.txt ']' 10:22:14 + '[' -f /tmp/packages_end.txt ']' 10:22:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:22:14 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 10:22:14 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ 10:22:14 + 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 10:22:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:22:15 10:22:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:22:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:22:15 alpine: Pulling from edgex-lftools-log-publisher 10:22:15 c9b1b535fdd9: Pulling fs layer 10:22:15 2cc5ad85d9ab: Pulling fs layer 10:22:15 756a868c4378: Pulling fs layer 10:22:15 444b2fc9a129: Pulling fs layer 10:22:15 ea15f1150254: Pulling fs layer 10:22:15 41b27a9f41bf: Pulling fs layer 10:22:15 28c525ee5125: Pulling fs layer 10:22:15 094b1ea09ed8: Pulling fs layer 10:22:15 138eaada9080: Pulling fs layer 10:22:15 0622d0fa9048: Pulling fs layer 10:22:15 41b27a9f41bf: Waiting 10:22:15 28c525ee5125: Waiting 10:22:15 094b1ea09ed8: Waiting 10:22:15 138eaada9080: Waiting 10:22:15 0622d0fa9048: Waiting 10:22:15 444b2fc9a129: Waiting 10:22:15 ea15f1150254: Waiting 10:22:15 2cc5ad85d9ab: Download complete 10:22:15 444b2fc9a129: Verifying Checksum 10:22:15 444b2fc9a129: Download complete 10:22:15 c9b1b535fdd9: Verifying Checksum 10:22:15 c9b1b535fdd9: Download complete 10:22:15 ea15f1150254: Verifying Checksum 10:22:15 ea15f1150254: Download complete 10:22:15 28c525ee5125: Download complete 10:22:16 756a868c4378: Verifying Checksum 10:22:16 756a868c4378: Download complete 10:22:16 138eaada9080: Verifying Checksum 10:22:16 138eaada9080: Download complete 10:22:16 094b1ea09ed8: Verifying Checksum 10:22:16 094b1ea09ed8: Download complete 10:22:16 0622d0fa9048: Verifying Checksum 10:22:16 0622d0fa9048: Download complete 10:22:16 c9b1b535fdd9: Pull complete 10:22:17 41b27a9f41bf: Verifying Checksum 10:22:17 41b27a9f41bf: Download complete 10:22:17 2cc5ad85d9ab: Pull complete 10:22:21 756a868c4378: Pull complete 10:22:21 444b2fc9a129: Pull complete 10:22:21 ea15f1150254: Pull complete 10:22:28 41b27a9f41bf: Pull complete 10:22:28 28c525ee5125: Pull complete 10:22:33 094b1ea09ed8: Pull complete 10:22:33 138eaada9080: Pull complete 10:22:33 0622d0fa9048: Pull complete 10:22:33 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 10:22:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:22:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:22:34 prd-centos7-docker-4c-2g-569 does not seem to be running inside a container 10:22:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:22:39 $ docker top 7c0125843cc9c4ac75d2c84a56f2dfc5a540ea6b0700b00a365686baf5e0d40d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:22:39 provisioning config files... 10:22:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config36791334164848854tmp [Pipeline] { [Pipeline] echo 10:22:39 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:22:39 ---> create-netrc.sh [Pipeline] echo 10:22:40 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:22:40 ---> logs-deploy.sh 10:22:40 + ARCHIVE_ARTIFACTS= 10:22:40 + LOGS_SERVER=https://logs.edgexfoundry.org 10:22:40 + '[' https://logs.edgexfoundry.org == None ']' 10:22:40 + NEXUS_URL=https://nexus.edgexfoundry.org 10:22:40 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/10 10:22:40 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/master/10/ 10:22:40 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/10 /w/workspace/gexfoundry_device-snmp-go_master 10:22:42 Archives upload complete. 10:22:42 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/10 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/master/10/