Pull request #137 opened 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 weichou1229 for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 597b59532fa82a91923ae6ad9cab4bcadcc33ead+7630a44284c4f0b59b6aeea77d9c54c278935c5a (291e289b38e8dada72d13a77b2254b326ae6a5a0) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-137/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, goVersion:1.13] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-649 in /w/workspace/gexfoundry_device-mqtt-go_PR-137 [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-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-137 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/137/head:refs/remotes/origin/PR-137 # 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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7630a44284c4f0b59b6aeea77d9c54c278935c5a into PR head commit 597b59532fa82a91923ae6ad9cab4bcadcc33ead Merge succeeded, producing 597b59532fa82a91923ae6ad9cab4bcadcc33ead Checking out Revision 597b59532fa82a91923ae6ad9cab4bcadcc33ead (PR-137) > git config core.sparsecheckout # timeout=10 > git checkout -f 597b59532fa82a91923ae6ad9cab4bcadcc33ead # 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 7630a44284c4f0b59b6aeea77d9c54c278935c5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 597b59532fa82a91923ae6ad9cab4bcadcc33ead # timeout=10 Commit message: "Fix doc link" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-25T02:13:31.746Z] 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-25T02:13:34.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-25T02:13:34.106Z] [2020-03-25T02:13:34.106Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-25T02:13:34.501Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-25T02:13:34.501Z] latest: Pulling from edgex-devops/git-semver [2020-03-25T02:13:34.501Z] 9123ac7c32f7: Pulling fs layer [2020-03-25T02:13:34.501Z] b8cc5d1170e3: Pulling fs layer [2020-03-25T02:13:34.501Z] 2924cbbf6a41: Pulling fs layer [2020-03-25T02:13:34.501Z] 93b08a4f1073: Pulling fs layer [2020-03-25T02:13:34.501Z] 93b08a4f1073: Waiting [2020-03-25T02:13:34.501Z] b8cc5d1170e3: Verifying Checksum [2020-03-25T02:13:34.501Z] b8cc5d1170e3: Download complete [2020-03-25T02:13:34.761Z] 9123ac7c32f7: Download complete [2020-03-25T02:13:34.761Z] 2924cbbf6a41: Verifying Checksum [2020-03-25T02:13:34.761Z] 2924cbbf6a41: Download complete [2020-03-25T02:13:34.761Z] 93b08a4f1073: Verifying Checksum [2020-03-25T02:13:34.761Z] 93b08a4f1073: Download complete [2020-03-25T02:13:35.022Z] 9123ac7c32f7: Pull complete [2020-03-25T02:13:35.022Z] b8cc5d1170e3: Pull complete [2020-03-25T02:13:35.593Z] 2924cbbf6a41: Pull complete [2020-03-25T02:13:35.852Z] 93b08a4f1073: Pull complete [2020-03-25T02:13:35.852Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-25T02:13:35.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-25T02:13:36.256Z] prd-centos7-docker-4c-2g-649 does not seem to be running inside a container [2020-03-25T02:13:36.301Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-137 -v /w/workspace/gexfoundry_device-mqtt-go_PR-137:/w/workspace/gexfoundry_device-mqtt-go_PR-137:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-137@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-137@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-25T02:13:36.934Z] $ docker top 8340e70f77d59659185cce5744dfd059b13a3c7352a0867a7134691acc4e5332 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-25T02:13:37.291Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-25T02:13:37.291Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-25T02:13:37.527Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-25T02:13:37.533Z] $ docker exec 8340e70f77d59659185cce5744dfd059b13a3c7352a0867a7134691acc4e5332 ssh-agent [2020-03-25T02:13:37.719Z] SSH_AUTH_SOCK=/tmp/ssh-mom8M4JbGAdY/agent.15 [2020-03-25T02:13:37.720Z] SSH_AGENT_PID=21 [2020-03-25T02:13:37.731Z] Running ssh-add (command line suppressed) [2020-03-25T02:13:37.886Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-137@tmp/private_key_932607066469200704.key (/w/workspace/gexfoundry_device-mqtt-go_PR-137@tmp/private_key_932607066469200704.key) [2020-03-25T02:13:37.973Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-25T02:13:38.330Z] + git describe --exact-match --tags HEAD [2020-03-25T02:13:38.330Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-25T02:13:38.406Z] $ docker exec --env ******** --env ******** 8340e70f77d59659185cce5744dfd059b13a3c7352a0867a7134691acc4e5332 ssh-agent -k [2020-03-25T02:13:38.551Z] unset SSH_AUTH_SOCK; [2020-03-25T02:13:38.551Z] unset SSH_AGENT_PID; [2020-03-25T02:13:38.551Z] echo Agent pid 21 killed; [2020-03-25T02:13:38.595Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-25T02:13:38.710Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-25T02:13:38.710Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-25T02:13:38.801Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-25T02:13:38.801Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-25T02:13:39.024Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-25T02:13:39.032Z] $ docker exec 8340e70f77d59659185cce5744dfd059b13a3c7352a0867a7134691acc4e5332 ssh-agent [2020-03-25T02:13:39.216Z] SSH_AUTH_SOCK=/tmp/ssh-jEaBIUwmX2K2/agent.56 [2020-03-25T02:13:39.216Z] SSH_AGENT_PID=63 [2020-03-25T02:13:39.222Z] Running ssh-add (command line suppressed) [2020-03-25T02:13:39.378Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-137@tmp/private_key_7568788845715313412.key (/w/workspace/gexfoundry_device-mqtt-go_PR-137@tmp/private_key_7568788845715313412.key) [2020-03-25T02:13:39.461Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-25T02:13:39.841Z] + git semver init [2020-03-25T02:13:39.841Z] # -> Open(): unable to determine branch for HEAD [2020-03-25T02:13:39.841Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-137/.git [2020-03-25T02:13:39.841Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-137 [2020-03-25T02:13:39.841Z] # $SEMVER_REMOTE_NAME = origin [2020-03-25T02:13:39.841Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-25T02:13:39.841Z] # $SEMVER_USER_NAME = jenkins [2020-03-25T02:13:39.841Z] # $SEMVER_BRANCH = PR-137 [2020-03-25T02:13:39.841Z] # $SEMVER_TEMP = /tmp/semver-120470920 [2020-03-25T02:13:39.841Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-03-25T02:13:40.411Z] # '/tmp/semver-120470920' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-137/.semver' [2020-03-25T02:13:40.411Z] # -> Force: false [2020-03-25T02:13:40.411Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-137/.semver [Pipeline] } [2020-03-25T02:13:40.435Z] $ docker exec --env ******** --env ******** 8340e70f77d59659185cce5744dfd059b13a3c7352a0867a7134691acc4e5332 ssh-agent -k [2020-03-25T02:13:40.576Z] unset SSH_AUTH_SOCK; [2020-03-25T02:13:40.576Z] unset SSH_AGENT_PID; [2020-03-25T02:13:40.577Z] echo Agent pid 63 killed; [2020-03-25T02:13:40.609Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-25T02:13:41.131Z] + git semver [Pipeline] } [2020-03-25T02:13:41.174Z] $ docker stop --time=1 8340e70f77d59659185cce5744dfd059b13a3c7352a0867a7134691acc4e5332 [2020-03-25T02:13:42.532Z] $ docker rm -f 8340e70f77d59659185cce5744dfd059b13a3c7352a0867a7134691acc4e5332 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-25T02:13:43.252Z] Stashed 20 file(s) [Pipeline] echo [2020-03-25T02:13:43.269Z] [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-25T02:13:58.688Z] Still waiting to schedule task [2020-03-25T02:13:58.688Z] ‘prd-centos7-blackbox-4c-2g-624’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-blackbox-4c-2g-625’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-644’ is offline; ‘prd-centos7-docker-4c-2g-648’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-646’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-03-25T02:13:58.709Z] Still waiting to schedule task [2020-03-25T02:13:58.709Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-646’ is offline [2020-03-25T02:15:44.450Z] Running on prd-centos7-docker-4c-2g-652 in /w/workspace/gexfoundry_device-mqtt-go_PR-137 [Pipeline] { [Pipeline] ws [2020-03-25T02:15:44.516Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-03-25T02:15:46.961Z] using credential edgex-jenkins-ssh [2020-03-25T02:15:46.999Z] Cloning the remote Git repository [2020-03-25T02:15:46.999Z] Cloning with configured refspecs honoured and without tags [2020-03-25T02:15:47.029Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-03-25T02:15:47.065Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-03-25T02:15:48.156Z] Fetching without tags [2020-03-25T02:15:47.110Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-03-25T02:15:47.110Z] > git --version # timeout=10 [2020-03-25T02:15:47.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-25T02:15:47.162Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-25T02:15:48.123Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-03-25T02:15:48.134Z] > git config --add remote.origin.fetch +refs/pull/137/head:refs/remotes/origin/PR-137 # timeout=10 [2020-03-25T02:15:48.144Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-25T02:15:48.154Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-03-25T02:15:48.167Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-03-25T02:15:48.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-25T02:15:48.171Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-25T02:15:48.514Z] Merging remotes/origin/master commit 7630a44284c4f0b59b6aeea77d9c54c278935c5a into PR head commit 597b59532fa82a91923ae6ad9cab4bcadcc33ead [2020-03-25T02:15:48.597Z] Merge succeeded, producing 597b59532fa82a91923ae6ad9cab4bcadcc33ead [2020-03-25T02:15:48.597Z] Checking out Revision 597b59532fa82a91923ae6ad9cab4bcadcc33ead (PR-137) [2020-03-25T02:15:49.314Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-651 in /w/workspace/gexfoundry_device-mqtt-go_PR-137 [Pipeline] { [2020-03-25T02:15:48.528Z] > git config core.sparsecheckout # timeout=10 [2020-03-25T02:15:48.534Z] > git checkout -f 597b59532fa82a91923ae6ad9cab4bcadcc33ead # timeout=10 [2020-03-25T02:15:48.569Z] > git remote # timeout=10 [2020-03-25T02:15:48.576Z] > git config --get remote.origin.url # timeout=10 [2020-03-25T02:15:48.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-25T02:15:48.586Z] > git merge 7630a44284c4f0b59b6aeea77d9c54c278935c5a # timeout=10 [2020-03-25T02:15:48.595Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-25T02:15:48.604Z] > git config core.sparsecheckout # timeout=10 [2020-03-25T02:15:48.609Z] > git checkout -f 597b59532fa82a91923ae6ad9cab4bcadcc33ead # timeout=10 [Pipeline] ws [2020-03-25T02:15:49.381Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-03-25T02:15:52.454Z] Commit message: "Fix doc link" [2020-03-25T02:15:52.488Z] > git --version # timeout=10 [2020-03-25T02:15:52.501Z] fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-25T02:15:53.709Z] ========================================================= [2020-03-25T02:15:53.709Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-25T02:15:53.709Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-25T02:15:54.435Z] + 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-25T02:15:54.699Z] Sending build context to Docker daemon 538.6kB [2020-03-25T02:15:54.699Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-25T02:15:54.699Z] Step 2/8 : FROM ${BASE} [2020-03-25T02:15:54.699Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-25T02:15:54.699Z] e6b0cf9c0882: Pulling fs layer [2020-03-25T02:15:54.699Z] 2848faf0eed1: Pulling fs layer [2020-03-25T02:15:54.699Z] 0f37312ad70f: Pulling fs layer [2020-03-25T02:15:54.699Z] 5788d62ee057: Pulling fs layer [2020-03-25T02:15:54.699Z] 0e6b1d234666: Pulling fs layer [2020-03-25T02:15:54.699Z] bf5d7aec512f: Pulling fs layer [2020-03-25T02:15:54.699Z] 34c802a77dc8: Pulling fs layer [2020-03-25T02:15:54.699Z] 9eb99e56ec68: Pulling fs layer [2020-03-25T02:15:54.699Z] 27c7a5d97fbd: Pulling fs layer [2020-03-25T02:15:54.699Z] 5c102a31e300: Pulling fs layer [2020-03-25T02:15:54.699Z] dcfb455df0a1: Pulling fs layer [2020-03-25T02:15:54.699Z] 5788d62ee057: Waiting [2020-03-25T02:15:54.699Z] 0e6b1d234666: Waiting [2020-03-25T02:15:54.699Z] bf5d7aec512f: Waiting [2020-03-25T02:15:54.699Z] 34c802a77dc8: Waiting [2020-03-25T02:15:54.699Z] 9eb99e56ec68: Waiting [2020-03-25T02:15:54.699Z] 27c7a5d97fbd: Waiting [2020-03-25T02:15:54.699Z] 5c102a31e300: Waiting [2020-03-25T02:15:54.699Z] dcfb455df0a1: Waiting [2020-03-25T02:15:54.699Z] 0f37312ad70f: Verifying Checksum [2020-03-25T02:15:54.699Z] 0f37312ad70f: Download complete [2020-03-25T02:15:54.699Z] 2848faf0eed1: Verifying Checksum [2020-03-25T02:15:54.699Z] 2848faf0eed1: Download complete [2020-03-25T02:15:54.699Z] 0e6b1d234666: Verifying Checksum [2020-03-25T02:15:54.699Z] 0e6b1d234666: Download complete [2020-03-25T02:15:54.699Z] bf5d7aec512f: Verifying Checksum [2020-03-25T02:15:54.699Z] bf5d7aec512f: Download complete [2020-03-25T02:15:54.970Z] e6b0cf9c0882: Verifying Checksum [2020-03-25T02:15:54.970Z] e6b0cf9c0882: Download complete [2020-03-25T02:15:55.245Z] e6b0cf9c0882: Pull complete [2020-03-25T02:15:55.522Z] 2848faf0eed1: Pull complete [2020-03-25T02:15:55.522Z] 0f37312ad70f: Pull complete [2020-03-25T02:15:55.785Z] 34c802a77dc8: Verifying Checksum [2020-03-25T02:15:55.785Z] 34c802a77dc8: Download complete [2020-03-25T02:15:55.785Z] 27c7a5d97fbd: Verifying Checksum [2020-03-25T02:15:55.785Z] 27c7a5d97fbd: Download complete [2020-03-25T02:15:56.737Z] 5c102a31e300: Download complete [2020-03-25T02:15:56.737Z] 5788d62ee057: Verifying Checksum [2020-03-25T02:15:56.737Z] 5788d62ee057: Download complete [2020-03-25T02:15:56.737Z] dcfb455df0a1: Verifying Checksum [2020-03-25T02:15:56.737Z] dcfb455df0a1: Download complete [2020-03-25T02:15:56.737Z] 9eb99e56ec68: Verifying Checksum [2020-03-25T02:15:56.737Z] 9eb99e56ec68: Download complete [2020-03-25T02:15:57.081Z] using credential edgex-jenkins-ssh [2020-03-25T02:15:57.128Z] Cloning the remote Git repository [2020-03-25T02:15:57.128Z] Cloning with configured refspecs honoured and without tags [2020-03-25T02:15:57.220Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-03-25T02:15:57.354Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-03-25T02:15:58.445Z] Fetching without tags [2020-03-25T02:15:57.480Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-03-25T02:15:57.484Z] > git --version # timeout=10 [2020-03-25T02:15:57.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-25T02:15:57.595Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-25T02:15:58.278Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-03-25T02:15:58.314Z] > git config --add remote.origin.fetch +refs/pull/137/head:refs/remotes/origin/PR-137 # timeout=10 [2020-03-25T02:15:58.360Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-25T02:15:58.401Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-03-25T02:15:58.457Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-03-25T02:15:58.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-25T02:15:58.473Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-25T02:15:58.958Z] Merging remotes/origin/master commit 7630a44284c4f0b59b6aeea77d9c54c278935c5a into PR head commit 597b59532fa82a91923ae6ad9cab4bcadcc33ead [2020-03-25T02:15:59.310Z] Merge succeeded, producing 597b59532fa82a91923ae6ad9cab4bcadcc33ead [2020-03-25T02:15:59.310Z] Checking out Revision 597b59532fa82a91923ae6ad9cab4bcadcc33ead (PR-137) [2020-03-25T02:15:58.994Z] > git config core.sparsecheckout # timeout=10 [2020-03-25T02:15:59.046Z] > git checkout -f 597b59532fa82a91923ae6ad9cab4bcadcc33ead # timeout=10 [2020-03-25T02:15:59.161Z] > git remote # timeout=10 [2020-03-25T02:15:59.200Z] > git config --get remote.origin.url # timeout=10 [2020-03-25T02:15:59.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-25T02:15:59.250Z] > git merge 7630a44284c4f0b59b6aeea77d9c54c278935c5a # timeout=10 [2020-03-25T02:15:59.275Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-25T02:15:59.317Z] > git config core.sparsecheckout # timeout=10 [2020-03-25T02:15:59.350Z] > git checkout -f 597b59532fa82a91923ae6ad9cab4bcadcc33ead # timeout=10 [2020-03-25T02:16:03.324Z] 5788d62ee057: Pull complete [2020-03-25T02:16:03.586Z] 0e6b1d234666: Pull complete [2020-03-25T02:16:03.586Z] bf5d7aec512f: Pull complete [2020-03-25T02:16:04.367Z] Commit message: "Fix doc link" [2020-03-25T02:16:04.430Z] > git --version # timeout=10 [2020-03-25T02:16:04.478Z] fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-25T02:16:05.705Z] ========================================================= [2020-03-25T02:16:05.705Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-25T02:16:05.705Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-25T02:16:07.096Z] + 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-25T02:16:07.804Z] 34c802a77dc8: Pull complete [2020-03-25T02:16:08.079Z] Sending build context to Docker daemon 538.6kB [2020-03-25T02:16:08.079Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-25T02:16:08.079Z] Step 2/8 : FROM ${BASE} [2020-03-25T02:16:08.346Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-25T02:16:08.346Z] cde5963f3b93: Pulling fs layer [2020-03-25T02:16:08.346Z] 2a23fa8c16f7: Pulling fs layer [2020-03-25T02:16:08.346Z] 777b28850792: Pulling fs layer [2020-03-25T02:16:08.346Z] 8a11ddd9e578: Pulling fs layer [2020-03-25T02:16:08.346Z] 4cf88f913ddb: Pulling fs layer [2020-03-25T02:16:08.346Z] 1df406cf5192: Pulling fs layer [2020-03-25T02:16:08.346Z] cd6300453558: Pulling fs layer [2020-03-25T02:16:08.346Z] b9c365052c96: Pulling fs layer [2020-03-25T02:16:08.346Z] a2d8cc88f415: Pulling fs layer [2020-03-25T02:16:08.346Z] ea1d1ca13537: Pulling fs layer [2020-03-25T02:16:08.346Z] 3750a50a1c5e: Pulling fs layer [2020-03-25T02:16:08.346Z] 8a11ddd9e578: Waiting [2020-03-25T02:16:08.346Z] 4cf88f913ddb: Waiting [2020-03-25T02:16:08.346Z] 1df406cf5192: Waiting [2020-03-25T02:16:08.346Z] cd6300453558: Waiting [2020-03-25T02:16:08.346Z] b9c365052c96: Waiting [2020-03-25T02:16:08.346Z] a2d8cc88f415: Waiting [2020-03-25T02:16:08.346Z] ea1d1ca13537: Waiting [2020-03-25T02:16:08.346Z] 3750a50a1c5e: Waiting [2020-03-25T02:16:08.346Z] 777b28850792: Verifying Checksum [2020-03-25T02:16:08.346Z] 777b28850792: Download complete [2020-03-25T02:16:08.346Z] 2a23fa8c16f7: Verifying Checksum [2020-03-25T02:16:08.346Z] 2a23fa8c16f7: Download complete [2020-03-25T02:16:08.346Z] 4cf88f913ddb: Verifying Checksum [2020-03-25T02:16:08.346Z] 4cf88f913ddb: Download complete [2020-03-25T02:16:08.346Z] 1df406cf5192: Verifying Checksum [2020-03-25T02:16:08.346Z] 1df406cf5192: Download complete [2020-03-25T02:16:08.616Z] cde5963f3b93: Verifying Checksum [2020-03-25T02:16:09.586Z] cde5963f3b93: Pull complete [2020-03-25T02:16:09.864Z] 2a23fa8c16f7: Pull complete [2020-03-25T02:16:10.459Z] 777b28850792: Pull complete [2020-03-25T02:16:11.099Z] 9eb99e56ec68: Pull complete [2020-03-25T02:16:11.099Z] 27c7a5d97fbd: Pull complete [2020-03-25T02:16:12.053Z] 5c102a31e300: Pull complete [2020-03-25T02:16:12.053Z] dcfb455df0a1: Pull complete [2020-03-25T02:16:12.053Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-25T02:16:12.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-25T02:16:12.053Z] ---> 7c70fe431013 [2020-03-25T02:16:12.053Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-03-25T02:16:12.381Z] ---> Running in f782eb12379b [2020-03-25T02:16:12.381Z] Removing intermediate container f782eb12379b [2020-03-25T02:16:12.381Z] ---> 6acc864cf009 [2020-03-25T02:16:12.381Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-25T02:16:12.381Z] ---> Running in 97ca3017e7bd [2020-03-25T02:16:13.074Z] cd6300453558: Verifying Checksum [2020-03-25T02:16:13.074Z] cd6300453558: Download complete [2020-03-25T02:16:13.074Z] a2d8cc88f415: Verifying Checksum [2020-03-25T02:16:13.074Z] a2d8cc88f415: Download complete [2020-03-25T02:16:13.768Z] Removing intermediate container 97ca3017e7bd [2020-03-25T02:16:13.769Z] ---> c5380307ac66 [2020-03-25T02:16:13.769Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-03-25T02:16:14.032Z] ---> Running in c3642b2feaa2 [2020-03-25T02:16:14.293Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-25T02:16:15.729Z] ea1d1ca13537: Verifying Checksum [2020-03-25T02:16:15.729Z] ea1d1ca13537: Download complete [2020-03-25T02:16:15.729Z] 3750a50a1c5e: Verifying Checksum [2020-03-25T02:16:15.729Z] 3750a50a1c5e: Download complete [2020-03-25T02:16:16.830Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-25T02:16:18.341Z] b9c365052c96: Verifying Checksum [2020-03-25T02:16:18.341Z] b9c365052c96: Download complete [2020-03-25T02:16:18.738Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-03-25T02:16:19.675Z] (2/17) Installing libmagic (5.37-r1) [2020-03-25T02:16:20.243Z] (3/17) Installing file (5.37-r1) [2020-03-25T02:16:20.300Z] 8a11ddd9e578: Verifying Checksum [2020-03-25T02:16:20.300Z] 8a11ddd9e578: Download complete [2020-03-25T02:16:20.501Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-03-25T02:16:20.501Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-03-25T02:16:20.760Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-03-25T02:16:32.678Z] 8a11ddd9e578: Pull complete [2020-03-25T02:16:32.678Z] 4cf88f913ddb: Pull complete [2020-03-25T02:16:32.678Z] 1df406cf5192: Pull complete [2020-03-25T02:16:38.050Z] cd6300453558: Pull complete [2020-03-25T02:16:42.332Z] b9c365052c96: Pull complete [2020-03-25T02:16:42.611Z] a2d8cc88f415: Pull complete [2020-03-25T02:16:44.566Z] ea1d1ca13537: Pull complete [2020-03-25T02:16:44.835Z] 3750a50a1c5e: Pull complete [2020-03-25T02:16:45.101Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-25T02:16:45.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-25T02:16:45.101Z] ---> 78745c68409d [2020-03-25T02:16:45.101Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-03-25T02:16:49.388Z] ---> Running in ffecb094cc68 [2020-03-25T02:16:49.388Z] Removing intermediate container ffecb094cc68 [2020-03-25T02:16:49.388Z] ---> 165b5bf86214 [2020-03-25T02:16:49.388Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-25T02:16:49.388Z] ---> Running in 5e8370a3f30f [2020-03-25T02:16:51.343Z] Removing intermediate container 5e8370a3f30f [2020-03-25T02:16:51.344Z] ---> e9c93aaac76b [2020-03-25T02:16:51.344Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-03-25T02:16:51.344Z] ---> Running in 1c685f0fc613 [2020-03-25T02:16:52.329Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-25T02:16:54.267Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-25T02:16:55.221Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-03-25T02:16:55.221Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-03-25T02:16:55.805Z] (3/18) Installing libmagic (5.37-r1) [2020-03-25T02:16:56.388Z] (4/18) Installing file (5.37-r1) [2020-03-25T02:16:56.388Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-03-25T02:16:56.388Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-03-25T02:16:56.654Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-03-25T02:17:07.446Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-03-25T02:17:07.446Z] (8/17) Installing g++ (9.2.0-r4) [2020-03-25T02:17:28.885Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-03-25T02:17:28.885Z] (9/18) Installing g++ (9.2.0-r4) [2020-03-25T02:17:29.396Z] (9/17) Installing fortify-headers (1.1-r0) [2020-03-25T02:17:29.396Z] (10/17) Installing build-base (0.5-r1) [2020-03-25T02:17:29.396Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-03-25T02:17:29.396Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-03-25T02:17:29.396Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-03-25T02:17:29.396Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-03-25T02:17:29.396Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-03-25T02:17:29.396Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-03-25T02:17:29.396Z] (17/17) Installing openssh (8.1_p1-r0) [2020-03-25T02:17:29.396Z] Executing busybox-1.31.1-r8.trigger [2020-03-25T02:17:29.396Z] OK: 214 MiB in 52 packages [2020-03-25T02:17:33.600Z] Removing intermediate container c3642b2feaa2 [2020-03-25T02:17:33.600Z] ---> c73f7bf3e7b5 [2020-03-25T02:17:33.600Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-03-25T02:17:33.600Z] ---> Running in fd9f87ef9f4a [2020-03-25T02:17:33.600Z] Removing intermediate container fd9f87ef9f4a [2020-03-25T02:17:33.600Z] ---> d022bdbc4431 [2020-03-25T02:17:33.600Z] Step 7/8 : COPY . . [2020-03-25T02:17:33.860Z] ---> f521ba8b03ad [2020-03-25T02:17:33.860Z] Step 8/8 : RUN go mod download [2020-03-25T02:17:33.860Z] ---> Running in 7b568dfc57dd [2020-03-25T02:17:35.776Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-25T02:17:35.776Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-25T02:17:35.776Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-25T02:17:35.776Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-25T02:17:35.776Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-25T02:17:35.776Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-25T02:17:35.776Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-25T02:17:35.776Z] go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 [2020-03-25T02:17:35.776Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-03-25T02:17:35.776Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-03-25T02:17:35.776Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-25T02:17:35.776Z] go: finding github.com/fatih/color v1.7.0 [2020-03-25T02:17:35.776Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-25T02:17:35.776Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-25T02:17:35.776Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-25T02:17:35.776Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-25T02:17:35.776Z] go: finding github.com/google/uuid v1.1.1 [2020-03-25T02:17:35.776Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-25T02:17:35.776Z] go: finding github.com/gorilla/mux v1.7.0 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-25T02:17:35.776Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-25T02:17:35.776Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-25T02:17:35.776Z] go: finding github.com/kr/pretty v0.1.0 [2020-03-25T02:17:35.776Z] go: finding github.com/kr/pty v1.1.1 [2020-03-25T02:17:35.776Z] go: finding github.com/kr/text v0.1.0 [2020-03-25T02:17:35.776Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-25T02:17:35.776Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-25T02:17:35.776Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-25T02:17:36.035Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-25T02:17:36.035Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-25T02:17:36.035Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-25T02:17:36.035Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-25T02:17:36.035Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-25T02:17:36.035Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-25T02:17:36.035Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-25T02:17:36.035Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-25T02:17:36.035Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-25T02:17:36.035Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-25T02:17:36.035Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-25T02:17:36.035Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-25T02:17:36.035Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-25T02:17:36.035Z] go: finding github.com/posener/complete v1.1.1 [2020-03-25T02:17:36.035Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-25T02:17:36.035Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-25T02:17:36.035Z] go: finding github.com/spf13/cast v1.3.0 [2020-03-25T02:17:36.294Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-25T02:17:36.294Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-25T02:17:36.294Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-25T02:17:36.294Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-25T02:17:36.294Z] go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-03-25T02:17:36.294Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-25T02:17:36.294Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-25T02:17:36.294Z] go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 [2020-03-25T02:17:36.294Z] go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce [2020-03-25T02:17:36.294Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-25T02:17:46.299Z] Removing intermediate container 7b568dfc57dd [2020-03-25T02:17:46.299Z] ---> e744c83baa42 [2020-03-25T02:17:46.299Z] Successfully built e744c83baa42 [2020-03-25T02:17:46.299Z] 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-25T02:17:47.065Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-25T02:17:47.065Z] . [Pipeline] withDockerContainer [2020-03-25T02:17:47.207Z] prd-centos7-docker-4c-2g-652 does not seem to be running inside a container [2020-03-25T02:17:47.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-x86_64 cat [2020-03-25T02:17:47.854Z] $ docker top ff5acbbe8fcf0ae0680506bb80df9abdaf1f51f619b42bdb7efd461a17f2509c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-25T02:17:48.385Z] + go version [2020-03-25T02:17:48.385Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-25T02:17:48.700Z] + make test [2020-03-25T02:17:48.700Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-03-25T02:17:50.090Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-03-25T02:18:01.104Z] (10/18) Installing fortify-headers (1.1-r0) [2020-03-25T02:18:01.104Z] (11/18) Installing build-base (0.5-r1) [2020-03-25T02:18:01.104Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-03-25T02:18:01.686Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-03-25T02:18:01.686Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-03-25T02:18:05.106Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-03-25T02:18:05.106Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 29.8% of statements [2020-03-25T02:18:05.106Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-03-25T02:18:05.106Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-25T02:18:05.945Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-03-25T02:18:06.531Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-03-25T02:18:06.531Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-03-25T02:18:08.485Z] (18/18) Installing openssh (8.1_p1-r0) [2020-03-25T02:18:09.337Z] gofmt -l . [2020-03-25T02:18:09.337Z] ["`gofmt -l .`" = ""] [2020-03-25T02:18:09.337Z] ./bin/test-attribution-txt.sh [2020-03-25T02:18:09.337Z] ./bin/test-go-mod-tidy.sh [2020-03-25T02:18:09.457Z] Executing busybox-1.31.1-r8.trigger [2020-03-25T02:18:09.457Z] OK: 203 MiB in 52 packages [Pipeline] stash [2020-03-25T02:18:10.033Z] Stashed 1 file(s) [Pipeline] } [2020-03-25T02:18:10.051Z] $ docker stop --time=1 ff5acbbe8fcf0ae0680506bb80df9abdaf1f51f619b42bdb7efd461a17f2509c [2020-03-25T02:18:11.502Z] $ docker rm -f ff5acbbe8fcf0ae0680506bb80df9abdaf1f51f619b42bdb7efd461a17f2509c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-25T02:18:12.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-25T02:18:13.003Z] + ls -al . [2020-03-25T02:18:13.003Z] total 92 [2020-03-25T02:18:13.003Z] drwxrwxr-x. 9 jenkins jenkins 4096 Mar 25 02:18 . [2020-03-25T02:18:13.003Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 25 02:15 .. [2020-03-25T02:18:13.003Z] -rw-rw-r--. 1 jenkins jenkins 3943 Mar 25 02:15 Attribution.txt [2020-03-25T02:18:13.003Z] drwxrwxr-x. 2 jenkins jenkins 87 Mar 25 02:15 bin [2020-03-25T02:18:13.003Z] drwxrwxr-x. 3 jenkins jenkins 55 Mar 25 02:15 cmd [2020-03-25T02:18:13.003Z] -rw-r--r--. 1 jenkins jenkins 18213 Mar 25 02:18 coverage.out [2020-03-25T02:18:13.003Z] -rw-rw-r--. 1 jenkins jenkins 1626 Mar 25 02:15 Dockerfile [2020-03-25T02:18:13.003Z] -rw-rw-r--. 1 jenkins jenkins 953 Mar 25 02:15 Dockerfile.build [2020-03-25T02:18:13.003Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 25 02:15 .dockerignore [2020-03-25T02:18:13.003Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 25 02:15 .git [2020-03-25T02:18:13.003Z] -rw-rw-r--. 1 jenkins jenkins 335 Mar 25 02:15 .gitignore [2020-03-25T02:18:13.003Z] -rw-r--r--. 1 jenkins jenkins 581 Mar 25 02:18 go.mod [2020-03-25T02:18:13.003Z] -rw-r--r--. 1 jenkins jenkins 12267 Mar 25 02:18 go.sum [2020-03-25T02:18:13.003Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 25 02:15 internal [2020-03-25T02:18:13.003Z] -rw-rw-r--. 1 jenkins jenkins 679 Mar 25 02:15 Jenkinsfile [2020-03-25T02:18:13.003Z] -rw-rw-r--. 1 jenkins jenkins 11340 Mar 25 02:15 LICENSE [2020-03-25T02:18:13.003Z] -rw-rw-r--. 1 jenkins jenkins 902 Mar 25 02:15 Makefile [2020-03-25T02:18:13.003Z] drwxrwxr-x. 2 jenkins jenkins 23 Mar 25 02:15 mock [2020-03-25T02:18:13.003Z] -rw-rw-r--. 1 jenkins jenkins 444 Mar 25 02:15 README.md [2020-03-25T02:18:13.003Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 25 02:15 .semver [2020-03-25T02:18:13.003Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 25 02:15 snap [2020-03-25T02:18:13.003Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 25 02:13 VERSION [2020-03-25T02:18:13.003Z] -rw-rw-r--. 1 jenkins jenkins 227 Mar 25 02:15 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-25T02:18:13.329Z] + docker build -t docker-device-mqtt-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=597b59532fa82a91923ae6ad9cab4bcadcc33ead --label arch=amd64 --label version=0.0.0 . [2020-03-25T02:18:13.329Z] Sending build context to Docker daemon 557.6kB [2020-03-25T02:18:13.329Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-03-25T02:18:13.329Z] Step 2/19 : FROM ${BASE} AS builder [2020-03-25T02:18:13.329Z] ---> e744c83baa42 [2020-03-25T02:18:13.329Z] Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-03-25T02:18:13.590Z] ---> Running in 0532c0da7038 [2020-03-25T02:18:13.590Z] Removing intermediate container 0532c0da7038 [2020-03-25T02:18:13.590Z] ---> a8584345c9fa [2020-03-25T02:18:13.590Z] Step 4/19 : ARG ALPINE_PKG_EXTRA="" [2020-03-25T02:18:13.590Z] ---> Running in 3f3ef0916e89 [2020-03-25T02:18:13.852Z] Removing intermediate container 3f3ef0916e89 [2020-03-25T02:18:13.852Z] ---> 25e9985b39e7 [2020-03-25T02:18:13.852Z] Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-25T02:18:13.852Z] ---> Running in f7b9e3d72e80 [2020-03-25T02:18:14.790Z] Removing intermediate container f7b9e3d72e80 [2020-03-25T02:18:14.790Z] ---> 275d53373d27 [2020-03-25T02:18:14.790Z] Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-03-25T02:18:14.790Z] ---> Running in 73cc8c98add7 [2020-03-25T02:18:15.049Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-25T02:18:16.134Z] Removing intermediate container 1c685f0fc613 [2020-03-25T02:18:16.134Z] ---> 82ac126f3213 [2020-03-25T02:18:16.134Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-03-25T02:18:16.134Z] ---> Running in d39dd9cbabb9 [2020-03-25T02:18:16.134Z] Removing intermediate container d39dd9cbabb9 [2020-03-25T02:18:16.134Z] ---> 29d2a515890d [2020-03-25T02:18:16.134Z] Step 7/8 : COPY . . [2020-03-25T02:18:16.725Z] ---> a2e391620bd6 [2020-03-25T02:18:16.725Z] Step 8/8 : RUN go mod download [2020-03-25T02:18:17.000Z] ---> Running in 6de76ea434ce [2020-03-25T02:18:18.956Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-25T02:18:18.956Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-25T02:18:18.956Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-25T02:18:18.956Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-25T02:18:18.956Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-25T02:18:18.956Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-25T02:18:18.956Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-25T02:18:18.956Z] go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 [2020-03-25T02:18:18.956Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-03-25T02:18:18.956Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-03-25T02:18:18.956Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-25T02:18:18.956Z] go: finding github.com/fatih/color v1.7.0 [2020-03-25T02:18:18.956Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-25T02:18:18.956Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-25T02:18:18.956Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-25T02:18:18.956Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-25T02:18:18.956Z] go: finding github.com/google/uuid v1.1.1 [2020-03-25T02:18:18.956Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-25T02:18:18.956Z] go: finding github.com/gorilla/mux v1.7.0 [2020-03-25T02:18:18.956Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-25T02:18:18.956Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-25T02:18:18.956Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-25T02:18:18.956Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-25T02:18:18.956Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-25T02:18:18.956Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-25T02:18:18.956Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-25T02:18:18.956Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-25T02:18:19.228Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-25T02:18:19.228Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-25T02:18:19.228Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-25T02:18:19.228Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-25T02:18:19.228Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-25T02:18:19.228Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-25T02:18:19.228Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-25T02:18:19.228Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-25T02:18:19.228Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-25T02:18:19.228Z] go: finding github.com/kr/pretty v0.1.0 [2020-03-25T02:18:19.228Z] go: finding github.com/kr/pty v1.1.1 [2020-03-25T02:18:19.228Z] go: finding github.com/kr/text v0.1.0 [2020-03-25T02:18:19.228Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-25T02:18:19.228Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-25T02:18:19.228Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-25T02:18:19.228Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-25T02:18:19.228Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-25T02:18:19.228Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-25T02:18:19.228Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-25T02:18:19.228Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-25T02:18:19.228Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-25T02:18:19.497Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-25T02:18:19.497Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-25T02:18:19.497Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-25T02:18:19.497Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-25T02:18:19.497Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-25T02:18:19.497Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-25T02:18:19.497Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-25T02:18:19.497Z] go: finding github.com/posener/complete v1.1.1 [2020-03-25T02:18:19.497Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-25T02:18:19.497Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-25T02:18:19.498Z] go: finding github.com/spf13/cast v1.3.0 [2020-03-25T02:18:19.498Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-25T02:18:19.498Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-25T02:18:19.498Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-25T02:18:19.498Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-25T02:18:19.498Z] go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-03-25T02:18:19.498Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-25T02:18:19.498Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-25T02:18:19.498Z] go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 [2020-03-25T02:18:19.498Z] go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce [2020-03-25T02:18:19.498Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-25T02:18:20.319Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-25T02:18:26.882Z] OK: 214 MiB in 52 packages [2020-03-25T02:18:27.451Z] Removing intermediate container 73cc8c98add7 [2020-03-25T02:18:27.451Z] ---> 27b89b878e45 [2020-03-25T02:18:27.451Z] Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-03-25T02:18:27.451Z] ---> Running in cbb8afc4ce40 [2020-03-25T02:18:27.451Z] Removing intermediate container cbb8afc4ce40 [2020-03-25T02:18:27.451Z] ---> fa7e1b3c1879 [2020-03-25T02:18:27.451Z] Step 8/19 : COPY . . [2020-03-25T02:18:27.715Z] ---> 025ec21790ad [2020-03-25T02:18:27.715Z] Step 9/19 : ARG MAKE='make build' [2020-03-25T02:18:27.715Z] ---> Running in 8bd3b0e5d414 [2020-03-25T02:18:27.975Z] Removing intermediate container 8bd3b0e5d414 [2020-03-25T02:18:27.975Z] ---> dd688b2cdeb3 [2020-03-25T02:18:27.975Z] Step 10/19 : RUN $MAKE [2020-03-25T02:18:27.975Z] ---> Running in 9d49ccd78ba6 [2020-03-25T02:18:28.236Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-03-25T02:18:37.756Z] Removing intermediate container 6de76ea434ce [2020-03-25T02:18:37.756Z] ---> 28024d658317 [2020-03-25T02:18:37.756Z] Successfully built 28024d658317 [2020-03-25T02:18:37.756Z] 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-25T02:18:38.557Z] + docker inspect -f . ci-base-image-arm64 [2020-03-25T02:18:38.826Z] . [Pipeline] withDockerContainer [2020-03-25T02:18:39.275Z] prd-ubuntu18.04-docker-arm64-4c-16g-651 does not seem to be running inside a container [2020-03-25T02:18:39.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2020-03-25T02:18:40.523Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-03-25T02:18:40.855Z] $ docker top 48dbe208ffc470ca0fe9f5ff8b7dcff64f84d714917e4706779ef7a12c764520 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-25T02:18:42.071Z] + go version [2020-03-25T02:18:42.071Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-25T02:18:42.790Z] + make test [2020-03-25T02:18:42.790Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-03-25T02:18:43.820Z] Removing intermediate container 9d49ccd78ba6 [2020-03-25T02:18:43.820Z] ---> 244f097aa536 [2020-03-25T02:18:43.820Z] Step 11/19 : FROM alpine [2020-03-25T02:18:44.231Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-03-25T02:18:44.387Z] latest: Pulling from library/alpine [2020-03-25T02:18:44.646Z] aad63a933944: Pulling fs layer [2020-03-25T02:18:44.913Z] aad63a933944: Verifying Checksum [2020-03-25T02:18:44.913Z] aad63a933944: Download complete [2020-03-25T02:18:45.175Z] aad63a933944: Pull complete [2020-03-25T02:18:45.175Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-03-25T02:18:45.175Z] Status: Downloaded newer image for alpine:latest [2020-03-25T02:18:45.175Z] ---> a187dde48cd2 [2020-03-25T02:18:45.175Z] Step 12/19 : ENV APP_PORT=49982 [2020-03-25T02:18:45.175Z] ---> Running in 1b0669efdb0f [2020-03-25T02:18:45.434Z] Removing intermediate container 1b0669efdb0f [2020-03-25T02:18:45.434Z] ---> b366988ee0bc [2020-03-25T02:18:45.434Z] Step 13/19 : EXPOSE $APP_PORT [2020-03-25T02:18:45.434Z] ---> Running in 11a3a3b2690c [2020-03-25T02:18:45.696Z] Removing intermediate container 11a3a3b2690c [2020-03-25T02:18:45.696Z] ---> 543a386c2436 [2020-03-25T02:18:45.696Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-03-25T02:18:46.269Z] ---> 8a10a0dc29ac [2020-03-25T02:18:46.269Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-03-25T02:18:46.269Z] ---> Running in f3b64a516178 [2020-03-25T02:18:46.269Z] Removing intermediate container f3b64a516178 [2020-03-25T02:18:46.269Z] ---> 47815c33ec31 [2020-03-25T02:18:46.269Z] Step 16/19 : ENTRYPOINT ["/device-mqtt","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-03-25T02:18:46.269Z] ---> Running in c510d7f8c961 [2020-03-25T02:18:46.529Z] Removing intermediate container c510d7f8c961 [2020-03-25T02:18:46.529Z] ---> d737e2808835 [2020-03-25T02:18:46.529Z] Step 17/19 : LABEL arch=amd64 [2020-03-25T02:18:46.529Z] ---> Running in 9588752c224a [2020-03-25T02:18:46.792Z] Removing intermediate container 9588752c224a [2020-03-25T02:18:46.792Z] ---> e6cc1a588b58 [2020-03-25T02:18:46.792Z] Step 18/19 : LABEL git_sha=597b59532fa82a91923ae6ad9cab4bcadcc33ead [2020-03-25T02:18:46.792Z] ---> Running in 307f691866af [2020-03-25T02:18:46.792Z] Removing intermediate container 307f691866af [2020-03-25T02:18:46.792Z] ---> 754ac0572860 [2020-03-25T02:18:46.792Z] Step 19/19 : LABEL version=0.0.0 [2020-03-25T02:18:47.051Z] ---> Running in 701ea7ba5ddd [2020-03-25T02:18:47.051Z] Removing intermediate container 701ea7ba5ddd [2020-03-25T02:18:47.051Z] ---> 0c58105b221a [2020-03-25T02:18:47.051Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-25T02:18:47.051Z] Successfully built 0c58105b221a [2020-03-25T02:18:47.051Z] Successfully tagged docker-device-mqtt-go: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-25T02:19:31.175Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-03-25T02:19:31.175Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.030s coverage: 29.8% of statements [2020-03-25T02:19:31.175Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-03-25T02:19:31.175Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-25T02:19:33.754Z] gofmt -l . [2020-03-25T02:19:33.754Z] ["`gofmt -l .`" = ""] [2020-03-25T02:19:33.754Z] ./bin/test-attribution-txt.sh [2020-03-25T02:19:34.341Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-25T02:19:34.645Z] Warning: overwriting stash ‘coverage-report’ [2020-03-25T02:19:35.052Z] Stashed 1 file(s) [Pipeline] } [2020-03-25T02:19:35.085Z] $ docker stop --time=1 48dbe208ffc470ca0fe9f5ff8b7dcff64f84d714917e4706779ef7a12c764520 [2020-03-25T02:19:37.303Z] $ docker rm -f 48dbe208ffc470ca0fe9f5ff8b7dcff64f84d714917e4706779ef7a12c764520 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-25T02:19:38.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-25T02:19:39.033Z] + ls -al . [2020-03-25T02:19:39.033Z] total 124 [2020-03-25T02:19:39.033Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 25 02:19 . [2020-03-25T02:19:39.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 02:15 .. [2020-03-25T02:19:39.033Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 25 02:15 .dockerignore [2020-03-25T02:19:39.033Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 02:16 .git [2020-03-25T02:19:39.033Z] -rw-rw-r-- 1 jenkins jenkins 335 Mar 25 02:15 .gitignore [2020-03-25T02:19:39.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 02:16 .semver [2020-03-25T02:19:39.033Z] -rw-rw-r-- 1 jenkins jenkins 3943 Mar 25 02:15 Attribution.txt [2020-03-25T02:19:39.033Z] -rw-rw-r-- 1 jenkins jenkins 1626 Mar 25 02:15 Dockerfile [2020-03-25T02:19:39.033Z] -rw-rw-r-- 1 jenkins jenkins 953 Mar 25 02:15 Dockerfile.build [2020-03-25T02:19:39.033Z] -rw-rw-r-- 1 jenkins jenkins 679 Mar 25 02:15 Jenkinsfile [2020-03-25T02:19:39.033Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 25 02:15 LICENSE [2020-03-25T02:19:39.033Z] -rw-rw-r-- 1 jenkins jenkins 902 Mar 25 02:15 Makefile [2020-03-25T02:19:39.033Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 25 02:15 README.md [2020-03-25T02:19:39.033Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 25 02:13 VERSION [2020-03-25T02:19:39.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 02:15 bin [2020-03-25T02:19:39.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 02:15 cmd [2020-03-25T02:19:39.033Z] -rw-r--r-- 1 jenkins jenkins 18213 Mar 25 02:19 coverage.out [2020-03-25T02:19:39.033Z] -rw-r--r-- 1 jenkins jenkins 581 Mar 25 02:19 go.mod [2020-03-25T02:19:39.033Z] -rw-r--r-- 1 jenkins jenkins 12267 Mar 25 02:19 go.sum [2020-03-25T02:19:39.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 02:15 internal [2020-03-25T02:19:39.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 02:15 mock [2020-03-25T02:19:39.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 02:15 snap [2020-03-25T02:19:39.033Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 25 02:15 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-25T02:19:39.450Z] + docker build -t docker-device-mqtt-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=597b59532fa82a91923ae6ad9cab4bcadcc33ead --label arch=arm64 --label version=0.0.0 . [2020-03-25T02:19:39.968Z] Sending build context to Docker daemon 557.6kB [2020-03-25T02:19:39.968Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-03-25T02:19:39.968Z] Step 2/19 : FROM ${BASE} AS builder [2020-03-25T02:19:39.968Z] ---> 28024d658317 [2020-03-25T02:19:39.968Z] Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-03-25T02:19:39.968Z] ---> Running in 15648343e05d [2020-03-25T02:19:40.560Z] Removing intermediate container 15648343e05d [2020-03-25T02:19:40.560Z] ---> 92ea754d5946 [2020-03-25T02:19:40.560Z] Step 4/19 : ARG ALPINE_PKG_EXTRA="" [2020-03-25T02:19:40.560Z] ---> Running in 8105234eb50a [2020-03-25T02:19:40.834Z] Removing intermediate container 8105234eb50a [2020-03-25T02:19:40.834Z] ---> 6fae4a78afd0 [2020-03-25T02:19:40.834Z] Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-25T02:19:41.102Z] ---> Running in a77c1d70f2ba [2020-03-25T02:19:43.070Z] Removing intermediate container a77c1d70f2ba [2020-03-25T02:19:43.070Z] ---> dc1dd89edf1f [2020-03-25T02:19:43.070Z] Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-03-25T02:19:43.070Z] ---> Running in 5d248b849c39 [2020-03-25T02:19:43.655Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-25T02:19:46.985Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-25T02:19:49.561Z] OK: 203 MiB in 52 packages [2020-03-25T02:19:50.146Z] Removing intermediate container 5d248b849c39 [2020-03-25T02:19:50.146Z] ---> fff989ba2844 [2020-03-25T02:19:50.146Z] Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-03-25T02:19:50.412Z] ---> Running in c041f84e4c39 [2020-03-25T02:19:50.681Z] Removing intermediate container c041f84e4c39 [2020-03-25T02:19:50.681Z] ---> a4a906d940c4 [2020-03-25T02:19:50.681Z] Step 8/19 : COPY . . [2020-03-25T02:19:51.261Z] ---> 7d3f1139e27a [2020-03-25T02:19:51.261Z] Step 9/19 : ARG MAKE='make build' [2020-03-25T02:19:51.528Z] ---> Running in 05aca08983cf [2020-03-25T02:19:51.795Z] Removing intermediate container 05aca08983cf [2020-03-25T02:19:51.795Z] ---> f94227e9dc17 [2020-03-25T02:19:51.795Z] Step 10/19 : RUN $MAKE [2020-03-25T02:19:52.067Z] ---> Running in e96a49701f99 [2020-03-25T02:19:52.648Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-03-25T02:20:31.556Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-03-25T02:20:39.847Z] Removing intermediate container e96a49701f99 [2020-03-25T02:20:39.847Z] ---> bb91a36ca6da [2020-03-25T02:20:39.847Z] Step 11/19 : FROM alpine [2020-03-25T02:20:39.847Z] latest: Pulling from library/alpine [2020-03-25T02:20:39.847Z] 8a0637ca1ac9: Pulling fs layer [2020-03-25T02:20:39.847Z] 8a0637ca1ac9: Download complete [2020-03-25T02:20:40.429Z] 8a0637ca1ac9: Pull complete [2020-03-25T02:20:40.429Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-03-25T02:20:40.429Z] Status: Downloaded newer image for alpine:latest [2020-03-25T02:20:40.429Z] ---> 2ee122dcc32d [2020-03-25T02:20:40.429Z] Step 12/19 : ENV APP_PORT=49982 [2020-03-25T02:20:40.429Z] ---> Running in 92b21ed25e94 [2020-03-25T02:20:41.012Z] Removing intermediate container 92b21ed25e94 [2020-03-25T02:20:41.012Z] ---> 3ff52f1ef280 [2020-03-25T02:20:41.012Z] Step 13/19 : EXPOSE $APP_PORT [2020-03-25T02:20:41.012Z] ---> Running in e3b2dfa0b2a5 [2020-03-25T02:20:41.280Z] Removing intermediate container e3b2dfa0b2a5 [2020-03-25T02:20:41.280Z] ---> f123a21a2b2d [2020-03-25T02:20:41.280Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-03-25T02:20:42.718Z] ---> 5bfad370fa5f [2020-03-25T02:20:42.718Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-03-25T02:20:42.718Z] ---> Running in 9984c7fe6d8b [2020-03-25T02:20:42.984Z] Removing intermediate container 9984c7fe6d8b [2020-03-25T02:20:42.984Z] ---> bfd74f9833b9 [2020-03-25T02:20:42.984Z] Step 16/19 : ENTRYPOINT ["/device-mqtt","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-03-25T02:20:42.984Z] ---> Running in 75ff895ed257 [2020-03-25T02:20:43.249Z] Removing intermediate container 75ff895ed257 [2020-03-25T02:20:43.249Z] ---> 2b1a8920c9dd [2020-03-25T02:20:43.249Z] Step 17/19 : LABEL arch=arm64 [2020-03-25T02:20:43.517Z] ---> Running in 0520bd69d222 [2020-03-25T02:20:43.785Z] Removing intermediate container 0520bd69d222 [2020-03-25T02:20:43.785Z] ---> 27d2ef40f376 [2020-03-25T02:20:43.785Z] Step 18/19 : LABEL git_sha=597b59532fa82a91923ae6ad9cab4bcadcc33ead [2020-03-25T02:20:44.054Z] ---> Running in 90cdd271fa43 [2020-03-25T02:20:44.322Z] Removing intermediate container 90cdd271fa43 [2020-03-25T02:20:44.322Z] ---> 70e603321d50 [2020-03-25T02:20:44.322Z] Step 19/19 : LABEL version=0.0.0 [2020-03-25T02:20:44.322Z] ---> Running in 906694a70dc8 [2020-03-25T02:20:44.907Z] Removing intermediate container 906694a70dc8 [2020-03-25T02:20:44.907Z] ---> ce3c46c44534 [2020-03-25T02:20:44.907Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-25T02:20:44.907Z] Successfully built ce3c46c44534 [2020-03-25T02:20:44.907Z] Successfully tagged docker-device-mqtt-go-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-25T02:20:46.408Z] provisioning config files... [2020-03-25T02:20:46.425Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-137@tmp/config5883020509912195301tmp [Pipeline] { [Pipeline] sh [2020-03-25T02:20:46.808Z] + curl -s https://codecov.io/bash [2020-03-25T02:20:46.808Z] + bash -s - -t @/w/workspace/gexfoundry_device-mqtt-go_PR-137@tmp/config5883020509912195301tmp [2020-03-25T02:20:47.074Z] [2020-03-25T02:20:47.074Z] _____ _ [2020-03-25T02:20:47.074Z] / ____| | | [2020-03-25T02:20:47.074Z] | | ___ __| | ___ ___ _____ __ [2020-03-25T02:20:47.074Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-25T02:20:47.074Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-25T02:20:47.074Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-25T02:20:47.074Z] Bash-tbd [2020-03-25T02:20:47.074Z] [2020-03-25T02:20:47.074Z] [2020-03-25T02:20:47.074Z] ==> Jenkins CI detected. [2020-03-25T02:20:47.074Z] project root: . [2020-03-25T02:20:47.074Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-25T02:20:47.074Z] ==> Running gcov in . (disable via -X gcov) [2020-03-25T02:20:47.074Z] ==> Python coveragepy not found [2020-03-25T02:20:47.074Z] ==> Searching for coverage reports in: [2020-03-25T02:20:47.074Z] + . [2020-03-25T02:20:47.074Z] -> Found 1 reports [2020-03-25T02:20:47.074Z] ==> Detecting git/mercurial file structure [2020-03-25T02:20:47.074Z] ==> Reading reports [2020-03-25T02:20:47.074Z] + ./coverage.out bytes=18213 [2020-03-25T02:20:47.074Z] ==> Appending adjustments [2020-03-25T02:20:47.074Z] http://docs.codecov.io/docs/fixing-reports [2020-03-25T02:20:47.074Z] + Found adjustments [2020-03-25T02:20:47.074Z] ==> Gzipping contents [2020-03-25T02:20:47.074Z] ==> Uploading reports [2020-03-25T02:20:47.074Z] url: https://codecov.io [2020-03-25T02:20:47.074Z] query: branch=PR-137&commit=597b59532fa82a91923ae6ad9cab4bcadcc33ead&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-137%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=137&job= [2020-03-25T02:20:47.074Z] -> Pinging Codecov [2020-03-25T02:20:47.074Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-137&commit=597b59532fa82a91923ae6ad9cab4bcadcc33ead&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-137%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=137&job= [2020-03-25T02:20:47.651Z] -> Uploading [2020-03-25T02:23:09.164Z] X> Failed to upload [2020-03-25T02:23:09.164Z] -> Sleeping for 30s and trying again... [2020-03-25T02:23:27.275Z] -> Pinging Codecov [2020-03-25T02:23:27.275Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-137&commit=597b59532fa82a91923ae6ad9cab4bcadcc33ead&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-137%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=137&job= [2020-03-25T02:23:27.275Z] -> Uploading [2020-03-25T02:23:27.275Z] -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/597b59532fa82a91923ae6ad9cab4bcadcc33ead [Pipeline] } [2020-03-25T02:23:27.295Z] 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-25T02:23:29.166Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-25T02:23:29.498Z] ---> package-listing.sh [2020-03-25T02:23:29.499Z] ++ facter osfamily [2020-03-25T02:23:29.499Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-25T02:23:29.499Z] + OS_FAMILY=redhat [2020-03-25T02:23:29.499Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-137 [2020-03-25T02:23:29.499Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-25T02:23:29.499Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-25T02:23:29.499Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-25T02:23:29.499Z] + PACKAGES=/tmp/packages_start.txt [2020-03-25T02:23:29.499Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-137 ']' [2020-03-25T02:23:29.499Z] + PACKAGES=/tmp/packages_end.txt [2020-03-25T02:23:29.499Z] + case "${OS_FAMILY}" in [2020-03-25T02:23:29.499Z] + rpm -qa [2020-03-25T02:23:29.499Z] + sort [2020-03-25T02:23:33.702Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-25T02:23:33.702Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-25T02:23:33.702Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-25T02:23:33.702Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-137 ']' [2020-03-25T02:23:33.702Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-137/archives/ [2020-03-25T02:23:33.702Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-137/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-25T02:23:34.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-25T02:23:34.090Z] [2020-03-25T02:23:34.090Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-25T02:23:34.464Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-25T02:23:34.464Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-25T02:23:34.464Z] c9b1b535fdd9: Pulling fs layer [2020-03-25T02:23:34.464Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-25T02:23:34.464Z] 756a868c4378: Pulling fs layer [2020-03-25T02:23:34.464Z] 444b2fc9a129: Pulling fs layer [2020-03-25T02:23:34.464Z] ea15f1150254: Pulling fs layer [2020-03-25T02:23:34.464Z] 41b27a9f41bf: Pulling fs layer [2020-03-25T02:23:34.464Z] 28c525ee5125: Pulling fs layer [2020-03-25T02:23:34.464Z] 094b1ea09ed8: Pulling fs layer [2020-03-25T02:23:34.464Z] 138eaada9080: Pulling fs layer [2020-03-25T02:23:34.464Z] 0622d0fa9048: Pulling fs layer [2020-03-25T02:23:34.464Z] 444b2fc9a129: Waiting [2020-03-25T02:23:34.464Z] ea15f1150254: Waiting [2020-03-25T02:23:34.464Z] 41b27a9f41bf: Waiting [2020-03-25T02:23:34.464Z] 28c525ee5125: Waiting [2020-03-25T02:23:34.464Z] 094b1ea09ed8: Waiting [2020-03-25T02:23:34.464Z] 138eaada9080: Waiting [2020-03-25T02:23:34.464Z] 0622d0fa9048: Waiting [2020-03-25T02:23:34.464Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-25T02:23:34.464Z] 2cc5ad85d9ab: Download complete [2020-03-25T02:23:34.464Z] 444b2fc9a129: Verifying Checksum [2020-03-25T02:23:34.464Z] 444b2fc9a129: Download complete [2020-03-25T02:23:34.464Z] c9b1b535fdd9: Verifying Checksum [2020-03-25T02:23:34.465Z] c9b1b535fdd9: Download complete [2020-03-25T02:23:34.465Z] ea15f1150254: Download complete [2020-03-25T02:23:34.730Z] 28c525ee5125: Verifying Checksum [2020-03-25T02:23:34.730Z] 28c525ee5125: Download complete [2020-03-25T02:23:35.011Z] c9b1b535fdd9: Pull complete [2020-03-25T02:23:35.011Z] 756a868c4378: Verifying Checksum [2020-03-25T02:23:35.011Z] 756a868c4378: Download complete [2020-03-25T02:23:35.011Z] 094b1ea09ed8: Verifying Checksum [2020-03-25T02:23:35.011Z] 094b1ea09ed8: Download complete [2020-03-25T02:23:35.011Z] 0622d0fa9048: Verifying Checksum [2020-03-25T02:23:35.011Z] 0622d0fa9048: Download complete [2020-03-25T02:23:35.276Z] 138eaada9080: Verifying Checksum [2020-03-25T02:23:35.276Z] 138eaada9080: Download complete [2020-03-25T02:23:35.276Z] 2cc5ad85d9ab: Pull complete [2020-03-25T02:23:35.538Z] 41b27a9f41bf: Verifying Checksum [2020-03-25T02:23:35.538Z] 41b27a9f41bf: Download complete [2020-03-25T02:23:36.924Z] 756a868c4378: Pull complete [2020-03-25T02:23:36.924Z] 444b2fc9a129: Pull complete [2020-03-25T02:23:37.188Z] ea15f1150254: Pull complete [2020-03-25T02:23:40.507Z] 41b27a9f41bf: Pull complete [2020-03-25T02:23:40.507Z] 28c525ee5125: Pull complete [2020-03-25T02:23:42.424Z] 094b1ea09ed8: Pull complete [2020-03-25T02:23:42.685Z] 138eaada9080: Pull complete [2020-03-25T02:23:42.945Z] 0622d0fa9048: Pull complete [2020-03-25T02:23:42.945Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-25T02:23:42.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-25T02:23:43.108Z] prd-centos7-docker-4c-2g-649 does not seem to be running inside a container [2020-03-25T02:23:43.164Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/gexfoundry_device-mqtt-go_PR-137 -v /w/workspace/gexfoundry_device-mqtt-go_PR-137:/w/workspace/gexfoundry_device-mqtt-go_PR-137:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-137@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-137@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:10003/edgex-lftools-log-publisher:alpine cat [2020-03-25T02:23:43.723Z] $ docker top da1402368d0c4f660b6c92a6c6a61f9f1b65c876ee88cdd66ed176d22eeb415d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-25T02:23:44.074Z] provisioning config files... [2020-03-25T02:23:44.087Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-137@tmp/config777202540718853708tmp [Pipeline] { [Pipeline] echo [2020-03-25T02:23:44.170Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-25T02:23:44.498Z] ---> create-netrc.sh [Pipeline] echo [2020-03-25T02:23:44.519Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-25T02:23:44.842Z] ---> logs-deploy.sh [2020-03-25T02:23:44.842Z] + ARCHIVE_ARTIFACTS= [2020-03-25T02:23:44.842Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-25T02:23:44.842Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-25T02:23:44.842Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-25T02:23:44.842Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-137/1 [2020-03-25T02:23:44.842Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-137/1/ [2020-03-25T02:23:44.842Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-137/1 /w/workspace/gexfoundry_device-mqtt-go_PR-137 [2020-03-25T02:23:46.223Z] Archives upload complete. [2020-03-25T02:23:46.223Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-137/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-137/1/