Pull request #563 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7a69a11030dc91ebff33a0a3de7422eba4b6131a+87d5476449a35cff438eb0cafa3131d50caefe7b (5039fcf44a47ce8fb0542194c343a92320419d38) 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-237 in /w/workspace/dgexfoundry_device-sdk-go_PR-563 [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-563 # 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 Fetching without tags > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/563/head:refs/remotes/origin/PR-563 # 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/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 87d5476449a35cff438eb0cafa3131d50caefe7b into PR head commit 7a69a11030dc91ebff33a0a3de7422eba4b6131a Merge succeeded, producing 7a69a11030dc91ebff33a0a3de7422eba4b6131a Checking out Revision 7a69a11030dc91ebff33a0a3de7422eba4b6131a (PR-563) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a69a11030dc91ebff33a0a3de7422eba4b6131a # 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 87d5476449a35cff438eb0cafa3131d50caefe7b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a69a11030dc91ebff33a0a3de7422eba4b6131a # timeout=10 Commit message: "fix: update CommandExists to only check Device Commands" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-08-17T06:39:54.665Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-08-17T06:39:54.902Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-08-17T06:39:54.984Z] ========================================================= [2020-08-17T06:39:54.984Z] EdgeX Global Pipelines Version Info [2020-08-17T06:39:54.984Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 36e6fb5931ddfebac18a0f3c8bf43662636732ac # timeout=10 [2020-08-17T06:39:56.824Z] ------------------- [2020-08-17T06:39:56.824Z] stable info: [2020-08-17T06:39:56.824Z] ------------------- [2020-08-17T06:39:56.824Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-08-17T06:39:56.824Z] Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-08-17T06:39:56.824Z] Message: update stable to v1.0.106 [2020-08-17T06:39:57.393Z] ------------------- [2020-08-17T06:39:57.393Z] experimental info: [2020-08-17T06:39:57.393Z] ------------------- [2020-08-17T06:39:57.393Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-08-17T06:39:57.393Z] Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b [2020-08-17T06:39:57.393Z] Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-17T06:39:59.444Z] + git log --format=format:%s -1 7a69a11030dc91ebff33a0a3de7422eba4b6131a [Pipeline] echo [2020-08-17T06:39:59.497Z] GIT_COMMIT: 7a69a11030dc91ebff33a0a3de7422eba4b6131a, Commit Message: fix: update CommandExists to only check Device Commands [Pipeline] echo [2020-08-17T06:39:59.539Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-08-17T06:40:00.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-17T06:40:00.276Z] [2020-08-17T06:40:00.276Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-08-17T06:40:00.645Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-17T06:40:00.645Z] latest: Pulling from edgex-devops/git-semver [2020-08-17T06:40:00.645Z] 31603596830f: Pulling fs layer [2020-08-17T06:40:00.645Z] 2a8b12db71e7: Pulling fs layer [2020-08-17T06:40:00.645Z] 6ca5941a6612: Pulling fs layer [2020-08-17T06:40:00.646Z] ecc8261a40a4: Pulling fs layer [2020-08-17T06:40:00.646Z] ecc8261a40a4: Waiting [2020-08-17T06:40:00.646Z] 2a8b12db71e7: Verifying Checksum [2020-08-17T06:40:00.646Z] 2a8b12db71e7: Download complete [2020-08-17T06:40:00.646Z] 31603596830f: Verifying Checksum [2020-08-17T06:40:00.646Z] 31603596830f: Download complete [2020-08-17T06:40:00.910Z] ecc8261a40a4: Verifying Checksum [2020-08-17T06:40:00.910Z] ecc8261a40a4: Download complete [2020-08-17T06:40:00.910Z] 6ca5941a6612: Verifying Checksum [2020-08-17T06:40:00.910Z] 6ca5941a6612: Download complete [2020-08-17T06:40:01.173Z] 31603596830f: Pull complete [2020-08-17T06:40:01.173Z] 2a8b12db71e7: Pull complete [2020-08-17T06:40:02.116Z] 6ca5941a6612: Pull complete [2020-08-17T06:40:02.116Z] ecc8261a40a4: Pull complete [2020-08-17T06:40:02.116Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-08-17T06:40:02.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-17T06:40:02.116Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-08-17T06:40:02.220Z] prd-centos7-docker-4c-2g-237 does not seem to be running inside a container [2020-08-17T06:40:02.257Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-563 -v /w/workspace/dgexfoundry_device-sdk-go_PR-563:/w/workspace/dgexfoundry_device-sdk-go_PR-563:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-563@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-08-17T06:40:04.367Z] $ docker top 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-17T06:40:04.688Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-17T06:40:04.688Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-17T06:40:04.882Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-17T06:40:04.882Z] $ docker exec 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef ssh-agent [2020-08-17T06:40:05.038Z] SSH_AUTH_SOCK=/tmp/ssh-ubOZSn3SwYMw/agent.12 [2020-08-17T06:40:05.038Z] SSH_AGENT_PID=17 [2020-08-17T06:40:05.050Z] Running ssh-add (command line suppressed) [2020-08-17T06:40:05.165Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/private_key_7221909196945862086.key (/w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/private_key_7221909196945862086.key) [2020-08-17T06:40:05.217Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-17T06:40:05.546Z] + git describe --exact-match --tags HEAD [2020-08-17T06:40:05.546Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-08-17T06:40:05.564Z] $ docker exec --env ******** --env ******** 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef ssh-agent -k [2020-08-17T06:40:05.681Z] unset SSH_AUTH_SOCK; [2020-08-17T06:40:05.682Z] unset SSH_AGENT_PID; [2020-08-17T06:40:05.682Z] echo Agent pid 17 killed; [2020-08-17T06:40:05.725Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-08-17T06:40:05.816Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-08-17T06:40:05.816Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-08-17T06:40:05.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-17T06:40:05.897Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-17T06:40:06.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-17T06:40:06.046Z] $ docker exec 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef ssh-agent [2020-08-17T06:40:06.198Z] SSH_AUTH_SOCK=/tmp/ssh-7azVNSZyeU4W/agent.45 [2020-08-17T06:40:06.198Z] SSH_AGENT_PID=50 [2020-08-17T06:40:06.204Z] Running ssh-add (command line suppressed) [2020-08-17T06:40:06.310Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/private_key_7387461432550971936.key (/w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/private_key_7387461432550971936.key) [2020-08-17T06:40:06.359Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-17T06:40:06.692Z] + git semver init [2020-08-17T06:40:06.692Z] # -> Open(): unable to determine branch for HEAD [2020-08-17T06:40:06.692Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-563/.git [2020-08-17T06:40:06.692Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-563 [2020-08-17T06:40:06.692Z] # $SEMVER_REMOTE_NAME = origin [2020-08-17T06:40:06.692Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-17T06:40:06.692Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-17T06:40:06.692Z] # $SEMVER_BRANCH = PR-563 [2020-08-17T06:40:06.692Z] # $SEMVER_TEMP = /tmp/semver-129585404 [2020-08-17T06:40:06.692Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-08-17T06:40:08.080Z] # '/tmp/semver-129585404' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-563/.semver' [2020-08-17T06:40:08.080Z] # -> Force: false [2020-08-17T06:40:08.080Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-563/.semver [Pipeline] } [2020-08-17T06:40:08.089Z] $ docker exec --env ******** --env ******** 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef ssh-agent -k [2020-08-17T06:40:08.200Z] unset SSH_AUTH_SOCK; [2020-08-17T06:40:08.202Z] unset SSH_AGENT_PID; [2020-08-17T06:40:08.202Z] echo Agent pid 50 killed; [2020-08-17T06:40:08.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-17T06:40:08.694Z] + git semver [Pipeline] } [2020-08-17T06:40:08.706Z] $ docker stop --time=1 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef [2020-08-17T06:40:10.148Z] $ docker rm -f 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-08-17T06:40:11.148Z] Stashed 27 file(s) [Pipeline] echo [2020-08-17T06:40:11.151Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-08-17T06:40:11.232Z] 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-08-17T06:40:26.654Z] Still waiting to schedule task [2020-08-17T06:40:26.654Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-08-17T06:40:26.656Z] Still waiting to schedule task [2020-08-17T06:40:26.656Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-08-17T06:42:22.371Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-238 in /w/workspace/dgexfoundry_device-sdk-go_PR-563 [Pipeline] { [Pipeline] ws [2020-08-17T06:42:22.416Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-08-17T06:42:27.580Z] using credential edgex-jenkins-ssh [2020-08-17T06:42:27.633Z] Cloning the remote Git repository [2020-08-17T06:42:27.633Z] Cloning with configured refspecs honoured and without tags [2020-08-17T06:42:27.689Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-08-17T06:42:27.802Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-08-17T06:42:27.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-17T06:42:27.871Z] > git --version # timeout=10 [2020-08-17T06:42:27.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-17T06:42:27.988Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-17T06:42:28.968Z] Fetching without tags [2020-08-17T06:42:29.694Z] Merging remotes/origin/master commit 87d5476449a35cff438eb0cafa3131d50caefe7b into PR head commit 7a69a11030dc91ebff33a0a3de7422eba4b6131a [2020-08-17T06:42:28.886Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-17T06:42:28.904Z] > git config --add remote.origin.fetch +refs/pull/563/head:refs/remotes/origin/PR-563 # timeout=10 [2020-08-17T06:42:28.920Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-17T06:42:28.944Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-17T06:42:28.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-17T06:42:28.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-17T06:42:28.994Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-17T06:42:29.715Z] > git config core.sparsecheckout # timeout=10 [2020-08-17T06:42:29.731Z] > git checkout -f 7a69a11030dc91ebff33a0a3de7422eba4b6131a # timeout=10 [2020-08-17T06:42:29.837Z] > git remote # timeout=10 [2020-08-17T06:42:29.925Z] > git config --get remote.origin.url # timeout=10 [2020-08-17T06:42:29.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-17T06:42:29.978Z] > git merge 87d5476449a35cff438eb0cafa3131d50caefe7b # timeout=10 [2020-08-17T06:42:30.058Z] Merge succeeded, producing 7a69a11030dc91ebff33a0a3de7422eba4b6131a [2020-08-17T06:42:30.058Z] Checking out Revision 7a69a11030dc91ebff33a0a3de7422eba4b6131a (PR-563) [2020-08-17T06:42:30.021Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-17T06:42:30.062Z] > git config core.sparsecheckout # timeout=10 [2020-08-17T06:42:30.099Z] > git checkout -f 7a69a11030dc91ebff33a0a3de7422eba4b6131a # timeout=10 [2020-08-17T06:42:34.420Z] Commit message: "fix: update CommandExists to only check Device Commands" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-17T06:42:35.704Z] ========================================================= [2020-08-17T06:42:35.704Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-08-17T06:42:35.704Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-17T06:42:36.924Z] + 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-08-17T06:42:37.925Z] Sending build context to Docker daemon 3.056MB [2020-08-17T06:42:37.925Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-17T06:42:37.925Z] Step 2/8 : FROM ${BASE} [2020-08-17T06:42:38.201Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-08-17T06:42:38.201Z] b538f80385f9: Pulling fs layer [2020-08-17T06:42:38.201Z] 74f711af9a0d: Pulling fs layer [2020-08-17T06:42:38.201Z] 99f96fe45779: Pulling fs layer [2020-08-17T06:42:38.201Z] fd7a069fd194: Pulling fs layer [2020-08-17T06:42:38.201Z] 66aa3694b03b: Pulling fs layer [2020-08-17T06:42:38.201Z] 170f70906a0f: Pulling fs layer [2020-08-17T06:42:38.201Z] ad7c5574e4b9: Pulling fs layer [2020-08-17T06:42:38.201Z] e772456be8f7: Pulling fs layer [2020-08-17T06:42:38.201Z] c890913d741a: Pulling fs layer [2020-08-17T06:42:38.201Z] 2480fcc9aa5a: Pulling fs layer [2020-08-17T06:42:38.201Z] 09adf4765672: Pulling fs layer [2020-08-17T06:42:38.201Z] fd7a069fd194: Waiting [2020-08-17T06:42:38.201Z] 66aa3694b03b: Waiting [2020-08-17T06:42:38.201Z] 170f70906a0f: Waiting [2020-08-17T06:42:38.201Z] ad7c5574e4b9: Waiting [2020-08-17T06:42:38.201Z] e772456be8f7: Waiting [2020-08-17T06:42:38.201Z] c890913d741a: Waiting [2020-08-17T06:42:38.201Z] 2480fcc9aa5a: Waiting [2020-08-17T06:42:38.201Z] 09adf4765672: Waiting [2020-08-17T06:42:38.201Z] 99f96fe45779: Verifying Checksum [2020-08-17T06:42:38.201Z] 99f96fe45779: Download complete [2020-08-17T06:42:38.201Z] 74f711af9a0d: Verifying Checksum [2020-08-17T06:42:38.201Z] 74f711af9a0d: Download complete [2020-08-17T06:42:38.201Z] 66aa3694b03b: Verifying Checksum [2020-08-17T06:42:38.201Z] 66aa3694b03b: Download complete [2020-08-17T06:42:38.201Z] 170f70906a0f: Verifying Checksum [2020-08-17T06:42:38.201Z] 170f70906a0f: Download complete [2020-08-17T06:42:38.201Z] b538f80385f9: Download complete [2020-08-17T06:42:39.182Z] b538f80385f9: Pull complete [2020-08-17T06:42:39.788Z] 74f711af9a0d: Pull complete [2020-08-17T06:42:40.046Z] Running on prd-centos7-docker-4c-2g-239 in /w/workspace/dgexfoundry_device-sdk-go_PR-563 [Pipeline] { [2020-08-17T06:42:40.065Z] 99f96fe45779: Pull complete [Pipeline] ws [2020-08-17T06:42:40.089Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-08-17T06:42:42.055Z] ad7c5574e4b9: Verifying Checksum [2020-08-17T06:42:42.055Z] ad7c5574e4b9: Download complete [2020-08-17T06:42:42.055Z] c890913d741a: Verifying Checksum [2020-08-17T06:42:42.055Z] c890913d741a: Download complete [2020-08-17T06:42:42.654Z] e772456be8f7: Verifying Checksum [2020-08-17T06:42:42.654Z] e772456be8f7: Download complete [2020-08-17T06:42:42.932Z] 09adf4765672: Verifying Checksum [2020-08-17T06:42:42.932Z] 09adf4765672: Download complete [2020-08-17T06:42:43.529Z] 2480fcc9aa5a: Verifying Checksum [2020-08-17T06:42:43.529Z] 2480fcc9aa5a: Download complete [2020-08-17T06:42:43.802Z] fd7a069fd194: Verifying Checksum [2020-08-17T06:42:43.802Z] fd7a069fd194: Download complete [2020-08-17T06:42:46.000Z] using credential edgex-jenkins-ssh [2020-08-17T06:42:46.104Z] Cloning the remote Git repository [2020-08-17T06:42:46.104Z] Cloning with configured refspecs honoured and without tags [2020-08-17T06:42:46.146Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-08-17T06:42:46.250Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-08-17T06:42:46.320Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-17T06:42:46.320Z] > git --version # timeout=10 [2020-08-17T06:42:46.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-17T06:42:46.474Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-17T06:42:47.404Z] Fetching without tags [2020-08-17T06:42:47.359Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-17T06:42:47.372Z] > git config --add remote.origin.fetch +refs/pull/563/head:refs/remotes/origin/PR-563 # timeout=10 [2020-08-17T06:42:47.380Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-17T06:42:47.393Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-17T06:42:47.407Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-17T06:42:47.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-17T06:42:47.414Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-17T06:42:47.909Z] Merging remotes/origin/master commit 87d5476449a35cff438eb0cafa3131d50caefe7b into PR head commit 7a69a11030dc91ebff33a0a3de7422eba4b6131a [2020-08-17T06:42:48.339Z] Merge succeeded, producing 7a69a11030dc91ebff33a0a3de7422eba4b6131a [2020-08-17T06:42:48.340Z] Checking out Revision 7a69a11030dc91ebff33a0a3de7422eba4b6131a (PR-563) [2020-08-17T06:42:47.927Z] > git config core.sparsecheckout # timeout=10 [2020-08-17T06:42:47.955Z] > git checkout -f 7a69a11030dc91ebff33a0a3de7422eba4b6131a # timeout=10 [2020-08-17T06:42:48.082Z] > git remote # timeout=10 [2020-08-17T06:42:48.178Z] > git config --get remote.origin.url # timeout=10 [2020-08-17T06:42:48.204Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-17T06:42:48.217Z] > git merge 87d5476449a35cff438eb0cafa3131d50caefe7b # timeout=10 [2020-08-17T06:42:48.316Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-17T06:42:48.341Z] > git config core.sparsecheckout # timeout=10 [2020-08-17T06:42:48.386Z] > git checkout -f 7a69a11030dc91ebff33a0a3de7422eba4b6131a # timeout=10 [2020-08-17T06:42:52.407Z] Commit message: "fix: update CommandExists to only check Device Commands" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-17T06:42:53.541Z] ========================================================= [2020-08-17T06:42:53.541Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-08-17T06:42:53.541Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-17T06:42:54.971Z] + 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-08-17T06:42:55.671Z] Sending build context to Docker daemon 3.056MB [2020-08-17T06:42:55.671Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-17T06:42:55.671Z] Step 2/8 : FROM ${BASE} [2020-08-17T06:42:55.671Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-08-17T06:42:55.671Z] df20fa9351a1: Pulling fs layer [2020-08-17T06:42:55.671Z] ed8968b2872e: Pulling fs layer [2020-08-17T06:42:55.671Z] a92cc7c5fd73: Pulling fs layer [2020-08-17T06:42:55.671Z] 2dd03ba5bac4: Pulling fs layer [2020-08-17T06:42:55.671Z] 1e091d79d1de: Pulling fs layer [2020-08-17T06:42:55.671Z] 481702a1767f: Pulling fs layer [2020-08-17T06:42:55.671Z] f64a6f60c768: Pulling fs layer [2020-08-17T06:42:55.671Z] e78d2573fc39: Pulling fs layer [2020-08-17T06:42:55.671Z] e876d2f968b6: Pulling fs layer [2020-08-17T06:42:55.671Z] ce8a83651883: Pulling fs layer [2020-08-17T06:42:55.671Z] 07967f4d0e4b: Pulling fs layer [2020-08-17T06:42:55.671Z] 2dd03ba5bac4: Waiting [2020-08-17T06:42:55.671Z] 1e091d79d1de: Waiting [2020-08-17T06:42:55.671Z] 481702a1767f: Waiting [2020-08-17T06:42:55.671Z] f64a6f60c768: Waiting [2020-08-17T06:42:55.671Z] e78d2573fc39: Waiting [2020-08-17T06:42:55.671Z] e876d2f968b6: Waiting [2020-08-17T06:42:55.671Z] ce8a83651883: Waiting [2020-08-17T06:42:55.671Z] 07967f4d0e4b: Waiting [2020-08-17T06:42:55.671Z] a92cc7c5fd73: Verifying Checksum [2020-08-17T06:42:55.671Z] a92cc7c5fd73: Download complete [2020-08-17T06:42:55.940Z] ed8968b2872e: Verifying Checksum [2020-08-17T06:42:55.940Z] ed8968b2872e: Download complete [2020-08-17T06:42:55.940Z] 1e091d79d1de: Verifying Checksum [2020-08-17T06:42:55.940Z] 1e091d79d1de: Download complete [2020-08-17T06:42:55.940Z] 481702a1767f: Verifying Checksum [2020-08-17T06:42:55.940Z] 481702a1767f: Download complete [2020-08-17T06:42:55.940Z] df20fa9351a1: Download complete [2020-08-17T06:42:56.213Z] fd7a069fd194: Pull complete [2020-08-17T06:42:56.213Z] 66aa3694b03b: Pull complete [2020-08-17T06:42:56.213Z] 170f70906a0f: Pull complete [2020-08-17T06:42:56.879Z] df20fa9351a1: Pull complete [2020-08-17T06:42:56.879Z] ed8968b2872e: Pull complete [2020-08-17T06:42:57.202Z] a92cc7c5fd73: Pull complete [2020-08-17T06:42:58.832Z] ad7c5574e4b9: Pull complete [2020-08-17T06:43:00.167Z] f64a6f60c768: Verifying Checksum [2020-08-17T06:43:00.167Z] f64a6f60c768: Download complete [2020-08-17T06:43:00.167Z] e876d2f968b6: Verifying Checksum [2020-08-17T06:43:00.167Z] e876d2f968b6: Download complete [2020-08-17T06:43:00.623Z] 2dd03ba5bac4: Verifying Checksum [2020-08-17T06:43:00.623Z] 2dd03ba5bac4: Download complete [2020-08-17T06:43:01.274Z] 07967f4d0e4b: Verifying Checksum [2020-08-17T06:43:01.274Z] 07967f4d0e4b: Download complete [2020-08-17T06:43:01.274Z] ce8a83651883: Verifying Checksum [2020-08-17T06:43:01.274Z] ce8a83651883: Download complete [2020-08-17T06:43:01.274Z] e78d2573fc39: Verifying Checksum [2020-08-17T06:43:01.274Z] e78d2573fc39: Download complete [2020-08-17T06:43:03.144Z] e772456be8f7: Pull complete [2020-08-17T06:43:03.754Z] c890913d741a: Pull complete [2020-08-17T06:43:05.743Z] 2480fcc9aa5a: Pull complete [2020-08-17T06:43:06.340Z] 09adf4765672: Pull complete [2020-08-17T06:43:06.340Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-08-17T06:43:06.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-08-17T06:43:06.340Z] ---> 2248a725d1cf [2020-08-17T06:43:06.340Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-17T06:43:10.641Z] ---> Running in 673bff571334 [2020-08-17T06:43:10.911Z] Removing intermediate container 673bff571334 [2020-08-17T06:43:10.911Z] ---> e0b75de64b5d [2020-08-17T06:43:10.911Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-17T06:43:11.190Z] ---> Running in de971877e382 [2020-08-17T06:43:11.550Z] 2dd03ba5bac4: Pull complete [2020-08-17T06:43:11.550Z] 1e091d79d1de: Pull complete [2020-08-17T06:43:11.550Z] 481702a1767f: Pull complete [2020-08-17T06:43:13.805Z] Removing intermediate container de971877e382 [2020-08-17T06:43:13.805Z] ---> e98f4e346362 [2020-08-17T06:43:13.805Z] Step 5/8 : RUN apk add --no-cache make git [2020-08-17T06:43:13.805Z] ---> Running in e7934bfa83be [2020-08-17T06:43:15.234Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-17T06:43:16.206Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-17T06:43:16.800Z] OK: 142 MiB in 39 packages [2020-08-17T06:43:18.231Z] Removing intermediate container e7934bfa83be [2020-08-17T06:43:18.231Z] ---> 8f3d75de9071 [2020-08-17T06:43:18.231Z] Step 6/8 : WORKDIR /device-sdk-go [2020-08-17T06:43:18.231Z] ---> Running in 7276e30461c5 [2020-08-17T06:43:18.301Z] f64a6f60c768: Pull complete [2020-08-17T06:43:18.823Z] Removing intermediate container 7276e30461c5 [2020-08-17T06:43:18.823Z] ---> 4cdf21f5ee24 [2020-08-17T06:43:18.823Z] Step 7/8 : COPY . . [2020-08-17T06:43:20.248Z] ---> 377d9eb7eb81 [2020-08-17T06:43:20.248Z] Step 8/8 : RUN go mod download [2020-08-17T06:43:20.248Z] ---> Running in af0642e7a9c8 [2020-08-17T06:43:22.705Z] e78d2573fc39: Pull complete [2020-08-17T06:43:22.863Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-17T06:43:22.863Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-17T06:43:22.863Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-17T06:43:22.986Z] e876d2f968b6: Pull complete [2020-08-17T06:43:23.134Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-17T06:43:23.134Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-17T06:43:23.134Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-17T06:43:23.134Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-17T06:43:23.134Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-17T06:43:23.134Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-08-17T06:43:23.134Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-17T06:43:23.134Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-17T06:43:23.406Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-17T06:43:23.406Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-17T06:43:23.406Z] go: finding github.com/fatih/color v1.7.0 [2020-08-17T06:43:23.406Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-17T06:43:23.406Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-17T06:43:23.406Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-17T06:43:23.406Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-17T06:43:23.677Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-17T06:43:23.677Z] go: finding github.com/google/uuid v1.1.0 [2020-08-17T06:43:23.677Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-17T06:43:23.677Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-17T06:43:23.677Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-17T06:43:23.677Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-17T06:43:23.677Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-17T06:43:23.677Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-17T06:43:23.677Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-17T06:43:23.948Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-17T06:43:23.948Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-17T06:43:23.948Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-17T06:43:23.948Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-17T06:43:23.948Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-17T06:43:23.948Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-17T06:43:23.948Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-17T06:43:23.948Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-17T06:43:23.948Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-17T06:43:23.948Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-17T06:43:23.948Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-17T06:43:24.219Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-17T06:43:24.219Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-17T06:43:24.219Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-17T06:43:24.219Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-17T06:43:24.219Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-17T06:43:24.219Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-17T06:43:24.219Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-17T06:43:24.219Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-17T06:43:24.219Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-17T06:43:24.219Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-17T06:43:24.489Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-17T06:43:24.489Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-17T06:43:24.489Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-17T06:43:24.489Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-17T06:43:24.489Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-17T06:43:24.489Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-17T06:43:24.489Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-17T06:43:24.489Z] go: finding github.com/posener/complete v1.1.1 [2020-08-17T06:43:24.489Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-17T06:43:24.489Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-17T06:43:24.758Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-17T06:43:24.758Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-17T06:43:24.758Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-17T06:43:24.758Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-17T06:43:24.758Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-17T06:43:24.758Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-17T06:43:24.759Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-17T06:43:24.759Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-17T06:43:24.759Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-17T06:43:25.031Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-17T06:43:25.033Z] ce8a83651883: Pull complete [2020-08-17T06:43:25.033Z] 07967f4d0e4b: Pull complete [2020-08-17T06:43:25.310Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-08-17T06:43:25.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-08-17T06:43:25.310Z] ---> 5d7c900382c6 [2020-08-17T06:43:25.310Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-17T06:43:26.294Z] ---> Running in 13b5f695a282 [2020-08-17T06:43:26.562Z] Removing intermediate container 13b5f695a282 [2020-08-17T06:43:26.562Z] ---> 1a6cc977c9fd [2020-08-17T06:43:26.562Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-17T06:43:26.562Z] ---> Running in 7b87d34959d9 [2020-08-17T06:43:27.990Z] Removing intermediate container 7b87d34959d9 [2020-08-17T06:43:27.990Z] ---> 5f681dd2ea98 [2020-08-17T06:43:27.990Z] Step 5/8 : RUN apk add --no-cache make git [2020-08-17T06:43:28.302Z] ---> Running in 2a86499b8961 [2020-08-17T06:43:29.340Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-17T06:43:29.978Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-17T06:43:30.583Z] OK: 166 MiB in 39 packages [2020-08-17T06:43:31.213Z] Removing intermediate container 2a86499b8961 [2020-08-17T06:43:31.213Z] ---> 7a0f27efb5e3 [2020-08-17T06:43:31.213Z] Step 6/8 : WORKDIR /device-sdk-go [2020-08-17T06:43:31.499Z] ---> Running in d315f2962b51 [2020-08-17T06:43:31.499Z] Removing intermediate container d315f2962b51 [2020-08-17T06:43:31.499Z] ---> d9686aa6e911 [2020-08-17T06:43:31.499Z] Step 7/8 : COPY . . [2020-08-17T06:43:32.941Z] ---> 11b4dd569aa9 [2020-08-17T06:43:32.941Z] Step 8/8 : RUN go mod download [2020-08-17T06:43:32.941Z] ---> Running in 4e6ba9c6e706 [2020-08-17T06:43:34.896Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-17T06:43:34.896Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-17T06:43:34.896Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-17T06:43:34.896Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-17T06:43:34.896Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-17T06:43:34.896Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-17T06:43:34.896Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-17T06:43:34.896Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-17T06:43:34.896Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-08-17T06:43:34.896Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-17T06:43:35.171Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-17T06:43:35.171Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-17T06:43:35.171Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-17T06:43:35.171Z] go: finding github.com/fatih/color v1.7.0 [2020-08-17T06:43:35.171Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-17T06:43:35.171Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-17T06:43:35.171Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-17T06:43:35.171Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-17T06:43:35.171Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-17T06:43:35.171Z] go: finding github.com/google/uuid v1.1.0 [2020-08-17T06:43:35.189Z] Removing intermediate container af0642e7a9c8 [2020-08-17T06:43:35.189Z] ---> 9d3a6bbc3a59 [2020-08-17T06:43:35.189Z] Successfully built 9d3a6bbc3a59 [2020-08-17T06:43:35.189Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-08-17T06:43:35.452Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-17T06:43:35.452Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-17T06:43:35.452Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-17T06:43:35.453Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-17T06:43:35.453Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-17T06:43:35.453Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-17T06:43:35.453Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-17T06:43:35.453Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-17T06:43:35.453Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-17T06:43:35.453Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-17T06:43:35.453Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-08-17T06:43:35.719Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-17T06:43:35.720Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-17T06:43:35.720Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-17T06:43:35.720Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-17T06:43:35.720Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-17T06:43:35.720Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-17T06:43:35.720Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-17T06:43:35.720Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-17T06:43:35.720Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-17T06:43:35.720Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-17T06:43:35.887Z] + docker inspect -f . ci-base-image-arm64 [2020-08-17T06:43:35.887Z] . [Pipeline] withDockerContainer [2020-08-17T06:43:35.985Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-17T06:43:35.985Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-17T06:43:35.985Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-17T06:43:35.985Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-17T06:43:35.985Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-17T06:43:35.985Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-17T06:43:35.985Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-17T06:43:35.985Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-17T06:43:35.985Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-17T06:43:35.985Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-17T06:43:35.985Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-17T06:43:36.165Z] prd-ubuntu18.04-docker-arm64-4c-16g-238 does not seem to be running inside a container [2020-08-17T06:43:36.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-08-17T06:43:36.299Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-17T06:43:36.299Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-17T06:43:36.299Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-17T06:43:36.299Z] go: finding github.com/posener/complete v1.1.1 [2020-08-17T06:43:36.299Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-17T06:43:36.299Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-17T06:43:36.299Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-17T06:43:36.299Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-17T06:43:36.299Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-17T06:43:36.299Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-17T06:43:36.623Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-17T06:43:36.623Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-17T06:43:36.623Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-17T06:43:36.623Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-17T06:43:36.623Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-17T06:43:36.623Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-17T06:43:38.174Z] $ docker top 34fc21cb19fc70bfb6ae3c35aff8f54f450288ce89187f729e8c21e0692f87b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-17T06:43:39.590Z] + go version [2020-08-17T06:43:39.591Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-08-17T06:43:40.629Z] + make test [2020-08-17T06:43:40.629Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-17T06:43:41.604Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-08-17T06:43:46.847Z] Removing intermediate container 4e6ba9c6e706 [2020-08-17T06:43:46.847Z] ---> 7f653632b035 [2020-08-17T06:43:46.847Z] Successfully built 7f653632b035 [2020-08-17T06:43:46.847Z] 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-08-17T06:43:47.577Z] + docker inspect -f . ci-base-image-x86_64 [2020-08-17T06:43:47.577Z] . [Pipeline] withDockerContainer [2020-08-17T06:43:47.797Z] prd-centos7-docker-4c-2g-239 does not seem to be running inside a container [2020-08-17T06:43:47.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-08-17T06:43:49.069Z] $ docker top 9d767c3cfedeb44f4065f685c7f8cb93a8b937da686d46bf8ff7fae3da0d255d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-17T06:43:49.687Z] + go version [2020-08-17T06:43:49.687Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-08-17T06:43:50.082Z] + make test [2020-08-17T06:43:50.082Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-17T06:43:52.230Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-08-17T06:44:07.620Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-08-17T06:44:07.620Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-08-17T06:44:07.620Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-08-17T06:44:08.289Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.043s coverage: 22.1% of statements [2020-08-17T06:44:11.252Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.120s coverage: 95.7% of statements [2020-08-17T06:44:13.972Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-08-17T06:44:13.972Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-08-17T06:44:13.972Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-08-17T06:44:13.972Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 22.1% of statements [2020-08-17T06:44:13.972Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.155s coverage: 95.7% of statements [2020-08-17T06:44:44.128Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.106s coverage: 11.6% of statements [2020-08-17T06:44:44.128Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.052s coverage: 21.7% of statements [2020-08-17T06:44:44.128Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-08-17T06:44:44.128Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.626s coverage: 36.9% of statements [2020-08-17T06:44:44.128Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-08-17T06:44:44.128Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.674s coverage: 65.2% of statements [2020-08-17T06:44:44.128Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-08-17T06:44:44.128Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-08-17T06:44:44.128Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-08-17T06:44:44.128Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements [2020-08-17T06:44:44.128Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.127s coverage: 68.9% of statements [2020-08-17T06:44:44.128Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-08-17T06:44:44.128Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-08-17T06:44:44.128Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-17T06:44:46.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.081s coverage: 11.6% of statements [2020-08-17T06:44:46.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.025s coverage: 21.7% of statements [2020-08-17T06:44:46.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-08-17T06:44:46.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.129s coverage: 36.9% of statements [2020-08-17T06:44:46.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-08-17T06:44:46.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.707s coverage: 65.2% of statements [2020-08-17T06:44:46.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-08-17T06:44:46.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-08-17T06:44:46.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-08-17T06:44:46.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.049s coverage: 52.6% of statements [2020-08-17T06:44:46.316Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 68.9% of statements [2020-08-17T06:44:46.316Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-08-17T06:44:46.316Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-08-17T06:44:46.316Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-17T06:44:46.387Z] gofmt -l . [2020-08-17T06:44:46.387Z] [ "`gofmt -l .`" = "" ] [2020-08-17T06:44:46.655Z] ./bin/test-attribution-txt.sh [2020-08-17T06:44:47.668Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-08-17T06:44:49.819Z] Stashed 1 file(s) [Pipeline] } [2020-08-17T06:44:49.844Z] $ docker stop --time=1 9d767c3cfedeb44f4065f685c7f8cb93a8b937da686d46bf8ff7fae3da0d255d [2020-08-17T06:44:50.636Z] gofmt -l . [2020-08-17T06:44:50.636Z] [ "`gofmt -l .`" = "" ] [2020-08-17T06:44:50.636Z] ./bin/test-attribution-txt.sh [2020-08-17T06:44:51.234Z] ./bin/test-go-mod-tidy.sh [2020-08-17T06:44:51.542Z] $ docker rm -f 9d767c3cfedeb44f4065f685c7f8cb93a8b937da686d46bf8ff7fae3da0d255d [Pipeline] // withDockerContainer [Pipeline] stash [Pipeline] } [Pipeline] // script [2020-08-17T06:44:52.031Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-08-17T06:44:52.814Z] Stashed 1 file(s) [Pipeline] } [2020-08-17T06:44:53.397Z] $ docker stop --time=1 34fc21cb19fc70bfb6ae3c35aff8f54f450288ce89187f729e8c21e0692f87b0 [2020-08-17T06:44:55.649Z] $ docker rm -f 34fc21cb19fc70bfb6ae3c35aff8f54f450288ce89187f729e8c21e0692f87b0 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-08-17T06:44:56.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-17T06:44:56.842Z] + ls -al . [2020-08-17T06:44:56.842Z] total 188 [2020-08-17T06:44:56.842Z] drwxrwxr-x. 11 jenkins jenkins 4096 Aug 17 06:44 . [2020-08-17T06:44:56.842Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 17 06:42 .. [2020-08-17T06:44:56.842Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 17 06:42 bin [2020-08-17T06:44:56.842Z] -rw-r--r--. 1 jenkins jenkins 110800 Aug 17 06:44 coverage.out [2020-08-17T06:44:56.842Z] -rw-rw-r--. 1 jenkins jenkins 936 Aug 17 06:42 Dockerfile.build [2020-08-17T06:44:56.842Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 17 06:42 .dockerignore [2020-08-17T06:44:56.842Z] drwxrwxr-x. 4 jenkins jenkins 48 Aug 17 06:42 example [2020-08-17T06:44:56.842Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 17 06:42 .git [2020-08-17T06:44:56.842Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 17 06:42 .github [2020-08-17T06:44:56.842Z] -rw-rw-r--. 1 jenkins jenkins 138 Aug 17 06:42 .gitignore [2020-08-17T06:44:56.842Z] -rw-r--r--. 1 jenkins jenkins 446 Aug 17 06:44 go.mod [2020-08-17T06:44:56.842Z] -rw-r--r--. 1 jenkins jenkins 12179 Aug 17 06:44 go.sum [2020-08-17T06:44:56.842Z] drwxrwxr-x. 13 jenkins jenkins 184 Aug 17 06:42 internal [2020-08-17T06:44:56.842Z] -rw-rw-r--. 1 jenkins jenkins 808 Aug 17 06:42 Jenkinsfile [2020-08-17T06:44:56.842Z] -rw-rw-r--. 1 jenkins jenkins 11341 Aug 17 06:42 LICENSE [2020-08-17T06:44:56.842Z] -rw-rw-r--. 1 jenkins jenkins 892 Aug 17 06:42 Makefile [2020-08-17T06:44:56.842Z] drwxrwxr-x. 4 jenkins jenkins 26 Aug 17 06:42 openapi [2020-08-17T06:44:56.842Z] drwxrwxr-x. 5 jenkins jenkins 50 Aug 17 06:42 pkg [2020-08-17T06:44:56.842Z] -rw-rw-r--. 1 jenkins jenkins 5101 Aug 17 06:42 README.md [2020-08-17T06:44:56.842Z] -rw-rw-r--. 1 jenkins jenkins 4291 Aug 17 06:42 RELEASE-NOTES.txt [2020-08-17T06:44:56.842Z] drwxrwxr-x. 3 jenkins jenkins 58 Aug 17 06:42 .semver [2020-08-17T06:44:56.842Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 17 06:42 snap [2020-08-17T06:44:56.842Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 17 06:40 VERSION [2020-08-17T06:44:56.842Z] -rw-rw-r--. 1 jenkins jenkins 222 Aug 17 06:42 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-17T06:44:57.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-17T06:44:57.238Z] + 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=7a69a11030dc91ebff33a0a3de7422eba4b6131a --label arch=amd64 --label version=0.0.0 . [2020-08-17T06:44:57.385Z] + ls -al . [2020-08-17T06:44:57.385Z] total 228 [2020-08-17T06:44:57.385Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 17 06:44 . [2020-08-17T06:44:57.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 06:42 .. [2020-08-17T06:44:57.385Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 17 06:42 .dockerignore [2020-08-17T06:44:57.385Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 06:42 .git [2020-08-17T06:44:57.385Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 06:42 .github [2020-08-17T06:44:57.385Z] -rw-rw-r-- 1 jenkins jenkins 138 Aug 17 06:42 .gitignore [2020-08-17T06:44:57.385Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 06:42 .semver [2020-08-17T06:44:57.385Z] -rw-rw-r-- 1 jenkins jenkins 936 Aug 17 06:42 Dockerfile.build [2020-08-17T06:44:57.385Z] -rw-rw-r-- 1 jenkins jenkins 808 Aug 17 06:42 Jenkinsfile [2020-08-17T06:44:57.385Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 17 06:42 LICENSE [2020-08-17T06:44:57.385Z] -rw-rw-r-- 1 jenkins jenkins 892 Aug 17 06:42 Makefile [2020-08-17T06:44:57.385Z] -rw-rw-r-- 1 jenkins jenkins 5101 Aug 17 06:42 README.md [2020-08-17T06:44:57.385Z] -rw-rw-r-- 1 jenkins jenkins 4291 Aug 17 06:42 RELEASE-NOTES.txt [2020-08-17T06:44:57.385Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 17 06:40 VERSION [2020-08-17T06:44:57.385Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 06:42 bin [2020-08-17T06:44:57.385Z] -rw-r--r-- 1 jenkins jenkins 110800 Aug 17 06:44 coverage.out [2020-08-17T06:44:57.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 06:42 example [2020-08-17T06:44:57.385Z] -rw-r--r-- 1 jenkins jenkins 446 Aug 17 06:44 go.mod [2020-08-17T06:44:57.385Z] -rw-r--r-- 1 jenkins jenkins 12179 Aug 17 06:44 go.sum [2020-08-17T06:44:57.385Z] drwxrwxr-x 13 jenkins jenkins 4096 Aug 17 06:42 internal [2020-08-17T06:44:57.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 06:42 openapi [2020-08-17T06:44:57.385Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 17 06:42 pkg [2020-08-17T06:44:57.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 06:42 snap [2020-08-17T06:44:57.385Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 17 06:42 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-17T06:44:57.505Z] Sending build context to Docker daemon 3.184MB [2020-08-17T06:44:57.505Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-08-17T06:44:57.505Z] Step 2/23 : FROM ${BASE} AS builder [2020-08-17T06:44:57.505Z] ---> 7f653632b035 [2020-08-17T06:44:57.505Z] Step 3/23 : ARG MAKE='make build' [2020-08-17T06:44:57.723Z] + 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=7a69a11030dc91ebff33a0a3de7422eba4b6131a --label arch=arm64 --label version=0.0.0 . [2020-08-17T06:44:57.770Z] ---> Running in c10075aa99d5 [2020-08-17T06:44:58.037Z] Removing intermediate container c10075aa99d5 [2020-08-17T06:44:58.037Z] ---> cfdff014b66e [2020-08-17T06:44:58.037Z] Step 4/23 : WORKDIR /device-sdk-go [2020-08-17T06:44:58.037Z] ---> Running in 6139b0a71cc9 [2020-08-17T06:44:58.321Z] Sending build context to Docker daemon 3.184MB [2020-08-17T06:44:58.321Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-08-17T06:44:58.321Z] Step 2/23 : FROM ${BASE} AS builder [2020-08-17T06:44:58.321Z] ---> 9d3a6bbc3a59 [2020-08-17T06:44:58.321Z] Step 3/23 : ARG MAKE='make build' [2020-08-17T06:44:58.605Z] ---> Running in ca9bc736c4e8 [2020-08-17T06:44:58.684Z] Removing intermediate container 6139b0a71cc9 [2020-08-17T06:44:58.684Z] ---> a7ea14fa0131 [2020-08-17T06:44:58.684Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-17T06:44:58.684Z] ---> Running in d696533acbdb [2020-08-17T06:44:58.876Z] Removing intermediate container ca9bc736c4e8 [2020-08-17T06:44:58.876Z] ---> a1270a3cd73c [2020-08-17T06:44:58.876Z] Step 4/23 : WORKDIR /device-sdk-go [2020-08-17T06:44:58.952Z] Removing intermediate container d696533acbdb [2020-08-17T06:44:58.952Z] ---> 409f20e23588 [2020-08-17T06:44:58.952Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-17T06:44:59.149Z] ---> Running in a5f2e8b55203 [2020-08-17T06:44:59.272Z] ---> Running in 42437d66a793 [2020-08-17T06:44:59.745Z] Removing intermediate container a5f2e8b55203 [2020-08-17T06:44:59.745Z] ---> 3b076faadcb0 [2020-08-17T06:44:59.745Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-17T06:44:59.745Z] ---> Running in aa17c2347876 [2020-08-17T06:45:00.340Z] Removing intermediate container aa17c2347876 [2020-08-17T06:45:00.340Z] ---> c182e6d81f47 [2020-08-17T06:45:00.340Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-17T06:45:00.340Z] ---> Running in 0c2ffcc09171 [2020-08-17T06:45:00.818Z] Removing intermediate container 42437d66a793 [2020-08-17T06:45:00.818Z] ---> 99bcf26d95a9 [2020-08-17T06:45:00.818Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-08-17T06:45:00.818Z] ---> Running in 6363a4e0881d [2020-08-17T06:45:01.889Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-17T06:45:02.529Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-17T06:45:02.955Z] Removing intermediate container 0c2ffcc09171 [2020-08-17T06:45:02.955Z] ---> 2451910bf4fb [2020-08-17T06:45:02.955Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-08-17T06:45:02.955Z] ---> Running in 6318dec5f53b [2020-08-17T06:45:03.172Z] OK: 166 MiB in 39 packages [2020-08-17T06:45:03.771Z] Removing intermediate container 6363a4e0881d [2020-08-17T06:45:03.771Z] ---> e25eb963fcfa [2020-08-17T06:45:03.771Z] Step 8/23 : COPY . . [2020-08-17T06:45:04.388Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-17T06:45:04.798Z] ---> e3a3e8c5ebc8 [2020-08-17T06:45:04.798Z] Step 9/23 : RUN ${MAKE} [2020-08-17T06:45:04.798Z] ---> Running in 6acf563af7c6 [2020-08-17T06:45:05.365Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-17T06:45:05.784Z] 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-08-17T06:45:05.963Z] OK: 142 MiB in 39 packages [2020-08-17T06:45:07.396Z] Removing intermediate container 6318dec5f53b [2020-08-17T06:45:07.396Z] ---> 69300a957845 [2020-08-17T06:45:07.396Z] Step 8/23 : COPY . . [2020-08-17T06:45:08.371Z] ---> 6a551454ddc2 [2020-08-17T06:45:08.371Z] Step 9/23 : RUN ${MAKE} [2020-08-17T06:45:08.642Z] ---> Running in 1ac5d8081437 [2020-08-17T06:45:10.072Z] 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-08-17T06:45:18.443Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-08-17T06:45:21.057Z] Removing intermediate container 6acf563af7c6 [2020-08-17T06:45:21.057Z] ---> 532320881414 [2020-08-17T06:45:21.057Z] Step 10/23 : FROM scratch [2020-08-17T06:45:21.057Z] ---> [2020-08-17T06:45:21.057Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-17T06:45:21.057Z] ---> Running in 58865e1f20af [2020-08-17T06:45:21.057Z] Removing intermediate container 58865e1f20af [2020-08-17T06:45:21.057Z] ---> ad9965c36a19 [2020-08-17T06:45:21.057Z] Step 12/23 : ENV APP_PORT=49990 [2020-08-17T06:45:21.057Z] ---> Running in 0cd52d39f3f3 [2020-08-17T06:45:21.329Z] Removing intermediate container 0cd52d39f3f3 [2020-08-17T06:45:21.329Z] ---> 5905295e1163 [2020-08-17T06:45:21.329Z] Step 13/23 : EXPOSE $APP_PORT [2020-08-17T06:45:21.329Z] ---> Running in 2d03e0acd2c5 [2020-08-17T06:45:21.604Z] Removing intermediate container 2d03e0acd2c5 [2020-08-17T06:45:21.604Z] ---> 90c60abaa899 [2020-08-17T06:45:21.604Z] Step 14/23 : WORKDIR / [2020-08-17T06:45:21.880Z] ---> Running in 28a0f3633574 [2020-08-17T06:45:22.168Z] Removing intermediate container 28a0f3633574 [2020-08-17T06:45:22.168Z] ---> 347c5a65dcb9 [2020-08-17T06:45:22.168Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-08-17T06:45:22.747Z] ---> 170afe2cfc85 [2020-08-17T06:45:22.747Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-08-17T06:45:23.015Z] ---> 5637a8d5349e [2020-08-17T06:45:23.015Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-08-17T06:45:23.278Z] ---> 63c3295bf018 [2020-08-17T06:45:23.278Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-08-17T06:45:23.544Z] ---> 4d96f7f62200 [2020-08-17T06:45:23.544Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-08-17T06:45:24.203Z] ---> eeb0677a84b4 [2020-08-17T06:45:24.203Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-08-17T06:45:24.203Z] ---> Running in 4b2591bef46f [2020-08-17T06:45:24.479Z] Removing intermediate container 4b2591bef46f [2020-08-17T06:45:24.479Z] ---> 5896e20c4b4e [2020-08-17T06:45:24.479Z] Step 21/23 : LABEL arch=amd64 [2020-08-17T06:45:24.479Z] ---> Running in 3e2176d5e399 [2020-08-17T06:45:24.751Z] Removing intermediate container 3e2176d5e399 [2020-08-17T06:45:24.751Z] ---> e8730d12aae2 [2020-08-17T06:45:24.751Z] Step 22/23 : LABEL git_sha=7a69a11030dc91ebff33a0a3de7422eba4b6131a [2020-08-17T06:45:24.751Z] ---> Running in 74213236146f [2020-08-17T06:45:25.044Z] Removing intermediate container 74213236146f [2020-08-17T06:45:25.044Z] ---> 853a07338246 [2020-08-17T06:45:25.044Z] Step 23/23 : LABEL version=0.0.0 [2020-08-17T06:45:25.044Z] ---> Running in b0afa6f6b552 [2020-08-17T06:45:25.341Z] Removing intermediate container b0afa6f6b552 [2020-08-17T06:45:25.341Z] ---> 4b738f6b14d1 [2020-08-17T06:45:25.341Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-17T06:45:25.341Z] Successfully built 4b738f6b14d1 [2020-08-17T06:45:25.341Z] 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-08-17T06:45:36.922Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-08-17T06:45:36.922Z] Removing intermediate container 1ac5d8081437 [2020-08-17T06:45:36.922Z] ---> 9d221f1429a4 [2020-08-17T06:45:36.922Z] Step 10/23 : FROM scratch [2020-08-17T06:45:36.922Z] ---> [2020-08-17T06:45:36.922Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-17T06:45:36.922Z] ---> Running in 6f58d45c11c2 [2020-08-17T06:45:36.922Z] Removing intermediate container 6f58d45c11c2 [2020-08-17T06:45:36.922Z] ---> c231394b8ada [2020-08-17T06:45:36.922Z] Step 12/23 : ENV APP_PORT=49990 [2020-08-17T06:45:36.922Z] ---> Running in 720ccb3dbfe6 [2020-08-17T06:45:37.518Z] Removing intermediate container 720ccb3dbfe6 [2020-08-17T06:45:37.518Z] ---> 85939549e0e3 [2020-08-17T06:45:37.518Z] Step 13/23 : EXPOSE $APP_PORT [2020-08-17T06:45:37.518Z] ---> Running in 5aae7961e262 [2020-08-17T06:45:38.113Z] Removing intermediate container 5aae7961e262 [2020-08-17T06:45:38.113Z] ---> 00a438b10fd1 [2020-08-17T06:45:38.113Z] Step 14/23 : WORKDIR / [2020-08-17T06:45:38.113Z] ---> Running in 71ccdaad3219 [2020-08-17T06:45:38.708Z] Removing intermediate container 71ccdaad3219 [2020-08-17T06:45:38.708Z] ---> 84c7090138dd [2020-08-17T06:45:38.708Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-08-17T06:45:39.684Z] ---> b1f30daf4e35 [2020-08-17T06:45:39.684Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-08-17T06:45:40.280Z] ---> b7eb38a7ad01 [2020-08-17T06:45:40.281Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-08-17T06:45:41.251Z] ---> 237703626e95 [2020-08-17T06:45:41.251Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-08-17T06:45:41.845Z] ---> c643b76c2574 [2020-08-17T06:45:41.845Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-08-17T06:45:42.825Z] ---> 80deecab4c35 [2020-08-17T06:45:42.825Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-08-17T06:45:42.825Z] ---> Running in 31d5c136b74b [2020-08-17T06:45:43.421Z] Removing intermediate container 31d5c136b74b [2020-08-17T06:45:43.421Z] ---> 9aeb6403bb21 [2020-08-17T06:45:43.421Z] Step 21/23 : LABEL arch=arm64 [2020-08-17T06:45:43.421Z] ---> Running in d880c20f6e21 [2020-08-17T06:45:44.014Z] Removing intermediate container d880c20f6e21 [2020-08-17T06:45:44.014Z] ---> acc0de8a18f2 [2020-08-17T06:45:44.014Z] Step 22/23 : LABEL git_sha=7a69a11030dc91ebff33a0a3de7422eba4b6131a [2020-08-17T06:45:44.014Z] ---> Running in 0bf059113b69 [2020-08-17T06:45:44.620Z] Removing intermediate container 0bf059113b69 [2020-08-17T06:45:44.620Z] ---> 8fe48b142271 [2020-08-17T06:45:44.620Z] Step 23/23 : LABEL version=0.0.0 [2020-08-17T06:45:44.620Z] ---> Running in f7de719b2ec8 [2020-08-17T06:45:45.210Z] Removing intermediate container f7de719b2ec8 [2020-08-17T06:45:45.210Z] ---> 1ae112bc2892 [2020-08-17T06:45:45.210Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-17T06:45:45.210Z] Successfully built 1ae112bc2892 [2020-08-17T06:45:45.210Z] 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-08-17T06:45:46.725Z] provisioning config files... [2020-08-17T06:45:46.739Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/config8238920063689794743tmp [Pipeline] { [Pipeline] sh [2020-08-17T06:45:47.126Z] + curl -s https://codecov.io/bash [2020-08-17T06:45:47.126Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/config8238920063689794743tmp [Pipeline] } [2020-08-17T06:45:47.399Z] 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-08-17T06:45:49.127Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-17T06:45:49.684Z] ---> package-listing.sh [2020-08-17T06:45:49.684Z] ++ facter osfamily [2020-08-17T06:45:49.684Z] ++ tr '[:upper:]' '[:lower:]' [2020-08-17T06:45:49.684Z] + OS_FAMILY=redhat [2020-08-17T06:45:49.684Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-563 [2020-08-17T06:45:49.684Z] + START_PACKAGES=/tmp/packages_start.txt [2020-08-17T06:45:49.684Z] + END_PACKAGES=/tmp/packages_end.txt [2020-08-17T06:45:49.684Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-08-17T06:45:49.684Z] + PACKAGES=/tmp/packages_start.txt [2020-08-17T06:45:49.684Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-563 ']' [2020-08-17T06:45:49.684Z] + PACKAGES=/tmp/packages_end.txt [2020-08-17T06:45:49.684Z] + case "${OS_FAMILY}" in [2020-08-17T06:45:49.684Z] + rpm -qa [2020-08-17T06:45:49.684Z] + sort [2020-08-17T06:45:53.928Z] + '[' -f /tmp/packages_start.txt ']' [2020-08-17T06:45:53.928Z] + '[' -f /tmp/packages_end.txt ']' [2020-08-17T06:45:53.928Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-08-17T06:45:53.928Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-563 ']' [2020-08-17T06:45:53.928Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-563/archives/ [2020-08-17T06:45:53.928Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-563/archives/ [Pipeline] isUnix [Pipeline] sh [2020-08-17T06:45:54.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-17T06:45:54.327Z] [2020-08-17T06:45:54.327Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-08-17T06:45:54.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-17T06:45:54.683Z] alpine: Pulling from edgex-lftools-log-publisher [2020-08-17T06:45:54.683Z] c9b1b535fdd9: Pulling fs layer [2020-08-17T06:45:54.683Z] 2cc5ad85d9ab: Pulling fs layer [2020-08-17T06:45:54.683Z] 756a868c4378: Pulling fs layer [2020-08-17T06:45:54.683Z] 444b2fc9a129: Pulling fs layer [2020-08-17T06:45:54.683Z] ea15f1150254: Pulling fs layer [2020-08-17T06:45:54.683Z] 41b27a9f41bf: Pulling fs layer [2020-08-17T06:45:54.683Z] 28c525ee5125: Pulling fs layer [2020-08-17T06:45:54.683Z] 094b1ea09ed8: Pulling fs layer [2020-08-17T06:45:54.683Z] 138eaada9080: Pulling fs layer [2020-08-17T06:45:54.683Z] 0622d0fa9048: Pulling fs layer [2020-08-17T06:45:54.683Z] 41b27a9f41bf: Waiting [2020-08-17T06:45:54.683Z] 28c525ee5125: Waiting [2020-08-17T06:45:54.683Z] 094b1ea09ed8: Waiting [2020-08-17T06:45:54.683Z] 0622d0fa9048: Waiting [2020-08-17T06:45:54.683Z] 138eaada9080: Waiting [2020-08-17T06:45:54.683Z] 444b2fc9a129: Waiting [2020-08-17T06:45:54.683Z] ea15f1150254: Waiting [2020-08-17T06:45:54.683Z] 2cc5ad85d9ab: Download complete [2020-08-17T06:45:54.683Z] 444b2fc9a129: Verifying Checksum [2020-08-17T06:45:54.683Z] 444b2fc9a129: Download complete [2020-08-17T06:45:54.683Z] c9b1b535fdd9: Verifying Checksum [2020-08-17T06:45:54.683Z] ea15f1150254: Download complete [2020-08-17T06:45:54.683Z] 28c525ee5125: Verifying Checksum [2020-08-17T06:45:54.683Z] 28c525ee5125: Download complete [2020-08-17T06:45:54.960Z] 756a868c4378: Verifying Checksum [2020-08-17T06:45:54.960Z] 756a868c4378: Download complete [2020-08-17T06:45:55.222Z] 138eaada9080: Verifying Checksum [2020-08-17T06:45:55.223Z] 138eaada9080: Download complete [2020-08-17T06:45:55.223Z] c9b1b535fdd9: Pull complete [2020-08-17T06:45:55.223Z] 0622d0fa9048: Verifying Checksum [2020-08-17T06:45:55.223Z] 0622d0fa9048: Download complete [2020-08-17T06:45:55.223Z] 094b1ea09ed8: Verifying Checksum [2020-08-17T06:45:55.223Z] 094b1ea09ed8: Download complete [2020-08-17T06:45:55.487Z] 2cc5ad85d9ab: Pull complete [2020-08-17T06:45:55.749Z] 41b27a9f41bf: Download complete [2020-08-17T06:45:57.137Z] 756a868c4378: Pull complete [2020-08-17T06:45:57.137Z] 444b2fc9a129: Pull complete [2020-08-17T06:45:57.399Z] ea15f1150254: Pull complete [2020-08-17T06:46:01.620Z] 41b27a9f41bf: Pull complete [2020-08-17T06:46:01.620Z] 28c525ee5125: Pull complete [2020-08-17T06:46:04.185Z] 094b1ea09ed8: Pull complete [2020-08-17T06:46:04.185Z] 138eaada9080: Pull complete [2020-08-17T06:46:04.448Z] 0622d0fa9048: Pull complete [2020-08-17T06:46:04.448Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-08-17T06:46:04.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-17T06:46:04.448Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-08-17T06:46:04.647Z] prd-centos7-docker-4c-2g-237 does not seem to be running inside a container [2020-08-17T06:46:04.693Z] $ 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-563 -v /w/workspace/dgexfoundry_device-sdk-go_PR-563:/w/workspace/dgexfoundry_device-sdk-go_PR-563:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-563@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-08-17T06:46:07.132Z] $ docker top 5122cca7c25850924f9c07aa11bdde05e8dcfa688169a61b3bc4b7b963589ee0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-17T06:46:07.440Z] provisioning config files... [2020-08-17T06:46:07.463Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/config2333621028923374230tmp [Pipeline] { [Pipeline] echo [2020-08-17T06:46:07.519Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-17T06:46:07.828Z] ---> create-netrc.sh [Pipeline] echo [2020-08-17T06:46:07.839Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-17T06:46:08.133Z] ---> logs-deploy.sh [2020-08-17T06:46:08.133Z] + ARCHIVE_ARTIFACTS= [2020-08-17T06:46:08.133Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-08-17T06:46:08.133Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-08-17T06:46:08.133Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-08-17T06:46:08.133Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-563/2 [2020-08-17T06:46:08.133Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-563/2/ [2020-08-17T06:46:08.133Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-563/2 /w/workspace/dgexfoundry_device-sdk-go_PR-563 [2020-08-17T06:46:09.078Z] Archives upload complete. [2020-08-17T06:46:09.338Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-563/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-563/2/