Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of akramtexas for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c9979804ccd04a40c7aa62bb85d5611f1e38dae2+40c90adbf9fac26db7d7745c142bac7f98eae2fe (bcc1cd75817d2097fcffee382f72b4ca14686554) 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-3827 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-464 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +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/pull/464/head:refs/remotes/origin/PR-464 # 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/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit c9979804ccd04a40c7aa62bb85d5611f1e38dae2 Merge succeeded, producing b0c72aa2c5a0d2eda1630d7a265a7fbaaba585e6 Checking out Revision b0c72aa2c5a0d2eda1630d7a265a7fbaaba585e6 (PR-464) > git config core.sparsecheckout # timeout=10 > git checkout -f c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0c72aa2c5a0d2eda1630d7a265a7fbaaba585e6 # timeout=10 Commit message: "Merge commit '40c90adbf9fac26db7d7745c142bac7f98eae2fe' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-14T14:41:26.094Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk c310ccc9c1d202c7eb1745c99718d16ffe6f6ec0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-14T14:41:28.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T14:41:28.228Z] [2020-04-14T14:41:28.228Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-14T14:41:28.622Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T14:41:28.622Z] latest: Pulling from edgex-devops/git-semver [2020-04-14T14:41:28.622Z] 9123ac7c32f7: Pulling fs layer [2020-04-14T14:41:28.622Z] b8cc5d1170e3: Pulling fs layer [2020-04-14T14:41:28.622Z] 2924cbbf6a41: Pulling fs layer [2020-04-14T14:41:28.622Z] 93b08a4f1073: Pulling fs layer [2020-04-14T14:41:28.622Z] 93b08a4f1073: Waiting [2020-04-14T14:41:28.622Z] b8cc5d1170e3: Verifying Checksum [2020-04-14T14:41:28.622Z] b8cc5d1170e3: Download complete [2020-04-14T14:41:28.883Z] 9123ac7c32f7: Verifying Checksum [2020-04-14T14:41:28.883Z] 9123ac7c32f7: Download complete [2020-04-14T14:41:28.883Z] 93b08a4f1073: Verifying Checksum [2020-04-14T14:41:28.883Z] 93b08a4f1073: Download complete [2020-04-14T14:41:28.883Z] 2924cbbf6a41: Verifying Checksum [2020-04-14T14:41:28.883Z] 2924cbbf6a41: Download complete [2020-04-14T14:41:29.146Z] 9123ac7c32f7: Pull complete [2020-04-14T14:41:29.146Z] b8cc5d1170e3: Pull complete [2020-04-14T14:41:30.085Z] 2924cbbf6a41: Pull complete [2020-04-14T14:41:30.085Z] 93b08a4f1073: Pull complete [2020-04-14T14:41:30.085Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-14T14:41:30.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-14T14:41:30.229Z] prd-centos7-docker-4c-2g-3827 does not seem to be running inside a container [2020-04-14T14:41:30.280Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-14T14:41:30.902Z] $ docker top 8132cad1d75349c4b2d4270b618ab132f1bac61e95e06b71790e1048cf23b0c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-14T14:41:31.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T14:41:31.180Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T14:41:31.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T14:41:31.415Z] $ docker exec 8132cad1d75349c4b2d4270b618ab132f1bac61e95e06b71790e1048cf23b0c4 ssh-agent [2020-04-14T14:41:31.613Z] SSH_AUTH_SOCK=/tmp/ssh-lx0Bbu3xY3gw/agent.15 [2020-04-14T14:41:31.613Z] SSH_AGENT_PID=22 [2020-04-14T14:41:31.622Z] Running ssh-add (command line suppressed) [2020-04-14T14:41:31.766Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_6553961845480741077.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_6553961845480741077.key) [2020-04-14T14:41:31.818Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T14:41:32.140Z] + git describe --exact-match --tags HEAD [2020-04-14T14:41:32.140Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-14T14:41:32.198Z] $ docker exec --env ******** --env ******** 8132cad1d75349c4b2d4270b618ab132f1bac61e95e06b71790e1048cf23b0c4 ssh-agent -k [2020-04-14T14:41:32.344Z] unset SSH_AUTH_SOCK; [2020-04-14T14:41:32.344Z] unset SSH_AGENT_PID; [2020-04-14T14:41:32.344Z] echo Agent pid 22 killed; [2020-04-14T14:41:32.387Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-14T14:41:32.447Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-14T14:41:32.447Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-14T14:41:32.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T14:41:32.545Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T14:41:32.725Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T14:41:32.728Z] $ docker exec 8132cad1d75349c4b2d4270b618ab132f1bac61e95e06b71790e1048cf23b0c4 ssh-agent [2020-04-14T14:41:32.913Z] SSH_AUTH_SOCK=/tmp/ssh-MEeHTMjTZF3j/agent.57 [2020-04-14T14:41:32.913Z] SSH_AGENT_PID=64 [2020-04-14T14:41:32.919Z] Running ssh-add (command line suppressed) [2020-04-14T14:41:33.065Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_5370733489160675777.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_5370733489160675777.key) [2020-04-14T14:41:33.138Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T14:41:33.461Z] + git semver init [2020-04-14T14:41:33.461Z] # -> Open(): unable to determine branch for HEAD [2020-04-14T14:41:33.461Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.git [2020-04-14T14:41:33.461Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-14T14:41:33.461Z] # $SEMVER_REMOTE_NAME = origin [2020-04-14T14:41:33.461Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-14T14:41:33.461Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-14T14:41:33.461Z] # $SEMVER_BRANCH = PR-464 [2020-04-14T14:41:33.461Z] # $SEMVER_TEMP = /tmp/semver-011167728 [2020-04-14T14:41:33.461Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-14T14:41:34.034Z] # '/tmp/semver-011167728' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver' [2020-04-14T14:41:34.034Z] # -> Force: false [2020-04-14T14:41:34.034Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver [Pipeline] } [2020-04-14T14:41:34.045Z] $ docker exec --env ******** --env ******** 8132cad1d75349c4b2d4270b618ab132f1bac61e95e06b71790e1048cf23b0c4 ssh-agent -k [2020-04-14T14:41:34.206Z] unset SSH_AUTH_SOCK; [2020-04-14T14:41:34.207Z] unset SSH_AGENT_PID; [2020-04-14T14:41:34.207Z] echo Agent pid 64 killed; [2020-04-14T14:41:34.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-14T14:41:34.687Z] + git semver [Pipeline] } [2020-04-14T14:41:34.700Z] $ docker stop --time=1 8132cad1d75349c4b2d4270b618ab132f1bac61e95e06b71790e1048cf23b0c4 [2020-04-14T14:41:36.054Z] $ docker rm -f 8132cad1d75349c4b2d4270b618ab132f1bac61e95e06b71790e1048cf23b0c4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-14T14:41:36.868Z] Stashed 43 file(s) [Pipeline] echo [2020-04-14T14:41:36.870Z] [edgeXSemver] initialized semver on version 0.0.0 [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-14T14:41:52.115Z] Still waiting to schedule task [2020-04-14T14:41:52.115Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3827’ [2020-04-14T14:41:52.117Z] Still waiting to schedule task [2020-04-14T14:41:52.117Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-14T14:43:36.289Z] Running on prd-centos7-docker-4c-2g-3830 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws [2020-04-14T14:43:36.325Z] Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout [2020-04-14T14:43:36.578Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3829 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws [2020-04-14T14:43:36.615Z] Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout [2020-04-14T14:43:38.966Z] using credential edgex-jenkins-ssh [2020-04-14T14:43:39.006Z] Cloning the remote Git repository [2020-04-14T14:43:39.006Z] Cloning with configured refspecs honoured and without tags [2020-04-14T14:43:39.770Z] Fetching without tags [2020-04-14T14:43:38.912Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T14:43:38.950Z] > git init /w/workspace/device-sdk-go/18 # timeout=10 [2020-04-14T14:43:39.004Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T14:43:39.005Z] > git --version # timeout=10 [2020-04-14T14:43:39.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T14:43:39.041Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T14:43:39.661Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T14:43:39.668Z] > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 [2020-04-14T14:43:39.673Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T14:43:39.688Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T14:43:40.175Z] Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit c9979804ccd04a40c7aa62bb85d5611f1e38dae2 [2020-04-14T14:43:40.604Z] Merge succeeded, producing 2301d2be121f3c3962346991ffe6f7837ce11800 [2020-04-14T14:43:40.604Z] Checking out Revision 2301d2be121f3c3962346991ffe6f7837ce11800 (PR-464) [2020-04-14T14:43:39.700Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T14:43:39.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T14:43:39.706Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T14:43:40.144Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T14:43:40.151Z] > git checkout -f c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 [2020-04-14T14:43:40.538Z] > git remote # timeout=10 [2020-04-14T14:43:40.543Z] > git config --get remote.origin.url # timeout=10 [2020-04-14T14:43:40.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T14:43:40.552Z] > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 [2020-04-14T14:43:40.589Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-14T14:43:40.602Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T14:43:40.607Z] > git checkout -f 2301d2be121f3c3962346991ffe6f7837ce11800 # timeout=10 [2020-04-14T14:43:42.777Z] using credential edgex-jenkins-ssh [2020-04-14T14:43:42.845Z] Cloning the remote Git repository [2020-04-14T14:43:42.845Z] Cloning with configured refspecs honoured and without tags [2020-04-14T14:43:42.937Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T14:43:43.037Z] > git init /w/workspace/device-sdk-go/18 # timeout=10 [2020-04-14T14:43:43.126Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T14:43:43.127Z] > git --version # timeout=10 [2020-04-14T14:43:43.180Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T14:43:43.300Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T14:43:44.438Z] Fetching without tags [2020-04-14T14:43:44.599Z] Commit message: "Merge commit '40c90adbf9fac26db7d7745c142bac7f98eae2fe' into HEAD" [2020-04-14T14:43:44.612Z] First time build. Skipping changelog. [2020-04-14T14:43:44.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T14:43:44.328Z] > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 [2020-04-14T14:43:44.355Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T14:43:44.427Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T14:43:44.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T14:43:44.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T14:43:44.486Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T14:43:44.603Z] > git rev-list --no-walk c310ccc9c1d202c7eb1745c99718d16ffe6f6ec0 # timeout=10 [2020-04-14T14:43:44.894Z] Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit c9979804ccd04a40c7aa62bb85d5611f1e38dae2 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-14T14:43:45.541Z] Merge succeeded, producing 9477bbf047a70fdce8affa71048044b701b6edbd [2020-04-14T14:43:45.541Z] Checking out Revision 9477bbf047a70fdce8affa71048044b701b6edbd (PR-464) [Pipeline] echo [2020-04-14T14:43:45.686Z] ========================================================= [2020-04-14T14:43:45.686Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-14T14:43:45.686Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T14:43:44.948Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T14:43:45.056Z] > git checkout -f c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 [2020-04-14T14:43:45.324Z] > git remote # timeout=10 [2020-04-14T14:43:45.353Z] > git config --get remote.origin.url # timeout=10 [2020-04-14T14:43:45.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T14:43:45.422Z] > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 [2020-04-14T14:43:45.526Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-14T14:43:45.564Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T14:43:45.577Z] > git checkout -f 9477bbf047a70fdce8affa71048044b701b6edbd # timeout=10 [2020-04-14T14:43:46.392Z] + 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-14T14:43:46.658Z] Sending build context to Docker daemon 2.93MB [2020-04-14T14:43:46.658Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-14T14:43:46.658Z] Step 2/8 : FROM ${BASE} [2020-04-14T14:43:46.658Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-14T14:43:46.658Z] e6b0cf9c0882: Pulling fs layer [2020-04-14T14:43:46.658Z] 2848faf0eed1: Pulling fs layer [2020-04-14T14:43:46.658Z] 0f37312ad70f: Pulling fs layer [2020-04-14T14:43:46.658Z] 5788d62ee057: Pulling fs layer [2020-04-14T14:43:46.658Z] 0e6b1d234666: Pulling fs layer [2020-04-14T14:43:46.658Z] bf5d7aec512f: Pulling fs layer [2020-04-14T14:43:46.658Z] 34c802a77dc8: Pulling fs layer [2020-04-14T14:43:46.658Z] 9eb99e56ec68: Pulling fs layer [2020-04-14T14:43:46.658Z] 27c7a5d97fbd: Pulling fs layer [2020-04-14T14:43:46.658Z] 5788d62ee057: Waiting [2020-04-14T14:43:46.658Z] 0e6b1d234666: Waiting [2020-04-14T14:43:46.658Z] bf5d7aec512f: Waiting [2020-04-14T14:43:46.658Z] 34c802a77dc8: Waiting [2020-04-14T14:43:46.658Z] 5c102a31e300: Pulling fs layer [2020-04-14T14:43:46.658Z] 9eb99e56ec68: Waiting [2020-04-14T14:43:46.658Z] dcfb455df0a1: Pulling fs layer [2020-04-14T14:43:46.658Z] 27c7a5d97fbd: Waiting [2020-04-14T14:43:46.658Z] 5c102a31e300: Waiting [2020-04-14T14:43:46.658Z] dcfb455df0a1: Waiting [2020-04-14T14:43:46.658Z] 0f37312ad70f: Verifying Checksum [2020-04-14T14:43:46.658Z] 0f37312ad70f: Download complete [2020-04-14T14:43:46.658Z] 2848faf0eed1: Verifying Checksum [2020-04-14T14:43:46.658Z] 2848faf0eed1: Download complete [2020-04-14T14:43:46.658Z] 0e6b1d234666: Verifying Checksum [2020-04-14T14:43:46.658Z] 0e6b1d234666: Download complete [2020-04-14T14:43:46.658Z] bf5d7aec512f: Verifying Checksum [2020-04-14T14:43:46.658Z] bf5d7aec512f: Download complete [2020-04-14T14:43:46.658Z] e6b0cf9c0882: Verifying Checksum [2020-04-14T14:43:46.924Z] e6b0cf9c0882: Pull complete [2020-04-14T14:43:47.502Z] 34c802a77dc8: Verifying Checksum [2020-04-14T14:43:47.502Z] 34c802a77dc8: Download complete [2020-04-14T14:43:47.766Z] 27c7a5d97fbd: Verifying Checksum [2020-04-14T14:43:47.766Z] 27c7a5d97fbd: Download complete [2020-04-14T14:43:48.027Z] 5c102a31e300: Verifying Checksum [2020-04-14T14:43:48.028Z] 5c102a31e300: Download complete [2020-04-14T14:43:48.028Z] 9eb99e56ec68: Verifying Checksum [2020-04-14T14:43:48.028Z] 9eb99e56ec68: Download complete [2020-04-14T14:43:48.287Z] 5788d62ee057: Verifying Checksum [2020-04-14T14:43:48.287Z] 5788d62ee057: Download complete [2020-04-14T14:43:48.287Z] dcfb455df0a1: Download complete [2020-04-14T14:43:49.226Z] 2848faf0eed1: Pull complete [2020-04-14T14:43:49.485Z] 0f37312ad70f: Pull complete [2020-04-14T14:43:50.070Z] Commit message: "Merge commit '40c90adbf9fac26db7d7745c142bac7f98eae2fe' into HEAD" [2020-04-14T14:43:50.099Z] First time build. Skipping changelog. [2020-04-14T14:43:50.087Z] > git rev-list --no-walk c310ccc9c1d202c7eb1745c99718d16ffe6f6ec0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-14T14:43:51.400Z] ========================================================= [2020-04-14T14:43:51.400Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-14T14:43:51.400Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T14:43:52.651Z] + 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-14T14:43:53.629Z] Sending build context to Docker daemon 2.93MB [2020-04-14T14:43:53.901Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-14T14:43:53.901Z] Step 2/8 : FROM ${BASE} [2020-04-14T14:43:54.171Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-14T14:43:54.171Z] cde5963f3b93: Pulling fs layer [2020-04-14T14:43:54.171Z] 2a23fa8c16f7: Pulling fs layer [2020-04-14T14:43:54.171Z] 777b28850792: Pulling fs layer [2020-04-14T14:43:54.171Z] 8a11ddd9e578: Pulling fs layer [2020-04-14T14:43:54.171Z] 4cf88f913ddb: Pulling fs layer [2020-04-14T14:43:54.171Z] 1df406cf5192: Pulling fs layer [2020-04-14T14:43:54.171Z] cd6300453558: Pulling fs layer [2020-04-14T14:43:54.171Z] b9c365052c96: Pulling fs layer [2020-04-14T14:43:54.171Z] a2d8cc88f415: Pulling fs layer [2020-04-14T14:43:54.171Z] ea1d1ca13537: Pulling fs layer [2020-04-14T14:43:54.171Z] 3750a50a1c5e: Pulling fs layer [2020-04-14T14:43:54.171Z] 8a11ddd9e578: Waiting [2020-04-14T14:43:54.171Z] cd6300453558: Waiting [2020-04-14T14:43:54.171Z] 4cf88f913ddb: Waiting [2020-04-14T14:43:54.171Z] b9c365052c96: Waiting [2020-04-14T14:43:54.171Z] a2d8cc88f415: Waiting [2020-04-14T14:43:54.171Z] 1df406cf5192: Waiting [2020-04-14T14:43:54.171Z] ea1d1ca13537: Waiting [2020-04-14T14:43:54.171Z] 3750a50a1c5e: Waiting [2020-04-14T14:43:54.171Z] 777b28850792: Verifying Checksum [2020-04-14T14:43:54.171Z] 777b28850792: Download complete [2020-04-14T14:43:54.171Z] 2a23fa8c16f7: Download complete [2020-04-14T14:43:54.171Z] 4cf88f913ddb: Download complete [2020-04-14T14:43:54.171Z] 1df406cf5192: Verifying Checksum [2020-04-14T14:43:54.171Z] 1df406cf5192: Download complete [2020-04-14T14:43:54.444Z] cde5963f3b93: Verifying Checksum [2020-04-14T14:43:54.444Z] cde5963f3b93: Download complete [2020-04-14T14:43:55.422Z] cde5963f3b93: Pull complete [2020-04-14T14:43:56.016Z] 2a23fa8c16f7: Pull complete [2020-04-14T14:43:56.016Z] 777b28850792: Pull complete [2020-04-14T14:43:56.093Z] 5788d62ee057: Pull complete [2020-04-14T14:43:56.093Z] 0e6b1d234666: Pull complete [2020-04-14T14:43:56.093Z] bf5d7aec512f: Pull complete [2020-04-14T14:43:58.609Z] cd6300453558: Verifying Checksum [2020-04-14T14:43:58.609Z] cd6300453558: Download complete [2020-04-14T14:43:58.609Z] a2d8cc88f415: Verifying Checksum [2020-04-14T14:43:58.609Z] a2d8cc88f415: Download complete [2020-04-14T14:44:00.332Z] 34c802a77dc8: Pull complete [2020-04-14T14:44:01.227Z] ea1d1ca13537: Verifying Checksum [2020-04-14T14:44:01.227Z] ea1d1ca13537: Download complete [2020-04-14T14:44:01.227Z] 3750a50a1c5e: Verifying Checksum [2020-04-14T14:44:01.227Z] 3750a50a1c5e: Download complete [2020-04-14T14:44:03.631Z] 9eb99e56ec68: Pull complete [2020-04-14T14:44:03.632Z] 27c7a5d97fbd: Pull complete [2020-04-14T14:44:03.817Z] b9c365052c96: Verifying Checksum [2020-04-14T14:44:03.817Z] b9c365052c96: Download complete [2020-04-14T14:44:04.204Z] 5c102a31e300: Pull complete [2020-04-14T14:44:04.204Z] dcfb455df0a1: Pull complete [2020-04-14T14:44:04.204Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-14T14:44:04.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-14T14:44:04.204Z] ---> 7c70fe431013 [2020-04-14T14:44:04.204Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T14:44:04.204Z] ---> Running in 353e9bb0740e [2020-04-14T14:44:04.466Z] Removing intermediate container 353e9bb0740e [2020-04-14T14:44:04.466Z] ---> 1e9b73065cc7 [2020-04-14T14:44:04.466Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T14:44:04.466Z] ---> Running in 9898558fef0f [2020-04-14T14:44:05.236Z] 8a11ddd9e578: Verifying Checksum [2020-04-14T14:44:05.236Z] 8a11ddd9e578: Download complete [2020-04-14T14:44:05.418Z] Removing intermediate container 9898558fef0f [2020-04-14T14:44:05.418Z] ---> 7fed4ec2b1c0 [2020-04-14T14:44:05.418Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-14T14:44:05.418Z] ---> Running in 37587bc7ffa2 [2020-04-14T14:44:05.678Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-14T14:44:06.631Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-14T14:44:06.896Z] OK: 143 MiB in 39 packages [2020-04-14T14:44:07.156Z] Removing intermediate container 37587bc7ffa2 [2020-04-14T14:44:07.156Z] ---> a796fa65cdc6 [2020-04-14T14:44:07.156Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-14T14:44:07.156Z] ---> Running in 37d8b9f6de09 [2020-04-14T14:44:07.421Z] Removing intermediate container 37d8b9f6de09 [2020-04-14T14:44:07.421Z] ---> ee6da8a290fa [2020-04-14T14:44:07.421Z] Step 7/8 : COPY . . [2020-04-14T14:44:08.001Z] ---> c123cb35de75 [2020-04-14T14:44:08.001Z] Step 8/8 : RUN go mod download [2020-04-14T14:44:08.001Z] ---> Running in 78d586afb65f [2020-04-14T14:44:10.540Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-14T14:44:10.540Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-14T14:44:10.540Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-14T14:44:10.540Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-14T14:44:10.540Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-14T14:44:10.540Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-14T14:44:10.540Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-14T14:44:10.540Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-14T14:44:10.540Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-14T14:44:10.800Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-14T14:44:10.800Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-14T14:44:10.800Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-14T14:44:10.800Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-14T14:44:10.800Z] go: finding github.com/fatih/color v1.7.0 [2020-04-14T14:44:10.800Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-14T14:44:11.064Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-14T14:44:11.064Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-14T14:44:11.064Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-14T14:44:11.064Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-14T14:44:11.064Z] go: finding github.com/google/uuid v1.1.0 [2020-04-14T14:44:11.064Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-14T14:44:11.064Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-14T14:44:11.064Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-14T14:44:11.324Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-14T14:44:11.324Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-14T14:44:11.324Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-14T14:44:11.324Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-14T14:44:11.325Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-14T14:44:11.325Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-14T14:44:11.325Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-14T14:44:11.325Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-14T14:44:11.325Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-14T14:44:11.325Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-14T14:44:11.325Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-14T14:44:11.325Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-14T14:44:11.325Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-14T14:44:11.325Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-14T14:44:11.325Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-14T14:44:11.325Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T14:44:11.325Z] go: finding github.com/posener/complete v1.1.1 [2020-04-14T14:44:11.325Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-14T14:44:11.325Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-14T14:44:11.325Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-14T14:44:11.325Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-14T14:44:11.325Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-14T14:44:11.325Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-14T14:44:11.592Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-14T14:44:11.592Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-14T14:44:11.592Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-14T14:44:11.592Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-14T14:44:11.592Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-14T14:44:11.592Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-14T14:44:15.822Z] Removing intermediate container 78d586afb65f [2020-04-14T14:44:15.822Z] ---> 10f35191e166 [2020-04-14T14:44:15.822Z] Successfully built 10f35191e166 [2020-04-14T14:44:15.822Z] 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-14T14:44:16.377Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-14T14:44:16.377Z] . [Pipeline] withDockerContainer [2020-04-14T14:44:16.495Z] prd-centos7-docker-4c-2g-3830 does not seem to be running inside a container [2020-04-14T14:44:16.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-14T14:44:17.073Z] $ docker top 5d23b5b5d9d2315ab78d8c5a26a50a29b9c94fdfe562f4a9b4a0cb59907fab38 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T14:44:17.549Z] + go version [2020-04-14T14:44:17.549Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-14T14:44:17.652Z] 8a11ddd9e578: Pull complete [2020-04-14T14:44:17.652Z] 4cf88f913ddb: Pull complete [2020-04-14T14:44:17.652Z] 1df406cf5192: Pull complete [2020-04-14T14:44:17.854Z] + make test [2020-04-14T14:44:17.854Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-14T14:44:18.429Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-14T14:44:21.926Z] cd6300453558: Pull complete [2020-04-14T14:44:27.286Z] b9c365052c96: Pull complete [2020-04-14T14:44:27.286Z] a2d8cc88f415: Pull complete [2020-04-14T14:44:28.714Z] ea1d1ca13537: Pull complete [2020-04-14T14:44:29.303Z] 3750a50a1c5e: Pull complete [2020-04-14T14:44:29.303Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-14T14:44:29.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-14T14:44:29.303Z] ---> 78745c68409d [2020-04-14T14:44:29.303Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T14:44:34.673Z] ---> Running in 9e492f46240c [2020-04-14T14:44:34.673Z] Removing intermediate container 9e492f46240c [2020-04-14T14:44:34.673Z] ---> 892f3cd2625e [2020-04-14T14:44:34.673Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T14:44:34.673Z] ---> Running in 2fae88b8fd0c [2020-04-14T14:44:36.561Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-14T14:44:36.561Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-14T14:44:36.561Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 22.1% of statements [2020-04-14T14:44:36.561Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.053s coverage: 95.8% of statements [2020-04-14T14:44:36.642Z] Removing intermediate container 2fae88b8fd0c [2020-04-14T14:44:36.642Z] ---> a88c6e505fdd [2020-04-14T14:44:36.642Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-14T14:44:36.642Z] ---> Running in 17ae176e3b0b [2020-04-14T14:44:37.615Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-14T14:44:38.593Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-14T14:44:40.001Z] OK: 125 MiB in 39 packages [2020-04-14T14:44:40.981Z] Removing intermediate container 17ae176e3b0b [2020-04-14T14:44:40.981Z] ---> 17d40fbb9916 [2020-04-14T14:44:40.981Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-14T14:44:41.251Z] ---> Running in 40d21ff02ea5 [2020-04-14T14:44:41.520Z] Removing intermediate container 40d21ff02ea5 [2020-04-14T14:44:41.520Z] ---> 3dc03575c688 [2020-04-14T14:44:41.520Z] Step 7/8 : COPY . . [2020-04-14T14:44:42.937Z] ---> 74324b41f375 [2020-04-14T14:44:42.937Z] Step 8/8 : RUN go mod download [2020-04-14T14:44:42.937Z] ---> Running in 6a13277df2e9 [2020-04-14T14:44:44.890Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-14T14:44:44.890Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-14T14:44:44.890Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-14T14:44:45.168Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-14T14:44:45.168Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-14T14:44:45.168Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-14T14:44:45.168Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-14T14:44:45.168Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-14T14:44:45.168Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-14T14:44:45.168Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-14T14:44:45.168Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-14T14:44:45.168Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-14T14:44:45.168Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-14T14:44:45.168Z] go: finding github.com/fatih/color v1.7.0 [2020-04-14T14:44:45.168Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-14T14:44:45.168Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-14T14:44:45.168Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-14T14:44:45.168Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-14T14:44:45.168Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-14T14:44:45.168Z] go: finding github.com/google/uuid v1.1.0 [2020-04-14T14:44:45.168Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-14T14:44:45.168Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-14T14:44:45.168Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-14T14:44:45.168Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-14T14:44:45.168Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-14T14:44:45.168Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-14T14:44:45.168Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-14T14:44:45.168Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-14T14:44:45.168Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-14T14:44:45.168Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-14T14:44:45.168Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-14T14:44:45.168Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-14T14:44:45.168Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-14T14:44:45.438Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-14T14:44:45.438Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-14T14:44:45.438Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-14T14:44:45.438Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-14T14:44:45.438Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-14T14:44:45.438Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-14T14:44:45.438Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-14T14:44:45.438Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-14T14:44:45.438Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-14T14:44:45.438Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-14T14:44:45.438Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-14T14:44:45.438Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-14T14:44:45.438Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-14T14:44:45.438Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-14T14:44:45.438Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-14T14:44:45.438Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-14T14:44:45.438Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-14T14:44:45.438Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-14T14:44:45.438Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-14T14:44:45.438Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-14T14:44:45.438Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-14T14:44:45.438Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T14:44:45.438Z] go: finding github.com/posener/complete v1.1.1 [2020-04-14T14:44:45.706Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-14T14:44:45.706Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-14T14:44:45.706Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-14T14:44:45.706Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-14T14:44:45.706Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-14T14:44:45.706Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-14T14:44:45.706Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-14T14:44:45.706Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-14T14:44:45.706Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-14T14:44:45.706Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-14T14:44:45.706Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-14T14:44:45.706Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-14T14:44:55.791Z] Removing intermediate container 6a13277df2e9 [2020-04-14T14:44:55.791Z] ---> 42f1d63653f8 [2020-04-14T14:44:55.791Z] Successfully built 42f1d63653f8 [2020-04-14T14:44:55.791Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-14T14:44:56.406Z] + docker inspect -f . ci-base-image-arm64 [2020-04-14T14:44:56.677Z] . [Pipeline] withDockerContainer [2020-04-14T14:44:56.989Z] prd-ubuntu18.04-docker-arm64-4c-16g-3829 does not seem to be running inside a container [2020-04-14T14:44:57.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-14T14:44:58.455Z] $ docker top 5364f35d687c0a58d2d7239a2638412b1556f9a752bae4ae5b2c2debf0510b33 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T14:44:59.503Z] + go version [2020-04-14T14:44:59.503Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-14T14:45:00.158Z] + make test [2020-04-14T14:45:00.158Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-14T14:45:01.577Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-14T14:45:08.666Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.030s coverage: 11.4% of statements [2020-04-14T14:45:08.666Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.1% of statements [2020-04-14T14:45:08.666Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-14T14:45:08.666Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.122s coverage: 38.5% of statements [2020-04-14T14:45:08.666Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-14T14:45:08.666Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-14T14:45:08.666Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.378s coverage: 76.5% of statements [2020-04-14T14:45:08.666Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-14T14:45:08.666Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-14T14:45:08.666Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-14T14:45:08.666Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements [2020-04-14T14:45:08.666Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-14T14:45:08.666Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.104s coverage: 71.4% of statements [2020-04-14T14:45:08.666Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-14T14:45:08.666Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-14T14:45:08.666Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-14T14:45:08.666Z] gofmt -l . [2020-04-14T14:45:08.666Z] [ "`gofmt -l .`" = "" ] [2020-04-14T14:45:08.666Z] ./bin/test-attribution-txt.sh [2020-04-14T14:45:09.240Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-14T14:45:09.943Z] Stashed 1 file(s) [Pipeline] } [2020-04-14T14:45:09.949Z] $ docker stop --time=1 5d23b5b5d9d2315ab78d8c5a26a50a29b9c94fdfe562f4a9b4a0cb59907fab38 [2020-04-14T14:45:11.368Z] $ docker rm -f 5d23b5b5d9d2315ab78d8c5a26a50a29b9c94fdfe562f4a9b4a0cb59907fab38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-14T14:45:12.763Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-14T14:45:13.051Z] + ls -al . [2020-04-14T14:45:13.051Z] total 160 [2020-04-14T14:45:13.051Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 14 14:45 . [2020-04-14T14:45:13.051Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 14 14:43 .. [2020-04-14T14:45:13.051Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 14 14:43 api [2020-04-14T14:45:13.051Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 14:43 bin [2020-04-14T14:45:13.051Z] -rw-r--r--. 1 jenkins jenkins 97490 Apr 14 14:45 coverage.out [2020-04-14T14:45:13.051Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 14 14:43 Dockerfile.build [2020-04-14T14:45:13.051Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 14:43 .dockerignore [2020-04-14T14:45:13.051Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 14 14:43 example [2020-04-14T14:45:13.051Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 14 14:43 .git [2020-04-14T14:45:13.051Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 14 14:43 .github [2020-04-14T14:45:13.051Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 14:43 .gitignore [2020-04-14T14:45:13.051Z] -rw-r--r--. 1 jenkins jenkins 475 Apr 14 14:45 go.mod [2020-04-14T14:45:13.051Z] -rw-r--r--. 1 jenkins jenkins 12152 Apr 14 14:45 go.sum [2020-04-14T14:45:13.051Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 14 14:43 internal [2020-04-14T14:45:13.051Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 14 14:43 Jenkinsfile [2020-04-14T14:45:13.051Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 14:43 LICENSE [2020-04-14T14:45:13.051Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 14 14:43 Makefile [2020-04-14T14:45:13.051Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 14:43 pkg [2020-04-14T14:45:13.051Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 14 14:43 README.md [2020-04-14T14:45:13.051Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 14 14:43 .semver [2020-04-14T14:45:13.051Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 14:43 snap [2020-04-14T14:45:13.051Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 14 14:41 VERSION [2020-04-14T14:45:13.051Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 14:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-14T14:45:13.342Z] + 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=b0c72aa2c5a0d2eda1630d7a265a7fbaaba585e6 --label arch=amd64 --label version=0.0.0 . [2020-04-14T14:45:13.342Z] Sending build context to Docker daemon 3.047MB [2020-04-14T14:45:13.342Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-14T14:45:13.342Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-14T14:45:13.342Z] ---> 10f35191e166 [2020-04-14T14:45:13.342Z] Step 3/21 : ARG MAKE='make build' [2020-04-14T14:45:13.601Z] ---> Running in a1769ccaaba3 [2020-04-14T14:45:13.601Z] Removing intermediate container a1769ccaaba3 [2020-04-14T14:45:13.601Z] ---> 40b60db67099 [2020-04-14T14:45:13.601Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-14T14:45:13.601Z] ---> Running in 08cca2504cc1 [2020-04-14T14:45:13.860Z] Removing intermediate container 08cca2504cc1 [2020-04-14T14:45:13.860Z] ---> 6a4ffaa02aa8 [2020-04-14T14:45:13.860Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T14:45:13.860Z] ---> Running in 3b22bf49302d [2020-04-14T14:45:13.860Z] Removing intermediate container 3b22bf49302d [2020-04-14T14:45:13.860Z] ---> 917f822c6db0 [2020-04-14T14:45:13.860Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T14:45:14.121Z] ---> Running in d7f644bd0529 [2020-04-14T14:45:14.691Z] Removing intermediate container d7f644bd0529 [2020-04-14T14:45:14.691Z] ---> 1d52f51db959 [2020-04-14T14:45:14.691Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-14T14:45:14.691Z] ---> Running in 32113a7bffec [2020-04-14T14:45:14.950Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-14T14:45:15.889Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-14T14:45:15.889Z] OK: 143 MiB in 39 packages [2020-04-14T14:45:16.458Z] Removing intermediate container 32113a7bffec [2020-04-14T14:45:16.458Z] ---> c18b09020ea2 [2020-04-14T14:45:16.458Z] Step 8/21 : COPY . . [2020-04-14T14:45:17.220Z] ---> c54ddbd2f3ad [2020-04-14T14:45:17.220Z] Step 9/21 : RUN ${MAKE} [2020-04-14T14:45:17.220Z] ---> Running in 66518b96c6d2 [2020-04-14T14:45:17.220Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-14T14:45:29.524Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-14T14:45:29.524Z] Removing intermediate container 66518b96c6d2 [2020-04-14T14:45:29.524Z] ---> be0d7ed85a81 [2020-04-14T14:45:29.524Z] Step 10/21 : FROM scratch [2020-04-14T14:45:29.524Z] ---> [2020-04-14T14:45:29.524Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T14:45:29.784Z] ---> Running in 8d7e6ccfec87 [2020-04-14T14:45:29.784Z] Removing intermediate container 8d7e6ccfec87 [2020-04-14T14:45:29.784Z] ---> 4a31468f0c4e [2020-04-14T14:45:29.784Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-14T14:45:29.784Z] ---> Running in 0d5126c41f5a [2020-04-14T14:45:29.784Z] Removing intermediate container 0d5126c41f5a [2020-04-14T14:45:29.784Z] ---> e5f7158cf1ac [2020-04-14T14:45:29.784Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-14T14:45:30.044Z] ---> Running in 9c71aebdd1d1 [2020-04-14T14:45:30.044Z] Removing intermediate container 9c71aebdd1d1 [2020-04-14T14:45:30.044Z] ---> e16141ef086a [2020-04-14T14:45:30.044Z] Step 14/21 : WORKDIR / [2020-04-14T14:45:30.044Z] ---> Running in 653ea90cacdb [2020-04-14T14:45:30.306Z] Removing intermediate container 653ea90cacdb [2020-04-14T14:45:30.306Z] ---> e220246ff85c [2020-04-14T14:45:30.306Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-14T14:45:30.877Z] ---> ebc187a5d29b [2020-04-14T14:45:30.877Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-14T14:45:30.877Z] ---> 1c033af7367e [2020-04-14T14:45:30.877Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-14T14:45:31.139Z] ---> cd54eb519b6f [2020-04-14T14:45:31.139Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-14T14:45:31.139Z] ---> Running in 3295abd7a91f [2020-04-14T14:45:31.140Z] Removing intermediate container 3295abd7a91f [2020-04-14T14:45:31.140Z] ---> 442d5fbaea8c [2020-04-14T14:45:31.140Z] Step 19/21 : LABEL arch=amd64 [2020-04-14T14:45:31.399Z] ---> Running in 43262af29f89 [2020-04-14T14:45:31.399Z] Removing intermediate container 43262af29f89 [2020-04-14T14:45:31.399Z] ---> ca23e313c1ca [2020-04-14T14:45:31.399Z] Step 20/21 : LABEL git_sha=b0c72aa2c5a0d2eda1630d7a265a7fbaaba585e6 [2020-04-14T14:45:31.399Z] ---> Running in f5b33c8e6927 [2020-04-14T14:45:31.658Z] Removing intermediate container f5b33c8e6927 [2020-04-14T14:45:31.658Z] ---> 22acfa15c464 [2020-04-14T14:45:31.658Z] Step 21/21 : LABEL version=0.0.0 [2020-04-14T14:45:31.658Z] ---> Running in 8ab730e62666 [2020-04-14T14:45:31.917Z] Removing intermediate container 8ab730e62666 [2020-04-14T14:45:31.917Z] ---> 57758916a54c [2020-04-14T14:45:31.917Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-14T14:45:31.917Z] Successfully built 57758916a54c [2020-04-14T14:45:31.917Z] 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-14T14:45:49.064Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-14T14:45:49.064Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-14T14:45:49.064Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.025s coverage: 22.1% of statements [2020-04-14T14:45:49.064Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.141s coverage: 95.8% of statements [2020-04-14T14:46:07.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.068s coverage: 11.4% of statements [2020-04-14T14:46:07.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 22.1% of statements [2020-04-14T14:46:07.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-14T14:46:07.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.130s coverage: 38.5% of statements [2020-04-14T14:46:07.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-14T14:46:07.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-14T14:46:07.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.608s coverage: 76.5% of statements [2020-04-14T14:46:07.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-14T14:46:07.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-14T14:46:07.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-14T14:46:07.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.035s coverage: 52.6% of statements [2020-04-14T14:46:07.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-14T14:46:07.258Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.341s coverage: 71.4% of statements [2020-04-14T14:46:07.258Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-14T14:46:07.258Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-14T14:46:07.258Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-14T14:46:12.628Z] gofmt -l . [2020-04-14T14:46:12.628Z] [ "`gofmt -l .`" = "" ] [2020-04-14T14:46:12.898Z] ./bin/test-attribution-txt.sh [2020-04-14T14:46:13.865Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-14T14:46:14.153Z] Warning: overwriting stash ‘coverage-report’ [2020-04-14T14:46:14.618Z] Stashed 1 file(s) [Pipeline] } [2020-04-14T14:46:14.627Z] $ docker stop --time=1 5364f35d687c0a58d2d7239a2638412b1556f9a752bae4ae5b2c2debf0510b33 [2020-04-14T14:46:16.834Z] $ docker rm -f 5364f35d687c0a58d2d7239a2638412b1556f9a752bae4ae5b2c2debf0510b33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-14T14:46:18.091Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-14T14:46:18.429Z] + ls -al . [2020-04-14T14:46:18.429Z] total 200 [2020-04-14T14:46:18.429Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 14 14:46 . [2020-04-14T14:46:18.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 14:43 .. [2020-04-14T14:46:18.429Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 14:43 .dockerignore [2020-04-14T14:46:18.429Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 14:43 .git [2020-04-14T14:46:18.429Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 14:43 .github [2020-04-14T14:46:18.429Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 14:43 .gitignore [2020-04-14T14:46:18.429Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 14:43 .semver [2020-04-14T14:46:18.429Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 14 14:43 Dockerfile.build [2020-04-14T14:46:18.429Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 14 14:43 Jenkinsfile [2020-04-14T14:46:18.429Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 14:43 LICENSE [2020-04-14T14:46:18.429Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 14 14:43 Makefile [2020-04-14T14:46:18.429Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 14 14:43 README.md [2020-04-14T14:46:18.429Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 14:41 VERSION [2020-04-14T14:46:18.429Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 14:43 api [2020-04-14T14:46:18.429Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 14:43 bin [2020-04-14T14:46:18.429Z] -rw-r--r-- 1 jenkins jenkins 97490 Apr 14 14:46 coverage.out [2020-04-14T14:46:18.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 14:43 example [2020-04-14T14:46:18.429Z] -rw-r--r-- 1 jenkins jenkins 475 Apr 14 14:46 go.mod [2020-04-14T14:46:18.429Z] -rw-r--r-- 1 jenkins jenkins 12152 Apr 14 14:46 go.sum [2020-04-14T14:46:18.429Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 14:43 internal [2020-04-14T14:46:18.429Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 14:43 pkg [2020-04-14T14:46:18.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 14:43 snap [2020-04-14T14:46:18.429Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 14:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-14T14:46:18.763Z] + 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=b0c72aa2c5a0d2eda1630d7a265a7fbaaba585e6 --label arch=arm64 --label version=0.0.0 . [2020-04-14T14:46:19.455Z] Sending build context to Docker daemon 3.047MB [2020-04-14T14:46:19.456Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-14T14:46:19.456Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-14T14:46:19.456Z] ---> 42f1d63653f8 [2020-04-14T14:46:19.456Z] Step 3/21 : ARG MAKE='make build' [2020-04-14T14:46:19.456Z] ---> Running in d42b7ab0da4b [2020-04-14T14:46:20.063Z] Removing intermediate container d42b7ab0da4b [2020-04-14T14:46:20.063Z] ---> e68a77714bf1 [2020-04-14T14:46:20.063Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-14T14:46:20.063Z] ---> Running in e6c8530a8168 [2020-04-14T14:46:20.664Z] Removing intermediate container e6c8530a8168 [2020-04-14T14:46:20.664Z] ---> 58575314cdfe [2020-04-14T14:46:20.664Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T14:46:20.664Z] ---> Running in 299cbab16427 [2020-04-14T14:46:20.938Z] Removing intermediate container 299cbab16427 [2020-04-14T14:46:20.938Z] ---> ce353f451e9f [2020-04-14T14:46:20.938Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T14:46:21.219Z] ---> Running in 69027ad5b0da [2020-04-14T14:46:23.173Z] Removing intermediate container 69027ad5b0da [2020-04-14T14:46:23.173Z] ---> 3c473314b537 [2020-04-14T14:46:23.173Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-14T14:46:23.173Z] ---> Running in 298e94a7ed9d [2020-04-14T14:46:24.136Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-14T14:46:24.718Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-14T14:46:25.304Z] OK: 125 MiB in 39 packages [2020-04-14T14:46:26.271Z] Removing intermediate container 298e94a7ed9d [2020-04-14T14:46:26.271Z] ---> a1941ea509df [2020-04-14T14:46:26.271Z] Step 8/21 : COPY . . [2020-04-14T14:46:27.690Z] ---> bf3611961e41 [2020-04-14T14:46:27.690Z] Step 9/21 : RUN ${MAKE} [2020-04-14T14:46:27.690Z] ---> Running in 61b3ff96d632 [2020-04-14T14:46:28.276Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-14T14:47:07.310Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-14T14:47:07.310Z] Removing intermediate container 61b3ff96d632 [2020-04-14T14:47:07.310Z] ---> a9d208c58ed7 [2020-04-14T14:47:07.310Z] Step 10/21 : FROM scratch [2020-04-14T14:47:07.310Z] ---> [2020-04-14T14:47:07.310Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T14:47:07.310Z] ---> Running in 18652e3bfdbe [2020-04-14T14:47:07.310Z] Removing intermediate container 18652e3bfdbe [2020-04-14T14:47:07.310Z] ---> 03dbbce23146 [2020-04-14T14:47:07.310Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-14T14:47:07.310Z] ---> Running in 33b7a0b20a71 [2020-04-14T14:47:07.310Z] Removing intermediate container 33b7a0b20a71 [2020-04-14T14:47:07.310Z] ---> 6b948a361308 [2020-04-14T14:47:07.310Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-14T14:47:07.310Z] ---> Running in cd36d79df52d [2020-04-14T14:47:07.310Z] Removing intermediate container cd36d79df52d [2020-04-14T14:47:07.310Z] ---> 896fb2a5b2ff [2020-04-14T14:47:07.310Z] Step 14/21 : WORKDIR / [2020-04-14T14:47:07.310Z] ---> Running in 313f9febdd12 [2020-04-14T14:47:07.310Z] Removing intermediate container 313f9febdd12 [2020-04-14T14:47:07.310Z] ---> 146587cfdfc4 [2020-04-14T14:47:07.310Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-14T14:47:07.581Z] ---> be4a25ce981e [2020-04-14T14:47:07.581Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-14T14:47:08.168Z] ---> 3d3e71ef84e9 [2020-04-14T14:47:08.168Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-14T14:47:08.755Z] ---> d7f1a94dc2f4 [2020-04-14T14:47:08.755Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-14T14:47:08.755Z] ---> Running in 8ea5cf7b157a [2020-04-14T14:47:09.030Z] Removing intermediate container 8ea5cf7b157a [2020-04-14T14:47:09.030Z] ---> 846d80fa27c5 [2020-04-14T14:47:09.030Z] Step 19/21 : LABEL arch=arm64 [2020-04-14T14:47:09.308Z] ---> Running in 586231392f5e [2020-04-14T14:47:09.577Z] Removing intermediate container 586231392f5e [2020-04-14T14:47:09.577Z] ---> 065032c729f1 [2020-04-14T14:47:09.577Z] Step 20/21 : LABEL git_sha=b0c72aa2c5a0d2eda1630d7a265a7fbaaba585e6 [2020-04-14T14:47:09.577Z] ---> Running in 84d14a614df6 [2020-04-14T14:47:10.160Z] Removing intermediate container 84d14a614df6 [2020-04-14T14:47:10.160Z] ---> 64cb35ee282f [2020-04-14T14:47:10.160Z] Step 21/21 : LABEL version=0.0.0 [2020-04-14T14:47:10.160Z] ---> Running in ad00a6eecd6c [2020-04-14T14:47:10.425Z] Removing intermediate container ad00a6eecd6c [2020-04-14T14:47:10.425Z] ---> f316ca2709a4 [2020-04-14T14:47:10.425Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-14T14:47:10.425Z] Successfully built f316ca2709a4 [2020-04-14T14:47:10.425Z] 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-14T14:47:11.451Z] provisioning config files... [2020-04-14T14:47:11.464Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config1302965999795408245tmp [Pipeline] { [Pipeline] sh [2020-04-14T14:47:11.819Z] + curl -s https://codecov.io/bash [2020-04-14T14:47:11.819Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config1302965999795408245tmp [2020-04-14T14:47:12.389Z] [2020-04-14T14:47:12.389Z] _____ _ [2020-04-14T14:47:12.389Z] / ____| | | [2020-04-14T14:47:12.389Z] | | ___ __| | ___ ___ _____ __ [2020-04-14T14:47:12.389Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-14T14:47:12.389Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-14T14:47:12.389Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-14T14:47:12.389Z] Bash-20200410-0786dee [2020-04-14T14:47:12.389Z] [2020-04-14T14:47:12.389Z] [2020-04-14T14:47:12.389Z] ==> Jenkins CI detected. [2020-04-14T14:47:12.389Z] project root: . [2020-04-14T14:47:12.389Z] Fixing merge commit SHA [2020-04-14T14:47:12.389Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-14T14:47:12.389Z] ==> Running gcov in . (disable via -X gcov) [2020-04-14T14:47:12.389Z] ==> Python coveragepy not found [2020-04-14T14:47:12.389Z] ==> Searching for coverage reports in: [2020-04-14T14:47:12.389Z] + . [2020-04-14T14:47:12.389Z] -> Found 1 reports [2020-04-14T14:47:12.389Z] ==> Detecting git/mercurial file structure [2020-04-14T14:47:12.389Z] ==> Reading reports [2020-04-14T14:47:12.389Z] + ./coverage.out bytes=97490 [2020-04-14T14:47:12.389Z] ==> Appending adjustments [2020-04-14T14:47:12.389Z] http://docs.codecov.io/docs/fixing-reports [2020-04-14T14:47:12.651Z] + Found adjustments [2020-04-14T14:47:12.651Z] ==> Gzipping contents [2020-04-14T14:47:12.651Z] ==> Uploading reports [2020-04-14T14:47:12.651Z] url: https://codecov.io [2020-04-14T14:47:12.651Z] query: branch=PR-464&commit=40c90adbf9fac26db7d7745c142bac7f98eae2fe&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-04-14T14:47:12.651Z] -> Pinging Codecov [2020-04-14T14:47:12.651Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-464&commit=40c90adbf9fac26db7d7745c142bac7f98eae2fe&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-04-14T14:47:16.851Z] -> Uploading [2020-04-14T14:47:16.851Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/40c90adbf9fac26db7d7745c142bac7f98eae2fe [Pipeline] } [2020-04-14T14:47:16.859Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [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-14T14:47:17.978Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T14:47:18.283Z] ---> package-listing.sh [2020-04-14T14:47:18.284Z] ++ facter osfamily [2020-04-14T14:47:18.284Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-14T14:47:18.284Z] + OS_FAMILY=redhat [2020-04-14T14:47:18.284Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-14T14:47:18.284Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-14T14:47:18.284Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-14T14:47:18.284Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-14T14:47:18.284Z] + PACKAGES=/tmp/packages_start.txt [2020-04-14T14:47:18.284Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' [2020-04-14T14:47:18.284Z] + PACKAGES=/tmp/packages_end.txt [2020-04-14T14:47:18.284Z] + case "${OS_FAMILY}" in [2020-04-14T14:47:18.284Z] + rpm -qa [2020-04-14T14:47:18.284Z] + sort [2020-04-14T14:47:22.483Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-14T14:47:22.483Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-14T14:47:22.483Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-14T14:47:22.483Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' [2020-04-14T14:47:22.483Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [2020-04-14T14:47:22.483Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-14T14:47:22.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T14:47:22.976Z] [2020-04-14T14:47:22.976Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-14T14:47:23.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T14:47:23.310Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-14T14:47:23.310Z] c9b1b535fdd9: Pulling fs layer [2020-04-14T14:47:23.310Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-14T14:47:23.310Z] 756a868c4378: Pulling fs layer [2020-04-14T14:47:23.310Z] 444b2fc9a129: Pulling fs layer [2020-04-14T14:47:23.310Z] ea15f1150254: Pulling fs layer [2020-04-14T14:47:23.310Z] 41b27a9f41bf: Pulling fs layer [2020-04-14T14:47:23.310Z] 28c525ee5125: Pulling fs layer [2020-04-14T14:47:23.310Z] 094b1ea09ed8: Pulling fs layer [2020-04-14T14:47:23.310Z] 138eaada9080: Pulling fs layer [2020-04-14T14:47:23.310Z] 0622d0fa9048: Pulling fs layer [2020-04-14T14:47:23.310Z] 444b2fc9a129: Waiting [2020-04-14T14:47:23.310Z] ea15f1150254: Waiting [2020-04-14T14:47:23.310Z] 41b27a9f41bf: Waiting [2020-04-14T14:47:23.310Z] 28c525ee5125: Waiting [2020-04-14T14:47:23.310Z] 138eaada9080: Waiting [2020-04-14T14:47:23.310Z] 0622d0fa9048: Waiting [2020-04-14T14:47:23.310Z] 094b1ea09ed8: Waiting [2020-04-14T14:47:23.310Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-14T14:47:23.310Z] 2cc5ad85d9ab: Download complete [2020-04-14T14:47:23.310Z] 444b2fc9a129: Verifying Checksum [2020-04-14T14:47:23.310Z] 444b2fc9a129: Download complete [2020-04-14T14:47:23.310Z] c9b1b535fdd9: Verifying Checksum [2020-04-14T14:47:23.310Z] c9b1b535fdd9: Download complete [2020-04-14T14:47:23.310Z] ea15f1150254: Verifying Checksum [2020-04-14T14:47:23.310Z] ea15f1150254: Download complete [2020-04-14T14:47:23.578Z] 28c525ee5125: Verifying Checksum [2020-04-14T14:47:23.578Z] 28c525ee5125: Download complete [2020-04-14T14:47:23.853Z] 756a868c4378: Verifying Checksum [2020-04-14T14:47:23.853Z] 756a868c4378: Download complete [2020-04-14T14:47:23.853Z] c9b1b535fdd9: Pull complete [2020-04-14T14:47:23.853Z] 094b1ea09ed8: Verifying Checksum [2020-04-14T14:47:23.853Z] 094b1ea09ed8: Download complete [2020-04-14T14:47:23.853Z] 138eaada9080: Verifying Checksum [2020-04-14T14:47:23.853Z] 138eaada9080: Download complete [2020-04-14T14:47:23.853Z] 0622d0fa9048: Verifying Checksum [2020-04-14T14:47:23.853Z] 0622d0fa9048: Download complete [2020-04-14T14:47:23.853Z] 2cc5ad85d9ab: Pull complete [2020-04-14T14:47:24.810Z] 41b27a9f41bf: Verifying Checksum [2020-04-14T14:47:24.810Z] 41b27a9f41bf: Download complete [2020-04-14T14:47:25.382Z] 756a868c4378: Pull complete [2020-04-14T14:47:25.642Z] 444b2fc9a129: Pull complete [2020-04-14T14:47:25.902Z] ea15f1150254: Pull complete [2020-04-14T14:47:29.229Z] 41b27a9f41bf: Pull complete [2020-04-14T14:47:29.229Z] 28c525ee5125: Pull complete [2020-04-14T14:47:31.147Z] 094b1ea09ed8: Pull complete [2020-04-14T14:47:31.407Z] 138eaada9080: Pull complete [2020-04-14T14:47:31.407Z] 0622d0fa9048: Pull complete [2020-04-14T14:47:31.407Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-14T14:47:31.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-14T14:47:31.573Z] prd-centos7-docker-4c-2g-3827 does not seem to be running inside a container [2020-04-14T14:47:31.617Z] $ 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_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-14T14:47:32.631Z] $ docker top 7a1c9872768458891d88febd93a59649e34f80afd8a798d2db9b9e7e4cbdc4a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-14T14:47:32.922Z] provisioning config files... [2020-04-14T14:47:32.937Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config5659572128915524773tmp [Pipeline] { [Pipeline] echo [2020-04-14T14:47:32.983Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T14:47:33.274Z] ---> create-netrc.sh [Pipeline] echo [2020-04-14T14:47:33.282Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T14:47:33.572Z] ---> logs-deploy.sh [2020-04-14T14:47:33.572Z] + ARCHIVE_ARTIFACTS= [2020-04-14T14:47:33.572Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-14T14:47:33.572Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-14T14:47:33.572Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-14T14:47:33.572Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/18 [2020-04-14T14:47:33.572Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/18/ [2020-04-14T14:47:33.572Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/18 /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-14T14:47:34.952Z] Archives upload complete. [2020-04-14T14:47:34.952Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/18 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/18/ [2020-04-14T14:47:35.520Z] ---> uname -a: [2020-04-14T14:47:35.520Z] Linux 7a1c98727684 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-04-14T14:47:35.520Z] [2020-04-14T14:47:35.520Z] [2020-04-14T14:47:35.520Z] ---> lscpu: [2020-04-14T14:47:35.520Z] Architecture: x86_64 [2020-04-14T14:47:35.520Z] CPU op-mode(s): 32-bit, 64-bit [2020-04-14T14:47:35.520Z] Byte Order: Little Endian [2020-04-14T14:47:35.520Z] Address sizes: 40 bits physical, 48 bits virtual [2020-04-14T14:47:35.520Z] CPU(s): 4 [2020-04-14T14:47:35.520Z] On-line CPU(s) list: 0-3 [2020-04-14T14:47:35.520Z] Thread(s) per core: 1 [2020-04-14T14:47:35.520Z] Core(s) per socket: 1 [2020-04-14T14:47:35.520Z] Socket(s): 4 [2020-04-14T14:47:35.520Z] NUMA node(s): 1 [2020-04-14T14:47:35.520Z] Vendor ID: GenuineIntel [2020-04-14T14:47:35.520Z] CPU family: 6 [2020-04-14T14:47:35.520Z] Model: 44 [2020-04-14T14:47:35.520Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-04-14T14:47:35.520Z] Stepping: 1 [2020-04-14T14:47:35.520Z] CPU MHz: 2933.438 [2020-04-14T14:47:35.520Z] BogoMIPS: 5866.87 [2020-04-14T14:47:35.520Z] Virtualization: VT-x [2020-04-14T14:47:35.520Z] Hypervisor vendor: KVM [2020-04-14T14:47:35.520Z] Virtualization type: full [2020-04-14T14:47:35.520Z] L1d cache: 128 KiB [2020-04-14T14:47:35.520Z] L1i cache: 128 KiB [2020-04-14T14:47:35.520Z] L2 cache: 16 MiB [2020-04-14T14:47:35.520Z] L3 cache: 64 MiB [2020-04-14T14:47:35.520Z] NUMA node0 CPU(s): 0-3 [2020-04-14T14:47:35.520Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-04-14T14:47:35.521Z] Vulnerability Meltdown: Mitigation; PTI [2020-04-14T14:47:35.521Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-04-14T14:47:35.521Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-04-14T14:47:35.521Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-04-14T14:47:35.521Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-04-14T14:47:35.521Z] [2020-04-14T14:47:35.521Z]