Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 43f76da7d4a1dba45abf65466c274475ddab04f4 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-944’ Running on prd-centos7-docker-4c-2g-946 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 > 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 Fetching without tags > 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 43f76da7d4a1dba45abf65466c274475ddab04f4 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 Commit message: "Merge pull request #551 from hahattan/issue-543" > git rev-list --no-walk 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-16T15:00:38.227Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-16T15:00:38.456Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-16T15:00:38.533Z] ========================================================= [2020-07-16T15:00:38.533Z] EdgeX Global Pipelines Version Info [2020-07-16T15:00:38.534Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-16T15:00:40.344Z] ------------------- [2020-07-16T15:00:40.344Z] stable info: [2020-07-16T15:00:40.344Z] ------------------- [2020-07-16T15:00:40.344Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-16T15:00:40.344Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-16T15:00:40.344Z] Message: update stable to v1.0.99 [2020-07-16T15:00:40.915Z] ------------------- [2020-07-16T15:00:40.915Z] experimental info: [2020-07-16T15:00:40.915Z] ------------------- [2020-07-16T15:00:40.916Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-16T15:00:40.916Z] Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 [2020-07-16T15:00:40.916Z] Message: update experimental to v1.0.100 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:00:42.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T15:00:43.162Z] [2020-07-16T15:00:43.162Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:00:43.493Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T15:00:43.493Z] latest: Pulling from edgex-devops/git-semver [2020-07-16T15:00:43.493Z] 31603596830f: Pulling fs layer [2020-07-16T15:00:43.493Z] 2a8b12db71e7: Pulling fs layer [2020-07-16T15:00:43.493Z] 6ca5941a6612: Pulling fs layer [2020-07-16T15:00:43.493Z] ecc8261a40a4: Pulling fs layer [2020-07-16T15:00:43.493Z] ecc8261a40a4: Waiting [2020-07-16T15:00:43.493Z] 2a8b12db71e7: Verifying Checksum [2020-07-16T15:00:43.493Z] 2a8b12db71e7: Download complete [2020-07-16T15:00:43.493Z] 31603596830f: Verifying Checksum [2020-07-16T15:00:43.493Z] 31603596830f: Download complete [2020-07-16T15:00:43.760Z] ecc8261a40a4: Verifying Checksum [2020-07-16T15:00:43.760Z] ecc8261a40a4: Download complete [2020-07-16T15:00:43.760Z] 6ca5941a6612: Verifying Checksum [2020-07-16T15:00:43.760Z] 6ca5941a6612: Download complete [2020-07-16T15:00:44.023Z] 31603596830f: Pull complete [2020-07-16T15:00:44.023Z] 2a8b12db71e7: Pull complete [2020-07-16T15:00:44.978Z] 6ca5941a6612: Pull complete [2020-07-16T15:00:44.978Z] ecc8261a40a4: Pull complete [2020-07-16T15:00:44.978Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-16T15:00:44.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T15:00:44.978Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-16T15:00:45.076Z] prd-centos7-docker-4c-2g-946 does not seem to be running inside a container [2020-07-16T15:00:45.120Z] $ 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-07-16T15:00:47.320Z] $ docker top d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-16T15:00:47.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-16T15:00:47.579Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-16T15:00:47.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-16T15:00:47.803Z] $ docker exec d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 ssh-agent [2020-07-16T15:00:47.950Z] SSH_AUTH_SOCK=/tmp/ssh-Were4U3zKbJb/agent.11 [2020-07-16T15:00:47.950Z] SSH_AGENT_PID=16 [2020-07-16T15:00:47.959Z] Running ssh-add (command line suppressed) [2020-07-16T15:00:48.085Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8616888762803305508.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8616888762803305508.key) [2020-07-16T15:00:48.126Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-16T15:00:48.449Z] + git describe --exact-match --tags HEAD [2020-07-16T15:00:48.449Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-16T15:00:48.585Z] $ docker exec --env ******** --env ******** d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 ssh-agent -k [2020-07-16T15:00:48.700Z] unset SSH_AUTH_SOCK; [2020-07-16T15:00:48.701Z] unset SSH_AGENT_PID; [2020-07-16T15:00:48.701Z] echo Agent pid 16 killed; [2020-07-16T15:00:48.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-16T15:00:48.812Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-16T15:00:48.812Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-16T15:00:48.891Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-16T15:00:48.891Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-16T15:00:49.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-16T15:00:49.057Z] $ docker exec d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 ssh-agent [2020-07-16T15:00:49.205Z] SSH_AUTH_SOCK=/tmp/ssh-D2wyCHXbpS7j/agent.47 [2020-07-16T15:00:49.205Z] SSH_AGENT_PID=53 [2020-07-16T15:00:49.211Z] Running ssh-add (command line suppressed) [2020-07-16T15:00:49.331Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7402495641620453009.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7402495641620453009.key) [2020-07-16T15:00:49.373Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-16T15:00:49.692Z] + git semver init [2020-07-16T15:00:49.692Z] # -> Open(): unable to determine branch for HEAD [2020-07-16T15:00:49.692Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-07-16T15:00:49.692Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-07-16T15:00:49.692Z] # $SEMVER_REMOTE_NAME = origin [2020-07-16T15:00:49.692Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-16T15:00:49.692Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-16T15:00:49.692Z] # $SEMVER_BRANCH = master [2020-07-16T15:00:49.692Z] # $SEMVER_TEMP = /tmp/semver-461623415 [2020-07-16T15:00:49.692Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-07-16T15:00:50.262Z] # '/tmp/semver-461623415' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-07-16T15:00:50.262Z] # -> Force: false [2020-07-16T15:00:50.262Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-07-16T15:00:50.280Z] $ docker exec --env ******** --env ******** d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 ssh-agent -k [2020-07-16T15:00:50.388Z] unset SSH_AUTH_SOCK; [2020-07-16T15:00:50.389Z] unset SSH_AGENT_PID; [2020-07-16T15:00:50.389Z] echo Agent pid 53 killed; [2020-07-16T15:00:50.425Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-16T15:00:50.874Z] + git semver [Pipeline] } [2020-07-16T15:00:50.895Z] $ docker stop --time=1 d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 [2020-07-16T15:00:52.482Z] $ docker rm -f d8e8e9ebaf263f66213166e838fc9a6cc5c07a8ff4c22ef44cfed5ee24c683c5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-16T15:00:53.160Z] Stashed 69 file(s) [Pipeline] echo [2020-07-16T15:00:53.163Z] [edgeXSemver] initialized semver on version 1.2.3-dev.5 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-07-16T15:01:08.429Z] Still waiting to schedule task [2020-07-16T15:01:08.429Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-16T15:01:08.431Z] Still waiting to schedule task [2020-07-16T15:01:08.431Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-07-16T15:03:36.514Z] Running on prd-centos7-docker-4c-2g-947 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-07-16T15:03:36.590Z] Running in /w/workspace/device-sdk-go/49 [Pipeline] { [Pipeline] checkout [2020-07-16T15:03:39.306Z] using credential edgex-jenkins-ssh [2020-07-16T15:03:39.350Z] Cloning the remote Git repository [2020-07-16T15:03:39.350Z] Cloning with configured refspecs honoured and without tags [2020-07-16T15:03:39.227Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T15:03:39.297Z] > git init /w/workspace/device-sdk-go/49 # timeout=10 [2020-07-16T15:03:39.340Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T15:03:39.340Z] > git --version # timeout=10 [2020-07-16T15:03:39.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T15:03:39.370Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T15:03:40.089Z] Fetching without tags [2020-07-16T15:03:40.504Z] Checking out Revision 43f76da7d4a1dba45abf65466c274475ddab04f4 (master) [2020-07-16T15:03:39.961Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T15:03:39.967Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T15:03:39.980Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T15:03:39.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T15:03:39.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T15:03:39.998Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T15:03:40.447Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T15:03:40.452Z] > git checkout -f 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 [2020-07-16T15:03:44.119Z] Commit message: "Merge pull request #551 from hahattan/issue-543" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-16T15:03:45.295Z] ========================================================= [2020-07-16T15:03:45.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-16T15:03:45.295Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:03:45.913Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-07-16T15:03:46.505Z] Sending build context to Docker daemon 3.099MB [2020-07-16T15:03:46.505Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-16T15:03:46.505Z] Step 2/8 : FROM ${BASE} [2020-07-16T15:03:46.505Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-16T15:03:46.505Z] e6b0cf9c0882: Pulling fs layer [2020-07-16T15:03:46.505Z] 2848faf0eed1: Pulling fs layer [2020-07-16T15:03:46.505Z] 0f37312ad70f: Pulling fs layer [2020-07-16T15:03:46.505Z] 5788d62ee057: Pulling fs layer [2020-07-16T15:03:46.505Z] 0e6b1d234666: Pulling fs layer [2020-07-16T15:03:46.505Z] bf5d7aec512f: Pulling fs layer [2020-07-16T15:03:46.505Z] 34c802a77dc8: Pulling fs layer [2020-07-16T15:03:46.505Z] 9eb99e56ec68: Pulling fs layer [2020-07-16T15:03:46.505Z] 27c7a5d97fbd: Pulling fs layer [2020-07-16T15:03:46.505Z] 5c102a31e300: Pulling fs layer [2020-07-16T15:03:46.505Z] dcfb455df0a1: Pulling fs layer [2020-07-16T15:03:46.505Z] bf5d7aec512f: Waiting [2020-07-16T15:03:46.505Z] 0e6b1d234666: Waiting [2020-07-16T15:03:46.505Z] 34c802a77dc8: Waiting [2020-07-16T15:03:46.505Z] 9eb99e56ec68: Waiting [2020-07-16T15:03:46.505Z] dcfb455df0a1: Waiting [2020-07-16T15:03:46.505Z] 27c7a5d97fbd: Waiting [2020-07-16T15:03:46.505Z] 5c102a31e300: Waiting [2020-07-16T15:03:46.505Z] 5788d62ee057: Waiting [2020-07-16T15:03:46.505Z] 0f37312ad70f: Verifying Checksum [2020-07-16T15:03:46.505Z] 0f37312ad70f: Download complete [2020-07-16T15:03:46.505Z] 2848faf0eed1: Verifying Checksum [2020-07-16T15:03:46.505Z] 2848faf0eed1: Download complete [2020-07-16T15:03:46.505Z] 0e6b1d234666: Verifying Checksum [2020-07-16T15:03:46.505Z] 0e6b1d234666: Download complete [2020-07-16T15:03:46.505Z] bf5d7aec512f: Verifying Checksum [2020-07-16T15:03:46.505Z] bf5d7aec512f: Download complete [2020-07-16T15:03:46.505Z] e6b0cf9c0882: Verifying Checksum [2020-07-16T15:03:46.505Z] e6b0cf9c0882: Download complete [2020-07-16T15:03:47.108Z] e6b0cf9c0882: Pull complete [2020-07-16T15:03:47.390Z] 34c802a77dc8: Verifying Checksum [2020-07-16T15:03:47.390Z] 34c802a77dc8: Download complete [2020-07-16T15:03:47.390Z] 27c7a5d97fbd: Verifying Checksum [2020-07-16T15:03:47.390Z] 27c7a5d97fbd: Download complete [2020-07-16T15:03:47.992Z] 5c102a31e300: Verifying Checksum [2020-07-16T15:03:47.992Z] 5c102a31e300: Download complete [2020-07-16T15:03:47.992Z] dcfb455df0a1: Verifying Checksum [2020-07-16T15:03:47.992Z] dcfb455df0a1: Download complete [2020-07-16T15:03:47.992Z] 9eb99e56ec68: Verifying Checksum [2020-07-16T15:03:47.992Z] 9eb99e56ec68: Download complete [2020-07-16T15:03:47.992Z] 5788d62ee057: Verifying Checksum [2020-07-16T15:03:47.992Z] 5788d62ee057: Download complete [2020-07-16T15:03:49.377Z] 2848faf0eed1: Pull complete [2020-07-16T15:03:49.377Z] 0f37312ad70f: Pull complete [2020-07-16T15:03:54.674Z] 5788d62ee057: Pull complete [2020-07-16T15:03:54.674Z] 0e6b1d234666: Pull complete [2020-07-16T15:03:54.674Z] bf5d7aec512f: Pull complete [2020-07-16T15:03:59.960Z] 34c802a77dc8: Pull complete [2020-07-16T15:04:02.513Z] 9eb99e56ec68: Pull complete [2020-07-16T15:04:02.513Z] 27c7a5d97fbd: Pull complete [2020-07-16T15:04:03.089Z] 5c102a31e300: Pull complete [2020-07-16T15:04:03.349Z] dcfb455df0a1: Pull complete [2020-07-16T15:04:03.349Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-07-16T15:04:03.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-16T15:04:03.349Z] ---> 7c70fe431013 [2020-07-16T15:04:03.350Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T15:04:05.261Z] ---> Running in 1e08710ba060 [2020-07-16T15:04:05.261Z] Removing intermediate container 1e08710ba060 [2020-07-16T15:04:05.261Z] ---> d78169bf8805 [2020-07-16T15:04:05.261Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T15:04:05.261Z] ---> Running in 237685e2ec84 [2020-07-16T15:04:06.203Z] Removing intermediate container 237685e2ec84 [2020-07-16T15:04:06.203Z] ---> 7642a71ebc95 [2020-07-16T15:04:06.203Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-16T15:04:06.203Z] ---> Running in 80f78af915bf [2020-07-16T15:04:07.142Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-07-16T15:04:07.712Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-07-16T15:04:08.283Z] OK: 143 MiB in 39 packages [2020-07-16T15:04:08.854Z] Removing intermediate container 80f78af915bf [2020-07-16T15:04:08.854Z] ---> 99ef5dd4758a [2020-07-16T15:04:08.854Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-16T15:04:08.854Z] ---> Running in e927204f5c72 [2020-07-16T15:04:09.116Z] Removing intermediate container e927204f5c72 [2020-07-16T15:04:09.116Z] ---> cf322e1b2eee [2020-07-16T15:04:09.116Z] Step 7/8 : COPY . . [2020-07-16T15:04:10.497Z] ---> 2f4eb1d7d316 [2020-07-16T15:04:10.497Z] Step 8/8 : RUN go mod download [2020-07-16T15:04:10.497Z] ---> Running in 9bc375739d74 [2020-07-16T15:04:11.881Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-16T15:04:11.881Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-16T15:04:12.141Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-16T15:04:12.141Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-16T15:04:12.141Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-16T15:04:12.141Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-16T15:04:12.141Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-16T15:04:12.141Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-16T15:04:12.141Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-16T15:04:12.141Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-16T15:04:12.142Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-16T15:04:12.142Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-16T15:04:12.142Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-16T15:04:12.142Z] go: finding github.com/fatih/color v1.7.0 [2020-07-16T15:04:12.142Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-16T15:04:12.407Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-16T15:04:12.407Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-16T15:04:12.407Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-16T15:04:12.407Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-16T15:04:12.407Z] go: finding github.com/google/uuid v1.1.0 [2020-07-16T15:04:12.407Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-16T15:04:12.407Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-16T15:04:12.407Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-16T15:04:12.407Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-16T15:04:12.407Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-16T15:04:12.407Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-16T15:04:12.407Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-16T15:04:12.669Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-16T15:04:12.669Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-16T15:04:12.669Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-16T15:04:12.669Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-16T15:04:12.669Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-16T15:04:12.669Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-16T15:04:12.669Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-16T15:04:12.669Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-16T15:04:12.669Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-16T15:04:12.669Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-16T15:04:12.669Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-16T15:04:12.669Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-16T15:04:12.928Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-16T15:04:12.928Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-16T15:04:12.928Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-16T15:04:12.928Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-16T15:04:12.928Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-16T15:04:12.928Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-16T15:04:12.928Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-16T15:04:12.928Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-16T15:04:12.928Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-16T15:04:12.928Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-16T15:04:12.928Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-16T15:04:12.928Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-16T15:04:12.928Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-16T15:04:13.190Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-16T15:04:13.190Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-16T15:04:13.190Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-16T15:04:13.190Z] go: finding github.com/posener/complete v1.1.1 [2020-07-16T15:04:13.190Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-16T15:04:13.190Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-16T15:04:13.190Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-16T15:04:13.190Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-16T15:04:13.190Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-16T15:04:13.190Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-16T15:04:13.190Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-16T15:04:13.190Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-16T15:04:13.190Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-16T15:04:13.450Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-16T15:04:13.450Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-16T15:04:13.450Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-16T15:04:20.039Z] Removing intermediate container 9bc375739d74 [2020-07-16T15:04:20.039Z] ---> 374a7aa349b4 [2020-07-16T15:04:20.039Z] Successfully built 374a7aa349b4 [2020-07-16T15:04:20.039Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:04:20.752Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-16T15:04:20.752Z] . [Pipeline] withDockerContainer [2020-07-16T15:04:20.915Z] prd-centos7-docker-4c-2g-947 does not seem to be running inside a container [2020-07-16T15:04:20.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/49 -v /w/workspace/device-sdk-go/49:/w/workspace/device-sdk-go/49:rw,z -v /w/workspace/device-sdk-go/49@tmp:/w/workspace/device-sdk-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-16T15:04:22.165Z] $ docker top 48907bee62b71fd8fde407535ad6575c11a83b68891190d3b04646bd8f50c483 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-16T15:04:22.632Z] + go version [2020-07-16T15:04:22.632Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-07-16T15:04:22.929Z] + make test [2020-07-16T15:04:22.929Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-16T15:04:23.888Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-16T15:04:31.022Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-948 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-07-16T15:04:31.061Z] Running in /w/workspace/device-sdk-go/49 [Pipeline] { [Pipeline] checkout [2020-07-16T15:04:33.977Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-16T15:04:33.977Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-16T15:04:33.977Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-16T15:04:33.977Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.025s coverage: 22.1% of statements [2020-07-16T15:04:34.551Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.039s coverage: 95.8% of statements [2020-07-16T15:04:35.928Z] using credential edgex-jenkins-ssh [2020-07-16T15:04:35.976Z] Cloning the remote Git repository [2020-07-16T15:04:35.976Z] Cloning with configured refspecs honoured and without tags [2020-07-16T15:04:37.263Z] Fetching without tags [2020-07-16T15:04:36.050Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T15:04:36.170Z] > git init /w/workspace/device-sdk-go/49 # timeout=10 [2020-07-16T15:04:36.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T15:04:36.231Z] > git --version # timeout=10 [2020-07-16T15:04:36.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T15:04:36.332Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T15:04:37.192Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T15:04:37.213Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T15:04:37.243Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T15:04:37.734Z] Checking out Revision 43f76da7d4a1dba45abf65466c274475ddab04f4 (master) [2020-07-16T15:04:37.280Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T15:04:37.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T15:04:37.290Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T15:04:37.756Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T15:04:37.780Z] > git checkout -f 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 [2020-07-16T15:04:42.309Z] Commit message: "Merge pull request #551 from hahattan/issue-543" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-16T15:04:43.495Z] ========================================================= [2020-07-16T15:04:43.495Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-16T15:04:43.495Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:04:44.555Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-07-16T15:04:45.548Z] Sending build context to Docker daemon 3.097MB [2020-07-16T15:04:45.548Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-16T15:04:45.548Z] Step 2/8 : FROM ${BASE} [2020-07-16T15:04:45.825Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-16T15:04:45.825Z] cde5963f3b93: Pulling fs layer [2020-07-16T15:04:45.825Z] 2a23fa8c16f7: Pulling fs layer [2020-07-16T15:04:45.825Z] 777b28850792: Pulling fs layer [2020-07-16T15:04:45.825Z] 8a11ddd9e578: Pulling fs layer [2020-07-16T15:04:45.825Z] 4cf88f913ddb: Pulling fs layer [2020-07-16T15:04:45.825Z] 1df406cf5192: Pulling fs layer [2020-07-16T15:04:45.825Z] cd6300453558: Pulling fs layer [2020-07-16T15:04:45.825Z] b9c365052c96: Pulling fs layer [2020-07-16T15:04:45.825Z] a2d8cc88f415: Pulling fs layer [2020-07-16T15:04:45.825Z] ea1d1ca13537: Pulling fs layer [2020-07-16T15:04:45.825Z] 3750a50a1c5e: Pulling fs layer [2020-07-16T15:04:45.825Z] 8a11ddd9e578: Waiting [2020-07-16T15:04:45.825Z] 4cf88f913ddb: Waiting [2020-07-16T15:04:45.825Z] 1df406cf5192: Waiting [2020-07-16T15:04:45.825Z] cd6300453558: Waiting [2020-07-16T15:04:45.825Z] b9c365052c96: Waiting [2020-07-16T15:04:45.825Z] a2d8cc88f415: Waiting [2020-07-16T15:04:45.825Z] ea1d1ca13537: Waiting [2020-07-16T15:04:45.825Z] 3750a50a1c5e: Waiting [2020-07-16T15:04:45.825Z] 777b28850792: Verifying Checksum [2020-07-16T15:04:45.825Z] 777b28850792: Download complete [2020-07-16T15:04:45.825Z] 2a23fa8c16f7: Verifying Checksum [2020-07-16T15:04:45.825Z] 2a23fa8c16f7: Download complete [2020-07-16T15:04:45.825Z] 4cf88f913ddb: Download complete [2020-07-16T15:04:45.825Z] 1df406cf5192: Download complete [2020-07-16T15:04:45.825Z] cde5963f3b93: Download complete [2020-07-16T15:04:46.814Z] cde5963f3b93: Pull complete [2020-07-16T15:04:47.090Z] 2a23fa8c16f7: Pull complete [2020-07-16T15:04:47.693Z] 777b28850792: Pull complete [2020-07-16T15:04:48.677Z] cd6300453558: Verifying Checksum [2020-07-16T15:04:48.677Z] cd6300453558: Download complete [2020-07-16T15:04:48.677Z] a2d8cc88f415: Verifying Checksum [2020-07-16T15:04:48.677Z] a2d8cc88f415: Download complete [2020-07-16T15:04:49.654Z] ea1d1ca13537: Verifying Checksum [2020-07-16T15:04:49.654Z] ea1d1ca13537: Download complete [2020-07-16T15:04:49.654Z] 3750a50a1c5e: Verifying Checksum [2020-07-16T15:04:49.654Z] 3750a50a1c5e: Download complete [2020-07-16T15:04:51.094Z] b9c365052c96: Verifying Checksum [2020-07-16T15:04:51.094Z] b9c365052c96: Download complete [2020-07-16T15:04:51.365Z] 8a11ddd9e578: Verifying Checksum [2020-07-16T15:04:51.365Z] 8a11ddd9e578: Download complete [2020-07-16T15:05:01.495Z] 8a11ddd9e578: Pull complete [2020-07-16T15:05:01.774Z] 4cf88f913ddb: Pull complete [2020-07-16T15:05:02.046Z] 1df406cf5192: Pull complete [2020-07-16T15:05:06.360Z] cd6300453558: Pull complete [2020-07-16T15:05:06.702Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.066s coverage: 11.4% of statements [2020-07-16T15:05:06.702Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements [2020-07-16T15:05:06.702Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-16T15:05:06.702Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.091s coverage: 36.9% of statements [2020-07-16T15:05:06.702Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-16T15:05:06.702Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.310s coverage: 65.2% of statements [2020-07-16T15:05:06.702Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-16T15:05:06.702Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-16T15:05:06.702Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-16T15:05:06.702Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements [2020-07-16T15:05:06.702Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.093s coverage: 68.9% of statements [2020-07-16T15:05:06.702Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-16T15:05:06.702Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-16T15:05:06.702Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-16T15:05:06.702Z] gofmt -l . [2020-07-16T15:05:06.702Z] [ "`gofmt -l .`" = "" ] [2020-07-16T15:05:06.962Z] ./bin/test-attribution-txt.sh [2020-07-16T15:05:07.533Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-16T15:05:08.061Z] Stashed 1 file(s) [Pipeline] } [2020-07-16T15:05:08.072Z] $ docker stop --time=1 48907bee62b71fd8fde407535ad6575c11a83b68891190d3b04646bd8f50c483 [2020-07-16T15:05:09.525Z] $ docker rm -f 48907bee62b71fd8fde407535ad6575c11a83b68891190d3b04646bd8f50c483 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-07-16T15:05:10.707Z] b9c365052c96: Pull complete [2020-07-16T15:05:10.982Z] a2d8cc88f415: Pull complete [Pipeline] sh [2020-07-16T15:05:12.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-16T15:05:12.671Z] + ls -al . [2020-07-16T15:05:12.671Z] total 184 [2020-07-16T15:05:12.671Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jul 16 15:05 . [2020-07-16T15:05:12.671Z] drwxrwxr-x. 4 jenkins jenkins 30 Jul 16 15:03 .. [2020-07-16T15:05:12.671Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 16 15:03 api [2020-07-16T15:05:12.671Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 16 15:03 bin [2020-07-16T15:05:12.671Z] -rw-r--r--. 1 jenkins jenkins 110877 Jul 16 15:05 coverage.out [2020-07-16T15:05:12.671Z] -rw-rw-r--. 1 jenkins jenkins 936 Jul 16 15:03 Dockerfile.build [2020-07-16T15:05:12.671Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 16 15:03 .dockerignore [2020-07-16T15:05:12.671Z] drwxrwxr-x. 4 jenkins jenkins 48 Jul 16 15:03 example [2020-07-16T15:05:12.671Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 16 15:03 .git [2020-07-16T15:05:12.671Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 16 15:03 .github [2020-07-16T15:05:12.671Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 16 15:03 .gitignore [2020-07-16T15:05:12.671Z] -rw-r--r--. 1 jenkins jenkins 446 Jul 16 15:05 go.mod [2020-07-16T15:05:12.671Z] -rw-r--r--. 1 jenkins jenkins 12179 Jul 16 15:05 go.sum [2020-07-16T15:05:12.671Z] drwxrwxr-x. 13 jenkins jenkins 184 Jul 16 15:03 internal [2020-07-16T15:05:12.671Z] -rw-rw-r--. 1 jenkins jenkins 808 Jul 16 15:03 Jenkinsfile [2020-07-16T15:05:12.671Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 16 15:03 LICENSE [2020-07-16T15:05:12.671Z] -rw-rw-r--. 1 jenkins jenkins 892 Jul 16 15:03 Makefile [2020-07-16T15:05:12.671Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 16 15:03 pkg [2020-07-16T15:05:12.671Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jul 16 15:03 README.md [2020-07-16T15:05:12.671Z] -rw-rw-r--. 1 jenkins jenkins 3997 Jul 16 15:03 RELEASE-NOTES.txt [2020-07-16T15:05:12.671Z] drwxrwxr-x. 3 jenkins jenkins 44 Jul 16 15:03 .semver [2020-07-16T15:05:12.671Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 16 15:03 snap [2020-07-16T15:05:12.671Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 16 15:00 VERSION [2020-07-16T15:05:12.671Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 16 15:03 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:05:12.967Z] ea1d1ca13537: Pull complete [2020-07-16T15:05:12.976Z] + 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=43f76da7d4a1dba45abf65466c274475ddab04f4 --label arch=amd64 --label version=1.2.3-dev.5 . [2020-07-16T15:05:13.238Z] Sending build context to Docker daemon 3.227MB [2020-07-16T15:05:13.238Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-16T15:05:13.238Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-16T15:05:13.238Z] ---> 374a7aa349b4 [2020-07-16T15:05:13.238Z] Step 3/23 : ARG MAKE='make build' [2020-07-16T15:05:13.499Z] ---> Running in 2b334e27e15a [2020-07-16T15:05:13.567Z] 3750a50a1c5e: Pull complete [2020-07-16T15:05:13.567Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-07-16T15:05:13.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-16T15:05:13.567Z] ---> 78745c68409d [2020-07-16T15:05:13.567Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T15:05:13.760Z] Removing intermediate container 2b334e27e15a [2020-07-16T15:05:13.760Z] ---> 6a919ac28d0d [2020-07-16T15:05:13.760Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-16T15:05:13.760Z] ---> Running in 17b6991ca915 [2020-07-16T15:05:14.021Z] Removing intermediate container 17b6991ca915 [2020-07-16T15:05:14.021Z] ---> e04b899bdcf8 [2020-07-16T15:05:14.021Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T15:05:14.021Z] ---> Running in 058d95298851 [2020-07-16T15:05:14.281Z] Removing intermediate container 058d95298851 [2020-07-16T15:05:14.281Z] ---> beeb3a4c4559 [2020-07-16T15:05:14.281Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T15:05:14.281Z] ---> Running in 9568a239aea9 [2020-07-16T15:05:15.228Z] Removing intermediate container 9568a239aea9 [2020-07-16T15:05:15.228Z] ---> d7f085df76a3 [2020-07-16T15:05:15.228Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-16T15:05:15.228Z] ---> Running in ababb3329e59 [2020-07-16T15:05:15.490Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-07-16T15:05:16.431Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-07-16T15:05:17.002Z] OK: 143 MiB in 39 packages [2020-07-16T15:05:17.264Z] Removing intermediate container ababb3329e59 [2020-07-16T15:05:17.264Z] ---> 32429d90a1a0 [2020-07-16T15:05:17.264Z] Step 8/23 : COPY . . [2020-07-16T15:05:18.207Z] ---> cc640e525b9f [2020-07-16T15:05:18.207Z] Step 9/23 : RUN ${MAKE} [2020-07-16T15:05:18.471Z] ---> Running in 6a451ee8601e [2020-07-16T15:05:18.734Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.5" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-07-16T15:05:18.963Z] ---> Running in dc6209bc542f [2020-07-16T15:05:18.963Z] Removing intermediate container dc6209bc542f [2020-07-16T15:05:18.963Z] ---> 40053afe3acd [2020-07-16T15:05:18.963Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T15:05:18.963Z] ---> Running in 155202e2d0b6 [2020-07-16T15:05:21.578Z] Removing intermediate container 155202e2d0b6 [2020-07-16T15:05:21.578Z] ---> 2eb19b81f404 [2020-07-16T15:05:21.578Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-16T15:05:21.578Z] ---> Running in 81d4d0acf69b [2020-07-16T15:05:23.008Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-07-16T15:05:23.605Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-07-16T15:05:24.581Z] OK: 125 MiB in 39 packages [2020-07-16T15:05:25.558Z] Removing intermediate container 81d4d0acf69b [2020-07-16T15:05:25.558Z] ---> 5c2d56a7a31c [2020-07-16T15:05:25.558Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-16T15:05:25.558Z] ---> Running in d36d30120e1a [2020-07-16T15:05:26.151Z] Removing intermediate container d36d30120e1a [2020-07-16T15:05:26.151Z] ---> 71089fd585ba [2020-07-16T15:05:26.151Z] Step 7/8 : COPY . . [2020-07-16T15:05:26.984Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-16T15:05:27.584Z] ---> 587c71382c1d [2020-07-16T15:05:27.584Z] Step 8/8 : RUN go mod download [2020-07-16T15:05:27.584Z] ---> Running in 786876f7000c [2020-07-16T15:05:27.926Z] Removing intermediate container 6a451ee8601e [2020-07-16T15:05:27.926Z] ---> aaa8c2d1ce30 [2020-07-16T15:05:27.926Z] Step 10/23 : FROM scratch [2020-07-16T15:05:27.926Z] ---> [2020-07-16T15:05:27.926Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T15:05:27.926Z] ---> Running in 2dcf026cc258 [2020-07-16T15:05:27.926Z] Removing intermediate container 2dcf026cc258 [2020-07-16T15:05:27.926Z] ---> a4781737c3dc [2020-07-16T15:05:27.926Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-16T15:05:28.187Z] ---> Running in 8deab8037c45 [2020-07-16T15:05:28.187Z] Removing intermediate container 8deab8037c45 [2020-07-16T15:05:28.187Z] ---> 670954eb4473 [2020-07-16T15:05:28.187Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-16T15:05:28.187Z] ---> Running in 4b90fe954294 [2020-07-16T15:05:28.447Z] Removing intermediate container 4b90fe954294 [2020-07-16T15:05:28.447Z] ---> 872358233c44 [2020-07-16T15:05:28.447Z] Step 14/23 : WORKDIR / [2020-07-16T15:05:28.447Z] ---> Running in 0f57625dcb7a [2020-07-16T15:05:28.707Z] Removing intermediate container 0f57625dcb7a [2020-07-16T15:05:28.707Z] ---> 2b19896d6997 [2020-07-16T15:05:28.707Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-16T15:05:28.968Z] ---> 0bf258faa58f [2020-07-16T15:05:28.968Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-16T15:05:29.908Z] ---> ed3ea640c64d [2020-07-16T15:05:29.908Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-16T15:05:30.169Z] ---> edcb4cfa0e44 [2020-07-16T15:05:30.169Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-16T15:05:30.186Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-16T15:05:30.186Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-16T15:05:30.186Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-16T15:05:30.186Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-16T15:05:30.186Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-16T15:05:30.186Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-16T15:05:30.186Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-16T15:05:30.430Z] ---> 575c2bb604c3 [2020-07-16T15:05:30.430Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-16T15:05:30.457Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-16T15:05:30.457Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-16T15:05:30.457Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-16T15:05:30.457Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-16T15:05:30.457Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-16T15:05:30.457Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-16T15:05:30.457Z] go: finding github.com/fatih/color v1.7.0 [2020-07-16T15:05:30.457Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-16T15:05:30.457Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-16T15:05:30.457Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-16T15:05:30.690Z] ---> 669919ce9ede [2020-07-16T15:05:30.690Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-16T15:05:30.690Z] ---> Running in 0e757d6f615f [2020-07-16T15:05:30.726Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-16T15:05:30.726Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-16T15:05:30.726Z] go: finding github.com/google/uuid v1.1.0 [2020-07-16T15:05:30.726Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-16T15:05:30.726Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-16T15:05:30.726Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-16T15:05:30.726Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-16T15:05:30.726Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-16T15:05:30.726Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-16T15:05:30.726Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-16T15:05:30.726Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-16T15:05:30.951Z] Removing intermediate container 0e757d6f615f [2020-07-16T15:05:30.951Z] ---> 046329a80210 [2020-07-16T15:05:30.951Z] Step 21/23 : LABEL arch=amd64 [2020-07-16T15:05:30.951Z] ---> Running in 25233cb5e307 [2020-07-16T15:05:30.996Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-16T15:05:30.996Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-16T15:05:30.996Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-16T15:05:30.996Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-16T15:05:30.996Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-16T15:05:30.996Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-16T15:05:30.996Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-16T15:05:30.996Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-16T15:05:30.996Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-16T15:05:30.996Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-16T15:05:30.996Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-16T15:05:31.212Z] Removing intermediate container 25233cb5e307 [2020-07-16T15:05:31.212Z] ---> 25c377127e7e [2020-07-16T15:05:31.212Z] Step 22/23 : LABEL git_sha=43f76da7d4a1dba45abf65466c274475ddab04f4 [2020-07-16T15:05:31.212Z] ---> Running in c17218673a08 [2020-07-16T15:05:31.212Z] Removing intermediate container c17218673a08 [2020-07-16T15:05:31.212Z] ---> e52706388930 [2020-07-16T15:05:31.212Z] Step 23/23 : LABEL version=1.2.3-dev.5 [2020-07-16T15:05:31.268Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-16T15:05:31.268Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-16T15:05:31.268Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-16T15:05:31.268Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-16T15:05:31.268Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-16T15:05:31.268Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-16T15:05:31.268Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-16T15:05:31.268Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-16T15:05:31.268Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-16T15:05:31.268Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-16T15:05:31.268Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-16T15:05:31.473Z] ---> Running in 015d74ce0dce [2020-07-16T15:05:31.473Z] Removing intermediate container 015d74ce0dce [2020-07-16T15:05:31.473Z] ---> 33d24c1bbd62 [2020-07-16T15:05:31.473Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-16T15:05:31.473Z] Successfully built 33d24c1bbd62 [2020-07-16T15:05:31.473Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [2020-07-16T15:05:31.545Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-16T15:05:31.545Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-16T15:05:31.545Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-16T15:05:31.545Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-16T15:05:31.545Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-16T15:05:31.545Z] go: finding github.com/posener/complete v1.1.1 [2020-07-16T15:05:31.545Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-16T15:05:31.545Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-16T15:05:31.545Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-16T15:05:31.545Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-16T15:05:31.545Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-16T15:05:31.545Z] go: finding github.com/x448/float16 v0.8.4 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2020-07-16T15:05:31.821Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-16T15:05:31.821Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-16T15:05:31.821Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-16T15:05:31.821Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-16T15:05:31.821Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-16T15:05:31.821Z] go: finding gopkg.in/yaml.v2 v2.2.8 Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-16T15:05:41.946Z] Removing intermediate container 786876f7000c [2020-07-16T15:05:41.946Z] ---> 67af716fe6ef [2020-07-16T15:05:41.946Z] Successfully built 67af716fe6ef [2020-07-16T15:05:41.946Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:05:42.742Z] + docker inspect -f . ci-base-image-arm64 [2020-07-16T15:05:42.743Z] . [Pipeline] withDockerContainer [2020-07-16T15:05:43.029Z] prd-ubuntu18.04-docker-arm64-4c-16g-948 does not seem to be running inside a container [2020-07-16T15:05:43.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/49 -v /w/workspace/device-sdk-go/49:/w/workspace/device-sdk-go/49:rw,z -v /w/workspace/device-sdk-go/49@tmp:/w/workspace/device-sdk-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-16T15:05:44.831Z] $ docker top 4302d76dfcbc98689900230238dda2789f9b6cd80af420c42f2843d959bb2dac -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-16T15:05:46.240Z] + go version [2020-07-16T15:05:46.240Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-07-16T15:05:47.284Z] + make test [2020-07-16T15:05:47.284Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-16T15:05:48.257Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-16T15:06:20.624Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-16T15:06:20.624Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-16T15:06:20.624Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-16T15:06:20.624Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.045s coverage: 22.1% of statements [2020-07-16T15:06:20.624Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.148s coverage: 95.8% of statements [2020-07-16T15:06:52.958Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.037s coverage: 11.4% of statements [2020-07-16T15:06:52.958Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.043s coverage: 21.7% of statements [2020-07-16T15:06:52.958Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-16T15:06:52.958Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.150s coverage: 36.9% of statements [2020-07-16T15:06:52.958Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-16T15:06:52.958Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.572s coverage: 65.2% of statements [2020-07-16T15:06:52.958Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-16T15:06:52.958Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-16T15:06:52.958Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-16T15:06:52.958Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements [2020-07-16T15:06:52.958Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.328s coverage: 68.9% of statements [2020-07-16T15:06:52.958Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-16T15:06:52.958Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-16T15:06:52.958Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-16T15:06:54.939Z] gofmt -l . [2020-07-16T15:06:55.529Z] [ "`gofmt -l .`" = "" ] [2020-07-16T15:06:55.803Z] ./bin/test-attribution-txt.sh [2020-07-16T15:06:56.393Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-16T15:06:57.010Z] Warning: overwriting stash ‘coverage-report’ [2020-07-16T15:06:57.454Z] Stashed 1 file(s) [Pipeline] } [2020-07-16T15:06:57.460Z] $ docker stop --time=1 4302d76dfcbc98689900230238dda2789f9b6cd80af420c42f2843d959bb2dac [2020-07-16T15:06:59.410Z] $ docker rm -f 4302d76dfcbc98689900230238dda2789f9b6cd80af420c42f2843d959bb2dac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-16T15:07:00.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-16T15:07:00.851Z] + ls -al . [2020-07-16T15:07:00.851Z] total 224 [2020-07-16T15:07:00.851Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 16 15:06 . [2020-07-16T15:07:00.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 15:04 .. [2020-07-16T15:07:00.851Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 15:04 .dockerignore [2020-07-16T15:07:00.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 15:04 .git [2020-07-16T15:07:00.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 15:04 .github [2020-07-16T15:07:00.851Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 16 15:04 .gitignore [2020-07-16T15:07:00.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 15:04 .semver [2020-07-16T15:07:00.851Z] -rw-rw-r-- 1 jenkins jenkins 936 Jul 16 15:04 Dockerfile.build [2020-07-16T15:07:00.851Z] -rw-rw-r-- 1 jenkins jenkins 808 Jul 16 15:04 Jenkinsfile [2020-07-16T15:07:00.851Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 16 15:04 LICENSE [2020-07-16T15:07:00.851Z] -rw-rw-r-- 1 jenkins jenkins 892 Jul 16 15:04 Makefile [2020-07-16T15:07:00.851Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jul 16 15:04 README.md [2020-07-16T15:07:00.851Z] -rw-rw-r-- 1 jenkins jenkins 3997 Jul 16 15:04 RELEASE-NOTES.txt [2020-07-16T15:07:00.851Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 16 15:00 VERSION [2020-07-16T15:07:00.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 15:04 api [2020-07-16T15:07:00.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 15:04 bin [2020-07-16T15:07:00.851Z] -rw-r--r-- 1 jenkins jenkins 110877 Jul 16 15:06 coverage.out [2020-07-16T15:07:00.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 15:04 example [2020-07-16T15:07:00.851Z] -rw-r--r-- 1 jenkins jenkins 446 Jul 16 15:06 go.mod [2020-07-16T15:07:00.851Z] -rw-r--r-- 1 jenkins jenkins 12179 Jul 16 15:06 go.sum [2020-07-16T15:07:00.851Z] drwxrwxr-x 13 jenkins jenkins 4096 Jul 16 15:04 internal [2020-07-16T15:07:00.851Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 16 15:04 pkg [2020-07-16T15:07:00.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 15:04 snap [2020-07-16T15:07:00.851Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 16 15:04 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:07:01.183Z] + 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=43f76da7d4a1dba45abf65466c274475ddab04f4 --label arch=arm64 --label version=1.2.3-dev.5 . [2020-07-16T15:07:01.454Z] Sending build context to Docker daemon 3.225MB [2020-07-16T15:07:01.454Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-16T15:07:01.454Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-16T15:07:01.454Z] ---> 67af716fe6ef [2020-07-16T15:07:01.454Z] Step 3/23 : ARG MAKE='make build' [2020-07-16T15:07:01.728Z] ---> Running in 134da608ac88 [2020-07-16T15:07:02.347Z] Removing intermediate container 134da608ac88 [2020-07-16T15:07:02.347Z] ---> 682a2923c0ed [2020-07-16T15:07:02.347Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-16T15:07:02.347Z] ---> Running in aaa538021cc1 [2020-07-16T15:07:02.982Z] Removing intermediate container aaa538021cc1 [2020-07-16T15:07:02.982Z] ---> 81b638cfc408 [2020-07-16T15:07:02.982Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T15:07:02.982Z] ---> Running in dc813cf6cdf4 [2020-07-16T15:07:03.254Z] Removing intermediate container dc813cf6cdf4 [2020-07-16T15:07:03.254Z] ---> 7f46a51ccd8d [2020-07-16T15:07:03.254Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T15:07:03.529Z] ---> Running in d231ba5e4726 [2020-07-16T15:07:05.738Z] Removing intermediate container d231ba5e4726 [2020-07-16T15:07:05.738Z] ---> 176a680b51de [2020-07-16T15:07:05.738Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-16T15:07:06.011Z] ---> Running in 9d78ec74ba75 [2020-07-16T15:07:07.434Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-07-16T15:07:08.022Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-07-16T15:07:08.990Z] OK: 125 MiB in 39 packages [2020-07-16T15:07:09.960Z] Removing intermediate container 9d78ec74ba75 [2020-07-16T15:07:09.960Z] ---> 8e14b8fc99a9 [2020-07-16T15:07:09.960Z] Step 8/23 : COPY . . [2020-07-16T15:07:10.935Z] ---> 90efff3d81b6 [2020-07-16T15:07:10.935Z] Step 9/23 : RUN ${MAKE} [2020-07-16T15:07:10.935Z] ---> Running in f6f87db8b8ef [2020-07-16T15:07:12.360Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.5" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-07-16T15:07:34.513Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-16T15:07:37.110Z] Removing intermediate container f6f87db8b8ef [2020-07-16T15:07:37.110Z] ---> dbca79b42746 [2020-07-16T15:07:37.110Z] Step 10/23 : FROM scratch [2020-07-16T15:07:37.110Z] ---> [2020-07-16T15:07:37.110Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T15:07:37.110Z] ---> Running in 8b0a33bf7f3b [2020-07-16T15:07:37.110Z] Removing intermediate container 8b0a33bf7f3b [2020-07-16T15:07:37.110Z] ---> 7432d8a010d0 [2020-07-16T15:07:37.110Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-16T15:07:37.380Z] ---> Running in a151a2f67e48 [2020-07-16T15:07:37.651Z] Removing intermediate container a151a2f67e48 [2020-07-16T15:07:37.651Z] ---> 809b8430ce92 [2020-07-16T15:07:37.651Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-16T15:07:37.651Z] ---> Running in 40292579c94f [2020-07-16T15:07:38.245Z] Removing intermediate container 40292579c94f [2020-07-16T15:07:38.245Z] ---> bf4e36521f3d [2020-07-16T15:07:38.245Z] Step 14/23 : WORKDIR / [2020-07-16T15:07:38.245Z] ---> Running in eeecad43e954 [2020-07-16T15:07:38.843Z] Removing intermediate container eeecad43e954 [2020-07-16T15:07:38.843Z] ---> a74c1d5aec06 [2020-07-16T15:07:38.843Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-16T15:07:39.826Z] ---> ff7a19b896b9 [2020-07-16T15:07:39.826Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-16T15:07:40.798Z] ---> 6b618871a04f [2020-07-16T15:07:40.798Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-16T15:07:41.389Z] ---> 61fffaf248f4 [2020-07-16T15:07:41.389Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-16T15:07:41.981Z] ---> 4787b0c373c1 [2020-07-16T15:07:41.981Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-16T15:07:42.956Z] ---> 9933b8372e65 [2020-07-16T15:07:42.956Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-16T15:07:42.956Z] ---> Running in 47ac2714b9a9 [2020-07-16T15:07:43.548Z] Removing intermediate container 47ac2714b9a9 [2020-07-16T15:07:43.548Z] ---> 2327d61981e6 [2020-07-16T15:07:43.548Z] Step 21/23 : LABEL arch=arm64 [2020-07-16T15:07:43.548Z] ---> Running in 374034b9c479 [2020-07-16T15:07:43.820Z] Removing intermediate container 374034b9c479 [2020-07-16T15:07:43.820Z] ---> 4febc1250acc [2020-07-16T15:07:43.820Z] Step 22/23 : LABEL git_sha=43f76da7d4a1dba45abf65466c274475ddab04f4 [2020-07-16T15:07:44.092Z] ---> Running in 8aded9b0b037 [2020-07-16T15:07:44.364Z] Removing intermediate container 8aded9b0b037 [2020-07-16T15:07:44.364Z] ---> 0878cd2e8dc7 [2020-07-16T15:07:44.364Z] Step 23/23 : LABEL version=1.2.3-dev.5 [2020-07-16T15:07:44.633Z] ---> Running in 1a1aa0426988 [2020-07-16T15:07:45.226Z] Removing intermediate container 1a1aa0426988 [2020-07-16T15:07:45.226Z] ---> d2a8c5ed5abd [2020-07-16T15:07:45.226Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-16T15:07:45.226Z] Successfully built d2a8c5ed5abd [2020-07-16T15:07:45.226Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-07-16T15:07:46.506Z] provisioning config files... [2020-07-16T15:07:46.515Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4965869133640645627tmp [Pipeline] { [Pipeline] sh [2020-07-16T15:07:46.870Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4965869133640645627tmp [2020-07-16T15:07:46.870Z] + curl -s https://codecov.io/bash [Pipeline] } [2020-07-16T15:07:47.144Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-07-16T15:07:47.540Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-07-16T15:07:47.542Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-07-16T15:07:47.589Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:07:47.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-07-16T15:07:47.927Z] [2020-07-16T15:07:47.927Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:07:48.272Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-07-16T15:07:48.272Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-07-16T15:07:48.272Z] cbdbe7a5bc2a: Pulling fs layer [2020-07-16T15:07:48.272Z] 408f87550127: Pulling fs layer [2020-07-16T15:07:48.272Z] fe522b08c979: Pulling fs layer [2020-07-16T15:07:48.272Z] 221eaa008020: Pulling fs layer [2020-07-16T15:07:48.272Z] 2a4607e5d6b9: Pulling fs layer [2020-07-16T15:07:48.272Z] 8f79b27c4fd2: Pulling fs layer [2020-07-16T15:07:48.272Z] e5c8dbe1645b: Pulling fs layer [2020-07-16T15:07:48.272Z] 23e8b3b47431: Pulling fs layer [2020-07-16T15:07:48.272Z] 5c568d65a230: Pulling fs layer [2020-07-16T15:07:48.272Z] 8f79b27c4fd2: Waiting [2020-07-16T15:07:48.272Z] 221eaa008020: Waiting [2020-07-16T15:07:48.272Z] 5c568d65a230: Waiting [2020-07-16T15:07:48.272Z] 2a4607e5d6b9: Waiting [2020-07-16T15:07:48.273Z] e5c8dbe1645b: Waiting [2020-07-16T15:07:48.273Z] fe522b08c979: Verifying Checksum [2020-07-16T15:07:48.273Z] fe522b08c979: Download complete [2020-07-16T15:07:48.273Z] 2a4607e5d6b9: Verifying Checksum [2020-07-16T15:07:48.273Z] 2a4607e5d6b9: Download complete [2020-07-16T15:07:48.273Z] 8f79b27c4fd2: Verifying Checksum [2020-07-16T15:07:48.273Z] 8f79b27c4fd2: Download complete [2020-07-16T15:07:48.273Z] cbdbe7a5bc2a: Verifying Checksum [2020-07-16T15:07:48.273Z] cbdbe7a5bc2a: Download complete [2020-07-16T15:07:48.554Z] e5c8dbe1645b: Verifying Checksum [2020-07-16T15:07:48.554Z] e5c8dbe1645b: Download complete [2020-07-16T15:07:48.838Z] cbdbe7a5bc2a: Pull complete [2020-07-16T15:07:49.122Z] 23e8b3b47431: Verifying Checksum [2020-07-16T15:07:49.122Z] 23e8b3b47431: Download complete [2020-07-16T15:07:49.122Z] 408f87550127: Pull complete [2020-07-16T15:07:49.388Z] 5c568d65a230: Verifying Checksum [2020-07-16T15:07:49.388Z] 5c568d65a230: Download complete [2020-07-16T15:07:49.388Z] fe522b08c979: Pull complete [2020-07-16T15:07:49.959Z] 221eaa008020: Verifying Checksum [2020-07-16T15:07:49.959Z] 221eaa008020: Download complete [2020-07-16T15:07:55.309Z] 221eaa008020: Pull complete [2020-07-16T15:07:55.309Z] 2a4607e5d6b9: Pull complete [2020-07-16T15:07:55.309Z] 8f79b27c4fd2: Pull complete [2020-07-16T15:07:57.852Z] e5c8dbe1645b: Pull complete [2020-07-16T15:08:00.405Z] 23e8b3b47431: Pull complete [2020-07-16T15:08:01.798Z] 5c568d65a230: Pull complete [2020-07-16T15:08:01.798Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-07-16T15:08:01.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-07-16T15:08:01.798Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-07-16T15:08:01.932Z] prd-centos7-docker-4c-2g-946 does not seem to be running inside a container [2020-07-16T15:08:01.975Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-07-16T15:08:02.705Z] $ docker top 264bcb3f875b686908355baa36c8dd25f072f297e1da6fc121fbbf6ea7b51251 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-16T15:08:03.206Z] + snyk monitor '--org=edgex-jenkins' [2020-07-16T15:08:13.211Z] [2020-07-16T15:08:13.211Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-07-16T15:08:13.211Z] [2020-07-16T15:08:13.211Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/349bd392-4653-4e46-9f1f-ef8f9639e7ef [2020-07-16T15:08:13.211Z] [2020-07-16T15:08:13.211Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-07-16T15:08:13.211Z] [2020-07-16T15:08:13.211Z] [Pipeline] } [2020-07-16T15:08:13.227Z] $ docker stop --time=1 264bcb3f875b686908355baa36c8dd25f072f297e1da6fc121fbbf6ea7b51251 [2020-07-16T15:08:15.607Z] $ docker rm -f 264bcb3f875b686908355baa36c8dd25f072f297e1da6fc121fbbf6ea7b51251 [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-07-16T15:08:16.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T15:08:16.827Z] . [Pipeline] withDockerContainer [2020-07-16T15:08:16.917Z] prd-centos7-docker-4c-2g-946 does not seem to be running inside a container [2020-07-16T15:08:16.963Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-16T15:08:17.955Z] $ docker top bce736405a3f2303afc2e63715335d4341e3a734e136524d0e7f5d6e48a8006f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-16T15:08:18.253Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-16T15:08:18.253Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-16T15:08:18.486Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-16T15:08:18.492Z] $ docker exec bce736405a3f2303afc2e63715335d4341e3a734e136524d0e7f5d6e48a8006f ssh-agent [2020-07-16T15:08:18.651Z] SSH_AUTH_SOCK=/tmp/ssh-ouczSuqT7An8/agent.11 [2020-07-16T15:08:18.651Z] SSH_AGENT_PID=16 [2020-07-16T15:08:18.657Z] Running ssh-add (command line suppressed) [2020-07-16T15:08:18.785Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7443594561789900682.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7443594561789900682.key) [2020-07-16T15:08:18.835Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-16T15:08:19.159Z] + git semver tag [2020-07-16T15:08:19.159Z] # -> Open(): unable to determine branch for HEAD [2020-07-16T15:08:19.159Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-07-16T15:08:19.159Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-07-16T15:08:19.159Z] # $SEMVER_REMOTE_NAME = origin [2020-07-16T15:08:19.159Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-16T15:08:19.159Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-16T15:08:19.159Z] # $SEMVER_BRANCH = master [2020-07-16T15:08:19.159Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-07-16T15:08:19.159Z] # 43f76da7d4a1dba45abf65466c274475ddab04f4 HEAD [2020-07-16T15:08:19.159Z] # -> Force: false [2020-07-16T15:08:19.159Z] # e62c4a1052ce990a57970f189d380e33ea2ec2c4 refs/tags/v1.2.3-dev.5 [Pipeline] } [2020-07-16T15:08:19.175Z] $ docker exec --env ******** --env ******** bce736405a3f2303afc2e63715335d4341e3a734e136524d0e7f5d6e48a8006f ssh-agent -k [2020-07-16T15:08:19.307Z] unset SSH_AUTH_SOCK; [2020-07-16T15:08:19.308Z] unset SSH_AGENT_PID; [2020-07-16T15:08:19.308Z] echo Agent pid 16 killed; [2020-07-16T15:08:19.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-16T15:08:19.789Z] + git semver [Pipeline] } [2020-07-16T15:08:19.807Z] $ docker stop --time=1 bce736405a3f2303afc2e63715335d4341e3a734e136524d0e7f5d6e48a8006f [2020-07-16T15:08:21.137Z] $ docker rm -f bce736405a3f2303afc2e63715335d4341e3a734e136524d0e7f5d6e48a8006f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:08:21.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-07-16T15:08:21.709Z] [2020-07-16T15:08:21.709Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:08:22.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-07-16T15:08:22.038Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-07-16T15:08:22.038Z] ab5ef0e58194: Pulling fs layer [2020-07-16T15:08:22.038Z] 9712f1f96733: Pulling fs layer [2020-07-16T15:08:22.038Z] 63f879dbbcfc: Pulling fs layer [2020-07-16T15:08:22.038Z] 0d9ebad4ef96: Pulling fs layer [2020-07-16T15:08:22.038Z] e9a5061849ea: Pulling fs layer [2020-07-16T15:08:22.038Z] d747dcd14b5f: Pulling fs layer [2020-07-16T15:08:22.038Z] 2de7ff778b66: Pulling fs layer [2020-07-16T15:08:22.038Z] e9a5061849ea: Waiting [2020-07-16T15:08:22.038Z] 0d9ebad4ef96: Waiting [2020-07-16T15:08:22.038Z] d747dcd14b5f: Waiting [2020-07-16T15:08:22.038Z] 2de7ff778b66: Waiting [2020-07-16T15:08:22.038Z] 9712f1f96733: Verifying Checksum [2020-07-16T15:08:22.038Z] 9712f1f96733: Download complete [2020-07-16T15:08:22.631Z] 63f879dbbcfc: Verifying Checksum [2020-07-16T15:08:22.631Z] 63f879dbbcfc: Download complete [2020-07-16T15:08:22.631Z] e9a5061849ea: Verifying Checksum [2020-07-16T15:08:22.631Z] e9a5061849ea: Download complete [2020-07-16T15:08:22.631Z] d747dcd14b5f: Verifying Checksum [2020-07-16T15:08:22.631Z] d747dcd14b5f: Download complete [2020-07-16T15:08:22.895Z] 0d9ebad4ef96: Verifying Checksum [2020-07-16T15:08:22.895Z] 0d9ebad4ef96: Download complete [2020-07-16T15:08:22.895Z] 2de7ff778b66: Verifying Checksum [2020-07-16T15:08:22.895Z] 2de7ff778b66: Download complete [2020-07-16T15:08:22.895Z] ab5ef0e58194: Verifying Checksum [2020-07-16T15:08:22.895Z] ab5ef0e58194: Download complete [2020-07-16T15:08:27.124Z] ab5ef0e58194: Pull complete [2020-07-16T15:08:27.388Z] 9712f1f96733: Pull complete [2020-07-16T15:08:30.684Z] 63f879dbbcfc: Pull complete [2020-07-16T15:08:35.984Z] 0d9ebad4ef96: Pull complete [2020-07-16T15:08:37.981Z] e9a5061849ea: Pull complete [2020-07-16T15:08:37.981Z] d747dcd14b5f: Pull complete [2020-07-16T15:08:40.585Z] 2de7ff778b66: Pull complete [2020-07-16T15:08:40.585Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-07-16T15:08:40.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-07-16T15:08:40.585Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-07-16T15:08:40.713Z] prd-centos7-docker-4c-2g-946 does not seem to be running inside a container [2020-07-16T15:08:40.753Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-07-16T15:08:45.173Z] $ docker top f1b701a85de5e14569439edfaa00f1c2982df1fc9d2e33f548dbb7d8d1a30a35 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-07-16T15:08:45.443Z] provisioning config files... [2020-07-16T15:08:45.452Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7195473502313656750tmp [2020-07-16T15:08:45.466Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6242445071720394640tmp [2020-07-16T15:08:45.479Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6025917300151258841tmp [Pipeline] { [Pipeline] echo [2020-07-16T15:08:45.540Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T15:08:45.833Z] ---> sigul-configuration.sh [2020-07-16T15:08:45.833Z] gpg: directory `/root/.gnupg' created [2020-07-16T15:08:45.833Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-07-16T15:08:45.833Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-07-16T15:08:45.833Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-07-16T15:08:45.833Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-07-16T15:08:45.833Z] gpg: CAST5 encrypted data [2020-07-16T15:08:46.097Z] gpg: encrypted with 1 passphrase [2020-07-16T15:08:46.097Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-07-16T15:08:46.389Z] + mkdir /home/jenkins [2020-07-16T15:08:46.390Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-07-16T15:08:46.679Z] + 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-07-16T15:08:46.688Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T15:08:46.975Z] ---> sigul-install.sh [2020-07-16T15:08:52.273Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-07-16T15:08:52.566Z] + git tag --list [2020-07-16T15:08:52.566Z] v1.2.3-dev.5 [Pipeline] sh [2020-07-16T15:08:52.855Z] + lftools sign git-tag v1.2.3-dev.5 [2020-07-16T15:08:54.240Z] Signing Git tag with Sigul... [2020-07-16T15:08:54.240Z] Signing v1.2.3-dev.5 [Pipeline] echo [2020-07-16T15:08:55.190Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T15:08:55.478Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-07-16T15:08:55.486Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-07-16T15:08:55.564Z] $ docker stop --time=1 f1b701a85de5e14569439edfaa00f1c2982df1fc9d2e33f548dbb7d8d1a30a35 [2020-07-16T15:08:57.398Z] $ docker rm -f f1b701a85de5e14569439edfaa00f1c2982df1fc9d2e33f548dbb7d8d1a30a35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:08:58.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T15:08:58.047Z] . [Pipeline] withDockerContainer [2020-07-16T15:08:58.144Z] prd-centos7-docker-4c-2g-946 does not seem to be running inside a container [2020-07-16T15:08:58.186Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-16T15:08:58.789Z] $ docker top cb47e9cbf9d0b4e94b69b8f4d956e0c72ab50b03397c774cd05922188661963b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-16T15:08:59.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-16T15:08:59.039Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-16T15:08:59.219Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-16T15:08:59.225Z] $ docker exec cb47e9cbf9d0b4e94b69b8f4d956e0c72ab50b03397c774cd05922188661963b ssh-agent [2020-07-16T15:08:59.397Z] SSH_AUTH_SOCK=/tmp/ssh-C3xfipClGsiI/agent.12 [2020-07-16T15:08:59.397Z] SSH_AGENT_PID=18 [2020-07-16T15:08:59.404Z] Running ssh-add (command line suppressed) [2020-07-16T15:08:59.530Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6500584455489852574.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6500584455489852574.key) [2020-07-16T15:08:59.583Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-16T15:08:59.921Z] + git semver bump pre [2020-07-16T15:08:59.921Z] # -> Open(): unable to determine branch for HEAD [2020-07-16T15:08:59.921Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-07-16T15:08:59.921Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-07-16T15:08:59.921Z] # $SEMVER_REMOTE_NAME = origin [2020-07-16T15:08:59.921Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-16T15:08:59.921Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-16T15:08:59.921Z] # $SEMVER_BRANCH = master [2020-07-16T15:08:59.921Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-07-16T15:08:59.921Z] 1.2.3-dev.6 [Pipeline] } [2020-07-16T15:08:59.935Z] $ docker exec --env ******** --env ******** cb47e9cbf9d0b4e94b69b8f4d956e0c72ab50b03397c774cd05922188661963b ssh-agent -k [2020-07-16T15:09:00.054Z] unset SSH_AUTH_SOCK; [2020-07-16T15:09:00.054Z] unset SSH_AGENT_PID; [2020-07-16T15:09:00.054Z] echo Agent pid 18 killed; [2020-07-16T15:09:00.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-16T15:09:00.599Z] + git semver [Pipeline] } [2020-07-16T15:09:00.616Z] $ docker stop --time=1 cb47e9cbf9d0b4e94b69b8f4d956e0c72ab50b03397c774cd05922188661963b [2020-07-16T15:09:01.950Z] $ docker rm -f cb47e9cbf9d0b4e94b69b8f4d956e0c72ab50b03397c774cd05922188661963b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:09:02.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T15:09:02.448Z] . [Pipeline] withDockerContainer [2020-07-16T15:09:02.543Z] prd-centos7-docker-4c-2g-946 does not seem to be running inside a container [2020-07-16T15:09:02.596Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-16T15:09:03.120Z] $ docker top e765f8810b95433dc2d8dd8888792c3e858ce3ed03315a42ea5ec176d0d8e36a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-16T15:09:03.374Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-16T15:09:03.374Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-16T15:09:03.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-16T15:09:03.555Z] $ docker exec e765f8810b95433dc2d8dd8888792c3e858ce3ed03315a42ea5ec176d0d8e36a ssh-agent [2020-07-16T15:09:03.725Z] SSH_AUTH_SOCK=/tmp/ssh-LAhFGrOdEXOq/agent.11 [2020-07-16T15:09:03.725Z] SSH_AGENT_PID=17 [2020-07-16T15:09:03.732Z] Running ssh-add (command line suppressed) [2020-07-16T15:09:03.860Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6021724029867966821.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6021724029867966821.key) [2020-07-16T15:09:03.916Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-16T15:09:04.242Z] + git semver push [2020-07-16T15:09:04.242Z] # -> Open(): unable to determine branch for HEAD [2020-07-16T15:09:04.242Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-07-16T15:09:04.242Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-07-16T15:09:04.242Z] # $SEMVER_REMOTE_NAME = origin [2020-07-16T15:09:04.242Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-16T15:09:04.242Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-16T15:09:04.242Z] # $SEMVER_BRANCH = master [2020-07-16T15:09:04.242Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-07-16T15:09:12.399Z] $ docker exec --env ******** --env ******** e765f8810b95433dc2d8dd8888792c3e858ce3ed03315a42ea5ec176d0d8e36a ssh-agent -k [2020-07-16T15:09:12.534Z] unset SSH_AUTH_SOCK; [2020-07-16T15:09:12.536Z] unset SSH_AGENT_PID; [2020-07-16T15:09:12.536Z] echo Agent pid 17 killed; [2020-07-16T15:09:12.586Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-16T15:09:13.053Z] + git semver [Pipeline] } [2020-07-16T15:09:13.070Z] $ docker stop --time=1 e765f8810b95433dc2d8dd8888792c3e858ce3ed03315a42ea5ec176d0d8e36a [2020-07-16T15:09:14.412Z] $ docker rm -f e765f8810b95433dc2d8dd8888792c3e858ce3ed03315a42ea5ec176d0d8e36a [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-07-16T15:09:15.246Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T15:09:15.822Z] ---> package-listing.sh [2020-07-16T15:09:15.822Z] ++ facter osfamily [2020-07-16T15:09:15.822Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-16T15:09:15.822Z] + OS_FAMILY=redhat [2020-07-16T15:09:15.822Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-07-16T15:09:15.822Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-16T15:09:15.822Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-16T15:09:15.822Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-16T15:09:15.822Z] + PACKAGES=/tmp/packages_start.txt [2020-07-16T15:09:15.822Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-07-16T15:09:15.822Z] + PACKAGES=/tmp/packages_end.txt [2020-07-16T15:09:15.822Z] + case "${OS_FAMILY}" in [2020-07-16T15:09:15.822Z] + rpm -qa [2020-07-16T15:09:15.822Z] + sort [2020-07-16T15:09:20.030Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-16T15:09:20.030Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-16T15:09:20.030Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-16T15:09:20.030Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-07-16T15:09:20.030Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-07-16T15:09:20.030Z] + 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-07-16T15:09:20.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-16T15:09:20.685Z] [2020-07-16T15:09:20.685Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-16T15:09:21.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-16T15:09:21.066Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-16T15:09:21.066Z] c9b1b535fdd9: Pulling fs layer [2020-07-16T15:09:21.066Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-16T15:09:21.066Z] 756a868c4378: Pulling fs layer [2020-07-16T15:09:21.066Z] 444b2fc9a129: Pulling fs layer [2020-07-16T15:09:21.066Z] ea15f1150254: Pulling fs layer [2020-07-16T15:09:21.066Z] 41b27a9f41bf: Pulling fs layer [2020-07-16T15:09:21.066Z] 28c525ee5125: Pulling fs layer [2020-07-16T15:09:21.066Z] 094b1ea09ed8: Pulling fs layer [2020-07-16T15:09:21.066Z] 138eaada9080: Pulling fs layer [2020-07-16T15:09:21.066Z] 0622d0fa9048: Pulling fs layer [2020-07-16T15:09:21.066Z] ea15f1150254: Waiting [2020-07-16T15:09:21.066Z] 41b27a9f41bf: Waiting [2020-07-16T15:09:21.066Z] 28c525ee5125: Waiting [2020-07-16T15:09:21.066Z] 138eaada9080: Waiting [2020-07-16T15:09:21.066Z] 094b1ea09ed8: Waiting [2020-07-16T15:09:21.066Z] 0622d0fa9048: Waiting [2020-07-16T15:09:21.066Z] 444b2fc9a129: Waiting [2020-07-16T15:09:21.066Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-16T15:09:21.066Z] 2cc5ad85d9ab: Download complete [2020-07-16T15:09:21.066Z] 444b2fc9a129: Verifying Checksum [2020-07-16T15:09:21.066Z] 444b2fc9a129: Download complete [2020-07-16T15:09:21.066Z] c9b1b535fdd9: Verifying Checksum [2020-07-16T15:09:21.066Z] c9b1b535fdd9: Download complete [2020-07-16T15:09:21.066Z] ea15f1150254: Download complete [2020-07-16T15:09:21.329Z] 28c525ee5125: Verifying Checksum [2020-07-16T15:09:21.329Z] 28c525ee5125: Download complete [2020-07-16T15:09:21.590Z] 756a868c4378: Verifying Checksum [2020-07-16T15:09:21.590Z] 756a868c4378: Download complete [2020-07-16T15:09:21.590Z] 138eaada9080: Verifying Checksum [2020-07-16T15:09:21.590Z] 138eaada9080: Download complete [2020-07-16T15:09:21.590Z] 0622d0fa9048: Verifying Checksum [2020-07-16T15:09:21.590Z] 0622d0fa9048: Download complete [2020-07-16T15:09:21.853Z] 094b1ea09ed8: Verifying Checksum [2020-07-16T15:09:21.853Z] 094b1ea09ed8: Download complete [2020-07-16T15:09:22.114Z] 41b27a9f41bf: Verifying Checksum [2020-07-16T15:09:22.114Z] 41b27a9f41bf: Download complete [2020-07-16T15:09:22.687Z] c9b1b535fdd9: Pull complete [2020-07-16T15:09:22.950Z] 2cc5ad85d9ab: Pull complete [2020-07-16T15:09:24.342Z] 756a868c4378: Pull complete [2020-07-16T15:09:24.342Z] 444b2fc9a129: Pull complete [2020-07-16T15:09:24.606Z] ea15f1150254: Pull complete [2020-07-16T15:09:27.923Z] 41b27a9f41bf: Pull complete [2020-07-16T15:09:27.923Z] 28c525ee5125: Pull complete [2020-07-16T15:09:29.841Z] 094b1ea09ed8: Pull complete [2020-07-16T15:09:30.105Z] 138eaada9080: Pull complete [2020-07-16T15:09:30.105Z] 0622d0fa9048: Pull complete [2020-07-16T15:09:30.365Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-16T15:09:30.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-16T15:09:30.365Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-16T15:09:30.473Z] prd-centos7-docker-4c-2g-946 does not seem to be running inside a container [2020-07-16T15:09:30.513Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-16T15:09:33.192Z] $ docker top 93e29b81dccb1a70631072206e6dc19acd2cf39f82671965a204ec98a23c6258 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-16T15:09:33.455Z] provisioning config files... [2020-07-16T15:09:33.467Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5105496539855967152tmp [Pipeline] { [Pipeline] echo [2020-07-16T15:09:33.523Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T15:09:33.813Z] ---> create-netrc.sh [Pipeline] echo [2020-07-16T15:09:33.821Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T15:09:34.111Z] ---> logs-deploy.sh [2020-07-16T15:09:34.111Z] + ARCHIVE_ARTIFACTS= [2020-07-16T15:09:34.111Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-16T15:09:34.111Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-16T15:09:34.111Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-16T15:09:34.111Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/49 [2020-07-16T15:09:34.111Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/49/ [2020-07-16T15:09:34.111Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/49 /w/workspace/dgexfoundry_device-sdk-go_master [2020-07-16T15:09:35.052Z] Archives upload complete. [2020-07-16T15:09:35.313Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/49 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/49/