Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 40c90adbf9fac26db7d7745c142bac7f98eae2fe 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3807 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 without tags 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 > 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 Checking out Revision 40c90adbf9fac26db7d7745c142bac7f98eae2fe (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 Commit message: "Merge pull request #483 from hahattan/issue-482" > git rev-list --no-walk cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-14T09:39:32.804Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:39:34.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T09:39:34.749Z] [2020-04-14T09:39:34.749Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:39:35.109Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T09:39:35.110Z] latest: Pulling from edgex-devops/git-semver [2020-04-14T09:39:35.110Z] 9123ac7c32f7: Pulling fs layer [2020-04-14T09:39:35.110Z] b8cc5d1170e3: Pulling fs layer [2020-04-14T09:39:35.110Z] 2924cbbf6a41: Pulling fs layer [2020-04-14T09:39:35.110Z] 93b08a4f1073: Pulling fs layer [2020-04-14T09:39:35.110Z] 93b08a4f1073: Waiting [2020-04-14T09:39:35.110Z] b8cc5d1170e3: Verifying Checksum [2020-04-14T09:39:35.110Z] b8cc5d1170e3: Download complete [2020-04-14T09:39:35.371Z] 9123ac7c32f7: Download complete [2020-04-14T09:39:35.371Z] 93b08a4f1073: Verifying Checksum [2020-04-14T09:39:35.371Z] 93b08a4f1073: Download complete [2020-04-14T09:39:35.371Z] 2924cbbf6a41: Verifying Checksum [2020-04-14T09:39:35.371Z] 2924cbbf6a41: Download complete [2020-04-14T09:39:35.632Z] 9123ac7c32f7: Pull complete [2020-04-14T09:39:35.632Z] b8cc5d1170e3: Pull complete [2020-04-14T09:39:36.572Z] 2924cbbf6a41: Pull complete [2020-04-14T09:39:36.572Z] 93b08a4f1073: Pull complete [2020-04-14T09:39:36.572Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-14T09:39:36.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-14T09:39:36.695Z] prd-centos7-docker-4c-2g-3807 does not seem to be running inside a container [2020-04-14T09:39:36.750Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-14T09:39:37.428Z] $ docker top 37d9d52d85b0550ae0b72c45910c73bc568847b0711916cdf406f5947e9fbf52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-14T09:39:37.698Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T09:39:37.698Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T09:39:37.911Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T09:39:37.914Z] $ docker exec 37d9d52d85b0550ae0b72c45910c73bc568847b0711916cdf406f5947e9fbf52 ssh-agent [2020-04-14T09:39:38.094Z] SSH_AUTH_SOCK=/tmp/ssh-Q0rIIC1iCro5/agent.15 [2020-04-14T09:39:38.094Z] SSH_AGENT_PID=21 [2020-04-14T09:39:38.106Z] Running ssh-add (command line suppressed) [2020-04-14T09:39:38.261Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5248102316815303736.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5248102316815303736.key) [2020-04-14T09:39:38.311Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T09:39:38.631Z] + git describe --exact-match --tags HEAD [2020-04-14T09:39:38.631Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-14T09:39:38.692Z] $ docker exec --env ******** --env ******** 37d9d52d85b0550ae0b72c45910c73bc568847b0711916cdf406f5947e9fbf52 ssh-agent -k [2020-04-14T09:39:38.830Z] unset SSH_AUTH_SOCK; [2020-04-14T09:39:38.831Z] unset SSH_AGENT_PID; [2020-04-14T09:39:38.831Z] echo Agent pid 21 killed; [2020-04-14T09:39:38.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-14T09:39:38.936Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-14T09:39:38.937Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-14T09:39:39.010Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T09:39:39.010Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T09:39:39.198Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T09:39:39.202Z] $ docker exec 37d9d52d85b0550ae0b72c45910c73bc568847b0711916cdf406f5947e9fbf52 ssh-agent [2020-04-14T09:39:39.379Z] SSH_AUTH_SOCK=/tmp/ssh-tjfR1tb3m8oG/agent.56 [2020-04-14T09:39:39.379Z] SSH_AGENT_PID=63 [2020-04-14T09:39:39.386Z] Running ssh-add (command line suppressed) [2020-04-14T09:39:39.540Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8320011297202529461.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8320011297202529461.key) [2020-04-14T09:39:39.590Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T09:39:39.907Z] + git semver init [2020-04-14T09:39:39.907Z] # -> Open(): unable to determine branch for HEAD [2020-04-14T09:39:39.907Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-14T09:39:39.907Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-14T09:39:39.907Z] # $SEMVER_REMOTE_NAME = origin [2020-04-14T09:39:39.907Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-14T09:39:39.907Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-14T09:39:39.907Z] # $SEMVER_BRANCH = master [2020-04-14T09:39:39.907Z] # $SEMVER_TEMP = /tmp/semver-142578492 [2020-04-14T09:39:39.907Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-14T09:39:40.475Z] # '/tmp/semver-142578492' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-04-14T09:39:40.475Z] # -> Force: false [2020-04-14T09:39:40.475Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-14T09:39:40.483Z] $ docker exec --env ******** --env ******** 37d9d52d85b0550ae0b72c45910c73bc568847b0711916cdf406f5947e9fbf52 ssh-agent -k [2020-04-14T09:39:40.614Z] unset SSH_AUTH_SOCK; [2020-04-14T09:39:40.614Z] unset SSH_AGENT_PID; [2020-04-14T09:39:40.614Z] echo Agent pid 63 killed; [2020-04-14T09:39:40.659Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-14T09:39:41.083Z] + git semver [Pipeline] } [2020-04-14T09:39:41.096Z] $ docker stop --time=1 37d9d52d85b0550ae0b72c45910c73bc568847b0711916cdf406f5947e9fbf52 [2020-04-14T09:39:42.433Z] $ docker rm -f 37d9d52d85b0550ae0b72c45910c73bc568847b0711916cdf406f5947e9fbf52 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-14T09:39:43.181Z] Stashed 38 file(s) [Pipeline] echo [2020-04-14T09:39:43.183Z] [edgeXSemver] initialized semver on version 1.2.0-dev.21 [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-14T09:39:58.448Z] Still waiting to schedule task [2020-04-14T09:39:58.449Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-14T09:39:58.450Z] Still waiting to schedule task [2020-04-14T09:39:58.450Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-14T09:41:40.658Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3808 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-14T09:41:40.748Z] Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout [2020-04-14T09:41:46.650Z] using credential edgex-jenkins-ssh [2020-04-14T09:41:46.699Z] Cloning the remote Git repository [2020-04-14T09:41:46.699Z] Cloning with configured refspecs honoured and without tags [2020-04-14T09:41:46.796Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T09:41:46.882Z] > git init /w/workspace/device-sdk-go/21 # timeout=10 [2020-04-14T09:41:46.969Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T09:41:46.976Z] > git --version # timeout=10 [2020-04-14T09:41:47.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T09:41:47.089Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T09:41:48.207Z] Fetching without tags [2020-04-14T09:41:48.100Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T09:41:48.150Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T09:41:48.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T09:41:48.247Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T09:41:48.250Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T09:41:48.274Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T09:41:48.760Z] Checking out Revision 40c90adbf9fac26db7d7745c142bac7f98eae2fe (master) [2020-04-14T09:41:48.841Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T09:41:48.871Z] > git checkout -f 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 [2020-04-14T09:41:53.544Z] Commit message: "Merge pull request #483 from hahattan/issue-482" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-14T09:41:54.762Z] ========================================================= [2020-04-14T09:41:54.762Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-14T09:41:54.762Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:41:55.844Z] + 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-14T09:41:56.827Z] Sending build context to Docker daemon 2.882MB [2020-04-14T09:41:56.827Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-14T09:41:56.827Z] Step 2/8 : FROM ${BASE} [2020-04-14T09:41:57.174Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-14T09:41:57.174Z] cde5963f3b93: Pulling fs layer [2020-04-14T09:41:57.174Z] 2a23fa8c16f7: Pulling fs layer [2020-04-14T09:41:57.174Z] 777b28850792: Pulling fs layer [2020-04-14T09:41:57.174Z] 8a11ddd9e578: Pulling fs layer [2020-04-14T09:41:57.174Z] 4cf88f913ddb: Pulling fs layer [2020-04-14T09:41:57.174Z] 1df406cf5192: Pulling fs layer [2020-04-14T09:41:57.174Z] cd6300453558: Pulling fs layer [2020-04-14T09:41:57.174Z] b9c365052c96: Pulling fs layer [2020-04-14T09:41:57.174Z] a2d8cc88f415: Pulling fs layer [2020-04-14T09:41:57.174Z] ea1d1ca13537: Pulling fs layer [2020-04-14T09:41:57.174Z] 3750a50a1c5e: Pulling fs layer [2020-04-14T09:41:57.174Z] 1df406cf5192: Waiting [2020-04-14T09:41:57.174Z] cd6300453558: Waiting [2020-04-14T09:41:57.174Z] b9c365052c96: Waiting [2020-04-14T09:41:57.174Z] a2d8cc88f415: Waiting [2020-04-14T09:41:57.174Z] ea1d1ca13537: Waiting [2020-04-14T09:41:57.175Z] 3750a50a1c5e: Waiting [2020-04-14T09:41:57.175Z] 8a11ddd9e578: Waiting [2020-04-14T09:41:57.175Z] 4cf88f913ddb: Waiting [2020-04-14T09:41:57.175Z] 777b28850792: Verifying Checksum [2020-04-14T09:41:57.175Z] 777b28850792: Download complete [2020-04-14T09:41:57.175Z] 2a23fa8c16f7: Download complete [2020-04-14T09:41:57.175Z] 4cf88f913ddb: Verifying Checksum [2020-04-14T09:41:57.175Z] 4cf88f913ddb: Download complete [2020-04-14T09:41:57.175Z] 1df406cf5192: Download complete [2020-04-14T09:41:57.456Z] cde5963f3b93: Verifying Checksum [2020-04-14T09:41:57.456Z] cde5963f3b93: Download complete [2020-04-14T09:41:58.435Z] cde5963f3b93: Pull complete [2020-04-14T09:41:59.026Z] 2a23fa8c16f7: Pull complete [2020-04-14T09:41:59.297Z] 777b28850792: Pull complete [2020-04-14T09:42:01.896Z] cd6300453558: Verifying Checksum [2020-04-14T09:42:01.896Z] cd6300453558: Download complete [2020-04-14T09:42:01.896Z] a2d8cc88f415: Download complete [2020-04-14T09:42:03.840Z] ea1d1ca13537: Verifying Checksum [2020-04-14T09:42:03.840Z] ea1d1ca13537: Download complete [2020-04-14T09:42:04.112Z] 3750a50a1c5e: Download complete [2020-04-14T09:42:06.703Z] b9c365052c96: Verifying Checksum [2020-04-14T09:42:06.703Z] b9c365052c96: Download complete [2020-04-14T09:42:08.641Z] 8a11ddd9e578: Verifying Checksum [2020-04-14T09:42:08.641Z] 8a11ddd9e578: Download complete [2020-04-14T09:42:15.460Z] Running on prd-centos7-docker-4c-2g-3809 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-14T09:42:15.562Z] Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout [2020-04-14T09:42:17.833Z] using credential edgex-jenkins-ssh [2020-04-14T09:42:17.878Z] Cloning the remote Git repository [2020-04-14T09:42:17.878Z] Cloning with configured refspecs honoured and without tags [2020-04-14T09:42:17.457Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T09:42:18.675Z] Fetching without tags [2020-04-14T09:42:17.495Z] > git init /w/workspace/device-sdk-go/21 # timeout=10 [2020-04-14T09:42:17.538Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T09:42:17.539Z] > git --version # timeout=10 [2020-04-14T09:42:17.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T09:42:17.574Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T09:42:18.263Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T09:42:18.274Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T09:42:18.287Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T09:42:18.298Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T09:42:18.298Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T09:42:18.304Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T09:42:19.076Z] Checking out Revision 40c90adbf9fac26db7d7745c142bac7f98eae2fe (master) [2020-04-14T09:42:18.738Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T09:42:18.746Z] > git checkout -f 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 [2020-04-14T09:42:21.005Z] 8a11ddd9e578: Pull complete [2020-04-14T09:42:21.005Z] 4cf88f913ddb: Pull complete [2020-04-14T09:42:21.005Z] 1df406cf5192: Pull complete [2020-04-14T09:42:22.624Z] Commit message: "Merge pull request #483 from hahattan/issue-482" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-14T09:42:23.586Z] ========================================================= [2020-04-14T09:42:23.586Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-14T09:42:23.586Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:42:24.684Z] + 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-14T09:42:24.944Z] Sending build context to Docker daemon 2.882MB [2020-04-14T09:42:24.944Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-14T09:42:24.945Z] Step 2/8 : FROM ${BASE} [2020-04-14T09:42:24.945Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-14T09:42:24.945Z] e6b0cf9c0882: Pulling fs layer [2020-04-14T09:42:24.945Z] 2848faf0eed1: Pulling fs layer [2020-04-14T09:42:24.945Z] 0f37312ad70f: Pulling fs layer [2020-04-14T09:42:24.945Z] 5788d62ee057: Pulling fs layer [2020-04-14T09:42:24.945Z] 0e6b1d234666: Pulling fs layer [2020-04-14T09:42:24.945Z] bf5d7aec512f: Pulling fs layer [2020-04-14T09:42:24.945Z] 34c802a77dc8: Pulling fs layer [2020-04-14T09:42:24.945Z] 9eb99e56ec68: Pulling fs layer [2020-04-14T09:42:24.945Z] 27c7a5d97fbd: Pulling fs layer [2020-04-14T09:42:24.945Z] 5c102a31e300: Pulling fs layer [2020-04-14T09:42:24.945Z] dcfb455df0a1: Pulling fs layer [2020-04-14T09:42:24.945Z] 34c802a77dc8: Waiting [2020-04-14T09:42:24.945Z] 5c102a31e300: Waiting [2020-04-14T09:42:24.945Z] 9eb99e56ec68: Waiting [2020-04-14T09:42:24.945Z] 27c7a5d97fbd: Waiting [2020-04-14T09:42:24.945Z] dcfb455df0a1: Waiting [2020-04-14T09:42:24.945Z] 0e6b1d234666: Waiting [2020-04-14T09:42:24.945Z] 5788d62ee057: Waiting [2020-04-14T09:42:24.945Z] bf5d7aec512f: Waiting [2020-04-14T09:42:24.945Z] 0f37312ad70f: Verifying Checksum [2020-04-14T09:42:24.945Z] 0f37312ad70f: Download complete [2020-04-14T09:42:24.945Z] 2848faf0eed1: Verifying Checksum [2020-04-14T09:42:24.945Z] 2848faf0eed1: Download complete [2020-04-14T09:42:24.945Z] 0e6b1d234666: Verifying Checksum [2020-04-14T09:42:24.945Z] 0e6b1d234666: Download complete [2020-04-14T09:42:24.945Z] bf5d7aec512f: Verifying Checksum [2020-04-14T09:42:24.945Z] bf5d7aec512f: Download complete [2020-04-14T09:42:24.945Z] e6b0cf9c0882: Verifying Checksum [2020-04-14T09:42:25.279Z] cd6300453558: Pull complete [2020-04-14T09:42:25.518Z] e6b0cf9c0882: Pull complete [2020-04-14T09:42:25.518Z] 2848faf0eed1: Pull complete [2020-04-14T09:42:26.103Z] 34c802a77dc8: Verifying Checksum [2020-04-14T09:42:26.103Z] 34c802a77dc8: Download complete [2020-04-14T09:42:26.103Z] 27c7a5d97fbd: Verifying Checksum [2020-04-14T09:42:26.103Z] 27c7a5d97fbd: Download complete [2020-04-14T09:42:26.362Z] 9eb99e56ec68: Verifying Checksum [2020-04-14T09:42:26.363Z] 9eb99e56ec68: Download complete [2020-04-14T09:42:26.363Z] 5c102a31e300: Verifying Checksum [2020-04-14T09:42:26.363Z] 5c102a31e300: Download complete [2020-04-14T09:42:26.623Z] dcfb455df0a1: Download complete [2020-04-14T09:42:26.623Z] 5788d62ee057: Verifying Checksum [2020-04-14T09:42:26.623Z] 5788d62ee057: Download complete [2020-04-14T09:42:27.191Z] 0f37312ad70f: Pull complete [2020-04-14T09:42:30.640Z] b9c365052c96: Pull complete [2020-04-14T09:42:30.640Z] a2d8cc88f415: Pull complete [2020-04-14T09:42:32.472Z] 5788d62ee057: Pull complete [2020-04-14T09:42:32.605Z] ea1d1ca13537: Pull complete [2020-04-14T09:42:32.605Z] 3750a50a1c5e: Pull complete [2020-04-14T09:42:32.605Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-14T09:42:32.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-14T09:42:32.731Z] 0e6b1d234666: Pull complete [2020-04-14T09:42:32.731Z] bf5d7aec512f: Pull complete [2020-04-14T09:42:32.872Z] ---> 78745c68409d [2020-04-14T09:42:32.873Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T09:42:37.145Z] ---> Running in a8906ee079c0 [2020-04-14T09:42:37.741Z] Removing intermediate container a8906ee079c0 [2020-04-14T09:42:37.741Z] ---> 6aeba2f97807 [2020-04-14T09:42:37.741Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T09:42:37.741Z] ---> Running in 9e12bcd67018 [2020-04-14T09:42:38.005Z] 34c802a77dc8: Pull complete [2020-04-14T09:42:40.344Z] Removing intermediate container 9e12bcd67018 [2020-04-14T09:42:40.344Z] ---> 49f2d9c8d0bb [2020-04-14T09:42:40.344Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-14T09:42:40.344Z] ---> Running in 2a1943880a34 [2020-04-14T09:42:40.931Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-14T09:42:41.893Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-14T09:42:42.205Z] 9eb99e56ec68: Pull complete [2020-04-14T09:42:42.205Z] 27c7a5d97fbd: Pull complete [2020-04-14T09:42:42.479Z] OK: 125 MiB in 39 packages [2020-04-14T09:42:43.145Z] 5c102a31e300: Pull complete [2020-04-14T09:42:43.403Z] dcfb455df0a1: Pull complete [2020-04-14T09:42:43.403Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-14T09:42:43.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-14T09:42:43.403Z] ---> 7c70fe431013 [2020-04-14T09:42:43.403Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T09:42:43.403Z] ---> Running in 57c098050691 [2020-04-14T09:42:43.403Z] Removing intermediate container 57c098050691 [2020-04-14T09:42:43.403Z] ---> 3aabbf83feb9 [2020-04-14T09:42:43.403Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T09:42:43.663Z] ---> Running in 448b5abd5dcd [2020-04-14T09:42:43.894Z] Removing intermediate container 2a1943880a34 [2020-04-14T09:42:43.894Z] ---> 71b5ec18ae75 [2020-04-14T09:42:43.894Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-14T09:42:43.894Z] ---> Running in 4d75e09efcf5 [2020-04-14T09:42:44.164Z] Removing intermediate container 4d75e09efcf5 [2020-04-14T09:42:44.164Z] ---> 85077987cf82 [2020-04-14T09:42:44.164Z] Step 7/8 : COPY . . [2020-04-14T09:42:44.600Z] Removing intermediate container 448b5abd5dcd [2020-04-14T09:42:44.600Z] ---> d300b1c25175 [2020-04-14T09:42:44.600Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-14T09:42:44.600Z] ---> Running in ff3434f46c05 [2020-04-14T09:42:44.859Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-14T09:42:45.580Z] ---> de26d4a09e88 [2020-04-14T09:42:45.580Z] Step 8/8 : RUN go mod download [2020-04-14T09:42:45.580Z] ---> Running in a4e95186d541 [2020-04-14T09:42:45.795Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-14T09:42:46.055Z] OK: 143 MiB in 39 packages [2020-04-14T09:42:46.316Z] Removing intermediate container ff3434f46c05 [2020-04-14T09:42:46.316Z] ---> e4365eb5d088 [2020-04-14T09:42:46.316Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-14T09:42:46.316Z] ---> Running in 67f5d98ddb09 [2020-04-14T09:42:46.575Z] Removing intermediate container 67f5d98ddb09 [2020-04-14T09:42:46.575Z] ---> ea9d26c1aef5 [2020-04-14T09:42:46.575Z] Step 7/8 : COPY . . [2020-04-14T09:42:47.142Z] ---> 15fa38ebf2f2 [2020-04-14T09:42:47.142Z] Step 8/8 : RUN go mod download [2020-04-14T09:42:47.142Z] ---> Running in 78964dbb3574 [2020-04-14T09:42:47.536Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-14T09:42:47.536Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-14T09:42:47.536Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-14T09:42:47.536Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-14T09:42:47.536Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-14T09:42:47.536Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-14T09:42:47.536Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-14T09:42:47.536Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-14T09:42:47.536Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-14T09:42:47.536Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-14T09:42:47.536Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-14T09:42:47.536Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-14T09:42:47.536Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-14T09:42:47.536Z] go: finding github.com/fatih/color v1.7.0 [2020-04-14T09:42:47.536Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-14T09:42:47.536Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-14T09:42:47.536Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-14T09:42:47.536Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-14T09:42:47.536Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-14T09:42:47.536Z] go: finding github.com/google/uuid v1.1.0 [2020-04-14T09:42:47.804Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-14T09:42:47.804Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-14T09:42:47.804Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-14T09:42:47.804Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-14T09:42:47.804Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-14T09:42:47.804Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-14T09:42:47.804Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-14T09:42:47.805Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-14T09:42:47.805Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-14T09:42:47.805Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-14T09:42:47.805Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-14T09:42:47.805Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-14T09:42:47.805Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-14T09:42:47.805Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-14T09:42:47.805Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-14T09:42:47.805Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-14T09:42:47.805Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-14T09:42:47.805Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-14T09:42:47.805Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-14T09:42:47.805Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-14T09:42:47.805Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-14T09:42:47.805Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-14T09:42:47.805Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-14T09:42:47.805Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-14T09:42:47.805Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-14T09:42:48.074Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-14T09:42:48.074Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-14T09:42:48.074Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-14T09:42:48.074Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-14T09:42:48.074Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-14T09:42:48.074Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-14T09:42:48.074Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-14T09:42:48.074Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-14T09:42:48.074Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-14T09:42:48.074Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T09:42:48.074Z] go: finding github.com/posener/complete v1.1.1 [2020-04-14T09:42:48.074Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-14T09:42:48.074Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-14T09:42:48.074Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-14T09:42:48.074Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-14T09:42:48.074Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-14T09:42:48.074Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-14T09:42:48.074Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-14T09:42:48.074Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-14T09:42:48.074Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-14T09:42:48.074Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-14T09:42:48.074Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-14T09:42:48.074Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-14T09:42:49.045Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-14T09:42:49.045Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-14T09:42:49.045Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-14T09:42:49.045Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-14T09:42:49.045Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-14T09:42:49.045Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-14T09:42:49.304Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-14T09:42:49.304Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-14T09:42:49.304Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-14T09:42:49.304Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-14T09:42:49.304Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-14T09:42:49.304Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-14T09:42:49.304Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-14T09:42:49.304Z] go: finding github.com/fatih/color v1.7.0 [2020-04-14T09:42:49.304Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-14T09:42:49.304Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-14T09:42:49.304Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-14T09:42:49.304Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-14T09:42:49.304Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-14T09:42:49.304Z] go: finding github.com/google/uuid v1.1.0 [2020-04-14T09:42:49.304Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-14T09:42:49.304Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-14T09:42:49.304Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-14T09:42:49.304Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-14T09:42:49.304Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-14T09:42:49.562Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-14T09:42:49.562Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-14T09:42:49.562Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-14T09:42:49.562Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-14T09:42:49.562Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-14T09:42:49.562Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-14T09:42:49.562Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-14T09:42:49.562Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-14T09:42:49.562Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-14T09:42:49.562Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-14T09:42:49.562Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-14T09:42:49.562Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-14T09:42:49.562Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-14T09:42:49.562Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T09:42:49.562Z] go: finding github.com/posener/complete v1.1.1 [2020-04-14T09:42:49.562Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-14T09:42:49.562Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-14T09:42:49.562Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-14T09:42:49.562Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-14T09:42:49.562Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-14T09:42:49.562Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-14T09:42:49.562Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-14T09:42:49.562Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-14T09:42:49.562Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-14T09:42:49.562Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-14T09:42:49.562Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-14T09:42:49.562Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-14T09:42:54.887Z] Removing intermediate container 78964dbb3574 [2020-04-14T09:42:54.887Z] ---> 43dc71933049 [2020-04-14T09:42:54.887Z] Successfully built 43dc71933049 [2020-04-14T09:42:54.887Z] 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-14T09:42:55.750Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-14T09:42:55.750Z] . [Pipeline] withDockerContainer [2020-04-14T09:42:55.867Z] prd-centos7-docker-4c-2g-3809 does not seem to be running inside a container [2020-04-14T09:42:55.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 ******** ci-base-image-x86_64 cat [2020-04-14T09:42:57.635Z] $ docker top e06bbcb8880723092efd3b8fdc0a3892cd18a7b758006511f037524e6be815e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T09:42:58.115Z] + go version [2020-04-14T09:42:58.115Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-14T09:42:58.175Z] Removing intermediate container a4e95186d541 [2020-04-14T09:42:58.175Z] ---> 6ac408c42bef [2020-04-14T09:42:58.175Z] Successfully built 6ac408c42bef [2020-04-14T09:42:58.175Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-04-14T09:42:58.424Z] + make test [2020-04-14T09:42:58.424Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:42:58.787Z] + docker inspect -f . ci-base-image-arm64 [2020-04-14T09:42:58.787Z] . [2020-04-14T09:42:59.006Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] withDockerContainer [2020-04-14T09:42:59.392Z] prd-ubuntu18.04-docker-arm64-4c-16g-3808 does not seem to be running inside a container [2020-04-14T09:42:59.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 ******** ci-base-image-arm64 cat [2020-04-14T09:43:01.030Z] $ docker top 070cb5041be8c7fe412277edd5b084b9054f2d489aea56d0622f8b4862c5ecef -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T09:43:02.108Z] + go version [2020-04-14T09:43:02.108Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-14T09:43:02.769Z] + make test [2020-04-14T09:43:02.769Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-14T09:43:04.192Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-14T09:43:09.062Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-14T09:43:09.062Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-14T09:43:09.062Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 22.1% of statements [2020-04-14T09:43:15.646Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements [2020-04-14T09:43:30.938Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-14T09:43:30.938Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-14T09:43:31.926Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.050s coverage: 22.1% of statements [2020-04-14T09:43:34.546Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.142s coverage: 95.8% of statements [2020-04-14T09:43:47.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.038s coverage: 11.4% of statements [2020-04-14T09:43:47.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.1% of statements [2020-04-14T09:43:47.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-14T09:43:47.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.118s coverage: 38.5% of statements [2020-04-14T09:43:47.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-14T09:43:47.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-14T09:43:47.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.494s coverage: 79.8% of statements [2020-04-14T09:43:47.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-14T09:43:47.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-14T09:43:47.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-14T09:43:47.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.080s coverage: 52.6% of statements [2020-04-14T09:43:47.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-14T09:43:47.742Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.105s coverage: 71.4% of statements [2020-04-14T09:43:47.742Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-14T09:43:47.742Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-14T09:43:47.742Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-14T09:43:47.742Z] gofmt -l . [2020-04-14T09:43:47.742Z] [ "`gofmt -l .`" = "" ] [2020-04-14T09:43:47.742Z] ./bin/test-attribution-txt.sh [2020-04-14T09:43:47.742Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-14T09:43:48.097Z] Stashed 1 file(s) [Pipeline] } [2020-04-14T09:43:48.106Z] $ docker stop --time=1 e06bbcb8880723092efd3b8fdc0a3892cd18a7b758006511f037524e6be815e2 [2020-04-14T09:43:49.579Z] $ docker rm -f e06bbcb8880723092efd3b8fdc0a3892cd18a7b758006511f037524e6be815e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-14T09:43:50.480Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-14T09:43:50.772Z] + ls -al . [2020-04-14T09:43:50.772Z] total 160 [2020-04-14T09:43:50.772Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 14 09:43 . [2020-04-14T09:43:50.772Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 14 09:42 .. [2020-04-14T09:43:50.772Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 14 09:42 api [2020-04-14T09:43:50.772Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 09:42 bin [2020-04-14T09:43:50.772Z] -rw-r--r--. 1 jenkins jenkins 96404 Apr 14 09:43 coverage.out [2020-04-14T09:43:50.772Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 14 09:42 Dockerfile.build [2020-04-14T09:43:50.772Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 09:42 .dockerignore [2020-04-14T09:43:50.772Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 14 09:42 example [2020-04-14T09:43:50.772Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 14 09:42 .git [2020-04-14T09:43:50.772Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 14 09:42 .github [2020-04-14T09:43:50.772Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 09:42 .gitignore [2020-04-14T09:43:50.772Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 14 09:43 go.mod [2020-04-14T09:43:50.772Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 14 09:43 go.sum [2020-04-14T09:43:50.772Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 14 09:42 internal [2020-04-14T09:43:50.772Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 14 09:42 Jenkinsfile [2020-04-14T09:43:50.772Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 09:42 LICENSE [2020-04-14T09:43:50.772Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 14 09:42 Makefile [2020-04-14T09:43:50.772Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 09:42 pkg [2020-04-14T09:43:50.772Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 14 09:42 README.md [2020-04-14T09:43:50.772Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 14 09:42 .semver [2020-04-14T09:43:50.772Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 09:42 snap [2020-04-14T09:43:50.772Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 14 09:39 VERSION [2020-04-14T09:43:50.772Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 09:42 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:43:51.067Z] + 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=40c90adbf9fac26db7d7745c142bac7f98eae2fe --label arch=amd64 --label version=1.2.0-dev.21 . [2020-04-14T09:43:51.067Z] Sending build context to Docker daemon 3MB [2020-04-14T09:43:51.067Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-14T09:43:51.067Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-14T09:43:51.067Z] ---> 43dc71933049 [2020-04-14T09:43:51.067Z] Step 3/21 : ARG MAKE='make build' [2020-04-14T09:43:51.327Z] ---> Running in d20a8b2555f6 [2020-04-14T09:43:51.327Z] Removing intermediate container d20a8b2555f6 [2020-04-14T09:43:51.327Z] ---> 78481664d23d [2020-04-14T09:43:51.327Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-14T09:43:51.327Z] ---> Running in f85df79508cd [2020-04-14T09:43:51.586Z] Removing intermediate container f85df79508cd [2020-04-14T09:43:51.586Z] ---> 2a3ec60d7fdb [2020-04-14T09:43:51.586Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T09:43:51.586Z] ---> Running in 93c6354739be [2020-04-14T09:43:51.846Z] Removing intermediate container 93c6354739be [2020-04-14T09:43:51.846Z] ---> 5f92bd2981ac [2020-04-14T09:43:51.846Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T09:43:51.846Z] ---> Running in 692cf5f040a6 [2020-04-14T09:43:52.414Z] Removing intermediate container 692cf5f040a6 [2020-04-14T09:43:52.414Z] ---> cb73a624bda5 [2020-04-14T09:43:52.414Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-14T09:43:52.672Z] ---> Running in d3c2ce93c99c [2020-04-14T09:43:52.932Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-14T09:43:53.499Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-14T09:43:54.065Z] OK: 143 MiB in 39 packages [2020-04-14T09:43:54.323Z] Removing intermediate container d3c2ce93c99c [2020-04-14T09:43:54.323Z] ---> 82d57c72e957 [2020-04-14T09:43:54.323Z] Step 8/21 : COPY . . [2020-04-14T09:43:54.582Z] ---> 8a263c24337f [2020-04-14T09:43:54.582Z] Step 9/21 : RUN ${MAKE} [2020-04-14T09:43:54.841Z] ---> Running in ce0503eb7c37 [2020-04-14T09:43:55.103Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.21" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-14T09:44:03.355Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-14T09:44:03.615Z] Removing intermediate container ce0503eb7c37 [2020-04-14T09:44:03.615Z] ---> 79f277504cc2 [2020-04-14T09:44:03.615Z] Step 10/21 : FROM scratch [2020-04-14T09:44:03.615Z] ---> [2020-04-14T09:44:03.615Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T09:44:03.615Z] ---> Running in ff1f5ac20d48 [2020-04-14T09:44:03.615Z] Removing intermediate container ff1f5ac20d48 [2020-04-14T09:44:03.615Z] ---> becbca39d41f [2020-04-14T09:44:03.615Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-14T09:44:03.615Z] ---> Running in f0689cbd0ea3 [2020-04-14T09:44:03.873Z] Removing intermediate container f0689cbd0ea3 [2020-04-14T09:44:03.873Z] ---> e3a11738a318 [2020-04-14T09:44:03.873Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-14T09:44:03.873Z] ---> Running in a37f24200b10 [2020-04-14T09:44:03.873Z] Removing intermediate container a37f24200b10 [2020-04-14T09:44:03.873Z] ---> b44a24adea09 [2020-04-14T09:44:03.873Z] Step 14/21 : WORKDIR / [2020-04-14T09:44:04.132Z] ---> Running in 05c5b937df20 [2020-04-14T09:44:04.132Z] Removing intermediate container 05c5b937df20 [2020-04-14T09:44:04.132Z] ---> ed74427b6c8c [2020-04-14T09:44:04.132Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-14T09:44:04.390Z] ---> 4b0145ccfa07 [2020-04-14T09:44:04.390Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-14T09:44:04.649Z] ---> 93d22712685c [2020-04-14T09:44:04.649Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-14T09:44:04.907Z] ---> 708ac2b6b533 [2020-04-14T09:44:04.907Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-14T09:44:04.907Z] ---> Running in 22b937e0fe10 [2020-04-14T09:44:04.907Z] Removing intermediate container 22b937e0fe10 [2020-04-14T09:44:04.907Z] ---> 8ad3b292fcc7 [2020-04-14T09:44:04.907Z] Step 19/21 : LABEL arch=amd64 [2020-04-14T09:44:05.166Z] ---> Running in 1f2c760da507 [2020-04-14T09:44:05.166Z] Removing intermediate container 1f2c760da507 [2020-04-14T09:44:05.166Z] ---> eb27802adaff [2020-04-14T09:44:05.166Z] Step 20/21 : LABEL git_sha=40c90adbf9fac26db7d7745c142bac7f98eae2fe [2020-04-14T09:44:05.166Z] ---> Running in 4331caeb627e [2020-04-14T09:44:05.425Z] Removing intermediate container 4331caeb627e [2020-04-14T09:44:05.425Z] ---> 5a368d4b4875 [2020-04-14T09:44:05.425Z] Step 21/21 : LABEL version=1.2.0-dev.21 [2020-04-14T09:44:05.425Z] ---> Running in 8039745e5389 [2020-04-14T09:44:05.425Z] Removing intermediate container 8039745e5389 [2020-04-14T09:44:05.425Z] ---> e85752b2dbc1 [2020-04-14T09:44:05.425Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-14T09:44:05.425Z] Successfully built e85752b2dbc1 [2020-04-14T09:44:05.684Z] 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-14T09:44:06.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.062s coverage: 11.4% of statements [2020-04-14T09:44:06.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 22.1% of statements [2020-04-14T09:44:06.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-14T09:44:06.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.212s coverage: 38.5% of statements [2020-04-14T09:44:06.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-14T09:44:06.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-14T09:44:06.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.542s coverage: 79.8% of statements [2020-04-14T09:44:06.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-14T09:44:06.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-14T09:44:06.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-14T09:44:06.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.081s coverage: 52.6% of statements [2020-04-14T09:44:06.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-14T09:44:06.806Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.325s coverage: 71.4% of statements [2020-04-14T09:44:06.806Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-14T09:44:06.806Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-14T09:44:06.806Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-14T09:44:08.756Z] gofmt -l . [2020-04-14T09:44:09.336Z] [ "`gofmt -l .`" = "" ] [2020-04-14T09:44:09.602Z] ./bin/test-attribution-txt.sh [2020-04-14T09:44:10.188Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-14T09:44:10.471Z] Warning: overwriting stash ‘coverage-report’ [2020-04-14T09:44:10.937Z] Stashed 1 file(s) [Pipeline] } [2020-04-14T09:44:10.948Z] $ docker stop --time=1 070cb5041be8c7fe412277edd5b084b9054f2d489aea56d0622f8b4862c5ecef [2020-04-14T09:44:13.138Z] $ docker rm -f 070cb5041be8c7fe412277edd5b084b9054f2d489aea56d0622f8b4862c5ecef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-14T09:44:14.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-14T09:44:14.653Z] + ls -al . [2020-04-14T09:44:14.653Z] total 200 [2020-04-14T09:44:14.653Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 14 09:44 . [2020-04-14T09:44:14.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 09:41 .. [2020-04-14T09:44:14.653Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 09:41 .dockerignore [2020-04-14T09:44:14.653Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 09:41 .git [2020-04-14T09:44:14.653Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 09:41 .github [2020-04-14T09:44:14.653Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 09:41 .gitignore [2020-04-14T09:44:14.653Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 09:41 .semver [2020-04-14T09:44:14.653Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 14 09:41 Dockerfile.build [2020-04-14T09:44:14.653Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 14 09:41 Jenkinsfile [2020-04-14T09:44:14.653Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 09:41 LICENSE [2020-04-14T09:44:14.653Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 14 09:41 Makefile [2020-04-14T09:44:14.653Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 14 09:41 README.md [2020-04-14T09:44:14.653Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 14 09:39 VERSION [2020-04-14T09:44:14.653Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 09:41 api [2020-04-14T09:44:14.653Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 09:41 bin [2020-04-14T09:44:14.653Z] -rw-r--r-- 1 jenkins jenkins 96404 Apr 14 09:44 coverage.out [2020-04-14T09:44:14.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 09:41 example [2020-04-14T09:44:14.653Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 14 09:44 go.mod [2020-04-14T09:44:14.653Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 14 09:44 go.sum [2020-04-14T09:44:14.653Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 09:41 internal [2020-04-14T09:44:14.653Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 09:41 pkg [2020-04-14T09:44:14.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 09:41 snap [2020-04-14T09:44:14.653Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 09:41 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:44:14.981Z] + 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=40c90adbf9fac26db7d7745c142bac7f98eae2fe --label arch=arm64 --label version=1.2.0-dev.21 . [2020-04-14T09:44:15.570Z] Sending build context to Docker daemon 3MB [2020-04-14T09:44:15.570Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-14T09:44:15.570Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-14T09:44:15.570Z] ---> 6ac408c42bef [2020-04-14T09:44:15.570Z] Step 3/21 : ARG MAKE='make build' [2020-04-14T09:44:15.570Z] ---> Running in a67df6eebe06 [2020-04-14T09:44:16.159Z] Removing intermediate container a67df6eebe06 [2020-04-14T09:44:16.159Z] ---> 7ffe555f9e3d [2020-04-14T09:44:16.159Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-14T09:44:16.159Z] ---> Running in bdb8b59ebe47 [2020-04-14T09:44:16.428Z] Removing intermediate container bdb8b59ebe47 [2020-04-14T09:44:16.428Z] ---> a2f772500ef8 [2020-04-14T09:44:16.428Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T09:44:16.695Z] ---> Running in e50d8363fbca [2020-04-14T09:44:16.962Z] Removing intermediate container e50d8363fbca [2020-04-14T09:44:16.962Z] ---> a02d7c0ea1a9 [2020-04-14T09:44:16.962Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T09:44:17.231Z] ---> Running in 66010c1754c2 [2020-04-14T09:44:19.181Z] Removing intermediate container 66010c1754c2 [2020-04-14T09:44:19.181Z] ---> 969a7063508e [2020-04-14T09:44:19.181Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-14T09:44:19.181Z] ---> Running in 0e2c288b938e [2020-04-14T09:44:20.142Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-14T09:44:20.727Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-14T09:44:21.311Z] OK: 125 MiB in 39 packages [2020-04-14T09:44:22.272Z] Removing intermediate container 0e2c288b938e [2020-04-14T09:44:22.272Z] ---> b974228b0e21 [2020-04-14T09:44:22.272Z] Step 8/21 : COPY . . [2020-04-14T09:44:23.694Z] ---> 259f96d4eaef [2020-04-14T09:44:23.694Z] Step 9/21 : RUN ${MAKE} [2020-04-14T09:44:23.694Z] ---> Running in f2d580c84f10 [2020-04-14T09:44:24.665Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.21" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-14T09:44:46.757Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-14T09:44:50.097Z] Removing intermediate container f2d580c84f10 [2020-04-14T09:44:50.097Z] ---> 581ea9f86aaa [2020-04-14T09:44:50.097Z] Step 10/21 : FROM scratch [2020-04-14T09:44:50.097Z] ---> [2020-04-14T09:44:50.097Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T09:44:50.097Z] ---> Running in d93c1ce0ce5c [2020-04-14T09:44:50.097Z] Removing intermediate container d93c1ce0ce5c [2020-04-14T09:44:50.097Z] ---> 87a313d85c2a [2020-04-14T09:44:50.097Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-14T09:44:50.364Z] ---> Running in fba349e4442d [2020-04-14T09:44:50.948Z] Removing intermediate container fba349e4442d [2020-04-14T09:44:50.948Z] ---> 5e42bdeb8938 [2020-04-14T09:44:50.948Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-14T09:44:50.948Z] ---> Running in 97760ca35f27 [2020-04-14T09:44:51.533Z] Removing intermediate container 97760ca35f27 [2020-04-14T09:44:51.533Z] ---> 33c125433991 [2020-04-14T09:44:51.533Z] Step 14/21 : WORKDIR / [2020-04-14T09:44:51.533Z] ---> Running in 3f902f072b14 [2020-04-14T09:44:51.813Z] Removing intermediate container 3f902f072b14 [2020-04-14T09:44:51.813Z] ---> 1c15b809b88f [2020-04-14T09:44:51.813Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-14T09:44:53.223Z] ---> 64725f8c6244 [2020-04-14T09:44:53.223Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-14T09:44:53.491Z] ---> 8f84144ff3c5 [2020-04-14T09:44:53.491Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-14T09:44:54.077Z] ---> c2fa6f48aac7 [2020-04-14T09:44:54.077Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-14T09:44:54.077Z] ---> Running in 20a9eee6af39 [2020-04-14T09:44:54.664Z] Removing intermediate container 20a9eee6af39 [2020-04-14T09:44:54.664Z] ---> 91cadda7c986 [2020-04-14T09:44:54.664Z] Step 19/21 : LABEL arch=arm64 [2020-04-14T09:44:54.933Z] ---> Running in 7d7e0072d91c [2020-04-14T09:44:55.518Z] Removing intermediate container 7d7e0072d91c [2020-04-14T09:44:55.518Z] ---> 00fa91c90a09 [2020-04-14T09:44:55.518Z] Step 20/21 : LABEL git_sha=40c90adbf9fac26db7d7745c142bac7f98eae2fe [2020-04-14T09:44:55.518Z] ---> Running in 17b88cd44e30 [2020-04-14T09:44:56.107Z] Removing intermediate container 17b88cd44e30 [2020-04-14T09:44:56.107Z] ---> 1b592359a0c2 [2020-04-14T09:44:56.107Z] Step 21/21 : LABEL version=1.2.0-dev.21 [2020-04-14T09:44:56.373Z] ---> Running in 9aa778948ebe [2020-04-14T09:44:56.957Z] Removing intermediate container 9aa778948ebe [2020-04-14T09:44:56.957Z] ---> 104dc2f9d942 [2020-04-14T09:44:56.957Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-14T09:44:56.957Z] Successfully built 104dc2f9d942 [2020-04-14T09:44:56.957Z] 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] } [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-14T09:44:57.972Z] provisioning config files... [2020-04-14T09:44:57.982Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2646926561906714576tmp [Pipeline] { [Pipeline] sh [2020-04-14T09:44:58.323Z] + curl -s https://codecov.io/bash [2020-04-14T09:44:58.323Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2646926561906714576tmp [2020-04-14T09:44:58.582Z] [2020-04-14T09:44:58.582Z] _____ _ [2020-04-14T09:44:58.582Z] / ____| | | [2020-04-14T09:44:58.582Z] | | ___ __| | ___ ___ _____ __ [2020-04-14T09:44:58.582Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-14T09:44:58.582Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-14T09:44:58.582Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-14T09:44:58.582Z] Bash-20200410-0786dee [2020-04-14T09:44:58.582Z] [2020-04-14T09:44:58.582Z] [2020-04-14T09:44:58.582Z] ==> Jenkins CI detected. [2020-04-14T09:44:58.582Z] project root: . [2020-04-14T09:44:58.582Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-14T09:44:58.582Z] ==> Running gcov in . (disable via -X gcov) [2020-04-14T09:44:58.582Z] ==> Python coveragepy not found [2020-04-14T09:44:58.582Z] ==> Searching for coverage reports in: [2020-04-14T09:44:58.582Z] + . [2020-04-14T09:44:58.582Z] -> Found 1 reports [2020-04-14T09:44:58.582Z] ==> Detecting git/mercurial file structure [2020-04-14T09:44:58.582Z] ==> Reading reports [2020-04-14T09:44:58.582Z] + ./coverage.out bytes=96404 [2020-04-14T09:44:58.582Z] ==> Appending adjustments [2020-04-14T09:44:58.582Z] http://docs.codecov.io/docs/fixing-reports [2020-04-14T09:44:58.843Z] + Found adjustments [2020-04-14T09:44:58.844Z] ==> Gzipping contents [2020-04-14T09:44:58.844Z] ==> Uploading reports [2020-04-14T09:44:58.844Z] url: https://codecov.io [2020-04-14T09:44:58.844Z] query: branch=master&commit=40c90adbf9fac26db7d7745c142bac7f98eae2fe&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-14T09:44:58.844Z] -> Pinging Codecov [2020-04-14T09:44:58.844Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=master&commit=40c90adbf9fac26db7d7745c142bac7f98eae2fe&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-14T09:44:59.411Z] -> Uploading [2020-04-14T09:44:59.978Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/40c90adbf9fac26db7d7745c142bac7f98eae2fe [Pipeline] } [2020-04-14T09:44:59.984Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-14T09:45:00.281Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-14T09:45:00.282Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-14T09:45:00.322Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:45:00.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-14T09:45:00.715Z] [2020-04-14T09:45:00.715Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:45:01.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-14T09:45:01.617Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-14T09:45:01.617Z] e6b0cf9c0882: Pulling fs layer [2020-04-14T09:45:01.617Z] 2848faf0eed1: Pulling fs layer [2020-04-14T09:45:01.617Z] 0f37312ad70f: Pulling fs layer [2020-04-14T09:45:01.617Z] 7d08f2745646: Pulling fs layer [2020-04-14T09:45:01.617Z] 4c9f31393084: Pulling fs layer [2020-04-14T09:45:01.617Z] eb21ddb83652: Pulling fs layer [2020-04-14T09:45:01.617Z] 345998794f6b: Pulling fs layer [2020-04-14T09:45:01.617Z] 97a711d68925: Pulling fs layer [2020-04-14T09:45:01.617Z] 7c8476c1cb00: Pulling fs layer [2020-04-14T09:45:01.617Z] eb21ddb83652: Waiting [2020-04-14T09:45:01.617Z] 97a711d68925: Waiting [2020-04-14T09:45:01.617Z] 345998794f6b: Waiting [2020-04-14T09:45:01.617Z] 7c8476c1cb00: Waiting [2020-04-14T09:45:01.617Z] 7d08f2745646: Waiting [2020-04-14T09:45:01.617Z] 4c9f31393084: Waiting [2020-04-14T09:45:01.617Z] 0f37312ad70f: Verifying Checksum [2020-04-14T09:45:01.617Z] 0f37312ad70f: Download complete [2020-04-14T09:45:01.617Z] 2848faf0eed1: Verifying Checksum [2020-04-14T09:45:01.617Z] 2848faf0eed1: Download complete [2020-04-14T09:45:01.617Z] 4c9f31393084: Verifying Checksum [2020-04-14T09:45:01.617Z] 4c9f31393084: Download complete [2020-04-14T09:45:01.617Z] e6b0cf9c0882: Download complete [2020-04-14T09:45:01.617Z] eb21ddb83652: Verifying Checksum [2020-04-14T09:45:01.617Z] eb21ddb83652: Download complete [2020-04-14T09:45:01.888Z] e6b0cf9c0882: Pull complete [2020-04-14T09:45:02.159Z] 345998794f6b: Verifying Checksum [2020-04-14T09:45:02.159Z] 345998794f6b: Download complete [2020-04-14T09:45:02.159Z] 2848faf0eed1: Pull complete [2020-04-14T09:45:02.428Z] 0f37312ad70f: Pull complete [2020-04-14T09:45:02.705Z] 7c8476c1cb00: Verifying Checksum [2020-04-14T09:45:02.705Z] 7c8476c1cb00: Download complete [2020-04-14T09:45:02.705Z] 97a711d68925: Download complete [2020-04-14T09:45:03.273Z] 7d08f2745646: Verifying Checksum [2020-04-14T09:45:03.273Z] 7d08f2745646: Download complete [2020-04-14T09:45:08.566Z] 7d08f2745646: Pull complete [2020-04-14T09:45:08.566Z] 4c9f31393084: Pull complete [2020-04-14T09:45:08.566Z] eb21ddb83652: Pull complete [2020-04-14T09:45:12.771Z] 345998794f6b: Pull complete [2020-04-14T09:45:14.681Z] 97a711d68925: Pull complete [2020-04-14T09:45:15.250Z] 7c8476c1cb00: Pull complete [2020-04-14T09:45:15.250Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-14T09:45:15.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-14T09:45:15.408Z] prd-centos7-docker-4c-2g-3807 does not seem to be running inside a container [2020-04-14T09:45:15.450Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-04-14T09:45:16.024Z] $ docker top 5591d03f943af9696bef3987e6576dd1264e7a49db6fa82036caaae04e786acb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T09:45:16.547Z] + snyk monitor '--org=edgex-jenkins' [2020-04-14T09:45:21.827Z] [2020-04-14T09:45:21.827Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-04-14T09:45:21.827Z] [2020-04-14T09:45:21.827Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/5927aaba-a1ef-4626-ba87-a07361e2389c [2020-04-14T09:45:21.827Z] [2020-04-14T09:45:21.827Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-14T09:45:21.827Z] [2020-04-14T09:45:22.086Z] [Pipeline] } [2020-04-14T09:45:22.097Z] $ docker stop --time=1 5591d03f943af9696bef3987e6576dd1264e7a49db6fa82036caaae04e786acb [2020-04-14T09:45:23.465Z] $ docker rm -f 5591d03f943af9696bef3987e6576dd1264e7a49db6fa82036caaae04e786acb [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-14T09:45:24.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T09:45:24.506Z] . [Pipeline] withDockerContainer [2020-04-14T09:45:24.626Z] prd-centos7-docker-4c-2g-3807 does not seem to be running inside a container [2020-04-14T09:45:24.664Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-14T09:45:25.281Z] $ docker top 23024a346e8767b8f276d35d8dcef8e2ea72332057c6bd284e10ff8de99cafd6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-14T09:45:25.586Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T09:45:25.587Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T09:45:25.824Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T09:45:25.827Z] $ docker exec 23024a346e8767b8f276d35d8dcef8e2ea72332057c6bd284e10ff8de99cafd6 ssh-agent [2020-04-14T09:45:26.005Z] SSH_AUTH_SOCK=/tmp/ssh-LxF7zZBrgNq9/agent.15 [2020-04-14T09:45:26.005Z] SSH_AGENT_PID=22 [2020-04-14T09:45:26.012Z] Running ssh-add (command line suppressed) [2020-04-14T09:45:26.161Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5172695104073213808.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5172695104073213808.key) [2020-04-14T09:45:26.209Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T09:45:26.526Z] + git semver tag [2020-04-14T09:45:26.526Z] # -> Open(): unable to determine branch for HEAD [2020-04-14T09:45:26.526Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-14T09:45:26.526Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-14T09:45:26.526Z] # $SEMVER_REMOTE_NAME = origin [2020-04-14T09:45:26.526Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-14T09:45:26.526Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-14T09:45:26.526Z] # $SEMVER_BRANCH = master [2020-04-14T09:45:26.526Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-14T09:45:26.526Z] # 40c90adbf9fac26db7d7745c142bac7f98eae2fe HEAD [2020-04-14T09:45:26.526Z] # -> Force: false [2020-04-14T09:45:26.784Z] # 51e359dc84fe860dd1b093020abfd6d1c12c0062 refs/tags/v1.2.0-dev.21 [Pipeline] } [2020-04-14T09:45:26.793Z] $ docker exec --env ******** --env ******** 23024a346e8767b8f276d35d8dcef8e2ea72332057c6bd284e10ff8de99cafd6 ssh-agent -k [2020-04-14T09:45:26.925Z] unset SSH_AUTH_SOCK; [2020-04-14T09:45:26.926Z] unset SSH_AGENT_PID; [2020-04-14T09:45:26.926Z] echo Agent pid 22 killed; [2020-04-14T09:45:26.969Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-14T09:45:27.384Z] + git semver [Pipeline] } [2020-04-14T09:45:27.397Z] $ docker stop --time=1 23024a346e8767b8f276d35d8dcef8e2ea72332057c6bd284e10ff8de99cafd6 [2020-04-14T09:45:28.718Z] $ docker rm -f 23024a346e8767b8f276d35d8dcef8e2ea72332057c6bd284e10ff8de99cafd6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:45:29.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-14T09:45:29.276Z] [2020-04-14T09:45:29.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:45:29.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-14T09:45:29.611Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-14T09:45:29.611Z] ab5ef0e58194: Pulling fs layer [2020-04-14T09:45:29.611Z] 9712f1f96733: Pulling fs layer [2020-04-14T09:45:29.611Z] 63f879dbbcfc: Pulling fs layer [2020-04-14T09:45:29.611Z] 0d9ebad4ef96: Pulling fs layer [2020-04-14T09:45:29.611Z] e9a5061849ea: Pulling fs layer [2020-04-14T09:45:29.611Z] d747dcd14b5f: Pulling fs layer [2020-04-14T09:45:29.611Z] 2de7ff778b66: Pulling fs layer [2020-04-14T09:45:29.611Z] e9a5061849ea: Waiting [2020-04-14T09:45:29.611Z] 2de7ff778b66: Waiting [2020-04-14T09:45:29.611Z] d747dcd14b5f: Waiting [2020-04-14T09:45:29.611Z] 9712f1f96733: Verifying Checksum [2020-04-14T09:45:29.611Z] 9712f1f96733: Download complete [2020-04-14T09:45:30.183Z] 63f879dbbcfc: Verifying Checksum [2020-04-14T09:45:30.183Z] 63f879dbbcfc: Download complete [2020-04-14T09:45:30.183Z] e9a5061849ea: Verifying Checksum [2020-04-14T09:45:30.183Z] e9a5061849ea: Download complete [2020-04-14T09:45:30.183Z] d747dcd14b5f: Verifying Checksum [2020-04-14T09:45:30.183Z] d747dcd14b5f: Download complete [2020-04-14T09:45:30.446Z] 2de7ff778b66: Verifying Checksum [2020-04-14T09:45:30.446Z] 2de7ff778b66: Download complete [2020-04-14T09:45:31.761Z] ab5ef0e58194: Verifying Checksum [2020-04-14T09:45:31.761Z] ab5ef0e58194: Download complete [2020-04-14T09:45:31.761Z] 0d9ebad4ef96: Verifying Checksum [2020-04-14T09:45:31.761Z] 0d9ebad4ef96: Download complete [2020-04-14T09:45:37.069Z] ab5ef0e58194: Pull complete [2020-04-14T09:45:37.069Z] 9712f1f96733: Pull complete [2020-04-14T09:45:38.979Z] 63f879dbbcfc: Pull complete [2020-04-14T09:45:44.254Z] 0d9ebad4ef96: Pull complete [2020-04-14T09:45:46.156Z] e9a5061849ea: Pull complete [2020-04-14T09:45:46.156Z] d747dcd14b5f: Pull complete [2020-04-14T09:45:49.457Z] 2de7ff778b66: Pull complete [2020-04-14T09:45:49.457Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-14T09:45:49.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-14T09:45:49.568Z] prd-centos7-docker-4c-2g-3807 does not seem to be running inside a container [2020-04-14T09:45:49.607Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-04-14T09:45:51.056Z] $ docker top 0055112eaf92db2f6ec8926824131da49f58a8fb497ea5168b4a5532269a63f2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-14T09:45:51.232Z] provisioning config files... [2020-04-14T09:45:51.242Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config655997133670988353tmp [2020-04-14T09:45:51.258Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7171183164518373875tmp [2020-04-14T09:45:51.270Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7446333795148972463tmp [Pipeline] { [Pipeline] echo [2020-04-14T09:45:51.309Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T09:45:51.601Z] ---> sigul-configuration.sh [2020-04-14T09:45:51.602Z] gpg: directory `/root/.gnupg' created [2020-04-14T09:45:51.602Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-14T09:45:51.602Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-14T09:45:51.602Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-14T09:45:51.602Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-14T09:45:51.602Z] gpg: CAST5 encrypted data [2020-04-14T09:45:51.863Z] gpg: encrypted with 1 passphrase [2020-04-14T09:45:51.863Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-14T09:45:52.153Z] + mkdir /home/jenkins [2020-04-14T09:45:52.153Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-14T09:45:52.442Z] + 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-14T09:45:52.449Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T09:45:52.741Z] ---> sigul-install.sh [2020-04-14T09:46:00.917Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-14T09:46:01.218Z] + git tag --list [2020-04-14T09:46:01.218Z] v1.2.0-dev.21 [Pipeline] sh [2020-04-14T09:46:01.513Z] + lftools sign git-tag v1.2.0-dev.21 [2020-04-14T09:46:02.893Z] Signing Git tag with Sigul... [2020-04-14T09:46:02.893Z] Signing v1.2.0-dev.21 [Pipeline] echo [2020-04-14T09:46:03.835Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T09:46:04.135Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-14T09:46:04.141Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-14T09:46:04.212Z] $ docker stop --time=1 0055112eaf92db2f6ec8926824131da49f58a8fb497ea5168b4a5532269a63f2 [2020-04-14T09:46:05.585Z] $ docker rm -f 0055112eaf92db2f6ec8926824131da49f58a8fb497ea5168b4a5532269a63f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:46:06.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T09:46:06.292Z] . [Pipeline] withDockerContainer [2020-04-14T09:46:06.409Z] prd-centos7-docker-4c-2g-3807 does not seem to be running inside a container [2020-04-14T09:46:06.448Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-14T09:46:07.073Z] $ docker top ab1758a6fa48004a133868bd11158884abacdbc6c9b28bc821e9ffeb4e4fdb02 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-14T09:46:07.358Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T09:46:07.358Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T09:46:07.594Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T09:46:07.597Z] $ docker exec ab1758a6fa48004a133868bd11158884abacdbc6c9b28bc821e9ffeb4e4fdb02 ssh-agent [2020-04-14T09:46:07.792Z] SSH_AUTH_SOCK=/tmp/ssh-Mta5kpXZxiYA/agent.15 [2020-04-14T09:46:07.792Z] SSH_AGENT_PID=23 [2020-04-14T09:46:07.798Z] Running ssh-add (command line suppressed) [2020-04-14T09:46:07.937Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3454002303577734600.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3454002303577734600.key) [2020-04-14T09:46:07.982Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T09:46:08.308Z] + git semver bump pre [2020-04-14T09:46:08.308Z] # -> Open(): unable to determine branch for HEAD [2020-04-14T09:46:08.308Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-14T09:46:08.308Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-14T09:46:08.308Z] # $SEMVER_REMOTE_NAME = origin [2020-04-14T09:46:08.308Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-14T09:46:08.308Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-14T09:46:08.308Z] # $SEMVER_BRANCH = master [2020-04-14T09:46:08.308Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-14T09:46:08.308Z] 1.2.0-dev.22 [Pipeline] } [2020-04-14T09:46:08.318Z] $ docker exec --env ******** --env ******** ab1758a6fa48004a133868bd11158884abacdbc6c9b28bc821e9ffeb4e4fdb02 ssh-agent -k [2020-04-14T09:46:08.458Z] unset SSH_AUTH_SOCK; [2020-04-14T09:46:08.458Z] unset SSH_AGENT_PID; [2020-04-14T09:46:08.458Z] echo Agent pid 23 killed; [2020-04-14T09:46:08.499Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-14T09:46:08.921Z] + git semver [Pipeline] } [2020-04-14T09:46:08.933Z] $ docker stop --time=1 ab1758a6fa48004a133868bd11158884abacdbc6c9b28bc821e9ffeb4e4fdb02 [2020-04-14T09:46:10.296Z] $ docker rm -f ab1758a6fa48004a133868bd11158884abacdbc6c9b28bc821e9ffeb4e4fdb02 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:46:10.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T09:46:10.790Z] . [Pipeline] withDockerContainer [2020-04-14T09:46:10.899Z] prd-centos7-docker-4c-2g-3807 does not seem to be running inside a container [2020-04-14T09:46:10.941Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-14T09:46:11.529Z] $ docker top 08bf20782c5dd4c806dc2051ff81c6eadba83a40e646946b83b2851644b4cdbe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-14T09:46:11.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T09:46:11.781Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T09:46:11.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T09:46:11.973Z] $ docker exec 08bf20782c5dd4c806dc2051ff81c6eadba83a40e646946b83b2851644b4cdbe ssh-agent [2020-04-14T09:46:12.169Z] SSH_AUTH_SOCK=/tmp/ssh-UiR8x8q2KAgK/agent.15 [2020-04-14T09:46:12.169Z] SSH_AGENT_PID=21 [2020-04-14T09:46:12.176Z] Running ssh-add (command line suppressed) [2020-04-14T09:46:12.323Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6897672739532150656.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6897672739532150656.key) [2020-04-14T09:46:12.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T09:46:12.699Z] + git semver push [2020-04-14T09:46:12.699Z] # -> Open(): unable to determine branch for HEAD [2020-04-14T09:46:12.699Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-14T09:46:12.699Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-14T09:46:12.699Z] # $SEMVER_REMOTE_NAME = origin [2020-04-14T09:46:12.699Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-14T09:46:12.699Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-14T09:46:12.699Z] # $SEMVER_BRANCH = master [2020-04-14T09:46:12.699Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-14T09:46:20.830Z] $ docker exec --env ******** --env ******** 08bf20782c5dd4c806dc2051ff81c6eadba83a40e646946b83b2851644b4cdbe ssh-agent -k [2020-04-14T09:46:20.976Z] unset SSH_AUTH_SOCK; [2020-04-14T09:46:20.976Z] unset SSH_AGENT_PID; [2020-04-14T09:46:20.976Z] echo Agent pid 21 killed; [2020-04-14T09:46:21.014Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-14T09:46:21.502Z] + git semver [Pipeline] } [2020-04-14T09:46:21.514Z] $ docker stop --time=1 08bf20782c5dd4c806dc2051ff81c6eadba83a40e646946b83b2851644b4cdbe [2020-04-14T09:46:22.853Z] $ docker rm -f 08bf20782c5dd4c806dc2051ff81c6eadba83a40e646946b83b2851644b4cdbe [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-14T09:46:23.668Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T09:46:24.228Z] ---> package-listing.sh [2020-04-14T09:46:24.228Z] ++ facter osfamily [2020-04-14T09:46:24.228Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-14T09:46:24.228Z] + OS_FAMILY=redhat [2020-04-14T09:46:24.228Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-04-14T09:46:24.228Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-14T09:46:24.228Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-14T09:46:24.228Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-14T09:46:24.228Z] + PACKAGES=/tmp/packages_start.txt [2020-04-14T09:46:24.228Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-14T09:46:24.228Z] + PACKAGES=/tmp/packages_end.txt [2020-04-14T09:46:24.228Z] + case "${OS_FAMILY}" in [2020-04-14T09:46:24.228Z] + rpm -qa [2020-04-14T09:46:24.228Z] + sort [2020-04-14T09:46:28.422Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-14T09:46:28.422Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-14T09:46:28.422Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-14T09:46:28.422Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-14T09:46:28.422Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-04-14T09:46:28.422Z] + 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-14T09:46:28.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T09:46:28.817Z] [2020-04-14T09:46:28.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:46:29.152Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T09:46:29.152Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-14T09:46:29.152Z] c9b1b535fdd9: Pulling fs layer [2020-04-14T09:46:29.152Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-14T09:46:29.152Z] 756a868c4378: Pulling fs layer [2020-04-14T09:46:29.152Z] 444b2fc9a129: Pulling fs layer [2020-04-14T09:46:29.152Z] ea15f1150254: Pulling fs layer [2020-04-14T09:46:29.152Z] 41b27a9f41bf: Pulling fs layer [2020-04-14T09:46:29.152Z] 28c525ee5125: Pulling fs layer [2020-04-14T09:46:29.152Z] 094b1ea09ed8: Pulling fs layer [2020-04-14T09:46:29.152Z] 138eaada9080: Pulling fs layer [2020-04-14T09:46:29.152Z] 0622d0fa9048: Pulling fs layer [2020-04-14T09:46:29.152Z] 444b2fc9a129: Waiting [2020-04-14T09:46:29.152Z] 28c525ee5125: Waiting [2020-04-14T09:46:29.152Z] 094b1ea09ed8: Waiting [2020-04-14T09:46:29.152Z] 138eaada9080: Waiting [2020-04-14T09:46:29.152Z] 0622d0fa9048: Waiting [2020-04-14T09:46:29.152Z] ea15f1150254: Waiting [2020-04-14T09:46:29.152Z] 41b27a9f41bf: Waiting [2020-04-14T09:46:29.152Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-14T09:46:29.152Z] 2cc5ad85d9ab: Download complete [2020-04-14T09:46:29.152Z] 444b2fc9a129: Download complete [2020-04-14T09:46:29.152Z] c9b1b535fdd9: Verifying Checksum [2020-04-14T09:46:29.152Z] ea15f1150254: Verifying Checksum [2020-04-14T09:46:29.152Z] ea15f1150254: Download complete [2020-04-14T09:46:29.425Z] 28c525ee5125: Verifying Checksum [2020-04-14T09:46:29.425Z] 28c525ee5125: Download complete [2020-04-14T09:46:29.686Z] 756a868c4378: Verifying Checksum [2020-04-14T09:46:29.686Z] 756a868c4378: Download complete [2020-04-14T09:46:29.686Z] 138eaada9080: Verifying Checksum [2020-04-14T09:46:29.686Z] 138eaada9080: Download complete [2020-04-14T09:46:29.686Z] 0622d0fa9048: Verifying Checksum [2020-04-14T09:46:29.686Z] 0622d0fa9048: Download complete [2020-04-14T09:46:29.686Z] 094b1ea09ed8: Verifying Checksum [2020-04-14T09:46:29.686Z] 094b1ea09ed8: Download complete [2020-04-14T09:46:30.260Z] 41b27a9f41bf: Verifying Checksum [2020-04-14T09:46:30.260Z] 41b27a9f41bf: Download complete [2020-04-14T09:46:31.199Z] c9b1b535fdd9: Pull complete [2020-04-14T09:46:31.199Z] 2cc5ad85d9ab: Pull complete [2020-04-14T09:46:33.105Z] 756a868c4378: Pull complete [2020-04-14T09:46:33.105Z] 444b2fc9a129: Pull complete [2020-04-14T09:46:33.105Z] ea15f1150254: Pull complete [2020-04-14T09:46:36.399Z] 41b27a9f41bf: Pull complete [2020-04-14T09:46:36.658Z] 28c525ee5125: Pull complete [2020-04-14T09:46:38.563Z] 094b1ea09ed8: Pull complete [2020-04-14T09:46:38.563Z] 138eaada9080: Pull complete [2020-04-14T09:46:38.822Z] 0622d0fa9048: Pull complete [2020-04-14T09:46:38.822Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-14T09:46:38.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-14T09:46:38.947Z] prd-centos7-docker-4c-2g-3807 does not seem to be running inside a container [2020-04-14T09:46:38.987Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-14T09:46:40.088Z] $ docker top df7d8bc3d55c39edb3d8db73cf7f8e09e2e833080d7ed9e82d4820b9a12e8974 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-14T09:46:40.377Z] provisioning config files... [2020-04-14T09:46:40.391Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2672816894640074652tmp [Pipeline] { [Pipeline] echo [2020-04-14T09:46:40.442Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T09:46:40.736Z] ---> create-netrc.sh [Pipeline] echo [2020-04-14T09:46:40.743Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T09:46:41.037Z] ---> logs-deploy.sh [2020-04-14T09:46:41.038Z] + ARCHIVE_ARTIFACTS= [2020-04-14T09:46:41.038Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-14T09:46:41.038Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-14T09:46:41.038Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-14T09:46:41.038Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/21 [2020-04-14T09:46:41.038Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/21/ [2020-04-14T09:46:41.038Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/21 /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-14T09:46:41.976Z] Archives upload complete. [2020-04-14T09:46:42.234Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/21 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/21/