Pull request #170 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c743e293d32291d1f660539e8ac2928644d94691+8d03a592335dd56f24d0450c56224a899597e60a (550a2dc1f15a8d4c7bec4a0217be8366455d4af2) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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:lfit/releng-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, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-9372’ is offline; ‘prd-centos7-docker-4c-2g-9373’ is offline; ‘prd-centos7-docker-4c-2g-9378’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-9382 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-170 # 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 --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8d03a592335dd56f24d0450c56224a899597e60a into PR head commit c743e293d32291d1f660539e8ac2928644d94691 Merge succeeded, producing c743e293d32291d1f660539e8ac2928644d94691 Checking out Revision c743e293d32291d1f660539e8ac2928644d94691 (PR-170) > git config core.sparsecheckout # timeout=10 > git checkout -f c743e293d32291d1f660539e8ac2928644d94691 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8d03a592335dd56f24d0450c56224a899597e60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c743e293d32291d1f660539e8ac2928644d94691 # timeout=10 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:04:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:04:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:04:01 ========================================================= 03:04:01 EdgeX Global Pipelines Version Info 03:04:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 97ecc07e81cc599f0ec8b87939834737f980773d # timeout=10 03:04:03 ------------------- 03:04:03 stable info: 03:04:03 ------------------- 03:04:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:04:03 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 03:04:03 Message: update stable to v1.0.148 03:04:04 ------------------- 03:04:04 experimental info: 03:04:04 ------------------- 03:04:04 Commited By: **** collab-it+edgex@linuxfoundation.org 03:04:04 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 03:04:04 Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 03:04:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:04:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-170 [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-170 [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-170 [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c743e293d32291d1f660539e8ac2928644d94691 [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c743e29 [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:04:08 + git log --format=format:%s -1 c743e293d32291d1f660539e8ac2928644d94691 [Pipeline] echo 03:04:08 GIT_COMMIT: c743e293d32291d1f660539e8ac2928644d94691, Commit Message: Bump github.com/spf13/cast from 1.3.0 to 1.3.1 [Pipeline] echo 03:04:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:04:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:04:09 03:04:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:04:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:04:09 latest: Pulling from edgex-devops/git-semver 03:04:09 31603596830f: Pulling fs layer 03:04:09 2a8b12db71e7: Pulling fs layer 03:04:09 6ca5941a6612: Pulling fs layer 03:04:09 ecc8261a40a4: Pulling fs layer 03:04:09 ecc8261a40a4: Waiting 03:04:09 2a8b12db71e7: Verifying Checksum 03:04:09 2a8b12db71e7: Download complete 03:04:10 31603596830f: Verifying Checksum 03:04:10 31603596830f: Download complete 03:04:10 6ca5941a6612: Verifying Checksum 03:04:10 6ca5941a6612: Download complete 03:04:10 ecc8261a40a4: Verifying Checksum 03:04:10 ecc8261a40a4: Download complete 03:04:10 31603596830f: Pull complete 03:04:10 2a8b12db71e7: Pull complete 03:04:11 6ca5941a6612: Pull complete 03:04:11 ecc8261a40a4: Pull complete 03:04:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:04:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:04:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:04:12 prd-centos7-docker-4c-2g-9382 does not seem to be running inside a container 03:04:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-170 -v /w/workspace/gexfoundry_device-mqtt-go_PR-170:/w/workspace/gexfoundry_device-mqtt-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-170@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:04:14 $ docker top 4405479848bc75a3f19fba107b2ae1eb9f990ebac58cff1390ea356c7a7390a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:04:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:15 [ssh-agent] Looking for ssh-agent implementation... 03:04:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:15 $ docker exec 4405479848bc75a3f19fba107b2ae1eb9f990ebac58cff1390ea356c7a7390a8 ssh-agent 03:04:15 SSH_AUTH_SOCK=/tmp/ssh-DXESMYbYoddu/agent.12 03:04:15 SSH_AGENT_PID=17 03:04:15 Running ssh-add (command line suppressed) 03:04:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_2815828203157801160.key (/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_2815828203157801160.key) 03:04:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:16 + git tag --points-at HEAD [Pipeline] } 03:04:16 $ docker exec --env ******** --env ******** 4405479848bc75a3f19fba107b2ae1eb9f990ebac58cff1390ea356c7a7390a8 ssh-agent -k 03:04:16 unset SSH_AUTH_SOCK; 03:04:16 unset SSH_AGENT_PID; 03:04:16 echo Agent pid 17 killed; 03:04:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:04:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:16 [ssh-agent] Looking for ssh-agent implementation... 03:04:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:16 $ docker exec 4405479848bc75a3f19fba107b2ae1eb9f990ebac58cff1390ea356c7a7390a8 ssh-agent 03:04:17 SSH_AUTH_SOCK=/tmp/ssh-s50vOPwZqIF6/agent.46 03:04:17 SSH_AGENT_PID=52 03:04:17 Running ssh-add (command line suppressed) 03:04:17 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_3016666868720841700.key (/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_3016666868720841700.key) 03:04:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:17 + git semver init 03:04:17 # -> Open(): unable to determine branch for HEAD 03:04:17 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-170/.git 03:04:17 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-170 03:04:17 # $SEMVER_REMOTE_NAME = origin 03:04:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:04:17 # $SEMVER_USER_NAME = edgex-jenkins 03:04:17 # $SEMVER_BRANCH = PR-170 03:04:17 # $SEMVER_TEMP = /tmp/semver-969321728 03:04:17 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 03:04:17 # '/tmp/semver-969321728' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-170/.semver' 03:04:18 # -> Force: false 03:04:18 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-170/.semver [Pipeline] } 03:04:18 $ docker exec --env ******** --env ******** 4405479848bc75a3f19fba107b2ae1eb9f990ebac58cff1390ea356c7a7390a8 ssh-agent -k 03:04:18 unset SSH_AUTH_SOCK; 03:04:18 unset SSH_AGENT_PID; 03:04:18 echo Agent pid 52 killed; 03:04:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:04:18 + git semver [Pipeline] } 03:04:18 $ docker stop --time=1 4405479848bc75a3f19fba107b2ae1eb9f990ebac58cff1390ea356c7a7390a8 03:04:20 $ docker rm -f 4405479848bc75a3f19fba107b2ae1eb9f990ebac58cff1390ea356c7a7390a8 [Pipeline] // withDockerContainer [Pipeline] sh 03:04:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:04:21 Stashed 1 file(s) [Pipeline] echo 03:04:21 [edgeXSemver]: initialized semver on 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 03:04:37 Still waiting to schedule task 03:04:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:04:37 Still waiting to schedule task 03:04:37 ‘prd-centos7-docker-4c-2g-3642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-9385’ is offline 03:05:51 Running on prd-centos7-docker-4c-2g-9392 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws 03:05:51 Running in /w/workspace/device-mqtt-go/9 [Pipeline] { [Pipeline] checkout 03:05:53 using credential edgex-jenkins-ssh 03:05:53 Cloning the remote Git repository 03:05:54 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:05:54 > git init /w/workspace/device-mqtt-go/9 # timeout=10 03:05:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:05:55 > git --version # timeout=10 03:05:55 > git --version # 'git version 2.16.5' 03:05:55 using GIT_SSH to set credentials SSH Credentials for GitHub 03:05:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:05:55 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:05:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:05:55 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:05:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:05:55 using GIT_SSH to set credentials SSH Credentials for GitHub 03:05:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:05:56 Merging remotes/origin/master commit 8d03a592335dd56f24d0450c56224a899597e60a into PR head commit c743e293d32291d1f660539e8ac2928644d94691 03:05:56 Merge succeeded, producing c743e293d32291d1f660539e8ac2928644d94691 03:05:56 Checking out Revision c743e293d32291d1f660539e8ac2928644d94691 (PR-170) 03:05:56 > git config core.sparsecheckout # timeout=10 03:05:56 > git checkout -f c743e293d32291d1f660539e8ac2928644d94691 # timeout=10 03:05:56 > git remote # timeout=10 03:05:56 > git config --get remote.origin.url # timeout=10 03:05:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:05:56 > git merge 8d03a592335dd56f24d0450c56224a899597e60a # timeout=10 03:05:56 > git rev-parse HEAD^{commit} # timeout=10 03:05:56 > git config core.sparsecheckout # timeout=10 03:05:56 > git checkout -f c743e293d32291d1f660539e8ac2928644d94691 # timeout=10 03:05:59 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:06:00 ========================================================= 03:06:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:06:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:06:01 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 03:06:02 Sending build context to Docker daemon 456.2kB 03:06:02 Step 1/8 : ARG BASE=golang:1.15-alpine 03:06:02 Step 2/8 : FROM ${BASE} 03:06:02 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:06:02 df20fa9351a1: Pulling fs layer 03:06:02 ed8968b2872e: Pulling fs layer 03:06:02 a92cc7c5fd73: Pulling fs layer 03:06:02 e871e8e8d7a9: Pulling fs layer 03:06:02 e73272ec9a57: Pulling fs layer 03:06:02 1e910a182e73: Pulling fs layer 03:06:02 4e634b169226: Pulling fs layer 03:06:02 e871e8e8d7a9: Waiting 03:06:02 e73272ec9a57: Waiting 03:06:02 1e910a182e73: Waiting 03:06:02 4e634b169226: Waiting 03:06:02 a92cc7c5fd73: Verifying Checksum 03:06:02 a92cc7c5fd73: Download complete 03:06:02 ed8968b2872e: Verifying Checksum 03:06:02 ed8968b2872e: Download complete 03:06:02 e73272ec9a57: Verifying Checksum 03:06:02 e73272ec9a57: Download complete 03:06:02 1e910a182e73: Verifying Checksum 03:06:02 1e910a182e73: Download complete 03:06:02 df20fa9351a1: Verifying Checksum 03:06:02 df20fa9351a1: Download complete 03:06:02 df20fa9351a1: Pull complete 03:06:02 ed8968b2872e: Pull complete 03:06:02 a92cc7c5fd73: Pull complete 03:06:03 4e634b169226: Verifying Checksum 03:06:03 4e634b169226: Download complete 03:06:04 e871e8e8d7a9: Verifying Checksum 03:06:04 e871e8e8d7a9: Download complete 03:06:11 e871e8e8d7a9: Pull complete 03:06:11 e73272ec9a57: Pull complete 03:06:11 1e910a182e73: Pull complete 03:06:16 4e634b169226: Pull complete 03:06:16 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 03:06:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:06:16 ---> f7629b54cfaa 03:06:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:06:16 ---> Running in 71ddb4ab74e9 03:06:16 Removing intermediate container 71ddb4ab74e9 03:06:16 ---> 16148091ae24 03:06:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:06:16 ---> Running in bb1414dc27ef 03:06:18 Removing intermediate container bb1414dc27ef 03:06:18 ---> 763eecba0fdf 03:06:18 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:06:18 ---> Running in 63da63f18307 03:06:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:06:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:06:21 (1/14) Installing libmagic (5.38-r0) 03:06:22 (2/14) Installing file (5.38-r0) 03:06:22 (3/14) Installing libc-dev (0.7.2-r3) 03:06:22 (4/14) Installing g++ (9.3.0-r2) 03:06:26 (5/14) Installing fortify-headers (1.1-r0) 03:06:26 (6/14) Installing patch (2.7.6-r6) 03:06:26 (7/14) Installing build-base (0.5-r2) 03:06:27 (8/14) Installing openssh-keygen (8.3_p1-r0) 03:06:27 (9/14) Installing libedit (20191231.3.1-r0) 03:06:27 (10/14) Installing openssh-client (8.3_p1-r0) 03:06:27 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 03:06:27 (12/14) Installing openssh-server-common (8.3_p1-r0) 03:06:27 (13/14) Installing openssh-server (8.3_p1-r0) 03:06:28 (14/14) Installing openssh (8.3_p1-r0) 03:06:28 Executing busybox-1.31.1-r16.trigger 03:06:28 OK: 237 MiB in 53 packages 03:06:31 Removing intermediate container 63da63f18307 03:06:31 ---> 568198820f87 03:06:31 Step 6/8 : WORKDIR /device-mqtt-go 03:06:31 ---> Running in 2e7bb8632667 03:06:31 Removing intermediate container 2e7bb8632667 03:06:31 ---> 4bfae3a4f2fc 03:06:31 Step 7/8 : COPY . . 03:06:32 ---> fbf0127ab270 03:06:32 Step 8/8 : RUN go mod download 03:06:32 ---> Running in 3870a366477b 03:06:54 Removing intermediate container 3870a366477b 03:06:54 ---> ef53071b0086 03:06:54 Successfully built ef53071b0086 03:06:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:06:55 + docker inspect -f . ci-base-image-x86_64 03:06:55 . [Pipeline] withDockerContainer 03:06:55 prd-centos7-docker-4c-2g-9392 does not seem to be running inside a container 03:06:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:06:56 $ docker top 6dc84faf5380cdd1fbabde94d6fed3cd8865083a5453df29254cc0050ebc4814 -eo pid,comm [Pipeline] { [Pipeline] sh 03:06:57 + go version 03:06:57 go version go1.15.2 linux/amd64 [Pipeline] } 03:06:57 $ docker stop --time=1 6dc84faf5380cdd1fbabde94d6fed3cd8865083a5453df29254cc0050ebc4814 03:06:58 $ docker rm -f 6dc84faf5380cdd1fbabde94d6fed3cd8865083a5453df29254cc0050ebc4814 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:06:59 + docker inspect -f . ci-base-image-x86_64 03:06:59 . [Pipeline] withDockerContainer 03:06:59 prd-centos7-docker-4c-2g-9392 does not seem to be running inside a container 03:06:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:07:00 $ docker top 20607def65355f0a77a81501d90411be466076263163e47ac919ea61288f7274 -eo pid,comm [Pipeline] { [Pipeline] sh 03:07:01 + make test 03:07:01 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:07:02 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:07:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-9396 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws 03:07:03 Running in /w/workspace/device-mqtt-go/9 [Pipeline] { [Pipeline] checkout 03:07:09 using credential edgex-jenkins-ssh 03:07:09 Cloning the remote Git repository 03:07:09 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:07:09 > git init /w/workspace/device-mqtt-go/9 # timeout=10 03:07:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:07:09 > git --version # timeout=10 03:07:09 > git --version # 'git version 2.17.1' 03:07:09 using GIT_SSH to set credentials SSH Credentials for GitHub 03:07:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:07:11 Merging remotes/origin/master commit 8d03a592335dd56f24d0450c56224a899597e60a into PR head commit c743e293d32291d1f660539e8ac2928644d94691 03:07:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:07:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:07:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:07:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:07:10 using GIT_SSH to set credentials SSH Credentials for GitHub 03:07:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:07:11 > git config core.sparsecheckout # timeout=10 03:07:11 > git checkout -f c743e293d32291d1f660539e8ac2928644d94691 # timeout=10 03:07:11 Merge succeeded, producing c743e293d32291d1f660539e8ac2928644d94691 03:07:11 Checking out Revision c743e293d32291d1f660539e8ac2928644d94691 (PR-170) 03:07:11 > git remote # timeout=10 03:07:11 > git config --get remote.origin.url # timeout=10 03:07:11 using GIT_SSH to set credentials SSH Credentials for GitHub 03:07:11 > git merge 8d03a592335dd56f24d0450c56224a899597e60a # timeout=10 03:07:11 > git rev-parse HEAD^{commit} # timeout=10 03:07:11 > git config core.sparsecheckout # timeout=10 03:07:11 > git checkout -f c743e293d32291d1f660539e8ac2928644d94691 # timeout=10 03:07:15 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:07:16 ========================================================= 03:07:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:07:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:07:17 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 03:07:18 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:07:18 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 28.3% of statements 03:07:18 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:07:18 Sending build context to Docker daemon 456.2kB 03:07:18 Step 1/8 : ARG BASE=golang:1.15-alpine 03:07:18 Step 2/8 : FROM ${BASE} 03:07:18 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:07:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:07:18 b538f80385f9: Pulling fs layer 03:07:18 74f711af9a0d: Pulling fs layer 03:07:18 99f96fe45779: Pulling fs layer 03:07:18 8529a6b9a6be: Pulling fs layer 03:07:18 45590311c82a: Pulling fs layer 03:07:18 69ca0ff8b7b3: Pulling fs layer 03:07:18 209524e5b208: Pulling fs layer 03:07:18 8529a6b9a6be: Waiting 03:07:18 45590311c82a: Waiting 03:07:18 69ca0ff8b7b3: Waiting 03:07:18 209524e5b208: Waiting 03:07:18 99f96fe45779: Download complete 03:07:18 74f711af9a0d: Verifying Checksum 03:07:18 74f711af9a0d: Download complete 03:07:18 45590311c82a: Verifying Checksum 03:07:18 45590311c82a: Download complete 03:07:18 69ca0ff8b7b3: Verifying Checksum 03:07:18 69ca0ff8b7b3: Download complete 03:07:18 b538f80385f9: Verifying Checksum 03:07:18 b538f80385f9: Download complete 03:07:19 b538f80385f9: Pull complete 03:07:20 74f711af9a0d: Pull complete 03:07:20 99f96fe45779: Pull complete 03:07:21 gofmt -l . 03:07:21 ["`gofmt -l .`" = ""] 03:07:21 ./bin/test-attribution-txt.sh 03:07:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:07:22 Stashed 1 file(s) [Pipeline] } 03:07:22 $ docker stop --time=1 20607def65355f0a77a81501d90411be466076263163e47ac919ea61288f7274 03:07:22 209524e5b208: Verifying Checksum 03:07:22 209524e5b208: Download complete 03:07:24 8529a6b9a6be: Verifying Checksum 03:07:24 8529a6b9a6be: Download complete 03:07:25 $ docker rm -f 20607def65355f0a77a81501d90411be466076263163e47ac919ea61288f7274 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:07:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:07:27 + ls -al . 03:07:27 total 100 03:07:27 drwxrwxr-x. 9 jenkins jenkins 4096 Oct 28 03:07 . 03:07:27 drwxrwxr-x. 4 jenkins jenkins 28 Oct 28 03:05 .. 03:07:27 -rw-rw-r--. 1 jenkins jenkins 5932 Oct 28 03:05 Attribution.txt 03:07:27 drwxrwxr-x. 2 jenkins jenkins 87 Oct 28 03:05 bin 03:07:27 drwxrwxr-x. 3 jenkins jenkins 32 Oct 28 03:05 cmd 03:07:27 -rw-r--r--. 1 jenkins jenkins 18939 Oct 28 03:07 coverage.out 03:07:27 -rw-rw-r--. 1 jenkins jenkins 1784 Oct 28 03:05 Dockerfile 03:07:27 -rw-rw-r--. 1 jenkins jenkins 953 Oct 28 03:05 Dockerfile.build 03:07:27 -rw-rw-r--. 1 jenkins jenkins 140 Oct 28 03:05 .dockerignore 03:07:27 drwxrwxr-x. 8 jenkins jenkins 179 Oct 28 03:05 .git 03:07:27 drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 03:05 .github 03:07:27 -rw-rw-r--. 1 jenkins jenkins 336 Oct 28 03:05 .gitignore 03:07:27 -rw-r--r--. 1 jenkins jenkins 510 Oct 28 03:07 go.mod 03:07:27 -rw-r--r--. 1 jenkins jenkins 15108 Oct 28 03:07 go.sum 03:07:27 drwxrwxr-x. 3 jenkins jenkins 20 Oct 28 03:05 internal 03:07:27 -rw-rw-r--. 1 jenkins jenkins 677 Oct 28 03:05 Jenkinsfile 03:07:27 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 28 03:05 LICENSE 03:07:27 -rw-rw-r--. 1 jenkins jenkins 902 Oct 28 03:05 Makefile 03:07:27 drwxrwxr-x. 2 jenkins jenkins 23 Oct 28 03:05 mock 03:07:27 -rw-rw-r--. 1 jenkins jenkins 444 Oct 28 03:05 README.md 03:07:27 drwxrwxr-x. 4 jenkins jenkins 54 Oct 28 03:05 snap 03:07:27 -rw-rw-r--. 1 jenkins jenkins 5 Oct 28 03:04 VERSION 03:07:27 -rw-rw-r--. 1 jenkins jenkins 227 Oct 28 03:05 version.go [Pipeline] isUnix [Pipeline] sh 03:07:27 + 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=c743e293d32291d1f660539e8ac2928644d94691 --label arch=amd64 --label version=0.0.0 . 03:07:27 Sending build context to Docker daemon 475.6kB 03:07:27 Step 1/22 : ARG BASE=golang:1.15-alpine 03:07:27 Step 2/22 : FROM ${BASE} AS builder 03:07:27 ---> ef53071b0086 03:07:27 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 03:07:27 ---> Running in 89081e5b7c4d 03:07:28 Removing intermediate container 89081e5b7c4d 03:07:28 ---> 4657af4cc0cb 03:07:28 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 03:07:28 ---> Running in 85b017fde752 03:07:28 Removing intermediate container 85b017fde752 03:07:28 ---> 5189d9e0bbc9 03:07:28 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:07:28 ---> Running in 875763a6afb9 03:07:29 Removing intermediate container 875763a6afb9 03:07:29 ---> 0f9f31c399e5 03:07:29 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:07:29 ---> Running in fe9f058c2e30 03:07:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:07:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:07:34 OK: 237 MiB in 53 packages 03:07:34 8529a6b9a6be: Pull complete 03:07:34 45590311c82a: Pull complete 03:07:35 Removing intermediate container fe9f058c2e30 03:07:35 ---> 8f3b06f943e0 03:07:35 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 03:07:35 ---> Running in e30d1a275ae9 03:07:35 69ca0ff8b7b3: Pull complete 03:07:35 Removing intermediate container e30d1a275ae9 03:07:35 ---> de5edc2062ff 03:07:35 Step 8/22 : COPY . . 03:07:36 ---> 305742af268d 03:07:36 Step 9/22 : ARG MAKE='make build' 03:07:36 ---> Running in 58377df7ea3d 03:07:36 Removing intermediate container 58377df7ea3d 03:07:36 ---> c0425f70eabf 03:07:36 Step 10/22 : RUN $MAKE 03:07:36 ---> Running in 461705cc9a73 03:07:37 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 03:07:39 209524e5b208: Pull complete 03:07:39 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 03:07:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:07:39 ---> 5bddaf1c2fca 03:07:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:07:42 ---> Running in ef44442b1466 03:07:42 Removing intermediate container ef44442b1466 03:07:42 ---> d994a4ff7e2f 03:07:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:07:42 ---> Running in b001cd1899cf 03:07:44 Removing intermediate container b001cd1899cf 03:07:44 ---> a0c11c995d0c 03:07:44 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:07:44 ---> Running in e4911a73bf2e 03:07:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:07:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:07:49 (1/14) Installing libmagic (5.38-r0) 03:07:49 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:07:50 (2/14) Installing file (5.38-r0) 03:07:50 (3/14) Installing libc-dev (0.7.2-r3) 03:07:50 (4/14) Installing g++ (9.3.0-r2) 03:07:51 Removing intermediate container 461705cc9a73 03:07:51 ---> 30fae8dd3e6c 03:07:51 Step 11/22 : FROM alpine 03:07:52 latest: Pulling from library/alpine 03:07:52 188c0c94c7c5: Pulling fs layer 03:07:52 188c0c94c7c5: Verifying Checksum 03:07:52 188c0c94c7c5: Download complete 03:07:52 188c0c94c7c5: Pull complete 03:07:52 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 03:07:52 Status: Downloaded newer image for alpine:latest 03:07:52 ---> d6e46aa2470d 03:07:52 Step 12/22 : ENV APP_PORT=49982 03:07:52 ---> Running in 3d114efad2ec 03:07:52 Removing intermediate container 3d114efad2ec 03:07:52 ---> 0d41eaf4bbbd 03:07:52 Step 13/22 : EXPOSE $APP_PORT 03:07:52 ---> Running in 67caf12a0449 03:07:53 Removing intermediate container 67caf12a0449 03:07:53 ---> 218ea7104708 03:07:53 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 03:07:53 ---> 4335e37ea9cf 03:07:53 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 03:07:53 ---> 4039fc0c991c 03:07:53 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 03:07:54 ---> f5541b7f706a 03:07:54 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 03:07:54 ---> Running in 232cee98df0d 03:07:54 Removing intermediate container 232cee98df0d 03:07:54 ---> 266c427110c8 03:07:54 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 03:07:54 ---> Running in 6624534e217e 03:07:54 Removing intermediate container 6624534e217e 03:07:54 ---> 8d4b908543b2 03:07:54 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:07:54 ---> Running in 5a0851c427da 03:07:54 Removing intermediate container 5a0851c427da 03:07:54 ---> 8e0ed877d31e 03:07:54 Step 20/22 : LABEL arch=amd64 03:07:55 ---> Running in 863bed3f2125 03:07:55 Removing intermediate container 863bed3f2125 03:07:55 ---> 1da47a6b6f4b 03:07:55 Step 21/22 : LABEL git_sha=c743e293d32291d1f660539e8ac2928644d94691 03:07:55 ---> Running in 761a7d259a0c 03:07:55 Removing intermediate container 761a7d259a0c 03:07:55 ---> 2b4fee04403b 03:07:55 Step 22/22 : LABEL version=0.0.0 03:07:55 ---> Running in 7ea065bdd79f 03:07:55 Removing intermediate container 7ea065bdd79f 03:07:55 ---> a89551b1355c 03:07:55 [Warning] One or more build-args [ARCH] were not consumed 03:07:55 Successfully built a89551b1355c 03:07:55 Successfully tagged docker-device-mqtt-go:latest [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 03:08:00 (5/14) Installing fortify-headers (1.1-r0) 03:08:00 (6/14) Installing patch (2.7.6-r6) 03:08:00 (7/14) Installing build-base (0.5-r2) 03:08:00 (8/14) Installing openssh-keygen (8.3_p1-r0) 03:08:00 (9/14) Installing libedit (20191231.3.1-r0) 03:08:00 (10/14) Installing openssh-client (8.3_p1-r0) 03:08:00 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 03:08:00 (12/14) Installing openssh-server-common (8.3_p1-r0) 03:08:00 (13/14) Installing openssh-server (8.3_p1-r0) 03:08:00 (14/14) Installing openssh (8.3_p1-r0) 03:08:01 Executing busybox-1.31.1-r16.trigger 03:08:01 OK: 221 MiB in 53 packages 03:08:05 Removing intermediate container e4911a73bf2e 03:08:05 ---> 081fff4fa1ad 03:08:05 Step 6/8 : WORKDIR /device-mqtt-go 03:08:05 ---> Running in 7188c3fdb88a 03:08:05 Removing intermediate container 7188c3fdb88a 03:08:05 ---> 5e0412982bf8 03:08:05 Step 7/8 : COPY . . 03:08:06 ---> fc559e6eb51c 03:08:06 Step 8/8 : RUN go mod download 03:08:06 ---> Running in 0ffae3038eb0 03:08:11 Still waiting to schedule task 03:08:11 All nodes of label ‘centos7-docker-8c-8g’ are offline 03:08:33 Removing intermediate container 0ffae3038eb0 03:08:33 ---> bcf6278b000c 03:08:33 Successfully built bcf6278b000c 03:08:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:08:34 + docker inspect -f . ci-base-image-arm64 03:08:34 . [Pipeline] withDockerContainer 03:08:34 prd-ubuntu18.04-docker-arm64-4c-16g-9396 does not seem to be running inside a container 03:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:08:36 $ docker top f5d402561cfd91e0e8891a64b6d86da3fc56d18e3b0f9f79d1f729c76ae69fec -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:38 + go version 03:08:38 go version go1.15.2 linux/arm64 [Pipeline] } 03:08:38 $ docker stop --time=1 f5d402561cfd91e0e8891a64b6d86da3fc56d18e3b0f9f79d1f729c76ae69fec 03:08:39 $ docker rm -f f5d402561cfd91e0e8891a64b6d86da3fc56d18e3b0f9f79d1f729c76ae69fec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:08:41 + docker inspect -f . ci-base-image-arm64 03:08:41 . [Pipeline] withDockerContainer 03:08:41 prd-ubuntu18.04-docker-arm64-4c-16g-9396 does not seem to be running inside a container 03:08:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:08:43 $ docker top bf88718810d7ca24a4eac0d60a1cbe6a781b9d6343008a638f19d54d7bfab22b -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:45 + make test 03:08:45 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:08:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:09:17 Running on prd-centos7-docker-8c-8g-9407 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws 03:09:17 Running in /w/workspace/device-mqtt-go/9 [Pipeline] { [Pipeline] checkout 03:09:20 using credential edgex-jenkins-ssh 03:09:20 Cloning the remote Git repository 03:09:21 Merging remotes/origin/master commit 8d03a592335dd56f24d0450c56224a899597e60a into PR head commit c743e293d32291d1f660539e8ac2928644d94691 03:09:20 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:09:20 > git init /w/workspace/device-mqtt-go/9 # timeout=10 03:09:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:09:20 > git --version # timeout=10 03:09:20 > git --version # 'git version 2.16.5' 03:09:20 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:09:21 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:09:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:09:21 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:09:21 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:09:21 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:09:21 Merge succeeded, producing c743e293d32291d1f660539e8ac2928644d94691 03:09:21 Checking out Revision c743e293d32291d1f660539e8ac2928644d94691 (PR-170) 03:09:21 > git config core.sparsecheckout # timeout=10 03:09:21 > git checkout -f c743e293d32291d1f660539e8ac2928644d94691 # timeout=10 03:09:21 > git remote # timeout=10 03:09:21 > git config --get remote.origin.url # timeout=10 03:09:21 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:21 > git merge 8d03a592335dd56f24d0450c56224a899597e60a # timeout=10 03:09:21 > git rev-parse HEAD^{commit} # timeout=10 03:09:21 > git config core.sparsecheckout # timeout=10 03:09:21 > git checkout -f c743e293d32291d1f660539e8ac2928644d94691 # timeout=10 03:09:25 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [Pipeline] withEnv [Pipeline] { 03:09:25 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:09:25 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.032s coverage: 28.3% of statements 03:09:25 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:09:25 CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] sh 03:09:26 ++ find /w/workspace/device-mqtt-go/9 03:09:26 ++ grep snapcraft.yaml 03:09:26 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/9/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:09:27 provisioning config files... 03:09:27 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/9@tmp/config3730137748191972345tmp [Pipeline] { [Pipeline] sh 03:09:27 + cp /w/workspace/device-mqtt-go/9@tmp/config3730137748191972345tmp /w/workspace/device-mqtt-go/9/edgex-snap-store-login [Pipeline] sh 03:09:27 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/9:/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 03:09:27 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 03:09:28 latest: Pulling from edgex-devops/edgex-snap-builder 03:09:28 f08d8e2a3ba1: Pulling fs layer 03:09:28 3baa9cb2483b: Pulling fs layer 03:09:28 94e5ff4c0b15: Pulling fs layer 03:09:28 1860925334f9: Pulling fs layer 03:09:28 2daf38717194: Pulling fs layer 03:09:28 309017e8d7a4: Pulling fs layer 03:09:28 f7790dc9fd0f: Pulling fs layer 03:09:28 cac0ae9282c2: Pulling fs layer 03:09:28 1f4cadf9a1ed: Pulling fs layer 03:09:28 309017e8d7a4: Waiting 03:09:28 f7790dc9fd0f: Waiting 03:09:28 1860925334f9: Waiting 03:09:28 cac0ae9282c2: Waiting 03:09:28 1f4cadf9a1ed: Waiting 03:09:28 2daf38717194: Waiting 03:09:28 94e5ff4c0b15: Verifying Checksum 03:09:28 94e5ff4c0b15: Download complete 03:09:28 3baa9cb2483b: Download complete 03:09:28 1860925334f9: Download complete 03:09:28 309017e8d7a4: Verifying Checksum 03:09:28 309017e8d7a4: Download complete 03:09:28 f7790dc9fd0f: Verifying Checksum 03:09:28 f7790dc9fd0f: Download complete 03:09:28 cac0ae9282c2: Verifying Checksum 03:09:28 cac0ae9282c2: Download complete 03:09:28 1f4cadf9a1ed: Download complete 03:09:29 f08d8e2a3ba1: Verifying Checksum 03:09:29 f08d8e2a3ba1: Download complete 03:09:30 f08d8e2a3ba1: Pull complete 03:09:30 3baa9cb2483b: Pull complete 03:09:30 94e5ff4c0b15: Pull complete 03:09:30 1860925334f9: Pull complete 03:09:32 gofmt -l . 03:09:32 ["`gofmt -l .`" = ""] 03:09:32 ./bin/test-attribution-txt.sh 03:09:33 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:09:33 Warning: overwriting stash ‘coverage-report’ 03:09:34 Stashed 1 file(s) [Pipeline] } 03:09:34 $ docker stop --time=1 bf88718810d7ca24a4eac0d60a1cbe6a781b9d6343008a638f19d54d7bfab22b 03:09:37 $ docker rm -f bf88718810d7ca24a4eac0d60a1cbe6a781b9d6343008a638f19d54d7bfab22b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:09:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:09:39 + ls -al . 03:09:39 total 132 03:09:39 drwxrwxr-x 9 jenkins jenkins 4096 Oct 28 03:09 . 03:09:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 03:07 .. 03:09:39 -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 03:07 .dockerignore 03:09:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 03:07 .git 03:09:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 03:07 .github 03:09:39 -rw-rw-r-- 1 jenkins jenkins 336 Oct 28 03:07 .gitignore 03:09:39 -rw-rw-r-- 1 jenkins jenkins 5932 Oct 28 03:07 Attribution.txt 03:09:39 -rw-rw-r-- 1 jenkins jenkins 1784 Oct 28 03:07 Dockerfile 03:09:39 -rw-rw-r-- 1 jenkins jenkins 953 Oct 28 03:07 Dockerfile.build 03:09:39 -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 03:07 Jenkinsfile 03:09:39 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 03:07 LICENSE 03:09:39 -rw-rw-r-- 1 jenkins jenkins 902 Oct 28 03:07 Makefile 03:09:39 -rw-rw-r-- 1 jenkins jenkins 444 Oct 28 03:07 README.md 03:09:39 -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 03:04 VERSION 03:09:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 03:07 bin 03:09:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 03:07 cmd 03:09:39 -rw-r--r-- 1 jenkins jenkins 18939 Oct 28 03:09 coverage.out 03:09:39 -rw-r--r-- 1 jenkins jenkins 510 Oct 28 03:09 go.mod 03:09:39 -rw-r--r-- 1 jenkins jenkins 15108 Oct 28 03:09 go.sum 03:09:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 03:07 internal 03:09:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 03:07 mock 03:09:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 03:07 snap 03:09:39 -rw-rw-r-- 1 jenkins jenkins 227 Oct 28 03:07 version.go [Pipeline] isUnix [Pipeline] sh 03:09:39 + 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=c743e293d32291d1f660539e8ac2928644d94691 --label arch=arm64 --label version=0.0.0 . 03:09:40 Sending build context to Docker daemon 475.6kB 03:09:40 Step 1/22 : ARG BASE=golang:1.15-alpine 03:09:40 Step 2/22 : FROM ${BASE} AS builder 03:09:40 ---> bcf6278b000c 03:09:40 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 03:09:40 ---> Running in 8caca1ff0040 03:09:40 2daf38717194: Verifying Checksum 03:09:40 2daf38717194: Download complete 03:09:40 Removing intermediate container 8caca1ff0040 03:09:40 ---> f9c20e1dcf9f 03:09:40 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 03:09:40 ---> Running in a1baa719faa8 03:09:41 Removing intermediate container a1baa719faa8 03:09:41 ---> 49d0aca7ed37 03:09:41 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:09:41 ---> Running in 4e17a4cbf5e6 03:09:44 Removing intermediate container 4e17a4cbf5e6 03:09:44 ---> 7cb33ff19d27 03:09:44 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:09:44 ---> Running in 7cbf4cebbe26 03:09:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:09:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:09:54 OK: 221 MiB in 53 packages 03:09:54 Removing intermediate container 7cbf4cebbe26 03:09:54 ---> 157e020b6553 03:09:54 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 03:09:55 ---> Running in a9ced90e92c3 03:09:55 Removing intermediate container a9ced90e92c3 03:09:55 ---> fee60274880e 03:09:55 Step 8/22 : COPY . . 03:09:56 ---> 0916d008259b 03:09:56 Step 9/22 : ARG MAKE='make build' 03:09:56 ---> Running in bd47d78b4af1 03:09:56 Removing intermediate container bd47d78b4af1 03:09:56 ---> 5e78ca3cdf32 03:09:56 Step 10/22 : RUN $MAKE 03:09:57 ---> Running in 904fb78692a8 03:09:58 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 03:09:58 2daf38717194: Pull complete 03:09:58 309017e8d7a4: Pull complete 03:09:58 f7790dc9fd0f: Pull complete 03:09:58 cac0ae9282c2: Pull complete 03:09:58 1f4cadf9a1ed: Pull complete 03:09:58 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 03:09:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 03:10:01 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 03:10:01 Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 03:10:01 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 03:10:01 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 03:10:01 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [45.9 kB] 03:10:01 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2165 kB] 03:10:01 Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [213 kB] 03:10:02 Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1353 kB] 03:10:02 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [239 kB] 03:10:02 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2115 kB] 03:10:02 Get:11 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] 03:10:02 Get:12 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] 03:10:02 Get:13 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.4 kB] 03:10:02 Get:14 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1748 kB] 03:10:02 Fetched 8169 kB in 2s (4318 kB/s) 03:10:04 Reading package lists... 03:10:07 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 03:10:07 0% [Connecting to archive.ubuntu.com (91.189.88.142)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.142) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 03:10:07 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 03:10:07 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 03:10:09 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... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 53% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 73% Reading package lists... 73% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% 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 03:10:11 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-base perl-modules-5.26 03:10:12 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 51% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 73% Reading package lists... 73% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% 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 03:10:12 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 91% Building dependency tree 03:10:12 Reading state information... 0% Reading state information... 0% Reading state information... Done 03:10:12 The following packages were automatically installed and are no longer required: 03:10:12 libjq1 libonig4 03:10:12 Use 'sudo apt autoremove' to remove them. 03:10:12 Suggested packages: 03:10:12 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 03:10:12 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 03:10:12 diffutils-doc perl-doc libterm-readline-gnu-perl 03:10:12 | libterm-readline-perl-perl 03:10:13 The following NEW packages will be installed: 03:10:13 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 03:10:13 libperl5.26 make netbase patch perl perl-modules-5.26 03:10:13 The following packages will be upgraded: 03:10:13 perl-base 03:10:13 1 upgraded, 14 newly installed, 0 to remove and 31 not upgraded. 03:10:13 Need to get 13.4 MB of archives. 03:10:13 After this operation, 77.5 MB of additional disk space will be used. 03:10:13 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] 03:10:13 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 662 kB/1391 kB 48%] 10% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] 03:10:14 10% [2 perl-modules-5.26 22.9 kB/2762 kB 1%] 27% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 03:10:14 28% [3 libgdbm5 26.0 kB/26.0 kB 100%] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 03:10:14 29% [4 libgdbm-compat4 6084 B/6084 B 100%] 30% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] 03:10:14 31% [5 libperl5.26 65.5 kB/3534 kB 2%] 53% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] 03:10:14 53% [6 perl 12.2 kB/201 kB 6%] 55% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 03:10:14 55% [7 less 6998 B/112 kB 6%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 03:10:14 57% [8 netbase 12.7 kB/12.7 kB 100%] 59% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 03:10:14 59% [9 curl 13.3 kB/159 kB 8%] 61% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 03:10:14 61% [10 libcurl3-gnutls 41.0 kB/213 kB 19%] 64% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 03:10:14 64% [11 liberror-perl 16.4 kB/22.8 kB 72%] 65% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 03:10:14 65% [12 git-man 11.6 kB/804 kB 1%] 71% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 03:10:14 71% [13 git 32.8 kB/3915 kB 1%] 96% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 03:10:14 96% [14 make 11.3 kB/154 kB 7%] 98% [Waiting for headers] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 03:10:14 98% [15 patch 20.5 kB/102 kB 20%] 100% [Working] Fetched 13.4 MB in 2s (8307 kB/s) 03:10:14 debconf: delaying package configuration, since apt-utils is not installed 03:10:15 (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.) 03:10:15 Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... 03:10:15 Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... 03:10:18 Setting up perl-base (5.26.1-6ubuntu0.5) ... 03:10:18 Selecting previously unselected package perl-modules-5.26. 03:10:18 (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.) 03:10:18 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... 03:10:18 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 03:10:19 Selecting previously unselected package libgdbm5:amd64. 03:10:19 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 03:10:19 Unpacking libgdbm5:amd64 (1.14.1-6) ... 03:10:19 Selecting previously unselected package libgdbm-compat4:amd64. 03:10:19 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 03:10:19 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 03:10:19 Selecting previously unselected package libperl5.26:amd64. 03:10:19 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... 03:10:19 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 03:10:20 Selecting previously unselected package perl. 03:10:20 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... 03:10:20 Unpacking perl (5.26.1-6ubuntu0.5) ... 03:10:20 Selecting previously unselected package less. 03:10:20 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 03:10:20 Unpacking less (487-0.1) ... 03:10:20 Selecting previously unselected package netbase. 03:10:20 Preparing to unpack .../06-netbase_5.4_all.deb ... 03:10:20 Unpacking netbase (5.4) ... 03:10:20 Selecting previously unselected package curl. 03:10:20 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 03:10:20 Unpacking curl (7.58.0-2ubuntu3.10) ... 03:10:20 Selecting previously unselected package libcurl3-gnutls:amd64. 03:10:20 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 03:10:20 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 03:10:20 Selecting previously unselected package liberror-perl. 03:10:20 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 03:10:20 Unpacking liberror-perl (0.17025-1) ... 03:10:20 Selecting previously unselected package git-man. 03:10:20 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 03:10:20 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 03:10:20 Selecting previously unselected package git. 03:10:20 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 03:10:20 Unpacking git (1:2.17.1-1ubuntu0.7) ... 03:10:21 Selecting previously unselected package make. 03:10:21 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 03:10:21 Unpacking make (4.1-9.1ubuntu1) ... 03:10:21 Selecting previously unselected package patch. 03:10:21 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 03:10:21 Unpacking patch (2.7.6-2ubuntu1.1) ... 03:10:21 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 03:10:21 Setting up less (487-0.1) ... 03:10:21 Setting up make (4.1-9.1ubuntu1) ... 03:10:21 Setting up curl (7.58.0-2ubuntu3.10) ... 03:10:21 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 03:10:21 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 03:10:21 Setting up libgdbm5:amd64 (1.14.1-6) ... 03:10:21 Setting up patch (2.7.6-2ubuntu1.1) ... 03:10:21 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 03:10:21 Setting up netbase (5.4) ... 03:10:21 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 03:10:21 Setting up perl (5.26.1-6ubuntu0.5) ... 03:10:21 Setting up liberror-perl (0.17025-1) ... 03:10:21 Setting up git (1:2.17.1-1ubuntu0.7) ... 03:10:21 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 03:10:21 Processing triggers for mime-support (3.60ubuntu1) ... 03:10:23 curl set to automatically installed. 03:10:23 git set to automatically installed. 03:10:23 git-man set to automatically installed. 03:10:23 less set to automatically installed. 03:10:23 libcurl3-gnutls set to automatically installed. 03:10:23 liberror-perl set to automatically installed. 03:10:23 libgdbm-compat4 set to automatically installed. 03:10:23 libgdbm5 set to automatically installed. 03:10:23 libperl5.26 set to automatically installed. 03:10:23 make set to automatically installed. 03:10:23 netbase set to automatically installed. 03:10:23 patch set to automatically installed. 03:10:23 perl set to automatically installed. 03:10:23 perl-base set to automatically installed. 03:10:23 perl-modules-5.26 set to automatically installed. 03:10:23 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 03:10:23 Please ensure the environment is properly setup before continuing. 03:10:23 Ignore this message if the appropriate measures have already been taken 03:10:24 Pulling go  03:10:25 'device-mqtt' has dependencies that need to be staged: go 03:10:25 Skipping pull go (already ran) 03:10:25 Building go  03:10:25 % Total % Received % Xferd Average Speed Time Time Time Current 03:10:25 Dload Upload Total Spent Left Speed 03:10:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 10 115M 10 11.8M 0 0 32.0M 0 0:00:03 --:--:-- 0:00:03 32.0M 65 115M 65 75.7M 0 0 54.8M 0 0:00:02 0:00:01 0:00:01 54.7M 100 115M 100 115M 0 0 58.9M 0 0:00:01 0:00:01 --:--:-- 58.9M 03:10:28 go1.15.2.linux-amd64.tar.gz: OK 03:10:31 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:10:34 Removing intermediate container 904fb78692a8 03:10:34 ---> deefb18018a7 03:10:34 Step 11/22 : FROM alpine 03:10:34 latest: Pulling from library/alpine 03:10:34 5f621e34cdf4: Pulling fs layer 03:10:34 5f621e34cdf4: Verifying Checksum 03:10:34 5f621e34cdf4: Download complete 03:10:35 5f621e34cdf4: Pull complete 03:10:35 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 03:10:35 Status: Downloaded newer image for alpine:latest 03:10:35 ---> 2e77e061c27f 03:10:35 Step 12/22 : ENV APP_PORT=49982 03:10:35 ---> Running in f6b8ad2ea815 03:10:35 Removing intermediate container f6b8ad2ea815 03:10:35 ---> 3d9ccdc9c22e 03:10:35 Step 13/22 : EXPOSE $APP_PORT 03:10:36 ---> Running in 406c5f001278 03:10:36 Staging go  03:10:36 Pulling device-mqtt  03:10:36 Removing intermediate container 406c5f001278 03:10:36 ---> 853816a2dfb2 03:10:36 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 03:10:36 Skipping build go (already ran) 03:10:36 Building device-mqtt  03:10:36 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 03:10:37 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.4-dev.34 03:10:37 go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 03:10:37 go: downloading github.com/spf13/cast v1.3.1 03:10:37 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.97 03:10:37 go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 03:10:37 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 03:10:37 go: downloading github.com/gorilla/mux v1.7.1 03:10:37 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.25 03:10:37 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.50 03:10:37 go: downloading github.com/go-kit/kit v0.8.0 03:10:37 go: downloading gopkg.in/yaml.v2 v2.3.0 03:10:37 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 03:10:37 go: downloading github.com/google/uuid v1.1.2 03:10:37 go: downloading github.com/hashicorp/consul/api v1.1.0 03:10:37 go: downloading github.com/OneOfOne/xxhash v1.2.8 03:10:37 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.7 03:10:37 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.23 03:10:37 go: downloading github.com/go-playground/validator/v10 v10.3.0 03:10:37 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 03:10:37 go: downloading github.com/BurntSushi/toml v0.3.1 03:10:37 go: downloading github.com/pelletier/go-toml v1.2.0 03:10:37 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 03:10:37 go: downloading github.com/hashicorp/serf v0.8.2 03:10:37 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 03:10:37 go: downloading github.com/pkg/errors v0.8.1 03:10:37 go: downloading github.com/mitchellh/mapstructure v1.1.2 03:10:37 go: downloading github.com/x448/float16 v0.8.4 03:10:37 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:10:37 go: downloading github.com/go-logfmt/logfmt v0.4.0 03:10:37 go: downloading github.com/go-playground/universal-translator v0.17.0 03:10:37 go: downloading github.com/leodido/go-urn v1.2.0 03:10:37 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 03:10:37 go: downloading github.com/mitchellh/copystructure v1.0.0 03:10:37 ---> 709d96f36b94 03:10:37 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 03:10:38 go: downloading github.com/go-playground/locales v0.13.0 03:10:38 go: downloading github.com/mitchellh/reflectwalk v1.0.0 03:10:38 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:10:38 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 03:10:38 go: downloading github.com/hashicorp/golang-lru v0.5.0 03:10:38 ---> b77a18c7c299 03:10:38 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 03:10:39 ---> 4aa49fee08a0 03:10:39 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 03:10:39 ---> Running in e4dc323f3e37 03:10:40 Removing intermediate container e4dc323f3e37 03:10:40 ---> db78512a3ce4 03:10:40 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 03:10:40 ---> Running in c9ebf8846cde 03:10:40 Removing intermediate container c9ebf8846cde 03:10:40 ---> 45ad0b0efa0b 03:10:40 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:10:40 ---> Running in 7baf78c3743b 03:10:41 Removing intermediate container 7baf78c3743b 03:10:41 ---> 3c863f7ec695 03:10:41 Step 20/22 : LABEL arch=arm64 03:10:41 ---> Running in 0636a276c11e 03:10:41 Removing intermediate container 0636a276c11e 03:10:41 ---> 761980d9245d 03:10:41 Step 21/22 : LABEL git_sha=c743e293d32291d1f660539e8ac2928644d94691 03:10:42 ---> Running in d046a2d43993 03:10:42 Removing intermediate container d046a2d43993 03:10:42 ---> 2e8ffcb11459 03:10:42 Step 22/22 : LABEL version=0.0.0 03:10:42 ---> Running in ecf0f37d5e64 03:10:42 Removing intermediate container ecf0f37d5e64 03:10:42 ---> 9be304872f19 03:10:42 [Warning] One or more build-args [ARCH] were not consumed 03:10:43 Successfully built 9be304872f19 03:10:43 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 [Pipeline] node 03:10:44 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:10:48 Skipping stage go (already ran) 03:10:48 Staging device-mqtt  03:10:49 Priming go  03:10:50 Priming device-mqtt  03:10:51 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 03:10:51 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 03:10:51 Determining the version from the project repo (version-script). 03:10:51 The version has been set to 'local-dev-20201028+c743e29' 03:10:51 Snapping | Snapping / Snapping - Snapping \ Snapping | 03:10:51 Snapped edgex-device-mqtt_local-dev-20201028+c743e29_amd64.snap [Pipeline] } 03:10:54 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] } 03:10:58 Still waiting to schedule task 03:10:58 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 03:13:42 Running on prd-ubuntu18.04-docker-arm64-16c-16g-9410 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws 03:13:42 Running in /w/workspace/device-mqtt-go/9 [Pipeline] { [Pipeline] checkout 03:13:47 using credential edgex-jenkins-ssh 03:13:47 Cloning the remote Git repository 03:13:47 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:13:47 > git init /w/workspace/device-mqtt-go/9 # timeout=10 03:13:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:13:47 > git --version # timeout=10 03:13:47 > git --version # 'git version 2.17.1' 03:13:47 using GIT_SSH to set credentials SSH Credentials for GitHub 03:13:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:13:48 Merging remotes/origin/master commit 8d03a592335dd56f24d0450c56224a899597e60a into PR head commit c743e293d32291d1f660539e8ac2928644d94691 03:13:48 Merge succeeded, producing c743e293d32291d1f660539e8ac2928644d94691 03:13:48 Checking out Revision c743e293d32291d1f660539e8ac2928644d94691 (PR-170) 03:13:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:13:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:13:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:13:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:13:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:13:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:13:48 > git config core.sparsecheckout # timeout=10 03:13:48 > git checkout -f c743e293d32291d1f660539e8ac2928644d94691 # timeout=10 03:13:48 > git remote # timeout=10 03:13:48 > git config --get remote.origin.url # timeout=10 03:13:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:13:48 > git merge 8d03a592335dd56f24d0450c56224a899597e60a # timeout=10 03:13:48 > git rev-parse HEAD^{commit} # timeout=10 03:13:48 > git config core.sparsecheckout # timeout=10 03:13:48 > git checkout -f c743e293d32291d1f660539e8ac2928644d94691 # timeout=10 03:13:52 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:54 + find /w/workspace/device-mqtt-go/9 03:13:54 + grep snapcraft.yaml 03:13:54 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/9/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:13:54 provisioning config files... 03:13:54 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/9@tmp/config1137909825005233331tmp [Pipeline] { [Pipeline] sh 03:13:54 + cp /w/workspace/device-mqtt-go/9@tmp/config1137909825005233331tmp /w/workspace/device-mqtt-go/9/edgex-snap-store-login [Pipeline] sh 03:13:55 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/9:/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 03:13:56 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 03:13:56 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 03:13:56 237528ba509b: Pulling fs layer 03:13:56 393b96f31d8b: Pulling fs layer 03:13:56 4d82b0e39008: Pulling fs layer 03:13:56 e7ca375b8d34: Pulling fs layer 03:13:56 418f656485bb: Pulling fs layer 03:13:56 aebe8db9254c: Pulling fs layer 03:13:56 4f5f7b207d3f: Pulling fs layer 03:13:56 d19ca6af091a: Pulling fs layer 03:13:56 16b5a0711add: Pulling fs layer 03:13:56 e7ca375b8d34: Waiting 03:13:56 418f656485bb: Waiting 03:13:56 16b5a0711add: Waiting 03:13:56 aebe8db9254c: Waiting 03:13:56 d19ca6af091a: Waiting 03:13:56 4f5f7b207d3f: Waiting 03:13:56 4d82b0e39008: Verifying Checksum 03:13:56 4d82b0e39008: Download complete 03:13:56 393b96f31d8b: Verifying Checksum 03:13:56 393b96f31d8b: Download complete 03:13:56 e7ca375b8d34: Verifying Checksum 03:13:56 e7ca375b8d34: Download complete 03:13:56 aebe8db9254c: Verifying Checksum 03:13:56 aebe8db9254c: Download complete 03:13:56 4f5f7b207d3f: Download complete 03:13:56 d19ca6af091a: Download complete 03:13:56 16b5a0711add: Download complete 03:13:58 237528ba509b: Verifying Checksum 03:13:58 237528ba509b: Download complete 03:14:01 237528ba509b: Pull complete 03:14:01 393b96f31d8b: Pull complete 03:14:02 4d82b0e39008: Pull complete 03:14:02 e7ca375b8d34: Pull complete 03:14:09 418f656485bb: Download complete 03:14:48 418f656485bb: Pull complete 03:14:48 aebe8db9254c: Pull complete 03:14:48 4f5f7b207d3f: Pull complete 03:14:48 d19ca6af091a: Pull complete 03:14:48 16b5a0711add: Pull complete 03:14:48 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 03:14:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 03:14:52 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 03:14:52 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 03:14:52 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 03:14:52 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 03:14:52 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1413 kB] 03:14:53 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5546 B] 03:14:53 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1861 kB] 03:14:53 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2242 B] 03:14:53 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.2 kB] 03:14:53 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB] 03:14:53 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1036 kB] 03:14:53 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2430 B] 03:14:53 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1179 kB] 03:14:53 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1149 B] 03:14:54 Fetched 5774 kB in 2s (2425 kB/s) 03:14:58 Reading package lists... 03:15:10 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 03:15:10 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 03:15:10 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 03:15:10 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 03:15:16 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... 10% Reading package lists... 31% Reading package lists... 52% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 71% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 98% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 03:15:22 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-base perl-modules-5.26 03:15:26 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... 31% Reading package lists... 49% Reading package lists... 66% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 86% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% 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 03:15:26 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 69% Building dependency tree 03:15:26 Reading state information... 0% Reading state information... 0% Reading state information... Done 03:15:27 The following packages were automatically installed and are no longer required: 03:15:27 libjq1 libonig4 03:15:27 Use 'sudo apt autoremove' to remove them. 03:15:27 Suggested packages: 03:15:27 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 03:15:27 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 03:15:27 diffutils-doc perl-doc libterm-readline-gnu-perl 03:15:27 | libterm-readline-perl-perl 03:15:28 The following NEW packages will be installed: 03:15:28 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 03:15:28 libperl5.26 make netbase patch perl perl-modules-5.26 03:15:28 The following packages will be upgraded: 03:15:28 perl-base 03:15:28 1 upgraded, 14 newly installed, 0 to remove and 31 not upgraded. 03:15:28 Need to get 12.0 MB of archives. 03:15:28 After this operation, 73.6 MB of additional disk space will be used. 03:15:28 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-base arm64 5.26.1-6ubuntu0.5 [1237 kB] 03:15:29 0% [1 perl-base 12.6 kB/1237 kB 1%] 4% [1 perl-base 630 kB/1237 kB 51%] 10% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] 03:15:29 10% [2 perl-modules-5.26 7382 B/2762 kB 0%] 29% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 03:15:29 29% [3 libgdbm5 23.1 kB/23.1 kB 100%] 31% [Working] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 03:15:29 31% [4 libgdbm-compat4 0 B/5536 B 0%] 32% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.5 [3335 kB] 03:15:29 32% [5 libperl5.26 28.7 kB/3335 kB 1%] 56% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.5 [201 kB] 03:15:29 56% [6 perl 41.1 kB/201 kB 20%] 58% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 03:15:29 59% [7 less 36.0 kB/99.7 kB 36%] 60% [Working] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 03:15:29 60% [8 netbase 12.7 kB/12.7 kB 100%] 62% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] 03:15:29 62% [9 curl 54.1 kB/152 kB 36%] 64% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 03:15:29 64% [10 libcurl3-gnutls 24.6 kB/179 kB 14%] 67% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 03:15:29 67% [11 liberror-perl 0 B/22.8 kB 0%] 68% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 03:15:29 68% [12 git-man 27.2 kB/804 kB 3%] 75% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 03:15:29 75% [13 git 9887 B/2952 kB 0%] 96% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 03:15:29 96% [14 make 28.7 kB/139 kB 21%] 98% [Working] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 03:15:29 98% [15 patch 64.9 kB/91.8 kB 71%] 100% [Working] Fetched 12.0 MB in 1s (8476 kB/s) 03:15:30 debconf: delaying package configuration, since apt-utils is not installed 03:15:30 (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.) 03:15:30 Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_arm64.deb ... 03:15:30 Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... 03:15:35 Setting up perl-base (5.26.1-6ubuntu0.5) ... 03:15:35 Selecting previously unselected package perl-modules-5.26. 03:15:35 (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.) 03:15:35 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... 03:15:35 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 03:15:36 Selecting previously unselected package libgdbm5:arm64. 03:15:36 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 03:15:36 Unpacking libgdbm5:arm64 (1.14.1-6) ... 03:15:36 Selecting previously unselected package libgdbm-compat4:arm64. 03:15:36 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 03:15:36 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 03:15:36 Selecting previously unselected package libperl5.26:arm64. 03:15:36 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_arm64.deb ... 03:15:36 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... 03:15:38 Selecting previously unselected package perl. 03:15:38 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_arm64.deb ... 03:15:38 Unpacking perl (5.26.1-6ubuntu0.5) ... 03:15:38 Selecting previously unselected package less. 03:15:38 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 03:15:38 Unpacking less (487-0.1) ... 03:15:38 Selecting previously unselected package netbase. 03:15:38 Preparing to unpack .../06-netbase_5.4_all.deb ... 03:15:38 Unpacking netbase (5.4) ... 03:15:38 Selecting previously unselected package curl. 03:15:38 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 03:15:38 Unpacking curl (7.58.0-2ubuntu3.10) ... 03:15:38 Selecting previously unselected package libcurl3-gnutls:arm64. 03:15:38 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 03:15:38 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 03:15:39 Selecting previously unselected package liberror-perl. 03:15:39 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 03:15:39 Unpacking liberror-perl (0.17025-1) ... 03:15:39 Selecting previously unselected package git-man. 03:15:39 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 03:15:39 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 03:15:39 Selecting previously unselected package git. 03:15:39 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 03:15:39 Unpacking git (1:2.17.1-1ubuntu0.7) ... 03:15:40 Selecting previously unselected package make. 03:15:40 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 03:15:40 Unpacking make (4.1-9.1ubuntu1) ... 03:15:40 Selecting previously unselected package patch. 03:15:40 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 03:15:40 Unpacking patch (2.7.6-2ubuntu1.1) ... 03:15:41 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 03:15:41 Setting up less (487-0.1) ... 03:15:41 Setting up make (4.1-9.1ubuntu1) ... 03:15:41 Setting up curl (7.58.0-2ubuntu3.10) ... 03:15:41 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 03:15:41 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 03:15:41 Setting up libgdbm5:arm64 (1.14.1-6) ... 03:15:41 Setting up patch (2.7.6-2ubuntu1.1) ... 03:15:41 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 03:15:41 Setting up netbase (5.4) ... 03:15:41 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... 03:15:41 Setting up perl (5.26.1-6ubuntu0.5) ... 03:15:41 Setting up liberror-perl (0.17025-1) ... 03:15:41 Setting up git (1:2.17.1-1ubuntu0.7) ... 03:15:42 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 03:15:42 Processing triggers for mime-support (3.60ubuntu1) ... 03:15:47 curl set to automatically installed. 03:15:47 git set to automatically installed. 03:15:47 git-man set to automatically installed. 03:15:47 less set to automatically installed. 03:15:47 libcurl3-gnutls set to automatically installed. 03:15:47 liberror-perl set to automatically installed. 03:15:47 libgdbm-compat4 set to automatically installed. 03:15:47 libgdbm5 set to automatically installed. 03:15:47 libperl5.26 set to automatically installed. 03:15:48 make set to automatically installed. 03:15:48 netbase set to automatically installed. 03:15:48 patch set to automatically installed. 03:15:48 perl set to automatically installed. 03:15:48 perl-base set to automatically installed. 03:15:48 perl-modules-5.26 set to automatically installed. 03:15:48 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 03:15:48 Please ensure the environment is properly setup before continuing. 03:15:48 Ignore this message if the appropriate measures have already been taken 03:15:48 Pulling go  03:15:52 'device-mqtt' has dependencies that need to be staged: go 03:15:52 Skipping pull go (already ran) 03:15:52 Building go  03:15:52 % Total % Received % Xferd Average Speed Time Time Time Current 03:15:52 Dload Upload Total Spent Left Speed 03:15:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 36 93.2M 36 34.2M 0 0 33.4M 0 0:00:02 0:00:01 0:00:01 33.4M 85 93.2M 85 79.7M 0 0 39.3M 0 0:00:02 0:00:02 --:--:-- 39.3M 100 93.2M 100 93.2M 0 0 39.1M 0 0:00:02 0:00:02 --:--:-- 39.1M 03:15:55 go1.15.2.linux-arm64.tar.gz: OK 03:16:14 Staging go  03:16:15 Pulling device-mqtt  03:16:19 Skipping build go (already ran) 03:16:19 Building device-mqtt  03:16:19 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 03:16:20 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.4-dev.34 03:16:20 go: downloading github.com/spf13/cast v1.3.1 03:16:20 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.97 03:16:20 go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 03:16:20 go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 03:16:20 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 03:16:20 go: downloading github.com/gorilla/mux v1.7.1 03:16:20 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.50 03:16:20 go: downloading github.com/go-kit/kit v0.8.0 03:16:20 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.25 03:16:20 go: downloading github.com/pkg/errors v0.8.1 03:16:20 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 03:16:20 go: downloading gopkg.in/yaml.v2 v2.3.0 03:16:20 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.23 03:16:20 go: downloading github.com/google/uuid v1.1.2 03:16:20 go: downloading github.com/OneOfOne/xxhash v1.2.8 03:16:20 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.7 03:16:20 go: downloading github.com/hashicorp/consul/api v1.1.0 03:16:20 go: downloading github.com/go-playground/validator/v10 v10.3.0 03:16:20 go: downloading github.com/pelletier/go-toml v1.2.0 03:16:20 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 03:16:20 go: downloading github.com/BurntSushi/toml v0.3.1 03:16:20 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:16:20 go: downloading github.com/x448/float16 v0.8.4 03:16:20 go: downloading github.com/mitchellh/copystructure v1.0.0 03:16:20 go: downloading github.com/mitchellh/mapstructure v1.1.2 03:16:20 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 03:16:21 go: downloading github.com/mitchellh/reflectwalk v1.0.0 03:16:21 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 03:16:21 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 03:16:21 go: downloading github.com/hashicorp/serf v0.8.2 03:16:21 go: downloading github.com/go-playground/universal-translator v0.17.0 03:16:21 go: downloading github.com/leodido/go-urn v1.2.0 03:16:21 go: downloading github.com/go-playground/locales v0.13.0 03:16:21 go: downloading github.com/go-logfmt/logfmt v0.4.0 03:16:21 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:16:21 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 03:16:21 go: downloading github.com/hashicorp/golang-lru v0.5.0 03:16:43 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:16:58 Skipping stage go (already ran) 03:16:58 Staging device-mqtt  03:17:00 Priming go  03:17:03 Priming device-mqtt  03:17:07 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 03:17:07 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 03:17:07 Determining the version from the project repo (version-script). 03:17:07 The version has been set to 'local-dev-20201028+c743e29' 03:17:08 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | 03:17:08 Snapped edgex-device-mqtt_local-dev-20201028+c743e29_arm64.snap [Pipeline] } 03:17:10 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 03:17:12 provisioning config files... 03:17:12 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/config7433806275089712821tmp [Pipeline] { [Pipeline] sh 03:17:12 + set +x 03:17:12 + curl -s https://codecov.io/bash 03:17:12 + bash -s -- 03:17:13 03:17:13 _____ _ 03:17:13 / ____| | | 03:17:13 | | ___ __| | ___ ___ _____ __ 03:17:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:17:13 | |___| (_) | (_| | __/ (_| (_) \ V / 03:17:13 \_____\___/ \__,_|\___|\___\___/ \_/ 03:17:13 Bash-20201009-048fee3 03:17:13 03:17:13 03:17:13 ==> Jenkins CI detected. 03:17:13 project root: . 03:17:13 --> token set from env 03:17:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:17:13 ==> Running gcov in . (disable via -X gcov) 03:17:13 ==> Python coveragepy not found 03:17:13 ==> Searching for coverage reports in: 03:17:13 + . 03:17:13 -> Found 1 reports 03:17:13 ==> Detecting git/mercurial file structure 03:17:13 ==> Reading reports 03:17:13 + ./coverage.out bytes=18939 03:17:13 ==> Appending adjustments 03:17:13 https://docs.codecov.io/docs/fixing-reports 03:17:13 + Found adjustments 03:17:13 ==> Gzipping contents 03:17:13 ==> Uploading reports 03:17:13 url: https://codecov.io 03:17:13 query: branch=PR-170&commit=c743e293d32291d1f660539e8ac2928644d94691&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-170%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=170&job=&cmd_args= 03:17:13 -> Pinging Codecov 03:17:13 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-170&commit=c743e293d32291d1f660539e8ac2928644d94691&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-170%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=170&job=&cmd_args= 03:17:13 -> Uploading to 03:17:13 03:17:13 % Total % Received % Xferd Average Speed Time Time Time Current 03:17:13 Dload Upload Total Spent Left Speed 03:17:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 03:17:13 X> Failed to upload 03:17:13 ==> Uploading to Codecov 03:17:13 % Total % Received % Xferd Average Speed Time Time Time Current 03:17:13 Dload Upload Total Spent Left Speed 03:17:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3358 100 111 100 3247 172 5040 --:--:-- --:--:-- --:--:-- 5034 03:17:14 View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/c743e293d32291d1f660539e8ac2928644d94691 [Pipeline] } 03:17:14 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] { (Archive Prep) Stage "Archive Prep" 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 03:17:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:17:17 ---> package-listing.sh 03:17:17 ++ facter osfamily 03:17:17 ++ tr '[:upper:]' '[:lower:]' 03:17:17 + OS_FAMILY=redhat 03:17:17 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-170 03:17:17 + START_PACKAGES=/tmp/packages_start.txt 03:17:17 + END_PACKAGES=/tmp/packages_end.txt 03:17:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:17:17 + PACKAGES=/tmp/packages_start.txt 03:17:17 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-170 ']' 03:17:17 + PACKAGES=/tmp/packages_end.txt 03:17:17 + case "${OS_FAMILY}" in 03:17:17 + rpm -qa 03:17:17 + sort 03:17:21 + '[' -f /tmp/packages_start.txt ']' 03:17:21 + '[' -f /tmp/packages_end.txt ']' 03:17:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:17:21 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-170 ']' 03:17:21 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-170/archives/ 03:17:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-170/archives/ [Pipeline] echo 03:17:21 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:17:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:17:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:17:22 03:17:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:17:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:17:22 alpine: Pulling from edgex-lftools-log-publisher 03:17:22 df20fa9351a1: Pulling fs layer 03:17:22 36b3adc4ff6f: Pulling fs layer 03:17:22 8ad3a11d3b57: Pulling fs layer 03:17:22 46f8f816bc3b: Pulling fs layer 03:17:22 93b61091891f: Pulling fs layer 03:17:22 93b9cdb0e59b: Pulling fs layer 03:17:22 5e14af77c1be: Pulling fs layer 03:17:22 01666e4c0597: Pulling fs layer 03:17:22 aa168da1d23b: Pulling fs layer 03:17:22 46f8f816bc3b: Waiting 03:17:22 93b61091891f: Waiting 03:17:22 93b9cdb0e59b: Waiting 03:17:22 5e14af77c1be: Waiting 03:17:22 01666e4c0597: Waiting 03:17:22 aa168da1d23b: Waiting 03:17:22 36b3adc4ff6f: Verifying Checksum 03:17:22 36b3adc4ff6f: Download complete 03:17:22 46f8f816bc3b: Verifying Checksum 03:17:22 46f8f816bc3b: Download complete 03:17:22 df20fa9351a1: Verifying Checksum 03:17:22 df20fa9351a1: Download complete 03:17:22 93b61091891f: Verifying Checksum 03:17:22 93b61091891f: Download complete 03:17:22 93b9cdb0e59b: Verifying Checksum 03:17:22 93b9cdb0e59b: Download complete 03:17:22 5e14af77c1be: Verifying Checksum 03:17:22 5e14af77c1be: Download complete 03:17:22 01666e4c0597: Download complete 03:17:23 df20fa9351a1: Pull complete 03:17:23 36b3adc4ff6f: Pull complete 03:17:23 8ad3a11d3b57: Verifying Checksum 03:17:23 8ad3a11d3b57: Download complete 03:17:24 8ad3a11d3b57: Pull complete 03:17:24 46f8f816bc3b: Pull complete 03:17:25 93b61091891f: Pull complete 03:17:25 93b9cdb0e59b: Pull complete 03:17:25 5e14af77c1be: Pull complete 03:17:25 aa168da1d23b: Verifying Checksum 03:17:25 aa168da1d23b: Download complete 03:17:25 01666e4c0597: Pull complete 03:17:31 aa168da1d23b: Pull complete 03:17:31 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:17:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:17:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:17:32 prd-centos7-docker-4c-2g-9382 does not seem to be running inside a container 03:17:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-170 -v /w/workspace/gexfoundry_device-mqtt-go_PR-170:/w/workspace/gexfoundry_device-mqtt-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-170@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:17:38 $ docker top bf61d7382cfd50f911a19d0a5d70843481b28be721b3c4fe4b24ed2311c0499a -eo pid,comm [Pipeline] { [Pipeline] sh 03:17:38 + touch /tmp/pre-build-complete [Pipeline] sh 03:17:39 + mkdir -p /var/log/sa [Pipeline] sh 03:17:39 + ls /var/log/sa-host 03:17:39 + sadf -c /var/log/sa-host/sa05 03:17:39 file_magic: OK 03:17:39 HZ: Using current value: 100 03:17:39 file_header: OK 03:17:39 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 03:17:39 Statistics: 03:17:39 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:17:39 File successfully converted to sysstat format version 12.2.1 03:17:39 + sadf -c /var/log/sa-host/sa28 03:17:39 file_magic: OK 03:17:39 HZ: Using current value: 100 03:17:39 file_header: OK 03:17:39 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 03:17:39 Statistics: 03:17:39 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... 03:17:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:39 provisioning config files... 03:17:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/config8298577889863734231tmp [Pipeline] { [Pipeline] echo 03:17:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:17:40 ---> create-netrc.sh [Pipeline] } 03:17:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:17:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:17:40 ---> python-tools-install.sh [Pipeline] echo 03:17:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:17:40 ---> sudo-logs.sh 03:17:40 Archiving 'sudo' log.. [Pipeline] echo 03:17:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:17:41 ---> job-cost.sh 03:17:41 lf-activate-venv: SKIPPING 03:17:41 INFO: No Stack... 03:17:42 INFO: Retrieving Pricing Info for: v1-standard-2 03:17:42 INFO: Archiving Costs [Pipeline] echo 03:17:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:17:42 ---> logs-deploy.sh 03:17:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-170/9 03:17:42 INFO: archiving workspace using pattern(s): 03:17:44 Archives upload complete. 03:17:44 INFO: archiving logs to Nexus 03:17:45 ---> uname -a: 03:17:45 Linux prd-centos7-docker-4c-2g-9382.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 03:17:45 03:17:45 03:17:45 ---> lscpu: 03:17:45 Architecture: x86_64 03:17:45 CPU op-mode(s): 32-bit, 64-bit 03:17:45 Byte Order: Little Endian 03:17:45 Address sizes: 40 bits physical, 48 bits virtual 03:17:45 CPU(s): 4 03:17:45 On-line CPU(s) list: 0-3 03:17:45 Thread(s) per core: 1 03:17:45 Core(s) per socket: 1 03:17:45 Socket(s): 4 03:17:45 NUMA node(s): 1 03:17:45 Vendor ID: GenuineIntel 03:17:45 CPU family: 6 03:17:45 Model: 44 03:17:45 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 03:17:45 Stepping: 1 03:17:45 CPU MHz: 2933.436 03:17:45 BogoMIPS: 5866.87 03:17:45 Virtualization: VT-x 03:17:45 Hypervisor vendor: KVM 03:17:45 Virtualization type: full 03:17:45 L1d cache: 128 KiB 03:17:45 L1i cache: 128 KiB 03:17:45 L2 cache: 16 MiB 03:17:45 L3 cache: 64 MiB 03:17:45 NUMA node0 CPU(s): 0-3 03:17:45 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 03:17:45 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 03:17:45 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 03:17:45 Vulnerability Meltdown: Mitigation; PTI 03:17:45 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:17:45 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:17:45 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:17:45 Vulnerability Tsx async abort: Not affected 03:17:45 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 03:17:45 03:17:45 03:17:45 ---> nproc: 03:17:45 4 03:17:45 03:17:45 03:17:45 ---> df -h: 03:17:45 Filesystem Size Used Available Use% Mounted on 03:17:45 overlay 50.0G 7.2G 42.8G 14% / 03:17:45 tmpfs 64.0M 0 64.0M 0% /dev 03:17:45 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 03:17:45 shm 64.0M 0 64.0M 0% /dev/shm 03:17:45 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 03:17:45 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 03:17:45 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 03:17:45 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 03:17:45 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp 03:17:45 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 03:17:45 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 03:17:45 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 03:17:45 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 03:17:45 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/gexfoundry_device-mqtt-go_PR-170 03:17:45 03:17:45 03:17:45 ---> free -m: 03:17:45 total used free shared buff/cache available 03:17:45 Mem: 1837 694 114 0 1028 1040 03:17:45 Swap: 1023 0 1023 03:17:45 03:17:45 03:17:45 ---> ip addr: 03:17:45 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 03:17:45 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:17:45 inet 127.0.0.1/8 scope host lo 03:17:45 valid_lft forever preferred_lft forever 03:17:45 inet6 ::1/128 scope host 03:17:45 valid_lft forever preferred_lft forever 03:17:45 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 03:17:45 link/ether fa:16:3e:c8:4d:b6 brd ff:ff:ff:ff:ff:ff 03:17:45 inet 10.30.122.134/23 brd 10.30.123.255 scope global dynamic eth0 03:17:45 valid_lft 85540sec preferred_lft 85540sec 03:17:45 inet6 fe80::f816:3eff:fec8:4db6/64 scope link 03:17:45 valid_lft forever preferred_lft forever 03:17:45 3: docker0: mtu 1500 qdisc noqueue state DOWN 03:17:45 link/ether 02:42:36:1f:71:fa brd ff:ff:ff:ff:ff:ff 03:17:45 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 03:17:45 valid_lft forever preferred_lft forever 03:17:45 inet6 fe80::42:36ff:fe1f:71fa/64 scope link 03:17:45 valid_lft forever preferred_lft forever 03:17:45 03:17:45 03:17:45 ---> sar -b -r -n DEV: 03:17:45 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/28/20 _x86_64_ (4 CPU) 03:17:45 03:17:45 03:03:02 LINUX RESTART (4 CPU) 03:17:45 03:17:45 03:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:17:45 03:05:01 28.88 12.26 16.62 0.00 4498.29 2122.36 0.00 03:17:45 03:06:01 1.65 0.00 1.65 0.00 0.00 26.70 0.00 03:17:45 03:07:01 0.32 0.00 0.32 0.00 0.00 5.49 0.00 03:17:45 03:08:01 0.33 0.00 0.33 0.00 0.00 5.33 0.00 03:17:45 03:09:01 0.30 0.00 0.30 0.00 0.00 4.23 0.00 03:17:45 03:10:01 0.37 0.02 0.35 0.00 0.13 5.41 0.00 03:17:45 03:11:01 0.35 0.00 0.35 0.00 0.00 5.33 0.00 03:17:45 03:12:01 0.28 0.00 0.28 0.00 0.00 3.76 0.00 03:17:45 03:13:01 0.40 0.00 0.40 0.00 0.00 5.71 0.00 03:17:45 03:14:01 0.30 0.00 0.30 0.00 0.00 5.08 0.00 03:17:45 03:15:02 0.28 0.00 0.28 0.00 0.00 3.90 0.00 03:17:45 03:16:01 0.32 0.00 0.32 0.00 0.00 5.89 0.00 03:17:45 03:17:01 0.22 0.00 0.22 0.00 0.00 2.22 0.00 03:17:45 Average: 2.62 0.95 1.67 0.00 346.75 169.68 0.00 03:17:45 03:17:45 03:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:17:45 03:05:01 159176 0 596704 31.71 2620 1123056 1124320 38.37 449272 1113740 16 03:17:45 03:06:01 160060 0 595816 31.67 2620 1123060 1117720 38.15 451336 1111384 12 03:17:45 03:07:01 160972 0 594896 31.62 2620 1123068 1107464 37.80 451220 1110792 8 03:17:45 03:08:01 159316 0 596552 31.71 2620 1123068 1107476 37.80 453316 1110196 8 03:17:45 03:09:01 161116 0 594744 31.61 2620 1123076 1095128 37.37 457412 1104528 16 03:17:45 03:10:01 161756 0 594096 31.57 2620 1123084 1090776 37.23 457148 1104412 12 03:17:45 03:11:01 163092 0 592752 31.50 2620 1123092 1081524 36.91 456380 1104132 8 03:17:45 03:12:01 162084 0 593756 31.56 2620 1123096 1081736 36.92 449748 1112164 16 03:17:45 03:13:01 162684 0 593148 31.52 2620 1123104 1081644 36.91 449164 1112168 12 03:17:45 03:14:01 162328 0 593500 31.54 2620 1123108 1081632 36.91 446960 1114284 8 03:17:45 03:15:02 161844 0 593984 31.57 2620 1123108 1081740 36.92 447568 1114284 8 03:17:45 03:16:01 163040 0 592780 31.50 2620 1123116 1081524 36.91 446380 1114284 8 03:17:45 03:17:01 163000 0 592816 31.51 2620 1123120 1081524 36.91 446508 1114284 8 03:17:45 Average: 161574 0 594273 31.58 2620 1123089 1093401 37.32 450955 1110819 11 03:17:45 03:17:45 03:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:17:45 03:05:01 eth0 150.34 104.01 451.27 43.07 0.00 0.00 0.00 0.00 03:17:45 03:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:05:01 docker0 1.71 1.75 0.34 3.73 0.00 0.00 0.00 0.00 03:17:45 03:06:01 eth0 4.69 1.02 1.33 0.75 0.00 0.00 0.00 0.00 03:17:45 03:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:07:01 eth0 5.36 1.17 1.51 0.88 0.00 0.00 0.00 0.00 03:17:45 03:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:08:01 eth0 4.18 1.38 1.36 0.78 0.00 0.00 0.00 0.00 03:17:45 03:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:09:01 eth0 2.93 0.62 0.84 0.49 0.00 0.00 0.00 0.00 03:17:45 03:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:10:01 eth0 1.17 0.65 0.56 0.41 0.00 0.00 0.00 0.00 03:17:45 03:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:11:01 eth0 0.18 0.07 0.01 0.01 0.00 0.00 0.00 0.00 03:17:45 03:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:12:01 eth0 1.77 0.43 0.39 0.21 0.00 0.00 0.00 0.00 03:17:45 03:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:13:01 eth0 1.20 0.30 0.33 0.17 0.00 0.00 0.00 0.00 03:17:45 03:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:14:01 eth0 1.30 0.42 0.46 0.30 0.00 0.00 0.00 0.00 03:17:45 03:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:15:02 eth0 0.42 0.37 0.26 0.20 0.00 0.00 0.00 0.00 03:17:45 03:15:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:15:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:16:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:17:45 03:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:17:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:17:45 03:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 03:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 Average: eth0 13.39 8.52 35.33 3.64 0.00 0.00 0.00 0.00 03:17:45 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:17:45 Average: docker0 0.13 0.13 0.03 0.29 0.00 0.00 0.00 0.00 03:17:45 03:17:45 03:17:45 ---> sar -P ALL: 03:17:45 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/28/20 _x86_64_ (4 CPU) 03:17:45 03:17:45 03:03:02 LINUX RESTART (4 CPU) 03:17:45 03:17:45 03:04:01 CPU %user %nice %system %iowait %steal %idle 03:17:45 03:05:01 all 3.47 0.00 2.10 0.57 0.35 93.51 03:17:45 03:05:01 0 3.77 0.00 2.30 0.08 0.29 93.56 03:17:45 03:05:01 1 3.70 0.00 2.50 0.99 0.30 92.50 03:17:45 03:05:01 2 2.63 0.00 1.78 0.10 0.37 95.12 03:17:45 03:05:01 3 3.78 0.00 1.83 1.11 0.44 92.85 03:17:45 03:06:01 all 0.16 0.00 0.05 0.00 0.15 99.63 03:17:45 03:06:01 0 0.47 0.00 0.03 0.00 0.10 99.40 03:17:45 03:06:01 1 0.07 0.00 0.08 0.00 0.27 99.58 03:17:45 03:06:01 2 0.08 0.00 0.07 0.00 0.15 99.70 03:17:45 03:06:01 3 0.03 0.00 0.03 0.00 0.08 99.85 03:17:45 03:07:01 all 0.20 0.00 0.05 0.00 0.07 99.68 03:17:45 03:07:01 0 0.52 0.00 0.08 0.00 0.08 99.32 03:17:45 03:07:01 1 0.13 0.00 0.03 0.00 0.08 99.75 03:17:45 03:07:01 2 0.10 0.00 0.05 0.00 0.03 99.82 03:17:45 03:07:01 3 0.07 0.00 0.03 0.00 0.07 99.83 03:17:45 03:08:01 all 0.15 0.00 0.04 0.00 0.10 99.71 03:17:45 03:08:01 0 0.32 0.00 0.03 0.00 0.03 99.62 03:17:45 03:08:01 1 0.03 0.00 0.05 0.00 0.12 99.80 03:17:45 03:08:01 2 0.08 0.00 0.03 0.00 0.10 99.78 03:17:45 03:08:01 3 0.17 0.00 0.05 0.00 0.15 99.63 03:17:45 03:09:01 all 0.18 0.00 0.07 0.00 0.01 99.73 03:17:45 03:09:01 0 0.03 0.00 0.05 0.00 0.00 99.92 03:17:45 03:09:01 1 0.37 0.00 0.18 0.00 0.00 99.45 03:17:45 03:09:01 2 0.08 0.00 0.05 0.00 0.03 99.83 03:17:45 03:09:01 3 0.23 0.00 0.02 0.00 0.02 99.73 03:17:45 03:10:01 all 0.15 0.00 0.05 0.00 0.02 99.78 03:17:45 03:10:01 0 0.03 0.00 0.05 0.00 0.02 99.90 03:17:45 03:10:01 1 0.53 0.00 0.05 0.00 0.05 99.37 03:17:45 03:10:01 2 0.03 0.00 0.05 0.00 0.00 99.92 03:17:45 03:10:01 3 0.02 0.00 0.05 0.00 0.00 99.93 03:17:45 03:11:01 all 0.16 0.00 0.05 0.00 0.00 99.79 03:17:45 03:11:01 0 0.47 0.00 0.03 0.00 0.00 99.50 03:17:45 03:11:01 1 0.08 0.00 0.07 0.00 0.00 99.85 03:17:45 03:11:01 2 0.07 0.00 0.05 0.00 0.00 99.88 03:17:45 03:11:01 3 0.03 0.00 0.03 0.00 0.00 99.93 03:17:45 03:12:01 all 0.16 0.00 0.03 0.00 0.01 99.80 03:17:45 03:12:01 0 0.52 0.00 0.02 0.00 0.00 99.47 03:17:45 03:12:01 1 0.03 0.00 0.03 0.00 0.00 99.93 03:17:45 03:12:01 2 0.03 0.00 0.02 0.00 0.02 99.93 03:17:45 03:12:01 3 0.05 0.00 0.05 0.00 0.02 99.88 03:17:45 03:13:01 all 0.16 0.00 0.04 0.00 0.00 99.80 03:17:45 03:13:01 0 0.48 0.00 0.02 0.00 0.00 99.50 03:17:45 03:13:01 1 0.08 0.00 0.07 0.00 0.00 99.85 03:17:45 03:13:01 2 0.03 0.00 0.03 0.00 0.00 99.93 03:17:45 03:13:01 3 0.03 0.00 0.03 0.02 0.02 99.90 03:17:45 03:14:01 all 0.15 0.00 0.05 0.00 0.01 99.80 03:17:45 03:14:01 0 0.17 0.00 0.03 0.00 0.02 99.78 03:17:45 03:14:01 1 0.10 0.00 0.07 0.00 0.02 99.82 03:17:45 03:14:01 2 0.28 0.00 0.07 0.00 0.00 99.65 03:17:45 03:14:01 3 0.03 0.00 0.02 0.00 0.00 99.95 03:17:45 03:15:02 all 0.07 0.00 0.04 0.00 0.00 99.89 03:17:45 03:15:02 0 0.05 0.00 0.03 0.00 0.00 99.92 03:17:45 03:15:02 1 0.10 0.00 0.07 0.00 0.00 99.83 03:17:45 03:15:02 2 0.07 0.00 0.02 0.00 0.00 99.92 03:17:45 03:15:02 3 0.07 0.00 0.03 0.00 0.00 99.90 03:17:45 03:17:45 03:15:02 CPU %user %nice %system %iowait %steal %idle 03:17:45 03:16:01 all 0.15 0.00 0.04 0.00 0.00 99.81 03:17:45 03:16:01 0 0.02 0.00 0.03 0.00 0.00 99.95 03:17:45 03:16:01 1 0.52 0.00 0.03 0.00 0.00 99.44 03:17:45 03:16:01 2 0.03 0.00 0.03 0.00 0.00 99.93 03:17:45 03:16:01 3 0.03 0.00 0.05 0.00 0.00 99.92 03:17:45 03:17:01 all 0.15 0.00 0.04 0.00 0.00 99.81 03:17:45 03:17:01 0 0.02 0.00 0.05 0.00 0.00 99.93 03:17:45 03:17:01 1 0.52 0.00 0.02 0.00 0.00 99.47 03:17:45 03:17:01 2 0.03 0.00 0.03 0.00 0.00 99.93 03:17:45 03:17:01 3 0.03 0.00 0.05 0.00 0.00 99.92 03:17:45 Average: all 0.41 0.00 0.20 0.04 0.05 99.29 03:17:45 Average: 0 0.53 0.00 0.21 0.01 0.04 99.22 03:17:45 Average: 1 0.48 0.00 0.25 0.08 0.06 99.13 03:17:45 Average: 2 0.27 0.00 0.17 0.01 0.05 99.49 03:17:45 Average: 3 0.35 0.00 0.17 0.09 0.06 99.33 03:17:45 03:17:45 03:17:45