Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3311 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 cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 Commit message: "Merge pull request #474 from hahattan/issue-465" > git rev-list --no-walk 2059383c0ce7ecc5e89f6707ab815f97db38a92e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-10T16:59:25.533Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:59:28.474Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:59:28.749Z] [2020-04-10T16:59:28.749Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:59:29.126Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:59:29.126Z] latest: Pulling from edgex-devops/git-semver [2020-04-10T16:59:29.126Z] 9123ac7c32f7: Pulling fs layer [2020-04-10T16:59:29.126Z] b8cc5d1170e3: Pulling fs layer [2020-04-10T16:59:29.126Z] 2924cbbf6a41: Pulling fs layer [2020-04-10T16:59:29.126Z] 93b08a4f1073: Pulling fs layer [2020-04-10T16:59:29.126Z] 93b08a4f1073: Waiting [2020-04-10T16:59:29.388Z] b8cc5d1170e3: Verifying Checksum [2020-04-10T16:59:29.388Z] b8cc5d1170e3: Download complete [2020-04-10T16:59:29.388Z] 9123ac7c32f7: Verifying Checksum [2020-04-10T16:59:29.388Z] 9123ac7c32f7: Download complete [2020-04-10T16:59:29.388Z] 93b08a4f1073: Verifying Checksum [2020-04-10T16:59:29.388Z] 93b08a4f1073: Download complete [2020-04-10T16:59:29.388Z] 2924cbbf6a41: Download complete [2020-04-10T16:59:29.648Z] 9123ac7c32f7: Pull complete [2020-04-10T16:59:29.909Z] b8cc5d1170e3: Pull complete [2020-04-10T16:59:30.925Z] 2924cbbf6a41: Pull complete [2020-04-10T16:59:31.550Z] 93b08a4f1073: Pull complete [2020-04-10T16:59:31.550Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-10T16:59:31.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-10T16:59:31.817Z] prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container [2020-04-10T16:59:31.927Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-10T16:59:33.079Z] $ docker top b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T16:59:33.380Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:59:33.380Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:59:34.009Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:59:34.015Z] $ docker exec b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f ssh-agent [2020-04-10T16:59:34.574Z] SSH_AUTH_SOCK=/tmp/ssh-wMEFZWSfcVMA/agent.15 [2020-04-10T16:59:34.574Z] SSH_AGENT_PID=21 [2020-04-10T16:59:34.599Z] Running ssh-add (command line suppressed) [2020-04-10T16:59:35.011Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7986798903187557941.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7986798903187557941.key) [2020-04-10T16:59:35.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:59:36.079Z] + git describe --exact-match --tags HEAD [2020-04-10T16:59:36.079Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-10T16:59:36.181Z] $ docker exec --env ******** --env ******** b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f ssh-agent -k [2020-04-10T16:59:36.470Z] unset SSH_AUTH_SOCK; [2020-04-10T16:59:36.476Z] unset SSH_AGENT_PID; [2020-04-10T16:59:36.476Z] echo Agent pid 21 killed; [2020-04-10T16:59:36.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-10T16:59:36.630Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-10T16:59:36.630Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-10T16:59:36.717Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:59:36.717Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:59:37.309Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:59:37.324Z] $ docker exec b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f ssh-agent [2020-04-10T16:59:38.030Z] SSH_AUTH_SOCK=/tmp/ssh-ZUBYQZ8bjDbS/agent.56 [2020-04-10T16:59:38.030Z] SSH_AGENT_PID=63 [2020-04-10T16:59:38.070Z] Running ssh-add (command line suppressed) [2020-04-10T16:59:38.580Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8429098375455073648.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8429098375455073648.key) [2020-04-10T16:59:38.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:59:39.466Z] + git semver init [2020-04-10T16:59:39.466Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T16:59:39.466Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-10T16:59:39.466Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T16:59:39.466Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T16:59:39.466Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T16:59:39.466Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T16:59:39.466Z] # $SEMVER_BRANCH = master [2020-04-10T16:59:39.466Z] # $SEMVER_TEMP = /tmp/semver-468499701 [2020-04-10T16:59:39.466Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-10T16:59:40.444Z] # '/tmp/semver-468499701' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-04-10T16:59:40.444Z] # -> Force: false [2020-04-10T16:59:40.444Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-10T16:59:40.613Z] $ docker exec --env ******** --env ******** b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f ssh-agent -k [2020-04-10T16:59:41.094Z] unset SSH_AUTH_SOCK; [2020-04-10T16:59:41.095Z] unset SSH_AGENT_PID; [2020-04-10T16:59:41.095Z] echo Agent pid 63 killed; [2020-04-10T16:59:41.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T16:59:42.135Z] + git semver [Pipeline] } [2020-04-10T16:59:42.149Z] $ docker stop --time=1 b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f [2020-04-10T16:59:43.770Z] $ docker rm -f b37bca7c356dd53503ee960d6f3e1b90cd3c4e43d0e4d84cc9413e5e1590386f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-10T16:59:45.116Z] Stashed 37 file(s) [Pipeline] echo [2020-04-10T16:59:45.118Z] [edgeXSemver] initialized semver on version 1.2.0-dev.20 [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-10T17:00:00.339Z] Still waiting to schedule task [2020-04-10T17:00:00.340Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3311’ [2020-04-10T17:00:00.341Z] Still waiting to schedule task [2020-04-10T17:00:00.341Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-10T17:02:14.758Z] Running on prd-centos7-docker-4c-2g-3312 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-10T17:02:14.792Z] Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout [2020-04-10T17:02:16.860Z] using credential edgex-jenkins-ssh [2020-04-10T17:02:16.900Z] Cloning the remote Git repository [2020-04-10T17:02:16.900Z] Cloning with configured refspecs honoured and without tags [2020-04-10T17:02:16.116Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T17:02:16.156Z] > git init /w/workspace/device-sdk-go/20 # timeout=10 [2020-04-10T17:02:16.198Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T17:02:16.198Z] > git --version # timeout=10 [2020-04-10T17:02:16.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T17:02:16.238Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T17:02:17.639Z] Fetching without tags [2020-04-10T17:02:18.040Z] Checking out Revision cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 (master) [2020-04-10T17:02:16.863Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T17:02:16.869Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T17:02:16.879Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T17:02:16.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T17:02:16.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T17:02:16.898Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T17:02:17.331Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T17:02:17.339Z] > git checkout -f cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 [2020-04-10T17:02:21.802Z] Commit message: "Merge pull request #474 from hahattan/issue-465" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T17:02:22.742Z] ========================================================= [2020-04-10T17:02:22.742Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-10T17:02:22.742Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T17:02:23.445Z] + 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-10T17:02:23.704Z] Sending build context to Docker daemon 2.865MB [2020-04-10T17:02:23.704Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-10T17:02:23.704Z] Step 2/8 : FROM ${BASE} [2020-04-10T17:02:23.704Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-10T17:02:23.704Z] e6b0cf9c0882: Pulling fs layer [2020-04-10T17:02:23.704Z] 2848faf0eed1: Pulling fs layer [2020-04-10T17:02:23.704Z] 0f37312ad70f: Pulling fs layer [2020-04-10T17:02:23.704Z] 5788d62ee057: Pulling fs layer [2020-04-10T17:02:23.704Z] 0e6b1d234666: Pulling fs layer [2020-04-10T17:02:23.704Z] bf5d7aec512f: Pulling fs layer [2020-04-10T17:02:23.704Z] 34c802a77dc8: Pulling fs layer [2020-04-10T17:02:23.704Z] 9eb99e56ec68: Pulling fs layer [2020-04-10T17:02:23.704Z] 27c7a5d97fbd: Pulling fs layer [2020-04-10T17:02:23.704Z] 5c102a31e300: Pulling fs layer [2020-04-10T17:02:23.704Z] dcfb455df0a1: Pulling fs layer [2020-04-10T17:02:23.704Z] 34c802a77dc8: Waiting [2020-04-10T17:02:23.704Z] 5788d62ee057: Waiting [2020-04-10T17:02:23.704Z] 9eb99e56ec68: Waiting [2020-04-10T17:02:23.704Z] 27c7a5d97fbd: Waiting [2020-04-10T17:02:23.704Z] 5c102a31e300: Waiting [2020-04-10T17:02:23.704Z] 0e6b1d234666: Waiting [2020-04-10T17:02:23.704Z] bf5d7aec512f: Waiting [2020-04-10T17:02:23.704Z] 0f37312ad70f: Verifying Checksum [2020-04-10T17:02:23.704Z] 0f37312ad70f: Download complete [2020-04-10T17:02:23.704Z] 2848faf0eed1: Verifying Checksum [2020-04-10T17:02:23.704Z] 2848faf0eed1: Download complete [2020-04-10T17:02:23.704Z] 0e6b1d234666: Verifying Checksum [2020-04-10T17:02:23.704Z] 0e6b1d234666: Download complete [2020-04-10T17:02:23.704Z] bf5d7aec512f: Verifying Checksum [2020-04-10T17:02:23.704Z] bf5d7aec512f: Download complete [2020-04-10T17:02:23.968Z] e6b0cf9c0882: Verifying Checksum [2020-04-10T17:02:23.968Z] e6b0cf9c0882: Download complete [2020-04-10T17:02:23.968Z] e6b0cf9c0882: Pull complete [2020-04-10T17:02:24.229Z] 2848faf0eed1: Pull complete [2020-04-10T17:02:24.492Z] 0f37312ad70f: Pull complete [2020-04-10T17:02:24.762Z] 34c802a77dc8: Verifying Checksum [2020-04-10T17:02:24.762Z] 34c802a77dc8: Download complete [2020-04-10T17:02:24.762Z] 27c7a5d97fbd: Download complete [2020-04-10T17:02:25.341Z] 5c102a31e300: Verifying Checksum [2020-04-10T17:02:25.341Z] 5c102a31e300: Download complete [2020-04-10T17:02:25.341Z] dcfb455df0a1: Verifying Checksum [2020-04-10T17:02:25.341Z] dcfb455df0a1: Download complete [2020-04-10T17:02:25.341Z] 9eb99e56ec68: Verifying Checksum [2020-04-10T17:02:25.341Z] 9eb99e56ec68: Download complete [2020-04-10T17:02:25.341Z] 5788d62ee057: Download complete [2020-04-10T17:02:31.924Z] 5788d62ee057: Pull complete [2020-04-10T17:02:31.924Z] 0e6b1d234666: Pull complete [2020-04-10T17:02:31.924Z] bf5d7aec512f: Pull complete [2020-04-10T17:02:37.205Z] 34c802a77dc8: Pull complete [2020-04-10T17:02:40.518Z] 9eb99e56ec68: Pull complete [2020-04-10T17:02:40.518Z] 27c7a5d97fbd: Pull complete [2020-04-10T17:02:40.778Z] 5c102a31e300: Pull complete [2020-04-10T17:02:41.039Z] dcfb455df0a1: Pull complete [2020-04-10T17:02:41.039Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-10T17:02:41.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-10T17:02:41.039Z] ---> 7c70fe431013 [2020-04-10T17:02:41.039Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T17:02:41.039Z] ---> Running in 65cdf44154f7 [2020-04-10T17:02:41.299Z] Removing intermediate container 65cdf44154f7 [2020-04-10T17:02:41.299Z] ---> 478ce4354b24 [2020-04-10T17:02:41.299Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T17:02:41.299Z] ---> Running in dfab78c7314a [2020-04-10T17:02:42.238Z] Removing intermediate container dfab78c7314a [2020-04-10T17:02:42.238Z] ---> f8d31e1cc5f4 [2020-04-10T17:02:42.238Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-10T17:02:42.238Z] ---> Running in 2ef708d2cef2 [2020-04-10T17:02:42.817Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T17:02:43.401Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T17:02:43.970Z] OK: 143 MiB in 39 packages [2020-04-10T17:02:44.230Z] Removing intermediate container 2ef708d2cef2 [2020-04-10T17:02:44.230Z] ---> 59273d18b900 [2020-04-10T17:02:44.230Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-10T17:02:44.230Z] ---> Running in 0adf6dc84409 [2020-04-10T17:02:44.491Z] Removing intermediate container 0adf6dc84409 [2020-04-10T17:02:44.491Z] ---> a096521b1950 [2020-04-10T17:02:44.491Z] Step 7/8 : COPY . . [2020-04-10T17:02:45.059Z] ---> 548a4871b8f5 [2020-04-10T17:02:45.059Z] Step 8/8 : RUN go mod download [2020-04-10T17:02:45.059Z] ---> Running in 5900c0e5a5b2 [2020-04-10T17:02:47.595Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-10T17:02:47.595Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-10T17:02:47.595Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-10T17:02:47.595Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-10T17:02:47.595Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-10T17:02:47.595Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-10T17:02:47.595Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-10T17:02:47.595Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-10T17:02:47.595Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-10T17:02:47.595Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-10T17:02:47.595Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-10T17:02:47.595Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-10T17:02:47.595Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-10T17:02:47.595Z] go: finding github.com/fatih/color v1.7.0 [2020-04-10T17:02:47.595Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T17:02:47.595Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T17:02:47.595Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T17:02:47.595Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T17:02:47.595Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-10T17:02:47.595Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T17:02:47.595Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-10T17:02:47.595Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-10T17:02:47.595Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T17:02:47.595Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-10T17:02:47.595Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-10T17:02:47.595Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-10T17:02:47.595Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-10T17:02:47.595Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-10T17:02:47.595Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-10T17:02:47.595Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-10T17:02:47.595Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-10T17:02:47.595Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-10T17:02:47.595Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T17:02:47.595Z] go: finding github.com/posener/complete v1.1.1 [2020-04-10T17:02:47.595Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-10T17:02:47.595Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-10T17:02:47.595Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T17:02:47.595Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-10T17:02:47.595Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-10T17:02:47.596Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T17:02:47.596Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-10T17:02:47.596Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-10T17:02:47.596Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-10T17:02:47.596Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-10T17:02:47.596Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-10T17:02:47.596Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-10T17:02:51.802Z] Removing intermediate container 5900c0e5a5b2 [2020-04-10T17:02:51.803Z] ---> fbd2552e19e7 [2020-04-10T17:02:51.803Z] Successfully built fbd2552e19e7 [2020-04-10T17:02:51.803Z] 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-10T17:02:52.352Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-10T17:02:52.352Z] . [Pipeline] withDockerContainer [2020-04-10T17:02:52.478Z] prd-centos7-docker-4c-2g-3312 does not seem to be running inside a container [2020-04-10T17:02:52.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 ******** ci-base-image-x86_64 cat [2020-04-10T17:02:53.139Z] $ docker top e805bd7216deb81a5030d0bee4cc0f78846d187f465868ae2b5b725f1c52ee2a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T17:02:53.651Z] + go version [2020-04-10T17:02:53.652Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-10T17:02:53.947Z] + make test [2020-04-10T17:02:53.948Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-10T17:02:54.518Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-10T17:03:04.576Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-10T17:03:04.576Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-10T17:03:04.576Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 22.1% of statements [2020-04-10T17:03:09.866Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.045s coverage: 95.8% of statements [2020-04-10T17:03:41.972Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.049s coverage: 11.4% of statements [2020-04-10T17:03:41.972Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.1% of statements [2020-04-10T17:03:41.972Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-10T17:03:41.972Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.312s coverage: 38.5% of statements [2020-04-10T17:03:41.972Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-10T17:03:41.972Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-10T17:03:41.972Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.477s coverage: 79.8% of statements [2020-04-10T17:03:41.972Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-10T17:03:41.972Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-10T17:03:41.972Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-10T17:03:41.972Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.027s coverage: 52.6% of statements [2020-04-10T17:03:41.972Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-10T17:03:41.972Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 71.4% of statements [2020-04-10T17:03:41.972Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-10T17:03:41.972Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-10T17:03:41.972Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T17:03:41.972Z] gofmt -l . [2020-04-10T17:03:41.972Z] [ "`gofmt -l .`" = "" ] [2020-04-10T17:03:41.972Z] ./bin/test-attribution-txt.sh [2020-04-10T17:03:42.542Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-10T17:03:43.200Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T17:03:43.204Z] $ docker stop --time=1 e805bd7216deb81a5030d0bee4cc0f78846d187f465868ae2b5b725f1c52ee2a [2020-04-10T17:03:44.669Z] $ docker rm -f e805bd7216deb81a5030d0bee4cc0f78846d187f465868ae2b5b725f1c52ee2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-10T17:03:45.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-10T17:03:46.260Z] + ls -al . [2020-04-10T17:03:46.260Z] total 160 [2020-04-10T17:03:46.260Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 10 17:03 . [2020-04-10T17:03:46.260Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 10 17:02 .. [2020-04-10T17:03:46.260Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 10 17:02 api [2020-04-10T17:03:46.260Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 10 17:02 bin [2020-04-10T17:03:46.260Z] -rw-r--r--. 1 jenkins jenkins 96404 Apr 10 17:03 coverage.out [2020-04-10T17:03:46.260Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 10 17:02 Dockerfile.build [2020-04-10T17:03:46.260Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 10 17:02 .dockerignore [2020-04-10T17:03:46.260Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 10 17:02 example [2020-04-10T17:03:46.260Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 10 17:02 .git [2020-04-10T17:03:46.260Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 10 17:02 .github [2020-04-10T17:03:46.260Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 10 17:02 .gitignore [2020-04-10T17:03:46.260Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 10 17:03 go.mod [2020-04-10T17:03:46.260Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 10 17:03 go.sum [2020-04-10T17:03:46.260Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 10 17:02 internal [2020-04-10T17:03:46.260Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 10 17:02 Jenkinsfile [2020-04-10T17:03:46.260Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 10 17:02 LICENSE [2020-04-10T17:03:46.260Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 10 17:02 Makefile [2020-04-10T17:03:46.260Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 10 17:02 pkg [2020-04-10T17:03:46.260Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 10 17:02 README.md [2020-04-10T17:03:46.260Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 10 17:02 .semver [2020-04-10T17:03:46.260Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 10 17:02 snap [2020-04-10T17:03:46.260Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 10 16:59 VERSION [2020-04-10T17:03:46.260Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 10 17:02 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-10T17:03:46.553Z] + 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=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 --label arch=amd64 --label version=1.2.0-dev.20 . [2020-04-10T17:03:46.553Z] Sending build context to Docker daemon 2.982MB [2020-04-10T17:03:46.553Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-10T17:03:46.553Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-10T17:03:46.553Z] ---> fbd2552e19e7 [2020-04-10T17:03:46.553Z] Step 3/21 : ARG MAKE='make build' [2020-04-10T17:03:46.813Z] ---> Running in a0c6889a225d [2020-04-10T17:03:46.813Z] Removing intermediate container a0c6889a225d [2020-04-10T17:03:46.813Z] ---> 50875dff93f7 [2020-04-10T17:03:46.813Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-10T17:03:46.813Z] ---> Running in 971675d719c4 [2020-04-10T17:03:47.071Z] Removing intermediate container 971675d719c4 [2020-04-10T17:03:47.071Z] ---> 623fa40e0584 [2020-04-10T17:03:47.071Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T17:03:47.071Z] ---> Running in c26dc0a29e79 [2020-04-10T17:03:47.331Z] Removing intermediate container c26dc0a29e79 [2020-04-10T17:03:47.331Z] ---> eaf2c561e4af [2020-04-10T17:03:47.332Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T17:03:47.332Z] ---> Running in 8da1698db267 [2020-04-10T17:03:47.897Z] Removing intermediate container 8da1698db267 [2020-04-10T17:03:47.897Z] ---> 6b722a54eccd [2020-04-10T17:03:47.897Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-10T17:03:47.897Z] ---> Running in 2179a757584b [2020-04-10T17:03:48.466Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T17:03:49.037Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T17:03:49.604Z] OK: 143 MiB in 39 packages [2020-04-10T17:03:49.862Z] Removing intermediate container 2179a757584b [2020-04-10T17:03:49.862Z] ---> e89e318860a9 [2020-04-10T17:03:49.862Z] Step 8/21 : COPY . . [2020-04-10T17:03:50.132Z] ---> abd997b4a7fb [2020-04-10T17:03:50.132Z] Step 9/21 : RUN ${MAKE} [2020-04-10T17:03:50.132Z] ---> Running in a855423f0d85 [2020-04-10T17:03:50.704Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.20" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-10T17:03:58.861Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-10T17:03:59.441Z] Removing intermediate container a855423f0d85 [2020-04-10T17:03:59.441Z] ---> e7ff8f897319 [2020-04-10T17:03:59.441Z] Step 10/21 : FROM scratch [2020-04-10T17:03:59.441Z] ---> [2020-04-10T17:03:59.441Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T17:03:59.441Z] ---> Running in 0843d98ea94a [2020-04-10T17:03:59.700Z] Removing intermediate container 0843d98ea94a [2020-04-10T17:03:59.700Z] ---> cf5bdde00be5 [2020-04-10T17:03:59.700Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-10T17:03:59.700Z] ---> Running in f4e742f88be4 [2020-04-10T17:03:59.700Z] Removing intermediate container f4e742f88be4 [2020-04-10T17:03:59.700Z] ---> 7f5d2cda2a70 [2020-04-10T17:03:59.700Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-10T17:03:59.959Z] ---> Running in 31e27f2a425a [2020-04-10T17:03:59.959Z] Removing intermediate container 31e27f2a425a [2020-04-10T17:03:59.959Z] ---> 5d72e5bc169b [2020-04-10T17:03:59.959Z] Step 14/21 : WORKDIR / [2020-04-10T17:03:59.959Z] ---> Running in d2be5006eebd [2020-04-10T17:04:00.218Z] Removing intermediate container d2be5006eebd [2020-04-10T17:04:00.218Z] ---> b608bd13eaa8 [2020-04-10T17:04:00.218Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-10T17:04:00.477Z] ---> cbe68ed6717c [2020-04-10T17:04:00.477Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-10T17:04:00.735Z] ---> 7c981bc19fa0 [2020-04-10T17:04:00.735Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-10T17:04:00.735Z] ---> 50dc800ae936 [2020-04-10T17:04:00.735Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-10T17:04:00.995Z] ---> Running in f7182b0fa7c9 [2020-04-10T17:04:00.995Z] Removing intermediate container f7182b0fa7c9 [2020-04-10T17:04:00.995Z] ---> eb3b9a54900c [2020-04-10T17:04:00.995Z] Step 19/21 : LABEL arch=amd64 [2020-04-10T17:04:00.995Z] ---> Running in 6ad5d08413b7 [2020-04-10T17:04:01.253Z] Removing intermediate container 6ad5d08413b7 [2020-04-10T17:04:01.253Z] ---> f443991ae73b [2020-04-10T17:04:01.253Z] Step 20/21 : LABEL git_sha=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 [2020-04-10T17:04:01.253Z] ---> Running in 811567d3e176 [2020-04-10T17:04:01.513Z] Removing intermediate container 811567d3e176 [2020-04-10T17:04:01.513Z] ---> 002a46ec3079 [2020-04-10T17:04:01.513Z] Step 21/21 : LABEL version=1.2.0-dev.20 [2020-04-10T17:04:01.513Z] ---> Running in 3bb8018b5f30 [2020-04-10T17:04:01.513Z] Removing intermediate container 3bb8018b5f30 [2020-04-10T17:04:01.513Z] ---> 556d29f9ee8c [2020-04-10T17:04:01.513Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-10T17:04:01.513Z] Successfully built 556d29f9ee8c [2020-04-10T17:04:01.513Z] 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-10T17:04:23.831Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3313 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-10T17:04:23.873Z] Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout [2020-04-10T17:04:29.785Z] using credential edgex-jenkins-ssh [2020-04-10T17:04:29.835Z] Cloning the remote Git repository [2020-04-10T17:04:29.835Z] Cloning with configured refspecs honoured and without tags [2020-04-10T17:04:29.905Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T17:04:29.996Z] > git init /w/workspace/device-sdk-go/20 # timeout=10 [2020-04-10T17:04:30.074Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T17:04:30.081Z] > git --version # timeout=10 [2020-04-10T17:04:30.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T17:04:30.163Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T17:04:31.324Z] Fetching without tags [2020-04-10T17:04:31.210Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T17:04:31.239Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T17:04:31.285Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T17:04:31.332Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T17:04:31.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T17:04:31.349Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T17:04:31.895Z] Checking out Revision cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 (master) [2020-04-10T17:04:31.911Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T17:04:31.940Z] > git checkout -f cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 [2020-04-10T17:04:36.627Z] Commit message: "Merge pull request #474 from hahattan/issue-465" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T17:04:37.931Z] ========================================================= [2020-04-10T17:04:37.932Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-10T17:04:37.932Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T17:04:39.153Z] + 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-10T17:04:40.126Z] Sending build context to Docker daemon 2.865MB [2020-04-10T17:04:40.126Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-10T17:04:40.126Z] Step 2/8 : FROM ${BASE} [2020-04-10T17:04:40.399Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-10T17:04:40.399Z] cde5963f3b93: Pulling fs layer [2020-04-10T17:04:40.399Z] 2a23fa8c16f7: Pulling fs layer [2020-04-10T17:04:40.399Z] 777b28850792: Pulling fs layer [2020-04-10T17:04:40.399Z] 8a11ddd9e578: Pulling fs layer [2020-04-10T17:04:40.399Z] 4cf88f913ddb: Pulling fs layer [2020-04-10T17:04:40.399Z] 1df406cf5192: Pulling fs layer [2020-04-10T17:04:40.399Z] cd6300453558: Pulling fs layer [2020-04-10T17:04:40.399Z] b9c365052c96: Pulling fs layer [2020-04-10T17:04:40.399Z] a2d8cc88f415: Pulling fs layer [2020-04-10T17:04:40.399Z] ea1d1ca13537: Pulling fs layer [2020-04-10T17:04:40.399Z] 3750a50a1c5e: Pulling fs layer [2020-04-10T17:04:40.399Z] 8a11ddd9e578: Waiting [2020-04-10T17:04:40.399Z] cd6300453558: Waiting [2020-04-10T17:04:40.399Z] ea1d1ca13537: Waiting [2020-04-10T17:04:40.399Z] 4cf88f913ddb: Waiting [2020-04-10T17:04:40.399Z] b9c365052c96: Waiting [2020-04-10T17:04:40.399Z] 1df406cf5192: Waiting [2020-04-10T17:04:40.399Z] 3750a50a1c5e: Waiting [2020-04-10T17:04:40.399Z] 777b28850792: Download complete [2020-04-10T17:04:40.399Z] 2a23fa8c16f7: Verifying Checksum [2020-04-10T17:04:40.399Z] 2a23fa8c16f7: Download complete [2020-04-10T17:04:40.669Z] 4cf88f913ddb: Download complete [2020-04-10T17:04:40.669Z] 1df406cf5192: Verifying Checksum [2020-04-10T17:04:40.669Z] 1df406cf5192: Download complete [2020-04-10T17:04:40.669Z] cde5963f3b93: Verifying Checksum [2020-04-10T17:04:41.639Z] cde5963f3b93: Pull complete [2020-04-10T17:04:42.228Z] 2a23fa8c16f7: Pull complete [2020-04-10T17:04:42.498Z] 777b28850792: Pull complete [2020-04-10T17:04:45.102Z] cd6300453558: Verifying Checksum [2020-04-10T17:04:45.102Z] cd6300453558: Download complete [2020-04-10T17:04:45.102Z] a2d8cc88f415: Verifying Checksum [2020-04-10T17:04:45.102Z] a2d8cc88f415: Download complete [2020-04-10T17:04:47.697Z] ea1d1ca13537: Verifying Checksum [2020-04-10T17:04:47.697Z] ea1d1ca13537: Download complete [2020-04-10T17:04:47.697Z] 3750a50a1c5e: Verifying Checksum [2020-04-10T17:04:47.697Z] 3750a50a1c5e: Download complete [2020-04-10T17:04:50.291Z] b9c365052c96: Verifying Checksum [2020-04-10T17:04:50.291Z] b9c365052c96: Download complete [2020-04-10T17:04:51.698Z] 8a11ddd9e578: Download complete [2020-04-10T17:05:04.024Z] 8a11ddd9e578: Pull complete [2020-04-10T17:05:04.024Z] 4cf88f913ddb: Pull complete [2020-04-10T17:05:04.024Z] 1df406cf5192: Pull complete [2020-04-10T17:05:08.306Z] cd6300453558: Pull complete [2020-04-10T17:05:13.671Z] b9c365052c96: Pull complete [2020-04-10T17:05:13.671Z] a2d8cc88f415: Pull complete [2020-04-10T17:05:15.623Z] ea1d1ca13537: Pull complete [2020-04-10T17:05:15.895Z] 3750a50a1c5e: Pull complete [2020-04-10T17:05:15.895Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-10T17:05:15.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-10T17:05:15.895Z] ---> 78745c68409d [2020-04-10T17:05:15.895Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T17:05:21.261Z] ---> Running in b74607bfa6c4 [2020-04-10T17:05:21.261Z] Removing intermediate container b74607bfa6c4 [2020-04-10T17:05:21.261Z] ---> 7fcb9e6d2b62 [2020-04-10T17:05:21.261Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T17:05:21.261Z] ---> Running in 941b6a32fee8 [2020-04-10T17:05:23.217Z] Removing intermediate container 941b6a32fee8 [2020-04-10T17:05:23.217Z] ---> cf91a5bca3da [2020-04-10T17:05:23.218Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-10T17:05:23.218Z] ---> Running in adf15612fbec [2020-04-10T17:05:23.805Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T17:05:24.764Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T17:05:25.345Z] OK: 125 MiB in 39 packages [2020-04-10T17:05:26.756Z] Removing intermediate container adf15612fbec [2020-04-10T17:05:26.756Z] ---> 4494d605263c [2020-04-10T17:05:26.756Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-10T17:05:26.756Z] ---> Running in 567fd414d2ce [2020-04-10T17:05:27.343Z] Removing intermediate container 567fd414d2ce [2020-04-10T17:05:27.343Z] ---> 3c1080d0db00 [2020-04-10T17:05:27.343Z] Step 7/8 : COPY . . [2020-04-10T17:05:28.306Z] ---> fcf6967ecb3f [2020-04-10T17:05:28.306Z] Step 8/8 : RUN go mod download [2020-04-10T17:05:28.590Z] ---> Running in 5ebe9823efdd [2020-04-10T17:05:30.543Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-10T17:05:30.543Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-10T17:05:30.543Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-10T17:05:30.543Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-10T17:05:30.543Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-10T17:05:30.543Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-10T17:05:30.543Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-10T17:05:30.543Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-10T17:05:30.543Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-10T17:05:30.543Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-10T17:05:30.543Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-10T17:05:30.543Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-10T17:05:30.543Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-10T17:05:30.543Z] go: finding github.com/fatih/color v1.7.0 [2020-04-10T17:05:30.543Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T17:05:30.543Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T17:05:30.543Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T17:05:30.543Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T17:05:30.543Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-10T17:05:30.543Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T17:05:30.543Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-10T17:05:30.543Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-10T17:05:30.809Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T17:05:30.809Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-10T17:05:30.809Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-10T17:05:30.809Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-10T17:05:30.809Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-10T17:05:30.809Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-10T17:05:30.809Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-10T17:05:30.809Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-10T17:05:30.809Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-10T17:05:30.810Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-10T17:05:30.810Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-10T17:05:30.810Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-10T17:05:30.810Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-10T17:05:30.810Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-10T17:05:30.810Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-10T17:05:30.810Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-10T17:05:30.810Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T17:05:30.810Z] go: finding github.com/posener/complete v1.1.1 [2020-04-10T17:05:30.810Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-10T17:05:30.810Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-10T17:05:30.810Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T17:05:30.810Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-10T17:05:30.810Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-10T17:05:30.810Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T17:05:30.810Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-10T17:05:30.810Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-10T17:05:30.810Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-10T17:05:31.077Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-10T17:05:31.077Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-10T17:05:31.077Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-10T17:05:41.183Z] Removing intermediate container 5ebe9823efdd [2020-04-10T17:05:41.183Z] ---> 1f41e61422ac [2020-04-10T17:05:41.183Z] Successfully built 1f41e61422ac [2020-04-10T17:05:41.183Z] 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-10T17:05:41.846Z] + docker inspect -f . ci-base-image-arm64 [2020-04-10T17:05:41.846Z] . [Pipeline] withDockerContainer [2020-04-10T17:05:42.453Z] prd-ubuntu18.04-docker-arm64-4c-16g-3313 does not seem to be running inside a container [2020-04-10T17:05:42.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 ******** ci-base-image-arm64 cat [2020-04-10T17:05:43.999Z] $ docker top 1c571627e0d69bf99d8f9a37135e8dc384c3bc8dd7420f6f76584941a383bcb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T17:05:45.091Z] + go version [2020-04-10T17:05:45.091Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-10T17:05:45.759Z] + make test [2020-04-10T17:05:45.759Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-10T17:05:47.183Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-10T17:06:13.979Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-10T17:06:13.980Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-10T17:06:14.955Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 22.1% of statements [2020-04-10T17:06:18.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.177s coverage: 95.8% of statements [2020-04-10T17:06:50.555Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.048s coverage: 11.4% of statements [2020-04-10T17:06:50.555Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 22.1% of statements [2020-04-10T17:06:50.555Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-10T17:06:50.555Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.129s coverage: 38.5% of statements [2020-04-10T17:06:50.555Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-10T17:06:50.555Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-10T17:06:50.555Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.651s coverage: 79.8% of statements [2020-04-10T17:06:50.555Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-10T17:06:50.555Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-10T17:06:50.555Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-10T17:06:50.555Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.039s coverage: 52.6% of statements [2020-04-10T17:06:50.555Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-10T17:06:50.555Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 71.4% of statements [2020-04-10T17:06:50.555Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-10T17:06:50.555Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-10T17:06:50.555Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T17:06:52.505Z] gofmt -l . [2020-04-10T17:06:53.090Z] [ "`gofmt -l .`" = "" ] [2020-04-10T17:06:53.358Z] ./bin/test-attribution-txt.sh [2020-04-10T17:06:53.949Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-10T17:06:54.547Z] Warning: overwriting stash ‘coverage-report’ [2020-04-10T17:06:55.026Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T17:06:55.029Z] $ docker stop --time=1 1c571627e0d69bf99d8f9a37135e8dc384c3bc8dd7420f6f76584941a383bcb2 [2020-04-10T17:06:57.094Z] $ docker rm -f 1c571627e0d69bf99d8f9a37135e8dc384c3bc8dd7420f6f76584941a383bcb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-10T17:06:58.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-10T17:06:58.708Z] + ls -al . [2020-04-10T17:06:58.708Z] total 200 [2020-04-10T17:06:58.708Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 17:06 . [2020-04-10T17:06:58.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:04 .. [2020-04-10T17:06:58.708Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 17:04 .dockerignore [2020-04-10T17:06:58.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 17:04 .git [2020-04-10T17:06:58.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 17:04 .github [2020-04-10T17:06:58.708Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 10 17:04 .gitignore [2020-04-10T17:06:58.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:04 .semver [2020-04-10T17:06:58.708Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 10 17:04 Dockerfile.build [2020-04-10T17:06:58.708Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 10 17:04 Jenkinsfile [2020-04-10T17:06:58.708Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 17:04 LICENSE [2020-04-10T17:06:58.708Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 10 17:04 Makefile [2020-04-10T17:06:58.708Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 10 17:04 README.md [2020-04-10T17:06:58.708Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 16:59 VERSION [2020-04-10T17:06:58.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:04 api [2020-04-10T17:06:58.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 17:04 bin [2020-04-10T17:06:58.708Z] -rw-r--r-- 1 jenkins jenkins 96404 Apr 10 17:06 coverage.out [2020-04-10T17:06:58.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:04 example [2020-04-10T17:06:58.708Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 10 17:06 go.mod [2020-04-10T17:06:58.708Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 10 17:06 go.sum [2020-04-10T17:06:58.708Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 10 17:04 internal [2020-04-10T17:06:58.708Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 17:04 pkg [2020-04-10T17:06:58.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:04 snap [2020-04-10T17:06:58.708Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 17:04 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-10T17:06:59.044Z] + 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=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 --label arch=arm64 --label version=1.2.0-dev.20 . [2020-04-10T17:06:59.632Z] Sending build context to Docker daemon 2.982MB [2020-04-10T17:06:59.632Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-10T17:06:59.632Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-10T17:06:59.632Z] ---> 1f41e61422ac [2020-04-10T17:06:59.632Z] Step 3/21 : ARG MAKE='make build' [2020-04-10T17:06:59.632Z] ---> Running in 28f3b9dfa25c [2020-04-10T17:06:59.911Z] Removing intermediate container 28f3b9dfa25c [2020-04-10T17:06:59.911Z] ---> 1b754c3db491 [2020-04-10T17:06:59.911Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-10T17:07:00.179Z] ---> Running in 9357492d8df6 [2020-04-10T17:07:00.445Z] Removing intermediate container 9357492d8df6 [2020-04-10T17:07:00.445Z] ---> 950e57aae0a7 [2020-04-10T17:07:00.445Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T17:07:00.711Z] ---> Running in 1699e1093648 [2020-04-10T17:07:00.977Z] Removing intermediate container 1699e1093648 [2020-04-10T17:07:00.977Z] ---> e5b092c2f3d9 [2020-04-10T17:07:00.977Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T17:07:01.244Z] ---> Running in fb91f94fcc19 [2020-04-10T17:07:03.200Z] Removing intermediate container fb91f94fcc19 [2020-04-10T17:07:03.200Z] ---> 788616a52192 [2020-04-10T17:07:03.200Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-10T17:07:03.200Z] ---> Running in e6fc6410aa30 [2020-04-10T17:07:04.162Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T17:07:04.746Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T17:07:05.331Z] OK: 125 MiB in 39 packages [2020-04-10T17:07:06.294Z] Removing intermediate container e6fc6410aa30 [2020-04-10T17:07:06.294Z] ---> 5b30c6e59b18 [2020-04-10T17:07:06.294Z] Step 8/21 : COPY . . [2020-04-10T17:07:07.709Z] ---> 5d5e12db4e52 [2020-04-10T17:07:07.709Z] Step 9/21 : RUN ${MAKE} [2020-04-10T17:07:07.709Z] ---> Running in 1db25d864118 [2020-04-10T17:07:08.670Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.20" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-10T17:07:30.776Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-10T17:07:33.364Z] Removing intermediate container 1db25d864118 [2020-04-10T17:07:33.364Z] ---> 48edc97f8f0a [2020-04-10T17:07:33.364Z] Step 10/21 : FROM scratch [2020-04-10T17:07:33.364Z] ---> [2020-04-10T17:07:33.364Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T17:07:33.364Z] ---> Running in 492f6e51783e [2020-04-10T17:07:33.364Z] Removing intermediate container 492f6e51783e [2020-04-10T17:07:33.364Z] ---> a627d552744c [2020-04-10T17:07:33.364Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-10T17:07:33.364Z] ---> Running in d7bfba4c1279 [2020-04-10T17:07:33.632Z] Removing intermediate container d7bfba4c1279 [2020-04-10T17:07:33.632Z] ---> b0a5400403d7 [2020-04-10T17:07:33.632Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-10T17:07:33.901Z] ---> Running in 9d2ea6d52cc4 [2020-04-10T17:07:34.171Z] Removing intermediate container 9d2ea6d52cc4 [2020-04-10T17:07:34.171Z] ---> a67b3fd3812f [2020-04-10T17:07:34.171Z] Step 14/21 : WORKDIR / [2020-04-10T17:07:34.171Z] ---> Running in 29fcac1210c7 [2020-04-10T17:07:34.440Z] Removing intermediate container 29fcac1210c7 [2020-04-10T17:07:34.440Z] ---> 8a9d79c7a40a [2020-04-10T17:07:34.440Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-10T17:07:35.407Z] ---> 02ef76dda30c [2020-04-10T17:07:35.407Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-10T17:07:35.994Z] ---> c2f686b3e6ea [2020-04-10T17:07:35.994Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-10T17:07:36.580Z] ---> 038f6a584743 [2020-04-10T17:07:36.580Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-10T17:07:36.580Z] ---> Running in 6df88fb2934d [2020-04-10T17:07:37.167Z] Removing intermediate container 6df88fb2934d [2020-04-10T17:07:37.167Z] ---> 15ac842f1aba [2020-04-10T17:07:37.167Z] Step 19/21 : LABEL arch=arm64 [2020-04-10T17:07:37.167Z] ---> Running in 9105e0f30114 [2020-04-10T17:07:37.434Z] Removing intermediate container 9105e0f30114 [2020-04-10T17:07:37.434Z] ---> d658b7609014 [2020-04-10T17:07:37.434Z] Step 20/21 : LABEL git_sha=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 [2020-04-10T17:07:37.703Z] ---> Running in b22b0486bd3f [2020-04-10T17:07:37.973Z] Removing intermediate container b22b0486bd3f [2020-04-10T17:07:37.973Z] ---> da75fd8dec42 [2020-04-10T17:07:37.973Z] Step 21/21 : LABEL version=1.2.0-dev.20 [2020-04-10T17:07:37.973Z] ---> Running in 3262721e48b8 [2020-04-10T17:07:38.560Z] Removing intermediate container 3262721e48b8 [2020-04-10T17:07:38.560Z] ---> 5689b89fd8f8 [2020-04-10T17:07:38.560Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-10T17:07:38.560Z] Successfully built 5689b89fd8f8 [2020-04-10T17:07:38.560Z] 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] } [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-10T17:07:39.664Z] provisioning config files... [2020-04-10T17:07:39.685Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3469152197304016854tmp [Pipeline] { [Pipeline] sh [2020-04-10T17:07:40.528Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3469152197304016854tmp [2020-04-10T17:07:40.528Z] + curl -s https://codecov.io/bash [2020-04-10T17:07:40.867Z] [2020-04-10T17:07:40.867Z] _____ _ [2020-04-10T17:07:40.867Z] / ____| | | [2020-04-10T17:07:40.867Z] | | ___ __| | ___ ___ _____ __ [2020-04-10T17:07:40.867Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-10T17:07:40.867Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-10T17:07:40.867Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-10T17:07:40.867Z] Bash-20200410-0786dee [2020-04-10T17:07:40.867Z] [2020-04-10T17:07:40.867Z] [2020-04-10T17:07:40.867Z] ==> Jenkins CI detected. [2020-04-10T17:07:40.867Z] project root: . [2020-04-10T17:07:40.867Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-10T17:07:40.867Z] ==> Running gcov in . (disable via -X gcov) [2020-04-10T17:07:40.867Z] ==> Python coveragepy not found [2020-04-10T17:07:40.867Z] ==> Searching for coverage reports in: [2020-04-10T17:07:40.867Z] + . [2020-04-10T17:07:40.867Z] -> Found 1 reports [2020-04-10T17:07:41.161Z] ==> Detecting git/mercurial file structure [2020-04-10T17:07:41.161Z] ==> Reading reports [2020-04-10T17:07:41.161Z] + ./coverage.out bytes=96404 [2020-04-10T17:07:41.161Z] ==> Appending adjustments [2020-04-10T17:07:41.161Z] http://docs.codecov.io/docs/fixing-reports [2020-04-10T17:07:41.785Z] + Found adjustments [2020-04-10T17:07:41.785Z] ==> Gzipping contents [2020-04-10T17:07:41.785Z] ==> Uploading reports [2020-04-10T17:07:41.785Z] url: https://codecov.io [2020-04-10T17:07:41.785Z] query: branch=master&commit=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-10T17:07:41.785Z] -> Pinging Codecov [2020-04-10T17:07:41.785Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=master&commit=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-10T17:07:42.049Z] -> Uploading [2020-04-10T17:07:42.625Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 [Pipeline] } [2020-04-10T17:07:42.658Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-10T17:07:42.993Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-10T17:07:42.994Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-10T17:07:43.033Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-10T17:07:43.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-10T17:07:43.830Z] [2020-04-10T17:07:43.830Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-10T17:07:44.238Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-10T17:07:44.525Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-10T17:07:44.525Z] e6b0cf9c0882: Pulling fs layer [2020-04-10T17:07:44.525Z] 2848faf0eed1: Pulling fs layer [2020-04-10T17:07:44.525Z] 0f37312ad70f: Pulling fs layer [2020-04-10T17:07:44.525Z] 7d08f2745646: Pulling fs layer [2020-04-10T17:07:44.525Z] 4c9f31393084: Pulling fs layer [2020-04-10T17:07:44.525Z] eb21ddb83652: Pulling fs layer [2020-04-10T17:07:44.525Z] 345998794f6b: Pulling fs layer [2020-04-10T17:07:44.525Z] 97a711d68925: Pulling fs layer [2020-04-10T17:07:44.525Z] 7c8476c1cb00: Pulling fs layer [2020-04-10T17:07:44.525Z] 4c9f31393084: Waiting [2020-04-10T17:07:44.525Z] eb21ddb83652: Waiting [2020-04-10T17:07:44.525Z] 345998794f6b: Waiting [2020-04-10T17:07:44.525Z] 97a711d68925: Waiting [2020-04-10T17:07:44.525Z] 7c8476c1cb00: Waiting [2020-04-10T17:07:44.525Z] 7d08f2745646: Waiting [2020-04-10T17:07:44.525Z] 0f37312ad70f: Verifying Checksum [2020-04-10T17:07:44.525Z] 0f37312ad70f: Download complete [2020-04-10T17:07:44.525Z] 2848faf0eed1: Download complete [2020-04-10T17:07:44.525Z] 4c9f31393084: Verifying Checksum [2020-04-10T17:07:44.525Z] 4c9f31393084: Download complete [2020-04-10T17:07:44.525Z] eb21ddb83652: Verifying Checksum [2020-04-10T17:07:44.525Z] eb21ddb83652: Download complete [2020-04-10T17:07:44.525Z] e6b0cf9c0882: Verifying Checksum [2020-04-10T17:07:44.525Z] e6b0cf9c0882: Download complete [2020-04-10T17:07:45.279Z] e6b0cf9c0882: Pull complete [2020-04-10T17:07:46.030Z] 2848faf0eed1: Pull complete [2020-04-10T17:07:46.030Z] 0f37312ad70f: Pull complete [2020-04-10T17:07:47.171Z] 345998794f6b: Verifying Checksum [2020-04-10T17:07:47.171Z] 345998794f6b: Download complete [2020-04-10T17:07:48.800Z] 97a711d68925: Verifying Checksum [2020-04-10T17:07:48.800Z] 97a711d68925: Download complete [2020-04-10T17:07:48.800Z] 7c8476c1cb00: Verifying Checksum [2020-04-10T17:07:48.800Z] 7c8476c1cb00: Download complete [2020-04-10T17:07:50.318Z] 7d08f2745646: Verifying Checksum [2020-04-10T17:07:50.318Z] 7d08f2745646: Download complete [2020-04-10T17:08:01.247Z] 7d08f2745646: Pull complete [2020-04-10T17:08:01.248Z] 4c9f31393084: Pull complete [2020-04-10T17:08:01.248Z] eb21ddb83652: Pull complete [2020-04-10T17:08:02.226Z] 345998794f6b: Pull complete [2020-04-10T17:08:06.567Z] 97a711d68925: Pull complete [2020-04-10T17:08:07.985Z] 7c8476c1cb00: Pull complete [2020-04-10T17:08:07.985Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-10T17:08:07.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-10T17:08:08.171Z] prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container [2020-04-10T17:08:08.319Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-04-10T17:08:09.468Z] $ docker top e488225306bb77d66a918c93a3209fb6992bb928ebb7868d45bfa9f59b938bf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T17:08:10.851Z] + snyk monitor '--org=edgex-jenkins' [2020-04-10T17:08:16.388Z] [2020-04-10T17:08:16.388Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-04-10T17:08:16.388Z] [2020-04-10T17:08:16.388Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/565243ed-4171-4766-baa3-46580afae5b2 [2020-04-10T17:08:16.388Z] [2020-04-10T17:08:16.388Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-10T17:08:16.388Z] [2020-04-10T17:08:16.652Z] [Pipeline] } [2020-04-10T17:08:16.681Z] $ docker stop --time=1 e488225306bb77d66a918c93a3209fb6992bb928ebb7868d45bfa9f59b938bf7 [2020-04-10T17:08:18.438Z] $ docker rm -f e488225306bb77d66a918c93a3209fb6992bb928ebb7868d45bfa9f59b938bf7 [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-10T17:08:19.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T17:08:19.770Z] . [Pipeline] withDockerContainer [2020-04-10T17:08:19.997Z] prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container [2020-04-10T17:08:20.133Z] $ 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-10T17:08:21.120Z] $ docker top d2175d492317c6e0dff58bef544e23f3bdaa8a2fa9251a6a1a9c5ad4f0b4e82f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T17:08:21.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T17:08:21.562Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T17:08:22.299Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T17:08:22.305Z] $ docker exec d2175d492317c6e0dff58bef544e23f3bdaa8a2fa9251a6a1a9c5ad4f0b4e82f ssh-agent [2020-04-10T17:08:22.574Z] SSH_AUTH_SOCK=/tmp/ssh-OKefys4bTA67/agent.15 [2020-04-10T17:08:22.574Z] SSH_AGENT_PID=21 [2020-04-10T17:08:22.584Z] Running ssh-add (command line suppressed) [2020-04-10T17:08:22.817Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4685559687369075070.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4685559687369075070.key) [2020-04-10T17:08:22.872Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T17:08:23.208Z] + git semver tag [2020-04-10T17:08:23.794Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T17:08:23.794Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-10T17:08:23.794Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T17:08:23.794Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T17:08:23.794Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T17:08:23.794Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T17:08:23.794Z] # $SEMVER_BRANCH = master [2020-04-10T17:08:23.794Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-10T17:08:23.794Z] # cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 HEAD [2020-04-10T17:08:23.794Z] # -> Force: false [2020-04-10T17:08:23.794Z] # 1ab5ba05a77380644ee74446ec77fe6ed30324bc refs/tags/v1.2.0-dev.20 [Pipeline] } [2020-04-10T17:08:23.806Z] $ docker exec --env ******** --env ******** d2175d492317c6e0dff58bef544e23f3bdaa8a2fa9251a6a1a9c5ad4f0b4e82f ssh-agent -k [2020-04-10T17:08:23.989Z] unset SSH_AUTH_SOCK; [2020-04-10T17:08:23.990Z] unset SSH_AGENT_PID; [2020-04-10T17:08:23.990Z] echo Agent pid 21 killed; [2020-04-10T17:08:24.072Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T17:08:24.539Z] + git semver [Pipeline] } [2020-04-10T17:08:24.753Z] $ docker stop --time=1 d2175d492317c6e0dff58bef544e23f3bdaa8a2fa9251a6a1a9c5ad4f0b4e82f [2020-04-10T17:08:26.287Z] $ docker rm -f d2175d492317c6e0dff58bef544e23f3bdaa8a2fa9251a6a1a9c5ad4f0b4e82f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-10T17:08:26.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-10T17:08:26.911Z] [2020-04-10T17:08:26.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-10T17:08:27.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-10T17:08:27.260Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-10T17:08:27.260Z] ab5ef0e58194: Pulling fs layer [2020-04-10T17:08:27.260Z] 9712f1f96733: Pulling fs layer [2020-04-10T17:08:27.260Z] 63f879dbbcfc: Pulling fs layer [2020-04-10T17:08:27.260Z] 0d9ebad4ef96: Pulling fs layer [2020-04-10T17:08:27.260Z] e9a5061849ea: Pulling fs layer [2020-04-10T17:08:27.260Z] d747dcd14b5f: Pulling fs layer [2020-04-10T17:08:27.260Z] 2de7ff778b66: Pulling fs layer [2020-04-10T17:08:27.260Z] 0d9ebad4ef96: Waiting [2020-04-10T17:08:27.260Z] e9a5061849ea: Waiting [2020-04-10T17:08:27.260Z] d747dcd14b5f: Waiting [2020-04-10T17:08:27.260Z] 2de7ff778b66: Waiting [2020-04-10T17:08:27.260Z] 9712f1f96733: Verifying Checksum [2020-04-10T17:08:27.260Z] 9712f1f96733: Download complete [2020-04-10T17:08:28.801Z] 63f879dbbcfc: Verifying Checksum [2020-04-10T17:08:28.801Z] 63f879dbbcfc: Download complete [2020-04-10T17:08:29.970Z] e9a5061849ea: Verifying Checksum [2020-04-10T17:08:29.970Z] e9a5061849ea: Download complete [2020-04-10T17:08:29.970Z] d747dcd14b5f: Verifying Checksum [2020-04-10T17:08:29.970Z] d747dcd14b5f: Download complete [2020-04-10T17:08:30.426Z] 0d9ebad4ef96: Verifying Checksum [2020-04-10T17:08:30.426Z] 0d9ebad4ef96: Download complete [2020-04-10T17:08:31.037Z] 2de7ff778b66: Verifying Checksum [2020-04-10T17:08:31.037Z] 2de7ff778b66: Download complete [2020-04-10T17:08:31.037Z] ab5ef0e58194: Verifying Checksum [2020-04-10T17:08:31.037Z] ab5ef0e58194: Download complete [2020-04-10T17:08:36.416Z] ab5ef0e58194: Pull complete [2020-04-10T17:08:36.712Z] 9712f1f96733: Pull complete [2020-04-10T17:08:39.345Z] 63f879dbbcfc: Pull complete [2020-04-10T17:08:47.621Z] 0d9ebad4ef96: Pull complete [2020-04-10T17:08:47.621Z] e9a5061849ea: Pull complete [2020-04-10T17:08:47.621Z] d747dcd14b5f: Pull complete [2020-04-10T17:08:51.946Z] 2de7ff778b66: Pull complete [2020-04-10T17:08:51.946Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-10T17:08:51.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-10T17:08:52.364Z] prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container [2020-04-10T17:08:52.492Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-04-10T17:08:54.334Z] $ docker top fcd1685a9a0e77b9f3903d6b6ae8f11d8e0be5fc55526500313acda707f479c8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-10T17:08:54.649Z] provisioning config files... [2020-04-10T17:08:54.666Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3102001826036303743tmp [2020-04-10T17:08:54.742Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5663832116381051985tmp [2020-04-10T17:08:54.770Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3824057571275980910tmp [Pipeline] { [Pipeline] echo [2020-04-10T17:08:54.823Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T17:08:56.070Z] ---> sigul-configuration.sh [2020-04-10T17:08:56.070Z] gpg: directory `/root/.gnupg' created [2020-04-10T17:08:56.070Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-10T17:08:56.070Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-10T17:08:56.070Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-10T17:08:56.070Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-10T17:08:56.070Z] gpg: CAST5 encrypted data [2020-04-10T17:08:56.070Z] gpg: encrypted with 1 passphrase [2020-04-10T17:08:56.070Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-10T17:08:56.504Z] + mkdir /home/jenkins [2020-04-10T17:08:56.504Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-10T17:08:56.807Z] + 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-10T17:08:56.820Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T17:08:57.144Z] ---> sigul-install.sh [2020-04-10T17:08:59.875Z] http://mirror.centos.serverforge.org/7.7.1908/os/x86_64/repodata/04efe80d41ea3d94d36294f7107709d1c8f70db11e152d6ef562da344748581a-primary.sqlite.bz2: [Errno 14] curl#56 - "Recv failure: Connection reset by peer" [2020-04-10T17:08:59.875Z] Trying other mirror. [2020-04-10T17:09:06.612Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-10T17:09:06.908Z] + git tag --list [2020-04-10T17:09:06.908Z] v1.2.0-dev.20 [Pipeline] sh [2020-04-10T17:09:07.215Z] + lftools sign git-tag v1.2.0-dev.20 [2020-04-10T17:09:09.176Z] Signing Git tag with Sigul... [2020-04-10T17:09:09.176Z] Signing v1.2.0-dev.20 [Pipeline] echo [2020-04-10T17:09:10.135Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T17:09:10.780Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-10T17:09:10.795Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-10T17:09:10.874Z] $ docker stop --time=1 fcd1685a9a0e77b9f3903d6b6ae8f11d8e0be5fc55526500313acda707f479c8 [2020-04-10T17:09:12.750Z] $ docker rm -f fcd1685a9a0e77b9f3903d6b6ae8f11d8e0be5fc55526500313acda707f479c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-10T17:09:13.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T17:09:13.618Z] . [Pipeline] withDockerContainer [2020-04-10T17:09:13.850Z] prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container [2020-04-10T17:09:13.940Z] $ 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-10T17:09:14.796Z] $ docker top 6d06e74b729a8dcdcebc116cef6316586900592871ee48b67c6897cdaf8de9de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T17:09:15.088Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T17:09:15.088Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T17:09:15.390Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T17:09:15.396Z] $ docker exec 6d06e74b729a8dcdcebc116cef6316586900592871ee48b67c6897cdaf8de9de ssh-agent [2020-04-10T17:09:15.635Z] SSH_AUTH_SOCK=/tmp/ssh-3FpNWFrvmLAe/agent.15 [2020-04-10T17:09:15.635Z] SSH_AGENT_PID=21 [2020-04-10T17:09:15.644Z] Running ssh-add (command line suppressed) [2020-04-10T17:09:15.843Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_922028463943404010.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_922028463943404010.key) [2020-04-10T17:09:15.920Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T17:09:16.610Z] + git semver bump pre [2020-04-10T17:09:16.610Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T17:09:16.610Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-10T17:09:16.610Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T17:09:16.610Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T17:09:16.610Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T17:09:16.610Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T17:09:16.610Z] # $SEMVER_BRANCH = master [2020-04-10T17:09:16.610Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-10T17:09:16.630Z] 1.2.0-dev.21 [Pipeline] } [2020-04-10T17:09:16.641Z] $ docker exec --env ******** --env ******** 6d06e74b729a8dcdcebc116cef6316586900592871ee48b67c6897cdaf8de9de ssh-agent -k [2020-04-10T17:09:16.815Z] unset SSH_AUTH_SOCK; [2020-04-10T17:09:16.815Z] unset SSH_AGENT_PID; [2020-04-10T17:09:16.815Z] echo Agent pid 21 killed; [2020-04-10T17:09:16.945Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T17:09:17.429Z] + git semver [Pipeline] } [2020-04-10T17:09:17.472Z] $ docker stop --time=1 6d06e74b729a8dcdcebc116cef6316586900592871ee48b67c6897cdaf8de9de [2020-04-10T17:09:18.931Z] $ docker rm -f 6d06e74b729a8dcdcebc116cef6316586900592871ee48b67c6897cdaf8de9de [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-10T17:09:19.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T17:09:19.575Z] . [Pipeline] withDockerContainer [2020-04-10T17:09:19.762Z] prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container [2020-04-10T17:09:19.830Z] $ 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-10T17:09:20.748Z] $ docker top e01d48d54a4d0a770774671fe1b4c9f4c4f79593b85a0a2d98c97960cf8d5c8a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T17:09:21.059Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T17:09:21.059Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T17:09:21.354Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T17:09:21.365Z] $ docker exec e01d48d54a4d0a770774671fe1b4c9f4c4f79593b85a0a2d98c97960cf8d5c8a ssh-agent [2020-04-10T17:09:21.809Z] SSH_AUTH_SOCK=/tmp/ssh-1nDiUn7pyTCM/agent.16 [2020-04-10T17:09:21.809Z] SSH_AGENT_PID=23 [2020-04-10T17:09:21.821Z] Running ssh-add (command line suppressed) [2020-04-10T17:09:22.162Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_490107736160178897.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_490107736160178897.key) [2020-04-10T17:09:22.240Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T17:09:23.044Z] + git semver push [2020-04-10T17:09:23.044Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T17:09:23.044Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-10T17:09:23.044Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T17:09:23.044Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T17:09:23.044Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T17:09:23.044Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T17:09:23.044Z] # $SEMVER_BRANCH = master [2020-04-10T17:09:23.044Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-10T17:09:31.390Z] $ docker exec --env ******** --env ******** e01d48d54a4d0a770774671fe1b4c9f4c4f79593b85a0a2d98c97960cf8d5c8a ssh-agent -k [2020-04-10T17:09:31.664Z] unset SSH_AUTH_SOCK; [2020-04-10T17:09:31.668Z] unset SSH_AGENT_PID; [2020-04-10T17:09:31.670Z] echo Agent pid 23 killed; [2020-04-10T17:09:31.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T17:09:32.680Z] + git semver [Pipeline] } [2020-04-10T17:09:32.714Z] $ docker stop --time=1 e01d48d54a4d0a770774671fe1b4c9f4c4f79593b85a0a2d98c97960cf8d5c8a [2020-04-10T17:09:34.453Z] $ docker rm -f e01d48d54a4d0a770774671fe1b4c9f4c4f79593b85a0a2d98c97960cf8d5c8a [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-10T17:09:35.240Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T17:09:35.840Z] ---> package-listing.sh [2020-04-10T17:09:35.841Z] ++ facter osfamily [2020-04-10T17:09:35.841Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-10T17:09:35.841Z] + OS_FAMILY=redhat [2020-04-10T17:09:35.841Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T17:09:35.841Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-10T17:09:35.841Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-10T17:09:35.841Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-10T17:09:35.841Z] + PACKAGES=/tmp/packages_start.txt [2020-04-10T17:09:35.841Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-10T17:09:35.841Z] + PACKAGES=/tmp/packages_end.txt [2020-04-10T17:09:35.841Z] + case "${OS_FAMILY}" in [2020-04-10T17:09:35.841Z] + sort [2020-04-10T17:09:35.841Z] + rpm -qa [2020-04-10T17:09:41.187Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-10T17:09:41.187Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-10T17:09:41.187Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-10T17:09:41.187Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-10T17:09:41.187Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-04-10T17:09:41.187Z] + 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-10T17:09:41.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T17:09:41.895Z] [2020-04-10T17:09:41.895Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-10T17:09:42.273Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T17:09:42.273Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-10T17:09:42.273Z] c9b1b535fdd9: Pulling fs layer [2020-04-10T17:09:42.273Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-10T17:09:42.273Z] 756a868c4378: Pulling fs layer [2020-04-10T17:09:42.273Z] 444b2fc9a129: Pulling fs layer [2020-04-10T17:09:42.273Z] ea15f1150254: Pulling fs layer [2020-04-10T17:09:42.273Z] 41b27a9f41bf: Pulling fs layer [2020-04-10T17:09:42.273Z] 28c525ee5125: Pulling fs layer [2020-04-10T17:09:42.273Z] 094b1ea09ed8: Pulling fs layer [2020-04-10T17:09:42.273Z] 138eaada9080: Pulling fs layer [2020-04-10T17:09:42.273Z] 0622d0fa9048: Pulling fs layer [2020-04-10T17:09:42.273Z] 41b27a9f41bf: Waiting [2020-04-10T17:09:42.273Z] 28c525ee5125: Waiting [2020-04-10T17:09:42.273Z] 094b1ea09ed8: Waiting [2020-04-10T17:09:42.273Z] 138eaada9080: Waiting [2020-04-10T17:09:42.273Z] 444b2fc9a129: Waiting [2020-04-10T17:09:42.273Z] ea15f1150254: Waiting [2020-04-10T17:09:42.273Z] 0622d0fa9048: Waiting [2020-04-10T17:09:42.564Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-10T17:09:42.564Z] 2cc5ad85d9ab: Download complete [2020-04-10T17:09:42.564Z] 444b2fc9a129: Verifying Checksum [2020-04-10T17:09:42.564Z] 444b2fc9a129: Download complete [2020-04-10T17:09:42.564Z] ea15f1150254: Verifying Checksum [2020-04-10T17:09:42.564Z] ea15f1150254: Download complete [2020-04-10T17:09:42.564Z] c9b1b535fdd9: Verifying Checksum [2020-04-10T17:09:42.564Z] c9b1b535fdd9: Download complete [2020-04-10T17:09:42.564Z] 28c525ee5125: Verifying Checksum [2020-04-10T17:09:42.564Z] 28c525ee5125: Download complete [2020-04-10T17:09:43.740Z] c9b1b535fdd9: Pull complete [2020-04-10T17:09:43.740Z] 2cc5ad85d9ab: Pull complete [2020-04-10T17:09:44.186Z] 756a868c4378: Verifying Checksum [2020-04-10T17:09:44.186Z] 756a868c4378: Download complete [2020-04-10T17:09:44.186Z] 094b1ea09ed8: Verifying Checksum [2020-04-10T17:09:44.186Z] 094b1ea09ed8: Download complete [2020-04-10T17:09:44.704Z] 0622d0fa9048: Verifying Checksum [2020-04-10T17:09:44.704Z] 0622d0fa9048: Download complete [2020-04-10T17:09:44.704Z] 138eaada9080: Verifying Checksum [2020-04-10T17:09:44.704Z] 138eaada9080: Download complete [2020-04-10T17:09:45.306Z] 41b27a9f41bf: Verifying Checksum [2020-04-10T17:09:45.306Z] 41b27a9f41bf: Download complete [2020-04-10T17:09:47.275Z] 756a868c4378: Pull complete [2020-04-10T17:09:47.275Z] 444b2fc9a129: Pull complete [2020-04-10T17:09:47.539Z] ea15f1150254: Pull complete [2020-04-10T17:09:53.110Z] 41b27a9f41bf: Pull complete [2020-04-10T17:09:53.397Z] 28c525ee5125: Pull complete [2020-04-10T17:09:56.947Z] 094b1ea09ed8: Pull complete [2020-04-10T17:09:56.948Z] 138eaada9080: Pull complete [2020-04-10T17:09:56.948Z] 0622d0fa9048: Pull complete [2020-04-10T17:09:56.948Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-10T17:09:56.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-10T17:09:57.189Z] prd-centos7-docker-4c-2g-3311 does not seem to be running inside a container [2020-04-10T17:09:57.398Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-10T17:09:58.649Z] $ docker top 2c251ca2ceb4429b1955ffaa060a7892193b9bb3209b04e993326f5545d8c404 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-10T17:09:59.050Z] provisioning config files... [2020-04-10T17:09:59.066Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7027757075059525156tmp [Pipeline] { [Pipeline] echo [2020-04-10T17:09:59.121Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T17:10:00.323Z] ---> create-netrc.sh [Pipeline] echo [2020-04-10T17:10:00.347Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T17:10:01.063Z] ---> logs-deploy.sh [2020-04-10T17:10:01.063Z] + ARCHIVE_ARTIFACTS= [2020-04-10T17:10:01.063Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-10T17:10:01.063Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-10T17:10:01.063Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-10T17:10:01.063Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/20 [2020-04-10T17:10:01.063Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/20/ [2020-04-10T17:10:01.063Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/20 /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T17:10:03.026Z] Archives upload complete. [2020-04-10T17:10:03.026Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/20 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/20/ [2020-04-10T17:10:04.454Z] ---> uname -a: [2020-04-10T17:10:04.454Z] Linux 2c251ca2ceb4 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-04-10T17:10:04.454Z] [2020-04-10T17:10:04.454Z] [2020-04-10T17:10:04.454Z] ---> lscpu: [2020-04-10T17:10:04.454Z] Architecture: x86_64 [2020-04-10T17:10:04.454Z] CPU op-mode(s): 32-bit, 64-bit [2020-04-10T17:10:04.454Z] Byte Order: Little Endian [2020-04-10T17:10:04.454Z] Address sizes: 40 bits physical, 48 bits virtual [2020-04-10T17:10:04.454Z] CPU(s): 4 [2020-04-10T17:10:04.454Z] On-line CPU(s) list: 0-3 [2020-04-10T17:10:04.454Z] Thread(s) per core: 1 [2020-04-10T17:10:04.454Z] Core(s) per socket: 1 [2020-04-10T17:10:04.454Z] Socket(s): 4 [2020-04-10T17:10:04.454Z] NUMA node(s): 1 [2020-04-10T17:10:04.454Z] Vendor ID: GenuineIntel [2020-04-10T17:10:04.454Z] CPU family: 6 [2020-04-10T17:10:04.454Z] Model: 44 [2020-04-10T17:10:04.454Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-04-10T17:10:04.454Z] Stepping: 1 [2020-04-10T17:10:04.454Z] CPU MHz: 2933.438 [2020-04-10T17:10:04.454Z] BogoMIPS: 5866.87 [2020-04-10T17:10:04.454Z] Virtualization: VT-x [2020-04-10T17:10:04.454Z] Hypervisor vendor: KVM [2020-04-10T17:10:04.454Z] Virtualization type: full [2020-04-10T17:10:04.454Z] L1d cache: 128 KiB [2020-04-10T17:10:04.454Z] L1i cache: 128 KiB [2020-04-10T17:10:04.454Z] L2 cache: 16 MiB [2020-04-10T17:10:04.454Z] L3 cache: 64 MiB [2020-04-10T17:10:04.454Z] NUMA node0 CPU(s): 0-3 [2020-04-10T17:10:04.454Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-04-10T17:10:04.454Z] Vulnerability Meltdown: Mitigation; PTI [2020-04-10T17:10:04.454Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-04-10T17:10:04.454Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-04-10T17:10:04.454Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-04-10T17:10:04.454Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-04-10T17:10:04.454Z] [2020-04-10T17:10:04.454Z] [2020-04-10T17:10:04.454Z] ---> nproc: [2020-04-10T17:10:04.454Z] 4 [2020-04-10T17:10:04.454Z] [2020-04-10T17:10:04.454Z] [2020-04-10T17:10:04.454Z] ---> df -h: [2020-04-10T17:10:04.454Z] Filesystem Size Used Available Use% Mounted on [2020-04-10T17:10:04.454Z] overlay 50.0G 7.5G 42.5G 15% / [2020-04-10T17:10:04.454Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-04-10T17:10:04.454Z] tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup [2020-04-10T17:10:04.454Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-04-10T17:10:04.454Z] /dev/vda1 50.0G 7.5G 42.5G 15% /etc/resolv.conf [2020-04-10T17:10:04.454Z] /dev/vda1 50.0G 7.5G 42.5G 15% /etc/hostname [2020-04-10T17:10:04.454Z] /dev/vda1 50.0G 7.5G 42.5G 15% /etc/hosts [2020-04-10T17:10:04.454Z] /dev/vda1 50.0G 7.5G 42.5G 15% /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T17:10:04.454Z] /dev/vda1 50.0G 7.5G 42.5G 15% /w/workspace/dgexfoundry_device-sdk-go_master@tmp [2020-04-10T17:10:04.454Z] /dev/vda1 50.0G 7.5G 42.5G 15% /var/log/sa [2020-04-10T17:10:04.454Z] [2020-04-10T17:10:04.454Z] [2020-04-10T17:10:04.454Z] ---> free -m: [2020-04-10T17:10:04.454Z] total used free shared buff/cache available [2020-04-10T17:10:04.454Z] Mem: 1838 714 80 0 1043 1056 [2020-04-10T17:10:04.454Z] Swap: 1023 1 1022 [2020-04-10T17:10:04.454Z] [2020-04-10T17:10:04.454Z] [2020-04-10T17:10:04.454Z] ---> ip addr: [2020-04-10T17:10:04.454Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-04-10T17:10:04.454Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-04-10T17:10:04.454Z] inet 127.0.0.1/8 scope host lo [2020-04-10T17:10:04.454Z] valid_lft forever preferred_lft forever [2020-04-10T17:10:04.454Z] 16: eth0@if17: mtu 1458 qdisc noqueue state UP [2020-04-10T17:10:04.454Z] link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff [2020-04-10T17:10:04.454Z] inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 [2020-04-10T17:10:04.454Z] valid_lft forever preferred_lft forever [2020-04-10T17:10:04.454Z] [2020-04-10T17:10:04.454Z]