Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 # timeout=10 Commit message: "Merge pull request #218 from ernestojeda/add-geneva-release-stream" > 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-virtual-go, goVersion:1.13] ========================================================= [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-virtual-go-settings PROJECT: device-virtual-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-821 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching without tags Checking out Revision d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 (master) > 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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 # timeout=10 Commit message: "Merge pull request #121 from FelixTing/issue-119" > git rev-list --no-walk 4d5f8ce0290f23e35ff78bafcbacaa37d533849c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:14:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:14:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:14:34 ========================================================= 07:14:34 EdgeX Global Pipelines Version Info 07:14:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:14:35 ------------------- 07:14:35 stable info: 07:14:35 ------------------- 07:14:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:14:35 Commit SHA: 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 07:14:35 Message: update stable to v1.0.105 07:14:36 ------------------- 07:14:36 experimental info: 07:14:36 ------------------- 07:14:36 Commited By: **** collab-it+edgex@linuxfoundation.org 07:14:36 Commit SHA: 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 07:14:36 Message: update experimental to v1.0.105 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:39 + git log --format=format:%s -1 d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 [Pipeline] echo 07:14:39 GIT_COMMIT: d9b83bd88a573ae11fcf404e5819c6bf4fe22e20, Commit Message: Merge pull request #121 from FelixTing/issue-119 [Pipeline] echo 07:14:39 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:14:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:39 07:14:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:14:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:39 latest: Pulling from edgex-devops/git-semver 07:14:39 31603596830f: Pulling fs layer 07:14:39 2a8b12db71e7: Pulling fs layer 07:14:39 6ca5941a6612: Pulling fs layer 07:14:39 ecc8261a40a4: Pulling fs layer 07:14:39 ecc8261a40a4: Waiting 07:14:39 2a8b12db71e7: Verifying Checksum 07:14:39 2a8b12db71e7: Download complete 07:14:39 31603596830f: Verifying Checksum 07:14:39 31603596830f: Download complete 07:14:39 ecc8261a40a4: Verifying Checksum 07:14:39 ecc8261a40a4: Download complete 07:14:40 6ca5941a6612: Verifying Checksum 07:14:40 6ca5941a6612: Download complete 07:14:40 31603596830f: Pull complete 07:14:40 2a8b12db71e7: Pull complete 07:14:40 6ca5941a6612: Pull complete 07:14:41 ecc8261a40a4: Pull complete 07:14:41 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:14:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:14:41 prd-centos7-docker-4c-2g-821 does not seem to be running inside a container 07:14:41 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-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 07:14:43 $ docker top 2ef13b381f5fed2d5c0093679f4f3e809a9072d8ebdb81f72b54a18e2ca1b121 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:43 [ssh-agent] Looking for ssh-agent implementation... 07:14:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:43 $ docker exec 2ef13b381f5fed2d5c0093679f4f3e809a9072d8ebdb81f72b54a18e2ca1b121 ssh-agent 07:14:44 SSH_AUTH_SOCK=/tmp/ssh-yXHF6xcrCLRV/agent.11 07:14:44 SSH_AGENT_PID=16 07:14:44 Running ssh-add (command line suppressed) 07:14:44 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2808448620714060388.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2808448620714060388.key) 07:14:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:44 + git describe --exact-match --tags HEAD 07:14:44 fatal: No names found, cannot describe anything. [Pipeline] } 07:14:44 $ docker exec --env ******** --env ******** 2ef13b381f5fed2d5c0093679f4f3e809a9072d8ebdb81f72b54a18e2ca1b121 ssh-agent -k 07:14:44 unset SSH_AUTH_SOCK; 07:14:44 unset SSH_AGENT_PID; 07:14:44 echo Agent pid 16 killed; 07:14:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:14:44 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:14:44 This usually means this commit has not been tagged. [Pipeline] sshagent 07:14:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:45 [ssh-agent] Looking for ssh-agent implementation... 07:14:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:45 $ docker exec 2ef13b381f5fed2d5c0093679f4f3e809a9072d8ebdb81f72b54a18e2ca1b121 ssh-agent 07:14:45 SSH_AUTH_SOCK=/tmp/ssh-1BpBvM2j4uWF/agent.45 07:14:45 SSH_AGENT_PID=50 07:14:45 Running ssh-add (command line suppressed) 07:14:45 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5101942626818834159.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5101942626818834159.key) 07:14:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:45 + git semver init 07:14:45 # -> Open(): unable to determine branch for HEAD 07:14:45 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:14:45 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:14:45 # $SEMVER_REMOTE_NAME = origin 07:14:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:14:45 # $SEMVER_USER_NAME = edgex-jenkins 07:14:45 # $SEMVER_BRANCH = master 07:14:45 # $SEMVER_TEMP = /tmp/semver-974539367 07:14:45 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 07:14:46 # '/tmp/semver-974539367' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 07:14:46 # -> Force: false 07:14:46 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 07:14:46 $ docker exec --env ******** --env ******** 2ef13b381f5fed2d5c0093679f4f3e809a9072d8ebdb81f72b54a18e2ca1b121 ssh-agent -k 07:14:46 unset SSH_AUTH_SOCK; 07:14:46 unset SSH_AGENT_PID; 07:14:46 echo Agent pid 50 killed; 07:14:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:14:47 + git semver [Pipeline] } 07:14:47 $ docker stop --time=1 2ef13b381f5fed2d5c0093679f4f3e809a9072d8ebdb81f72b54a18e2ca1b121 07:14:48 $ docker rm -f 2ef13b381f5fed2d5c0093679f4f3e809a9072d8ebdb81f72b54a18e2ca1b121 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:14:49 Stashed 17 file(s) [Pipeline] echo 07:14:49 [edgeXSemver] initialized semver on version 1.2.3-dev.2 [Pipeline] echo 07:14:49 Archived original version: [1.2.3-dev.2] [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 07:15:04 Still waiting to schedule task 07:15:04 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:15:04 Still waiting to schedule task 07:15:04 ‘prd-ubuntu18.04-docker-arm64-4c-16g-819’ is offline 07:16:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-822 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 07:16:32 Running in /w/workspace/device-virtual-go/19 [Pipeline] { [Pipeline] checkout 07:16:37 using credential edgex-jenkins-ssh 07:16:37 Cloning the remote Git repository 07:16:37 Cloning with configured refspecs honoured and without tags 07:16:38 Fetching without tags 07:16:37 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:16:37 > git init /w/workspace/device-virtual-go/19 # timeout=10 07:16:37 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:16:37 > git --version # timeout=10 07:16:37 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:16:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:16:38 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:16:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:16:38 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:16:38 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:16:38 Checking out Revision d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 (master) 07:16:38 > git config core.sparsecheckout # timeout=10 07:16:38 > git checkout -f d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 # timeout=10 07:16:43 Commit message: "Merge pull request #121 from FelixTing/issue-119" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:16:44 ========================================================= 07:16:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:16:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:16:45 + 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 . 07:16:46 Sending build context to Docker daemon 521.2kB 07:16:46 Step 1/8 : ARG BASE=golang:1.13-alpine 07:16:46 Step 2/8 : FROM ${BASE} 07:16:47 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:16:47 b538f80385f9: Pulling fs layer 07:16:47 74f711af9a0d: Pulling fs layer 07:16:47 99f96fe45779: Pulling fs layer 07:16:47 fd7a069fd194: Pulling fs layer 07:16:47 66aa3694b03b: Pulling fs layer 07:16:47 170f70906a0f: Pulling fs layer 07:16:47 ad7c5574e4b9: Pulling fs layer 07:16:47 e772456be8f7: Pulling fs layer 07:16:47 c890913d741a: Pulling fs layer 07:16:47 2480fcc9aa5a: Pulling fs layer 07:16:47 09adf4765672: Pulling fs layer 07:16:47 66aa3694b03b: Waiting 07:16:47 c890913d741a: Waiting 07:16:47 170f70906a0f: Waiting 07:16:47 2480fcc9aa5a: Waiting 07:16:47 ad7c5574e4b9: Waiting 07:16:47 09adf4765672: Waiting 07:16:47 e772456be8f7: Waiting 07:16:47 fd7a069fd194: Waiting 07:16:47 99f96fe45779: Verifying Checksum 07:16:47 99f96fe45779: Download complete 07:16:47 74f711af9a0d: Download complete 07:16:47 66aa3694b03b: Verifying Checksum 07:16:47 66aa3694b03b: Download complete 07:16:47 170f70906a0f: Verifying Checksum 07:16:47 170f70906a0f: Download complete 07:16:47 b538f80385f9: Verifying Checksum 07:16:47 b538f80385f9: Download complete 07:16:48 b538f80385f9: Pull complete 07:16:48 74f711af9a0d: Pull complete 07:16:49 99f96fe45779: Pull complete 07:16:50 ad7c5574e4b9: Verifying Checksum 07:16:50 ad7c5574e4b9: Download complete 07:16:50 c890913d741a: Verifying Checksum 07:16:50 c890913d741a: Download complete 07:16:51 e772456be8f7: Verifying Checksum 07:16:51 e772456be8f7: Download complete 07:16:51 2480fcc9aa5a: Verifying Checksum 07:16:51 2480fcc9aa5a: Download complete 07:16:51 09adf4765672: Download complete 07:16:53 fd7a069fd194: Verifying Checksum 07:16:53 fd7a069fd194: Download complete 07:17:01 Running on prd-centos7-docker-4c-2g-823 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 07:17:01 Running in /w/workspace/device-virtual-go/19 [Pipeline] { [Pipeline] checkout 07:17:03 using credential edgex-jenkins-ssh 07:17:03 Cloning the remote Git repository 07:17:03 Cloning with configured refspecs honoured and without tags 07:17:03 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:17:04 Fetching without tags 07:17:04 Checking out Revision d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 (master) 07:17:03 > git init /w/workspace/device-virtual-go/19 # timeout=10 07:17:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:17:03 > git --version # timeout=10 07:17:03 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:17:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:17:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:17:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:17:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:17:04 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:17:04 > git config core.sparsecheckout # timeout=10 07:17:04 > git checkout -f d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 # timeout=10 07:17:05 fd7a069fd194: Pull complete 07:17:05 66aa3694b03b: Pull complete 07:17:05 170f70906a0f: Pull complete 07:17:08 Commit message: "Merge pull request #121 from FelixTing/issue-119" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:17:09 ========================================================= 07:17:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:17:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:17:09 ad7c5574e4b9: Pull complete 07:17:09 + 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 . 07:17:09 Sending build context to Docker daemon 521.2kB 07:17:10 Step 1/8 : ARG BASE=golang:1.13-alpine 07:17:10 Step 2/8 : FROM ${BASE} 07:17:10 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:17:10 df20fa9351a1: Pulling fs layer 07:17:10 ed8968b2872e: Pulling fs layer 07:17:10 a92cc7c5fd73: Pulling fs layer 07:17:10 2dd03ba5bac4: Pulling fs layer 07:17:10 1e091d79d1de: Pulling fs layer 07:17:10 481702a1767f: Pulling fs layer 07:17:10 f64a6f60c768: Pulling fs layer 07:17:10 e78d2573fc39: Pulling fs layer 07:17:10 e876d2f968b6: Pulling fs layer 07:17:10 ce8a83651883: Pulling fs layer 07:17:10 07967f4d0e4b: Pulling fs layer 07:17:10 f64a6f60c768: Waiting 07:17:10 2dd03ba5bac4: Waiting 07:17:10 e78d2573fc39: Waiting 07:17:10 e876d2f968b6: Waiting 07:17:10 ce8a83651883: Waiting 07:17:10 07967f4d0e4b: Waiting 07:17:10 481702a1767f: Waiting 07:17:10 a92cc7c5fd73: Verifying Checksum 07:17:10 a92cc7c5fd73: Download complete 07:17:10 ed8968b2872e: Verifying Checksum 07:17:10 ed8968b2872e: Download complete 07:17:10 1e091d79d1de: Verifying Checksum 07:17:10 1e091d79d1de: Download complete 07:17:10 481702a1767f: Verifying Checksum 07:17:10 481702a1767f: Download complete 07:17:10 df20fa9351a1: Verifying Checksum 07:17:10 df20fa9351a1: Download complete 07:17:10 df20fa9351a1: Pull complete 07:17:11 f64a6f60c768: Verifying Checksum 07:17:11 f64a6f60c768: Download complete 07:17:11 e876d2f968b6: Verifying Checksum 07:17:11 e876d2f968b6: Download complete 07:17:11 2dd03ba5bac4: Verifying Checksum 07:17:11 2dd03ba5bac4: Download complete 07:17:11 07967f4d0e4b: Verifying Checksum 07:17:11 07967f4d0e4b: Download complete 07:17:11 e78d2573fc39: Verifying Checksum 07:17:11 e78d2573fc39: Download complete 07:17:12 ce8a83651883: Verifying Checksum 07:17:12 ce8a83651883: Download complete 07:17:12 ed8968b2872e: Pull complete 07:17:12 a92cc7c5fd73: Pull complete 07:17:13 e772456be8f7: Pull complete 07:17:14 c890913d741a: Pull complete 07:17:16 2480fcc9aa5a: Pull complete 07:17:16 09adf4765672: Pull complete 07:17:16 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 07:17:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:17:16 ---> 2248a725d1cf 07:17:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:17:17 2dd03ba5bac4: Pull complete 07:17:17 1e091d79d1de: Pull complete 07:17:17 481702a1767f: Pull complete 07:17:22 ---> Running in 1ff98c9f0c4e 07:17:22 Removing intermediate container 1ff98c9f0c4e 07:17:22 ---> a2deb9fe967e 07:17:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:22 ---> Running in 82025a7e0402 07:17:24 f64a6f60c768: Pull complete 07:17:24 Removing intermediate container 82025a7e0402 07:17:24 ---> 830f9456b5cf 07:17:24 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:17:24 ---> Running in 8923ee2e3c04 07:17:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:17:27 e78d2573fc39: Pull complete 07:17:27 e876d2f968b6: Pull complete 07:17:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:17:27 (1/14) Installing libmagic (5.38-r0) 07:17:28 ce8a83651883: Pull complete 07:17:28 (2/14) Installing file (5.38-r0) 07:17:28 (3/14) Installing libc-dev (0.7.2-r3) 07:17:28 07967f4d0e4b: Pull complete 07:17:28 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 07:17:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:17:28 ---> 5d7c900382c6 07:17:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:17:28 (4/14) Installing g++ (9.3.0-r2) 07:17:29 ---> Running in be119ff78a52 07:17:29 Removing intermediate container be119ff78a52 07:17:29 ---> c8dda1b03112 07:17:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:29 ---> Running in b48a8ddf611f 07:17:30 Removing intermediate container b48a8ddf611f 07:17:30 ---> c55174d11abe 07:17:30 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:17:30 ---> Running in dd2ea91d7933 07:17:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:17:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:17:33 (1/14) Installing libmagic (5.38-r0) 07:17:33 (2/14) Installing file (5.38-r0) 07:17:33 (3/14) Installing libc-dev (0.7.2-r3) 07:17:33 (4/14) Installing g++ (9.3.0-r2) 07:17:36 (5/14) Installing fortify-headers (1.1-r0) 07:17:36 (6/14) Installing patch (2.7.6-r6) 07:17:36 (7/14) Installing build-base (0.5-r2) 07:17:36 (8/14) Installing openssh-keygen (8.3_p1-r0) 07:17:36 (9/14) Installing libedit (20191231.3.1-r0) 07:17:36 (10/14) Installing openssh-client (8.3_p1-r0) 07:17:36 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 07:17:36 (12/14) Installing openssh-server-common (8.3_p1-r0) 07:17:36 (13/14) Installing openssh-server (8.3_p1-r0) 07:17:36 (14/14) Installing openssh (8.3_p1-r0) 07:17:36 Executing busybox-1.31.1-r16.trigger 07:17:36 OK: 221 MiB in 53 packages 07:17:41 Removing intermediate container 8923ee2e3c04 07:17:41 ---> 304dc87267e6 07:17:41 Step 6/8 : WORKDIR /device-virtual-go 07:17:41 ---> Running in 9d92cd2a93c1 07:17:41 Removing intermediate container 9d92cd2a93c1 07:17:41 ---> 4c1d7c2ffad4 07:17:41 Step 7/8 : COPY . . 07:17:42 ---> 56acfac45141 07:17:42 Step 8/8 : RUN go mod download 07:17:42 ---> Running in 8abb4ddf166f 07:17:43 (5/14) Installing fortify-headers (1.1-r0) 07:17:43 (6/14) Installing patch (2.7.6-r6) 07:17:43 (7/14) Installing build-base (0.5-r2) 07:17:43 (8/14) Installing openssh-keygen (8.3_p1-r0) 07:17:43 (9/14) Installing libedit (20191231.3.1-r0) 07:17:43 (10/14) Installing openssh-client (8.3_p1-r0) 07:17:44 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 07:17:44 (12/14) Installing openssh-server-common (8.3_p1-r0) 07:17:44 (13/14) Installing openssh-server (8.3_p1-r0) 07:17:44 (14/14) Installing openssh (8.3_p1-r0) 07:17:44 Executing busybox-1.31.1-r16.trigger 07:17:44 OK: 237 MiB in 53 packages 07:17:45 go: finding github.com/BurntSushi/toml v0.3.1 07:17:45 go: finding github.com/OneOfOne/xxhash v1.2.6 07:17:45 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:17:45 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:17:45 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:17:45 go: finding github.com/bgentry/speakeasy v0.1.0 07:17:45 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:17:45 go: finding github.com/davecgh/go-spew v1.1.1 07:17:45 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 07:17:45 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 07:17:45 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:17:45 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:17:45 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:17:45 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:17:45 go: finding github.com/edsrzf/mmap-go v1.0.0 07:17:45 go: finding github.com/fatih/color v1.7.0 07:17:45 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:17:45 go: finding github.com/go-kit/kit v0.8.0 07:17:45 go: finding github.com/go-logfmt/logfmt v0.4.0 07:17:45 go: finding github.com/go-stack/stack v1.8.0 07:17:45 go: finding github.com/golang/snappy v0.0.1 07:17:45 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:17:45 go: finding github.com/google/uuid v1.1.0 07:17:45 go: finding github.com/gorilla/mux v1.7.1 07:17:45 go: finding github.com/hashicorp/consul/api v1.1.0 07:17:46 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:17:46 go: finding github.com/hashicorp/errwrap v1.0.0 07:17:46 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:17:46 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:17:46 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:17:46 go: finding github.com/hashicorp/go-multierror v1.0.0 07:17:46 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:17:46 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:17:46 go: finding github.com/hashicorp/go-syslog v1.0.0 07:17:46 go: finding github.com/hashicorp/go-uuid v1.0.1 07:17:46 go: finding github.com/hashicorp/go.net v0.0.1 07:17:46 go: finding github.com/hashicorp/golang-lru v0.5.0 07:17:46 go: finding github.com/hashicorp/logutils v1.0.0 07:17:46 go: finding github.com/hashicorp/mdns v1.0.0 07:17:46 go: finding github.com/hashicorp/memberlist v0.1.3 07:17:46 go: finding github.com/hashicorp/serf v0.8.2 07:17:46 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:17:46 go: finding github.com/mattn/go-colorable v0.0.9 07:17:46 go: finding github.com/mattn/go-isatty v0.0.3 07:17:46 go: finding github.com/miekg/dns v1.0.14 07:17:46 go: finding github.com/mitchellh/cli v1.0.0 07:17:46 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:17:46 go: finding github.com/mitchellh/copystructure v1.0.0 07:17:46 go: finding github.com/mitchellh/go-homedir v1.0.0 07:17:46 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:17:46 go: finding github.com/mitchellh/gox v0.4.0 07:17:46 go: finding github.com/mitchellh/iochan v1.0.0 07:17:46 go: finding github.com/mitchellh/mapstructure v1.1.2 07:17:46 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:17:46 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:17:46 go: finding github.com/pelletier/go-toml v1.2.0 07:17:46 go: finding github.com/pkg/errors v0.8.1 07:17:46 go: finding github.com/pmezard/go-difflib v1.0.0 07:17:46 go: finding github.com/posener/complete v1.1.1 07:17:46 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 07:17:46 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:17:46 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:17:46 go: finding github.com/stretchr/objx v0.1.0 07:17:46 go: finding github.com/stretchr/testify v1.5.1 07:17:46 go: finding github.com/ugorji/go v1.1.4 07:17:46 go: finding github.com/x448/float16 v0.8.4 07:17:46 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:17:46 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:17:46 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:17:46 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 07:17:46 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:17:46 go: finding gopkg.in/yaml.v2 v2.2.8 07:17:46 go: finding modernc.org/b v1.0.0 07:17:47 go: finding modernc.org/db v1.0.0 07:17:47 go: finding modernc.org/file v1.0.0 07:17:47 go: finding modernc.org/fileutil v1.0.0 07:17:47 go: finding modernc.org/golex v1.0.0 07:17:47 go: finding modernc.org/internal v1.0.0 07:17:47 go: finding modernc.org/lldb v1.0.0 07:17:47 go: finding modernc.org/mathutil v1.0.0 07:17:47 go: finding modernc.org/ql v1.0.0 07:17:47 go: finding modernc.org/sortutil v1.0.0 07:17:47 go: finding modernc.org/strutil v1.0.0 07:17:47 go: finding modernc.org/zappy v1.0.0 07:17:48 Removing intermediate container dd2ea91d7933 07:17:48 ---> 78df83e688cd 07:17:48 Step 6/8 : WORKDIR /device-virtual-go 07:17:48 ---> Running in 514e8589969b 07:17:48 Removing intermediate container 514e8589969b 07:17:48 ---> 502ba057b1af 07:17:48 Step 7/8 : COPY . . 07:17:48 ---> f1435a172a0c 07:17:48 Step 8/8 : RUN go mod download 07:17:48 ---> Running in 6de586fe0951 07:17:50 go: finding github.com/BurntSushi/toml v0.3.1 07:17:50 go: finding github.com/OneOfOne/xxhash v1.2.6 07:17:50 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:17:50 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:17:50 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:17:50 go: finding github.com/bgentry/speakeasy v0.1.0 07:17:50 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:17:50 go: finding github.com/davecgh/go-spew v1.1.1 07:17:50 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 07:17:50 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 07:17:50 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:17:50 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:17:50 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:17:50 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:17:50 go: finding github.com/edsrzf/mmap-go v1.0.0 07:17:50 go: finding github.com/fatih/color v1.7.0 07:17:50 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:17:50 go: finding github.com/go-kit/kit v0.8.0 07:17:50 go: finding github.com/go-logfmt/logfmt v0.4.0 07:17:50 go: finding github.com/go-stack/stack v1.8.0 07:17:50 go: finding github.com/golang/snappy v0.0.1 07:17:51 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:17:51 go: finding github.com/google/uuid v1.1.0 07:17:51 go: finding github.com/gorilla/mux v1.7.1 07:17:51 go: finding github.com/hashicorp/consul/api v1.1.0 07:17:51 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:17:51 go: finding github.com/hashicorp/errwrap v1.0.0 07:17:51 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:17:51 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:17:51 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:17:51 go: finding github.com/hashicorp/go-multierror v1.0.0 07:17:51 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:17:51 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:17:51 go: finding github.com/hashicorp/go-syslog v1.0.0 07:17:51 go: finding github.com/hashicorp/go-uuid v1.0.1 07:17:51 go: finding github.com/hashicorp/go.net v0.0.1 07:17:51 go: finding github.com/hashicorp/golang-lru v0.5.0 07:17:51 go: finding github.com/hashicorp/logutils v1.0.0 07:17:51 go: finding github.com/hashicorp/mdns v1.0.0 07:17:51 go: finding github.com/hashicorp/memberlist v0.1.3 07:17:51 go: finding github.com/hashicorp/serf v0.8.2 07:17:51 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:17:51 go: finding github.com/mattn/go-colorable v0.0.9 07:17:51 go: finding github.com/mattn/go-isatty v0.0.3 07:17:51 go: finding github.com/miekg/dns v1.0.14 07:17:51 go: finding github.com/mitchellh/cli v1.0.0 07:17:51 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:17:51 go: finding github.com/mitchellh/copystructure v1.0.0 07:17:51 go: finding github.com/mitchellh/go-homedir v1.0.0 07:17:51 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:17:51 go: finding github.com/mitchellh/gox v0.4.0 07:17:51 go: finding github.com/mitchellh/iochan v1.0.0 07:17:51 go: finding github.com/mitchellh/mapstructure v1.1.2 07:17:51 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:17:51 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:17:51 go: finding github.com/pelletier/go-toml v1.2.0 07:17:51 go: finding github.com/pkg/errors v0.8.1 07:17:51 go: finding github.com/pmezard/go-difflib v1.0.0 07:17:51 go: finding github.com/posener/complete v1.1.1 07:17:51 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 07:17:51 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:17:51 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:17:51 go: finding github.com/stretchr/objx v0.1.0 07:17:51 go: finding github.com/stretchr/testify v1.5.1 07:17:51 go: finding github.com/ugorji/go v1.1.4 07:17:51 go: finding github.com/x448/float16 v0.8.4 07:17:51 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:17:51 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:17:51 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:17:51 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 07:17:51 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:17:51 go: finding gopkg.in/yaml.v2 v2.2.8 07:17:51 go: finding modernc.org/b v1.0.0 07:17:52 go: finding modernc.org/db v1.0.0 07:17:52 go: finding modernc.org/file v1.0.0 07:17:52 go: finding modernc.org/fileutil v1.0.0 07:17:52 go: finding modernc.org/golex v1.0.0 07:17:52 go: finding modernc.org/internal v1.0.0 07:17:52 go: finding modernc.org/lldb v1.0.0 07:17:52 go: finding modernc.org/mathutil v1.0.0 07:17:52 go: finding modernc.org/ql v1.0.0 07:17:52 go: finding modernc.org/sortutil v1.0.0 07:17:52 go: finding modernc.org/strutil v1.0.0 07:17:52 go: finding modernc.org/zappy v1.0.0 07:17:57 Removing intermediate container 8abb4ddf166f 07:17:57 ---> a2904b331804 07:17:57 Successfully built a2904b331804 07:17:57 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 07:17:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:17:58 + ls -al . 07:17:58 total 88 07:17:58 drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 07:16 . 07:17:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 07:16 .. 07:17:58 drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 07:16 .git 07:17:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 07:16 .github 07:17:58 -rw-rw-r-- 1 jenkins jenkins 258 Jul 24 07:16 .gitignore 07:17:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 07:16 .semver 07:17:58 -rw-rw-r-- 1 jenkins jenkins 6432 Jul 24 07:16 Attribution.txt 07:17:58 -rw-rw-r-- 1 jenkins jenkins 1826 Jul 24 07:16 Dockerfile 07:17:58 -rw-rw-r-- 1 jenkins jenkins 957 Jul 24 07:16 Dockerfile.build 07:17:58 -rw-rw-r-- 1 jenkins jenkins 683 Jul 24 07:16 Jenkinsfile 07:17:58 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 24 07:16 LICENSE 07:17:58 -rw-rw-r-- 1 jenkins jenkins 873 Jul 24 07:16 Makefile 07:17:58 -rw-rw-r-- 1 jenkins jenkins 3620 Jul 24 07:16 README.md 07:17:58 -rw-rw-r-- 1 jenkins jenkins 11 Jul 24 07:14 VERSION 07:17:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 07:16 bin 07:17:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 07:16 cmd 07:17:58 -rw-rw-r-- 1 jenkins jenkins 855 Jul 24 07:16 go.mod 07:17:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 07:16 internal 07:17:58 -rw-rw-r-- 1 jenkins jenkins 235 Jul 24 07:16 version.go [Pipeline] isUnix [Pipeline] sh 07:17:59 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 --label arch=arm64 --label version=1.2.3-dev.2 . 07:17:59 Sending build context to Docker daemon 521.2kB 07:17:59 Step 1/21 : ARG BASE=golang:1.13-alpine 07:17:59 Step 2/21 : FROM ${BASE} AS builder 07:17:59 ---> a2904b331804 07:17:59 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 07:17:59 ---> Running in bb70c8bc7536 07:18:00 Removing intermediate container 6de586fe0951 07:18:00 ---> 04881a55f3f1 07:18:00 Successfully built 04881a55f3f1 07:18:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } 07:18:00 Removing intermediate container bb70c8bc7536 07:18:00 ---> 4c7b05d7b0fb 07:18:00 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 07:18:00 ---> Running in 2cfa634f0e4a [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 07:18:01 Removing intermediate container 2cfa634f0e4a 07:18:01 ---> 7b18c32e636f 07:18:01 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 07:18:01 ---> Running in 368ad1a2f0b5 07:18:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:18:01 + ls -al . 07:18:01 total 60 07:18:01 drwxrwxr-x. 8 jenkins jenkins 4096 Jul 24 07:17 . 07:18:01 drwxrwxr-x. 4 jenkins jenkins 30 Jul 24 07:17 .. 07:18:01 -rw-rw-r--. 1 jenkins jenkins 6432 Jul 24 07:17 Attribution.txt 07:18:01 drwxrwxr-x. 2 jenkins jenkins 64 Jul 24 07:17 bin 07:18:01 drwxrwxr-x. 3 jenkins jenkins 32 Jul 24 07:17 cmd 07:18:01 -rw-rw-r--. 1 jenkins jenkins 1826 Jul 24 07:17 Dockerfile 07:18:01 -rw-rw-r--. 1 jenkins jenkins 957 Jul 24 07:17 Dockerfile.build 07:18:01 drwxrwxr-x. 8 jenkins jenkins 162 Jul 24 07:17 .git 07:18:01 drwxrwxr-x. 2 jenkins jenkins 38 Jul 24 07:17 .github 07:18:01 -rw-rw-r--. 1 jenkins jenkins 258 Jul 24 07:17 .gitignore 07:18:01 -rw-rw-r--. 1 jenkins jenkins 855 Jul 24 07:17 go.mod 07:18:01 drwxrwxr-x. 3 jenkins jenkins 20 Jul 24 07:17 internal 07:18:01 -rw-rw-r--. 1 jenkins jenkins 683 Jul 24 07:17 Jenkinsfile 07:18:01 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 24 07:17 LICENSE 07:18:01 -rw-rw-r--. 1 jenkins jenkins 873 Jul 24 07:17 Makefile 07:18:01 -rw-rw-r--. 1 jenkins jenkins 3620 Jul 24 07:17 README.md 07:18:01 drwxrwxr-x. 3 jenkins jenkins 44 Jul 24 07:17 .semver 07:18:01 -rw-rw-r--. 1 jenkins jenkins 11 Jul 24 07:14 VERSION 07:18:01 -rw-rw-r--. 1 jenkins jenkins 235 Jul 24 07:17 version.go [Pipeline] isUnix [Pipeline] sh 07:18:01 Removing intermediate container 368ad1a2f0b5 07:18:01 ---> 17e4a89c3f26 07:18:01 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:18:01 ---> Running in c7b4b1502ff1 07:18:01 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 --label arch=amd64 --label version=1.2.3-dev.2 . 07:18:01 Sending build context to Docker daemon 521.2kB 07:18:01 Step 1/21 : ARG BASE=golang:1.13-alpine 07:18:01 Step 2/21 : FROM ${BASE} AS builder 07:18:01 ---> 04881a55f3f1 07:18:01 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 07:18:02 ---> Running in d0fd6fd244d6 07:18:02 Removing intermediate container d0fd6fd244d6 07:18:02 ---> c011236c4576 07:18:02 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 07:18:02 ---> Running in 8a0631c3786a 07:18:02 Removing intermediate container 8a0631c3786a 07:18:02 ---> 2176cdf72daf 07:18:02 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 07:18:02 ---> Running in 84cbab88ca71 07:18:02 Removing intermediate container 84cbab88ca71 07:18:02 ---> f3cf3f65a8ac 07:18:02 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:18:02 ---> Running in 82140395280e 07:18:04 Removing intermediate container 82140395280e 07:18:04 ---> 977fac85e7e8 07:18:04 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:18:04 ---> Running in 745b526f6877 07:18:04 Removing intermediate container c7b4b1502ff1 07:18:04 ---> f2dacbc9489e 07:18:04 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:18:04 ---> Running in f29b63d27d4f 07:18:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:18:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:18:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:18:06 OK: 237 MiB in 53 packages 07:18:06 Removing intermediate container 745b526f6877 07:18:06 ---> c3e1cca06fcb 07:18:06 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 07:18:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:18:06 ---> Running in cb5e145a0ef6 07:18:06 Removing intermediate container cb5e145a0ef6 07:18:06 ---> ae99a987018d 07:18:06 Step 9/21 : COPY . . 07:18:07 ---> 35e5377b7ce2 07:18:07 Step 10/21 : ARG MAKE='make build' 07:18:07 ---> Running in 2cf4e54df65c 07:18:07 Removing intermediate container 2cf4e54df65c 07:18:07 ---> a45fab519ecb 07:18:07 Step 11/21 : RUN $MAKE 07:18:07 ---> Running in 8999082e0b20 07:18:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.3-dev.2" -o cmd/device-virtual ./cmd 07:18:08 OK: 221 MiB in 53 packages 07:18:09 Removing intermediate container f29b63d27d4f 07:18:09 ---> 9bb3b8818b7b 07:18:09 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 07:18:09 ---> Running in 8a383f42efaf 07:18:09 Removing intermediate container 8a383f42efaf 07:18:09 ---> 82e0e5e67137 07:18:09 Step 9/21 : COPY . . 07:18:10 ---> dd1fee0e696f 07:18:10 Step 10/21 : ARG MAKE='make build' 07:18:10 ---> Running in 57e88ec66736 07:18:11 Removing intermediate container 57e88ec66736 07:18:11 ---> 434505e15464 07:18:11 Step 11/21 : RUN $MAKE 07:18:11 ---> Running in d10ee1f257f2 07:18:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.3-dev.2" -o cmd/device-virtual ./cmd 07:18:20 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:18:22 Removing intermediate container 8999082e0b20 07:18:22 ---> 29898fe68d4e 07:18:22 Step 12/21 : FROM alpine 07:18:23 latest: Pulling from library/alpine 07:18:23 df20fa9351a1: Already exists 07:18:23 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 07:18:23 Status: Downloaded newer image for alpine:latest 07:18:23 ---> a24bb4013296 07:18:23 Step 13/21 : ENV APP_PORT=49990 07:18:23 ---> Running in d59311940ffb 07:18:23 Removing intermediate container d59311940ffb 07:18:23 ---> b8b812177d68 07:18:23 Step 14/21 : EXPOSE $APP_PORT 07:18:23 ---> Running in 771a043ce169 07:18:24 Removing intermediate container 771a043ce169 07:18:24 ---> b65598757eec 07:18:24 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 07:18:24 ---> aeb92ebdc12f 07:18:24 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 07:18:24 ---> 7d25e83d1e5c 07:18:24 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 07:18:25 ---> 7b5bef199256 07:18:25 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 07:18:25 ---> Running in 27132b6d29ca 07:18:25 Removing intermediate container 27132b6d29ca 07:18:25 ---> c580a6d68e9c 07:18:25 Step 19/21 : LABEL arch=amd64 07:18:25 ---> Running in b9c473bb279c 07:18:25 Removing intermediate container b9c473bb279c 07:18:25 ---> 1c809226125a 07:18:25 Step 20/21 : LABEL git_sha=d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 07:18:25 ---> Running in b64e89eacab8 07:18:25 Removing intermediate container b64e89eacab8 07:18:25 ---> 4ca5c3d51f3f 07:18:25 Step 21/21 : LABEL version=1.2.3-dev.2 07:18:25 ---> Running in 3e119ed60f6d 07:18:25 Removing intermediate container 3e119ed60f6d 07:18:25 ---> ee418c694577 07:18:25 [Warning] One or more build-args [ARCH] were not consumed 07:18:25 Successfully built ee418c694577 07:18:25 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:18:26 provisioning config files... 07:18:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/19@tmp/config2745564183578464306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:26 nexus3.edgexfoundry.org:10001 07:18:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:27 Configure a credential helper to remove this warning. See 07:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:27 07:18:27 Login Succeeded 07:18:27 nexus3.edgexfoundry.org:10002 07:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:27 Configure a credential helper to remove this warning. See 07:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:27 07:18:27 Login Succeeded 07:18:27 nexus3.edgexfoundry.org:10003 07:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:27 Configure a credential helper to remove this warning. See 07:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:27 07:18:27 Login Succeeded 07:18:27 nexus3.edgexfoundry.org:10004 07:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:27 Configure a credential helper to remove this warning. See 07:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:27 07:18:27 Login Succeeded 07:18:27 docker.io 07:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:27 Configure a credential helper to remove this warning. See 07:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:27 07:18:27 Login Succeeded [Pipeline] } 07:18:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:18:28 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 07:18:28 d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 07:18:28 latest 07:18:28 1.2.3-dev.2 07:18:28 d9b83bd88a573ae11fcf404e5819c6bf4fe22e20-1.2.3-dev.2 07:18:28 master 07:18:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:18:28 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 [Pipeline] isUnix [Pipeline] sh 07:18:28 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 07:18:28 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:18:28 af82441842ca: Preparing 07:18:28 ed628bc83553: Preparing 07:18:28 8f7df64e9dcf: Preparing 07:18:28 50644c29ef5a: Preparing 07:18:28 50644c29ef5a: Layer already exists 07:18:28 ed628bc83553: Pushed 07:18:28 af82441842ca: Pushed 07:18:30 8f7df64e9dcf: Pushed 07:18:30 d9b83bd88a573ae11fcf404e5819c6bf4fe22e20: digest: sha256:e0cf7681f72c4867a6c3199325be59b306c8ea9682370e96bf90238077282981 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:18:30 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 07:18:30 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 07:18:30 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:18:30 af82441842ca: Preparing 07:18:30 ed628bc83553: Preparing 07:18:30 8f7df64e9dcf: Preparing 07:18:30 50644c29ef5a: Preparing 07:18:30 af82441842ca: Layer already exists 07:18:30 50644c29ef5a: Layer already exists 07:18:30 8f7df64e9dcf: Layer already exists 07:18:30 ed628bc83553: Layer already exists 07:18:30 latest: digest: sha256:e0cf7681f72c4867a6c3199325be59b306c8ea9682370e96bf90238077282981 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:18:31 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.3-dev.2 [Pipeline] isUnix [Pipeline] sh 07:18:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.3-dev.2 07:18:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:18:31 af82441842ca: Preparing 07:18:31 ed628bc83553: Preparing 07:18:31 8f7df64e9dcf: Preparing 07:18:31 50644c29ef5a: Preparing 07:18:31 ed628bc83553: Layer already exists 07:18:31 8f7df64e9dcf: Layer already exists 07:18:31 af82441842ca: Layer already exists 07:18:31 50644c29ef5a: Layer already exists 07:18:31 1.2.3-dev.2: digest: sha256:e0cf7681f72c4867a6c3199325be59b306c8ea9682370e96bf90238077282981 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:18:31 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20-1.2.3-dev.2 [Pipeline] isUnix [Pipeline] sh 07:18:32 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20-1.2.3-dev.2 07:18:32 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:18:32 af82441842ca: Preparing 07:18:32 ed628bc83553: Preparing 07:18:32 8f7df64e9dcf: Preparing 07:18:32 50644c29ef5a: Preparing 07:18:32 50644c29ef5a: Layer already exists 07:18:32 ed628bc83553: Layer already exists 07:18:32 af82441842ca: Layer already exists 07:18:32 8f7df64e9dcf: Layer already exists 07:18:32 d9b83bd88a573ae11fcf404e5819c6bf4fe22e20-1.2.3-dev.2: digest: sha256:e0cf7681f72c4867a6c3199325be59b306c8ea9682370e96bf90238077282981 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:18:32 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 07:18:32 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 07:18:32 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:18:32 af82441842ca: Preparing 07:18:32 ed628bc83553: Preparing 07:18:32 8f7df64e9dcf: Preparing 07:18:32 50644c29ef5a: Preparing 07:18:32 ed628bc83553: Layer already exists 07:18:32 af82441842ca: Layer already exists 07:18:32 50644c29ef5a: Layer already exists 07:18:32 8f7df64e9dcf: Layer already exists 07:18:32 master: digest: sha256:e0cf7681f72c4867a6c3199325be59b306c8ea9682370e96bf90238077282981 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:18:33 ===================================================== [Pipeline] echo 07:18:33 taggedImages: 07:18:33 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 07:18:33 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 07:18:33 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.3-dev.2 07:18:33 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20-1.2.3-dev.2 07:18:33 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] } [Pipeline] // script [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] } 07:18:45 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:18:53 Removing intermediate container d10ee1f257f2 07:18:53 ---> 922c7dc8da43 07:18:53 Step 12/21 : FROM alpine 07:18:53 latest: Pulling from library/alpine 07:18:53 b538f80385f9: Already exists 07:18:53 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 07:18:53 Status: Downloaded newer image for alpine:latest 07:18:53 ---> 62ee0e9f8440 07:18:53 Step 13/21 : ENV APP_PORT=49990 07:18:53 ---> Running in 0adabf3b78f5 07:18:53 Removing intermediate container 0adabf3b78f5 07:18:53 ---> 8f835d391d11 07:18:53 Step 14/21 : EXPOSE $APP_PORT 07:18:53 ---> Running in ca765a3b6a4a 07:18:54 Removing intermediate container ca765a3b6a4a 07:18:54 ---> 66b3aecbffa8 07:18:54 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 07:18:55 ---> 1991916a83b8 07:18:55 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 07:18:56 ---> b20af1aad8df 07:18:56 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 07:18:57 ---> 58daa58cc567 07:18:57 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 07:18:57 ---> Running in 3a737abc63cd 07:18:57 Removing intermediate container 3a737abc63cd 07:18:57 ---> 25e6dc3c44df 07:18:57 Step 19/21 : LABEL arch=arm64 07:18:57 ---> Running in 9cf2d657ce2e 07:18:58 Removing intermediate container 9cf2d657ce2e 07:18:58 ---> 01b3073775d7 07:18:58 Step 20/21 : LABEL git_sha=d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 07:18:58 ---> Running in 49122ee983f5 07:18:58 Removing intermediate container 49122ee983f5 07:18:58 ---> 2f9a8df8b25f 07:18:58 Step 21/21 : LABEL version=1.2.3-dev.2 07:18:58 ---> Running in f87b6211cfd5 07:18:59 Removing intermediate container f87b6211cfd5 07:18:59 ---> 187cac4dcf59 07:18:59 [Warning] One or more build-args [ARCH] were not consumed 07:18:59 Successfully built 187cac4dcf59 07:18:59 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:18:59 provisioning config files... 07:18:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/19@tmp/config8528314783005903965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:00 nexus3.edgexfoundry.org:10001 07:19:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:00 Configure a credential helper to remove this warning. See 07:19:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:00 07:19:00 Login Succeeded 07:19:00 nexus3.edgexfoundry.org:10002 07:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:01 Configure a credential helper to remove this warning. See 07:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:01 07:19:01 Login Succeeded 07:19:01 nexus3.edgexfoundry.org:10003 07:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:01 Configure a credential helper to remove this warning. See 07:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:01 07:19:01 Login Succeeded 07:19:01 nexus3.edgexfoundry.org:10004 07:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:02 Configure a credential helper to remove this warning. See 07:19:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:02 07:19:02 Login Succeeded 07:19:02 docker.io 07:19:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:03 Configure a credential helper to remove this warning. See 07:19:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:03 07:19:03 Login Succeeded [Pipeline] } 07:19:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:19:03 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 07:19:03 d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 07:19:03 latest 07:19:03 1.2.3-dev.2 07:19:03 d9b83bd88a573ae11fcf404e5819c6bf4fe22e20-1.2.3-dev.2 07:19:03 master 07:19:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:19:04 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 [Pipeline] isUnix [Pipeline] sh 07:19:04 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 07:19:04 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:19:04 c6b8f219a7e2: Preparing 07:19:04 217cfb725349: Preparing 07:19:04 db5a7e833a77: Preparing 07:19:04 e2f13739ad41: Preparing 07:19:04 e2f13739ad41: Layer already exists 07:19:04 217cfb725349: Pushed 07:19:04 c6b8f219a7e2: Pushed 07:19:08 db5a7e833a77: Pushed 07:19:08 d9b83bd88a573ae11fcf404e5819c6bf4fe22e20: digest: sha256:61588c9f6bbfd51cedbabc7e3eccd69cbddd97fb15579f7ab05ef688a0cf7e4b size: 1155 [Pipeline] isUnix [Pipeline] sh 07:19:08 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:19:08 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 07:19:08 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:19:08 c6b8f219a7e2: Preparing 07:19:08 217cfb725349: Preparing 07:19:08 db5a7e833a77: Preparing 07:19:08 e2f13739ad41: Preparing 07:19:08 e2f13739ad41: Layer already exists 07:19:08 217cfb725349: Layer already exists 07:19:08 db5a7e833a77: Layer already exists 07:19:08 c6b8f219a7e2: Layer already exists 07:19:08 latest: digest: sha256:61588c9f6bbfd51cedbabc7e3eccd69cbddd97fb15579f7ab05ef688a0cf7e4b size: 1155 [Pipeline] isUnix [Pipeline] sh 07:19:09 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.3-dev.2 [Pipeline] isUnix [Pipeline] sh 07:19:09 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.3-dev.2 07:19:09 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:19:09 c6b8f219a7e2: Preparing 07:19:09 217cfb725349: Preparing 07:19:09 db5a7e833a77: Preparing 07:19:09 e2f13739ad41: Preparing 07:19:09 217cfb725349: Layer already exists 07:19:09 db5a7e833a77: Layer already exists 07:19:09 e2f13739ad41: Layer already exists 07:19:09 c6b8f219a7e2: Layer already exists 07:19:09 1.2.3-dev.2: digest: sha256:61588c9f6bbfd51cedbabc7e3eccd69cbddd97fb15579f7ab05ef688a0cf7e4b size: 1155 [Pipeline] isUnix [Pipeline] sh 07:19:10 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20-1.2.3-dev.2 [Pipeline] isUnix [Pipeline] sh 07:19:10 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20-1.2.3-dev.2 07:19:10 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:19:10 c6b8f219a7e2: Preparing 07:19:10 217cfb725349: Preparing 07:19:10 db5a7e833a77: Preparing 07:19:10 e2f13739ad41: Preparing 07:19:10 217cfb725349: Layer already exists 07:19:10 db5a7e833a77: Layer already exists 07:19:10 c6b8f219a7e2: Layer already exists 07:19:10 e2f13739ad41: Layer already exists 07:19:10 d9b83bd88a573ae11fcf404e5819c6bf4fe22e20-1.2.3-dev.2: digest: sha256:61588c9f6bbfd51cedbabc7e3eccd69cbddd97fb15579f7ab05ef688a0cf7e4b size: 1155 [Pipeline] isUnix [Pipeline] sh 07:19:11 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 07:19:11 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 07:19:11 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:19:11 c6b8f219a7e2: Preparing 07:19:11 217cfb725349: Preparing 07:19:11 db5a7e833a77: Preparing 07:19:11 e2f13739ad41: Preparing 07:19:11 e2f13739ad41: Layer already exists 07:19:11 217cfb725349: Layer already exists 07:19:11 c6b8f219a7e2: Layer already exists 07:19:11 db5a7e833a77: Layer already exists 07:19:11 master: digest: sha256:61588c9f6bbfd51cedbabc7e3eccd69cbddd97fb15579f7ab05ef688a0cf7e4b size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:19:12 ===================================================== [Pipeline] echo 07:19:12 taggedImages: 07:19:12 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 07:19:12 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 07:19:12 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.3-dev.2 07:19:12 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20-1.2.3-dev.2 07:19:12 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [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 07:19:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 07:19:13 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 07:19:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:19:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 07:19:13 07:19:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 07:19:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 07:19:14 1.317.0: Pulling from edgex-devops/edgex-snyk-go 07:19:14 cbdbe7a5bc2a: Pulling fs layer 07:19:14 408f87550127: Pulling fs layer 07:19:14 fe522b08c979: Pulling fs layer 07:19:14 221eaa008020: Pulling fs layer 07:19:14 2a4607e5d6b9: Pulling fs layer 07:19:14 8f79b27c4fd2: Pulling fs layer 07:19:14 e5c8dbe1645b: Pulling fs layer 07:19:14 23e8b3b47431: Pulling fs layer 07:19:14 5c568d65a230: Pulling fs layer 07:19:14 23e8b3b47431: Waiting 07:19:14 2a4607e5d6b9: Waiting 07:19:14 5c568d65a230: Waiting 07:19:14 8f79b27c4fd2: Waiting 07:19:14 e5c8dbe1645b: Waiting 07:19:14 221eaa008020: Waiting 07:19:14 fe522b08c979: Verifying Checksum 07:19:14 fe522b08c979: Download complete 07:19:14 408f87550127: Download complete 07:19:14 2a4607e5d6b9: Verifying Checksum 07:19:14 2a4607e5d6b9: Download complete 07:19:14 8f79b27c4fd2: Download complete 07:19:14 cbdbe7a5bc2a: Download complete 07:19:14 cbdbe7a5bc2a: Pull complete 07:19:14 e5c8dbe1645b: Verifying Checksum 07:19:14 e5c8dbe1645b: Download complete 07:19:14 408f87550127: Pull complete 07:19:15 23e8b3b47431: Verifying Checksum 07:19:15 23e8b3b47431: Download complete 07:19:15 fe522b08c979: Pull complete 07:19:15 5c568d65a230: Verifying Checksum 07:19:15 5c568d65a230: Download complete 07:19:15 221eaa008020: Verifying Checksum 07:19:15 221eaa008020: Download complete 07:19:21 221eaa008020: Pull complete 07:19:21 2a4607e5d6b9: Pull complete 07:19:21 8f79b27c4fd2: Pull complete 07:19:23 e5c8dbe1645b: Pull complete 07:19:27 23e8b3b47431: Pull complete 07:19:28 5c568d65a230: Pull complete 07:19:28 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 07:19:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 07:19:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 07:19:28 prd-centos7-docker-4c-2g-821 does not seem to be running inside a container 07:19:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/foundry_device-virtual-go_master:/ws -w /ws --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 07:19:29 $ docker top 10b9a449c6f5fd7e2e8c813df05249d3813560189171ff098c47e8ffeaf9f531 -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:30 + snyk monitor '--org=edgex-jenkins' 07:19:40 07:19:40 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 07:19:40 07:19:40 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/fd0ee0b2-3ceb-412c-a0fb-af6f03642b37 07:19:40 07:19:40 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:19:40 07:19:40 [Pipeline] } 07:19:40 $ docker stop --time=1 10b9a449c6f5fd7e2e8c813df05249d3813560189171ff098c47e8ffeaf9f531 07:19:42 $ docker rm -f 10b9a449c6f5fd7e2e8c813df05249d3813560189171ff098c47e8ffeaf9f531 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:19:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 07:19:43 07:19:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 07:19:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 07:19:44 latest: Pulling from edgex-devops/edgex-klar 07:19:44 e7c96db7181b: Pulling fs layer 07:19:44 1868ca2cb446: Pulling fs layer 07:19:44 136be5d0fe8e: Pulling fs layer 07:19:44 894bfe63afcb: Pulling fs layer 07:19:44 894bfe63afcb: Waiting 07:19:44 1868ca2cb446: Verifying Checksum 07:19:44 1868ca2cb446: Download complete 07:19:44 136be5d0fe8e: Verifying Checksum 07:19:44 136be5d0fe8e: Download complete 07:19:44 e7c96db7181b: Verifying Checksum 07:19:44 e7c96db7181b: Download complete 07:19:44 894bfe63afcb: Verifying Checksum 07:19:44 894bfe63afcb: Download complete 07:19:44 e7c96db7181b: Pull complete 07:19:44 1868ca2cb446: Pull complete 07:19:44 136be5d0fe8e: Pull complete 07:19:44 894bfe63afcb: Pull complete 07:19:44 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 07:19:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 07:19:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 07:19:44 prd-centos7-docker-4c-2g-821 does not seem to be running inside a container 07:19:45 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 07:19:46 $ docker top de2919a42dad1c81867d5edb25448c6e5aa1a635f0608352a8886ee9afd49f79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:46 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 07:19:46 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 07:19:51 $ docker stop --time=1 de2919a42dad1c81867d5edb25448c6e5aa1a635f0608352a8886ee9afd49f79 07:19:52 $ docker rm -f de2919a42dad1c81867d5edb25448c6e5aa1a635f0608352a8886ee9afd49f79 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:19:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 07:19:53 . [Pipeline] withDockerContainer 07:19:53 prd-centos7-docker-4c-2g-821 does not seem to be running inside a container 07:19:53 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 07:19:53 $ docker top b16ac5e2a39bce5d2324313d123b5da78a1872e784a26f9f89554a3eb8cf6563 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:54 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 07:19:54 + tee 07:19:54 clair timeout 1m0s 07:19:54 docker timeout: 1m0s 07:19:54 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 07:19:55 $ docker stop --time=1 b16ac5e2a39bce5d2324313d123b5da78a1872e784a26f9f89554a3eb8cf6563 07:19:56 $ docker rm -f b16ac5e2a39bce5d2324313d123b5da78a1872e784a26f9f89554a3eb8cf6563 [Pipeline] // withDockerContainer [Pipeline] sh 07:19:56 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 07:19:56 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_d9b83bd88a573ae11fcf404e5819c6bf4fe22e20.html [Pipeline] writeFile [Pipeline] step 07:19:56 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 07:19:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 07:19:57 . [Pipeline] withDockerContainer 07:19:57 prd-centos7-docker-4c-2g-821 does not seem to be running inside a container 07:19:57 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 07:19:57 $ docker top 4ff94ed48124c103ebd7241e14e7258f05b201bc1525b8b7cb2924af8b02f3ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:58 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 07:19:58 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 07:20:01 $ docker stop --time=1 4ff94ed48124c103ebd7241e14e7258f05b201bc1525b8b7cb2924af8b02f3ba 07:20:03 $ docker rm -f 4ff94ed48124c103ebd7241e14e7258f05b201bc1525b8b7cb2924af8b02f3ba [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:20:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 07:20:03 . [Pipeline] withDockerContainer 07:20:03 prd-centos7-docker-4c-2g-821 does not seem to be running inside a container 07:20:03 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 07:20:04 $ docker top ce733bb795df10d990a7f4aae8216e438e634acf5e1d361f3ccf383604083143 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:05 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 07:20:05 + tee 07:20:05 clair timeout 1m0s 07:20:05 docker timeout: 1m0s 07:20:05 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 07:20:05 $ docker stop --time=1 ce733bb795df10d990a7f4aae8216e438e634acf5e1d361f3ccf383604083143 07:20:07 $ docker rm -f ce733bb795df10d990a7f4aae8216e438e634acf5e1d361f3ccf383604083143 [Pipeline] // withDockerContainer [Pipeline] sh 07:20:07 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 07:20:07 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_d9b83bd88a573ae11fcf404e5819c6bf4fe22e20.html [Pipeline] writeFile [Pipeline] step 07:20:07 Archiving artifacts [Pipeline] } [Pipeline] // script [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 07:20:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:20:08 . [Pipeline] withDockerContainer 07:20:08 prd-centos7-docker-4c-2g-821 does not seem to be running inside a container 07:20:08 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:20:09 $ docker top b737cce9c16c2f627c39e622d2140866df228065d60b5be719fb41bce7d5d9d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:20:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:09 [ssh-agent] Looking for ssh-agent implementation... 07:20:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:09 $ docker exec b737cce9c16c2f627c39e622d2140866df228065d60b5be719fb41bce7d5d9d6 ssh-agent 07:20:09 SSH_AUTH_SOCK=/tmp/ssh-tDi3mmgVgIGD/agent.11 07:20:09 SSH_AGENT_PID=16 07:20:09 Running ssh-add (command line suppressed) 07:20:10 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6111074928246155917.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6111074928246155917.key) 07:20:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:10 + git semver tag 07:20:10 # -> Open(): unable to determine branch for HEAD 07:20:10 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:20:10 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:20:10 # $SEMVER_REMOTE_NAME = origin 07:20:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:20:10 # $SEMVER_USER_NAME = edgex-jenkins 07:20:10 # $SEMVER_BRANCH = master 07:20:10 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 07:20:10 # d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 HEAD 07:20:10 # -> Force: false 07:20:10 # 2420e6b477cb1488854c44107d127431c2aebd6b refs/tags/v1.2.3-dev.2 [Pipeline] } 07:20:10 $ docker exec --env ******** --env ******** b737cce9c16c2f627c39e622d2140866df228065d60b5be719fb41bce7d5d9d6 ssh-agent -k 07:20:10 unset SSH_AUTH_SOCK; 07:20:10 unset SSH_AGENT_PID; 07:20:10 echo Agent pid 16 killed; 07:20:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:20:11 + git semver [Pipeline] } 07:20:11 $ docker stop --time=1 b737cce9c16c2f627c39e622d2140866df228065d60b5be719fb41bce7d5d9d6 07:20:12 $ docker rm -f b737cce9c16c2f627c39e622d2140866df228065d60b5be719fb41bce7d5d9d6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:20:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:20:12 07:20:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:20:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:20:13 0.23.1-centos7: Pulling from edgex-lftools 07:20:13 ab5ef0e58194: Pulling fs layer 07:20:13 9712f1f96733: Pulling fs layer 07:20:13 63f879dbbcfc: Pulling fs layer 07:20:13 0d9ebad4ef96: Pulling fs layer 07:20:13 e9a5061849ea: Pulling fs layer 07:20:13 d747dcd14b5f: Pulling fs layer 07:20:13 2de7ff778b66: Pulling fs layer 07:20:13 e9a5061849ea: Waiting 07:20:13 d747dcd14b5f: Waiting 07:20:13 2de7ff778b66: Waiting 07:20:13 0d9ebad4ef96: Waiting 07:20:13 9712f1f96733: Download complete 07:20:13 63f879dbbcfc: Verifying Checksum 07:20:13 63f879dbbcfc: Download complete 07:20:13 e9a5061849ea: Verifying Checksum 07:20:13 e9a5061849ea: Download complete 07:20:13 d747dcd14b5f: Verifying Checksum 07:20:13 d747dcd14b5f: Download complete 07:20:14 2de7ff778b66: Verifying Checksum 07:20:14 2de7ff778b66: Download complete 07:20:14 0d9ebad4ef96: Verifying Checksum 07:20:14 0d9ebad4ef96: Download complete 07:20:14 ab5ef0e58194: Verifying Checksum 07:20:14 ab5ef0e58194: Download complete 07:20:19 ab5ef0e58194: Pull complete 07:20:19 9712f1f96733: Pull complete 07:20:21 63f879dbbcfc: Pull complete 07:20:27 0d9ebad4ef96: Pull complete 07:20:27 e9a5061849ea: Pull complete 07:20:27 d747dcd14b5f: Pull complete 07:20:31 2de7ff778b66: Pull complete 07:20:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:20:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:20:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:20:31 prd-centos7-docker-4c-2g-821 does not seem to be running inside a container 07:20:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:20:35 $ docker top f068954ae5ef0a6e903fc748229859e6a8313061f9002830ae044b0d5db92fbb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:20:35 provisioning config files... 07:20:35 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7998926878035743698tmp 07:20:35 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6750909642065240316tmp 07:20:35 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1668035238267047394tmp [Pipeline] { [Pipeline] echo 07:20:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:20:36 ---> sigul-configuration.sh 07:20:36 gpg: directory `/root/.gnupg' created 07:20:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:20:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:20:36 gpg: keyring `/root/.gnupg/secring.gpg' created 07:20:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:20:36 gpg: CAST5 encrypted data 07:20:36 gpg: encrypted with 1 passphrase 07:20:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:20:36 + mkdir /home/jenkins 07:20:36 + mkdir /home/jenkins/sigul [Pipeline] sh 07:20:37 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 07:20:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:20:37 ---> sigul-install.sh 07:20:42 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 07:20:42 + git tag --list 07:20:42 v1.2.3-dev.2 [Pipeline] sh 07:20:43 + lftools sign git-tag v1.2.3-dev.2 07:20:44 Signing Git tag with Sigul... 07:20:44 Signing v1.2.3-dev.2 [Pipeline] echo 07:20:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:20:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:20:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:20:45 $ docker stop --time=1 f068954ae5ef0a6e903fc748229859e6a8313061f9002830ae044b0d5db92fbb 07:20:47 $ docker rm -f f068954ae5ef0a6e903fc748229859e6a8313061f9002830ae044b0d5db92fbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 07:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:20:48 . [Pipeline] withDockerContainer 07:20:48 prd-centos7-docker-4c-2g-821 does not seem to be running inside a container 07:20:48 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:20:48 $ docker top 9b8cfae67be171532aa8f9a81ff8e64578ee83f783831645da92cf96c010796b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:20:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:49 [ssh-agent] Looking for ssh-agent implementation... 07:20:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:49 $ docker exec 9b8cfae67be171532aa8f9a81ff8e64578ee83f783831645da92cf96c010796b ssh-agent 07:20:49 SSH_AUTH_SOCK=/tmp/ssh-JoekKsSAQKas/agent.12 07:20:49 SSH_AGENT_PID=17 07:20:49 Running ssh-add (command line suppressed) 07:20:49 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_3035051633249723831.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_3035051633249723831.key) 07:20:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:50 + git semver bump pre 07:20:50 # -> Open(): unable to determine branch for HEAD 07:20:50 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:20:50 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:20:50 # $SEMVER_REMOTE_NAME = origin 07:20:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:20:50 # $SEMVER_USER_NAME = edgex-jenkins 07:20:50 # $SEMVER_BRANCH = master 07:20:50 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 07:20:50 1.2.3-dev.3 [Pipeline] } 07:20:50 $ docker exec --env ******** --env ******** 9b8cfae67be171532aa8f9a81ff8e64578ee83f783831645da92cf96c010796b ssh-agent -k 07:20:50 unset SSH_AUTH_SOCK; 07:20:50 unset SSH_AGENT_PID; 07:20:50 echo Agent pid 17 killed; 07:20:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:20:50 + git semver [Pipeline] } 07:20:50 $ docker stop --time=1 9b8cfae67be171532aa8f9a81ff8e64578ee83f783831645da92cf96c010796b 07:20:52 $ docker rm -f 9b8cfae67be171532aa8f9a81ff8e64578ee83f783831645da92cf96c010796b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:20:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:20:52 . [Pipeline] withDockerContainer 07:20:52 prd-centos7-docker-4c-2g-821 does not seem to be running inside a container 07:20:52 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:20:53 $ docker top 93237fefbc46fc6901cf6d5124b1f6137f286359b7d8e5e02bca0082331b6520 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:20:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:53 [ssh-agent] Looking for ssh-agent implementation... 07:20:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:53 $ docker exec 93237fefbc46fc6901cf6d5124b1f6137f286359b7d8e5e02bca0082331b6520 ssh-agent 07:20:54 SSH_AUTH_SOCK=/tmp/ssh-rXOU2I0Jq23k/agent.12 07:20:54 SSH_AGENT_PID=17 07:20:54 Running ssh-add (command line suppressed) 07:20:54 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_9028264900096013966.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_9028264900096013966.key) 07:20:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:54 + git semver push 07:20:54 # -> Open(): unable to determine branch for HEAD 07:20:54 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:20:54 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:20:54 # $SEMVER_REMOTE_NAME = origin 07:20:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:20:54 # $SEMVER_USER_NAME = edgex-jenkins 07:20:54 # $SEMVER_BRANCH = master 07:20:54 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 07:21:01 $ docker exec --env ******** --env ******** 93237fefbc46fc6901cf6d5124b1f6137f286359b7d8e5e02bca0082331b6520 ssh-agent -k 07:21:01 unset SSH_AUTH_SOCK; 07:21:01 unset SSH_AGENT_PID; 07:21:01 echo Agent pid 17 killed; 07:21:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:21:01 + git semver [Pipeline] } 07:21:01 $ docker stop --time=1 93237fefbc46fc6901cf6d5124b1f6137f286359b7d8e5e02bca0082331b6520 07:21:03 $ docker rm -f 93237fefbc46fc6901cf6d5124b1f6137f286359b7d8e5e02bca0082331b6520 [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 07:21:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:21:04 ---> package-listing.sh 07:21:04 ++ facter osfamily 07:21:04 ++ tr '[:upper:]' '[:lower:]' 07:21:04 + OS_FAMILY=redhat 07:21:04 + workspace=/w/workspace/foundry_device-virtual-go_master 07:21:04 + START_PACKAGES=/tmp/packages_start.txt 07:21:04 + END_PACKAGES=/tmp/packages_end.txt 07:21:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:21:04 + PACKAGES=/tmp/packages_start.txt 07:21:04 + '[' /w/workspace/foundry_device-virtual-go_master ']' 07:21:04 + PACKAGES=/tmp/packages_end.txt 07:21:04 + case "${OS_FAMILY}" in 07:21:04 + rpm -qa 07:21:04 + sort 07:21:09 + '[' -f /tmp/packages_start.txt ']' 07:21:09 + '[' -f /tmp/packages_end.txt ']' 07:21:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:21:09 + '[' /w/workspace/foundry_device-virtual-go_master ']' 07:21:09 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 07:21:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 07:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:21:09 07:21:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:21:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:21:09 alpine: Pulling from edgex-lftools-log-publisher 07:21:09 c9b1b535fdd9: Pulling fs layer 07:21:09 2cc5ad85d9ab: Pulling fs layer 07:21:09 756a868c4378: Pulling fs layer 07:21:09 444b2fc9a129: Pulling fs layer 07:21:09 ea15f1150254: Pulling fs layer 07:21:09 41b27a9f41bf: Pulling fs layer 07:21:09 28c525ee5125: Pulling fs layer 07:21:09 094b1ea09ed8: Pulling fs layer 07:21:09 138eaada9080: Pulling fs layer 07:21:09 0622d0fa9048: Pulling fs layer 07:21:09 41b27a9f41bf: Waiting 07:21:09 28c525ee5125: Waiting 07:21:09 094b1ea09ed8: Waiting 07:21:09 138eaada9080: Waiting 07:21:09 0622d0fa9048: Waiting 07:21:09 444b2fc9a129: Waiting 07:21:09 ea15f1150254: Waiting 07:21:09 2cc5ad85d9ab: Download complete 07:21:09 444b2fc9a129: Verifying Checksum 07:21:09 444b2fc9a129: Download complete 07:21:09 c9b1b535fdd9: Verifying Checksum 07:21:09 c9b1b535fdd9: Download complete 07:21:09 ea15f1150254: Download complete 07:21:10 28c525ee5125: Verifying Checksum 07:21:10 28c525ee5125: Download complete 07:21:10 756a868c4378: Verifying Checksum 07:21:10 756a868c4378: Download complete 07:21:10 138eaada9080: Verifying Checksum 07:21:10 138eaada9080: Download complete 07:21:10 0622d0fa9048: Verifying Checksum 07:21:10 0622d0fa9048: Download complete 07:21:10 094b1ea09ed8: Verifying Checksum 07:21:10 094b1ea09ed8: Download complete 07:21:10 c9b1b535fdd9: Pull complete 07:21:11 2cc5ad85d9ab: Pull complete 07:21:11 41b27a9f41bf: Download complete 07:21:12 756a868c4378: Pull complete 07:21:13 444b2fc9a129: Pull complete 07:21:13 ea15f1150254: Pull complete 07:21:16 41b27a9f41bf: Pull complete 07:21:17 28c525ee5125: Pull complete 07:21:20 094b1ea09ed8: Pull complete 07:21:20 138eaada9080: Pull complete 07:21:20 0622d0fa9048: Pull complete 07:21:20 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:21:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:21:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:21:20 prd-centos7-docker-4c-2g-821 does not seem to be running inside a container 07:21:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:21:23 $ docker top 4bdb5e1f22784a7f7aac7f4440b3b8d4aaf9fca9138f9f31b529a0bb606646e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:21:23 provisioning config files... 07:21:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4814981000183911087tmp [Pipeline] { [Pipeline] echo 07:21:23 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:21:23 ---> create-netrc.sh [Pipeline] echo 07:21:23 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:21:24 ---> logs-deploy.sh 07:21:24 + ARCHIVE_ARTIFACTS= 07:21:24 + LOGS_SERVER=https://logs.edgexfoundry.org 07:21:24 + '[' https://logs.edgexfoundry.org == None ']' 07:21:24 + NEXUS_URL=https://nexus.edgexfoundry.org 07:21:24 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/19 07:21:24 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/19/ 07:21:24 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/19 /w/workspace/foundry_device-virtual-go_master 07:21:25 Archives upload complete. 07:21:25 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/19 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/19/ 07:21:26 ---> uname -a: 07:21:26 Linux 4bdb5e1f2278 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 07:21:26 07:21:26 07:21:26 ---> lscpu: 07:21:26 Architecture: x86_64 07:21:26 CPU op-mode(s): 32-bit, 64-bit 07:21:26 Byte Order: Little Endian 07:21:26 Address sizes: 40 bits physical, 48 bits virtual 07:21:26 CPU(s): 4 07:21:26 On-line CPU(s) list: 0-3 07:21:26 Thread(s) per core: 1 07:21:26 Core(s) per socket: 1 07:21:26 Socket(s): 4 07:21:26 NUMA node(s): 1 07:21:26 Vendor ID: GenuineIntel 07:21:26 CPU family: 6 07:21:26 Model: 44 07:21:26 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:21:26 Stepping: 1 07:21:26 CPU MHz: 2933.396 07:21:26 BogoMIPS: 5866.79 07:21:26 Virtualization: VT-x 07:21:26 Hypervisor vendor: KVM 07:21:26 Virtualization type: full 07:21:26 L1d cache: 128 KiB 07:21:26 L1i cache: 128 KiB 07:21:26 L2 cache: 16 MiB 07:21:26 L3 cache: 64 MiB 07:21:26 NUMA node0 CPU(s): 0-3 07:21:26 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:21:26 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:21:26 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:21:26 Vulnerability Meltdown: Mitigation; PTI 07:21:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:21:26 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:21:26 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:21:26 Vulnerability Tsx async abort: Not affected 07:21:26 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 07:21:26 07:21:26 07:21:26 ---> nproc: 07:21:26 4 07:21:26 07:21:26