Pull request #551 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0721519c55a4570ccb179bbeb57ede010bfd7d32+052c3d8a66f112a94cad097afe431d6fab48a90e (9ffcde2955230560707deca2a4bd32338a306a52) 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-551/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-902 in /w/workspace/dgexfoundry_device-sdk-go_PR-551 [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-551 # 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/551/head:refs/remotes/origin/PR-551 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit 0721519c55a4570ccb179bbeb57ede010bfd7d32 Merge succeeded, producing 0721519c55a4570ccb179bbeb57ede010bfd7d32 Checking out Revision 0721519c55a4570ccb179bbeb57ede010bfd7d32 (PR-551) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/551/head:refs/remotes/origin/PR-551 # 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/551/head:refs/remotes/origin/PR-551 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0721519c55a4570ccb179bbeb57ede010bfd7d32 # 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 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0721519c55a4570ccb179bbeb57ede010bfd7d32 # timeout=10 Commit message: "Update API doc for query parameters" 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-16T08:21:47.673Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-16T08:21:47.996Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-16T08:21:48.207Z] ========================================================= [2020-07-16T08:21:48.207Z] EdgeX Global Pipelines Version Info [2020-07-16T08:21:48.207Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-16T08:21:50.172Z] ------------------- [2020-07-16T08:21:50.172Z] stable info: [2020-07-16T08:21:50.172Z] ------------------- [2020-07-16T08:21:50.172Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-16T08:21:50.172Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-16T08:21:50.172Z] Message: update stable to v1.0.99 [2020-07-16T08:21:50.744Z] ------------------- [2020-07-16T08:21:50.744Z] experimental info: [2020-07-16T08:21:50.744Z] ------------------- [2020-07-16T08:21:50.744Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-16T08:21:50.744Z] Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 [2020-07-16T08:21:50.744Z] 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-16T08:21:53.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T08:21:53.761Z] [2020-07-16T08:21:53.761Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-16T08:21:54.154Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T08:21:54.154Z] latest: Pulling from edgex-devops/git-semver [2020-07-16T08:21:54.154Z] 31603596830f: Pulling fs layer [2020-07-16T08:21:54.154Z] 2a8b12db71e7: Pulling fs layer [2020-07-16T08:21:54.154Z] 6ca5941a6612: Pulling fs layer [2020-07-16T08:21:54.154Z] ecc8261a40a4: Pulling fs layer [2020-07-16T08:21:54.154Z] ecc8261a40a4: Waiting [2020-07-16T08:21:54.154Z] 2a8b12db71e7: Download complete [2020-07-16T08:21:54.154Z] 31603596830f: Verifying Checksum [2020-07-16T08:21:54.154Z] 31603596830f: Download complete [2020-07-16T08:21:54.425Z] ecc8261a40a4: Verifying Checksum [2020-07-16T08:21:54.425Z] ecc8261a40a4: Download complete [2020-07-16T08:21:54.425Z] 6ca5941a6612: Verifying Checksum [2020-07-16T08:21:54.425Z] 6ca5941a6612: Download complete [2020-07-16T08:21:54.700Z] 31603596830f: Pull complete [2020-07-16T08:21:54.700Z] 2a8b12db71e7: Pull complete [2020-07-16T08:21:55.648Z] 6ca5941a6612: Pull complete [2020-07-16T08:21:55.648Z] ecc8261a40a4: Pull complete [2020-07-16T08:21:55.648Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-16T08:21:55.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T08:21:55.648Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-16T08:21:55.770Z] prd-centos7-docker-4c-2g-902 does not seem to be running inside a container [2020-07-16T08:21:55.854Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-551 -v /w/workspace/dgexfoundry_device-sdk-go_PR-551:/w/workspace/dgexfoundry_device-sdk-go_PR-551:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-551@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-16T08:21:58.271Z] $ docker top c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-16T08:21:58.595Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-16T08:21:58.595Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-16T08:21:58.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-16T08:21:58.819Z] $ docker exec c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 ssh-agent [2020-07-16T08:21:58.976Z] SSH_AUTH_SOCK=/tmp/ssh-qrBPjCO8XXex/agent.12 [2020-07-16T08:21:58.976Z] SSH_AGENT_PID=17 [2020-07-16T08:21:58.987Z] Running ssh-add (command line suppressed) [2020-07-16T08:21:59.106Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/private_key_6422968060173798122.key (/w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/private_key_6422968060173798122.key) [2020-07-16T08:21:59.151Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-16T08:21:59.518Z] + git describe --exact-match --tags HEAD [2020-07-16T08:21:59.518Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-16T08:21:59.665Z] $ docker exec --env ******** --env ******** c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 ssh-agent -k [2020-07-16T08:21:59.804Z] unset SSH_AUTH_SOCK; [2020-07-16T08:21:59.805Z] unset SSH_AGENT_PID; [2020-07-16T08:21:59.805Z] echo Agent pid 17 killed; [2020-07-16T08:21:59.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-16T08:21:59.973Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-16T08:21:59.973Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-16T08:22:00.081Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-16T08:22:00.081Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-16T08:22:00.247Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-16T08:22:00.254Z] $ docker exec c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 ssh-agent [2020-07-16T08:22:00.405Z] SSH_AUTH_SOCK=/tmp/ssh-yZwrZR79yemJ/agent.45 [2020-07-16T08:22:00.405Z] SSH_AGENT_PID=50 [2020-07-16T08:22:00.411Z] Running ssh-add (command line suppressed) [2020-07-16T08:22:00.529Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/private_key_3354777203433741032.key (/w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/private_key_3354777203433741032.key) [2020-07-16T08:22:00.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-16T08:22:00.955Z] + git semver init [2020-07-16T08:22:00.955Z] # -> Open(): unable to determine branch for HEAD [2020-07-16T08:22:00.955Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-551/.git [2020-07-16T08:22:00.955Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-551 [2020-07-16T08:22:00.955Z] # $SEMVER_REMOTE_NAME = origin [2020-07-16T08:22:00.955Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-16T08:22:00.955Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-16T08:22:00.955Z] # $SEMVER_BRANCH = PR-551 [2020-07-16T08:22:00.955Z] # $SEMVER_TEMP = /tmp/semver-247312933 [2020-07-16T08:22:00.955Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-07-16T08:22:01.532Z] # '/tmp/semver-247312933' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-551/.semver' [2020-07-16T08:22:01.532Z] # -> Force: false [2020-07-16T08:22:01.532Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-551/.semver [Pipeline] } [2020-07-16T08:22:01.555Z] $ docker exec --env ******** --env ******** c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 ssh-agent -k [2020-07-16T08:22:01.678Z] unset SSH_AUTH_SOCK; [2020-07-16T08:22:01.679Z] unset SSH_AGENT_PID; [2020-07-16T08:22:01.679Z] echo Agent pid 50 killed; [2020-07-16T08:22:01.720Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-16T08:22:02.311Z] + git semver [Pipeline] } [2020-07-16T08:22:02.341Z] $ docker stop --time=1 c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 [2020-07-16T08:22:03.895Z] $ docker rm -f c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-16T08:22:04.623Z] Stashed 73 file(s) [Pipeline] echo [2020-07-16T08:22:04.644Z] [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-16T08:22:20.109Z] Still waiting to schedule task [2020-07-16T08:22:20.109Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-902’ [2020-07-16T08:22:20.130Z] Still waiting to schedule task [2020-07-16T08:22:20.130Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-5406’ is offline [2020-07-16T08:23:50.605Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-903 in /w/workspace/dgexfoundry_device-sdk-go_PR-551 [Pipeline] { [Pipeline] ws [2020-07-16T08:23:50.745Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-07-16T08:23:56.168Z] using credential edgex-jenkins-ssh [2020-07-16T08:23:56.217Z] Cloning the remote Git repository [2020-07-16T08:23:56.218Z] Cloning with configured refspecs honoured and without tags [2020-07-16T08:23:56.286Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T08:23:56.406Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-07-16T08:23:56.479Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T08:23:56.482Z] > git --version # timeout=10 [2020-07-16T08:23:56.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T08:23:56.606Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/551/head:refs/remotes/origin/PR-551 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T08:23:57.564Z] Fetching without tags [2020-07-16T08:23:58.111Z] Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit 0721519c55a4570ccb179bbeb57ede010bfd7d32 [2020-07-16T08:23:58.381Z] Merge succeeded, producing 0721519c55a4570ccb179bbeb57ede010bfd7d32 [2020-07-16T08:23:58.381Z] Checking out Revision 0721519c55a4570ccb179bbeb57ede010bfd7d32 (PR-551) [2020-07-16T08:23:57.462Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T08:23:57.485Z] > git config --add remote.origin.fetch +refs/pull/551/head:refs/remotes/origin/PR-551 # timeout=10 [2020-07-16T08:23:57.506Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T08:23:57.532Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T08:23:57.585Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T08:23:57.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T08:23:57.598Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/551/head:refs/remotes/origin/PR-551 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T08:23:58.137Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T08:23:58.175Z] > git checkout -f 0721519c55a4570ccb179bbeb57ede010bfd7d32 # timeout=10 [2020-07-16T08:23:58.289Z] > git remote # timeout=10 [2020-07-16T08:23:58.313Z] > git config --get remote.origin.url # timeout=10 [2020-07-16T08:23:58.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T08:23:58.344Z] > git merge 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 [2020-07-16T08:23:58.367Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-16T08:23:58.389Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T08:23:58.402Z] > git checkout -f 0721519c55a4570ccb179bbeb57ede010bfd7d32 # timeout=10 [2020-07-16T08:24:02.975Z] Commit message: "Update API doc for query parameters" [2020-07-16T08:24:03.046Z] > git --version # timeout=10 [2020-07-16T08:24:03.074Z] fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-16T08:24:04.545Z] ========================================================= [2020-07-16T08:24:04.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-16T08:24:04.545Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-16T08:24:05.998Z] + 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-16T08:24:06.984Z] Sending build context to Docker daemon 3.104MB [2020-07-16T08:24:06.984Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-16T08:24:06.984Z] Step 2/8 : FROM ${BASE} [2020-07-16T08:24:07.265Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-16T08:24:07.265Z] cde5963f3b93: Pulling fs layer [2020-07-16T08:24:07.265Z] 2a23fa8c16f7: Pulling fs layer [2020-07-16T08:24:07.265Z] 777b28850792: Pulling fs layer [2020-07-16T08:24:07.265Z] 8a11ddd9e578: Pulling fs layer [2020-07-16T08:24:07.265Z] 4cf88f913ddb: Pulling fs layer [2020-07-16T08:24:07.265Z] 1df406cf5192: Pulling fs layer [2020-07-16T08:24:07.265Z] cd6300453558: Pulling fs layer [2020-07-16T08:24:07.265Z] b9c365052c96: Pulling fs layer [2020-07-16T08:24:07.265Z] a2d8cc88f415: Pulling fs layer [2020-07-16T08:24:07.265Z] ea1d1ca13537: Pulling fs layer [2020-07-16T08:24:07.265Z] 3750a50a1c5e: Pulling fs layer [2020-07-16T08:24:07.265Z] 8a11ddd9e578: Waiting [2020-07-16T08:24:07.265Z] 4cf88f913ddb: Waiting [2020-07-16T08:24:07.265Z] 1df406cf5192: Waiting [2020-07-16T08:24:07.265Z] cd6300453558: Waiting [2020-07-16T08:24:07.265Z] b9c365052c96: Waiting [2020-07-16T08:24:07.265Z] a2d8cc88f415: Waiting [2020-07-16T08:24:07.265Z] ea1d1ca13537: Waiting [2020-07-16T08:24:07.265Z] 3750a50a1c5e: Waiting [2020-07-16T08:24:07.265Z] 777b28850792: Verifying Checksum [2020-07-16T08:24:07.265Z] 777b28850792: Download complete [2020-07-16T08:24:07.265Z] 2a23fa8c16f7: Verifying Checksum [2020-07-16T08:24:07.265Z] 2a23fa8c16f7: Download complete [2020-07-16T08:24:07.265Z] 4cf88f913ddb: Verifying Checksum [2020-07-16T08:24:07.265Z] 4cf88f913ddb: Download complete [2020-07-16T08:24:07.265Z] 1df406cf5192: Verifying Checksum [2020-07-16T08:24:07.265Z] 1df406cf5192: Download complete [2020-07-16T08:24:07.265Z] cde5963f3b93: Verifying Checksum [2020-07-16T08:24:08.269Z] cde5963f3b93: Pull complete [2020-07-16T08:24:08.882Z] 2a23fa8c16f7: Pull complete [2020-07-16T08:24:09.157Z] 777b28850792: Pull complete [2020-07-16T08:24:09.157Z] cd6300453558: Verifying Checksum [2020-07-16T08:24:09.157Z] cd6300453558: Download complete [2020-07-16T08:24:09.157Z] a2d8cc88f415: Verifying Checksum [2020-07-16T08:24:09.157Z] a2d8cc88f415: Download complete [2020-07-16T08:24:11.148Z] ea1d1ca13537: Verifying Checksum [2020-07-16T08:24:11.148Z] ea1d1ca13537: Download complete [2020-07-16T08:24:11.148Z] 3750a50a1c5e: Verifying Checksum [2020-07-16T08:24:11.148Z] 3750a50a1c5e: Download complete [2020-07-16T08:24:11.742Z] b9c365052c96: Download complete [2020-07-16T08:24:12.719Z] 8a11ddd9e578: Verifying Checksum [2020-07-16T08:24:12.719Z] 8a11ddd9e578: Download complete [2020-07-16T08:24:25.144Z] 8a11ddd9e578: Pull complete [2020-07-16T08:24:25.144Z] 4cf88f913ddb: Pull complete [2020-07-16T08:24:25.144Z] 1df406cf5192: Pull complete [2020-07-16T08:24:29.471Z] cd6300453558: Pull complete [2020-07-16T08:24:33.802Z] b9c365052c96: Pull complete [2020-07-16T08:24:34.371Z] Running on prd-centos7-docker-4c-2g-904 in /w/workspace/dgexfoundry_device-sdk-go_PR-551 [Pipeline] { [2020-07-16T08:24:34.398Z] a2d8cc88f415: Pull complete [Pipeline] ws [2020-07-16T08:24:34.456Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-07-16T08:24:36.377Z] ea1d1ca13537: Pull complete [2020-07-16T08:24:36.656Z] 3750a50a1c5e: Pull complete [2020-07-16T08:24:36.656Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-07-16T08:24:36.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-16T08:24:36.656Z] ---> 78745c68409d [2020-07-16T08:24:36.656Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T08:24:36.975Z] using credential edgex-jenkins-ssh [2020-07-16T08:24:37.024Z] Cloning the remote Git repository [2020-07-16T08:24:37.024Z] Cloning with configured refspecs honoured and without tags [2020-07-16T08:24:37.073Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T08:24:37.142Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-07-16T08:24:37.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T08:24:37.752Z] > git --version # timeout=10 [2020-07-16T08:24:37.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T08:24:37.837Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/551/head:refs/remotes/origin/PR-551 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T08:24:39.172Z] Fetching without tags [2020-07-16T08:24:39.643Z] Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit 0721519c55a4570ccb179bbeb57ede010bfd7d32 [2020-07-16T08:24:39.755Z] Merge succeeded, producing 0721519c55a4570ccb179bbeb57ede010bfd7d32 [2020-07-16T08:24:39.755Z] Checking out Revision 0721519c55a4570ccb179bbeb57ede010bfd7d32 (PR-551) [2020-07-16T08:24:39.137Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T08:24:39.152Z] > git config --add remote.origin.fetch +refs/pull/551/head:refs/remotes/origin/PR-551 # timeout=10 [2020-07-16T08:24:39.158Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T08:24:39.168Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T08:24:39.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T08:24:39.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T08:24:39.183Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/551/head:refs/remotes/origin/PR-551 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T08:24:39.654Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T08:24:39.659Z] > git checkout -f 0721519c55a4570ccb179bbeb57ede010bfd7d32 # timeout=10 [2020-07-16T08:24:39.702Z] > git remote # timeout=10 [2020-07-16T08:24:39.706Z] > git config --get remote.origin.url # timeout=10 [2020-07-16T08:24:39.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T08:24:39.722Z] > git merge 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 [2020-07-16T08:24:39.739Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-16T08:24:39.759Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T08:24:39.768Z] > git checkout -f 0721519c55a4570ccb179bbeb57ede010bfd7d32 # timeout=10 [2020-07-16T08:24:42.053Z] ---> Running in 19b3b7a3a925 [2020-07-16T08:24:42.053Z] Removing intermediate container 19b3b7a3a925 [2020-07-16T08:24:42.054Z] ---> 82448951d003 [2020-07-16T08:24:42.054Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T08:24:42.054Z] ---> Running in 6042afd3e4a8 [2020-07-16T08:24:43.397Z] Commit message: "Update API doc for query parameters" [2020-07-16T08:24:43.420Z] > git --version # timeout=10 [2020-07-16T08:24:43.429Z] fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-16T08:24:44.393Z] ========================================================= [2020-07-16T08:24:44.393Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-16T08:24:44.393Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-16T08:24:44.671Z] Removing intermediate container 6042afd3e4a8 [2020-07-16T08:24:44.671Z] ---> d8e1053a0b60 [2020-07-16T08:24:44.671Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-16T08:24:44.671Z] ---> Running in 07d8e5682b9e [2020-07-16T08:24:45.079Z] + 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-16T08:24:45.344Z] Sending build context to Docker daemon 3.104MB [2020-07-16T08:24:45.613Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-16T08:24:45.613Z] Step 2/8 : FROM ${BASE} [2020-07-16T08:24:45.613Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-16T08:24:45.613Z] e6b0cf9c0882: Pulling fs layer [2020-07-16T08:24:45.613Z] 2848faf0eed1: Pulling fs layer [2020-07-16T08:24:45.613Z] 0f37312ad70f: Pulling fs layer [2020-07-16T08:24:45.613Z] 5788d62ee057: Pulling fs layer [2020-07-16T08:24:45.613Z] 0e6b1d234666: Pulling fs layer [2020-07-16T08:24:45.613Z] bf5d7aec512f: Pulling fs layer [2020-07-16T08:24:45.613Z] 34c802a77dc8: Pulling fs layer [2020-07-16T08:24:45.613Z] 9eb99e56ec68: Pulling fs layer [2020-07-16T08:24:45.613Z] 27c7a5d97fbd: Pulling fs layer [2020-07-16T08:24:45.613Z] 5c102a31e300: Pulling fs layer [2020-07-16T08:24:45.613Z] dcfb455df0a1: Pulling fs layer [2020-07-16T08:24:45.613Z] 34c802a77dc8: Waiting [2020-07-16T08:24:45.613Z] 9eb99e56ec68: Waiting [2020-07-16T08:24:45.613Z] 27c7a5d97fbd: Waiting [2020-07-16T08:24:45.613Z] dcfb455df0a1: Waiting [2020-07-16T08:24:45.613Z] 5c102a31e300: Waiting [2020-07-16T08:24:45.613Z] 0e6b1d234666: Waiting [2020-07-16T08:24:45.613Z] 5788d62ee057: Waiting [2020-07-16T08:24:45.613Z] bf5d7aec512f: Waiting [2020-07-16T08:24:45.614Z] 0f37312ad70f: Verifying Checksum [2020-07-16T08:24:45.614Z] 0f37312ad70f: Download complete [2020-07-16T08:24:45.614Z] 2848faf0eed1: Verifying Checksum [2020-07-16T08:24:45.614Z] 2848faf0eed1: Download complete [2020-07-16T08:24:45.614Z] 0e6b1d234666: Verifying Checksum [2020-07-16T08:24:45.614Z] 0e6b1d234666: Download complete [2020-07-16T08:24:45.614Z] bf5d7aec512f: Download complete [2020-07-16T08:24:45.614Z] e6b0cf9c0882: Download complete [2020-07-16T08:24:46.096Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-07-16T08:24:46.223Z] e6b0cf9c0882: Pull complete [2020-07-16T08:24:46.495Z] 34c802a77dc8: Verifying Checksum [2020-07-16T08:24:46.495Z] 34c802a77dc8: Download complete [2020-07-16T08:24:46.495Z] 27c7a5d97fbd: Verifying Checksum [2020-07-16T08:24:46.495Z] 27c7a5d97fbd: Download complete [2020-07-16T08:24:46.697Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-07-16T08:24:46.969Z] OK: 125 MiB in 39 packages [2020-07-16T08:24:47.074Z] 5c102a31e300: Verifying Checksum [2020-07-16T08:24:47.074Z] 5c102a31e300: Download complete [2020-07-16T08:24:47.074Z] dcfb455df0a1: Verifying Checksum [2020-07-16T08:24:47.074Z] dcfb455df0a1: Download complete [2020-07-16T08:24:47.074Z] 9eb99e56ec68: Verifying Checksum [2020-07-16T08:24:47.074Z] 9eb99e56ec68: Download complete [2020-07-16T08:24:47.074Z] 5788d62ee057: Verifying Checksum [2020-07-16T08:24:47.074Z] 5788d62ee057: Download complete [2020-07-16T08:24:48.407Z] Removing intermediate container 07d8e5682b9e [2020-07-16T08:24:48.407Z] ---> 1054f8c4eec4 [2020-07-16T08:24:48.407Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-16T08:24:48.407Z] ---> Running in 90480b338f9e [2020-07-16T08:24:48.464Z] 2848faf0eed1: Pull complete [2020-07-16T08:24:48.464Z] 0f37312ad70f: Pull complete [2020-07-16T08:24:48.680Z] Removing intermediate container 90480b338f9e [2020-07-16T08:24:48.680Z] ---> c0736e799e91 [2020-07-16T08:24:48.680Z] Step 7/8 : COPY . . [2020-07-16T08:24:50.105Z] ---> 786a7ba5cdbe [2020-07-16T08:24:50.105Z] Step 8/8 : RUN go mod download [2020-07-16T08:24:50.384Z] ---> Running in 8f252c5311a9 [2020-07-16T08:24:53.007Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-16T08:24:53.007Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-16T08:24:53.007Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-16T08:24:53.007Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-16T08:24:53.007Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-16T08:24:53.007Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-16T08:24:53.007Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-16T08:24:53.007Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-16T08:24:53.007Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-16T08:24:53.007Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-16T08:24:53.007Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-16T08:24:53.007Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-16T08:24:53.277Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-16T08:24:53.277Z] go: finding github.com/fatih/color v1.7.0 [2020-07-16T08:24:53.277Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-16T08:24:53.277Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-16T08:24:53.278Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-16T08:24:53.278Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-16T08:24:53.278Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-16T08:24:53.278Z] go: finding github.com/google/uuid v1.1.0 [2020-07-16T08:24:53.278Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-16T08:24:53.278Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-16T08:24:53.549Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-16T08:24:53.549Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-16T08:24:53.549Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-16T08:24:53.549Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-16T08:24:53.549Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-16T08:24:53.549Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-16T08:24:53.549Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-16T08:24:53.549Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-16T08:24:53.549Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-16T08:24:53.549Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-16T08:24:53.549Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-16T08:24:53.780Z] 5788d62ee057: Pull complete [2020-07-16T08:24:53.780Z] 0e6b1d234666: Pull complete [2020-07-16T08:24:53.780Z] bf5d7aec512f: Pull complete [2020-07-16T08:24:53.821Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-16T08:24:53.821Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-16T08:24:53.821Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-16T08:24:53.821Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-16T08:24:53.821Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-16T08:24:53.821Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-16T08:24:53.821Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-16T08:24:53.821Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-16T08:24:54.093Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-16T08:24:54.093Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-16T08:24:54.093Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-16T08:24:54.093Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-16T08:24:54.093Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-16T08:24:54.093Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-16T08:24:54.093Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-16T08:24:54.093Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-16T08:24:54.093Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-16T08:24:54.093Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-16T08:24:54.093Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-16T08:24:54.363Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-16T08:24:54.363Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-16T08:24:54.363Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-16T08:24:54.363Z] go: finding github.com/posener/complete v1.1.1 [2020-07-16T08:24:54.363Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-16T08:24:54.363Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-16T08:24:54.363Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-16T08:24:54.363Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-16T08:24:54.363Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-16T08:24:54.363Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-16T08:24:54.637Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-16T08:24:54.637Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-16T08:24:54.637Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-16T08:24:54.637Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-16T08:24:54.637Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-16T08:24:54.637Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-16T08:24:59.070Z] 34c802a77dc8: Pull complete [2020-07-16T08:25:02.380Z] 9eb99e56ec68: Pull complete [2020-07-16T08:25:02.380Z] 27c7a5d97fbd: Pull complete [2020-07-16T08:25:02.971Z] 5c102a31e300: Pull complete [2020-07-16T08:25:02.971Z] dcfb455df0a1: Pull complete [2020-07-16T08:25:02.971Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-07-16T08:25:03.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-16T08:25:03.238Z] ---> 7c70fe431013 [2020-07-16T08:25:03.238Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T08:25:04.789Z] Removing intermediate container 8f252c5311a9 [2020-07-16T08:25:04.789Z] ---> 2660cb272d5c [2020-07-16T08:25:04.789Z] Successfully built 2660cb272d5c [2020-07-16T08:25:04.789Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-07-16T08:25:05.159Z] ---> Running in 17969497e7b1 [2020-07-16T08:25:05.160Z] Removing intermediate container 17969497e7b1 [2020-07-16T08:25:05.160Z] ---> 3661e2495fbe [2020-07-16T08:25:05.160Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T08:25:05.160Z] ---> Running in 7d2cf586fb08 [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-16T08:25:05.691Z] + docker inspect -f . ci-base-image-arm64 [2020-07-16T08:25:05.691Z] . [Pipeline] withDockerContainer [2020-07-16T08:25:05.990Z] prd-ubuntu18.04-docker-arm64-4c-16g-903 does not seem to be running inside a container [2020-07-16T08:25:06.077Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-07-16T08:25:06.104Z] Removing intermediate container 7d2cf586fb08 [2020-07-16T08:25:06.104Z] ---> 522413af284f [2020-07-16T08:25:06.104Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-16T08:25:06.104Z] ---> Running in 2e8d31f7e137 [2020-07-16T08:25:07.052Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-07-16T08:25:07.625Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-07-16T08:25:07.886Z] OK: 143 MiB in 39 packages [2020-07-16T08:25:07.979Z] $ docker top 60a5c4924e117ec1d9791209bc0835ac1d97532533ee0fe990d8a1a866d798d8 -eo pid,comm [2020-07-16T08:25:08.147Z] Removing intermediate container 2e8d31f7e137 [2020-07-16T08:25:08.147Z] ---> 22fc1627d14f [2020-07-16T08:25:08.147Z] Step 6/8 : WORKDIR /device-sdk-go [Pipeline] { [2020-07-16T08:25:08.408Z] ---> Running in d971a6a7c518 [2020-07-16T08:25:08.408Z] Removing intermediate container d971a6a7c518 [2020-07-16T08:25:08.408Z] ---> 0c995be5ffdd [2020-07-16T08:25:08.408Z] Step 7/8 : COPY . . [Pipeline] sh [2020-07-16T08:25:09.510Z] + go version [2020-07-16T08:25:09.510Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-07-16T08:25:09.803Z] ---> 62b61b4a7be9 [2020-07-16T08:25:09.803Z] Step 8/8 : RUN go mod download [2020-07-16T08:25:09.803Z] ---> Running in dcf89b6eee53 [2020-07-16T08:25:10.559Z] + make test [2020-07-16T08:25:10.559Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-16T08:25:11.552Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-16T08:25:11.718Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-16T08:25:11.718Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-16T08:25:11.718Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-16T08:25:11.718Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-16T08:25:11.718Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-16T08:25:11.718Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-16T08:25:11.982Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-16T08:25:11.982Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-16T08:25:11.982Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-16T08:25:11.982Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-16T08:25:11.982Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-16T08:25:11.982Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-16T08:25:11.982Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-16T08:25:11.982Z] go: finding github.com/fatih/color v1.7.0 [2020-07-16T08:25:11.982Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-16T08:25:11.982Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-16T08:25:11.982Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-16T08:25:11.982Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-16T08:25:12.244Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-16T08:25:12.244Z] go: finding github.com/google/uuid v1.1.0 [2020-07-16T08:25:12.244Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-16T08:25:12.244Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-16T08:25:12.244Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-16T08:25:12.244Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-16T08:25:12.244Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-16T08:25:12.244Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-16T08:25:12.244Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-16T08:25:12.244Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-16T08:25:12.244Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-16T08:25:12.244Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-16T08:25:12.504Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-16T08:25:12.504Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-16T08:25:12.504Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-16T08:25:12.504Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-16T08:25:12.504Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-16T08:25:12.504Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-16T08:25:12.504Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-16T08:25:12.504Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-16T08:25:12.504Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-16T08:25:12.504Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-16T08:25:12.504Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-16T08:25:12.504Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-16T08:25:12.504Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-16T08:25:12.766Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-16T08:25:12.766Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-16T08:25:12.766Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-16T08:25:12.766Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-16T08:25:12.766Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-16T08:25:12.766Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-16T08:25:12.766Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-16T08:25:12.766Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-16T08:25:12.766Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-16T08:25:12.766Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-16T08:25:12.766Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-16T08:25:12.766Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-16T08:25:13.031Z] go: finding github.com/posener/complete v1.1.1 [2020-07-16T08:25:13.031Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-16T08:25:13.031Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-16T08:25:13.031Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-16T08:25:13.031Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-16T08:25:13.031Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-16T08:25:13.031Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-16T08:25:13.031Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-16T08:25:13.031Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-16T08:25:13.031Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-16T08:25:13.031Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-16T08:25:13.031Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-16T08:25:13.295Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-16T08:25:19.902Z] Removing intermediate container dcf89b6eee53 [2020-07-16T08:25:19.902Z] ---> 3f6f9d2d78ea [2020-07-16T08:25:19.902Z] Successfully built 3f6f9d2d78ea [2020-07-16T08:25:19.902Z] 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-16T08:25:20.701Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-16T08:25:20.701Z] . [Pipeline] withDockerContainer [2020-07-16T08:25:20.819Z] prd-centos7-docker-4c-2g-904 does not seem to be running inside a container [2020-07-16T08:25:20.865Z] $ 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-16T08:25:21.995Z] $ docker top 42b8555627b783bee601fc3591ee62ee6e967af42b055dd517ffeb0f1306e155 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-16T08:25:22.495Z] + go version [2020-07-16T08:25:22.495Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-07-16T08:25:22.811Z] + make test [2020-07-16T08:25:22.811Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-16T08:25:23.765Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-16T08:25:33.875Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-16T08:25:33.875Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-16T08:25:33.875Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-16T08:25:33.875Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements [2020-07-16T08:25:34.834Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements [2020-07-16T08:25:43.965Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-16T08:25:43.965Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-16T08:25:43.965Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-16T08:25:43.965Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.019s coverage: 22.1% of statements [2020-07-16T08:25:43.965Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.158s coverage: 95.8% of statements [2020-07-16T08:26:07.014Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.096s coverage: 11.4% of statements [2020-07-16T08:26:07.014Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements [2020-07-16T08:26:07.014Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-16T08:26:07.014Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.084s coverage: 36.9% of statements [2020-07-16T08:26:07.014Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-16T08:26:07.014Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.301s coverage: 65.2% of statements [2020-07-16T08:26:07.014Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-16T08:26:07.014Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-16T08:26:07.014Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-16T08:26:07.014Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements [2020-07-16T08:26:07.014Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 68.9% of statements [2020-07-16T08:26:07.014Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-16T08:26:07.014Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-16T08:26:07.014Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-16T08:26:07.014Z] gofmt -l . [2020-07-16T08:26:07.014Z] [ "`gofmt -l .`" = "" ] [2020-07-16T08:26:07.014Z] ./bin/test-attribution-txt.sh [2020-07-16T08:26:07.964Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-16T08:26:08.246Z] Stashed 1 file(s) [Pipeline] } [2020-07-16T08:26:08.264Z] $ docker stop --time=1 42b8555627b783bee601fc3591ee62ee6e967af42b055dd517ffeb0f1306e155 [2020-07-16T08:26:09.793Z] $ docker rm -f 42b8555627b783bee601fc3591ee62ee6e967af42b055dd517ffeb0f1306e155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-16T08:26:12.781Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-16T08:26:13.092Z] + ls -al . [2020-07-16T08:26:13.093Z] total 184 [2020-07-16T08:26:13.093Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jul 16 08:26 . [2020-07-16T08:26:13.093Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 16 08:24 .. [2020-07-16T08:26:13.093Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 16 08:24 api [2020-07-16T08:26:13.093Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 16 08:24 bin [2020-07-16T08:26:13.093Z] -rw-r--r--. 1 jenkins jenkins 110877 Jul 16 08:26 coverage.out [2020-07-16T08:26:13.093Z] -rw-rw-r--. 1 jenkins jenkins 936 Jul 16 08:24 Dockerfile.build [2020-07-16T08:26:13.093Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 16 08:24 .dockerignore [2020-07-16T08:26:13.093Z] drwxrwxr-x. 4 jenkins jenkins 48 Jul 16 08:24 example [2020-07-16T08:26:13.093Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 16 08:24 .git [2020-07-16T08:26:13.093Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 16 08:24 .github [2020-07-16T08:26:13.093Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 16 08:24 .gitignore [2020-07-16T08:26:13.093Z] -rw-r--r--. 1 jenkins jenkins 446 Jul 16 08:26 go.mod [2020-07-16T08:26:13.093Z] -rw-r--r--. 1 jenkins jenkins 12179 Jul 16 08:26 go.sum [2020-07-16T08:26:13.093Z] drwxrwxr-x. 13 jenkins jenkins 184 Jul 16 08:24 internal [2020-07-16T08:26:13.093Z] -rw-rw-r--. 1 jenkins jenkins 808 Jul 16 08:24 Jenkinsfile [2020-07-16T08:26:13.093Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 16 08:24 LICENSE [2020-07-16T08:26:13.093Z] -rw-rw-r--. 1 jenkins jenkins 892 Jul 16 08:24 Makefile [2020-07-16T08:26:13.093Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 16 08:24 pkg [2020-07-16T08:26:13.093Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jul 16 08:24 README.md [2020-07-16T08:26:13.093Z] -rw-rw-r--. 1 jenkins jenkins 3997 Jul 16 08:24 RELEASE-NOTES.txt [2020-07-16T08:26:13.093Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 16 08:24 .semver [2020-07-16T08:26:13.093Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 16 08:24 snap [2020-07-16T08:26:13.093Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 16 08:22 VERSION [2020-07-16T08:26:13.093Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 16 08:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-16T08:26:13.445Z] + 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=0721519c55a4570ccb179bbeb57ede010bfd7d32 --label arch=amd64 --label version=0.0.0 . [2020-07-16T08:26:13.706Z] Sending build context to Docker daemon 3.232MB [2020-07-16T08:26:13.707Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-16T08:26:13.707Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-16T08:26:13.707Z] ---> 3f6f9d2d78ea [2020-07-16T08:26:13.707Z] Step 3/23 : ARG MAKE='make build' [2020-07-16T08:26:13.967Z] ---> Running in b81809db6352 [2020-07-16T08:26:14.230Z] Removing intermediate container b81809db6352 [2020-07-16T08:26:14.230Z] ---> 8632bf57d4d8 [2020-07-16T08:26:14.230Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-16T08:26:14.230Z] ---> Running in 36ff066e421b [2020-07-16T08:26:14.492Z] Removing intermediate container 36ff066e421b [2020-07-16T08:26:14.492Z] ---> 7c62502a5d81 [2020-07-16T08:26:14.492Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T08:26:14.492Z] ---> Running in 507add734479 [2020-07-16T08:26:14.752Z] Removing intermediate container 507add734479 [2020-07-16T08:26:14.753Z] ---> df4349e303b5 [2020-07-16T08:26:14.753Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T08:26:14.753Z] ---> Running in 3dc29aa6314d [2020-07-16T08:26:15.703Z] Removing intermediate container 3dc29aa6314d [2020-07-16T08:26:15.703Z] ---> bfbe1907d150 [2020-07-16T08:26:15.703Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-16T08:26:15.703Z] ---> Running in 34abc27a21cb [2020-07-16T08:26:15.965Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-07-16T08:26:16.310Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.045s coverage: 11.4% of statements [2020-07-16T08:26:16.310Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements [2020-07-16T08:26:16.310Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-16T08:26:16.310Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.167s coverage: 36.9% of statements [2020-07-16T08:26:16.310Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-16T08:26:16.310Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.652s coverage: 65.2% of statements [2020-07-16T08:26:16.310Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-16T08:26:16.310Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-16T08:26:16.310Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-16T08:26:16.310Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements [2020-07-16T08:26:16.310Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 68.9% of statements [2020-07-16T08:26:16.310Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-16T08:26:16.310Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-16T08:26:16.310Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-16T08:26:16.911Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-07-16T08:26:16.911Z] OK: 143 MiB in 39 packages [2020-07-16T08:26:17.174Z] Removing intermediate container 34abc27a21cb [2020-07-16T08:26:17.174Z] ---> f84fac7e1df0 [2020-07-16T08:26:17.174Z] Step 8/23 : COPY . . [2020-07-16T08:26:18.564Z] ---> 5cd47216273a [2020-07-16T08:26:18.564Z] Step 9/23 : RUN ${MAKE} [2020-07-16T08:26:18.564Z] ---> Running in 1d540e54e037 [2020-07-16T08:26:18.830Z] 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-16T08:26:19.707Z] gofmt -l . [2020-07-16T08:26:19.707Z] [ "`gofmt -l .`" = "" ] [2020-07-16T08:26:20.298Z] ./bin/test-attribution-txt.sh [2020-07-16T08:26:20.896Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-16T08:26:21.201Z] Warning: overwriting stash ‘coverage-report’ [2020-07-16T08:26:21.662Z] Stashed 1 file(s) [Pipeline] } [2020-07-16T08:26:21.678Z] $ docker stop --time=1 60a5c4924e117ec1d9791209bc0835ac1d97532533ee0fe990d8a1a866d798d8 [2020-07-16T08:26:23.768Z] $ docker rm -f 60a5c4924e117ec1d9791209bc0835ac1d97532533ee0fe990d8a1a866d798d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-16T08:26:25.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-16T08:26:25.526Z] + ls -al . [2020-07-16T08:26:25.526Z] total 224 [2020-07-16T08:26:25.526Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 16 08:26 . [2020-07-16T08:26:25.526Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 08:23 .. [2020-07-16T08:26:25.526Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 08:23 .dockerignore [2020-07-16T08:26:25.526Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 08:24 .git [2020-07-16T08:26:25.526Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 08:23 .github [2020-07-16T08:26:25.526Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 16 08:23 .gitignore [2020-07-16T08:26:25.526Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 08:24 .semver [2020-07-16T08:26:25.526Z] -rw-rw-r-- 1 jenkins jenkins 936 Jul 16 08:23 Dockerfile.build [2020-07-16T08:26:25.526Z] -rw-rw-r-- 1 jenkins jenkins 808 Jul 16 08:23 Jenkinsfile [2020-07-16T08:26:25.526Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 16 08:23 LICENSE [2020-07-16T08:26:25.526Z] -rw-rw-r-- 1 jenkins jenkins 892 Jul 16 08:23 Makefile [2020-07-16T08:26:25.526Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jul 16 08:23 README.md [2020-07-16T08:26:25.526Z] -rw-rw-r-- 1 jenkins jenkins 3997 Jul 16 08:23 RELEASE-NOTES.txt [2020-07-16T08:26:25.526Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 08:22 VERSION [2020-07-16T08:26:25.526Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 08:23 api [2020-07-16T08:26:25.526Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 08:23 bin [2020-07-16T08:26:25.526Z] -rw-r--r-- 1 jenkins jenkins 110877 Jul 16 08:26 coverage.out [2020-07-16T08:26:25.526Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 08:23 example [2020-07-16T08:26:25.526Z] -rw-r--r-- 1 jenkins jenkins 446 Jul 16 08:26 go.mod [2020-07-16T08:26:25.526Z] -rw-r--r-- 1 jenkins jenkins 12179 Jul 16 08:26 go.sum [2020-07-16T08:26:25.526Z] drwxrwxr-x 13 jenkins jenkins 4096 Jul 16 08:23 internal [2020-07-16T08:26:25.526Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 16 08:23 pkg [2020-07-16T08:26:25.526Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 08:23 snap [2020-07-16T08:26:25.526Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 16 08:23 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-16T08:26:25.883Z] + 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=0721519c55a4570ccb179bbeb57ede010bfd7d32 --label arch=arm64 --label version=0.0.0 . [2020-07-16T08:26:26.479Z] Sending build context to Docker daemon 3.232MB [2020-07-16T08:26:26.479Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-16T08:26:26.479Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-16T08:26:26.479Z] ---> 2660cb272d5c [2020-07-16T08:26:26.479Z] Step 3/23 : ARG MAKE='make build' [2020-07-16T08:26:26.749Z] ---> Running in a246916da613 [2020-07-16T08:26:27.020Z] Removing intermediate container a246916da613 [2020-07-16T08:26:27.020Z] ---> de00e28ca61b [2020-07-16T08:26:27.020Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-16T08:26:27.097Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-16T08:26:27.293Z] ---> Running in c194c1834609 [2020-07-16T08:26:27.565Z] Removing intermediate container c194c1834609 [2020-07-16T08:26:27.565Z] ---> a6abb541a338 [2020-07-16T08:26:27.565Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T08:26:27.837Z] ---> Running in 9590cbc8062e [2020-07-16T08:26:28.045Z] Removing intermediate container 1d540e54e037 [2020-07-16T08:26:28.045Z] ---> cc73027bac32 [2020-07-16T08:26:28.045Z] Step 10/23 : FROM scratch [2020-07-16T08:26:28.045Z] ---> [2020-07-16T08:26:28.045Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T08:26:28.045Z] ---> Running in db9ba1d90b92 [2020-07-16T08:26:28.045Z] Removing intermediate container db9ba1d90b92 [2020-07-16T08:26:28.045Z] ---> e0013b4c4461 [2020-07-16T08:26:28.045Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-16T08:26:28.045Z] ---> Running in 1369bb6eedda [2020-07-16T08:26:28.110Z] Removing intermediate container 9590cbc8062e [2020-07-16T08:26:28.110Z] ---> 5a2d65b32b90 [2020-07-16T08:26:28.110Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T08:26:28.388Z] ---> Running in 2ed32c9bc387 [2020-07-16T08:26:28.988Z] Removing intermediate container 1369bb6eedda [2020-07-16T08:26:28.988Z] ---> 56263b7174af [2020-07-16T08:26:28.988Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-16T08:26:28.988Z] ---> Running in a06c6248b564 [2020-07-16T08:26:29.248Z] Removing intermediate container a06c6248b564 [2020-07-16T08:26:29.248Z] ---> d17b04ae1745 [2020-07-16T08:26:29.248Z] Step 14/23 : WORKDIR / [2020-07-16T08:26:29.248Z] ---> Running in 67f076846e93 [2020-07-16T08:26:29.509Z] Removing intermediate container 67f076846e93 [2020-07-16T08:26:29.509Z] ---> ebd5eb2750b6 [2020-07-16T08:26:29.509Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-16T08:26:29.779Z] ---> 41a53fc1ecff [2020-07-16T08:26:29.779Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-16T08:26:30.041Z] ---> e4127981e2bf [2020-07-16T08:26:30.041Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-16T08:26:30.301Z] ---> 8bb985369db1 [2020-07-16T08:26:30.301Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-16T08:26:30.562Z] ---> daeb022eb3e1 [2020-07-16T08:26:30.562Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-16T08:26:30.823Z] ---> 14ae6487be47 [2020-07-16T08:26:30.823Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-16T08:26:30.823Z] ---> Running in 978c62d52b0b [2020-07-16T08:26:30.998Z] Removing intermediate container 2ed32c9bc387 [2020-07-16T08:26:30.998Z] ---> b2c11957d6cc [2020-07-16T08:26:30.998Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-16T08:26:30.998Z] ---> Running in 700e7d5d82e8 [2020-07-16T08:26:31.086Z] Removing intermediate container 978c62d52b0b [2020-07-16T08:26:31.086Z] ---> 0d14bdd5de8b [2020-07-16T08:26:31.086Z] Step 21/23 : LABEL arch=amd64 [2020-07-16T08:26:31.086Z] ---> Running in e15ea3f7c2f2 [2020-07-16T08:26:31.086Z] Removing intermediate container e15ea3f7c2f2 [2020-07-16T08:26:31.086Z] ---> 8505371d98d5 [2020-07-16T08:26:31.086Z] Step 22/23 : LABEL git_sha=0721519c55a4570ccb179bbeb57ede010bfd7d32 [2020-07-16T08:26:31.347Z] ---> Running in 7b07ac400fd4 [2020-07-16T08:26:31.347Z] Removing intermediate container 7b07ac400fd4 [2020-07-16T08:26:31.348Z] ---> 1ff3c6a09213 [2020-07-16T08:26:31.348Z] Step 23/23 : LABEL version=0.0.0 [2020-07-16T08:26:31.609Z] ---> Running in 0cf8ecd193c0 [2020-07-16T08:26:31.609Z] Removing intermediate container 0cf8ecd193c0 [2020-07-16T08:26:31.609Z] ---> 675f49100eda [2020-07-16T08:26:31.609Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-16T08:26:31.609Z] Successfully built 675f49100eda [2020-07-16T08:26:31.609Z] 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] } [2020-07-16T08:26:32.422Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-07-16T08:26:33.013Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [Pipeline] } [2020-07-16T08:26:33.611Z] OK: 125 MiB in 39 packages [2020-07-16T08:26:34.590Z] Removing intermediate container 700e7d5d82e8 [2020-07-16T08:26:34.590Z] ---> 082ea1baea5a [2020-07-16T08:26:34.590Z] Step 8/23 : COPY . . [2020-07-16T08:26:36.019Z] ---> d3ec422b43d7 [2020-07-16T08:26:36.019Z] Step 9/23 : RUN ${MAKE} [2020-07-16T08:26:36.019Z] ---> Running in 8040b2a17791 [2020-07-16T08:26:37.452Z] 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-16T08:27:04.251Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-16T08:27:04.251Z] Removing intermediate container 8040b2a17791 [2020-07-16T08:27:04.251Z] ---> 71e9b9c15405 [2020-07-16T08:27:04.251Z] Step 10/23 : FROM scratch [2020-07-16T08:27:04.251Z] ---> [2020-07-16T08:27:04.251Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T08:27:04.251Z] ---> Running in 7a17710e7211 [2020-07-16T08:27:04.251Z] Removing intermediate container 7a17710e7211 [2020-07-16T08:27:04.251Z] ---> d994249c9cf3 [2020-07-16T08:27:04.251Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-16T08:27:04.251Z] ---> Running in 92e60fde6c45 [2020-07-16T08:27:04.251Z] Removing intermediate container 92e60fde6c45 [2020-07-16T08:27:04.251Z] ---> 4ff51e0fab10 [2020-07-16T08:27:04.251Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-16T08:27:04.251Z] ---> Running in 4b3c013844a0 [2020-07-16T08:27:04.526Z] Removing intermediate container 4b3c013844a0 [2020-07-16T08:27:04.526Z] ---> 228fda08e92e [2020-07-16T08:27:04.526Z] Step 14/23 : WORKDIR / [2020-07-16T08:27:04.526Z] ---> Running in cd85c8b47cec [2020-07-16T08:27:05.119Z] Removing intermediate container cd85c8b47cec [2020-07-16T08:27:05.119Z] ---> e5c49b6d9e46 [2020-07-16T08:27:05.119Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-16T08:27:06.097Z] ---> 181a5d2959b1 [2020-07-16T08:27:06.097Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-16T08:27:06.697Z] ---> 50168a560fd7 [2020-07-16T08:27:06.697Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-16T08:27:07.671Z] ---> 86f95dbcf61f [2020-07-16T08:27:07.671Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-16T08:27:08.267Z] ---> 974c46d95ae6 [2020-07-16T08:27:08.267Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-16T08:27:08.866Z] ---> 33ed916b79ed [2020-07-16T08:27:08.866Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-16T08:27:08.866Z] ---> Running in 19c6ecd52f4e [2020-07-16T08:27:09.461Z] Removing intermediate container 19c6ecd52f4e [2020-07-16T08:27:09.461Z] ---> 51a800015171 [2020-07-16T08:27:09.461Z] Step 21/23 : LABEL arch=arm64 [2020-07-16T08:27:09.461Z] ---> Running in 23bf09892d84 [2020-07-16T08:27:10.059Z] Removing intermediate container 23bf09892d84 [2020-07-16T08:27:10.059Z] ---> 989f3e67a530 [2020-07-16T08:27:10.059Z] Step 22/23 : LABEL git_sha=0721519c55a4570ccb179bbeb57ede010bfd7d32 [2020-07-16T08:27:10.059Z] ---> Running in 5b07a54c2d15 [2020-07-16T08:27:10.332Z] Removing intermediate container 5b07a54c2d15 [2020-07-16T08:27:10.332Z] ---> c33b164e75a6 [2020-07-16T08:27:10.332Z] Step 23/23 : LABEL version=0.0.0 [2020-07-16T08:27:10.604Z] ---> Running in 812199cf329c [2020-07-16T08:27:10.877Z] Removing intermediate container 812199cf329c [2020-07-16T08:27:10.877Z] ---> da558d46a00f [2020-07-16T08:27:10.877Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-16T08:27:11.147Z] Successfully built da558d46a00f [2020-07-16T08:27:11.147Z] 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-16T08:27:13.243Z] provisioning config files... [2020-07-16T08:27:13.256Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/config4259479209873262130tmp [Pipeline] { [Pipeline] sh [2020-07-16T08:27:13.651Z] + curl -s https://codecov.io/bash [2020-07-16T08:27:13.652Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/config4259479209873262130tmp [Pipeline] } [2020-07-16T08:27:13.943Z] 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-16T08:27:15.793Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T08:27:16.386Z] ---> package-listing.sh [2020-07-16T08:27:16.386Z] ++ facter osfamily [2020-07-16T08:27:16.386Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-16T08:27:16.386Z] + OS_FAMILY=redhat [2020-07-16T08:27:16.386Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-551 [2020-07-16T08:27:16.386Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-16T08:27:16.386Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-16T08:27:16.386Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-16T08:27:16.386Z] + PACKAGES=/tmp/packages_start.txt [2020-07-16T08:27:16.386Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-551 ']' [2020-07-16T08:27:16.386Z] + PACKAGES=/tmp/packages_end.txt [2020-07-16T08:27:16.386Z] + case "${OS_FAMILY}" in [2020-07-16T08:27:16.386Z] + rpm -qa [2020-07-16T08:27:16.386Z] + sort [2020-07-16T08:27:20.630Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-16T08:27:20.630Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-16T08:27:20.630Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-16T08:27:20.630Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-551 ']' [2020-07-16T08:27:20.630Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-551/archives/ [2020-07-16T08:27:20.630Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-551/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-16T08:27:21.260Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-16T08:27:21.260Z] [2020-07-16T08:27:21.260Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-16T08:27:21.631Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-16T08:27:21.631Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-16T08:27:21.631Z] c9b1b535fdd9: Pulling fs layer [2020-07-16T08:27:21.631Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-16T08:27:21.631Z] 756a868c4378: Pulling fs layer [2020-07-16T08:27:21.631Z] 444b2fc9a129: Pulling fs layer [2020-07-16T08:27:21.631Z] ea15f1150254: Pulling fs layer [2020-07-16T08:27:21.631Z] 41b27a9f41bf: Pulling fs layer [2020-07-16T08:27:21.631Z] 28c525ee5125: Pulling fs layer [2020-07-16T08:27:21.631Z] 094b1ea09ed8: Pulling fs layer [2020-07-16T08:27:21.631Z] 138eaada9080: Pulling fs layer [2020-07-16T08:27:21.631Z] 0622d0fa9048: Pulling fs layer [2020-07-16T08:27:21.631Z] 28c525ee5125: Waiting [2020-07-16T08:27:21.631Z] 138eaada9080: Waiting [2020-07-16T08:27:21.631Z] 0622d0fa9048: Waiting [2020-07-16T08:27:21.631Z] 094b1ea09ed8: Waiting [2020-07-16T08:27:21.631Z] ea15f1150254: Waiting [2020-07-16T08:27:21.631Z] 41b27a9f41bf: Waiting [2020-07-16T08:27:21.631Z] 444b2fc9a129: Waiting [2020-07-16T08:27:21.631Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-16T08:27:21.631Z] 2cc5ad85d9ab: Download complete [2020-07-16T08:27:21.631Z] 444b2fc9a129: Download complete [2020-07-16T08:27:21.631Z] c9b1b535fdd9: Verifying Checksum [2020-07-16T08:27:21.631Z] ea15f1150254: Verifying Checksum [2020-07-16T08:27:21.631Z] ea15f1150254: Download complete [2020-07-16T08:27:21.913Z] 28c525ee5125: Verifying Checksum [2020-07-16T08:27:21.913Z] 28c525ee5125: Download complete [2020-07-16T08:27:22.204Z] 756a868c4378: Verifying Checksum [2020-07-16T08:27:22.204Z] 756a868c4378: Download complete [2020-07-16T08:27:22.204Z] c9b1b535fdd9: Pull complete [2020-07-16T08:27:22.488Z] 138eaada9080: Verifying Checksum [2020-07-16T08:27:22.488Z] 138eaada9080: Download complete [2020-07-16T08:27:22.488Z] 094b1ea09ed8: Verifying Checksum [2020-07-16T08:27:22.488Z] 094b1ea09ed8: Download complete [2020-07-16T08:27:22.488Z] 0622d0fa9048: Verifying Checksum [2020-07-16T08:27:22.488Z] 0622d0fa9048: Download complete [2020-07-16T08:27:22.758Z] 2cc5ad85d9ab: Pull complete [2020-07-16T08:27:22.758Z] 41b27a9f41bf: Verifying Checksum [2020-07-16T08:27:22.758Z] 41b27a9f41bf: Download complete [2020-07-16T08:27:24.178Z] 756a868c4378: Pull complete [2020-07-16T08:27:24.178Z] 444b2fc9a129: Pull complete [2020-07-16T08:27:24.454Z] ea15f1150254: Pull complete [2020-07-16T08:27:28.691Z] 41b27a9f41bf: Pull complete [2020-07-16T08:27:28.691Z] 28c525ee5125: Pull complete [2020-07-16T08:27:31.997Z] 094b1ea09ed8: Pull complete [2020-07-16T08:27:31.997Z] 138eaada9080: Pull complete [2020-07-16T08:27:31.997Z] 0622d0fa9048: Pull complete [2020-07-16T08:27:31.997Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-16T08:27:31.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-16T08:27:31.997Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-16T08:27:32.156Z] prd-centos7-docker-4c-2g-902 does not seem to be running inside a container [2020-07-16T08:27:32.199Z] $ 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-551 -v /w/workspace/dgexfoundry_device-sdk-go_PR-551:/w/workspace/dgexfoundry_device-sdk-go_PR-551:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-551@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-16T08:27:35.553Z] $ docker top e2367c03f2714a0f4afffd29d5ea26210cba08a1ececc4923c551c2ba343b970 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-16T08:27:35.845Z] provisioning config files... [2020-07-16T08:27:35.861Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/config4026702113549608303tmp [Pipeline] { [Pipeline] echo [2020-07-16T08:27:35.956Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T08:27:36.275Z] ---> create-netrc.sh [Pipeline] echo [2020-07-16T08:27:36.299Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T08:27:36.614Z] ---> logs-deploy.sh [2020-07-16T08:27:36.614Z] + ARCHIVE_ARTIFACTS= [2020-07-16T08:27:36.614Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-16T08:27:36.614Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-16T08:27:36.614Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-16T08:27:36.614Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-551/1 [2020-07-16T08:27:36.614Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-551/1/ [2020-07-16T08:27:36.614Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-551/1 /w/workspace/dgexfoundry_device-sdk-go_PR-551 [2020-07-16T08:27:38.001Z] Archives upload complete. [2020-07-16T08:27:38.001Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-551/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-551/1/