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 hahattan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 2731ca63cc475b67e9cc596139d210d033590fbd rather than 9a745bfe32a5a3404c99a3416363415dbe8e7da9 Obtained Jenkinsfile from 2731ca63cc475b67e9cc596139d210d033590fbd 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 b810438aec07f555226556e3b59abf2bab733840 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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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 Running on prd-centos7-docker-4c-2g-8195 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [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_PR-448 # 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/448/head:refs/remotes/origin/PR-448 +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/448/head:refs/remotes/origin/PR-448 # timeout=10 Fetching without tags Merging remotes/origin/master commit 2731ca63cc475b67e9cc596139d210d033590fbd into PR head commit 9a745bfe32a5a3404c99a3416363415dbe8e7da9 > 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/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a745bfe32a5a3404c99a3416363415dbe8e7da9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing 8e5822ca124ac0b4ae7795c492b60a29504fbe43 Checking out Revision 8e5822ca124ac0b4ae7795c492b60a29504fbe43 (PR-448) > git merge 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8e5822ca124ac0b4ae7795c492b60a29504fbe43 # timeout=10 Commit message: "Merge commit '2731ca63cc475b67e9cc596139d210d033590fbd' into HEAD" > git rev-list --no-walk 9a745bfe32a5a3404c99a3416363415dbe8e7da9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-09T18:40:27.139Z] 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-03-09T18:40:29.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T18:40:29.938Z] [2020-03-09T18:40:29.938Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:40:30.312Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T18:40:30.313Z] latest: Pulling from edgex-devops/git-semver [2020-03-09T18:40:30.313Z] 9123ac7c32f7: Pulling fs layer [2020-03-09T18:40:30.313Z] b8cc5d1170e3: Pulling fs layer [2020-03-09T18:40:30.313Z] 2924cbbf6a41: Pulling fs layer [2020-03-09T18:40:30.313Z] 93b08a4f1073: Pulling fs layer [2020-03-09T18:40:30.313Z] 93b08a4f1073: Waiting [2020-03-09T18:40:30.591Z] b8cc5d1170e3: Verifying Checksum [2020-03-09T18:40:30.591Z] b8cc5d1170e3: Download complete [2020-03-09T18:40:31.277Z] 9123ac7c32f7: Verifying Checksum [2020-03-09T18:40:31.277Z] 9123ac7c32f7: Download complete [2020-03-09T18:40:31.880Z] 9123ac7c32f7: Pull complete [2020-03-09T18:40:31.880Z] b8cc5d1170e3: Pull complete [2020-03-09T18:40:32.521Z] 93b08a4f1073: Verifying Checksum [2020-03-09T18:40:32.521Z] 93b08a4f1073: Download complete [2020-03-09T18:40:32.521Z] 2924cbbf6a41: Verifying Checksum [2020-03-09T18:40:32.521Z] 2924cbbf6a41: Download complete [2020-03-09T18:40:34.249Z] 2924cbbf6a41: Pull complete [2020-03-09T18:40:34.249Z] 93b08a4f1073: Pull complete [2020-03-09T18:40:34.249Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-09T18:40:34.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-09T18:40:34.602Z] prd-centos7-docker-4c-2g-8195 does not seem to be running inside a container [2020-03-09T18:40:34.663Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-09T18:40:35.804Z] $ docker top 167dd8600681a26f83bbdc7c7668816ed576e2898ee98e9b35eb52f7a872a8e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-09T18:40:37.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T18:40:37.553Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T18:40:38.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T18:40:38.277Z] $ docker exec 167dd8600681a26f83bbdc7c7668816ed576e2898ee98e9b35eb52f7a872a8e1 ssh-agent [2020-03-09T18:40:38.841Z] SSH_AUTH_SOCK=/tmp/ssh-XgfT0F6cHymq/agent.14 [2020-03-09T18:40:38.841Z] SSH_AGENT_PID=20 [2020-03-09T18:40:38.864Z] Running ssh-add (command line suppressed) [2020-03-09T18:40:39.208Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_3681539562862666967.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_3681539562862666967.key) [2020-03-09T18:40:39.349Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T18:40:39.998Z] + git describe --exact-match --tags HEAD [2020-03-09T18:40:39.999Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-09T18:40:40.358Z] $ docker exec --env ******** --env ******** 167dd8600681a26f83bbdc7c7668816ed576e2898ee98e9b35eb52f7a872a8e1 ssh-agent -k [2020-03-09T18:40:40.687Z] unset SSH_AUTH_SOCK; [2020-03-09T18:40:40.688Z] unset SSH_AGENT_PID; [2020-03-09T18:40:40.688Z] echo Agent pid 20 killed; [2020-03-09T18:40:40.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-09T18:40:40.883Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-09T18:40:40.883Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-09T18:40:40.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T18:40:40.965Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T18:40:41.341Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T18:40:41.350Z] $ docker exec 167dd8600681a26f83bbdc7c7668816ed576e2898ee98e9b35eb52f7a872a8e1 ssh-agent [2020-03-09T18:40:41.572Z] SSH_AUTH_SOCK=/tmp/ssh-qA71sLGAhX19/agent.55 [2020-03-09T18:40:41.572Z] SSH_AGENT_PID=62 [2020-03-09T18:40:41.580Z] Running ssh-add (command line suppressed) [2020-03-09T18:40:41.791Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_1713496193991647952.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_1713496193991647952.key) [2020-03-09T18:40:41.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T18:40:42.596Z] + git semver init [2020-03-09T18:40:42.596Z] # -> Open(): unable to determine branch for HEAD [2020-03-09T18:40:42.596Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.git [2020-03-09T18:40:42.596Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-03-09T18:40:42.596Z] # $SEMVER_REMOTE_NAME = origin [2020-03-09T18:40:42.596Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-09T18:40:42.596Z] # $SEMVER_USER_NAME = jenkins [2020-03-09T18:40:42.596Z] # $SEMVER_BRANCH = PR-448 [2020-03-09T18:40:42.596Z] # $SEMVER_TEMP = /tmp/semver-041886613 [2020-03-09T18:40:42.596Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-09T18:40:43.166Z] # '/tmp/semver-041886613' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver' [2020-03-09T18:40:43.166Z] # -> Force: false [2020-03-09T18:40:43.166Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver [Pipeline] } [2020-03-09T18:40:43.188Z] $ docker exec --env ******** --env ******** 167dd8600681a26f83bbdc7c7668816ed576e2898ee98e9b35eb52f7a872a8e1 ssh-agent -k [2020-03-09T18:40:43.585Z] unset SSH_AUTH_SOCK; [2020-03-09T18:40:43.586Z] unset SSH_AGENT_PID; [2020-03-09T18:40:43.586Z] echo Agent pid 62 killed; [2020-03-09T18:40:43.690Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-09T18:40:44.539Z] + git semver [Pipeline] } [2020-03-09T18:40:44.563Z] $ docker stop --time=1 167dd8600681a26f83bbdc7c7668816ed576e2898ee98e9b35eb52f7a872a8e1 [2020-03-09T18:40:46.335Z] $ docker rm -f 167dd8600681a26f83bbdc7c7668816ed576e2898ee98e9b35eb52f7a872a8e1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-09T18:40:48.302Z] Stashed 30 file(s) [Pipeline] echo [2020-03-09T18:40:48.304Z] [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-03-09T18:41:03.562Z] Still waiting to schedule task [2020-03-09T18:41:03.562Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-09T18:41:03.563Z] Still waiting to schedule task [2020-03-09T18:41:03.563Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-09T18:45:28.109Z] Running on prd-centos7-docker-4c-2g-8888 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws [2020-03-09T18:45:28.161Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-03-09T18:45:37.451Z] using credential edgex-jenkins-ssh [2020-03-09T18:45:37.506Z] Cloning the remote Git repository [2020-03-09T18:45:37.507Z] Cloning with configured refspecs honoured and without tags [2020-03-09T18:45:37.680Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T18:45:37.924Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-03-09T18:45:38.187Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T18:45:38.188Z] > git --version # timeout=10 [2020-03-09T18:45:38.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:45:38.473Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:45:40.616Z] Fetching without tags [2020-03-09T18:45:41.182Z] Merging remotes/origin/master commit 2731ca63cc475b67e9cc596139d210d033590fbd into PR head commit 9a745bfe32a5a3404c99a3416363415dbe8e7da9 [2020-03-09T18:45:40.084Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T18:45:40.193Z] > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 [2020-03-09T18:45:40.255Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:45:40.514Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T18:45:40.626Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T18:45:40.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:45:40.678Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:45:41.210Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T18:45:41.226Z] > git checkout -f 9a745bfe32a5a3404c99a3416363415dbe8e7da9 # timeout=10 [2020-03-09T18:45:41.341Z] > git remote # timeout=10 [2020-03-09T18:45:41.813Z] Merge succeeded, producing bca424da7a8023b128b9a33acbb2d07c91b6b1e5 [2020-03-09T18:45:41.814Z] Checking out Revision bca424da7a8023b128b9a33acbb2d07c91b6b1e5 (PR-448) [2020-03-09T18:45:41.547Z] > git config --get remote.origin.url # timeout=10 [2020-03-09T18:45:41.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:45:41.630Z] > git merge 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 [2020-03-09T18:45:41.717Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-09T18:45:41.815Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T18:45:41.901Z] > git checkout -f bca424da7a8023b128b9a33acbb2d07c91b6b1e5 # timeout=10 [2020-03-09T18:45:48.438Z] Commit message: "Merge commit '2731ca63cc475b67e9cc596139d210d033590fbd' into HEAD" [2020-03-09T18:45:48.486Z] > git rev-list --no-walk 9a745bfe32a5a3404c99a3416363415dbe8e7da9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-09T18:45:51.311Z] ========================================================= [2020-03-09T18:45:51.311Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-09T18:45:51.311Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:45:52.807Z] + 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-03-09T18:45:53.804Z] Sending build context to Docker daemon 2.716MB [2020-03-09T18:45:53.804Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-09T18:45:53.804Z] Step 2/8 : FROM ${BASE} [2020-03-09T18:45:54.149Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-09T18:45:54.149Z] e6b0cf9c0882: Pulling fs layer [2020-03-09T18:45:54.149Z] 2848faf0eed1: Pulling fs layer [2020-03-09T18:45:54.149Z] 0f37312ad70f: Pulling fs layer [2020-03-09T18:45:54.149Z] 5788d62ee057: Pulling fs layer [2020-03-09T18:45:54.149Z] 0e6b1d234666: Pulling fs layer [2020-03-09T18:45:54.149Z] bf5d7aec512f: Pulling fs layer [2020-03-09T18:45:54.149Z] 34c802a77dc8: Pulling fs layer [2020-03-09T18:45:54.149Z] 9eb99e56ec68: Pulling fs layer [2020-03-09T18:45:54.149Z] 27c7a5d97fbd: Pulling fs layer [2020-03-09T18:45:54.149Z] 5c102a31e300: Pulling fs layer [2020-03-09T18:45:54.149Z] dcfb455df0a1: Pulling fs layer [2020-03-09T18:45:54.149Z] 34c802a77dc8: Waiting [2020-03-09T18:45:54.149Z] 5788d62ee057: Waiting [2020-03-09T18:45:54.149Z] 0e6b1d234666: Waiting [2020-03-09T18:45:54.149Z] bf5d7aec512f: Waiting [2020-03-09T18:45:54.149Z] 9eb99e56ec68: Waiting [2020-03-09T18:45:54.149Z] 5c102a31e300: Waiting [2020-03-09T18:45:54.149Z] dcfb455df0a1: Waiting [2020-03-09T18:45:54.149Z] 27c7a5d97fbd: Waiting [2020-03-09T18:45:54.149Z] 0f37312ad70f: Verifying Checksum [2020-03-09T18:45:54.149Z] 0f37312ad70f: Download complete [2020-03-09T18:45:54.149Z] 2848faf0eed1: Download complete [2020-03-09T18:45:54.149Z] 0e6b1d234666: Verifying Checksum [2020-03-09T18:45:54.149Z] 0e6b1d234666: Download complete [2020-03-09T18:45:54.149Z] bf5d7aec512f: Verifying Checksum [2020-03-09T18:45:54.149Z] bf5d7aec512f: Download complete [2020-03-09T18:45:54.506Z] e6b0cf9c0882: Verifying Checksum [2020-03-09T18:45:54.506Z] e6b0cf9c0882: Download complete [2020-03-09T18:45:55.614Z] e6b0cf9c0882: Pull complete [2020-03-09T18:45:56.405Z] 2848faf0eed1: Pull complete [2020-03-09T18:45:56.405Z] 0f37312ad70f: Pull complete [2020-03-09T18:46:01.137Z] 34c802a77dc8: Verifying Checksum [2020-03-09T18:46:01.137Z] 34c802a77dc8: Download complete [2020-03-09T18:46:01.137Z] 27c7a5d97fbd: Verifying Checksum [2020-03-09T18:46:01.137Z] 27c7a5d97fbd: Download complete [2020-03-09T18:46:06.279Z] 5c102a31e300: Verifying Checksum [2020-03-09T18:46:06.279Z] 5c102a31e300: Download complete [2020-03-09T18:46:06.279Z] 9eb99e56ec68: Verifying Checksum [2020-03-09T18:46:06.279Z] 9eb99e56ec68: Download complete [2020-03-09T18:46:06.279Z] dcfb455df0a1: Verifying Checksum [2020-03-09T18:46:06.279Z] dcfb455df0a1: Download complete [2020-03-09T18:46:06.279Z] 5788d62ee057: Verifying Checksum [2020-03-09T18:46:06.279Z] 5788d62ee057: Download complete [2020-03-09T18:46:19.221Z] 5788d62ee057: Pull complete [2020-03-09T18:46:19.221Z] 0e6b1d234666: Pull complete [2020-03-09T18:46:19.221Z] bf5d7aec512f: Pull complete [2020-03-09T18:46:23.918Z] 34c802a77dc8: Pull complete [2020-03-09T18:46:34.314Z] 9eb99e56ec68: Pull complete [2020-03-09T18:46:34.314Z] 27c7a5d97fbd: Pull complete [2020-03-09T18:46:35.274Z] 5c102a31e300: Pull complete [2020-03-09T18:46:35.274Z] dcfb455df0a1: Pull complete [2020-03-09T18:46:35.274Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-09T18:46:35.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-09T18:46:35.274Z] ---> 7c70fe431013 [2020-03-09T18:46:35.274Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T18:46:35.628Z] ---> Running in e14d52b29fb5 [2020-03-09T18:46:36.291Z] Removing intermediate container e14d52b29fb5 [2020-03-09T18:46:36.291Z] ---> f0e6635cea43 [2020-03-09T18:46:36.291Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T18:46:36.291Z] ---> Running in 6588e279594f [2020-03-09T18:46:40.176Z] Removing intermediate container 6588e279594f [2020-03-09T18:46:40.176Z] ---> f8f8d98dfd96 [2020-03-09T18:46:40.176Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-09T18:46:40.176Z] ---> Running in 53d6e12f543b [2020-03-09T18:46:40.923Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T18:46:41.520Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T18:46:42.111Z] OK: 143 MiB in 39 packages [2020-03-09T18:46:42.703Z] Removing intermediate container 53d6e12f543b [2020-03-09T18:46:42.703Z] ---> 1b7535ff2391 [2020-03-09T18:46:42.703Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-09T18:46:42.703Z] ---> Running in e93327818c50 [2020-03-09T18:46:42.972Z] Removing intermediate container e93327818c50 [2020-03-09T18:46:42.972Z] ---> dba70bb53d89 [2020-03-09T18:46:42.972Z] Step 7/8 : COPY . . [2020-03-09T18:46:44.437Z] ---> 3d16d259c5a0 [2020-03-09T18:46:44.437Z] Step 8/8 : RUN go mod download [2020-03-09T18:46:44.742Z] ---> Running in 481007a2ef5b [2020-03-09T18:46:46.805Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-09T18:46:46.805Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-09T18:46:46.805Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-09T18:46:46.805Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-09T18:46:46.805Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-09T18:46:46.805Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-09T18:46:46.805Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-09T18:46:46.805Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-09T18:46:46.805Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-09T18:46:46.805Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-09T18:46:46.805Z] go: finding github.com/fatih/color v1.7.0 [2020-03-09T18:46:46.805Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-09T18:46:46.805Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-09T18:46:47.082Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-09T18:46:47.082Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-09T18:46:47.082Z] go: finding github.com/google/uuid v1.1.0 [2020-03-09T18:46:47.082Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-09T18:46:47.082Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-09T18:46:47.082Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-09T18:46:47.361Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-09T18:46:47.361Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-09T18:46:47.361Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-09T18:46:47.361Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-09T18:46:47.361Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-09T18:46:47.361Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-09T18:46:47.361Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-09T18:46:47.361Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-09T18:46:47.361Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-09T18:46:47.361Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-09T18:46:47.361Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-09T18:46:47.361Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-09T18:46:47.361Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-09T18:46:47.361Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-09T18:46:47.361Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-09T18:46:47.361Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-09T18:46:47.661Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-09T18:46:47.661Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-09T18:46:47.661Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-09T18:46:47.661Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-09T18:46:47.661Z] go: finding github.com/posener/complete v1.1.1 [2020-03-09T18:46:47.661Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-09T18:46:47.661Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-09T18:46:47.661Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-09T18:46:47.661Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-09T18:46:47.661Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-09T18:46:47.661Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-09T18:46:47.661Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-09T18:46:47.661Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-09T18:46:47.661Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-09T18:46:47.661Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-09T18:46:47.661Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-09T18:47:03.018Z] Removing intermediate container 481007a2ef5b [2020-03-09T18:47:03.018Z] ---> db9ab44b1e47 [2020-03-09T18:47:03.018Z] Successfully built db9ab44b1e47 [2020-03-09T18:47:03.018Z] 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-03-09T18:47:03.746Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-09T18:47:04.017Z] . [Pipeline] withDockerContainer [2020-03-09T18:47:04.197Z] prd-centos7-docker-4c-2g-8888 does not seem to be running inside a container [2020-03-09T18:47:04.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-x86_64 cat [2020-03-09T18:47:07.257Z] $ docker top a5df5a59f3d41acff5cf4c7cf33a95d1f539d0c99401e6fbf8dc35ea734b1afd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-09T18:47:09.365Z] + go version [2020-03-09T18:47:09.365Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-09T18:47:10.234Z] + make test [2020-03-09T18:47:10.235Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-09T18:47:37.793Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-09T18:47:37.793Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-09T18:47:37.793Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-09T18:47:37.793Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-03-09T18:47:37.793Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.155s coverage: 23.1% of statements [2020-03-09T18:47:37.793Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.145s coverage: 95.8% of statements [2020-03-09T18:47:40.831Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.274s coverage: 12.7% of statements [2020-03-09T18:47:40.831Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.071s coverage: 25.6% of statements [2020-03-09T18:48:13.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.028s coverage: 30.0% of statements [2020-03-09T18:48:13.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.819s coverage: 40.6% of statements [2020-03-09T18:48:13.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-09T18:48:13.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-09T18:48:13.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.962s coverage: 69.1% of statements [2020-03-09T18:48:13.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-09T18:48:13.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-09T18:48:13.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-09T18:48:13.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.107s coverage: 52.6% of statements [2020-03-09T18:48:13.324Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.123s coverage: 75.8% of statements [2020-03-09T18:48:13.324Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-09T18:48:13.324Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-09T18:48:16.009Z] gofmt -l . [2020-03-09T18:48:16.009Z] [ "`gofmt -l .`" = "" ] [2020-03-09T18:48:16.009Z] ./bin/test-attribution-txt.sh [2020-03-09T18:48:17.583Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-09T18:48:18.417Z] Stashed 1 file(s) [Pipeline] } [2020-03-09T18:48:18.432Z] $ docker stop --time=1 a5df5a59f3d41acff5cf4c7cf33a95d1f539d0c99401e6fbf8dc35ea734b1afd [2020-03-09T18:48:20.156Z] $ docker rm -f a5df5a59f3d41acff5cf4c7cf33a95d1f539d0c99401e6fbf8dc35ea734b1afd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-09T18:48:21.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-09T18:48:21.668Z] + ls -al . [2020-03-09T18:48:21.668Z] total 204 [2020-03-09T18:48:21.668Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 9 18:48 . [2020-03-09T18:48:21.668Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 9 18:45 .. [2020-03-09T18:48:21.668Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 9 18:45 api [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 9 18:45 async.go [2020-03-09T18:48:21.668Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 9 18:45 bin [2020-03-09T18:48:21.668Z] -rw-r--r--. 1 jenkins jenkins 103775 Mar 9 18:48 coverage.out [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 9 18:45 Dockerfile.build [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 9 18:45 .dockerignore [2020-03-09T18:48:21.668Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 9 18:45 example [2020-03-09T18:48:21.668Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 9 18:45 .git [2020-03-09T18:48:21.668Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 9 18:45 .github [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 9 18:45 .gitignore [2020-03-09T18:48:21.668Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 9 18:48 go.mod [2020-03-09T18:48:21.668Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 9 18:48 go.sum [2020-03-09T18:48:21.668Z] drwxrwxr-x. 14 jenkins jenkins 197 Mar 9 18:45 internal [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 9 18:45 Jenkinsfile [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 9 18:45 LICENSE [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 9 18:45 Makefile [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 9 18:45 manageddevices.go [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 9 18:45 managedprofiles.go [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 9 18:45 managedwatchers.go [2020-03-09T18:48:21.668Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 9 18:45 pkg [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 9 18:45 README.md [2020-03-09T18:48:21.668Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 9 18:45 .semver [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 10377 Mar 9 18:45 service.go [2020-03-09T18:48:21.668Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 9 18:45 snap [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 9 18:40 VERSION [2020-03-09T18:48:21.668Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 9 18:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:48:22.048Z] + 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=8e5822ca124ac0b4ae7795c492b60a29504fbe43 --label arch=amd64 --label version=0.0.0 . [2020-03-09T18:48:22.641Z] Sending build context to Docker daemon 2.845MB [2020-03-09T18:48:22.641Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-09T18:48:22.641Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-09T18:48:22.641Z] ---> db9ab44b1e47 [2020-03-09T18:48:22.641Z] Step 3/20 : ARG MAKE='make build' [2020-03-09T18:48:22.641Z] ---> Running in f1aa8b81aee9 [2020-03-09T18:48:22.919Z] Removing intermediate container f1aa8b81aee9 [2020-03-09T18:48:22.919Z] ---> 520f89c95afb [2020-03-09T18:48:22.919Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-09T18:48:22.919Z] ---> Running in 4d38dbe99f28 [2020-03-09T18:48:23.187Z] Removing intermediate container 4d38dbe99f28 [2020-03-09T18:48:23.187Z] ---> a4ec89da74c0 [2020-03-09T18:48:23.187Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T18:48:23.187Z] ---> Running in 5067f00021e5 [2020-03-09T18:48:23.474Z] Removing intermediate container 5067f00021e5 [2020-03-09T18:48:23.474Z] ---> f04d5c6c542c [2020-03-09T18:48:23.474Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T18:48:23.474Z] ---> Running in 299f604ff8a3 [2020-03-09T18:48:24.964Z] Removing intermediate container 299f604ff8a3 [2020-03-09T18:48:24.964Z] ---> 9a8fccc28054 [2020-03-09T18:48:24.964Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-09T18:48:24.964Z] ---> Running in fdf478f18d76 [2020-03-09T18:48:25.548Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T18:48:26.123Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T18:48:26.710Z] OK: 143 MiB in 39 packages [2020-03-09T18:48:27.317Z] Removing intermediate container fdf478f18d76 [2020-03-09T18:48:27.317Z] ---> 8e47883a958c [2020-03-09T18:48:27.317Z] Step 8/20 : COPY . . [2020-03-09T18:48:27.908Z] ---> 11664242ac41 [2020-03-09T18:48:27.908Z] Step 9/20 : RUN ${MAKE} [2020-03-09T18:48:27.908Z] ---> Running in 03e0241eba73 [2020-03-09T18:48:28.498Z] 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-03-09T18:48:55.888Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-09T18:49:04.431Z] Removing intermediate container 03e0241eba73 [2020-03-09T18:49:04.431Z] ---> b1a586b815bd [2020-03-09T18:49:04.431Z] Step 10/20 : FROM scratch [2020-03-09T18:49:04.431Z] ---> [2020-03-09T18:49:04.431Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T18:49:04.705Z] ---> Running in 4a70d9f5d65e [2020-03-09T18:49:04.705Z] Removing intermediate container 4a70d9f5d65e [2020-03-09T18:49:04.705Z] ---> ad6612e5f35b [2020-03-09T18:49:04.705Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-09T18:49:04.705Z] ---> Running in b74ec7fd55c4 [2020-03-09T18:49:04.966Z] Removing intermediate container b74ec7fd55c4 [2020-03-09T18:49:04.966Z] ---> eb4d545594e7 [2020-03-09T18:49:04.966Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-09T18:49:04.966Z] ---> Running in c36b63672232 [2020-03-09T18:49:05.227Z] Removing intermediate container c36b63672232 [2020-03-09T18:49:05.227Z] ---> 1577c0b3eaef [2020-03-09T18:49:05.227Z] Step 14/20 : WORKDIR / [2020-03-09T18:49:05.227Z] ---> Running in 72caefdd2ab3 [2020-03-09T18:49:05.227Z] Removing intermediate container 72caefdd2ab3 [2020-03-09T18:49:05.227Z] ---> df0c941f42fd [2020-03-09T18:49:05.227Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-09T18:49:06.180Z] ---> cd876ad526de [2020-03-09T18:49:06.180Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-09T18:49:06.444Z] ---> c3de0bf87cba [2020-03-09T18:49:06.444Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-09T18:49:06.444Z] ---> Running in 1b26ee3c29a3 [2020-03-09T18:49:06.444Z] Removing intermediate container 1b26ee3c29a3 [2020-03-09T18:49:06.444Z] ---> 44d34851e6b1 [2020-03-09T18:49:06.444Z] Step 18/20 : LABEL arch=amd64 [2020-03-09T18:49:06.711Z] ---> Running in 682c2ab28bf8 [2020-03-09T18:49:06.711Z] Removing intermediate container 682c2ab28bf8 [2020-03-09T18:49:06.711Z] ---> 1e0e4e13ce04 [2020-03-09T18:49:06.711Z] Step 19/20 : LABEL git_sha=8e5822ca124ac0b4ae7795c492b60a29504fbe43 [2020-03-09T18:49:06.711Z] ---> Running in 87340d49c7f2 [2020-03-09T18:49:06.981Z] Removing intermediate container 87340d49c7f2 [2020-03-09T18:49:06.982Z] ---> 469aa5cc90f5 [2020-03-09T18:49:06.982Z] Step 20/20 : LABEL version=0.0.0 [2020-03-09T18:49:06.982Z] ---> Running in 767fbab864b6 [2020-03-09T18:49:07.242Z] Removing intermediate container 767fbab864b6 [2020-03-09T18:49:07.242Z] ---> add02f56faa1 [2020-03-09T18:49:07.242Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-09T18:49:07.242Z] Successfully built add02f56faa1 [2020-03-09T18:49:07.242Z] 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-03-09T18:52:17.029Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9013 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws [2020-03-09T18:52:17.072Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-03-09T18:52:23.237Z] using credential edgex-jenkins-ssh [2020-03-09T18:52:23.306Z] Cloning the remote Git repository [2020-03-09T18:52:23.306Z] Cloning with configured refspecs honoured and without tags [2020-03-09T18:52:23.374Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T18:52:23.485Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-03-09T18:52:23.572Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T18:52:23.574Z] > git --version # timeout=10 [2020-03-09T18:52:24.883Z] Fetching without tags [2020-03-09T18:52:23.622Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:52:23.687Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:52:24.716Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T18:52:24.785Z] > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 [2020-03-09T18:52:24.815Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:52:24.858Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T18:52:25.410Z] Merging remotes/origin/master commit 2731ca63cc475b67e9cc596139d210d033590fbd into PR head commit 9a745bfe32a5a3404c99a3416363415dbe8e7da9 [2020-03-09T18:52:25.765Z] Merge succeeded, producing 5571d46128d028a0f37cf82c9ff3eb45b7965b27 [2020-03-09T18:52:25.765Z] Checking out Revision 5571d46128d028a0f37cf82c9ff3eb45b7965b27 (PR-448) [2020-03-09T18:52:24.894Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T18:52:24.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:52:24.908Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:52:25.432Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T18:52:25.478Z] > git checkout -f 9a745bfe32a5a3404c99a3416363415dbe8e7da9 # timeout=10 [2020-03-09T18:52:25.586Z] > git remote # timeout=10 [2020-03-09T18:52:25.610Z] > git config --get remote.origin.url # timeout=10 [2020-03-09T18:52:25.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:52:25.630Z] > git merge 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 [2020-03-09T18:52:25.711Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-09T18:52:25.773Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T18:52:25.802Z] > git checkout -f 5571d46128d028a0f37cf82c9ff3eb45b7965b27 # timeout=10 [2020-03-09T18:52:30.413Z] Commit message: "Merge commit '2731ca63cc475b67e9cc596139d210d033590fbd' into HEAD" [2020-03-09T18:52:30.425Z] > git rev-list --no-walk 9a745bfe32a5a3404c99a3416363415dbe8e7da9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-09T18:52:31.924Z] ========================================================= [2020-03-09T18:52:31.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-09T18:52:31.924Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:52:33.284Z] + 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-03-09T18:52:34.271Z] Sending build context to Docker daemon 2.716MB [2020-03-09T18:52:34.271Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-09T18:52:34.271Z] Step 2/8 : FROM ${BASE} [2020-03-09T18:52:34.540Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-09T18:52:34.540Z] cde5963f3b93: Pulling fs layer [2020-03-09T18:52:34.540Z] 2a23fa8c16f7: Pulling fs layer [2020-03-09T18:52:34.540Z] 777b28850792: Pulling fs layer [2020-03-09T18:52:34.540Z] 8a11ddd9e578: Pulling fs layer [2020-03-09T18:52:34.540Z] 4cf88f913ddb: Pulling fs layer [2020-03-09T18:52:34.540Z] 1df406cf5192: Pulling fs layer [2020-03-09T18:52:34.540Z] cd6300453558: Pulling fs layer [2020-03-09T18:52:34.540Z] b9c365052c96: Pulling fs layer [2020-03-09T18:52:34.540Z] a2d8cc88f415: Pulling fs layer [2020-03-09T18:52:34.540Z] ea1d1ca13537: Pulling fs layer [2020-03-09T18:52:34.540Z] 3750a50a1c5e: Pulling fs layer [2020-03-09T18:52:34.540Z] 4cf88f913ddb: Waiting [2020-03-09T18:52:34.540Z] 1df406cf5192: Waiting [2020-03-09T18:52:34.540Z] cd6300453558: Waiting [2020-03-09T18:52:34.540Z] b9c365052c96: Waiting [2020-03-09T18:52:34.540Z] a2d8cc88f415: Waiting [2020-03-09T18:52:34.540Z] 8a11ddd9e578: Waiting [2020-03-09T18:52:34.540Z] ea1d1ca13537: Waiting [2020-03-09T18:52:34.540Z] 3750a50a1c5e: Waiting [2020-03-09T18:52:34.540Z] 777b28850792: Verifying Checksum [2020-03-09T18:52:34.541Z] 777b28850792: Download complete [2020-03-09T18:52:34.541Z] 2a23fa8c16f7: Verifying Checksum [2020-03-09T18:52:34.541Z] 2a23fa8c16f7: Download complete [2020-03-09T18:52:34.541Z] 4cf88f913ddb: Verifying Checksum [2020-03-09T18:52:34.541Z] 4cf88f913ddb: Download complete [2020-03-09T18:52:34.814Z] 1df406cf5192: Verifying Checksum [2020-03-09T18:52:34.814Z] 1df406cf5192: Download complete [2020-03-09T18:52:34.814Z] cde5963f3b93: Verifying Checksum [2020-03-09T18:52:34.814Z] cde5963f3b93: Download complete [2020-03-09T18:52:35.790Z] cde5963f3b93: Pull complete [2020-03-09T18:52:36.385Z] 2a23fa8c16f7: Pull complete [2020-03-09T18:52:36.668Z] 777b28850792: Pull complete [2020-03-09T18:52:40.068Z] cd6300453558: Download complete [2020-03-09T18:52:40.068Z] a2d8cc88f415: Verifying Checksum [2020-03-09T18:52:40.068Z] a2d8cc88f415: Download complete [2020-03-09T18:52:42.677Z] ea1d1ca13537: Verifying Checksum [2020-03-09T18:52:42.677Z] ea1d1ca13537: Download complete [2020-03-09T18:52:42.677Z] 3750a50a1c5e: Verifying Checksum [2020-03-09T18:52:42.677Z] 3750a50a1c5e: Download complete [2020-03-09T18:52:44.633Z] b9c365052c96: Verifying Checksum [2020-03-09T18:52:44.633Z] b9c365052c96: Download complete [2020-03-09T18:52:46.046Z] 8a11ddd9e578: Verifying Checksum [2020-03-09T18:52:46.046Z] 8a11ddd9e578: Download complete [2020-03-09T18:52:58.380Z] 8a11ddd9e578: Pull complete [2020-03-09T18:52:58.380Z] 4cf88f913ddb: Pull complete [2020-03-09T18:52:58.380Z] 1df406cf5192: Pull complete [2020-03-09T18:53:01.748Z] cd6300453558: Pull complete [2020-03-09T18:53:07.110Z] b9c365052c96: Pull complete [2020-03-09T18:53:07.110Z] a2d8cc88f415: Pull complete [2020-03-09T18:53:09.075Z] ea1d1ca13537: Pull complete [2020-03-09T18:53:09.664Z] 3750a50a1c5e: Pull complete [2020-03-09T18:53:09.664Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-09T18:53:09.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-09T18:53:09.664Z] ---> 78745c68409d [2020-03-09T18:53:09.664Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T18:53:15.041Z] ---> Running in 15cd9a01288d [2020-03-09T18:53:15.041Z] Removing intermediate container 15cd9a01288d [2020-03-09T18:53:15.041Z] ---> 34b069280452 [2020-03-09T18:53:15.041Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T18:53:15.042Z] ---> Running in c1fac33fc872 [2020-03-09T18:53:17.649Z] Removing intermediate container c1fac33fc872 [2020-03-09T18:53:17.649Z] ---> f1c47db46bb9 [2020-03-09T18:53:17.649Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-09T18:53:17.649Z] ---> Running in 1a1eb935014f [2020-03-09T18:53:18.244Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-09T18:53:19.207Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-09T18:53:19.792Z] OK: 125 MiB in 39 packages [2020-03-09T18:53:21.230Z] Removing intermediate container 1a1eb935014f [2020-03-09T18:53:21.230Z] ---> 874c1bc06ac1 [2020-03-09T18:53:21.230Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-09T18:53:21.230Z] ---> Running in c222ee819a45 [2020-03-09T18:53:21.498Z] Removing intermediate container c222ee819a45 [2020-03-09T18:53:21.498Z] ---> 2278b96de9a9 [2020-03-09T18:53:21.498Z] Step 7/8 : COPY . . [2020-03-09T18:53:22.929Z] ---> de73cf97d8bb [2020-03-09T18:53:22.929Z] Step 8/8 : RUN go mod download [2020-03-09T18:53:22.929Z] ---> Running in e8481d41a1b7 [2020-03-09T18:53:24.879Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-09T18:53:24.879Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-09T18:53:24.879Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-09T18:53:24.879Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-09T18:53:24.879Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-09T18:53:24.879Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-09T18:53:24.879Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-09T18:53:24.879Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-09T18:53:24.879Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-09T18:53:24.879Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-09T18:53:24.879Z] go: finding github.com/fatih/color v1.7.0 [2020-03-09T18:53:24.879Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-09T18:53:24.879Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-09T18:53:24.879Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-09T18:53:24.879Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-09T18:53:24.879Z] go: finding github.com/google/uuid v1.1.0 [2020-03-09T18:53:24.879Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-09T18:53:24.879Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-09T18:53:24.879Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-09T18:53:24.879Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-09T18:53:24.879Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-09T18:53:24.879Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-09T18:53:24.879Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-09T18:53:24.879Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-09T18:53:24.879Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-09T18:53:24.879Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-09T18:53:24.879Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-09T18:53:24.879Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-09T18:53:25.146Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-09T18:53:25.146Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-09T18:53:25.146Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-09T18:53:25.146Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-09T18:53:25.146Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-09T18:53:25.146Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-09T18:53:25.146Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-09T18:53:25.146Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-09T18:53:25.146Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-09T18:53:25.146Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-09T18:53:25.146Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-09T18:53:25.146Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-09T18:53:25.147Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-09T18:53:25.147Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-09T18:53:25.147Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-09T18:53:25.147Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-09T18:53:25.147Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-09T18:53:25.147Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-09T18:53:25.147Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-09T18:53:25.147Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-09T18:53:25.147Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-09T18:53:25.147Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-09T18:53:25.147Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-09T18:53:25.147Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-09T18:53:25.147Z] go: finding github.com/posener/complete v1.1.1 [2020-03-09T18:53:25.147Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-09T18:53:25.416Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-09T18:53:25.416Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-09T18:53:25.416Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-09T18:53:25.416Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-09T18:53:25.416Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-09T18:53:25.416Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-09T18:53:25.416Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-09T18:53:25.416Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-09T18:53:25.416Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-09T18:53:25.416Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-09T18:53:43.670Z] Removing intermediate container e8481d41a1b7 [2020-03-09T18:53:43.670Z] ---> 618c983732c3 [2020-03-09T18:53:43.670Z] Successfully built 618c983732c3 [2020-03-09T18:53:43.670Z] 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-03-09T18:53:44.357Z] + docker inspect -f . ci-base-image-arm64 [2020-03-09T18:53:44.629Z] . [Pipeline] withDockerContainer [2020-03-09T18:53:45.039Z] prd-ubuntu18.04-docker-arm64-4c-16g-9013 does not seem to be running inside a container [2020-03-09T18:53:45.171Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-arm64 cat [2020-03-09T18:53:46.660Z] $ docker top 89c2e104932f27ca30bab44f061f2d0241f5811852b1523f602c1c944cf0341d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-09T18:53:49.201Z] + go version [2020-03-09T18:53:49.201Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-09T18:53:49.878Z] + make test [2020-03-09T18:53:49.878Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-09T18:54:36.826Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-09T18:54:36.826Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-09T18:54:36.826Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-09T18:54:36.826Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-03-09T18:54:36.826Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.033s coverage: 23.1% of statements [2020-03-09T18:54:36.826Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.233s coverage: 95.8% of statements [2020-03-09T18:54:37.418Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.122s coverage: 12.7% of statements [2020-03-09T18:54:37.686Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.040s coverage: 25.6% of statements [2020-03-09T18:55:16.629Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.052s coverage: 30.0% of statements [2020-03-09T18:55:16.629Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.439s coverage: 40.6% of statements [2020-03-09T18:55:16.629Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-09T18:55:16.629Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-09T18:55:16.629Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.889s coverage: 69.1% of statements [2020-03-09T18:55:16.629Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-09T18:55:16.629Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-09T18:55:16.629Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-09T18:55:16.629Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.126s coverage: 52.6% of statements [2020-03-09T18:55:16.629Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.340s coverage: 75.8% of statements [2020-03-09T18:55:16.629Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-09T18:55:16.629Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-09T18:55:18.590Z] gofmt -l . [2020-03-09T18:55:18.590Z] [ "`gofmt -l .`" = "" ] [2020-03-09T18:55:19.175Z] ./bin/test-attribution-txt.sh [2020-03-09T18:55:19.764Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-09T18:55:20.126Z] Warning: overwriting stash ‘coverage-report’ [2020-03-09T18:55:20.653Z] Stashed 1 file(s) [Pipeline] } [2020-03-09T18:55:20.663Z] $ docker stop --time=1 89c2e104932f27ca30bab44f061f2d0241f5811852b1523f602c1c944cf0341d [2020-03-09T18:55:22.924Z] $ docker rm -f 89c2e104932f27ca30bab44f061f2d0241f5811852b1523f602c1c944cf0341d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-09T18:55:24.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-09T18:55:24.611Z] + ls -al . [2020-03-09T18:55:24.611Z] total 244 [2020-03-09T18:55:24.611Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 18:55 . [2020-03-09T18:55:24.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 18:52 .. [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 18:52 .dockerignore [2020-03-09T18:55:24.611Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 18:52 .git [2020-03-09T18:55:24.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 18:52 .github [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 9 18:52 .gitignore [2020-03-09T18:55:24.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 18:52 .semver [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 9 18:52 Dockerfile.build [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 9 18:52 Jenkinsfile [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 18:52 LICENSE [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 9 18:52 Makefile [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 9 18:52 README.md [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 18:40 VERSION [2020-03-09T18:55:24.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 18:52 api [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 9 18:52 async.go [2020-03-09T18:55:24.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 18:52 bin [2020-03-09T18:55:24.611Z] -rw-r--r-- 1 jenkins jenkins 103775 Mar 9 18:55 coverage.out [2020-03-09T18:55:24.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 18:52 example [2020-03-09T18:55:24.611Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 9 18:55 go.mod [2020-03-09T18:55:24.611Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 9 18:55 go.sum [2020-03-09T18:55:24.611Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 9 18:52 internal [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 9 18:52 manageddevices.go [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 9 18:52 managedprofiles.go [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 9 18:52 managedwatchers.go [2020-03-09T18:55:24.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 18:52 pkg [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 10377 Mar 9 18:52 service.go [2020-03-09T18:55:24.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 18:52 snap [2020-03-09T18:55:24.611Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 18:52 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:55:24.942Z] + 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=8e5822ca124ac0b4ae7795c492b60a29504fbe43 --label arch=arm64 --label version=0.0.0 . [2020-03-09T18:55:25.535Z] Sending build context to Docker daemon 2.845MB [2020-03-09T18:55:25.535Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-09T18:55:25.535Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-09T18:55:25.535Z] ---> 618c983732c3 [2020-03-09T18:55:25.535Z] Step 3/20 : ARG MAKE='make build' [2020-03-09T18:55:25.802Z] ---> Running in 97dee1687c9e [2020-03-09T18:55:26.073Z] Removing intermediate container 97dee1687c9e [2020-03-09T18:55:26.073Z] ---> 0d0a7d46f33e [2020-03-09T18:55:26.073Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-09T18:55:26.073Z] ---> Running in 4a10290be684 [2020-03-09T18:55:26.657Z] Removing intermediate container 4a10290be684 [2020-03-09T18:55:26.657Z] ---> 03e3739fc011 [2020-03-09T18:55:26.657Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T18:55:26.657Z] ---> Running in 77594894ce67 [2020-03-09T18:55:26.937Z] Removing intermediate container 77594894ce67 [2020-03-09T18:55:26.937Z] ---> 7ac3f4d04523 [2020-03-09T18:55:26.937Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T18:55:27.206Z] ---> Running in 7948cda84b6d [2020-03-09T18:55:29.170Z] Removing intermediate container 7948cda84b6d [2020-03-09T18:55:29.170Z] ---> 0445ef2a902d [2020-03-09T18:55:29.170Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-09T18:55:29.170Z] ---> Running in 10ee4f62cf04 [2020-03-09T18:55:30.143Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-09T18:55:30.735Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-09T18:55:31.706Z] OK: 125 MiB in 39 packages [2020-03-09T18:55:32.745Z] Removing intermediate container 10ee4f62cf04 [2020-03-09T18:55:32.745Z] ---> c5c69638450c [2020-03-09T18:55:32.745Z] Step 8/20 : COPY . . [2020-03-09T18:55:33.782Z] ---> d632b81882d0 [2020-03-09T18:55:33.782Z] Step 9/20 : RUN ${MAKE} [2020-03-09T18:55:34.112Z] ---> Running in 92c0ce3e1bca [2020-03-09T18:55:35.109Z] 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-03-09T18:56:14.047Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-09T18:56:29.066Z] Removing intermediate container 92c0ce3e1bca [2020-03-09T18:56:29.067Z] ---> 33b9d3ca7516 [2020-03-09T18:56:29.067Z] Step 10/20 : FROM scratch [2020-03-09T18:56:29.067Z] ---> [2020-03-09T18:56:29.067Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T18:56:29.067Z] ---> Running in 671ed9e497a8 [2020-03-09T18:56:29.067Z] Removing intermediate container 671ed9e497a8 [2020-03-09T18:56:29.067Z] ---> ef6b99d67d25 [2020-03-09T18:56:29.067Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-09T18:56:29.067Z] ---> Running in 06d8a67ddbe0 [2020-03-09T18:56:29.067Z] Removing intermediate container 06d8a67ddbe0 [2020-03-09T18:56:29.067Z] ---> df977e688f01 [2020-03-09T18:56:29.067Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-09T18:56:29.067Z] ---> Running in c1cd969ffa6e [2020-03-09T18:56:29.067Z] Removing intermediate container c1cd969ffa6e [2020-03-09T18:56:29.067Z] ---> 9c868c57c623 [2020-03-09T18:56:29.067Z] Step 14/20 : WORKDIR / [2020-03-09T18:56:29.067Z] ---> Running in 9a4e61479dc1 [2020-03-09T18:56:29.067Z] Removing intermediate container 9a4e61479dc1 [2020-03-09T18:56:29.067Z] ---> 23b6487ff7a3 [2020-03-09T18:56:29.067Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-09T18:56:30.478Z] ---> cc14d3d1d5d2 [2020-03-09T18:56:30.478Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-09T18:56:30.750Z] ---> 87b670388ccb [2020-03-09T18:56:30.750Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-09T18:56:31.021Z] ---> Running in ee6d8436e7dc [2020-03-09T18:56:31.288Z] Removing intermediate container ee6d8436e7dc [2020-03-09T18:56:31.288Z] ---> 48c0d3baf370 [2020-03-09T18:56:31.288Z] Step 18/20 : LABEL arch=arm64 [2020-03-09T18:56:31.557Z] ---> Running in 83969a1141b2 [2020-03-09T18:56:31.824Z] Removing intermediate container 83969a1141b2 [2020-03-09T18:56:31.824Z] ---> a2bbd30a4295 [2020-03-09T18:56:31.824Z] Step 19/20 : LABEL git_sha=8e5822ca124ac0b4ae7795c492b60a29504fbe43 [2020-03-09T18:56:32.092Z] ---> Running in 22f817165b92 [2020-03-09T18:56:32.361Z] Removing intermediate container 22f817165b92 [2020-03-09T18:56:32.361Z] ---> d09e36b7b153 [2020-03-09T18:56:32.361Z] Step 20/20 : LABEL version=0.0.0 [2020-03-09T18:56:32.361Z] ---> Running in ec260f0a0225 [2020-03-09T18:56:32.950Z] Removing intermediate container ec260f0a0225 [2020-03-09T18:56:32.950Z] ---> 71383f1b5d6a [2020-03-09T18:56:32.950Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-09T18:56:32.950Z] Successfully built 71383f1b5d6a [2020-03-09T18:56:32.950Z] 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-03-09T18:56:34.099Z] provisioning config files... [2020-03-09T18:56:34.117Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config3051658039214397599tmp [Pipeline] { [Pipeline] sh [2020-03-09T18:56:34.497Z] + curl -s https://codecov.io/bash [2020-03-09T18:56:34.497Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config3051658039214397599tmp [2020-03-09T18:56:34.777Z] [2020-03-09T18:56:34.777Z] _____ _ [2020-03-09T18:56:34.777Z] / ____| | | [2020-03-09T18:56:34.777Z] | | ___ __| | ___ ___ _____ __ [2020-03-09T18:56:34.777Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-09T18:56:34.777Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-09T18:56:34.777Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-09T18:56:34.777Z] Bash-20200303-bc4d7e6 [2020-03-09T18:56:34.777Z] [2020-03-09T18:56:34.777Z] [2020-03-09T18:56:34.777Z] ==> Jenkins CI detected. [2020-03-09T18:56:34.777Z] project root: . [2020-03-09T18:56:34.777Z] Fixing merge commit SHA [2020-03-09T18:56:34.777Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-09T18:56:34.777Z] ==> Running gcov in . (disable via -X gcov) [2020-03-09T18:56:35.041Z] ==> Python coveragepy not found [2020-03-09T18:56:35.041Z] ==> Searching for coverage reports in: [2020-03-09T18:56:35.041Z] + . [2020-03-09T18:56:35.041Z] -> Found 1 reports [2020-03-09T18:56:35.041Z] ==> Detecting git/mercurial file structure [2020-03-09T18:56:35.041Z] ==> Reading reports [2020-03-09T18:56:35.041Z] + ./coverage.out bytes=103775 [2020-03-09T18:56:35.041Z] ==> Appending adjustments [2020-03-09T18:56:35.041Z] http://docs.codecov.io/docs/fixing-reports [2020-03-09T18:56:35.617Z] + Found adjustments [2020-03-09T18:56:35.617Z] ==> Gzipping contents [2020-03-09T18:56:35.617Z] ==> Uploading reports [2020-03-09T18:56:35.617Z] url: https://codecov.io [2020-03-09T18:56:35.617Z] query: branch=PR-448&commit=2731ca63cc475b67e9cc596139d210d033590fbd&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= [2020-03-09T18:56:35.617Z] -> Pinging Codecov [2020-03-09T18:56:35.617Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-448&commit=2731ca63cc475b67e9cc596139d210d033590fbd&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= [2020-03-09T18:56:36.557Z] -> Uploading [2020-03-09T18:56:37.131Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2731ca63cc475b67e9cc596139d210d033590fbd [Pipeline] } [2020-03-09T18:56:37.139Z] 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-03-09T18:56:38.493Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T18:56:39.084Z] ---> package-listing.sh [2020-03-09T18:56:39.084Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-09T18:56:39.084Z] ++ facter osfamily [2020-03-09T18:56:39.084Z] + OS_FAMILY=redhat [2020-03-09T18:56:39.084Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-03-09T18:56:39.084Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-09T18:56:39.084Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-09T18:56:39.084Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-09T18:56:39.084Z] + PACKAGES=/tmp/packages_start.txt [2020-03-09T18:56:39.084Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' [2020-03-09T18:56:39.084Z] + PACKAGES=/tmp/packages_end.txt [2020-03-09T18:56:39.084Z] + case "${OS_FAMILY}" in [2020-03-09T18:56:39.084Z] + rpm -qa [2020-03-09T18:56:39.084Z] + sort [2020-03-09T18:56:44.456Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-09T18:56:44.456Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-09T18:56:44.456Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-09T18:56:44.456Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' [2020-03-09T18:56:44.456Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [2020-03-09T18:56:44.456Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:56:45.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T18:56:45.314Z] [2020-03-09T18:56:45.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:56:45.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T18:56:46.451Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-09T18:56:46.451Z] c9b1b535fdd9: Pulling fs layer [2020-03-09T18:56:46.451Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-09T18:56:46.451Z] 756a868c4378: Pulling fs layer [2020-03-09T18:56:46.451Z] 444b2fc9a129: Pulling fs layer [2020-03-09T18:56:46.451Z] ea15f1150254: Pulling fs layer [2020-03-09T18:56:46.451Z] 41b27a9f41bf: Pulling fs layer [2020-03-09T18:56:46.451Z] 28c525ee5125: Pulling fs layer [2020-03-09T18:56:46.451Z] 094b1ea09ed8: Pulling fs layer [2020-03-09T18:56:46.451Z] 138eaada9080: Pulling fs layer [2020-03-09T18:56:46.451Z] 0622d0fa9048: Pulling fs layer [2020-03-09T18:56:46.451Z] 41b27a9f41bf: Waiting [2020-03-09T18:56:46.451Z] 28c525ee5125: Waiting [2020-03-09T18:56:46.451Z] 094b1ea09ed8: Waiting [2020-03-09T18:56:46.451Z] 138eaada9080: Waiting [2020-03-09T18:56:46.451Z] 0622d0fa9048: Waiting [2020-03-09T18:56:46.451Z] 444b2fc9a129: Waiting [2020-03-09T18:56:46.451Z] ea15f1150254: Waiting [2020-03-09T18:56:46.451Z] 2cc5ad85d9ab: Download complete [2020-03-09T18:56:46.451Z] 444b2fc9a129: Verifying Checksum [2020-03-09T18:56:46.451Z] 444b2fc9a129: Download complete [2020-03-09T18:56:46.871Z] ea15f1150254: Verifying Checksum [2020-03-09T18:56:46.871Z] ea15f1150254: Download complete [2020-03-09T18:56:47.150Z] c9b1b535fdd9: Verifying Checksum [2020-03-09T18:56:47.150Z] c9b1b535fdd9: Download complete [2020-03-09T18:56:47.150Z] 28c525ee5125: Verifying Checksum [2020-03-09T18:56:47.150Z] 28c525ee5125: Download complete [2020-03-09T18:56:47.827Z] c9b1b535fdd9: Pull complete [2020-03-09T18:56:48.111Z] 2cc5ad85d9ab: Pull complete [2020-03-09T18:56:48.381Z] 756a868c4378: Verifying Checksum [2020-03-09T18:56:48.381Z] 756a868c4378: Download complete [2020-03-09T18:56:48.381Z] 138eaada9080: Verifying Checksum [2020-03-09T18:56:48.381Z] 138eaada9080: Download complete [2020-03-09T18:56:48.381Z] 094b1ea09ed8: Download complete [2020-03-09T18:56:48.660Z] 0622d0fa9048: Verifying Checksum [2020-03-09T18:56:48.660Z] 0622d0fa9048: Download complete [2020-03-09T18:56:49.250Z] 41b27a9f41bf: Verifying Checksum [2020-03-09T18:56:49.250Z] 41b27a9f41bf: Download complete [2020-03-09T18:56:50.650Z] 756a868c4378: Pull complete [2020-03-09T18:56:50.920Z] 444b2fc9a129: Pull complete [2020-03-09T18:56:51.514Z] ea15f1150254: Pull complete [2020-03-09T18:56:58.315Z] 41b27a9f41bf: Pull complete [2020-03-09T18:56:58.315Z] 28c525ee5125: Pull complete [2020-03-09T18:57:01.744Z] 094b1ea09ed8: Pull complete [2020-03-09T18:57:01.744Z] 138eaada9080: Pull complete [2020-03-09T18:57:01.744Z] 0622d0fa9048: Pull complete [2020-03-09T18:57:01.744Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-09T18:57:01.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-09T18:57:02.096Z] prd-centos7-docker-4c-2g-8195 does not seem to be running inside a container [2020-03-09T18:57:02.391Z] $ 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-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@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:10003/edgex-lftools-log-publisher:alpine cat [2020-03-09T18:57:04.078Z] $ docker top be46654baf0f2ccbc77cb31169c114098ef7a519f9c908129949d12107ca3849 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-09T18:57:05.151Z] provisioning config files... [2020-03-09T18:57:05.170Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config3132514268187093903tmp [Pipeline] { [Pipeline] echo [2020-03-09T18:57:05.241Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T18:57:05.897Z] ---> create-netrc.sh [Pipeline] echo [2020-03-09T18:57:05.922Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T18:57:06.382Z] ---> logs-deploy.sh [2020-03-09T18:57:06.382Z] + ARCHIVE_ARTIFACTS= [2020-03-09T18:57:06.382Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-09T18:57:06.382Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-09T18:57:06.382Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-09T18:57:06.382Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/8 [2020-03-09T18:57:06.382Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/8/ [2020-03-09T18:57:06.382Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/8 /w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-03-09T18:57:08.403Z] Archives upload complete. [2020-03-09T18:57:08.403Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/8/