Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4d5f8ce0290f23e35ff78bafcbacaa37d533849c Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 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 SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-568 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 Fetching without tags Checking out Revision 4d5f8ce0290f23e35ff78bafcbacaa37d533849c (master) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-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 4d5f8ce0290f23e35ff78bafcbacaa37d533849c # timeout=10 Commit message: "Merge pull request #120 from hahattan/issue-117/118" > git rev-list --no-walk 83d7a5c431fe81e17b953abf687c395c5af67887 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:10:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:10:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:10:28 ========================================================= 10:10:28 EdgeX Global Pipelines Version Info 10:10:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:10:30 ------------------- 10:10:30 stable info: 10:10:30 ------------------- 10:10:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:10:30 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 10:10:30 Message: update stable to v1.0.99 10:10:31 ------------------- 10:10:31 experimental info: 10:10:31 ------------------- 10:10:31 Commited By: **** collab-it+edgex@linuxfoundation.org 10:10:31 Commit SHA: 78d567e8c35819a45e10bd2b75e1138b16507148 10:10:31 Message: update experimental to v1.0.101 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 10:10:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:10:33 10:10:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:10:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:10:33 latest: Pulling from edgex-devops/git-semver 10:10:33 31603596830f: Pulling fs layer 10:10:33 2a8b12db71e7: Pulling fs layer 10:10:33 6ca5941a6612: Pulling fs layer 10:10:33 ecc8261a40a4: Pulling fs layer 10:10:33 ecc8261a40a4: Waiting 10:10:33 2a8b12db71e7: Verifying Checksum 10:10:33 2a8b12db71e7: Download complete 10:10:33 31603596830f: Download complete 10:10:34 6ca5941a6612: Verifying Checksum 10:10:34 6ca5941a6612: Download complete 10:10:34 ecc8261a40a4: Verifying Checksum 10:10:34 ecc8261a40a4: Download complete 10:10:34 31603596830f: Pull complete 10:10:34 2a8b12db71e7: Pull complete 10:10:35 6ca5941a6612: Pull complete 10:10:35 ecc8261a40a4: Pull complete 10:10:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:10:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:10:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:10:35 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 10:10:35 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:10:37 $ docker top e929a85f3c45d0fd91d84256382d3db413e322607250b9c6aae5c4d5c9ff5044 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:10:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:37 [ssh-agent] Looking for ssh-agent implementation... 10:10:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:37 $ docker exec e929a85f3c45d0fd91d84256382d3db413e322607250b9c6aae5c4d5c9ff5044 ssh-agent 10:10:37 SSH_AUTH_SOCK=/tmp/ssh-QOHmr9bfFrJW/agent.11 10:10:37 SSH_AGENT_PID=16 10:10:37 Running ssh-add (command line suppressed) 10:10:38 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_3209190214152466540.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_3209190214152466540.key) 10:10:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:38 + git describe --exact-match --tags HEAD 10:10:38 fatal: No names found, cannot describe anything. [Pipeline] } 10:10:38 $ docker exec --env ******** --env ******** e929a85f3c45d0fd91d84256382d3db413e322607250b9c6aae5c4d5c9ff5044 ssh-agent -k 10:10:38 unset SSH_AUTH_SOCK; 10:10:38 unset SSH_AGENT_PID; 10:10:38 echo Agent pid 16 killed; 10:10:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:10:38 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:10:38 This usually means this commit has not been tagged. [Pipeline] sshagent 10:10:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:38 [ssh-agent] Looking for ssh-agent implementation... 10:10:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:39 $ docker exec e929a85f3c45d0fd91d84256382d3db413e322607250b9c6aae5c4d5c9ff5044 ssh-agent 10:10:39 SSH_AUTH_SOCK=/tmp/ssh-f4AauEFFHFwH/agent.44 10:10:39 SSH_AGENT_PID=49 10:10:39 Running ssh-add (command line suppressed) 10:10:39 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5814738191382186544.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5814738191382186544.key) 10:10:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:39 + git semver init 10:10:39 # -> Open(): unable to determine branch for HEAD 10:10:39 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 10:10:39 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 10:10:39 # $SEMVER_REMOTE_NAME = origin 10:10:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:10:39 # $SEMVER_USER_NAME = edgex-jenkins 10:10:39 # $SEMVER_BRANCH = master 10:10:39 # $SEMVER_TEMP = /tmp/semver-777125443 10:10:39 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 10:10:39 # '/tmp/semver-777125443' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 10:10:39 # -> Force: false 10:10:39 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 10:10:39 $ docker exec --env ******** --env ******** e929a85f3c45d0fd91d84256382d3db413e322607250b9c6aae5c4d5c9ff5044 ssh-agent -k 10:10:40 unset SSH_AUTH_SOCK; 10:10:40 unset SSH_AGENT_PID; 10:10:40 echo Agent pid 49 killed; 10:10:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:10:40 + git semver [Pipeline] } 10:10:40 $ docker stop --time=1 e929a85f3c45d0fd91d84256382d3db413e322607250b9c6aae5c4d5c9ff5044 10:10:42 $ docker rm -f e929a85f3c45d0fd91d84256382d3db413e322607250b9c6aae5c4d5c9ff5044 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:10:42 Stashed 16 file(s) [Pipeline] echo 10:10:42 [edgeXSemver] initialized semver on version 1.2.3-dev.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 10:10:57 Still waiting to schedule task 10:10:57 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-568’ 10:10:57 Still waiting to schedule task 10:10:57 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 10:12:39 Running on prd-centos7-docker-4c-2g-571 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 10:12:40 Running in /w/workspace/device-virtual-go/18 [Pipeline] { [Pipeline] checkout 10:12:42 using credential edgex-jenkins-ssh 10:12:42 Cloning the remote Git repository 10:12:42 Cloning with configured refspecs honoured and without tags 10:12:43 Fetching without tags 10:12:42 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 10:12:42 > git init /w/workspace/device-virtual-go/18 # timeout=10 10:12:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 10:12:42 > git --version # timeout=10 10:12:42 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:12:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 10:12:43 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:12:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 10:12:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 10:12:43 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:12:43 Checking out Revision 4d5f8ce0290f23e35ff78bafcbacaa37d533849c (master) 10:12:43 > git config core.sparsecheckout # timeout=10 10:12:43 > git checkout -f 4d5f8ce0290f23e35ff78bafcbacaa37d533849c # timeout=10 10:12:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-570 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 10:12:45 Running in /w/workspace/device-virtual-go/18 [Pipeline] { [Pipeline] checkout 10:12:47 Commit message: "Merge pull request #120 from hahattan/issue-117/118" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:12:47 ========================================================= 10:12:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 10:12:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:12:48 + 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 . 10:12:49 Sending build context to Docker daemon 516.6kB 10:12:49 Step 1/8 : ARG BASE=golang:1.13-alpine 10:12:49 Step 2/8 : FROM ${BASE} 10:12:49 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 10:12:49 df20fa9351a1: Pulling fs layer 10:12:49 ed8968b2872e: Pulling fs layer 10:12:49 a92cc7c5fd73: Pulling fs layer 10:12:49 2dd03ba5bac4: Pulling fs layer 10:12:49 1e091d79d1de: Pulling fs layer 10:12:49 481702a1767f: Pulling fs layer 10:12:49 f64a6f60c768: Pulling fs layer 10:12:49 e78d2573fc39: Pulling fs layer 10:12:49 e876d2f968b6: Pulling fs layer 10:12:49 ce8a83651883: Pulling fs layer 10:12:49 07967f4d0e4b: Pulling fs layer 10:12:49 f64a6f60c768: Waiting 10:12:49 e78d2573fc39: Waiting 10:12:49 e876d2f968b6: Waiting 10:12:49 ce8a83651883: Waiting 10:12:49 07967f4d0e4b: Waiting 10:12:49 2dd03ba5bac4: Waiting 10:12:49 481702a1767f: Waiting 10:12:49 1e091d79d1de: Waiting 10:12:49 a92cc7c5fd73: Verifying Checksum 10:12:49 a92cc7c5fd73: Download complete 10:12:49 ed8968b2872e: Verifying Checksum 10:12:49 ed8968b2872e: Download complete 10:12:49 1e091d79d1de: Verifying Checksum 10:12:49 1e091d79d1de: Download complete 10:12:49 481702a1767f: Verifying Checksum 10:12:49 481702a1767f: Download complete 10:12:49 df20fa9351a1: Verifying Checksum 10:12:49 df20fa9351a1: Download complete 10:12:49 df20fa9351a1: Pull complete 10:12:50 using credential edgex-jenkins-ssh 10:12:50 Cloning the remote Git repository 10:12:50 Cloning with configured refspecs honoured and without tags 10:12:50 f64a6f60c768: Verifying Checksum 10:12:50 f64a6f60c768: Download complete 10:12:50 e876d2f968b6: Verifying Checksum 10:12:50 e876d2f968b6: Download complete 10:12:50 ce8a83651883: Verifying Checksum 10:12:50 ce8a83651883: Download complete 10:12:50 e78d2573fc39: Verifying Checksum 10:12:50 e78d2573fc39: Download complete 10:12:50 07967f4d0e4b: Verifying Checksum 10:12:50 07967f4d0e4b: Download complete 10:12:50 2dd03ba5bac4: Verifying Checksum 10:12:50 2dd03ba5bac4: Download complete 10:12:50 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 10:12:50 > git init /w/workspace/device-virtual-go/18 # timeout=10 10:12:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 10:12:50 > git --version # timeout=10 10:12:50 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:12:51 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 10:12:51 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:12:51 Fetching without tags 10:12:51 Checking out Revision 4d5f8ce0290f23e35ff78bafcbacaa37d533849c (master) 10:12:52 ed8968b2872e: Pull complete 10:12:52 a92cc7c5fd73: Pull complete 10:12:51 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 10:12:51 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 10:12:51 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:12:51 > git config core.sparsecheckout # timeout=10 10:12:51 > git checkout -f 4d5f8ce0290f23e35ff78bafcbacaa37d533849c # timeout=10 10:12:56 Commit message: "Merge pull request #120 from hahattan/issue-117/118" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:12:57 ========================================================= 10:12:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 10:12:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:12:57 2dd03ba5bac4: Pull complete 10:12:57 1e091d79d1de: Pull complete 10:12:57 481702a1767f: Pull complete 10:12:58 + 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 . 10:12:59 Sending build context to Docker daemon 516.6kB 10:12:59 Step 1/8 : ARG BASE=golang:1.13-alpine 10:12:59 Step 2/8 : FROM ${BASE} 10:12:59 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:12:59 b538f80385f9: Pulling fs layer 10:12:59 74f711af9a0d: Pulling fs layer 10:12:59 99f96fe45779: Pulling fs layer 10:12:59 fd7a069fd194: Pulling fs layer 10:12:59 66aa3694b03b: Pulling fs layer 10:12:59 170f70906a0f: Pulling fs layer 10:12:59 ad7c5574e4b9: Pulling fs layer 10:12:59 e772456be8f7: Pulling fs layer 10:12:59 c890913d741a: Pulling fs layer 10:12:59 2480fcc9aa5a: Pulling fs layer 10:12:59 09adf4765672: Pulling fs layer 10:12:59 fd7a069fd194: Waiting 10:12:59 66aa3694b03b: Waiting 10:12:59 170f70906a0f: Waiting 10:12:59 ad7c5574e4b9: Waiting 10:12:59 e772456be8f7: Waiting 10:12:59 c890913d741a: Waiting 10:12:59 2480fcc9aa5a: Waiting 10:12:59 09adf4765672: Waiting 10:12:59 99f96fe45779: Download complete 10:12:59 74f711af9a0d: Verifying Checksum 10:12:59 74f711af9a0d: Download complete 10:12:59 66aa3694b03b: Verifying Checksum 10:12:59 66aa3694b03b: Download complete 10:12:59 170f70906a0f: Verifying Checksum 10:12:59 170f70906a0f: Download complete 10:12:59 b538f80385f9: Verifying Checksum 10:13:00 b538f80385f9: Pull complete 10:13:01 74f711af9a0d: Pull complete 10:13:01 99f96fe45779: Pull complete 10:13:02 ad7c5574e4b9: Verifying Checksum 10:13:02 ad7c5574e4b9: Download complete 10:13:02 c890913d741a: Download complete 10:13:04 f64a6f60c768: Pull complete 10:13:04 2480fcc9aa5a: Verifying Checksum 10:13:04 2480fcc9aa5a: Download complete 10:13:04 09adf4765672: Verifying Checksum 10:13:04 09adf4765672: Download complete 10:13:04 e772456be8f7: Verifying Checksum 10:13:04 e772456be8f7: Download complete 10:13:05 fd7a069fd194: Download complete 10:13:06 e78d2573fc39: Pull complete 10:13:06 e876d2f968b6: Pull complete 10:13:08 ce8a83651883: Pull complete 10:13:08 07967f4d0e4b: Pull complete 10:13:08 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 10:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 10:13:08 ---> 5d7c900382c6 10:13:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 10:13:09 ---> Running in e1e702eb0271 10:13:09 Removing intermediate container e1e702eb0271 10:13:09 ---> 7af2df964f08 10:13:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:13:09 ---> Running in dcbfff485399 10:13:10 Removing intermediate container dcbfff485399 10:13:10 ---> 04446c7af665 10:13:10 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 10:13:10 ---> Running in 668de4420d61 10:13:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:13:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:13:12 (1/14) Installing libmagic (5.38-r0) 10:13:12 (2/14) Installing file (5.38-r0) 10:13:12 (3/14) Installing libc-dev (0.7.2-r3) 10:13:12 (4/14) Installing g++ (9.3.0-r2) 10:13:14 (5/14) Installing fortify-headers (1.1-r0) 10:13:14 (6/14) Installing patch (2.7.6-r6) 10:13:14 (7/14) Installing build-base (0.5-r2) 10:13:14 (8/14) Installing openssh-keygen (8.3_p1-r0) 10:13:14 (9/14) Installing libedit (20191231.3.1-r0) 10:13:15 (10/14) Installing openssh-client (8.3_p1-r0) 10:13:15 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 10:13:15 (12/14) Installing openssh-server-common (8.3_p1-r0) 10:13:15 (13/14) Installing openssh-server (8.3_p1-r0) 10:13:15 (14/14) Installing openssh (8.3_p1-r0) 10:13:15 Executing busybox-1.31.1-r16.trigger 10:13:15 OK: 237 MiB in 53 packages 10:13:17 fd7a069fd194: Pull complete 10:13:17 66aa3694b03b: Pull complete 10:13:17 170f70906a0f: Pull complete 10:13:19 Removing intermediate container 668de4420d61 10:13:19 ---> 46f3819d5142 10:13:19 Step 6/8 : WORKDIR /device-virtual-go 10:13:19 ---> Running in 18c2a2ad7c1c 10:13:19 Removing intermediate container 18c2a2ad7c1c 10:13:19 ---> e856c754bade 10:13:19 Step 7/8 : COPY . . 10:13:19 ---> 71b9d186ec73 10:13:19 Step 8/8 : RUN go mod download 10:13:20 ---> Running in e89446fde9d7 10:13:20 ad7c5574e4b9: Pull complete 10:13:22 go: finding github.com/BurntSushi/toml v0.3.1 10:13:22 go: finding github.com/OneOfOne/xxhash v1.2.6 10:13:22 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 10:13:22 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:13:22 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 10:13:22 go: finding github.com/bgentry/speakeasy v0.1.0 10:13:22 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 10:13:22 go: finding github.com/davecgh/go-spew v1.1.1 10:13:22 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 10:13:22 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 10:13:22 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 10:13:22 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 10:13:22 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 10:13:22 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 10:13:22 go: finding github.com/edsrzf/mmap-go v1.0.0 10:13:22 go: finding github.com/fatih/color v1.7.0 10:13:22 go: finding github.com/fxamacker/cbor/v2 v2.2.0 10:13:22 go: finding github.com/go-kit/kit v0.8.0 10:13:22 go: finding github.com/go-logfmt/logfmt v0.4.0 10:13:22 go: finding github.com/go-stack/stack v1.8.0 10:13:22 go: finding github.com/golang/snappy v0.0.1 10:13:22 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 10:13:22 go: finding github.com/google/uuid v1.1.0 10:13:22 go: finding github.com/gorilla/mux v1.7.1 10:13:22 go: finding github.com/hashicorp/consul/api v1.1.0 10:13:22 go: finding github.com/hashicorp/consul/sdk v0.1.1 10:13:22 go: finding github.com/hashicorp/errwrap v1.0.0 10:13:22 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 10:13:22 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 10:13:22 go: finding github.com/hashicorp/go-msgpack v0.5.3 10:13:22 go: finding github.com/hashicorp/go-multierror v1.0.0 10:13:22 go: finding github.com/hashicorp/go-rootcerts v1.0.0 10:13:22 go: finding github.com/hashicorp/go-sockaddr v1.0.0 10:13:22 go: finding github.com/hashicorp/go-syslog v1.0.0 10:13:22 go: finding github.com/hashicorp/go-uuid v1.0.1 10:13:22 go: finding github.com/hashicorp/go.net v0.0.1 10:13:22 go: finding github.com/hashicorp/golang-lru v0.5.0 10:13:22 go: finding github.com/hashicorp/logutils v1.0.0 10:13:22 go: finding github.com/hashicorp/mdns v1.0.0 10:13:22 go: finding github.com/hashicorp/memberlist v0.1.3 10:13:22 go: finding github.com/hashicorp/serf v0.8.2 10:13:22 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 10:13:22 go: finding github.com/mattn/go-colorable v0.0.9 10:13:22 go: finding github.com/mattn/go-isatty v0.0.3 10:13:23 go: finding github.com/miekg/dns v1.0.14 10:13:23 go: finding github.com/mitchellh/cli v1.0.0 10:13:23 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:13:23 go: finding github.com/mitchellh/copystructure v1.0.0 10:13:23 go: finding github.com/mitchellh/go-homedir v1.0.0 10:13:23 go: finding github.com/mitchellh/go-testing-interface v1.0.0 10:13:23 go: finding github.com/mitchellh/gox v0.4.0 10:13:23 go: finding github.com/mitchellh/iochan v1.0.0 10:13:23 go: finding github.com/mitchellh/mapstructure v1.1.2 10:13:23 go: finding github.com/mitchellh/reflectwalk v1.0.0 10:13:23 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 10:13:23 go: finding github.com/pelletier/go-toml v1.2.0 10:13:23 go: finding github.com/pkg/errors v0.8.1 10:13:23 go: finding github.com/pmezard/go-difflib v1.0.0 10:13:23 go: finding github.com/posener/complete v1.1.1 10:13:23 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 10:13:23 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 10:13:23 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 10:13:23 go: finding github.com/stretchr/objx v0.1.0 10:13:23 go: finding github.com/stretchr/testify v1.5.1 10:13:23 go: finding github.com/ugorji/go v1.1.4 10:13:23 go: finding github.com/x448/float16 v0.8.4 10:13:23 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 10:13:23 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 10:13:23 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 10:13:23 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 10:13:23 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 10:13:23 go: finding gopkg.in/yaml.v2 v2.2.8 10:13:23 go: finding modernc.org/b v1.0.0 10:13:23 go: finding modernc.org/db v1.0.0 10:13:23 go: finding modernc.org/file v1.0.0 10:13:23 go: finding modernc.org/fileutil v1.0.0 10:13:23 go: finding modernc.org/golex v1.0.0 10:13:23 go: finding modernc.org/internal v1.0.0 10:13:23 go: finding modernc.org/lldb v1.0.0 10:13:23 go: finding modernc.org/mathutil v1.0.0 10:13:23 go: finding modernc.org/ql v1.0.0 10:13:23 go: finding modernc.org/sortutil v1.0.0 10:13:23 go: finding modernc.org/strutil v1.0.0 10:13:23 go: finding modernc.org/zappy v1.0.0 10:13:24 e772456be8f7: Pull complete 10:13:25 c890913d741a: Pull complete 10:13:27 2480fcc9aa5a: Pull complete 10:13:28 09adf4765672: Pull complete 10:13:28 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 10:13:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 10:13:28 ---> 2248a725d1cf 10:13:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 10:13:33 ---> Running in 819fb92ef3b6 10:13:33 Removing intermediate container 819fb92ef3b6 10:13:33 ---> 2c8e88c17e3f 10:13:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:13:33 ---> Running in 84ffd50c2b67 10:13:33 Removing intermediate container e89446fde9d7 10:13:33 ---> aea1af3c6725 10:13:33 Successfully built aea1af3c6725 10:13:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:13:34 + docker inspect -f . ci-base-image-x86_64 10:13:34 . [Pipeline] withDockerContainer 10:13:34 prd-centos7-docker-4c-2g-571 does not seem to be running inside a container 10:13:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/18 -v /w/workspace/device-virtual-go/18:/w/workspace/device-virtual-go/18:rw,z -v /w/workspace/device-virtual-go/18@tmp:/w/workspace/device-virtual-go/18@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 ******** ci-base-image-x86_64 cat 10:13:35 $ docker top 8491306087d1bce96cdc681217f8b0086f9bf02042e48d726efbe0e9c97bf8a7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:36 + go version 10:13:36 go version go1.13.13 linux/amd64 [Pipeline] sh 10:13:36 Removing intermediate container 84ffd50c2b67 10:13:36 ---> 6bb601abfb71 10:13:36 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 10:13:36 ---> Running in 18b780623b57 10:13:36 + make test 10:13:36 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:13:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:13:37 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:13:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:13:38 (1/14) Installing libmagic (5.38-r0) 10:13:38 (2/14) Installing file (5.38-r0) 10:13:39 (3/14) Installing libc-dev (0.7.2-r3) 10:13:39 (4/14) Installing g++ (9.3.0-r2) 10:13:41 (5/14) Installing fortify-headers (1.1-r0) 10:13:41 (6/14) Installing patch (2.7.6-r6) 10:13:41 (7/14) Installing build-base (0.5-r2) 10:13:41 (8/14) Installing openssh-keygen (8.3_p1-r0) 10:13:42 (9/14) Installing libedit (20191231.3.1-r0) 10:13:42 (10/14) Installing openssh-client (8.3_p1-r0) 10:13:42 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 10:13:42 (12/14) Installing openssh-server-common (8.3_p1-r0) 10:13:42 (13/14) Installing openssh-server (8.3_p1-r0) 10:13:42 (14/14) Installing openssh (8.3_p1-r0) 10:13:43 Executing busybox-1.31.1-r16.trigger 10:13:43 OK: 221 MiB in 53 packages 10:13:47 Removing intermediate container 18b780623b57 10:13:47 ---> 6dab338e5daf 10:13:47 Step 6/8 : WORKDIR /device-virtual-go 10:13:47 ---> Running in e6a9f9c57e98 10:13:47 Removing intermediate container e6a9f9c57e98 10:13:47 ---> 057f5e37be0a 10:13:47 Step 7/8 : COPY . . 10:13:48 ---> 180f2d7bd223 10:13:48 Step 8/8 : RUN go mod download 10:13:48 ---> Running in f56c28022bb3 10:13:50 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 10:13:51 go: finding github.com/BurntSushi/toml v0.3.1 10:13:51 go: finding github.com/OneOfOne/xxhash v1.2.6 10:13:51 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 10:13:51 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:13:51 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 10:13:51 go: finding github.com/bgentry/speakeasy v0.1.0 10:13:51 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 10:13:51 go: finding github.com/davecgh/go-spew v1.1.1 10:13:51 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 10:13:51 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 10:13:51 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 10:13:51 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 10:13:51 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 10:13:51 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 10:13:51 go: finding github.com/edsrzf/mmap-go v1.0.0 10:13:51 go: finding github.com/fatih/color v1.7.0 10:13:51 go: finding github.com/fxamacker/cbor/v2 v2.2.0 10:13:51 go: finding github.com/go-kit/kit v0.8.0 10:13:51 go: finding github.com/go-logfmt/logfmt v0.4.0 10:13:51 go: finding github.com/go-stack/stack v1.8.0 10:13:51 go: finding github.com/golang/snappy v0.0.1 10:13:51 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 10:13:51 go: finding github.com/google/uuid v1.1.0 10:13:51 go: finding github.com/gorilla/mux v1.7.1 10:13:51 go: finding github.com/hashicorp/consul/api v1.1.0 10:13:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 10:13:52 go: finding github.com/hashicorp/errwrap v1.0.0 10:13:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 10:13:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 10:13:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 10:13:52 go: finding github.com/hashicorp/go-multierror v1.0.0 10:13:52 go: finding github.com/hashicorp/go-rootcerts v1.0.0 10:13:52 go: finding github.com/hashicorp/go-sockaddr v1.0.0 10:13:52 go: finding github.com/hashicorp/go-syslog v1.0.0 10:13:52 go: finding github.com/hashicorp/go-uuid v1.0.1 10:13:52 go: finding github.com/hashicorp/go.net v0.0.1 10:13:52 go: finding github.com/hashicorp/golang-lru v0.5.0 10:13:52 go: finding github.com/hashicorp/logutils v1.0.0 10:13:52 go: finding github.com/hashicorp/mdns v1.0.0 10:13:52 go: finding github.com/hashicorp/memberlist v0.1.3 10:13:52 go: finding github.com/hashicorp/serf v0.8.2 10:13:52 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 10:13:52 go: finding github.com/mattn/go-colorable v0.0.9 10:13:52 go: finding github.com/mattn/go-isatty v0.0.3 10:13:52 go: finding github.com/miekg/dns v1.0.14 10:13:52 go: finding github.com/mitchellh/cli v1.0.0 10:13:52 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:13:52 go: finding github.com/mitchellh/copystructure v1.0.0 10:13:52 go: finding github.com/mitchellh/go-homedir v1.0.0 10:13:52 go: finding github.com/mitchellh/go-testing-interface v1.0.0 10:13:52 go: finding github.com/mitchellh/gox v0.4.0 10:13:52 go: finding github.com/mitchellh/iochan v1.0.0 10:13:52 go: finding github.com/mitchellh/mapstructure v1.1.2 10:13:52 go: finding github.com/mitchellh/reflectwalk v1.0.0 10:13:52 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 10:13:52 go: finding github.com/pelletier/go-toml v1.2.0 10:13:52 go: finding github.com/pkg/errors v0.8.1 10:13:52 go: finding github.com/pmezard/go-difflib v1.0.0 10:13:52 go: finding github.com/posener/complete v1.1.1 10:13:52 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 10:13:52 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 10:13:52 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 10:13:52 go: finding github.com/stretchr/objx v0.1.0 10:13:52 go: finding github.com/stretchr/testify v1.5.1 10:13:52 go: finding github.com/ugorji/go v1.1.4 10:13:52 go: finding github.com/x448/float16 v0.8.4 10:13:52 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 10:13:52 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 10:13:52 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 10:13:52 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 10:13:52 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 10:13:52 go: finding gopkg.in/yaml.v2 v2.2.8 10:13:52 go: finding modernc.org/b v1.0.0 10:13:53 go: finding modernc.org/db v1.0.0 10:13:53 go: finding modernc.org/file v1.0.0 10:13:53 go: finding modernc.org/fileutil v1.0.0 10:13:53 go: finding modernc.org/golex v1.0.0 10:13:53 go: finding modernc.org/internal v1.0.0 10:13:53 go: finding modernc.org/lldb v1.0.0 10:13:53 go: finding modernc.org/mathutil v1.0.0 10:13:53 go: finding modernc.org/ql v1.0.0 10:13:53 go: finding modernc.org/sortutil v1.0.0 10:13:53 go: finding modernc.org/strutil v1.0.0 10:13:53 go: finding modernc.org/zappy v1.0.0 10:14:03 Removing intermediate container f56c28022bb3 10:14:03 ---> 32316d88bc20 10:14:03 Successfully built 32316d88bc20 10:14:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:14:04 + docker inspect -f . ci-base-image-arm64 10:14:04 . [Pipeline] withDockerContainer 10:14:04 prd-ubuntu18.04-docker-arm64-4c-16g-570 does not seem to be running inside a container 10:14:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/18 -v /w/workspace/device-virtual-go/18:/w/workspace/device-virtual-go/18:rw,z -v /w/workspace/device-virtual-go/18@tmp:/w/workspace/device-virtual-go/18@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 ******** ci-base-image-arm64 cat 10:14:06 $ docker top a2cd8391122951d6a8e502d76a28d5e7bb9b471465bb85a87e241780906277b8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:14:08 + go version 10:14:08 go version go1.13.13 linux/arm64 [Pipeline] sh 10:14:09 + make test 10:14:09 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:14:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:14:12 ok github.com/edgexfoundry/device-virtual-go/internal/driver 18.163s coverage: 52.6% of statements 10:14:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:14:12 gofmt -l . 10:14:12 [ "`gofmt -l .`" = "" ] 10:14:12 ./bin/test-attribution-txt.sh 10:14:12 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:14:13 Stashed 1 file(s) [Pipeline] } 10:14:13 $ docker stop --time=1 8491306087d1bce96cdc681217f8b0086f9bf02042e48d726efbe0e9c97bf8a7 10:14:15 $ docker rm -f 8491306087d1bce96cdc681217f8b0086f9bf02042e48d726efbe0e9c97bf8a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:14:18 + ls -al . 10:14:18 total 112 10:14:18 drwxrwxr-x. 8 jenkins jenkins 4096 Jul 22 10:14 . 10:14:18 drwxrwxr-x. 4 jenkins jenkins 30 Jul 22 10:12 .. 10:14:18 -rw-rw-r--. 1 jenkins jenkins 6432 Jul 22 10:12 Attribution.txt 10:14:18 drwxrwxr-x. 2 jenkins jenkins 64 Jul 22 10:12 bin 10:14:18 drwxrwxr-x. 3 jenkins jenkins 32 Jul 22 10:12 cmd 10:14:18 -rw-r--r--. 1 jenkins jenkins 31362 Jul 22 10:14 coverage.out 10:14:18 -rw-rw-r--. 1 jenkins jenkins 1826 Jul 22 10:12 Dockerfile 10:14:18 -rw-rw-r--. 1 jenkins jenkins 957 Jul 22 10:12 Dockerfile.build 10:14:18 drwxrwxr-x. 8 jenkins jenkins 162 Jul 22 10:12 .git 10:14:18 drwxrwxr-x. 2 jenkins jenkins 38 Jul 22 10:12 .github 10:14:18 -rw-rw-r--. 1 jenkins jenkins 258 Jul 22 10:12 .gitignore 10:14:18 -rw-r--r--. 1 jenkins jenkins 855 Jul 22 10:14 go.mod 10:14:18 -rw-r--r--. 1 jenkins jenkins 14894 Jul 22 10:14 go.sum 10:14:18 drwxrwxr-x. 3 jenkins jenkins 20 Jul 22 10:12 internal 10:14:18 -rw-rw-r--. 1 jenkins jenkins 683 Jul 22 10:12 Jenkinsfile 10:14:18 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 22 10:12 LICENSE 10:14:18 -rw-rw-r--. 1 jenkins jenkins 873 Jul 22 10:12 Makefile 10:14:18 -rw-rw-r--. 1 jenkins jenkins 4623 Jul 22 10:12 README.md 10:14:18 drwxrwxr-x. 3 jenkins jenkins 44 Jul 22 10:12 .semver 10:14:18 -rw-rw-r--. 1 jenkins jenkins 11 Jul 22 10:10 VERSION 10:14:18 -rw-rw-r--. 1 jenkins jenkins 235 Jul 22 10:12 version.go [Pipeline] isUnix [Pipeline] sh 10:14:18 + 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=4d5f8ce0290f23e35ff78bafcbacaa37d533849c --label arch=amd64 --label version=1.2.3-dev.1 . 10:14:18 Sending build context to Docker daemon 579.1kB 10:14:18 Step 1/21 : ARG BASE=golang:1.13-alpine 10:14:18 Step 2/21 : FROM ${BASE} AS builder 10:14:18 ---> aea1af3c6725 10:14:18 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 10:14:18 ---> Running in f9b7530d03bc 10:14:18 Removing intermediate container f9b7530d03bc 10:14:18 ---> e8b46a7e09d9 10:14:18 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 10:14:19 ---> Running in 3fec2dab9903 10:14:19 Removing intermediate container 3fec2dab9903 10:14:19 ---> bb0dab613fc9 10:14:19 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 10:14:19 ---> Running in 667bc784c976 10:14:19 Removing intermediate container 667bc784c976 10:14:19 ---> b096ca4d0512 10:14:19 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:14:19 ---> Running in d03f44995262 10:14:20 Removing intermediate container d03f44995262 10:14:20 ---> 4095a599ca90 10:14:20 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:14:20 ---> Running in 8f2c87d9873d 10:14:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:14:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:14:21 OK: 237 MiB in 53 packages 10:14:22 Removing intermediate container 8f2c87d9873d 10:14:22 ---> f10509414368 10:14:22 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 10:14:22 ---> Running in 8e16b036f5a5 10:14:22 Removing intermediate container 8e16b036f5a5 10:14:22 ---> 443d835177fa 10:14:22 Step 9/21 : COPY . . 10:14:22 ---> 2034d8b07868 10:14:22 Step 10/21 : ARG MAKE='make build' 10:14:23 ---> Running in b2d1eab06c97 10:14:23 Removing intermediate container b2d1eab06c97 10:14:23 ---> 7cb6eae8be99 10:14:23 Step 11/21 : RUN $MAKE 10:14:23 ---> Running in 32433380a800 10:14:23 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.3-dev.1" -o cmd/device-virtual ./cmd 10:14:35 CGO_ENABLED=0 GO111MODULE=on go build ./... 10:14:38 Removing intermediate container 32433380a800 10:14:38 ---> d482184ed6db 10:14:38 Step 12/21 : FROM alpine 10:14:38 latest: Pulling from library/alpine 10:14:38 df20fa9351a1: Already exists 10:14:38 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 10:14:38 Status: Downloaded newer image for alpine:latest 10:14:38 ---> a24bb4013296 10:14:38 Step 13/21 : ENV APP_PORT=49990 10:14:38 ---> Running in 67dac0cfe0e1 10:14:38 Removing intermediate container 67dac0cfe0e1 10:14:38 ---> 5d770f0d3f2a 10:14:38 Step 14/21 : EXPOSE $APP_PORT 10:14:38 ---> Running in 1921ffae02d2 10:14:39 Removing intermediate container 1921ffae02d2 10:14:39 ---> 1661617dd0c8 10:14:39 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 10:14:39 ---> 94d43cde616a 10:14:39 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 10:14:39 ---> 33701a4de683 10:14:39 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 10:14:39 ---> d8b0ab722f6b 10:14:39 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 10:14:40 ---> Running in 20b936e2202a 10:14:40 Removing intermediate container 20b936e2202a 10:14:40 ---> 8c3260b775c3 10:14:40 Step 19/21 : LABEL arch=amd64 10:14:40 ---> Running in 893c3e7212d5 10:14:40 Removing intermediate container 893c3e7212d5 10:14:40 ---> 439e8ac6f6c3 10:14:40 Step 20/21 : LABEL git_sha=4d5f8ce0290f23e35ff78bafcbacaa37d533849c 10:14:40 ---> Running in c22b2f2cb282 10:14:40 Removing intermediate container c22b2f2cb282 10:14:40 ---> ac1c94d1e3a8 10:14:40 Step 21/21 : LABEL version=1.2.3-dev.1 10:14:40 ---> Running in b060efda5cb0 10:14:40 Removing intermediate container b060efda5cb0 10:14:40 ---> ee09a1b38039 10:14:40 [Warning] One or more build-args [ARCH] were not consumed 10:14:40 Successfully built ee09a1b38039 10:14:40 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 10:14:41 provisioning config files... 10:14:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/18@tmp/config3656352447460163370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:14:41 nexus3.edgexfoundry.org:10001 10:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:41 Configure a credential helper to remove this warning. See 10:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:41 10:14:41 Login Succeeded 10:14:41 nexus3.edgexfoundry.org:10002 10:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:41 Configure a credential helper to remove this warning. See 10:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:41 10:14:41 Login Succeeded 10:14:41 nexus3.edgexfoundry.org:10003 10:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:41 Configure a credential helper to remove this warning. See 10:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:41 10:14:41 Login Succeeded 10:14:41 nexus3.edgexfoundry.org:10004 10:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:42 Configure a credential helper to remove this warning. See 10:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:42 10:14:42 Login Succeeded 10:14:42 docker.io 10:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:42 Configure a credential helper to remove this warning. See 10:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:42 10:14:42 Login Succeeded [Pipeline] } 10:14:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:14:42 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 10:14:42 4d5f8ce0290f23e35ff78bafcbacaa37d533849c 10:14:42 latest 10:14:42 1.2.3-dev.1 10:14:42 4d5f8ce0290f23e35ff78bafcbacaa37d533849c-1.2.3-dev.1 10:14:42 master 10:14:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:14:43 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:4d5f8ce0290f23e35ff78bafcbacaa37d533849c [Pipeline] isUnix [Pipeline] sh 10:14:43 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:4d5f8ce0290f23e35ff78bafcbacaa37d533849c 10:14:43 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 10:14:43 6ea9d3bee897: Preparing 10:14:43 bfc81e7c35e6: Preparing 10:14:43 1438c544fe24: Preparing 10:14:43 50644c29ef5a: Preparing 10:14:43 50644c29ef5a: Layer already exists 10:14:43 bfc81e7c35e6: Pushed 10:14:43 6ea9d3bee897: Pushed 10:14:44 1438c544fe24: Pushed 10:14:44 4d5f8ce0290f23e35ff78bafcbacaa37d533849c: digest: sha256:ef1065dbd9ae523923d802635b4db9bbbbba51fe6ea935d779c9f23c0e634824 size: 1155 [Pipeline] isUnix [Pipeline] sh 10:14:45 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 10:14:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 10:14:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 10:14:45 6ea9d3bee897: Preparing 10:14:45 bfc81e7c35e6: Preparing 10:14:45 1438c544fe24: Preparing 10:14:45 50644c29ef5a: Preparing 10:14:45 bfc81e7c35e6: Layer already exists 10:14:45 50644c29ef5a: Layer already exists 10:14:45 6ea9d3bee897: Layer already exists 10:14:45 1438c544fe24: Layer already exists 10:14:45 latest: digest: sha256:ef1065dbd9ae523923d802635b4db9bbbbba51fe6ea935d779c9f23c0e634824 size: 1155 [Pipeline] isUnix [Pipeline] sh 10:14:45 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.3-dev.1 [Pipeline] isUnix [Pipeline] sh 10:14:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.3-dev.1 10:14:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 10:14:45 6ea9d3bee897: Preparing 10:14:45 bfc81e7c35e6: Preparing 10:14:45 1438c544fe24: Preparing 10:14:45 50644c29ef5a: Preparing 10:14:45 50644c29ef5a: Layer already exists 10:14:45 1438c544fe24: Layer already exists 10:14:45 bfc81e7c35e6: Layer already exists 10:14:45 6ea9d3bee897: Layer already exists 10:14:45 1.2.3-dev.1: digest: sha256:ef1065dbd9ae523923d802635b4db9bbbbba51fe6ea935d779c9f23c0e634824 size: 1155 [Pipeline] isUnix [Pipeline] sh 10:14:46 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:4d5f8ce0290f23e35ff78bafcbacaa37d533849c-1.2.3-dev.1 [Pipeline] isUnix [Pipeline] sh 10:14:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:4d5f8ce0290f23e35ff78bafcbacaa37d533849c-1.2.3-dev.1 10:14:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 10:14:46 6ea9d3bee897: Preparing 10:14:46 bfc81e7c35e6: Preparing 10:14:46 1438c544fe24: Preparing 10:14:46 50644c29ef5a: Preparing 10:14:46 50644c29ef5a: Layer already exists 10:14:46 1438c544fe24: Layer already exists 10:14:46 bfc81e7c35e6: Layer already exists 10:14:46 6ea9d3bee897: Layer already exists 10:14:46 4d5f8ce0290f23e35ff78bafcbacaa37d533849c-1.2.3-dev.1: digest: sha256:ef1065dbd9ae523923d802635b4db9bbbbba51fe6ea935d779c9f23c0e634824 size: 1155 [Pipeline] isUnix [Pipeline] sh 10:14:46 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 10:14:47 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 10:14:47 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 10:14:47 6ea9d3bee897: Preparing 10:14:47 bfc81e7c35e6: Preparing 10:14:47 1438c544fe24: Preparing 10:14:47 50644c29ef5a: Preparing 10:14:47 bfc81e7c35e6: Layer already exists 10:14:47 6ea9d3bee897: Layer already exists 10:14:47 50644c29ef5a: Layer already exists 10:14:47 1438c544fe24: Layer already exists 10:14:47 master: digest: sha256:ef1065dbd9ae523923d802635b4db9bbbbba51fe6ea935d779c9f23c0e634824 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:14:47 ===================================================== [Pipeline] echo 10:14:47 taggedImages: 10:14:47 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:4d5f8ce0290f23e35ff78bafcbacaa37d533849c 10:14:47 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 10:14:47 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.3-dev.1 10:14:47 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:4d5f8ce0290f23e35ff78bafcbacaa37d533849c-1.2.3-dev.1 10:14:47 - 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] } 10:14:49 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 10:15:28 ok github.com/edgexfoundry/device-virtual-go/internal/driver 37.134s coverage: 52.6% of statements 10:15:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:15:33 gofmt -l . 10:15:33 [ "`gofmt -l .`" = "" ] 10:15:33 ./bin/test-attribution-txt.sh 10:15:34 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:15:35 Warning: overwriting stash ‘coverage-report’ 10:15:36 Stashed 1 file(s) [Pipeline] } 10:15:36 $ docker stop --time=1 a2cd8391122951d6a8e502d76a28d5e7bb9b471465bb85a87e241780906277b8 10:15:38 $ docker rm -f a2cd8391122951d6a8e502d76a28d5e7bb9b471465bb85a87e241780906277b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:15:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:15:39 + ls -al . 10:15:39 total 140 10:15:39 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 10:15 . 10:15:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 10:12 .. 10:15:39 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 10:12 .git 10:15:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 10:12 .github 10:15:39 -rw-rw-r-- 1 jenkins jenkins 258 Jul 22 10:12 .gitignore 10:15:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 10:12 .semver 10:15:39 -rw-rw-r-- 1 jenkins jenkins 6432 Jul 22 10:12 Attribution.txt 10:15:39 -rw-rw-r-- 1 jenkins jenkins 1826 Jul 22 10:12 Dockerfile 10:15:39 -rw-rw-r-- 1 jenkins jenkins 957 Jul 22 10:12 Dockerfile.build 10:15:39 -rw-rw-r-- 1 jenkins jenkins 683 Jul 22 10:12 Jenkinsfile 10:15:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 10:12 LICENSE 10:15:39 -rw-rw-r-- 1 jenkins jenkins 873 Jul 22 10:12 Makefile 10:15:39 -rw-rw-r-- 1 jenkins jenkins 4623 Jul 22 10:12 README.md 10:15:39 -rw-rw-r-- 1 jenkins jenkins 11 Jul 22 10:10 VERSION 10:15:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 10:12 bin 10:15:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 10:12 cmd 10:15:39 -rw-r--r-- 1 jenkins jenkins 31362 Jul 22 10:15 coverage.out 10:15:39 -rw-r--r-- 1 jenkins jenkins 855 Jul 22 10:15 go.mod 10:15:39 -rw-r--r-- 1 jenkins jenkins 14894 Jul 22 10:15 go.sum 10:15:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 10:12 internal 10:15:39 -rw-rw-r-- 1 jenkins jenkins 235 Jul 22 10:12 version.go [Pipeline] isUnix [Pipeline] sh 10:15:40 + 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=4d5f8ce0290f23e35ff78bafcbacaa37d533849c --label arch=arm64 --label version=1.2.3-dev.1 . 10:15:40 Sending build context to Docker daemon 579.1kB 10:15:40 Step 1/21 : ARG BASE=golang:1.13-alpine 10:15:40 Step 2/21 : FROM ${BASE} AS builder 10:15:40 ---> 32316d88bc20 10:15:40 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 10:15:40 ---> Running in 847bfe2dd814 10:15:41 Removing intermediate container 847bfe2dd814 10:15:41 ---> 6beb50c41782 10:15:41 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 10:15:41 ---> Running in 8064d7f8cdc4 10:15:41 Removing intermediate container 8064d7f8cdc4 10:15:41 ---> 62af6d4f6500 10:15:41 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 10:15:41 ---> Running in de5def54c0f8 10:15:42 Removing intermediate container de5def54c0f8 10:15:42 ---> 8a44bd432763 10:15:42 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:15:42 ---> Running in 8ca53f78e41a 10:15:45 Removing intermediate container 8ca53f78e41a 10:15:45 ---> 578e073f7f26 10:15:45 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:15:45 ---> Running in cb54e7fc0b1e 10:15:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:15:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:15:48 OK: 221 MiB in 53 packages 10:15:49 Removing intermediate container cb54e7fc0b1e 10:15:49 ---> c1a55acc0cf2 10:15:49 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 10:15:49 ---> Running in 2c9f2868d5fb 10:15:49 Removing intermediate container 2c9f2868d5fb 10:15:49 ---> 5b2fcba4030c 10:15:49 Step 9/21 : COPY . . 10:15:50 ---> 0667feb5ccf8 10:15:50 Step 10/21 : ARG MAKE='make build' 10:15:50 ---> Running in 6404bd5fda29 10:15:51 Removing intermediate container 6404bd5fda29 10:15:51 ---> 19851c5ee235 10:15:51 Step 11/21 : RUN $MAKE 10:15:51 ---> Running in 0157a97cac3b 10:15:52 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.3-dev.1" -o cmd/device-virtual ./cmd 10:16:24 CGO_ENABLED=0 GO111MODULE=on go build ./... 10:16:33 Removing intermediate container 0157a97cac3b 10:16:33 ---> 0150d9e40135 10:16:33 Step 12/21 : FROM alpine 10:16:33 latest: Pulling from library/alpine 10:16:33 b538f80385f9: Already exists 10:16:33 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 10:16:33 Status: Downloaded newer image for alpine:latest 10:16:33 ---> 62ee0e9f8440 10:16:33 Step 13/21 : ENV APP_PORT=49990 10:16:33 ---> Running in 0571f895797a 10:16:33 Removing intermediate container 0571f895797a 10:16:33 ---> 015cf0582b8f 10:16:33 Step 14/21 : EXPOSE $APP_PORT 10:16:33 ---> Running in 640c51bebd03 10:16:33 Removing intermediate container 640c51bebd03 10:16:33 ---> 791468315a09 10:16:33 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 10:16:35 ---> 2c6d73c3c9d9 10:16:35 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 10:16:35 ---> 50fd3150f1db 10:16:35 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 10:16:36 ---> 1f8e9710602c 10:16:36 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 10:16:36 ---> Running in 2f55362945fc 10:16:37 Removing intermediate container 2f55362945fc 10:16:37 ---> 070f400fbd98 10:16:37 Step 19/21 : LABEL arch=arm64 10:16:37 ---> Running in 0f371aa2ffd0 10:16:37 Removing intermediate container 0f371aa2ffd0 10:16:37 ---> 228efb035e3a 10:16:37 Step 20/21 : LABEL git_sha=4d5f8ce0290f23e35ff78bafcbacaa37d533849c 10:16:37 ---> Running in 78d7e6ecd120 10:16:38 Removing intermediate container 78d7e6ecd120 10:16:38 ---> 6273395e2102 10:16:38 Step 21/21 : LABEL version=1.2.3-dev.1 10:16:38 ---> Running in 7482ce22f4ef 10:16:38 Removing intermediate container 7482ce22f4ef 10:16:38 ---> eecabf6d50a5 10:16:38 [Warning] One or more build-args [ARCH] were not consumed 10:16:38 Successfully built eecabf6d50a5 10:16:38 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 10:16:39 provisioning config files... 10:16:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/18@tmp/config6213962006195830479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:16:39 nexus3.edgexfoundry.org:10001 10:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:40 Configure a credential helper to remove this warning. See 10:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:40 10:16:40 Login Succeeded 10:16:40 nexus3.edgexfoundry.org:10002 10:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:40 Configure a credential helper to remove this warning. See 10:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:40 10:16:40 Login Succeeded 10:16:40 nexus3.edgexfoundry.org:10003 10:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:41 Configure a credential helper to remove this warning. See 10:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:41 10:16:41 Login Succeeded 10:16:41 nexus3.edgexfoundry.org:10004 10:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:41 Configure a credential helper to remove this warning. See 10:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:41 10:16:41 Login Succeeded 10:16:41 docker.io 10:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:42 Configure a credential helper to remove this warning. See 10:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:42 10:16:42 Login Succeeded [Pipeline] } 10:16:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:16:42 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 10:16:42 4d5f8ce0290f23e35ff78bafcbacaa37d533849c 10:16:42 latest 10:16:42 1.2.3-dev.1 10:16:42 4d5f8ce0290f23e35ff78bafcbacaa37d533849c-1.2.3-dev.1 10:16:42 master 10:16:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:16:43 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:4d5f8ce0290f23e35ff78bafcbacaa37d533849c [Pipeline] isUnix [Pipeline] sh 10:16:43 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:4d5f8ce0290f23e35ff78bafcbacaa37d533849c 10:16:43 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 10:16:43 4f65215685cd: Preparing 10:16:43 d402c8ac2de6: Preparing 10:16:43 86f23d428397: Preparing 10:16:43 e2f13739ad41: Preparing 10:16:44 e2f13739ad41: Layer already exists 10:16:44 4f65215685cd: Pushed 10:16:44 d402c8ac2de6: Pushed 10:16:47 86f23d428397: Pushed 10:16:48 4d5f8ce0290f23e35ff78bafcbacaa37d533849c: digest: sha256:e58356a31786b5092268107f54b875e265b7ebb2bd63fbfd81704ec9ad64b862 size: 1155 [Pipeline] isUnix [Pipeline] sh 10:16:48 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:16:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 10:16:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 10:16:48 4f65215685cd: Preparing 10:16:48 d402c8ac2de6: Preparing 10:16:48 86f23d428397: Preparing 10:16:48 e2f13739ad41: Preparing 10:16:48 d402c8ac2de6: Layer already exists 10:16:48 4f65215685cd: Layer already exists 10:16:48 e2f13739ad41: Layer already exists 10:16:48 86f23d428397: Layer already exists 10:16:48 latest: digest: sha256:e58356a31786b5092268107f54b875e265b7ebb2bd63fbfd81704ec9ad64b862 size: 1155 [Pipeline] isUnix [Pipeline] sh 10:16:49 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.3-dev.1 [Pipeline] isUnix [Pipeline] sh 10:16:49 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.3-dev.1 10:16:49 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 10:16:49 4f65215685cd: Preparing 10:16:49 d402c8ac2de6: Preparing 10:16:49 86f23d428397: Preparing 10:16:49 e2f13739ad41: Preparing 10:16:49 d402c8ac2de6: Layer already exists 10:16:49 4f65215685cd: Layer already exists 10:16:49 86f23d428397: Layer already exists 10:16:49 e2f13739ad41: Layer already exists 10:16:49 1.2.3-dev.1: digest: sha256:e58356a31786b5092268107f54b875e265b7ebb2bd63fbfd81704ec9ad64b862 size: 1155 [Pipeline] isUnix [Pipeline] sh 10:16:50 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:4d5f8ce0290f23e35ff78bafcbacaa37d533849c-1.2.3-dev.1 [Pipeline] isUnix [Pipeline] sh 10:16:50 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:4d5f8ce0290f23e35ff78bafcbacaa37d533849c-1.2.3-dev.1 10:16:50 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 10:16:50 4f65215685cd: Preparing 10:16:50 d402c8ac2de6: Preparing 10:16:50 86f23d428397: Preparing 10:16:50 e2f13739ad41: Preparing 10:16:50 86f23d428397: Layer already exists 10:16:50 e2f13739ad41: Layer already exists 10:16:50 4f65215685cd: Layer already exists 10:16:50 d402c8ac2de6: Layer already exists 10:16:50 4d5f8ce0290f23e35ff78bafcbacaa37d533849c-1.2.3-dev.1: digest: sha256:e58356a31786b5092268107f54b875e265b7ebb2bd63fbfd81704ec9ad64b862 size: 1155 [Pipeline] isUnix [Pipeline] sh 10:16:51 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 10:16:51 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 10:16:51 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 10:16:51 4f65215685cd: Preparing 10:16:51 d402c8ac2de6: Preparing 10:16:51 86f23d428397: Preparing 10:16:51 e2f13739ad41: Preparing 10:16:51 4f65215685cd: Layer already exists 10:16:51 d402c8ac2de6: Layer already exists 10:16:51 e2f13739ad41: Layer already exists 10:16:51 86f23d428397: Layer already exists 10:16:51 master: digest: sha256:e58356a31786b5092268107f54b875e265b7ebb2bd63fbfd81704ec9ad64b862 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:16:51 ===================================================== [Pipeline] echo 10:16:52 taggedImages: 10:16:52 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:4d5f8ce0290f23e35ff78bafcbacaa37d533849c 10:16:52 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 10:16:52 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.3-dev.1 10:16:52 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:4d5f8ce0290f23e35ff78bafcbacaa37d533849c-1.2.3-dev.1 10:16:52 - 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) [Pipeline] unstash [Pipeline] wrap 10:16:53 provisioning config files... 10:16:53 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1355022450499347998tmp [Pipeline] { [Pipeline] sh 10:16:53 + curl -s https://codecov.io/bash 10:16:53 + bash -s - -t @/w/workspace/foundry_device-virtual-go_master@tmp/config1355022450499347998tmp [Pipeline] } 10:16:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 10:16:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 10:16:54 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 10:16:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:16:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 10:16:54 10:16:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 10:16:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 10:16:54 1.317.0: Pulling from edgex-devops/edgex-snyk-go 10:16:54 cbdbe7a5bc2a: Pulling fs layer 10:16:54 408f87550127: Pulling fs layer 10:16:54 fe522b08c979: Pulling fs layer 10:16:54 221eaa008020: Pulling fs layer 10:16:54 2a4607e5d6b9: Pulling fs layer 10:16:54 8f79b27c4fd2: Pulling fs layer 10:16:54 e5c8dbe1645b: Pulling fs layer 10:16:54 23e8b3b47431: Pulling fs layer 10:16:54 5c568d65a230: Pulling fs layer 10:16:54 221eaa008020: Waiting 10:16:54 2a4607e5d6b9: Waiting 10:16:54 8f79b27c4fd2: Waiting 10:16:54 e5c8dbe1645b: Waiting 10:16:54 fe522b08c979: Verifying Checksum 10:16:54 fe522b08c979: Download complete 10:16:54 408f87550127: Download complete 10:16:54 2a4607e5d6b9: Verifying Checksum 10:16:54 2a4607e5d6b9: Download complete 10:16:54 8f79b27c4fd2: Verifying Checksum 10:16:54 8f79b27c4fd2: Download complete 10:16:54 cbdbe7a5bc2a: Download complete 10:16:55 cbdbe7a5bc2a: Pull complete 10:16:55 e5c8dbe1645b: Verifying Checksum 10:16:55 e5c8dbe1645b: Download complete 10:16:55 408f87550127: Pull complete 10:16:56 23e8b3b47431: Verifying Checksum 10:16:56 23e8b3b47431: Download complete 10:16:56 fe522b08c979: Pull complete 10:16:56 5c568d65a230: Verifying Checksum 10:16:56 5c568d65a230: Download complete 10:16:56 221eaa008020: Download complete 10:17:01 221eaa008020: Pull complete 10:17:01 2a4607e5d6b9: Pull complete 10:17:01 8f79b27c4fd2: Pull complete 10:17:03 e5c8dbe1645b: Pull complete 10:17:07 23e8b3b47431: Pull complete 10:17:07 5c568d65a230: Pull complete 10:17:07 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 10:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 10:17:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 10:17:07 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 10:17:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 10:17:08 $ docker top 1280bcc6ad0ccea311c3fb9716b081e0b8741bad09e5ce7c680ec640261ff7bb -eo pid,comm [Pipeline] { [Pipeline] sh 10:17:09 + snyk monitor '--org=edgex-jenkins' 10:17:19 10:17:19 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 10:17:19 10:17:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/ce088242-3814-4ff5-8bb0-bf72a277dd3a 10:17:19 10:17:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:17:19 10:17:19 [Pipeline] } 10:17:19 $ docker stop --time=1 1280bcc6ad0ccea311c3fb9716b081e0b8741bad09e5ce7c680ec640261ff7bb 10:17:21 $ docker rm -f 1280bcc6ad0ccea311c3fb9716b081e0b8741bad09e5ce7c680ec640261ff7bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:17:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 10:17:23 10:17:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 10:17:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 10:17:23 latest: Pulling from edgex-devops/edgex-klar 10:17:23 e7c96db7181b: Pulling fs layer 10:17:23 1868ca2cb446: Pulling fs layer 10:17:23 136be5d0fe8e: Pulling fs layer 10:17:23 894bfe63afcb: Pulling fs layer 10:17:23 894bfe63afcb: Waiting 10:17:23 1868ca2cb446: Verifying Checksum 10:17:23 1868ca2cb446: Download complete 10:17:23 136be5d0fe8e: Verifying Checksum 10:17:23 136be5d0fe8e: Download complete 10:17:23 e7c96db7181b: Verifying Checksum 10:17:23 e7c96db7181b: Download complete 10:17:23 894bfe63afcb: Verifying Checksum 10:17:23 894bfe63afcb: Download complete 10:17:23 e7c96db7181b: Pull complete 10:17:24 1868ca2cb446: Pull complete 10:17:24 136be5d0fe8e: Pull complete 10:17:24 894bfe63afcb: Pull complete 10:17:24 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 10:17:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 10:17:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 10:17:24 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 10:17:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 10:17:25 $ docker top e790e5178a20e879a84cdc98815b53e269bd2a47245671677887515cb35779ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:25 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:4d5f8ce0290f23e35ff78bafcbacaa37d533849c 10:17:25 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 10:17:30 $ docker stop --time=1 e790e5178a20e879a84cdc98815b53e269bd2a47245671677887515cb35779ff 10:17:31 $ docker rm -f e790e5178a20e879a84cdc98815b53e269bd2a47245671677887515cb35779ff [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 10:17:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 10:17:31 . [Pipeline] withDockerContainer 10:17:32 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 10:17:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 10:17:32 $ docker top 577cc5406099a9821132065befb9224513e8058fe3e6fe8a043f7c4152bcc905 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:33 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:4d5f8ce0290f23e35ff78bafcbacaa37d533849c 10:17:33 + tee 10:17:33 clair timeout 1m0s 10:17:33 docker timeout: 1m0s 10:17:33 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 10:17:33 $ docker stop --time=1 577cc5406099a9821132065befb9224513e8058fe3e6fe8a043f7c4152bcc905 10:17:35 $ docker rm -f 577cc5406099a9821132065befb9224513e8058fe3e6fe8a043f7c4152bcc905 [Pipeline] // withDockerContainer [Pipeline] sh 10:17:35 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 10:17:35 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_4d5f8ce0290f23e35ff78bafcbacaa37d533849c.html [Pipeline] writeFile [Pipeline] step 10:17:35 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 10:17:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 10:17:35 . [Pipeline] withDockerContainer 10:17:36 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 10:17:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 10:17:36 $ docker top 647f36e3b3ba5147e1ffbd07084d08f791763eaf698b9b6252c25185d06a0d2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:37 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:4d5f8ce0290f23e35ff78bafcbacaa37d533849c 10:17:37 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 10:17:40 $ docker stop --time=1 647f36e3b3ba5147e1ffbd07084d08f791763eaf698b9b6252c25185d06a0d2a 10:17:42 $ docker rm -f 647f36e3b3ba5147e1ffbd07084d08f791763eaf698b9b6252c25185d06a0d2a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 10:17:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 10:17:42 . [Pipeline] withDockerContainer 10:17:42 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 10:17:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 10:17:43 $ docker top 753090f9ecb8b489a9e2b36a7d9c77775f39613f80609d8ad62bb64360e0df04 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:44 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:4d5f8ce0290f23e35ff78bafcbacaa37d533849c 10:17:44 + tee 10:17:44 clair timeout 1m0s 10:17:44 docker timeout: 1m0s 10:17:44 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 10:17:44 $ docker stop --time=1 753090f9ecb8b489a9e2b36a7d9c77775f39613f80609d8ad62bb64360e0df04 10:17:46 $ docker rm -f 753090f9ecb8b489a9e2b36a7d9c77775f39613f80609d8ad62bb64360e0df04 [Pipeline] // withDockerContainer [Pipeline] sh 10:17:46 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 10:17:46 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_4d5f8ce0290f23e35ff78bafcbacaa37d533849c.html [Pipeline] writeFile [Pipeline] step 10:17:46 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 10:17:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:17:47 . [Pipeline] withDockerContainer 10:17:47 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 10:17:47 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:17:48 $ docker top fe0bd4a32f97b2f16a1122e76722ec9360fe23a2ec5c69390a58564cc216f230 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:17:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:17:48 [ssh-agent] Looking for ssh-agent implementation... 10:17:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:17:48 $ docker exec fe0bd4a32f97b2f16a1122e76722ec9360fe23a2ec5c69390a58564cc216f230 ssh-agent 10:17:48 SSH_AUTH_SOCK=/tmp/ssh-sd0j2Cxou3YD/agent.11 10:17:48 SSH_AGENT_PID=17 10:17:48 Running ssh-add (command line suppressed) 10:17:48 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_448178790939930526.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_448178790939930526.key) 10:17:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:17:49 + git semver tag 10:17:49 # -> Open(): unable to determine branch for HEAD 10:17:49 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 10:17:49 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 10:17:49 # $SEMVER_REMOTE_NAME = origin 10:17:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:17:49 # $SEMVER_USER_NAME = edgex-jenkins 10:17:49 # $SEMVER_BRANCH = master 10:17:49 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 10:17:49 # 4d5f8ce0290f23e35ff78bafcbacaa37d533849c HEAD 10:17:49 # -> Force: false 10:17:49 # d30cd6a8b3289784cd23f094ed9edd599b395e63 refs/tags/v1.2.3-dev.1 [Pipeline] } 10:17:49 $ docker exec --env ******** --env ******** fe0bd4a32f97b2f16a1122e76722ec9360fe23a2ec5c69390a58564cc216f230 ssh-agent -k 10:17:49 unset SSH_AUTH_SOCK; 10:17:49 unset SSH_AGENT_PID; 10:17:49 echo Agent pid 17 killed; 10:17:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:17:49 + git semver [Pipeline] } 10:17:49 $ docker stop --time=1 fe0bd4a32f97b2f16a1122e76722ec9360fe23a2ec5c69390a58564cc216f230 10:17:51 $ docker rm -f fe0bd4a32f97b2f16a1122e76722ec9360fe23a2ec5c69390a58564cc216f230 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 10:17:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:17:51 10:17:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 10:17:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:17:52 0.23.1-centos7: Pulling from edgex-lftools 10:17:52 ab5ef0e58194: Pulling fs layer 10:17:52 9712f1f96733: Pulling fs layer 10:17:52 63f879dbbcfc: Pulling fs layer 10:17:52 0d9ebad4ef96: Pulling fs layer 10:17:52 e9a5061849ea: Pulling fs layer 10:17:52 d747dcd14b5f: Pulling fs layer 10:17:52 2de7ff778b66: Pulling fs layer 10:17:52 0d9ebad4ef96: Waiting 10:17:52 e9a5061849ea: Waiting 10:17:52 d747dcd14b5f: Waiting 10:17:52 2de7ff778b66: Waiting 10:17:52 9712f1f96733: Download complete 10:17:52 63f879dbbcfc: Verifying Checksum 10:17:52 63f879dbbcfc: Download complete 10:17:53 e9a5061849ea: Verifying Checksum 10:17:53 e9a5061849ea: Download complete 10:17:53 d747dcd14b5f: Verifying Checksum 10:17:53 d747dcd14b5f: Download complete 10:17:53 ab5ef0e58194: Verifying Checksum 10:17:53 ab5ef0e58194: Download complete 10:17:53 2de7ff778b66: Verifying Checksum 10:17:53 2de7ff778b66: Download complete 10:17:53 0d9ebad4ef96: Verifying Checksum 10:17:53 0d9ebad4ef96: Download complete 10:17:57 ab5ef0e58194: Pull complete 10:17:57 9712f1f96733: Pull complete 10:18:00 63f879dbbcfc: Pull complete 10:18:06 0d9ebad4ef96: Pull complete 10:18:06 e9a5061849ea: Pull complete 10:18:06 d747dcd14b5f: Pull complete 10:18:11 2de7ff778b66: Pull complete 10:18:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:18:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:18:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 10:18:11 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 10:18:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:18:15 $ docker top 5f29c4e005e1d99d68c56ac1c5759122597961bd203c4b1d7342e400de65e3b8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:18:15 provisioning config files... 10:18:15 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2663834681166939219tmp 10:18:15 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2470899573571092597tmp 10:18:15 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7265064788115408807tmp [Pipeline] { [Pipeline] echo 10:18:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:18:15 ---> sigul-configuration.sh 10:18:15 gpg: directory `/root/.gnupg' created 10:18:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:18:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:18:15 gpg: keyring `/root/.gnupg/secring.gpg' created 10:18:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:18:15 gpg: CAST5 encrypted data 10:18:15 gpg: encrypted with 1 passphrase 10:18:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:18:16 + mkdir /home/jenkins 10:18:16 + mkdir /home/jenkins/sigul [Pipeline] sh 10:18:16 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 10:18:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:18:16 ---> sigul-install.sh 10:18:22 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 10:18:22 + git tag --list 10:18:22 v1.2.3-dev.1 [Pipeline] sh 10:18:22 + lftools sign git-tag v1.2.3-dev.1 10:18:23 Signing Git tag with Sigul... 10:18:23 Signing v1.2.3-dev.1 [Pipeline] echo 10:18:24 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:18:24 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:18:24 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:18:24 $ docker stop --time=1 5f29c4e005e1d99d68c56ac1c5759122597961bd203c4b1d7342e400de65e3b8 10:18:26 $ docker rm -f 5f29c4e005e1d99d68c56ac1c5759122597961bd203c4b1d7342e400de65e3b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 10:18:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:18:27 . [Pipeline] withDockerContainer 10:18:27 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 10:18:27 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:18:28 $ docker top bc98ba13967bb487df539f92b90e08573d53e1b30bb9728c58f8bea0ed5b1f32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:18:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:28 [ssh-agent] Looking for ssh-agent implementation... 10:18:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:28 $ docker exec bc98ba13967bb487df539f92b90e08573d53e1b30bb9728c58f8bea0ed5b1f32 ssh-agent 10:18:28 SSH_AUTH_SOCK=/tmp/ssh-XZrWpwNgVqkA/agent.11 10:18:28 SSH_AGENT_PID=16 10:18:28 Running ssh-add (command line suppressed) 10:18:28 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6348740810539078858.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6348740810539078858.key) 10:18:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:29 + git semver bump pre 10:18:29 # -> Open(): unable to determine branch for HEAD 10:18:29 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 10:18:29 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 10:18:29 # $SEMVER_REMOTE_NAME = origin 10:18:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:18:29 # $SEMVER_USER_NAME = edgex-jenkins 10:18:29 # $SEMVER_BRANCH = master 10:18:29 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 10:18:29 1.2.3-dev.2 [Pipeline] } 10:18:29 $ docker exec --env ******** --env ******** bc98ba13967bb487df539f92b90e08573d53e1b30bb9728c58f8bea0ed5b1f32 ssh-agent -k 10:18:29 unset SSH_AUTH_SOCK; 10:18:29 unset SSH_AGENT_PID; 10:18:29 echo Agent pid 16 killed; 10:18:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:18:29 + git semver [Pipeline] } 10:18:29 $ docker stop --time=1 bc98ba13967bb487df539f92b90e08573d53e1b30bb9728c58f8bea0ed5b1f32 10:18:31 $ docker rm -f bc98ba13967bb487df539f92b90e08573d53e1b30bb9728c58f8bea0ed5b1f32 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 10:18:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:18:31 . [Pipeline] withDockerContainer 10:18:31 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 10:18:31 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:18:32 $ docker top cd347d517dd942feb16cb871fcdb4a0fd7d2d7fc09788e62d0987d505ac436bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:18:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:32 [ssh-agent] Looking for ssh-agent implementation... 10:18:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:32 $ docker exec cd347d517dd942feb16cb871fcdb4a0fd7d2d7fc09788e62d0987d505ac436bd ssh-agent 10:18:32 SSH_AUTH_SOCK=/tmp/ssh-VGBXj429ya0C/agent.11 10:18:32 SSH_AGENT_PID=16 10:18:32 Running ssh-add (command line suppressed) 10:18:32 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8750449560152109645.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8750449560152109645.key) 10:18:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:33 + git semver push 10:18:33 # -> Open(): unable to determine branch for HEAD 10:18:33 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 10:18:33 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 10:18:33 # $SEMVER_REMOTE_NAME = origin 10:18:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:18:33 # $SEMVER_USER_NAME = edgex-jenkins 10:18:33 # $SEMVER_BRANCH = master 10:18:33 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 10:18:39 $ docker exec --env ******** --env ******** cd347d517dd942feb16cb871fcdb4a0fd7d2d7fc09788e62d0987d505ac436bd ssh-agent -k 10:18:40 unset SSH_AUTH_SOCK; 10:18:40 unset SSH_AGENT_PID; 10:18:40 echo Agent pid 16 killed; 10:18:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:18:40 + git semver [Pipeline] } 10:18:40 $ docker stop --time=1 cd347d517dd942feb16cb871fcdb4a0fd7d2d7fc09788e62d0987d505ac436bd 10:18:41 $ docker rm -f cd347d517dd942feb16cb871fcdb4a0fd7d2d7fc09788e62d0987d505ac436bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 10:18:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:18:43 ---> package-listing.sh 10:18:43 ++ facter osfamily 10:18:43 ++ tr '[:upper:]' '[:lower:]' 10:18:43 + OS_FAMILY=redhat 10:18:43 + workspace=/w/workspace/foundry_device-virtual-go_master 10:18:43 + START_PACKAGES=/tmp/packages_start.txt 10:18:43 + END_PACKAGES=/tmp/packages_end.txt 10:18:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:18:43 + PACKAGES=/tmp/packages_start.txt 10:18:43 + '[' /w/workspace/foundry_device-virtual-go_master ']' 10:18:43 + PACKAGES=/tmp/packages_end.txt 10:18:43 + case "${OS_FAMILY}" in 10:18:43 + rpm -qa 10:18:43 + sort 10:18:47 + '[' -f /tmp/packages_start.txt ']' 10:18:47 + '[' -f /tmp/packages_end.txt ']' 10:18:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:18:47 + '[' /w/workspace/foundry_device-virtual-go_master ']' 10:18:47 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 10:18:47 + 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 10:18:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:18:47 10:18:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:18:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:18:48 alpine: Pulling from edgex-lftools-log-publisher 10:18:48 c9b1b535fdd9: Pulling fs layer 10:18:48 2cc5ad85d9ab: Pulling fs layer 10:18:48 756a868c4378: Pulling fs layer 10:18:48 444b2fc9a129: Pulling fs layer 10:18:48 ea15f1150254: Pulling fs layer 10:18:48 41b27a9f41bf: Pulling fs layer 10:18:48 28c525ee5125: Pulling fs layer 10:18:48 094b1ea09ed8: Pulling fs layer 10:18:48 138eaada9080: Pulling fs layer 10:18:48 0622d0fa9048: Pulling fs layer 10:18:48 0622d0fa9048: Waiting 10:18:48 138eaada9080: Waiting 10:18:48 41b27a9f41bf: Waiting 10:18:48 094b1ea09ed8: Waiting 10:18:48 28c525ee5125: Waiting 10:18:48 2cc5ad85d9ab: Download complete 10:18:48 444b2fc9a129: Verifying Checksum 10:18:48 444b2fc9a129: Download complete 10:18:48 c9b1b535fdd9: Download complete 10:18:48 ea15f1150254: Verifying Checksum 10:18:48 ea15f1150254: Download complete 10:18:48 28c525ee5125: Download complete 10:18:48 756a868c4378: Verifying Checksum 10:18:48 756a868c4378: Download complete 10:18:48 138eaada9080: Verifying Checksum 10:18:48 138eaada9080: Download complete 10:18:48 0622d0fa9048: Verifying Checksum 10:18:48 0622d0fa9048: Download complete 10:18:48 094b1ea09ed8: Verifying Checksum 10:18:48 094b1ea09ed8: Download complete 10:18:49 41b27a9f41bf: Verifying Checksum 10:18:49 41b27a9f41bf: Download complete 10:18:49 c9b1b535fdd9: Pull complete 10:18:49 2cc5ad85d9ab: Pull complete 10:18:51 756a868c4378: Pull complete 10:18:51 444b2fc9a129: Pull complete 10:18:51 ea15f1150254: Pull complete 10:18:54 41b27a9f41bf: Pull complete 10:18:54 28c525ee5125: Pull complete 10:18:57 094b1ea09ed8: Pull complete 10:18:57 138eaada9080: Pull complete 10:18:57 0622d0fa9048: Pull complete 10:18:57 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 10:18:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:18:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:18:57 prd-centos7-docker-4c-2g-568 does not seem to be running inside a container 10:18:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:19:00 $ docker top 9e7582d389c18503161adc267c8b1747c2a58f5cf31a9e7efac825466666a37a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:19:00 provisioning config files... 10:19:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8025651799626013787tmp [Pipeline] { [Pipeline] echo 10:19:01 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:19:01 ---> create-netrc.sh [Pipeline] echo 10:19:01 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:19:01 ---> logs-deploy.sh 10:19:01 + ARCHIVE_ARTIFACTS= 10:19:01 + LOGS_SERVER=https://logs.edgexfoundry.org 10:19:01 + '[' https://logs.edgexfoundry.org == None ']' 10:19:01 + NEXUS_URL=https://nexus.edgexfoundry.org 10:19:01 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/18 10:19:01 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/18/ 10:19:01 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/18 /w/workspace/foundry_device-virtual-go_master 10:19:02 Archives upload complete. 10:19:02 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/18 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/18/