Branch indexing 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 ba93c9a914aaa7b858178398bbd2d1342ca3a445+b22d9636647f710822cdca9c1d6c1c597e4fa962 (fa995490b015053a93c01cdbbe2fb9fc262007a3) 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > 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-1343 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 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 Fetching without tags > 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 b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit ba93c9a914aaa7b858178398bbd2d1342ca3a445 Merge succeeded, producing 0e90ff99e76eb33a7e6543c0f8783e9c8745f701 Checking out Revision 0e90ff99e76eb33a7e6543c0f8783e9c8745f701 (PR-549) > git config core.sparsecheckout # timeout=10 > git checkout -f ba93c9a914aaa7b858178398bbd2d1342ca3a445 # 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 b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e90ff99e76eb33a7e6543c0f8783e9c8745f701 # timeout=10 Commit message: "Merge commit 'b22d9636647f710822cdca9c1d6c1c597e4fa962' into HEAD" > git rev-list --no-walk ba93c9a914aaa7b858178398bbd2d1342ca3a445 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-29T02:46:08.523Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-29T02:46:08.870Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-29T02:46:08.969Z] ========================================================= [2020-07-29T02:46:08.969Z] EdgeX Global Pipelines Version Info [2020-07-29T02:46:08.969Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-29T02:46:11.773Z] ------------------- [2020-07-29T02:46:11.773Z] stable info: [2020-07-29T02:46:11.773Z] ------------------- [2020-07-29T02:46:11.773Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-29T02:46:11.773Z] Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-07-29T02:46:11.773Z] Message: update stable to v1.0.106 [2020-07-29T02:46:13.224Z] ------------------- [2020-07-29T02:46:13.224Z] experimental info: [2020-07-29T02:46:13.224Z] ------------------- [2020-07-29T02:46:13.224Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-29T02:46:13.224Z] Commit SHA: 626b9661e310b9d132ae9d5c3b37d89ff845648b [2020-07-29T02:46:13.224Z] Message: update experimental to v1.0.108 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-29T02:46:15.351Z] + git log --format=format:%s -1 0e90ff99e76eb33a7e6543c0f8783e9c8745f701 [Pipeline] echo [2020-07-29T02:46:15.456Z] GIT_COMMIT: 0e90ff99e76eb33a7e6543c0f8783e9c8745f701, Commit Message: Merge commit 'b22d9636647f710822cdca9c1d6c1c597e4fa962' into HEAD [Pipeline] echo [2020-07-29T02:46:15.498Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:46:16.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-29T02:46:16.705Z] [2020-07-29T02:46:16.705Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:46:17.146Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-29T02:46:17.146Z] latest: Pulling from edgex-devops/git-semver [2020-07-29T02:46:17.146Z] 31603596830f: Pulling fs layer [2020-07-29T02:46:17.146Z] 2a8b12db71e7: Pulling fs layer [2020-07-29T02:46:17.146Z] 6ca5941a6612: Pulling fs layer [2020-07-29T02:46:17.146Z] ecc8261a40a4: Pulling fs layer [2020-07-29T02:46:17.146Z] ecc8261a40a4: Waiting [2020-07-29T02:46:17.146Z] 2a8b12db71e7: Download complete [2020-07-29T02:46:17.446Z] 31603596830f: Verifying Checksum [2020-07-29T02:46:17.446Z] 31603596830f: Download complete [2020-07-29T02:46:17.734Z] ecc8261a40a4: Verifying Checksum [2020-07-29T02:46:17.734Z] ecc8261a40a4: Download complete [2020-07-29T02:46:17.734Z] 6ca5941a6612: Verifying Checksum [2020-07-29T02:46:17.734Z] 6ca5941a6612: Download complete [2020-07-29T02:46:18.013Z] 31603596830f: Pull complete [2020-07-29T02:46:18.291Z] 2a8b12db71e7: Pull complete [2020-07-29T02:46:19.375Z] 6ca5941a6612: Pull complete [2020-07-29T02:46:20.372Z] ecc8261a40a4: Pull complete [2020-07-29T02:46:20.372Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-29T02:46:20.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-29T02:46:20.372Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-29T02:46:20.601Z] prd-centos7-docker-4c-2g-1343 does not seem to be running inside a container [2020-07-29T02:46:20.965Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-29T02:46:22.857Z] $ docker top 4c5dd0d7386b6da01cdb23dbb3cc3ae318792a54fa2f3f504433d71cf218f9dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-29T02:46:23.509Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-29T02:46:23.509Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-29T02:46:24.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-29T02:46:24.039Z] $ docker exec 4c5dd0d7386b6da01cdb23dbb3cc3ae318792a54fa2f3f504433d71cf218f9dd ssh-agent [2020-07-29T02:46:24.514Z] SSH_AUTH_SOCK=/tmp/ssh-pisBNnUvmnMv/agent.11 [2020-07-29T02:46:24.514Z] SSH_AGENT_PID=16 [2020-07-29T02:46:24.553Z] Running ssh-add (command line suppressed) [2020-07-29T02:46:24.835Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_7301662700444819415.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_7301662700444819415.key) [2020-07-29T02:46:24.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-29T02:46:25.409Z] + git describe --exact-match --tags HEAD [2020-07-29T02:46:25.409Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-29T02:46:25.823Z] $ docker exec --env ******** --env ******** 4c5dd0d7386b6da01cdb23dbb3cc3ae318792a54fa2f3f504433d71cf218f9dd ssh-agent -k [2020-07-29T02:46:26.674Z] unset SSH_AUTH_SOCK; [2020-07-29T02:46:26.675Z] unset SSH_AGENT_PID; [2020-07-29T02:46:26.675Z] echo Agent pid 16 killed; [2020-07-29T02:46:26.862Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-29T02:46:26.971Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-29T02:46:26.971Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-29T02:46:27.067Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-29T02:46:27.067Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-29T02:46:27.651Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-29T02:46:27.694Z] $ docker exec 4c5dd0d7386b6da01cdb23dbb3cc3ae318792a54fa2f3f504433d71cf218f9dd ssh-agent [2020-07-29T02:46:28.162Z] SSH_AUTH_SOCK=/tmp/ssh-xy3kOqewdlSY/agent.44 [2020-07-29T02:46:28.162Z] SSH_AGENT_PID=49 [2020-07-29T02:46:28.219Z] Running ssh-add (command line suppressed) [2020-07-29T02:46:28.499Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_2043554071051259207.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_2043554071051259207.key) [2020-07-29T02:46:28.713Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-29T02:46:29.575Z] + git semver init [2020-07-29T02:46:29.575Z] # -> Open(): unable to determine branch for HEAD [2020-07-29T02:46:29.575Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.git [2020-07-29T02:46:29.575Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-549 [2020-07-29T02:46:29.575Z] # $SEMVER_REMOTE_NAME = origin [2020-07-29T02:46:29.575Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-29T02:46:29.575Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-29T02:46:29.575Z] # $SEMVER_BRANCH = PR-549 [2020-07-29T02:46:29.575Z] # $SEMVER_TEMP = /tmp/semver-822294920 [2020-07-29T02:46:29.575Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-07-29T02:46:30.577Z] # '/tmp/semver-822294920' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver' [2020-07-29T02:46:30.577Z] # -> Force: false [2020-07-29T02:46:30.921Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver [Pipeline] } [2020-07-29T02:46:31.075Z] $ docker exec --env ******** --env ******** 4c5dd0d7386b6da01cdb23dbb3cc3ae318792a54fa2f3f504433d71cf218f9dd ssh-agent -k [2020-07-29T02:46:31.401Z] unset SSH_AUTH_SOCK; [2020-07-29T02:46:31.402Z] unset SSH_AGENT_PID; [2020-07-29T02:46:31.402Z] echo Agent pid 49 killed; [2020-07-29T02:46:31.499Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-29T02:46:32.188Z] + git semver [Pipeline] } [2020-07-29T02:46:32.305Z] $ docker stop --time=1 4c5dd0d7386b6da01cdb23dbb3cc3ae318792a54fa2f3f504433d71cf218f9dd [2020-07-29T02:46:33.896Z] $ docker rm -f 4c5dd0d7386b6da01cdb23dbb3cc3ae318792a54fa2f3f504433d71cf218f9dd [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-29T02:46:36.273Z] Stashed 25 file(s) [Pipeline] echo [2020-07-29T02:46:36.275Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-07-29T02:46:36.367Z] 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-29T02:46:36.827Z] Running on prd-centos7-docker-4c-2g-1345 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws [2020-07-29T02:46:36.871Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-07-29T02:46:39.018Z] using credential edgex-jenkins-ssh [2020-07-29T02:46:39.066Z] Cloning the remote Git repository [2020-07-29T02:46:39.066Z] Cloning with configured refspecs honoured and without tags [2020-07-29T02:46:39.088Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-29T02:46:39.151Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-07-29T02:46:39.195Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-29T02:46:39.195Z] > git --version # timeout=10 [2020-07-29T02:46:39.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-29T02:46:39.232Z] > 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-29T02:46:39.888Z] Fetching without tags [2020-07-29T02:46:40.272Z] Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit ba93c9a914aaa7b858178398bbd2d1342ca3a445 [2020-07-29T02:46:40.383Z] Merge succeeded, producing 0f33b750220838486567fff14708956057af9235 [2020-07-29T02:46:40.383Z] Checking out Revision 0f33b750220838486567fff14708956057af9235 (PR-549) [2020-07-29T02:46:39.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-29T02:46:39.856Z] > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 [2020-07-29T02:46:39.864Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-29T02:46:39.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-29T02:46:39.888Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-29T02:46:39.888Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-29T02:46:39.893Z] > 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-29T02:46:40.276Z] > git config core.sparsecheckout # timeout=10 [2020-07-29T02:46:40.282Z] > git checkout -f ba93c9a914aaa7b858178398bbd2d1342ca3a445 # timeout=10 [2020-07-29T02:46:40.324Z] > git remote # timeout=10 [2020-07-29T02:46:40.330Z] > git config --get remote.origin.url # timeout=10 [2020-07-29T02:46:40.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-29T02:46:40.340Z] > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 [2020-07-29T02:46:40.374Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-29T02:46:40.382Z] > git config core.sparsecheckout # timeout=10 [2020-07-29T02:46:40.387Z] > git checkout -f 0f33b750220838486567fff14708956057af9235 # timeout=10 [2020-07-29T02:46:43.947Z] Commit message: "Merge commit 'b22d9636647f710822cdca9c1d6c1c597e4fa962' into HEAD" [2020-07-29T02:46:43.947Z] > git rev-list --no-walk ba93c9a914aaa7b858178398bbd2d1342ca3a445 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-29T02:46:44.799Z] ========================================================= [2020-07-29T02:46:44.799Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-29T02:46:44.799Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:46:45.400Z] + 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-29T02:46:45.662Z] Sending build context to Docker daemon 3.104MB [2020-07-29T02:46:45.662Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-29T02:46:45.662Z] Step 2/8 : FROM ${BASE} [2020-07-29T02:46:45.932Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-29T02:46:45.932Z] df20fa9351a1: Pulling fs layer [2020-07-29T02:46:45.932Z] ed8968b2872e: Pulling fs layer [2020-07-29T02:46:45.932Z] a92cc7c5fd73: Pulling fs layer [2020-07-29T02:46:45.932Z] 2dd03ba5bac4: Pulling fs layer [2020-07-29T02:46:45.932Z] 1e091d79d1de: Pulling fs layer [2020-07-29T02:46:45.932Z] 481702a1767f: Pulling fs layer [2020-07-29T02:46:45.932Z] f64a6f60c768: Pulling fs layer [2020-07-29T02:46:45.932Z] e78d2573fc39: Pulling fs layer [2020-07-29T02:46:45.932Z] e876d2f968b6: Pulling fs layer [2020-07-29T02:46:45.932Z] ce8a83651883: Pulling fs layer [2020-07-29T02:46:45.932Z] 07967f4d0e4b: Pulling fs layer [2020-07-29T02:46:45.932Z] 2dd03ba5bac4: Waiting [2020-07-29T02:46:45.932Z] 1e091d79d1de: Waiting [2020-07-29T02:46:45.932Z] ce8a83651883: Waiting [2020-07-29T02:46:45.932Z] 481702a1767f: Waiting [2020-07-29T02:46:45.932Z] f64a6f60c768: Waiting [2020-07-29T02:46:45.932Z] 07967f4d0e4b: Waiting [2020-07-29T02:46:45.932Z] e78d2573fc39: Waiting [2020-07-29T02:46:45.932Z] a92cc7c5fd73: Verifying Checksum [2020-07-29T02:46:45.932Z] a92cc7c5fd73: Download complete [2020-07-29T02:46:45.932Z] ed8968b2872e: Verifying Checksum [2020-07-29T02:46:45.932Z] ed8968b2872e: Download complete [2020-07-29T02:46:45.932Z] 1e091d79d1de: Verifying Checksum [2020-07-29T02:46:45.932Z] 1e091d79d1de: Download complete [2020-07-29T02:46:45.932Z] 481702a1767f: Download complete [2020-07-29T02:46:45.932Z] df20fa9351a1: Verifying Checksum [2020-07-29T02:46:45.932Z] df20fa9351a1: Download complete [2020-07-29T02:46:46.208Z] df20fa9351a1: Pull complete [2020-07-29T02:46:46.800Z] f64a6f60c768: Download complete [2020-07-29T02:46:46.800Z] e876d2f968b6: Verifying Checksum [2020-07-29T02:46:46.800Z] e876d2f968b6: Download complete [2020-07-29T02:46:47.779Z] ce8a83651883: Verifying Checksum [2020-07-29T02:46:47.779Z] ce8a83651883: Download complete [2020-07-29T02:46:47.779Z] 2dd03ba5bac4: Verifying Checksum [2020-07-29T02:46:47.779Z] 2dd03ba5bac4: Download complete [2020-07-29T02:46:47.779Z] 07967f4d0e4b: Verifying Checksum [2020-07-29T02:46:47.779Z] 07967f4d0e4b: Download complete [2020-07-29T02:46:47.779Z] e78d2573fc39: Download complete [2020-07-29T02:46:48.040Z] ed8968b2872e: Pull complete [2020-07-29T02:46:48.301Z] a92cc7c5fd73: Pull complete [2020-07-29T02:46:51.730Z] Still waiting to schedule task [2020-07-29T02:46:51.731Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1341’ [2020-07-29T02:46:53.624Z] 2dd03ba5bac4: Pull complete [2020-07-29T02:46:53.624Z] 1e091d79d1de: Pull complete [2020-07-29T02:46:53.624Z] 481702a1767f: Pull complete [2020-07-29T02:47:00.220Z] f64a6f60c768: Pull complete [2020-07-29T02:47:03.545Z] e78d2573fc39: Pull complete [2020-07-29T02:47:03.545Z] e876d2f968b6: Pull complete [2020-07-29T02:47:04.500Z] ce8a83651883: Pull complete [2020-07-29T02:47:04.500Z] 07967f4d0e4b: Pull complete [2020-07-29T02:47:04.500Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-29T02:47:04.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-29T02:47:04.500Z] ---> 5d7c900382c6 [2020-07-29T02:47:04.500Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-29T02:47:05.885Z] ---> Running in f570877c6ac9 [2020-07-29T02:47:05.885Z] Removing intermediate container f570877c6ac9 [2020-07-29T02:47:05.885Z] ---> 1f49b612612a [2020-07-29T02:47:05.885Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-29T02:47:05.885Z] ---> Running in 8affb81711e8 [2020-07-29T02:47:07.278Z] Removing intermediate container 8affb81711e8 [2020-07-29T02:47:07.278Z] ---> 91004b128dca [2020-07-29T02:47:07.278Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-29T02:47:07.278Z] ---> Running in ee6cb0cc7d39 [2020-07-29T02:47:07.850Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-29T02:47:08.422Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-29T02:47:08.996Z] OK: 166 MiB in 39 packages [2020-07-29T02:47:09.571Z] Removing intermediate container ee6cb0cc7d39 [2020-07-29T02:47:09.571Z] ---> 59ac6a2222f1 [2020-07-29T02:47:09.571Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-29T02:47:09.571Z] ---> Running in 07e8880bf525 [2020-07-29T02:47:09.832Z] Removing intermediate container 07e8880bf525 [2020-07-29T02:47:09.832Z] ---> 04527a16ec95 [2020-07-29T02:47:09.832Z] Step 7/8 : COPY . . [2020-07-29T02:47:10.774Z] ---> a9bcfb24223b [2020-07-29T02:47:10.774Z] Step 8/8 : RUN go mod download [2020-07-29T02:47:10.774Z] ---> Running in f28f02c7463b [2020-07-29T02:47:12.694Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-29T02:47:12.694Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-29T02:47:12.694Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-29T02:47:12.694Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-29T02:47:12.694Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-29T02:47:12.694Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-29T02:47:12.694Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-29T02:47:12.694Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-29T02:47:12.694Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-29T02:47:12.694Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-29T02:47:12.694Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-29T02:47:12.694Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-29T02:47:12.694Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-29T02:47:12.694Z] go: finding github.com/fatih/color v1.7.0 [2020-07-29T02:47:12.694Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-29T02:47:12.694Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-29T02:47:12.694Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-29T02:47:12.694Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-29T02:47:12.694Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-29T02:47:12.694Z] go: finding github.com/google/uuid v1.1.0 [2020-07-29T02:47:12.694Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-29T02:47:12.956Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-29T02:47:12.956Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-29T02:47:12.956Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-29T02:47:12.956Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-29T02:47:12.956Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-29T02:47:12.956Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-29T02:47:12.956Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-29T02:47:12.956Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-29T02:47:12.956Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-29T02:47:12.956Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-29T02:47:12.956Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-29T02:47:12.956Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-29T02:47:13.217Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-29T02:47:13.217Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-29T02:47:13.217Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-29T02:47:13.217Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-29T02:47:13.217Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-29T02:47:13.217Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-29T02:47:13.217Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-29T02:47:13.217Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-29T02:47:13.217Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-29T02:47:13.217Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-29T02:47:13.217Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-29T02:47:13.217Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-29T02:47:13.217Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-29T02:47:13.479Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-29T02:47:13.479Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-29T02:47:13.479Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-29T02:47:13.479Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-29T02:47:13.479Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-29T02:47:13.479Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-29T02:47:13.479Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-29T02:47:13.479Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-29T02:47:13.479Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-29T02:47:13.479Z] go: finding github.com/posener/complete v1.1.1 [2020-07-29T02:47:13.479Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-29T02:47:13.479Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-29T02:47:13.750Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-29T02:47:13.750Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-29T02:47:13.750Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-29T02:47:13.750Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-29T02:47:13.750Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-29T02:47:13.750Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-29T02:47:13.750Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-29T02:47:13.750Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-29T02:47:13.750Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-29T02:47:13.750Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-29T02:47:21.916Z] Removing intermediate container f28f02c7463b [2020-07-29T02:47:21.916Z] ---> 35ffba38bb4b [2020-07-29T02:47:21.916Z] Successfully built 35ffba38bb4b [2020-07-29T02:47:21.916Z] 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-29T02:47:22.584Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-29T02:47:22.584Z] . [Pipeline] withDockerContainer [2020-07-29T02:47:22.701Z] prd-centos7-docker-4c-2g-1345 does not seem to be running inside a container [2020-07-29T02:47:22.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-29T02:47:23.945Z] $ docker top 6d7b7a5a37de53322e51066b2d20f4a7157f07b446fa76c1185e4a627a98c9f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-29T02:47:24.429Z] + go version [2020-07-29T02:47:24.429Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-07-29T02:47:24.728Z] + make test [2020-07-29T02:47:24.728Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-29T02:47:25.671Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-29T02:47:35.765Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-29T02:47:35.765Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-29T02:47:35.765Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-29T02:47:35.765Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.008s coverage: 21.6% of statements [2020-07-29T02:47:37.700Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.043s coverage: 97.1% of statements [2020-07-29T02:48:09.842Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.018s coverage: 10.8% of statements [2020-07-29T02:48:09.842Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.008s coverage: 21.7% of statements [2020-07-29T02:48:09.842Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-29T02:48:09.842Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.021s coverage: 36.5% of statements [2020-07-29T02:48:09.842Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-29T02:48:09.842Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.034s coverage: 65.6% of statements [2020-07-29T02:48:09.842Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-29T02:48:09.842Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-29T02:48:09.842Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-29T02:48:09.842Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.007s coverage: 52.6% of statements [2020-07-29T02:48:09.842Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.102s coverage: 68.9% of statements [2020-07-29T02:48:09.842Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-29T02:48:09.842Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-29T02:48:09.842Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-29T02:48:10.102Z] gofmt -l . [2020-07-29T02:48:10.102Z] [ "`gofmt -l .`" = "" ] [2020-07-29T02:48:10.364Z] ./bin/test-attribution-txt.sh [2020-07-29T02:48:10.936Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-29T02:48:11.552Z] Stashed 1 file(s) [Pipeline] } [2020-07-29T02:48:11.554Z] $ docker stop --time=1 6d7b7a5a37de53322e51066b2d20f4a7157f07b446fa76c1185e4a627a98c9f2 [2020-07-29T02:48:13.084Z] $ docker rm -f 6d7b7a5a37de53322e51066b2d20f4a7157f07b446fa76c1185e4a627a98c9f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-29T02:48:14.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-29T02:48:14.581Z] + ls -al . [2020-07-29T02:48:14.581Z] total 188 [2020-07-29T02:48:14.581Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jul 29 02:48 . [2020-07-29T02:48:14.581Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 29 02:46 .. [2020-07-29T02:48:14.581Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 29 02:46 bin [2020-07-29T02:48:14.581Z] -rw-r--r--. 1 jenkins jenkins 111063 Jul 29 02:48 coverage.out [2020-07-29T02:48:14.581Z] -rw-rw-r--. 1 jenkins jenkins 936 Jul 29 02:46 Dockerfile.build [2020-07-29T02:48:14.581Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 29 02:46 .dockerignore [2020-07-29T02:48:14.581Z] drwxrwxr-x. 4 jenkins jenkins 48 Jul 29 02:46 example [2020-07-29T02:48:14.581Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 29 02:46 .git [2020-07-29T02:48:14.581Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 29 02:46 .github [2020-07-29T02:48:14.581Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 29 02:46 .gitignore [2020-07-29T02:48:14.581Z] -rw-r--r--. 1 jenkins jenkins 446 Jul 29 02:48 go.mod [2020-07-29T02:48:14.581Z] -rw-r--r--. 1 jenkins jenkins 12179 Jul 29 02:48 go.sum [2020-07-29T02:48:14.581Z] drwxrwxr-x. 13 jenkins jenkins 184 Jul 29 02:46 internal [2020-07-29T02:48:14.581Z] -rw-rw-r--. 1 jenkins jenkins 808 Jul 29 02:46 Jenkinsfile [2020-07-29T02:48:14.581Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 29 02:46 LICENSE [2020-07-29T02:48:14.581Z] -rw-rw-r--. 1 jenkins jenkins 892 Jul 29 02:46 Makefile [2020-07-29T02:48:14.581Z] drwxrwxr-x. 4 jenkins jenkins 26 Jul 29 02:46 openapi [2020-07-29T02:48:14.581Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 29 02:46 pkg [2020-07-29T02:48:14.581Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jul 29 02:46 README.md [2020-07-29T02:48:14.581Z] -rw-rw-r--. 1 jenkins jenkins 4291 Jul 29 02:46 RELEASE-NOTES.txt [2020-07-29T02:48:14.581Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 29 02:46 .semver [2020-07-29T02:48:14.581Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 29 02:46 snap [2020-07-29T02:48:14.581Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 29 02:46 VERSION [2020-07-29T02:48:14.581Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 29 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:48:14.882Z] + 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=0e90ff99e76eb33a7e6543c0f8783e9c8745f701 --label arch=amd64 --label version=0.0.0 . [2020-07-29T02:48:15.142Z] Sending build context to Docker daemon 3.215MB [2020-07-29T02:48:15.142Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-29T02:48:15.142Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-29T02:48:15.142Z] ---> 35ffba38bb4b [2020-07-29T02:48:15.142Z] Step 3/23 : ARG MAKE='make build' [2020-07-29T02:48:15.402Z] ---> Running in 03dccb3d6aca [2020-07-29T02:48:15.663Z] Removing intermediate container 03dccb3d6aca [2020-07-29T02:48:15.663Z] ---> 2bcf8bdd5b81 [2020-07-29T02:48:15.663Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-29T02:48:15.663Z] ---> Running in d4f816c4d948 [2020-07-29T02:48:15.924Z] Removing intermediate container d4f816c4d948 [2020-07-29T02:48:15.924Z] ---> 85afd23dd566 [2020-07-29T02:48:15.924Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-29T02:48:15.924Z] ---> Running in 29f09e05cf74 [2020-07-29T02:48:16.186Z] Removing intermediate container 29f09e05cf74 [2020-07-29T02:48:16.186Z] ---> f0ab6e33ecde [2020-07-29T02:48:16.186Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-29T02:48:16.186Z] ---> Running in e6eb01f761d3 [2020-07-29T02:48:17.131Z] Removing intermediate container e6eb01f761d3 [2020-07-29T02:48:17.131Z] ---> a969d76242ad [2020-07-29T02:48:17.131Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-29T02:48:17.131Z] ---> Running in 8b099a750255 [2020-07-29T02:48:17.392Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-29T02:48:18.335Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-29T02:48:18.597Z] OK: 166 MiB in 39 packages [2020-07-29T02:48:19.170Z] Removing intermediate container 8b099a750255 [2020-07-29T02:48:19.170Z] ---> c14a6192b1d8 [2020-07-29T02:48:19.170Z] Step 8/23 : COPY . . [2020-07-29T02:48:20.113Z] ---> 4df8402b8b61 [2020-07-29T02:48:20.113Z] Step 9/23 : RUN ${MAKE} [2020-07-29T02:48:20.113Z] ---> Running in a9abe8f457f9 [2020-07-29T02:48:20.379Z] 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-29T02:48:28.627Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-29T02:48:30.013Z] Removing intermediate container a9abe8f457f9 [2020-07-29T02:48:30.013Z] ---> 9afc883508a5 [2020-07-29T02:48:30.013Z] Step 10/23 : FROM scratch [2020-07-29T02:48:30.013Z] ---> [2020-07-29T02:48:30.013Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-29T02:48:30.013Z] ---> Running in b1307efe41dc [2020-07-29T02:48:30.013Z] Removing intermediate container b1307efe41dc [2020-07-29T02:48:30.013Z] ---> 69840d24d1e9 [2020-07-29T02:48:30.013Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-29T02:48:30.274Z] ---> Running in a94d1a47f272 [2020-07-29T02:48:30.274Z] Removing intermediate container a94d1a47f272 [2020-07-29T02:48:30.274Z] ---> 276cdf4c0e9f [2020-07-29T02:48:30.274Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-29T02:48:30.274Z] ---> Running in b2ff738fe747 [2020-07-29T02:48:30.536Z] Removing intermediate container b2ff738fe747 [2020-07-29T02:48:30.536Z] ---> 3a25684c415e [2020-07-29T02:48:30.536Z] Step 14/23 : WORKDIR / [2020-07-29T02:48:30.536Z] ---> Running in 548f665c4798 [2020-07-29T02:48:30.796Z] Removing intermediate container 548f665c4798 [2020-07-29T02:48:30.796Z] ---> be2da3862e07 [2020-07-29T02:48:30.796Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-29T02:48:31.056Z] ---> 8f54974005ad [2020-07-29T02:48:31.056Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-29T02:48:31.319Z] ---> 40b2873185f3 [2020-07-29T02:48:31.319Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-29T02:48:31.584Z] ---> a18246f439fb [2020-07-29T02:48:31.584Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-29T02:48:31.846Z] ---> e5e95a497fcc [2020-07-29T02:48:31.846Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-29T02:48:32.107Z] ---> 9e5db4764678 [2020-07-29T02:48:32.107Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-29T02:48:32.107Z] ---> Running in c2eee53c568c [2020-07-29T02:48:32.368Z] Removing intermediate container c2eee53c568c [2020-07-29T02:48:32.368Z] ---> 7a6434383a0f [2020-07-29T02:48:32.368Z] Step 21/23 : LABEL arch=amd64 [2020-07-29T02:48:32.368Z] ---> Running in b918200ac546 [2020-07-29T02:48:32.630Z] Removing intermediate container b918200ac546 [2020-07-29T02:48:32.630Z] ---> 4a51e93738ab [2020-07-29T02:48:32.630Z] Step 22/23 : LABEL git_sha=0e90ff99e76eb33a7e6543c0f8783e9c8745f701 [2020-07-29T02:48:32.630Z] ---> Running in 2e559c8865c2 [2020-07-29T02:48:32.893Z] Removing intermediate container 2e559c8865c2 [2020-07-29T02:48:32.893Z] ---> d4ce20f0cbde [2020-07-29T02:48:32.893Z] Step 23/23 : LABEL version=0.0.0 [2020-07-29T02:48:32.893Z] ---> Running in a3aeb68bd023 [2020-07-29T02:48:32.893Z] Removing intermediate container a3aeb68bd023 [2020-07-29T02:48:32.893Z] ---> 44a389920419 [2020-07-29T02:48:32.893Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-29T02:48:33.155Z] Successfully built 44a389920419 [2020-07-29T02:48:33.155Z] 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 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-29T02:49:49.525Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1347 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws [2020-07-29T02:49:49.572Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-07-29T02:49:54.736Z] using credential edgex-jenkins-ssh [2020-07-29T02:49:54.786Z] Cloning the remote Git repository [2020-07-29T02:49:54.786Z] Cloning with configured refspecs honoured and without tags [2020-07-29T02:49:54.833Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-29T02:49:54.938Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-07-29T02:49:54.998Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-29T02:49:54.999Z] > git --version # timeout=10 [2020-07-29T02:49:55.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-29T02:49:55.064Z] > 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-29T02:49:56.150Z] Fetching without tags [2020-07-29T02:49:56.631Z] Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit ba93c9a914aaa7b858178398bbd2d1342ca3a445 [2020-07-29T02:49:57.097Z] Merge succeeded, producing fa4b78fd5c5e80a998d77b5c1f143aa95b726ff0 [2020-07-29T02:49:57.097Z] Checking out Revision fa4b78fd5c5e80a998d77b5c1f143aa95b726ff0 (PR-549) [2020-07-29T02:49:56.024Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-29T02:49:56.065Z] > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 [2020-07-29T02:49:56.083Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-29T02:49:56.119Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-29T02:49:56.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-29T02:49:56.158Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-29T02:49:56.174Z] > 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-29T02:49:56.650Z] > git config core.sparsecheckout # timeout=10 [2020-07-29T02:49:56.667Z] > git checkout -f ba93c9a914aaa7b858178398bbd2d1342ca3a445 # timeout=10 [2020-07-29T02:49:56.794Z] > git remote # timeout=10 [2020-07-29T02:49:56.861Z] > git config --get remote.origin.url # timeout=10 [2020-07-29T02:49:56.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-29T02:49:56.909Z] > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 [2020-07-29T02:49:57.034Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-29T02:49:57.100Z] > git config core.sparsecheckout # timeout=10 [2020-07-29T02:49:57.115Z] > git checkout -f fa4b78fd5c5e80a998d77b5c1f143aa95b726ff0 # timeout=10 [2020-07-29T02:50:01.654Z] Commit message: "Merge commit 'b22d9636647f710822cdca9c1d6c1c597e4fa962' into HEAD" [2020-07-29T02:50:01.659Z] > git rev-list --no-walk ba93c9a914aaa7b858178398bbd2d1342ca3a445 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-29T02:50:03.001Z] ========================================================= [2020-07-29T02:50:03.001Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-29T02:50:03.001Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:50:04.212Z] + 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-29T02:50:05.209Z] Sending build context to Docker daemon 3.102MB [2020-07-29T02:50:05.209Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-29T02:50:05.209Z] Step 2/8 : FROM ${BASE} [2020-07-29T02:50:05.484Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-29T02:50:05.484Z] b538f80385f9: Pulling fs layer [2020-07-29T02:50:05.484Z] 74f711af9a0d: Pulling fs layer [2020-07-29T02:50:05.484Z] 99f96fe45779: Pulling fs layer [2020-07-29T02:50:05.484Z] fd7a069fd194: Pulling fs layer [2020-07-29T02:50:05.484Z] 66aa3694b03b: Pulling fs layer [2020-07-29T02:50:05.484Z] 170f70906a0f: Pulling fs layer [2020-07-29T02:50:05.484Z] ad7c5574e4b9: Pulling fs layer [2020-07-29T02:50:05.484Z] e772456be8f7: Pulling fs layer [2020-07-29T02:50:05.484Z] c890913d741a: Pulling fs layer [2020-07-29T02:50:05.484Z] 2480fcc9aa5a: Pulling fs layer [2020-07-29T02:50:05.484Z] 09adf4765672: Pulling fs layer [2020-07-29T02:50:05.484Z] ad7c5574e4b9: Waiting [2020-07-29T02:50:05.484Z] e772456be8f7: Waiting [2020-07-29T02:50:05.484Z] 2480fcc9aa5a: Waiting [2020-07-29T02:50:05.484Z] 09adf4765672: Waiting [2020-07-29T02:50:05.484Z] fd7a069fd194: Waiting [2020-07-29T02:50:05.484Z] 66aa3694b03b: Waiting [2020-07-29T02:50:05.484Z] c890913d741a: Waiting [2020-07-29T02:50:05.484Z] 170f70906a0f: Waiting [2020-07-29T02:50:05.484Z] 99f96fe45779: Verifying Checksum [2020-07-29T02:50:05.484Z] 99f96fe45779: Download complete [2020-07-29T02:50:05.484Z] 74f711af9a0d: Verifying Checksum [2020-07-29T02:50:05.484Z] 74f711af9a0d: Download complete [2020-07-29T02:50:05.484Z] 66aa3694b03b: Verifying Checksum [2020-07-29T02:50:05.484Z] 66aa3694b03b: Download complete [2020-07-29T02:50:05.484Z] b538f80385f9: Verifying Checksum [2020-07-29T02:50:05.484Z] b538f80385f9: Download complete [2020-07-29T02:50:05.760Z] 170f70906a0f: Verifying Checksum [2020-07-29T02:50:05.760Z] 170f70906a0f: Download complete [2020-07-29T02:50:06.372Z] b538f80385f9: Pull complete [2020-07-29T02:50:06.978Z] 74f711af9a0d: Pull complete [2020-07-29T02:50:07.255Z] 99f96fe45779: Pull complete [2020-07-29T02:50:08.706Z] ad7c5574e4b9: Verifying Checksum [2020-07-29T02:50:08.706Z] ad7c5574e4b9: Download complete [2020-07-29T02:50:08.706Z] c890913d741a: Verifying Checksum [2020-07-29T02:50:10.679Z] e772456be8f7: Verifying Checksum [2020-07-29T02:50:10.679Z] e772456be8f7: Download complete [2020-07-29T02:50:10.679Z] 09adf4765672: Verifying Checksum [2020-07-29T02:50:10.679Z] 09adf4765672: Download complete [2020-07-29T02:50:10.679Z] 2480fcc9aa5a: Verifying Checksum [2020-07-29T02:50:10.679Z] 2480fcc9aa5a: Download complete [2020-07-29T02:50:11.666Z] fd7a069fd194: Verifying Checksum [2020-07-29T02:50:11.666Z] fd7a069fd194: Download complete [2020-07-29T02:50:24.065Z] fd7a069fd194: Pull complete [2020-07-29T02:50:24.065Z] 66aa3694b03b: Pull complete [2020-07-29T02:50:24.065Z] 170f70906a0f: Pull complete [2020-07-29T02:50:26.696Z] ad7c5574e4b9: Pull complete [2020-07-29T02:50:31.004Z] e772456be8f7: Pull complete [2020-07-29T02:50:31.284Z] c890913d741a: Pull complete [2020-07-29T02:50:33.913Z] 2480fcc9aa5a: Pull complete [2020-07-29T02:50:33.913Z] 09adf4765672: Pull complete [2020-07-29T02:50:34.187Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-29T02:50:34.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-29T02:50:34.187Z] ---> 2248a725d1cf [2020-07-29T02:50:34.187Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-29T02:50:39.586Z] ---> Running in bacd81649496 [2020-07-29T02:50:39.586Z] Removing intermediate container bacd81649496 [2020-07-29T02:50:39.586Z] ---> 382ded1d84ab [2020-07-29T02:50:39.586Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-29T02:50:39.586Z] ---> Running in 23b36cdcc6fa [2020-07-29T02:50:42.233Z] Removing intermediate container 23b36cdcc6fa [2020-07-29T02:50:42.233Z] ---> b82acad7759d [2020-07-29T02:50:42.233Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-29T02:50:42.233Z] ---> Running in a7574497e41d [2020-07-29T02:50:43.670Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-29T02:50:44.650Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-29T02:50:45.245Z] OK: 142 MiB in 39 packages [2020-07-29T02:50:46.224Z] Removing intermediate container a7574497e41d [2020-07-29T02:50:46.224Z] ---> f4edc80ea67d [2020-07-29T02:50:46.224Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-29T02:50:46.498Z] ---> Running in 0470229cb7ef [2020-07-29T02:50:47.091Z] Removing intermediate container 0470229cb7ef [2020-07-29T02:50:47.091Z] ---> b09f93b1484b [2020-07-29T02:50:47.091Z] Step 7/8 : COPY . . [2020-07-29T02:50:48.060Z] ---> 515b08590c10 [2020-07-29T02:50:48.060Z] Step 8/8 : RUN go mod download [2020-07-29T02:50:48.335Z] ---> Running in 470a4235063b [2020-07-29T02:50:50.949Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-29T02:50:50.949Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-29T02:50:50.949Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-29T02:50:50.949Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-29T02:50:50.949Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-29T02:50:50.949Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-29T02:50:50.949Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-29T02:50:50.949Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-29T02:50:50.949Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-29T02:50:50.949Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-29T02:50:50.949Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-29T02:50:50.949Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-29T02:50:51.220Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-29T02:50:51.220Z] go: finding github.com/fatih/color v1.7.0 [2020-07-29T02:50:51.220Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-29T02:50:51.220Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-29T02:50:51.220Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-29T02:50:51.220Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-29T02:50:51.220Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-29T02:50:51.220Z] go: finding github.com/google/uuid v1.1.0 [2020-07-29T02:50:51.491Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-29T02:50:51.491Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-29T02:50:51.491Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-29T02:50:51.491Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-29T02:50:51.491Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-29T02:50:51.491Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-29T02:50:51.491Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-29T02:50:51.491Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-29T02:50:51.491Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-29T02:50:51.491Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-29T02:50:51.491Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-29T02:50:51.491Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-29T02:50:51.762Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-29T02:50:51.762Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-29T02:50:51.762Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-29T02:50:51.762Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-29T02:50:51.762Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-29T02:50:51.762Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-29T02:50:51.762Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-29T02:50:51.762Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-29T02:50:51.762Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-29T02:50:51.762Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-29T02:50:51.762Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-29T02:50:52.032Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-29T02:50:52.032Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-29T02:50:52.032Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-29T02:50:52.032Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-29T02:50:52.032Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-29T02:50:52.032Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-29T02:50:52.032Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-29T02:50:52.032Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-29T02:50:52.032Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-29T02:50:52.032Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-29T02:50:52.032Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-29T02:50:52.032Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-29T02:50:52.303Z] go: finding github.com/posener/complete v1.1.1 [2020-07-29T02:50:52.303Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-29T02:50:52.303Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-29T02:50:52.303Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-29T02:50:52.303Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-29T02:50:52.303Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-29T02:50:52.303Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-29T02:50:52.303Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-29T02:50:52.303Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-29T02:50:52.303Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-29T02:50:52.303Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-29T02:50:52.303Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-29T02:50:52.577Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-29T02:51:02.722Z] Removing intermediate container 470a4235063b [2020-07-29T02:51:02.722Z] ---> 693d525ad7d5 [2020-07-29T02:51:02.722Z] Successfully built 693d525ad7d5 [2020-07-29T02:51:02.722Z] 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-29T02:51:03.451Z] + docker inspect -f . ci-base-image-arm64 [2020-07-29T02:51:03.451Z] . [Pipeline] withDockerContainer [2020-07-29T02:51:03.735Z] prd-ubuntu18.04-docker-arm64-4c-16g-1347 does not seem to be running inside a container [2020-07-29T02:51:03.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-29T02:51:05.823Z] $ docker top ef3e4854fdc2b6cd7e73e1abd5b87be9f5db4641f4461efe55a8a2a92a4c1df0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-29T02:51:07.218Z] + go version [2020-07-29T02:51:07.218Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-07-29T02:51:08.265Z] + make test [2020-07-29T02:51:08.266Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-29T02:51:09.245Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-29T02:51:36.068Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-29T02:51:36.068Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-29T02:51:36.068Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-29T02:51:38.696Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 21.6% of statements [2020-07-29T02:51:41.325Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.144s coverage: 97.1% of statements [2020-07-29T02:52:13.667Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 10.8% of statements [2020-07-29T02:52:13.667Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements [2020-07-29T02:52:13.667Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-29T02:52:13.667Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.152s coverage: 36.5% of statements [2020-07-29T02:52:13.667Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-29T02:52:13.667Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.105s coverage: 65.6% of statements [2020-07-29T02:52:13.667Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-29T02:52:13.667Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-29T02:52:13.667Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-29T02:52:13.667Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.037s coverage: 52.6% of statements [2020-07-29T02:52:13.667Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.360s coverage: 68.9% of statements [2020-07-29T02:52:13.667Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-29T02:52:13.667Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-29T02:52:13.667Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-29T02:52:17.076Z] gofmt -l . [2020-07-29T02:52:17.076Z] [ "`gofmt -l .`" = "" ] [2020-07-29T02:52:17.350Z] ./bin/test-attribution-txt.sh [2020-07-29T02:52:18.327Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-29T02:52:18.615Z] Warning: overwriting stash ‘coverage-report’ [2020-07-29T02:52:19.445Z] Stashed 1 file(s) [Pipeline] } [2020-07-29T02:52:19.456Z] $ docker stop --time=1 ef3e4854fdc2b6cd7e73e1abd5b87be9f5db4641f4461efe55a8a2a92a4c1df0 [2020-07-29T02:52:21.539Z] $ docker rm -f ef3e4854fdc2b6cd7e73e1abd5b87be9f5db4641f4461efe55a8a2a92a4c1df0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-29T02:52:22.769Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-29T02:52:23.188Z] + ls -al . [2020-07-29T02:52:23.189Z] total 228 [2020-07-29T02:52:23.189Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 29 02:52 . [2020-07-29T02:52:23.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 02:49 .. [2020-07-29T02:52:23.189Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 29 02:49 .dockerignore [2020-07-29T02:52:23.189Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 02:50 .git [2020-07-29T02:52:23.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 02:49 .github [2020-07-29T02:52:23.189Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 29 02:49 .gitignore [2020-07-29T02:52:23.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 02:50 .semver [2020-07-29T02:52:23.189Z] -rw-rw-r-- 1 jenkins jenkins 936 Jul 29 02:49 Dockerfile.build [2020-07-29T02:52:23.189Z] -rw-rw-r-- 1 jenkins jenkins 808 Jul 29 02:49 Jenkinsfile [2020-07-29T02:52:23.189Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 29 02:49 LICENSE [2020-07-29T02:52:23.189Z] -rw-rw-r-- 1 jenkins jenkins 892 Jul 29 02:49 Makefile [2020-07-29T02:52:23.189Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jul 29 02:49 README.md [2020-07-29T02:52:23.189Z] -rw-rw-r-- 1 jenkins jenkins 4291 Jul 29 02:49 RELEASE-NOTES.txt [2020-07-29T02:52:23.189Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 02:46 VERSION [2020-07-29T02:52:23.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 02:49 bin [2020-07-29T02:52:23.189Z] -rw-r--r-- 1 jenkins jenkins 111063 Jul 29 02:52 coverage.out [2020-07-29T02:52:23.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 02:49 example [2020-07-29T02:52:23.189Z] -rw-r--r-- 1 jenkins jenkins 446 Jul 29 02:52 go.mod [2020-07-29T02:52:23.189Z] -rw-r--r-- 1 jenkins jenkins 12179 Jul 29 02:52 go.sum [2020-07-29T02:52:23.189Z] drwxrwxr-x 13 jenkins jenkins 4096 Jul 29 02:49 internal [2020-07-29T02:52:23.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 02:49 openapi [2020-07-29T02:52:23.189Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 29 02:49 pkg [2020-07-29T02:52:23.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 02:49 snap [2020-07-29T02:52:23.189Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 29 02:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:52:23.627Z] + 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=0e90ff99e76eb33a7e6543c0f8783e9c8745f701 --label arch=arm64 --label version=0.0.0 . [2020-07-29T02:52:23.897Z] Sending build context to Docker daemon 3.213MB [2020-07-29T02:52:24.165Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-29T02:52:24.165Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-29T02:52:24.165Z] ---> 693d525ad7d5 [2020-07-29T02:52:24.165Z] Step 3/23 : ARG MAKE='make build' [2020-07-29T02:52:24.165Z] ---> Running in 7ad6649f228e [2020-07-29T02:52:24.755Z] Removing intermediate container 7ad6649f228e [2020-07-29T02:52:24.755Z] ---> f53707046d12 [2020-07-29T02:52:24.756Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-29T02:52:24.756Z] ---> Running in bf0ca00f4d03 [2020-07-29T02:52:25.345Z] Removing intermediate container bf0ca00f4d03 [2020-07-29T02:52:25.345Z] ---> 4ae37135a967 [2020-07-29T02:52:25.345Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-29T02:52:25.345Z] ---> Running in a7aaa46da3ec [2020-07-29T02:52:25.617Z] Removing intermediate container a7aaa46da3ec [2020-07-29T02:52:25.617Z] ---> db3790744570 [2020-07-29T02:52:25.617Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-29T02:52:25.890Z] ---> Running in 0ad325eb25d5 [2020-07-29T02:52:28.512Z] Removing intermediate container 0ad325eb25d5 [2020-07-29T02:52:28.512Z] ---> 246421857b40 [2020-07-29T02:52:28.512Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-29T02:52:28.512Z] ---> Running in 96af13e63b99 [2020-07-29T02:52:29.942Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-29T02:52:30.550Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-29T02:52:31.148Z] OK: 142 MiB in 39 packages [2020-07-29T02:52:32.586Z] Removing intermediate container 96af13e63b99 [2020-07-29T02:52:32.586Z] ---> 9bc83b46cfc9 [2020-07-29T02:52:32.586Z] Step 8/23 : COPY . . [2020-07-29T02:52:33.563Z] ---> fa5d27436b87 [2020-07-29T02:52:33.563Z] Step 9/23 : RUN ${MAKE} [2020-07-29T02:52:33.563Z] ---> Running in ffaba2dfdcc3 [2020-07-29T02:52:34.996Z] 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-29T02:53:01.836Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-29T02:53:01.836Z] Removing intermediate container ffaba2dfdcc3 [2020-07-29T02:53:01.836Z] ---> e385e4623be7 [2020-07-29T02:53:01.836Z] Step 10/23 : FROM scratch [2020-07-29T02:53:01.836Z] ---> [2020-07-29T02:53:01.836Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-29T02:53:01.836Z] ---> Running in fe92d271e5c7 [2020-07-29T02:53:01.836Z] Removing intermediate container fe92d271e5c7 [2020-07-29T02:53:01.836Z] ---> c10b43054c39 [2020-07-29T02:53:01.836Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-29T02:53:01.836Z] ---> Running in bcd96de5d940 [2020-07-29T02:53:01.836Z] Removing intermediate container bcd96de5d940 [2020-07-29T02:53:01.836Z] ---> d8f0aa40a23a [2020-07-29T02:53:01.836Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-29T02:53:02.110Z] ---> Running in 03133288e735 [2020-07-29T02:53:02.382Z] Removing intermediate container 03133288e735 [2020-07-29T02:53:02.382Z] ---> 0c1947a67124 [2020-07-29T02:53:02.382Z] Step 14/23 : WORKDIR / [2020-07-29T02:53:02.655Z] ---> Running in a3924adfae46 [2020-07-29T02:53:02.936Z] Removing intermediate container a3924adfae46 [2020-07-29T02:53:02.936Z] ---> c01148a5115f [2020-07-29T02:53:02.936Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-29T02:53:04.368Z] ---> f2b5cb177cf5 [2020-07-29T02:53:04.368Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-29T02:53:04.960Z] ---> 6866d774265c [2020-07-29T02:53:04.960Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-29T02:53:05.557Z] ---> 81bbb09b2026 [2020-07-29T02:53:05.557Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-29T02:53:06.155Z] ---> 13e14968a0a5 [2020-07-29T02:53:06.155Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-29T02:53:07.131Z] ---> 58428c9ba82c [2020-07-29T02:53:07.131Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-29T02:53:07.131Z] ---> Running in 209d475d5a8c [2020-07-29T02:53:07.403Z] Removing intermediate container 209d475d5a8c [2020-07-29T02:53:07.403Z] ---> 474c759e178b [2020-07-29T02:53:07.403Z] Step 21/23 : LABEL arch=arm64 [2020-07-29T02:53:07.677Z] ---> Running in 58d02f0efc8d [2020-07-29T02:53:07.949Z] Removing intermediate container 58d02f0efc8d [2020-07-29T02:53:07.949Z] ---> 0811d7f6590b [2020-07-29T02:53:07.949Z] Step 22/23 : LABEL git_sha=0e90ff99e76eb33a7e6543c0f8783e9c8745f701 [2020-07-29T02:53:08.222Z] ---> Running in 426ffeeb86e9 [2020-07-29T02:53:08.496Z] Removing intermediate container 426ffeeb86e9 [2020-07-29T02:53:08.496Z] ---> 7bcb4d525051 [2020-07-29T02:53:08.496Z] Step 23/23 : LABEL version=0.0.0 [2020-07-29T02:53:08.776Z] ---> Running in f5a601808175 [2020-07-29T02:53:09.371Z] Removing intermediate container f5a601808175 [2020-07-29T02:53:09.371Z] ---> 931785106f14 [2020-07-29T02:53:09.371Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-29T02:53:09.371Z] Successfully built 931785106f14 [2020-07-29T02:53:09.371Z] 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-29T02:53:10.795Z] provisioning config files... [2020-07-29T02:53:10.812Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config1333477107170218074tmp [Pipeline] { [Pipeline] sh [2020-07-29T02:53:11.219Z] + curl -s https://codecov.io/bash [2020-07-29T02:53:11.219Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config1333477107170218074tmp [Pipeline] } [2020-07-29T02:53:11.489Z] 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-29T02:53:13.302Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-29T02:53:13.915Z] ---> package-listing.sh [2020-07-29T02:53:13.915Z] ++ facter osfamily [2020-07-29T02:53:13.915Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-29T02:53:13.915Z] + OS_FAMILY=redhat [2020-07-29T02:53:13.915Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-549 [2020-07-29T02:53:13.915Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-29T02:53:13.915Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-29T02:53:13.915Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-29T02:53:13.915Z] + PACKAGES=/tmp/packages_start.txt [2020-07-29T02:53:13.915Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' [2020-07-29T02:53:13.915Z] + PACKAGES=/tmp/packages_end.txt [2020-07-29T02:53:13.915Z] + case "${OS_FAMILY}" in [2020-07-29T02:53:13.915Z] + rpm -qa [2020-07-29T02:53:13.915Z] + sort [2020-07-29T02:53:20.640Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-29T02:53:20.640Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-29T02:53:20.640Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-29T02:53:20.640Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' [2020-07-29T02:53:20.640Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ [2020-07-29T02:53:20.640Z] + 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-29T02:53:21.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-29T02:53:21.114Z] [2020-07-29T02:53:21.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:53:21.543Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-29T02:53:21.543Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-29T02:53:21.543Z] c9b1b535fdd9: Pulling fs layer [2020-07-29T02:53:21.543Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-29T02:53:21.543Z] 756a868c4378: Pulling fs layer [2020-07-29T02:53:21.543Z] 444b2fc9a129: Pulling fs layer [2020-07-29T02:53:21.543Z] ea15f1150254: Pulling fs layer [2020-07-29T02:53:21.543Z] 41b27a9f41bf: Pulling fs layer [2020-07-29T02:53:21.543Z] 28c525ee5125: Pulling fs layer [2020-07-29T02:53:21.543Z] 094b1ea09ed8: Pulling fs layer [2020-07-29T02:53:21.543Z] 138eaada9080: Pulling fs layer [2020-07-29T02:53:21.543Z] 0622d0fa9048: Pulling fs layer [2020-07-29T02:53:21.543Z] 444b2fc9a129: Waiting [2020-07-29T02:53:21.543Z] ea15f1150254: Waiting [2020-07-29T02:53:21.543Z] 41b27a9f41bf: Waiting [2020-07-29T02:53:21.543Z] 28c525ee5125: Waiting [2020-07-29T02:53:21.543Z] 094b1ea09ed8: Waiting [2020-07-29T02:53:21.543Z] 138eaada9080: Waiting [2020-07-29T02:53:21.543Z] 0622d0fa9048: Waiting [2020-07-29T02:53:21.543Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-29T02:53:21.543Z] 2cc5ad85d9ab: Download complete [2020-07-29T02:53:21.855Z] 444b2fc9a129: Verifying Checksum [2020-07-29T02:53:21.855Z] 444b2fc9a129: Download complete [2020-07-29T02:53:21.855Z] c9b1b535fdd9: Download complete [2020-07-29T02:53:21.855Z] ea15f1150254: Verifying Checksum [2020-07-29T02:53:21.855Z] ea15f1150254: Download complete [2020-07-29T02:53:22.193Z] 28c525ee5125: Verifying Checksum [2020-07-29T02:53:22.193Z] 28c525ee5125: Download complete [2020-07-29T02:53:22.478Z] c9b1b535fdd9: Pull complete [2020-07-29T02:53:22.756Z] 2cc5ad85d9ab: Pull complete [2020-07-29T02:53:23.124Z] 756a868c4378: Verifying Checksum [2020-07-29T02:53:23.125Z] 756a868c4378: Download complete [2020-07-29T02:53:23.125Z] 138eaada9080: Verifying Checksum [2020-07-29T02:53:23.125Z] 138eaada9080: Download complete [2020-07-29T02:53:23.125Z] 094b1ea09ed8: Verifying Checksum [2020-07-29T02:53:23.125Z] 094b1ea09ed8: Download complete [2020-07-29T02:53:23.561Z] 0622d0fa9048: Verifying Checksum [2020-07-29T02:53:23.561Z] 0622d0fa9048: Download complete [2020-07-29T02:53:24.211Z] 41b27a9f41bf: Verifying Checksum [2020-07-29T02:53:24.211Z] 41b27a9f41bf: Download complete [2020-07-29T02:53:25.626Z] 756a868c4378: Pull complete [2020-07-29T02:53:25.626Z] 444b2fc9a129: Pull complete [2020-07-29T02:53:26.217Z] ea15f1150254: Pull complete [2020-07-29T02:53:33.041Z] 41b27a9f41bf: Pull complete [2020-07-29T02:53:33.041Z] 28c525ee5125: Pull complete [2020-07-29T02:53:35.062Z] 094b1ea09ed8: Pull complete [2020-07-29T02:53:35.330Z] 138eaada9080: Pull complete [2020-07-29T02:53:35.612Z] 0622d0fa9048: Pull complete [2020-07-29T02:53:35.612Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-29T02:53:35.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-29T02:53:35.612Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-29T02:53:35.895Z] prd-centos7-docker-4c-2g-1343 does not seem to be running inside a container [2020-07-29T02:53:35.977Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-29T02:53:39.394Z] $ docker top 2fc39cf76b00eab0a8d768351dfc28564d8b8472a64bdaaa0569c533542586a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-29T02:53:39.673Z] provisioning config files... [2020-07-29T02:53:39.691Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config2337591262966476256tmp [Pipeline] { [Pipeline] echo [2020-07-29T02:53:39.761Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-29T02:53:40.095Z] ---> create-netrc.sh [Pipeline] echo [2020-07-29T02:53:40.369Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-29T02:53:40.708Z] ---> logs-deploy.sh [2020-07-29T02:53:40.708Z] + ARCHIVE_ARTIFACTS= [2020-07-29T02:53:40.708Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-29T02:53:40.708Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-29T02:53:40.708Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-29T02:53:40.708Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/9 [2020-07-29T02:53:40.708Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/9/ [2020-07-29T02:53:40.708Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/9 /w/workspace/dgexfoundry_device-sdk-go_PR-549 [2020-07-29T02:53:42.676Z] Archives upload complete. [2020-07-29T02:53:42.676Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/9 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/9/