Pull request #549 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f6f378ce2de4db4358964e2231070cc37d677ccd+f17d1be1b4849550bf30592997a90b8c252fbe34 (d7e9a2b45ffe71becea49dca602d959a021a6d25) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 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 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 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 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 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 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 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 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 # timeout=10 Commit message: "Merge pull request #218 from ernestojeda/add-geneva-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-881 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-549 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit f6f378ce2de4db4358964e2231070cc37d677ccd Merge succeeded, producing f6f378ce2de4db4358964e2231070cc37d677ccd Checking out Revision f6f378ce2de4db4358964e2231070cc37d677ccd (PR-549) > git config core.sparsecheckout # timeout=10 > git checkout -f f6f378ce2de4db4358964e2231070cc37d677ccd # 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 f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6f378ce2de4db4358964e2231070cc37d677ccd # timeout=10 Commit message: "fix the requested changes in PR" > git rev-list --no-walk bf385af27ee6cdebb8cb1b80710fc8902eff977f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:22:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:22:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:22:20 ========================================================= 17:22:20 EdgeX Global Pipelines Version Info 17:22:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:22:21 ------------------- 17:22:21 stable info: 17:22:21 ------------------- 17:22:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:22:21 Commit SHA: 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 17:22:21 Message: update stable to v1.0.105 17:22:22 ------------------- 17:22:22 experimental info: 17:22:22 ------------------- 17:22:22 Commited By: **** collab-it+edgex@linuxfoundation.org 17:22:22 Commit SHA: 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 17:22:22 Message: update experimental to v1.0.105 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:24 + git log --format=format:%s -1 f6f378ce2de4db4358964e2231070cc37d677ccd [Pipeline] echo 17:22:24 GIT_COMMIT: f6f378ce2de4db4358964e2231070cc37d677ccd, Commit Message: fix the requested changes in PR [Pipeline] echo 17:22:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:22:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:22:25 17:22:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:22:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:22:25 latest: Pulling from edgex-devops/git-semver 17:22:25 31603596830f: Pulling fs layer 17:22:25 2a8b12db71e7: Pulling fs layer 17:22:25 6ca5941a6612: Pulling fs layer 17:22:25 ecc8261a40a4: Pulling fs layer 17:22:25 ecc8261a40a4: Waiting 17:22:25 2a8b12db71e7: Verifying Checksum 17:22:25 2a8b12db71e7: Download complete 17:22:25 31603596830f: Verifying Checksum 17:22:25 31603596830f: Download complete 17:22:26 ecc8261a40a4: Verifying Checksum 17:22:26 ecc8261a40a4: Download complete 17:22:26 6ca5941a6612: Verifying Checksum 17:22:26 6ca5941a6612: Download complete 17:22:26 31603596830f: Pull complete 17:22:26 2a8b12db71e7: Pull complete 17:22:27 6ca5941a6612: Pull complete 17:22:27 ecc8261a40a4: Pull complete 17:22:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:22:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:22:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:22:27 prd-centos7-docker-4c-2g-881 does not seem to be running inside a container 17:22:27 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-549 -v /w/workspace/dgexfoundry_device-sdk-go_PR-549:/w/workspace/dgexfoundry_device-sdk-go_PR-549:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-549@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 17:22:29 $ docker top 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:22:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:29 [ssh-agent] Looking for ssh-agent implementation... 17:22:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:29 $ docker exec 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 ssh-agent 17:22:29 SSH_AUTH_SOCK=/tmp/ssh-wUzc4Cz4CnR5/agent.11 17:22:29 SSH_AGENT_PID=16 17:22:29 Running ssh-add (command line suppressed) 17:22:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_8627738492906974240.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_8627738492906974240.key) 17:22:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:30 + git describe --exact-match --tags HEAD 17:22:30 fatal: No names found, cannot describe anything. [Pipeline] } 17:22:30 $ docker exec --env ******** --env ******** 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 ssh-agent -k 17:22:30 unset SSH_AUTH_SOCK; 17:22:30 unset SSH_AGENT_PID; 17:22:30 echo Agent pid 16 killed; 17:22:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 17:22:30 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 17:22:30 This usually means this commit has not been tagged. [Pipeline] sshagent 17:22:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:30 [ssh-agent] Looking for ssh-agent implementation... 17:22:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:30 $ docker exec 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 ssh-agent 17:22:31 SSH_AUTH_SOCK=/tmp/ssh-KBXzQwUfzMYq/agent.44 17:22:31 SSH_AGENT_PID=49 17:22:31 Running ssh-add (command line suppressed) 17:22:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_3723582222262075207.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_3723582222262075207.key) 17:22:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:31 + git semver init 17:22:31 # -> Open(): unable to determine branch for HEAD 17:22:31 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.git 17:22:31 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-549 17:22:31 # $SEMVER_REMOTE_NAME = origin 17:22:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:22:31 # $SEMVER_USER_NAME = edgex-jenkins 17:22:31 # $SEMVER_BRANCH = PR-549 17:22:31 # $SEMVER_TEMP = /tmp/semver-392709007 17:22:31 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 17:22:32 # '/tmp/semver-392709007' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver' 17:22:32 # -> Force: false 17:22:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver [Pipeline] } 17:22:32 $ docker exec --env ******** --env ******** 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 ssh-agent -k 17:22:32 unset SSH_AUTH_SOCK; 17:22:32 unset SSH_AGENT_PID; 17:22:32 echo Agent pid 49 killed; 17:22:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:22:33 + git semver [Pipeline] } 17:22:33 $ docker stop --time=1 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 17:22:34 $ docker rm -f 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 17:22:35 Stashed 24 file(s) [Pipeline] echo 17:22:35 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 17:22:35 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 17:22:50 Still waiting to schedule task 17:22:50 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:22:50 Still waiting to schedule task 17:22:50 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-879’ 17:24:20 Running on prd-centos7-docker-4c-2g-882 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws 17:24:20 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 17:24:22 using credential edgex-jenkins-ssh 17:24:22 Cloning the remote Git repository 17:24:22 Cloning with configured refspecs honoured and without tags 17:24:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:24:23 > git init /w/workspace/device-sdk-go/6 # timeout=10 17:24:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:24:23 > git --version # timeout=10 17:24:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:24:23 Fetching without tags 17:24:24 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit f6f378ce2de4db4358964e2231070cc37d677ccd 17:24:24 Merge succeeded, producing f6f378ce2de4db4358964e2231070cc37d677ccd 17:24:24 Checking out Revision f6f378ce2de4db4358964e2231070cc37d677ccd (PR-549) 17:24:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:24:23 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 17:24:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:24:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:24:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:24:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:24:24 > git config core.sparsecheckout # timeout=10 17:24:24 > git checkout -f f6f378ce2de4db4358964e2231070cc37d677ccd # timeout=10 17:24:24 > git remote # timeout=10 17:24:24 > git config --get remote.origin.url # timeout=10 17:24:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:24 > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 17:24:24 > git rev-parse HEAD^{commit} # timeout=10 17:24:24 > git config core.sparsecheckout # timeout=10 17:24:24 > git checkout -f f6f378ce2de4db4358964e2231070cc37d677ccd # timeout=10 17:24:27 Commit message: "fix the requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:24:28 ========================================================= 17:24:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 17:24:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:24:29 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 17:24:30 Sending build context to Docker daemon 3.092MB 17:24:30 Step 1/8 : ARG BASE=golang:1.13-alpine 17:24:30 Step 2/8 : FROM ${BASE} 17:24:30 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 17:24:30 df20fa9351a1: Pulling fs layer 17:24:30 ed8968b2872e: Pulling fs layer 17:24:30 a92cc7c5fd73: Pulling fs layer 17:24:30 2dd03ba5bac4: Pulling fs layer 17:24:30 1e091d79d1de: Pulling fs layer 17:24:30 481702a1767f: Pulling fs layer 17:24:30 f64a6f60c768: Pulling fs layer 17:24:30 e78d2573fc39: Pulling fs layer 17:24:30 e876d2f968b6: Pulling fs layer 17:24:30 ce8a83651883: Pulling fs layer 17:24:30 07967f4d0e4b: Pulling fs layer 17:24:30 2dd03ba5bac4: Waiting 17:24:30 1e091d79d1de: Waiting 17:24:30 481702a1767f: Waiting 17:24:30 f64a6f60c768: Waiting 17:24:30 e78d2573fc39: Waiting 17:24:30 e876d2f968b6: Waiting 17:24:30 ce8a83651883: Waiting 17:24:30 07967f4d0e4b: Waiting 17:24:30 a92cc7c5fd73: Verifying Checksum 17:24:30 a92cc7c5fd73: Download complete 17:24:30 ed8968b2872e: Verifying Checksum 17:24:30 ed8968b2872e: Download complete 17:24:30 1e091d79d1de: Verifying Checksum 17:24:30 1e091d79d1de: Download complete 17:24:30 481702a1767f: Verifying Checksum 17:24:30 481702a1767f: Download complete 17:24:30 df20fa9351a1: Verifying Checksum 17:24:30 df20fa9351a1: Download complete 17:24:30 df20fa9351a1: Pull complete 17:24:30 ed8968b2872e: Pull complete 17:24:31 f64a6f60c768: Verifying Checksum 17:24:31 f64a6f60c768: Download complete 17:24:31 e876d2f968b6: Verifying Checksum 17:24:31 e876d2f968b6: Download complete 17:24:31 2dd03ba5bac4: Verifying Checksum 17:24:31 2dd03ba5bac4: Download complete 17:24:32 07967f4d0e4b: Verifying Checksum 17:24:32 07967f4d0e4b: Download complete 17:24:32 e78d2573fc39: Verifying Checksum 17:24:32 e78d2573fc39: Download complete 17:24:32 ce8a83651883: Verifying Checksum 17:24:32 ce8a83651883: Download complete 17:24:33 a92cc7c5fd73: Pull complete 17:24:39 2dd03ba5bac4: Pull complete 17:24:39 1e091d79d1de: Pull complete 17:24:39 481702a1767f: Pull complete 17:24:46 f64a6f60c768: Pull complete 17:24:48 e78d2573fc39: Pull complete 17:24:48 e876d2f968b6: Pull complete 17:24:49 ce8a83651883: Pull complete 17:24:50 07967f4d0e4b: Pull complete 17:24:50 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 17:24:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 17:24:50 ---> 5d7c900382c6 17:24:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:24:51 ---> Running in d315d3694130 17:24:51 Removing intermediate container d315d3694130 17:24:51 ---> a4f977cf93d3 17:24:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:24:51 ---> Running in 992d9b998d1f 17:24:52 Removing intermediate container 992d9b998d1f 17:24:52 ---> 4ae86ca6c5c9 17:24:52 Step 5/8 : RUN apk add --no-cache make git 17:24:52 ---> Running in 9dd85575afc6 17:24:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:24:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:24:54 OK: 166 MiB in 39 packages 17:24:55 Removing intermediate container 9dd85575afc6 17:24:55 ---> b1d542a46ad2 17:24:55 Step 6/8 : WORKDIR /device-sdk-go 17:24:55 ---> Running in 455e51fc14db 17:24:55 Removing intermediate container 455e51fc14db 17:24:55 ---> e12f253ef4aa 17:24:55 Step 7/8 : COPY . . 17:24:56 ---> 87ced38a005b 17:24:56 Step 8/8 : RUN go mod download 17:24:56 ---> Running in cc1a0ba127d1 17:24:58 go: finding github.com/BurntSushi/toml v0.3.1 17:24:58 go: finding github.com/OneOfOne/xxhash v1.2.6 17:24:58 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:24:58 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:24:58 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:24:58 go: finding github.com/bgentry/speakeasy v0.1.0 17:24:58 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:24:58 go: finding github.com/davecgh/go-spew v1.1.1 17:24:58 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 17:24:58 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:24:58 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 17:24:58 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 17:24:58 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:24:58 go: finding github.com/fatih/color v1.7.0 17:24:58 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:24:58 go: finding github.com/go-kit/kit v0.8.0 17:24:59 go: finding github.com/go-logfmt/logfmt v0.4.0 17:24:59 go: finding github.com/go-stack/stack v1.8.0 17:24:59 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:24:59 go: finding github.com/google/uuid v1.1.0 17:24:59 go: finding github.com/gorilla/mux v1.7.1 17:24:59 go: finding github.com/hashicorp/consul/api v1.1.0 17:24:59 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:24:59 go: finding github.com/hashicorp/errwrap v1.0.0 17:24:59 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:24:59 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:24:59 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:24:59 go: finding github.com/hashicorp/go-multierror v1.0.0 17:24:59 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:24:59 go: finding github.com/hashicorp/go-sockaddr v1.0.0 17:24:59 go: finding github.com/hashicorp/go-syslog v1.0.0 17:24:59 go: finding github.com/hashicorp/go-uuid v1.0.1 17:24:59 go: finding github.com/hashicorp/go.net v0.0.1 17:24:59 go: finding github.com/hashicorp/golang-lru v0.5.0 17:24:59 go: finding github.com/hashicorp/logutils v1.0.0 17:24:59 go: finding github.com/hashicorp/mdns v1.0.0 17:24:59 go: finding github.com/hashicorp/memberlist v0.1.3 17:24:59 go: finding github.com/hashicorp/serf v0.8.2 17:24:59 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:24:59 go: finding github.com/mattn/go-colorable v0.0.9 17:24:59 go: finding github.com/mattn/go-isatty v0.0.3 17:24:59 go: finding github.com/miekg/dns v1.0.14 17:24:59 go: finding github.com/mitchellh/cli v1.0.0 17:24:59 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:24:59 go: finding github.com/mitchellh/copystructure v1.0.0 17:24:59 go: finding github.com/mitchellh/go-homedir v1.0.0 17:24:59 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:24:59 go: finding github.com/mitchellh/gox v0.4.0 17:24:59 go: finding github.com/mitchellh/iochan v1.0.0 17:24:59 go: finding github.com/mitchellh/mapstructure v1.1.2 17:24:59 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:24:59 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:24:59 go: finding github.com/pelletier/go-toml v1.2.0 17:24:59 go: finding github.com/pkg/errors v0.8.1 17:24:59 go: finding github.com/pmezard/go-difflib v1.0.0 17:24:59 go: finding github.com/posener/complete v1.1.1 17:24:59 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 17:24:59 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:24:59 go: finding github.com/stretchr/objx v0.1.0 17:24:59 go: finding github.com/stretchr/testify v1.5.1 17:24:59 go: finding github.com/ugorji/go v1.1.4 17:24:59 go: finding github.com/x448/float16 v0.8.4 17:24:59 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:24:59 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 17:24:59 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:24:59 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 17:25:00 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:25:00 go: finding gopkg.in/yaml.v2 v2.2.8 17:25:08 Removing intermediate container cc1a0ba127d1 17:25:08 ---> ecbb70d1afc8 17:25:08 Successfully built ecbb70d1afc8 17:25:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:25:09 + docker inspect -f . ci-base-image-x86_64 17:25:09 . [Pipeline] withDockerContainer 17:25:09 prd-centos7-docker-4c-2g-882 does not seem to be running inside a container 17:25:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 17:25:10 $ docker top 48752d8d378f8dc4faf15ec82cb443b4eadc267399940b1694a8c6620bf167ae -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:11 + go version 17:25:11 go version go1.13.13 linux/amd64 [Pipeline] sh 17:25:11 + make test 17:25:11 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:25:12 ? github.com/edgexfoundry/device-sdk-go [no test files] 17:25:22 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 17:25:22 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 17:25:22 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 17:25:22 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 21.6% of statements 17:25:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.048s coverage: 97.1% of statements 17:25:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.013s coverage: 10.8% of statements 17:25:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.009s coverage: 21.7% of statements 17:25:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 17:25:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.021s coverage: 36.5% of statements 17:25:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 17:25:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.041s coverage: 65.6% of statements 17:25:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 17:25:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 17:25:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 17:25:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.008s coverage: 52.6% of statements 17:25:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.102s coverage: 68.9% of statements 17:25:56 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 17:25:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 17:25:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:25:56 gofmt -l . 17:25:56 [ "`gofmt -l .`" = "" ] 17:25:56 ./bin/test-attribution-txt.sh 17:25:56 ./bin/test-go-mod-tidy.sh [Pipeline] stash 17:25:57 Stashed 1 file(s) [Pipeline] } 17:25:57 $ docker stop --time=1 48752d8d378f8dc4faf15ec82cb443b4eadc267399940b1694a8c6620bf167ae 17:25:59 $ docker rm -f 48752d8d378f8dc4faf15ec82cb443b4eadc267399940b1694a8c6620bf167ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:26:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:26:02 + ls -al . 17:26:02 total 188 17:26:02 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 24 17:25 . 17:26:02 drwxrwxr-x. 4 jenkins jenkins 28 Jul 24 17:24 .. 17:26:02 drwxrwxr-x. 3 jenkins jenkins 20 Jul 24 17:24 api 17:26:02 drwxrwxr-x. 2 jenkins jenkins 64 Jul 24 17:24 bin 17:26:02 -rw-r--r--. 1 jenkins jenkins 111063 Jul 24 17:25 coverage.out 17:26:02 -rw-rw-r--. 1 jenkins jenkins 936 Jul 24 17:24 Dockerfile.build 17:26:02 -rw-rw-r--. 1 jenkins jenkins 140 Jul 24 17:24 .dockerignore 17:26:02 drwxrwxr-x. 4 jenkins jenkins 48 Jul 24 17:24 example 17:26:02 drwxrwxr-x. 8 jenkins jenkins 179 Jul 24 17:24 .git 17:26:02 drwxrwxr-x. 2 jenkins jenkins 38 Jul 24 17:24 .github 17:26:02 -rw-rw-r--. 1 jenkins jenkins 138 Jul 24 17:24 .gitignore 17:26:02 -rw-r--r--. 1 jenkins jenkins 446 Jul 24 17:25 go.mod 17:26:02 -rw-r--r--. 1 jenkins jenkins 12179 Jul 24 17:25 go.sum 17:26:02 drwxrwxr-x. 13 jenkins jenkins 184 Jul 24 17:24 internal 17:26:02 -rw-rw-r--. 1 jenkins jenkins 808 Jul 24 17:24 Jenkinsfile 17:26:02 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 24 17:24 LICENSE 17:26:02 -rw-rw-r--. 1 jenkins jenkins 892 Jul 24 17:24 Makefile 17:26:02 drwxrwxr-x. 5 jenkins jenkins 50 Jul 24 17:24 pkg 17:26:02 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 24 17:24 README.md 17:26:02 -rw-rw-r--. 1 jenkins jenkins 4291 Jul 24 17:24 RELEASE-NOTES.txt 17:26:02 drwxrwxr-x. 3 jenkins jenkins 58 Jul 24 17:24 .semver 17:26:02 drwxrwxr-x. 4 jenkins jenkins 54 Jul 24 17:24 snap 17:26:02 -rw-rw-r--. 1 jenkins jenkins 5 Jul 24 17:22 VERSION 17:26:02 -rw-rw-r--. 1 jenkins jenkins 222 Jul 24 17:24 version.go [Pipeline] isUnix [Pipeline] sh 17:26:02 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f6f378ce2de4db4358964e2231070cc37d677ccd --label arch=amd64 --label version=0.0.0 . 17:26:02 Sending build context to Docker daemon 3.204MB 17:26:02 Step 1/23 : ARG BASE=golang:1.13-alpine 17:26:02 Step 2/23 : FROM ${BASE} AS builder 17:26:02 ---> ecbb70d1afc8 17:26:02 Step 3/23 : ARG MAKE='make build' 17:26:02 ---> Running in 9d3e6ee35ddf 17:26:03 Removing intermediate container 9d3e6ee35ddf 17:26:03 ---> 9e62918331fc 17:26:03 Step 4/23 : WORKDIR /device-sdk-go 17:26:03 ---> Running in e62d1e7945ac 17:26:03 Removing intermediate container e62d1e7945ac 17:26:03 ---> 03918584e529 17:26:03 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:26:03 ---> Running in 05a790c25f89 17:26:03 Removing intermediate container 05a790c25f89 17:26:03 ---> 70ab7b812149 17:26:03 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:26:03 ---> Running in a1d34e036fe4 17:26:04 Removing intermediate container a1d34e036fe4 17:26:04 ---> 35273cca565b 17:26:04 Step 7/23 : RUN apk add --update --no-cache make git 17:26:04 ---> Running in e9da264406d3 17:26:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:26:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:26:06 OK: 166 MiB in 39 packages 17:26:07 Removing intermediate container e9da264406d3 17:26:07 ---> 071a833027c9 17:26:07 Step 8/23 : COPY . . 17:26:08 ---> b3f08d8079fd 17:26:08 Step 9/23 : RUN ${MAKE} 17:26:08 ---> Running in 668395cf6e3d 17:26:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:26:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 17:26:18 Removing intermediate container 668395cf6e3d 17:26:18 ---> 9fc4283150ee 17:26:18 Step 10/23 : FROM scratch 17:26:18 ---> 17:26:18 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:26:18 ---> Running in 5958b343d887 17:26:18 Removing intermediate container 5958b343d887 17:26:18 ---> e32ba3ed6f29 17:26:18 Step 12/23 : ENV APP_PORT=49990 17:26:18 ---> Running in 2056fb22db40 17:26:18 Removing intermediate container 2056fb22db40 17:26:18 ---> 7fc3af30d4db 17:26:18 Step 13/23 : EXPOSE $APP_PORT 17:26:18 ---> Running in 23c2105bcabe 17:26:18 Removing intermediate container 23c2105bcabe 17:26:18 ---> 1787ed4dccb6 17:26:18 Step 14/23 : WORKDIR / 17:26:18 ---> Running in 7ff3db0ac635 17:26:18 Removing intermediate container 7ff3db0ac635 17:26:18 ---> dc6b0c952582 17:26:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 17:26:19 ---> 65297b3dc1e5 17:26:19 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 17:26:19 ---> 0d6d63bf1406 17:26:19 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 17:26:20 ---> 46dc5f0987a1 17:26:20 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 17:26:20 ---> 8795abd4035f 17:26:20 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 17:26:20 ---> d54d8c6f6228 17:26:20 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:26:20 ---> Running in 1781bc176e2c 17:26:20 Removing intermediate container 1781bc176e2c 17:26:20 ---> 863c1b9aa058 17:26:20 Step 21/23 : LABEL arch=amd64 17:26:20 ---> Running in 726d0cffeb37 17:26:20 Removing intermediate container 726d0cffeb37 17:26:20 ---> 9384824a5064 17:26:20 Step 22/23 : LABEL git_sha=f6f378ce2de4db4358964e2231070cc37d677ccd 17:26:20 ---> Running in 7d4fe84c8b87 17:26:21 Removing intermediate container 7d4fe84c8b87 17:26:21 ---> 3b5060b78ef6 17:26:21 Step 23/23 : LABEL version=0.0.0 17:26:21 ---> Running in f0ddb448e50a 17:26:21 Removing intermediate container f0ddb448e50a 17:26:21 ---> a71038608f5e 17:26:21 [Warning] One or more build-args [ARCH] were not consumed 17:26:21 Successfully built a71038608f5e 17:26:21 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 17:26:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-883 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] } [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] ws 17:26:22 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] checkout 17:26:27 using credential edgex-jenkins-ssh 17:26:27 Cloning the remote Git repository 17:26:27 Cloning with configured refspecs honoured and without tags 17:26:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:26:27 > git init /w/workspace/device-sdk-go/6 # timeout=10 17:26:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:26:27 > git --version # timeout=10 17:26:27 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:26:28 Fetching without tags 17:26:29 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit f6f378ce2de4db4358964e2231070cc37d677ccd 17:26:29 Merge succeeded, producing f6f378ce2de4db4358964e2231070cc37d677ccd 17:26:29 Checking out Revision f6f378ce2de4db4358964e2231070cc37d677ccd (PR-549) 17:26:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:26:28 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 17:26:28 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:26:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:26:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:26:28 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:28 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:26:29 > git config core.sparsecheckout # timeout=10 17:26:29 > git checkout -f f6f378ce2de4db4358964e2231070cc37d677ccd # timeout=10 17:26:29 > git remote # timeout=10 17:26:29 > git config --get remote.origin.url # timeout=10 17:26:29 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:29 > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 17:26:29 > git rev-parse HEAD^{commit} # timeout=10 17:26:29 > git config core.sparsecheckout # timeout=10 17:26:29 > git checkout -f f6f378ce2de4db4358964e2231070cc37d677ccd # timeout=10 17:26:33 Commit message: "fix the requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:26:34 ========================================================= 17:26:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 17:26:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:26:36 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 17:26:37 Sending build context to Docker daemon 3.092MB 17:26:37 Step 1/8 : ARG BASE=golang:1.13-alpine 17:26:37 Step 2/8 : FROM ${BASE} 17:26:37 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:26:37 b538f80385f9: Pulling fs layer 17:26:37 74f711af9a0d: Pulling fs layer 17:26:37 99f96fe45779: Pulling fs layer 17:26:37 fd7a069fd194: Pulling fs layer 17:26:37 66aa3694b03b: Pulling fs layer 17:26:37 170f70906a0f: Pulling fs layer 17:26:37 ad7c5574e4b9: Pulling fs layer 17:26:37 e772456be8f7: Pulling fs layer 17:26:37 c890913d741a: Pulling fs layer 17:26:37 2480fcc9aa5a: Pulling fs layer 17:26:37 09adf4765672: Pulling fs layer 17:26:37 fd7a069fd194: Waiting 17:26:37 66aa3694b03b: Waiting 17:26:37 170f70906a0f: Waiting 17:26:37 ad7c5574e4b9: Waiting 17:26:37 e772456be8f7: Waiting 17:26:37 c890913d741a: Waiting 17:26:37 2480fcc9aa5a: Waiting 17:26:37 09adf4765672: Waiting 17:26:37 99f96fe45779: Verifying Checksum 17:26:37 99f96fe45779: Download complete 17:26:37 74f711af9a0d: Verifying Checksum 17:26:37 74f711af9a0d: Download complete 17:26:37 66aa3694b03b: Verifying Checksum 17:26:37 66aa3694b03b: Download complete 17:26:37 170f70906a0f: Verifying Checksum 17:26:37 170f70906a0f: Download complete 17:26:37 b538f80385f9: Verifying Checksum 17:26:37 b538f80385f9: Download complete 17:26:38 b538f80385f9: Pull complete 17:26:38 74f711af9a0d: Pull complete 17:26:39 99f96fe45779: Pull complete 17:26:40 ad7c5574e4b9: Verifying Checksum 17:26:40 ad7c5574e4b9: Download complete 17:26:40 c890913d741a: Download complete 17:26:42 2480fcc9aa5a: Verifying Checksum 17:26:42 2480fcc9aa5a: Download complete 17:26:42 09adf4765672: Verifying Checksum 17:26:42 09adf4765672: Download complete 17:26:43 e772456be8f7: Verifying Checksum 17:26:43 e772456be8f7: Download complete 17:26:43 fd7a069fd194: Verifying Checksum 17:26:43 fd7a069fd194: Download complete 17:26:56 fd7a069fd194: Pull complete 17:26:56 66aa3694b03b: Pull complete 17:26:56 170f70906a0f: Pull complete 17:26:59 ad7c5574e4b9: Pull complete 17:27:03 e772456be8f7: Pull complete 17:27:04 c890913d741a: Pull complete 17:27:06 2480fcc9aa5a: Pull complete 17:27:06 09adf4765672: Pull complete 17:27:06 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 17:27:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 17:27:06 ---> 2248a725d1cf 17:27:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:27:12 ---> Running in 72cb4e67a771 17:27:12 Removing intermediate container 72cb4e67a771 17:27:12 ---> 51bc50205d30 17:27:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:27:12 ---> Running in 4dcb6cebe1a1 17:27:15 Removing intermediate container 4dcb6cebe1a1 17:27:15 ---> 0904af2ad25f 17:27:15 Step 5/8 : RUN apk add --no-cache make git 17:27:15 ---> Running in 2ae5ba8203f3 17:27:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:27:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:27:18 OK: 142 MiB in 39 packages 17:27:19 Removing intermediate container 2ae5ba8203f3 17:27:19 ---> a4d04215bd8c 17:27:19 Step 6/8 : WORKDIR /device-sdk-go 17:27:19 ---> Running in 189878e0cfd4 17:27:20 Removing intermediate container 189878e0cfd4 17:27:20 ---> 94ff6b146a5e 17:27:20 Step 7/8 : COPY . . 17:27:21 ---> 4b91d0bdb359 17:27:21 Step 8/8 : RUN go mod download 17:27:21 ---> Running in 920fc2239787 17:27:24 go: finding github.com/BurntSushi/toml v0.3.1 17:27:24 go: finding github.com/OneOfOne/xxhash v1.2.6 17:27:24 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:27:24 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:27:24 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:27:24 go: finding github.com/bgentry/speakeasy v0.1.0 17:27:24 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:27:24 go: finding github.com/davecgh/go-spew v1.1.1 17:27:24 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 17:27:24 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:27:24 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 17:27:24 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 17:27:24 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:27:24 go: finding github.com/fatih/color v1.7.0 17:27:24 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:27:24 go: finding github.com/go-kit/kit v0.8.0 17:27:24 go: finding github.com/go-logfmt/logfmt v0.4.0 17:27:24 go: finding github.com/go-stack/stack v1.8.0 17:27:24 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:27:24 go: finding github.com/google/uuid v1.1.0 17:27:24 go: finding github.com/gorilla/mux v1.7.1 17:27:24 go: finding github.com/hashicorp/consul/api v1.1.0 17:27:24 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:27:24 go: finding github.com/hashicorp/errwrap v1.0.0 17:27:24 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:27:24 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:27:24 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:27:24 go: finding github.com/hashicorp/go-multierror v1.0.0 17:27:24 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:27:24 go: finding github.com/hashicorp/go-sockaddr v1.0.0 17:27:24 go: finding github.com/hashicorp/go-syslog v1.0.0 17:27:24 go: finding github.com/hashicorp/go-uuid v1.0.1 17:27:24 go: finding github.com/hashicorp/go.net v0.0.1 17:27:24 go: finding github.com/hashicorp/golang-lru v0.5.0 17:27:24 go: finding github.com/hashicorp/logutils v1.0.0 17:27:25 go: finding github.com/hashicorp/mdns v1.0.0 17:27:25 go: finding github.com/hashicorp/memberlist v0.1.3 17:27:25 go: finding github.com/hashicorp/serf v0.8.2 17:27:25 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:27:25 go: finding github.com/mattn/go-colorable v0.0.9 17:27:25 go: finding github.com/mattn/go-isatty v0.0.3 17:27:25 go: finding github.com/miekg/dns v1.0.14 17:27:25 go: finding github.com/mitchellh/cli v1.0.0 17:27:25 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:27:25 go: finding github.com/mitchellh/copystructure v1.0.0 17:27:25 go: finding github.com/mitchellh/go-homedir v1.0.0 17:27:25 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:27:25 go: finding github.com/mitchellh/gox v0.4.0 17:27:25 go: finding github.com/mitchellh/iochan v1.0.0 17:27:25 go: finding github.com/mitchellh/mapstructure v1.1.2 17:27:25 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:27:25 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:27:25 go: finding github.com/pelletier/go-toml v1.2.0 17:27:25 go: finding github.com/pkg/errors v0.8.1 17:27:25 go: finding github.com/pmezard/go-difflib v1.0.0 17:27:25 go: finding github.com/posener/complete v1.1.1 17:27:25 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 17:27:25 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:27:25 go: finding github.com/stretchr/objx v0.1.0 17:27:25 go: finding github.com/stretchr/testify v1.5.1 17:27:25 go: finding github.com/ugorji/go v1.1.4 17:27:25 go: finding github.com/x448/float16 v0.8.4 17:27:25 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:27:25 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 17:27:25 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:27:25 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 17:27:25 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:27:25 go: finding gopkg.in/yaml.v2 v2.2.8 17:27:35 Removing intermediate container 920fc2239787 17:27:35 ---> b175b2aacd4e 17:27:35 Successfully built b175b2aacd4e 17:27:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:27:36 + docker inspect -f . ci-base-image-arm64 17:27:36 . [Pipeline] withDockerContainer 17:27:36 prd-ubuntu18.04-docker-arm64-4c-16g-883 does not seem to be running inside a container 17:27:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-arm64 cat 17:27:38 $ docker top b3543b0b149704ff25b9744959880531fa59d636eec85e88f008d3023e694a15 -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:40 + go version 17:27:40 go version go1.13.13 linux/arm64 [Pipeline] sh 17:27:41 + make test 17:27:41 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:27:42 ? github.com/edgexfoundry/device-sdk-go [no test files] 17:28:09 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 17:28:09 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 17:28:09 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 17:28:11 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.021s coverage: 21.6% of statements 17:28:14 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.148s coverage: 97.1% of statements 17:28:47 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.018s coverage: 10.8% of statements 17:28:47 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.015s coverage: 21.7% of statements 17:28:47 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 17:28:47 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.138s coverage: 36.5% of statements 17:28:47 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 17:28:47 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.120s coverage: 65.6% of statements 17:28:47 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 17:28:47 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 17:28:47 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 17:28:47 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.032s coverage: 52.6% of statements 17:28:47 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.326s coverage: 68.9% of statements 17:28:47 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 17:28:47 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 17:28:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:28:49 gofmt -l . 17:28:49 [ "`gofmt -l .`" = "" ] 17:28:49 ./bin/test-attribution-txt.sh 17:28:50 ./bin/test-go-mod-tidy.sh [Pipeline] stash 17:28:51 Warning: overwriting stash ‘coverage-report’ 17:28:52 Stashed 1 file(s) [Pipeline] } 17:28:52 $ docker stop --time=1 b3543b0b149704ff25b9744959880531fa59d636eec85e88f008d3023e694a15 17:28:54 $ docker rm -f b3543b0b149704ff25b9744959880531fa59d636eec85e88f008d3023e694a15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:28:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:28:55 + ls -al . 17:28:55 total 228 17:28:55 drwxrwxr-x 11 jenkins jenkins 4096 Jul 24 17:28 . 17:28:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 17:26 .. 17:28:55 -rw-rw-r-- 1 jenkins jenkins 140 Jul 24 17:26 .dockerignore 17:28:55 drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 17:26 .git 17:28:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 17:26 .github 17:28:55 -rw-rw-r-- 1 jenkins jenkins 138 Jul 24 17:26 .gitignore 17:28:55 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 17:26 .semver 17:28:55 -rw-rw-r-- 1 jenkins jenkins 936 Jul 24 17:26 Dockerfile.build 17:28:55 -rw-rw-r-- 1 jenkins jenkins 808 Jul 24 17:26 Jenkinsfile 17:28:55 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 24 17:26 LICENSE 17:28:55 -rw-rw-r-- 1 jenkins jenkins 892 Jul 24 17:26 Makefile 17:28:55 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 24 17:26 README.md 17:28:55 -rw-rw-r-- 1 jenkins jenkins 4291 Jul 24 17:26 RELEASE-NOTES.txt 17:28:55 -rw-rw-r-- 1 jenkins jenkins 5 Jul 24 17:22 VERSION 17:28:55 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 17:26 api 17:28:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 17:26 bin 17:28:55 -rw-r--r-- 1 jenkins jenkins 111063 Jul 24 17:28 coverage.out 17:28:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 17:26 example 17:28:55 -rw-r--r-- 1 jenkins jenkins 446 Jul 24 17:28 go.mod 17:28:55 -rw-r--r-- 1 jenkins jenkins 12179 Jul 24 17:28 go.sum 17:28:55 drwxrwxr-x 13 jenkins jenkins 4096 Jul 24 17:26 internal 17:28:55 drwxrwxr-x 5 jenkins jenkins 4096 Jul 24 17:26 pkg 17:28:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 17:26 snap 17:28:55 -rw-rw-r-- 1 jenkins jenkins 222 Jul 24 17:26 version.go [Pipeline] isUnix [Pipeline] sh 17:28:56 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f6f378ce2de4db4358964e2231070cc37d677ccd --label arch=arm64 --label version=0.0.0 . 17:28:56 Sending build context to Docker daemon 3.204MB 17:28:56 Step 1/23 : ARG BASE=golang:1.13-alpine 17:28:56 Step 2/23 : FROM ${BASE} AS builder 17:28:56 ---> b175b2aacd4e 17:28:56 Step 3/23 : ARG MAKE='make build' 17:28:56 ---> Running in 89cce504e015 17:28:57 Removing intermediate container 89cce504e015 17:28:57 ---> 105f1d62bb15 17:28:57 Step 4/23 : WORKDIR /device-sdk-go 17:28:57 ---> Running in 77c1cc3fc6f1 17:28:58 Removing intermediate container 77c1cc3fc6f1 17:28:58 ---> 4eff9d021eb9 17:28:58 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:28:58 ---> Running in 638ebb6e7e23 17:28:58 Removing intermediate container 638ebb6e7e23 17:28:58 ---> 0a7d4ca8ead6 17:28:58 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:28:58 ---> Running in 5ee4bdf55852 17:29:01 Removing intermediate container 5ee4bdf55852 17:29:01 ---> 7d39bfd7548c 17:29:01 Step 7/23 : RUN apk add --update --no-cache make git 17:29:01 ---> Running in 3646555cabb3 17:29:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:29:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:29:04 OK: 142 MiB in 39 packages 17:29:05 Removing intermediate container 3646555cabb3 17:29:05 ---> f2961c6c1384 17:29:05 Step 8/23 : COPY . . 17:29:06 ---> 0b70edc4377a 17:29:06 Step 9/23 : RUN ${MAKE} 17:29:06 ---> Running in 95c893bed237 17:29:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:29:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 17:29:33 Removing intermediate container 95c893bed237 17:29:33 ---> e0d49679afc9 17:29:33 Step 10/23 : FROM scratch 17:29:33 ---> 17:29:33 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:29:33 ---> Running in ccf3ea791d5e 17:29:33 Removing intermediate container ccf3ea791d5e 17:29:33 ---> b7554cca2499 17:29:33 Step 12/23 : ENV APP_PORT=49990 17:29:33 ---> Running in fdee8342e2ca 17:29:34 Removing intermediate container fdee8342e2ca 17:29:34 ---> 21b10d941964 17:29:34 Step 13/23 : EXPOSE $APP_PORT 17:29:34 ---> Running in a6710a5a9f40 17:29:34 Removing intermediate container a6710a5a9f40 17:29:34 ---> d9971cc95756 17:29:34 Step 14/23 : WORKDIR / 17:29:35 ---> Running in a213c81b48f3 17:29:35 Removing intermediate container a213c81b48f3 17:29:35 ---> 5678dfd0d298 17:29:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 17:29:36 ---> d40a3bb9a684 17:29:36 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 17:29:37 ---> d077ea33b0e0 17:29:37 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 17:29:37 ---> e768ab0c3078 17:29:37 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 17:29:38 ---> ae5e9bcdee17 17:29:38 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 17:29:39 ---> d3def6cb7d21 17:29:39 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:29:39 ---> Running in 1766c4efd1be 17:29:40 Removing intermediate container 1766c4efd1be 17:29:40 ---> ecc9c69044ec 17:29:40 Step 21/23 : LABEL arch=arm64 17:29:40 ---> Running in fc8763488fd5 17:29:40 Removing intermediate container fc8763488fd5 17:29:40 ---> f4004202cf80 17:29:40 Step 22/23 : LABEL git_sha=f6f378ce2de4db4358964e2231070cc37d677ccd 17:29:40 ---> Running in 94fa097c61b1 17:29:41 Removing intermediate container 94fa097c61b1 17:29:41 ---> 6f43c3c3417a 17:29:41 Step 23/23 : LABEL version=0.0.0 17:29:41 ---> Running in d678e268072e 17:29:41 Removing intermediate container d678e268072e 17:29:41 ---> 2f10fbbc405d 17:29:41 [Warning] One or more build-args [ARCH] were not consumed 17:29:42 Successfully built 2f10fbbc405d 17:29:42 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 17:29:43 provisioning config files... 17:29:43 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config3045803296333893369tmp [Pipeline] { [Pipeline] sh 17:29:43 + curl -s https://codecov.io/bash 17:29:43 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config3045803296333893369tmp [Pipeline] } 17:29:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 17:29:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:29:46 ---> package-listing.sh 17:29:46 ++ facter osfamily 17:29:46 ++ tr '[:upper:]' '[:lower:]' 17:29:46 + OS_FAMILY=redhat 17:29:46 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-549 17:29:46 + START_PACKAGES=/tmp/packages_start.txt 17:29:46 + END_PACKAGES=/tmp/packages_end.txt 17:29:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:29:46 + PACKAGES=/tmp/packages_start.txt 17:29:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' 17:29:46 + PACKAGES=/tmp/packages_end.txt 17:29:46 + case "${OS_FAMILY}" in 17:29:46 + rpm -qa 17:29:46 + sort 17:29:50 + '[' -f /tmp/packages_start.txt ']' 17:29:50 + '[' -f /tmp/packages_end.txt ']' 17:29:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:29:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' 17:29:50 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ 17:29:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ [Pipeline] isUnix [Pipeline] sh 17:29:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:29:51 17:29:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:29:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:29:51 alpine: Pulling from edgex-lftools-log-publisher 17:29:51 c9b1b535fdd9: Pulling fs layer 17:29:51 2cc5ad85d9ab: Pulling fs layer 17:29:51 756a868c4378: Pulling fs layer 17:29:51 444b2fc9a129: Pulling fs layer 17:29:51 ea15f1150254: Pulling fs layer 17:29:51 41b27a9f41bf: Pulling fs layer 17:29:51 28c525ee5125: Pulling fs layer 17:29:51 094b1ea09ed8: Pulling fs layer 17:29:51 138eaada9080: Pulling fs layer 17:29:51 0622d0fa9048: Pulling fs layer 17:29:51 41b27a9f41bf: Waiting 17:29:51 28c525ee5125: Waiting 17:29:51 094b1ea09ed8: Waiting 17:29:51 444b2fc9a129: Waiting 17:29:51 0622d0fa9048: Waiting 17:29:51 ea15f1150254: Waiting 17:29:51 138eaada9080: Waiting 17:29:51 2cc5ad85d9ab: Verifying Checksum 17:29:51 2cc5ad85d9ab: Download complete 17:29:51 444b2fc9a129: Download complete 17:29:51 c9b1b535fdd9: Verifying Checksum 17:29:51 c9b1b535fdd9: Download complete 17:29:51 ea15f1150254: Verifying Checksum 17:29:51 ea15f1150254: Download complete 17:29:51 28c525ee5125: Verifying Checksum 17:29:51 28c525ee5125: Download complete 17:29:51 756a868c4378: Verifying Checksum 17:29:51 756a868c4378: Download complete 17:29:51 c9b1b535fdd9: Pull complete 17:29:51 138eaada9080: Verifying Checksum 17:29:51 138eaada9080: Download complete 17:29:51 094b1ea09ed8: Verifying Checksum 17:29:51 094b1ea09ed8: Download complete 17:29:51 0622d0fa9048: Verifying Checksum 17:29:51 0622d0fa9048: Download complete 17:29:52 2cc5ad85d9ab: Pull complete 17:29:52 41b27a9f41bf: Verifying Checksum 17:29:52 41b27a9f41bf: Download complete 17:29:53 756a868c4378: Pull complete 17:29:53 444b2fc9a129: Pull complete 17:29:53 ea15f1150254: Pull complete 17:29:58 41b27a9f41bf: Pull complete 17:29:58 28c525ee5125: Pull complete 17:30:00 094b1ea09ed8: Pull complete 17:30:00 138eaada9080: Pull complete 17:30:00 0622d0fa9048: Pull complete 17:30:00 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 17:30:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:30:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:30:01 prd-centos7-docker-4c-2g-881 does not seem to be running inside a container 17:30:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-549 -v /w/workspace/dgexfoundry_device-sdk-go_PR-549:/w/workspace/dgexfoundry_device-sdk-go_PR-549:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-549@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 17:30:05 $ docker top 43c228394bfecf0a879ebdc9c1685f1ab92a1619e85d3dbb0ceb0615781a042a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:30:05 provisioning config files... 17:30:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config131596875974827935tmp [Pipeline] { [Pipeline] echo 17:30:05 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:30:05 ---> create-netrc.sh [Pipeline] echo 17:30:05 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:30:06 ---> logs-deploy.sh 17:30:06 + ARCHIVE_ARTIFACTS= 17:30:06 + LOGS_SERVER=https://logs.edgexfoundry.org 17:30:06 + '[' https://logs.edgexfoundry.org == None ']' 17:30:06 + NEXUS_URL=https://nexus.edgexfoundry.org 17:30:06 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/6 17:30:06 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/6/ 17:30:06 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/6 /w/workspace/dgexfoundry_device-sdk-go_PR-549 17:30:07 Archives upload complete. 17:30:07 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/6 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/6/