Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 985ee55f1dbea419f17ca15057a817658179b0bb 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 370697454611dc68c0596e0d0a50477a8de841a8 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 370697454611dc68c0596e0d0a50477a8de841a8 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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false 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-2541 in /w/workspace/dgexfoundry_device-sdk-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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 985ee55f1dbea419f17ca15057a817658179b0bb (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 985ee55f1dbea419f17ca15057a817658179b0bb # timeout=10 Commit message: "Merge pull request #536 from edgexfoundry/issue-535" > git rev-list --no-walk 3a565b71685442c2ff1ef3a41526fe46f740cbbe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-11T04:29:46.344Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-11T04:29:46.467Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-11T04:29:46.510Z] ========================================================= [2020-06-11T04:29:46.510Z] EdgeX Global Pipelines Version Info [2020-06-11T04:29:46.510Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-11T04:29:48.833Z] ------------------- [2020-06-11T04:29:48.833Z] stable info: [2020-06-11T04:29:48.833Z] ------------------- [2020-06-11T04:29:48.833Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-11T04:29:48.833Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-11T04:29:48.833Z] Message: update stable to v1.0.89 [2020-06-11T04:29:50.241Z] ------------------- [2020-06-11T04:29:50.241Z] experimental info: [2020-06-11T04:29:50.241Z] ------------------- [2020-06-11T04:29:50.241Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-11T04:29:50.241Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-11T04:29:50.241Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:29:51.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T04:29:52.230Z] [2020-06-11T04:29:52.230Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:29:52.583Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T04:29:52.878Z] latest: Pulling from edgex-devops/git-semver [2020-06-11T04:29:52.878Z] 9123ac7c32f7: Pulling fs layer [2020-06-11T04:29:52.878Z] b8cc5d1170e3: Pulling fs layer [2020-06-11T04:29:52.878Z] 2924cbbf6a41: Pulling fs layer [2020-06-11T04:29:52.878Z] 93b08a4f1073: Pulling fs layer [2020-06-11T04:29:52.878Z] 93b08a4f1073: Waiting [2020-06-11T04:29:52.878Z] b8cc5d1170e3: Verifying Checksum [2020-06-11T04:29:52.878Z] b8cc5d1170e3: Download complete [2020-06-11T04:29:52.878Z] 9123ac7c32f7: Verifying Checksum [2020-06-11T04:29:52.878Z] 9123ac7c32f7: Download complete [2020-06-11T04:29:53.144Z] 2924cbbf6a41: Verifying Checksum [2020-06-11T04:29:53.144Z] 2924cbbf6a41: Download complete [2020-06-11T04:29:53.144Z] 93b08a4f1073: Verifying Checksum [2020-06-11T04:29:53.144Z] 93b08a4f1073: Download complete [2020-06-11T04:29:53.408Z] 9123ac7c32f7: Pull complete [2020-06-11T04:29:53.675Z] b8cc5d1170e3: Pull complete [2020-06-11T04:29:55.099Z] 2924cbbf6a41: Pull complete [2020-06-11T04:29:55.363Z] 93b08a4f1073: Pull complete [2020-06-11T04:29:55.363Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-11T04:29:55.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T04:29:55.363Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-11T04:29:55.502Z] prd-centos7-docker-4c-2g-2541 does not seem to be running inside a container [2020-06-11T04:29:55.574Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-11T04:29:57.515Z] $ docker top f50894fec0ae92c39438445edabc8600a91bd99f531e71f09a8463325716c02d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-11T04:29:57.760Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T04:29:57.760Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T04:29:58.059Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T04:29:58.065Z] $ docker exec f50894fec0ae92c39438445edabc8600a91bd99f531e71f09a8463325716c02d ssh-agent [2020-06-11T04:29:58.394Z] SSH_AUTH_SOCK=/tmp/ssh-30t1NcUNwapt/agent.13 [2020-06-11T04:29:58.394Z] SSH_AGENT_PID=19 [2020-06-11T04:29:58.414Z] Running ssh-add (command line suppressed) [2020-06-11T04:29:58.632Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5130875770976896117.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5130875770976896117.key) [2020-06-11T04:29:58.744Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T04:29:59.095Z] + git describe --exact-match --tags HEAD [2020-06-11T04:29:59.095Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-11T04:29:59.433Z] $ docker exec --env ******** --env ******** f50894fec0ae92c39438445edabc8600a91bd99f531e71f09a8463325716c02d ssh-agent -k [2020-06-11T04:29:59.630Z] unset SSH_AUTH_SOCK; [2020-06-11T04:29:59.631Z] unset SSH_AGENT_PID; [2020-06-11T04:29:59.631Z] echo Agent pid 19 killed; [2020-06-11T04:29:59.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-11T04:29:59.733Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-11T04:29:59.733Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-11T04:29:59.793Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T04:29:59.793Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T04:30:00.115Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T04:30:00.120Z] $ docker exec f50894fec0ae92c39438445edabc8600a91bd99f531e71f09a8463325716c02d ssh-agent [2020-06-11T04:30:00.469Z] SSH_AUTH_SOCK=/tmp/ssh-aPuVDTD2Geex/agent.47 [2020-06-11T04:30:00.469Z] SSH_AGENT_PID=53 [2020-06-11T04:30:00.485Z] Running ssh-add (command line suppressed) [2020-06-11T04:30:00.657Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_574471766458775423.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_574471766458775423.key) [2020-06-11T04:30:00.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T04:30:01.166Z] + git semver init [2020-06-11T04:30:01.447Z] # -> Open(): unable to determine branch for HEAD [2020-06-11T04:30:01.447Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-06-11T04:30:01.447Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-06-11T04:30:01.447Z] # $SEMVER_REMOTE_NAME = origin [2020-06-11T04:30:01.447Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-11T04:30:01.447Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-11T04:30:01.447Z] # $SEMVER_BRANCH = master [2020-06-11T04:30:01.447Z] # $SEMVER_TEMP = /tmp/semver-955631083 [2020-06-11T04:30:01.447Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-06-11T04:30:02.896Z] # '/tmp/semver-955631083' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-06-11T04:30:02.896Z] # -> Force: false [2020-06-11T04:30:02.896Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-06-11T04:30:03.057Z] $ docker exec --env ******** --env ******** f50894fec0ae92c39438445edabc8600a91bd99f531e71f09a8463325716c02d ssh-agent -k [2020-06-11T04:30:03.400Z] unset SSH_AUTH_SOCK; [2020-06-11T04:30:03.403Z] unset SSH_AGENT_PID; [2020-06-11T04:30:03.403Z] echo Agent pid 53 killed; [2020-06-11T04:30:03.570Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-11T04:30:04.125Z] + git semver [Pipeline] } [2020-06-11T04:30:04.179Z] $ docker stop --time=1 f50894fec0ae92c39438445edabc8600a91bd99f531e71f09a8463325716c02d [2020-06-11T04:30:06.020Z] $ docker rm -f f50894fec0ae92c39438445edabc8600a91bd99f531e71f09a8463325716c02d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-11T04:30:07.353Z] Stashed 63 file(s) [Pipeline] echo [2020-06-11T04:30:07.355Z] [edgeXSemver] initialized semver on version 1.2.2-dev.3 [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 [2020-06-11T04:30:07.730Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2539 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-06-11T04:30:07.758Z] Running in /w/workspace/device-sdk-go/44 [Pipeline] { [Pipeline] checkout [2020-06-11T04:30:12.315Z] using credential edgex-jenkins-ssh [2020-06-11T04:30:12.346Z] Cloning the remote Git repository [2020-06-11T04:30:12.346Z] Cloning with configured refspecs honoured and without tags [2020-06-11T04:30:12.352Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-06-11T04:30:12.461Z] > git init /w/workspace/device-sdk-go/44 # timeout=10 [2020-06-11T04:30:12.518Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-11T04:30:12.519Z] > git --version # timeout=10 [2020-06-11T04:30:12.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T04:30:12.632Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T04:30:13.551Z] Fetching without tags [2020-06-11T04:30:13.412Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-11T04:30:13.443Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T04:30:13.475Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-11T04:30:13.522Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-11T04:30:13.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T04:30:13.534Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T04:30:14.010Z] Checking out Revision 985ee55f1dbea419f17ca15057a817658179b0bb (master) [2020-06-11T04:30:13.985Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T04:30:14.011Z] > git checkout -f 985ee55f1dbea419f17ca15057a817658179b0bb # timeout=10 [2020-06-11T04:30:18.386Z] Commit message: "Merge pull request #536 from edgexfoundry/issue-535" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-11T04:30:19.386Z] ========================================================= [2020-06-11T04:30:19.386Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-11T04:30:19.386Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:30:20.293Z] + 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 . [2020-06-11T04:30:21.284Z] Sending build context to Docker daemon 3.065MB [2020-06-11T04:30:21.284Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-11T04:30:21.284Z] Step 2/8 : FROM ${BASE} [2020-06-11T04:30:21.559Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-11T04:30:21.559Z] cde5963f3b93: Pulling fs layer [2020-06-11T04:30:21.559Z] 2a23fa8c16f7: Pulling fs layer [2020-06-11T04:30:21.559Z] 777b28850792: Pulling fs layer [2020-06-11T04:30:21.559Z] 8a11ddd9e578: Pulling fs layer [2020-06-11T04:30:21.559Z] 4cf88f913ddb: Pulling fs layer [2020-06-11T04:30:21.559Z] 1df406cf5192: Pulling fs layer [2020-06-11T04:30:21.559Z] cd6300453558: Pulling fs layer [2020-06-11T04:30:21.559Z] b9c365052c96: Pulling fs layer [2020-06-11T04:30:21.559Z] a2d8cc88f415: Pulling fs layer [2020-06-11T04:30:21.559Z] ea1d1ca13537: Pulling fs layer [2020-06-11T04:30:21.559Z] 3750a50a1c5e: Pulling fs layer [2020-06-11T04:30:21.559Z] 8a11ddd9e578: Waiting [2020-06-11T04:30:21.559Z] 4cf88f913ddb: Waiting [2020-06-11T04:30:21.559Z] 1df406cf5192: Waiting [2020-06-11T04:30:21.559Z] cd6300453558: Waiting [2020-06-11T04:30:21.559Z] b9c365052c96: Waiting [2020-06-11T04:30:21.559Z] a2d8cc88f415: Waiting [2020-06-11T04:30:21.559Z] ea1d1ca13537: Waiting [2020-06-11T04:30:21.559Z] 3750a50a1c5e: Waiting [2020-06-11T04:30:21.559Z] 777b28850792: Verifying Checksum [2020-06-11T04:30:21.559Z] 777b28850792: Download complete [2020-06-11T04:30:21.559Z] 2a23fa8c16f7: Verifying Checksum [2020-06-11T04:30:21.559Z] 2a23fa8c16f7: Download complete [2020-06-11T04:30:21.559Z] 4cf88f913ddb: Verifying Checksum [2020-06-11T04:30:21.559Z] 4cf88f913ddb: Download complete [2020-06-11T04:30:21.559Z] 1df406cf5192: Verifying Checksum [2020-06-11T04:30:21.559Z] cde5963f3b93: Verifying Checksum [2020-06-11T04:30:21.559Z] cde5963f3b93: Download complete [2020-06-11T04:30:22.538Z] Still waiting to schedule task [2020-06-11T04:30:22.538Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2541’ [2020-06-11T04:30:22.557Z] cde5963f3b93: Pull complete [2020-06-11T04:30:22.836Z] 2a23fa8c16f7: Pull complete [2020-06-11T04:30:23.433Z] 777b28850792: Pull complete [2020-06-11T04:30:24.418Z] cd6300453558: Verifying Checksum [2020-06-11T04:30:24.418Z] cd6300453558: Download complete [2020-06-11T04:30:24.418Z] a2d8cc88f415: Verifying Checksum [2020-06-11T04:30:24.418Z] a2d8cc88f415: Download complete [2020-06-11T04:30:25.404Z] ea1d1ca13537: Verifying Checksum [2020-06-11T04:30:25.404Z] ea1d1ca13537: Download complete [2020-06-11T04:30:25.404Z] 3750a50a1c5e: Download complete [2020-06-11T04:30:26.380Z] b9c365052c96: Verifying Checksum [2020-06-11T04:30:26.380Z] b9c365052c96: Download complete [2020-06-11T04:30:26.652Z] 8a11ddd9e578: Verifying Checksum [2020-06-11T04:30:26.652Z] 8a11ddd9e578: Download complete [2020-06-11T04:30:39.065Z] 8a11ddd9e578: Pull complete [2020-06-11T04:30:39.065Z] 4cf88f913ddb: Pull complete [2020-06-11T04:30:39.065Z] 1df406cf5192: Pull complete [2020-06-11T04:30:43.385Z] cd6300453558: Pull complete [2020-06-11T04:30:47.707Z] b9c365052c96: Pull complete [2020-06-11T04:30:47.983Z] a2d8cc88f415: Pull complete [2020-06-11T04:30:50.607Z] ea1d1ca13537: Pull complete [2020-06-11T04:30:50.607Z] 3750a50a1c5e: Pull complete [2020-06-11T04:30:50.607Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-11T04:30:50.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-11T04:30:50.607Z] ---> 78745c68409d [2020-06-11T04:30:50.607Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-11T04:30:54.930Z] ---> Running in 1dc8b669461b [2020-06-11T04:30:55.530Z] Removing intermediate container 1dc8b669461b [2020-06-11T04:30:55.530Z] ---> 293471d86d7a [2020-06-11T04:30:55.530Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T04:30:55.530Z] ---> Running in 72cf28c68ed7 [2020-06-11T04:30:58.143Z] Removing intermediate container 72cf28c68ed7 [2020-06-11T04:30:58.143Z] ---> 3ed7a13bd1d4 [2020-06-11T04:30:58.143Z] Step 5/8 : RUN apk add --no-cache make git [2020-06-11T04:30:58.143Z] ---> Running in 7f3909eb8452 [2020-06-11T04:31:00.149Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-11T04:31:00.423Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-11T04:31:01.014Z] OK: 125 MiB in 39 packages [2020-06-11T04:31:02.453Z] Removing intermediate container 7f3909eb8452 [2020-06-11T04:31:02.453Z] ---> b0b32fb793e4 [2020-06-11T04:31:02.453Z] Step 6/8 : WORKDIR /device-sdk-go [2020-06-11T04:31:02.453Z] ---> Running in ca7b166d22d3 [2020-06-11T04:31:02.726Z] Removing intermediate container ca7b166d22d3 [2020-06-11T04:31:02.726Z] ---> c481db55c549 [2020-06-11T04:31:02.726Z] Step 7/8 : COPY . . [2020-06-11T04:31:04.160Z] ---> feaef7e71e9f [2020-06-11T04:31:04.160Z] Step 8/8 : RUN go mod download [2020-06-11T04:31:04.160Z] ---> Running in c598de560002 [2020-06-11T04:31:06.769Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-11T04:31:06.769Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T04:31:06.769Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-11T04:31:06.769Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T04:31:06.769Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-11T04:31:06.769Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-11T04:31:06.769Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T04:31:06.769Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-11T04:31:06.769Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-11T04:31:06.769Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T04:31:06.769Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T04:31:06.769Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T04:31:06.769Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T04:31:06.769Z] go: finding github.com/fatih/color v1.7.0 [2020-06-11T04:31:06.769Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T04:31:06.769Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-11T04:31:06.769Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T04:31:06.769Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-11T04:31:06.769Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-11T04:31:06.769Z] go: finding github.com/google/uuid v1.1.0 [2020-06-11T04:31:06.769Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-11T04:31:06.769Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-11T04:31:06.769Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-11T04:31:06.769Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-11T04:31:06.769Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T04:31:06.769Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T04:31:06.769Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-11T04:31:06.769Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-11T04:31:06.769Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T04:31:07.041Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-11T04:31:07.041Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-11T04:31:07.041Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-11T04:31:07.041Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-11T04:31:07.041Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-11T04:31:07.041Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-11T04:31:07.041Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-11T04:31:07.041Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-11T04:31:07.041Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-11T04:31:07.041Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-11T04:31:07.041Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-11T04:31:07.041Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-11T04:31:07.041Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-11T04:31:07.041Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-11T04:31:07.041Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T04:31:07.041Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-11T04:31:07.041Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-11T04:31:07.041Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-11T04:31:07.041Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-11T04:31:07.041Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-11T04:31:07.312Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T04:31:07.312Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T04:31:07.312Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-11T04:31:07.312Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-11T04:31:07.312Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-11T04:31:07.312Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-11T04:31:07.312Z] go: finding github.com/posener/complete v1.1.1 [2020-06-11T04:31:07.312Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-11T04:31:07.312Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-11T04:31:07.312Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-11T04:31:07.312Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-11T04:31:07.312Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-11T04:31:07.312Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-11T04:31:07.312Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-11T04:31:07.312Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-11T04:31:07.312Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-11T04:31:07.312Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-11T04:31:07.312Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-11T04:31:07.312Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-11T04:31:17.473Z] Removing intermediate container c598de560002 [2020-06-11T04:31:17.473Z] ---> 2897b2db4995 [2020-06-11T04:31:17.473Z] Successfully built 2897b2db4995 [2020-06-11T04:31:17.473Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:31:18.133Z] + docker inspect -f . ci-base-image-arm64 [2020-06-11T04:31:18.416Z] . [Pipeline] withDockerContainer [2020-06-11T04:31:18.673Z] prd-ubuntu18.04-docker-arm64-4c-16g-2539 does not seem to be running inside a container [2020-06-11T04:31:18.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/44 -v /w/workspace/device-sdk-go/44:/w/workspace/device-sdk-go/44:rw,z -v /w/workspace/device-sdk-go/44@tmp:/w/workspace/device-sdk-go/44@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 ******** ci-base-image-arm64 cat [2020-06-11T04:31:20.586Z] $ docker top 319dd185591ea128bdb6bc22ea565cec138cc9c380a0b1c4efb9d9a0d6e2fc19 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-11T04:31:21.951Z] + go version [2020-06-11T04:31:21.951Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-11T04:31:23.014Z] + make test [2020-06-11T04:31:23.014Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-11T04:31:23.993Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-06-11T04:31:50.847Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-06-11T04:31:50.847Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-06-11T04:31:50.847Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-06-11T04:31:52.308Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.086s coverage: 22.1% of statements [2020-06-11T04:31:55.780Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.146s coverage: 95.8% of statements [2020-06-11T04:32:28.142Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 11.4% of statements [2020-06-11T04:32:28.142Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.015s coverage: 21.7% of statements [2020-06-11T04:32:28.142Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-06-11T04:32:28.142Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.171s coverage: 36.9% of statements [2020-06-11T04:32:28.142Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-06-11T04:32:28.142Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-06-11T04:32:28.142Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.501s coverage: 65.2% of statements [2020-06-11T04:32:28.142Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-06-11T04:32:28.142Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-06-11T04:32:28.142Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-06-11T04:32:28.142Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-06-11T04:32:28.142Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-06-11T04:32:28.142Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.355s coverage: 68.9% of statements [2020-06-11T04:32:28.142Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-06-11T04:32:28.142Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-06-11T04:32:28.142Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-11T04:32:30.783Z] gofmt -l . [2020-06-11T04:32:30.783Z] [ "`gofmt -l .`" = "" ] [2020-06-11T04:32:31.058Z] ./bin/test-attribution-txt.sh [2020-06-11T04:32:32.052Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-11T04:32:32.837Z] Stashed 1 file(s) [Pipeline] } [2020-06-11T04:32:32.802Z] $ docker stop --time=1 319dd185591ea128bdb6bc22ea565cec138cc9c380a0b1c4efb9d9a0d6e2fc19 [2020-06-11T04:32:34.842Z] $ docker rm -f 319dd185591ea128bdb6bc22ea565cec138cc9c380a0b1c4efb9d9a0d6e2fc19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-11T04:32:37.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-11T04:32:37.517Z] + ls -al . [2020-06-11T04:32:37.517Z] total 220 [2020-06-11T04:32:37.517Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 11 04:32 . [2020-06-11T04:32:37.517Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 04:30 .. [2020-06-11T04:32:37.517Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 11 04:30 .dockerignore [2020-06-11T04:32:37.517Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 04:30 .git [2020-06-11T04:32:37.517Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 04:30 .github [2020-06-11T04:32:37.517Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 11 04:30 .gitignore [2020-06-11T04:32:37.517Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 04:30 .semver [2020-06-11T04:32:37.517Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 11 04:30 Dockerfile.build [2020-06-11T04:32:37.517Z] -rw-rw-r-- 1 jenkins jenkins 808 Jun 11 04:30 Jenkinsfile [2020-06-11T04:32:37.517Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 11 04:30 LICENSE [2020-06-11T04:32:37.517Z] -rw-rw-r-- 1 jenkins jenkins 892 Jun 11 04:30 Makefile [2020-06-11T04:32:37.517Z] -rw-rw-r-- 1 jenkins jenkins 3166 Jun 11 04:30 README.md [2020-06-11T04:32:37.517Z] -rw-rw-r-- 1 jenkins jenkins 3997 Jun 11 04:30 RELEASE-NOTES.txt [2020-06-11T04:32:37.517Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 11 04:30 VERSION [2020-06-11T04:32:37.517Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 04:30 api [2020-06-11T04:32:37.517Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 04:30 bin [2020-06-11T04:32:37.517Z] -rw-r--r-- 1 jenkins jenkins 110877 Jun 11 04:32 coverage.out [2020-06-11T04:32:37.517Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 04:30 example [2020-06-11T04:32:37.517Z] -rw-r--r-- 1 jenkins jenkins 446 Jun 11 04:32 go.mod [2020-06-11T04:32:37.517Z] -rw-r--r-- 1 jenkins jenkins 12179 Jun 11 04:32 go.sum [2020-06-11T04:32:37.517Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 11 04:30 internal [2020-06-11T04:32:37.517Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 11 04:30 pkg [2020-06-11T04:32:37.517Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 04:30 snap [2020-06-11T04:32:37.517Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 11 04:30 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:32:37.862Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=985ee55f1dbea419f17ca15057a817658179b0bb --label arch=arm64 --label version=1.2.2-dev.3 . [2020-06-11T04:32:38.468Z] Sending build context to Docker daemon 3.193MB [2020-06-11T04:32:38.468Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-06-11T04:32:38.468Z] Step 2/23 : FROM ${BASE} AS builder [2020-06-11T04:32:38.468Z] ---> 2897b2db4995 [2020-06-11T04:32:38.468Z] Step 3/23 : ARG MAKE='make build' [2020-06-11T04:32:38.468Z] ---> Running in 80e8fa7f65fc [2020-06-11T04:32:39.062Z] Removing intermediate container 80e8fa7f65fc [2020-06-11T04:32:39.062Z] ---> c1a9cebc825d [2020-06-11T04:32:39.062Z] Step 4/23 : WORKDIR /device-sdk-go [2020-06-11T04:32:39.062Z] ---> Running in cbc23eaf1931 [2020-06-11T04:32:39.655Z] Removing intermediate container cbc23eaf1931 [2020-06-11T04:32:39.655Z] ---> 5d46b48d8f37 [2020-06-11T04:32:39.655Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-11T04:32:39.655Z] ---> Running in 3289fd3e6991 [2020-06-11T04:32:40.253Z] Removing intermediate container 3289fd3e6991 [2020-06-11T04:32:40.253Z] ---> 7a6bee16c93b [2020-06-11T04:32:40.253Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T04:32:40.253Z] ---> Running in 3ef994a300fa [2020-06-11T04:32:42.867Z] Removing intermediate container 3ef994a300fa [2020-06-11T04:32:42.867Z] ---> 9fa9941bac05 [2020-06-11T04:32:42.867Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-06-11T04:32:42.867Z] ---> Running in db7b9ad67b6c [2020-06-11T04:32:44.292Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-11T04:32:44.881Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-11T04:32:45.478Z] OK: 125 MiB in 39 packages [2020-06-11T04:32:46.465Z] Removing intermediate container db7b9ad67b6c [2020-06-11T04:32:46.465Z] ---> e2e3f9e1755a [2020-06-11T04:32:46.465Z] Step 8/23 : COPY . . [2020-06-11T04:32:47.895Z] ---> 8d1ef127613d [2020-06-11T04:32:47.895Z] Step 9/23 : RUN ${MAKE} [2020-06-11T04:32:47.895Z] ---> Running in 3781f0ae064b [2020-06-11T04:32:49.329Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.2-dev.3" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-06-11T04:33:16.215Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-06-11T04:33:16.215Z] Removing intermediate container 3781f0ae064b [2020-06-11T04:33:16.215Z] ---> 3a928da6fda7 [2020-06-11T04:33:16.215Z] Step 10/23 : FROM scratch [2020-06-11T04:33:16.215Z] ---> [2020-06-11T04:33:16.215Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-11T04:33:16.215Z] ---> Running in a80ccc98f737 [2020-06-11T04:33:16.215Z] Removing intermediate container a80ccc98f737 [2020-06-11T04:33:16.215Z] ---> 1bc3a720efa7 [2020-06-11T04:33:16.215Z] Step 12/23 : ENV APP_PORT=49990 [2020-06-11T04:33:16.215Z] ---> Running in 32995764c448 [2020-06-11T04:33:16.215Z] Removing intermediate container 32995764c448 [2020-06-11T04:33:16.215Z] ---> cc67100126ae [2020-06-11T04:33:16.215Z] Step 13/23 : EXPOSE $APP_PORT [2020-06-11T04:33:16.494Z] ---> Running in c9d1489deb5f [2020-06-11T04:33:17.094Z] Removing intermediate container c9d1489deb5f [2020-06-11T04:33:17.094Z] ---> be7214461ca9 [2020-06-11T04:33:17.094Z] Step 14/23 : WORKDIR / [2020-06-11T04:33:17.094Z] ---> Running in 9564c606d95f [2020-06-11T04:33:17.687Z] Removing intermediate container 9564c606d95f [2020-06-11T04:33:17.687Z] ---> 5b5e23ef3487 [2020-06-11T04:33:17.687Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-06-11T04:33:19.128Z] ---> 77297802b827 [2020-06-11T04:33:19.128Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-06-11T04:33:19.725Z] ---> 588c68c984cd [2020-06-11T04:33:19.725Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-06-11T04:33:20.322Z] ---> 68386c25f2fa [2020-06-11T04:33:20.322Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-06-11T04:33:20.920Z] ---> cb0d00cc3269 [2020-06-11T04:33:20.920Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-06-11T04:33:21.906Z] ---> 6d7010f997da [2020-06-11T04:33:21.906Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-06-11T04:33:21.906Z] ---> Running in a286646ebc28 [2020-06-11T04:33:22.177Z] Removing intermediate container a286646ebc28 [2020-06-11T04:33:22.177Z] ---> e1bc2ef00b5c [2020-06-11T04:33:22.177Z] Step 21/23 : LABEL arch=arm64 [2020-06-11T04:33:22.452Z] ---> Running in 0a9142bd1202 [2020-06-11T04:33:22.724Z] Removing intermediate container 0a9142bd1202 [2020-06-11T04:33:22.724Z] ---> fc66ef7f6d1a [2020-06-11T04:33:22.724Z] Step 22/23 : LABEL git_sha=985ee55f1dbea419f17ca15057a817658179b0bb [2020-06-11T04:33:22.996Z] ---> Running in 09bb50f690e5 [2020-06-11T04:33:23.538Z] Running on prd-centos7-docker-4c-2g-2542 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-06-11T04:33:23.565Z] Running in /w/workspace/device-sdk-go/44 [Pipeline] { [2020-06-11T04:33:23.589Z] Removing intermediate container 09bb50f690e5 [2020-06-11T04:33:23.590Z] ---> bb6db8da98aa [2020-06-11T04:33:23.590Z] Step 23/23 : LABEL version=1.2.2-dev.3 [2020-06-11T04:33:23.590Z] ---> Running in 3ecba853b95a [Pipeline] checkout [2020-06-11T04:33:23.859Z] Removing intermediate container 3ecba853b95a [2020-06-11T04:33:23.859Z] ---> 4d3589862f86 [2020-06-11T04:33:23.859Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-11T04:33:23.859Z] Successfully built 4d3589862f86 [2020-06-11T04:33:23.859Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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] } [2020-06-11T04:33:30.313Z] using credential edgex-jenkins-ssh [2020-06-11T04:33:30.352Z] Cloning the remote Git repository [2020-06-11T04:33:30.352Z] Cloning with configured refspecs honoured and without tags [2020-06-11T04:33:30.409Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-06-11T04:33:30.521Z] > git init /w/workspace/device-sdk-go/44 # timeout=10 [2020-06-11T04:33:30.656Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-11T04:33:30.657Z] > git --version # timeout=10 [2020-06-11T04:33:30.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T04:33:30.873Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T04:33:33.352Z] Fetching without tags [2020-06-11T04:33:33.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-11T04:33:33.217Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T04:33:33.330Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-11T04:33:33.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-11T04:33:33.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T04:33:33.854Z] Checking out Revision 985ee55f1dbea419f17ca15057a817658179b0bb (master) [2020-06-11T04:33:33.378Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T04:33:33.870Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T04:33:33.885Z] > git checkout -f 985ee55f1dbea419f17ca15057a817658179b0bb # timeout=10 [2020-06-11T04:33:38.332Z] Commit message: "Merge pull request #536 from edgexfoundry/issue-535" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-11T04:33:39.326Z] ========================================================= [2020-06-11T04:33:39.326Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-11T04:33:39.326Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:33:40.313Z] + 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 . [2020-06-11T04:33:40.908Z] Sending build context to Docker daemon 3.063MB [2020-06-11T04:33:40.908Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-11T04:33:40.908Z] Step 2/8 : FROM ${BASE} [2020-06-11T04:33:41.185Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-11T04:33:41.185Z] e6b0cf9c0882: Pulling fs layer [2020-06-11T04:33:41.185Z] 2848faf0eed1: Pulling fs layer [2020-06-11T04:33:41.185Z] 0f37312ad70f: Pulling fs layer [2020-06-11T04:33:41.185Z] 5788d62ee057: Pulling fs layer [2020-06-11T04:33:41.185Z] 0e6b1d234666: Pulling fs layer [2020-06-11T04:33:41.185Z] bf5d7aec512f: Pulling fs layer [2020-06-11T04:33:41.185Z] 34c802a77dc8: Pulling fs layer [2020-06-11T04:33:41.185Z] 9eb99e56ec68: Pulling fs layer [2020-06-11T04:33:41.185Z] 27c7a5d97fbd: Pulling fs layer [2020-06-11T04:33:41.185Z] 5c102a31e300: Pulling fs layer [2020-06-11T04:33:41.185Z] dcfb455df0a1: Pulling fs layer [2020-06-11T04:33:41.185Z] 0e6b1d234666: Waiting [2020-06-11T04:33:41.185Z] bf5d7aec512f: Waiting [2020-06-11T04:33:41.185Z] 34c802a77dc8: Waiting [2020-06-11T04:33:41.185Z] 9eb99e56ec68: Waiting [2020-06-11T04:33:41.185Z] 27c7a5d97fbd: Waiting [2020-06-11T04:33:41.185Z] 5c102a31e300: Waiting [2020-06-11T04:33:41.185Z] dcfb455df0a1: Waiting [2020-06-11T04:33:41.185Z] 5788d62ee057: Waiting [2020-06-11T04:33:41.185Z] 0f37312ad70f: Verifying Checksum [2020-06-11T04:33:41.185Z] 0f37312ad70f: Download complete [2020-06-11T04:33:41.185Z] 2848faf0eed1: Download complete [2020-06-11T04:33:41.185Z] 0e6b1d234666: Verifying Checksum [2020-06-11T04:33:41.185Z] 0e6b1d234666: Download complete [2020-06-11T04:33:41.185Z] bf5d7aec512f: Verifying Checksum [2020-06-11T04:33:41.185Z] bf5d7aec512f: Download complete [2020-06-11T04:33:41.185Z] e6b0cf9c0882: Verifying Checksum [2020-06-11T04:33:41.185Z] e6b0cf9c0882: Download complete [2020-06-11T04:33:41.845Z] e6b0cf9c0882: Pull complete [2020-06-11T04:33:41.845Z] 2848faf0eed1: Pull complete [2020-06-11T04:33:42.202Z] 0f37312ad70f: Pull complete [2020-06-11T04:33:42.855Z] 34c802a77dc8: Verifying Checksum [2020-06-11T04:33:42.855Z] 34c802a77dc8: Download complete [2020-06-11T04:33:42.855Z] 27c7a5d97fbd: Verifying Checksum [2020-06-11T04:33:42.855Z] 27c7a5d97fbd: Download complete [2020-06-11T04:33:44.141Z] 9eb99e56ec68: Verifying Checksum [2020-06-11T04:33:44.141Z] 9eb99e56ec68: Download complete [2020-06-11T04:33:44.141Z] 5788d62ee057: Verifying Checksum [2020-06-11T04:33:44.141Z] 5788d62ee057: Download complete [2020-06-11T04:33:44.141Z] dcfb455df0a1: Verifying Checksum [2020-06-11T04:33:44.141Z] dcfb455df0a1: Download complete [2020-06-11T04:33:44.437Z] 5c102a31e300: Verifying Checksum [2020-06-11T04:33:44.437Z] 5c102a31e300: Download complete [2020-06-11T04:33:52.811Z] 5788d62ee057: Pull complete [2020-06-11T04:33:52.811Z] 0e6b1d234666: Pull complete [2020-06-11T04:33:52.811Z] bf5d7aec512f: Pull complete [2020-06-11T04:33:58.356Z] 34c802a77dc8: Pull complete [2020-06-11T04:34:02.740Z] 9eb99e56ec68: Pull complete [2020-06-11T04:34:03.031Z] 27c7a5d97fbd: Pull complete [2020-06-11T04:34:04.506Z] 5c102a31e300: Pull complete [2020-06-11T04:34:04.782Z] dcfb455df0a1: Pull complete [2020-06-11T04:34:04.782Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-11T04:34:05.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-11T04:34:05.051Z] ---> 7c70fe431013 [2020-06-11T04:34:05.051Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-11T04:34:05.629Z] ---> Running in 94c23e6b3bc9 [2020-06-11T04:34:05.629Z] Removing intermediate container 94c23e6b3bc9 [2020-06-11T04:34:05.629Z] ---> 1d5ff650246c [2020-06-11T04:34:05.629Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T04:34:05.893Z] ---> Running in 0372e4e73dc9 [2020-06-11T04:34:07.334Z] Removing intermediate container 0372e4e73dc9 [2020-06-11T04:34:07.334Z] ---> 2b9fe759ee28 [2020-06-11T04:34:07.334Z] Step 5/8 : RUN apk add --no-cache make git [2020-06-11T04:34:07.334Z] ---> Running in 02cfdcfc0750 [2020-06-11T04:34:08.301Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-11T04:34:08.885Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-11T04:34:09.472Z] OK: 143 MiB in 39 packages [2020-06-11T04:34:10.058Z] Removing intermediate container 02cfdcfc0750 [2020-06-11T04:34:10.058Z] ---> efc14b3ed3b5 [2020-06-11T04:34:10.058Z] Step 6/8 : WORKDIR /device-sdk-go [2020-06-11T04:34:10.058Z] ---> Running in f2f8360155b9 [2020-06-11T04:34:10.329Z] Removing intermediate container f2f8360155b9 [2020-06-11T04:34:10.329Z] ---> 897117690d0f [2020-06-11T04:34:10.329Z] Step 7/8 : COPY . . [2020-06-11T04:34:11.747Z] ---> cd732b0aafbd [2020-06-11T04:34:11.747Z] Step 8/8 : RUN go mod download [2020-06-11T04:34:11.747Z] ---> Running in 51b9be1fa3d3 [2020-06-11T04:34:13.797Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-11T04:34:13.797Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T04:34:13.797Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-11T04:34:13.797Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T04:34:13.797Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-11T04:34:13.797Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-11T04:34:13.797Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T04:34:13.797Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-11T04:34:13.797Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-11T04:34:13.797Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T04:34:13.797Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T04:34:13.797Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T04:34:13.797Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T04:34:13.797Z] go: finding github.com/fatih/color v1.7.0 [2020-06-11T04:34:13.797Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T04:34:13.797Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-11T04:34:13.797Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T04:34:13.797Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-11T04:34:13.797Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-11T04:34:13.797Z] go: finding github.com/google/uuid v1.1.0 [2020-06-11T04:34:13.797Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-11T04:34:13.798Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-11T04:34:13.798Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-11T04:34:13.798Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-11T04:34:14.067Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-11T04:34:14.067Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-11T04:34:14.067Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-11T04:34:14.067Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T04:34:14.067Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-11T04:34:14.067Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-11T04:34:14.067Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-11T04:34:14.067Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-11T04:34:14.067Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-11T04:34:14.067Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T04:34:14.067Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T04:34:14.067Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-11T04:34:14.067Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-11T04:34:14.067Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-11T04:34:14.067Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-11T04:34:14.067Z] go: finding github.com/posener/complete v1.1.1 [2020-06-11T04:34:14.067Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-11T04:34:14.067Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-11T04:34:14.067Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-11T04:34:14.067Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-11T04:34:14.067Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-11T04:34:14.346Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-11T04:34:14.346Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-11T04:34:14.346Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-11T04:34:14.346Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-11T04:34:14.346Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-11T04:34:14.346Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-11T04:34:14.346Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-11T04:34:22.796Z] Removing intermediate container 51b9be1fa3d3 [2020-06-11T04:34:22.796Z] ---> c5f7109de151 [2020-06-11T04:34:22.796Z] Successfully built c5f7109de151 [2020-06-11T04:34:22.796Z] 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 [2020-06-11T04:34:23.543Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-11T04:34:23.813Z] . [Pipeline] withDockerContainer [2020-06-11T04:34:24.004Z] prd-centos7-docker-4c-2g-2542 does not seem to be running inside a container [2020-06-11T04:34:24.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/44 -v /w/workspace/device-sdk-go/44:/w/workspace/device-sdk-go/44:rw,z -v /w/workspace/device-sdk-go/44@tmp:/w/workspace/device-sdk-go/44@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 ******** ci-base-image-x86_64 cat [2020-06-11T04:34:25.482Z] $ docker top 7c9f56448d5fbf00eb30125b9b7034f6556479261638ba3de9a7185b83661e4c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-11T04:34:26.016Z] + go version [2020-06-11T04:34:26.016Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-11T04:34:26.413Z] + make test [2020-06-11T04:34:26.413Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-11T04:34:28.407Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-06-11T04:34:43.799Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-06-11T04:34:43.799Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-06-11T04:34:43.799Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-06-11T04:34:43.799Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 22.1% of statements [2020-06-11T04:34:45.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.064s coverage: 95.8% of statements [2020-06-11T04:35:17.964Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.121s coverage: 11.4% of statements [2020-06-11T04:35:17.964Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 21.7% of statements [2020-06-11T04:35:17.964Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-06-11T04:35:17.964Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.090s coverage: 36.9% of statements [2020-06-11T04:35:17.964Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-06-11T04:35:17.964Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-06-11T04:35:17.964Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.662s coverage: 65.2% of statements [2020-06-11T04:35:17.964Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-06-11T04:35:17.964Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-06-11T04:35:17.964Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-06-11T04:35:17.964Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.043s coverage: 52.6% of statements [2020-06-11T04:35:17.964Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-06-11T04:35:17.964Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.115s coverage: 68.9% of statements [2020-06-11T04:35:17.964Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-06-11T04:35:17.964Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-06-11T04:35:17.964Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-11T04:35:19.494Z] gofmt -l . [2020-06-11T04:35:19.494Z] [ "`gofmt -l .`" = "" ] [2020-06-11T04:35:19.762Z] ./bin/test-attribution-txt.sh [2020-06-11T04:35:20.733Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-11T04:35:21.328Z] Warning: overwriting stash ‘coverage-report’ [2020-06-11T04:35:21.757Z] Stashed 1 file(s) [Pipeline] } [2020-06-11T04:35:21.781Z] $ docker stop --time=1 7c9f56448d5fbf00eb30125b9b7034f6556479261638ba3de9a7185b83661e4c [2020-06-11T04:35:23.466Z] $ docker rm -f 7c9f56448d5fbf00eb30125b9b7034f6556479261638ba3de9a7185b83661e4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-11T04:35:24.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-11T04:35:24.899Z] + ls -al . [2020-06-11T04:35:24.899Z] total 180 [2020-06-11T04:35:24.899Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jun 11 04:35 . [2020-06-11T04:35:24.899Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 11 04:33 .. [2020-06-11T04:35:24.899Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 04:33 api [2020-06-11T04:35:24.899Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 04:33 bin [2020-06-11T04:35:24.899Z] -rw-r--r--. 1 jenkins jenkins 110877 Jun 11 04:35 coverage.out [2020-06-11T04:35:24.899Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 11 04:33 Dockerfile.build [2020-06-11T04:35:24.899Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 11 04:33 .dockerignore [2020-06-11T04:35:24.899Z] drwxrwxr-x. 4 jenkins jenkins 48 Jun 11 04:33 example [2020-06-11T04:35:24.899Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 11 04:33 .git [2020-06-11T04:35:24.899Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 11 04:33 .github [2020-06-11T04:35:24.899Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 11 04:33 .gitignore [2020-06-11T04:35:24.899Z] -rw-r--r--. 1 jenkins jenkins 446 Jun 11 04:35 go.mod [2020-06-11T04:35:24.899Z] -rw-r--r--. 1 jenkins jenkins 12179 Jun 11 04:35 go.sum [2020-06-11T04:35:24.899Z] drwxrwxr-x. 15 jenkins jenkins 217 Jun 11 04:33 internal [2020-06-11T04:35:24.899Z] -rw-rw-r--. 1 jenkins jenkins 808 Jun 11 04:33 Jenkinsfile [2020-06-11T04:35:24.899Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 11 04:33 LICENSE [2020-06-11T04:35:24.899Z] -rw-rw-r--. 1 jenkins jenkins 892 Jun 11 04:33 Makefile [2020-06-11T04:35:24.899Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 11 04:33 pkg [2020-06-11T04:35:24.899Z] -rw-rw-r--. 1 jenkins jenkins 3166 Jun 11 04:33 README.md [2020-06-11T04:35:24.899Z] -rw-rw-r--. 1 jenkins jenkins 3997 Jun 11 04:33 RELEASE-NOTES.txt [2020-06-11T04:35:24.899Z] drwxrwxr-x. 3 jenkins jenkins 44 Jun 11 04:33 .semver [2020-06-11T04:35:24.899Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 11 04:33 snap [2020-06-11T04:35:24.899Z] -rw-rw-r--. 1 jenkins jenkins 11 Jun 11 04:30 VERSION [2020-06-11T04:35:24.899Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 11 04:33 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:35:25.256Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=985ee55f1dbea419f17ca15057a817658179b0bb --label arch=amd64 --label version=1.2.2-dev.3 . [2020-06-11T04:35:25.518Z] Sending build context to Docker daemon 3.191MB [2020-06-11T04:35:25.518Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-06-11T04:35:25.518Z] Step 2/23 : FROM ${BASE} AS builder [2020-06-11T04:35:25.518Z] ---> c5f7109de151 [2020-06-11T04:35:25.518Z] Step 3/23 : ARG MAKE='make build' [2020-06-11T04:35:26.099Z] ---> Running in 41456afa978d [2020-06-11T04:35:26.099Z] Removing intermediate container 41456afa978d [2020-06-11T04:35:26.099Z] ---> 3dc160b30642 [2020-06-11T04:35:26.099Z] Step 4/23 : WORKDIR /device-sdk-go [2020-06-11T04:35:26.099Z] ---> Running in 42d1648c985f [2020-06-11T04:35:26.368Z] Removing intermediate container 42d1648c985f [2020-06-11T04:35:26.368Z] ---> d11666544b3f [2020-06-11T04:35:26.368Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-11T04:35:26.368Z] ---> Running in f688562a1994 [2020-06-11T04:35:26.632Z] Removing intermediate container f688562a1994 [2020-06-11T04:35:26.632Z] ---> ff585a5544a5 [2020-06-11T04:35:26.632Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T04:35:26.632Z] ---> Running in 88a17a8a8e62 [2020-06-11T04:35:27.599Z] Removing intermediate container 88a17a8a8e62 [2020-06-11T04:35:27.599Z] ---> 8c48b8073b98 [2020-06-11T04:35:27.599Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-06-11T04:35:27.865Z] ---> Running in 17d99b2d3082 [2020-06-11T04:35:28.446Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-11T04:35:29.021Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-11T04:35:29.620Z] OK: 143 MiB in 39 packages [2020-06-11T04:35:30.204Z] Removing intermediate container 17d99b2d3082 [2020-06-11T04:35:30.205Z] ---> d86b2d888d8d [2020-06-11T04:35:30.205Z] Step 8/23 : COPY . . [2020-06-11T04:35:31.190Z] ---> 8655be79e07a [2020-06-11T04:35:31.190Z] Step 9/23 : RUN ${MAKE} [2020-06-11T04:35:31.190Z] ---> Running in fb410f6a83cb [2020-06-11T04:35:31.783Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.2-dev.3" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-06-11T04:35:44.275Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-06-11T04:35:46.233Z] Removing intermediate container fb410f6a83cb [2020-06-11T04:35:46.233Z] ---> 00121aedcb21 [2020-06-11T04:35:46.233Z] Step 10/23 : FROM scratch [2020-06-11T04:35:46.233Z] ---> [2020-06-11T04:35:46.233Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-11T04:35:46.233Z] ---> Running in b57bdb2a4f77 [2020-06-11T04:35:46.497Z] Removing intermediate container b57bdb2a4f77 [2020-06-11T04:35:46.497Z] ---> 19d277d5d3d7 [2020-06-11T04:35:46.497Z] Step 12/23 : ENV APP_PORT=49990 [2020-06-11T04:35:46.497Z] ---> Running in 2fbad3a590d6 [2020-06-11T04:35:46.760Z] Removing intermediate container 2fbad3a590d6 [2020-06-11T04:35:46.760Z] ---> e620c4729597 [2020-06-11T04:35:46.760Z] Step 13/23 : EXPOSE $APP_PORT [2020-06-11T04:35:46.760Z] ---> Running in 6030a447a4f3 [2020-06-11T04:35:46.760Z] Removing intermediate container 6030a447a4f3 [2020-06-11T04:35:46.760Z] ---> b43c663b9026 [2020-06-11T04:35:46.760Z] Step 14/23 : WORKDIR / [2020-06-11T04:35:47.024Z] ---> Running in e82db0a939d5 [2020-06-11T04:35:47.024Z] Removing intermediate container e82db0a939d5 [2020-06-11T04:35:47.024Z] ---> f1fbd2c11ea5 [2020-06-11T04:35:47.024Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-06-11T04:35:47.618Z] ---> 4f19cb4a5b28 [2020-06-11T04:35:47.618Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-06-11T04:35:47.881Z] ---> ef64937b2c78 [2020-06-11T04:35:47.881Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-06-11T04:35:48.154Z] ---> 4122b70a601f [2020-06-11T04:35:48.154Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-06-11T04:35:48.425Z] ---> ee970b40cae5 [2020-06-11T04:35:48.425Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-06-11T04:35:48.692Z] ---> a96508361b39 [2020-06-11T04:35:48.693Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-06-11T04:35:48.970Z] ---> Running in 0dca2fa843fd [2020-06-11T04:35:48.970Z] Removing intermediate container 0dca2fa843fd [2020-06-11T04:35:48.970Z] ---> a8b3483b1712 [2020-06-11T04:35:48.970Z] Step 21/23 : LABEL arch=amd64 [2020-06-11T04:35:48.970Z] ---> Running in d13def410523 [2020-06-11T04:35:49.247Z] Removing intermediate container d13def410523 [2020-06-11T04:35:49.248Z] ---> 487646968deb [2020-06-11T04:35:49.248Z] Step 22/23 : LABEL git_sha=985ee55f1dbea419f17ca15057a817658179b0bb [2020-06-11T04:35:49.248Z] ---> Running in 07558ab8d872 [2020-06-11T04:35:49.520Z] Removing intermediate container 07558ab8d872 [2020-06-11T04:35:49.520Z] ---> b8ac4e16939a [2020-06-11T04:35:49.520Z] Step 23/23 : LABEL version=1.2.2-dev.3 [2020-06-11T04:35:49.520Z] ---> Running in 8aafcbf07a9e [2020-06-11T04:35:49.800Z] Removing intermediate container 8aafcbf07a9e [2020-06-11T04:35:49.800Z] ---> 4d2ddf838a52 [2020-06-11T04:35:49.800Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-11T04:35:49.800Z] Successfully built 4d2ddf838a52 [2020-06-11T04:35:49.800Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 [2020-06-11T04:35:50.563Z] provisioning config files... [2020-06-11T04:35:50.579Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5894509351855006382tmp [Pipeline] { [Pipeline] sh [2020-06-11T04:35:50.915Z] + curl -s https://codecov.io/bash [2020-06-11T04:35:50.915Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5894509351855006382tmp [2020-06-11T04:35:51.179Z] [2020-06-11T04:35:51.179Z] _____ _ [2020-06-11T04:35:51.179Z] / ____| | | [2020-06-11T04:35:51.179Z] | | ___ __| | ___ ___ _____ __ [2020-06-11T04:35:51.179Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-11T04:35:51.179Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-11T04:35:51.179Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-11T04:35:51.179Z] Bash-20200602-f809a24 [2020-06-11T04:35:51.179Z] [2020-06-11T04:35:51.179Z] [2020-06-11T04:35:51.179Z] ==> Jenkins CI detected. [2020-06-11T04:35:51.179Z] project root: . [2020-06-11T04:35:51.179Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-11T04:35:51.179Z] ==> Running gcov in . (disable via -X gcov) [2020-06-11T04:35:51.179Z] ==> Python coveragepy not found [2020-06-11T04:35:51.179Z] ==> Searching for coverage reports in: [2020-06-11T04:35:51.179Z] + . [2020-06-11T04:35:51.179Z] -> Found 1 reports [2020-06-11T04:35:51.179Z] ==> Detecting git/mercurial file structure [2020-06-11T04:35:51.179Z] ==> Reading reports [2020-06-11T04:35:51.179Z] + ./coverage.out bytes=110877 [2020-06-11T04:35:51.179Z] ==> Appending adjustments [2020-06-11T04:35:51.179Z] https://docs.codecov.io/docs/fixing-reports [2020-06-11T04:35:51.753Z] + Found adjustments [2020-06-11T04:35:51.753Z] ==> Gzipping contents [2020-06-11T04:35:51.753Z] ==> Uploading reports [2020-06-11T04:35:51.753Z] url: https://codecov.io [2020-06-11T04:35:51.753Z] query: branch=master&commit=985ee55f1dbea419f17ca15057a817658179b0bb&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-06-11T04:35:51.753Z] -> Pinging Codecov [2020-06-11T04:35:51.753Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=985ee55f1dbea419f17ca15057a817658179b0bb&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-06-11T04:35:52.332Z] -> Uploading [2020-06-11T04:35:52.907Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/985ee55f1dbea419f17ca15057a817658179b0bb [Pipeline] } [2020-06-11T04:35:52.918Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-06-11T04:35:53.329Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-06-11T04:35:53.330Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-06-11T04:35:53.359Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:35:53.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-06-11T04:35:53.688Z] [2020-06-11T04:35:53.688Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:35:54.030Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-06-11T04:35:54.030Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-06-11T04:35:54.030Z] cbdbe7a5bc2a: Pulling fs layer [2020-06-11T04:35:54.030Z] 408f87550127: Pulling fs layer [2020-06-11T04:35:54.030Z] fe522b08c979: Pulling fs layer [2020-06-11T04:35:54.030Z] 221eaa008020: Pulling fs layer [2020-06-11T04:35:54.030Z] 2a4607e5d6b9: Pulling fs layer [2020-06-11T04:35:54.030Z] 8f79b27c4fd2: Pulling fs layer [2020-06-11T04:35:54.030Z] e5c8dbe1645b: Pulling fs layer [2020-06-11T04:35:54.030Z] 23e8b3b47431: Pulling fs layer [2020-06-11T04:35:54.030Z] 5c568d65a230: Pulling fs layer [2020-06-11T04:35:54.030Z] 8f79b27c4fd2: Waiting [2020-06-11T04:35:54.030Z] e5c8dbe1645b: Waiting [2020-06-11T04:35:54.030Z] 23e8b3b47431: Waiting [2020-06-11T04:35:54.030Z] 5c568d65a230: Waiting [2020-06-11T04:35:54.030Z] 221eaa008020: Waiting [2020-06-11T04:35:54.030Z] 2a4607e5d6b9: Waiting [2020-06-11T04:35:54.030Z] fe522b08c979: Verifying Checksum [2020-06-11T04:35:54.030Z] fe522b08c979: Download complete [2020-06-11T04:35:54.030Z] 408f87550127: Verifying Checksum [2020-06-11T04:35:54.030Z] 408f87550127: Download complete [2020-06-11T04:35:54.030Z] 2a4607e5d6b9: Verifying Checksum [2020-06-11T04:35:54.030Z] 2a4607e5d6b9: Download complete [2020-06-11T04:35:54.417Z] cbdbe7a5bc2a: Download complete [2020-06-11T04:35:54.417Z] 8f79b27c4fd2: Verifying Checksum [2020-06-11T04:35:54.417Z] 8f79b27c4fd2: Download complete [2020-06-11T04:35:54.417Z] cbdbe7a5bc2a: Pull complete [2020-06-11T04:35:54.688Z] 408f87550127: Pull complete [2020-06-11T04:35:54.982Z] fe522b08c979: Pull complete [2020-06-11T04:35:54.982Z] e5c8dbe1645b: Verifying Checksum [2020-06-11T04:35:54.982Z] e5c8dbe1645b: Download complete [2020-06-11T04:35:56.101Z] 23e8b3b47431: Verifying Checksum [2020-06-11T04:35:56.101Z] 23e8b3b47431: Download complete [2020-06-11T04:35:56.101Z] 5c568d65a230: Verifying Checksum [2020-06-11T04:35:56.101Z] 5c568d65a230: Download complete [2020-06-11T04:35:57.316Z] 221eaa008020: Verifying Checksum [2020-06-11T04:35:57.316Z] 221eaa008020: Download complete [2020-06-11T04:36:07.594Z] 221eaa008020: Pull complete [2020-06-11T04:36:07.594Z] 2a4607e5d6b9: Pull complete [2020-06-11T04:36:07.594Z] 8f79b27c4fd2: Pull complete [2020-06-11T04:36:09.589Z] e5c8dbe1645b: Pull complete [2020-06-11T04:36:12.969Z] 23e8b3b47431: Pull complete [2020-06-11T04:36:15.002Z] 5c568d65a230: Pull complete [2020-06-11T04:36:15.275Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-06-11T04:36:15.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-06-11T04:36:15.275Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-06-11T04:36:15.722Z] prd-centos7-docker-4c-2g-2541 does not seem to be running inside a container [2020-06-11T04:36:15.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-06-11T04:36:17.183Z] $ docker top 739a19b68acfee11fc0a14333b202cdb1a9c2a4be358137e7640a379fcab346b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-11T04:36:18.278Z] + snyk monitor '--org=edgex-jenkins' [2020-06-11T04:36:24.940Z] [2020-06-11T04:36:24.940Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-06-11T04:36:24.940Z] [2020-06-11T04:36:24.940Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/56dbbc07-7610-4095-8201-d799080686e5 [2020-06-11T04:36:24.940Z] [2020-06-11T04:36:24.940Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-06-11T04:36:24.940Z] [2020-06-11T04:36:25.214Z] [Pipeline] } [2020-06-11T04:36:25.232Z] $ docker stop --time=1 739a19b68acfee11fc0a14333b202cdb1a9c2a4be358137e7640a379fcab346b [2020-06-11T04:36:27.402Z] $ docker rm -f 739a19b68acfee11fc0a14333b202cdb1a9c2a4be358137e7640a379fcab346b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:36:31.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T04:36:31.975Z] . [Pipeline] withDockerContainer [2020-06-11T04:36:32.123Z] prd-centos7-docker-4c-2g-2541 does not seem to be running inside a container [2020-06-11T04:36:32.364Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-11T04:36:33.541Z] $ docker top 3997d380d04f560f22a370fb8d44abf14a403debaa55bfe4c53fdbaafe2582a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-11T04:36:33.782Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T04:36:33.782Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T04:36:34.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T04:36:34.245Z] $ docker exec 3997d380d04f560f22a370fb8d44abf14a403debaa55bfe4c53fdbaafe2582a8 ssh-agent [2020-06-11T04:36:34.534Z] SSH_AUTH_SOCK=/tmp/ssh-THJxiXR5j0Y7/agent.11 [2020-06-11T04:36:34.534Z] SSH_AGENT_PID=17 [2020-06-11T04:36:34.547Z] Running ssh-add (command line suppressed) [2020-06-11T04:36:34.750Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4318476921688080674.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4318476921688080674.key) [2020-06-11T04:36:34.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T04:36:35.148Z] + git semver tag [2020-06-11T04:36:35.429Z] # -> Open(): unable to determine branch for HEAD [2020-06-11T04:36:35.429Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-06-11T04:36:35.429Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-06-11T04:36:35.429Z] # $SEMVER_REMOTE_NAME = origin [2020-06-11T04:36:35.429Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-11T04:36:35.429Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-11T04:36:35.429Z] # $SEMVER_BRANCH = master [2020-06-11T04:36:35.429Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-06-11T04:36:35.429Z] # 985ee55f1dbea419f17ca15057a817658179b0bb HEAD [2020-06-11T04:36:35.429Z] # -> Force: false [2020-06-11T04:36:35.429Z] # f91e9e745642a5ec03f831736040c87cd30c3b90 refs/tags/v1.2.2-dev.3 [Pipeline] } [2020-06-11T04:36:35.536Z] $ docker exec --env ******** --env ******** 3997d380d04f560f22a370fb8d44abf14a403debaa55bfe4c53fdbaafe2582a8 ssh-agent -k [2020-06-11T04:36:35.797Z] unset SSH_AUTH_SOCK; [2020-06-11T04:36:35.797Z] unset SSH_AGENT_PID; [2020-06-11T04:36:35.797Z] echo Agent pid 17 killed; [2020-06-11T04:36:35.899Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-11T04:36:36.299Z] + git semver [Pipeline] } [2020-06-11T04:36:36.335Z] $ docker stop --time=1 3997d380d04f560f22a370fb8d44abf14a403debaa55bfe4c53fdbaafe2582a8 [2020-06-11T04:36:37.951Z] $ docker rm -f 3997d380d04f560f22a370fb8d44abf14a403debaa55bfe4c53fdbaafe2582a8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:36:38.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-11T04:36:38.642Z] [2020-06-11T04:36:38.642Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:36:39.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-11T04:36:39.039Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-06-11T04:36:39.039Z] ab5ef0e58194: Pulling fs layer [2020-06-11T04:36:39.039Z] 9712f1f96733: Pulling fs layer [2020-06-11T04:36:39.039Z] 63f879dbbcfc: Pulling fs layer [2020-06-11T04:36:39.039Z] 0d9ebad4ef96: Pulling fs layer [2020-06-11T04:36:39.039Z] e9a5061849ea: Pulling fs layer [2020-06-11T04:36:39.039Z] d747dcd14b5f: Pulling fs layer [2020-06-11T04:36:39.039Z] 2de7ff778b66: Pulling fs layer [2020-06-11T04:36:39.039Z] e9a5061849ea: Waiting [2020-06-11T04:36:39.039Z] d747dcd14b5f: Waiting [2020-06-11T04:36:39.039Z] 2de7ff778b66: Waiting [2020-06-11T04:36:39.039Z] 0d9ebad4ef96: Waiting [2020-06-11T04:36:39.039Z] 9712f1f96733: Verifying Checksum [2020-06-11T04:36:39.039Z] 9712f1f96733: Download complete [2020-06-11T04:36:40.588Z] 63f879dbbcfc: Verifying Checksum [2020-06-11T04:36:40.588Z] 63f879dbbcfc: Download complete [2020-06-11T04:36:41.329Z] e9a5061849ea: Verifying Checksum [2020-06-11T04:36:41.329Z] e9a5061849ea: Download complete [2020-06-11T04:36:41.329Z] d747dcd14b5f: Verifying Checksum [2020-06-11T04:36:41.329Z] d747dcd14b5f: Download complete [2020-06-11T04:36:41.329Z] ab5ef0e58194: Verifying Checksum [2020-06-11T04:36:41.329Z] ab5ef0e58194: Download complete [2020-06-11T04:36:41.329Z] 0d9ebad4ef96: Verifying Checksum [2020-06-11T04:36:41.329Z] 0d9ebad4ef96: Download complete [2020-06-11T04:36:41.644Z] 2de7ff778b66: Verifying Checksum [2020-06-11T04:36:41.644Z] 2de7ff778b66: Download complete [2020-06-11T04:36:48.436Z] ab5ef0e58194: Pull complete [2020-06-11T04:36:48.436Z] 9712f1f96733: Pull complete [2020-06-11T04:36:50.390Z] 63f879dbbcfc: Pull complete [2020-06-11T04:37:00.813Z] 0d9ebad4ef96: Pull complete [2020-06-11T04:37:00.813Z] e9a5061849ea: Pull complete [2020-06-11T04:37:00.813Z] d747dcd14b5f: Pull complete [2020-06-11T04:37:04.293Z] 2de7ff778b66: Pull complete [2020-06-11T04:37:04.293Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-06-11T04:37:04.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-11T04:37:04.293Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-06-11T04:37:04.661Z] prd-centos7-docker-4c-2g-2541 does not seem to be running inside a container [2020-06-11T04:37:05.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-06-11T04:37:07.846Z] $ docker top e49f76526d604a27f17152b5fa07f2610f4285d9f61d98490a0b98632012ac17 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-06-11T04:37:08.048Z] provisioning config files... [2020-06-11T04:37:08.061Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5269058639237666649tmp [2020-06-11T04:37:08.084Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2392947737991785174tmp [2020-06-11T04:37:08.104Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4234169071967999049tmp [Pipeline] { [Pipeline] echo [2020-06-11T04:37:08.163Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T04:37:08.490Z] ---> sigul-configuration.sh [2020-06-11T04:37:08.766Z] gpg: directory `/root/.gnupg' created [2020-06-11T04:37:08.766Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-06-11T04:37:08.766Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-06-11T04:37:08.766Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-06-11T04:37:08.766Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-06-11T04:37:08.766Z] gpg: CAST5 encrypted data [2020-06-11T04:37:08.766Z] gpg: encrypted with 1 passphrase [2020-06-11T04:37:08.766Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-06-11T04:37:09.409Z] + mkdir /home/jenkins [2020-06-11T04:37:09.409Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-06-11T04:37:10.131Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-06-11T04:37:10.142Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T04:37:10.468Z] ---> sigul-install.sh [2020-06-11T04:37:17.404Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-06-11T04:37:18.088Z] + git tag --list [2020-06-11T04:37:18.088Z] v1.2.2-dev.3 [Pipeline] sh [2020-06-11T04:37:18.784Z] + lftools sign git-tag v1.2.2-dev.3 [2020-06-11T04:37:20.767Z] Signing Git tag with Sigul... [2020-06-11T04:37:20.767Z] Signing v1.2.2-dev.3 [Pipeline] echo [2020-06-11T04:37:21.738Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T04:37:22.046Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-06-11T04:37:22.056Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-06-11T04:37:22.106Z] $ docker stop --time=1 e49f76526d604a27f17152b5fa07f2610f4285d9f61d98490a0b98632012ac17 [2020-06-11T04:37:24.118Z] $ docker rm -f e49f76526d604a27f17152b5fa07f2610f4285d9f61d98490a0b98632012ac17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:37:24.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T04:37:24.857Z] . [Pipeline] withDockerContainer [2020-06-11T04:37:25.116Z] prd-centos7-docker-4c-2g-2541 does not seem to be running inside a container [2020-06-11T04:37:25.197Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-11T04:37:26.532Z] $ docker top cd30418058410757553389a0a673cefa565a4f8e75d2835c2920ad226317e432 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-11T04:37:26.749Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T04:37:26.749Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T04:37:27.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T04:37:27.082Z] $ docker exec cd30418058410757553389a0a673cefa565a4f8e75d2835c2920ad226317e432 ssh-agent [2020-06-11T04:37:27.515Z] SSH_AUTH_SOCK=/tmp/ssh-68KlwLDs5r0y/agent.11 [2020-06-11T04:37:27.515Z] SSH_AGENT_PID=16 [2020-06-11T04:37:27.523Z] Running ssh-add (command line suppressed) [2020-06-11T04:37:27.714Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8339746349489225124.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8339746349489225124.key) [2020-06-11T04:37:27.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T04:37:28.138Z] + git semver bump pre [2020-06-11T04:37:28.138Z] # -> Open(): unable to determine branch for HEAD [2020-06-11T04:37:28.138Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-06-11T04:37:28.138Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-06-11T04:37:28.138Z] # $SEMVER_REMOTE_NAME = origin [2020-06-11T04:37:28.138Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-11T04:37:28.138Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-11T04:37:28.138Z] # $SEMVER_BRANCH = master [2020-06-11T04:37:28.138Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-06-11T04:37:28.151Z] 1.2.2-dev.4 [Pipeline] } [2020-06-11T04:37:28.159Z] $ docker exec --env ******** --env ******** cd30418058410757553389a0a673cefa565a4f8e75d2835c2920ad226317e432 ssh-agent -k [2020-06-11T04:37:28.402Z] unset SSH_AUTH_SOCK; [2020-06-11T04:37:28.404Z] unset SSH_AGENT_PID; [2020-06-11T04:37:28.405Z] echo Agent pid 16 killed; [2020-06-11T04:37:28.495Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-11T04:37:28.899Z] + git semver [Pipeline] } [2020-06-11T04:37:28.916Z] $ docker stop --time=1 cd30418058410757553389a0a673cefa565a4f8e75d2835c2920ad226317e432 [2020-06-11T04:37:30.341Z] $ docker rm -f cd30418058410757553389a0a673cefa565a4f8e75d2835c2920ad226317e432 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:37:30.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T04:37:30.825Z] . [Pipeline] withDockerContainer [2020-06-11T04:37:31.039Z] prd-centos7-docker-4c-2g-2541 does not seem to be running inside a container [2020-06-11T04:37:31.114Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-11T04:37:32.326Z] $ docker top e577287a9bb6c5674ee0df1186a7e039b57bce463f9d1eb1a11d5e94441a3548 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-11T04:37:32.695Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T04:37:32.696Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T04:37:33.196Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T04:37:33.201Z] $ docker exec e577287a9bb6c5674ee0df1186a7e039b57bce463f9d1eb1a11d5e94441a3548 ssh-agent [2020-06-11T04:37:33.675Z] SSH_AUTH_SOCK=/tmp/ssh-tMV3tK4Ncfya/agent.11 [2020-06-11T04:37:33.675Z] SSH_AGENT_PID=16 [2020-06-11T04:37:33.685Z] Running ssh-add (command line suppressed) [2020-06-11T04:37:33.997Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4513380506700193864.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4513380506700193864.key) [2020-06-11T04:37:34.130Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T04:37:34.542Z] + git semver push [2020-06-11T04:37:34.834Z] # -> Open(): unable to determine branch for HEAD [2020-06-11T04:37:34.834Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-06-11T04:37:34.834Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-06-11T04:37:34.835Z] # $SEMVER_REMOTE_NAME = origin [2020-06-11T04:37:34.835Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-11T04:37:34.835Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-11T04:37:34.835Z] # $SEMVER_BRANCH = master [2020-06-11T04:37:34.835Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-06-11T04:37:41.484Z] $ docker exec --env ******** --env ******** e577287a9bb6c5674ee0df1186a7e039b57bce463f9d1eb1a11d5e94441a3548 ssh-agent -k [2020-06-11T04:37:41.743Z] unset SSH_AUTH_SOCK; [2020-06-11T04:37:41.746Z] unset SSH_AGENT_PID; [2020-06-11T04:37:41.746Z] echo Agent pid 16 killed; [2020-06-11T04:37:41.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-11T04:37:42.219Z] + git semver [Pipeline] } [2020-06-11T04:37:42.254Z] $ docker stop --time=1 e577287a9bb6c5674ee0df1186a7e039b57bce463f9d1eb1a11d5e94441a3548 [2020-06-11T04:37:43.751Z] $ docker rm -f e577287a9bb6c5674ee0df1186a7e039b57bce463f9d1eb1a11d5e94441a3548 [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 [2020-06-11T04:37:44.441Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T04:37:45.014Z] ---> package-listing.sh [2020-06-11T04:37:45.014Z] ++ facter osfamily [2020-06-11T04:37:45.014Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-11T04:37:45.014Z] + OS_FAMILY=redhat [2020-06-11T04:37:45.014Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-06-11T04:37:45.014Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-11T04:37:45.014Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-11T04:37:45.014Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-11T04:37:45.014Z] + PACKAGES=/tmp/packages_start.txt [2020-06-11T04:37:45.014Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-06-11T04:37:45.014Z] + PACKAGES=/tmp/packages_end.txt [2020-06-11T04:37:45.014Z] + case "${OS_FAMILY}" in [2020-06-11T04:37:45.014Z] + rpm -qa [2020-06-11T04:37:45.014Z] + sort [2020-06-11T04:37:49.265Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-11T04:37:49.265Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-11T04:37:49.265Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-11T04:37:49.265Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-06-11T04:37:49.265Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-06-11T04:37:49.265Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:37:49.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T04:37:49.897Z] [2020-06-11T04:37:49.897Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-11T04:37:50.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T04:37:50.268Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-11T04:37:50.268Z] c9b1b535fdd9: Pulling fs layer [2020-06-11T04:37:50.268Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-11T04:37:50.268Z] 756a868c4378: Pulling fs layer [2020-06-11T04:37:50.268Z] 444b2fc9a129: Pulling fs layer [2020-06-11T04:37:50.268Z] ea15f1150254: Pulling fs layer [2020-06-11T04:37:50.268Z] 41b27a9f41bf: Pulling fs layer [2020-06-11T04:37:50.268Z] 28c525ee5125: Pulling fs layer [2020-06-11T04:37:50.268Z] 094b1ea09ed8: Pulling fs layer [2020-06-11T04:37:50.268Z] 138eaada9080: Pulling fs layer [2020-06-11T04:37:50.268Z] 0622d0fa9048: Pulling fs layer [2020-06-11T04:37:50.268Z] 28c525ee5125: Waiting [2020-06-11T04:37:50.268Z] 094b1ea09ed8: Waiting [2020-06-11T04:37:50.268Z] 138eaada9080: Waiting [2020-06-11T04:37:50.268Z] 0622d0fa9048: Waiting [2020-06-11T04:37:50.268Z] 444b2fc9a129: Waiting [2020-06-11T04:37:50.268Z] ea15f1150254: Waiting [2020-06-11T04:37:50.268Z] 41b27a9f41bf: Waiting [2020-06-11T04:37:50.268Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-11T04:37:50.268Z] 2cc5ad85d9ab: Download complete [2020-06-11T04:37:50.268Z] 444b2fc9a129: Verifying Checksum [2020-06-11T04:37:50.268Z] 444b2fc9a129: Download complete [2020-06-11T04:37:50.577Z] c9b1b535fdd9: Verifying Checksum [2020-06-11T04:37:50.577Z] c9b1b535fdd9: Download complete [2020-06-11T04:37:50.577Z] ea15f1150254: Download complete [2020-06-11T04:37:50.967Z] 28c525ee5125: Verifying Checksum [2020-06-11T04:37:50.967Z] 28c525ee5125: Download complete [2020-06-11T04:37:50.967Z] c9b1b535fdd9: Pull complete [2020-06-11T04:37:51.337Z] 2cc5ad85d9ab: Pull complete [2020-06-11T04:37:51.623Z] 756a868c4378: Verifying Checksum [2020-06-11T04:37:51.623Z] 756a868c4378: Download complete [2020-06-11T04:37:51.989Z] 138eaada9080: Verifying Checksum [2020-06-11T04:37:51.989Z] 138eaada9080: Download complete [2020-06-11T04:37:52.316Z] 0622d0fa9048: Verifying Checksum [2020-06-11T04:37:52.316Z] 0622d0fa9048: Download complete [2020-06-11T04:37:52.316Z] 094b1ea09ed8: Verifying Checksum [2020-06-11T04:37:52.316Z] 094b1ea09ed8: Download complete [2020-06-11T04:37:52.950Z] 41b27a9f41bf: Verifying Checksum [2020-06-11T04:37:52.950Z] 41b27a9f41bf: Download complete [2020-06-11T04:37:54.956Z] 756a868c4378: Pull complete [2020-06-11T04:37:54.956Z] 444b2fc9a129: Pull complete [2020-06-11T04:37:55.220Z] ea15f1150254: Pull complete [2020-06-11T04:38:00.738Z] 41b27a9f41bf: Pull complete [2020-06-11T04:38:00.738Z] 28c525ee5125: Pull complete [2020-06-11T04:38:03.408Z] 094b1ea09ed8: Pull complete [2020-06-11T04:38:03.679Z] 138eaada9080: Pull complete [2020-06-11T04:38:03.954Z] 0622d0fa9048: Pull complete [2020-06-11T04:38:03.954Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-11T04:38:03.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T04:38:03.954Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-11T04:38:04.186Z] prd-centos7-docker-4c-2g-2541 does not seem to be running inside a container [2020-06-11T04:38:04.245Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-11T04:38:07.042Z] $ docker top 63e1392489d19f367402a97c93ef7945587b57c8d4a4393d417e4fb572d8b66f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-11T04:38:07.313Z] provisioning config files... [2020-06-11T04:38:07.327Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2403611047410738997tmp [Pipeline] { [Pipeline] echo [2020-06-11T04:38:07.358Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T04:38:07.661Z] ---> create-netrc.sh [Pipeline] echo [2020-06-11T04:38:07.669Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T04:38:08.310Z] ---> logs-deploy.sh [2020-06-11T04:38:08.310Z] + ARCHIVE_ARTIFACTS= [2020-06-11T04:38:08.310Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-11T04:38:08.310Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-11T04:38:08.310Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-11T04:38:08.310Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/44 [2020-06-11T04:38:08.310Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/44/ [2020-06-11T04:38:08.311Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/44 /w/workspace/dgexfoundry_device-sdk-go_master [2020-06-11T04:38:09.723Z] Archives upload complete. [2020-06-11T04:38:09.723Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/44 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/44/