Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1e612ed535d2e5692843658024442fbb2ae5655f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-851’ is offline; ‘prd-centos7-docker-4c-2g-859’ is offline; ‘prd-centos7-docker-4c-2g-863’ is offline Running on prd-centos7-docker-4c-2g-866 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 > git --version # 'git version 2.16.5' 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 1e612ed535d2e5692843658024442fbb2ae5655f (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 1e612ed535d2e5692843658024442fbb2ae5655f # timeout=10 Commit message: "Merge pull request #575 from venkata-subbareddyK/update-Dockerfile-forCMD" > git rev-list --no-walk 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:22:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:22:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:22:39 ========================================================= 20:22:39 EdgeX Global Pipelines Version Info 20:22:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:22:40 ------------------- 20:22:40 stable info: 20:22:40 ------------------- 20:22:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:22:40 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 20:22:40 Message: update stable to v1.0.115 20:22:41 ------------------- 20:22:41 experimental info: 20:22:41 ------------------- 20:22:41 Commited By: **** collab-it+edgex@linuxfoundation.org 20:22:41 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 20:22:41 Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:22:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:22:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 20:22:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 20:22:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 20:22:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e612ed535d2e5692843658024442fbb2ae5655f [Pipeline] echo 20:22:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e612ed [Pipeline] echo 20:22:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:22:45 + git log --format=format:%s -1 1e612ed535d2e5692843658024442fbb2ae5655f [Pipeline] echo 20:22:45 GIT_COMMIT: 1e612ed535d2e5692843658024442fbb2ae5655f, Commit Message: Merge pull request #575 from venkata-subbareddyK/update-Dockerfile-forCMD [Pipeline] echo 20:22:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:22:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:22:45 20:22:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:22:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:22:46 latest: Pulling from edgex-devops/git-semver 20:22:46 31603596830f: Pulling fs layer 20:22:46 2a8b12db71e7: Pulling fs layer 20:22:46 6ca5941a6612: Pulling fs layer 20:22:46 ecc8261a40a4: Pulling fs layer 20:22:46 ecc8261a40a4: Waiting 20:22:46 2a8b12db71e7: Download complete 20:22:46 31603596830f: Verifying Checksum 20:22:46 31603596830f: Download complete 20:22:46 ecc8261a40a4: Verifying Checksum 20:22:46 ecc8261a40a4: Download complete 20:22:46 6ca5941a6612: Verifying Checksum 20:22:46 6ca5941a6612: Download complete 20:22:46 31603596830f: Pull complete 20:22:46 2a8b12db71e7: Pull complete 20:22:47 6ca5941a6612: Pull complete 20:22:48 ecc8261a40a4: Pull complete 20:22:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:22:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:22:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:22:48 prd-centos7-docker-4c-2g-866 does not seem to be running inside a container 20:22:48 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:22:50 $ docker top 30aad8b5dac0f2aeed637947befd9101744616bf456960d381e130731d725ded -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:22:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:22:50 [ssh-agent] Looking for ssh-agent implementation... 20:22:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:22:50 $ docker exec 30aad8b5dac0f2aeed637947befd9101744616bf456960d381e130731d725ded ssh-agent 20:22:51 SSH_AUTH_SOCK=/tmp/ssh-PLRQh1dQcJOq/agent.12 20:22:51 SSH_AGENT_PID=17 20:22:51 Running ssh-add (command line suppressed) 20:22:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3748040026025610873.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3748040026025610873.key) 20:22:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:22:51 + git describe --exact-match --tags HEAD 20:22:51 fatal: No names found, cannot describe anything. [Pipeline] } 20:22:51 $ docker exec --env ******** --env ******** 30aad8b5dac0f2aeed637947befd9101744616bf456960d381e130731d725ded ssh-agent -k 20:22:51 unset SSH_AUTH_SOCK; 20:22:51 unset SSH_AGENT_PID; 20:22:51 echo Agent pid 17 killed; 20:22:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:22:51 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:22:51 This usually means this commit has not been tagged. [Pipeline] sshagent 20:22:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:22:52 [ssh-agent] Looking for ssh-agent implementation... 20:22:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:22:52 $ docker exec 30aad8b5dac0f2aeed637947befd9101744616bf456960d381e130731d725ded ssh-agent 20:22:52 SSH_AUTH_SOCK=/tmp/ssh-R4JfbsZWmjoI/agent.46 20:22:52 SSH_AGENT_PID=51 20:22:52 Running ssh-add (command line suppressed) 20:22:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6644750985108931895.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6644750985108931895.key) 20:22:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:22:52 + git semver init 20:22:52 # -> Open(): unable to determine branch for HEAD 20:22:52 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 20:22:52 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 20:22:52 # $SEMVER_REMOTE_NAME = origin 20:22:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:22:52 # $SEMVER_USER_NAME = edgex-jenkins 20:22:52 # $SEMVER_BRANCH = master 20:22:52 # $SEMVER_TEMP = /tmp/semver-628596702 20:22:52 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 20:22:53 # '/tmp/semver-628596702' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 20:22:53 # -> Force: false 20:22:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 20:22:53 $ docker exec --env ******** --env ******** 30aad8b5dac0f2aeed637947befd9101744616bf456960d381e130731d725ded ssh-agent -k 20:22:53 unset SSH_AUTH_SOCK; 20:22:53 unset SSH_AGENT_PID; 20:22:53 echo Agent pid 51 killed; 20:22:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:22:54 + git semver [Pipeline] } 20:22:54 $ docker stop --time=1 30aad8b5dac0f2aeed637947befd9101744616bf456960d381e130731d725ded 20:22:55 $ docker rm -f 30aad8b5dac0f2aeed637947befd9101744616bf456960d381e130731d725ded [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:22:56 Stashed 26 file(s) [Pipeline] echo 20:22:56 [edgeXSemver]: initialized semver on version 1.2.4-dev.7 [Pipeline] echo 20:22:56 Archived original version: [1.2.4-dev.7] [Pipeline] } [Pipeline] // script [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 20:23:12 Still waiting to schedule task 20:23:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:23:12 Still waiting to schedule task 20:23:12 ‘prd-centos7-docker-4c-2g-213’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-851’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-859’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-16c-16g-867’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-861’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-868’ is offline 20:25:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-871 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 20:25:38 Running in /w/workspace/device-sdk-go/57 [Pipeline] { [Pipeline] checkout 20:25:44 using credential edgex-jenkins-ssh 20:25:44 Cloning the remote Git repository 20:25:44 Cloning with configured refspecs honoured and without tags 20:25:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:25:44 > git init /w/workspace/device-sdk-go/57 # timeout=10 20:25:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:25:44 > git --version # timeout=10 20:25:44 > git --version # 'git version 2.17.1' 20:25:44 using GIT_SSH to set credentials SSH Credentials for GitHub 20:25:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:25:46 Fetching without tags 20:25:46 Checking out Revision 1e612ed535d2e5692843658024442fbb2ae5655f (master) 20:25:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:25:46 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:25:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:25:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:25:46 using GIT_SSH to set credentials SSH Credentials for GitHub 20:25:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:25:47 > git config core.sparsecheckout # timeout=10 20:25:47 > git checkout -f 1e612ed535d2e5692843658024442fbb2ae5655f # timeout=10 20:25:51 Commit message: "Merge pull request #575 from venkata-subbareddyK/update-Dockerfile-forCMD" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:25:52 ========================================================= 20:25:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 20:25:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:25:54 + 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 . 20:25:55 Sending build context to Docker daemon 3.114MB 20:25:55 Step 1/8 : ARG BASE=golang:1.13-alpine 20:25:55 Step 2/8 : FROM ${BASE} 20:25:55 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:25:55 b538f80385f9: Pulling fs layer 20:25:55 74f711af9a0d: Pulling fs layer 20:25:55 99f96fe45779: Pulling fs layer 20:25:55 fd7a069fd194: Pulling fs layer 20:25:55 66aa3694b03b: Pulling fs layer 20:25:55 170f70906a0f: Pulling fs layer 20:25:55 ad7c5574e4b9: Pulling fs layer 20:25:55 e772456be8f7: Pulling fs layer 20:25:55 c890913d741a: Pulling fs layer 20:25:55 2480fcc9aa5a: Pulling fs layer 20:25:55 09adf4765672: Pulling fs layer 20:25:55 66aa3694b03b: Waiting 20:25:55 fd7a069fd194: Waiting 20:25:55 170f70906a0f: Waiting 20:25:55 ad7c5574e4b9: Waiting 20:25:55 e772456be8f7: Waiting 20:25:55 c890913d741a: Waiting 20:25:55 2480fcc9aa5a: Waiting 20:25:55 09adf4765672: Waiting 20:25:55 99f96fe45779: Verifying Checksum 20:25:55 99f96fe45779: Download complete 20:25:55 74f711af9a0d: Verifying Checksum 20:25:56 74f711af9a0d: Download complete 20:25:56 66aa3694b03b: Verifying Checksum 20:25:56 66aa3694b03b: Download complete 20:25:56 170f70906a0f: Verifying Checksum 20:25:56 170f70906a0f: Download complete 20:25:57 b538f80385f9: Verifying Checksum 20:25:57 b538f80385f9: Pull complete 20:25:58 74f711af9a0d: Pull complete 20:25:58 99f96fe45779: Pull complete 20:25:59 ad7c5574e4b9: Verifying Checksum 20:25:59 ad7c5574e4b9: Download complete 20:25:59 c890913d741a: Verifying Checksum 20:25:59 c890913d741a: Download complete 20:26:01 2480fcc9aa5a: Verifying Checksum 20:26:01 2480fcc9aa5a: Download complete 20:26:01 09adf4765672: Verifying Checksum 20:26:01 09adf4765672: Download complete 20:26:01 fd7a069fd194: Verifying Checksum 20:26:01 fd7a069fd194: Download complete 20:26:02 e772456be8f7: Verifying Checksum 20:26:02 e772456be8f7: Download complete 20:26:14 fd7a069fd194: Pull complete 20:26:14 66aa3694b03b: Pull complete 20:26:14 170f70906a0f: Pull complete 20:26:17 ad7c5574e4b9: Pull complete 20:26:22 e772456be8f7: Pull complete 20:26:22 c890913d741a: Pull complete 20:26:24 2480fcc9aa5a: Pull complete 20:26:25 09adf4765672: Pull complete 20:26:25 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 20:26:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 20:26:25 ---> 2248a725d1cf 20:26:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:26:30 ---> Running in ed524d7fab61 20:26:30 Removing intermediate container ed524d7fab61 20:26:30 ---> 6c252c0492bb 20:26:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:26:30 ---> Running in d033b5b14e89 20:26:33 Removing intermediate container d033b5b14e89 20:26:33 ---> 853bac8f3a25 20:26:33 Step 5/8 : RUN apk add --no-cache make git 20:26:33 ---> Running in d8cba8166c7d 20:26:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:26:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:26:36 OK: 142 MiB in 39 packages 20:26:37 Removing intermediate container d8cba8166c7d 20:26:37 ---> ded1bc23b010 20:26:37 Step 6/8 : WORKDIR /device-sdk-go 20:26:37 ---> Running in c50b3568da1b 20:26:38 Removing intermediate container c50b3568da1b 20:26:38 ---> 762c2a75f54d 20:26:38 Step 7/8 : COPY . . 20:26:39 ---> a79d60ac6fe9 20:26:39 Step 8/8 : RUN go mod download 20:26:39 ---> Running in 07ea103f0e14 20:26:43 go: finding github.com/BurntSushi/toml v0.3.1 20:26:43 go: finding github.com/OneOfOne/xxhash v1.2.6 20:26:43 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:26:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:26:43 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:26:43 go: finding github.com/bgentry/speakeasy v0.1.0 20:26:43 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:26:43 go: finding github.com/davecgh/go-spew v1.1.1 20:26:43 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 20:26:43 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:26:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:26:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:26:43 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:26:43 go: finding github.com/fatih/color v1.7.0 20:26:43 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:26:43 go: finding github.com/go-kit/kit v0.8.0 20:26:43 go: finding github.com/go-logfmt/logfmt v0.4.0 20:26:43 go: finding github.com/go-stack/stack v1.8.0 20:26:43 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:26:43 go: finding github.com/google/uuid v1.1.0 20:26:43 go: finding github.com/gorilla/mux v1.7.1 20:26:43 go: finding github.com/hashicorp/consul/api v1.1.0 20:26:43 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:26:43 go: finding github.com/hashicorp/errwrap v1.0.0 20:26:43 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:26:43 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:26:43 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:26:43 go: finding github.com/hashicorp/go-multierror v1.0.0 20:26:43 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:26:43 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:26:43 go: finding github.com/hashicorp/go-syslog v1.0.0 20:26:43 go: finding github.com/hashicorp/go-uuid v1.0.1 20:26:43 go: finding github.com/hashicorp/go.net v0.0.1 20:26:43 go: finding github.com/hashicorp/golang-lru v0.5.0 20:26:43 go: finding github.com/hashicorp/logutils v1.0.0 20:26:43 go: finding github.com/hashicorp/mdns v1.0.0 20:26:44 go: finding github.com/hashicorp/memberlist v0.1.3 20:26:44 go: finding github.com/hashicorp/serf v0.8.2 20:26:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:26:44 go: finding github.com/mattn/go-colorable v0.0.9 20:26:44 go: finding github.com/mattn/go-isatty v0.0.3 20:26:44 go: finding github.com/miekg/dns v1.0.14 20:26:44 go: finding github.com/mitchellh/cli v1.0.0 20:26:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:26:44 go: finding github.com/mitchellh/copystructure v1.0.0 20:26:44 go: finding github.com/mitchellh/go-homedir v1.0.0 20:26:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:26:44 go: finding github.com/mitchellh/gox v0.4.0 20:26:44 go: finding github.com/mitchellh/iochan v1.0.0 20:26:44 go: finding github.com/mitchellh/mapstructure v1.1.2 20:26:44 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:26:44 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:26:44 go: finding github.com/pelletier/go-toml v1.2.0 20:26:44 go: finding github.com/pkg/errors v0.8.1 20:26:44 go: finding github.com/pmezard/go-difflib v1.0.0 20:26:44 go: finding github.com/posener/complete v1.1.1 20:26:44 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:26:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:26:45 go: finding github.com/stretchr/objx v0.1.0 20:26:45 go: finding github.com/stretchr/testify v1.5.1 20:26:45 go: finding github.com/ugorji/go v1.1.4 20:26:45 go: finding github.com/x448/float16 v0.8.4 20:26:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:26:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:26:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:26:45 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:26:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:26:45 go: finding gopkg.in/yaml.v2 v2.2.8 20:26:55 Removing intermediate container 07ea103f0e14 20:26:55 ---> 31194ececdb9 20:26:55 Successfully built 31194ececdb9 20:26:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:26:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:26:57 + ls -al . 20:26:57 total 104 20:26:57 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 20:25 . 20:26:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 20:25 .. 20:26:57 -rw-rw-r-- 1 jenkins jenkins 140 Aug 31 20:25 .dockerignore 20:26:57 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 20:25 .git 20:26:57 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 20:25 .github 20:26:57 -rw-rw-r-- 1 jenkins jenkins 138 Aug 31 20:25 .gitignore 20:26:57 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 20:25 .semver 20:26:57 -rw-rw-r-- 1 jenkins jenkins 936 Aug 31 20:25 Dockerfile.build 20:26:57 -rw-rw-r-- 1 jenkins jenkins 808 Aug 31 20:25 Jenkinsfile 20:26:57 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 31 20:25 LICENSE 20:26:57 -rw-rw-r-- 1 jenkins jenkins 892 Aug 31 20:25 Makefile 20:26:57 -rw-rw-r-- 1 jenkins jenkins 5101 Aug 31 20:25 README.md 20:26:57 -rw-rw-r-- 1 jenkins jenkins 4291 Aug 31 20:25 RELEASE-NOTES.txt 20:26:57 -rw-rw-r-- 1 jenkins jenkins 11 Aug 31 20:22 VERSION 20:26:57 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 20:25 bin 20:26:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 20:25 example 20:26:57 -rw-rw-r-- 1 jenkins jenkins 446 Aug 31 20:25 go.mod 20:26:57 drwxrwxr-x 13 jenkins jenkins 4096 Aug 31 20:25 internal 20:26:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 20:25 openapi 20:26:57 drwxrwxr-x 5 jenkins jenkins 4096 Aug 31 20:25 pkg 20:26:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 20:25 snap 20:26:57 -rw-rw-r-- 1 jenkins jenkins 222 Aug 31 20:25 version.go [Pipeline] isUnix [Pipeline] sh 20:26:57 + 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=1e612ed535d2e5692843658024442fbb2ae5655f --label arch=arm64 --label version=1.2.4-dev.7 . 20:26:58 Sending build context to Docker daemon 3.114MB 20:26:58 Step 1/24 : ARG BASE=golang:1.13-alpine 20:26:58 Step 2/24 : FROM ${BASE} AS builder 20:26:58 ---> 31194ececdb9 20:26:58 Step 3/24 : ARG MAKE='make build' 20:26:58 ---> Running in bb6cf2a95b69 20:26:58 Removing intermediate container bb6cf2a95b69 20:26:58 ---> d4ffd7167704 20:26:58 Step 4/24 : WORKDIR /device-sdk-go 20:26:59 ---> Running in 1d865d8bc704 20:26:59 Removing intermediate container 1d865d8bc704 20:26:59 ---> 8c8b635976d7 20:26:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:26:59 ---> Running in ffd19e81811f 20:27:00 Removing intermediate container ffd19e81811f 20:27:00 ---> 040f7ea0d9a7 20:27:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:27:00 ---> Running in 1ac4e02c0e41 20:27:03 Removing intermediate container 1ac4e02c0e41 20:27:03 ---> 87aace2fef40 20:27:03 Step 7/24 : RUN apk add --update --no-cache make git 20:27:03 ---> Running in 37b319b2629a 20:27:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:27:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:27:06 OK: 142 MiB in 39 packages 20:27:07 Removing intermediate container 37b319b2629a 20:27:07 ---> d10fc8052b35 20:27:07 Step 8/24 : COPY . . 20:27:08 ---> f0a519f30427 20:27:08 Step 9/24 : RUN ${MAKE} 20:27:08 ---> Running in 02a3283e47a2 20:27:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:27:37 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 20:27:37 Removing intermediate container 02a3283e47a2 20:27:37 ---> f75a6a95d1f8 20:27:37 Step 10/24 : FROM scratch 20:27:37 ---> 20:27:37 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:27:37 ---> Running in b78774f7b138 20:27:37 Removing intermediate container b78774f7b138 20:27:37 ---> 69d44ff7ce72 20:27:37 Step 12/24 : ENV APP_PORT=49990 20:27:37 ---> Running in 69303f557bd4 20:27:37 Running on prd-centos7-docker-4c-2g-872 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 20:27:37 Running in /w/workspace/device-sdk-go/57 [Pipeline] { [Pipeline] checkout 20:27:37 Removing intermediate container 69303f557bd4 20:27:37 ---> 88a61e9061b8 20:27:37 Step 13/24 : EXPOSE $APP_PORT 20:27:37 ---> Running in 3c6ebe80670d 20:27:37 Removing intermediate container 3c6ebe80670d 20:27:37 ---> 2480bc864078 20:27:37 Step 14/24 : WORKDIR / 20:27:38 ---> Running in 2942dd3998f7 20:27:38 Removing intermediate container 2942dd3998f7 20:27:38 ---> a3afc288d2eb 20:27:38 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 20:27:39 using credential edgex-jenkins-ssh 20:27:39 Cloning the remote Git repository 20:27:39 Cloning with configured refspecs honoured and without tags 20:27:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:27:39 > git init /w/workspace/device-sdk-go/57 # timeout=10 20:27:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:27:39 > git --version # timeout=10 20:27:39 > git --version # 'git version 2.16.5' 20:27:39 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:27:39 ---> b94f2f06dd07 20:27:39 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 20:27:40 ---> a1f563df9251 20:27:40 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 20:27:40 Fetching without tags 20:27:40 Checking out Revision 1e612ed535d2e5692843658024442fbb2ae5655f (master) 20:27:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:27:40 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:27:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:27:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:27:40 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:27:40 > git config core.sparsecheckout # timeout=10 20:27:40 > git checkout -f 1e612ed535d2e5692843658024442fbb2ae5655f # timeout=10 20:27:41 ---> 491792c06ca0 20:27:41 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 20:27:41 ---> 3c7248d075e1 20:27:41 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 20:27:42 ---> fbe33c6d8e45 20:27:42 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 20:27:42 ---> Running in 1c2069f93610 20:27:42 Removing intermediate container 1c2069f93610 20:27:42 ---> 5d6554431111 20:27:42 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:27:43 ---> Running in 280ab9271f6b 20:27:43 Removing intermediate container 280ab9271f6b 20:27:43 ---> 73721aa0488f 20:27:43 Step 22/24 : LABEL arch=arm64 20:27:43 ---> Running in 29725a7e667a 20:27:44 Removing intermediate container 29725a7e667a 20:27:44 ---> b12ed0a9aed3 20:27:44 Step 23/24 : LABEL git_sha=1e612ed535d2e5692843658024442fbb2ae5655f 20:27:44 ---> Running in 590940d1f6ed 20:27:44 Commit message: "Merge pull request #575 from venkata-subbareddyK/update-Dockerfile-forCMD" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 20:27:44 Removing intermediate container 590940d1f6ed 20:27:44 ---> ad18cd1aacfb 20:27:44 Step 24/24 : LABEL version=1.2.4-dev.7 20:27:44 ---> Running in c98bbfd45eee [Pipeline] unstash [Pipeline] echo 20:27:45 ========================================================= 20:27:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 20:27:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:27:45 Removing intermediate container c98bbfd45eee 20:27:45 ---> 087d5f9381a6 20:27:45 [Warning] One or more build-args [ARCH] were not consumed 20:27:45 Successfully built 087d5f9381a6 20:27:45 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 20:27:45 + 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 . Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 20:27:46 Sending build context to Docker daemon 3.112MB 20:27:46 Step 1/8 : ARG BASE=golang:1.13-alpine 20:27:46 Step 2/8 : FROM ${BASE} [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 20:27:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 20:27:46 df20fa9351a1: Pulling fs layer 20:27:46 ed8968b2872e: Pulling fs layer 20:27:46 a92cc7c5fd73: Pulling fs layer 20:27:46 2dd03ba5bac4: Pulling fs layer 20:27:46 1e091d79d1de: Pulling fs layer 20:27:46 481702a1767f: Pulling fs layer 20:27:46 f64a6f60c768: Pulling fs layer 20:27:46 e78d2573fc39: Pulling fs layer 20:27:46 e876d2f968b6: Pulling fs layer 20:27:46 ce8a83651883: Pulling fs layer 20:27:46 07967f4d0e4b: Pulling fs layer 20:27:46 f64a6f60c768: Waiting 20:27:46 e78d2573fc39: Waiting 20:27:46 2dd03ba5bac4: Waiting 20:27:46 481702a1767f: Waiting 20:27:46 1e091d79d1de: Waiting 20:27:46 e876d2f968b6: Waiting 20:27:46 ce8a83651883: Waiting 20:27:46 07967f4d0e4b: Waiting 20:27:46 a92cc7c5fd73: Verifying Checksum 20:27:46 a92cc7c5fd73: Download complete 20:27:46 ed8968b2872e: Download complete 20:27:46 1e091d79d1de: Verifying Checksum 20:27:46 1e091d79d1de: Download complete 20:27:46 481702a1767f: Verifying Checksum 20:27:46 481702a1767f: Download complete 20:27:46 df20fa9351a1: Verifying Checksum [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:27:46 df20fa9351a1: Pull complete 20:27:47 f64a6f60c768: Download complete 20:27:47 e876d2f968b6: Verifying Checksum 20:27:47 e876d2f968b6: Download complete 20:27:47 ce8a83651883: Verifying Checksum 20:27:47 ce8a83651883: Download complete 20:27:48 2dd03ba5bac4: Verifying Checksum 20:27:48 2dd03ba5bac4: Download complete 20:27:48 07967f4d0e4b: Verifying Checksum 20:27:48 07967f4d0e4b: Download complete 20:27:48 e78d2573fc39: Verifying Checksum 20:27:48 e78d2573fc39: Download complete 20:27:48 ed8968b2872e: Pull complete 20:27:48 a92cc7c5fd73: Pull complete 20:27:54 2dd03ba5bac4: Pull complete 20:27:54 1e091d79d1de: Pull complete 20:27:54 481702a1767f: Pull complete 20:27:59 f64a6f60c768: Pull complete 20:28:02 e78d2573fc39: Pull complete 20:28:02 e876d2f968b6: Pull complete 20:28:03 ce8a83651883: Pull complete 20:28:03 07967f4d0e4b: Pull complete 20:28:03 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 20:28:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 20:28:03 ---> 5d7c900382c6 20:28:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:28:05 ---> Running in 549b71a467c0 20:28:05 Removing intermediate container 549b71a467c0 20:28:05 ---> e4d845acaeb9 20:28:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:28:05 ---> Running in 1b0cb352e1e1 20:28:06 Removing intermediate container 1b0cb352e1e1 20:28:06 ---> 81d77de6eeb0 20:28:06 Step 5/8 : RUN apk add --no-cache make git 20:28:06 ---> Running in d86c03049476 20:28:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:28:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:28:08 OK: 166 MiB in 39 packages 20:28:08 Removing intermediate container d86c03049476 20:28:08 ---> 34fe727ffab5 20:28:08 Step 6/8 : WORKDIR /device-sdk-go 20:28:08 ---> Running in 2834991ceb09 20:28:09 Removing intermediate container 2834991ceb09 20:28:09 ---> f7e20234d0f4 20:28:09 Step 7/8 : COPY . . 20:28:09 ---> ffa78592f2b3 20:28:09 Step 8/8 : RUN go mod download 20:28:09 ---> Running in b8873f89464d 20:28:11 go: finding github.com/BurntSushi/toml v0.3.1 20:28:11 go: finding github.com/OneOfOne/xxhash v1.2.6 20:28:11 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:28:11 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:28:11 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:28:12 go: finding github.com/bgentry/speakeasy v0.1.0 20:28:12 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:28:12 go: finding github.com/davecgh/go-spew v1.1.1 20:28:12 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 20:28:12 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:28:12 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:28:12 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:28:12 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:28:12 go: finding github.com/fatih/color v1.7.0 20:28:12 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:28:12 go: finding github.com/go-kit/kit v0.8.0 20:28:12 go: finding github.com/go-logfmt/logfmt v0.4.0 20:28:12 go: finding github.com/go-stack/stack v1.8.0 20:28:12 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:28:12 go: finding github.com/google/uuid v1.1.0 20:28:12 go: finding github.com/gorilla/mux v1.7.1 20:28:12 go: finding github.com/hashicorp/consul/api v1.1.0 20:28:12 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:28:12 go: finding github.com/hashicorp/errwrap v1.0.0 20:28:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:28:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:28:12 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:28:12 go: finding github.com/hashicorp/go-multierror v1.0.0 20:28:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:28:12 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:28:12 go: finding github.com/hashicorp/go-syslog v1.0.0 20:28:12 go: finding github.com/hashicorp/go-uuid v1.0.1 20:28:12 go: finding github.com/hashicorp/go.net v0.0.1 20:28:13 go: finding github.com/hashicorp/golang-lru v0.5.0 20:28:13 go: finding github.com/hashicorp/logutils v1.0.0 20:28:13 go: finding github.com/hashicorp/mdns v1.0.0 20:28:13 go: finding github.com/hashicorp/memberlist v0.1.3 20:28:13 go: finding github.com/hashicorp/serf v0.8.2 20:28:13 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:28:13 go: finding github.com/mattn/go-colorable v0.0.9 20:28:13 go: finding github.com/mattn/go-isatty v0.0.3 20:28:13 go: finding github.com/miekg/dns v1.0.14 20:28:13 go: finding github.com/mitchellh/cli v1.0.0 20:28:13 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:28:13 go: finding github.com/mitchellh/copystructure v1.0.0 20:28:13 go: finding github.com/mitchellh/go-homedir v1.0.0 20:28:13 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:28:13 go: finding github.com/mitchellh/gox v0.4.0 20:28:13 go: finding github.com/mitchellh/iochan v1.0.0 20:28:13 go: finding github.com/mitchellh/mapstructure v1.1.2 20:28:13 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:28:13 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:28:13 go: finding github.com/pelletier/go-toml v1.2.0 20:28:13 go: finding github.com/pkg/errors v0.8.1 20:28:14 go: finding github.com/pmezard/go-difflib v1.0.0 20:28:14 go: finding github.com/posener/complete v1.1.1 20:28:14 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:28:14 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:28:14 go: finding github.com/stretchr/objx v0.1.0 20:28:14 go: finding github.com/stretchr/testify v1.5.1 20:28:14 go: finding github.com/ugorji/go v1.1.4 20:28:14 go: finding github.com/x448/float16 v0.8.4 20:28:14 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:28:14 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:28:14 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:28:14 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:28:14 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:28:14 go: finding gopkg.in/yaml.v2 v2.2.8 20:28:22 Removing intermediate container b8873f89464d 20:28:22 ---> 2d274d317a80 20:28:22 Successfully built 2d274d317a80 20:28:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:28:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:28:23 + ls -al . 20:28:23 total 64 20:28:23 drwxrwxr-x. 11 jenkins jenkins 4096 Aug 31 20:27 . 20:28:23 drwxrwxr-x. 4 jenkins jenkins 30 Aug 31 20:27 .. 20:28:23 drwxrwxr-x. 2 jenkins jenkins 64 Aug 31 20:27 bin 20:28:23 -rw-rw-r--. 1 jenkins jenkins 936 Aug 31 20:27 Dockerfile.build 20:28:23 -rw-rw-r--. 1 jenkins jenkins 140 Aug 31 20:27 .dockerignore 20:28:23 drwxrwxr-x. 4 jenkins jenkins 48 Aug 31 20:27 example 20:28:23 drwxrwxr-x. 8 jenkins jenkins 162 Aug 31 20:27 .git 20:28:23 drwxrwxr-x. 2 jenkins jenkins 38 Aug 31 20:27 .github 20:28:23 -rw-rw-r--. 1 jenkins jenkins 138 Aug 31 20:27 .gitignore 20:28:23 -rw-rw-r--. 1 jenkins jenkins 446 Aug 31 20:27 go.mod 20:28:23 drwxrwxr-x. 13 jenkins jenkins 184 Aug 31 20:27 internal 20:28:23 -rw-rw-r--. 1 jenkins jenkins 808 Aug 31 20:27 Jenkinsfile 20:28:23 -rw-rw-r--. 1 jenkins jenkins 11341 Aug 31 20:27 LICENSE 20:28:23 -rw-rw-r--. 1 jenkins jenkins 892 Aug 31 20:27 Makefile 20:28:23 drwxrwxr-x. 4 jenkins jenkins 26 Aug 31 20:27 openapi 20:28:23 drwxrwxr-x. 5 jenkins jenkins 50 Aug 31 20:27 pkg 20:28:23 -rw-rw-r--. 1 jenkins jenkins 5101 Aug 31 20:27 README.md 20:28:23 -rw-rw-r--. 1 jenkins jenkins 4291 Aug 31 20:27 RELEASE-NOTES.txt 20:28:23 drwxrwxr-x. 3 jenkins jenkins 44 Aug 31 20:27 .semver 20:28:23 drwxrwxr-x. 4 jenkins jenkins 54 Aug 31 20:27 snap 20:28:23 -rw-rw-r--. 1 jenkins jenkins 11 Aug 31 20:22 VERSION 20:28:23 -rw-rw-r--. 1 jenkins jenkins 222 Aug 31 20:27 version.go [Pipeline] isUnix [Pipeline] sh 20:28:24 + 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=1e612ed535d2e5692843658024442fbb2ae5655f --label arch=amd64 --label version=1.2.4-dev.7 . 20:28:24 Sending build context to Docker daemon 3.112MB 20:28:24 Step 1/24 : ARG BASE=golang:1.13-alpine 20:28:24 Step 2/24 : FROM ${BASE} AS builder 20:28:24 ---> 2d274d317a80 20:28:24 Step 3/24 : ARG MAKE='make build' 20:28:24 ---> Running in 3e0dee9dfaab 20:28:24 Removing intermediate container 3e0dee9dfaab 20:28:24 ---> be60b6c38a65 20:28:24 Step 4/24 : WORKDIR /device-sdk-go 20:28:24 ---> Running in cd64a7eac832 20:28:25 Removing intermediate container cd64a7eac832 20:28:25 ---> 3c5959276d0a 20:28:25 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:28:25 ---> Running in 9d49d48350b2 20:28:25 Removing intermediate container 9d49d48350b2 20:28:25 ---> 264ec981fb42 20:28:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:28:25 ---> Running in 7a25af2f2567 20:28:26 Removing intermediate container 7a25af2f2567 20:28:26 ---> f1eff0efd3aa 20:28:26 Step 7/24 : RUN apk add --update --no-cache make git 20:28:26 ---> Running in 8ad0b61ae316 20:28:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:28:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:28:28 OK: 166 MiB in 39 packages 20:28:28 Removing intermediate container 8ad0b61ae316 20:28:28 ---> 305877b3a407 20:28:28 Step 8/24 : COPY . . 20:28:29 ---> 78c1b537a5ec 20:28:29 Step 9/24 : RUN ${MAKE} 20:28:29 ---> Running in 4b182c91c7be 20:28:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:28:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 20:28:39 Removing intermediate container 4b182c91c7be 20:28:39 ---> 5446bc751744 20:28:39 Step 10/24 : FROM scratch 20:28:39 ---> 20:28:39 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:28:39 ---> Running in 31176e32a233 20:28:40 Removing intermediate container 31176e32a233 20:28:40 ---> abd0c39b43c7 20:28:40 Step 12/24 : ENV APP_PORT=49990 20:28:40 ---> Running in 27624273e94b 20:28:40 Removing intermediate container 27624273e94b 20:28:40 ---> 5d1457caff3e 20:28:40 Step 13/24 : EXPOSE $APP_PORT 20:28:40 ---> Running in 1b4a29adc11d 20:28:40 Removing intermediate container 1b4a29adc11d 20:28:40 ---> 10c738bfcb4d 20:28:40 Step 14/24 : WORKDIR / 20:28:40 ---> Running in 40a15ed1e88c 20:28:40 Removing intermediate container 40a15ed1e88c 20:28:40 ---> e647997c24ce 20:28:40 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 20:28:41 ---> 6ba4dc36410d 20:28:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 20:28:41 ---> 07b6e04eed92 20:28:41 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 20:28:41 ---> 92c0aa49b686 20:28:41 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 20:28:41 ---> 9e92889ca303 20:28:41 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 20:28:42 ---> ba00e011a54e 20:28:42 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 20:28:42 ---> Running in 5e97675df214 20:28:42 Removing intermediate container 5e97675df214 20:28:42 ---> 25c11e52b74b 20:28:42 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:28:42 ---> Running in 21d47ed115f7 20:28:42 Removing intermediate container 21d47ed115f7 20:28:42 ---> eedfd144ccf6 20:28:42 Step 22/24 : LABEL arch=amd64 20:28:42 ---> Running in 8f4cb1a067ac 20:28:42 Removing intermediate container 8f4cb1a067ac 20:28:42 ---> ab689ef9ad3a 20:28:42 Step 23/24 : LABEL git_sha=1e612ed535d2e5692843658024442fbb2ae5655f 20:28:42 ---> Running in 736e43e28ce2 20:28:43 Removing intermediate container 736e43e28ce2 20:28:43 ---> e81a9a150ba4 20:28:43 Step 24/24 : LABEL version=1.2.4-dev.7 20:28:43 ---> Running in 971711ef48bb 20:28:43 Removing intermediate container 971711ef48bb 20:28:43 ---> 9e4a1e66b33b 20:28:43 [Warning] One or more build-args [ARCH] were not consumed 20:28:43 Successfully built 9e4a1e66b33b 20:28:43 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 20:28:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 20:28:45 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 20:28:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:28:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 20:28:45 20:28:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 20:28:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 20:28:45 1.317.0: Pulling from edgex-devops/edgex-snyk-go 20:28:45 cbdbe7a5bc2a: Pulling fs layer 20:28:45 408f87550127: Pulling fs layer 20:28:45 fe522b08c979: Pulling fs layer 20:28:45 221eaa008020: Pulling fs layer 20:28:45 2a4607e5d6b9: Pulling fs layer 20:28:45 8f79b27c4fd2: Pulling fs layer 20:28:45 e5c8dbe1645b: Pulling fs layer 20:28:45 23e8b3b47431: Pulling fs layer 20:28:45 5c568d65a230: Pulling fs layer 20:28:45 23e8b3b47431: Waiting 20:28:45 2a4607e5d6b9: Waiting 20:28:45 5c568d65a230: Waiting 20:28:45 8f79b27c4fd2: Waiting 20:28:45 e5c8dbe1645b: Waiting 20:28:45 221eaa008020: Waiting 20:28:45 fe522b08c979: Verifying Checksum 20:28:45 fe522b08c979: Download complete 20:28:45 408f87550127: Download complete 20:28:45 2a4607e5d6b9: Verifying Checksum 20:28:45 2a4607e5d6b9: Download complete 20:28:45 8f79b27c4fd2: Verifying Checksum 20:28:45 8f79b27c4fd2: Download complete 20:28:45 cbdbe7a5bc2a: Verifying Checksum 20:28:45 cbdbe7a5bc2a: Download complete 20:28:46 e5c8dbe1645b: Verifying Checksum 20:28:46 e5c8dbe1645b: Download complete 20:28:46 cbdbe7a5bc2a: Pull complete 20:28:46 23e8b3b47431: Verifying Checksum 20:28:46 23e8b3b47431: Download complete 20:28:46 408f87550127: Pull complete 20:28:46 fe522b08c979: Pull complete 20:28:47 5c568d65a230: Verifying Checksum 20:28:47 5c568d65a230: Download complete 20:28:47 221eaa008020: Verifying Checksum 20:28:47 221eaa008020: Download complete 20:28:52 221eaa008020: Pull complete 20:28:53 2a4607e5d6b9: Pull complete 20:28:53 8f79b27c4fd2: Pull complete 20:28:55 e5c8dbe1645b: Pull complete 20:28:58 23e8b3b47431: Pull complete 20:29:00 5c568d65a230: Pull complete 20:29:00 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 20:29:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 20:29:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 20:29:00 prd-centos7-docker-4c-2g-866 does not seem to be running inside a container 20:29:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 20:29:01 $ docker top 6d3ef52d5fa619279bc7d0521fb14001ca46d1d18c510a879cbad1beb7ebe0a6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:02 + snyk monitor '--org=edgex-jenkins' 20:29:08 20:29:08 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... 20:29:08 20:29:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/19ea72c5-21b5-4401-a2b8-7e26721e1e9d 20:29:08 20:29:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:29:08 20:29:08 20:29:08 Snyk CLI supports Node.js 8 and higher. 20:29:08 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 20:29:08 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 20:29:08 20:29:08 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 20:29:08 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 20:29:08 $ docker stop --time=1 6d3ef52d5fa619279bc7d0521fb14001ca46d1d18c510a879cbad1beb7ebe0a6 20:29:11 $ docker rm -f 6d3ef52d5fa619279bc7d0521fb14001ca46d1d18c510a879cbad1beb7ebe0a6 [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] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 20:29:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:29:13 . [Pipeline] withDockerContainer 20:29:13 prd-centos7-docker-4c-2g-866 does not seem to be running inside a container 20:29:13 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:29:14 $ docker top edf79b524fa599df0c5136abe8677241d7e2e4c1a22ac1e7ad0bc6185aa312b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:29:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:14 [ssh-agent] Looking for ssh-agent implementation... 20:29:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:14 $ docker exec edf79b524fa599df0c5136abe8677241d7e2e4c1a22ac1e7ad0bc6185aa312b9 ssh-agent 20:29:15 SSH_AUTH_SOCK=/tmp/ssh-Iqz3oWIxXjc2/agent.11 20:29:15 SSH_AGENT_PID=17 20:29:15 Running ssh-add (command line suppressed) 20:29:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2705903064344130873.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2705903064344130873.key) 20:29:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:15 + git semver tag 20:29:15 # -> Open(): unable to determine branch for HEAD 20:29:15 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 20:29:15 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 20:29:15 # $SEMVER_REMOTE_NAME = origin 20:29:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:29:15 # $SEMVER_USER_NAME = edgex-jenkins 20:29:15 # $SEMVER_BRANCH = master 20:29:15 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 20:29:15 # 1e612ed535d2e5692843658024442fbb2ae5655f HEAD 20:29:15 # -> Force: false 20:29:15 # 444eede0e672907e59ea4eb56f5ee13422de3daa refs/tags/v1.2.4-dev.7 [Pipeline] } 20:29:15 $ docker exec --env ******** --env ******** edf79b524fa599df0c5136abe8677241d7e2e4c1a22ac1e7ad0bc6185aa312b9 ssh-agent -k 20:29:15 unset SSH_AUTH_SOCK; 20:29:15 unset SSH_AGENT_PID; 20:29:15 echo Agent pid 17 killed; 20:29:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:16 + git semver [Pipeline] } 20:29:16 $ docker stop --time=1 edf79b524fa599df0c5136abe8677241d7e2e4c1a22ac1e7ad0bc6185aa312b9 20:29:17 $ docker rm -f edf79b524fa599df0c5136abe8677241d7e2e4c1a22ac1e7ad0bc6185aa312b9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:29:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:29:18 20:29:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:29:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:29:18 0.23.1-centos7: Pulling from edgex-lftools 20:29:18 ab5ef0e58194: Pulling fs layer 20:29:18 9712f1f96733: Pulling fs layer 20:29:18 63f879dbbcfc: Pulling fs layer 20:29:18 0d9ebad4ef96: Pulling fs layer 20:29:18 e9a5061849ea: Pulling fs layer 20:29:18 d747dcd14b5f: Pulling fs layer 20:29:18 2de7ff778b66: Pulling fs layer 20:29:18 0d9ebad4ef96: Waiting 20:29:18 e9a5061849ea: Waiting 20:29:18 d747dcd14b5f: Waiting 20:29:18 2de7ff778b66: Waiting 20:29:18 9712f1f96733: Verifying Checksum 20:29:18 9712f1f96733: Download complete 20:29:19 63f879dbbcfc: Verifying Checksum 20:29:19 63f879dbbcfc: Download complete 20:29:19 e9a5061849ea: Verifying Checksum 20:29:19 e9a5061849ea: Download complete 20:29:19 0d9ebad4ef96: Verifying Checksum 20:29:19 0d9ebad4ef96: Download complete 20:29:19 d747dcd14b5f: Verifying Checksum 20:29:19 d747dcd14b5f: Download complete 20:29:19 ab5ef0e58194: Verifying Checksum 20:29:19 ab5ef0e58194: Download complete 20:29:19 2de7ff778b66: Verifying Checksum 20:29:19 2de7ff778b66: Download complete 20:29:23 ab5ef0e58194: Pull complete 20:29:23 9712f1f96733: Pull complete 20:29:26 63f879dbbcfc: Pull complete 20:29:33 0d9ebad4ef96: Pull complete 20:29:34 e9a5061849ea: Pull complete 20:29:34 d747dcd14b5f: Pull complete 20:29:37 2de7ff778b66: Pull complete 20:29:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:29:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:29:37 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:29:38 prd-centos7-docker-4c-2g-866 does not seem to be running inside a container 20:29:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:29:41 $ docker top e8e4bb4d0b08841d4aef370a489aa1706751d47ea7d4d5aeb793981a999c3a77 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:29:42 provisioning config files... 20:29:42 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7503102676692576450tmp 20:29:42 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7596611012904854469tmp 20:29:42 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8153831007897600151tmp [Pipeline] { [Pipeline] echo 20:29:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:29:42 ---> sigul-configuration.sh 20:29:42 gpg: directory `/root/.gnupg' created 20:29:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:29:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:29:42 gpg: keyring `/root/.gnupg/secring.gpg' created 20:29:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:29:42 gpg: CAST5 encrypted data 20:29:42 gpg: encrypted with 1 passphrase 20:29:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:29:43 + mkdir /home/jenkins 20:29:43 + mkdir /home/jenkins/sigul [Pipeline] sh 20:29:43 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 20:29:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:29:43 ---> sigul-install.sh 20:29:49 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 20:29:49 + git tag --list 20:29:49 v1.2.4-dev.7 [Pipeline] sh 20:29:49 + lftools sign git-tag v1.2.4-dev.7 20:29:51 Signing Git tag with Sigul... 20:29:51 Signing v1.2.4-dev.7 20:29:52 Error: Authentication failed [Pipeline] echo 20:29:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:29:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:29:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:29:52 $ docker stop --time=1 e8e4bb4d0b08841d4aef370a489aa1706751d47ea7d4d5aeb793981a999c3a77 20:29:54 $ docker rm -f e8e4bb4d0b08841d4aef370a489aa1706751d47ea7d4d5aeb793981a999c3a77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:29:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:29:55 . [Pipeline] withDockerContainer 20:29:55 prd-centos7-docker-4c-2g-866 does not seem to be running inside a container 20:29:55 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:29:56 $ docker top 8ca32c1839a491de341220b7c8bac58c39b5acb60d852dc01e4fa74d039f0994 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:29:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:56 [ssh-agent] Looking for ssh-agent implementation... 20:29:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:56 $ docker exec 8ca32c1839a491de341220b7c8bac58c39b5acb60d852dc01e4fa74d039f0994 ssh-agent 20:29:57 SSH_AUTH_SOCK=/tmp/ssh-lrvF7uaJ6dPT/agent.12 20:29:57 SSH_AGENT_PID=17 20:29:57 Running ssh-add (command line suppressed) 20:29:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7561496883651579199.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7561496883651579199.key) 20:29:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:57 + git semver bump pre 20:29:57 # -> Open(): unable to determine branch for HEAD 20:29:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 20:29:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 20:29:57 # $SEMVER_REMOTE_NAME = origin 20:29:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:29:57 # $SEMVER_USER_NAME = edgex-jenkins 20:29:57 # $SEMVER_BRANCH = master 20:29:57 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 20:29:57 1.2.4-dev.8 [Pipeline] } 20:29:57 $ docker exec --env ******** --env ******** 8ca32c1839a491de341220b7c8bac58c39b5acb60d852dc01e4fa74d039f0994 ssh-agent -k 20:29:57 unset SSH_AUTH_SOCK; 20:29:57 unset SSH_AGENT_PID; 20:29:57 echo Agent pid 17 killed; 20:29:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:58 + git semver [Pipeline] } 20:29:58 $ docker stop --time=1 8ca32c1839a491de341220b7c8bac58c39b5acb60d852dc01e4fa74d039f0994 20:29:59 $ docker rm -f 8ca32c1839a491de341220b7c8bac58c39b5acb60d852dc01e4fa74d039f0994 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:30:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:30:00 . [Pipeline] withDockerContainer 20:30:00 prd-centos7-docker-4c-2g-866 does not seem to be running inside a container 20:30:00 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:30:00 $ docker top 8e7e6d92d7fd8f97219989642a20aa918286a1f1174a3d261fc0a16a102d7687 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:30:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:30:01 [ssh-agent] Looking for ssh-agent implementation... 20:30:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:30:01 $ docker exec 8e7e6d92d7fd8f97219989642a20aa918286a1f1174a3d261fc0a16a102d7687 ssh-agent 20:30:01 SSH_AUTH_SOCK=/tmp/ssh-zsQLxT72La5f/agent.11 20:30:01 SSH_AGENT_PID=16 20:30:01 Running ssh-add (command line suppressed) 20:30:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2207923957671599374.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2207923957671599374.key) 20:30:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:30:02 + git semver push 20:30:02 # -> Open(): unable to determine branch for HEAD 20:30:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 20:30:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 20:30:02 # $SEMVER_REMOTE_NAME = origin 20:30:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:30:02 # $SEMVER_USER_NAME = edgex-jenkins 20:30:02 # $SEMVER_BRANCH = master 20:30:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 20:30:12 $ docker exec --env ******** --env ******** 8e7e6d92d7fd8f97219989642a20aa918286a1f1174a3d261fc0a16a102d7687 ssh-agent -k 20:30:12 unset SSH_AUTH_SOCK; 20:30:12 unset SSH_AGENT_PID; 20:30:12 echo Agent pid 16 killed; 20:30:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:30:12 + git semver [Pipeline] } 20:30:12 $ docker stop --time=1 8e7e6d92d7fd8f97219989642a20aa918286a1f1174a3d261fc0a16a102d7687 20:30:14 $ docker rm -f 8e7e6d92d7fd8f97219989642a20aa918286a1f1174a3d261fc0a16a102d7687 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:30:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:30:15 ---> package-listing.sh 20:30:15 ++ facter osfamily 20:30:15 ++ tr '[:upper:]' '[:lower:]' 20:30:15 + OS_FAMILY=redhat 20:30:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 20:30:15 + START_PACKAGES=/tmp/packages_start.txt 20:30:15 + END_PACKAGES=/tmp/packages_end.txt 20:30:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:30:15 + PACKAGES=/tmp/packages_start.txt 20:30:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 20:30:15 + PACKAGES=/tmp/packages_end.txt 20:30:15 + case "${OS_FAMILY}" in 20:30:15 + rpm -qa 20:30:15 + sort 20:30:20 + '[' -f /tmp/packages_start.txt ']' 20:30:20 + '[' -f /tmp/packages_end.txt ']' 20:30:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:30:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 20:30:20 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 20:30:20 + 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 20:30:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:30:20 20:30:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:30:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:30:21 alpine: Pulling from edgex-lftools-log-publisher 20:30:21 c9b1b535fdd9: Pulling fs layer 20:30:21 2cc5ad85d9ab: Pulling fs layer 20:30:21 756a868c4378: Pulling fs layer 20:30:21 444b2fc9a129: Pulling fs layer 20:30:21 ea15f1150254: Pulling fs layer 20:30:21 41b27a9f41bf: Pulling fs layer 20:30:21 28c525ee5125: Pulling fs layer 20:30:21 094b1ea09ed8: Pulling fs layer 20:30:21 138eaada9080: Pulling fs layer 20:30:21 0622d0fa9048: Pulling fs layer 20:30:21 444b2fc9a129: Waiting 20:30:21 ea15f1150254: Waiting 20:30:21 41b27a9f41bf: Waiting 20:30:21 28c525ee5125: Waiting 20:30:21 138eaada9080: Waiting 20:30:21 094b1ea09ed8: Waiting 20:30:21 0622d0fa9048: Waiting 20:30:21 2cc5ad85d9ab: Download complete 20:30:21 444b2fc9a129: Verifying Checksum 20:30:21 444b2fc9a129: Download complete 20:30:21 c9b1b535fdd9: Verifying Checksum 20:30:21 c9b1b535fdd9: Download complete 20:30:21 ea15f1150254: Verifying Checksum 20:30:21 ea15f1150254: Download complete 20:30:21 28c525ee5125: Verifying Checksum 20:30:21 28c525ee5125: Download complete 20:30:21 756a868c4378: Verifying Checksum 20:30:21 756a868c4378: Download complete 20:30:21 c9b1b535fdd9: Pull complete 20:30:21 138eaada9080: Verifying Checksum 20:30:21 138eaada9080: Download complete 20:30:21 0622d0fa9048: Verifying Checksum 20:30:21 0622d0fa9048: Download complete 20:30:21 094b1ea09ed8: Verifying Checksum 20:30:21 094b1ea09ed8: Download complete 20:30:22 41b27a9f41bf: Verifying Checksum 20:30:22 41b27a9f41bf: Download complete 20:30:22 2cc5ad85d9ab: Pull complete 20:30:24 756a868c4378: Pull complete 20:30:24 444b2fc9a129: Pull complete 20:30:24 ea15f1150254: Pull complete 20:30:27 41b27a9f41bf: Pull complete 20:30:27 28c525ee5125: Pull complete 20:30:29 094b1ea09ed8: Pull complete 20:30:30 138eaada9080: Pull complete 20:30:30 0622d0fa9048: Pull complete 20:30:30 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 20:30:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:30:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:30:30 prd-centos7-docker-4c-2g-866 does not seem to be running inside a container 20:30:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:30:33 $ docker top 085f214f588d9053d3c8a7f7953083ab61d8d45f8ba9554807dbfbd7adc6490b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:30:33 provisioning config files... 20:30:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7976659550650890523tmp [Pipeline] { [Pipeline] echo 20:30:34 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:30:34 ---> create-netrc.sh [Pipeline] echo 20:30:34 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:30:34 ---> logs-deploy.sh 20:30:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/57 20:30:34 INFO: archiving workspace using pattern(s): 20:30:35 Archives upload complete. 20:30:35 INFO: archiving logs to Nexus