Pull request #553 opened 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 052c3d8a66f112a94cad097afe431d6fab48a90e rather than 74b6c8dea2f14485f497dce5b6f71adf6526cd29 Obtained Jenkinsfile from 052c3d8a66f112a94cad097afe431d6fab48a90e Running in Durability level: MAX_SURVIVABILITY 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-553/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > 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 > git --version # 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 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 SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-910 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 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit 74b6c8dea2f14485f497dce5b6f71adf6526cd29 > 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 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 74b6c8dea2f14485f497dce5b6f71adf6526cd29 Checking out Revision 74b6c8dea2f14485f497dce5b6f71adf6526cd29 (PR-553) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 Commit message: "refactor: Refactor processAsyncResults func to use goroutine Since the DS sends the AysncValue via the channel, the AysncValue needs to wait in the queue. If the reading amount getting large, it needs more time to transport those data. To enhance performance, refactor function to use goroutine for sending each AsyncValues." First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-16T09:04:36.597Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-16T09:04:36.899Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-16T09:04:37.123Z] ========================================================= [2020-07-16T09:04:37.123Z] EdgeX Global Pipelines Version Info [2020-07-16T09:04:37.123Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-16T09:04:39.001Z] ------------------- [2020-07-16T09:04:39.002Z] stable info: [2020-07-16T09:04:39.002Z] ------------------- [2020-07-16T09:04:39.002Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-16T09:04:39.002Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-16T09:04:39.002Z] Message: update stable to v1.0.99 [2020-07-16T09:04:39.576Z] ------------------- [2020-07-16T09:04:39.576Z] experimental info: [2020-07-16T09:04:39.576Z] ------------------- [2020-07-16T09:04:39.576Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-16T09:04:39.576Z] Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 [2020-07-16T09:04:39.576Z] Message: update experimental to v1.0.100 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-16T09:04:42.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T09:04:42.264Z] [2020-07-16T09:04:42.264Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-16T09:04:42.655Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T09:04:42.655Z] latest: Pulling from edgex-devops/git-semver [2020-07-16T09:04:42.655Z] 31603596830f: Pulling fs layer [2020-07-16T09:04:42.655Z] 2a8b12db71e7: Pulling fs layer [2020-07-16T09:04:42.655Z] 6ca5941a6612: Pulling fs layer [2020-07-16T09:04:42.655Z] ecc8261a40a4: Pulling fs layer [2020-07-16T09:04:42.655Z] ecc8261a40a4: Waiting [2020-07-16T09:04:42.655Z] 2a8b12db71e7: Verifying Checksum [2020-07-16T09:04:42.655Z] 2a8b12db71e7: Download complete [2020-07-16T09:04:42.655Z] 31603596830f: Verifying Checksum [2020-07-16T09:04:42.655Z] 31603596830f: Download complete [2020-07-16T09:04:42.919Z] ecc8261a40a4: Verifying Checksum [2020-07-16T09:04:42.919Z] ecc8261a40a4: Download complete [2020-07-16T09:04:42.919Z] 6ca5941a6612: Verifying Checksum [2020-07-16T09:04:42.919Z] 6ca5941a6612: Download complete [2020-07-16T09:04:42.919Z] 31603596830f: Pull complete [2020-07-16T09:04:43.182Z] 2a8b12db71e7: Pull complete [2020-07-16T09:04:43.755Z] 6ca5941a6612: Pull complete [2020-07-16T09:04:44.017Z] ecc8261a40a4: Pull complete [2020-07-16T09:04:44.017Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-16T09:04:44.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T09:04:44.017Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-16T09:04:44.131Z] prd-centos7-docker-4c-2g-910 does not seem to be running inside a container [2020-07-16T09:04:44.178Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-16T09:04:46.221Z] $ docker top a6a94327831415e20db35227a3cb34bc75b6a47b72d4b1888f4cd84b58b046e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-16T09:04:46.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-16T09:04:46.542Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-16T09:04:46.733Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-16T09:04:46.741Z] $ docker exec a6a94327831415e20db35227a3cb34bc75b6a47b72d4b1888f4cd84b58b046e3 ssh-agent [2020-07-16T09:04:46.891Z] SSH_AUTH_SOCK=/tmp/ssh-wawfFJsV5OTi/agent.11 [2020-07-16T09:04:46.891Z] SSH_AGENT_PID=16 [2020-07-16T09:04:46.900Z] Running ssh-add (command line suppressed) [2020-07-16T09:04:47.019Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_5636240031086091453.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_5636240031086091453.key) [2020-07-16T09:04:47.059Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-16T09:04:47.414Z] + git describe --exact-match --tags HEAD [2020-07-16T09:04:47.414Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-16T09:04:47.570Z] $ docker exec --env ******** --env ******** a6a94327831415e20db35227a3cb34bc75b6a47b72d4b1888f4cd84b58b046e3 ssh-agent -k [2020-07-16T09:04:47.687Z] unset SSH_AUTH_SOCK; [2020-07-16T09:04:47.687Z] unset SSH_AGENT_PID; [2020-07-16T09:04:47.687Z] echo Agent pid 16 killed; [2020-07-16T09:04:47.722Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-16T09:04:47.849Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-16T09:04:47.849Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-16T09:04:47.947Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-16T09:04:47.947Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-16T09:04:48.104Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-16T09:04:48.112Z] $ docker exec a6a94327831415e20db35227a3cb34bc75b6a47b72d4b1888f4cd84b58b046e3 ssh-agent [2020-07-16T09:04:48.256Z] SSH_AUTH_SOCK=/tmp/ssh-ChAy9VpkmjzY/agent.45 [2020-07-16T09:04:48.256Z] SSH_AGENT_PID=50 [2020-07-16T09:04:48.262Z] Running ssh-add (command line suppressed) [2020-07-16T09:04:48.378Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_6017974590611575379.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_6017974590611575379.key) [2020-07-16T09:04:48.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-16T09:04:48.842Z] + git semver init [2020-07-16T09:04:48.843Z] # -> Open(): unable to determine branch for HEAD [2020-07-16T09:04:48.843Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git [2020-07-16T09:04:48.843Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-07-16T09:04:48.843Z] # $SEMVER_REMOTE_NAME = origin [2020-07-16T09:04:48.843Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-16T09:04:48.843Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-16T09:04:48.843Z] # $SEMVER_BRANCH = PR-553 [2020-07-16T09:04:48.843Z] # $SEMVER_TEMP = /tmp/semver-986075984 [2020-07-16T09:04:48.843Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-07-16T09:04:49.784Z] # '/tmp/semver-986075984' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' [2020-07-16T09:04:49.784Z] # -> Force: false [2020-07-16T09:04:49.784Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } [2020-07-16T09:04:49.815Z] $ docker exec --env ******** --env ******** a6a94327831415e20db35227a3cb34bc75b6a47b72d4b1888f4cd84b58b046e3 ssh-agent -k [2020-07-16T09:04:49.926Z] unset SSH_AUTH_SOCK; [2020-07-16T09:04:49.927Z] unset SSH_AGENT_PID; [2020-07-16T09:04:49.927Z] echo Agent pid 50 killed; [2020-07-16T09:04:49.964Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-16T09:04:50.488Z] + git semver [Pipeline] } [2020-07-16T09:04:50.517Z] $ docker stop --time=1 a6a94327831415e20db35227a3cb34bc75b6a47b72d4b1888f4cd84b58b046e3 [2020-07-16T09:04:52.124Z] $ docker rm -f a6a94327831415e20db35227a3cb34bc75b6a47b72d4b1888f4cd84b58b046e3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-16T09:04:52.853Z] Stashed 73 file(s) [Pipeline] echo [2020-07-16T09:04:52.869Z] [edgeXSemver] initialized semver on version 0.0.0 [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-16T09:05:08.342Z] Still waiting to schedule task [2020-07-16T09:05:08.342Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-16T09:05:08.362Z] Still waiting to schedule task [2020-07-16T09:05:08.362Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-07-16T09:08:07.505Z] Running on prd-centos7-docker-4c-2g-912 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-07-16T09:08:07.579Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-07-16T09:08:10.215Z] using credential edgex-jenkins-ssh [2020-07-16T09:08:10.264Z] Cloning the remote Git repository [2020-07-16T09:08:10.264Z] Cloning with configured refspecs honoured and without tags [2020-07-16T09:08:10.014Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T09:08:10.088Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-07-16T09:08:10.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T09:08:10.150Z] > git --version # timeout=10 [2020-07-16T09:08:10.158Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T09:08:10.185Z] > 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-16T09:08:11.030Z] Fetching without tags [2020-07-16T09:08:11.464Z] Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit 74b6c8dea2f14485f497dce5b6f71adf6526cd29 [2020-07-16T09:08:11.548Z] Merge succeeded, producing 74b6c8dea2f14485f497dce5b6f71adf6526cd29 [2020-07-16T09:08:11.548Z] Checking out Revision 74b6c8dea2f14485f497dce5b6f71adf6526cd29 (PR-553) [2020-07-16T09:08:10.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T09:08:10.789Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-07-16T09:08:10.797Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T09:08:10.808Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T09:08:10.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T09:08:10.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T09:08:10.824Z] > 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-16T09:08:11.295Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T09:08:11.301Z] > git checkout -f 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 [2020-07-16T09:08:11.347Z] > git remote # timeout=10 [2020-07-16T09:08:11.351Z] > git config --get remote.origin.url # timeout=10 [2020-07-16T09:08:11.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T09:08:11.359Z] > git merge 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 [2020-07-16T09:08:11.368Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-16T09:08:11.379Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T09:08:11.384Z] > git checkout -f 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 [2020-07-16T09:08:15.133Z] Commit message: "refactor: Refactor processAsyncResults func to use goroutine Since the DS sends the AysncValue via the channel, the AysncValue needs to wait in the queue. If the reading amount getting large, it needs more time to transport those data. To enhance performance, refactor function to use goroutine for sending each AsyncValues." [2020-07-16T09:08:15.162Z] > git --version # timeout=10 [2020-07-16T09:08:15.171Z] fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-16T09:08:16.199Z] ========================================================= [2020-07-16T09:08:16.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-16T09:08:16.199Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-16T09:08:16.961Z] + 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-16T09:08:17.224Z] Sending build context to Docker daemon 3.102MB [2020-07-16T09:08:17.224Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-16T09:08:17.224Z] Step 2/8 : FROM ${BASE} [2020-07-16T09:08:17.487Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-16T09:08:17.487Z] e6b0cf9c0882: Pulling fs layer [2020-07-16T09:08:17.487Z] 2848faf0eed1: Pulling fs layer [2020-07-16T09:08:17.487Z] 0f37312ad70f: Pulling fs layer [2020-07-16T09:08:17.487Z] 5788d62ee057: Pulling fs layer [2020-07-16T09:08:17.487Z] 0e6b1d234666: Pulling fs layer [2020-07-16T09:08:17.487Z] bf5d7aec512f: Pulling fs layer [2020-07-16T09:08:17.487Z] 34c802a77dc8: Pulling fs layer [2020-07-16T09:08:17.487Z] 9eb99e56ec68: Pulling fs layer [2020-07-16T09:08:17.487Z] 27c7a5d97fbd: Pulling fs layer [2020-07-16T09:08:17.487Z] 5c102a31e300: Pulling fs layer [2020-07-16T09:08:17.487Z] dcfb455df0a1: Pulling fs layer [2020-07-16T09:08:17.487Z] 0e6b1d234666: Waiting [2020-07-16T09:08:17.487Z] bf5d7aec512f: Waiting [2020-07-16T09:08:17.487Z] 34c802a77dc8: Waiting [2020-07-16T09:08:17.487Z] 9eb99e56ec68: Waiting [2020-07-16T09:08:17.487Z] 27c7a5d97fbd: Waiting [2020-07-16T09:08:17.487Z] 5c102a31e300: Waiting [2020-07-16T09:08:17.487Z] dcfb455df0a1: Waiting [2020-07-16T09:08:17.487Z] 5788d62ee057: Waiting [2020-07-16T09:08:17.487Z] 0f37312ad70f: Download complete [2020-07-16T09:08:17.487Z] 2848faf0eed1: Verifying Checksum [2020-07-16T09:08:17.487Z] 2848faf0eed1: Download complete [2020-07-16T09:08:17.487Z] 0e6b1d234666: Verifying Checksum [2020-07-16T09:08:17.487Z] 0e6b1d234666: Download complete [2020-07-16T09:08:17.487Z] bf5d7aec512f: Verifying Checksum [2020-07-16T09:08:17.487Z] bf5d7aec512f: Download complete [2020-07-16T09:08:17.487Z] e6b0cf9c0882: Verifying Checksum [2020-07-16T09:08:17.487Z] e6b0cf9c0882: Download complete [2020-07-16T09:08:17.761Z] e6b0cf9c0882: Pull complete [2020-07-16T09:08:18.040Z] 34c802a77dc8: Verifying Checksum [2020-07-16T09:08:18.040Z] 34c802a77dc8: Download complete [2020-07-16T09:08:18.323Z] 27c7a5d97fbd: Download complete [2020-07-16T09:08:18.919Z] 5c102a31e300: Verifying Checksum [2020-07-16T09:08:18.919Z] 5c102a31e300: Download complete [2020-07-16T09:08:18.919Z] dcfb455df0a1: Verifying Checksum [2020-07-16T09:08:18.919Z] dcfb455df0a1: Download complete [2020-07-16T09:08:18.919Z] 9eb99e56ec68: Download complete [2020-07-16T09:08:19.183Z] 5788d62ee057: Verifying Checksum [2020-07-16T09:08:19.183Z] 5788d62ee057: Download complete [2020-07-16T09:08:20.141Z] 2848faf0eed1: Pull complete [2020-07-16T09:08:20.404Z] 0f37312ad70f: Pull complete [2020-07-16T09:08:25.709Z] 5788d62ee057: Pull complete [2020-07-16T09:08:25.969Z] 0e6b1d234666: Pull complete [2020-07-16T09:08:25.969Z] bf5d7aec512f: Pull complete [2020-07-16T09:08:31.269Z] 34c802a77dc8: Pull complete [2020-07-16T09:08:33.814Z] 9eb99e56ec68: Pull complete [2020-07-16T09:08:34.093Z] 27c7a5d97fbd: Pull complete [2020-07-16T09:08:34.670Z] 5c102a31e300: Pull complete [2020-07-16T09:08:34.931Z] dcfb455df0a1: Pull complete [2020-07-16T09:08:34.931Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-07-16T09:08:34.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-16T09:08:34.931Z] ---> 7c70fe431013 [2020-07-16T09:08:34.931Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T09:08:36.844Z] ---> Running in bac7737bd653 [2020-07-16T09:08:36.844Z] Removing intermediate container bac7737bd653 [2020-07-16T09:08:36.844Z] ---> 3e35b2278edf [2020-07-16T09:08:36.844Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T09:08:36.844Z] ---> Running in afb13a8c0003 [2020-07-16T09:08:37.920Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-911 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-07-16T09:08:38.022Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-07-16T09:08:38.243Z] Removing intermediate container afb13a8c0003 [2020-07-16T09:08:38.243Z] ---> 9a13c21e8a5b [2020-07-16T09:08:38.243Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-16T09:08:38.243Z] ---> Running in 7e9584be1d81 [2020-07-16T09:08:38.817Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-07-16T09:08:39.415Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-07-16T09:08:39.684Z] OK: 143 MiB in 39 packages [2020-07-16T09:08:39.952Z] Removing intermediate container 7e9584be1d81 [2020-07-16T09:08:39.952Z] ---> 8c7592815d5e [2020-07-16T09:08:39.952Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-16T09:08:39.952Z] ---> Running in 259a8c13acbd [2020-07-16T09:08:40.211Z] Removing intermediate container 259a8c13acbd [2020-07-16T09:08:40.211Z] ---> 68f937c37483 [2020-07-16T09:08:40.211Z] Step 7/8 : COPY . . [2020-07-16T09:08:41.607Z] ---> 0fa46a65e18c [2020-07-16T09:08:41.607Z] Step 8/8 : RUN go mod download [2020-07-16T09:08:41.607Z] ---> Running in 2cf9fab55e6b [2020-07-16T09:08:42.703Z] using credential edgex-jenkins-ssh [2020-07-16T09:08:42.754Z] Cloning the remote Git repository [2020-07-16T09:08:42.754Z] Cloning with configured refspecs honoured and without tags [2020-07-16T09:08:42.817Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T09:08:42.983Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-07-16T09:08:43.532Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-16T09:08:43.532Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-16T09:08:43.532Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-16T09:08:43.532Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-16T09:08:43.532Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-16T09:08:43.532Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-16T09:08:43.532Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-16T09:08:43.532Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-16T09:08:43.532Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-16T09:08:43.532Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-16T09:08:43.532Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-16T09:08:43.532Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-16T09:08:43.532Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-16T09:08:43.532Z] go: finding github.com/fatih/color v1.7.0 [2020-07-16T09:08:43.532Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-16T09:08:43.532Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-16T09:08:43.532Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-16T09:08:43.793Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-16T09:08:43.793Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-16T09:08:43.793Z] go: finding github.com/google/uuid v1.1.0 [2020-07-16T09:08:43.793Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-16T09:08:43.793Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-16T09:08:43.793Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-16T09:08:43.793Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-16T09:08:43.793Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-16T09:08:43.793Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-16T09:08:43.793Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-16T09:08:43.793Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-16T09:08:43.793Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-16T09:08:43.793Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-16T09:08:44.057Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-16T09:08:44.057Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-16T09:08:44.057Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-16T09:08:44.057Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-16T09:08:44.057Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-16T09:08:44.057Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-16T09:08:44.057Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-16T09:08:44.057Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-16T09:08:44.057Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-16T09:08:44.057Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-16T09:08:44.057Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-16T09:08:44.057Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-16T09:08:44.057Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-16T09:08:44.057Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-16T09:08:44.208Z] Fetching without tags [2020-07-16T09:08:43.089Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T09:08:43.091Z] > git --version # timeout=10 [2020-07-16T09:08:43.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T09:08:43.185Z] > 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-16T09:08:44.106Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T09:08:44.121Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-07-16T09:08:44.148Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T09:08:44.187Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T09:08:44.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T09:08:44.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T09:08:44.243Z] > 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-16T09:08:44.318Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-16T09:08:44.318Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-16T09:08:44.318Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-16T09:08:44.318Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-16T09:08:44.318Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-16T09:08:44.318Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-16T09:08:44.318Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-16T09:08:44.318Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-16T09:08:44.318Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-16T09:08:44.318Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-16T09:08:44.318Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-16T09:08:44.318Z] go: finding github.com/posener/complete v1.1.1 [2020-07-16T09:08:44.318Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-16T09:08:44.580Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-16T09:08:44.580Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-16T09:08:44.580Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-16T09:08:44.580Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-16T09:08:44.580Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-16T09:08:44.580Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-16T09:08:44.580Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-16T09:08:44.580Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-16T09:08:44.580Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-16T09:08:44.580Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-16T09:08:44.580Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-16T09:08:44.716Z] Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit 74b6c8dea2f14485f497dce5b6f71adf6526cd29 [2020-07-16T09:08:44.954Z] Merge succeeded, producing 74b6c8dea2f14485f497dce5b6f71adf6526cd29 [2020-07-16T09:08:44.954Z] Checking out Revision 74b6c8dea2f14485f497dce5b6f71adf6526cd29 (PR-553) [2020-07-16T09:08:44.743Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T09:08:44.759Z] > git checkout -f 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 [2020-07-16T09:08:44.870Z] > git remote # timeout=10 [2020-07-16T09:08:44.886Z] > git config --get remote.origin.url # timeout=10 [2020-07-16T09:08:44.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T09:08:44.916Z] > git merge 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 [2020-07-16T09:08:44.941Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-16T09:08:44.963Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T09:08:44.975Z] > git checkout -f 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 [2020-07-16T09:08:49.471Z] Commit message: "refactor: Refactor processAsyncResults func to use goroutine Since the DS sends the AysncValue via the channel, the AysncValue needs to wait in the queue. If the reading amount getting large, it needs more time to transport those data. To enhance performance, refactor function to use goroutine for sending each AsyncValues." [2020-07-16T09:08:49.523Z] > git --version # timeout=10 [2020-07-16T09:08:49.545Z] fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-16T09:08:50.903Z] ========================================================= [2020-07-16T09:08:50.903Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-16T09:08:50.903Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-16T09:08:52.228Z] + 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-16T09:08:52.733Z] Removing intermediate container 2cf9fab55e6b [2020-07-16T09:08:52.733Z] ---> 4083d674baa8 [2020-07-16T09:08:52.733Z] Successfully built 4083d674baa8 [2020-07-16T09:08:52.733Z] 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-16T09:08:53.227Z] Sending build context to Docker daemon 3.102MB [2020-07-16T09:08:53.227Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-16T09:08:53.227Z] Step 2/8 : FROM ${BASE} [2020-07-16T09:08:53.504Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-16T09:08:53.504Z] cde5963f3b93: Pulling fs layer [2020-07-16T09:08:53.504Z] 2a23fa8c16f7: Pulling fs layer [2020-07-16T09:08:53.504Z] 777b28850792: Pulling fs layer [2020-07-16T09:08:53.504Z] 8a11ddd9e578: Pulling fs layer [2020-07-16T09:08:53.504Z] 4cf88f913ddb: Pulling fs layer [2020-07-16T09:08:53.504Z] 1df406cf5192: Pulling fs layer [2020-07-16T09:08:53.504Z] cd6300453558: Pulling fs layer [2020-07-16T09:08:53.504Z] b9c365052c96: Pulling fs layer [2020-07-16T09:08:53.504Z] a2d8cc88f415: Pulling fs layer [2020-07-16T09:08:53.504Z] ea1d1ca13537: Pulling fs layer [2020-07-16T09:08:53.504Z] 3750a50a1c5e: Pulling fs layer [2020-07-16T09:08:53.504Z] 8a11ddd9e578: Waiting [2020-07-16T09:08:53.504Z] 4cf88f913ddb: Waiting [2020-07-16T09:08:53.504Z] 1df406cf5192: Waiting [2020-07-16T09:08:53.504Z] cd6300453558: Waiting [2020-07-16T09:08:53.504Z] b9c365052c96: Waiting [2020-07-16T09:08:53.504Z] a2d8cc88f415: Waiting [2020-07-16T09:08:53.504Z] ea1d1ca13537: Waiting [2020-07-16T09:08:53.504Z] 3750a50a1c5e: Waiting [2020-07-16T09:08:53.504Z] 777b28850792: Verifying Checksum [2020-07-16T09:08:53.504Z] 777b28850792: Download complete [2020-07-16T09:08:53.504Z] 2a23fa8c16f7: Download complete [2020-07-16T09:08:53.504Z] 4cf88f913ddb: Verifying Checksum [2020-07-16T09:08:53.504Z] 4cf88f913ddb: Download complete [2020-07-16T09:08:53.504Z] 1df406cf5192: Verifying Checksum [2020-07-16T09:08:53.504Z] 1df406cf5192: Download complete [2020-07-16T09:08:53.504Z] cde5963f3b93: Verifying Checksum [2020-07-16T09:08:53.504Z] cde5963f3b93: Download complete [2020-07-16T09:08:53.510Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-16T09:08:53.510Z] . [Pipeline] withDockerContainer [2020-07-16T09:08:53.628Z] prd-centos7-docker-4c-2g-912 does not seem to be running inside a container [2020-07-16T09:08:53.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2020-07-16T09:08:54.510Z] cde5963f3b93: Pull complete [2020-07-16T09:08:54.787Z] 2a23fa8c16f7: Pull complete [2020-07-16T09:08:54.867Z] $ docker top fb9080a0c6504bc1bfa60ea4c2295eee5caf3ed21544154b7013c4be76d04594 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-16T09:08:55.386Z] 777b28850792: Pull complete [2020-07-16T09:08:55.415Z] + go version [2020-07-16T09:08:55.415Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-07-16T09:08:55.728Z] + make test [2020-07-16T09:08:55.728Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-16T09:08:56.680Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-16T09:08:58.014Z] cd6300453558: Verifying Checksum [2020-07-16T09:08:58.014Z] cd6300453558: Download complete [2020-07-16T09:08:58.014Z] a2d8cc88f415: Download complete [2020-07-16T09:08:58.991Z] ea1d1ca13537: Verifying Checksum [2020-07-16T09:08:58.991Z] ea1d1ca13537: Download complete [2020-07-16T09:08:58.991Z] 3750a50a1c5e: Verifying Checksum [2020-07-16T09:08:58.991Z] 3750a50a1c5e: Download complete [2020-07-16T09:08:59.584Z] b9c365052c96: Verifying Checksum [2020-07-16T09:08:59.584Z] b9c365052c96: Download complete [2020-07-16T09:08:59.584Z] 8a11ddd9e578: Verifying Checksum [2020-07-16T09:08:59.584Z] 8a11ddd9e578: Download complete [2020-07-16T09:09:06.840Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-16T09:09:06.840Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-16T09:09:06.840Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-16T09:09:06.840Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.019s coverage: 22.1% of statements [2020-07-16T09:09:07.105Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.056s coverage: 95.8% of statements [2020-07-16T09:09:11.985Z] 8a11ddd9e578: Pull complete [2020-07-16T09:09:11.985Z] 4cf88f913ddb: Pull complete [2020-07-16T09:09:11.985Z] 1df406cf5192: Pull complete [2020-07-16T09:09:16.317Z] cd6300453558: Pull complete [2020-07-16T09:09:20.643Z] b9c365052c96: Pull complete [2020-07-16T09:09:21.240Z] a2d8cc88f415: Pull complete [2020-07-16T09:09:23.208Z] ea1d1ca13537: Pull complete [2020-07-16T09:09:23.481Z] 3750a50a1c5e: Pull complete [2020-07-16T09:09:23.481Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-07-16T09:09:23.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-16T09:09:23.481Z] ---> 78745c68409d [2020-07-16T09:09:23.481Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T09:09:27.783Z] ---> Running in ff6a40ffd253 [2020-07-16T09:09:28.376Z] Removing intermediate container ff6a40ffd253 [2020-07-16T09:09:28.376Z] ---> cd4cdf5c09ac [2020-07-16T09:09:28.376Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T09:09:28.376Z] ---> Running in 3b5277a996c0 [2020-07-16T09:09:30.989Z] Removing intermediate container 3b5277a996c0 [2020-07-16T09:09:30.989Z] ---> 4391dc76d891 [2020-07-16T09:09:30.989Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-16T09:09:30.989Z] ---> Running in ea8caebff8c5 [2020-07-16T09:09:32.425Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-07-16T09:09:33.405Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-07-16T09:09:33.677Z] OK: 125 MiB in 39 packages [2020-07-16T09:09:34.660Z] Removing intermediate container ea8caebff8c5 [2020-07-16T09:09:34.660Z] ---> e19ca56da836 [2020-07-16T09:09:34.660Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-16T09:09:34.937Z] ---> Running in 391dc8ef5793 [2020-07-16T09:09:35.539Z] Removing intermediate container 391dc8ef5793 [2020-07-16T09:09:35.539Z] ---> 0f8cbd57c934 [2020-07-16T09:09:35.539Z] Step 7/8 : COPY . . [2020-07-16T09:09:36.992Z] ---> 6960647cc67a [2020-07-16T09:09:36.992Z] Step 8/8 : RUN go mod download [2020-07-16T09:09:36.992Z] ---> Running in a6096aa0c7cc [2020-07-16T09:09:39.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 11.4% of statements [2020-07-16T09:09:39.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.013s coverage: 21.7% of statements [2020-07-16T09:09:39.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-16T09:09:39.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.078s coverage: 36.9% of statements [2020-07-16T09:09:39.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-16T09:09:39.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.299s coverage: 65.2% of statements [2020-07-16T09:09:39.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-16T09:09:39.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-16T09:09:39.258Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-16T09:09:39.258Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements [2020-07-16T09:09:39.258Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 68.9% of statements [2020-07-16T09:09:39.258Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-16T09:09:39.258Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-16T09:09:39.258Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-16T09:09:39.258Z] gofmt -l . [2020-07-16T09:09:39.258Z] [ "`gofmt -l .`" = "" ] [2020-07-16T09:09:39.258Z] ./bin/test-attribution-txt.sh [2020-07-16T09:09:39.595Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-16T09:09:39.595Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-16T09:09:39.595Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-16T09:09:39.595Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-16T09:09:39.595Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-16T09:09:39.595Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-16T09:09:39.595Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-16T09:09:39.595Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-16T09:09:39.595Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-16T09:09:39.595Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-16T09:09:39.595Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-16T09:09:39.831Z] ./bin/test-go-mod-tidy.sh [2020-07-16T09:09:39.864Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-16T09:09:39.864Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-16T09:09:39.864Z] go: finding github.com/fatih/color v1.7.0 [2020-07-16T09:09:39.864Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-16T09:09:39.864Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-16T09:09:39.864Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-16T09:09:39.864Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-16T09:09:39.864Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-16T09:09:39.864Z] go: finding github.com/google/uuid v1.1.0 [2020-07-16T09:09:39.864Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-16T09:09:39.864Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-16T09:09:39.864Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [Pipeline] stash [2020-07-16T09:09:40.133Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-16T09:09:40.133Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-16T09:09:40.133Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-16T09:09:40.133Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-16T09:09:40.133Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-16T09:09:40.133Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-16T09:09:40.133Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-16T09:09:40.133Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-16T09:09:40.133Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-16T09:09:40.133Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-16T09:09:40.133Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-16T09:09:40.133Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-16T09:09:40.394Z] Stashed 1 file(s) [Pipeline] } [2020-07-16T09:09:40.403Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-16T09:09:40.403Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-16T09:09:40.403Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-16T09:09:40.403Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-16T09:09:40.403Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-16T09:09:40.403Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-16T09:09:40.403Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-16T09:09:40.403Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-16T09:09:40.403Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-16T09:09:40.403Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-16T09:09:40.403Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-16T09:09:40.410Z] $ docker stop --time=1 fb9080a0c6504bc1bfa60ea4c2295eee5caf3ed21544154b7013c4be76d04594 [2020-07-16T09:09:40.674Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-16T09:09:40.674Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-16T09:09:40.674Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-16T09:09:40.674Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-16T09:09:40.674Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-16T09:09:40.674Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-16T09:09:40.674Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-16T09:09:40.674Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-16T09:09:40.674Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-16T09:09:40.674Z] go: finding github.com/posener/complete v1.1.1 [2020-07-16T09:09:40.674Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-16T09:09:40.674Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-16T09:09:40.948Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-16T09:09:40.948Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-16T09:09:40.948Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-16T09:09:40.948Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-16T09:09:40.948Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-16T09:09:40.948Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-16T09:09:40.948Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-16T09:09:40.948Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-16T09:09:40.948Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-16T09:09:40.948Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-16T09:09:41.900Z] $ docker rm -f fb9080a0c6504bc1bfa60ea4c2295eee5caf3ed21544154b7013c4be76d04594 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-16T09:09:44.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-16T09:09:45.243Z] + ls -al . [2020-07-16T09:09:45.244Z] total 184 [2020-07-16T09:09:45.244Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jul 16 09:09 . [2020-07-16T09:09:45.244Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 16 09:08 .. [2020-07-16T09:09:45.244Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 16 09:08 api [2020-07-16T09:09:45.244Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 16 09:08 bin [2020-07-16T09:09:45.244Z] -rw-r--r--. 1 jenkins jenkins 110877 Jul 16 09:09 coverage.out [2020-07-16T09:09:45.244Z] -rw-rw-r--. 1 jenkins jenkins 936 Jul 16 09:08 Dockerfile.build [2020-07-16T09:09:45.244Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 16 09:08 .dockerignore [2020-07-16T09:09:45.244Z] drwxrwxr-x. 4 jenkins jenkins 48 Jul 16 09:08 example [2020-07-16T09:09:45.244Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 16 09:08 .git [2020-07-16T09:09:45.244Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 16 09:08 .github [2020-07-16T09:09:45.244Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 16 09:08 .gitignore [2020-07-16T09:09:45.244Z] -rw-r--r--. 1 jenkins jenkins 446 Jul 16 09:09 go.mod [2020-07-16T09:09:45.244Z] -rw-r--r--. 1 jenkins jenkins 12179 Jul 16 09:09 go.sum [2020-07-16T09:09:45.244Z] drwxrwxr-x. 13 jenkins jenkins 184 Jul 16 09:08 internal [2020-07-16T09:09:45.244Z] -rw-rw-r--. 1 jenkins jenkins 808 Jul 16 09:08 Jenkinsfile [2020-07-16T09:09:45.244Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 16 09:08 LICENSE [2020-07-16T09:09:45.244Z] -rw-rw-r--. 1 jenkins jenkins 892 Jul 16 09:08 Makefile [2020-07-16T09:09:45.244Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 16 09:08 pkg [2020-07-16T09:09:45.244Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jul 16 09:08 README.md [2020-07-16T09:09:45.244Z] -rw-rw-r--. 1 jenkins jenkins 3997 Jul 16 09:08 RELEASE-NOTES.txt [2020-07-16T09:09:45.244Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 16 09:08 .semver [2020-07-16T09:09:45.244Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 16 09:08 snap [2020-07-16T09:09:45.244Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 16 09:04 VERSION [2020-07-16T09:09:45.244Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 16 09:08 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-16T09:09:45.574Z] + 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=74b6c8dea2f14485f497dce5b6f71adf6526cd29 --label arch=amd64 --label version=0.0.0 . [2020-07-16T09:09:45.838Z] Sending build context to Docker daemon 3.23MB [2020-07-16T09:09:45.838Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-16T09:09:45.838Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-16T09:09:45.838Z] ---> 4083d674baa8 [2020-07-16T09:09:45.838Z] Step 3/23 : ARG MAKE='make build' [2020-07-16T09:09:46.410Z] ---> Running in 91d5735b41c7 [2020-07-16T09:09:46.410Z] Removing intermediate container 91d5735b41c7 [2020-07-16T09:09:46.410Z] ---> 8728d43e2a35 [2020-07-16T09:09:46.410Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-16T09:09:46.410Z] ---> Running in 23849a0e1446 [2020-07-16T09:09:46.671Z] Removing intermediate container 23849a0e1446 [2020-07-16T09:09:46.671Z] ---> 0b3cb8e14b58 [2020-07-16T09:09:46.671Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T09:09:46.671Z] ---> Running in 351e56a8883f [2020-07-16T09:09:46.933Z] Removing intermediate container 351e56a8883f [2020-07-16T09:09:46.933Z] ---> ccc1f391bb9d [2020-07-16T09:09:46.933Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T09:09:46.933Z] ---> Running in 3d1ae30769f5 [2020-07-16T09:09:47.875Z] Removing intermediate container 3d1ae30769f5 [2020-07-16T09:09:47.875Z] ---> da50a708d441 [2020-07-16T09:09:47.875Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-16T09:09:47.875Z] ---> Running in 1f73421f8db1 [2020-07-16T09:09:48.136Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-07-16T09:09:48.707Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-07-16T09:09:48.968Z] OK: 143 MiB in 39 packages [2020-07-16T09:09:49.228Z] Removing intermediate container 1f73421f8db1 [2020-07-16T09:09:49.228Z] ---> 5e87ce12db97 [2020-07-16T09:09:49.228Z] Step 8/23 : COPY . . [2020-07-16T09:09:50.620Z] ---> 8709eadcf2fa [2020-07-16T09:09:50.620Z] Step 9/23 : RUN ${MAKE} [2020-07-16T09:09:50.620Z] ---> Running in c2551f11aea3 [2020-07-16T09:09:50.883Z] 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-16T09:09:51.124Z] Removing intermediate container a6096aa0c7cc [2020-07-16T09:09:51.124Z] ---> a7a0a933a7f8 [2020-07-16T09:09:51.124Z] Successfully built a7a0a933a7f8 [2020-07-16T09:09:51.124Z] 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-16T09:09:51.958Z] + docker inspect -f . ci-base-image-arm64 [2020-07-16T09:09:51.958Z] . [Pipeline] withDockerContainer [2020-07-16T09:09:52.246Z] prd-ubuntu18.04-docker-arm64-4c-16g-911 does not seem to be running inside a container [2020-07-16T09:09:52.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2020-07-16T09:09:54.167Z] $ docker top ccee5b719aa83a0c5866bdc44800dde28b1cb56aa109c9e73db074dcc5ab9ed0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-16T09:09:55.599Z] + go version [2020-07-16T09:09:55.599Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-07-16T09:09:56.660Z] + make test [2020-07-16T09:09:56.660Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-16T09:09:57.642Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-16T09:09:59.157Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-16T09:09:59.737Z] Removing intermediate container c2551f11aea3 [2020-07-16T09:09:59.737Z] ---> 4730bf0bfbbe [2020-07-16T09:09:59.737Z] Step 10/23 : FROM scratch [2020-07-16T09:09:59.737Z] ---> [2020-07-16T09:09:59.737Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T09:09:59.997Z] ---> Running in 13e99cab6c82 [2020-07-16T09:09:59.998Z] Removing intermediate container 13e99cab6c82 [2020-07-16T09:09:59.998Z] ---> 40b658c83267 [2020-07-16T09:09:59.998Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-16T09:09:59.998Z] ---> Running in b065e7e5da0b [2020-07-16T09:10:00.260Z] Removing intermediate container b065e7e5da0b [2020-07-16T09:10:00.260Z] ---> 00a3dc1e811b [2020-07-16T09:10:00.260Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-16T09:10:00.260Z] ---> Running in 20bbcddc2a6b [2020-07-16T09:10:00.521Z] Removing intermediate container 20bbcddc2a6b [2020-07-16T09:10:00.521Z] ---> 34d23ddac4a7 [2020-07-16T09:10:00.521Z] Step 14/23 : WORKDIR / [2020-07-16T09:10:00.521Z] ---> Running in 2fd5c18e4f98 [2020-07-16T09:10:01.465Z] Removing intermediate container 2fd5c18e4f98 [2020-07-16T09:10:01.465Z] ---> 31415c28a4ed [2020-07-16T09:10:01.465Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-16T09:10:01.728Z] ---> 1e2ff735504f [2020-07-16T09:10:01.728Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-16T09:10:01.990Z] ---> 1b6e0f877735 [2020-07-16T09:10:01.990Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-16T09:10:02.251Z] ---> c85baba5f272 [2020-07-16T09:10:02.251Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-16T09:10:02.512Z] ---> 3974d2697b3a [2020-07-16T09:10:02.512Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-16T09:10:02.512Z] ---> ef06c500fff8 [2020-07-16T09:10:02.512Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-16T09:10:02.777Z] ---> Running in 50a677e2cd50 [2020-07-16T09:10:02.777Z] Removing intermediate container 50a677e2cd50 [2020-07-16T09:10:02.777Z] ---> daa052615161 [2020-07-16T09:10:02.777Z] Step 21/23 : LABEL arch=amd64 [2020-07-16T09:10:02.777Z] ---> Running in 4fa6e3dbe88a [2020-07-16T09:10:03.041Z] Removing intermediate container 4fa6e3dbe88a [2020-07-16T09:10:03.041Z] ---> 7470ebe0cbdb [2020-07-16T09:10:03.041Z] Step 22/23 : LABEL git_sha=74b6c8dea2f14485f497dce5b6f71adf6526cd29 [2020-07-16T09:10:03.041Z] ---> Running in d0aa8916bc1b [2020-07-16T09:10:03.307Z] Removing intermediate container d0aa8916bc1b [2020-07-16T09:10:03.307Z] ---> 0ff96220ccbb [2020-07-16T09:10:03.307Z] Step 23/23 : LABEL version=0.0.0 [2020-07-16T09:10:03.307Z] ---> Running in d9f8b7a48181 [2020-07-16T09:10:03.307Z] Removing intermediate container d9f8b7a48181 [2020-07-16T09:10:03.307Z] ---> 8f0fbe03ebcd [2020-07-16T09:10:03.308Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-16T09:10:03.572Z] Successfully built 8f0fbe03ebcd [2020-07-16T09:10:03.572Z] 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-16T09:10:30.058Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-16T09:10:30.058Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-16T09:10:30.058Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-16T09:10:30.058Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 22.1% of statements [2020-07-16T09:10:30.058Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.162s coverage: 95.8% of statements [2020-07-16T09:11:02.404Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.085s coverage: 11.4% of statements [2020-07-16T09:11:02.404Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.7% of statements [2020-07-16T09:11:02.404Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-16T09:11:02.404Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.123s coverage: 36.9% of statements [2020-07-16T09:11:02.404Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-16T09:11:02.404Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.492s coverage: 65.2% of statements [2020-07-16T09:11:02.404Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-16T09:11:02.404Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-16T09:11:02.404Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-16T09:11:02.404Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements [2020-07-16T09:11:02.404Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.360s coverage: 68.9% of statements [2020-07-16T09:11:02.404Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-16T09:11:02.404Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-16T09:11:02.404Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-16T09:11:05.034Z] gofmt -l . [2020-07-16T09:11:05.306Z] [ "`gofmt -l .`" = "" ] [2020-07-16T09:11:05.578Z] ./bin/test-attribution-txt.sh [2020-07-16T09:11:06.596Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-16T09:11:06.902Z] Warning: overwriting stash ‘coverage-report’ [2020-07-16T09:11:07.373Z] Stashed 1 file(s) [Pipeline] } [2020-07-16T09:11:07.389Z] $ docker stop --time=1 ccee5b719aa83a0c5866bdc44800dde28b1cb56aa109c9e73db074dcc5ab9ed0 [2020-07-16T09:11:09.466Z] $ docker rm -f ccee5b719aa83a0c5866bdc44800dde28b1cb56aa109c9e73db074dcc5ab9ed0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-16T09:11:10.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-16T09:11:11.293Z] + ls -al . [2020-07-16T09:11:11.293Z] total 224 [2020-07-16T09:11:11.293Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 16 09:11 . [2020-07-16T09:11:11.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 09:08 .. [2020-07-16T09:11:11.293Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 09:08 .dockerignore [2020-07-16T09:11:11.293Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 09:08 .git [2020-07-16T09:11:11.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 09:08 .github [2020-07-16T09:11:11.293Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 16 09:08 .gitignore [2020-07-16T09:11:11.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 09:08 .semver [2020-07-16T09:11:11.293Z] -rw-rw-r-- 1 jenkins jenkins 936 Jul 16 09:08 Dockerfile.build [2020-07-16T09:11:11.293Z] -rw-rw-r-- 1 jenkins jenkins 808 Jul 16 09:08 Jenkinsfile [2020-07-16T09:11:11.293Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 16 09:08 LICENSE [2020-07-16T09:11:11.293Z] -rw-rw-r-- 1 jenkins jenkins 892 Jul 16 09:08 Makefile [2020-07-16T09:11:11.293Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jul 16 09:08 README.md [2020-07-16T09:11:11.293Z] -rw-rw-r-- 1 jenkins jenkins 3997 Jul 16 09:08 RELEASE-NOTES.txt [2020-07-16T09:11:11.293Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 09:04 VERSION [2020-07-16T09:11:11.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 09:08 api [2020-07-16T09:11:11.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 09:08 bin [2020-07-16T09:11:11.293Z] -rw-r--r-- 1 jenkins jenkins 110877 Jul 16 09:10 coverage.out [2020-07-16T09:11:11.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 09:08 example [2020-07-16T09:11:11.293Z] -rw-r--r-- 1 jenkins jenkins 446 Jul 16 09:11 go.mod [2020-07-16T09:11:11.293Z] -rw-r--r-- 1 jenkins jenkins 12179 Jul 16 09:11 go.sum [2020-07-16T09:11:11.293Z] drwxrwxr-x 13 jenkins jenkins 4096 Jul 16 09:08 internal [2020-07-16T09:11:11.293Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 16 09:08 pkg [2020-07-16T09:11:11.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 09:08 snap [2020-07-16T09:11:11.293Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 16 09:08 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-16T09:11:11.684Z] + 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=74b6c8dea2f14485f497dce5b6f71adf6526cd29 --label arch=arm64 --label version=0.0.0 . [2020-07-16T09:11:12.297Z] Sending build context to Docker daemon 3.23MB [2020-07-16T09:11:12.297Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-16T09:11:12.297Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-16T09:11:12.297Z] ---> a7a0a933a7f8 [2020-07-16T09:11:12.297Z] Step 3/23 : ARG MAKE='make build' [2020-07-16T09:11:12.582Z] ---> Running in fe395b7742d3 [2020-07-16T09:11:12.866Z] Removing intermediate container fe395b7742d3 [2020-07-16T09:11:12.866Z] ---> ac3a79750a31 [2020-07-16T09:11:12.866Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-16T09:11:13.142Z] ---> Running in b9f6ca46bb3c [2020-07-16T09:11:13.744Z] Removing intermediate container b9f6ca46bb3c [2020-07-16T09:11:13.744Z] ---> 8a429ce198a4 [2020-07-16T09:11:13.744Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T09:11:13.744Z] ---> Running in 55dcab25f9f0 [2020-07-16T09:11:14.016Z] Removing intermediate container 55dcab25f9f0 [2020-07-16T09:11:14.016Z] ---> 16fa6770c113 [2020-07-16T09:11:14.016Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T09:11:14.289Z] ---> Running in b85de086db21 [2020-07-16T09:11:16.903Z] Removing intermediate container b85de086db21 [2020-07-16T09:11:16.903Z] ---> b6c65919ed1b [2020-07-16T09:11:16.903Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-16T09:11:16.903Z] ---> Running in 18c7ef5a08c6 [2020-07-16T09:11:18.330Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-07-16T09:11:18.919Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-07-16T09:11:19.511Z] OK: 125 MiB in 39 packages [2020-07-16T09:11:20.943Z] Removing intermediate container 18c7ef5a08c6 [2020-07-16T09:11:20.943Z] ---> 1fba4b31013a [2020-07-16T09:11:20.943Z] Step 8/23 : COPY . . [2020-07-16T09:11:21.921Z] ---> f098915001d9 [2020-07-16T09:11:21.921Z] Step 9/23 : RUN ${MAKE} [2020-07-16T09:11:22.194Z] ---> Running in cdf5a65b93bb [2020-07-16T09:11:23.627Z] 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-16T09:11:45.784Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-16T09:11:48.392Z] Removing intermediate container cdf5a65b93bb [2020-07-16T09:11:48.392Z] ---> f0b2017fa973 [2020-07-16T09:11:48.392Z] Step 10/23 : FROM scratch [2020-07-16T09:11:48.392Z] ---> [2020-07-16T09:11:48.392Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T09:11:48.392Z] ---> Running in b2a9f4e30f92 [2020-07-16T09:11:48.666Z] Removing intermediate container b2a9f4e30f92 [2020-07-16T09:11:48.666Z] ---> 9cf1dc655f90 [2020-07-16T09:11:48.666Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-16T09:11:48.666Z] ---> Running in 24494f89a4ff [2020-07-16T09:11:49.268Z] Removing intermediate container 24494f89a4ff [2020-07-16T09:11:49.268Z] ---> a54869e28641 [2020-07-16T09:11:49.268Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-16T09:11:49.268Z] ---> Running in 6ab51ae442c6 [2020-07-16T09:11:49.541Z] Removing intermediate container 6ab51ae442c6 [2020-07-16T09:11:49.541Z] ---> 02662b84ef3b [2020-07-16T09:11:49.541Z] Step 14/23 : WORKDIR / [2020-07-16T09:11:49.814Z] ---> Running in ad5ff3361df7 [2020-07-16T09:11:50.087Z] Removing intermediate container ad5ff3361df7 [2020-07-16T09:11:50.087Z] ---> 27d1e9b47df0 [2020-07-16T09:11:50.087Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-16T09:11:51.518Z] ---> c16bdde147e7 [2020-07-16T09:11:51.518Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-16T09:11:52.114Z] ---> 17a646fd6a6d [2020-07-16T09:11:52.114Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-16T09:11:52.707Z] ---> 58eb5602185a [2020-07-16T09:11:52.707Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-16T09:11:53.684Z] ---> 639698641457 [2020-07-16T09:11:53.684Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-16T09:11:54.279Z] ---> bb8de4ef11ee [2020-07-16T09:11:54.279Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-16T09:11:54.551Z] ---> Running in fd92236bd91a [2020-07-16T09:11:54.823Z] Removing intermediate container fd92236bd91a [2020-07-16T09:11:54.823Z] ---> 8d5b9bdeda3a [2020-07-16T09:11:54.823Z] Step 21/23 : LABEL arch=arm64 [2020-07-16T09:11:55.095Z] ---> Running in e99dff1730cb [2020-07-16T09:11:55.368Z] Removing intermediate container e99dff1730cb [2020-07-16T09:11:55.368Z] ---> 3a357c1af3f0 [2020-07-16T09:11:55.368Z] Step 22/23 : LABEL git_sha=74b6c8dea2f14485f497dce5b6f71adf6526cd29 [2020-07-16T09:11:55.368Z] ---> Running in 50a761c664d6 [2020-07-16T09:11:55.966Z] Removing intermediate container 50a761c664d6 [2020-07-16T09:11:55.966Z] ---> 0599689be010 [2020-07-16T09:11:55.966Z] Step 23/23 : LABEL version=0.0.0 [2020-07-16T09:11:55.966Z] ---> Running in 25ecd6de9d5b [2020-07-16T09:11:56.559Z] Removing intermediate container 25ecd6de9d5b [2020-07-16T09:11:56.559Z] ---> 8a6c005d3878 [2020-07-16T09:11:56.559Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-16T09:11:56.559Z] Successfully built 8a6c005d3878 [2020-07-16T09:11:56.559Z] 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-16T09:11:58.493Z] provisioning config files... [2020-07-16T09:11:58.505Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config4090508418799940329tmp [Pipeline] { [Pipeline] sh [2020-07-16T09:11:58.913Z] + curl -s https://codecov.io/bash [2020-07-16T09:11:58.913Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config4090508418799940329tmp [Pipeline] } [2020-07-16T09:11:59.201Z] 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] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-07-16T09:12:01.200Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T09:12:01.788Z] ---> package-listing.sh [2020-07-16T09:12:01.788Z] ++ facter osfamily [2020-07-16T09:12:01.788Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-16T09:12:01.788Z] + OS_FAMILY=redhat [2020-07-16T09:12:01.788Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-07-16T09:12:01.788Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-16T09:12:01.788Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-16T09:12:01.788Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-16T09:12:01.788Z] + PACKAGES=/tmp/packages_start.txt [2020-07-16T09:12:01.788Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-07-16T09:12:01.788Z] + PACKAGES=/tmp/packages_end.txt [2020-07-16T09:12:01.788Z] + case "${OS_FAMILY}" in [2020-07-16T09:12:01.789Z] + rpm -qa [2020-07-16T09:12:01.789Z] + sort [2020-07-16T09:12:06.009Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-16T09:12:06.009Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-16T09:12:06.009Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-16T09:12:06.009Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-07-16T09:12:06.009Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [2020-07-16T09:12:06.009Z] + 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-16T09:12:06.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-16T09:12:06.647Z] [2020-07-16T09:12:06.647Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-16T09:12:07.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-16T09:12:07.092Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-16T09:12:07.092Z] c9b1b535fdd9: Pulling fs layer [2020-07-16T09:12:07.092Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-16T09:12:07.092Z] 756a868c4378: Pulling fs layer [2020-07-16T09:12:07.092Z] 444b2fc9a129: Pulling fs layer [2020-07-16T09:12:07.092Z] ea15f1150254: Pulling fs layer [2020-07-16T09:12:07.092Z] 41b27a9f41bf: Pulling fs layer [2020-07-16T09:12:07.092Z] 28c525ee5125: Pulling fs layer [2020-07-16T09:12:07.092Z] 094b1ea09ed8: Pulling fs layer [2020-07-16T09:12:07.092Z] 138eaada9080: Pulling fs layer [2020-07-16T09:12:07.092Z] 0622d0fa9048: Pulling fs layer [2020-07-16T09:12:07.092Z] 138eaada9080: Waiting [2020-07-16T09:12:07.092Z] 41b27a9f41bf: Waiting [2020-07-16T09:12:07.092Z] 28c525ee5125: Waiting [2020-07-16T09:12:07.092Z] 094b1ea09ed8: Waiting [2020-07-16T09:12:07.092Z] 0622d0fa9048: Waiting [2020-07-16T09:12:07.092Z] 444b2fc9a129: Waiting [2020-07-16T09:12:07.092Z] ea15f1150254: Waiting [2020-07-16T09:12:07.092Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-16T09:12:07.092Z] 2cc5ad85d9ab: Download complete [2020-07-16T09:12:07.092Z] 444b2fc9a129: Verifying Checksum [2020-07-16T09:12:07.092Z] 444b2fc9a129: Download complete [2020-07-16T09:12:07.092Z] c9b1b535fdd9: Verifying Checksum [2020-07-16T09:12:07.092Z] c9b1b535fdd9: Download complete [2020-07-16T09:12:07.092Z] ea15f1150254: Verifying Checksum [2020-07-16T09:12:07.092Z] ea15f1150254: Download complete [2020-07-16T09:12:07.092Z] 28c525ee5125: Verifying Checksum [2020-07-16T09:12:07.092Z] 28c525ee5125: Download complete [2020-07-16T09:12:07.365Z] 756a868c4378: Verifying Checksum [2020-07-16T09:12:07.365Z] 756a868c4378: Download complete [2020-07-16T09:12:07.638Z] c9b1b535fdd9: Pull complete [2020-07-16T09:12:07.638Z] 138eaada9080: Verifying Checksum [2020-07-16T09:12:07.638Z] 138eaada9080: Download complete [2020-07-16T09:12:07.638Z] 094b1ea09ed8: Verifying Checksum [2020-07-16T09:12:07.638Z] 094b1ea09ed8: Download complete [2020-07-16T09:12:07.638Z] 0622d0fa9048: Verifying Checksum [2020-07-16T09:12:07.638Z] 0622d0fa9048: Download complete [2020-07-16T09:12:08.214Z] 41b27a9f41bf: Verifying Checksum [2020-07-16T09:12:08.214Z] 41b27a9f41bf: Download complete [2020-07-16T09:12:08.214Z] 2cc5ad85d9ab: Pull complete [2020-07-16T09:12:09.624Z] 756a868c4378: Pull complete [2020-07-16T09:12:09.624Z] 444b2fc9a129: Pull complete [2020-07-16T09:12:09.885Z] ea15f1150254: Pull complete [2020-07-16T09:12:14.112Z] 41b27a9f41bf: Pull complete [2020-07-16T09:12:14.112Z] 28c525ee5125: Pull complete [2020-07-16T09:12:16.668Z] 094b1ea09ed8: Pull complete [2020-07-16T09:12:16.930Z] 138eaada9080: Pull complete [2020-07-16T09:12:17.191Z] 0622d0fa9048: Pull complete [2020-07-16T09:12:17.191Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-16T09:12:17.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-16T09:12:17.191Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-16T09:12:17.361Z] prd-centos7-docker-4c-2g-910 does not seem to be running inside a container [2020-07-16T09:12:17.407Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-16T09:12:21.491Z] $ docker top b2331ef499aeec5e06bfc4cf6173bb13de01435cb751502100c4f610b4311681 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-16T09:12:21.814Z] provisioning config files... [2020-07-16T09:12:21.832Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config3233203839647947117tmp [Pipeline] { [Pipeline] echo [2020-07-16T09:12:21.960Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T09:12:22.283Z] ---> create-netrc.sh [Pipeline] echo [2020-07-16T09:12:22.313Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T09:12:22.632Z] ---> logs-deploy.sh [2020-07-16T09:12:22.632Z] + ARCHIVE_ARTIFACTS= [2020-07-16T09:12:22.632Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-16T09:12:22.632Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-16T09:12:22.632Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-16T09:12:22.632Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/1 [2020-07-16T09:12:22.632Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/1/ [2020-07-16T09:12:22.632Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/1 /w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-07-16T09:12:24.020Z] Archives upload complete. [2020-07-16T09:12:24.020Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/1/