Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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 [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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4492’ Running on prd-centos7-docker-4c-2g-4493 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 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 (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 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 # timeout=10 Commit message: "Merge pull request #493 from hahattan/issue-454" > git rev-list --no-walk 42b7bbbd3698d6d2e92b9fd91d92e5a500042181 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-17T11:10:33.520Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-17T11:10:33.748Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-17T11:10:33.818Z] ========================================================= [2020-04-17T11:10:33.818Z] EdgeX Global Pipelines Version Info [2020-04-17T11:10:33.818Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-17T11:10:36.363Z] ------------------- [2020-04-17T11:10:36.363Z] stable info: [2020-04-17T11:10:36.363Z] ------------------- [2020-04-17T11:10:36.363Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-17T11:10:36.363Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-17T11:10:36.363Z] Message: update stable to v1.0.73 [2020-04-17T11:10:37.348Z] ------------------- [2020-04-17T11:10:37.348Z] experimental info: [2020-04-17T11:10:37.348Z] ------------------- [2020-04-17T11:10:37.348Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-17T11:10:37.348Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-17T11:10:37.348Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:10:39.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T11:10:39.427Z] [2020-04-17T11:10:39.427Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:10:39.948Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T11:10:39.948Z] latest: Pulling from edgex-devops/git-semver [2020-04-17T11:10:39.948Z] 9123ac7c32f7: Pulling fs layer [2020-04-17T11:10:39.948Z] b8cc5d1170e3: Pulling fs layer [2020-04-17T11:10:39.948Z] 2924cbbf6a41: Pulling fs layer [2020-04-17T11:10:39.948Z] 93b08a4f1073: Pulling fs layer [2020-04-17T11:10:39.948Z] 93b08a4f1073: Waiting [2020-04-17T11:10:40.280Z] b8cc5d1170e3: Verifying Checksum [2020-04-17T11:10:40.280Z] b8cc5d1170e3: Download complete [2020-04-17T11:10:40.913Z] 9123ac7c32f7: Verifying Checksum [2020-04-17T11:10:40.914Z] 9123ac7c32f7: Download complete [2020-04-17T11:10:40.914Z] 93b08a4f1073: Verifying Checksum [2020-04-17T11:10:40.914Z] 93b08a4f1073: Download complete [2020-04-17T11:10:40.914Z] 2924cbbf6a41: Verifying Checksum [2020-04-17T11:10:40.914Z] 2924cbbf6a41: Download complete [2020-04-17T11:10:41.177Z] 9123ac7c32f7: Pull complete [2020-04-17T11:10:41.442Z] b8cc5d1170e3: Pull complete [2020-04-17T11:10:42.436Z] 2924cbbf6a41: Pull complete [2020-04-17T11:10:42.701Z] 93b08a4f1073: Pull complete [2020-04-17T11:10:42.701Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-17T11:10:42.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-17T11:10:43.125Z] prd-centos7-docker-4c-2g-4493 does not seem to be running inside a container [2020-04-17T11:10:43.213Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-17T11:10:44.871Z] $ docker top 51039a7268452147669bbd59911dfd406e839b6c2950e0c99e1e71e89256177d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-17T11:10:45.369Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T11:10:45.369Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T11:10:45.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T11:10:45.741Z] $ docker exec 51039a7268452147669bbd59911dfd406e839b6c2950e0c99e1e71e89256177d ssh-agent [2020-04-17T11:10:46.445Z] SSH_AUTH_SOCK=/tmp/ssh-muZ2DDVX2rh5/agent.15 [2020-04-17T11:10:46.445Z] SSH_AGENT_PID=22 [2020-04-17T11:10:46.481Z] Running ssh-add (command line suppressed) [2020-04-17T11:10:47.449Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6485805977979310110.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6485805977979310110.key) [2020-04-17T11:10:47.585Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T11:10:48.337Z] + git describe --exact-match --tags HEAD [2020-04-17T11:10:48.337Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-17T11:10:48.627Z] $ docker exec --env ******** --env ******** 51039a7268452147669bbd59911dfd406e839b6c2950e0c99e1e71e89256177d ssh-agent -k [2020-04-17T11:10:49.157Z] unset SSH_AUTH_SOCK; [2020-04-17T11:10:49.157Z] unset SSH_AGENT_PID; [2020-04-17T11:10:49.157Z] echo Agent pid 22 killed; [2020-04-17T11:10:49.412Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-17T11:10:49.494Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-17T11:10:49.494Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-17T11:10:49.569Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T11:10:49.569Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T11:10:50.019Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T11:10:50.026Z] $ docker exec 51039a7268452147669bbd59911dfd406e839b6c2950e0c99e1e71e89256177d ssh-agent [2020-04-17T11:10:50.755Z] SSH_AUTH_SOCK=/tmp/ssh-OgR2ZZIezi40/agent.57 [2020-04-17T11:10:50.755Z] SSH_AGENT_PID=64 [2020-04-17T11:10:50.825Z] Running ssh-add (command line suppressed) [2020-04-17T11:10:51.215Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8073542422825020640.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8073542422825020640.key) [2020-04-17T11:10:51.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T11:10:51.980Z] + git semver init [2020-04-17T11:10:51.980Z] # -> Open(): unable to determine branch for HEAD [2020-04-17T11:10:51.980Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-17T11:10:51.980Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-17T11:10:51.980Z] # $SEMVER_REMOTE_NAME = origin [2020-04-17T11:10:51.980Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-17T11:10:51.980Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-17T11:10:51.980Z] # $SEMVER_BRANCH = master [2020-04-17T11:10:51.980Z] # $SEMVER_TEMP = /tmp/semver-970767951 [2020-04-17T11:10:51.980Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-17T11:10:53.005Z] # '/tmp/semver-970767951' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-04-17T11:10:53.005Z] # -> Force: false [2020-04-17T11:10:53.005Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-17T11:10:53.030Z] $ docker exec --env ******** --env ******** 51039a7268452147669bbd59911dfd406e839b6c2950e0c99e1e71e89256177d ssh-agent -k [2020-04-17T11:10:53.445Z] unset SSH_AUTH_SOCK; [2020-04-17T11:10:53.446Z] unset SSH_AGENT_PID; [2020-04-17T11:10:53.446Z] echo Agent pid 64 killed; [2020-04-17T11:10:53.542Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-17T11:10:54.212Z] + git semver [Pipeline] } [2020-04-17T11:10:54.274Z] $ docker stop --time=1 51039a7268452147669bbd59911dfd406e839b6c2950e0c99e1e71e89256177d [2020-04-17T11:10:56.269Z] $ docker rm -f 51039a7268452147669bbd59911dfd406e839b6c2950e0c99e1e71e89256177d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-17T11:10:58.194Z] Stashed 42 file(s) [Pipeline] echo [2020-04-17T11:10:58.196Z] [edgeXSemver] initialized semver on version 1.2.0-dev.25 [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-04-17T11:11:13.422Z] Still waiting to schedule task [2020-04-17T11:11:13.422Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4493’ [2020-04-17T11:11:13.424Z] Still waiting to schedule task [2020-04-17T11:11:13.424Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-17T11:12:51.902Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4494 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-17T11:12:51.941Z] Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout [2020-04-17T11:12:58.134Z] using credential edgex-jenkins-ssh [2020-04-17T11:12:58.183Z] Cloning the remote Git repository [2020-04-17T11:12:58.183Z] Cloning with configured refspecs honoured and without tags [2020-04-17T11:12:58.270Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T11:12:58.383Z] > git init /w/workspace/device-sdk-go/25 # timeout=10 [2020-04-17T11:12:58.474Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T11:12:58.479Z] > git --version # timeout=10 [2020-04-17T11:12:58.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T11:12:58.592Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T11:12:59.834Z] Fetching without tags [2020-04-17T11:12:59.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T11:12:59.752Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T11:12:59.817Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T11:12:59.868Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T11:12:59.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T11:12:59.880Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T11:13:00.270Z] Checking out Revision 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 (master) [2020-04-17T11:13:00.327Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T11:13:00.362Z] > git checkout -f 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 # timeout=10 [2020-04-17T11:13:05.082Z] Commit message: "Merge pull request #493 from hahattan/issue-454" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-17T11:13:06.350Z] ========================================================= [2020-04-17T11:13:06.350Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-17T11:13:06.350Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:13:07.502Z] + 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-04-17T11:13:08.467Z] Sending build context to Docker daemon 2.889MB [2020-04-17T11:13:08.467Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-17T11:13:08.467Z] Step 2/8 : FROM ${BASE} [2020-04-17T11:13:08.736Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-17T11:13:08.736Z] cde5963f3b93: Pulling fs layer [2020-04-17T11:13:08.736Z] 2a23fa8c16f7: Pulling fs layer [2020-04-17T11:13:08.736Z] 777b28850792: Pulling fs layer [2020-04-17T11:13:08.736Z] 8a11ddd9e578: Pulling fs layer [2020-04-17T11:13:08.736Z] 4cf88f913ddb: Pulling fs layer [2020-04-17T11:13:08.736Z] 1df406cf5192: Pulling fs layer [2020-04-17T11:13:08.736Z] cd6300453558: Pulling fs layer [2020-04-17T11:13:08.736Z] b9c365052c96: Pulling fs layer [2020-04-17T11:13:08.736Z] a2d8cc88f415: Pulling fs layer [2020-04-17T11:13:08.736Z] ea1d1ca13537: Pulling fs layer [2020-04-17T11:13:08.736Z] 3750a50a1c5e: Pulling fs layer [2020-04-17T11:13:08.736Z] cd6300453558: Waiting [2020-04-17T11:13:08.736Z] b9c365052c96: Waiting [2020-04-17T11:13:08.736Z] a2d8cc88f415: Waiting [2020-04-17T11:13:08.736Z] ea1d1ca13537: Waiting [2020-04-17T11:13:08.736Z] 3750a50a1c5e: Waiting [2020-04-17T11:13:08.736Z] 4cf88f913ddb: Waiting [2020-04-17T11:13:08.736Z] 1df406cf5192: Waiting [2020-04-17T11:13:08.736Z] 8a11ddd9e578: Waiting [2020-04-17T11:13:08.736Z] 777b28850792: Verifying Checksum [2020-04-17T11:13:08.736Z] 777b28850792: Download complete [2020-04-17T11:13:08.736Z] 2a23fa8c16f7: Verifying Checksum [2020-04-17T11:13:08.736Z] 2a23fa8c16f7: Download complete [2020-04-17T11:13:08.736Z] 4cf88f913ddb: Verifying Checksum [2020-04-17T11:13:08.736Z] 4cf88f913ddb: Download complete [2020-04-17T11:13:09.009Z] 1df406cf5192: Verifying Checksum [2020-04-17T11:13:09.009Z] 1df406cf5192: Download complete [2020-04-17T11:13:09.009Z] cde5963f3b93: Verifying Checksum [2020-04-17T11:13:09.986Z] cde5963f3b93: Pull complete [2020-04-17T11:13:10.957Z] 2a23fa8c16f7: Pull complete [2020-04-17T11:13:10.957Z] 777b28850792: Pull complete [2020-04-17T11:13:11.743Z] Running on prd-centos7-docker-4c-2g-4495 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-17T11:13:11.781Z] Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout [2020-04-17T11:13:13.583Z] cd6300453558: Verifying Checksum [2020-04-17T11:13:13.583Z] cd6300453558: Download complete [2020-04-17T11:13:13.583Z] a2d8cc88f415: Verifying Checksum [2020-04-17T11:13:13.583Z] a2d8cc88f415: Download complete [2020-04-17T11:13:14.170Z] using credential edgex-jenkins-ssh [2020-04-17T11:13:14.247Z] Cloning the remote Git repository [2020-04-17T11:13:14.247Z] Cloning with configured refspecs honoured and without tags [2020-04-17T11:13:14.275Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T11:13:14.971Z] Fetching without tags [2020-04-17T11:13:15.356Z] Checking out Revision 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 (master) [2020-04-17T11:13:14.316Z] > git init /w/workspace/device-sdk-go/25 # timeout=10 [2020-04-17T11:13:14.368Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T11:13:14.368Z] > git --version # timeout=10 [2020-04-17T11:13:14.379Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T11:13:14.432Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T11:13:14.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T11:13:14.956Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T11:13:14.966Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T11:13:14.978Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T11:13:14.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T11:13:14.982Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T11:13:15.367Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T11:13:15.375Z] > git checkout -f 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 # timeout=10 [2020-04-17T11:13:15.540Z] ea1d1ca13537: Verifying Checksum [2020-04-17T11:13:15.540Z] ea1d1ca13537: Download complete [2020-04-17T11:13:15.812Z] 3750a50a1c5e: Verifying Checksum [2020-04-17T11:13:15.813Z] 3750a50a1c5e: Download complete [2020-04-17T11:13:18.416Z] b9c365052c96: Download complete [2020-04-17T11:13:19.284Z] Commit message: "Merge pull request #493 from hahattan/issue-454" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-17T11:13:20.066Z] ========================================================= [2020-04-17T11:13:20.066Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-17T11:13:20.066Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:13:20.375Z] 8a11ddd9e578: Verifying Checksum [2020-04-17T11:13:20.375Z] 8a11ddd9e578: Download complete [2020-04-17T11:13:20.798Z] + 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-04-17T11:13:21.065Z] Sending build context to Docker daemon 2.889MB [2020-04-17T11:13:21.065Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-17T11:13:21.065Z] Step 2/8 : FROM ${BASE} [2020-04-17T11:13:21.065Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-17T11:13:21.065Z] e6b0cf9c0882: Pulling fs layer [2020-04-17T11:13:21.065Z] 2848faf0eed1: Pulling fs layer [2020-04-17T11:13:21.065Z] 0f37312ad70f: Pulling fs layer [2020-04-17T11:13:21.065Z] 5788d62ee057: Pulling fs layer [2020-04-17T11:13:21.065Z] 0e6b1d234666: Pulling fs layer [2020-04-17T11:13:21.065Z] bf5d7aec512f: Pulling fs layer [2020-04-17T11:13:21.065Z] 34c802a77dc8: Pulling fs layer [2020-04-17T11:13:21.065Z] 9eb99e56ec68: Pulling fs layer [2020-04-17T11:13:21.065Z] 27c7a5d97fbd: Pulling fs layer [2020-04-17T11:13:21.065Z] 5c102a31e300: Pulling fs layer [2020-04-17T11:13:21.065Z] dcfb455df0a1: Pulling fs layer [2020-04-17T11:13:21.065Z] 5788d62ee057: Waiting [2020-04-17T11:13:21.065Z] 0e6b1d234666: Waiting [2020-04-17T11:13:21.065Z] bf5d7aec512f: Waiting [2020-04-17T11:13:21.065Z] 34c802a77dc8: Waiting [2020-04-17T11:13:21.065Z] 9eb99e56ec68: Waiting [2020-04-17T11:13:21.065Z] 27c7a5d97fbd: Waiting [2020-04-17T11:13:21.065Z] 5c102a31e300: Waiting [2020-04-17T11:13:21.065Z] dcfb455df0a1: Waiting [2020-04-17T11:13:21.065Z] 0f37312ad70f: Verifying Checksum [2020-04-17T11:13:21.065Z] 0f37312ad70f: Download complete [2020-04-17T11:13:21.065Z] 2848faf0eed1: Verifying Checksum [2020-04-17T11:13:21.065Z] 2848faf0eed1: Download complete [2020-04-17T11:13:21.065Z] 0e6b1d234666: Verifying Checksum [2020-04-17T11:13:21.065Z] 0e6b1d234666: Download complete [2020-04-17T11:13:21.065Z] bf5d7aec512f: Verifying Checksum [2020-04-17T11:13:21.065Z] bf5d7aec512f: Download complete [2020-04-17T11:13:21.065Z] e6b0cf9c0882: Verifying Checksum [2020-04-17T11:13:21.065Z] e6b0cf9c0882: Download complete [2020-04-17T11:13:21.325Z] e6b0cf9c0882: Pull complete [2020-04-17T11:13:21.584Z] 2848faf0eed1: Pull complete [2020-04-17T11:13:21.845Z] 34c802a77dc8: Verifying Checksum [2020-04-17T11:13:21.845Z] 34c802a77dc8: Download complete [2020-04-17T11:13:21.845Z] 27c7a5d97fbd: Verifying Checksum [2020-04-17T11:13:21.845Z] 27c7a5d97fbd: Download complete [2020-04-17T11:13:22.422Z] 5c102a31e300: Verifying Checksum [2020-04-17T11:13:22.422Z] 5c102a31e300: Download complete [2020-04-17T11:13:22.683Z] dcfb455df0a1: Verifying Checksum [2020-04-17T11:13:22.683Z] dcfb455df0a1: Download complete [2020-04-17T11:13:22.683Z] 9eb99e56ec68: Verifying Checksum [2020-04-17T11:13:22.683Z] 9eb99e56ec68: Download complete [2020-04-17T11:13:23.252Z] 5788d62ee057: Verifying Checksum [2020-04-17T11:13:23.252Z] 5788d62ee057: Download complete [2020-04-17T11:13:23.822Z] 0f37312ad70f: Pull complete [2020-04-17T11:13:29.107Z] 5788d62ee057: Pull complete [2020-04-17T11:13:29.107Z] 0e6b1d234666: Pull complete [2020-04-17T11:13:29.367Z] bf5d7aec512f: Pull complete [2020-04-17T11:13:32.727Z] 8a11ddd9e578: Pull complete [2020-04-17T11:13:32.727Z] 4cf88f913ddb: Pull complete [2020-04-17T11:13:32.727Z] 1df406cf5192: Pull complete [2020-04-17T11:13:34.647Z] 34c802a77dc8: Pull complete [2020-04-17T11:13:35.348Z] cd6300453558: Pull complete [2020-04-17T11:13:37.949Z] 9eb99e56ec68: Pull complete [2020-04-17T11:13:37.949Z] 27c7a5d97fbd: Pull complete [2020-04-17T11:13:38.541Z] 5c102a31e300: Pull complete [2020-04-17T11:13:38.802Z] dcfb455df0a1: Pull complete [2020-04-17T11:13:38.802Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-17T11:13:38.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-17T11:13:38.802Z] ---> 7c70fe431013 [2020-04-17T11:13:38.802Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T11:13:38.802Z] ---> Running in 250f8733a2d8 [2020-04-17T11:13:38.802Z] Removing intermediate container 250f8733a2d8 [2020-04-17T11:13:38.802Z] ---> 735d0c18393a [2020-04-17T11:13:38.802Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T11:13:39.062Z] ---> Running in 18d4aad9cd5e [2020-04-17T11:13:39.615Z] b9c365052c96: Pull complete [2020-04-17T11:13:39.884Z] a2d8cc88f415: Pull complete [2020-04-17T11:13:40.002Z] Removing intermediate container 18d4aad9cd5e [2020-04-17T11:13:40.002Z] ---> 7c382de464ee [2020-04-17T11:13:40.002Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-17T11:13:40.002Z] ---> Running in 3c6025262e9b [2020-04-17T11:13:40.944Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-17T11:13:41.513Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-17T11:13:41.513Z] OK: 143 MiB in 39 packages [2020-04-17T11:13:41.839Z] ea1d1ca13537: Pull complete [2020-04-17T11:13:42.084Z] Removing intermediate container 3c6025262e9b [2020-04-17T11:13:42.084Z] ---> 37b8d614ecbe [2020-04-17T11:13:42.084Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-17T11:13:42.084Z] ---> Running in 015651de4660 [2020-04-17T11:13:42.084Z] Removing intermediate container 015651de4660 [2020-04-17T11:13:42.084Z] ---> a4edeaecc5ef [2020-04-17T11:13:42.084Z] Step 7/8 : COPY . . [2020-04-17T11:13:42.107Z] 3750a50a1c5e: Pull complete [2020-04-17T11:13:42.375Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-17T11:13:42.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-17T11:13:42.375Z] ---> 78745c68409d [2020-04-17T11:13:42.375Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T11:13:42.651Z] ---> f2c28b6f4ddf [2020-04-17T11:13:42.651Z] Step 8/8 : RUN go mod download [2020-04-17T11:13:42.651Z] ---> Running in ca90dbfd446c [2020-04-17T11:13:44.577Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-17T11:13:44.577Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-17T11:13:44.577Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-17T11:13:44.577Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-17T11:13:44.577Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-17T11:13:44.577Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-17T11:13:44.577Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-17T11:13:44.577Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-17T11:13:44.577Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-17T11:13:44.577Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-17T11:13:44.577Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-17T11:13:44.577Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-17T11:13:44.577Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-17T11:13:44.577Z] go: finding github.com/fatih/color v1.7.0 [2020-04-17T11:13:44.577Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-17T11:13:44.577Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-17T11:13:44.577Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-17T11:13:44.577Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-17T11:13:44.577Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-17T11:13:44.577Z] go: finding github.com/google/uuid v1.1.0 [2020-04-17T11:13:44.577Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-17T11:13:44.577Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-17T11:13:44.577Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-17T11:13:44.577Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-17T11:13:44.577Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-17T11:13:44.577Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-17T11:13:44.577Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-17T11:13:44.837Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-17T11:13:44.837Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-17T11:13:44.837Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-17T11:13:44.837Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-17T11:13:44.837Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-17T11:13:44.837Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-17T11:13:44.837Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-17T11:13:44.837Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-17T11:13:44.837Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-17T11:13:44.837Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-17T11:13:44.837Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-17T11:13:44.837Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-17T11:13:44.837Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-17T11:13:44.837Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-17T11:13:44.837Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-17T11:13:44.837Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-17T11:13:44.837Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-17T11:13:44.837Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-17T11:13:44.837Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-17T11:13:44.837Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-17T11:13:44.837Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-17T11:13:44.837Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-17T11:13:44.837Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-17T11:13:44.837Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-17T11:13:44.837Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-17T11:13:44.837Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-17T11:13:44.837Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-17T11:13:45.099Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-17T11:13:45.099Z] go: finding github.com/posener/complete v1.1.1 [2020-04-17T11:13:45.099Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-17T11:13:45.100Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-17T11:13:45.100Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-17T11:13:45.100Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-17T11:13:45.100Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-17T11:13:45.100Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-17T11:13:45.100Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-17T11:13:45.100Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-17T11:13:45.100Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-17T11:13:45.100Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-17T11:13:45.100Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-17T11:13:45.100Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-17T11:13:47.739Z] ---> Running in da63f8ca3183 [2020-04-17T11:13:47.740Z] Removing intermediate container da63f8ca3183 [2020-04-17T11:13:47.740Z] ---> adad5d1785a8 [2020-04-17T11:13:47.740Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T11:13:47.740Z] ---> Running in 9ff3f1dde0f7 [2020-04-17T11:13:49.155Z] Removing intermediate container 9ff3f1dde0f7 [2020-04-17T11:13:49.155Z] ---> dc0c8cf6d3ab [2020-04-17T11:13:49.155Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-17T11:13:49.422Z] ---> Running in a994e0e20399 [2020-04-17T11:13:50.388Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-17T11:13:50.398Z] Removing intermediate container ca90dbfd446c [2020-04-17T11:13:50.398Z] ---> 01a2c357d021 [2020-04-17T11:13:50.398Z] Successfully built 01a2c357d021 [2020-04-17T11:13:50.398Z] 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-04-17T11:13:50.975Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-17T11:13:50.983Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-17T11:13:50.983Z] . [Pipeline] withDockerContainer [2020-04-17T11:13:51.276Z] prd-centos7-docker-4c-2g-4495 does not seem to be running inside a container [2020-04-17T11:13:51.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-17T11:13:51.559Z] OK: 125 MiB in 39 packages [2020-04-17T11:13:52.974Z] Removing intermediate container a994e0e20399 [2020-04-17T11:13:52.974Z] ---> 456f4233ed2b [2020-04-17T11:13:52.974Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-17T11:13:52.974Z] ---> Running in 007f5d36f89a [2020-04-17T11:13:53.049Z] $ docker top 914d985a842b354faf5e8ddb8158d939aa03c63408e82cbd6bbe25f1699341f1 -eo pid,comm [Pipeline] { [2020-04-17T11:13:53.253Z] Removing intermediate container 007f5d36f89a [2020-04-17T11:13:53.254Z] ---> 81195dad321e [2020-04-17T11:13:53.254Z] Step 7/8 : COPY . . [Pipeline] sh [2020-04-17T11:13:53.538Z] + go version [2020-04-17T11:13:53.539Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-17T11:13:53.837Z] + make test [2020-04-17T11:13:53.837Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-17T11:13:54.219Z] ---> 07522f201a26 [2020-04-17T11:13:54.219Z] Step 8/8 : RUN go mod download [2020-04-17T11:13:54.407Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-17T11:13:54.487Z] ---> Running in cb36d1a81220 [2020-04-17T11:13:56.434Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-17T11:13:56.701Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-17T11:13:56.701Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-17T11:13:56.701Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-17T11:13:56.701Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-17T11:13:56.701Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-17T11:13:56.701Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-17T11:13:56.701Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-17T11:13:56.701Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-17T11:13:56.701Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-17T11:13:56.701Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-17T11:13:56.701Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-17T11:13:56.701Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-17T11:13:56.701Z] go: finding github.com/fatih/color v1.7.0 [2020-04-17T11:13:56.701Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-17T11:13:56.701Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-17T11:13:56.701Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-17T11:13:56.701Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-17T11:13:56.701Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-17T11:13:56.967Z] go: finding github.com/google/uuid v1.1.0 [2020-04-17T11:13:56.967Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-17T11:13:56.967Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-17T11:13:56.967Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-17T11:13:56.967Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-17T11:13:56.967Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-17T11:13:56.967Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-17T11:13:56.967Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-17T11:13:56.967Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-17T11:13:56.967Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-17T11:13:56.967Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-17T11:13:56.967Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-17T11:13:56.967Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-17T11:13:57.235Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-17T11:13:57.235Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-17T11:13:57.235Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-17T11:13:57.235Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-17T11:13:57.235Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-17T11:13:57.235Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-17T11:13:57.235Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-17T11:13:57.235Z] go: finding github.com/posener/complete v1.1.1 [2020-04-17T11:13:57.235Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-17T11:13:57.235Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-17T11:13:57.235Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-17T11:13:57.235Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-17T11:13:57.235Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-17T11:13:57.235Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-17T11:13:57.235Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-17T11:13:57.235Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-17T11:13:57.235Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-17T11:13:57.235Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-17T11:13:57.235Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-17T11:13:57.235Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-17T11:14:04.445Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-17T11:14:04.445Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-17T11:14:05.835Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.010s coverage: 22.1% of statements [2020-04-17T11:14:06.096Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.066s coverage: 95.8% of statements [2020-04-17T11:14:07.334Z] Removing intermediate container cb36d1a81220 [2020-04-17T11:14:07.334Z] ---> b9735419ed6f [2020-04-17T11:14:07.334Z] Successfully built b9735419ed6f [2020-04-17T11:14:07.334Z] 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-04-17T11:14:08.088Z] + docker inspect -f . ci-base-image-arm64 [2020-04-17T11:14:08.355Z] . [Pipeline] withDockerContainer [2020-04-17T11:14:08.689Z] prd-ubuntu18.04-docker-arm64-4c-16g-4494 does not seem to be running inside a container [2020-04-17T11:14:08.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-17T11:14:10.448Z] $ docker top 176723f7531a45fbb8d8dd39582c0af99bd70f2e09996aac46877d702a5205ab -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-17T11:14:11.522Z] + go version [2020-04-17T11:14:11.522Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-17T11:14:12.190Z] + make test [2020-04-17T11:14:12.190Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-17T11:14:13.607Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-17T11:14:38.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.582s coverage: 11.4% of statements [2020-04-17T11:14:38.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 22.1% of statements [2020-04-17T11:14:38.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-17T11:14:38.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.079s coverage: 38.5% of statements [2020-04-17T11:14:38.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-17T11:14:38.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-17T11:14:38.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.489s coverage: 79.8% of statements [2020-04-17T11:14:38.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-17T11:14:38.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-17T11:14:38.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-17T11:14:38.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements [2020-04-17T11:14:38.193Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-17T11:14:38.193Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.105s coverage: 71.4% of statements [2020-04-17T11:14:38.193Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-17T11:14:38.193Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-17T11:14:38.193Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-17T11:14:39.133Z] gofmt -l . [2020-04-17T11:14:39.133Z] [ "`gofmt -l .`" = "" ] [2020-04-17T11:14:39.133Z] ./bin/test-attribution-txt.sh [2020-04-17T11:14:39.702Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-17T11:14:40.348Z] Stashed 1 file(s) [Pipeline] } [2020-04-17T11:14:40.356Z] $ docker stop --time=1 914d985a842b354faf5e8ddb8158d939aa03c63408e82cbd6bbe25f1699341f1 [2020-04-17T11:14:40.383Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-17T11:14:40.383Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-17T11:14:41.816Z] $ docker rm -f 914d985a842b354faf5e8ddb8158d939aa03c63408e82cbd6bbe25f1699341f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-04-17T11:14:42.346Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.032s coverage: 22.1% of statements [Pipeline] sh [2020-04-17T11:14:43.104Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-17T11:14:43.397Z] + ls -al . [2020-04-17T11:14:43.397Z] total 160 [2020-04-17T11:14:43.397Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 17 11:14 . [2020-04-17T11:14:43.397Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 17 11:13 .. [2020-04-17T11:14:43.397Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 17 11:13 api [2020-04-17T11:14:43.397Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 17 11:13 bin [2020-04-17T11:14:43.397Z] -rw-r--r--. 1 jenkins jenkins 96404 Apr 17 11:14 coverage.out [2020-04-17T11:14:43.397Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 17 11:13 Dockerfile.build [2020-04-17T11:14:43.397Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 17 11:13 .dockerignore [2020-04-17T11:14:43.397Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 17 11:13 example [2020-04-17T11:14:43.397Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 17 11:13 .git [2020-04-17T11:14:43.397Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 17 11:13 .github [2020-04-17T11:14:43.397Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 17 11:13 .gitignore [2020-04-17T11:14:43.397Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 17 11:14 go.mod [2020-04-17T11:14:43.397Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 17 11:14 go.sum [2020-04-17T11:14:43.397Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 17 11:13 internal [2020-04-17T11:14:43.397Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 17 11:13 Jenkinsfile [2020-04-17T11:14:43.397Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 17 11:13 LICENSE [2020-04-17T11:14:43.397Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 17 11:13 Makefile [2020-04-17T11:14:43.397Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 17 11:13 pkg [2020-04-17T11:14:43.397Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 17 11:13 README.md [2020-04-17T11:14:43.397Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 17 11:13 .semver [2020-04-17T11:14:43.397Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 17 11:13 snap [2020-04-17T11:14:43.397Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 17 11:10 VERSION [2020-04-17T11:14:43.397Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 17 11:13 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:14:43.712Z] + 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=48688a4bd0b1e0580b86c0f4f944ad389879dbd8 --label arch=amd64 --label version=1.2.0-dev.25 . [2020-04-17T11:14:43.712Z] Sending build context to Docker daemon 3.006MB [2020-04-17T11:14:43.712Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-17T11:14:43.712Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-17T11:14:43.712Z] ---> 01a2c357d021 [2020-04-17T11:14:43.712Z] Step 3/21 : ARG MAKE='make build' [2020-04-17T11:14:43.970Z] ---> Running in 4f6f361afbf9 [2020-04-17T11:14:43.970Z] Removing intermediate container 4f6f361afbf9 [2020-04-17T11:14:43.970Z] ---> f1f67beb4deb [2020-04-17T11:14:43.970Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-17T11:14:43.970Z] ---> Running in 7717c4dd9913 [2020-04-17T11:14:44.229Z] Removing intermediate container 7717c4dd9913 [2020-04-17T11:14:44.229Z] ---> 1756e5a6c6cf [2020-04-17T11:14:44.229Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T11:14:44.229Z] ---> Running in 9166473c6d98 [2020-04-17T11:14:44.487Z] Removing intermediate container 9166473c6d98 [2020-04-17T11:14:44.487Z] ---> f25a67a7069a [2020-04-17T11:14:44.487Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T11:14:44.487Z] ---> Running in 10024d88a114 [2020-04-17T11:14:45.055Z] Removing intermediate container 10024d88a114 [2020-04-17T11:14:45.056Z] ---> 5bf8360956db [2020-04-17T11:14:45.056Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-17T11:14:45.320Z] ---> Running in 4b3149f7e5af [2020-04-17T11:14:45.580Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-17T11:14:45.726Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.140s coverage: 95.8% of statements [2020-04-17T11:14:46.149Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-17T11:14:46.408Z] OK: 143 MiB in 39 packages [2020-04-17T11:14:46.985Z] Removing intermediate container 4b3149f7e5af [2020-04-17T11:14:46.985Z] ---> 2df6a5df1c85 [2020-04-17T11:14:46.985Z] Step 8/21 : COPY . . [2020-04-17T11:14:47.251Z] ---> b5dffa6ab1f9 [2020-04-17T11:14:47.251Z] Step 9/21 : RUN ${MAKE} [2020-04-17T11:14:47.252Z] ---> Running in 363cc3c9345d [2020-04-17T11:14:47.827Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.25" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-17T11:14:56.021Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-17T11:14:56.283Z] Removing intermediate container 363cc3c9345d [2020-04-17T11:14:56.283Z] ---> 91c3fa304a75 [2020-04-17T11:14:56.283Z] Step 10/21 : FROM scratch [2020-04-17T11:14:56.283Z] ---> [2020-04-17T11:14:56.283Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T11:14:56.283Z] ---> Running in b18f9cb32360 [2020-04-17T11:14:56.283Z] Removing intermediate container b18f9cb32360 [2020-04-17T11:14:56.283Z] ---> 28b44182be99 [2020-04-17T11:14:56.283Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-17T11:14:56.283Z] ---> Running in 6f3055979db0 [2020-04-17T11:14:56.541Z] Removing intermediate container 6f3055979db0 [2020-04-17T11:14:56.541Z] ---> 90cc76c57e5f [2020-04-17T11:14:56.541Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-17T11:14:56.541Z] ---> Running in ad57e64cd45f [2020-04-17T11:14:56.541Z] Removing intermediate container ad57e64cd45f [2020-04-17T11:14:56.541Z] ---> 083d7bdfc85c [2020-04-17T11:14:56.541Z] Step 14/21 : WORKDIR / [2020-04-17T11:14:56.800Z] ---> Running in e7fae579b9b6 [2020-04-17T11:14:56.800Z] Removing intermediate container e7fae579b9b6 [2020-04-17T11:14:56.800Z] ---> e6f000eb76f2 [2020-04-17T11:14:56.800Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-17T11:14:57.368Z] ---> 66baff54967d [2020-04-17T11:14:57.368Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-17T11:14:57.368Z] ---> d277d9ab39af [2020-04-17T11:14:57.368Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-17T11:14:57.628Z] ---> dcf0af1c7704 [2020-04-17T11:14:57.628Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-17T11:14:57.628Z] ---> Running in 778657e13bc5 [2020-04-17T11:14:57.887Z] Removing intermediate container 778657e13bc5 [2020-04-17T11:14:57.887Z] ---> f318dc759a27 [2020-04-17T11:14:57.887Z] Step 19/21 : LABEL arch=amd64 [2020-04-17T11:14:57.887Z] ---> Running in 3b2e3a4d94c7 [2020-04-17T11:14:58.146Z] Removing intermediate container 3b2e3a4d94c7 [2020-04-17T11:14:58.146Z] ---> 98638e446a70 [2020-04-17T11:14:58.146Z] Step 20/21 : LABEL git_sha=48688a4bd0b1e0580b86c0f4f944ad389879dbd8 [2020-04-17T11:14:58.146Z] ---> Running in cb8cbe3420ac [2020-04-17T11:14:58.406Z] Removing intermediate container cb8cbe3420ac [2020-04-17T11:14:58.406Z] ---> e3fd5b85c58e [2020-04-17T11:14:58.406Z] Step 21/21 : LABEL version=1.2.0-dev.25 [2020-04-17T11:14:58.406Z] ---> Running in 1fcb2f5b7c59 [2020-04-17T11:14:58.406Z] Removing intermediate container 1fcb2f5b7c59 [2020-04-17T11:14:58.406Z] ---> 238d228c91c0 [2020-04-17T11:14:58.406Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-17T11:14:58.406Z] Successfully built 238d228c91c0 [2020-04-17T11:14:58.406Z] 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] } [2020-04-17T11:15:17.990Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.099s coverage: 11.4% of statements [2020-04-17T11:15:17.990Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.045s coverage: 22.1% of statements [2020-04-17T11:15:17.990Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-17T11:15:17.990Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.180s coverage: 38.5% of statements [2020-04-17T11:15:17.990Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-17T11:15:17.990Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-17T11:15:17.990Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.747s coverage: 79.8% of statements [2020-04-17T11:15:17.990Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-17T11:15:17.990Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-17T11:15:17.990Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-17T11:15:17.990Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.036s coverage: 52.6% of statements [2020-04-17T11:15:17.990Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-17T11:15:17.990Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.327s coverage: 71.4% of statements [2020-04-17T11:15:17.990Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-17T11:15:17.990Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-17T11:15:17.990Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-17T11:15:19.962Z] gofmt -l . [2020-04-17T11:15:20.230Z] [ "`gofmt -l .`" = "" ] [2020-04-17T11:15:20.498Z] ./bin/test-attribution-txt.sh [2020-04-17T11:15:21.464Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-17T11:15:21.746Z] Warning: overwriting stash ‘coverage-report’ [2020-04-17T11:15:22.193Z] Stashed 1 file(s) [Pipeline] } [2020-04-17T11:15:22.203Z] $ docker stop --time=1 176723f7531a45fbb8d8dd39582c0af99bd70f2e09996aac46877d702a5205ab [2020-04-17T11:15:24.473Z] $ docker rm -f 176723f7531a45fbb8d8dd39582c0af99bd70f2e09996aac46877d702a5205ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-17T11:15:25.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-17T11:15:26.055Z] + ls -al . [2020-04-17T11:15:26.055Z] total 200 [2020-04-17T11:15:26.055Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 11:15 . [2020-04-17T11:15:26.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 11:12 .. [2020-04-17T11:15:26.055Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 11:13 .dockerignore [2020-04-17T11:15:26.055Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 11:13 .git [2020-04-17T11:15:26.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 11:13 .github [2020-04-17T11:15:26.055Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 17 11:13 .gitignore [2020-04-17T11:15:26.055Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 11:13 .semver [2020-04-17T11:15:26.055Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 17 11:13 Dockerfile.build [2020-04-17T11:15:26.055Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 17 11:13 Jenkinsfile [2020-04-17T11:15:26.055Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 11:13 LICENSE [2020-04-17T11:15:26.055Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 17 11:13 Makefile [2020-04-17T11:15:26.055Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 17 11:13 README.md [2020-04-17T11:15:26.055Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 11:10 VERSION [2020-04-17T11:15:26.055Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 11:13 api [2020-04-17T11:15:26.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 11:13 bin [2020-04-17T11:15:26.055Z] -rw-r--r-- 1 jenkins jenkins 96404 Apr 17 11:15 coverage.out [2020-04-17T11:15:26.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 11:13 example [2020-04-17T11:15:26.055Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 17 11:15 go.mod [2020-04-17T11:15:26.055Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 17 11:15 go.sum [2020-04-17T11:15:26.055Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 17 11:13 internal [2020-04-17T11:15:26.055Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 11:13 pkg [2020-04-17T11:15:26.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 11:13 snap [2020-04-17T11:15:26.055Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 11:13 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:15:26.385Z] + 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=48688a4bd0b1e0580b86c0f4f944ad389879dbd8 --label arch=arm64 --label version=1.2.0-dev.25 . [2020-04-17T11:15:26.974Z] Sending build context to Docker daemon 3.006MB [2020-04-17T11:15:26.974Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-17T11:15:26.974Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-17T11:15:26.974Z] ---> b9735419ed6f [2020-04-17T11:15:26.974Z] Step 3/21 : ARG MAKE='make build' [2020-04-17T11:15:27.242Z] ---> Running in 8ce83b93009d [2020-04-17T11:15:27.509Z] Removing intermediate container 8ce83b93009d [2020-04-17T11:15:27.509Z] ---> 86070c7bdcef [2020-04-17T11:15:27.509Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-17T11:15:27.509Z] ---> Running in 18650727af08 [2020-04-17T11:15:28.098Z] Removing intermediate container 18650727af08 [2020-04-17T11:15:28.098Z] ---> 64ac2c10461b [2020-04-17T11:15:28.098Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T11:15:28.098Z] ---> Running in eaaf359ae0cd [2020-04-17T11:15:28.366Z] Removing intermediate container eaaf359ae0cd [2020-04-17T11:15:28.366Z] ---> 270cf78639d9 [2020-04-17T11:15:28.366Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T11:15:28.634Z] ---> Running in 0931a6ac42e5 [2020-04-17T11:15:30.589Z] Removing intermediate container 0931a6ac42e5 [2020-04-17T11:15:30.589Z] ---> 7077aa4829f0 [2020-04-17T11:15:30.589Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-17T11:15:30.589Z] ---> Running in 34011b95b845 [2020-04-17T11:15:31.549Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-17T11:15:32.507Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-17T11:15:32.773Z] OK: 125 MiB in 39 packages [2020-04-17T11:15:34.186Z] Removing intermediate container 34011b95b845 [2020-04-17T11:15:34.186Z] ---> 31d19863f17c [2020-04-17T11:15:34.186Z] Step 8/21 : COPY . . [2020-04-17T11:15:35.160Z] ---> 137719d4edb6 [2020-04-17T11:15:35.160Z] Step 9/21 : RUN ${MAKE} [2020-04-17T11:15:35.160Z] ---> Running in bb5843b223aa [2020-04-17T11:15:36.126Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.25" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-17T11:16:02.843Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-17T11:16:02.843Z] Removing intermediate container bb5843b223aa [2020-04-17T11:16:02.843Z] ---> ad123bb51539 [2020-04-17T11:16:02.843Z] Step 10/21 : FROM scratch [2020-04-17T11:16:02.843Z] ---> [2020-04-17T11:16:02.843Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T11:16:02.843Z] ---> Running in cbc51cdc191c [2020-04-17T11:16:02.843Z] Removing intermediate container cbc51cdc191c [2020-04-17T11:16:02.843Z] ---> 77a495e72f78 [2020-04-17T11:16:02.843Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-17T11:16:02.843Z] ---> Running in 6ee82181319c [2020-04-17T11:16:02.843Z] Removing intermediate container 6ee82181319c [2020-04-17T11:16:02.843Z] ---> 220ce8704c98 [2020-04-17T11:16:02.843Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-17T11:16:02.843Z] ---> Running in d98f39f714a2 [2020-04-17T11:16:03.113Z] Removing intermediate container d98f39f714a2 [2020-04-17T11:16:03.113Z] ---> 274d2f62caee [2020-04-17T11:16:03.113Z] Step 14/21 : WORKDIR / [2020-04-17T11:16:03.113Z] ---> Running in a64ec911e50c [2020-04-17T11:16:03.379Z] Removing intermediate container a64ec911e50c [2020-04-17T11:16:03.379Z] ---> f0bbfe07397f [2020-04-17T11:16:03.379Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-17T11:16:04.342Z] ---> d85aa50a84d1 [2020-04-17T11:16:04.342Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-17T11:16:04.926Z] ---> 09956b504130 [2020-04-17T11:16:04.926Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-17T11:16:05.512Z] ---> d466b5c525d9 [2020-04-17T11:16:05.512Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-17T11:16:05.779Z] ---> Running in 8cdabe9bf058 [2020-04-17T11:16:06.046Z] Removing intermediate container 8cdabe9bf058 [2020-04-17T11:16:06.046Z] ---> d76077f572d7 [2020-04-17T11:16:06.046Z] Step 19/21 : LABEL arch=arm64 [2020-04-17T11:16:06.317Z] ---> Running in 4e83101cdf99 [2020-04-17T11:16:06.902Z] Removing intermediate container 4e83101cdf99 [2020-04-17T11:16:06.902Z] ---> 23e26ddded5a [2020-04-17T11:16:06.902Z] Step 20/21 : LABEL git_sha=48688a4bd0b1e0580b86c0f4f944ad389879dbd8 [2020-04-17T11:16:06.902Z] ---> Running in cd4c720895f8 [2020-04-17T11:16:07.170Z] Removing intermediate container cd4c720895f8 [2020-04-17T11:16:07.170Z] ---> bd450ff9b206 [2020-04-17T11:16:07.170Z] Step 21/21 : LABEL version=1.2.0-dev.25 [2020-04-17T11:16:07.439Z] ---> Running in a0e191c8b33c [2020-04-17T11:16:07.706Z] Removing intermediate container a0e191c8b33c [2020-04-17T11:16:07.706Z] ---> 5651f562ba59 [2020-04-17T11:16:07.706Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-17T11:16:07.971Z] Successfully built 5651f562ba59 [2020-04-17T11:16:07.971Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-17T11:16:09.100Z] provisioning config files... [2020-04-17T11:16:09.118Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2772682372648507561tmp [Pipeline] { [Pipeline] sh [2020-04-17T11:16:09.558Z] + curl -s https://codecov.io/bash [2020-04-17T11:16:09.558Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2772682372648507561tmp [2020-04-17T11:16:09.846Z] [2020-04-17T11:16:09.846Z] _____ _ [2020-04-17T11:16:09.846Z] / ____| | | [2020-04-17T11:16:09.846Z] | | ___ __| | ___ ___ _____ __ [2020-04-17T11:16:09.846Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-17T11:16:09.846Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-17T11:16:09.846Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-17T11:16:09.846Z] Bash-tbd [2020-04-17T11:16:09.846Z] [2020-04-17T11:16:09.846Z] [2020-04-17T11:16:09.846Z] ==> Jenkins CI detected. [2020-04-17T11:16:09.846Z] project root: . [2020-04-17T11:16:09.846Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-17T11:16:10.123Z] ==> Running gcov in . (disable via -X gcov) [2020-04-17T11:16:10.123Z] ==> Python coveragepy not found [2020-04-17T11:16:10.123Z] ==> Searching for coverage reports in: [2020-04-17T11:16:10.123Z] + . [2020-04-17T11:16:10.123Z] -> Found 1 reports [2020-04-17T11:16:10.123Z] ==> Detecting git/mercurial file structure [2020-04-17T11:16:10.123Z] ==> Reading reports [2020-04-17T11:16:10.123Z] + ./coverage.out bytes=96404 [2020-04-17T11:16:10.123Z] ==> Appending adjustments [2020-04-17T11:16:10.123Z] http://docs.codecov.io/docs/fixing-reports [2020-04-17T11:16:10.754Z] + Found adjustments [2020-04-17T11:16:10.754Z] ==> Gzipping contents [2020-04-17T11:16:10.754Z] ==> Uploading reports [2020-04-17T11:16:10.754Z] url: https://codecov.io [2020-04-17T11:16:10.754Z] query: branch=master&commit=48688a4bd0b1e0580b86c0f4f944ad389879dbd8&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-17T11:16:11.018Z] -> Pinging Codecov [2020-04-17T11:16:11.018Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=48688a4bd0b1e0580b86c0f4f944ad389879dbd8&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-17T11:18:32.878Z] -> Uploading [2020-04-17T11:18:32.878Z] X> Failed to upload [2020-04-17T11:18:32.878Z] -> Sleeping for 30s and trying again... [2020-04-17T11:18:48.122Z] -> Pinging Codecov [2020-04-17T11:18:48.123Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=48688a4bd0b1e0580b86c0f4f944ad389879dbd8&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-17T11:18:48.917Z] -> Uploading [2020-04-17T11:18:49.533Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/48688a4bd0b1e0580b86c0f4f944ad389879dbd8 [Pipeline] } [2020-04-17T11:18:49.579Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-17T11:18:49.913Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-17T11:18:49.914Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-17T11:18:49.987Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:18:50.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-17T11:18:50.643Z] [2020-04-17T11:18:50.643Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:18:51.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-17T11:18:51.352Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-17T11:18:51.352Z] e6b0cf9c0882: Pulling fs layer [2020-04-17T11:18:51.352Z] 2848faf0eed1: Pulling fs layer [2020-04-17T11:18:51.352Z] 0f37312ad70f: Pulling fs layer [2020-04-17T11:18:51.352Z] 7d08f2745646: Pulling fs layer [2020-04-17T11:18:51.352Z] 4c9f31393084: Pulling fs layer [2020-04-17T11:18:51.352Z] eb21ddb83652: Pulling fs layer [2020-04-17T11:18:51.352Z] 345998794f6b: Pulling fs layer [2020-04-17T11:18:51.352Z] 97a711d68925: Pulling fs layer [2020-04-17T11:18:51.352Z] 7c8476c1cb00: Pulling fs layer [2020-04-17T11:18:51.352Z] 97a711d68925: Waiting [2020-04-17T11:18:51.352Z] 7c8476c1cb00: Waiting [2020-04-17T11:18:51.352Z] 345998794f6b: Waiting [2020-04-17T11:18:51.352Z] 4c9f31393084: Waiting [2020-04-17T11:18:51.352Z] eb21ddb83652: Waiting [2020-04-17T11:18:51.352Z] 7d08f2745646: Waiting [2020-04-17T11:18:51.352Z] 0f37312ad70f: Verifying Checksum [2020-04-17T11:18:51.352Z] 0f37312ad70f: Download complete [2020-04-17T11:18:51.352Z] 2848faf0eed1: Verifying Checksum [2020-04-17T11:18:51.352Z] 2848faf0eed1: Download complete [2020-04-17T11:18:51.352Z] 4c9f31393084: Verifying Checksum [2020-04-17T11:18:51.352Z] 4c9f31393084: Download complete [2020-04-17T11:18:51.673Z] eb21ddb83652: Verifying Checksum [2020-04-17T11:18:51.673Z] eb21ddb83652: Download complete [2020-04-17T11:18:51.673Z] e6b0cf9c0882: Verifying Checksum [2020-04-17T11:18:51.673Z] e6b0cf9c0882: Download complete [2020-04-17T11:18:53.818Z] 345998794f6b: Verifying Checksum [2020-04-17T11:18:53.818Z] 345998794f6b: Download complete [2020-04-17T11:18:53.818Z] e6b0cf9c0882: Pull complete [2020-04-17T11:18:54.964Z] 97a711d68925: Verifying Checksum [2020-04-17T11:18:54.964Z] 97a711d68925: Download complete [2020-04-17T11:18:54.964Z] 7c8476c1cb00: Verifying Checksum [2020-04-17T11:18:54.964Z] 7c8476c1cb00: Download complete [2020-04-17T11:18:54.964Z] 2848faf0eed1: Pull complete [2020-04-17T11:18:55.311Z] 0f37312ad70f: Pull complete [2020-04-17T11:18:56.103Z] 7d08f2745646: Verifying Checksum [2020-04-17T11:18:56.103Z] 7d08f2745646: Download complete [2020-04-17T11:19:04.633Z] 7d08f2745646: Pull complete [2020-04-17T11:19:04.633Z] 4c9f31393084: Pull complete [2020-04-17T11:19:04.633Z] eb21ddb83652: Pull complete [2020-04-17T11:19:07.219Z] 345998794f6b: Pull complete [2020-04-17T11:19:10.575Z] 97a711d68925: Pull complete [2020-04-17T11:19:12.577Z] 7c8476c1cb00: Pull complete [2020-04-17T11:19:12.577Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-17T11:19:12.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-17T11:19:12.950Z] prd-centos7-docker-4c-2g-4493 does not seem to be running inside a container [2020-04-17T11:19:13.134Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-04-17T11:19:14.801Z] $ docker top ea40adbb21743a1db30740ccf7b9621a8e9ddcc555c84d1cf57b176608a487d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-17T11:19:15.721Z] + snyk monitor '--org=edgex-jenkins' [2020-04-17T11:19:22.562Z] [2020-04-17T11:19:22.562Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-04-17T11:19:22.562Z] [2020-04-17T11:19:22.562Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/a4daa959-4da3-41a7-ace3-17c82d54f53d [2020-04-17T11:19:22.562Z] [2020-04-17T11:19:22.562Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-17T11:19:22.562Z] [2020-04-17T11:19:22.562Z] [Pipeline] } [2020-04-17T11:19:22.597Z] $ docker stop --time=1 ea40adbb21743a1db30740ccf7b9621a8e9ddcc555c84d1cf57b176608a487d4 [2020-04-17T11:19:24.300Z] $ docker rm -f ea40adbb21743a1db30740ccf7b9621a8e9ddcc555c84d1cf57b176608a487d4 [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-04-17T11:19:25.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T11:19:25.990Z] . [Pipeline] withDockerContainer [2020-04-17T11:19:26.275Z] prd-centos7-docker-4c-2g-4493 does not seem to be running inside a container [2020-04-17T11:19:26.434Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-17T11:19:27.562Z] $ docker top 77805eb70e5bfc265f7f0e53f901b852e7cfdaeb97cae2aa280ab01671feb93f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-17T11:19:27.910Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T11:19:27.911Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T11:19:28.276Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T11:19:28.278Z] $ docker exec 77805eb70e5bfc265f7f0e53f901b852e7cfdaeb97cae2aa280ab01671feb93f ssh-agent [2020-04-17T11:19:28.756Z] SSH_AUTH_SOCK=/tmp/ssh-NbOh8kzao9O1/agent.14 [2020-04-17T11:19:28.756Z] SSH_AGENT_PID=21 [2020-04-17T11:19:28.766Z] Running ssh-add (command line suppressed) [2020-04-17T11:19:29.064Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5003845816776982709.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5003845816776982709.key) [2020-04-17T11:19:29.280Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T11:19:29.775Z] + git semver tag [2020-04-17T11:19:30.059Z] # -> Open(): unable to determine branch for HEAD [2020-04-17T11:19:30.059Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-17T11:19:30.059Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-17T11:19:30.059Z] # $SEMVER_REMOTE_NAME = origin [2020-04-17T11:19:30.059Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-17T11:19:30.059Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-17T11:19:30.059Z] # $SEMVER_BRANCH = master [2020-04-17T11:19:30.059Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-17T11:19:30.059Z] # 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 HEAD [2020-04-17T11:19:30.059Z] # -> Force: false [2020-04-17T11:19:30.059Z] # d3b6582e54b8e6ddae4645029b113a88962aaab2 refs/tags/v1.2.0-dev.25 [Pipeline] } [2020-04-17T11:19:30.136Z] $ docker exec --env ******** --env ******** 77805eb70e5bfc265f7f0e53f901b852e7cfdaeb97cae2aa280ab01671feb93f ssh-agent -k [2020-04-17T11:19:30.438Z] unset SSH_AUTH_SOCK; [2020-04-17T11:19:30.439Z] unset SSH_AGENT_PID; [2020-04-17T11:19:30.439Z] echo Agent pid 21 killed; [2020-04-17T11:19:30.646Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-17T11:19:31.191Z] + git semver [Pipeline] } [2020-04-17T11:19:31.242Z] $ docker stop --time=1 77805eb70e5bfc265f7f0e53f901b852e7cfdaeb97cae2aa280ab01671feb93f [2020-04-17T11:19:33.085Z] $ docker rm -f 77805eb70e5bfc265f7f0e53f901b852e7cfdaeb97cae2aa280ab01671feb93f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:19:33.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-17T11:19:33.704Z] [2020-04-17T11:19:33.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:19:34.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-17T11:19:34.082Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-17T11:19:34.082Z] ab5ef0e58194: Pulling fs layer [2020-04-17T11:19:34.082Z] 9712f1f96733: Pulling fs layer [2020-04-17T11:19:34.082Z] 63f879dbbcfc: Pulling fs layer [2020-04-17T11:19:34.082Z] 0d9ebad4ef96: Pulling fs layer [2020-04-17T11:19:34.082Z] e9a5061849ea: Pulling fs layer [2020-04-17T11:19:34.082Z] d747dcd14b5f: Pulling fs layer [2020-04-17T11:19:34.082Z] 2de7ff778b66: Pulling fs layer [2020-04-17T11:19:34.082Z] 0d9ebad4ef96: Waiting [2020-04-17T11:19:34.082Z] e9a5061849ea: Waiting [2020-04-17T11:19:34.082Z] d747dcd14b5f: Waiting [2020-04-17T11:19:34.082Z] 2de7ff778b66: Waiting [2020-04-17T11:19:34.361Z] 9712f1f96733: Verifying Checksum [2020-04-17T11:19:34.361Z] 9712f1f96733: Download complete [2020-04-17T11:19:35.368Z] 63f879dbbcfc: Verifying Checksum [2020-04-17T11:19:35.368Z] 63f879dbbcfc: Download complete [2020-04-17T11:19:35.977Z] e9a5061849ea: Verifying Checksum [2020-04-17T11:19:35.977Z] e9a5061849ea: Download complete [2020-04-17T11:19:35.977Z] 0d9ebad4ef96: Verifying Checksum [2020-04-17T11:19:35.977Z] 0d9ebad4ef96: Download complete [2020-04-17T11:19:35.977Z] d747dcd14b5f: Verifying Checksum [2020-04-17T11:19:35.977Z] d747dcd14b5f: Download complete [2020-04-17T11:19:36.332Z] ab5ef0e58194: Verifying Checksum [2020-04-17T11:19:36.332Z] ab5ef0e58194: Download complete [2020-04-17T11:19:37.781Z] 2de7ff778b66: Verifying Checksum [2020-04-17T11:19:37.781Z] 2de7ff778b66: Download complete [2020-04-17T11:19:43.220Z] ab5ef0e58194: Pull complete [2020-04-17T11:19:43.220Z] 9712f1f96733: Pull complete [2020-04-17T11:19:44.708Z] 63f879dbbcfc: Pull complete [2020-04-17T11:19:55.011Z] 0d9ebad4ef96: Pull complete [2020-04-17T11:19:56.449Z] e9a5061849ea: Pull complete [2020-04-17T11:19:56.449Z] d747dcd14b5f: Pull complete [2020-04-17T11:19:59.857Z] 2de7ff778b66: Pull complete [2020-04-17T11:19:59.857Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-17T11:19:59.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-17T11:20:00.289Z] prd-centos7-docker-4c-2g-4493 does not seem to be running inside a container [2020-04-17T11:20:00.734Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-04-17T11:20:03.149Z] $ docker top b900454d7d0e0e67bccce6c29b4d00d45b616861c8f9f052c097842ad2506a76 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-17T11:20:03.616Z] provisioning config files... [2020-04-17T11:20:03.741Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7300657389328233994tmp [2020-04-17T11:20:03.840Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config692573235555709459tmp [2020-04-17T11:20:03.922Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2797151148814769817tmp [Pipeline] { [Pipeline] echo [2020-04-17T11:20:03.978Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T11:20:04.642Z] ---> sigul-configuration.sh [2020-04-17T11:20:04.642Z] gpg: directory `/root/.gnupg' created [2020-04-17T11:20:04.642Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-17T11:20:04.642Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-17T11:20:04.642Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-17T11:20:04.643Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-17T11:20:04.643Z] gpg: CAST5 encrypted data [2020-04-17T11:20:04.643Z] gpg: encrypted with 1 passphrase [2020-04-17T11:20:04.927Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-17T11:20:05.607Z] + mkdir /home/jenkins [2020-04-17T11:20:05.607Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-17T11:20:05.937Z] + 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-04-17T11:20:06.215Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T11:20:06.881Z] ---> sigul-install.sh [2020-04-17T11:20:19.559Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-17T11:20:19.891Z] + git tag --list [2020-04-17T11:20:19.891Z] v1.2.0-dev.25 [Pipeline] sh [2020-04-17T11:20:20.219Z] + lftools sign git-tag v1.2.0-dev.25 [2020-04-17T11:20:22.442Z] Signing Git tag with Sigul... [2020-04-17T11:20:22.442Z] Signing v1.2.0-dev.25 [Pipeline] echo [2020-04-17T11:20:23.868Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T11:20:24.171Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-17T11:20:24.178Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-17T11:20:24.293Z] $ docker stop --time=1 b900454d7d0e0e67bccce6c29b4d00d45b616861c8f9f052c097842ad2506a76 [2020-04-17T11:20:25.768Z] $ docker rm -f b900454d7d0e0e67bccce6c29b4d00d45b616861c8f9f052c097842ad2506a76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:20:26.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T11:20:26.504Z] . [Pipeline] withDockerContainer [2020-04-17T11:20:26.638Z] prd-centos7-docker-4c-2g-4493 does not seem to be running inside a container [2020-04-17T11:20:26.698Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-17T11:20:27.416Z] $ docker top bb1807592e192694e85fc99602abef720ee251decb88cb04fcb9379727733be7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-17T11:20:27.754Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T11:20:27.754Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T11:20:28.077Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T11:20:28.080Z] $ docker exec bb1807592e192694e85fc99602abef720ee251decb88cb04fcb9379727733be7 ssh-agent [2020-04-17T11:20:28.349Z] SSH_AUTH_SOCK=/tmp/ssh-4r1x8HTyLNIV/agent.15 [2020-04-17T11:20:28.349Z] SSH_AGENT_PID=22 [2020-04-17T11:20:28.562Z] Running ssh-add (command line suppressed) [2020-04-17T11:20:29.149Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8958804316046813464.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8958804316046813464.key) [2020-04-17T11:20:29.341Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T11:20:30.077Z] + git semver bump pre [2020-04-17T11:20:30.077Z] # -> Open(): unable to determine branch for HEAD [2020-04-17T11:20:30.077Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-17T11:20:30.077Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-17T11:20:30.077Z] # $SEMVER_REMOTE_NAME = origin [2020-04-17T11:20:30.077Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-17T11:20:30.077Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-17T11:20:30.077Z] # $SEMVER_BRANCH = master [2020-04-17T11:20:30.077Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-17T11:20:30.077Z] 1.2.0-dev.26 [Pipeline] } [2020-04-17T11:20:30.095Z] $ docker exec --env ******** --env ******** bb1807592e192694e85fc99602abef720ee251decb88cb04fcb9379727733be7 ssh-agent -k [2020-04-17T11:20:30.793Z] unset SSH_AUTH_SOCK; [2020-04-17T11:20:30.793Z] unset SSH_AGENT_PID; [2020-04-17T11:20:30.804Z] echo Agent pid 22 killed; [2020-04-17T11:20:30.949Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-17T11:20:32.168Z] + git semver [Pipeline] } [2020-04-17T11:20:32.189Z] $ docker stop --time=1 bb1807592e192694e85fc99602abef720ee251decb88cb04fcb9379727733be7 [2020-04-17T11:20:34.231Z] $ docker rm -f bb1807592e192694e85fc99602abef720ee251decb88cb04fcb9379727733be7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:20:34.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T11:20:35.095Z] . [Pipeline] withDockerContainer [2020-04-17T11:20:35.490Z] prd-centos7-docker-4c-2g-4493 does not seem to be running inside a container [2020-04-17T11:20:35.596Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-17T11:20:36.455Z] $ docker top d853db4d8c2d98d6278f4760ef998980be0089d56acefe2a2b13ddbc2014215d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-17T11:20:36.933Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T11:20:36.934Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T11:20:37.406Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T11:20:37.423Z] $ docker exec d853db4d8c2d98d6278f4760ef998980be0089d56acefe2a2b13ddbc2014215d ssh-agent [2020-04-17T11:20:38.094Z] SSH_AUTH_SOCK=/tmp/ssh-sCF7BQQokDyD/agent.16 [2020-04-17T11:20:38.094Z] SSH_AGENT_PID=22 [2020-04-17T11:20:38.154Z] Running ssh-add (command line suppressed) [2020-04-17T11:20:38.501Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6149968467744095520.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6149968467744095520.key) [2020-04-17T11:20:38.631Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T11:20:39.807Z] + git semver push [2020-04-17T11:20:39.807Z] # -> Open(): unable to determine branch for HEAD [2020-04-17T11:20:39.807Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-17T11:20:39.807Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-17T11:20:39.807Z] # $SEMVER_REMOTE_NAME = origin [2020-04-17T11:20:39.807Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-17T11:20:39.807Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-17T11:20:39.807Z] # $SEMVER_BRANCH = master [2020-04-17T11:20:39.807Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-17T11:20:46.590Z] $ docker exec --env ******** --env ******** d853db4d8c2d98d6278f4760ef998980be0089d56acefe2a2b13ddbc2014215d ssh-agent -k [2020-04-17T11:20:46.984Z] unset SSH_AUTH_SOCK; [2020-04-17T11:20:46.985Z] unset SSH_AGENT_PID; [2020-04-17T11:20:46.986Z] echo Agent pid 22 killed; [2020-04-17T11:20:47.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-17T11:20:48.271Z] + git semver [Pipeline] } [2020-04-17T11:20:48.425Z] $ docker stop --time=1 d853db4d8c2d98d6278f4760ef998980be0089d56acefe2a2b13ddbc2014215d [2020-04-17T11:20:50.675Z] $ docker rm -f d853db4d8c2d98d6278f4760ef998980be0089d56acefe2a2b13ddbc2014215d [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-04-17T11:20:52.043Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T11:20:52.796Z] ---> package-listing.sh [2020-04-17T11:20:52.796Z] ++ facter osfamily [2020-04-17T11:20:52.796Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-17T11:20:52.796Z] + OS_FAMILY=redhat [2020-04-17T11:20:52.796Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-04-17T11:20:52.796Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-17T11:20:52.796Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-17T11:20:52.796Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-17T11:20:52.796Z] + PACKAGES=/tmp/packages_start.txt [2020-04-17T11:20:52.796Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-17T11:20:52.796Z] + PACKAGES=/tmp/packages_end.txt [2020-04-17T11:20:52.796Z] + case "${OS_FAMILY}" in [2020-04-17T11:20:52.796Z] + sort [2020-04-17T11:20:52.796Z] + rpm -qa [2020-04-17T11:20:59.502Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-17T11:20:59.502Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-17T11:20:59.502Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-17T11:20:59.502Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-17T11:20:59.502Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-04-17T11:20:59.502Z] + 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-04-17T11:21:00.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-17T11:21:00.168Z] [2020-04-17T11:21:00.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-17T11:21:00.616Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-17T11:21:00.616Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-17T11:21:00.616Z] c9b1b535fdd9: Pulling fs layer [2020-04-17T11:21:00.616Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-17T11:21:00.616Z] 756a868c4378: Pulling fs layer [2020-04-17T11:21:00.616Z] 444b2fc9a129: Pulling fs layer [2020-04-17T11:21:00.616Z] ea15f1150254: Pulling fs layer [2020-04-17T11:21:00.616Z] 41b27a9f41bf: Pulling fs layer [2020-04-17T11:21:00.616Z] 28c525ee5125: Pulling fs layer [2020-04-17T11:21:00.616Z] 094b1ea09ed8: Pulling fs layer [2020-04-17T11:21:00.616Z] 138eaada9080: Pulling fs layer [2020-04-17T11:21:00.616Z] 0622d0fa9048: Pulling fs layer [2020-04-17T11:21:00.616Z] 28c525ee5125: Waiting [2020-04-17T11:21:00.616Z] 094b1ea09ed8: Waiting [2020-04-17T11:21:00.616Z] 138eaada9080: Waiting [2020-04-17T11:21:00.616Z] 0622d0fa9048: Waiting [2020-04-17T11:21:00.616Z] 444b2fc9a129: Waiting [2020-04-17T11:21:00.616Z] ea15f1150254: Waiting [2020-04-17T11:21:00.616Z] 41b27a9f41bf: Waiting [2020-04-17T11:21:00.616Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-17T11:21:00.616Z] 2cc5ad85d9ab: Download complete [2020-04-17T11:21:00.616Z] 444b2fc9a129: Verifying Checksum [2020-04-17T11:21:00.616Z] 444b2fc9a129: Download complete [2020-04-17T11:21:00.914Z] c9b1b535fdd9: Verifying Checksum [2020-04-17T11:21:00.914Z] c9b1b535fdd9: Download complete [2020-04-17T11:21:00.914Z] ea15f1150254: Verifying Checksum [2020-04-17T11:21:00.914Z] ea15f1150254: Download complete [2020-04-17T11:21:01.223Z] 28c525ee5125: Verifying Checksum [2020-04-17T11:21:01.223Z] 28c525ee5125: Download complete [2020-04-17T11:21:01.851Z] c9b1b535fdd9: Pull complete [2020-04-17T11:21:02.240Z] 756a868c4378: Verifying Checksum [2020-04-17T11:21:02.240Z] 756a868c4378: Download complete [2020-04-17T11:21:02.240Z] 2cc5ad85d9ab: Pull complete [2020-04-17T11:21:03.172Z] 138eaada9080: Verifying Checksum [2020-04-17T11:21:03.172Z] 138eaada9080: Download complete [2020-04-17T11:21:03.468Z] 0622d0fa9048: Verifying Checksum [2020-04-17T11:21:03.468Z] 0622d0fa9048: Download complete [2020-04-17T11:21:03.468Z] 094b1ea09ed8: Verifying Checksum [2020-04-17T11:21:03.468Z] 094b1ea09ed8: Download complete [2020-04-17T11:21:04.491Z] 41b27a9f41bf: Download complete [2020-04-17T11:21:05.108Z] 756a868c4378: Pull complete [2020-04-17T11:21:05.410Z] 444b2fc9a129: Pull complete [2020-04-17T11:21:05.702Z] ea15f1150254: Pull complete [2020-04-17T11:21:10.160Z] 41b27a9f41bf: Pull complete [2020-04-17T11:21:10.160Z] 28c525ee5125: Pull complete [2020-04-17T11:21:15.582Z] 094b1ea09ed8: Pull complete [2020-04-17T11:21:15.582Z] 138eaada9080: Pull complete [2020-04-17T11:21:16.038Z] 0622d0fa9048: Pull complete [2020-04-17T11:21:16.038Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-17T11:21:16.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-17T11:21:16.368Z] prd-centos7-docker-4c-2g-4493 does not seem to be running inside a container [2020-04-17T11:21:17.111Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-17T11:21:18.735Z] $ docker top 7abf31321b24d601e8231454ab6808dfd418a5196b7cedbbd2c17c45fd171c18 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-17T11:21:19.396Z] provisioning config files... [2020-04-17T11:21:19.438Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7141278724022169729tmp [Pipeline] { [Pipeline] echo [2020-04-17T11:21:19.492Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T11:21:20.139Z] ---> create-netrc.sh [Pipeline] echo [2020-04-17T11:21:20.166Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T11:21:21.082Z] ---> logs-deploy.sh [2020-04-17T11:21:21.082Z] + ARCHIVE_ARTIFACTS= [2020-04-17T11:21:21.082Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-17T11:21:21.082Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-17T11:21:21.082Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-17T11:21:21.082Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/25 [2020-04-17T11:21:21.082Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/25/ [2020-04-17T11:21:21.082Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/25 /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-17T11:21:22.510Z] Archives upload complete. [2020-04-17T11:21:22.510Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/25 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/25/