Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f17d1be1b4849550bf30592997a90b8c252fbe34 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 ‘prd-centos7-docker-4c-2g-378’ is offline Running on prd-centos7-docker-4c-2g-380 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 f17d1be1b4849550bf30592997a90b8c252fbe34 (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 f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 Commit message: "Merge pull request #556 from hahattan/issue-554" > git rev-list --no-walk 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-21T03:07:08.439Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-21T03:07:08.658Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-21T03:07:08.739Z] ========================================================= [2020-07-21T03:07:08.740Z] EdgeX Global Pipelines Version Info [2020-07-21T03:07:08.740Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-21T03:07:10.149Z] ------------------- [2020-07-21T03:07:10.149Z] stable info: [2020-07-21T03:07:10.149Z] ------------------- [2020-07-21T03:07:10.149Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-21T03:07:10.149Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-21T03:07:10.149Z] Message: update stable to v1.0.99 [2020-07-21T03:07:11.091Z] ------------------- [2020-07-21T03:07:11.091Z] experimental info: [2020-07-21T03:07:11.091Z] ------------------- [2020-07-21T03:07:11.091Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-21T03:07:11.091Z] Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 [2020-07-21T03:07:11.091Z] Message: update experimental to v1.0.100 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:07:13.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-21T03:07:13.479Z] [2020-07-21T03:07:13.479Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:07:13.811Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-21T03:07:13.811Z] latest: Pulling from edgex-devops/git-semver [2020-07-21T03:07:13.811Z] 31603596830f: Pulling fs layer [2020-07-21T03:07:13.811Z] 2a8b12db71e7: Pulling fs layer [2020-07-21T03:07:13.811Z] 6ca5941a6612: Pulling fs layer [2020-07-21T03:07:13.811Z] ecc8261a40a4: Pulling fs layer [2020-07-21T03:07:13.811Z] ecc8261a40a4: Waiting [2020-07-21T03:07:13.811Z] 2a8b12db71e7: Verifying Checksum [2020-07-21T03:07:13.811Z] 2a8b12db71e7: Download complete [2020-07-21T03:07:14.072Z] 31603596830f: Verifying Checksum [2020-07-21T03:07:14.072Z] 31603596830f: Download complete [2020-07-21T03:07:14.072Z] ecc8261a40a4: Verifying Checksum [2020-07-21T03:07:14.072Z] ecc8261a40a4: Download complete [2020-07-21T03:07:14.072Z] 6ca5941a6612: Verifying Checksum [2020-07-21T03:07:14.072Z] 6ca5941a6612: Download complete [2020-07-21T03:07:14.072Z] 31603596830f: Pull complete [2020-07-21T03:07:14.333Z] 2a8b12db71e7: Pull complete [2020-07-21T03:07:14.905Z] 6ca5941a6612: Pull complete [2020-07-21T03:07:15.165Z] ecc8261a40a4: Pull complete [2020-07-21T03:07:15.165Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-21T03:07:15.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-21T03:07:15.165Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-21T03:07:15.269Z] prd-centos7-docker-4c-2g-380 does not seem to be running inside a container [2020-07-21T03:07:15.316Z] $ 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-07-21T03:07:17.539Z] $ docker top 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-21T03:07:17.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-21T03:07:17.780Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-21T03:07:17.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-21T03:07:17.980Z] $ docker exec 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 ssh-agent [2020-07-21T03:07:18.131Z] SSH_AUTH_SOCK=/tmp/ssh-Y8EzQRTDW5q8/agent.12 [2020-07-21T03:07:18.132Z] SSH_AGENT_PID=17 [2020-07-21T03:07:18.142Z] Running ssh-add (command line suppressed) [2020-07-21T03:07:18.260Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9200342847350271211.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9200342847350271211.key) [2020-07-21T03:07:18.308Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-21T03:07:18.639Z] + git describe --exact-match --tags HEAD [2020-07-21T03:07:18.639Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-21T03:07:18.692Z] $ docker exec --env ******** --env ******** 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 ssh-agent -k [2020-07-21T03:07:18.830Z] unset SSH_AUTH_SOCK; [2020-07-21T03:07:18.830Z] unset SSH_AGENT_PID; [2020-07-21T03:07:18.830Z] echo Agent pid 17 killed; [2020-07-21T03:07:18.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-21T03:07:18.948Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-21T03:07:18.948Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-21T03:07:19.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-21T03:07:19.030Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-21T03:07:19.210Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-21T03:07:19.215Z] $ docker exec 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 ssh-agent [2020-07-21T03:07:19.361Z] SSH_AUTH_SOCK=/tmp/ssh-VECCLlsdJxQp/agent.46 [2020-07-21T03:07:19.361Z] SSH_AGENT_PID=51 [2020-07-21T03:07:19.367Z] Running ssh-add (command line suppressed) [2020-07-21T03:07:19.476Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6042378634480828468.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6042378634480828468.key) [2020-07-21T03:07:19.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-21T03:07:19.844Z] + git semver init [2020-07-21T03:07:19.844Z] # -> Open(): unable to determine branch for HEAD [2020-07-21T03:07:19.844Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-07-21T03:07:19.844Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-07-21T03:07:19.844Z] # $SEMVER_REMOTE_NAME = origin [2020-07-21T03:07:19.844Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-21T03:07:19.844Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-21T03:07:19.844Z] # $SEMVER_BRANCH = master [2020-07-21T03:07:19.844Z] # $SEMVER_TEMP = /tmp/semver-911474684 [2020-07-21T03:07:19.844Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-07-21T03:07:20.786Z] # '/tmp/semver-911474684' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-07-21T03:07:20.786Z] # -> Force: false [2020-07-21T03:07:20.786Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-07-21T03:07:20.797Z] $ docker exec --env ******** --env ******** 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 ssh-agent -k [2020-07-21T03:07:20.914Z] unset SSH_AUTH_SOCK; [2020-07-21T03:07:20.915Z] unset SSH_AGENT_PID; [2020-07-21T03:07:20.915Z] echo Agent pid 51 killed; [2020-07-21T03:07:20.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-21T03:07:21.409Z] + git semver [Pipeline] } [2020-07-21T03:07:21.426Z] $ docker stop --time=1 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 [2020-07-21T03:07:23.063Z] $ docker rm -f 3e9a30968582385d1d7c059ed657394e8076e2135f08627e16d6d79bcdcf6d46 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-21T03:07:23.812Z] Stashed 70 file(s) [Pipeline] echo [2020-07-21T03:07:23.814Z] [edgeXSemver] initialized semver on version 1.2.3-dev.6 [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-07-21T03:07:39.093Z] Still waiting to schedule task [2020-07-21T03:07:39.093Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-21T03:07:39.095Z] Still waiting to schedule task [2020-07-21T03:07:39.095Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-21T03:09:17.445Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-381 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-07-21T03:09:17.522Z] Running in /w/workspace/device-sdk-go/50 [Pipeline] { [Pipeline] checkout [2020-07-21T03:09:22.763Z] using credential edgex-jenkins-ssh [2020-07-21T03:09:22.825Z] Cloning the remote Git repository [2020-07-21T03:09:22.825Z] Cloning with configured refspecs honoured and without tags [2020-07-21T03:09:22.883Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-21T03:09:22.994Z] > git init /w/workspace/device-sdk-go/50 # timeout=10 [2020-07-21T03:09:23.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-21T03:09:23.065Z] > git --version # timeout=10 [2020-07-21T03:09:23.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-21T03:09:23.147Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-21T03:09:24.549Z] Fetching without tags [2020-07-21T03:09:25.107Z] Checking out Revision f17d1be1b4849550bf30592997a90b8c252fbe34 (master) [2020-07-21T03:09:24.476Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-21T03:09:24.495Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-21T03:09:24.522Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-21T03:09:24.560Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-21T03:09:24.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-21T03:09:24.577Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-21T03:09:25.127Z] > git config core.sparsecheckout # timeout=10 [2020-07-21T03:09:25.156Z] > git checkout -f f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 [2020-07-21T03:09:29.604Z] Commit message: "Merge pull request #556 from hahattan/issue-554" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-21T03:09:30.864Z] ========================================================= [2020-07-21T03:09:30.864Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-21T03:09:30.864Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:09:31.907Z] + 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-07-21T03:09:32.905Z] Sending build context to Docker daemon 3.113MB [2020-07-21T03:09:32.905Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-21T03:09:32.905Z] Step 2/8 : FROM ${BASE} [2020-07-21T03:09:33.181Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-21T03:09:33.181Z] b538f80385f9: Pulling fs layer [2020-07-21T03:09:33.181Z] 74f711af9a0d: Pulling fs layer [2020-07-21T03:09:33.181Z] 99f96fe45779: Pulling fs layer [2020-07-21T03:09:33.181Z] fd7a069fd194: Pulling fs layer [2020-07-21T03:09:33.181Z] 66aa3694b03b: Pulling fs layer [2020-07-21T03:09:33.181Z] 170f70906a0f: Pulling fs layer [2020-07-21T03:09:33.181Z] ad7c5574e4b9: Pulling fs layer [2020-07-21T03:09:33.181Z] e772456be8f7: Pulling fs layer [2020-07-21T03:09:33.181Z] c890913d741a: Pulling fs layer [2020-07-21T03:09:33.181Z] 2480fcc9aa5a: Pulling fs layer [2020-07-21T03:09:33.181Z] 09adf4765672: Pulling fs layer [2020-07-21T03:09:33.181Z] fd7a069fd194: Waiting [2020-07-21T03:09:33.181Z] 66aa3694b03b: Waiting [2020-07-21T03:09:33.181Z] 170f70906a0f: Waiting [2020-07-21T03:09:33.181Z] ad7c5574e4b9: Waiting [2020-07-21T03:09:33.181Z] e772456be8f7: Waiting [2020-07-21T03:09:33.181Z] 2480fcc9aa5a: Waiting [2020-07-21T03:09:33.181Z] 09adf4765672: Waiting [2020-07-21T03:09:33.181Z] c890913d741a: Waiting [2020-07-21T03:09:33.181Z] 99f96fe45779: Verifying Checksum [2020-07-21T03:09:33.181Z] 99f96fe45779: Download complete [2020-07-21T03:09:33.181Z] 74f711af9a0d: Verifying Checksum [2020-07-21T03:09:33.181Z] 74f711af9a0d: Download complete [2020-07-21T03:09:33.181Z] 66aa3694b03b: Download complete [2020-07-21T03:09:33.181Z] 170f70906a0f: Verifying Checksum [2020-07-21T03:09:33.181Z] 170f70906a0f: Download complete [2020-07-21T03:09:33.181Z] b538f80385f9: Download complete [2020-07-21T03:09:34.170Z] b538f80385f9: Pull complete [2020-07-21T03:09:34.772Z] 74f711af9a0d: Pull complete [2020-07-21T03:09:35.048Z] 99f96fe45779: Pull complete [2020-07-21T03:09:36.499Z] ad7c5574e4b9: Verifying Checksum [2020-07-21T03:09:36.499Z] ad7c5574e4b9: Download complete [2020-07-21T03:09:36.499Z] c890913d741a: Download complete [2020-07-21T03:09:39.129Z] 2480fcc9aa5a: Verifying Checksum [2020-07-21T03:09:39.129Z] 2480fcc9aa5a: Download complete [2020-07-21T03:09:39.129Z] 09adf4765672: Download complete [2020-07-21T03:09:39.724Z] e772456be8f7: Verifying Checksum [2020-07-21T03:09:39.724Z] e772456be8f7: Download complete [2020-07-21T03:09:40.704Z] fd7a069fd194: Verifying Checksum [2020-07-21T03:09:40.704Z] fd7a069fd194: Download complete [2020-07-21T03:09:53.122Z] fd7a069fd194: Pull complete [2020-07-21T03:09:53.122Z] 66aa3694b03b: Pull complete [2020-07-21T03:09:53.122Z] 170f70906a0f: Pull complete [2020-07-21T03:09:56.522Z] ad7c5574e4b9: Pull complete [2020-07-21T03:10:01.943Z] e772456be8f7: Pull complete [2020-07-21T03:10:01.943Z] c890913d741a: Pull complete [2020-07-21T03:10:03.925Z] 2480fcc9aa5a: Pull complete [2020-07-21T03:10:04.525Z] 09adf4765672: Pull complete [2020-07-21T03:10:04.525Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-21T03:10:04.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-21T03:10:04.525Z] ---> 2248a725d1cf [2020-07-21T03:10:04.525Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-21T03:10:09.936Z] ---> Running in eb718a0ef5e8 [2020-07-21T03:10:09.936Z] Removing intermediate container eb718a0ef5e8 [2020-07-21T03:10:09.936Z] ---> b2719c831ddf [2020-07-21T03:10:09.936Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-21T03:10:09.936Z] ---> Running in facbfb88f838 [2020-07-21T03:10:12.551Z] Removing intermediate container facbfb88f838 [2020-07-21T03:10:12.551Z] ---> 17da3ba91647 [2020-07-21T03:10:12.551Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-21T03:10:12.551Z] ---> Running in 737d68ffa5aa [2020-07-21T03:10:13.982Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-21T03:10:15.948Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-21T03:10:17.374Z] OK: 142 MiB in 39 packages [2020-07-21T03:10:18.350Z] Removing intermediate container 737d68ffa5aa [2020-07-21T03:10:18.350Z] ---> 9ad86835c322 [2020-07-21T03:10:18.350Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-21T03:10:18.350Z] ---> Running in f251a3bd2a7a [2020-07-21T03:10:18.947Z] Removing intermediate container f251a3bd2a7a [2020-07-21T03:10:18.947Z] ---> 3730616a30b3 [2020-07-21T03:10:18.947Z] Step 7/8 : COPY . . [2020-07-21T03:10:20.380Z] ---> 88ca7c383ce1 [2020-07-21T03:10:20.381Z] Step 8/8 : RUN go mod download [2020-07-21T03:10:20.381Z] ---> Running in 6cabf943f950 [2020-07-21T03:10:22.992Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-21T03:10:22.992Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-21T03:10:22.992Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-21T03:10:22.992Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-21T03:10:22.992Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-21T03:10:22.992Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-21T03:10:22.992Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-21T03:10:22.992Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-21T03:10:22.992Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-21T03:10:22.992Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-21T03:10:22.992Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-21T03:10:22.992Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-21T03:10:22.992Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-21T03:10:23.262Z] go: finding github.com/fatih/color v1.7.0 [2020-07-21T03:10:23.262Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-21T03:10:23.262Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-21T03:10:23.262Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-21T03:10:23.262Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-21T03:10:23.262Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-21T03:10:23.262Z] go: finding github.com/google/uuid v1.1.0 [2020-07-21T03:10:23.262Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-21T03:10:23.263Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-21T03:10:23.263Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-21T03:10:23.263Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-21T03:10:23.263Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-21T03:10:23.533Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-21T03:10:23.533Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-21T03:10:23.533Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-21T03:10:23.533Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-21T03:10:23.533Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-21T03:10:23.533Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-21T03:10:23.533Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-21T03:10:23.533Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-21T03:10:23.533Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-21T03:10:23.533Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-21T03:10:23.533Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-21T03:10:23.533Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-21T03:10:23.805Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-21T03:10:23.805Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-21T03:10:23.805Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-21T03:10:23.805Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-21T03:10:23.805Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-21T03:10:23.805Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-21T03:10:23.805Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-21T03:10:23.805Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-21T03:10:23.805Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-21T03:10:23.805Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-21T03:10:23.805Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-21T03:10:23.805Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-21T03:10:24.077Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-21T03:10:24.077Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-21T03:10:24.077Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-21T03:10:24.077Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-21T03:10:24.077Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-21T03:10:24.077Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-21T03:10:24.077Z] go: finding github.com/posener/complete v1.1.1 [2020-07-21T03:10:24.077Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-21T03:10:24.077Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-21T03:10:24.077Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-21T03:10:24.077Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-21T03:10:24.348Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-21T03:10:24.348Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-21T03:10:24.348Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-21T03:10:24.348Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-21T03:10:24.348Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-21T03:10:24.348Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-21T03:10:24.348Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-21T03:10:24.348Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-21T03:10:34.498Z] Removing intermediate container 6cabf943f950 [2020-07-21T03:10:34.498Z] ---> 2012acee6038 [2020-07-21T03:10:34.498Z] Successfully built 2012acee6038 [2020-07-21T03:10:34.498Z] 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-07-21T03:10:35.137Z] + docker inspect -f . ci-base-image-arm64 [2020-07-21T03:10:35.138Z] . [Pipeline] withDockerContainer [2020-07-21T03:10:35.410Z] prd-ubuntu18.04-docker-arm64-4c-16g-381 does not seem to be running inside a container [2020-07-21T03:10:35.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/50 -v /w/workspace/device-sdk-go/50:/w/workspace/device-sdk-go/50:rw,z -v /w/workspace/device-sdk-go/50@tmp:/w/workspace/device-sdk-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-21T03:10:37.315Z] $ docker top 71e743b214bfa1fb676814872153c149ec1140de0fe0619a9c9a58da8a2e3bd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-21T03:10:38.708Z] + go version [2020-07-21T03:10:38.708Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-07-21T03:10:39.747Z] + make test [2020-07-21T03:10:39.747Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-21T03:10:40.753Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-21T03:11:13.154Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-21T03:11:13.154Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-21T03:11:13.154Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-21T03:11:13.154Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.065s coverage: 22.1% of statements [2020-07-21T03:11:13.154Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.138s coverage: 95.8% of statements [2020-07-21T03:11:45.489Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.036s coverage: 11.4% of statements [2020-07-21T03:11:45.489Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements [2020-07-21T03:11:45.489Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-21T03:11:45.489Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.166s coverage: 36.9% of statements [2020-07-21T03:11:45.489Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-21T03:11:45.489Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.441s coverage: 65.2% of statements [2020-07-21T03:11:45.489Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-21T03:11:45.489Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-21T03:11:45.489Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-21T03:11:45.489Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.042s coverage: 52.6% of statements [2020-07-21T03:11:45.489Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 68.9% of statements [2020-07-21T03:11:45.489Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-21T03:11:45.489Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-21T03:11:45.489Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-21T03:11:48.902Z] gofmt -l . [2020-07-21T03:11:48.902Z] [ "`gofmt -l .`" = "" ] [2020-07-21T03:11:49.178Z] ./bin/test-attribution-txt.sh [2020-07-21T03:11:50.152Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-21T03:11:51.330Z] Stashed 1 file(s) [Pipeline] } [2020-07-21T03:11:51.332Z] $ docker stop --time=1 71e743b214bfa1fb676814872153c149ec1140de0fe0619a9c9a58da8a2e3bd5 [2020-07-21T03:11:53.395Z] $ docker rm -f 71e743b214bfa1fb676814872153c149ec1140de0fe0619a9c9a58da8a2e3bd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-21T03:11:56.298Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-21T03:11:56.637Z] + ls -al . [2020-07-21T03:11:56.637Z] total 228 [2020-07-21T03:11:56.637Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 03:11 . [2020-07-21T03:11:56.637Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 03:09 .. [2020-07-21T03:11:56.637Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 21 03:09 .dockerignore [2020-07-21T03:11:56.637Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 03:09 .git [2020-07-21T03:11:56.637Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 03:09 .github [2020-07-21T03:11:56.637Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 21 03:09 .gitignore [2020-07-21T03:11:56.637Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 03:09 .semver [2020-07-21T03:11:56.637Z] -rw-rw-r-- 1 jenkins jenkins 936 Jul 21 03:09 Dockerfile.build [2020-07-21T03:11:56.637Z] -rw-rw-r-- 1 jenkins jenkins 808 Jul 21 03:09 Jenkinsfile [2020-07-21T03:11:56.637Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 21 03:09 LICENSE [2020-07-21T03:11:56.637Z] -rw-rw-r-- 1 jenkins jenkins 892 Jul 21 03:09 Makefile [2020-07-21T03:11:56.637Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jul 21 03:09 README.md [2020-07-21T03:11:56.637Z] -rw-rw-r-- 1 jenkins jenkins 4291 Jul 21 03:09 RELEASE-NOTES.txt [2020-07-21T03:11:56.637Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 21 03:07 VERSION [2020-07-21T03:11:56.637Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 03:09 api [2020-07-21T03:11:56.637Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 03:09 bin [2020-07-21T03:11:56.637Z] -rw-r--r-- 1 jenkins jenkins 110877 Jul 21 03:11 coverage.out [2020-07-21T03:11:56.637Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 03:09 example [2020-07-21T03:11:56.637Z] -rw-r--r-- 1 jenkins jenkins 446 Jul 21 03:11 go.mod [2020-07-21T03:11:56.637Z] -rw-r--r-- 1 jenkins jenkins 12179 Jul 21 03:11 go.sum [2020-07-21T03:11:56.637Z] drwxrwxr-x 13 jenkins jenkins 4096 Jul 21 03:09 internal [2020-07-21T03:11:56.637Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 21 03:09 pkg [2020-07-21T03:11:56.637Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 03:09 snap [2020-07-21T03:11:56.637Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 21 03:09 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:11:56.984Z] + 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=f17d1be1b4849550bf30592997a90b8c252fbe34 --label arch=arm64 --label version=1.2.3-dev.6 . [2020-07-21T03:11:57.257Z] Sending build context to Docker daemon 3.241MB [2020-07-21T03:11:57.529Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-21T03:11:57.529Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-21T03:11:57.529Z] ---> 2012acee6038 [2020-07-21T03:11:57.529Z] Step 3/23 : ARG MAKE='make build' [2020-07-21T03:11:57.529Z] ---> Running in 9a4a11a754f9 [2020-07-21T03:11:58.120Z] Removing intermediate container 9a4a11a754f9 [2020-07-21T03:11:58.120Z] ---> 43f751bd426e [2020-07-21T03:11:58.120Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-21T03:11:58.120Z] ---> Running in 25ccf1b6a729 [2020-07-21T03:11:58.714Z] Removing intermediate container 25ccf1b6a729 [2020-07-21T03:11:58.714Z] ---> a0e19da2d833 [2020-07-21T03:11:58.714Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-21T03:11:58.714Z] ---> Running in d1349b26f68d [2020-07-21T03:11:59.310Z] Removing intermediate container d1349b26f68d [2020-07-21T03:11:59.310Z] ---> f1bcce4a58bd [2020-07-21T03:11:59.310Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-21T03:11:59.310Z] ---> Running in dd2435a332f4 [2020-07-21T03:12:01.931Z] Removing intermediate container dd2435a332f4 [2020-07-21T03:12:01.931Z] ---> 0e7344f8fc50 [2020-07-21T03:12:01.931Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-21T03:12:01.931Z] ---> Running in d08ed4cb9cfc [2020-07-21T03:12:03.364Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-21T03:12:04.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-21T03:12:06.292Z] OK: 142 MiB in 39 packages [2020-07-21T03:12:07.717Z] Removing intermediate container d08ed4cb9cfc [2020-07-21T03:12:07.717Z] ---> 3202a6bf74af [2020-07-21T03:12:07.717Z] Step 8/23 : COPY . . [2020-07-21T03:12:08.697Z] ---> 645ee07a2ff1 [2020-07-21T03:12:08.698Z] Step 9/23 : RUN ${MAKE} [2020-07-21T03:12:08.974Z] ---> Running in 7e97b03ff738 [2020-07-21T03:12:10.404Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.6" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-07-21T03:12:32.585Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-21T03:12:35.205Z] Removing intermediate container 7e97b03ff738 [2020-07-21T03:12:35.205Z] ---> e4fc01336db9 [2020-07-21T03:12:35.205Z] Step 10/23 : FROM scratch [2020-07-21T03:12:35.205Z] ---> [2020-07-21T03:12:35.205Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-21T03:12:35.205Z] ---> Running in b8ed844d8bed [2020-07-21T03:12:35.479Z] Removing intermediate container b8ed844d8bed [2020-07-21T03:12:35.479Z] ---> 7a358d7e427c [2020-07-21T03:12:35.479Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-21T03:12:35.751Z] ---> Running in 28b7c490dd87 [2020-07-21T03:12:36.022Z] Removing intermediate container 28b7c490dd87 [2020-07-21T03:12:36.022Z] ---> ea7be1a2fd7e [2020-07-21T03:12:36.022Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-21T03:12:36.293Z] ---> Running in 26a4e78504dd [2020-07-21T03:12:36.564Z] Removing intermediate container 26a4e78504dd [2020-07-21T03:12:36.564Z] ---> 6f325024f2fd [2020-07-21T03:12:36.564Z] Step 14/23 : WORKDIR / [2020-07-21T03:12:36.564Z] ---> Running in a9f8b6ee23b4 [2020-07-21T03:12:37.158Z] Removing intermediate container a9f8b6ee23b4 [2020-07-21T03:12:37.158Z] ---> e3a260238945 [2020-07-21T03:12:37.158Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-21T03:12:38.593Z] ---> c21b0527f12d [2020-07-21T03:12:38.593Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-21T03:12:39.185Z] ---> a6c0fae56786 [2020-07-21T03:12:39.185Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-21T03:12:39.780Z] ---> 0f9c34bbf5ba [2020-07-21T03:12:39.780Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-21T03:12:40.757Z] ---> 54ab71d966c9 [2020-07-21T03:12:40.757Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-21T03:12:41.350Z] ---> 977b0af7cca1 [2020-07-21T03:12:41.350Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-21T03:12:41.350Z] ---> Running in edf7568a70ef [2020-07-21T03:12:41.941Z] Removing intermediate container edf7568a70ef [2020-07-21T03:12:41.941Z] ---> 53c93c28b160 [2020-07-21T03:12:41.941Z] Step 21/23 : LABEL arch=arm64 [2020-07-21T03:12:41.941Z] ---> Running in 6f514b90b4bd [2020-07-21T03:12:42.534Z] Removing intermediate container 6f514b90b4bd [2020-07-21T03:12:42.534Z] ---> 8a2a31b05ac3 [2020-07-21T03:12:42.534Z] Step 22/23 : LABEL git_sha=f17d1be1b4849550bf30592997a90b8c252fbe34 [2020-07-21T03:12:42.534Z] ---> Running in 65584bc66bc8 [2020-07-21T03:12:43.130Z] Removing intermediate container 65584bc66bc8 [2020-07-21T03:12:43.130Z] ---> d98dab6670d5 [2020-07-21T03:12:43.130Z] Step 23/23 : LABEL version=1.2.3-dev.6 [2020-07-21T03:12:43.130Z] ---> Running in afff6f269a1b [2020-07-21T03:12:43.403Z] Removing intermediate container afff6f269a1b [2020-07-21T03:12:43.403Z] ---> 5a2be7a71547 [2020-07-21T03:12:43.403Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-21T03:12:43.403Z] Successfully built 5a2be7a71547 [2020-07-21T03:12:43.677Z] 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-07-21T03:12:49.274Z] Running on prd-centos7-docker-4c-2g-383 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-07-21T03:12:49.317Z] Running in /w/workspace/device-sdk-go/50 [Pipeline] { [Pipeline] checkout [2020-07-21T03:12:56.916Z] using credential edgex-jenkins-ssh [2020-07-21T03:12:56.960Z] Cloning the remote Git repository [2020-07-21T03:12:56.960Z] Cloning with configured refspecs honoured and without tags [2020-07-21T03:12:56.988Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-21T03:12:57.062Z] > git init /w/workspace/device-sdk-go/50 # timeout=10 [2020-07-21T03:12:57.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-21T03:12:57.125Z] > git --version # timeout=10 [2020-07-21T03:12:57.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-21T03:12:57.174Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-21T03:12:58.712Z] Fetching without tags [2020-07-21T03:12:59.161Z] Checking out Revision f17d1be1b4849550bf30592997a90b8c252fbe34 (master) [2020-07-21T03:12:58.640Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-21T03:12:58.667Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-21T03:12:58.690Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-21T03:12:58.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-21T03:12:58.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-21T03:12:58.723Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-21T03:12:59.167Z] > git config core.sparsecheckout # timeout=10 [2020-07-21T03:12:59.174Z] > git checkout -f f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 [2020-07-21T03:13:02.997Z] Commit message: "Merge pull request #556 from hahattan/issue-554" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-21T03:13:04.252Z] ========================================================= [2020-07-21T03:13:04.252Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-21T03:13:04.252Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:13:04.994Z] + 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-07-21T03:13:05.954Z] Sending build context to Docker daemon 3.113MB [2020-07-21T03:13:05.954Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-21T03:13:05.954Z] Step 2/8 : FROM ${BASE} [2020-07-21T03:13:06.237Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-21T03:13:06.237Z] df20fa9351a1: Pulling fs layer [2020-07-21T03:13:06.237Z] ed8968b2872e: Pulling fs layer [2020-07-21T03:13:06.237Z] a92cc7c5fd73: Pulling fs layer [2020-07-21T03:13:06.237Z] 2dd03ba5bac4: Pulling fs layer [2020-07-21T03:13:06.237Z] 1e091d79d1de: Pulling fs layer [2020-07-21T03:13:06.237Z] 481702a1767f: Pulling fs layer [2020-07-21T03:13:06.237Z] f64a6f60c768: Pulling fs layer [2020-07-21T03:13:06.237Z] e78d2573fc39: Pulling fs layer [2020-07-21T03:13:06.237Z] e876d2f968b6: Pulling fs layer [2020-07-21T03:13:06.237Z] ce8a83651883: Pulling fs layer [2020-07-21T03:13:06.237Z] 07967f4d0e4b: Pulling fs layer [2020-07-21T03:13:06.237Z] 481702a1767f: Waiting [2020-07-21T03:13:06.237Z] f64a6f60c768: Waiting [2020-07-21T03:13:06.237Z] e78d2573fc39: Waiting [2020-07-21T03:13:06.237Z] 2dd03ba5bac4: Waiting [2020-07-21T03:13:06.237Z] 1e091d79d1de: Waiting [2020-07-21T03:13:06.237Z] e876d2f968b6: Waiting [2020-07-21T03:13:06.237Z] ce8a83651883: Waiting [2020-07-21T03:13:06.237Z] 07967f4d0e4b: Waiting [2020-07-21T03:13:06.237Z] a92cc7c5fd73: Verifying Checksum [2020-07-21T03:13:06.237Z] a92cc7c5fd73: Download complete [2020-07-21T03:13:06.237Z] ed8968b2872e: Download complete [2020-07-21T03:13:06.237Z] 1e091d79d1de: Download complete [2020-07-21T03:13:06.237Z] 481702a1767f: Verifying Checksum [2020-07-21T03:13:06.237Z] 481702a1767f: Download complete [2020-07-21T03:13:06.513Z] df20fa9351a1: Verifying Checksum [2020-07-21T03:13:06.513Z] df20fa9351a1: Download complete [2020-07-21T03:13:06.793Z] df20fa9351a1: Pull complete [2020-07-21T03:13:07.853Z] f64a6f60c768: Verifying Checksum [2020-07-21T03:13:07.853Z] f64a6f60c768: Download complete [2020-07-21T03:13:07.853Z] e876d2f968b6: Verifying Checksum [2020-07-21T03:13:07.853Z] e876d2f968b6: Download complete [2020-07-21T03:13:08.202Z] ed8968b2872e: Pull complete [2020-07-21T03:13:08.889Z] 2dd03ba5bac4: Verifying Checksum [2020-07-21T03:13:08.889Z] 2dd03ba5bac4: Download complete [2020-07-21T03:13:08.889Z] 07967f4d0e4b: Verifying Checksum [2020-07-21T03:13:08.889Z] 07967f4d0e4b: Download complete [2020-07-21T03:13:09.155Z] e78d2573fc39: Verifying Checksum [2020-07-21T03:13:09.155Z] e78d2573fc39: Download complete [2020-07-21T03:13:09.155Z] ce8a83651883: Verifying Checksum [2020-07-21T03:13:09.155Z] ce8a83651883: Download complete [2020-07-21T03:13:09.438Z] a92cc7c5fd73: Pull complete [2020-07-21T03:13:19.604Z] 2dd03ba5bac4: Pull complete [2020-07-21T03:13:19.604Z] 1e091d79d1de: Pull complete [2020-07-21T03:13:19.877Z] 481702a1767f: Pull complete [2020-07-21T03:13:26.539Z] f64a6f60c768: Pull complete [2020-07-21T03:13:30.825Z] e78d2573fc39: Pull complete [2020-07-21T03:13:30.825Z] e876d2f968b6: Pull complete [2020-07-21T03:13:32.769Z] ce8a83651883: Pull complete [2020-07-21T03:13:33.041Z] 07967f4d0e4b: Pull complete [2020-07-21T03:13:33.041Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-21T03:13:33.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-21T03:13:33.041Z] ---> 5d7c900382c6 [2020-07-21T03:13:33.041Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-21T03:13:34.456Z] ---> Running in a8cbb11c1bbf [2020-07-21T03:13:34.456Z] Removing intermediate container a8cbb11c1bbf [2020-07-21T03:13:34.456Z] ---> d49748277161 [2020-07-21T03:13:34.456Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-21T03:13:34.750Z] ---> Running in 7fdc565ffd3b [2020-07-21T03:13:36.705Z] Removing intermediate container 7fdc565ffd3b [2020-07-21T03:13:36.705Z] ---> 29a601df1f29 [2020-07-21T03:13:36.705Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-21T03:13:36.705Z] ---> Running in 97f4274f6c4a [2020-07-21T03:13:37.657Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-21T03:13:38.246Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-21T03:13:39.206Z] OK: 166 MiB in 39 packages [2020-07-21T03:13:39.795Z] Removing intermediate container 97f4274f6c4a [2020-07-21T03:13:39.795Z] ---> 0d5b663aa638 [2020-07-21T03:13:39.795Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-21T03:13:39.795Z] ---> Running in 39b4bc6590cd [2020-07-21T03:13:40.065Z] Removing intermediate container 39b4bc6590cd [2020-07-21T03:13:40.065Z] ---> 49aa4e10d9ed [2020-07-21T03:13:40.065Z] Step 7/8 : COPY . . [2020-07-21T03:13:41.467Z] ---> c0a37d0c0d38 [2020-07-21T03:13:41.467Z] Step 8/8 : RUN go mod download [2020-07-21T03:13:41.467Z] ---> Running in 75d70c8f52b5 [2020-07-21T03:13:44.075Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-21T03:13:44.075Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-21T03:13:44.075Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-21T03:13:44.075Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-21T03:13:44.075Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-21T03:13:44.075Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-21T03:13:44.075Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-21T03:13:44.075Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-21T03:13:44.075Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-21T03:13:44.075Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-21T03:13:44.075Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-21T03:13:44.075Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-21T03:13:44.075Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-21T03:13:44.075Z] go: finding github.com/fatih/color v1.7.0 [2020-07-21T03:13:44.075Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-21T03:13:44.075Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-21T03:13:44.075Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-21T03:13:44.075Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-21T03:13:44.075Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-21T03:13:44.075Z] go: finding github.com/google/uuid v1.1.0 [2020-07-21T03:13:44.075Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-21T03:13:44.075Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-21T03:13:44.075Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-21T03:13:44.338Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-21T03:13:44.338Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-21T03:13:44.338Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-21T03:13:44.338Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-21T03:13:44.338Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-21T03:13:44.338Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-21T03:13:44.338Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-21T03:13:44.338Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-21T03:13:44.602Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-21T03:13:44.602Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-21T03:13:44.602Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-21T03:13:44.602Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-21T03:13:44.602Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-21T03:13:44.602Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-21T03:13:44.602Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-21T03:13:44.602Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-21T03:13:44.602Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-21T03:13:44.864Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-21T03:13:44.864Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-21T03:13:44.864Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-21T03:13:44.864Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-21T03:13:44.864Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-21T03:13:44.864Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-21T03:13:44.864Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-21T03:13:44.864Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-21T03:13:44.864Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-21T03:13:44.864Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-21T03:13:45.129Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-21T03:13:45.129Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-21T03:13:45.129Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-21T03:13:45.129Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-21T03:13:45.129Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-21T03:13:45.129Z] go: finding github.com/posener/complete v1.1.1 [2020-07-21T03:13:45.129Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-21T03:13:45.129Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-21T03:13:45.129Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-21T03:13:45.392Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-21T03:13:45.392Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-21T03:13:45.392Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-21T03:13:45.392Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-21T03:13:45.392Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-21T03:13:45.392Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-21T03:13:45.392Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-21T03:13:45.392Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-21T03:13:45.392Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-21T03:13:53.624Z] Removing intermediate container 75d70c8f52b5 [2020-07-21T03:13:53.624Z] ---> 219f69833711 [2020-07-21T03:13:53.624Z] Successfully built 219f69833711 [2020-07-21T03:13:53.624Z] 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-07-21T03:13:54.250Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-21T03:13:54.511Z] . [Pipeline] withDockerContainer [2020-07-21T03:13:54.638Z] prd-centos7-docker-4c-2g-383 does not seem to be running inside a container [2020-07-21T03:13:54.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/50 -v /w/workspace/device-sdk-go/50:/w/workspace/device-sdk-go/50:rw,z -v /w/workspace/device-sdk-go/50@tmp:/w/workspace/device-sdk-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-21T03:13:56.070Z] $ docker top 0703e19e99d40a8f0ee3718dc78a1f3ad52b2a89472e699ae2168b7dbf8c11b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-21T03:13:56.738Z] + go version [2020-07-21T03:13:56.738Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-07-21T03:13:57.449Z] + make test [2020-07-21T03:13:57.449Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-21T03:13:59.128Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-21T03:14:14.434Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-21T03:14:14.434Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-21T03:14:14.434Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-21T03:14:15.960Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.019s coverage: 22.1% of statements [2020-07-21T03:14:18.119Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.121s coverage: 95.8% of statements [2020-07-21T03:14:50.403Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.081s coverage: 11.4% of statements [2020-07-21T03:14:50.403Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.029s coverage: 21.7% of statements [2020-07-21T03:14:50.403Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-21T03:14:50.403Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.085s coverage: 36.9% of statements [2020-07-21T03:14:50.403Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-21T03:14:50.403Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.458s coverage: 65.2% of statements [2020-07-21T03:14:50.403Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-21T03:14:50.403Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-21T03:14:50.403Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-21T03:14:50.403Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.031s coverage: 52.6% of statements [2020-07-21T03:14:50.403Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.129s coverage: 68.9% of statements [2020-07-21T03:14:50.403Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-21T03:14:50.403Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-21T03:14:50.403Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-21T03:14:51.030Z] gofmt -l . [2020-07-21T03:14:51.312Z] [ "`gofmt -l .`" = "" ] [2020-07-21T03:14:51.945Z] ./bin/test-attribution-txt.sh [2020-07-21T03:14:53.446Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-21T03:14:54.427Z] Warning: overwriting stash ‘coverage-report’ [2020-07-21T03:14:55.003Z] Stashed 1 file(s) [Pipeline] } [2020-07-21T03:14:55.007Z] $ docker stop --time=1 0703e19e99d40a8f0ee3718dc78a1f3ad52b2a89472e699ae2168b7dbf8c11b2 [2020-07-21T03:14:56.613Z] $ docker rm -f 0703e19e99d40a8f0ee3718dc78a1f3ad52b2a89472e699ae2168b7dbf8c11b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-21T03:14:57.566Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-21T03:14:57.870Z] + ls -al . [2020-07-21T03:14:57.870Z] total 188 [2020-07-21T03:14:57.870Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jul 21 03:14 . [2020-07-21T03:14:57.870Z] drwxrwxr-x. 4 jenkins jenkins 30 Jul 21 03:12 .. [2020-07-21T03:14:57.870Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 21 03:12 api [2020-07-21T03:14:57.870Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 21 03:12 bin [2020-07-21T03:14:57.870Z] -rw-r--r--. 1 jenkins jenkins 110877 Jul 21 03:14 coverage.out [2020-07-21T03:14:57.870Z] -rw-rw-r--. 1 jenkins jenkins 936 Jul 21 03:12 Dockerfile.build [2020-07-21T03:14:57.870Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 21 03:12 .dockerignore [2020-07-21T03:14:57.870Z] drwxrwxr-x. 4 jenkins jenkins 48 Jul 21 03:12 example [2020-07-21T03:14:57.870Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 21 03:13 .git [2020-07-21T03:14:57.870Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 21 03:12 .github [2020-07-21T03:14:57.870Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 21 03:12 .gitignore [2020-07-21T03:14:57.870Z] -rw-r--r--. 1 jenkins jenkins 446 Jul 21 03:14 go.mod [2020-07-21T03:14:57.870Z] -rw-r--r--. 1 jenkins jenkins 12179 Jul 21 03:14 go.sum [2020-07-21T03:14:57.870Z] drwxrwxr-x. 13 jenkins jenkins 184 Jul 21 03:12 internal [2020-07-21T03:14:57.870Z] -rw-rw-r--. 1 jenkins jenkins 808 Jul 21 03:12 Jenkinsfile [2020-07-21T03:14:57.870Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 21 03:12 LICENSE [2020-07-21T03:14:57.870Z] -rw-rw-r--. 1 jenkins jenkins 892 Jul 21 03:12 Makefile [2020-07-21T03:14:57.870Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 21 03:12 pkg [2020-07-21T03:14:57.870Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jul 21 03:12 README.md [2020-07-21T03:14:57.870Z] -rw-rw-r--. 1 jenkins jenkins 4291 Jul 21 03:12 RELEASE-NOTES.txt [2020-07-21T03:14:57.870Z] drwxrwxr-x. 3 jenkins jenkins 44 Jul 21 03:13 .semver [2020-07-21T03:14:57.870Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 21 03:12 snap [2020-07-21T03:14:57.870Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 21 03:07 VERSION [2020-07-21T03:14:57.870Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 21 03:12 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:14:58.184Z] + 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=f17d1be1b4849550bf30592997a90b8c252fbe34 --label arch=amd64 --label version=1.2.3-dev.6 . [2020-07-21T03:14:58.456Z] Sending build context to Docker daemon 3.241MB [2020-07-21T03:14:58.456Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-21T03:14:58.456Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-21T03:14:58.456Z] ---> 219f69833711 [2020-07-21T03:14:58.456Z] Step 3/23 : ARG MAKE='make build' [2020-07-21T03:14:58.720Z] ---> Running in ad4361acc0af [2020-07-21T03:14:58.982Z] Removing intermediate container ad4361acc0af [2020-07-21T03:14:58.982Z] ---> 2d67f75449cc [2020-07-21T03:14:58.982Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-21T03:14:58.982Z] ---> Running in 82c1f5e7636a [2020-07-21T03:14:59.246Z] Removing intermediate container 82c1f5e7636a [2020-07-21T03:14:59.246Z] ---> 78a8fe374eec [2020-07-21T03:14:59.246Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-21T03:14:59.246Z] ---> Running in 6adfbe29abba [2020-07-21T03:14:59.514Z] Removing intermediate container 6adfbe29abba [2020-07-21T03:14:59.514Z] ---> 689250690b20 [2020-07-21T03:14:59.514Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-21T03:14:59.514Z] ---> Running in 19768811f087 [2020-07-21T03:15:00.473Z] Removing intermediate container 19768811f087 [2020-07-21T03:15:00.473Z] ---> 85244a3d1eea [2020-07-21T03:15:00.473Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-21T03:15:00.734Z] ---> Running in 80bda366c4bc [2020-07-21T03:15:01.716Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-21T03:15:02.291Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-21T03:15:03.242Z] OK: 166 MiB in 39 packages [2020-07-21T03:15:03.824Z] Removing intermediate container 80bda366c4bc [2020-07-21T03:15:03.824Z] ---> 7a7637254b35 [2020-07-21T03:15:03.824Z] Step 8/23 : COPY . . [2020-07-21T03:15:05.236Z] ---> 379544c57a81 [2020-07-21T03:15:05.236Z] Step 9/23 : RUN ${MAKE} [2020-07-21T03:15:05.504Z] ---> Running in 453b0357407c [2020-07-21T03:15:06.935Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.6" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-07-21T03:15:22.250Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-21T03:15:23.210Z] Removing intermediate container 453b0357407c [2020-07-21T03:15:23.210Z] ---> d8be90096d6b [2020-07-21T03:15:23.210Z] Step 10/23 : FROM scratch [2020-07-21T03:15:23.210Z] ---> [2020-07-21T03:15:23.210Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-21T03:15:23.494Z] ---> Running in a245444883c1 [2020-07-21T03:15:23.494Z] Removing intermediate container a245444883c1 [2020-07-21T03:15:23.494Z] ---> 910b3cc44899 [2020-07-21T03:15:23.494Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-21T03:15:23.494Z] ---> Running in 9486c55d4d0d [2020-07-21T03:15:23.772Z] Removing intermediate container 9486c55d4d0d [2020-07-21T03:15:23.772Z] ---> a017c9e982df [2020-07-21T03:15:23.773Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-21T03:15:23.773Z] ---> Running in 9b9ac9f92615 [2020-07-21T03:15:24.094Z] Removing intermediate container 9b9ac9f92615 [2020-07-21T03:15:24.094Z] ---> 5d47c7585fb1 [2020-07-21T03:15:24.094Z] Step 14/23 : WORKDIR / [2020-07-21T03:15:24.094Z] ---> Running in fb4579376de0 [2020-07-21T03:15:24.388Z] Removing intermediate container fb4579376de0 [2020-07-21T03:15:24.388Z] ---> dcd8e5730544 [2020-07-21T03:15:24.388Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-21T03:15:25.353Z] ---> 737f8ca3c31e [2020-07-21T03:15:25.353Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-21T03:15:25.617Z] ---> a408c46a533b [2020-07-21T03:15:25.617Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-21T03:15:25.882Z] ---> eb4db55282c1 [2020-07-21T03:15:25.882Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-21T03:15:26.462Z] ---> e78e85a7a732 [2020-07-21T03:15:26.462Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-21T03:15:26.726Z] ---> 2d457a5460a4 [2020-07-21T03:15:26.726Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-21T03:15:27.000Z] ---> Running in 82b3fb3cd281 [2020-07-21T03:15:27.263Z] Removing intermediate container 82b3fb3cd281 [2020-07-21T03:15:27.263Z] ---> 0c702f4ede4e [2020-07-21T03:15:27.263Z] Step 21/23 : LABEL arch=amd64 [2020-07-21T03:15:27.263Z] ---> Running in 557b6b3ab2d5 [2020-07-21T03:15:27.527Z] Removing intermediate container 557b6b3ab2d5 [2020-07-21T03:15:27.527Z] ---> 692f7a5cc5b0 [2020-07-21T03:15:27.527Z] Step 22/23 : LABEL git_sha=f17d1be1b4849550bf30592997a90b8c252fbe34 [2020-07-21T03:15:27.527Z] ---> Running in 695c23133cdc [2020-07-21T03:15:27.792Z] Removing intermediate container 695c23133cdc [2020-07-21T03:15:27.792Z] ---> b3c3940c21c2 [2020-07-21T03:15:27.792Z] Step 23/23 : LABEL version=1.2.3-dev.6 [2020-07-21T03:15:27.792Z] ---> Running in 9a01ceedeb9d [2020-07-21T03:15:28.057Z] Removing intermediate container 9a01ceedeb9d [2020-07-21T03:15:28.057Z] ---> 851e6c3ce810 [2020-07-21T03:15:28.057Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-21T03:15:28.057Z] Successfully built 851e6c3ce810 [2020-07-21T03:15:28.057Z] 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-07-21T03:15:29.175Z] provisioning config files... [2020-07-21T03:15:29.186Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1830995677784641033tmp [Pipeline] { [Pipeline] sh [2020-07-21T03:15:29.537Z] + curl -s https://codecov.io/bash [2020-07-21T03:15:29.538Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1830995677784641033tmp [Pipeline] } [2020-07-21T03:15:29.807Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-07-21T03:15:30.322Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-07-21T03:15:30.324Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-07-21T03:15:30.377Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:15:30.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-07-21T03:15:30.750Z] [2020-07-21T03:15:30.750Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:15:31.091Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-07-21T03:15:31.091Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-07-21T03:15:31.091Z] cbdbe7a5bc2a: Pulling fs layer [2020-07-21T03:15:31.091Z] 408f87550127: Pulling fs layer [2020-07-21T03:15:31.091Z] fe522b08c979: Pulling fs layer [2020-07-21T03:15:31.091Z] 221eaa008020: Pulling fs layer [2020-07-21T03:15:31.091Z] 2a4607e5d6b9: Pulling fs layer [2020-07-21T03:15:31.091Z] 8f79b27c4fd2: Pulling fs layer [2020-07-21T03:15:31.091Z] e5c8dbe1645b: Pulling fs layer [2020-07-21T03:15:31.091Z] 23e8b3b47431: Pulling fs layer [2020-07-21T03:15:31.091Z] 5c568d65a230: Pulling fs layer [2020-07-21T03:15:31.091Z] 8f79b27c4fd2: Waiting [2020-07-21T03:15:31.091Z] e5c8dbe1645b: Waiting [2020-07-21T03:15:31.091Z] 23e8b3b47431: Waiting [2020-07-21T03:15:31.091Z] 5c568d65a230: Waiting [2020-07-21T03:15:31.091Z] 221eaa008020: Waiting [2020-07-21T03:15:31.091Z] 2a4607e5d6b9: Waiting [2020-07-21T03:15:31.091Z] fe522b08c979: Verifying Checksum [2020-07-21T03:15:31.091Z] fe522b08c979: Download complete [2020-07-21T03:15:31.091Z] 408f87550127: Download complete [2020-07-21T03:15:31.091Z] 2a4607e5d6b9: Verifying Checksum [2020-07-21T03:15:31.091Z] 2a4607e5d6b9: Download complete [2020-07-21T03:15:31.091Z] 8f79b27c4fd2: Verifying Checksum [2020-07-21T03:15:31.091Z] 8f79b27c4fd2: Download complete [2020-07-21T03:15:31.091Z] cbdbe7a5bc2a: Download complete [2020-07-21T03:15:31.356Z] e5c8dbe1645b: Verifying Checksum [2020-07-21T03:15:31.356Z] e5c8dbe1645b: Download complete [2020-07-21T03:15:31.356Z] cbdbe7a5bc2a: Pull complete [2020-07-21T03:15:31.937Z] 23e8b3b47431: Verifying Checksum [2020-07-21T03:15:31.937Z] 23e8b3b47431: Download complete [2020-07-21T03:15:31.937Z] 408f87550127: Pull complete [2020-07-21T03:15:31.937Z] fe522b08c979: Pull complete [2020-07-21T03:15:32.208Z] 5c568d65a230: Verifying Checksum [2020-07-21T03:15:32.208Z] 5c568d65a230: Download complete [2020-07-21T03:15:32.471Z] 221eaa008020: Verifying Checksum [2020-07-21T03:15:32.471Z] 221eaa008020: Download complete [2020-07-21T03:15:37.786Z] 221eaa008020: Pull complete [2020-07-21T03:15:37.786Z] 2a4607e5d6b9: Pull complete [2020-07-21T03:15:37.786Z] 8f79b27c4fd2: Pull complete [2020-07-21T03:15:39.699Z] e5c8dbe1645b: Pull complete [2020-07-21T03:15:42.995Z] 23e8b3b47431: Pull complete [2020-07-21T03:15:44.379Z] 5c568d65a230: Pull complete [2020-07-21T03:15:44.379Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-07-21T03:15:44.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-07-21T03:15:44.379Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-07-21T03:15:44.508Z] prd-centos7-docker-4c-2g-380 does not seem to be running inside a container [2020-07-21T03:15:44.546Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-07-21T03:15:45.331Z] $ docker top cfbf8a4681f2ebc94defe2714dab8913e30939e5046c02a46fcf461e3b9f8948 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-21T03:15:45.829Z] + snyk monitor '--org=edgex-jenkins' [2020-07-21T03:15:55.822Z] [2020-07-21T03:15:55.822Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-07-21T03:15:55.822Z] [2020-07-21T03:15:55.822Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/15b70fbc-e279-43f1-8426-3f954c8ff6ce [2020-07-21T03:15:55.822Z] [2020-07-21T03:15:55.822Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-07-21T03:15:55.822Z] [2020-07-21T03:15:55.822Z] [Pipeline] } [2020-07-21T03:15:55.833Z] $ docker stop --time=1 cfbf8a4681f2ebc94defe2714dab8913e30939e5046c02a46fcf461e3b9f8948 [2020-07-21T03:15:57.847Z] $ docker rm -f cfbf8a4681f2ebc94defe2714dab8913e30939e5046c02a46fcf461e3b9f8948 [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-07-21T03:15:58.997Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-21T03:15:58.997Z] . [Pipeline] withDockerContainer [2020-07-21T03:15:59.087Z] prd-centos7-docker-4c-2g-380 does not seem to be running inside a container [2020-07-21T03:15:59.121Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-21T03:15:59.925Z] $ docker top f2c3ed7cf9dcb2f662e31109a04ed2f72f5aa4151612366820c10d6d879b58ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-21T03:16:00.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-21T03:16:00.229Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-21T03:16:00.417Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-21T03:16:00.417Z] $ docker exec f2c3ed7cf9dcb2f662e31109a04ed2f72f5aa4151612366820c10d6d879b58ed ssh-agent [2020-07-21T03:16:00.573Z] SSH_AUTH_SOCK=/tmp/ssh-XGs7YKnpY7ci/agent.12 [2020-07-21T03:16:00.573Z] SSH_AGENT_PID=18 [2020-07-21T03:16:00.578Z] Running ssh-add (command line suppressed) [2020-07-21T03:16:00.694Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2125637656049401590.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2125637656049401590.key) [2020-07-21T03:16:00.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-21T03:16:01.071Z] + git semver tag [2020-07-21T03:16:01.071Z] # -> Open(): unable to determine branch for HEAD [2020-07-21T03:16:01.071Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-07-21T03:16:01.071Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-07-21T03:16:01.071Z] # $SEMVER_REMOTE_NAME = origin [2020-07-21T03:16:01.071Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-21T03:16:01.071Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-21T03:16:01.071Z] # $SEMVER_BRANCH = master [2020-07-21T03:16:01.071Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-07-21T03:16:01.071Z] # f17d1be1b4849550bf30592997a90b8c252fbe34 HEAD [2020-07-21T03:16:01.071Z] # -> Force: false [2020-07-21T03:16:01.071Z] # 28b2e6052af03142039dc63161c6081728aaa5ce refs/tags/v1.2.3-dev.6 [Pipeline] } [2020-07-21T03:16:01.078Z] $ docker exec --env ******** --env ******** f2c3ed7cf9dcb2f662e31109a04ed2f72f5aa4151612366820c10d6d879b58ed ssh-agent -k [2020-07-21T03:16:01.200Z] unset SSH_AUTH_SOCK; [2020-07-21T03:16:01.200Z] unset SSH_AGENT_PID; [2020-07-21T03:16:01.200Z] echo Agent pid 18 killed; [2020-07-21T03:16:01.250Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-21T03:16:01.684Z] + git semver [Pipeline] } [2020-07-21T03:16:01.696Z] $ docker stop --time=1 f2c3ed7cf9dcb2f662e31109a04ed2f72f5aa4151612366820c10d6d879b58ed [2020-07-21T03:16:03.034Z] $ docker rm -f f2c3ed7cf9dcb2f662e31109a04ed2f72f5aa4151612366820c10d6d879b58ed [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:16:03.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-07-21T03:16:03.641Z] [2020-07-21T03:16:03.641Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:16:03.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-07-21T03:16:03.980Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-07-21T03:16:03.980Z] ab5ef0e58194: Pulling fs layer [2020-07-21T03:16:03.980Z] 9712f1f96733: Pulling fs layer [2020-07-21T03:16:03.980Z] 63f879dbbcfc: Pulling fs layer [2020-07-21T03:16:03.980Z] 0d9ebad4ef96: Pulling fs layer [2020-07-21T03:16:03.980Z] e9a5061849ea: Pulling fs layer [2020-07-21T03:16:03.980Z] d747dcd14b5f: Pulling fs layer [2020-07-21T03:16:03.980Z] 2de7ff778b66: Pulling fs layer [2020-07-21T03:16:03.980Z] 0d9ebad4ef96: Waiting [2020-07-21T03:16:03.980Z] e9a5061849ea: Waiting [2020-07-21T03:16:03.980Z] d747dcd14b5f: Waiting [2020-07-21T03:16:03.980Z] 2de7ff778b66: Waiting [2020-07-21T03:16:03.980Z] 9712f1f96733: Verifying Checksum [2020-07-21T03:16:03.980Z] 9712f1f96733: Download complete [2020-07-21T03:16:04.581Z] 63f879dbbcfc: Verifying Checksum [2020-07-21T03:16:04.581Z] 63f879dbbcfc: Download complete [2020-07-21T03:16:04.845Z] e9a5061849ea: Verifying Checksum [2020-07-21T03:16:04.845Z] e9a5061849ea: Download complete [2020-07-21T03:16:04.845Z] d747dcd14b5f: Verifying Checksum [2020-07-21T03:16:04.845Z] d747dcd14b5f: Download complete [2020-07-21T03:16:05.107Z] 0d9ebad4ef96: Verifying Checksum [2020-07-21T03:16:05.107Z] 0d9ebad4ef96: Download complete [2020-07-21T03:16:05.107Z] 2de7ff778b66: Verifying Checksum [2020-07-21T03:16:05.107Z] 2de7ff778b66: Download complete [2020-07-21T03:16:05.107Z] ab5ef0e58194: Verifying Checksum [2020-07-21T03:16:05.107Z] ab5ef0e58194: Download complete [2020-07-21T03:16:09.427Z] ab5ef0e58194: Pull complete [2020-07-21T03:16:09.427Z] 9712f1f96733: Pull complete [2020-07-21T03:16:11.971Z] 63f879dbbcfc: Pull complete [2020-07-21T03:16:18.569Z] 0d9ebad4ef96: Pull complete [2020-07-21T03:16:20.568Z] e9a5061849ea: Pull complete [2020-07-21T03:16:20.568Z] d747dcd14b5f: Pull complete [2020-07-21T03:16:23.911Z] 2de7ff778b66: Pull complete [2020-07-21T03:16:23.911Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-07-21T03:16:23.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-07-21T03:16:23.911Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-07-21T03:16:24.046Z] prd-centos7-docker-4c-2g-380 does not seem to be running inside a container [2020-07-21T03:16:24.083Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-07-21T03:16:27.411Z] $ docker top dc31a0ce144463c0bd235610cdc74aa126e6604f9d670faa5222d530b7c418d7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-07-21T03:16:27.604Z] provisioning config files... [2020-07-21T03:16:27.615Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8817456903053478031tmp [2020-07-21T03:16:27.634Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5211045607909859809tmp [2020-07-21T03:16:27.647Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6445176964781910304tmp [Pipeline] { [Pipeline] echo [2020-07-21T03:16:27.693Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-21T03:16:27.992Z] ---> sigul-configuration.sh [2020-07-21T03:16:27.992Z] gpg: directory `/root/.gnupg' created [2020-07-21T03:16:27.992Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-07-21T03:16:27.992Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-07-21T03:16:27.992Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-07-21T03:16:27.992Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-07-21T03:16:27.992Z] gpg: CAST5 encrypted data [2020-07-21T03:16:28.256Z] gpg: encrypted with 1 passphrase [2020-07-21T03:16:28.256Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-07-21T03:16:28.553Z] + mkdir /home/jenkins [2020-07-21T03:16:28.553Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-07-21T03:16:28.845Z] + 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-07-21T03:16:28.855Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-21T03:16:29.152Z] ---> sigul-install.sh [2020-07-21T03:16:34.443Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-07-21T03:16:34.734Z] + git tag --list [2020-07-21T03:16:34.734Z] v1.2.3-dev.6 [Pipeline] sh [2020-07-21T03:16:35.030Z] + lftools sign git-tag v1.2.3-dev.6 [2020-07-21T03:16:36.416Z] Signing Git tag with Sigul... [2020-07-21T03:16:36.416Z] Signing v1.2.3-dev.6 [Pipeline] echo [2020-07-21T03:16:37.363Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-21T03:16:37.657Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-07-21T03:16:37.665Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-07-21T03:16:37.742Z] $ docker stop --time=1 dc31a0ce144463c0bd235610cdc74aa126e6604f9d670faa5222d530b7c418d7 [2020-07-21T03:16:39.532Z] $ docker rm -f dc31a0ce144463c0bd235610cdc74aa126e6604f9d670faa5222d530b7c418d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:16:40.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-21T03:16:40.194Z] . [Pipeline] withDockerContainer [2020-07-21T03:16:40.284Z] prd-centos7-docker-4c-2g-380 does not seem to be running inside a container [2020-07-21T03:16:40.320Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-21T03:16:40.882Z] $ docker top f25cb5758052e3ba3822fe2393d69676f89d3ff6e9224470748bfb6c7d5ff1f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-21T03:16:41.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-21T03:16:41.136Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-21T03:16:41.316Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-21T03:16:41.316Z] $ docker exec f25cb5758052e3ba3822fe2393d69676f89d3ff6e9224470748bfb6c7d5ff1f5 ssh-agent [2020-07-21T03:16:41.485Z] SSH_AUTH_SOCK=/tmp/ssh-P4VZHzMrAVaa/agent.11 [2020-07-21T03:16:41.485Z] SSH_AGENT_PID=16 [2020-07-21T03:16:41.491Z] Running ssh-add (command line suppressed) [2020-07-21T03:16:41.614Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8416734824540568988.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8416734824540568988.key) [2020-07-21T03:16:41.671Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-21T03:16:41.988Z] + git semver bump pre [2020-07-21T03:16:41.988Z] # -> Open(): unable to determine branch for HEAD [2020-07-21T03:16:41.988Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-07-21T03:16:41.988Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-07-21T03:16:41.988Z] # $SEMVER_REMOTE_NAME = origin [2020-07-21T03:16:41.988Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-21T03:16:41.988Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-21T03:16:41.988Z] # $SEMVER_BRANCH = master [2020-07-21T03:16:41.988Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-07-21T03:16:41.988Z] 1.2.3-dev.7 [Pipeline] } [2020-07-21T03:16:41.995Z] $ docker exec --env ******** --env ******** f25cb5758052e3ba3822fe2393d69676f89d3ff6e9224470748bfb6c7d5ff1f5 ssh-agent -k [2020-07-21T03:16:42.104Z] unset SSH_AUTH_SOCK; [2020-07-21T03:16:42.104Z] unset SSH_AGENT_PID; [2020-07-21T03:16:42.104Z] echo Agent pid 16 killed; [2020-07-21T03:16:42.155Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-21T03:16:42.623Z] + git semver [Pipeline] } [2020-07-21T03:16:42.634Z] $ docker stop --time=1 f25cb5758052e3ba3822fe2393d69676f89d3ff6e9224470748bfb6c7d5ff1f5 [2020-07-21T03:16:43.994Z] $ docker rm -f f25cb5758052e3ba3822fe2393d69676f89d3ff6e9224470748bfb6c7d5ff1f5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:16:44.472Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-21T03:16:44.472Z] . [Pipeline] withDockerContainer [2020-07-21T03:16:44.562Z] prd-centos7-docker-4c-2g-380 does not seem to be running inside a container [2020-07-21T03:16:44.600Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-21T03:16:45.212Z] $ docker top 161878729da4d2316b109140f684bb67242e802b21feb7a62bf74bc0a8c0befc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-21T03:16:45.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-21T03:16:45.486Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-21T03:16:45.658Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-21T03:16:45.659Z] $ docker exec 161878729da4d2316b109140f684bb67242e802b21feb7a62bf74bc0a8c0befc ssh-agent [2020-07-21T03:16:45.829Z] SSH_AUTH_SOCK=/tmp/ssh-Fuv5pSUctOyg/agent.11 [2020-07-21T03:16:45.829Z] SSH_AGENT_PID=16 [2020-07-21T03:16:45.835Z] Running ssh-add (command line suppressed) [2020-07-21T03:16:45.951Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7035526436658662.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7035526436658662.key) [2020-07-21T03:16:46.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-21T03:16:46.322Z] + git semver push [2020-07-21T03:16:46.322Z] # -> Open(): unable to determine branch for HEAD [2020-07-21T03:16:46.322Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-07-21T03:16:46.322Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-07-21T03:16:46.322Z] # $SEMVER_REMOTE_NAME = origin [2020-07-21T03:16:46.322Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-21T03:16:46.322Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-21T03:16:46.322Z] # $SEMVER_BRANCH = master [2020-07-21T03:16:46.322Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-07-21T03:16:52.907Z] $ docker exec --env ******** --env ******** 161878729da4d2316b109140f684bb67242e802b21feb7a62bf74bc0a8c0befc ssh-agent -k [2020-07-21T03:16:53.036Z] unset SSH_AUTH_SOCK; [2020-07-21T03:16:53.036Z] unset SSH_AGENT_PID; [2020-07-21T03:16:53.036Z] echo Agent pid 16 killed; [2020-07-21T03:16:53.092Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-21T03:16:53.514Z] + git semver [Pipeline] } [2020-07-21T03:16:53.524Z] $ docker stop --time=1 161878729da4d2316b109140f684bb67242e802b21feb7a62bf74bc0a8c0befc [2020-07-21T03:16:54.873Z] $ docker rm -f 161878729da4d2316b109140f684bb67242e802b21feb7a62bf74bc0a8c0befc [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-07-21T03:16:55.632Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-21T03:16:56.187Z] ---> package-listing.sh [2020-07-21T03:16:56.187Z] ++ facter osfamily [2020-07-21T03:16:56.187Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-21T03:16:56.187Z] + OS_FAMILY=redhat [2020-07-21T03:16:56.187Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-07-21T03:16:56.187Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-21T03:16:56.187Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-21T03:16:56.187Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-21T03:16:56.187Z] + PACKAGES=/tmp/packages_start.txt [2020-07-21T03:16:56.187Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-07-21T03:16:56.187Z] + PACKAGES=/tmp/packages_end.txt [2020-07-21T03:16:56.187Z] + case "${OS_FAMILY}" in [2020-07-21T03:16:56.187Z] + rpm -qa [2020-07-21T03:16:56.187Z] + sort [2020-07-21T03:17:00.387Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-21T03:17:00.387Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-21T03:17:00.387Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-21T03:17:00.387Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-07-21T03:17:00.387Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-07-21T03:17:00.387Z] + 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-07-21T03:17:01.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-21T03:17:01.012Z] [2020-07-21T03:17:01.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-21T03:17:01.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-21T03:17:01.357Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-21T03:17:01.357Z] c9b1b535fdd9: Pulling fs layer [2020-07-21T03:17:01.357Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-21T03:17:01.357Z] 756a868c4378: Pulling fs layer [2020-07-21T03:17:01.357Z] 444b2fc9a129: Pulling fs layer [2020-07-21T03:17:01.357Z] ea15f1150254: Pulling fs layer [2020-07-21T03:17:01.357Z] 41b27a9f41bf: Pulling fs layer [2020-07-21T03:17:01.357Z] 28c525ee5125: Pulling fs layer [2020-07-21T03:17:01.357Z] 094b1ea09ed8: Pulling fs layer [2020-07-21T03:17:01.357Z] 138eaada9080: Pulling fs layer [2020-07-21T03:17:01.357Z] 0622d0fa9048: Pulling fs layer [2020-07-21T03:17:01.357Z] 41b27a9f41bf: Waiting [2020-07-21T03:17:01.357Z] 28c525ee5125: Waiting [2020-07-21T03:17:01.357Z] 094b1ea09ed8: Waiting [2020-07-21T03:17:01.357Z] 138eaada9080: Waiting [2020-07-21T03:17:01.357Z] 0622d0fa9048: Waiting [2020-07-21T03:17:01.357Z] 444b2fc9a129: Waiting [2020-07-21T03:17:01.357Z] ea15f1150254: Waiting [2020-07-21T03:17:01.357Z] 2cc5ad85d9ab: Download complete [2020-07-21T03:17:01.357Z] 444b2fc9a129: Verifying Checksum [2020-07-21T03:17:01.357Z] 444b2fc9a129: Download complete [2020-07-21T03:17:01.357Z] c9b1b535fdd9: Verifying Checksum [2020-07-21T03:17:01.357Z] c9b1b535fdd9: Download complete [2020-07-21T03:17:01.357Z] ea15f1150254: Verifying Checksum [2020-07-21T03:17:01.357Z] ea15f1150254: Download complete [2020-07-21T03:17:01.623Z] 28c525ee5125: Verifying Checksum [2020-07-21T03:17:01.623Z] 28c525ee5125: Download complete [2020-07-21T03:17:01.623Z] 756a868c4378: Verifying Checksum [2020-07-21T03:17:01.623Z] 756a868c4378: Download complete [2020-07-21T03:17:01.884Z] 138eaada9080: Verifying Checksum [2020-07-21T03:17:01.884Z] 138eaada9080: Download complete [2020-07-21T03:17:01.884Z] 094b1ea09ed8: Verifying Checksum [2020-07-21T03:17:01.884Z] 094b1ea09ed8: Download complete [2020-07-21T03:17:01.884Z] 0622d0fa9048: Verifying Checksum [2020-07-21T03:17:01.884Z] 0622d0fa9048: Download complete [2020-07-21T03:17:02.148Z] c9b1b535fdd9: Pull complete [2020-07-21T03:17:02.409Z] 41b27a9f41bf: Verifying Checksum [2020-07-21T03:17:02.409Z] 41b27a9f41bf: Download complete [2020-07-21T03:17:02.409Z] 2cc5ad85d9ab: Pull complete [2020-07-21T03:17:03.799Z] 756a868c4378: Pull complete [2020-07-21T03:17:03.799Z] 444b2fc9a129: Pull complete [2020-07-21T03:17:04.059Z] ea15f1150254: Pull complete [2020-07-21T03:17:07.362Z] 41b27a9f41bf: Pull complete [2020-07-21T03:17:07.362Z] 28c525ee5125: Pull complete [2020-07-21T03:17:10.684Z] 094b1ea09ed8: Pull complete [2020-07-21T03:17:10.684Z] 138eaada9080: Pull complete [2020-07-21T03:17:10.684Z] 0622d0fa9048: Pull complete [2020-07-21T03:17:10.684Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-21T03:17:10.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-21T03:17:10.684Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-21T03:17:10.824Z] prd-centos7-docker-4c-2g-380 does not seem to be running inside a container [2020-07-21T03:17:10.919Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-21T03:17:13.361Z] $ docker top 05e5bcf8092bb7052a639afc960f97112922ca7e031295d21d30e50e196a1f2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-21T03:17:13.614Z] provisioning config files... [2020-07-21T03:17:13.628Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5982408891857831012tmp [Pipeline] { [Pipeline] echo [2020-07-21T03:17:13.756Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-21T03:17:14.044Z] ---> create-netrc.sh [Pipeline] echo [2020-07-21T03:17:14.052Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-21T03:17:14.340Z] ---> logs-deploy.sh [2020-07-21T03:17:14.340Z] + ARCHIVE_ARTIFACTS= [2020-07-21T03:17:14.340Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-21T03:17:14.340Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-21T03:17:14.340Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-21T03:17:14.340Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/50 [2020-07-21T03:17:14.340Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/50/ [2020-07-21T03:17:14.340Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/50 /w/workspace/dgexfoundry_device-sdk-go_master [2020-07-21T03:17:15.278Z] Archives upload complete. [2020-07-21T03:17:15.537Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/50 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/50/