Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e7402411d8746a82393d3a19e59e88ef18696c65 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > 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 [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 ‘prd-centos7-docker-4c-2g-7872’ Running on prd-centos7-docker-4c-2g-7875 in /w/workspace/dgexfoundry_device-sdk-go_master [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 Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_master # 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/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/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/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision e7402411d8746a82393d3a19e59e88ef18696c65 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f e7402411d8746a82393d3a19e59e88ef18696c65 # timeout=10 Commit message: "Merge pull request #525 from cloudxxx8/issue-524" > git rev-list --no-walk 7338ff0b48ff778770e07d00465366aeceb26e1a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-05-11T16:24:29.798Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-11T16:24:30.064Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-05-11T16:24:30.155Z] ========================================================= [2020-05-11T16:24:30.155Z] EdgeX Global Pipelines Version Info [2020-05-11T16:24:30.155Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-05-11T16:24:31.739Z] ------------------- [2020-05-11T16:24:31.739Z] stable info: [2020-05-11T16:24:31.739Z] ------------------- [2020-05-11T16:24:31.739Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-11T16:24:31.739Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-11T16:24:31.739Z] Message: update stable to v1.0.87 [2020-05-11T16:24:32.314Z] ------------------- [2020-05-11T16:24:32.314Z] experimental info: [2020-05-11T16:24:32.314Z] ------------------- [2020-05-11T16:24:32.314Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-05-11T16:24:32.314Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-11T16:24:32.314Z] Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:24:34.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-11T16:24:34.786Z] [2020-05-11T16:24:34.786Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:24:35.150Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-11T16:24:35.150Z] latest: Pulling from edgex-devops/git-semver [2020-05-11T16:24:35.150Z] 9123ac7c32f7: Pulling fs layer [2020-05-11T16:24:35.150Z] b8cc5d1170e3: Pulling fs layer [2020-05-11T16:24:35.150Z] 2924cbbf6a41: Pulling fs layer [2020-05-11T16:24:35.150Z] 93b08a4f1073: Pulling fs layer [2020-05-11T16:24:35.150Z] 93b08a4f1073: Waiting [2020-05-11T16:24:35.150Z] b8cc5d1170e3: Verifying Checksum [2020-05-11T16:24:35.150Z] b8cc5d1170e3: Download complete [2020-05-11T16:24:35.418Z] 9123ac7c32f7: Verifying Checksum [2020-05-11T16:24:35.418Z] 9123ac7c32f7: Download complete [2020-05-11T16:24:35.418Z] 93b08a4f1073: Verifying Checksum [2020-05-11T16:24:35.418Z] 93b08a4f1073: Download complete [2020-05-11T16:24:35.418Z] 2924cbbf6a41: Verifying Checksum [2020-05-11T16:24:35.418Z] 2924cbbf6a41: Download complete [2020-05-11T16:24:35.680Z] 9123ac7c32f7: Pull complete [2020-05-11T16:24:35.942Z] b8cc5d1170e3: Pull complete [2020-05-11T16:24:36.888Z] 2924cbbf6a41: Pull complete [2020-05-11T16:24:36.888Z] 93b08a4f1073: Pull complete [2020-05-11T16:24:36.888Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-11T16:24:36.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-11T16:24:37.025Z] prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container [2020-05-11T16:24:37.078Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-11T16:24:37.705Z] $ docker top 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-11T16:24:38.000Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-11T16:24:38.000Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-11T16:24:38.245Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-11T16:24:38.252Z] $ docker exec 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 ssh-agent [2020-05-11T16:24:38.461Z] SSH_AUTH_SOCK=/tmp/ssh-iH0QaWLh69jU/agent.15 [2020-05-11T16:24:38.461Z] SSH_AGENT_PID=22 [2020-05-11T16:24:38.469Z] Running ssh-add (command line suppressed) [2020-05-11T16:24:38.621Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3443574599138673541.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3443574599138673541.key) [2020-05-11T16:24:38.676Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-11T16:24:39.008Z] + git describe --exact-match --tags HEAD [2020-05-11T16:24:39.008Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-11T16:24:39.065Z] $ docker exec --env ******** --env ******** 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 ssh-agent -k [2020-05-11T16:24:39.222Z] unset SSH_AUTH_SOCK; [2020-05-11T16:24:39.222Z] unset SSH_AGENT_PID; [2020-05-11T16:24:39.222Z] echo Agent pid 22 killed; [2020-05-11T16:24:39.261Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-11T16:24:39.328Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-11T16:24:39.328Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-11T16:24:39.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-11T16:24:39.424Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-11T16:24:39.650Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-11T16:24:39.658Z] $ docker exec 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 ssh-agent [2020-05-11T16:24:39.886Z] SSH_AUTH_SOCK=/tmp/ssh-1sSVkbWLbi1f/agent.58 [2020-05-11T16:24:39.886Z] SSH_AGENT_PID=65 [2020-05-11T16:24:39.893Z] Running ssh-add (command line suppressed) [2020-05-11T16:24:40.055Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8143449022259225237.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8143449022259225237.key) [2020-05-11T16:24:40.110Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-11T16:24:40.428Z] + git semver init [2020-05-11T16:24:40.429Z] # -> Open(): unable to determine branch for HEAD [2020-05-11T16:24:40.429Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-05-11T16:24:40.429Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-11T16:24:40.429Z] # $SEMVER_REMOTE_NAME = origin [2020-05-11T16:24:40.429Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-11T16:24:40.429Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-11T16:24:40.429Z] # $SEMVER_BRANCH = master [2020-05-11T16:24:40.429Z] # $SEMVER_TEMP = /tmp/semver-754279756 [2020-05-11T16:24:40.429Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-05-11T16:24:41.368Z] # '/tmp/semver-754279756' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-05-11T16:24:41.368Z] # -> Force: false [2020-05-11T16:24:41.368Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-05-11T16:24:41.381Z] $ docker exec --env ******** --env ******** 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 ssh-agent -k [2020-05-11T16:24:41.530Z] unset SSH_AUTH_SOCK; [2020-05-11T16:24:41.530Z] unset SSH_AGENT_PID; [2020-05-11T16:24:41.531Z] echo Agent pid 65 killed; [2020-05-11T16:24:41.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-11T16:24:42.041Z] + git semver [Pipeline] } [2020-05-11T16:24:42.059Z] $ docker stop --time=1 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 [2020-05-11T16:24:43.500Z] $ docker rm -f 94090923e158f7242f5588a4ae2975849f1dda430efac5da7c584a359460c140 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-11T16:24:44.479Z] Stashed 58 file(s) [Pipeline] echo [2020-05-11T16:24:44.481Z] [edgeXSemver] initialized semver on version 1.2.1-dev.4 [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-05-11T16:24:59.718Z] Still waiting to schedule task [2020-05-11T16:24:59.718Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-05-11T16:24:59.719Z] Still waiting to schedule task [2020-05-11T16:24:59.719Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-7873’ [2020-05-11T16:26:54.314Z] Running on prd-centos7-docker-4c-2g-7876 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-05-11T16:26:54.353Z] Running in /w/workspace/device-sdk-go/40 [Pipeline] { [Pipeline] checkout [2020-05-11T16:26:56.724Z] using credential edgex-jenkins-ssh [2020-05-11T16:26:56.816Z] Cloning the remote Git repository [2020-05-11T16:26:56.816Z] Cloning with configured refspecs honoured and without tags [2020-05-11T16:26:56.246Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-05-11T16:26:56.283Z] > git init /w/workspace/device-sdk-go/40 # timeout=10 [2020-05-11T16:26:56.325Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-11T16:26:56.326Z] > git --version # timeout=10 [2020-05-11T16:26:56.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T16:26:57.678Z] Fetching without tags [2020-05-11T16:26:56.379Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T16:26:57.092Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-11T16:26:57.099Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T16:26:57.112Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-11T16:26:57.146Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-11T16:26:57.146Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T16:26:57.185Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T16:26:58.107Z] Checking out Revision e7402411d8746a82393d3a19e59e88ef18696c65 (master) [2020-05-11T16:26:57.613Z] > git config core.sparsecheckout # timeout=10 [2020-05-11T16:26:57.619Z] > git checkout -f e7402411d8746a82393d3a19e59e88ef18696c65 # timeout=10 [2020-05-11T16:27:01.858Z] Commit message: "Merge pull request #525 from cloudxxx8/issue-524" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-11T16:27:02.835Z] ========================================================= [2020-05-11T16:27:02.836Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-05-11T16:27:02.836Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:27:03.475Z] + 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-05-11T16:27:03.740Z] Sending build context to Docker daemon 3.047MB [2020-05-11T16:27:03.740Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-05-11T16:27:03.740Z] Step 2/8 : FROM ${BASE} [2020-05-11T16:27:03.740Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-05-11T16:27:03.740Z] e6b0cf9c0882: Pulling fs layer [2020-05-11T16:27:03.740Z] 2848faf0eed1: Pulling fs layer [2020-05-11T16:27:03.740Z] 0f37312ad70f: Pulling fs layer [2020-05-11T16:27:03.740Z] 5788d62ee057: Pulling fs layer [2020-05-11T16:27:03.740Z] 0e6b1d234666: Pulling fs layer [2020-05-11T16:27:03.740Z] bf5d7aec512f: Pulling fs layer [2020-05-11T16:27:03.740Z] 34c802a77dc8: Pulling fs layer [2020-05-11T16:27:03.740Z] 9eb99e56ec68: Pulling fs layer [2020-05-11T16:27:03.740Z] 27c7a5d97fbd: Pulling fs layer [2020-05-11T16:27:03.740Z] 5c102a31e300: Pulling fs layer [2020-05-11T16:27:03.740Z] dcfb455df0a1: Pulling fs layer [2020-05-11T16:27:03.740Z] 34c802a77dc8: Waiting [2020-05-11T16:27:03.740Z] 9eb99e56ec68: Waiting [2020-05-11T16:27:03.740Z] 5788d62ee057: Waiting [2020-05-11T16:27:03.740Z] dcfb455df0a1: Waiting [2020-05-11T16:27:03.740Z] 0e6b1d234666: Waiting [2020-05-11T16:27:03.740Z] bf5d7aec512f: Waiting [2020-05-11T16:27:03.740Z] 0f37312ad70f: Verifying Checksum [2020-05-11T16:27:03.740Z] 0f37312ad70f: Download complete [2020-05-11T16:27:03.740Z] 2848faf0eed1: Verifying Checksum [2020-05-11T16:27:03.740Z] 2848faf0eed1: Download complete [2020-05-11T16:27:03.740Z] 0e6b1d234666: Verifying Checksum [2020-05-11T16:27:03.740Z] 0e6b1d234666: Download complete [2020-05-11T16:27:03.740Z] bf5d7aec512f: Verifying Checksum [2020-05-11T16:27:03.740Z] bf5d7aec512f: Download complete [2020-05-11T16:27:03.740Z] e6b0cf9c0882: Verifying Checksum [2020-05-11T16:27:03.740Z] e6b0cf9c0882: Download complete [2020-05-11T16:27:04.326Z] e6b0cf9c0882: Pull complete [2020-05-11T16:27:04.326Z] 2848faf0eed1: Pull complete [2020-05-11T16:27:04.913Z] 34c802a77dc8: Verifying Checksum [2020-05-11T16:27:04.913Z] 34c802a77dc8: Download complete [2020-05-11T16:27:05.177Z] 5c102a31e300: Verifying Checksum [2020-05-11T16:27:05.177Z] 5c102a31e300: Download complete [2020-05-11T16:27:05.439Z] dcfb455df0a1: Verifying Checksum [2020-05-11T16:27:05.439Z] dcfb455df0a1: Download complete [2020-05-11T16:27:05.697Z] 9eb99e56ec68: Verifying Checksum [2020-05-11T16:27:05.697Z] 9eb99e56ec68: Download complete [2020-05-11T16:27:05.697Z] 5788d62ee057: Download complete [2020-05-11T16:27:06.636Z] 0f37312ad70f: Pull complete [2020-05-11T16:27:13.218Z] 5788d62ee057: Pull complete [2020-05-11T16:27:13.218Z] 0e6b1d234666: Pull complete [2020-05-11T16:27:13.218Z] bf5d7aec512f: Pull complete [2020-05-11T16:27:18.506Z] 34c802a77dc8: Pull complete [2020-05-11T16:27:21.804Z] 9eb99e56ec68: Pull complete [2020-05-11T16:27:21.804Z] 27c7a5d97fbd: Pull complete [2020-05-11T16:27:22.752Z] 5c102a31e300: Pull complete [2020-05-11T16:27:22.752Z] dcfb455df0a1: Pull complete [2020-05-11T16:27:23.012Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-05-11T16:27:23.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-05-11T16:27:23.012Z] ---> 7c70fe431013 [2020-05-11T16:27:23.012Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-11T16:27:23.012Z] ---> Running in 5a53a9aafbc6 [2020-05-11T16:27:23.012Z] Removing intermediate container 5a53a9aafbc6 [2020-05-11T16:27:23.012Z] ---> 3e28a479a84f [2020-05-11T16:27:23.012Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-11T16:27:23.272Z] ---> Running in 34f3529c2e54 [2020-05-11T16:27:24.655Z] Removing intermediate container 34f3529c2e54 [2020-05-11T16:27:24.655Z] ---> c4f736f94255 [2020-05-11T16:27:24.655Z] Step 5/8 : RUN apk add --no-cache make git [2020-05-11T16:27:24.655Z] ---> Running in ec7249bfb664 [2020-05-11T16:27:24.917Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-11T16:27:26.301Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-11T16:27:28.205Z] OK: 143 MiB in 39 packages [2020-05-11T16:27:28.464Z] Removing intermediate container ec7249bfb664 [2020-05-11T16:27:28.464Z] ---> 3fad15ef7737 [2020-05-11T16:27:28.464Z] Step 6/8 : WORKDIR /device-sdk-go [2020-05-11T16:27:28.464Z] ---> Running in 1074fd30dcb3 [2020-05-11T16:27:28.727Z] Removing intermediate container 1074fd30dcb3 [2020-05-11T16:27:28.727Z] ---> 650dac639723 [2020-05-11T16:27:28.727Z] Step 7/8 : COPY . . [2020-05-11T16:27:29.300Z] ---> 6b98664275d1 [2020-05-11T16:27:29.300Z] Step 8/8 : RUN go mod download [2020-05-11T16:27:29.300Z] ---> Running in 4a30c0f5ecbb [2020-05-11T16:27:30.684Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-11T16:27:30.946Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-11T16:27:30.946Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-11T16:27:30.946Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-11T16:27:30.946Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-11T16:27:30.946Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-11T16:27:30.946Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-11T16:27:30.946Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-11T16:27:30.946Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-11T16:27:30.946Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-11T16:27:30.946Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-11T16:27:30.946Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-11T16:27:30.946Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-11T16:27:30.946Z] go: finding github.com/fatih/color v1.7.0 [2020-05-11T16:27:30.946Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-11T16:27:30.946Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-11T16:27:30.946Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-11T16:27:30.946Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-11T16:27:30.946Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-11T16:27:30.946Z] go: finding github.com/google/uuid v1.1.0 [2020-05-11T16:27:30.946Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-11T16:27:30.946Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-11T16:27:31.206Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-11T16:27:31.206Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-11T16:27:31.206Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-11T16:27:31.206Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-11T16:27:31.206Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-11T16:27:31.206Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-11T16:27:31.206Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-11T16:27:31.206Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-11T16:27:31.206Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-11T16:27:31.206Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-11T16:27:31.206Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-11T16:27:31.206Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-11T16:27:31.206Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-11T16:27:31.206Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-11T16:27:31.206Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-11T16:27:31.206Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-11T16:27:31.206Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-11T16:27:31.206Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-11T16:27:31.206Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-11T16:27:31.206Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-11T16:27:31.206Z] go: finding github.com/posener/complete v1.1.1 [2020-05-11T16:27:31.206Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-11T16:27:31.206Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-11T16:27:31.206Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-11T16:27:31.206Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-11T16:27:31.206Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-11T16:27:31.206Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-11T16:27:31.206Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-11T16:27:31.206Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-11T16:27:31.206Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-11T16:27:31.206Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-11T16:27:31.467Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-11T16:27:31.467Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-11T16:27:36.770Z] Removing intermediate container 4a30c0f5ecbb [2020-05-11T16:27:36.770Z] ---> d80463b291c5 [2020-05-11T16:27:36.770Z] Successfully built d80463b291c5 [2020-05-11T16:27:36.770Z] 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-05-11T16:27:37.487Z] + docker inspect -f . ci-base-image-x86_64 [2020-05-11T16:27:37.487Z] . [Pipeline] withDockerContainer [2020-05-11T16:27:37.621Z] prd-centos7-docker-4c-2g-7876 does not seem to be running inside a container [2020-05-11T16:27:37.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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 ******** ci-base-image-x86_64 cat [2020-05-11T16:27:38.387Z] $ docker top bdd9fc1048a7dfb7f3dbb580c1526164f244830532a3601962a40ea48a90f869 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-11T16:27:39.445Z] + go version [2020-05-11T16:27:39.445Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-05-11T16:27:40.010Z] + make test [2020-05-11T16:27:40.010Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-11T16:27:40.584Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-05-11T16:27:50.661Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-05-11T16:27:50.661Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-05-11T16:27:50.661Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-05-11T16:27:50.661Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 22.1% of statements [2020-05-11T16:27:53.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.061s coverage: 95.8% of statements [2020-05-11T16:28:26.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.023s coverage: 11.4% of statements [2020-05-11T16:28:26.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.008s coverage: 21.7% of statements [2020-05-11T16:28:26.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-05-11T16:28:26.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.101s coverage: 36.9% of statements [2020-05-11T16:28:26.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-05-11T16:28:26.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-05-11T16:28:26.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.475s coverage: 65.2% of statements [2020-05-11T16:28:26.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-05-11T16:28:26.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-05-11T16:28:26.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-05-11T16:28:26.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.030s coverage: 52.6% of statements [2020-05-11T16:28:26.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-05-11T16:28:26.406Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.141s coverage: 68.9% of statements [2020-05-11T16:28:26.406Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-05-11T16:28:26.406Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-05-11T16:28:26.406Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-11T16:28:26.406Z] gofmt -l . [2020-05-11T16:28:26.406Z] [ "`gofmt -l .`" = "" ] [2020-05-11T16:28:26.406Z] ./bin/test-attribution-txt.sh [2020-05-11T16:28:26.406Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-05-11T16:28:26.604Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-7877 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-05-11T16:28:26.649Z] Running in /w/workspace/device-sdk-go/40 [Pipeline] { [Pipeline] checkout [2020-05-11T16:28:26.770Z] Stashed 1 file(s) [Pipeline] } [2020-05-11T16:28:26.776Z] $ docker stop --time=1 bdd9fc1048a7dfb7f3dbb580c1526164f244830532a3601962a40ea48a90f869 [2020-05-11T16:28:28.300Z] $ docker rm -f bdd9fc1048a7dfb7f3dbb580c1526164f244830532a3601962a40ea48a90f869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-11T16:28:29.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-11T16:28:29.665Z] + ls -al . [2020-05-11T16:28:29.665Z] total 180 [2020-05-11T16:28:29.665Z] drwxrwxr-x. 11 jenkins jenkins 4096 May 11 16:28 . [2020-05-11T16:28:29.665Z] drwxrwxr-x. 4 jenkins jenkins 30 May 11 16:26 .. [2020-05-11T16:28:29.665Z] drwxrwxr-x. 3 jenkins jenkins 20 May 11 16:26 api [2020-05-11T16:28:29.665Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 16:26 bin [2020-05-11T16:28:29.665Z] -rw-r--r--. 1 jenkins jenkins 110877 May 11 16:28 coverage.out [2020-05-11T16:28:29.665Z] -rw-rw-r--. 1 jenkins jenkins 936 May 11 16:26 Dockerfile.build [2020-05-11T16:28:29.665Z] -rw-rw-r--. 1 jenkins jenkins 140 May 11 16:26 .dockerignore [2020-05-11T16:28:29.665Z] drwxrwxr-x. 4 jenkins jenkins 48 May 11 16:26 example [2020-05-11T16:28:29.665Z] drwxrwxr-x. 8 jenkins jenkins 162 May 11 16:27 .git [2020-05-11T16:28:29.665Z] drwxrwxr-x. 2 jenkins jenkins 38 May 11 16:26 .github [2020-05-11T16:28:29.665Z] -rw-rw-r--. 1 jenkins jenkins 138 May 11 16:26 .gitignore [2020-05-11T16:28:29.665Z] -rw-r--r--. 1 jenkins jenkins 446 May 11 16:28 go.mod [2020-05-11T16:28:29.665Z] -rw-r--r--. 1 jenkins jenkins 12179 May 11 16:28 go.sum [2020-05-11T16:28:29.665Z] drwxrwxr-x. 15 jenkins jenkins 217 May 11 16:26 internal [2020-05-11T16:28:29.665Z] -rw-rw-r--. 1 jenkins jenkins 808 May 11 16:26 Jenkinsfile [2020-05-11T16:28:29.665Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 11 16:26 LICENSE [2020-05-11T16:28:29.665Z] -rw-rw-r--. 1 jenkins jenkins 892 May 11 16:26 Makefile [2020-05-11T16:28:29.665Z] drwxrwxr-x. 5 jenkins jenkins 50 May 11 16:26 pkg [2020-05-11T16:28:29.665Z] -rw-rw-r--. 1 jenkins jenkins 3189 May 11 16:26 README.md [2020-05-11T16:28:29.665Z] -rw-rw-r--. 1 jenkins jenkins 3733 May 11 16:26 RELEASE-NOTES.txt [2020-05-11T16:28:29.665Z] drwxrwxr-x. 3 jenkins jenkins 44 May 11 16:27 .semver [2020-05-11T16:28:29.665Z] drwxrwxr-x. 4 jenkins jenkins 54 May 11 16:26 snap [2020-05-11T16:28:29.665Z] -rw-rw-r--. 1 jenkins jenkins 11 May 11 16:24 VERSION [2020-05-11T16:28:29.665Z] -rw-rw-r--. 1 jenkins jenkins 222 May 11 16:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:28:29.967Z] + 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=e7402411d8746a82393d3a19e59e88ef18696c65 --label arch=amd64 --label version=1.2.1-dev.4 . [2020-05-11T16:28:30.229Z] Sending build context to Docker daemon 3.175MB [2020-05-11T16:28:30.229Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-05-11T16:28:30.229Z] Step 2/21 : FROM ${BASE} AS builder [2020-05-11T16:28:30.229Z] ---> d80463b291c5 [2020-05-11T16:28:30.229Z] Step 3/21 : ARG MAKE='make build' [2020-05-11T16:28:30.229Z] ---> Running in 31684173a20d [2020-05-11T16:28:30.488Z] Removing intermediate container 31684173a20d [2020-05-11T16:28:30.488Z] ---> bcc1d244a30b [2020-05-11T16:28:30.488Z] Step 4/21 : WORKDIR /device-sdk-go [2020-05-11T16:28:30.488Z] ---> Running in 73f0a193a4ab [2020-05-11T16:28:30.488Z] Removing intermediate container 73f0a193a4ab [2020-05-11T16:28:30.488Z] ---> 9e6f378bfbac [2020-05-11T16:28:30.488Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-11T16:28:30.747Z] ---> Running in 6f418427ce4f [2020-05-11T16:28:30.747Z] Removing intermediate container 6f418427ce4f [2020-05-11T16:28:30.747Z] ---> a7065e21ce55 [2020-05-11T16:28:30.747Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-11T16:28:30.747Z] ---> Running in 762928f8e924 [2020-05-11T16:28:31.690Z] Removing intermediate container 762928f8e924 [2020-05-11T16:28:31.690Z] ---> a56415ca23e7 [2020-05-11T16:28:31.690Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-05-11T16:28:31.690Z] ---> Running in 517e5b2503b4 [2020-05-11T16:28:31.950Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-11T16:28:32.650Z] using credential edgex-jenkins-ssh [2020-05-11T16:28:32.717Z] Cloning the remote Git repository [2020-05-11T16:28:32.717Z] Cloning with configured refspecs honoured and without tags [2020-05-11T16:28:32.806Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-05-11T16:28:32.898Z] > git init /w/workspace/device-sdk-go/40 # timeout=10 [2020-05-11T16:28:32.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-11T16:28:32.993Z] > git --version # timeout=10 [2020-05-11T16:28:33.075Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T16:28:34.248Z] Fetching without tags [2020-05-11T16:28:33.144Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T16:28:34.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-11T16:28:34.187Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T16:28:34.228Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-11T16:28:34.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-11T16:28:34.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T16:28:34.276Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T16:28:34.970Z] Checking out Revision e7402411d8746a82393d3a19e59e88ef18696c65 (master) [2020-05-11T16:28:34.993Z] > git config core.sparsecheckout # timeout=10 [2020-05-11T16:28:35.014Z] > git checkout -f e7402411d8746a82393d3a19e59e88ef18696c65 # timeout=10 [2020-05-11T16:28:36.159Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-11T16:28:39.450Z] OK: 143 MiB in 39 packages [2020-05-11T16:28:39.660Z] Commit message: "Merge pull request #525 from cloudxxx8/issue-524" [2020-05-11T16:28:40.021Z] Removing intermediate container 517e5b2503b4 [2020-05-11T16:28:40.021Z] ---> b7439831dc6a [2020-05-11T16:28:40.021Z] Step 8/21 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2020-05-11T16:28:40.284Z] ---> 408b4a7a76ea [2020-05-11T16:28:40.284Z] Step 9/21 : RUN ${MAKE} [2020-05-11T16:28:40.284Z] ---> Running in 301b842ae0ae [Pipeline] unstash [2020-05-11T16:28:40.865Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.1-dev.4" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] echo [2020-05-11T16:28:41.082Z] ========================================================= [2020-05-11T16:28:41.082Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-05-11T16:28:41.082Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:28:42.259Z] + 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-05-11T16:28:43.235Z] Sending build context to Docker daemon 3.049MB [2020-05-11T16:28:43.235Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-05-11T16:28:43.235Z] Step 2/8 : FROM ${BASE} [2020-05-11T16:28:43.506Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-05-11T16:28:43.507Z] cde5963f3b93: Pulling fs layer [2020-05-11T16:28:43.507Z] 2a23fa8c16f7: Pulling fs layer [2020-05-11T16:28:43.507Z] 777b28850792: Pulling fs layer [2020-05-11T16:28:43.507Z] 8a11ddd9e578: Pulling fs layer [2020-05-11T16:28:43.507Z] 4cf88f913ddb: Pulling fs layer [2020-05-11T16:28:43.507Z] 1df406cf5192: Pulling fs layer [2020-05-11T16:28:43.507Z] cd6300453558: Pulling fs layer [2020-05-11T16:28:43.507Z] b9c365052c96: Pulling fs layer [2020-05-11T16:28:43.507Z] a2d8cc88f415: Pulling fs layer [2020-05-11T16:28:43.507Z] ea1d1ca13537: Pulling fs layer [2020-05-11T16:28:43.507Z] 3750a50a1c5e: Pulling fs layer [2020-05-11T16:28:43.507Z] 1df406cf5192: Waiting [2020-05-11T16:28:43.507Z] cd6300453558: Waiting [2020-05-11T16:28:43.507Z] b9c365052c96: Waiting [2020-05-11T16:28:43.507Z] a2d8cc88f415: Waiting [2020-05-11T16:28:43.507Z] ea1d1ca13537: Waiting [2020-05-11T16:28:43.507Z] 3750a50a1c5e: Waiting [2020-05-11T16:28:43.507Z] 8a11ddd9e578: Waiting [2020-05-11T16:28:43.507Z] 4cf88f913ddb: Waiting [2020-05-11T16:28:43.507Z] 777b28850792: Download complete [2020-05-11T16:28:43.507Z] 2a23fa8c16f7: Download complete [2020-05-11T16:28:43.778Z] 4cf88f913ddb: Verifying Checksum [2020-05-11T16:28:43.778Z] 4cf88f913ddb: Download complete [2020-05-11T16:28:43.778Z] 1df406cf5192: Download complete [2020-05-11T16:28:43.778Z] cde5963f3b93: Verifying Checksum [2020-05-11T16:28:43.778Z] cde5963f3b93: Download complete [2020-05-11T16:28:45.216Z] cde5963f3b93: Pull complete [2020-05-11T16:28:45.812Z] 2a23fa8c16f7: Pull complete [2020-05-11T16:28:46.406Z] 777b28850792: Pull complete [2020-05-11T16:28:48.370Z] cd6300453558: Verifying Checksum [2020-05-11T16:28:48.370Z] cd6300453558: Download complete [2020-05-11T16:28:48.370Z] a2d8cc88f415: Verifying Checksum [2020-05-11T16:28:48.370Z] a2d8cc88f415: Download complete [2020-05-11T16:28:49.037Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-05-11T16:28:50.418Z] Removing intermediate container 301b842ae0ae [2020-05-11T16:28:50.418Z] ---> 0c4f557e4c62 [2020-05-11T16:28:50.418Z] Step 10/21 : FROM scratch [2020-05-11T16:28:50.418Z] ---> [2020-05-11T16:28:50.418Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-11T16:28:50.418Z] ---> Running in 94b56b3e839c [2020-05-11T16:28:50.418Z] Removing intermediate container 94b56b3e839c [2020-05-11T16:28:50.418Z] ---> 4e083500cf3a [2020-05-11T16:28:50.418Z] Step 12/21 : ENV APP_PORT=49990 [2020-05-11T16:28:50.418Z] ---> Running in c7e603625080 [2020-05-11T16:28:50.418Z] Removing intermediate container c7e603625080 [2020-05-11T16:28:50.418Z] ---> a4b2c4a3693c [2020-05-11T16:28:50.418Z] Step 13/21 : EXPOSE $APP_PORT [2020-05-11T16:28:50.681Z] ---> Running in 6f8d94e8b739 [2020-05-11T16:28:50.681Z] Removing intermediate container 6f8d94e8b739 [2020-05-11T16:28:50.681Z] ---> 7a1fdf975deb [2020-05-11T16:28:50.681Z] Step 14/21 : WORKDIR / [2020-05-11T16:28:50.681Z] ---> Running in 604173b2533c [2020-05-11T16:28:50.950Z] Removing intermediate container 604173b2533c [2020-05-11T16:28:50.950Z] ---> ab3ae2901526 [2020-05-11T16:28:50.950Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-05-11T16:28:50.963Z] ea1d1ca13537: Verifying Checksum [2020-05-11T16:28:50.963Z] ea1d1ca13537: Download complete [2020-05-11T16:28:50.963Z] 3750a50a1c5e: Verifying Checksum [2020-05-11T16:28:50.963Z] 3750a50a1c5e: Download complete [2020-05-11T16:28:51.209Z] ---> 3203c3e59aac [2020-05-11T16:28:51.209Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-05-11T16:28:51.470Z] ---> 2dbcac497dcb [2020-05-11T16:28:51.470Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-05-11T16:28:51.731Z] ---> 2514bd587124 [2020-05-11T16:28:51.731Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-05-11T16:28:51.731Z] ---> Running in eca02c8837fa [2020-05-11T16:28:51.991Z] Removing intermediate container eca02c8837fa [2020-05-11T16:28:51.991Z] ---> 5cbef7aaa687 [2020-05-11T16:28:51.991Z] Step 19/21 : LABEL arch=amd64 [2020-05-11T16:28:51.991Z] ---> Running in 3650c241a5e3 [2020-05-11T16:28:51.991Z] Removing intermediate container 3650c241a5e3 [2020-05-11T16:28:51.991Z] ---> 08853a369ed1 [2020-05-11T16:28:51.991Z] Step 20/21 : LABEL git_sha=e7402411d8746a82393d3a19e59e88ef18696c65 [2020-05-11T16:28:52.252Z] ---> Running in d57908ce865e [2020-05-11T16:28:52.252Z] Removing intermediate container d57908ce865e [2020-05-11T16:28:52.252Z] ---> f1d3de460179 [2020-05-11T16:28:52.252Z] Step 21/21 : LABEL version=1.2.1-dev.4 [2020-05-11T16:28:52.252Z] ---> Running in 3673e6c200e2 [2020-05-11T16:28:52.512Z] Removing intermediate container 3673e6c200e2 [2020-05-11T16:28:52.512Z] ---> eb6311e70952 [2020-05-11T16:28:52.512Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-11T16:28:52.512Z] Successfully built eb6311e70952 [2020-05-11T16:28:52.512Z] 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-05-11T16:28:53.553Z] b9c365052c96: Verifying Checksum [2020-05-11T16:28:53.553Z] b9c365052c96: Download complete [2020-05-11T16:28:55.510Z] 8a11ddd9e578: Verifying Checksum [2020-05-11T16:28:55.510Z] 8a11ddd9e578: Download complete [2020-05-11T16:29:07.908Z] 8a11ddd9e578: Pull complete [2020-05-11T16:29:07.908Z] 4cf88f913ddb: Pull complete [2020-05-11T16:29:07.908Z] 1df406cf5192: Pull complete [2020-05-11T16:29:12.193Z] cd6300453558: Pull complete [2020-05-11T16:29:17.544Z] b9c365052c96: Pull complete [2020-05-11T16:29:17.544Z] a2d8cc88f415: Pull complete [2020-05-11T16:29:19.500Z] ea1d1ca13537: Pull complete [2020-05-11T16:29:19.500Z] 3750a50a1c5e: Pull complete [2020-05-11T16:29:19.500Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-05-11T16:29:19.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-05-11T16:29:19.769Z] ---> 78745c68409d [2020-05-11T16:29:19.769Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-11T16:29:24.071Z] ---> Running in 58df2fed32bb [2020-05-11T16:29:24.668Z] Removing intermediate container 58df2fed32bb [2020-05-11T16:29:24.668Z] ---> 7be2bb03fb01 [2020-05-11T16:29:24.668Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-11T16:29:24.668Z] ---> Running in 54b7a39d4119 [2020-05-11T16:29:27.282Z] Removing intermediate container 54b7a39d4119 [2020-05-11T16:29:27.282Z] ---> 3e68eff22116 [2020-05-11T16:29:27.282Z] Step 5/8 : RUN apk add --no-cache make git [2020-05-11T16:29:27.282Z] ---> Running in bcbb12ebaaeb [2020-05-11T16:29:27.872Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-11T16:29:29.821Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-11T16:29:31.234Z] OK: 125 MiB in 39 packages [2020-05-11T16:29:32.206Z] Removing intermediate container bcbb12ebaaeb [2020-05-11T16:29:32.206Z] ---> f588c3d83bcd [2020-05-11T16:29:32.206Z] Step 6/8 : WORKDIR /device-sdk-go [2020-05-11T16:29:32.474Z] ---> Running in 3a368905395c [2020-05-11T16:29:32.743Z] Removing intermediate container 3a368905395c [2020-05-11T16:29:32.743Z] ---> 4ebecd92834b [2020-05-11T16:29:32.743Z] Step 7/8 : COPY . . [2020-05-11T16:29:34.156Z] ---> 8660ca0eb616 [2020-05-11T16:29:34.156Z] Step 8/8 : RUN go mod download [2020-05-11T16:29:34.156Z] ---> Running in 86469135606c [2020-05-11T16:29:36.117Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-11T16:29:36.117Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-11T16:29:36.117Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-11T16:29:36.117Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-11T16:29:36.117Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-11T16:29:36.117Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-11T16:29:36.117Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-11T16:29:36.117Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-11T16:29:36.117Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-11T16:29:36.118Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-11T16:29:36.118Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-11T16:29:36.118Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-11T16:29:36.118Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-11T16:29:36.118Z] go: finding github.com/fatih/color v1.7.0 [2020-05-11T16:29:36.118Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-11T16:29:36.118Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-11T16:29:36.118Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-11T16:29:36.118Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-11T16:29:36.118Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-11T16:29:36.118Z] go: finding github.com/google/uuid v1.1.0 [2020-05-11T16:29:36.118Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-11T16:29:36.118Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-11T16:29:36.118Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-11T16:29:36.118Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-11T16:29:36.118Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-11T16:29:36.118Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-11T16:29:36.118Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-11T16:29:36.118Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-11T16:29:36.118Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-11T16:29:36.387Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-11T16:29:36.387Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-11T16:29:36.387Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-11T16:29:36.387Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-11T16:29:36.387Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-11T16:29:36.387Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-11T16:29:36.387Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-11T16:29:36.387Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-11T16:29:36.387Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-11T16:29:36.387Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-11T16:29:36.387Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-11T16:29:36.387Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-11T16:29:36.387Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-11T16:29:36.387Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-11T16:29:36.387Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-11T16:29:36.387Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-11T16:29:36.387Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-11T16:29:36.387Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-11T16:29:36.387Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-11T16:29:36.387Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-11T16:29:36.387Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-11T16:29:36.387Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-11T16:29:36.387Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-11T16:29:36.387Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-11T16:29:36.387Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-11T16:29:36.387Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-11T16:29:36.387Z] go: finding github.com/posener/complete v1.1.1 [2020-05-11T16:29:36.656Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-11T16:29:36.656Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-11T16:29:36.656Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-11T16:29:36.656Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-11T16:29:36.656Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-11T16:29:36.656Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-11T16:29:36.656Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-11T16:29:36.656Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-11T16:29:36.656Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-11T16:29:36.656Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-11T16:29:36.656Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-11T16:29:36.656Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-11T16:29:46.758Z] Removing intermediate container 86469135606c [2020-05-11T16:29:46.758Z] ---> 619a965e7bd4 [2020-05-11T16:29:46.758Z] Successfully built 619a965e7bd4 [2020-05-11T16:29:46.758Z] 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-05-11T16:29:47.545Z] + docker inspect -f . ci-base-image-arm64 [2020-05-11T16:29:47.814Z] . [Pipeline] withDockerContainer [2020-05-11T16:29:48.216Z] prd-ubuntu18.04-docker-arm64-4c-16g-7877 does not seem to be running inside a container [2020-05-11T16:29:48.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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 ******** ci-base-image-arm64 cat [2020-05-11T16:29:49.864Z] $ docker top 8719e3076bb500f165d3bcf67cb62aca928459adcb2adf1f47d36a948381cc92 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-11T16:29:51.012Z] + go version [2020-05-11T16:29:51.012Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-05-11T16:29:51.688Z] + make test [2020-05-11T16:29:51.688Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-11T16:29:53.105Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-05-11T16:30:25.411Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-05-11T16:30:25.411Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-05-11T16:30:25.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-05-11T16:30:25.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 22.1% of statements [2020-05-11T16:30:28.795Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.169s coverage: 95.8% of statements [2020-05-11T16:31:01.087Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.110s coverage: 11.4% of statements [2020-05-11T16:31:01.087Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 21.7% of statements [2020-05-11T16:31:01.087Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-05-11T16:31:01.087Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.167s coverage: 36.9% of statements [2020-05-11T16:31:01.087Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-05-11T16:31:01.087Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-05-11T16:31:01.087Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.478s coverage: 65.2% of statements [2020-05-11T16:31:01.087Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-05-11T16:31:01.087Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-05-11T16:31:01.087Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-05-11T16:31:01.087Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements [2020-05-11T16:31:01.087Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-05-11T16:31:01.087Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.366s coverage: 68.9% of statements [2020-05-11T16:31:01.087Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-05-11T16:31:01.087Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-05-11T16:31:01.087Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-11T16:31:05.365Z] gofmt -l . [2020-05-11T16:31:05.365Z] [ "`gofmt -l .`" = "" ] [2020-05-11T16:31:05.632Z] ./bin/test-attribution-txt.sh [2020-05-11T16:31:06.597Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-05-11T16:31:06.881Z] Warning: overwriting stash ‘coverage-report’ [2020-05-11T16:31:07.405Z] Stashed 1 file(s) [Pipeline] } [2020-05-11T16:31:07.413Z] $ docker stop --time=1 8719e3076bb500f165d3bcf67cb62aca928459adcb2adf1f47d36a948381cc92 [2020-05-11T16:31:09.800Z] $ docker rm -f 8719e3076bb500f165d3bcf67cb62aca928459adcb2adf1f47d36a948381cc92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-11T16:31:11.211Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-11T16:31:11.538Z] + ls -al . [2020-05-11T16:31:11.538Z] total 220 [2020-05-11T16:31:11.538Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 16:31 . [2020-05-11T16:31:11.538Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 16:28 .. [2020-05-11T16:31:11.538Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 16:28 .dockerignore [2020-05-11T16:31:11.538Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 16:28 .git [2020-05-11T16:31:11.538Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 16:28 .github [2020-05-11T16:31:11.538Z] -rw-rw-r-- 1 jenkins jenkins 138 May 11 16:28 .gitignore [2020-05-11T16:31:11.538Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:28 .semver [2020-05-11T16:31:11.538Z] -rw-rw-r-- 1 jenkins jenkins 936 May 11 16:28 Dockerfile.build [2020-05-11T16:31:11.538Z] -rw-rw-r-- 1 jenkins jenkins 808 May 11 16:28 Jenkinsfile [2020-05-11T16:31:11.538Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 11 16:28 LICENSE [2020-05-11T16:31:11.538Z] -rw-rw-r-- 1 jenkins jenkins 892 May 11 16:28 Makefile [2020-05-11T16:31:11.538Z] -rw-rw-r-- 1 jenkins jenkins 3189 May 11 16:28 README.md [2020-05-11T16:31:11.538Z] -rw-rw-r-- 1 jenkins jenkins 3733 May 11 16:28 RELEASE-NOTES.txt [2020-05-11T16:31:11.538Z] -rw-rw-r-- 1 jenkins jenkins 11 May 11 16:24 VERSION [2020-05-11T16:31:11.538Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:28 api [2020-05-11T16:31:11.538Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 16:28 bin [2020-05-11T16:31:11.538Z] -rw-r--r-- 1 jenkins jenkins 110877 May 11 16:30 coverage.out [2020-05-11T16:31:11.538Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 16:28 example [2020-05-11T16:31:11.538Z] -rw-r--r-- 1 jenkins jenkins 446 May 11 16:31 go.mod [2020-05-11T16:31:11.538Z] -rw-r--r-- 1 jenkins jenkins 12179 May 11 16:31 go.sum [2020-05-11T16:31:11.538Z] drwxrwxr-x 15 jenkins jenkins 4096 May 11 16:28 internal [2020-05-11T16:31:11.538Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 16:28 pkg [2020-05-11T16:31:11.538Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 16:28 snap [2020-05-11T16:31:11.538Z] -rw-rw-r-- 1 jenkins jenkins 222 May 11 16:28 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:31:12.137Z] + 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=e7402411d8746a82393d3a19e59e88ef18696c65 --label arch=arm64 --label version=1.2.1-dev.4 . [2020-05-11T16:31:12.442Z] Sending build context to Docker daemon 3.177MB [2020-05-11T16:31:12.442Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-05-11T16:31:12.442Z] Step 2/21 : FROM ${BASE} AS builder [2020-05-11T16:31:12.442Z] ---> 619a965e7bd4 [2020-05-11T16:31:12.442Z] Step 3/21 : ARG MAKE='make build' [2020-05-11T16:31:12.718Z] ---> Running in ed4e438ca52a [2020-05-11T16:31:13.318Z] Removing intermediate container ed4e438ca52a [2020-05-11T16:31:13.318Z] ---> f64934e08ae4 [2020-05-11T16:31:13.318Z] Step 4/21 : WORKDIR /device-sdk-go [2020-05-11T16:31:13.593Z] ---> Running in cf64e6a8dbe4 [2020-05-11T16:31:13.867Z] Removing intermediate container cf64e6a8dbe4 [2020-05-11T16:31:13.867Z] ---> 1da0374d823b [2020-05-11T16:31:13.867Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-11T16:31:14.145Z] ---> Running in 9969e5922a94 [2020-05-11T16:31:14.414Z] Removing intermediate container 9969e5922a94 [2020-05-11T16:31:14.414Z] ---> d5cfb424e13e [2020-05-11T16:31:14.414Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-11T16:31:14.684Z] ---> Running in d39f7fac51da [2020-05-11T16:31:16.659Z] Removing intermediate container d39f7fac51da [2020-05-11T16:31:16.659Z] ---> 8ce6b1517766 [2020-05-11T16:31:16.659Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-05-11T16:31:16.659Z] ---> Running in 2057627365f6 [2020-05-11T16:31:17.626Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-11T16:31:20.222Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-11T16:31:22.171Z] OK: 125 MiB in 39 packages [2020-05-11T16:31:23.587Z] Removing intermediate container 2057627365f6 [2020-05-11T16:31:23.587Z] ---> 97748a5fc465 [2020-05-11T16:31:23.587Z] Step 8/21 : COPY . . [2020-05-11T16:31:25.002Z] ---> d03cbdaa41d3 [2020-05-11T16:31:25.002Z] Step 9/21 : RUN ${MAKE} [2020-05-11T16:31:25.002Z] ---> Running in a7d2319f0870 [2020-05-11T16:31:25.974Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.1-dev.4" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-05-11T16:31:52.725Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-05-11T16:31:52.725Z] Removing intermediate container a7d2319f0870 [2020-05-11T16:31:52.725Z] ---> 1b69326a5c4f [2020-05-11T16:31:52.725Z] Step 10/21 : FROM scratch [2020-05-11T16:31:52.725Z] ---> [2020-05-11T16:31:52.725Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-11T16:31:52.725Z] ---> Running in 083e8762f1f2 [2020-05-11T16:31:52.725Z] Removing intermediate container 083e8762f1f2 [2020-05-11T16:31:52.725Z] ---> 2bb8c27b182b [2020-05-11T16:31:52.725Z] Step 12/21 : ENV APP_PORT=49990 [2020-05-11T16:31:52.725Z] ---> Running in 03d18b7e4e7d [2020-05-11T16:31:52.725Z] Removing intermediate container 03d18b7e4e7d [2020-05-11T16:31:52.725Z] ---> b86b7d6d5c4b [2020-05-11T16:31:52.725Z] Step 13/21 : EXPOSE $APP_PORT [2020-05-11T16:31:52.725Z] ---> Running in 81241f6d1fcc [2020-05-11T16:31:52.725Z] Removing intermediate container 81241f6d1fcc [2020-05-11T16:31:52.725Z] ---> 5b5bb5393b8b [2020-05-11T16:31:52.725Z] Step 14/21 : WORKDIR / [2020-05-11T16:31:52.725Z] ---> Running in 7c80a967176e [2020-05-11T16:31:53.310Z] Removing intermediate container 7c80a967176e [2020-05-11T16:31:53.310Z] ---> 1147fbcef1c0 [2020-05-11T16:31:53.310Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-05-11T16:31:54.272Z] ---> 6feb34152682 [2020-05-11T16:31:54.272Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-05-11T16:31:54.860Z] ---> 1c2ac3b58f3e [2020-05-11T16:31:54.860Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-05-11T16:31:55.450Z] ---> 6329ade95b4b [2020-05-11T16:31:55.450Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-05-11T16:31:55.450Z] ---> Running in b8dc3217226b [2020-05-11T16:31:56.038Z] Removing intermediate container b8dc3217226b [2020-05-11T16:31:56.038Z] ---> 837214ac38dd [2020-05-11T16:31:56.038Z] Step 19/21 : LABEL arch=arm64 [2020-05-11T16:31:56.038Z] ---> Running in aa42e2266f92 [2020-05-11T16:31:56.307Z] Removing intermediate container aa42e2266f92 [2020-05-11T16:31:56.307Z] ---> 8ae20e42070c [2020-05-11T16:31:56.307Z] Step 20/21 : LABEL git_sha=e7402411d8746a82393d3a19e59e88ef18696c65 [2020-05-11T16:31:56.575Z] ---> Running in 909220f03127 [2020-05-11T16:31:56.843Z] Removing intermediate container 909220f03127 [2020-05-11T16:31:56.843Z] ---> 4e33629924bc [2020-05-11T16:31:56.843Z] Step 21/21 : LABEL version=1.2.1-dev.4 [2020-05-11T16:31:56.843Z] ---> Running in d9f2f6943a77 [2020-05-11T16:31:57.429Z] Removing intermediate container d9f2f6943a77 [2020-05-11T16:31:57.429Z] ---> fc006d17a489 [2020-05-11T16:31:57.429Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-11T16:31:57.429Z] Successfully built fc006d17a489 [2020-05-11T16:31:57.429Z] 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-05-11T16:31:58.647Z] provisioning config files... [2020-05-11T16:31:58.660Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6860904900655968521tmp [Pipeline] { [Pipeline] sh [2020-05-11T16:31:59.024Z] + curl -s https://codecov.io/bash [2020-05-11T16:31:59.024Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6860904900655968521tmp [2020-05-11T16:31:59.283Z] [2020-05-11T16:31:59.283Z] _____ _ [2020-05-11T16:31:59.283Z] / ____| | | [2020-05-11T16:31:59.283Z] | | ___ __| | ___ ___ _____ __ [2020-05-11T16:31:59.283Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-05-11T16:31:59.283Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-05-11T16:31:59.283Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-05-11T16:31:59.283Z] Bash-tbd [2020-05-11T16:31:59.283Z] [2020-05-11T16:31:59.283Z] [2020-05-11T16:31:59.283Z] ==> Jenkins CI detected. [2020-05-11T16:31:59.283Z] project root: . [2020-05-11T16:31:59.283Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-05-11T16:31:59.283Z] ==> Running gcov in . (disable via -X gcov) [2020-05-11T16:31:59.283Z] ==> Python coveragepy not found [2020-05-11T16:31:59.283Z] ==> Searching for coverage reports in: [2020-05-11T16:31:59.283Z] + . [2020-05-11T16:31:59.283Z] -> Found 1 reports [2020-05-11T16:31:59.283Z] ==> Detecting git/mercurial file structure [2020-05-11T16:31:59.283Z] ==> Reading reports [2020-05-11T16:31:59.283Z] + ./coverage.out bytes=110877 [2020-05-11T16:31:59.283Z] ==> Appending adjustments [2020-05-11T16:31:59.283Z] http://docs.codecov.io/docs/fixing-reports [2020-05-11T16:31:59.853Z] + Found adjustments [2020-05-11T16:31:59.853Z] ==> Gzipping contents [2020-05-11T16:31:59.853Z] ==> Uploading reports [2020-05-11T16:31:59.853Z] url: https://codecov.io [2020-05-11T16:31:59.853Z] query: branch=master&commit=e7402411d8746a82393d3a19e59e88ef18696c65&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-05-11T16:31:59.853Z] -> Pinging Codecov [2020-05-11T16:31:59.853Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=e7402411d8746a82393d3a19e59e88ef18696c65&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-05-11T16:32:00.114Z] -> Uploading [2020-05-11T16:32:00.695Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e7402411d8746a82393d3a19e59e88ef18696c65 [Pipeline] } [2020-05-11T16:32:00.702Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-05-11T16:32:01.037Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-05-11T16:32:01.038Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-05-11T16:32:01.088Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:32:01.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-05-11T16:32:01.451Z] [2020-05-11T16:32:01.451Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:32:01.797Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-05-11T16:32:02.066Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-05-11T16:32:02.066Z] cbdbe7a5bc2a: Pulling fs layer [2020-05-11T16:32:02.066Z] 408f87550127: Pulling fs layer [2020-05-11T16:32:02.066Z] fe522b08c979: Pulling fs layer [2020-05-11T16:32:02.066Z] 221eaa008020: Pulling fs layer [2020-05-11T16:32:02.066Z] 2a4607e5d6b9: Pulling fs layer [2020-05-11T16:32:02.066Z] 95d3c3421fef: Pulling fs layer [2020-05-11T16:32:02.066Z] 2fec7dd152b6: Pulling fs layer [2020-05-11T16:32:02.066Z] d65e43aa86fe: Pulling fs layer [2020-05-11T16:32:02.066Z] 10a7cc25405e: Pulling fs layer [2020-05-11T16:32:02.066Z] 2a4607e5d6b9: Waiting [2020-05-11T16:32:02.066Z] 95d3c3421fef: Waiting [2020-05-11T16:32:02.066Z] 2fec7dd152b6: Waiting [2020-05-11T16:32:02.066Z] d65e43aa86fe: Waiting [2020-05-11T16:32:02.066Z] 10a7cc25405e: Waiting [2020-05-11T16:32:02.066Z] 221eaa008020: Waiting [2020-05-11T16:32:02.066Z] fe522b08c979: Verifying Checksum [2020-05-11T16:32:02.066Z] fe522b08c979: Download complete [2020-05-11T16:32:02.066Z] 408f87550127: Verifying Checksum [2020-05-11T16:32:02.066Z] 408f87550127: Download complete [2020-05-11T16:32:02.066Z] 2a4607e5d6b9: Verifying Checksum [2020-05-11T16:32:02.066Z] 2a4607e5d6b9: Download complete [2020-05-11T16:32:02.066Z] 95d3c3421fef: Verifying Checksum [2020-05-11T16:32:02.066Z] 95d3c3421fef: Download complete [2020-05-11T16:32:02.066Z] cbdbe7a5bc2a: Verifying Checksum [2020-05-11T16:32:02.066Z] cbdbe7a5bc2a: Download complete [2020-05-11T16:32:02.679Z] 2fec7dd152b6: Verifying Checksum [2020-05-11T16:32:02.679Z] 2fec7dd152b6: Download complete [2020-05-11T16:32:02.679Z] cbdbe7a5bc2a: Pull complete [2020-05-11T16:32:02.979Z] 408f87550127: Pull complete [2020-05-11T16:32:03.255Z] d65e43aa86fe: Verifying Checksum [2020-05-11T16:32:03.255Z] d65e43aa86fe: Download complete [2020-05-11T16:32:03.255Z] fe522b08c979: Pull complete [2020-05-11T16:32:03.517Z] 10a7cc25405e: Verifying Checksum [2020-05-11T16:32:03.517Z] 10a7cc25405e: Download complete [2020-05-11T16:32:04.462Z] 221eaa008020: Verifying Checksum [2020-05-11T16:32:04.462Z] 221eaa008020: Download complete [2020-05-11T16:32:12.614Z] 221eaa008020: Pull complete [2020-05-11T16:32:12.614Z] 2a4607e5d6b9: Pull complete [2020-05-11T16:32:12.614Z] 95d3c3421fef: Pull complete [2020-05-11T16:32:14.540Z] 2fec7dd152b6: Pull complete [2020-05-11T16:32:17.104Z] d65e43aa86fe: Pull complete [2020-05-11T16:32:18.499Z] 10a7cc25405e: Pull complete [2020-05-11T16:32:18.500Z] Digest: sha256:f69c3a2814e8191a177e5024c1aa2982a1df1c15a1f5ff5a42290ad3eeac8c0b [2020-05-11T16:32:18.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-05-11T16:32:18.692Z] prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container [2020-05-11T16:32:18.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-05-11T16:32:19.589Z] $ docker top 13e8a62fd99b5b3f4ce3750227e6081f3d5bb3a3e1093f1c73c4150b53dd1b6d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-11T16:32:20.220Z] + snyk monitor '--org=edgex-jenkins' [2020-05-11T16:32:28.370Z] [2020-05-11T16:32:28.370Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-05-11T16:32:28.370Z] [2020-05-11T16:32:28.370Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/e8ff66ea-cfff-4829-b414-b639572d148c [2020-05-11T16:32:28.370Z] [2020-05-11T16:32:28.370Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-05-11T16:32:28.370Z] [2020-05-11T16:32:29.753Z] [Pipeline] } [2020-05-11T16:32:29.769Z] $ docker stop --time=1 13e8a62fd99b5b3f4ce3750227e6081f3d5bb3a3e1093f1c73c4150b53dd1b6d [2020-05-11T16:32:31.202Z] $ docker rm -f 13e8a62fd99b5b3f4ce3750227e6081f3d5bb3a3e1093f1c73c4150b53dd1b6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:32:32.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-11T16:32:32.572Z] . [Pipeline] withDockerContainer [2020-05-11T16:32:32.693Z] prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container [2020-05-11T16:32:32.749Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-11T16:32:33.378Z] $ docker top df0b19bf03f09d216f80c4490679b50cca57fda563dcec91afeeb44b125705ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-11T16:32:33.667Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-11T16:32:33.667Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-11T16:32:33.885Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-11T16:32:33.895Z] $ docker exec df0b19bf03f09d216f80c4490679b50cca57fda563dcec91afeeb44b125705ab ssh-agent [2020-05-11T16:32:34.123Z] SSH_AUTH_SOCK=/tmp/ssh-OB6RtdpcLZFG/agent.15 [2020-05-11T16:32:34.123Z] SSH_AGENT_PID=21 [2020-05-11T16:32:34.130Z] Running ssh-add (command line suppressed) [2020-05-11T16:32:34.299Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3070603766749313469.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3070603766749313469.key) [2020-05-11T16:32:34.354Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-11T16:32:34.698Z] + git semver tag [2020-05-11T16:32:34.698Z] # -> Open(): unable to determine branch for HEAD [2020-05-11T16:32:34.698Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-05-11T16:32:34.698Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-11T16:32:34.698Z] # $SEMVER_REMOTE_NAME = origin [2020-05-11T16:32:34.698Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-11T16:32:34.698Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-11T16:32:34.698Z] # $SEMVER_BRANCH = master [2020-05-11T16:32:34.698Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-05-11T16:32:34.698Z] # e7402411d8746a82393d3a19e59e88ef18696c65 HEAD [2020-05-11T16:32:34.957Z] # -> Force: false [2020-05-11T16:32:34.957Z] # 78380365ef24d4b5167b6c4c55b1413b092cc44f refs/tags/v1.2.1-dev.4 [Pipeline] } [2020-05-11T16:32:34.969Z] $ docker exec --env ******** --env ******** df0b19bf03f09d216f80c4490679b50cca57fda563dcec91afeeb44b125705ab ssh-agent -k [2020-05-11T16:32:35.117Z] unset SSH_AUTH_SOCK; [2020-05-11T16:32:35.118Z] unset SSH_AGENT_PID; [2020-05-11T16:32:35.118Z] echo Agent pid 21 killed; [2020-05-11T16:32:35.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-11T16:32:35.641Z] + git semver [Pipeline] } [2020-05-11T16:32:35.660Z] $ docker stop --time=1 df0b19bf03f09d216f80c4490679b50cca57fda563dcec91afeeb44b125705ab [2020-05-11T16:32:37.027Z] $ docker rm -f df0b19bf03f09d216f80c4490679b50cca57fda563dcec91afeeb44b125705ab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:32:37.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-05-11T16:32:37.616Z] [2020-05-11T16:32:37.616Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:32:37.949Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-05-11T16:32:37.949Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-05-11T16:32:37.949Z] ab5ef0e58194: Pulling fs layer [2020-05-11T16:32:37.949Z] 9712f1f96733: Pulling fs layer [2020-05-11T16:32:37.949Z] 63f879dbbcfc: Pulling fs layer [2020-05-11T16:32:37.949Z] 0d9ebad4ef96: Pulling fs layer [2020-05-11T16:32:37.949Z] e9a5061849ea: Pulling fs layer [2020-05-11T16:32:37.949Z] d747dcd14b5f: Pulling fs layer [2020-05-11T16:32:37.949Z] 2de7ff778b66: Pulling fs layer [2020-05-11T16:32:37.949Z] 0d9ebad4ef96: Waiting [2020-05-11T16:32:37.949Z] e9a5061849ea: Waiting [2020-05-11T16:32:37.949Z] d747dcd14b5f: Waiting [2020-05-11T16:32:37.949Z] 2de7ff778b66: Waiting [2020-05-11T16:32:37.949Z] 9712f1f96733: Verifying Checksum [2020-05-11T16:32:37.949Z] 9712f1f96733: Download complete [2020-05-11T16:32:38.532Z] 63f879dbbcfc: Verifying Checksum [2020-05-11T16:32:38.532Z] 63f879dbbcfc: Download complete [2020-05-11T16:32:38.797Z] e9a5061849ea: Verifying Checksum [2020-05-11T16:32:38.797Z] e9a5061849ea: Download complete [2020-05-11T16:32:38.797Z] d747dcd14b5f: Verifying Checksum [2020-05-11T16:32:38.797Z] d747dcd14b5f: Download complete [2020-05-11T16:32:39.058Z] 2de7ff778b66: Verifying Checksum [2020-05-11T16:32:39.058Z] 2de7ff778b66: Download complete [2020-05-11T16:32:39.058Z] 0d9ebad4ef96: Verifying Checksum [2020-05-11T16:32:39.058Z] 0d9ebad4ef96: Download complete [2020-05-11T16:32:39.325Z] ab5ef0e58194: Verifying Checksum [2020-05-11T16:32:39.325Z] ab5ef0e58194: Download complete [2020-05-11T16:32:43.531Z] ab5ef0e58194: Pull complete [2020-05-11T16:32:43.531Z] 9712f1f96733: Pull complete [2020-05-11T16:32:46.076Z] 63f879dbbcfc: Pull complete [2020-05-11T16:32:52.666Z] 0d9ebad4ef96: Pull complete [2020-05-11T16:32:52.666Z] e9a5061849ea: Pull complete [2020-05-11T16:32:52.666Z] d747dcd14b5f: Pull complete [2020-05-11T16:32:57.952Z] 2de7ff778b66: Pull complete [2020-05-11T16:32:57.952Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-05-11T16:32:57.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-05-11T16:32:58.087Z] prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container [2020-05-11T16:32:58.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-05-11T16:32:59.804Z] $ docker top de0786f9b1bff6398ab7a801b64b514503fada12684b2d48fdcf4f2c6c1d77bb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-05-11T16:33:00.129Z] provisioning config files... [2020-05-11T16:33:00.139Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1919779948799259153tmp [2020-05-11T16:33:00.153Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7643003447915457539tmp [2020-05-11T16:33:00.167Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7462349590374181235tmp [Pipeline] { [Pipeline] echo [2020-05-11T16:33:00.223Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T16:33:00.526Z] ---> sigul-configuration.sh [2020-05-11T16:33:00.526Z] gpg: directory `/root/.gnupg' created [2020-05-11T16:33:00.526Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-05-11T16:33:00.526Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-05-11T16:33:00.526Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-05-11T16:33:00.526Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-05-11T16:33:00.526Z] gpg: CAST5 encrypted data [2020-05-11T16:33:00.786Z] gpg: encrypted with 1 passphrase [2020-05-11T16:33:00.786Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-05-11T16:33:01.082Z] + mkdir /home/jenkins [2020-05-11T16:33:01.082Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-05-11T16:33:01.380Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-05-11T16:33:01.386Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T16:33:01.690Z] ---> sigul-install.sh [2020-05-11T16:33:06.974Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-05-11T16:33:07.272Z] + git tag --list [2020-05-11T16:33:07.272Z] v1.2.1-dev.4 [Pipeline] sh [2020-05-11T16:33:07.607Z] + lftools sign git-tag v1.2.1-dev.4 [2020-05-11T16:33:08.594Z] Signing Git tag with Sigul... [2020-05-11T16:33:08.594Z] Signing v1.2.1-dev.4 [Pipeline] echo [2020-05-11T16:33:09.996Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T16:33:10.288Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-05-11T16:33:10.294Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-05-11T16:33:10.407Z] $ docker stop --time=1 de0786f9b1bff6398ab7a801b64b514503fada12684b2d48fdcf4f2c6c1d77bb [2020-05-11T16:33:11.819Z] $ docker rm -f de0786f9b1bff6398ab7a801b64b514503fada12684b2d48fdcf4f2c6c1d77bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:33:12.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-11T16:33:12.632Z] . [Pipeline] withDockerContainer [2020-05-11T16:33:12.759Z] prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container [2020-05-11T16:33:12.808Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-11T16:33:13.397Z] $ docker top 5a88280a3621030d32a0c88fa709a6719bfcbdb4e1a6363bbd83021ab634de51 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-11T16:33:13.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-11T16:33:13.732Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-11T16:33:13.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-11T16:33:13.964Z] $ docker exec 5a88280a3621030d32a0c88fa709a6719bfcbdb4e1a6363bbd83021ab634de51 ssh-agent [2020-05-11T16:33:14.193Z] SSH_AUTH_SOCK=/tmp/ssh-1uSyFNNPPwWw/agent.15 [2020-05-11T16:33:14.193Z] SSH_AGENT_PID=22 [2020-05-11T16:33:14.201Z] Running ssh-add (command line suppressed) [2020-05-11T16:33:14.367Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9043190791061463145.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9043190791061463145.key) [2020-05-11T16:33:14.423Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-11T16:33:14.762Z] + git semver bump pre [2020-05-11T16:33:14.763Z] # -> Open(): unable to determine branch for HEAD [2020-05-11T16:33:14.763Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-05-11T16:33:14.763Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-11T16:33:14.763Z] # $SEMVER_REMOTE_NAME = origin [2020-05-11T16:33:14.763Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-11T16:33:14.763Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-11T16:33:14.763Z] # $SEMVER_BRANCH = master [2020-05-11T16:33:14.763Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-05-11T16:33:14.763Z] 1.2.1-dev.5 [Pipeline] } [2020-05-11T16:33:14.776Z] $ docker exec --env ******** --env ******** 5a88280a3621030d32a0c88fa709a6719bfcbdb4e1a6363bbd83021ab634de51 ssh-agent -k [2020-05-11T16:33:14.932Z] unset SSH_AUTH_SOCK; [2020-05-11T16:33:14.932Z] unset SSH_AGENT_PID; [2020-05-11T16:33:14.932Z] echo Agent pid 22 killed; [2020-05-11T16:33:14.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-11T16:33:15.457Z] + git semver [Pipeline] } [2020-05-11T16:33:15.474Z] $ docker stop --time=1 5a88280a3621030d32a0c88fa709a6719bfcbdb4e1a6363bbd83021ab634de51 [2020-05-11T16:33:16.843Z] $ docker rm -f 5a88280a3621030d32a0c88fa709a6719bfcbdb4e1a6363bbd83021ab634de51 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:33:17.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-11T16:33:17.386Z] . [Pipeline] withDockerContainer [2020-05-11T16:33:17.520Z] prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container [2020-05-11T16:33:17.570Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-11T16:33:18.242Z] $ docker top fb3001b4a8f655c667c68817a8907b1c8daf5c24589b04ae80e92b59930fc75b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-11T16:33:18.582Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-11T16:33:18.582Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-11T16:33:18.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-11T16:33:18.822Z] $ docker exec fb3001b4a8f655c667c68817a8907b1c8daf5c24589b04ae80e92b59930fc75b ssh-agent [2020-05-11T16:33:19.066Z] SSH_AUTH_SOCK=/tmp/ssh-OSd8qaCQvdqR/agent.14 [2020-05-11T16:33:19.066Z] SSH_AGENT_PID=21 [2020-05-11T16:33:19.074Z] Running ssh-add (command line suppressed) [2020-05-11T16:33:19.237Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3449766941954219940.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3449766941954219940.key) [2020-05-11T16:33:19.327Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-11T16:33:19.661Z] + git semver push [2020-05-11T16:33:19.661Z] # -> Open(): unable to determine branch for HEAD [2020-05-11T16:33:19.661Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-05-11T16:33:19.661Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-11T16:33:19.661Z] # $SEMVER_REMOTE_NAME = origin [2020-05-11T16:33:19.661Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-11T16:33:19.661Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-11T16:33:19.661Z] # $SEMVER_BRANCH = master [2020-05-11T16:33:19.661Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-05-11T16:33:27.794Z] $ docker exec --env ******** --env ******** fb3001b4a8f655c667c68817a8907b1c8daf5c24589b04ae80e92b59930fc75b ssh-agent -k [2020-05-11T16:33:27.940Z] unset SSH_AUTH_SOCK; [2020-05-11T16:33:27.941Z] unset SSH_AGENT_PID; [2020-05-11T16:33:27.942Z] echo Agent pid 21 killed; [2020-05-11T16:33:27.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-11T16:33:28.416Z] + git semver [Pipeline] } [2020-05-11T16:33:28.432Z] $ docker stop --time=1 fb3001b4a8f655c667c68817a8907b1c8daf5c24589b04ae80e92b59930fc75b [2020-05-11T16:33:29.789Z] $ docker rm -f fb3001b4a8f655c667c68817a8907b1c8daf5c24589b04ae80e92b59930fc75b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-05-11T16:33:30.557Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T16:33:30.858Z] ---> package-listing.sh [2020-05-11T16:33:30.858Z] ++ facter osfamily [2020-05-11T16:33:30.858Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-11T16:33:30.858Z] + OS_FAMILY=redhat [2020-05-11T16:33:30.858Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-05-11T16:33:30.858Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-11T16:33:30.858Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-11T16:33:30.858Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-11T16:33:30.858Z] + PACKAGES=/tmp/packages_start.txt [2020-05-11T16:33:30.858Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-05-11T16:33:30.858Z] + PACKAGES=/tmp/packages_end.txt [2020-05-11T16:33:30.858Z] + case "${OS_FAMILY}" in [2020-05-11T16:33:30.858Z] + rpm -qa [2020-05-11T16:33:30.858Z] + sort [2020-05-11T16:33:34.160Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-11T16:33:34.160Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-11T16:33:34.160Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-11T16:33:34.160Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-05-11T16:33:34.160Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-05-11T16:33:34.160Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:33:34.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-11T16:33:34.512Z] [2020-05-11T16:33:34.512Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-11T16:33:34.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-11T16:33:34.885Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-11T16:33:34.885Z] c9b1b535fdd9: Pulling fs layer [2020-05-11T16:33:34.885Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-11T16:33:34.885Z] 756a868c4378: Pulling fs layer [2020-05-11T16:33:34.885Z] 444b2fc9a129: Pulling fs layer [2020-05-11T16:33:34.885Z] ea15f1150254: Pulling fs layer [2020-05-11T16:33:34.885Z] 41b27a9f41bf: Pulling fs layer [2020-05-11T16:33:34.885Z] 28c525ee5125: Pulling fs layer [2020-05-11T16:33:34.885Z] 094b1ea09ed8: Pulling fs layer [2020-05-11T16:33:34.885Z] 138eaada9080: Pulling fs layer [2020-05-11T16:33:34.885Z] 0622d0fa9048: Pulling fs layer [2020-05-11T16:33:34.885Z] 28c525ee5125: Waiting [2020-05-11T16:33:34.885Z] 444b2fc9a129: Waiting [2020-05-11T16:33:34.885Z] ea15f1150254: Waiting [2020-05-11T16:33:34.885Z] 138eaada9080: Waiting [2020-05-11T16:33:34.885Z] 41b27a9f41bf: Waiting [2020-05-11T16:33:34.885Z] 0622d0fa9048: Waiting [2020-05-11T16:33:34.885Z] 094b1ea09ed8: Waiting [2020-05-11T16:33:34.885Z] 2cc5ad85d9ab: Verifying Checksum [2020-05-11T16:33:34.885Z] 2cc5ad85d9ab: Download complete [2020-05-11T16:33:34.885Z] 444b2fc9a129: Verifying Checksum [2020-05-11T16:33:34.885Z] 444b2fc9a129: Download complete [2020-05-11T16:33:34.885Z] c9b1b535fdd9: Verifying Checksum [2020-05-11T16:33:34.885Z] c9b1b535fdd9: Download complete [2020-05-11T16:33:34.885Z] ea15f1150254: Verifying Checksum [2020-05-11T16:33:34.885Z] ea15f1150254: Download complete [2020-05-11T16:33:35.148Z] 28c525ee5125: Verifying Checksum [2020-05-11T16:33:35.148Z] 28c525ee5125: Download complete [2020-05-11T16:33:35.410Z] c9b1b535fdd9: Pull complete [2020-05-11T16:33:35.410Z] 756a868c4378: Verifying Checksum [2020-05-11T16:33:35.410Z] 756a868c4378: Download complete [2020-05-11T16:33:35.674Z] 138eaada9080: Verifying Checksum [2020-05-11T16:33:35.674Z] 138eaada9080: Download complete [2020-05-11T16:33:35.674Z] 0622d0fa9048: Verifying Checksum [2020-05-11T16:33:35.674Z] 0622d0fa9048: Download complete [2020-05-11T16:33:35.674Z] 094b1ea09ed8: Verifying Checksum [2020-05-11T16:33:35.674Z] 094b1ea09ed8: Download complete [2020-05-11T16:33:36.246Z] 41b27a9f41bf: Verifying Checksum [2020-05-11T16:33:36.246Z] 41b27a9f41bf: Download complete [2020-05-11T16:33:36.816Z] 2cc5ad85d9ab: Pull complete [2020-05-11T16:33:38.722Z] 756a868c4378: Pull complete [2020-05-11T16:33:38.722Z] 444b2fc9a129: Pull complete [2020-05-11T16:33:40.104Z] ea15f1150254: Pull complete [2020-05-11T16:33:44.313Z] 41b27a9f41bf: Pull complete [2020-05-11T16:33:44.313Z] 28c525ee5125: Pull complete [2020-05-11T16:33:47.615Z] 094b1ea09ed8: Pull complete [2020-05-11T16:33:47.615Z] 138eaada9080: Pull complete [2020-05-11T16:33:47.875Z] 0622d0fa9048: Pull complete [2020-05-11T16:33:47.875Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-11T16:33:47.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-11T16:33:48.023Z] prd-centos7-docker-4c-2g-7875 does not seem to be running inside a container [2020-05-11T16:33:48.079Z] $ 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_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-05-11T16:33:49.183Z] $ docker top 6b2a304946bf4f6ae83eeb8aa39e8bfae3a6b6b56b75721c0e11b42d109cc2a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-11T16:33:49.407Z] provisioning config files... [2020-05-11T16:33:49.422Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3769945248378558697tmp [Pipeline] { [Pipeline] echo [2020-05-11T16:33:49.494Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T16:33:49.787Z] ---> create-netrc.sh [Pipeline] echo [2020-05-11T16:33:49.796Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T16:33:50.093Z] ---> logs-deploy.sh [2020-05-11T16:33:50.093Z] + ARCHIVE_ARTIFACTS= [2020-05-11T16:33:50.093Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-11T16:33:50.093Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-11T16:33:50.093Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-11T16:33:50.093Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/40 [2020-05-11T16:33:50.093Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/40/ [2020-05-11T16:33:50.093Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/40 /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-11T16:33:51.470Z] Archives upload complete. [2020-05-11T16:33:51.470Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/40 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/40/