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 [2020-07-24T17:22:19.733Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-24T17:22:19.942Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-24T17:22:20.028Z] ========================================================= [2020-07-24T17:22:20.028Z] EdgeX Global Pipelines Version Info [2020-07-24T17:22:20.028Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-24T17:22:21.422Z] ------------------- [2020-07-24T17:22:21.422Z] stable info: [2020-07-24T17:22:21.422Z] ------------------- [2020-07-24T17:22:21.422Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-24T17:22:21.422Z] Commit SHA: 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 [2020-07-24T17:22:21.422Z] Message: update stable to v1.0.105 [2020-07-24T17:22:22.366Z] ------------------- [2020-07-24T17:22:22.366Z] experimental info: [2020-07-24T17:22:22.366Z] ------------------- [2020-07-24T17:22:22.366Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-24T17:22:22.366Z] Commit SHA: 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 [2020-07-24T17:22:22.366Z] 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 [2020-07-24T17:22:24.459Z] + git log --format=format:%s -1 f6f378ce2de4db4358964e2231070cc37d677ccd [Pipeline] echo [2020-07-24T17:22:24.517Z] GIT_COMMIT: f6f378ce2de4db4358964e2231070cc37d677ccd, Commit Message: fix the requested changes in PR [Pipeline] echo [2020-07-24T17:22:24.558Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-07-24T17:22:25.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-24T17:22:25.399Z] [2020-07-24T17:22:25.399Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-24T17:22:25.751Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-24T17:22:25.751Z] latest: Pulling from edgex-devops/git-semver [2020-07-24T17:22:25.751Z] 31603596830f: Pulling fs layer [2020-07-24T17:22:25.751Z] 2a8b12db71e7: Pulling fs layer [2020-07-24T17:22:25.751Z] 6ca5941a6612: Pulling fs layer [2020-07-24T17:22:25.751Z] ecc8261a40a4: Pulling fs layer [2020-07-24T17:22:25.751Z] ecc8261a40a4: Waiting [2020-07-24T17:22:25.751Z] 2a8b12db71e7: Verifying Checksum [2020-07-24T17:22:25.751Z] 2a8b12db71e7: Download complete [2020-07-24T17:22:25.751Z] 31603596830f: Verifying Checksum [2020-07-24T17:22:25.751Z] 31603596830f: Download complete [2020-07-24T17:22:26.014Z] ecc8261a40a4: Verifying Checksum [2020-07-24T17:22:26.014Z] ecc8261a40a4: Download complete [2020-07-24T17:22:26.014Z] 6ca5941a6612: Verifying Checksum [2020-07-24T17:22:26.014Z] 6ca5941a6612: Download complete [2020-07-24T17:22:26.280Z] 31603596830f: Pull complete [2020-07-24T17:22:26.280Z] 2a8b12db71e7: Pull complete [2020-07-24T17:22:27.227Z] 6ca5941a6612: Pull complete [2020-07-24T17:22:27.227Z] ecc8261a40a4: Pull complete [2020-07-24T17:22:27.227Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-24T17:22:27.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-24T17:22:27.227Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-24T17:22:27.320Z] prd-centos7-docker-4c-2g-881 does not seem to be running inside a container [2020-07-24T17:22:27.360Z] $ 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 [2020-07-24T17:22:29.173Z] $ docker top 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-24T17:22:29.448Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-24T17:22:29.448Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-24T17:22:29.656Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-24T17:22:29.658Z] $ docker exec 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 ssh-agent [2020-07-24T17:22:29.825Z] SSH_AUTH_SOCK=/tmp/ssh-wUzc4Cz4CnR5/agent.11 [2020-07-24T17:22:29.825Z] SSH_AGENT_PID=16 [2020-07-24T17:22:29.834Z] Running ssh-add (command line suppressed) [2020-07-24T17:22:29.943Z] 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) [2020-07-24T17:22:29.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-24T17:22:30.324Z] + git describe --exact-match --tags HEAD [2020-07-24T17:22:30.324Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-24T17:22:30.339Z] $ docker exec --env ******** --env ******** 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 ssh-agent -k [2020-07-24T17:22:30.446Z] unset SSH_AUTH_SOCK; [2020-07-24T17:22:30.446Z] unset SSH_AGENT_PID; [2020-07-24T17:22:30.446Z] echo Agent pid 16 killed; [2020-07-24T17:22:30.491Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-24T17:22:30.629Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-24T17:22:30.629Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-24T17:22:30.765Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-24T17:22:30.765Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-24T17:22:30.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-24T17:22:30.956Z] $ docker exec 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 ssh-agent [2020-07-24T17:22:31.135Z] SSH_AUTH_SOCK=/tmp/ssh-KBXzQwUfzMYq/agent.44 [2020-07-24T17:22:31.135Z] SSH_AGENT_PID=49 [2020-07-24T17:22:31.141Z] Running ssh-add (command line suppressed) [2020-07-24T17:22:31.280Z] 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) [2020-07-24T17:22:31.330Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-24T17:22:31.661Z] + git semver init [2020-07-24T17:22:31.661Z] # -> Open(): unable to determine branch for HEAD [2020-07-24T17:22:31.661Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.git [2020-07-24T17:22:31.661Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-549 [2020-07-24T17:22:31.661Z] # $SEMVER_REMOTE_NAME = origin [2020-07-24T17:22:31.661Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-24T17:22:31.661Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-24T17:22:31.661Z] # $SEMVER_BRANCH = PR-549 [2020-07-24T17:22:31.661Z] # $SEMVER_TEMP = /tmp/semver-392709007 [2020-07-24T17:22:31.661Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-07-24T17:22:32.607Z] # '/tmp/semver-392709007' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver' [2020-07-24T17:22:32.608Z] # -> Force: false [2020-07-24T17:22:32.608Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver [Pipeline] } [2020-07-24T17:22:32.615Z] $ docker exec --env ******** --env ******** 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 ssh-agent -k [2020-07-24T17:22:32.762Z] unset SSH_AUTH_SOCK; [2020-07-24T17:22:32.762Z] unset SSH_AGENT_PID; [2020-07-24T17:22:32.762Z] echo Agent pid 49 killed; [2020-07-24T17:22:32.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-24T17:22:33.264Z] + git semver [Pipeline] } [2020-07-24T17:22:33.277Z] $ docker stop --time=1 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 [2020-07-24T17:22:34.638Z] $ docker rm -f 2b8f8155b30756a05a592e2e40d24eee2108c480bdf9f23fa80064d2e6087568 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-24T17:22:35.450Z] Stashed 24 file(s) [Pipeline] echo [2020-07-24T17:22:35.452Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-07-24T17:22:35.538Z] 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 [2020-07-24T17:22:50.894Z] Still waiting to schedule task [2020-07-24T17:22:50.895Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-24T17:22:50.896Z] Still waiting to schedule task [2020-07-24T17:22:50.896Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-879’ [2020-07-24T17:24:20.069Z] Running on prd-centos7-docker-4c-2g-882 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws [2020-07-24T17:24:20.126Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-07-24T17:24:22.868Z] using credential edgex-jenkins-ssh [2020-07-24T17:24:22.914Z] Cloning the remote Git repository [2020-07-24T17:24:22.914Z] Cloning with configured refspecs honoured and without tags [2020-07-24T17:24:22.940Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-24T17:24:23.008Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-07-24T17:24:23.052Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-24T17:24:23.052Z] > git --version # timeout=10 [2020-07-24T17:24:23.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-24T17:24:23.093Z] > 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 [2020-07-24T17:24:23.802Z] Fetching without tags [2020-07-24T17:24:24.264Z] Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit f6f378ce2de4db4358964e2231070cc37d677ccd [2020-07-24T17:24:24.361Z] Merge succeeded, producing f6f378ce2de4db4358964e2231070cc37d677ccd [2020-07-24T17:24:24.361Z] Checking out Revision f6f378ce2de4db4358964e2231070cc37d677ccd (PR-549) [2020-07-24T17:24:23.746Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-24T17:24:23.768Z] > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 [2020-07-24T17:24:23.784Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-24T17:24:23.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-24T17:24:23.803Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-24T17:24:23.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-24T17:24:23.808Z] > 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 [2020-07-24T17:24:24.269Z] > git config core.sparsecheckout # timeout=10 [2020-07-24T17:24:24.274Z] > git checkout -f f6f378ce2de4db4358964e2231070cc37d677ccd # timeout=10 [2020-07-24T17:24:24.318Z] > git remote # timeout=10 [2020-07-24T17:24:24.325Z] > git config --get remote.origin.url # timeout=10 [2020-07-24T17:24:24.330Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-24T17:24:24.334Z] > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 [2020-07-24T17:24:24.343Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-24T17:24:24.360Z] > git config core.sparsecheckout # timeout=10 [2020-07-24T17:24:24.370Z] > git checkout -f f6f378ce2de4db4358964e2231070cc37d677ccd # timeout=10 [2020-07-24T17:24:27.979Z] 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 [2020-07-24T17:24:28.811Z] ========================================================= [2020-07-24T17:24:28.811Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-24T17:24:28.811Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-24T17:24:29.470Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-07-24T17:24:30.051Z] Sending build context to Docker daemon 3.092MB [2020-07-24T17:24:30.051Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-24T17:24:30.051Z] Step 2/8 : FROM ${BASE} [2020-07-24T17:24:30.051Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-24T17:24:30.051Z] df20fa9351a1: Pulling fs layer [2020-07-24T17:24:30.051Z] ed8968b2872e: Pulling fs layer [2020-07-24T17:24:30.051Z] a92cc7c5fd73: Pulling fs layer [2020-07-24T17:24:30.051Z] 2dd03ba5bac4: Pulling fs layer [2020-07-24T17:24:30.051Z] 1e091d79d1de: Pulling fs layer [2020-07-24T17:24:30.051Z] 481702a1767f: Pulling fs layer [2020-07-24T17:24:30.051Z] f64a6f60c768: Pulling fs layer [2020-07-24T17:24:30.051Z] e78d2573fc39: Pulling fs layer [2020-07-24T17:24:30.051Z] e876d2f968b6: Pulling fs layer [2020-07-24T17:24:30.051Z] ce8a83651883: Pulling fs layer [2020-07-24T17:24:30.051Z] 07967f4d0e4b: Pulling fs layer [2020-07-24T17:24:30.051Z] 2dd03ba5bac4: Waiting [2020-07-24T17:24:30.051Z] 1e091d79d1de: Waiting [2020-07-24T17:24:30.051Z] 481702a1767f: Waiting [2020-07-24T17:24:30.051Z] f64a6f60c768: Waiting [2020-07-24T17:24:30.051Z] e78d2573fc39: Waiting [2020-07-24T17:24:30.051Z] e876d2f968b6: Waiting [2020-07-24T17:24:30.051Z] ce8a83651883: Waiting [2020-07-24T17:24:30.051Z] 07967f4d0e4b: Waiting [2020-07-24T17:24:30.051Z] a92cc7c5fd73: Verifying Checksum [2020-07-24T17:24:30.051Z] a92cc7c5fd73: Download complete [2020-07-24T17:24:30.051Z] ed8968b2872e: Verifying Checksum [2020-07-24T17:24:30.051Z] ed8968b2872e: Download complete [2020-07-24T17:24:30.051Z] 1e091d79d1de: Verifying Checksum [2020-07-24T17:24:30.051Z] 1e091d79d1de: Download complete [2020-07-24T17:24:30.051Z] 481702a1767f: Verifying Checksum [2020-07-24T17:24:30.051Z] 481702a1767f: Download complete [2020-07-24T17:24:30.051Z] df20fa9351a1: Verifying Checksum [2020-07-24T17:24:30.051Z] df20fa9351a1: Download complete [2020-07-24T17:24:30.316Z] df20fa9351a1: Pull complete [2020-07-24T17:24:30.895Z] ed8968b2872e: Pull complete [2020-07-24T17:24:31.173Z] f64a6f60c768: Verifying Checksum [2020-07-24T17:24:31.173Z] f64a6f60c768: Download complete [2020-07-24T17:24:31.173Z] e876d2f968b6: Verifying Checksum [2020-07-24T17:24:31.173Z] e876d2f968b6: Download complete [2020-07-24T17:24:31.799Z] 2dd03ba5bac4: Verifying Checksum [2020-07-24T17:24:31.799Z] 2dd03ba5bac4: Download complete [2020-07-24T17:24:32.065Z] 07967f4d0e4b: Verifying Checksum [2020-07-24T17:24:32.065Z] 07967f4d0e4b: Download complete [2020-07-24T17:24:32.065Z] e78d2573fc39: Verifying Checksum [2020-07-24T17:24:32.065Z] e78d2573fc39: Download complete [2020-07-24T17:24:32.065Z] ce8a83651883: Verifying Checksum [2020-07-24T17:24:32.065Z] ce8a83651883: Download complete [2020-07-24T17:24:33.021Z] a92cc7c5fd73: Pull complete [2020-07-24T17:24:39.634Z] 2dd03ba5bac4: Pull complete [2020-07-24T17:24:39.634Z] 1e091d79d1de: Pull complete [2020-07-24T17:24:39.634Z] 481702a1767f: Pull complete [2020-07-24T17:24:46.240Z] f64a6f60c768: Pull complete [2020-07-24T17:24:48.826Z] e78d2573fc39: Pull complete [2020-07-24T17:24:48.826Z] e876d2f968b6: Pull complete [2020-07-24T17:24:49.774Z] ce8a83651883: Pull complete [2020-07-24T17:24:50.037Z] 07967f4d0e4b: Pull complete [2020-07-24T17:24:50.037Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-24T17:24:50.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-24T17:24:50.037Z] ---> 5d7c900382c6 [2020-07-24T17:24:50.037Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-24T17:24:51.431Z] ---> Running in d315d3694130 [2020-07-24T17:24:51.431Z] Removing intermediate container d315d3694130 [2020-07-24T17:24:51.431Z] ---> a4f977cf93d3 [2020-07-24T17:24:51.431Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-24T17:24:51.431Z] ---> Running in 992d9b998d1f [2020-07-24T17:24:52.827Z] Removing intermediate container 992d9b998d1f [2020-07-24T17:24:52.827Z] ---> 4ae86ca6c5c9 [2020-07-24T17:24:52.827Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-24T17:24:52.827Z] ---> Running in 9dd85575afc6 [2020-07-24T17:24:53.089Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-24T17:24:54.034Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-24T17:24:54.979Z] OK: 166 MiB in 39 packages [2020-07-24T17:24:55.241Z] Removing intermediate container 9dd85575afc6 [2020-07-24T17:24:55.241Z] ---> b1d542a46ad2 [2020-07-24T17:24:55.241Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-24T17:24:55.241Z] ---> Running in 455e51fc14db [2020-07-24T17:24:55.504Z] Removing intermediate container 455e51fc14db [2020-07-24T17:24:55.504Z] ---> e12f253ef4aa [2020-07-24T17:24:55.504Z] Step 7/8 : COPY . . [2020-07-24T17:24:56.448Z] ---> 87ced38a005b [2020-07-24T17:24:56.448Z] Step 8/8 : RUN go mod download [2020-07-24T17:24:56.711Z] ---> Running in cc1a0ba127d1 [2020-07-24T17:24:58.628Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-24T17:24:58.628Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-24T17:24:58.628Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-24T17:24:58.628Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-24T17:24:58.628Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-24T17:24:58.890Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-24T17:24:58.890Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-24T17:24:58.890Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-24T17:24:58.890Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-24T17:24:58.890Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-24T17:24:58.890Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-24T17:24:58.890Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-24T17:24:58.890Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-24T17:24:58.890Z] go: finding github.com/fatih/color v1.7.0 [2020-07-24T17:24:58.890Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-24T17:24:58.890Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-24T17:24:59.156Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-24T17:24:59.156Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-24T17:24:59.156Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-24T17:24:59.156Z] go: finding github.com/google/uuid v1.1.0 [2020-07-24T17:24:59.156Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-24T17:24:59.156Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-24T17:24:59.156Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-24T17:24:59.156Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-24T17:24:59.156Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-24T17:24:59.156Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-24T17:24:59.156Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-24T17:24:59.156Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-24T17:24:59.156Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-24T17:24:59.417Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-24T17:24:59.417Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-24T17:24:59.417Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-24T17:24:59.417Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-24T17:24:59.417Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-24T17:24:59.417Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-24T17:24:59.417Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-24T17:24:59.417Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-24T17:24:59.417Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-24T17:24:59.417Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-24T17:24:59.417Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-24T17:24:59.417Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-24T17:24:59.677Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-24T17:24:59.677Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-24T17:24:59.677Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-24T17:24:59.677Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-24T17:24:59.677Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-24T17:24:59.677Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-24T17:24:59.677Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-24T17:24:59.677Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-24T17:24:59.677Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-24T17:24:59.677Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-24T17:24:59.677Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-24T17:24:59.677Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-24T17:24:59.677Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-24T17:24:59.941Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-24T17:24:59.941Z] go: finding github.com/posener/complete v1.1.1 [2020-07-24T17:24:59.941Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-24T17:24:59.941Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-24T17:24:59.941Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-24T17:24:59.941Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-24T17:24:59.941Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-24T17:24:59.941Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-24T17:24:59.941Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-24T17:24:59.941Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-24T17:24:59.941Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-24T17:24:59.941Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-24T17:25:00.204Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-24T17:25:00.204Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-24T17:25:08.384Z] Removing intermediate container cc1a0ba127d1 [2020-07-24T17:25:08.384Z] ---> ecbb70d1afc8 [2020-07-24T17:25:08.384Z] Successfully built ecbb70d1afc8 [2020-07-24T17:25:08.384Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-24T17:25:09.074Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-24T17:25:09.074Z] . [Pipeline] withDockerContainer [2020-07-24T17:25:09.291Z] prd-centos7-docker-4c-2g-882 does not seem to be running inside a container [2020-07-24T17:25:09.394Z] $ 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 [2020-07-24T17:25:10.542Z] $ docker top 48752d8d378f8dc4faf15ec82cb443b4eadc267399940b1694a8c6620bf167ae -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-24T17:25:11.066Z] + go version [2020-07-24T17:25:11.066Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-07-24T17:25:11.369Z] + make test [2020-07-24T17:25:11.369Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-24T17:25:12.325Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-24T17:25:22.443Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-24T17:25:22.443Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-24T17:25:22.443Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-24T17:25:22.443Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 21.6% of statements [2020-07-24T17:25:23.865Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.048s coverage: 97.1% of statements [2020-07-24T17:25:56.018Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.013s coverage: 10.8% of statements [2020-07-24T17:25:56.018Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.009s coverage: 21.7% of statements [2020-07-24T17:25:56.018Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-24T17:25:56.018Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.021s coverage: 36.5% of statements [2020-07-24T17:25:56.018Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-24T17:25:56.018Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.041s coverage: 65.6% of statements [2020-07-24T17:25:56.018Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-24T17:25:56.018Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-24T17:25:56.018Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-24T17:25:56.018Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.008s coverage: 52.6% of statements [2020-07-24T17:25:56.018Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.102s coverage: 68.9% of statements [2020-07-24T17:25:56.018Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-24T17:25:56.018Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-24T17:25:56.018Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-24T17:25:56.018Z] gofmt -l . [2020-07-24T17:25:56.280Z] [ "`gofmt -l .`" = "" ] [2020-07-24T17:25:56.280Z] ./bin/test-attribution-txt.sh [2020-07-24T17:25:56.857Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-24T17:25:57.542Z] Stashed 1 file(s) [Pipeline] } [2020-07-24T17:25:57.544Z] $ docker stop --time=1 48752d8d378f8dc4faf15ec82cb443b4eadc267399940b1694a8c6620bf167ae [2020-07-24T17:25:59.084Z] $ docker rm -f 48752d8d378f8dc4faf15ec82cb443b4eadc267399940b1694a8c6620bf167ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-24T17:26:01.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-24T17:26:02.033Z] + ls -al . [2020-07-24T17:26:02.033Z] total 188 [2020-07-24T17:26:02.033Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jul 24 17:25 . [2020-07-24T17:26:02.033Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 24 17:24 .. [2020-07-24T17:26:02.033Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 24 17:24 api [2020-07-24T17:26:02.033Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 24 17:24 bin [2020-07-24T17:26:02.033Z] -rw-r--r--. 1 jenkins jenkins 111063 Jul 24 17:25 coverage.out [2020-07-24T17:26:02.033Z] -rw-rw-r--. 1 jenkins jenkins 936 Jul 24 17:24 Dockerfile.build [2020-07-24T17:26:02.033Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 24 17:24 .dockerignore [2020-07-24T17:26:02.033Z] drwxrwxr-x. 4 jenkins jenkins 48 Jul 24 17:24 example [2020-07-24T17:26:02.033Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 24 17:24 .git [2020-07-24T17:26:02.033Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 24 17:24 .github [2020-07-24T17:26:02.033Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 24 17:24 .gitignore [2020-07-24T17:26:02.033Z] -rw-r--r--. 1 jenkins jenkins 446 Jul 24 17:25 go.mod [2020-07-24T17:26:02.033Z] -rw-r--r--. 1 jenkins jenkins 12179 Jul 24 17:25 go.sum [2020-07-24T17:26:02.033Z] drwxrwxr-x. 13 jenkins jenkins 184 Jul 24 17:24 internal [2020-07-24T17:26:02.033Z] -rw-rw-r--. 1 jenkins jenkins 808 Jul 24 17:24 Jenkinsfile [2020-07-24T17:26:02.033Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 24 17:24 LICENSE [2020-07-24T17:26:02.033Z] -rw-rw-r--. 1 jenkins jenkins 892 Jul 24 17:24 Makefile [2020-07-24T17:26:02.033Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 24 17:24 pkg [2020-07-24T17:26:02.033Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jul 24 17:24 README.md [2020-07-24T17:26:02.033Z] -rw-rw-r--. 1 jenkins jenkins 4291 Jul 24 17:24 RELEASE-NOTES.txt [2020-07-24T17:26:02.033Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 24 17:24 .semver [2020-07-24T17:26:02.033Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 24 17:24 snap [2020-07-24T17:26:02.033Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 24 17:22 VERSION [2020-07-24T17:26:02.033Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 24 17:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-24T17:26:02.334Z] + 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 . [2020-07-24T17:26:02.335Z] Sending build context to Docker daemon 3.204MB [2020-07-24T17:26:02.596Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-24T17:26:02.596Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-24T17:26:02.596Z] ---> ecbb70d1afc8 [2020-07-24T17:26:02.596Z] Step 3/23 : ARG MAKE='make build' [2020-07-24T17:26:02.858Z] ---> Running in 9d3e6ee35ddf [2020-07-24T17:26:03.119Z] Removing intermediate container 9d3e6ee35ddf [2020-07-24T17:26:03.119Z] ---> 9e62918331fc [2020-07-24T17:26:03.119Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-24T17:26:03.119Z] ---> Running in e62d1e7945ac [2020-07-24T17:26:03.380Z] Removing intermediate container e62d1e7945ac [2020-07-24T17:26:03.380Z] ---> 03918584e529 [2020-07-24T17:26:03.380Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-24T17:26:03.380Z] ---> Running in 05a790c25f89 [2020-07-24T17:26:03.647Z] Removing intermediate container 05a790c25f89 [2020-07-24T17:26:03.647Z] ---> 70ab7b812149 [2020-07-24T17:26:03.647Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-24T17:26:03.647Z] ---> Running in a1d34e036fe4 [2020-07-24T17:26:04.223Z] Removing intermediate container a1d34e036fe4 [2020-07-24T17:26:04.223Z] ---> 35273cca565b [2020-07-24T17:26:04.223Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-24T17:26:04.491Z] ---> Running in e9da264406d3 [2020-07-24T17:26:04.753Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-24T17:26:06.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-24T17:26:06.717Z] OK: 166 MiB in 39 packages [2020-07-24T17:26:07.289Z] Removing intermediate container e9da264406d3 [2020-07-24T17:26:07.289Z] ---> 071a833027c9 [2020-07-24T17:26:07.289Z] Step 8/23 : COPY . . [2020-07-24T17:26:08.248Z] ---> b3f08d8079fd [2020-07-24T17:26:08.248Z] Step 9/23 : RUN ${MAKE} [2020-07-24T17:26:08.248Z] ---> Running in 668395cf6e3d [2020-07-24T17:26:08.520Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-07-24T17:26:16.717Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-24T17:26:18.644Z] Removing intermediate container 668395cf6e3d [2020-07-24T17:26:18.644Z] ---> 9fc4283150ee [2020-07-24T17:26:18.644Z] Step 10/23 : FROM scratch [2020-07-24T17:26:18.644Z] ---> [2020-07-24T17:26:18.644Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-24T17:26:18.644Z] ---> Running in 5958b343d887 [2020-07-24T17:26:18.644Z] Removing intermediate container 5958b343d887 [2020-07-24T17:26:18.644Z] ---> e32ba3ed6f29 [2020-07-24T17:26:18.644Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-24T17:26:18.644Z] ---> Running in 2056fb22db40 [2020-07-24T17:26:18.644Z] Removing intermediate container 2056fb22db40 [2020-07-24T17:26:18.644Z] ---> 7fc3af30d4db [2020-07-24T17:26:18.644Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-24T17:26:18.644Z] ---> Running in 23c2105bcabe [2020-07-24T17:26:18.905Z] Removing intermediate container 23c2105bcabe [2020-07-24T17:26:18.905Z] ---> 1787ed4dccb6 [2020-07-24T17:26:18.905Z] Step 14/23 : WORKDIR / [2020-07-24T17:26:18.905Z] ---> Running in 7ff3db0ac635 [2020-07-24T17:26:18.905Z] Removing intermediate container 7ff3db0ac635 [2020-07-24T17:26:18.905Z] ---> dc6b0c952582 [2020-07-24T17:26:18.905Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-24T17:26:19.476Z] ---> 65297b3dc1e5 [2020-07-24T17:26:19.476Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-24T17:26:19.737Z] ---> 0d6d63bf1406 [2020-07-24T17:26:19.737Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-24T17:26:20.001Z] ---> 46dc5f0987a1 [2020-07-24T17:26:20.001Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-24T17:26:20.261Z] ---> 8795abd4035f [2020-07-24T17:26:20.261Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-24T17:26:20.261Z] ---> d54d8c6f6228 [2020-07-24T17:26:20.261Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-24T17:26:20.521Z] ---> Running in 1781bc176e2c [2020-07-24T17:26:20.521Z] Removing intermediate container 1781bc176e2c [2020-07-24T17:26:20.521Z] ---> 863c1b9aa058 [2020-07-24T17:26:20.521Z] Step 21/23 : LABEL arch=amd64 [2020-07-24T17:26:20.521Z] ---> Running in 726d0cffeb37 [2020-07-24T17:26:20.782Z] Removing intermediate container 726d0cffeb37 [2020-07-24T17:26:20.782Z] ---> 9384824a5064 [2020-07-24T17:26:20.782Z] Step 22/23 : LABEL git_sha=f6f378ce2de4db4358964e2231070cc37d677ccd [2020-07-24T17:26:20.782Z] ---> Running in 7d4fe84c8b87 [2020-07-24T17:26:21.042Z] Removing intermediate container 7d4fe84c8b87 [2020-07-24T17:26:21.042Z] ---> 3b5060b78ef6 [2020-07-24T17:26:21.042Z] Step 23/23 : LABEL version=0.0.0 [2020-07-24T17:26:21.042Z] ---> Running in f0ddb448e50a [2020-07-24T17:26:21.306Z] Removing intermediate container f0ddb448e50a [2020-07-24T17:26:21.306Z] ---> a71038608f5e [2020-07-24T17:26:21.306Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-24T17:26:21.306Z] Successfully built a71038608f5e [2020-07-24T17:26:21.306Z] 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 [2020-07-24T17:26:21.981Z] 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 [2020-07-24T17:26:22.145Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] checkout [2020-07-24T17:26:27.397Z] using credential edgex-jenkins-ssh [2020-07-24T17:26:27.476Z] Cloning the remote Git repository [2020-07-24T17:26:27.476Z] Cloning with configured refspecs honoured and without tags [2020-07-24T17:26:27.539Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-24T17:26:27.647Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-07-24T17:26:27.715Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-24T17:26:27.716Z] > git --version # timeout=10 [2020-07-24T17:26:27.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-24T17:26:27.826Z] > 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 [2020-07-24T17:26:28.796Z] Fetching without tags [2020-07-24T17:26:29.344Z] Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit f6f378ce2de4db4358964e2231070cc37d677ccd [2020-07-24T17:26:29.564Z] Merge succeeded, producing f6f378ce2de4db4358964e2231070cc37d677ccd [2020-07-24T17:26:29.564Z] Checking out Revision f6f378ce2de4db4358964e2231070cc37d677ccd (PR-549) [2020-07-24T17:26:28.707Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-24T17:26:28.727Z] > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 [2020-07-24T17:26:28.754Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-24T17:26:28.780Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-24T17:26:28.810Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-24T17:26:28.810Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-24T17:26:28.822Z] > 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 [2020-07-24T17:26:29.361Z] > git config core.sparsecheckout # timeout=10 [2020-07-24T17:26:29.381Z] > git checkout -f f6f378ce2de4db4358964e2231070cc37d677ccd # timeout=10 [2020-07-24T17:26:29.482Z] > git remote # timeout=10 [2020-07-24T17:26:29.502Z] > git config --get remote.origin.url # timeout=10 [2020-07-24T17:26:29.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-24T17:26:29.525Z] > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 [2020-07-24T17:26:29.549Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-24T17:26:29.569Z] > git config core.sparsecheckout # timeout=10 [2020-07-24T17:26:29.587Z] > git checkout -f f6f378ce2de4db4358964e2231070cc37d677ccd # timeout=10 [2020-07-24T17:26:33.858Z] 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 [2020-07-24T17:26:34.944Z] ========================================================= [2020-07-24T17:26:34.944Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-24T17:26:34.944Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-24T17:26:36.051Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-07-24T17:26:37.061Z] Sending build context to Docker daemon 3.092MB [2020-07-24T17:26:37.061Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-24T17:26:37.061Z] Step 2/8 : FROM ${BASE} [2020-07-24T17:26:37.348Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-24T17:26:37.348Z] b538f80385f9: Pulling fs layer [2020-07-24T17:26:37.348Z] 74f711af9a0d: Pulling fs layer [2020-07-24T17:26:37.348Z] 99f96fe45779: Pulling fs layer [2020-07-24T17:26:37.348Z] fd7a069fd194: Pulling fs layer [2020-07-24T17:26:37.348Z] 66aa3694b03b: Pulling fs layer [2020-07-24T17:26:37.348Z] 170f70906a0f: Pulling fs layer [2020-07-24T17:26:37.348Z] ad7c5574e4b9: Pulling fs layer [2020-07-24T17:26:37.348Z] e772456be8f7: Pulling fs layer [2020-07-24T17:26:37.348Z] c890913d741a: Pulling fs layer [2020-07-24T17:26:37.348Z] 2480fcc9aa5a: Pulling fs layer [2020-07-24T17:26:37.348Z] 09adf4765672: Pulling fs layer [2020-07-24T17:26:37.348Z] fd7a069fd194: Waiting [2020-07-24T17:26:37.348Z] 66aa3694b03b: Waiting [2020-07-24T17:26:37.348Z] 170f70906a0f: Waiting [2020-07-24T17:26:37.348Z] ad7c5574e4b9: Waiting [2020-07-24T17:26:37.348Z] e772456be8f7: Waiting [2020-07-24T17:26:37.348Z] c890913d741a: Waiting [2020-07-24T17:26:37.348Z] 2480fcc9aa5a: Waiting [2020-07-24T17:26:37.348Z] 09adf4765672: Waiting [2020-07-24T17:26:37.348Z] 99f96fe45779: Verifying Checksum [2020-07-24T17:26:37.348Z] 99f96fe45779: Download complete [2020-07-24T17:26:37.348Z] 74f711af9a0d: Verifying Checksum [2020-07-24T17:26:37.348Z] 74f711af9a0d: Download complete [2020-07-24T17:26:37.348Z] 66aa3694b03b: Verifying Checksum [2020-07-24T17:26:37.348Z] 66aa3694b03b: Download complete [2020-07-24T17:26:37.348Z] 170f70906a0f: Verifying Checksum [2020-07-24T17:26:37.348Z] 170f70906a0f: Download complete [2020-07-24T17:26:37.348Z] b538f80385f9: Verifying Checksum [2020-07-24T17:26:37.348Z] b538f80385f9: Download complete [2020-07-24T17:26:38.351Z] b538f80385f9: Pull complete [2020-07-24T17:26:38.627Z] 74f711af9a0d: Pull complete [2020-07-24T17:26:39.226Z] 99f96fe45779: Pull complete [2020-07-24T17:26:40.224Z] ad7c5574e4b9: Verifying Checksum [2020-07-24T17:26:40.224Z] ad7c5574e4b9: Download complete [2020-07-24T17:26:40.224Z] c890913d741a: Download complete [2020-07-24T17:26:42.224Z] 2480fcc9aa5a: Verifying Checksum [2020-07-24T17:26:42.224Z] 2480fcc9aa5a: Download complete [2020-07-24T17:26:42.224Z] 09adf4765672: Verifying Checksum [2020-07-24T17:26:42.224Z] 09adf4765672: Download complete [2020-07-24T17:26:43.227Z] e772456be8f7: Verifying Checksum [2020-07-24T17:26:43.227Z] e772456be8f7: Download complete [2020-07-24T17:26:43.824Z] fd7a069fd194: Verifying Checksum [2020-07-24T17:26:43.824Z] fd7a069fd194: Download complete [2020-07-24T17:26:56.238Z] fd7a069fd194: Pull complete [2020-07-24T17:26:56.239Z] 66aa3694b03b: Pull complete [2020-07-24T17:26:56.239Z] 170f70906a0f: Pull complete [2020-07-24T17:26:59.655Z] ad7c5574e4b9: Pull complete [2020-07-24T17:27:03.995Z] e772456be8f7: Pull complete [2020-07-24T17:27:04.273Z] c890913d741a: Pull complete [2020-07-24T17:27:06.942Z] 2480fcc9aa5a: Pull complete [2020-07-24T17:27:06.942Z] 09adf4765672: Pull complete [2020-07-24T17:27:06.942Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-24T17:27:06.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-24T17:27:06.942Z] ---> 2248a725d1cf [2020-07-24T17:27:06.942Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-24T17:27:12.419Z] ---> Running in 72cb4e67a771 [2020-07-24T17:27:12.419Z] Removing intermediate container 72cb4e67a771 [2020-07-24T17:27:12.419Z] ---> 51bc50205d30 [2020-07-24T17:27:12.419Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-24T17:27:12.419Z] ---> Running in 4dcb6cebe1a1 [2020-07-24T17:27:15.077Z] Removing intermediate container 4dcb6cebe1a1 [2020-07-24T17:27:15.077Z] ---> 0904af2ad25f [2020-07-24T17:27:15.077Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-24T17:27:15.077Z] ---> Running in 2ae5ba8203f3 [2020-07-24T17:27:16.514Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-24T17:27:17.120Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-24T17:27:18.588Z] OK: 142 MiB in 39 packages [2020-07-24T17:27:19.573Z] Removing intermediate container 2ae5ba8203f3 [2020-07-24T17:27:19.573Z] ---> a4d04215bd8c [2020-07-24T17:27:19.573Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-24T17:27:19.573Z] ---> Running in 189878e0cfd4 [2020-07-24T17:27:20.174Z] Removing intermediate container 189878e0cfd4 [2020-07-24T17:27:20.174Z] ---> 94ff6b146a5e [2020-07-24T17:27:20.174Z] Step 7/8 : COPY . . [2020-07-24T17:27:21.623Z] ---> 4b91d0bdb359 [2020-07-24T17:27:21.623Z] Step 8/8 : RUN go mod download [2020-07-24T17:27:21.623Z] ---> Running in 920fc2239787 [2020-07-24T17:27:24.253Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-24T17:27:24.253Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-24T17:27:24.253Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-24T17:27:24.253Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-24T17:27:24.253Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-24T17:27:24.253Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-24T17:27:24.253Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-24T17:27:24.253Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-24T17:27:24.253Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-24T17:27:24.253Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-24T17:27:24.253Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-24T17:27:24.527Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-24T17:27:24.527Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-24T17:27:24.527Z] go: finding github.com/fatih/color v1.7.0 [2020-07-24T17:27:24.527Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-24T17:27:24.527Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-24T17:27:24.527Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-24T17:27:24.527Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-24T17:27:24.527Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-24T17:27:24.527Z] go: finding github.com/google/uuid v1.1.0 [2020-07-24T17:27:24.527Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-24T17:27:24.527Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-24T17:27:24.527Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-24T17:27:24.798Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-24T17:27:24.798Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-24T17:27:24.798Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-24T17:27:24.798Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-24T17:27:24.798Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-24T17:27:24.798Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-24T17:27:24.798Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-24T17:27:24.798Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-24T17:27:24.798Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-24T17:27:24.798Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-24T17:27:24.798Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-24T17:27:24.798Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-24T17:27:25.070Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-24T17:27:25.070Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-24T17:27:25.070Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-24T17:27:25.070Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-24T17:27:25.070Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-24T17:27:25.070Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-24T17:27:25.070Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-24T17:27:25.070Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-24T17:27:25.070Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-24T17:27:25.070Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-24T17:27:25.070Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-24T17:27:25.070Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-24T17:27:25.342Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-24T17:27:25.342Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-24T17:27:25.342Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-24T17:27:25.342Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-24T17:27:25.342Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-24T17:27:25.342Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-24T17:27:25.342Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-24T17:27:25.342Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-24T17:27:25.342Z] go: finding github.com/posener/complete v1.1.1 [2020-07-24T17:27:25.342Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-24T17:27:25.342Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-24T17:27:25.342Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-24T17:27:25.615Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-24T17:27:25.615Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-24T17:27:25.615Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-24T17:27:25.615Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-24T17:27:25.615Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-24T17:27:25.615Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-24T17:27:25.615Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-24T17:27:25.615Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-24T17:27:25.615Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-24T17:27:35.798Z] Removing intermediate container 920fc2239787 [2020-07-24T17:27:35.798Z] ---> b175b2aacd4e [2020-07-24T17:27:35.798Z] Successfully built b175b2aacd4e [2020-07-24T17:27:35.798Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-24T17:27:36.494Z] + docker inspect -f . ci-base-image-arm64 [2020-07-24T17:27:36.494Z] . [Pipeline] withDockerContainer [2020-07-24T17:27:36.784Z] prd-ubuntu18.04-docker-arm64-4c-16g-883 does not seem to be running inside a container [2020-07-24T17:27:36.922Z] $ 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 [2020-07-24T17:27:38.778Z] $ docker top b3543b0b149704ff25b9744959880531fa59d636eec85e88f008d3023e694a15 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-24T17:27:40.264Z] + go version [2020-07-24T17:27:40.265Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-07-24T17:27:41.579Z] + make test [2020-07-24T17:27:41.579Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-24T17:27:42.572Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-24T17:28:09.777Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-24T17:28:09.777Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-24T17:28:09.777Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-24T17:28:11.256Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.021s coverage: 21.6% of statements [2020-07-24T17:28:14.693Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.148s coverage: 97.1% of statements [2020-07-24T17:28:47.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.018s coverage: 10.8% of statements [2020-07-24T17:28:47.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.015s coverage: 21.7% of statements [2020-07-24T17:28:47.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-24T17:28:47.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.138s coverage: 36.5% of statements [2020-07-24T17:28:47.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-24T17:28:47.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.120s coverage: 65.6% of statements [2020-07-24T17:28:47.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-24T17:28:47.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-24T17:28:47.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-24T17:28:47.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.032s coverage: 52.6% of statements [2020-07-24T17:28:47.178Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.326s coverage: 68.9% of statements [2020-07-24T17:28:47.178Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-24T17:28:47.178Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-24T17:28:47.178Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-24T17:28:49.154Z] gofmt -l . [2020-07-24T17:28:49.154Z] [ "`gofmt -l .`" = "" ] [2020-07-24T17:28:49.432Z] ./bin/test-attribution-txt.sh [2020-07-24T17:28:50.429Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-24T17:28:51.101Z] Warning: overwriting stash ‘coverage-report’ [2020-07-24T17:28:52.010Z] Stashed 1 file(s) [Pipeline] } [2020-07-24T17:28:52.014Z] $ docker stop --time=1 b3543b0b149704ff25b9744959880531fa59d636eec85e88f008d3023e694a15 [2020-07-24T17:28:54.181Z] $ docker rm -f b3543b0b149704ff25b9744959880531fa59d636eec85e88f008d3023e694a15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-24T17:28:55.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-24T17:28:55.864Z] + ls -al . [2020-07-24T17:28:55.864Z] total 228 [2020-07-24T17:28:55.864Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 24 17:28 . [2020-07-24T17:28:55.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 17:26 .. [2020-07-24T17:28:55.864Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 24 17:26 .dockerignore [2020-07-24T17:28:55.864Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 17:26 .git [2020-07-24T17:28:55.864Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 17:26 .github [2020-07-24T17:28:55.864Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 24 17:26 .gitignore [2020-07-24T17:28:55.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 17:26 .semver [2020-07-24T17:28:55.864Z] -rw-rw-r-- 1 jenkins jenkins 936 Jul 24 17:26 Dockerfile.build [2020-07-24T17:28:55.864Z] -rw-rw-r-- 1 jenkins jenkins 808 Jul 24 17:26 Jenkinsfile [2020-07-24T17:28:55.864Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 24 17:26 LICENSE [2020-07-24T17:28:55.864Z] -rw-rw-r-- 1 jenkins jenkins 892 Jul 24 17:26 Makefile [2020-07-24T17:28:55.864Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jul 24 17:26 README.md [2020-07-24T17:28:55.864Z] -rw-rw-r-- 1 jenkins jenkins 4291 Jul 24 17:26 RELEASE-NOTES.txt [2020-07-24T17:28:55.864Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 24 17:22 VERSION [2020-07-24T17:28:55.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 17:26 api [2020-07-24T17:28:55.864Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 17:26 bin [2020-07-24T17:28:55.864Z] -rw-r--r-- 1 jenkins jenkins 111063 Jul 24 17:28 coverage.out [2020-07-24T17:28:55.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 17:26 example [2020-07-24T17:28:55.864Z] -rw-r--r-- 1 jenkins jenkins 446 Jul 24 17:28 go.mod [2020-07-24T17:28:55.864Z] -rw-r--r-- 1 jenkins jenkins 12179 Jul 24 17:28 go.sum [2020-07-24T17:28:55.864Z] drwxrwxr-x 13 jenkins jenkins 4096 Jul 24 17:26 internal [2020-07-24T17:28:55.864Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 24 17:26 pkg [2020-07-24T17:28:55.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 17:26 snap [2020-07-24T17:28:55.864Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 24 17:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-24T17:28:56.305Z] + 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 . [2020-07-24T17:28:56.908Z] Sending build context to Docker daemon 3.204MB [2020-07-24T17:28:56.908Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-24T17:28:56.908Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-24T17:28:56.908Z] ---> b175b2aacd4e [2020-07-24T17:28:56.908Z] Step 3/23 : ARG MAKE='make build' [2020-07-24T17:28:56.908Z] ---> Running in 89cce504e015 [2020-07-24T17:28:57.506Z] Removing intermediate container 89cce504e015 [2020-07-24T17:28:57.506Z] ---> 105f1d62bb15 [2020-07-24T17:28:57.506Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-24T17:28:57.506Z] ---> Running in 77c1cc3fc6f1 [2020-07-24T17:28:58.117Z] Removing intermediate container 77c1cc3fc6f1 [2020-07-24T17:28:58.117Z] ---> 4eff9d021eb9 [2020-07-24T17:28:58.117Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-24T17:28:58.117Z] ---> Running in 638ebb6e7e23 [2020-07-24T17:28:58.398Z] Removing intermediate container 638ebb6e7e23 [2020-07-24T17:28:58.398Z] ---> 0a7d4ca8ead6 [2020-07-24T17:28:58.398Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-24T17:28:58.678Z] ---> Running in 5ee4bdf55852 [2020-07-24T17:29:01.359Z] Removing intermediate container 5ee4bdf55852 [2020-07-24T17:29:01.359Z] ---> 7d39bfd7548c [2020-07-24T17:29:01.359Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-24T17:29:01.359Z] ---> Running in 3646555cabb3 [2020-07-24T17:29:02.805Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-24T17:29:03.405Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-24T17:29:04.386Z] OK: 142 MiB in 39 packages [2020-07-24T17:29:05.434Z] Removing intermediate container 3646555cabb3 [2020-07-24T17:29:05.434Z] ---> f2961c6c1384 [2020-07-24T17:29:05.434Z] Step 8/23 : COPY . . [2020-07-24T17:29:06.906Z] ---> 0b70edc4377a [2020-07-24T17:29:06.906Z] Step 9/23 : RUN ${MAKE} [2020-07-24T17:29:06.906Z] ---> Running in 95c893bed237 [2020-07-24T17:29:08.361Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-07-24T17:29:30.559Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-24T17:29:33.936Z] Removing intermediate container 95c893bed237 [2020-07-24T17:29:33.936Z] ---> e0d49679afc9 [2020-07-24T17:29:33.936Z] Step 10/23 : FROM scratch [2020-07-24T17:29:33.936Z] ---> [2020-07-24T17:29:33.936Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-24T17:29:33.936Z] ---> Running in ccf3ea791d5e [2020-07-24T17:29:33.936Z] Removing intermediate container ccf3ea791d5e [2020-07-24T17:29:33.936Z] ---> b7554cca2499 [2020-07-24T17:29:33.936Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-24T17:29:33.936Z] ---> Running in fdee8342e2ca [2020-07-24T17:29:34.526Z] Removing intermediate container fdee8342e2ca [2020-07-24T17:29:34.526Z] ---> 21b10d941964 [2020-07-24T17:29:34.526Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-24T17:29:34.526Z] ---> Running in a6710a5a9f40 [2020-07-24T17:29:34.797Z] Removing intermediate container a6710a5a9f40 [2020-07-24T17:29:34.797Z] ---> d9971cc95756 [2020-07-24T17:29:34.797Z] Step 14/23 : WORKDIR / [2020-07-24T17:29:35.066Z] ---> Running in a213c81b48f3 [2020-07-24T17:29:35.334Z] Removing intermediate container a213c81b48f3 [2020-07-24T17:29:35.334Z] ---> 5678dfd0d298 [2020-07-24T17:29:35.334Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-24T17:29:36.766Z] ---> d40a3bb9a684 [2020-07-24T17:29:36.766Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-24T17:29:37.363Z] ---> d077ea33b0e0 [2020-07-24T17:29:37.363Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-24T17:29:37.957Z] ---> e768ab0c3078 [2020-07-24T17:29:37.957Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-24T17:29:38.934Z] ---> ae5e9bcdee17 [2020-07-24T17:29:38.934Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-24T17:29:39.528Z] ---> d3def6cb7d21 [2020-07-24T17:29:39.528Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-24T17:29:39.528Z] ---> Running in 1766c4efd1be [2020-07-24T17:29:40.121Z] Removing intermediate container 1766c4efd1be [2020-07-24T17:29:40.121Z] ---> ecc9c69044ec [2020-07-24T17:29:40.121Z] Step 21/23 : LABEL arch=arm64 [2020-07-24T17:29:40.121Z] ---> Running in fc8763488fd5 [2020-07-24T17:29:40.713Z] Removing intermediate container fc8763488fd5 [2020-07-24T17:29:40.713Z] ---> f4004202cf80 [2020-07-24T17:29:40.713Z] Step 22/23 : LABEL git_sha=f6f378ce2de4db4358964e2231070cc37d677ccd [2020-07-24T17:29:40.985Z] ---> Running in 94fa097c61b1 [2020-07-24T17:29:41.270Z] Removing intermediate container 94fa097c61b1 [2020-07-24T17:29:41.270Z] ---> 6f43c3c3417a [2020-07-24T17:29:41.270Z] Step 23/23 : LABEL version=0.0.0 [2020-07-24T17:29:41.543Z] ---> Running in d678e268072e [2020-07-24T17:29:41.816Z] Removing intermediate container d678e268072e [2020-07-24T17:29:41.816Z] ---> 2f10fbbc405d [2020-07-24T17:29:41.816Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-24T17:29:42.089Z] Successfully built 2f10fbbc405d [2020-07-24T17:29:42.089Z] 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 [2020-07-24T17:29:43.464Z] provisioning config files... [2020-07-24T17:29:43.478Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config3045803296333893369tmp [Pipeline] { [Pipeline] sh [2020-07-24T17:29:43.837Z] + curl -s https://codecov.io/bash [2020-07-24T17:29:43.838Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config3045803296333893369tmp [Pipeline] } [2020-07-24T17:29:44.109Z] 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 [2020-07-24T17:29:45.745Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-24T17:29:46.322Z] ---> package-listing.sh [2020-07-24T17:29:46.322Z] ++ facter osfamily [2020-07-24T17:29:46.322Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-24T17:29:46.322Z] + OS_FAMILY=redhat [2020-07-24T17:29:46.322Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-549 [2020-07-24T17:29:46.322Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-24T17:29:46.322Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-24T17:29:46.322Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-24T17:29:46.322Z] + PACKAGES=/tmp/packages_start.txt [2020-07-24T17:29:46.322Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' [2020-07-24T17:29:46.322Z] + PACKAGES=/tmp/packages_end.txt [2020-07-24T17:29:46.322Z] + case "${OS_FAMILY}" in [2020-07-24T17:29:46.322Z] + rpm -qa [2020-07-24T17:29:46.322Z] + sort [2020-07-24T17:29:50.525Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-24T17:29:50.525Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-24T17:29:50.525Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-24T17:29:50.525Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' [2020-07-24T17:29:50.525Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ [2020-07-24T17:29:50.525Z] + 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 [2020-07-24T17:29:51.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-24T17:29:51.100Z] [2020-07-24T17:29:51.100Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-24T17:29:51.447Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-24T17:29:51.448Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-24T17:29:51.448Z] c9b1b535fdd9: Pulling fs layer [2020-07-24T17:29:51.448Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-24T17:29:51.448Z] 756a868c4378: Pulling fs layer [2020-07-24T17:29:51.448Z] 444b2fc9a129: Pulling fs layer [2020-07-24T17:29:51.448Z] ea15f1150254: Pulling fs layer [2020-07-24T17:29:51.448Z] 41b27a9f41bf: Pulling fs layer [2020-07-24T17:29:51.448Z] 28c525ee5125: Pulling fs layer [2020-07-24T17:29:51.448Z] 094b1ea09ed8: Pulling fs layer [2020-07-24T17:29:51.448Z] 138eaada9080: Pulling fs layer [2020-07-24T17:29:51.448Z] 0622d0fa9048: Pulling fs layer [2020-07-24T17:29:51.448Z] 41b27a9f41bf: Waiting [2020-07-24T17:29:51.448Z] 28c525ee5125: Waiting [2020-07-24T17:29:51.448Z] 094b1ea09ed8: Waiting [2020-07-24T17:29:51.448Z] 444b2fc9a129: Waiting [2020-07-24T17:29:51.448Z] 0622d0fa9048: Waiting [2020-07-24T17:29:51.448Z] ea15f1150254: Waiting [2020-07-24T17:29:51.448Z] 138eaada9080: Waiting [2020-07-24T17:29:51.448Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-24T17:29:51.448Z] 2cc5ad85d9ab: Download complete [2020-07-24T17:29:51.448Z] 444b2fc9a129: Download complete [2020-07-24T17:29:51.448Z] c9b1b535fdd9: Verifying Checksum [2020-07-24T17:29:51.448Z] c9b1b535fdd9: Download complete [2020-07-24T17:29:51.716Z] ea15f1150254: Verifying Checksum [2020-07-24T17:29:51.716Z] ea15f1150254: Download complete [2020-07-24T17:29:51.716Z] 28c525ee5125: Verifying Checksum [2020-07-24T17:29:51.716Z] 28c525ee5125: Download complete [2020-07-24T17:29:51.978Z] 756a868c4378: Verifying Checksum [2020-07-24T17:29:51.978Z] 756a868c4378: Download complete [2020-07-24T17:29:51.978Z] c9b1b535fdd9: Pull complete [2020-07-24T17:29:51.978Z] 138eaada9080: Verifying Checksum [2020-07-24T17:29:51.978Z] 138eaada9080: Download complete [2020-07-24T17:29:51.978Z] 094b1ea09ed8: Verifying Checksum [2020-07-24T17:29:51.978Z] 094b1ea09ed8: Download complete [2020-07-24T17:29:51.978Z] 0622d0fa9048: Verifying Checksum [2020-07-24T17:29:51.978Z] 0622d0fa9048: Download complete [2020-07-24T17:29:52.249Z] 2cc5ad85d9ab: Pull complete [2020-07-24T17:29:52.510Z] 41b27a9f41bf: Verifying Checksum [2020-07-24T17:29:52.510Z] 41b27a9f41bf: Download complete [2020-07-24T17:29:53.897Z] 756a868c4378: Pull complete [2020-07-24T17:29:53.897Z] 444b2fc9a129: Pull complete [2020-07-24T17:29:53.897Z] ea15f1150254: Pull complete [2020-07-24T17:29:58.113Z] 41b27a9f41bf: Pull complete [2020-07-24T17:29:58.113Z] 28c525ee5125: Pull complete [2020-07-24T17:30:00.666Z] 094b1ea09ed8: Pull complete [2020-07-24T17:30:00.666Z] 138eaada9080: Pull complete [2020-07-24T17:30:00.925Z] 0622d0fa9048: Pull complete [2020-07-24T17:30:00.925Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-24T17:30:00.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-24T17:30:00.925Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-24T17:30:01.068Z] prd-centos7-docker-4c-2g-881 does not seem to be running inside a container [2020-07-24T17:30:01.107Z] $ 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 [2020-07-24T17:30:05.259Z] $ docker top 43c228394bfecf0a879ebdc9c1685f1ab92a1619e85d3dbb0ceb0615781a042a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-24T17:30:05.554Z] provisioning config files... [2020-07-24T17:30:05.576Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config131596875974827935tmp [Pipeline] { [Pipeline] echo [2020-07-24T17:30:05.647Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-24T17:30:05.939Z] ---> create-netrc.sh [Pipeline] echo [2020-07-24T17:30:05.948Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-24T17:30:06.246Z] ---> logs-deploy.sh [2020-07-24T17:30:06.246Z] + ARCHIVE_ARTIFACTS= [2020-07-24T17:30:06.246Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-24T17:30:06.246Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-24T17:30:06.246Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-24T17:30:06.246Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/6 [2020-07-24T17:30:06.246Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/6/ [2020-07-24T17:30:06.246Z] + 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 [2020-07-24T17:30:07.637Z] Archives upload complete. [2020-07-24T17:30:07.637Z] + 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/