Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4f13d3b8c24926502c75f0ce487e96a984a92e31+a4d671bc363cd3b6b16a5de27983df7bd02b35a1 (26bdb0b3f337f2118359577be2d2d7185c4d2503) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, goVersion:1.13, buildSnap:true] ========================================================= [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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2286 in /w/workspace/gexfoundry_device-mqtt-go_PR-169 [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-mqtt-go.git Fetching without tags Merging remotes/origin/master commit a4d671bc363cd3b6b16a5de27983df7bd02b35a1 into PR head commit 4f13d3b8c24926502c75f0ce487e96a984a92e31 > git init /w/workspace/gexfoundry_device-mqtt-go_PR-169 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/169/head:refs/remotes/origin/PR-169 +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/169/head:refs/remotes/origin/PR-169 # 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/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f13d3b8c24926502c75f0ce487e96a984a92e31 # timeout=10 Merge succeeded, producing c9594826a78fa83a3b5fcd0b3a5101f119927029 Checking out Revision c9594826a78fa83a3b5fcd0b3a5101f119927029 (PR-169) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a4d671bc363cd3b6b16a5de27983df7bd02b35a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9594826a78fa83a3b5fcd0b3a5101f119927029 # timeout=10 Commit message: "Merge commit 'a4d671bc363cd3b6b16a5de27983df7bd02b35a1' into HEAD" > git rev-list --no-walk 4f13d3b8c24926502c75f0ce487e96a984a92e31 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:19:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:19:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:19:17 ========================================================= 19:19:17 EdgeX Global Pipelines Version Info 19:19:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:19:19 ------------------- 19:19:19 stable info: 19:19:19 ------------------- 19:19:19 Commited By: Emilio Reyes emilio.reyes@intel.com 19:19:19 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 19:19:19 Message: update stable to v1.0.119 19:19:19 ------------------- 19:19:19 experimental info: 19:19:19 ------------------- 19:19:19 Commited By: **** collab-it+edgex@linuxfoundation.org 19:19:19 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 19:19:19 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 19:19:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 19:19:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 19:19:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:19:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:19:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:19:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 19:19:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:19:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 19:19:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:19:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:19:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:19:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 19:19:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:19:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:19:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:19:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:19:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:19:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:19:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:19:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 19:19:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:19:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:19:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo 19:19:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo 19:19:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo 19:19:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9594826a78fa83a3b5fcd0b3a5101f119927029 [Pipeline] echo 19:19:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c959482 [Pipeline] echo 19:19:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:19:24 + git log --format=format:%s -1 c9594826a78fa83a3b5fcd0b3a5101f119927029 [Pipeline] echo 19:19:24 GIT_COMMIT: c9594826a78fa83a3b5fcd0b3a5101f119927029, Commit Message: Merge commit 'a4d671bc363cd3b6b16a5de27983df7bd02b35a1' into HEAD [Pipeline] echo 19:19:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:19:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:19:25 19:19:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:19:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:19:26 latest: Pulling from edgex-devops/git-semver 19:19:26 31603596830f: Pulling fs layer 19:19:26 2a8b12db71e7: Pulling fs layer 19:19:26 6ca5941a6612: Pulling fs layer 19:19:26 ecc8261a40a4: Pulling fs layer 19:19:26 ecc8261a40a4: Waiting 19:19:26 2a8b12db71e7: Verifying Checksum 19:19:26 2a8b12db71e7: Download complete 19:19:26 31603596830f: Verifying Checksum 19:19:26 31603596830f: Download complete 19:19:26 ecc8261a40a4: Verifying Checksum 19:19:26 ecc8261a40a4: Download complete 19:19:26 6ca5941a6612: Verifying Checksum 19:19:26 6ca5941a6612: Download complete 19:19:26 31603596830f: Pull complete 19:19:26 2a8b12db71e7: Pull complete 19:19:27 6ca5941a6612: Pull complete 19:19:27 ecc8261a40a4: Pull complete 19:19:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 19:19:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:19:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:19:27 prd-centos7-docker-4c-2g-2286 does not seem to be running inside a container 19:19:27 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-169 -v /w/workspace/gexfoundry_device-mqtt-go_PR-169:/w/workspace/gexfoundry_device-mqtt-go_PR-169:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-169@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-169@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:19:29 $ docker top 701cb41f136a4515ef7b56c1d6b40516f4bb8416fead9d03a3444ab5807247f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:19:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:29 [ssh-agent] Looking for ssh-agent implementation... 19:19:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:30 $ docker exec 701cb41f136a4515ef7b56c1d6b40516f4bb8416fead9d03a3444ab5807247f0 ssh-agent 19:19:30 SSH_AUTH_SOCK=/tmp/ssh-45wzcntlXFDE/agent.11 19:19:30 SSH_AGENT_PID=16 19:19:30 Running ssh-add (command line suppressed) 19:19:30 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-169@tmp/private_key_982876168486984696.key (/w/workspace/gexfoundry_device-mqtt-go_PR-169@tmp/private_key_982876168486984696.key) 19:19:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:30 + git describe --exact-match --tags HEAD 19:19:30 fatal: No names found, cannot describe anything. [Pipeline] } 19:19:30 $ docker exec --env ******** --env ******** 701cb41f136a4515ef7b56c1d6b40516f4bb8416fead9d03a3444ab5807247f0 ssh-agent -k 19:19:30 unset SSH_AUTH_SOCK; 19:19:30 unset SSH_AGENT_PID; 19:19:30 echo Agent pid 16 killed; 19:19:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 19:19:31 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 19:19:31 This usually means this commit has not been tagged. [Pipeline] sshagent 19:19:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:31 [ssh-agent] Looking for ssh-agent implementation... 19:19:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:31 $ docker exec 701cb41f136a4515ef7b56c1d6b40516f4bb8416fead9d03a3444ab5807247f0 ssh-agent 19:19:31 SSH_AUTH_SOCK=/tmp/ssh-44OJ3xpWWHe6/agent.45 19:19:31 SSH_AGENT_PID=50 19:19:31 Running ssh-add (command line suppressed) 19:19:31 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-169@tmp/private_key_658494213684568687.key (/w/workspace/gexfoundry_device-mqtt-go_PR-169@tmp/private_key_658494213684568687.key) 19:19:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:32 + git semver init 19:19:32 # -> Open(): unable to determine branch for HEAD 19:19:32 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-169/.git 19:19:32 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-169 19:19:32 # $SEMVER_REMOTE_NAME = origin 19:19:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:19:32 # $SEMVER_USER_NAME = edgex-jenkins 19:19:32 # $SEMVER_BRANCH = PR-169 19:19:32 # $SEMVER_TEMP = /tmp/semver-568607697 19:19:32 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 19:19:32 # '/tmp/semver-568607697' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-169/.semver' 19:19:32 # -> Force: false 19:19:32 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-169/.semver [Pipeline] } 19:19:32 $ docker exec --env ******** --env ******** 701cb41f136a4515ef7b56c1d6b40516f4bb8416fead9d03a3444ab5807247f0 ssh-agent -k 19:19:32 unset SSH_AUTH_SOCK; 19:19:32 unset SSH_AGENT_PID; 19:19:32 echo Agent pid 50 killed; 19:19:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:19:33 + git semver [Pipeline] } 19:19:33 $ docker stop --time=1 701cb41f136a4515ef7b56c1d6b40516f4bb8416fead9d03a3444ab5807247f0 19:19:34 $ docker rm -f 701cb41f136a4515ef7b56c1d6b40516f4bb8416fead9d03a3444ab5807247f0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 19:19:35 Stashed 26 file(s) [Pipeline] echo 19:19:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 19:19:35 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [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 19:19:50 Still waiting to schedule task 19:19:50 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:19:50 Still waiting to schedule task 19:19:50 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2282’ 19:20:58 Running on prd-centos7-docker-4c-2g-2288 in /w/workspace/gexfoundry_device-mqtt-go_PR-169 [Pipeline] { [Pipeline] ws 19:20:58 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 19:21:01 using credential edgex-jenkins-ssh 19:21:01 Cloning the remote Git repository 19:21:01 Cloning with configured refspecs honoured and without tags 19:21:01 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:21:01 > git init /w/workspace/device-mqtt-go/2 # timeout=10 19:21:01 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:21:01 > git --version # timeout=10 19:21:01 > git --version # 'git version 2.16.5' 19:21:01 using GIT_SSH to set credentials SSH Credentials for GitHub 19:21:01 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:21:02 Fetching without tags 19:21:02 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:21:02 > git config --add remote.origin.fetch +refs/pull/169/head:refs/remotes/origin/PR-169 # timeout=10 19:21:02 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:21:02 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:21:02 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:21:02 using GIT_SSH to set credentials SSH Credentials for GitHub 19:21:02 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:21:03 Merging remotes/origin/master commit a4d671bc363cd3b6b16a5de27983df7bd02b35a1 into PR head commit 4f13d3b8c24926502c75f0ce487e96a984a92e31 19:21:03 Merge succeeded, producing 3168d2f7704e67a803bf298048ab2ab3311a69b0 19:21:03 Checking out Revision 3168d2f7704e67a803bf298048ab2ab3311a69b0 (PR-169) 19:21:03 > git config core.sparsecheckout # timeout=10 19:21:03 > git checkout -f 4f13d3b8c24926502c75f0ce487e96a984a92e31 # timeout=10 19:21:03 > git remote # timeout=10 19:21:03 > git config --get remote.origin.url # timeout=10 19:21:03 using GIT_SSH to set credentials SSH Credentials for GitHub 19:21:03 > git merge a4d671bc363cd3b6b16a5de27983df7bd02b35a1 # timeout=10 19:21:03 > git rev-parse HEAD^{commit} # timeout=10 19:21:03 > git config core.sparsecheckout # timeout=10 19:21:03 > git checkout -f 3168d2f7704e67a803bf298048ab2ab3311a69b0 # timeout=10 19:21:06 Commit message: "Merge commit 'a4d671bc363cd3b6b16a5de27983df7bd02b35a1' into HEAD" 19:21:06 > git rev-list --no-walk 4f13d3b8c24926502c75f0ce487e96a984a92e31 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:21:07 ========================================================= 19:21:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 19:21:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:21:08 + 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 . 19:21:08 Sending build context to Docker daemon 626.2kB 19:21:08 Step 1/8 : ARG BASE=golang:1.13-alpine 19:21:08 Step 2/8 : FROM ${BASE} 19:21:08 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 19:21:08 df20fa9351a1: Pulling fs layer 19:21:08 ed8968b2872e: Pulling fs layer 19:21:08 a92cc7c5fd73: Pulling fs layer 19:21:08 2dd03ba5bac4: Pulling fs layer 19:21:08 1e091d79d1de: Pulling fs layer 19:21:08 481702a1767f: Pulling fs layer 19:21:08 f64a6f60c768: Pulling fs layer 19:21:08 e78d2573fc39: Pulling fs layer 19:21:08 e876d2f968b6: Pulling fs layer 19:21:08 ce8a83651883: Pulling fs layer 19:21:08 07967f4d0e4b: Pulling fs layer 19:21:08 f64a6f60c768: Waiting 19:21:08 e78d2573fc39: Waiting 19:21:08 e876d2f968b6: Waiting 19:21:08 2dd03ba5bac4: Waiting 19:21:08 ce8a83651883: Waiting 19:21:08 07967f4d0e4b: Waiting 19:21:08 1e091d79d1de: Waiting 19:21:08 481702a1767f: Waiting 19:21:08 a92cc7c5fd73: Download complete 19:21:08 ed8968b2872e: Verifying Checksum 19:21:08 ed8968b2872e: Download complete 19:21:09 1e091d79d1de: Verifying Checksum 19:21:09 1e091d79d1de: Download complete 19:21:09 481702a1767f: Verifying Checksum 19:21:09 481702a1767f: Download complete 19:21:09 df20fa9351a1: Verifying Checksum 19:21:09 df20fa9351a1: Download complete 19:21:09 df20fa9351a1: Pull complete 19:21:09 ed8968b2872e: Pull complete 19:21:09 a92cc7c5fd73: Pull complete 19:21:11 f64a6f60c768: Verifying Checksum 19:21:11 f64a6f60c768: Download complete 19:21:11 e876d2f968b6: Verifying Checksum 19:21:11 e876d2f968b6: Download complete 19:21:12 ce8a83651883: Verifying Checksum 19:21:12 ce8a83651883: Download complete 19:21:12 07967f4d0e4b: Verifying Checksum 19:21:12 07967f4d0e4b: Download complete 19:21:12 e78d2573fc39: Verifying Checksum 19:21:12 e78d2573fc39: Download complete 19:21:13 2dd03ba5bac4: Verifying Checksum 19:21:13 2dd03ba5bac4: Download complete 19:21:19 2dd03ba5bac4: Pull complete 19:21:19 1e091d79d1de: Pull complete 19:21:19 481702a1767f: Pull complete 19:21:25 f64a6f60c768: Pull complete 19:21:27 e78d2573fc39: Pull complete 19:21:27 e876d2f968b6: Pull complete 19:21:28 ce8a83651883: Pull complete 19:21:29 07967f4d0e4b: Pull complete 19:21:29 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 19:21:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 19:21:29 ---> 5d7c900382c6 19:21:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 19:21:31 ---> Running in e0121b22fb77 19:21:31 Removing intermediate container e0121b22fb77 19:21:31 ---> a37b4459f62f 19:21:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:21:31 ---> Running in 9b340b76bd7b 19:21:32 Removing intermediate container 9b340b76bd7b 19:21:32 ---> 1a675d911e80 19:21:32 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 19:21:32 ---> Running in e7bf83b05f3e 19:21:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:21:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:21:34 (1/14) Installing libmagic (5.38-r0) 19:21:34 (2/14) Installing file (5.38-r0) 19:21:34 (3/14) Installing libc-dev (0.7.2-r3) 19:21:34 (4/14) Installing g++ (9.3.0-r2) 19:21:39 (5/14) Installing fortify-headers (1.1-r0) 19:21:39 (6/14) Installing patch (2.7.6-r6) 19:21:39 (7/14) Installing build-base (0.5-r2) 19:21:39 (8/14) Installing openssh-keygen (8.3_p1-r0) 19:21:39 (9/14) Installing libedit (20191231.3.1-r0) 19:21:39 (10/14) Installing openssh-client (8.3_p1-r0) 19:21:40 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 19:21:40 (12/14) Installing openssh-server-common (8.3_p1-r0) 19:21:40 (13/14) Installing openssh-server (8.3_p1-r0) 19:21:40 (14/14) Installing openssh (8.3_p1-r0) 19:21:40 Executing busybox-1.31.1-r16.trigger 19:21:40 OK: 237 MiB in 53 packages 19:21:44 Removing intermediate container e7bf83b05f3e 19:21:44 ---> 86938c377537 19:21:44 Step 6/8 : WORKDIR /device-mqtt-go 19:21:44 ---> Running in 914aac296a8e 19:21:44 Removing intermediate container 914aac296a8e 19:21:44 ---> a5e3cf4809a6 19:21:44 Step 7/8 : COPY . . 19:21:45 ---> 2110b3ebc7e4 19:21:45 Step 8/8 : RUN go mod download 19:21:45 ---> Running in e4e0005f4c13 19:21:47 go: finding github.com/BurntSushi/toml v0.3.1 19:21:47 go: finding github.com/OneOfOne/xxhash v1.2.6 19:21:47 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:21:47 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:21:47 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:21:47 go: finding github.com/bgentry/speakeasy v0.1.0 19:21:47 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:21:47 go: finding github.com/davecgh/go-spew v1.1.1 19:21:47 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 19:21:47 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 19:21:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 19:21:47 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:21:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:21:47 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:21:47 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:21:47 go: finding github.com/fatih/color v1.7.0 19:21:47 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:21:47 go: finding github.com/go-kit/kit v0.8.0 19:21:47 go: finding github.com/go-logfmt/logfmt v0.4.0 19:21:47 go: finding github.com/go-stack/stack v1.8.0 19:21:47 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:21:47 go: finding github.com/google/uuid v1.1.1 19:21:47 go: finding github.com/gorilla/mux v1.7.1 19:21:47 go: finding github.com/hashicorp/consul/api v1.1.0 19:21:47 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:21:47 go: finding github.com/hashicorp/errwrap v1.0.0 19:21:47 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:21:47 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:21:47 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:21:47 go: finding github.com/hashicorp/go-multierror v1.0.0 19:21:47 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:21:47 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:21:47 go: finding github.com/hashicorp/go-syslog v1.0.0 19:21:47 go: finding github.com/hashicorp/go-uuid v1.0.1 19:21:47 go: finding github.com/hashicorp/go.net v0.0.1 19:21:47 go: finding github.com/hashicorp/golang-lru v0.5.0 19:21:47 go: finding github.com/hashicorp/logutils v1.0.0 19:21:47 go: finding github.com/hashicorp/mdns v1.0.0 19:21:47 go: finding github.com/hashicorp/memberlist v0.1.3 19:21:47 go: finding github.com/hashicorp/serf v0.8.2 19:21:48 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:21:48 go: finding github.com/kr/pretty v0.1.0 19:21:48 go: finding github.com/kr/pty v1.1.1 19:21:48 go: finding github.com/kr/text v0.1.0 19:21:48 go: finding github.com/mattn/go-colorable v0.0.9 19:21:48 go: finding github.com/mattn/go-isatty v0.0.3 19:21:48 go: finding github.com/miekg/dns v1.0.14 19:21:48 go: finding github.com/mitchellh/cli v1.0.0 19:21:48 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:21:48 go: finding github.com/mitchellh/copystructure v1.0.0 19:21:48 go: finding github.com/mitchellh/go-homedir v1.0.0 19:21:48 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:21:48 go: finding github.com/mitchellh/gox v0.4.0 19:21:48 go: finding github.com/mitchellh/iochan v1.0.0 19:21:48 go: finding github.com/mitchellh/mapstructure v1.1.2 19:21:48 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:21:48 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:21:48 go: finding github.com/pelletier/go-toml v1.2.0 19:21:48 go: finding github.com/pkg/errors v0.8.1 19:21:48 go: finding github.com/pmezard/go-difflib v1.0.0 19:21:48 go: finding github.com/posener/complete v1.1.1 19:21:48 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:21:48 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:21:48 go: finding github.com/spf13/cast v1.3.0 19:21:48 go: finding github.com/stretchr/objx v0.1.0 19:21:48 go: finding github.com/stretchr/testify v1.5.1 19:21:48 go: finding github.com/ugorji/go v1.1.4 19:21:48 go: finding github.com/x448/float16 v0.8.4 19:21:48 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:21:48 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 19:21:48 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:21:48 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 19:21:48 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 19:21:48 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 19:21:48 go: finding gopkg.in/yaml.v2 v2.2.8 19:21:56 Removing intermediate container e4e0005f4c13 19:21:56 ---> 70d27ae9bb6e 19:21:56 Successfully built 70d27ae9bb6e 19:21:56 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 19:21:57 + docker inspect -f . ci-base-image-x86_64 19:21:57 . [Pipeline] withDockerContainer 19:21:57 prd-centos7-docker-4c-2g-2288 does not seem to be running inside a container 19:21:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:21:59 $ docker top 3c3caa71f3044d0ffee7327fabae6720c2de4e19910bda7f437f45d2df3d6647 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:59 + go version 19:21:59 go version go1.13.13 linux/amd64 [Pipeline] sh 19:22:00 + make test 19:22:00 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:22:01 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:22:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:22:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.007s coverage: 28.3% of statements 19:22:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:22:11 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:22:13 gofmt -l . 19:22:13 ["`gofmt -l .`" = ""] 19:22:13 ./bin/test-attribution-txt.sh 19:22:14 ./bin/test-go-mod-tidy.sh [Pipeline] stash 19:22:14 Stashed 1 file(s) [Pipeline] } 19:22:14 $ docker stop --time=1 3c3caa71f3044d0ffee7327fabae6720c2de4e19910bda7f437f45d2df3d6647 19:22:17 $ docker rm -f 3c3caa71f3044d0ffee7327fabae6720c2de4e19910bda7f437f45d2df3d6647 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:22:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:22:19 + ls -al . 19:22:19 total 100 19:22:19 drwxrwxr-x. 10 jenkins jenkins 4096 Sep 11 19:22 . 19:22:19 drwxrwxr-x. 4 jenkins jenkins 28 Sep 11 19:21 .. 19:22:19 -rw-rw-r--. 1 jenkins jenkins 4678 Sep 11 19:21 Attribution.txt 19:22:19 drwxrwxr-x. 2 jenkins jenkins 87 Sep 11 19:21 bin 19:22:19 drwxrwxr-x. 3 jenkins jenkins 32 Sep 11 19:21 cmd 19:22:19 -rw-r--r--. 1 jenkins jenkins 18939 Sep 11 19:22 coverage.out 19:22:19 -rw-rw-r--. 1 jenkins jenkins 1784 Sep 11 19:21 Dockerfile 19:22:19 -rw-rw-r--. 1 jenkins jenkins 953 Sep 11 19:21 Dockerfile.build 19:22:19 -rw-rw-r--. 1 jenkins jenkins 140 Sep 11 19:21 .dockerignore 19:22:19 drwxrwxr-x. 8 jenkins jenkins 179 Sep 11 19:21 .git 19:22:19 drwxrwxr-x. 2 jenkins jenkins 60 Sep 11 19:21 .github 19:22:19 -rw-rw-r--. 1 jenkins jenkins 336 Sep 11 19:21 .gitignore 19:22:19 -rw-r--r--. 1 jenkins jenkins 510 Sep 11 19:22 go.mod 19:22:19 -rw-r--r--. 1 jenkins jenkins 13621 Sep 11 19:22 go.sum 19:22:19 drwxrwxr-x. 3 jenkins jenkins 20 Sep 11 19:21 internal 19:22:19 -rw-rw-r--. 1 jenkins jenkins 700 Sep 11 19:21 Jenkinsfile 19:22:19 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 11 19:21 LICENSE 19:22:19 -rw-rw-r--. 1 jenkins jenkins 902 Sep 11 19:21 Makefile 19:22:19 drwxrwxr-x. 2 jenkins jenkins 23 Sep 11 19:21 mock 19:22:19 -rw-rw-r--. 1 jenkins jenkins 444 Sep 11 19:21 README.md 19:22:19 drwxrwxr-x. 3 jenkins jenkins 58 Sep 11 19:21 .semver 19:22:19 drwxrwxr-x. 4 jenkins jenkins 54 Sep 11 19:21 snap 19:22:19 -rw-rw-r--. 1 jenkins jenkins 5 Sep 11 19:19 VERSION 19:22:19 -rw-rw-r--. 1 jenkins jenkins 227 Sep 11 19:21 version.go [Pipeline] isUnix [Pipeline] sh 19:22:19 + 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=c9594826a78fa83a3b5fcd0b3a5101f119927029 --label arch=amd64 --label version=0.0.0 . 19:22:19 Sending build context to Docker daemon 645.6kB 19:22:19 Step 1/22 : ARG BASE=golang:1.13-alpine 19:22:19 Step 2/22 : FROM ${BASE} AS builder 19:22:19 ---> 70d27ae9bb6e 19:22:19 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 19:22:19 ---> Running in 02b0ada3f579 19:22:19 Removing intermediate container 02b0ada3f579 19:22:19 ---> 04b3afd58e01 19:22:19 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 19:22:19 ---> Running in 9d017506f5e1 19:22:20 Removing intermediate container 9d017506f5e1 19:22:20 ---> e2e0a3e0babb 19:22:20 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:22:20 ---> Running in 97e5a55daa37 19:22:21 Removing intermediate container 97e5a55daa37 19:22:21 ---> aa6d758ff808 19:22:21 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:22:21 ---> Running in 40c9f472cdee 19:22:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:22:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:22:26 OK: 237 MiB in 53 packages 19:22:26 Removing intermediate container 40c9f472cdee 19:22:26 ---> 699555ec6f38 19:22:26 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 19:22:26 ---> Running in 4deb7c4565ab 19:22:26 Removing intermediate container 4deb7c4565ab 19:22:26 ---> 4748acfb921a 19:22:26 Step 8/22 : COPY . . 19:22:27 ---> 6ac6c7f2727d 19:22:27 Step 9/22 : ARG MAKE='make build' 19:22:27 ---> Running in 26423fe37383 19:22:27 Removing intermediate container 26423fe37383 19:22:27 ---> 3b6ea9eedab3 19:22:27 Step 10/22 : RUN $MAKE 19:22:27 ---> Running in 797cebfe0e4d 19:22:28 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 19:22:38 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:22:41 Removing intermediate container 797cebfe0e4d 19:22:41 ---> b212c81c711c 19:22:41 Step 11/22 : FROM alpine 19:22:41 latest: Pulling from library/alpine 19:22:42 df20fa9351a1: Already exists 19:22:42 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 19:22:42 Status: Downloaded newer image for alpine:latest 19:22:42 ---> a24bb4013296 19:22:42 Step 12/22 : ENV APP_PORT=49982 19:22:42 ---> Running in d1de00698c92 19:22:42 Removing intermediate container d1de00698c92 19:22:42 ---> fedb40e6ab56 19:22:42 Step 13/22 : EXPOSE $APP_PORT 19:22:42 ---> Running in 98e401b1c83c 19:22:42 Removing intermediate container 98e401b1c83c 19:22:42 ---> 86610d7561e8 19:22:42 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 19:22:43 ---> eb6343a426f3 19:22:43 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 19:22:43 ---> 8995f4f297cf 19:22:43 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 19:22:43 ---> c5a0cdb2ee3b 19:22:43 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 19:22:43 ---> Running in ebeb1d849936 19:22:44 Removing intermediate container ebeb1d849936 19:22:44 ---> e0c2883b4b83 19:22:44 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 19:22:44 ---> Running in b9bb5c9e5425 19:22:45 Removing intermediate container b9bb5c9e5425 19:22:45 ---> f7b6eba22034 19:22:45 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:22:45 ---> Running in 3bcc3eda8ff4 19:22:45 Removing intermediate container 3bcc3eda8ff4 19:22:45 ---> 789782e2cf45 19:22:45 Step 20/22 : LABEL arch=amd64 19:22:45 ---> Running in 16819ade740c 19:22:45 Removing intermediate container 16819ade740c 19:22:45 ---> 0b7d562ed9a8 19:22:45 Step 21/22 : LABEL git_sha=c9594826a78fa83a3b5fcd0b3a5101f119927029 19:22:45 ---> Running in e6596f65e3eb 19:22:45 Removing intermediate container e6596f65e3eb 19:22:45 ---> 546e0ce4917f 19:22:45 Step 22/22 : LABEL version=0.0.0 19:22:45 ---> Running in d53379d110ef 19:22:45 Removing intermediate container d53379d110ef 19:22:45 ---> 9db0cfcffadc 19:22:45 [Warning] One or more build-args [ARCH] were not consumed 19:22:45 Successfully built 9db0cfcffadc 19:22:45 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] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node 19:22:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2290 in /w/workspace/gexfoundry_device-mqtt-go_PR-169 [Pipeline] { [Pipeline] ws 19:22:50 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 19:22:55 using credential edgex-jenkins-ssh 19:22:55 Cloning the remote Git repository 19:22:55 Cloning with configured refspecs honoured and without tags 19:22:55 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:22:55 > git init /w/workspace/device-mqtt-go/2 # timeout=10 19:22:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:22:55 > git --version # timeout=10 19:22:55 > git --version # 'git version 2.17.1' 19:22:55 using GIT_SSH to set credentials SSH Credentials for GitHub 19:22:56 Fetching without tags 19:22:56 Merging remotes/origin/master commit a4d671bc363cd3b6b16a5de27983df7bd02b35a1 into PR head commit 4f13d3b8c24926502c75f0ce487e96a984a92e31 19:22:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:22:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:22:56 > git config --add remote.origin.fetch +refs/pull/169/head:refs/remotes/origin/PR-169 # timeout=10 19:22:56 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:22:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:22:56 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:22:56 using GIT_SSH to set credentials SSH Credentials for GitHub 19:22:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:22:57 Merge succeeded, producing efd96050f7537b4c1db64c6b5333f512fe7a2f36 19:22:57 Checking out Revision efd96050f7537b4c1db64c6b5333f512fe7a2f36 (PR-169) 19:22:56 > git config core.sparsecheckout # timeout=10 19:22:57 > git checkout -f 4f13d3b8c24926502c75f0ce487e96a984a92e31 # timeout=10 19:22:57 > git remote # timeout=10 19:22:57 > git config --get remote.origin.url # timeout=10 19:22:57 using GIT_SSH to set credentials SSH Credentials for GitHub 19:22:57 > git merge a4d671bc363cd3b6b16a5de27983df7bd02b35a1 # timeout=10 19:22:57 > git rev-parse HEAD^{commit} # timeout=10 19:22:57 > git config core.sparsecheckout # timeout=10 19:22:57 > git checkout -f efd96050f7537b4c1db64c6b5333f512fe7a2f36 # timeout=10 19:23:01 Still waiting to schedule task 19:23:01 Waiting for next available executor on ‘prd-centos7-docker-8c-8g-2284’ 19:23:01 Commit message: "Merge commit 'a4d671bc363cd3b6b16a5de27983df7bd02b35a1' into HEAD" 19:23:01 > git rev-list --no-walk 4f13d3b8c24926502c75f0ce487e96a984a92e31 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:23:02 ========================================================= 19:23:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 19:23:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:23:03 + 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 . 19:23:04 Sending build context to Docker daemon 626.2kB 19:23:04 Step 1/8 : ARG BASE=golang:1.13-alpine 19:23:04 Step 2/8 : FROM ${BASE} 19:23:04 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:23:04 b538f80385f9: Pulling fs layer 19:23:04 74f711af9a0d: Pulling fs layer 19:23:04 99f96fe45779: Pulling fs layer 19:23:04 fd7a069fd194: Pulling fs layer 19:23:04 66aa3694b03b: Pulling fs layer 19:23:04 170f70906a0f: Pulling fs layer 19:23:04 ad7c5574e4b9: Pulling fs layer 19:23:04 e772456be8f7: Pulling fs layer 19:23:04 c890913d741a: Pulling fs layer 19:23:04 2480fcc9aa5a: Pulling fs layer 19:23:04 09adf4765672: Pulling fs layer 19:23:04 fd7a069fd194: Waiting 19:23:04 66aa3694b03b: Waiting 19:23:04 170f70906a0f: Waiting 19:23:04 ad7c5574e4b9: Waiting 19:23:04 e772456be8f7: Waiting 19:23:04 c890913d741a: Waiting 19:23:04 2480fcc9aa5a: Waiting 19:23:04 09adf4765672: Waiting 19:23:04 99f96fe45779: Verifying Checksum 19:23:04 99f96fe45779: Download complete 19:23:04 74f711af9a0d: Verifying Checksum 19:23:04 74f711af9a0d: Download complete 19:23:05 66aa3694b03b: Verifying Checksum 19:23:05 66aa3694b03b: Download complete 19:23:05 170f70906a0f: Download complete 19:23:05 b538f80385f9: Verifying Checksum 19:23:05 b538f80385f9: Download complete 19:23:06 b538f80385f9: Pull complete 19:23:06 74f711af9a0d: Pull complete 19:23:06 99f96fe45779: Pull complete 19:23:08 ad7c5574e4b9: Verifying Checksum 19:23:08 ad7c5574e4b9: Download complete 19:23:08 c890913d741a: Verifying Checksum 19:23:11 2480fcc9aa5a: Verifying Checksum 19:23:11 2480fcc9aa5a: Download complete 19:23:11 09adf4765672: Verifying Checksum 19:23:11 09adf4765672: Download complete 19:23:11 e772456be8f7: Download complete 19:23:11 fd7a069fd194: Verifying Checksum 19:23:11 fd7a069fd194: Download complete 19:23:24 fd7a069fd194: Pull complete 19:23:24 66aa3694b03b: Pull complete 19:23:24 170f70906a0f: Pull complete 19:23:27 ad7c5574e4b9: Pull complete 19:23:31 e772456be8f7: Pull complete 19:23:32 c890913d741a: Pull complete 19:23:34 2480fcc9aa5a: Pull complete 19:23:34 09adf4765672: Pull complete 19:23:34 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 19:23:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 19:23:34 ---> 2248a725d1cf 19:23:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 19:23:39 ---> Running in 0c2df271fb6d 19:23:39 Removing intermediate container 0c2df271fb6d 19:23:39 ---> 7f333f31bbef 19:23:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:23:39 ---> Running in 8a36affc0412 19:23:41 Removing intermediate container 8a36affc0412 19:23:41 ---> 3fa6b99d00ed 19:23:41 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 19:23:41 ---> Running in f51ef2af2209 19:23:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:23:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:23:45 (1/14) Installing libmagic (5.38-r0) 19:23:46 (2/14) Installing file (5.38-r0) 19:23:46 (3/14) Installing libc-dev (0.7.2-r3) 19:23:46 (4/14) Installing g++ (9.3.0-r2) 19:23:50 (5/14) Installing fortify-headers (1.1-r0) 19:23:50 (6/14) Installing patch (2.7.6-r6) 19:23:50 (7/14) Installing build-base (0.5-r2) 19:23:50 (8/14) Installing openssh-keygen (8.3_p1-r0) 19:23:50 (9/14) Installing libedit (20191231.3.1-r0) 19:23:50 (10/14) Installing openssh-client (8.3_p1-r0) 19:23:50 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 19:23:50 (12/14) Installing openssh-server-common (8.3_p1-r0) 19:23:50 (13/14) Installing openssh-server (8.3_p1-r0) 19:23:50 (14/14) Installing openssh (8.3_p1-r0) 19:23:50 Executing busybox-1.31.1-r16.trigger 19:23:50 OK: 221 MiB in 53 packages 19:23:55 Removing intermediate container f51ef2af2209 19:23:55 ---> 49e3f21918ec 19:23:55 Step 6/8 : WORKDIR /device-mqtt-go 19:23:55 ---> Running in ba043d4f0af9 19:23:55 Removing intermediate container ba043d4f0af9 19:23:55 ---> fa6f2d1c7a18 19:23:55 Step 7/8 : COPY . . 19:23:56 ---> dc96a311152a 19:23:56 Step 8/8 : RUN go mod download 19:23:56 ---> Running in db8e87331c21 19:23:59 go: finding github.com/BurntSushi/toml v0.3.1 19:23:59 go: finding github.com/OneOfOne/xxhash v1.2.6 19:23:59 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:23:59 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:23:59 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:23:59 go: finding github.com/bgentry/speakeasy v0.1.0 19:23:59 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:23:59 go: finding github.com/davecgh/go-spew v1.1.1 19:23:59 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 19:23:59 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 19:23:59 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 19:23:59 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:23:59 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:23:59 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:23:59 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:23:59 go: finding github.com/fatih/color v1.7.0 19:23:59 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:23:59 go: finding github.com/go-kit/kit v0.8.0 19:23:59 go: finding github.com/go-logfmt/logfmt v0.4.0 19:23:59 go: finding github.com/go-stack/stack v1.8.0 19:23:59 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:23:59 go: finding github.com/google/uuid v1.1.1 19:23:59 go: finding github.com/gorilla/mux v1.7.1 19:24:00 go: finding github.com/hashicorp/consul/api v1.1.0 19:24:00 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:24:00 go: finding github.com/hashicorp/errwrap v1.0.0 19:24:00 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:24:00 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:24:00 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:24:00 go: finding github.com/hashicorp/go-multierror v1.0.0 19:24:00 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:24:00 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:24:00 go: finding github.com/hashicorp/go-syslog v1.0.0 19:24:00 go: finding github.com/hashicorp/go-uuid v1.0.1 19:24:00 go: finding github.com/hashicorp/go.net v0.0.1 19:24:00 go: finding github.com/hashicorp/golang-lru v0.5.0 19:24:00 go: finding github.com/hashicorp/logutils v1.0.0 19:24:00 go: finding github.com/hashicorp/mdns v1.0.0 19:24:00 go: finding github.com/hashicorp/memberlist v0.1.3 19:24:00 go: finding github.com/hashicorp/serf v0.8.2 19:24:00 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:24:00 go: finding github.com/kr/pretty v0.1.0 19:24:00 go: finding github.com/kr/pty v1.1.1 19:24:00 go: finding github.com/kr/text v0.1.0 19:24:00 go: finding github.com/mattn/go-colorable v0.0.9 19:24:00 go: finding github.com/mattn/go-isatty v0.0.3 19:24:00 go: finding github.com/miekg/dns v1.0.14 19:24:00 go: finding github.com/mitchellh/cli v1.0.0 19:24:00 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:24:00 go: finding github.com/mitchellh/copystructure v1.0.0 19:24:00 go: finding github.com/mitchellh/go-homedir v1.0.0 19:24:00 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:24:00 go: finding github.com/mitchellh/gox v0.4.0 19:24:00 go: finding github.com/mitchellh/iochan v1.0.0 19:24:00 go: finding github.com/mitchellh/mapstructure v1.1.2 19:24:00 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:24:00 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:24:00 go: finding github.com/pelletier/go-toml v1.2.0 19:24:01 go: finding github.com/pkg/errors v0.8.1 19:24:01 go: finding github.com/pmezard/go-difflib v1.0.0 19:24:01 go: finding github.com/posener/complete v1.1.1 19:24:01 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:24:01 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:24:01 go: finding github.com/spf13/cast v1.3.0 19:24:01 go: finding github.com/stretchr/objx v0.1.0 19:24:01 go: finding github.com/stretchr/testify v1.5.1 19:24:01 go: finding github.com/ugorji/go v1.1.4 19:24:01 go: finding github.com/x448/float16 v0.8.4 19:24:01 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:24:01 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 19:24:01 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:24:01 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 19:24:01 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 19:24:01 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 19:24:01 go: finding gopkg.in/yaml.v2 v2.2.8 19:24:11 Removing intermediate container db8e87331c21 19:24:11 ---> 5a933ea8cc4e 19:24:11 Successfully built 5a933ea8cc4e 19:24:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:24:12 + docker inspect -f . ci-base-image-arm64 19:24:12 . [Pipeline] withDockerContainer 19:24:12 prd-ubuntu18.04-docker-arm64-4c-16g-2290 does not seem to be running inside a container 19:24:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:24:14 $ docker top b32550f2aa1f9b2b2c331ae4ba5f06887936836029e199578ab7071aa52051a9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:24:15 + go version 19:24:15 go version go1.13.13 linux/arm64 [Pipeline] sh 19:24:16 + make test 19:24:16 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:24:17 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:24:50 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:24:50 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.029s coverage: 28.3% of statements 19:24:50 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:24:50 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:24:55 gofmt -l . 19:24:55 ["`gofmt -l .`" = ""] 19:24:55 ./bin/test-attribution-txt.sh 19:24:55 ./bin/test-go-mod-tidy.sh [Pipeline] stash 19:24:56 Warning: overwriting stash ‘coverage-report’ 19:24:57 Stashed 1 file(s) [Pipeline] } 19:24:57 $ docker stop --time=1 b32550f2aa1f9b2b2c331ae4ba5f06887936836029e199578ab7071aa52051a9 19:24:59 $ docker rm -f b32550f2aa1f9b2b2c331ae4ba5f06887936836029e199578ab7071aa52051a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:25:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:25:01 + ls -al . 19:25:01 total 136 19:25:01 drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 19:24 . 19:25:01 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 19:22 .. 19:25:01 -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 19:22 .dockerignore 19:25:01 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 19:23 .git 19:25:01 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 19:22 .github 19:25:01 -rw-rw-r-- 1 jenkins jenkins 336 Sep 11 19:22 .gitignore 19:25:01 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 19:23 .semver 19:25:01 -rw-rw-r-- 1 jenkins jenkins 4678 Sep 11 19:22 Attribution.txt 19:25:01 -rw-rw-r-- 1 jenkins jenkins 1784 Sep 11 19:22 Dockerfile 19:25:01 -rw-rw-r-- 1 jenkins jenkins 953 Sep 11 19:22 Dockerfile.build 19:25:01 -rw-rw-r-- 1 jenkins jenkins 700 Sep 11 19:22 Jenkinsfile 19:25:01 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 19:22 LICENSE 19:25:01 -rw-rw-r-- 1 jenkins jenkins 902 Sep 11 19:22 Makefile 19:25:01 -rw-rw-r-- 1 jenkins jenkins 444 Sep 11 19:22 README.md 19:25:01 -rw-rw-r-- 1 jenkins jenkins 5 Sep 11 19:19 VERSION 19:25:01 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 19:22 bin 19:25:01 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 19:22 cmd 19:25:01 -rw-r--r-- 1 jenkins jenkins 18939 Sep 11 19:24 coverage.out 19:25:01 -rw-r--r-- 1 jenkins jenkins 510 Sep 11 19:24 go.mod 19:25:01 -rw-r--r-- 1 jenkins jenkins 13621 Sep 11 19:24 go.sum 19:25:01 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 19:22 internal 19:25:01 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 19:22 mock 19:25:01 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 19:22 snap 19:25:01 -rw-rw-r-- 1 jenkins jenkins 227 Sep 11 19:22 version.go [Pipeline] isUnix [Pipeline] sh 19:25:01 + 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=c9594826a78fa83a3b5fcd0b3a5101f119927029 --label arch=arm64 --label version=0.0.0 . 19:25:01 Sending build context to Docker daemon 645.6kB 19:25:01 Step 1/22 : ARG BASE=golang:1.13-alpine 19:25:01 Step 2/22 : FROM ${BASE} AS builder 19:25:01 ---> 5a933ea8cc4e 19:25:01 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 19:25:02 ---> Running in 4942b0923fd7 19:25:02 Removing intermediate container 4942b0923fd7 19:25:02 ---> caf036f24bfe 19:25:02 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 19:25:02 ---> Running in 9369257a3ee7 19:25:03 Removing intermediate container 9369257a3ee7 19:25:03 ---> 93daec2de033 19:25:03 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:25:03 ---> Running in 1f43dbc6054a 19:25:05 Removing intermediate container 1f43dbc6054a 19:25:05 ---> 40422a61066e 19:25:05 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:25:05 ---> Running in 82e67b1771ce 19:25:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:25:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:25:08 OK: 221 MiB in 53 packages 19:25:09 Removing intermediate container 82e67b1771ce 19:25:09 ---> eab38f8fc6a2 19:25:09 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 19:25:09 ---> Running in f61f4aa0b18b 19:25:10 Removing intermediate container f61f4aa0b18b 19:25:10 ---> 4302deaada60 19:25:10 Step 8/22 : COPY . . 19:25:11 ---> 107796a9da64 19:25:11 Step 9/22 : ARG MAKE='make build' 19:25:11 ---> Running in 2b0182508150 19:25:11 Removing intermediate container 2b0182508150 19:25:11 ---> fb07ffd15aa3 19:25:11 Step 10/22 : RUN $MAKE 19:25:11 ---> Running in bbbdad1a297b 19:25:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 19:25:40 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:25:48 Removing intermediate container bbbdad1a297b 19:25:48 ---> e49e5a0dbb69 19:25:48 Step 11/22 : FROM alpine 19:25:48 latest: Pulling from library/alpine 19:25:48 b538f80385f9: Already exists 19:25:48 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 19:25:48 Status: Downloaded newer image for alpine:latest 19:25:48 ---> 62ee0e9f8440 19:25:48 Step 12/22 : ENV APP_PORT=49982 19:25:49 ---> Running in 06549fd81ba3 19:25:49 Removing intermediate container 06549fd81ba3 19:25:49 ---> 075567b04d76 19:25:49 Step 13/22 : EXPOSE $APP_PORT 19:25:49 ---> Running in bccf580dd98d 19:25:49 Removing intermediate container bccf580dd98d 19:25:49 ---> dd8cc0293dac 19:25:49 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 19:25:51 ---> 66d452993b83 19:25:51 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 19:25:52 ---> 10fe807798df 19:25:52 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 19:25:52 ---> 6668f47e5a3c 19:25:52 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 19:25:52 ---> Running in 9d6097f1d69d 19:25:53 Removing intermediate container 9d6097f1d69d 19:25:53 ---> 7ac83770a060 19:25:53 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 19:25:53 ---> Running in a0558d3e3626 19:25:54 Removing intermediate container a0558d3e3626 19:25:54 ---> 9b0f2040219d 19:25:54 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:25:54 ---> Running in f0edd7ee9c46 19:25:54 Running on prd-centos7-docker-8c-8g-2295 in /w/workspace/gexfoundry_device-mqtt-go_PR-169 [Pipeline] { 19:25:54 Removing intermediate container f0edd7ee9c46 19:25:54 ---> 82d601d80fc7 19:25:54 Step 20/22 : LABEL arch=arm64 19:25:54 ---> Running in 84cc38c12082 [Pipeline] ws 19:25:54 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 19:25:54 Removing intermediate container 84cc38c12082 19:25:54 ---> e20870742e5b 19:25:54 Step 21/22 : LABEL git_sha=c9594826a78fa83a3b5fcd0b3a5101f119927029 19:25:55 ---> Running in 476f60e53bb7 19:25:55 Removing intermediate container 476f60e53bb7 19:25:55 ---> 55676e1505cf 19:25:55 Step 22/22 : LABEL version=0.0.0 19:25:55 ---> Running in 977b125ef45a 19:25:56 Removing intermediate container 977b125ef45a 19:25:56 ---> 805e6f14ebbd 19:25:56 [Warning] One or more build-args [ARCH] were not consumed 19:25:56 Successfully built 805e6f14ebbd 19:25:56 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] stage [Pipeline] { (Snap) [Pipeline] findFiles 19:25:56 using credential edgex-jenkins-ssh [Pipeline] node 19:25:56 Cloning the remote Git repository 19:25:56 Cloning with configured refspecs honoured and without tags 19:25:57 Fetching without tags 19:25:58 Merging remotes/origin/master commit a4d671bc363cd3b6b16a5de27983df7bd02b35a1 into PR head commit 4f13d3b8c24926502c75f0ce487e96a984a92e31 19:25:57 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:25:57 > git init /w/workspace/device-mqtt-go/2 # timeout=10 19:25:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:25:57 > git --version # timeout=10 19:25:57 > git --version # 'git version 2.16.5' 19:25:57 using GIT_SSH to set credentials SSH Credentials for GitHub 19:25:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:25:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:25:57 > git config --add remote.origin.fetch +refs/pull/169/head:refs/remotes/origin/PR-169 # timeout=10 19:25:57 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:25:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:25:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:25:57 using GIT_SSH to set credentials SSH Credentials for GitHub 19:25:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:25:58 > git config core.sparsecheckout # timeout=10 19:25:58 > git checkout -f 4f13d3b8c24926502c75f0ce487e96a984a92e31 # timeout=10 19:25:58 > git remote # timeout=10 19:25:58 > git config --get remote.origin.url # timeout=10 19:25:58 using GIT_SSH to set credentials SSH Credentials for GitHub 19:25:58 > git merge a4d671bc363cd3b6b16a5de27983df7bd02b35a1 # timeout=10 19:25:58 Merge succeeded, producing fb3284e4e8bd36186d766381d460e7dbe85ed059 19:25:58 Checking out Revision fb3284e4e8bd36186d766381d460e7dbe85ed059 (PR-169) 19:25:58 > git rev-parse HEAD^{commit} # timeout=10 19:25:58 > git config core.sparsecheckout # timeout=10 19:25:58 > git checkout -f fb3284e4e8bd36186d766381d460e7dbe85ed059 # timeout=10 19:26:01 Commit message: "Merge commit 'a4d671bc363cd3b6b16a5de27983df7bd02b35a1' into HEAD" 19:26:01 > git rev-list --no-walk 4f13d3b8c24926502c75f0ce487e96a984a92e31 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:02 ++ find /w/workspace/device-mqtt-go/2 19:26:02 ++ grep snapcraft.yaml 19:26:02 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:26:03 provisioning config files... 19:26:03 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config2536092460855561905tmp [Pipeline] { [Pipeline] sh 19:26:03 + cp /w/workspace/device-mqtt-go/2@tmp/config2536092460855561905tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 19:26:03 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/2:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 19:26:03 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 19:26:04 latest: Pulling from edgex-devops/edgex-snap-builder 19:26:04 f08d8e2a3ba1: Pulling fs layer 19:26:04 3baa9cb2483b: Pulling fs layer 19:26:04 94e5ff4c0b15: Pulling fs layer 19:26:04 1860925334f9: Pulling fs layer 19:26:04 2daf38717194: Pulling fs layer 19:26:04 309017e8d7a4: Pulling fs layer 19:26:04 f7790dc9fd0f: Pulling fs layer 19:26:04 cac0ae9282c2: Pulling fs layer 19:26:04 1f4cadf9a1ed: Pulling fs layer 19:26:04 cac0ae9282c2: Waiting 19:26:04 2daf38717194: Waiting 19:26:04 1f4cadf9a1ed: Waiting 19:26:04 309017e8d7a4: Waiting 19:26:04 f7790dc9fd0f: Waiting 19:26:04 1860925334f9: Waiting 19:26:04 94e5ff4c0b15: Verifying Checksum 19:26:04 94e5ff4c0b15: Download complete 19:26:04 3baa9cb2483b: Verifying Checksum 19:26:04 3baa9cb2483b: Download complete 19:26:04 1860925334f9: Verifying Checksum 19:26:04 1860925334f9: Download complete 19:26:04 309017e8d7a4: Verifying Checksum 19:26:04 309017e8d7a4: Download complete 19:26:05 f7790dc9fd0f: Download complete 19:26:05 cac0ae9282c2: Download complete 19:26:05 1f4cadf9a1ed: Verifying Checksum 19:26:05 1f4cadf9a1ed: Download complete 19:26:05 f08d8e2a3ba1: Verifying Checksum 19:26:05 f08d8e2a3ba1: Download complete 19:26:07 f08d8e2a3ba1: Pull complete 19:26:07 3baa9cb2483b: Pull complete 19:26:07 94e5ff4c0b15: Pull complete 19:26:07 1860925334f9: Pull complete 19:26:11 2daf38717194: Verifying Checksum 19:26:11 2daf38717194: Download complete 19:26:11 Still waiting to schedule task 19:26:11 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 19:26:29 2daf38717194: Pull complete 19:26:29 309017e8d7a4: Pull complete 19:26:29 f7790dc9fd0f: Pull complete 19:26:29 cac0ae9282c2: Pull complete 19:26:29 1f4cadf9a1ed: Pull complete 19:26:29 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 19:26:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 19:26:32 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 19:26:32 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 19:26:32 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 19:26:32 Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [897 kB] 19:26:32 Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1089 kB] 19:26:32 Get:6 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [10.1 kB] 19:26:32 Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [116 kB] 19:26:32 Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 19:26:33 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1425 kB] 19:26:33 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1384 kB] 19:26:33 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [132 kB] 19:26:33 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [27.7 kB] 19:26:33 Fetched 5334 kB in 2s (3244 kB/s) 19:26:35 Reading package lists... 19:26:39 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 19:26:39 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.152) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 19:26:39 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 19:26:39 0% [2 InRelease gpgv 242 kB] [Waiting for headers] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 19:26:41 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 47% Reading package lists... 64% Reading package lists... 64% Reading package lists... 65% Reading package lists... 65% Reading package lists... 74% Reading package lists... 74% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 19:26:42 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 19:26:44 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 53% Reading package lists... 64% Reading package lists... 64% Reading package lists... 65% Reading package lists... 65% Reading package lists... 74% Reading package lists... 74% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 19:26:44 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 87% Building dependency tree 19:26:44 Reading state information... 0% Reading state information... 0% Reading state information... Done 19:26:44 The following packages were automatically installed and are no longer required: 19:26:44 libjq1 libonig4 19:26:44 Use 'sudo apt autoremove' to remove them. 19:26:44 Suggested packages: 19:26:44 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 19:26:44 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 19:26:44 diffutils-doc perl-doc libterm-readline-gnu-perl 19:26:44 | libterm-readline-perl-perl 19:26:44 The following NEW packages will be installed: 19:26:44 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 19:26:44 libperl5.26 make netbase patch perl perl-modules-5.26 19:26:44 0 upgraded, 14 newly installed, 0 to remove and 3 not upgraded. 19:26:44 Need to get 12.0 MB of archives. 19:26:44 After this operation, 77.5 MB of additional disk space will be used. 19:26:45 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 19:26:45 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 685 kB/2763 kB 25%] 20% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 19:26:45 20% [2 libgdbm5 26.0 kB/26.0 kB 100%] 21% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 19:26:45 23% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 19:26:45 23% [4 libperl5.26 22.2 kB/3527 kB 1%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 19:26:45 48% [5 perl 33.5 kB/201 kB 17%] 51% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 19:26:45 51% [6 less 26.6 kB/112 kB 24%] 53% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 19:26:45 53% [7 netbase 12.7 kB/12.7 kB 100%] 54% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 19:26:45 54% [8 curl 34.7 kB/159 kB 22%] 57% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 19:26:45 57% [9 libcurl3-gnutls 6834 B/213 kB 3%] 60% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 19:26:45 60% [10 liberror-perl 22.8 kB/22.8 kB 100%] 61% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 19:26:46 61% [11 git-man 33.0 kB/804 kB 4%] 68% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 19:26:46 68% [12 git 15.7 kB/3915 kB 0%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 19:26:46 96% [13 make 32.7 kB/154 kB 21%] 98% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 19:26:46 98% [14 patch 9523 B/102 kB 9%] 100% [Working] Fetched 12.0 MB in 1s (9225 kB/s) 19:26:46 debconf: delaying package configuration, since apt-utils is not installed 19:26:46 Selecting previously unselected package perl-modules-5.26. 19:26:46 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) 19:26:46 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 19:26:46 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 19:26:47 Selecting previously unselected package libgdbm5:amd64. 19:26:47 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 19:26:47 Unpacking libgdbm5:amd64 (1.14.1-6) ... 19:26:47 Selecting previously unselected package libgdbm-compat4:amd64. 19:26:47 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 19:26:47 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 19:26:47 Selecting previously unselected package libperl5.26:amd64. 19:26:47 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 19:26:47 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 19:26:48 Selecting previously unselected package perl. 19:26:48 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 19:26:48 Unpacking perl (5.26.1-6ubuntu0.3) ... 19:26:48 Selecting previously unselected package less. 19:26:48 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 19:26:48 Unpacking less (487-0.1) ... 19:26:48 Selecting previously unselected package netbase. 19:26:48 Preparing to unpack .../06-netbase_5.4_all.deb ... 19:26:48 Unpacking netbase (5.4) ... 19:26:48 Selecting previously unselected package curl. 19:26:48 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 19:26:48 Unpacking curl (7.58.0-2ubuntu3.10) ... 19:26:48 Selecting previously unselected package libcurl3-gnutls:amd64. 19:26:48 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 19:26:48 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 19:26:48 Selecting previously unselected package liberror-perl. 19:26:48 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 19:26:48 Unpacking liberror-perl (0.17025-1) ... 19:26:48 Selecting previously unselected package git-man. 19:26:48 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 19:26:48 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 19:26:49 Selecting previously unselected package git. 19:26:49 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 19:26:49 Unpacking git (1:2.17.1-1ubuntu0.7) ... 19:26:49 Selecting previously unselected package make. 19:26:49 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 19:26:49 Unpacking make (4.1-9.1ubuntu1) ... 19:26:49 Selecting previously unselected package patch. 19:26:49 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 19:26:49 Unpacking patch (2.7.6-2ubuntu1.1) ... 19:26:49 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 19:26:49 Setting up less (487-0.1) ... 19:26:49 Setting up make (4.1-9.1ubuntu1) ... 19:26:49 Setting up curl (7.58.0-2ubuntu3.10) ... 19:26:49 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 19:26:49 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 19:26:49 Setting up libgdbm5:amd64 (1.14.1-6) ... 19:26:49 Setting up patch (2.7.6-2ubuntu1.1) ... 19:26:49 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 19:26:50 Setting up netbase (5.4) ... 19:26:50 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 19:26:50 Setting up perl (5.26.1-6ubuntu0.3) ... 19:26:50 Setting up liberror-perl (0.17025-1) ... 19:26:50 Setting up git (1:2.17.1-1ubuntu0.7) ... 19:26:50 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 19:26:50 Processing triggers for mime-support (3.60ubuntu1) ... 19:26:52 curl set to automatically installed. 19:26:52 git set to automatically installed. 19:26:52 git-man set to automatically installed. 19:26:52 less set to automatically installed. 19:26:52 libcurl3-gnutls set to automatically installed. 19:26:52 liberror-perl set to automatically installed. 19:26:52 libgdbm-compat4 set to automatically installed. 19:26:52 libgdbm5 set to automatically installed. 19:26:52 libperl5.26 set to automatically installed. 19:26:52 make set to automatically installed. 19:26:52 netbase set to automatically installed. 19:26:52 patch set to automatically installed. 19:26:52 perl set to automatically installed. 19:26:52 perl-modules-5.26 set to automatically installed. 19:26:52 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 19:26:52 Please ensure the environment is properly setup before continuing. 19:26:52 Ignore this message if the appropriate measures have already been taken 19:26:52 Pulling go  19:26:53 'device-mqtt' has dependencies that need to be staged: go 19:26:53 Skipping pull go (already ran) 19:26:53 Building go  19:26:53 % Total % Received % Xferd Average Speed Time Time Time Current 19:26:53 Dload Upload Total Spent Left Speed 19:26:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 114M 0 66387 0 0 617k 0 0:03:09 --:--:-- 0:03:09 611k 46 114M 46 53.7M 0 0 48.5M 0 0:00:02 0:00:01 0:00:01 48.5M 100 114M 100 114M 0 0 56.2M 0 0:00:02 0:00:02 --:--:-- 56.3M 19:26:56 go1.13.5.linux-amd64.tar.gz: OK 19:27:03 Staging go  19:27:04 Pulling device-mqtt  19:27:05 Skipping build go (already ran) 19:27:05 Building device-mqtt  19:27:05 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 19:27:06 go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 19:27:06 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 19:27:06 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 19:27:06 go: downloading github.com/spf13/cast v1.3.0 19:27:06 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:27:06 go: extracting github.com/spf13/cast v1.3.0 19:27:06 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:27:06 go: extracting github.com/eclipse/paho.mqtt.golang v1.2.0 19:27:06 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 19:27:06 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 19:27:06 go: downloading github.com/google/uuid v1.1.1 19:27:06 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 19:27:06 go: extracting gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 19:27:06 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 19:27:06 go: downloading github.com/gorilla/mux v1.7.1 19:27:06 go: extracting github.com/google/uuid v1.1.1 19:27:06 go: extracting github.com/gorilla/mux v1.7.1 19:27:06 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 19:27:06 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 19:27:06 go: downloading github.com/OneOfOne/xxhash v1.2.6 19:27:06 go: downloading github.com/pelletier/go-toml v1.2.0 19:27:06 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 19:27:06 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 19:27:06 go: downloading github.com/go-kit/kit v0.8.0 19:27:06 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 19:27:06 go: downloading github.com/BurntSushi/toml v0.3.1 19:27:06 go: extracting github.com/OneOfOne/xxhash v1.2.6 19:27:06 go: extracting github.com/pelletier/go-toml v1.2.0 19:27:06 go: extracting github.com/BurntSushi/toml v0.3.1 19:27:06 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 19:27:06 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 19:27:06 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 19:27:06 go: downloading github.com/x448/float16 v0.8.4 19:27:06 go: downloading gopkg.in/yaml.v2 v2.2.8 19:27:06 go: downloading github.com/pkg/errors v0.8.1 19:27:06 go: downloading github.com/hashicorp/consul/api v1.1.0 19:27:06 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:27:06 go: extracting github.com/pkg/errors v0.8.1 19:27:06 go: extracting golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 19:27:06 go: extracting github.com/go-kit/kit v0.8.0 19:27:06 go: extracting github.com/x448/float16 v0.8.4 19:27:06 go: extracting github.com/hashicorp/consul/api v1.1.0 19:27:06 go: extracting gopkg.in/yaml.v2 v2.2.8 19:27:06 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:27:06 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:27:06 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:27:06 go: downloading github.com/mitchellh/copystructure v1.0.0 19:27:06 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 19:27:06 go: downloading github.com/hashicorp/serf v0.8.2 19:27:06 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:27:06 go: extracting github.com/mitchellh/mapstructure v1.1.2 19:27:06 go: extracting github.com/mitchellh/copystructure v1.0.0 19:27:06 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 19:27:06 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:27:06 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 19:27:06 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 19:27:06 go: downloading github.com/go-logfmt/logfmt v0.4.0 19:27:06 go: extracting github.com/mitchellh/reflectwalk v1.0.0 19:27:06 go: extracting github.com/go-logfmt/logfmt v0.4.0 19:27:06 go: extracting github.com/hashicorp/serf v0.8.2 19:27:06 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:27:06 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:27:06 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:27:06 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 19:27:06 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:27:06 go: extracting github.com/hashicorp/golang-lru v0.5.0 19:27:06 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 19:27:06 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:27:06 go: finding github.com/spf13/cast v1.3.0 19:27:06 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 19:27:06 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 19:27:06 go: finding github.com/gorilla/mux v1.7.1 19:27:06 go: finding github.com/OneOfOne/xxhash v1.2.6 19:27:06 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:27:06 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 19:27:06 go: finding github.com/go-kit/kit v0.8.0 19:27:06 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 19:27:06 go: finding github.com/google/uuid v1.1.1 19:27:06 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:27:06 go: finding github.com/go-logfmt/logfmt v0.4.0 19:27:06 go: finding github.com/x448/float16 v0.8.4 19:27:06 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:27:06 go: finding gopkg.in/yaml.v2 v2.2.8 19:27:06 go: finding github.com/BurntSushi/toml v0.3.1 19:27:06 go: finding github.com/pkg/errors v0.8.1 19:27:06 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:27:06 go: finding github.com/pelletier/go-toml v1.2.0 19:27:06 go: finding github.com/hashicorp/consul/api v1.1.0 19:27:06 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:27:06 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:27:06 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:27:06 go: finding github.com/hashicorp/serf v0.8.2 19:27:06 go: finding github.com/mitchellh/mapstructure v1.1.2 19:27:06 go: finding github.com/mitchellh/copystructure v1.0.0 19:27:06 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:27:06 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:27:06 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:27:06 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:27:06 go: finding github.com/hashicorp/golang-lru v0.5.0 19:27:13 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:27:17 Skipping stage go (already ran) 19:27:17 Staging device-mqtt  19:27:18 Priming go  19:27:19 Priming device-mqtt  19:27:20 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 19:27:20 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 19:27:20 Determining the version from the project repo (version-script). 19:27:20 The version has been set to 'local-dev-20200911+fb3284e' 19:27:20 Snapping | Snapping / Snapping - Snapping \ Snapping | 19:27:20 Snapped edgex-device-mqtt_local-dev-20200911+fb3284e_amd64.snap [Pipeline] } 19:27:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:28:59 Running on prd-ubuntu18.04-docker-arm64-16c-16g-2297 in /w/workspace/gexfoundry_device-mqtt-go_PR-169 [Pipeline] { [Pipeline] ws 19:29:00 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 19:29:04 using credential edgex-jenkins-ssh 19:29:04 Cloning the remote Git repository 19:29:04 Cloning with configured refspecs honoured and without tags 19:29:04 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:29:04 > git init /w/workspace/device-mqtt-go/2 # timeout=10 19:29:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:29:05 > git --version # timeout=10 19:29:05 > git --version # 'git version 2.17.1' 19:29:05 using GIT_SSH to set credentials SSH Credentials for GitHub 19:29:05 Fetching without tags 19:29:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:29:05 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:29:05 > git config --add remote.origin.fetch +refs/pull/169/head:refs/remotes/origin/PR-169 # timeout=10 19:29:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:29:05 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:29:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:29:05 using GIT_SSH to set credentials SSH Credentials for GitHub 19:29:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:29:06 Merging remotes/origin/master commit a4d671bc363cd3b6b16a5de27983df7bd02b35a1 into PR head commit 4f13d3b8c24926502c75f0ce487e96a984a92e31 19:29:06 Merge succeeded, producing 51a2a845a4bff08f1b481ab7aff788d44c9f9409 19:29:06 Checking out Revision 51a2a845a4bff08f1b481ab7aff788d44c9f9409 (PR-169) 19:29:06 > git config core.sparsecheckout # timeout=10 19:29:06 > git checkout -f 4f13d3b8c24926502c75f0ce487e96a984a92e31 # timeout=10 19:29:06 > git remote # timeout=10 19:29:06 > git config --get remote.origin.url # timeout=10 19:29:06 using GIT_SSH to set credentials SSH Credentials for GitHub 19:29:06 > git merge a4d671bc363cd3b6b16a5de27983df7bd02b35a1 # timeout=10 19:29:06 > git rev-parse HEAD^{commit} # timeout=10 19:29:06 > git config core.sparsecheckout # timeout=10 19:29:06 > git checkout -f 51a2a845a4bff08f1b481ab7aff788d44c9f9409 # timeout=10 19:29:10 Commit message: "Merge commit 'a4d671bc363cd3b6b16a5de27983df7bd02b35a1' into HEAD" 19:29:10 > git rev-list --no-walk 4f13d3b8c24926502c75f0ce487e96a984a92e31 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:12 + find /w/workspace/device-mqtt-go/2 19:29:12 + grep snapcraft.yaml 19:29:12 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:29:12 provisioning config files... 19:29:12 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config8236429870084726992tmp [Pipeline] { [Pipeline] sh 19:29:13 + cp /w/workspace/device-mqtt-go/2@tmp/config8236429870084726992tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 19:29:13 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/2:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 19:29:13 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 19:29:14 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 19:29:14 237528ba509b: Pulling fs layer 19:29:14 393b96f31d8b: Pulling fs layer 19:29:14 4d82b0e39008: Pulling fs layer 19:29:14 e7ca375b8d34: Pulling fs layer 19:29:14 418f656485bb: Pulling fs layer 19:29:14 aebe8db9254c: Pulling fs layer 19:29:14 4f5f7b207d3f: Pulling fs layer 19:29:14 d19ca6af091a: Pulling fs layer 19:29:14 16b5a0711add: Pulling fs layer 19:29:14 aebe8db9254c: Waiting 19:29:14 16b5a0711add: Waiting 19:29:14 d19ca6af091a: Waiting 19:29:14 418f656485bb: Waiting 19:29:14 4d82b0e39008: Verifying Checksum 19:29:14 4d82b0e39008: Download complete 19:29:14 393b96f31d8b: Download complete 19:29:14 e7ca375b8d34: Verifying Checksum 19:29:14 e7ca375b8d34: Download complete 19:29:15 aebe8db9254c: Download complete 19:29:15 4f5f7b207d3f: Verifying Checksum 19:29:15 4f5f7b207d3f: Download complete 19:29:15 d19ca6af091a: Verifying Checksum 19:29:15 d19ca6af091a: Download complete 19:29:15 16b5a0711add: Verifying Checksum 19:29:15 16b5a0711add: Download complete 19:29:16 237528ba509b: Verifying Checksum 19:29:16 237528ba509b: Download complete 19:29:19 237528ba509b: Pull complete 19:29:19 393b96f31d8b: Pull complete 19:29:20 4d82b0e39008: Pull complete 19:29:20 e7ca375b8d34: Pull complete 19:29:26 418f656485bb: Verifying Checksum 19:29:26 418f656485bb: Download complete 19:30:05 418f656485bb: Pull complete 19:30:05 aebe8db9254c: Pull complete 19:30:05 4f5f7b207d3f: Pull complete 19:30:05 d19ca6af091a: Pull complete 19:30:05 16b5a0711add: Pull complete 19:30:05 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 19:30:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 19:30:10 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 19:30:10 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 19:30:10 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 19:30:10 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 19:30:10 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [943 kB] 19:30:11 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1260 kB] 19:30:11 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [783 kB] 19:30:11 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [671 kB] 19:30:11 Fetched 3909 kB in 2s (1691 kB/s) 19:30:16 Reading package lists... 19:30:31 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 19:30:31 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 19:30:31 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 19:30:31 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 19:30:36 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 8% Reading package lists... 26% Reading package lists... 45% Reading package lists... 63% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 19:30:44 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 19:30:48 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 10% Reading package lists... 30% Reading package lists... 46% Reading package lists... 63% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 19:30:49 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 97% Building dependency tree 19:30:49 Reading state information... 0% Reading state information... 0% Reading state information... Done 19:30:50 The following packages were automatically installed and are no longer required: 19:30:50 libjq1 libonig4 19:30:50 Use 'sudo apt autoremove' to remove them. 19:30:50 Suggested packages: 19:30:50 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 19:30:50 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 19:30:50 diffutils-doc perl-doc libterm-readline-gnu-perl 19:30:50 | libterm-readline-perl-perl 19:30:50 The following NEW packages will be installed: 19:30:50 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 19:30:50 libperl5.26 make netbase patch perl perl-modules-5.26 19:30:51 0 upgraded, 14 newly installed, 0 to remove and 3 not upgraded. 19:30:51 Need to get 10.8 MB of archives. 19:30:51 After this operation, 73.6 MB of additional disk space will be used. 19:30:51 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 19:30:52 0% [1 perl-modules-5.26 13.8 kB/2763 kB 0%] 4% [1 perl-modules-5.26 575 kB/2763 kB 21%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 19:30:52 22% [2 libgdbm5 0 B/23.1 kB 0%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 19:30:52 24% [3 libgdbm-compat4 5536 B/5536 B 100%] 25% [Working] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 19:30:52 25% [4 libperl5.26 20.5 kB/3326 kB 1%] 47% [4 libperl5.26 2978 kB/3326 kB 90%] 51% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 19:30:52 51% [5 perl 7554 B/201 kB 4%] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 19:30:52 55% [6 less 99.7 kB/99.7 kB 100%] 56% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 19:30:52 56% [7 netbase 12.7 kB/12.7 kB 100%] 58% [Working] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] 19:30:52 58% [8 curl 55.4 kB/152 kB 36%] 60% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 19:30:52 61% [9 libcurl3-gnutls 34.1 kB/179 kB 19%] 63% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 19:30:52 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 19:30:53 65% [11 git-man 28.5 kB/804 kB 4%] 72% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 19:30:53 72% [12 git 16.4 kB/2952 kB 1%] 89% [12 git 2338 kB/2952 kB 79%] 95% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 19:30:53 96% [13 make 16.4 kB/139 kB 12%] 98% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 19:30:53 98% [14 patch 14.7 kB/91.8 kB 16%] 100% [Working] Fetched 10.8 MB in 3s (4005 kB/s) 19:30:54 debconf: delaying package configuration, since apt-utils is not installed 19:30:54 Selecting previously unselected package perl-modules-5.26. 19:30:54 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9882 files and directories currently installed.) 19:30:54 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 19:30:54 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 19:30:56 Selecting previously unselected package libgdbm5:arm64. 19:30:56 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 19:30:56 Unpacking libgdbm5:arm64 (1.14.1-6) ... 19:30:56 Selecting previously unselected package libgdbm-compat4:arm64. 19:30:56 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 19:30:56 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 19:30:56 Selecting previously unselected package libperl5.26:arm64. 19:30:56 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 19:30:56 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 19:30:57 Selecting previously unselected package perl. 19:30:57 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 19:30:57 Unpacking perl (5.26.1-6ubuntu0.3) ... 19:30:57 Selecting previously unselected package less. 19:30:57 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 19:30:57 Unpacking less (487-0.1) ... 19:30:57 Selecting previously unselected package netbase. 19:30:57 Preparing to unpack .../06-netbase_5.4_all.deb ... 19:30:57 Unpacking netbase (5.4) ... 19:30:58 Selecting previously unselected package curl. 19:30:58 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 19:30:58 Unpacking curl (7.58.0-2ubuntu3.10) ... 19:30:58 Selecting previously unselected package libcurl3-gnutls:arm64. 19:30:58 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 19:30:58 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 19:30:58 Selecting previously unselected package liberror-perl. 19:30:58 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 19:30:58 Unpacking liberror-perl (0.17025-1) ... 19:30:58 Selecting previously unselected package git-man. 19:30:58 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 19:30:58 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 19:30:58 Selecting previously unselected package git. 19:30:58 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 19:30:58 Unpacking git (1:2.17.1-1ubuntu0.7) ... 19:31:00 Selecting previously unselected package make. 19:31:00 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 19:31:00 Unpacking make (4.1-9.1ubuntu1) ... 19:31:00 Selecting previously unselected package patch. 19:31:00 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 19:31:00 Unpacking patch (2.7.6-2ubuntu1.1) ... 19:31:00 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 19:31:00 Setting up less (487-0.1) ... 19:31:00 Setting up make (4.1-9.1ubuntu1) ... 19:31:00 Setting up curl (7.58.0-2ubuntu3.10) ... 19:31:00 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 19:31:00 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 19:31:00 Setting up libgdbm5:arm64 (1.14.1-6) ... 19:31:00 Setting up patch (2.7.6-2ubuntu1.1) ... 19:31:00 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 19:31:01 Setting up netbase (5.4) ... 19:31:01 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 19:31:01 Setting up perl (5.26.1-6ubuntu0.3) ... 19:31:01 Setting up liberror-perl (0.17025-1) ... 19:31:01 Setting up git (1:2.17.1-1ubuntu0.7) ... 19:31:01 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 19:31:01 Processing triggers for mime-support (3.60ubuntu1) ... 19:31:08 curl set to automatically installed. 19:31:08 git set to automatically installed. 19:31:08 git-man set to automatically installed. 19:31:08 less set to automatically installed. 19:31:08 libcurl3-gnutls set to automatically installed. 19:31:08 liberror-perl set to automatically installed. 19:31:08 libgdbm-compat4 set to automatically installed. 19:31:08 libgdbm5 set to automatically installed. 19:31:08 libperl5.26 set to automatically installed. 19:31:08 make set to automatically installed. 19:31:08 netbase set to automatically installed. 19:31:08 patch set to automatically installed. 19:31:08 perl set to automatically installed. 19:31:08 perl-modules-5.26 set to automatically installed. 19:31:08 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 19:31:08 Please ensure the environment is properly setup before continuing. 19:31:08 Ignore this message if the appropriate measures have already been taken 19:31:08 Pulling go  19:31:12 'device-mqtt' has dependencies that need to be staged: go 19:31:12 Skipping pull go (already ran) 19:31:12 Building go  19:31:12 % Total % Received % Xferd Average Speed Time Time Time Current 19:31:12 Dload Upload Total Spent Left Speed 19:31:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 17 93.0M 17 16.2M 0 0 27.0M 0 0:00:03 --:--:-- 0:00:03 26.9M 64 93.0M 64 60.1M 0 0 37.4M 0 0:00:02 0:00:01 0:00:01 37.4M 100 93.0M 100 93.0M 0 0 39.1M 0 0:00:02 0:00:02 --:--:-- 39.1M 19:31:16 go1.13.5.linux-arm64.tar.gz: OK 19:31:35 Staging go  19:31:37 Pulling device-mqtt  19:31:40 Skipping build go (already ran) 19:31:40 Building device-mqtt  19:31:40 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 19:31:41 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 19:31:41 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:31:41 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 19:31:41 go: downloading github.com/spf13/cast v1.3.0 19:31:41 go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 19:31:41 go: extracting github.com/spf13/cast v1.3.0 19:31:41 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 19:31:41 go: extracting github.com/eclipse/paho.mqtt.golang v1.2.0 19:31:41 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:31:41 go: extracting gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 19:31:41 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 19:31:41 go: downloading github.com/google/uuid v1.1.1 19:31:41 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 19:31:41 go: downloading github.com/gorilla/mux v1.7.1 19:31:41 go: extracting github.com/google/uuid v1.1.1 19:31:41 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 19:31:41 go: extracting github.com/gorilla/mux v1.7.1 19:31:41 go: downloading github.com/go-kit/kit v0.8.0 19:31:41 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 19:31:42 go: downloading github.com/OneOfOne/xxhash v1.2.6 19:31:42 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 19:31:42 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 19:31:42 go: downloading github.com/pkg/errors v0.8.1 19:31:42 go: downloading gopkg.in/yaml.v2 v2.2.8 19:31:42 go: extracting github.com/OneOfOne/xxhash v1.2.6 19:31:42 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 19:31:42 go: extracting github.com/pkg/errors v0.8.1 19:31:42 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 19:31:42 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 19:31:42 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 19:31:42 go: downloading github.com/BurntSushi/toml v0.3.1 19:31:42 go: downloading github.com/pelletier/go-toml v1.2.0 19:31:42 go: downloading github.com/hashicorp/consul/api v1.1.0 19:31:42 go: extracting gopkg.in/yaml.v2 v2.2.8 19:31:42 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:31:42 go: extracting github.com/BurntSushi/toml v0.3.1 19:31:42 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 19:31:42 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:31:42 go: downloading github.com/mitchellh/copystructure v1.0.0 19:31:42 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:31:42 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:31:42 go: extracting github.com/go-kit/kit v0.8.0 19:31:42 go: extracting github.com/pelletier/go-toml v1.2.0 19:31:42 go: extracting github.com/hashicorp/consul/api v1.1.0 19:31:42 go: downloading github.com/x448/float16 v0.8.4 19:31:42 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 19:31:42 go: extracting github.com/mitchellh/mapstructure v1.1.2 19:31:42 go: extracting github.com/mitchellh/copystructure v1.0.0 19:31:42 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:31:42 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:31:42 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 19:31:42 go: downloading github.com/hashicorp/serf v0.8.2 19:31:42 go: extracting github.com/x448/float16 v0.8.4 19:31:42 go: extracting github.com/mitchellh/reflectwalk v1.0.0 19:31:42 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 19:31:42 go: extracting golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 19:31:42 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 19:31:42 go: extracting github.com/hashicorp/serf v0.8.2 19:31:42 go: downloading github.com/go-logfmt/logfmt v0.4.0 19:31:42 go: extracting github.com/go-logfmt/logfmt v0.4.0 19:31:42 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:31:42 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:31:42 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:31:42 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 19:31:42 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:31:42 go: extracting github.com/hashicorp/golang-lru v0.5.0 19:31:42 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 19:31:42 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:31:42 go: finding github.com/spf13/cast v1.3.0 19:31:42 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 19:31:42 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 19:31:42 go: finding github.com/gorilla/mux v1.7.1 19:31:42 go: finding github.com/OneOfOne/xxhash v1.2.6 19:31:42 go: finding github.com/go-kit/kit v0.8.0 19:31:42 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 19:31:42 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:31:42 go: finding github.com/google/uuid v1.1.1 19:31:42 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 19:31:42 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:31:42 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:31:42 go: finding gopkg.in/yaml.v2 v2.2.8 19:31:42 go: finding github.com/go-logfmt/logfmt v0.4.0 19:31:42 go: finding github.com/x448/float16 v0.8.4 19:31:42 go: finding github.com/pkg/errors v0.8.1 19:31:42 go: finding github.com/BurntSushi/toml v0.3.1 19:31:42 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:31:42 go: finding github.com/pelletier/go-toml v1.2.0 19:31:42 go: finding github.com/hashicorp/consul/api v1.1.0 19:31:42 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:31:42 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:31:42 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:31:42 go: finding github.com/hashicorp/serf v0.8.2 19:31:42 go: finding github.com/mitchellh/mapstructure v1.1.2 19:31:42 go: finding github.com/mitchellh/copystructure v1.0.0 19:31:42 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:31:42 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:31:42 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:31:42 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:31:42 go: finding github.com/hashicorp/golang-lru v0.5.0 19:32:01 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:32:19 Skipping stage go (already ran) 19:32:19 Staging device-mqtt  19:32:20 Priming go  19:32:23 Priming device-mqtt  19:32:26 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 19:32:26 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 19:32:26 Determining the version from the project repo (version-script). 19:32:26 The version has been set to 'local-dev-20200911+51a2a84' 19:32:27 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping | 19:32:27 Snapped edgex-device-mqtt_local-dev-20200911+51a2a84_arm64.snap [Pipeline] } 19:32:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [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 19:32:32 provisioning config files... 19:32:32 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-169@tmp/config5362081872584089880tmp [Pipeline] { [Pipeline] sh 19:32:33 + curl -s https://codecov.io/bash 19:32:33 + bash -s - -t @/w/workspace/gexfoundry_device-mqtt-go_PR-169@tmp/config5362081872584089880tmp [Pipeline] } 19:32:33 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] { (Publish Swagger) Stage "Publish Swagger" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 19:32:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:32:37 ---> package-listing.sh 19:32:37 ++ facter osfamily 19:32:37 ++ tr '[:upper:]' '[:lower:]' 19:32:37 + OS_FAMILY=redhat 19:32:37 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-169 19:32:37 + START_PACKAGES=/tmp/packages_start.txt 19:32:37 + END_PACKAGES=/tmp/packages_end.txt 19:32:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:32:37 + PACKAGES=/tmp/packages_start.txt 19:32:37 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-169 ']' 19:32:37 + PACKAGES=/tmp/packages_end.txt 19:32:37 + case "${OS_FAMILY}" in 19:32:37 + rpm -qa 19:32:37 + sort 19:32:42 + '[' -f /tmp/packages_start.txt ']' 19:32:42 + '[' -f /tmp/packages_end.txt ']' 19:32:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:32:42 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-169 ']' 19:32:42 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-169/archives/ 19:32:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-169/archives/ [Pipeline] isUnix [Pipeline] sh 19:32:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:32:43 19:32:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:32:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:32:43 alpine: Pulling from edgex-lftools-log-publisher 19:32:43 df20fa9351a1: Pulling fs layer 19:32:43 36b3adc4ff6f: Pulling fs layer 19:32:43 8ad3a11d3b57: Pulling fs layer 19:32:43 46f8f816bc3b: Pulling fs layer 19:32:43 0dadc02b9964: Pulling fs layer 19:32:43 ce6a7cf60c04: Pulling fs layer 19:32:43 7a184a31f384: Pulling fs layer 19:32:43 0879bd2ef858: Pulling fs layer 19:32:43 0dadc02b9964: Waiting 19:32:43 7a184a31f384: Waiting 19:32:43 ce6a7cf60c04: Waiting 19:32:43 46f8f816bc3b: Waiting 19:32:43 0879bd2ef858: Waiting 19:32:43 36b3adc4ff6f: Download complete 19:32:43 46f8f816bc3b: Verifying Checksum 19:32:43 46f8f816bc3b: Download complete 19:32:43 df20fa9351a1: Verifying Checksum 19:32:43 df20fa9351a1: Download complete 19:32:43 ce6a7cf60c04: Verifying Checksum 19:32:43 ce6a7cf60c04: Download complete 19:32:43 7a184a31f384: Verifying Checksum 19:32:43 7a184a31f384: Download complete 19:32:43 0dadc02b9964: Verifying Checksum 19:32:43 0dadc02b9964: Download complete 19:32:43 df20fa9351a1: Pull complete 19:32:43 8ad3a11d3b57: Verifying Checksum 19:32:43 8ad3a11d3b57: Download complete 19:32:43 36b3adc4ff6f: Pull complete 19:32:44 0879bd2ef858: Verifying Checksum 19:32:44 0879bd2ef858: Download complete 19:32:44 8ad3a11d3b57: Pull complete 19:32:44 46f8f816bc3b: Pull complete 19:32:45 0dadc02b9964: Pull complete 19:32:45 ce6a7cf60c04: Pull complete 19:32:45 7a184a31f384: Pull complete 19:32:47 0879bd2ef858: Pull complete 19:32:47 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 19:32:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:32:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:32:47 prd-centos7-docker-4c-2g-2286 does not seem to be running inside a container 19:32:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/gexfoundry_device-mqtt-go_PR-169 -v /w/workspace/gexfoundry_device-mqtt-go_PR-169:/w/workspace/gexfoundry_device-mqtt-go_PR-169:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-169@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-169@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:32:53 $ docker top 7a32d105fe3bfeaedbb440e036129e77ed61f3237c082f70d7760853b889e102 -eo pid,comm [Pipeline] { [Pipeline] sh 19:32:53 + mkdir -p /var/log/sa [Pipeline] sh 19:32:54 + ls /var/log/sa-host 19:32:54 + sadf -c /var/log/sa-host/sa05 19:32:54 file_magic: OK 19:32:54 HZ: Using current value: 100 19:32:54 file_header: OK 19:32:54 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 19:32:54 Statistics: 19:32:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:32:54 File successfully converted to sysstat format version 12.2.1 19:32:54 + sadf -c /var/log/sa-host/sa11 19:32:54 file_magic: OK 19:32:54 HZ: Using current value: 100 19:32:54 file_header: OK 19:32:54 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 19:32:54 Statistics: 19:32:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:32:54 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:32:54 provisioning config files... 19:32:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-169@tmp/config730622926601665758tmp [Pipeline] { [Pipeline] echo 19:32:54 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:32:54 ---> create-netrc.sh [Pipeline] echo 19:32:54 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:32:54 ---> logs-deploy.sh 19:32:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-169/2 19:32:54 INFO: archiving workspace using pattern(s): 19:32:56 Archives upload complete. 19:32:56 INFO: archiving logs to Nexus