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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at b22d9636647f710822cdca9c1d6c1c597e4fa962 rather than 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 Obtained Jenkinsfile from b22d9636647f710822cdca9c1d6c1c597e4fa962 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-1342 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [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-553 # 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/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # 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/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 Merge succeeded, producing fde3ef85261a54924a206979747a719e53169e30 Checking out Revision fde3ef85261a54924a206979747a719e53169e30 (PR-553) > 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 fde3ef85261a54924a206979747a719e53169e30 # timeout=10 Commit message: "Merge commit 'b22d9636647f710822cdca9c1d6c1c597e4fa962' into HEAD" > git rev-list --no-walk 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-29T02:45:26.749Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-29T02:45:26.974Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-29T02:45:27.080Z] ========================================================= [2020-07-29T02:45:27.081Z] EdgeX Global Pipelines Version Info [2020-07-29T02:45:27.081Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-29T02:45:28.510Z] ------------------- [2020-07-29T02:45:28.510Z] stable info: [2020-07-29T02:45:28.510Z] ------------------- [2020-07-29T02:45:28.510Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-29T02:45:28.510Z] Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-07-29T02:45:28.510Z] Message: update stable to v1.0.106 [2020-07-29T02:45:29.451Z] ------------------- [2020-07-29T02:45:29.451Z] experimental info: [2020-07-29T02:45:29.451Z] ------------------- [2020-07-29T02:45:29.451Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-29T02:45:29.451Z] Commit SHA: 626b9661e310b9d132ae9d5c3b37d89ff845648b [2020-07-29T02:45:29.451Z] 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:45:31.863Z] + git log --format=format:%s -1 fde3ef85261a54924a206979747a719e53169e30 [Pipeline] echo [2020-07-29T02:45:31.917Z] GIT_COMMIT: fde3ef85261a54924a206979747a719e53169e30, Commit Message: Merge commit 'b22d9636647f710822cdca9c1d6c1c597e4fa962' into HEAD [Pipeline] echo [2020-07-29T02:45:31.961Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:45:32.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-29T02:45:32.695Z] [2020-07-29T02:45:32.695Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:45:33.035Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-29T02:45:33.035Z] latest: Pulling from edgex-devops/git-semver [2020-07-29T02:45:33.035Z] 31603596830f: Pulling fs layer [2020-07-29T02:45:33.035Z] 2a8b12db71e7: Pulling fs layer [2020-07-29T02:45:33.035Z] 6ca5941a6612: Pulling fs layer [2020-07-29T02:45:33.035Z] ecc8261a40a4: Pulling fs layer [2020-07-29T02:45:33.035Z] ecc8261a40a4: Waiting [2020-07-29T02:45:33.035Z] 2a8b12db71e7: Verifying Checksum [2020-07-29T02:45:33.035Z] 2a8b12db71e7: Download complete [2020-07-29T02:45:33.299Z] 31603596830f: Verifying Checksum [2020-07-29T02:45:33.299Z] 31603596830f: Download complete [2020-07-29T02:45:33.299Z] ecc8261a40a4: Verifying Checksum [2020-07-29T02:45:33.299Z] ecc8261a40a4: Download complete [2020-07-29T02:45:33.299Z] 6ca5941a6612: Verifying Checksum [2020-07-29T02:45:33.300Z] 6ca5941a6612: Download complete [2020-07-29T02:45:33.561Z] 31603596830f: Pull complete [2020-07-29T02:45:33.561Z] 2a8b12db71e7: Pull complete [2020-07-29T02:45:34.145Z] 6ca5941a6612: Pull complete [2020-07-29T02:45:34.415Z] ecc8261a40a4: Pull complete [2020-07-29T02:45:34.415Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-29T02:45:34.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-29T02:45:34.415Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-29T02:45:34.503Z] prd-centos7-docker-4c-2g-1342 does not seem to be running inside a container [2020-07-29T02:45:34.544Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@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:45:36.422Z] $ docker top 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-29T02:45:36.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-29T02:45:36.690Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-29T02:45:36.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-29T02:45:36.879Z] $ docker exec 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 ssh-agent [2020-07-29T02:45:37.028Z] SSH_AUTH_SOCK=/tmp/ssh-yvjn06VFd3by/agent.12 [2020-07-29T02:45:37.028Z] SSH_AGENT_PID=17 [2020-07-29T02:45:37.038Z] Running ssh-add (command line suppressed) [2020-07-29T02:45:37.160Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_7735610908255075534.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_7735610908255075534.key) [2020-07-29T02:45:37.221Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-29T02:45:37.566Z] + git describe --exact-match --tags HEAD [2020-07-29T02:45:37.566Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-29T02:45:37.584Z] $ docker exec --env ******** --env ******** 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 ssh-agent -k [2020-07-29T02:45:37.696Z] unset SSH_AUTH_SOCK; [2020-07-29T02:45:37.697Z] unset SSH_AGENT_PID; [2020-07-29T02:45:37.697Z] echo Agent pid 17 killed; [2020-07-29T02:45:37.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-29T02:45:37.819Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-29T02:45:37.819Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-29T02:45:37.905Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-29T02:45:37.905Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-29T02:45:38.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-29T02:45:38.062Z] $ docker exec 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 ssh-agent [2020-07-29T02:45:38.210Z] SSH_AUTH_SOCK=/tmp/ssh-ypaSx99uSO7b/agent.47 [2020-07-29T02:45:38.210Z] SSH_AGENT_PID=53 [2020-07-29T02:45:38.216Z] Running ssh-add (command line suppressed) [2020-07-29T02:45:38.323Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_2098232046480531876.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_2098232046480531876.key) [2020-07-29T02:45:38.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-29T02:45:38.699Z] + git semver init [2020-07-29T02:45:38.699Z] # -> Open(): unable to determine branch for HEAD [2020-07-29T02:45:38.699Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git [2020-07-29T02:45:38.699Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-07-29T02:45:38.699Z] # $SEMVER_REMOTE_NAME = origin [2020-07-29T02:45:38.699Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-29T02:45:38.699Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-29T02:45:38.699Z] # $SEMVER_BRANCH = PR-553 [2020-07-29T02:45:38.699Z] # $SEMVER_TEMP = /tmp/semver-618265525 [2020-07-29T02:45:38.699Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-07-29T02:45:39.272Z] # '/tmp/semver-618265525' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' [2020-07-29T02:45:39.272Z] # -> Force: false [2020-07-29T02:45:39.272Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } [2020-07-29T02:45:39.283Z] $ docker exec --env ******** --env ******** 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 ssh-agent -k [2020-07-29T02:45:39.394Z] unset SSH_AUTH_SOCK; [2020-07-29T02:45:39.394Z] unset SSH_AGENT_PID; [2020-07-29T02:45:39.394Z] echo Agent pid 53 killed; [2020-07-29T02:45:39.443Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-29T02:45:39.895Z] + git semver [Pipeline] } [2020-07-29T02:45:39.918Z] $ docker stop --time=1 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 [2020-07-29T02:45:41.250Z] $ docker rm -f 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-29T02:45:41.989Z] Stashed 25 file(s) [Pipeline] echo [2020-07-29T02:45:41.991Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-07-29T02:45:42.071Z] 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:45:57.398Z] Still waiting to schedule task [2020-07-29T02:45:57.398Z] ‘prd-centos7-docker-4c-2g-1344’ is offline [2020-07-29T02:45:57.399Z] Still waiting to schedule task [2020-07-29T02:45:57.399Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1341’ [2020-07-29T02:46:09.079Z] Running on prd-centos7-docker-4c-2g-1344 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-07-29T02:46:09.124Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-07-29T02:46:11.886Z] using credential edgex-jenkins-ssh [2020-07-29T02:46:11.961Z] Cloning the remote Git repository [2020-07-29T02:46:11.961Z] Cloning with configured refspecs honoured and without tags [2020-07-29T02:46:11.984Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-29T02:46:12.046Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-07-29T02:46:12.090Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-29T02:46:12.091Z] > git --version # timeout=10 [2020-07-29T02:46:12.099Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-29T02:46:12.128Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-29T02:46:12.804Z] Fetching without tags [2020-07-29T02:46:13.276Z] Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 [2020-07-29T02:46:13.443Z] Merge succeeded, producing 2e52f2264d8ce5a821faac2f811d94678b1aaa6d [2020-07-29T02:46:13.443Z] Checking out Revision 2e52f2264d8ce5a821faac2f811d94678b1aaa6d (PR-553) [2020-07-29T02:46:12.764Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-29T02:46:12.772Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-07-29T02:46:12.778Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-29T02:46:12.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-29T02:46:12.815Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-29T02:46:12.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-29T02:46:12.822Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-29T02:46:13.285Z] > git config core.sparsecheckout # timeout=10 [2020-07-29T02:46:13.294Z] > git checkout -f 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 [2020-07-29T02:46:13.381Z] > git remote # timeout=10 [2020-07-29T02:46:13.389Z] > git config --get remote.origin.url # timeout=10 [2020-07-29T02:46:13.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-29T02:46:13.400Z] > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 [2020-07-29T02:46:13.433Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-29T02:46:13.446Z] > git config core.sparsecheckout # timeout=10 [2020-07-29T02:46:13.450Z] > git checkout -f 2e52f2264d8ce5a821faac2f811d94678b1aaa6d # timeout=10 [2020-07-29T02:46:17.072Z] Commit message: "Merge commit 'b22d9636647f710822cdca9c1d6c1c597e4fa962' into HEAD" [2020-07-29T02:46:17.075Z] > git rev-list --no-walk 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-29T02:46:17.916Z] ========================================================= [2020-07-29T02:46:17.916Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-29T02:46:17.916Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:46:18.620Z] + 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:18.884Z] Sending build context to Docker daemon 3.032MB [2020-07-29T02:46:18.884Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-29T02:46:18.884Z] Step 2/8 : FROM ${BASE} [2020-07-29T02:46:19.150Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-29T02:46:19.150Z] df20fa9351a1: Pulling fs layer [2020-07-29T02:46:19.150Z] ed8968b2872e: Pulling fs layer [2020-07-29T02:46:19.150Z] a92cc7c5fd73: Pulling fs layer [2020-07-29T02:46:19.150Z] 2dd03ba5bac4: Pulling fs layer [2020-07-29T02:46:19.150Z] 1e091d79d1de: Pulling fs layer [2020-07-29T02:46:19.150Z] 481702a1767f: Pulling fs layer [2020-07-29T02:46:19.150Z] f64a6f60c768: Pulling fs layer [2020-07-29T02:46:19.150Z] e78d2573fc39: Pulling fs layer [2020-07-29T02:46:19.150Z] 2dd03ba5bac4: Waiting [2020-07-29T02:46:19.150Z] e876d2f968b6: Pulling fs layer [2020-07-29T02:46:19.150Z] 1e091d79d1de: Waiting [2020-07-29T02:46:19.150Z] 481702a1767f: Waiting [2020-07-29T02:46:19.150Z] f64a6f60c768: Waiting [2020-07-29T02:46:19.150Z] ce8a83651883: Pulling fs layer [2020-07-29T02:46:19.150Z] e876d2f968b6: Waiting [2020-07-29T02:46:19.150Z] 07967f4d0e4b: Pulling fs layer [2020-07-29T02:46:19.150Z] ce8a83651883: Waiting [2020-07-29T02:46:19.150Z] 07967f4d0e4b: Waiting [2020-07-29T02:46:19.150Z] e78d2573fc39: Waiting [2020-07-29T02:46:19.150Z] a92cc7c5fd73: Verifying Checksum [2020-07-29T02:46:19.150Z] a92cc7c5fd73: Download complete [2020-07-29T02:46:19.150Z] ed8968b2872e: Verifying Checksum [2020-07-29T02:46:19.150Z] ed8968b2872e: Download complete [2020-07-29T02:46:19.150Z] 1e091d79d1de: Verifying Checksum [2020-07-29T02:46:19.150Z] 1e091d79d1de: Download complete [2020-07-29T02:46:19.150Z] 481702a1767f: Verifying Checksum [2020-07-29T02:46:19.150Z] 481702a1767f: Download complete [2020-07-29T02:46:19.150Z] df20fa9351a1: Verifying Checksum [2020-07-29T02:46:19.150Z] df20fa9351a1: Download complete [2020-07-29T02:46:19.424Z] df20fa9351a1: Pull complete [2020-07-29T02:46:19.698Z] ed8968b2872e: Pull complete [2020-07-29T02:46:19.970Z] a92cc7c5fd73: Pull complete [2020-07-29T02:46:20.564Z] f64a6f60c768: Verifying Checksum [2020-07-29T02:46:20.564Z] f64a6f60c768: Download complete [2020-07-29T02:46:20.564Z] e876d2f968b6: Verifying Checksum [2020-07-29T02:46:20.564Z] e876d2f968b6: Download complete [2020-07-29T02:46:21.155Z] 2dd03ba5bac4: Verifying Checksum [2020-07-29T02:46:21.155Z] 2dd03ba5bac4: Download complete [2020-07-29T02:46:21.155Z] ce8a83651883: Verifying Checksum [2020-07-29T02:46:21.155Z] ce8a83651883: Download complete [2020-07-29T02:46:21.155Z] 07967f4d0e4b: Verifying Checksum [2020-07-29T02:46:21.155Z] 07967f4d0e4b: Download complete [2020-07-29T02:46:21.415Z] e78d2573fc39: Verifying Checksum [2020-07-29T02:46:21.415Z] e78d2573fc39: Download complete [2020-07-29T02:46:28.019Z] 2dd03ba5bac4: Pull complete [2020-07-29T02:46:28.019Z] 1e091d79d1de: Pull complete [2020-07-29T02:46:28.019Z] 481702a1767f: Pull complete [2020-07-29T02:46:32.230Z] f64a6f60c768: Pull complete [2020-07-29T02:46:34.774Z] e78d2573fc39: Pull complete [2020-07-29T02:46:34.774Z] e876d2f968b6: Pull complete [2020-07-29T02:46:35.723Z] ce8a83651883: Pull complete [2020-07-29T02:46:35.723Z] 07967f4d0e4b: Pull complete [2020-07-29T02:46:35.723Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-29T02:46:35.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-29T02:46:35.723Z] ---> 5d7c900382c6 [2020-07-29T02:46:35.723Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-29T02:46:36.665Z] ---> Running in e620ea9bbcde [2020-07-29T02:46:36.665Z] Removing intermediate container e620ea9bbcde [2020-07-29T02:46:36.665Z] ---> ec8e7a91409f [2020-07-29T02:46:36.665Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-29T02:46:36.665Z] ---> Running in 434502c233e7 [2020-07-29T02:46:37.613Z] Removing intermediate container 434502c233e7 [2020-07-29T02:46:37.613Z] ---> 7ee174307c04 [2020-07-29T02:46:37.613Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-29T02:46:37.613Z] ---> Running in 428fa65704fa [2020-07-29T02:46:38.555Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-29T02:46:39.134Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-29T02:46:39.704Z] OK: 166 MiB in 39 packages [2020-07-29T02:46:40.275Z] Removing intermediate container 428fa65704fa [2020-07-29T02:46:40.275Z] ---> 198863919dda [2020-07-29T02:46:40.275Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-29T02:46:40.275Z] ---> Running in 02dc5518ed40 [2020-07-29T02:46:40.275Z] Removing intermediate container 02dc5518ed40 [2020-07-29T02:46:40.275Z] ---> 6eea6ff18e70 [2020-07-29T02:46:40.275Z] Step 7/8 : COPY . . [2020-07-29T02:46:41.658Z] ---> 0c62f6550312 [2020-07-29T02:46:41.658Z] Step 8/8 : RUN go mod download [2020-07-29T02:46:41.658Z] ---> Running in 9600ec6f7187 [2020-07-29T02:46:43.569Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-29T02:46:43.569Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-29T02:46:43.569Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-29T02:46:43.569Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-29T02:46:43.569Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-29T02:46:43.569Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-29T02:46:43.569Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-29T02:46:43.569Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-29T02:46:43.569Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-29T02:46:43.828Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-29T02:46:43.828Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-29T02:46:43.828Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-29T02:46:43.828Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-29T02:46:43.828Z] go: finding github.com/fatih/color v1.7.0 [2020-07-29T02:46:43.828Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-29T02:46:43.828Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-29T02:46:43.828Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-29T02:46:43.828Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-29T02:46:43.828Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-29T02:46:43.828Z] go: finding github.com/google/uuid v1.1.0 [2020-07-29T02:46:44.089Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-29T02:46:44.089Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-29T02:46:44.089Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-29T02:46:44.089Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-29T02:46:44.089Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-29T02:46:44.089Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-29T02:46:44.089Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-29T02:46:44.089Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-29T02:46:44.089Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-29T02:46:44.089Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-29T02:46:44.089Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-29T02:46:44.089Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-29T02:46:44.348Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-29T02:46:44.348Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-29T02:46:44.348Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-29T02:46:44.348Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-29T02:46:44.348Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-29T02:46:44.348Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-29T02:46:44.348Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-29T02:46:44.348Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-29T02:46:44.348Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-29T02:46:44.348Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-29T02:46:44.348Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-29T02:46:44.348Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-29T02:46:44.348Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-29T02:46:44.621Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-29T02:46:44.621Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-29T02:46:44.621Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-29T02:46:44.621Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-29T02:46:44.621Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-29T02:46:44.621Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-29T02:46:44.621Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-29T02:46:44.621Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-29T02:46:44.621Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-29T02:46:44.621Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-29T02:46:44.621Z] go: finding github.com/posener/complete v1.1.1 [2020-07-29T02:46:44.621Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-29T02:46:44.621Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-29T02:46:44.885Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-29T02:46:44.885Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-29T02:46:44.885Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-29T02:46:44.885Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-29T02:46:44.885Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-29T02:46:44.885Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-29T02:46:44.885Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-29T02:46:44.885Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-29T02:46:44.885Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-29T02:46:44.885Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-29T02:46:53.057Z] Removing intermediate container 9600ec6f7187 [2020-07-29T02:46:53.057Z] ---> 9c5e5c5a1ed5 [2020-07-29T02:46:53.057Z] Successfully built 9c5e5c5a1ed5 [2020-07-29T02:46:53.057Z] 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:46:53.812Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-29T02:46:53.812Z] . [Pipeline] withDockerContainer [2020-07-29T02:46:53.901Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2020-07-29T02:46:53.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-x86_64 cat [2020-07-29T02:46:55.044Z] $ docker top 3f5f0e495866d6394f4e6cd3a3955be0e29777120c27296cbcc56a4153f3e0b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-29T02:46:55.506Z] + go version [2020-07-29T02:46:55.506Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-07-29T02:46:55.810Z] + make test [2020-07-29T02:46:55.810Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-29T02:46:56.757Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-29T02:47:06.850Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-29T02:47:06.850Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-29T02:47:06.850Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-29T02:47:06.850Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 22.1% of statements [2020-07-29T02:47:09.409Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements [2020-07-29T02:47:41.556Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.045s coverage: 11.4% of statements [2020-07-29T02:47:41.556Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements [2020-07-29T02:47:41.556Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-29T02:47:41.556Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.086s coverage: 36.9% of statements [2020-07-29T02:47:41.556Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-29T02:47:41.556Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.404s coverage: 65.2% of statements [2020-07-29T02:47:41.556Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-29T02:47:41.556Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-29T02:47:41.556Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-29T02:47:41.556Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements [2020-07-29T02:47:41.556Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.109s coverage: 68.9% of statements [2020-07-29T02:47:41.556Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-29T02:47:41.556Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-29T02:47:41.556Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-29T02:47:41.556Z] gofmt -l . [2020-07-29T02:47:41.556Z] [ "`gofmt -l .`" = "" ] [2020-07-29T02:47:41.556Z] ./bin/test-attribution-txt.sh [2020-07-29T02:47:42.130Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-29T02:47:42.745Z] Stashed 1 file(s) [Pipeline] } [2020-07-29T02:47:42.750Z] $ docker stop --time=1 3f5f0e495866d6394f4e6cd3a3955be0e29777120c27296cbcc56a4153f3e0b5 [2020-07-29T02:47:44.270Z] $ docker rm -f 3f5f0e495866d6394f4e6cd3a3955be0e29777120c27296cbcc56a4153f3e0b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-29T02:47:45.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-29T02:47:45.849Z] + ls -al . [2020-07-29T02:47:45.849Z] total 188 [2020-07-29T02:47:45.849Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jul 29 02:47 . [2020-07-29T02:47:45.849Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 29 02:46 .. [2020-07-29T02:47:45.849Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 29 02:46 bin [2020-07-29T02:47:45.849Z] -rw-r--r--. 1 jenkins jenkins 110877 Jul 29 02:47 coverage.out [2020-07-29T02:47:45.849Z] -rw-rw-r--. 1 jenkins jenkins 936 Jul 29 02:46 Dockerfile.build [2020-07-29T02:47:45.849Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 29 02:46 .dockerignore [2020-07-29T02:47:45.849Z] drwxrwxr-x. 4 jenkins jenkins 48 Jul 29 02:46 example [2020-07-29T02:47:45.849Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 29 02:46 .git [2020-07-29T02:47:45.849Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 29 02:46 .github [2020-07-29T02:47:45.849Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 29 02:46 .gitignore [2020-07-29T02:47:45.849Z] -rw-r--r--. 1 jenkins jenkins 446 Jul 29 02:47 go.mod [2020-07-29T02:47:45.849Z] -rw-r--r--. 1 jenkins jenkins 12179 Jul 29 02:47 go.sum [2020-07-29T02:47:45.849Z] drwxrwxr-x. 13 jenkins jenkins 184 Jul 29 02:46 internal [2020-07-29T02:47:45.849Z] -rw-rw-r--. 1 jenkins jenkins 808 Jul 29 02:46 Jenkinsfile [2020-07-29T02:47:45.849Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 29 02:46 LICENSE [2020-07-29T02:47:45.849Z] -rw-rw-r--. 1 jenkins jenkins 892 Jul 29 02:46 Makefile [2020-07-29T02:47:45.849Z] drwxrwxr-x. 4 jenkins jenkins 26 Jul 29 02:46 openapi [2020-07-29T02:47:45.849Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 29 02:46 pkg [2020-07-29T02:47:45.849Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jul 29 02:46 README.md [2020-07-29T02:47:45.849Z] -rw-rw-r--. 1 jenkins jenkins 4291 Jul 29 02:46 RELEASE-NOTES.txt [2020-07-29T02:47:45.849Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 29 02:46 .semver [2020-07-29T02:47:45.849Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 29 02:46 snap [2020-07-29T02:47:45.849Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 29 02:45 VERSION [2020-07-29T02:47:45.849Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 29 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:47:46.151Z] + 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=fde3ef85261a54924a206979747a719e53169e30 --label arch=amd64 --label version=0.0.0 . [2020-07-29T02:47:46.412Z] Sending build context to Docker daemon 3.16MB [2020-07-29T02:47:46.412Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-29T02:47:46.412Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-29T02:47:46.412Z] ---> 9c5e5c5a1ed5 [2020-07-29T02:47:46.412Z] Step 3/23 : ARG MAKE='make build' [2020-07-29T02:47:46.983Z] ---> Running in 6150a7152966 [2020-07-29T02:47:46.983Z] Removing intermediate container 6150a7152966 [2020-07-29T02:47:46.983Z] ---> 772daffa17c6 [2020-07-29T02:47:46.983Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-29T02:47:46.983Z] ---> Running in b78a95dbc249 [2020-07-29T02:47:47.244Z] Removing intermediate container b78a95dbc249 [2020-07-29T02:47:47.244Z] ---> 7d0694b3ad8e [2020-07-29T02:47:47.244Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-29T02:47:47.244Z] ---> Running in d568ac23c51c [2020-07-29T02:47:47.505Z] Removing intermediate container d568ac23c51c [2020-07-29T02:47:47.505Z] ---> e914aea1397b [2020-07-29T02:47:47.505Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-29T02:47:47.505Z] ---> Running in c725b446aaf2 [2020-07-29T02:47:48.448Z] Removing intermediate container c725b446aaf2 [2020-07-29T02:47:48.448Z] ---> 1a20e9d677dd [2020-07-29T02:47:48.448Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-29T02:47:48.448Z] ---> Running in 57d00c9d1cb2 [2020-07-29T02:47:48.709Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-29T02:47:49.281Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-29T02:47:49.853Z] OK: 166 MiB in 39 packages [2020-07-29T02:47:50.426Z] Removing intermediate container 57d00c9d1cb2 [2020-07-29T02:47:50.426Z] ---> 8c712da7224c [2020-07-29T02:47:50.426Z] Step 8/23 : COPY . . [2020-07-29T02:47:51.372Z] ---> 4c20f117a8d7 [2020-07-29T02:47:51.372Z] Step 9/23 : RUN ${MAKE} [2020-07-29T02:47:51.372Z] ---> Running in 95c352bda1ea [2020-07-29T02:47:51.945Z] 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:00.162Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-29T02:48:01.549Z] Removing intermediate container 95c352bda1ea [2020-07-29T02:48:01.549Z] ---> 4b6db5278403 [2020-07-29T02:48:01.549Z] Step 10/23 : FROM scratch [2020-07-29T02:48:01.549Z] ---> [2020-07-29T02:48:01.549Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-29T02:48:01.549Z] ---> Running in a8f3d8b71ca6 [2020-07-29T02:48:01.549Z] Removing intermediate container a8f3d8b71ca6 [2020-07-29T02:48:01.549Z] ---> 1159c0f0e8ac [2020-07-29T02:48:01.549Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-29T02:48:01.549Z] ---> Running in 4e7be9e22585 [2020-07-29T02:48:01.811Z] Removing intermediate container 4e7be9e22585 [2020-07-29T02:48:01.811Z] ---> 194d1328cccf [2020-07-29T02:48:01.811Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-29T02:48:01.811Z] ---> Running in 37d80f14158e [2020-07-29T02:48:02.073Z] Removing intermediate container 37d80f14158e [2020-07-29T02:48:02.073Z] ---> 9ab5dd5f3936 [2020-07-29T02:48:02.073Z] Step 14/23 : WORKDIR / [2020-07-29T02:48:02.073Z] ---> Running in f9f83bd78c30 [2020-07-29T02:48:02.073Z] Removing intermediate container f9f83bd78c30 [2020-07-29T02:48:02.073Z] ---> 6aaa245952ca [2020-07-29T02:48:02.073Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-29T02:48:02.649Z] ---> cd3678c41aa6 [2020-07-29T02:48:02.649Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-29T02:48:02.913Z] ---> 3b73fc32cf30 [2020-07-29T02:48:02.913Z] 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:03.178Z] ---> a1b4990ff35f [2020-07-29T02:48:03.178Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-29T02:48:03.440Z] ---> 06b480cd4aa5 [2020-07-29T02:48:03.440Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-29T02:48:03.702Z] ---> 3708e9058c0c [2020-07-29T02:48:03.702Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-29T02:48:03.702Z] ---> Running in ad8a9709f1e9 [2020-07-29T02:48:03.702Z] Removing intermediate container ad8a9709f1e9 [2020-07-29T02:48:03.702Z] ---> 4b1f080c3188 [2020-07-29T02:48:03.702Z] Step 21/23 : LABEL arch=amd64 [2020-07-29T02:48:03.966Z] ---> Running in bd759b99bef6 [2020-07-29T02:48:03.966Z] Removing intermediate container bd759b99bef6 [2020-07-29T02:48:03.966Z] ---> 292036093f13 [2020-07-29T02:48:03.966Z] Step 22/23 : LABEL git_sha=fde3ef85261a54924a206979747a719e53169e30 [2020-07-29T02:48:03.966Z] ---> Running in 773c3ef30717 [2020-07-29T02:48:04.229Z] Removing intermediate container 773c3ef30717 [2020-07-29T02:48:04.229Z] ---> ed54599fcef7 [2020-07-29T02:48:04.229Z] Step 23/23 : LABEL version=0.0.0 [2020-07-29T02:48:04.229Z] ---> Running in 056ce117ead5 [2020-07-29T02:48:04.491Z] Removing intermediate container 056ce117ead5 [2020-07-29T02:48:04.491Z] ---> f53de16164b8 [2020-07-29T02:48:04.491Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-29T02:48:04.491Z] Successfully built f53de16164b8 [2020-07-29T02:48:04.491Z] 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:48:40.129Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1346 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-07-29T02:48:40.231Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-07-29T02:48:45.137Z] using credential edgex-jenkins-ssh [2020-07-29T02:48:45.190Z] Cloning the remote Git repository [2020-07-29T02:48:45.190Z] Cloning with configured refspecs honoured and without tags [2020-07-29T02:48:45.257Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-29T02:48:45.373Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-07-29T02:48:45.450Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-29T02:48:45.451Z] > git --version # timeout=10 [2020-07-29T02:48:45.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-29T02:48:45.551Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-29T02:48:46.450Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-29T02:48:46.541Z] Fetching without tags [2020-07-29T02:48:47.024Z] Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 [2020-07-29T02:48:47.373Z] Merge succeeded, producing 7f5a0b1831975a3d6e1a0dcc5703386064000ef9 [2020-07-29T02:48:47.373Z] Checking out Revision 7f5a0b1831975a3d6e1a0dcc5703386064000ef9 (PR-553) [2020-07-29T02:48:46.469Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-07-29T02:48:46.489Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-29T02:48:46.521Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-29T02:48:46.559Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-29T02:48:46.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-29T02:48:46.571Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-29T02:48:47.046Z] > git config core.sparsecheckout # timeout=10 [2020-07-29T02:48:47.075Z] > git checkout -f 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 [2020-07-29T02:48:47.188Z] > git remote # timeout=10 [2020-07-29T02:48:47.209Z] > git config --get remote.origin.url # timeout=10 [2020-07-29T02:48:47.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-29T02:48:47.237Z] > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 [2020-07-29T02:48:47.344Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-29T02:48:47.381Z] > git config core.sparsecheckout # timeout=10 [2020-07-29T02:48:47.421Z] > git checkout -f 7f5a0b1831975a3d6e1a0dcc5703386064000ef9 # timeout=10 [2020-07-29T02:48:51.745Z] Commit message: "Merge commit 'b22d9636647f710822cdca9c1d6c1c597e4fa962' into HEAD" [2020-07-29T02:48:51.753Z] > git rev-list --no-walk 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-29T02:48:53.096Z] ========================================================= [2020-07-29T02:48:53.096Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-29T02:48:53.096Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:48:54.291Z] + 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:48:55.282Z] Sending build context to Docker daemon 3.032MB [2020-07-29T02:48:55.282Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-29T02:48:55.282Z] Step 2/8 : FROM ${BASE} [2020-07-29T02:48:55.556Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-29T02:48:55.556Z] b538f80385f9: Pulling fs layer [2020-07-29T02:48:55.556Z] 74f711af9a0d: Pulling fs layer [2020-07-29T02:48:55.556Z] 99f96fe45779: Pulling fs layer [2020-07-29T02:48:55.556Z] fd7a069fd194: Pulling fs layer [2020-07-29T02:48:55.556Z] 66aa3694b03b: Pulling fs layer [2020-07-29T02:48:55.556Z] fd7a069fd194: Waiting [2020-07-29T02:48:55.556Z] 170f70906a0f: Pulling fs layer [2020-07-29T02:48:55.556Z] ad7c5574e4b9: Pulling fs layer [2020-07-29T02:48:55.556Z] e772456be8f7: Pulling fs layer [2020-07-29T02:48:55.556Z] c890913d741a: Pulling fs layer [2020-07-29T02:48:55.556Z] 2480fcc9aa5a: Pulling fs layer [2020-07-29T02:48:55.556Z] 09adf4765672: Pulling fs layer [2020-07-29T02:48:55.556Z] 66aa3694b03b: Waiting [2020-07-29T02:48:55.556Z] 170f70906a0f: Waiting [2020-07-29T02:48:55.556Z] ad7c5574e4b9: Waiting [2020-07-29T02:48:55.556Z] e772456be8f7: Waiting [2020-07-29T02:48:55.556Z] c890913d741a: Waiting [2020-07-29T02:48:55.557Z] 2480fcc9aa5a: Waiting [2020-07-29T02:48:55.557Z] 09adf4765672: Waiting [2020-07-29T02:48:55.557Z] 99f96fe45779: Download complete [2020-07-29T02:48:55.557Z] 74f711af9a0d: Verifying Checksum [2020-07-29T02:48:55.557Z] 74f711af9a0d: Download complete [2020-07-29T02:48:55.557Z] 66aa3694b03b: Verifying Checksum [2020-07-29T02:48:55.557Z] 66aa3694b03b: Download complete [2020-07-29T02:48:55.557Z] 170f70906a0f: Verifying Checksum [2020-07-29T02:48:55.557Z] 170f70906a0f: Download complete [2020-07-29T02:48:55.557Z] b538f80385f9: Verifying Checksum [2020-07-29T02:48:55.557Z] b538f80385f9: Download complete [2020-07-29T02:48:56.544Z] b538f80385f9: Pull complete [2020-07-29T02:48:57.155Z] 74f711af9a0d: Pull complete [2020-07-29T02:48:57.431Z] 99f96fe45779: Pull complete [2020-07-29T02:48:58.872Z] ad7c5574e4b9: Verifying Checksum [2020-07-29T02:48:58.872Z] ad7c5574e4b9: Download complete [2020-07-29T02:48:58.872Z] c890913d741a: Verifying Checksum [2020-07-29T02:48:58.872Z] c890913d741a: Download complete [2020-07-29T02:49:00.339Z] 2480fcc9aa5a: Verifying Checksum [2020-07-29T02:49:00.340Z] 2480fcc9aa5a: Download complete [2020-07-29T02:49:00.621Z] 09adf4765672: Download complete [2020-07-29T02:49:00.894Z] e772456be8f7: Verifying Checksum [2020-07-29T02:49:00.894Z] e772456be8f7: Download complete [2020-07-29T02:49:01.164Z] fd7a069fd194: Verifying Checksum [2020-07-29T02:49:01.164Z] fd7a069fd194: Download complete [2020-07-29T02:49:13.596Z] fd7a069fd194: Pull complete [2020-07-29T02:49:13.596Z] 66aa3694b03b: Pull complete [2020-07-29T02:49:13.596Z] 170f70906a0f: Pull complete [2020-07-29T02:49:17.008Z] ad7c5574e4b9: Pull complete [2020-07-29T02:49:21.329Z] e772456be8f7: Pull complete [2020-07-29T02:49:21.606Z] c890913d741a: Pull complete [2020-07-29T02:49:24.246Z] 2480fcc9aa5a: Pull complete [2020-07-29T02:49:24.570Z] 09adf4765672: Pull complete [2020-07-29T02:49:24.570Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-29T02:49:24.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-29T02:49:24.570Z] ---> 2248a725d1cf [2020-07-29T02:49:24.570Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-29T02:49:29.983Z] ---> Running in 9dd44d094ffb [2020-07-29T02:49:29.983Z] Removing intermediate container 9dd44d094ffb [2020-07-29T02:49:29.983Z] ---> 6f3854ba851d [2020-07-29T02:49:29.983Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-29T02:49:29.983Z] ---> Running in 7f30bd9e0fba [2020-07-29T02:49:32.623Z] Removing intermediate container 7f30bd9e0fba [2020-07-29T02:49:32.623Z] ---> 681a3708d22e [2020-07-29T02:49:32.623Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-29T02:49:32.623Z] ---> Running in 88a017730916 [2020-07-29T02:49:34.625Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-29T02:49:35.222Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-29T02:49:35.817Z] OK: 142 MiB in 39 packages [2020-07-29T02:49:36.809Z] Removing intermediate container 88a017730916 [2020-07-29T02:49:36.809Z] ---> 1b609fb49960 [2020-07-29T02:49:36.809Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-29T02:49:37.086Z] ---> Running in 1dec8b135cfe [2020-07-29T02:49:37.359Z] Removing intermediate container 1dec8b135cfe [2020-07-29T02:49:37.359Z] ---> c1fcfe30cb5d [2020-07-29T02:49:37.359Z] Step 7/8 : COPY . . [2020-07-29T02:49:38.796Z] ---> bc7c05d7d93d [2020-07-29T02:49:38.796Z] Step 8/8 : RUN go mod download [2020-07-29T02:49:38.796Z] ---> Running in f26ce0771667 [2020-07-29T02:49:41.411Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-29T02:49:41.411Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-29T02:49:41.411Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-29T02:49:41.411Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-29T02:49:41.411Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-29T02:49:41.411Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-29T02:49:41.411Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-29T02:49:41.411Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-29T02:49:41.411Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-29T02:49:41.411Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-29T02:49:41.411Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-29T02:49:41.411Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-29T02:49:41.411Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-29T02:49:41.411Z] go: finding github.com/fatih/color v1.7.0 [2020-07-29T02:49:41.411Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-29T02:49:41.411Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-29T02:49:41.684Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-29T02:49:41.684Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-29T02:49:41.684Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-29T02:49:41.684Z] go: finding github.com/google/uuid v1.1.0 [2020-07-29T02:49:41.684Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-29T02:49:41.684Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-29T02:49:41.684Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-29T02:49:41.684Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-29T02:49:41.684Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-29T02:49:41.955Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-29T02:49:41.955Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-29T02:49:41.955Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-29T02:49:41.955Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-29T02:49:41.955Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-29T02:49:41.955Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-29T02:49:41.955Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-29T02:49:41.955Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-29T02:49:41.955Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-29T02:49:41.955Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-29T02:49:41.955Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-29T02:49:41.955Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-29T02:49:42.226Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-29T02:49:42.226Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-29T02:49:42.226Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-29T02:49:42.226Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-29T02:49:42.226Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-29T02:49:42.226Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-29T02:49:42.226Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-29T02:49:42.226Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-29T02:49:42.226Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-29T02:49:42.226Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-29T02:49:42.226Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-29T02:49:42.497Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-29T02:49:42.497Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-29T02:49:42.497Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-29T02:49:42.497Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-29T02:49:42.497Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-29T02:49:42.497Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-29T02:49:42.497Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-29T02:49:42.497Z] go: finding github.com/posener/complete v1.1.1 [2020-07-29T02:49:42.497Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-29T02:49:42.497Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-29T02:49:42.497Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-29T02:49:42.770Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-29T02:49:42.770Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-29T02:49:42.770Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-29T02:49:42.770Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-29T02:49:42.770Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-29T02:49:42.770Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-29T02:49:42.770Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-29T02:49:42.770Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-29T02:49:42.770Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-29T02:49:52.949Z] Removing intermediate container f26ce0771667 [2020-07-29T02:49:52.949Z] ---> 8ce7939b9b66 [2020-07-29T02:49:52.949Z] Successfully built 8ce7939b9b66 [2020-07-29T02:49:52.949Z] 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:49:53.617Z] + docker inspect -f . ci-base-image-arm64 [2020-07-29T02:49:53.617Z] . [Pipeline] withDockerContainer [2020-07-29T02:49:53.888Z] prd-ubuntu18.04-docker-arm64-4c-16g-1346 does not seem to be running inside a container [2020-07-29T02:49:53.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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:49:55.824Z] $ docker top 2b6915da3403f6bcc46448d60fa6ba5d6c0bf75d94da1e38e2969177af1d53aa -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-29T02:49:57.240Z] + go version [2020-07-29T02:49:57.240Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-07-29T02:49:58.292Z] + make test [2020-07-29T02:49:58.292Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-29T02:49:59.273Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-29T02:50:31.632Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-29T02:50:31.632Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-29T02:50:31.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-29T02:50:31.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.088s coverage: 22.1% of statements [2020-07-29T02:50:31.905Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.203s coverage: 95.8% of statements [2020-07-29T02:51:04.266Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.049s coverage: 11.4% of statements [2020-07-29T02:51:04.266Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.7% of statements [2020-07-29T02:51:04.266Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-29T02:51:04.266Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.244s coverage: 36.9% of statements [2020-07-29T02:51:04.266Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-29T02:51:04.266Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.511s coverage: 65.2% of statements [2020-07-29T02:51:04.266Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-29T02:51:04.266Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-29T02:51:04.266Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-29T02:51:04.266Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.057s coverage: 52.6% of statements [2020-07-29T02:51:04.266Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 68.9% of statements [2020-07-29T02:51:04.266Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-29T02:51:04.266Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-29T02:51:04.266Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-29T02:51:07.676Z] gofmt -l . [2020-07-29T02:51:07.676Z] [ "`gofmt -l .`" = "" ] [2020-07-29T02:51:07.951Z] ./bin/test-attribution-txt.sh [2020-07-29T02:51:08.549Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-29T02:51:09.161Z] Warning: overwriting stash ‘coverage-report’ [2020-07-29T02:51:10.038Z] Stashed 1 file(s) [Pipeline] } [2020-07-29T02:51:10.043Z] $ docker stop --time=1 2b6915da3403f6bcc46448d60fa6ba5d6c0bf75d94da1e38e2969177af1d53aa [2020-07-29T02:51:12.196Z] $ docker rm -f 2b6915da3403f6bcc46448d60fa6ba5d6c0bf75d94da1e38e2969177af1d53aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-29T02:51:13.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-29T02:51:13.769Z] + ls -al . [2020-07-29T02:51:13.769Z] total 228 [2020-07-29T02:51:13.769Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 29 02:51 . [2020-07-29T02:51:13.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 02:48 .. [2020-07-29T02:51:13.769Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 29 02:48 .dockerignore [2020-07-29T02:51:13.769Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 02:48 .git [2020-07-29T02:51:13.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 02:48 .github [2020-07-29T02:51:13.769Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 29 02:48 .gitignore [2020-07-29T02:51:13.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 02:48 .semver [2020-07-29T02:51:13.769Z] -rw-rw-r-- 1 jenkins jenkins 936 Jul 29 02:48 Dockerfile.build [2020-07-29T02:51:13.769Z] -rw-rw-r-- 1 jenkins jenkins 808 Jul 29 02:48 Jenkinsfile [2020-07-29T02:51:13.769Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 29 02:48 LICENSE [2020-07-29T02:51:13.769Z] -rw-rw-r-- 1 jenkins jenkins 892 Jul 29 02:48 Makefile [2020-07-29T02:51:13.769Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jul 29 02:48 README.md [2020-07-29T02:51:13.769Z] -rw-rw-r-- 1 jenkins jenkins 4291 Jul 29 02:48 RELEASE-NOTES.txt [2020-07-29T02:51:13.769Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 02:45 VERSION [2020-07-29T02:51:13.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 02:48 bin [2020-07-29T02:51:13.769Z] -rw-r--r-- 1 jenkins jenkins 110877 Jul 29 02:51 coverage.out [2020-07-29T02:51:13.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 02:48 example [2020-07-29T02:51:13.769Z] -rw-r--r-- 1 jenkins jenkins 446 Jul 29 02:51 go.mod [2020-07-29T02:51:13.769Z] -rw-r--r-- 1 jenkins jenkins 12179 Jul 29 02:51 go.sum [2020-07-29T02:51:13.769Z] drwxrwxr-x 13 jenkins jenkins 4096 Jul 29 02:48 internal [2020-07-29T02:51:13.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 02:48 openapi [2020-07-29T02:51:13.769Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 29 02:48 pkg [2020-07-29T02:51:13.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 02:48 snap [2020-07-29T02:51:13.769Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 29 02:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:51:14.142Z] + 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=fde3ef85261a54924a206979747a719e53169e30 --label arch=arm64 --label version=0.0.0 . [2020-07-29T02:51:14.769Z] Sending build context to Docker daemon 3.16MB [2020-07-29T02:51:14.769Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-29T02:51:14.769Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-29T02:51:14.769Z] ---> 8ce7939b9b66 [2020-07-29T02:51:14.769Z] Step 3/23 : ARG MAKE='make build' [2020-07-29T02:51:14.769Z] ---> Running in 0470fd818aa6 [2020-07-29T02:51:15.362Z] Removing intermediate container 0470fd818aa6 [2020-07-29T02:51:15.362Z] ---> 9d3c7bba950a [2020-07-29T02:51:15.362Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-29T02:51:15.362Z] ---> Running in 6d1169703753 [2020-07-29T02:51:15.957Z] Removing intermediate container 6d1169703753 [2020-07-29T02:51:15.957Z] ---> 9c9568452dd6 [2020-07-29T02:51:15.957Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-29T02:51:15.957Z] ---> Running in 33b6e2f95246 [2020-07-29T02:51:16.553Z] Removing intermediate container 33b6e2f95246 [2020-07-29T02:51:16.553Z] ---> 1b9770a60c6a [2020-07-29T02:51:16.553Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-29T02:51:16.553Z] ---> Running in 44265f5eb810 [2020-07-29T02:51:19.172Z] Removing intermediate container 44265f5eb810 [2020-07-29T02:51:19.172Z] ---> c6fcc8f07e24 [2020-07-29T02:51:19.172Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-29T02:51:19.172Z] ---> Running in e99ce038a768 [2020-07-29T02:51:20.599Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-29T02:51:21.189Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-29T02:51:21.781Z] OK: 142 MiB in 39 packages [2020-07-29T02:51:23.210Z] Removing intermediate container e99ce038a768 [2020-07-29T02:51:23.210Z] ---> b12fa0c19f13 [2020-07-29T02:51:23.210Z] Step 8/23 : COPY . . [2020-07-29T02:51:24.192Z] ---> d1be1166e1a7 [2020-07-29T02:51:24.192Z] Step 9/23 : RUN ${MAKE} [2020-07-29T02:51:24.192Z] ---> Running in 59a5ef886d5d [2020-07-29T02:51:25.624Z] 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:51:52.439Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-29T02:51:52.439Z] Removing intermediate container 59a5ef886d5d [2020-07-29T02:51:52.439Z] ---> dfbd0d59e14a [2020-07-29T02:51:52.439Z] Step 10/23 : FROM scratch [2020-07-29T02:51:52.439Z] ---> [2020-07-29T02:51:52.439Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-29T02:51:52.439Z] ---> Running in 1bf48a031540 [2020-07-29T02:51:52.439Z] Removing intermediate container 1bf48a031540 [2020-07-29T02:51:52.439Z] ---> 6be6147083d5 [2020-07-29T02:51:52.439Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-29T02:51:52.439Z] ---> Running in 264e8f92c7d1 [2020-07-29T02:51:52.439Z] Removing intermediate container 264e8f92c7d1 [2020-07-29T02:51:52.439Z] ---> bc3d6dc346c5 [2020-07-29T02:51:52.439Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-29T02:51:52.439Z] ---> Running in 45c90cd4ed34 [2020-07-29T02:51:52.710Z] Removing intermediate container 45c90cd4ed34 [2020-07-29T02:51:52.710Z] ---> ed500bf945e0 [2020-07-29T02:51:52.710Z] Step 14/23 : WORKDIR / [2020-07-29T02:51:52.981Z] ---> Running in ec0f8a399316 [2020-07-29T02:51:53.253Z] Removing intermediate container ec0f8a399316 [2020-07-29T02:51:53.253Z] ---> 38469f8a6a67 [2020-07-29T02:51:53.253Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-29T02:51:54.695Z] ---> 303982f864d2 [2020-07-29T02:51:54.695Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-29T02:51:55.290Z] ---> f41017eae79d [2020-07-29T02:51:55.290Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-29T02:51:55.884Z] ---> 90cff870ba33 [2020-07-29T02:51:55.884Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-29T02:51:56.864Z] ---> 51cffa102635 [2020-07-29T02:51:56.864Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-29T02:51:57.458Z] ---> 98d9b4998ac2 [2020-07-29T02:51:57.458Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-29T02:51:57.729Z] ---> Running in d24ef49d10c6 [2020-07-29T02:51:58.001Z] Removing intermediate container d24ef49d10c6 [2020-07-29T02:51:58.001Z] ---> 9426c6a8e3b5 [2020-07-29T02:51:58.001Z] Step 21/23 : LABEL arch=arm64 [2020-07-29T02:51:58.273Z] ---> Running in c229b9092b5e [2020-07-29T02:51:58.545Z] Removing intermediate container c229b9092b5e [2020-07-29T02:51:58.545Z] ---> f59a7b30a0a6 [2020-07-29T02:51:58.545Z] Step 22/23 : LABEL git_sha=fde3ef85261a54924a206979747a719e53169e30 [2020-07-29T02:51:58.818Z] ---> Running in 4ca4fc4bbba8 [2020-07-29T02:51:59.091Z] Removing intermediate container 4ca4fc4bbba8 [2020-07-29T02:51:59.091Z] ---> 90a8520f7ae0 [2020-07-29T02:51:59.091Z] Step 23/23 : LABEL version=0.0.0 [2020-07-29T02:51:59.685Z] ---> Running in f6d911f96e2f [2020-07-29T02:51:59.956Z] Removing intermediate container f6d911f96e2f [2020-07-29T02:51:59.956Z] ---> 64d25cd75eda [2020-07-29T02:51:59.956Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-29T02:51:59.956Z] Successfully built 64d25cd75eda [2020-07-29T02:51:59.956Z] 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:52:01.580Z] provisioning config files... [2020-07-29T02:52:01.594Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config6556342991939411207tmp [Pipeline] { [Pipeline] sh [2020-07-29T02:52:01.959Z] + curl -s https://codecov.io/bash [2020-07-29T02:52:01.959Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config6556342991939411207tmp [Pipeline] } [2020-07-29T02:52:02.228Z] 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:52:04.469Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-29T02:52:05.030Z] ---> package-listing.sh [2020-07-29T02:52:05.030Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-29T02:52:05.030Z] ++ facter osfamily [2020-07-29T02:52:05.030Z] + OS_FAMILY=redhat [2020-07-29T02:52:05.030Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-07-29T02:52:05.030Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-29T02:52:05.030Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-29T02:52:05.030Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-29T02:52:05.030Z] + PACKAGES=/tmp/packages_start.txt [2020-07-29T02:52:05.030Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-07-29T02:52:05.030Z] + PACKAGES=/tmp/packages_end.txt [2020-07-29T02:52:05.030Z] + case "${OS_FAMILY}" in [2020-07-29T02:52:05.030Z] + rpm -qa [2020-07-29T02:52:05.030Z] + sort [2020-07-29T02:52:09.245Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-29T02:52:09.245Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-29T02:52:09.245Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-29T02:52:09.245Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-07-29T02:52:09.245Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [2020-07-29T02:52:09.245Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:52:09.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-29T02:52:09.854Z] [2020-07-29T02:52:09.854Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-29T02:52:10.240Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-29T02:52:10.240Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-29T02:52:10.240Z] c9b1b535fdd9: Pulling fs layer [2020-07-29T02:52:10.240Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-29T02:52:10.240Z] 756a868c4378: Pulling fs layer [2020-07-29T02:52:10.240Z] 444b2fc9a129: Pulling fs layer [2020-07-29T02:52:10.240Z] ea15f1150254: Pulling fs layer [2020-07-29T02:52:10.240Z] 41b27a9f41bf: Pulling fs layer [2020-07-29T02:52:10.240Z] 28c525ee5125: Pulling fs layer [2020-07-29T02:52:10.240Z] 094b1ea09ed8: Pulling fs layer [2020-07-29T02:52:10.240Z] 138eaada9080: Pulling fs layer [2020-07-29T02:52:10.240Z] 0622d0fa9048: Pulling fs layer [2020-07-29T02:52:10.240Z] 444b2fc9a129: Waiting [2020-07-29T02:52:10.240Z] ea15f1150254: Waiting [2020-07-29T02:52:10.240Z] 41b27a9f41bf: Waiting [2020-07-29T02:52:10.240Z] 138eaada9080: Waiting [2020-07-29T02:52:10.240Z] 28c525ee5125: Waiting [2020-07-29T02:52:10.240Z] 094b1ea09ed8: Waiting [2020-07-29T02:52:10.240Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-29T02:52:10.240Z] 2cc5ad85d9ab: Download complete [2020-07-29T02:52:10.240Z] 444b2fc9a129: Verifying Checksum [2020-07-29T02:52:10.240Z] 444b2fc9a129: Download complete [2020-07-29T02:52:10.240Z] c9b1b535fdd9: Download complete [2020-07-29T02:52:10.240Z] ea15f1150254: Verifying Checksum [2020-07-29T02:52:10.240Z] ea15f1150254: Download complete [2020-07-29T02:52:10.515Z] 28c525ee5125: Verifying Checksum [2020-07-29T02:52:10.515Z] 28c525ee5125: Download complete [2020-07-29T02:52:10.784Z] 756a868c4378: Verifying Checksum [2020-07-29T02:52:10.784Z] 756a868c4378: Download complete [2020-07-29T02:52:10.784Z] c9b1b535fdd9: Pull complete [2020-07-29T02:52:10.784Z] 138eaada9080: Verifying Checksum [2020-07-29T02:52:10.784Z] 138eaada9080: Download complete [2020-07-29T02:52:11.076Z] 0622d0fa9048: Verifying Checksum [2020-07-29T02:52:11.076Z] 0622d0fa9048: Download complete [2020-07-29T02:52:11.076Z] 094b1ea09ed8: Verifying Checksum [2020-07-29T02:52:11.076Z] 094b1ea09ed8: Download complete [2020-07-29T02:52:11.076Z] 2cc5ad85d9ab: Pull complete [2020-07-29T02:52:11.341Z] 41b27a9f41bf: Verifying Checksum [2020-07-29T02:52:11.341Z] 41b27a9f41bf: Download complete [2020-07-29T02:52:12.725Z] 756a868c4378: Pull complete [2020-07-29T02:52:12.725Z] 444b2fc9a129: Pull complete [2020-07-29T02:52:12.725Z] ea15f1150254: Pull complete [2020-07-29T02:52:16.938Z] 41b27a9f41bf: Pull complete [2020-07-29T02:52:17.199Z] 28c525ee5125: Pull complete [2020-07-29T02:52:20.509Z] 094b1ea09ed8: Pull complete [2020-07-29T02:52:20.509Z] 138eaada9080: Pull complete [2020-07-29T02:52:20.770Z] 0622d0fa9048: Pull complete [2020-07-29T02:52:20.770Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-29T02:52:20.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-29T02:52:20.770Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-29T02:52:20.912Z] prd-centos7-docker-4c-2g-1342 does not seem to be running inside a container [2020-07-29T02:52:20.947Z] $ 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-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@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:52:23.646Z] $ docker top 9dc54514a47f4d842498ac8e2c1cbdf5445cd7aae0da0b7275b4e481397944d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-29T02:52:23.868Z] provisioning config files... [2020-07-29T02:52:23.883Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config1484350995653475671tmp [Pipeline] { [Pipeline] echo [2020-07-29T02:52:23.949Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-29T02:52:24.241Z] ---> create-netrc.sh [Pipeline] echo [2020-07-29T02:52:24.249Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-29T02:52:24.537Z] ---> logs-deploy.sh [2020-07-29T02:52:24.537Z] + ARCHIVE_ARTIFACTS= [2020-07-29T02:52:24.537Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-29T02:52:24.537Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-29T02:52:24.537Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-29T02:52:24.537Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/7 [2020-07-29T02:52:24.537Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/7/ [2020-07-29T02:52:24.537Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/7 /w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-07-29T02:52:25.476Z] Archives upload complete. [2020-07-29T02:52:25.749Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/7/