Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a939715cd6b2ce15799d62ce2550d8dc39d33fc5 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d # timeout=10 Commit message: "Merge pull request #173 from ernestojeda/bugfix-did-change-prev" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-6730 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 Fetching 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 > 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 a939715cd6b2ce15799d62ce2550d8dc39d33fc5 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f a939715cd6b2ce15799d62ce2550d8dc39d33fc5 # timeout=10 Commit message: "Merge pull request #519 from lenny-intel/bootstrap" > git rev-list --no-walk f380c9750d394b15a68c03899168051b17741a54 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-30T13:13:42.731Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-30T13:13:42.997Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-30T13:13:43.155Z] ========================================================= [2020-04-30T13:13:43.155Z] EdgeX Global Pipelines Version Info [2020-04-30T13:13:43.155Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-30T13:13:44.628Z] ------------------- [2020-04-30T13:13:44.628Z] stable info: [2020-04-30T13:13:44.628Z] ------------------- [2020-04-30T13:13:44.628Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-30T13:13:44.628Z] Commit SHA: 997776a94285dd80d478e4f0c197496148fdc64f [2020-04-30T13:13:44.628Z] Message: update stable to v1.0.86 [2020-04-30T13:13:45.197Z] ------------------- [2020-04-30T13:13:45.197Z] experimental info: [2020-04-30T13:13:45.197Z] ------------------- [2020-04-30T13:13:45.197Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-30T13:13:45.197Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-04-30T13:13:45.197Z] Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:13:47.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-30T13:13:47.664Z] [2020-04-30T13:13:47.664Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:13:48.006Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-30T13:13:48.006Z] latest: Pulling from edgex-devops/git-semver [2020-04-30T13:13:48.006Z] 9123ac7c32f7: Pulling fs layer [2020-04-30T13:13:48.006Z] b8cc5d1170e3: Pulling fs layer [2020-04-30T13:13:48.006Z] 2924cbbf6a41: Pulling fs layer [2020-04-30T13:13:48.006Z] 93b08a4f1073: Pulling fs layer [2020-04-30T13:13:48.006Z] 93b08a4f1073: Waiting [2020-04-30T13:13:48.006Z] b8cc5d1170e3: Verifying Checksum [2020-04-30T13:13:48.006Z] b8cc5d1170e3: Download complete [2020-04-30T13:13:48.269Z] 9123ac7c32f7: Verifying Checksum [2020-04-30T13:13:48.269Z] 9123ac7c32f7: Download complete [2020-04-30T13:13:48.269Z] 2924cbbf6a41: Verifying Checksum [2020-04-30T13:13:48.269Z] 2924cbbf6a41: Download complete [2020-04-30T13:13:48.269Z] 93b08a4f1073: Verifying Checksum [2020-04-30T13:13:48.269Z] 93b08a4f1073: Download complete [2020-04-30T13:13:48.269Z] 9123ac7c32f7: Pull complete [2020-04-30T13:13:48.527Z] b8cc5d1170e3: Pull complete [2020-04-30T13:13:49.100Z] 2924cbbf6a41: Pull complete [2020-04-30T13:13:49.360Z] 93b08a4f1073: Pull complete [2020-04-30T13:13:49.361Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-30T13:13:49.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-30T13:13:49.512Z] prd-centos7-docker-4c-2g-6730 does not seem to be running inside a container [2020-04-30T13:13:49.555Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-30T13:13:50.239Z] $ docker top 0457368b017b4c13a2d38d88e6b5a8b67893cd8271c0cce64eeac0071dcf939f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-30T13:13:50.659Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-30T13:13:50.659Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-30T13:13:50.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-30T13:13:50.862Z] $ docker exec 0457368b017b4c13a2d38d88e6b5a8b67893cd8271c0cce64eeac0071dcf939f ssh-agent [2020-04-30T13:13:51.052Z] SSH_AUTH_SOCK=/tmp/ssh-uoKT2a4no7wn/agent.15 [2020-04-30T13:13:51.052Z] SSH_AGENT_PID=22 [2020-04-30T13:13:51.063Z] Running ssh-add (command line suppressed) [2020-04-30T13:13:51.216Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3021690611144254312.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3021690611144254312.key) [2020-04-30T13:13:51.293Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-30T13:13:51.626Z] + git describe --exact-match --tags HEAD [2020-04-30T13:13:51.626Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-30T13:13:51.700Z] $ docker exec --env ******** --env ******** 0457368b017b4c13a2d38d88e6b5a8b67893cd8271c0cce64eeac0071dcf939f ssh-agent -k [2020-04-30T13:13:51.842Z] unset SSH_AUTH_SOCK; [2020-04-30T13:13:51.842Z] unset SSH_AGENT_PID; [2020-04-30T13:13:51.842Z] echo Agent pid 22 killed; [2020-04-30T13:13:51.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-30T13:13:52.030Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-30T13:13:52.031Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-30T13:13:52.103Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-30T13:13:52.103Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-30T13:13:52.287Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-30T13:13:52.290Z] $ docker exec 0457368b017b4c13a2d38d88e6b5a8b67893cd8271c0cce64eeac0071dcf939f ssh-agent [2020-04-30T13:13:52.473Z] SSH_AUTH_SOCK=/tmp/ssh-nWqKXCwCrzKe/agent.58 [2020-04-30T13:13:52.473Z] SSH_AGENT_PID=65 [2020-04-30T13:13:52.483Z] Running ssh-add (command line suppressed) [2020-04-30T13:13:52.622Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8593765865756255957.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8593765865756255957.key) [2020-04-30T13:13:52.672Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-30T13:13:52.994Z] + git semver init [2020-04-30T13:13:52.994Z] # -> Open(): unable to determine branch for HEAD [2020-04-30T13:13:52.994Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-30T13:13:52.994Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-30T13:13:52.994Z] # $SEMVER_REMOTE_NAME = origin [2020-04-30T13:13:52.994Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-30T13:13:52.994Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-30T13:13:52.994Z] # $SEMVER_BRANCH = master [2020-04-30T13:13:52.994Z] # $SEMVER_TEMP = /tmp/semver-577560310 [2020-04-30T13:13:52.994Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-30T13:13:53.564Z] # '/tmp/semver-577560310' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-04-30T13:13:53.564Z] # -> Force: false [2020-04-30T13:13:53.564Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-30T13:13:53.573Z] $ docker exec --env ******** --env ******** 0457368b017b4c13a2d38d88e6b5a8b67893cd8271c0cce64eeac0071dcf939f ssh-agent -k [2020-04-30T13:13:53.703Z] unset SSH_AUTH_SOCK; [2020-04-30T13:13:53.704Z] unset SSH_AGENT_PID; [2020-04-30T13:13:53.704Z] echo Agent pid 65 killed; [2020-04-30T13:13:53.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-30T13:13:54.183Z] + git semver [Pipeline] } [2020-04-30T13:13:54.196Z] $ docker stop --time=1 0457368b017b4c13a2d38d88e6b5a8b67893cd8271c0cce64eeac0071dcf939f [2020-04-30T13:13:55.513Z] $ docker rm -f 0457368b017b4c13a2d38d88e6b5a8b67893cd8271c0cce64eeac0071dcf939f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-30T13:13:56.374Z] Stashed 56 file(s) [Pipeline] echo [2020-04-30T13:13:56.376Z] [edgeXSemver] initialized semver on version 1.2.1-dev.1 [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-04-30T13:13:56.788Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6728 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-30T13:13:56.835Z] Running in /w/workspace/device-sdk-go/37 [Pipeline] { [Pipeline] checkout [2020-04-30T13:14:00.684Z] using credential edgex-jenkins-ssh [2020-04-30T13:14:00.731Z] Cloning the remote Git repository [2020-04-30T13:14:00.731Z] Cloning with configured refspecs honoured and without tags [2020-04-30T13:14:00.802Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-30T13:14:00.879Z] > git init /w/workspace/device-sdk-go/37 # timeout=10 [2020-04-30T13:14:00.932Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-30T13:14:00.933Z] > git --version # timeout=10 [2020-04-30T13:14:00.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-30T13:14:01.004Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-30T13:14:01.949Z] Fetching without tags [2020-04-30T13:14:01.902Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-30T13:14:01.920Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-30T13:14:01.949Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-30T13:14:01.976Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-30T13:14:01.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-30T13:14:01.989Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-30T13:14:03.387Z] Checking out Revision a939715cd6b2ce15799d62ce2550d8dc39d33fc5 (master) [2020-04-30T13:14:03.422Z] > git config core.sparsecheckout # timeout=10 [2020-04-30T13:14:03.443Z] > git checkout -f a939715cd6b2ce15799d62ce2550d8dc39d33fc5 # timeout=10 [2020-04-30T13:14:07.782Z] Commit message: "Merge pull request #519 from lenny-intel/bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-30T13:14:09.027Z] ========================================================= [2020-04-30T13:14:09.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-30T13:14:09.027Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:14:10.079Z] + 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-04-30T13:14:11.050Z] Sending build context to Docker daemon 3.013MB [2020-04-30T13:14:11.050Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-30T13:14:11.050Z] Step 2/8 : FROM ${BASE} [2020-04-30T13:14:11.318Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-30T13:14:11.318Z] cde5963f3b93: Pulling fs layer [2020-04-30T13:14:11.318Z] 2a23fa8c16f7: Pulling fs layer [2020-04-30T13:14:11.318Z] 777b28850792: Pulling fs layer [2020-04-30T13:14:11.318Z] 8a11ddd9e578: Pulling fs layer [2020-04-30T13:14:11.318Z] 4cf88f913ddb: Pulling fs layer [2020-04-30T13:14:11.318Z] 1df406cf5192: Pulling fs layer [2020-04-30T13:14:11.318Z] cd6300453558: Pulling fs layer [2020-04-30T13:14:11.318Z] b9c365052c96: Pulling fs layer [2020-04-30T13:14:11.318Z] a2d8cc88f415: Pulling fs layer [2020-04-30T13:14:11.318Z] ea1d1ca13537: Pulling fs layer [2020-04-30T13:14:11.318Z] 3750a50a1c5e: Pulling fs layer [2020-04-30T13:14:11.318Z] 8a11ddd9e578: Waiting [2020-04-30T13:14:11.318Z] 4cf88f913ddb: Waiting [2020-04-30T13:14:11.318Z] 1df406cf5192: Waiting [2020-04-30T13:14:11.318Z] cd6300453558: Waiting [2020-04-30T13:14:11.318Z] b9c365052c96: Waiting [2020-04-30T13:14:11.318Z] a2d8cc88f415: Waiting [2020-04-30T13:14:11.318Z] 3750a50a1c5e: Waiting [2020-04-30T13:14:11.318Z] ea1d1ca13537: Waiting [2020-04-30T13:14:11.318Z] 777b28850792: Verifying Checksum [2020-04-30T13:14:11.318Z] 777b28850792: Download complete [2020-04-30T13:14:11.318Z] 2a23fa8c16f7: Verifying Checksum [2020-04-30T13:14:11.318Z] 2a23fa8c16f7: Download complete [2020-04-30T13:14:11.318Z] 4cf88f913ddb: Verifying Checksum [2020-04-30T13:14:11.319Z] 4cf88f913ddb: Download complete [2020-04-30T13:14:11.319Z] 1df406cf5192: Verifying Checksum [2020-04-30T13:14:11.319Z] 1df406cf5192: Download complete [2020-04-30T13:14:11.589Z] cde5963f3b93: Verifying Checksum [2020-04-30T13:14:11.589Z] cde5963f3b93: Download complete [2020-04-30T13:14:11.617Z] Still waiting to schedule task [2020-04-30T13:14:11.617Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-30T13:14:12.191Z] cde5963f3b93: Pull complete [2020-04-30T13:14:12.790Z] 2a23fa8c16f7: Pull complete [2020-04-30T13:14:13.061Z] 777b28850792: Pull complete [2020-04-30T13:14:15.661Z] cd6300453558: Verifying Checksum [2020-04-30T13:14:15.661Z] cd6300453558: Download complete [2020-04-30T13:14:15.661Z] a2d8cc88f415: Verifying Checksum [2020-04-30T13:14:15.661Z] a2d8cc88f415: Download complete [2020-04-30T13:14:18.268Z] ea1d1ca13537: Download complete [2020-04-30T13:14:18.268Z] 3750a50a1c5e: Verifying Checksum [2020-04-30T13:14:18.268Z] 3750a50a1c5e: Download complete [2020-04-30T13:14:20.859Z] b9c365052c96: Verifying Checksum [2020-04-30T13:14:20.859Z] b9c365052c96: Download complete [2020-04-30T13:14:22.810Z] 8a11ddd9e578: Verifying Checksum [2020-04-30T13:14:22.810Z] 8a11ddd9e578: Download complete [2020-04-30T13:14:35.156Z] 8a11ddd9e578: Pull complete [2020-04-30T13:14:35.156Z] 4cf88f913ddb: Pull complete [2020-04-30T13:14:35.156Z] 1df406cf5192: Pull complete [2020-04-30T13:14:39.427Z] cd6300453558: Pull complete [2020-04-30T13:14:44.832Z] b9c365052c96: Pull complete [2020-04-30T13:14:44.832Z] a2d8cc88f415: Pull complete [2020-04-30T13:14:46.250Z] ea1d1ca13537: Pull complete [2020-04-30T13:14:46.520Z] 3750a50a1c5e: Pull complete [2020-04-30T13:14:46.520Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-30T13:14:46.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-30T13:14:46.520Z] ---> 78745c68409d [2020-04-30T13:14:46.520Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-30T13:14:50.807Z] ---> Running in 1d62475bf0e4 [2020-04-30T13:14:50.807Z] Removing intermediate container 1d62475bf0e4 [2020-04-30T13:14:50.807Z] ---> caa793041a48 [2020-04-30T13:14:50.807Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-30T13:14:51.076Z] ---> Running in 5ab933df8d47 [2020-04-30T13:14:53.026Z] Removing intermediate container 5ab933df8d47 [2020-04-30T13:14:53.026Z] ---> 3eb3012d17d5 [2020-04-30T13:14:53.026Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-30T13:14:53.026Z] ---> Running in b34f6c50fa2c [2020-04-30T13:14:53.991Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-30T13:14:54.576Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-30T13:14:55.159Z] OK: 125 MiB in 39 packages [2020-04-30T13:14:56.570Z] Removing intermediate container b34f6c50fa2c [2020-04-30T13:14:56.570Z] ---> d07fca06c8d0 [2020-04-30T13:14:56.570Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-30T13:14:56.570Z] ---> Running in eef832578fd0 [2020-04-30T13:14:56.843Z] Removing intermediate container eef832578fd0 [2020-04-30T13:14:56.843Z] ---> 323ca8e59dfa [2020-04-30T13:14:56.843Z] Step 7/8 : COPY . . [2020-04-30T13:14:57.813Z] ---> 7c5bb5ca95d4 [2020-04-30T13:14:57.813Z] Step 8/8 : RUN go mod download [2020-04-30T13:14:58.085Z] ---> Running in d47f89359217 [2020-04-30T13:15:00.038Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-30T13:15:00.038Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-30T13:15:00.038Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-30T13:15:00.038Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-30T13:15:00.038Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-30T13:15:00.038Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-30T13:15:00.038Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-30T13:15:00.038Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-30T13:15:00.038Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-04-30T13:15:00.038Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-30T13:15:00.038Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-30T13:15:00.038Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-30T13:15:00.038Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-30T13:15:00.038Z] go: finding github.com/fatih/color v1.7.0 [2020-04-30T13:15:00.038Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-30T13:15:00.038Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-30T13:15:00.038Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-30T13:15:00.038Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-30T13:15:00.038Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-30T13:15:00.038Z] go: finding github.com/google/uuid v1.1.0 [2020-04-30T13:15:00.038Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-30T13:15:00.038Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-30T13:15:00.039Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-30T13:15:00.039Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-30T13:15:00.039Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-30T13:15:00.039Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-30T13:15:00.039Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-30T13:15:00.039Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-30T13:15:00.039Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-30T13:15:00.039Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-30T13:15:00.313Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-30T13:15:00.313Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-30T13:15:00.313Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-30T13:15:00.313Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-30T13:15:00.313Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-30T13:15:00.313Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-30T13:15:00.313Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-30T13:15:00.313Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-30T13:15:00.313Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-30T13:15:00.313Z] go: finding github.com/posener/complete v1.1.1 [2020-04-30T13:15:00.313Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-30T13:15:00.313Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-30T13:15:00.313Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-30T13:15:00.313Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-30T13:15:00.313Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-30T13:15:00.313Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-30T13:15:00.313Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-30T13:15:00.592Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-30T13:15:00.592Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-30T13:15:00.592Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-30T13:15:00.592Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-30T13:15:00.592Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-30T13:15:10.704Z] Removing intermediate container d47f89359217 [2020-04-30T13:15:10.704Z] ---> 840a80fd25a5 [2020-04-30T13:15:10.704Z] Successfully built 840a80fd25a5 [2020-04-30T13:15:10.704Z] 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-04-30T13:15:11.358Z] + docker inspect -f . ci-base-image-arm64 [2020-04-30T13:15:11.358Z] . [Pipeline] withDockerContainer [2020-04-30T13:15:11.690Z] prd-ubuntu18.04-docker-arm64-4c-16g-6728 does not seem to be running inside a container [2020-04-30T13:15:11.791Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/37 -v /w/workspace/device-sdk-go/37:/w/workspace/device-sdk-go/37:rw,z -v /w/workspace/device-sdk-go/37@tmp:/w/workspace/device-sdk-go/37@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 ******** ci-base-image-arm64 cat [2020-04-30T13:15:13.160Z] $ docker top e5e58463076fdd80a6eb511cb5e55eeee08971148d5a84b55f8041824f411544 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-30T13:15:14.235Z] + go version [2020-04-30T13:15:14.235Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-30T13:15:14.896Z] + make test [2020-04-30T13:15:14.896Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-30T13:15:15.862Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-30T13:15:42.629Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-30T13:15:42.629Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-30T13:15:42.629Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-30T13:15:45.246Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.037s coverage: 22.1% of statements [2020-04-30T13:15:47.869Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.147s coverage: 95.8% of statements [2020-04-30T13:16:20.133Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.037s coverage: 11.4% of statements [2020-04-30T13:16:20.133Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.7% of statements [2020-04-30T13:16:20.133Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-30T13:16:20.133Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.171s coverage: 36.9% of statements [2020-04-30T13:16:20.133Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-30T13:16:20.133Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-30T13:16:20.133Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.514s coverage: 65.2% of statements [2020-04-30T13:16:20.133Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-30T13:16:20.133Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-30T13:16:20.133Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-30T13:16:20.133Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.040s coverage: 52.6% of statements [2020-04-30T13:16:20.133Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-30T13:16:20.133Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.348s coverage: 68.9% of statements [2020-04-30T13:16:20.133Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-30T13:16:20.133Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-30T13:16:20.133Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-30T13:16:22.735Z] gofmt -l . [2020-04-30T13:16:23.002Z] [ "`gofmt -l .`" = "" ] [2020-04-30T13:16:23.271Z] ./bin/test-attribution-txt.sh [2020-04-30T13:16:24.251Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-30T13:16:25.078Z] Stashed 1 file(s) [Pipeline] } [2020-04-30T13:16:25.101Z] $ docker stop --time=1 e5e58463076fdd80a6eb511cb5e55eeee08971148d5a84b55f8041824f411544 [2020-04-30T13:16:27.201Z] $ docker rm -f e5e58463076fdd80a6eb511cb5e55eeee08971148d5a84b55f8041824f411544 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-30T13:16:28.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-30T13:16:29.259Z] + ls -al . [2020-04-30T13:16:29.259Z] total 220 [2020-04-30T13:16:29.259Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 30 13:16 . [2020-04-30T13:16:29.259Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 30 13:14 .. [2020-04-30T13:16:29.259Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 30 13:14 .dockerignore [2020-04-30T13:16:29.259Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 30 13:14 .git [2020-04-30T13:16:29.259Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 13:14 .github [2020-04-30T13:16:29.259Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 30 13:14 .gitignore [2020-04-30T13:16:29.259Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 30 13:14 .semver [2020-04-30T13:16:29.259Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 30 13:14 Dockerfile.build [2020-04-30T13:16:29.259Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 30 13:14 Jenkinsfile [2020-04-30T13:16:29.259Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 30 13:14 LICENSE [2020-04-30T13:16:29.259Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 30 13:14 Makefile [2020-04-30T13:16:29.259Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 30 13:14 README.md [2020-04-30T13:16:29.259Z] -rw-rw-r-- 1 jenkins jenkins 3497 Apr 30 13:14 RELEASE-NOTES.txt [2020-04-30T13:16:29.259Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 30 13:13 VERSION [2020-04-30T13:16:29.259Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 30 13:14 api [2020-04-30T13:16:29.259Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 13:14 bin [2020-04-30T13:16:29.259Z] -rw-r--r-- 1 jenkins jenkins 110877 Apr 30 13:16 coverage.out [2020-04-30T13:16:29.259Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 30 13:14 example [2020-04-30T13:16:29.259Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 30 13:16 go.mod [2020-04-30T13:16:29.259Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 30 13:16 go.sum [2020-04-30T13:16:29.259Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 30 13:14 internal [2020-04-30T13:16:29.259Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 30 13:14 pkg [2020-04-30T13:16:29.259Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 30 13:14 snap [2020-04-30T13:16:29.259Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 30 13:14 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:16:29.607Z] + 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=a939715cd6b2ce15799d62ce2550d8dc39d33fc5 --label arch=arm64 --label version=1.2.1-dev.1 . [2020-04-30T13:16:30.259Z] Sending build context to Docker daemon 3.141MB [2020-04-30T13:16:30.259Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-30T13:16:30.259Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-30T13:16:30.259Z] ---> 840a80fd25a5 [2020-04-30T13:16:30.259Z] Step 3/21 : ARG MAKE='make build' [2020-04-30T13:16:30.259Z] ---> Running in a5891d393a72 [2020-04-30T13:16:30.863Z] Removing intermediate container a5891d393a72 [2020-04-30T13:16:30.863Z] ---> 743239937b31 [2020-04-30T13:16:30.863Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-30T13:16:30.863Z] ---> Running in e02c23a1670d [2020-04-30T13:16:31.143Z] Removing intermediate container e02c23a1670d [2020-04-30T13:16:31.143Z] ---> befa797dbbfd [2020-04-30T13:16:31.143Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-30T13:16:31.412Z] ---> Running in 16ad135cdf4f [2020-04-30T13:16:31.690Z] Removing intermediate container 16ad135cdf4f [2020-04-30T13:16:31.690Z] ---> b8f8c0a08311 [2020-04-30T13:16:31.690Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-30T13:16:31.690Z] ---> Running in 5f4ee2bab042 [2020-04-30T13:16:31.913Z] Running on prd-centos7-docker-4c-2g-6731 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-30T13:16:31.948Z] Running in /w/workspace/device-sdk-go/37 [Pipeline] { [Pipeline] checkout [2020-04-30T13:16:33.644Z] Removing intermediate container 5f4ee2bab042 [2020-04-30T13:16:33.644Z] ---> 73fd9597a470 [2020-04-30T13:16:33.644Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-30T13:16:33.644Z] ---> Running in e87b195712db [2020-04-30T13:16:34.516Z] using credential edgex-jenkins-ssh [2020-04-30T13:16:34.552Z] Cloning the remote Git repository [2020-04-30T13:16:34.552Z] Cloning with configured refspecs honoured and without tags [2020-04-30T13:16:34.603Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-30T13:16:35.198Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-30T13:16:35.279Z] Fetching without tags [2020-04-30T13:16:34.578Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-30T13:16:34.622Z] > git init /w/workspace/device-sdk-go/37 # timeout=10 [2020-04-30T13:16:34.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-30T13:16:34.665Z] > git --version # timeout=10 [2020-04-30T13:16:34.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-30T13:16:34.693Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-30T13:16:35.247Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-30T13:16:35.261Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-30T13:16:35.272Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-30T13:16:35.284Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-30T13:16:35.284Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-30T13:16:35.290Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-30T13:16:35.684Z] Checking out Revision a939715cd6b2ce15799d62ce2550d8dc39d33fc5 (master) [2020-04-30T13:16:35.782Z] OK: 125 MiB in 39 packages [2020-04-30T13:16:35.696Z] > git config core.sparsecheckout # timeout=10 [2020-04-30T13:16:35.703Z] > git checkout -f a939715cd6b2ce15799d62ce2550d8dc39d33fc5 # timeout=10 [2020-04-30T13:16:36.749Z] Removing intermediate container e87b195712db [2020-04-30T13:16:36.749Z] ---> 921994a83e6a [2020-04-30T13:16:36.749Z] Step 8/21 : COPY . . [2020-04-30T13:16:37.716Z] ---> 0abd38a027b8 [2020-04-30T13:16:37.716Z] Step 9/21 : RUN ${MAKE} [2020-04-30T13:16:37.986Z] ---> Running in 1744f47dcb74 [2020-04-30T13:16:38.953Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.1-dev.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-30T13:16:39.485Z] Commit message: "Merge pull request #519 from lenny-intel/bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-30T13:16:40.610Z] ========================================================= [2020-04-30T13:16:40.610Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-30T13:16:40.610Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:16:41.370Z] + 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-04-30T13:16:41.630Z] Sending build context to Docker daemon 3.015MB [2020-04-30T13:16:41.630Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-30T13:16:41.630Z] Step 2/8 : FROM ${BASE} [2020-04-30T13:16:41.630Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-30T13:16:41.630Z] e6b0cf9c0882: Pulling fs layer [2020-04-30T13:16:41.630Z] 2848faf0eed1: Pulling fs layer [2020-04-30T13:16:41.630Z] 0f37312ad70f: Pulling fs layer [2020-04-30T13:16:41.630Z] 5788d62ee057: Pulling fs layer [2020-04-30T13:16:41.630Z] 0e6b1d234666: Pulling fs layer [2020-04-30T13:16:41.630Z] bf5d7aec512f: Pulling fs layer [2020-04-30T13:16:41.630Z] 34c802a77dc8: Pulling fs layer [2020-04-30T13:16:41.630Z] 9eb99e56ec68: Pulling fs layer [2020-04-30T13:16:41.630Z] 27c7a5d97fbd: Pulling fs layer [2020-04-30T13:16:41.630Z] 5c102a31e300: Pulling fs layer [2020-04-30T13:16:41.630Z] dcfb455df0a1: Pulling fs layer [2020-04-30T13:16:41.630Z] 5788d62ee057: Waiting [2020-04-30T13:16:41.630Z] bf5d7aec512f: Waiting [2020-04-30T13:16:41.630Z] 34c802a77dc8: Waiting [2020-04-30T13:16:41.630Z] 5c102a31e300: Waiting [2020-04-30T13:16:41.630Z] 27c7a5d97fbd: Waiting [2020-04-30T13:16:41.630Z] 9eb99e56ec68: Waiting [2020-04-30T13:16:41.630Z] dcfb455df0a1: Waiting [2020-04-30T13:16:41.630Z] 0f37312ad70f: Verifying Checksum [2020-04-30T13:16:41.630Z] 0f37312ad70f: Download complete [2020-04-30T13:16:41.630Z] 2848faf0eed1: Download complete [2020-04-30T13:16:41.896Z] 0e6b1d234666: Verifying Checksum [2020-04-30T13:16:41.896Z] 0e6b1d234666: Download complete [2020-04-30T13:16:41.896Z] e6b0cf9c0882: Verifying Checksum [2020-04-30T13:16:41.896Z] e6b0cf9c0882: Download complete [2020-04-30T13:16:41.896Z] bf5d7aec512f: Verifying Checksum [2020-04-30T13:16:41.896Z] bf5d7aec512f: Download complete [2020-04-30T13:16:42.162Z] e6b0cf9c0882: Pull complete [2020-04-30T13:16:42.753Z] 34c802a77dc8: Verifying Checksum [2020-04-30T13:16:42.754Z] 34c802a77dc8: Download complete [2020-04-30T13:16:42.754Z] 27c7a5d97fbd: Verifying Checksum [2020-04-30T13:16:43.344Z] 5c102a31e300: Verifying Checksum [2020-04-30T13:16:43.344Z] 5c102a31e300: Download complete [2020-04-30T13:16:43.344Z] dcfb455df0a1: Verifying Checksum [2020-04-30T13:16:43.344Z] dcfb455df0a1: Download complete [2020-04-30T13:16:43.606Z] 9eb99e56ec68: Verifying Checksum [2020-04-30T13:16:43.606Z] 9eb99e56ec68: Download complete [2020-04-30T13:16:43.866Z] 5788d62ee057: Verifying Checksum [2020-04-30T13:16:43.866Z] 5788d62ee057: Download complete [2020-04-30T13:16:44.125Z] 2848faf0eed1: Pull complete [2020-04-30T13:16:44.386Z] 0f37312ad70f: Pull complete [2020-04-30T13:16:50.983Z] 5788d62ee057: Pull complete [2020-04-30T13:16:50.983Z] 0e6b1d234666: Pull complete [2020-04-30T13:16:50.983Z] bf5d7aec512f: Pull complete [2020-04-30T13:16:54.290Z] 34c802a77dc8: Pull complete [2020-04-30T13:16:58.512Z] 9eb99e56ec68: Pull complete [2020-04-30T13:16:58.512Z] 27c7a5d97fbd: Pull complete [2020-04-30T13:16:59.081Z] 5c102a31e300: Pull complete [2020-04-30T13:16:59.081Z] dcfb455df0a1: Pull complete [2020-04-30T13:16:59.081Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-30T13:16:59.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-30T13:16:59.081Z] ---> 7c70fe431013 [2020-04-30T13:16:59.081Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-30T13:16:59.344Z] ---> Running in d1297621876c [2020-04-30T13:16:59.344Z] Removing intermediate container d1297621876c [2020-04-30T13:16:59.344Z] ---> 2ca05d402c31 [2020-04-30T13:16:59.344Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-30T13:16:59.344Z] ---> Running in 4cca0d427213 [2020-04-30T13:17:00.724Z] Removing intermediate container 4cca0d427213 [2020-04-30T13:17:00.724Z] ---> f9bec0b89766 [2020-04-30T13:17:00.724Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-30T13:17:00.724Z] ---> Running in 6d703e2702c0 [2020-04-30T13:17:01.294Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-30T13:17:01.863Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-30T13:17:02.437Z] OK: 143 MiB in 39 packages [2020-04-30T13:17:02.699Z] Removing intermediate container 6d703e2702c0 [2020-04-30T13:17:02.699Z] ---> 582fa98323fd [2020-04-30T13:17:02.699Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-30T13:17:02.699Z] ---> Running in d7672a8196f2 [2020-04-30T13:17:02.959Z] Removing intermediate container d7672a8196f2 [2020-04-30T13:17:02.959Z] ---> 2a11dc419baa [2020-04-30T13:17:02.959Z] Step 7/8 : COPY . . [2020-04-30T13:17:03.527Z] ---> 9dd51dcd33f8 [2020-04-30T13:17:03.527Z] Step 8/8 : RUN go mod download [2020-04-30T13:17:03.527Z] ---> Running in 5b72162915dd [2020-04-30T13:17:05.430Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-30T13:17:05.430Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-30T13:17:05.430Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-30T13:17:05.430Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-30T13:17:05.430Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-30T13:17:05.430Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-30T13:17:05.430Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-30T13:17:05.690Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-30T13:17:05.690Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-04-30T13:17:05.690Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-30T13:17:05.690Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-30T13:17:05.690Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-30T13:17:05.690Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-30T13:17:05.690Z] go: finding github.com/fatih/color v1.7.0 [2020-04-30T13:17:05.690Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-30T13:17:05.690Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-30T13:17:05.690Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-30T13:17:05.690Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-30T13:17:05.690Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-30T13:17:05.690Z] go: finding github.com/google/uuid v1.1.0 [2020-04-30T13:17:05.690Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-30T13:17:05.690Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-30T13:17:05.711Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-30T13:17:05.711Z] Removing intermediate container 1744f47dcb74 [2020-04-30T13:17:05.711Z] ---> cae8d39e4394 [2020-04-30T13:17:05.711Z] Step 10/21 : FROM scratch [2020-04-30T13:17:05.711Z] ---> [2020-04-30T13:17:05.711Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-30T13:17:05.711Z] ---> Running in e3b2b8a95e58 [2020-04-30T13:17:05.711Z] Removing intermediate container e3b2b8a95e58 [2020-04-30T13:17:05.711Z] ---> 62eb63a847ff [2020-04-30T13:17:05.711Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-30T13:17:05.711Z] ---> Running in c54ba78e0b61 [2020-04-30T13:17:05.711Z] Removing intermediate container c54ba78e0b61 [2020-04-30T13:17:05.711Z] ---> 54ab63d03bd0 [2020-04-30T13:17:05.711Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-30T13:17:05.711Z] ---> Running in b19df7041cba [2020-04-30T13:17:05.711Z] Removing intermediate container b19df7041cba [2020-04-30T13:17:05.711Z] ---> 49cda2304eb3 [2020-04-30T13:17:05.711Z] Step 14/21 : WORKDIR / [2020-04-30T13:17:05.711Z] ---> Running in 5490e0bcb092 [2020-04-30T13:17:05.949Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-30T13:17:05.949Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-30T13:17:05.949Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-30T13:17:05.949Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-30T13:17:05.949Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-30T13:17:05.949Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-30T13:17:05.949Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-30T13:17:05.949Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-30T13:17:05.949Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-30T13:17:05.949Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-30T13:17:05.949Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-30T13:17:05.949Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-30T13:17:05.949Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-30T13:17:05.949Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-30T13:17:05.949Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-30T13:17:05.949Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-30T13:17:05.949Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-30T13:17:05.949Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-30T13:17:05.949Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-30T13:17:05.949Z] go: finding github.com/posener/complete v1.1.1 [2020-04-30T13:17:05.949Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-30T13:17:05.949Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-30T13:17:05.949Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-30T13:17:05.949Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-30T13:17:05.949Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-30T13:17:05.949Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-30T13:17:05.949Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-30T13:17:05.949Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-30T13:17:05.979Z] Removing intermediate container 5490e0bcb092 [2020-04-30T13:17:05.979Z] ---> 7bd43bff73f6 [2020-04-30T13:17:05.979Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-30T13:17:06.210Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-30T13:17:06.210Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-30T13:17:06.210Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-30T13:17:06.210Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-30T13:17:06.947Z] ---> 116f2e76b879 [2020-04-30T13:17:06.947Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-30T13:17:07.530Z] ---> 812e10d04e78 [2020-04-30T13:17:07.530Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-30T13:17:08.117Z] ---> dda5e859d210 [2020-04-30T13:17:08.117Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-30T13:17:08.117Z] ---> Running in a05d8f90eed9 [2020-04-30T13:17:08.382Z] Removing intermediate container a05d8f90eed9 [2020-04-30T13:17:08.382Z] ---> e640df884c78 [2020-04-30T13:17:08.382Z] Step 19/21 : LABEL arch=arm64 [2020-04-30T13:17:08.650Z] ---> Running in 463fef080b65 [2020-04-30T13:17:08.920Z] Removing intermediate container 463fef080b65 [2020-04-30T13:17:08.920Z] ---> d8ecd58841af [2020-04-30T13:17:08.920Z] Step 20/21 : LABEL git_sha=a939715cd6b2ce15799d62ce2550d8dc39d33fc5 [2020-04-30T13:17:08.920Z] ---> Running in 9242983ab336 [2020-04-30T13:17:09.189Z] Removing intermediate container 9242983ab336 [2020-04-30T13:17:09.189Z] ---> a8267af7ca60 [2020-04-30T13:17:09.189Z] Step 21/21 : LABEL version=1.2.1-dev.1 [2020-04-30T13:17:09.457Z] ---> Running in 9f2856ec29dc [2020-04-30T13:17:09.734Z] Removing intermediate container 9f2856ec29dc [2020-04-30T13:17:09.734Z] ---> d1c18c965b47 [2020-04-30T13:17:09.734Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-30T13:17:09.734Z] Successfully built d1c18c965b47 [2020-04-30T13:17:09.734Z] 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] } [2020-04-30T13:17:12.804Z] Removing intermediate container 5b72162915dd [2020-04-30T13:17:12.804Z] ---> faf97b4d3565 [2020-04-30T13:17:12.804Z] Successfully built faf97b4d3565 [2020-04-30T13:17:12.804Z] 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-04-30T13:17:13.408Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-30T13:17:13.408Z] . [Pipeline] withDockerContainer [2020-04-30T13:17:13.543Z] prd-centos7-docker-4c-2g-6731 does not seem to be running inside a container [2020-04-30T13:17:13.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/37 -v /w/workspace/device-sdk-go/37:/w/workspace/device-sdk-go/37:rw,z -v /w/workspace/device-sdk-go/37@tmp:/w/workspace/device-sdk-go/37@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 ******** ci-base-image-x86_64 cat [2020-04-30T13:17:14.150Z] $ docker top 2eab1e450aa6518c17494ad979e81b7ef495c9f0d73e9ca27303faf8488e73dc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-30T13:17:14.656Z] + go version [2020-04-30T13:17:14.656Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-30T13:17:14.969Z] + make test [2020-04-30T13:17:14.969Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-30T13:17:15.538Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-30T13:17:27.871Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-30T13:17:27.871Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-30T13:17:27.871Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-30T13:17:27.871Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.010s coverage: 22.1% of statements [2020-04-30T13:17:27.871Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.038s coverage: 95.8% of statements [2020-04-30T13:18:06.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.347s coverage: 11.4% of statements [2020-04-30T13:18:06.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 21.7% of statements [2020-04-30T13:18:06.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-30T13:18:06.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.076s coverage: 36.9% of statements [2020-04-30T13:18:06.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-30T13:18:06.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-30T13:18:06.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.278s coverage: 65.2% of statements [2020-04-30T13:18:06.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-30T13:18:06.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-30T13:18:06.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-30T13:18:06.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.031s coverage: 52.6% of statements [2020-04-30T13:18:06.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-30T13:18:06.608Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.097s coverage: 68.9% of statements [2020-04-30T13:18:06.608Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-30T13:18:06.608Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-30T13:18:06.608Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-30T13:18:06.608Z] gofmt -l . [2020-04-30T13:18:06.608Z] [ "`gofmt -l .`" = "" ] [2020-04-30T13:18:06.608Z] ./bin/test-attribution-txt.sh [2020-04-30T13:18:06.608Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-30T13:18:06.618Z] Warning: overwriting stash ‘coverage-report’ [2020-04-30T13:18:07.063Z] Stashed 1 file(s) [Pipeline] } [2020-04-30T13:18:07.068Z] $ docker stop --time=1 2eab1e450aa6518c17494ad979e81b7ef495c9f0d73e9ca27303faf8488e73dc [2020-04-30T13:18:08.530Z] $ docker rm -f 2eab1e450aa6518c17494ad979e81b7ef495c9f0d73e9ca27303faf8488e73dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-30T13:18:09.399Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-30T13:18:09.692Z] + ls -al . [2020-04-30T13:18:09.692Z] total 180 [2020-04-30T13:18:09.692Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 30 13:18 . [2020-04-30T13:18:09.692Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 30 13:16 .. [2020-04-30T13:18:09.692Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 30 13:16 api [2020-04-30T13:18:09.692Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 30 13:16 bin [2020-04-30T13:18:09.692Z] -rw-r--r--. 1 jenkins jenkins 110877 Apr 30 13:18 coverage.out [2020-04-30T13:18:09.692Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 30 13:16 Dockerfile.build [2020-04-30T13:18:09.692Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 30 13:16 .dockerignore [2020-04-30T13:18:09.692Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 30 13:16 example [2020-04-30T13:18:09.692Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 30 13:16 .git [2020-04-30T13:18:09.692Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 30 13:16 .github [2020-04-30T13:18:09.692Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 30 13:16 .gitignore [2020-04-30T13:18:09.692Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 30 13:18 go.mod [2020-04-30T13:18:09.692Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 30 13:18 go.sum [2020-04-30T13:18:09.692Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 30 13:16 internal [2020-04-30T13:18:09.692Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 30 13:16 Jenkinsfile [2020-04-30T13:18:09.692Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 30 13:16 LICENSE [2020-04-30T13:18:09.692Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 30 13:16 Makefile [2020-04-30T13:18:09.692Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 30 13:16 pkg [2020-04-30T13:18:09.692Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 30 13:16 README.md [2020-04-30T13:18:09.692Z] -rw-rw-r--. 1 jenkins jenkins 3497 Apr 30 13:16 RELEASE-NOTES.txt [2020-04-30T13:18:09.692Z] drwxrwxr-x. 3 jenkins jenkins 59 Apr 30 13:16 .semver [2020-04-30T13:18:09.692Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 30 13:16 snap [2020-04-30T13:18:09.692Z] -rw-rw-r--. 1 jenkins jenkins 11 Apr 30 13:13 VERSION [2020-04-30T13:18:09.692Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 30 13:16 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:18:09.987Z] + 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=a939715cd6b2ce15799d62ce2550d8dc39d33fc5 --label arch=amd64 --label version=1.2.1-dev.1 . [2020-04-30T13:18:09.987Z] Sending build context to Docker daemon 3.143MB [2020-04-30T13:18:09.987Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-30T13:18:09.987Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-30T13:18:09.987Z] ---> faf97b4d3565 [2020-04-30T13:18:09.987Z] Step 3/21 : ARG MAKE='make build' [2020-04-30T13:18:10.245Z] ---> Running in 6881c8b4859f [2020-04-30T13:18:10.245Z] Removing intermediate container 6881c8b4859f [2020-04-30T13:18:10.245Z] ---> bf0f11396caa [2020-04-30T13:18:10.245Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-30T13:18:10.245Z] ---> Running in fb116da6e979 [2020-04-30T13:18:10.519Z] Removing intermediate container fb116da6e979 [2020-04-30T13:18:10.519Z] ---> 4b2b3c06595f [2020-04-30T13:18:10.519Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-30T13:18:10.519Z] ---> Running in fe76ffd9b311 [2020-04-30T13:18:10.519Z] Removing intermediate container fe76ffd9b311 [2020-04-30T13:18:10.519Z] ---> 4cf1d975a4fd [2020-04-30T13:18:10.519Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-30T13:18:10.779Z] ---> Running in f1219225b748 [2020-04-30T13:18:11.346Z] Removing intermediate container f1219225b748 [2020-04-30T13:18:11.346Z] ---> c88cc0f864c7 [2020-04-30T13:18:11.346Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-30T13:18:11.346Z] ---> Running in eca27562fce3 [2020-04-30T13:18:11.913Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-30T13:18:12.480Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-30T13:18:13.047Z] OK: 143 MiB in 39 packages [2020-04-30T13:18:13.305Z] Removing intermediate container eca27562fce3 [2020-04-30T13:18:13.306Z] ---> b637d314f71e [2020-04-30T13:18:13.306Z] Step 8/21 : COPY . . [2020-04-30T13:18:13.872Z] ---> a2049b501f3f [2020-04-30T13:18:13.873Z] Step 9/21 : RUN ${MAKE} [2020-04-30T13:18:13.873Z] ---> Running in 505de2d7b4e6 [2020-04-30T13:18:14.135Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.1-dev.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-30T13:18:22.313Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-30T13:18:23.691Z] Removing intermediate container 505de2d7b4e6 [2020-04-30T13:18:23.691Z] ---> 0583c07c7ad4 [2020-04-30T13:18:23.691Z] Step 10/21 : FROM scratch [2020-04-30T13:18:23.691Z] ---> [2020-04-30T13:18:23.691Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-30T13:18:23.691Z] ---> Running in 1bbc488064eb [2020-04-30T13:18:23.691Z] Removing intermediate container 1bbc488064eb [2020-04-30T13:18:23.691Z] ---> aff1a4fc0ab0 [2020-04-30T13:18:23.691Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-30T13:18:23.691Z] ---> Running in 8154aac5ef6c [2020-04-30T13:18:23.691Z] Removing intermediate container 8154aac5ef6c [2020-04-30T13:18:23.691Z] ---> edfcb89252ce [2020-04-30T13:18:23.691Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-30T13:18:23.949Z] ---> Running in b331a84a6208 [2020-04-30T13:18:23.949Z] Removing intermediate container b331a84a6208 [2020-04-30T13:18:23.949Z] ---> 356048202f29 [2020-04-30T13:18:23.949Z] Step 14/21 : WORKDIR / [2020-04-30T13:18:23.949Z] ---> Running in 605c1cc4af82 [2020-04-30T13:18:24.209Z] Removing intermediate container 605c1cc4af82 [2020-04-30T13:18:24.209Z] ---> 867f44acdcfa [2020-04-30T13:18:24.209Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-30T13:18:24.469Z] ---> 68fc897da7cf [2020-04-30T13:18:24.469Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-30T13:18:24.728Z] ---> 961a7cf5c4fb [2020-04-30T13:18:24.728Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-30T13:18:24.987Z] ---> 2ed634d9eb41 [2020-04-30T13:18:24.987Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-30T13:18:24.987Z] ---> Running in d6245b0db3f5 [2020-04-30T13:18:24.987Z] Removing intermediate container d6245b0db3f5 [2020-04-30T13:18:24.987Z] ---> 1f97b41c8056 [2020-04-30T13:18:24.987Z] Step 19/21 : LABEL arch=amd64 [2020-04-30T13:18:24.987Z] ---> Running in 8fc40e017f51 [2020-04-30T13:18:25.248Z] Removing intermediate container 8fc40e017f51 [2020-04-30T13:18:25.248Z] ---> 94078fe01a8d [2020-04-30T13:18:25.248Z] Step 20/21 : LABEL git_sha=a939715cd6b2ce15799d62ce2550d8dc39d33fc5 [2020-04-30T13:18:25.248Z] ---> Running in fa5d04449969 [2020-04-30T13:18:25.248Z] Removing intermediate container fa5d04449969 [2020-04-30T13:18:25.248Z] ---> 546f05a4410c [2020-04-30T13:18:25.248Z] Step 21/21 : LABEL version=1.2.1-dev.1 [2020-04-30T13:18:25.507Z] ---> Running in 842af7b72c3c [2020-04-30T13:18:25.507Z] Removing intermediate container 842af7b72c3c [2020-04-30T13:18:25.507Z] ---> d8d00f351e77 [2020-04-30T13:18:25.507Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-30T13:18:25.507Z] Successfully built d8d00f351e77 [2020-04-30T13:18:25.507Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-30T13:18:26.680Z] provisioning config files... [2020-04-30T13:18:26.696Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config40164712533997347tmp [Pipeline] { [Pipeline] sh [2020-04-30T13:18:27.040Z] + curl -s https://codecov.io/bash [2020-04-30T13:18:27.040Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config40164712533997347tmp [2020-04-30T13:18:27.299Z] [2020-04-30T13:18:27.299Z] _____ _ [2020-04-30T13:18:27.299Z] / ____| | | [2020-04-30T13:18:27.299Z] | | ___ __| | ___ ___ _____ __ [2020-04-30T13:18:27.299Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-30T13:18:27.299Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-30T13:18:27.299Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-30T13:18:27.299Z] Bash-tbd [2020-04-30T13:18:27.299Z] [2020-04-30T13:18:27.299Z] [2020-04-30T13:18:27.299Z] ==> Jenkins CI detected. [2020-04-30T13:18:27.299Z] project root: . [2020-04-30T13:18:27.299Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-30T13:18:27.299Z] ==> Running gcov in . (disable via -X gcov) [2020-04-30T13:18:27.299Z] ==> Python coveragepy not found [2020-04-30T13:18:27.299Z] ==> Searching for coverage reports in: [2020-04-30T13:18:27.299Z] + . [2020-04-30T13:18:27.299Z] -> Found 1 reports [2020-04-30T13:18:27.299Z] ==> Detecting git/mercurial file structure [2020-04-30T13:18:27.299Z] ==> Reading reports [2020-04-30T13:18:27.299Z] + ./coverage.out bytes=110877 [2020-04-30T13:18:27.299Z] ==> Appending adjustments [2020-04-30T13:18:27.299Z] http://docs.codecov.io/docs/fixing-reports [2020-04-30T13:18:27.870Z] + Found adjustments [2020-04-30T13:18:27.870Z] ==> Gzipping contents [2020-04-30T13:18:27.870Z] ==> Uploading reports [2020-04-30T13:18:27.870Z] url: https://codecov.io [2020-04-30T13:18:27.870Z] query: branch=master&commit=a939715cd6b2ce15799d62ce2550d8dc39d33fc5&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-30T13:18:27.870Z] -> Pinging Codecov [2020-04-30T13:18:27.870Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=a939715cd6b2ce15799d62ce2550d8dc39d33fc5&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-30T13:18:28.131Z] -> Uploading [2020-04-30T13:18:28.700Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a939715cd6b2ce15799d62ce2550d8dc39d33fc5 [Pipeline] } [2020-04-30T13:18:28.707Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-30T13:18:29.100Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-30T13:18:29.101Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-30T13:18:29.152Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:18:29.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-30T13:18:29.479Z] [2020-04-30T13:18:29.479Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:18:29.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-30T13:18:29.812Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-30T13:18:29.812Z] e6b0cf9c0882: Pulling fs layer [2020-04-30T13:18:29.812Z] 2848faf0eed1: Pulling fs layer [2020-04-30T13:18:29.812Z] 0f37312ad70f: Pulling fs layer [2020-04-30T13:18:29.812Z] 7d08f2745646: Pulling fs layer [2020-04-30T13:18:29.812Z] 4c9f31393084: Pulling fs layer [2020-04-30T13:18:29.812Z] eb21ddb83652: Pulling fs layer [2020-04-30T13:18:29.812Z] 345998794f6b: Pulling fs layer [2020-04-30T13:18:29.812Z] 97a711d68925: Pulling fs layer [2020-04-30T13:18:29.812Z] 7c8476c1cb00: Pulling fs layer [2020-04-30T13:18:29.812Z] 7d08f2745646: Waiting [2020-04-30T13:18:29.812Z] 4c9f31393084: Waiting [2020-04-30T13:18:29.812Z] 97a711d68925: Waiting [2020-04-30T13:18:29.812Z] eb21ddb83652: Waiting [2020-04-30T13:18:29.812Z] 345998794f6b: Waiting [2020-04-30T13:18:29.812Z] 0f37312ad70f: Verifying Checksum [2020-04-30T13:18:29.812Z] 0f37312ad70f: Download complete [2020-04-30T13:18:29.812Z] 2848faf0eed1: Verifying Checksum [2020-04-30T13:18:29.812Z] 2848faf0eed1: Download complete [2020-04-30T13:18:29.812Z] 4c9f31393084: Verifying Checksum [2020-04-30T13:18:29.812Z] 4c9f31393084: Download complete [2020-04-30T13:18:29.812Z] eb21ddb83652: Verifying Checksum [2020-04-30T13:18:29.812Z] eb21ddb83652: Download complete [2020-04-30T13:18:29.812Z] e6b0cf9c0882: Verifying Checksum [2020-04-30T13:18:29.812Z] e6b0cf9c0882: Download complete [2020-04-30T13:18:30.389Z] e6b0cf9c0882: Pull complete [2020-04-30T13:18:30.389Z] 345998794f6b: Verifying Checksum [2020-04-30T13:18:30.389Z] 345998794f6b: Download complete [2020-04-30T13:18:30.389Z] 2848faf0eed1: Pull complete [2020-04-30T13:18:30.650Z] 0f37312ad70f: Pull complete [2020-04-30T13:18:31.220Z] 97a711d68925: Verifying Checksum [2020-04-30T13:18:31.220Z] 97a711d68925: Download complete [2020-04-30T13:18:31.220Z] 7c8476c1cb00: Verifying Checksum [2020-04-30T13:18:31.220Z] 7c8476c1cb00: Download complete [2020-04-30T13:18:32.158Z] 7d08f2745646: Verifying Checksum [2020-04-30T13:18:32.158Z] 7d08f2745646: Download complete [2020-04-30T13:18:37.447Z] 7d08f2745646: Pull complete [2020-04-30T13:18:37.704Z] 4c9f31393084: Pull complete [2020-04-30T13:18:37.704Z] eb21ddb83652: Pull complete [2020-04-30T13:18:39.098Z] 345998794f6b: Pull complete [2020-04-30T13:18:43.512Z] 97a711d68925: Pull complete [2020-04-30T13:18:43.512Z] 7c8476c1cb00: Pull complete [2020-04-30T13:18:43.772Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-30T13:18:43.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-30T13:18:43.929Z] prd-centos7-docker-4c-2g-6730 does not seem to be running inside a container [2020-04-30T13:18:43.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-04-30T13:18:44.558Z] $ docker top 25086ef0b9c79fbf32817fc959025d978f98651f8031b30a7678a504ffe73922 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-30T13:18:45.104Z] + snyk monitor '--org=edgex-jenkins' [2020-04-30T13:18:49.299Z] [2020-04-30T13:18:49.299Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-04-30T13:18:49.299Z] [2020-04-30T13:18:49.299Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/73353e7b-2fa4-48ba-ab59-38ddbcdc62e8 [2020-04-30T13:18:49.299Z] [2020-04-30T13:18:49.299Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-30T13:18:49.299Z] [2020-04-30T13:18:49.559Z] [Pipeline] } [2020-04-30T13:18:49.571Z] $ docker stop --time=1 25086ef0b9c79fbf32817fc959025d978f98651f8031b30a7678a504ffe73922 [2020-04-30T13:18:51.010Z] $ docker rm -f 25086ef0b9c79fbf32817fc959025d978f98651f8031b30a7678a504ffe73922 [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-04-30T13:18:52.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-30T13:18:52.170Z] . [Pipeline] withDockerContainer [2020-04-30T13:18:52.285Z] prd-centos7-docker-4c-2g-6730 does not seem to be running inside a container [2020-04-30T13:18:52.338Z] $ 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-04-30T13:18:52.909Z] $ docker top 2cb28cbc967fadddf48847e1972211a1b989bd9a984ff8572c7d8639589f27e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-30T13:18:53.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-30T13:18:53.265Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-30T13:18:53.463Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-30T13:18:53.467Z] $ docker exec 2cb28cbc967fadddf48847e1972211a1b989bd9a984ff8572c7d8639589f27e1 ssh-agent [2020-04-30T13:18:53.662Z] SSH_AUTH_SOCK=/tmp/ssh-Lny5qDNQlGfR/agent.15 [2020-04-30T13:18:53.662Z] SSH_AGENT_PID=22 [2020-04-30T13:18:53.670Z] Running ssh-add (command line suppressed) [2020-04-30T13:18:53.819Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_475417177941552078.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_475417177941552078.key) [2020-04-30T13:18:53.869Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-30T13:18:54.192Z] + git semver tag [2020-04-30T13:18:54.193Z] # -> Open(): unable to determine branch for HEAD [2020-04-30T13:18:54.193Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-30T13:18:54.193Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-30T13:18:54.193Z] # $SEMVER_REMOTE_NAME = origin [2020-04-30T13:18:54.193Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-30T13:18:54.193Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-30T13:18:54.193Z] # $SEMVER_BRANCH = master [2020-04-30T13:18:54.193Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-30T13:18:54.193Z] # a939715cd6b2ce15799d62ce2550d8dc39d33fc5 HEAD [2020-04-30T13:18:54.451Z] # -> Force: false [2020-04-30T13:18:54.451Z] # b056e88c3b07cf2b5b4d7d93899aa37ddb1f0d18 refs/tags/v1.2.1-dev.1 [Pipeline] } [2020-04-30T13:18:54.461Z] $ docker exec --env ******** --env ******** 2cb28cbc967fadddf48847e1972211a1b989bd9a984ff8572c7d8639589f27e1 ssh-agent -k [2020-04-30T13:18:54.600Z] unset SSH_AUTH_SOCK; [2020-04-30T13:18:54.600Z] unset SSH_AGENT_PID; [2020-04-30T13:18:54.600Z] echo Agent pid 22 killed; [2020-04-30T13:18:54.643Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-30T13:18:55.076Z] + git semver [Pipeline] } [2020-04-30T13:18:55.089Z] $ docker stop --time=1 2cb28cbc967fadddf48847e1972211a1b989bd9a984ff8572c7d8639589f27e1 [2020-04-30T13:18:56.425Z] $ docker rm -f 2cb28cbc967fadddf48847e1972211a1b989bd9a984ff8572c7d8639589f27e1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:18:57.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-30T13:18:57.081Z] [2020-04-30T13:18:57.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:18:57.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-30T13:18:57.419Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-30T13:18:57.419Z] ab5ef0e58194: Pulling fs layer [2020-04-30T13:18:57.419Z] 9712f1f96733: Pulling fs layer [2020-04-30T13:18:57.419Z] 63f879dbbcfc: Pulling fs layer [2020-04-30T13:18:57.419Z] 0d9ebad4ef96: Pulling fs layer [2020-04-30T13:18:57.419Z] e9a5061849ea: Pulling fs layer [2020-04-30T13:18:57.419Z] d747dcd14b5f: Pulling fs layer [2020-04-30T13:18:57.419Z] 2de7ff778b66: Pulling fs layer [2020-04-30T13:18:57.419Z] 0d9ebad4ef96: Waiting [2020-04-30T13:18:57.419Z] e9a5061849ea: Waiting [2020-04-30T13:18:57.419Z] d747dcd14b5f: Waiting [2020-04-30T13:18:57.419Z] 2de7ff778b66: Waiting [2020-04-30T13:18:57.419Z] 9712f1f96733: Verifying Checksum [2020-04-30T13:18:57.419Z] 9712f1f96733: Download complete [2020-04-30T13:18:57.997Z] 63f879dbbcfc: Verifying Checksum [2020-04-30T13:18:57.997Z] 63f879dbbcfc: Download complete [2020-04-30T13:18:57.997Z] e9a5061849ea: Verifying Checksum [2020-04-30T13:18:57.997Z] e9a5061849ea: Download complete [2020-04-30T13:18:58.258Z] d747dcd14b5f: Verifying Checksum [2020-04-30T13:18:58.258Z] d747dcd14b5f: Download complete [2020-04-30T13:18:58.517Z] 2de7ff778b66: Verifying Checksum [2020-04-30T13:18:58.517Z] 2de7ff778b66: Download complete [2020-04-30T13:18:58.517Z] ab5ef0e58194: Verifying Checksum [2020-04-30T13:18:58.517Z] ab5ef0e58194: Download complete [2020-04-30T13:18:58.517Z] 0d9ebad4ef96: Verifying Checksum [2020-04-30T13:18:58.517Z] 0d9ebad4ef96: Download complete [2020-04-30T13:19:03.789Z] ab5ef0e58194: Pull complete [2020-04-30T13:19:03.789Z] 9712f1f96733: Pull complete [2020-04-30T13:19:06.329Z] 63f879dbbcfc: Pull complete [2020-04-30T13:19:11.636Z] 0d9ebad4ef96: Pull complete [2020-04-30T13:19:12.572Z] e9a5061849ea: Pull complete [2020-04-30T13:19:12.831Z] d747dcd14b5f: Pull complete [2020-04-30T13:19:16.126Z] 2de7ff778b66: Pull complete [2020-04-30T13:19:16.126Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-30T13:19:16.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-30T13:19:16.259Z] prd-centos7-docker-4c-2g-6730 does not seem to be running inside a container [2020-04-30T13:19:16.303Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-04-30T13:19:17.796Z] $ docker top 2c8938bcfe8451b3fe3f03ea579d322a8c5120c33edbf6c58025333bb18104ae -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-30T13:19:18.045Z] provisioning config files... [2020-04-30T13:19:18.054Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4587638400724763925tmp [2020-04-30T13:19:18.071Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8711371205688576018tmp [2020-04-30T13:19:18.086Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3024319874714316164tmp [Pipeline] { [Pipeline] echo [2020-04-30T13:19:18.134Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-30T13:19:18.430Z] ---> sigul-configuration.sh [2020-04-30T13:19:18.430Z] gpg: directory `/root/.gnupg' created [2020-04-30T13:19:18.430Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-30T13:19:18.430Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-30T13:19:18.430Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-30T13:19:18.430Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-30T13:19:18.430Z] gpg: CAST5 encrypted data [2020-04-30T13:19:18.688Z] gpg: encrypted with 1 passphrase [2020-04-30T13:19:18.688Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-30T13:19:18.977Z] + mkdir /home/jenkins [2020-04-30T13:19:18.977Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-30T13:19:19.267Z] + 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-04-30T13:19:19.275Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-30T13:19:19.570Z] ---> sigul-install.sh [2020-04-30T13:19:25.269Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-30T13:19:25.562Z] + git tag --list [2020-04-30T13:19:25.562Z] v1.2.1-dev.1 [Pipeline] sh [2020-04-30T13:19:25.853Z] + lftools sign git-tag v1.2.1-dev.1 [2020-04-30T13:19:26.789Z] Signing Git tag with Sigul... [2020-04-30T13:19:26.789Z] Signing v1.2.1-dev.1 [Pipeline] echo [2020-04-30T13:19:28.189Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-30T13:19:28.484Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-30T13:19:28.490Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-30T13:19:28.564Z] $ docker stop --time=1 2c8938bcfe8451b3fe3f03ea579d322a8c5120c33edbf6c58025333bb18104ae [2020-04-30T13:19:30.131Z] $ docker rm -f 2c8938bcfe8451b3fe3f03ea579d322a8c5120c33edbf6c58025333bb18104ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:19:30.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-30T13:19:30.932Z] . [Pipeline] withDockerContainer [2020-04-30T13:19:31.043Z] prd-centos7-docker-4c-2g-6730 does not seem to be running inside a container [2020-04-30T13:19:31.084Z] $ 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-04-30T13:19:31.859Z] $ docker top 3366aef6cc8039548e0574bc52686a0ba6ae2c2c3c692f5159f6ce14fc5ecd55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-30T13:19:32.269Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-30T13:19:32.269Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-30T13:19:32.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-30T13:19:32.462Z] $ docker exec 3366aef6cc8039548e0574bc52686a0ba6ae2c2c3c692f5159f6ce14fc5ecd55 ssh-agent [2020-04-30T13:19:32.644Z] SSH_AUTH_SOCK=/tmp/ssh-wzQaSza1LGsV/agent.15 [2020-04-30T13:19:32.644Z] SSH_AGENT_PID=22 [2020-04-30T13:19:32.651Z] Running ssh-add (command line suppressed) [2020-04-30T13:19:32.793Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5362830687998037886.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5362830687998037886.key) [2020-04-30T13:19:32.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-30T13:19:33.185Z] + git semver bump pre [2020-04-30T13:19:33.185Z] # -> Open(): unable to determine branch for HEAD [2020-04-30T13:19:33.185Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-30T13:19:33.185Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-30T13:19:33.185Z] # $SEMVER_REMOTE_NAME = origin [2020-04-30T13:19:33.185Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-30T13:19:33.185Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-30T13:19:33.185Z] # $SEMVER_BRANCH = master [2020-04-30T13:19:33.185Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-30T13:19:33.185Z] 1.2.1-dev.2 [Pipeline] } [2020-04-30T13:19:33.194Z] $ docker exec --env ******** --env ******** 3366aef6cc8039548e0574bc52686a0ba6ae2c2c3c692f5159f6ce14fc5ecd55 ssh-agent -k [2020-04-30T13:19:33.327Z] unset SSH_AUTH_SOCK; [2020-04-30T13:19:33.328Z] unset SSH_AGENT_PID; [2020-04-30T13:19:33.328Z] echo Agent pid 22 killed; [2020-04-30T13:19:33.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-30T13:19:33.899Z] + git semver [Pipeline] } [2020-04-30T13:19:33.913Z] $ docker stop --time=1 3366aef6cc8039548e0574bc52686a0ba6ae2c2c3c692f5159f6ce14fc5ecd55 [2020-04-30T13:19:35.229Z] $ docker rm -f 3366aef6cc8039548e0574bc52686a0ba6ae2c2c3c692f5159f6ce14fc5ecd55 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:19:35.725Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-30T13:19:35.725Z] . [Pipeline] withDockerContainer [2020-04-30T13:19:35.835Z] prd-centos7-docker-4c-2g-6730 does not seem to be running inside a container [2020-04-30T13:19:35.887Z] $ 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-04-30T13:19:36.424Z] $ docker top 0b9810db2d8a7be1fef130778a5fa8a9b8d50dea0087fbf0e76cd2a3830669c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-30T13:19:36.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-30T13:19:36.724Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-30T13:19:36.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-30T13:19:36.908Z] $ docker exec 0b9810db2d8a7be1fef130778a5fa8a9b8d50dea0087fbf0e76cd2a3830669c1 ssh-agent [2020-04-30T13:19:37.096Z] SSH_AUTH_SOCK=/tmp/ssh-XHP3GHutGZa3/agent.13 [2020-04-30T13:19:37.096Z] SSH_AGENT_PID=20 [2020-04-30T13:19:37.104Z] Running ssh-add (command line suppressed) [2020-04-30T13:19:37.243Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3535229097993045218.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3535229097993045218.key) [2020-04-30T13:19:37.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-30T13:19:37.615Z] + git semver push [2020-04-30T13:19:37.615Z] # -> Open(): unable to determine branch for HEAD [2020-04-30T13:19:37.615Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-30T13:19:37.615Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-30T13:19:37.615Z] # $SEMVER_REMOTE_NAME = origin [2020-04-30T13:19:37.615Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-30T13:19:37.615Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-30T13:19:37.615Z] # $SEMVER_BRANCH = master [2020-04-30T13:19:37.615Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-30T13:19:45.741Z] $ docker exec --env ******** --env ******** 0b9810db2d8a7be1fef130778a5fa8a9b8d50dea0087fbf0e76cd2a3830669c1 ssh-agent -k [2020-04-30T13:19:45.893Z] unset SSH_AUTH_SOCK; [2020-04-30T13:19:45.893Z] unset SSH_AGENT_PID; [2020-04-30T13:19:45.893Z] echo Agent pid 20 killed; [2020-04-30T13:19:45.944Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-30T13:19:46.366Z] + git semver [Pipeline] } [2020-04-30T13:19:46.472Z] $ docker stop --time=1 0b9810db2d8a7be1fef130778a5fa8a9b8d50dea0087fbf0e76cd2a3830669c1 [2020-04-30T13:19:47.811Z] $ docker rm -f 0b9810db2d8a7be1fef130778a5fa8a9b8d50dea0087fbf0e76cd2a3830669c1 [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-04-30T13:19:48.632Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-30T13:19:49.190Z] ---> package-listing.sh [2020-04-30T13:19:49.190Z] ++ facter osfamily [2020-04-30T13:19:49.190Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-30T13:19:49.190Z] + OS_FAMILY=redhat [2020-04-30T13:19:49.190Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-04-30T13:19:49.190Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-30T13:19:49.190Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-30T13:19:49.190Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-30T13:19:49.190Z] + PACKAGES=/tmp/packages_start.txt [2020-04-30T13:19:49.190Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-30T13:19:49.190Z] + PACKAGES=/tmp/packages_end.txt [2020-04-30T13:19:49.190Z] + case "${OS_FAMILY}" in [2020-04-30T13:19:49.190Z] + rpm -qa [2020-04-30T13:19:49.190Z] + sort [2020-04-30T13:19:53.381Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-30T13:19:53.381Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-30T13:19:53.381Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-30T13:19:53.381Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-30T13:19:53.382Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-04-30T13:19:53.382Z] + 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-04-30T13:19:53.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-30T13:19:53.856Z] [2020-04-30T13:19:53.856Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-30T13:19:54.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-30T13:19:54.201Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-30T13:19:54.201Z] c9b1b535fdd9: Pulling fs layer [2020-04-30T13:19:54.201Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-30T13:19:54.201Z] 756a868c4378: Pulling fs layer [2020-04-30T13:19:54.201Z] 444b2fc9a129: Pulling fs layer [2020-04-30T13:19:54.201Z] ea15f1150254: Pulling fs layer [2020-04-30T13:19:54.201Z] 41b27a9f41bf: Pulling fs layer [2020-04-30T13:19:54.201Z] 28c525ee5125: Pulling fs layer [2020-04-30T13:19:54.201Z] 094b1ea09ed8: Pulling fs layer [2020-04-30T13:19:54.201Z] 138eaada9080: Pulling fs layer [2020-04-30T13:19:54.201Z] 0622d0fa9048: Pulling fs layer [2020-04-30T13:19:54.201Z] ea15f1150254: Waiting [2020-04-30T13:19:54.201Z] 41b27a9f41bf: Waiting [2020-04-30T13:19:54.201Z] 28c525ee5125: Waiting [2020-04-30T13:19:54.201Z] 094b1ea09ed8: Waiting [2020-04-30T13:19:54.201Z] 138eaada9080: Waiting [2020-04-30T13:19:54.201Z] 0622d0fa9048: Waiting [2020-04-30T13:19:54.201Z] 444b2fc9a129: Waiting [2020-04-30T13:19:54.201Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-30T13:19:54.201Z] 2cc5ad85d9ab: Download complete [2020-04-30T13:19:54.201Z] 444b2fc9a129: Verifying Checksum [2020-04-30T13:19:54.201Z] 444b2fc9a129: Download complete [2020-04-30T13:19:54.201Z] c9b1b535fdd9: Verifying Checksum [2020-04-30T13:19:54.201Z] c9b1b535fdd9: Download complete [2020-04-30T13:19:54.201Z] ea15f1150254: Verifying Checksum [2020-04-30T13:19:54.201Z] ea15f1150254: Download complete [2020-04-30T13:19:54.465Z] 28c525ee5125: Verifying Checksum [2020-04-30T13:19:54.466Z] 28c525ee5125: Download complete [2020-04-30T13:19:54.728Z] 756a868c4378: Verifying Checksum [2020-04-30T13:19:54.728Z] 756a868c4378: Download complete [2020-04-30T13:19:54.728Z] 094b1ea09ed8: Verifying Checksum [2020-04-30T13:19:54.728Z] 094b1ea09ed8: Download complete [2020-04-30T13:19:54.728Z] 138eaada9080: Verifying Checksum [2020-04-30T13:19:54.728Z] 138eaada9080: Download complete [2020-04-30T13:19:54.728Z] 0622d0fa9048: Verifying Checksum [2020-04-30T13:19:54.728Z] 0622d0fa9048: Download complete [2020-04-30T13:19:55.296Z] 41b27a9f41bf: Verifying Checksum [2020-04-30T13:19:55.296Z] 41b27a9f41bf: Download complete [2020-04-30T13:19:55.864Z] c9b1b535fdd9: Pull complete [2020-04-30T13:19:56.124Z] 2cc5ad85d9ab: Pull complete [2020-04-30T13:19:57.503Z] 756a868c4378: Pull complete [2020-04-30T13:19:57.503Z] 444b2fc9a129: Pull complete [2020-04-30T13:19:57.762Z] ea15f1150254: Pull complete [2020-04-30T13:20:01.057Z] 41b27a9f41bf: Pull complete [2020-04-30T13:20:01.057Z] 28c525ee5125: Pull complete [2020-04-30T13:20:03.599Z] 094b1ea09ed8: Pull complete [2020-04-30T13:20:03.599Z] 138eaada9080: Pull complete [2020-04-30T13:20:03.857Z] 0622d0fa9048: Pull complete [2020-04-30T13:20:03.857Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-30T13:20:03.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-30T13:20:04.000Z] prd-centos7-docker-4c-2g-6730 does not seem to be running inside a container [2020-04-30T13:20:04.046Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-30T13:20:04.540Z] $ docker top 38801de3c28c9f7f272431777208a77c2ed12871f10bd447a3c3f03ae6d3f6ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-30T13:20:04.756Z] provisioning config files... [2020-04-30T13:20:04.767Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3866597253125560978tmp [Pipeline] { [Pipeline] echo [2020-04-30T13:20:04.824Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-30T13:20:05.112Z] ---> create-netrc.sh [Pipeline] echo [2020-04-30T13:20:05.119Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-30T13:20:05.442Z] ---> logs-deploy.sh [2020-04-30T13:20:05.442Z] + ARCHIVE_ARTIFACTS= [2020-04-30T13:20:05.442Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-30T13:20:05.442Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-30T13:20:05.442Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-30T13:20:05.442Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/37 [2020-04-30T13:20:05.442Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/37/ [2020-04-30T13:20:05.442Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/37 /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-30T13:20:06.448Z] Archives upload complete. [2020-04-30T13:20:06.448Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/37 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/37/