Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 85ca4d9a088a28cefeda27c571c84a40d18009e2 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-660 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 85ca4d9a088a28cefeda27c571c84a40d18009e2 (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 85ca4d9a088a28cefeda27c571c84a40d18009e2 # timeout=10 Commit message: "Merge pull request #124 from FelixTing/update-readme" > git rev-list --no-walk d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:26:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:26:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:26:04 ========================================================= 08:26:04 EdgeX Global Pipelines Version Info 08:26:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:26:05 ------------------- 08:26:05 stable info: 08:26:05 ------------------- 08:26:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:26:05 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 08:26:05 Message: update stable to v1.0.106 08:26:06 ------------------- 08:26:06 experimental info: 08:26:06 ------------------- 08:26:06 Commited By: **** collab-it+edgex@linuxfoundation.org 08:26:06 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 08:26:06 Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:26:08 + git log --format=format:%s -1 85ca4d9a088a28cefeda27c571c84a40d18009e2 [Pipeline] echo 08:26:08 GIT_COMMIT: 85ca4d9a088a28cefeda27c571c84a40d18009e2, Commit Message: Merge pull request #124 from FelixTing/update-readme [Pipeline] echo 08:26:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:26:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:26:09 08:26:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:26:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:26:10 latest: Pulling from edgex-devops/git-semver 08:26:10 31603596830f: Pulling fs layer 08:26:10 2a8b12db71e7: Pulling fs layer 08:26:10 6ca5941a6612: Pulling fs layer 08:26:10 ecc8261a40a4: Pulling fs layer 08:26:10 ecc8261a40a4: Waiting 08:26:10 2a8b12db71e7: Verifying Checksum 08:26:10 2a8b12db71e7: Download complete 08:26:10 31603596830f: Verifying Checksum 08:26:10 31603596830f: Download complete 08:26:10 ecc8261a40a4: Verifying Checksum 08:26:10 ecc8261a40a4: Download complete 08:26:10 6ca5941a6612: Verifying Checksum 08:26:10 6ca5941a6612: Download complete 08:26:10 31603596830f: Pull complete 08:26:10 2a8b12db71e7: Pull complete 08:26:11 6ca5941a6612: Pull complete 08:26:12 ecc8261a40a4: Pull complete 08:26:12 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:26:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:26:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:26:12 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 08:26:12 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:26:14 $ docker top 99aaf215d0bc9a14409b126259233cb51401ac6876d81907f7bb4f700afeabee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:26:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:26:14 [ssh-agent] Looking for ssh-agent implementation... 08:26:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:26:14 $ docker exec 99aaf215d0bc9a14409b126259233cb51401ac6876d81907f7bb4f700afeabee ssh-agent 08:26:14 SSH_AUTH_SOCK=/tmp/ssh-E2h7P358QR2U/agent.11 08:26:14 SSH_AGENT_PID=17 08:26:14 Running ssh-add (command line suppressed) 08:26:15 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4675647249551132629.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4675647249551132629.key) 08:26:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:26:15 + git describe --exact-match --tags HEAD 08:26:15 fatal: No names found, cannot describe anything. [Pipeline] } 08:26:15 $ docker exec --env ******** --env ******** 99aaf215d0bc9a14409b126259233cb51401ac6876d81907f7bb4f700afeabee ssh-agent -k 08:26:15 unset SSH_AUTH_SOCK; 08:26:15 unset SSH_AGENT_PID; 08:26:15 echo Agent pid 17 killed; 08:26:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:26:15 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:26:15 This usually means this commit has not been tagged. [Pipeline] sshagent 08:26:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:26:15 [ssh-agent] Looking for ssh-agent implementation... 08:26:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:26:15 $ docker exec 99aaf215d0bc9a14409b126259233cb51401ac6876d81907f7bb4f700afeabee ssh-agent 08:26:16 SSH_AUTH_SOCK=/tmp/ssh-OxIh4QeKeoPa/agent.45 08:26:16 SSH_AGENT_PID=50 08:26:16 Running ssh-add (command line suppressed) 08:26:16 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8303690898370082858.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8303690898370082858.key) 08:26:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:26:16 + git semver init 08:26:16 # -> Open(): unable to determine branch for HEAD 08:26:16 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 08:26:16 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 08:26:16 # $SEMVER_REMOTE_NAME = origin 08:26:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:26:16 # $SEMVER_USER_NAME = edgex-jenkins 08:26:16 # $SEMVER_BRANCH = master 08:26:16 # $SEMVER_TEMP = /tmp/semver-423819385 08:26:16 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 08:26:17 # '/tmp/semver-423819385' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 08:26:17 # -> Force: false 08:26:17 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 08:26:17 $ docker exec --env ******** --env ******** 99aaf215d0bc9a14409b126259233cb51401ac6876d81907f7bb4f700afeabee ssh-agent -k 08:26:17 unset SSH_AUTH_SOCK; 08:26:17 unset SSH_AGENT_PID; 08:26:17 echo Agent pid 50 killed; 08:26:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:26:17 + git semver [Pipeline] } 08:26:17 $ docker stop --time=1 99aaf215d0bc9a14409b126259233cb51401ac6876d81907f7bb4f700afeabee 08:26:19 $ docker rm -f 99aaf215d0bc9a14409b126259233cb51401ac6876d81907f7bb4f700afeabee [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:26:19 Stashed 19 file(s) [Pipeline] echo 08:26:19 [edgeXSemver] initialized semver on version 1.2.4-dev.1 [Pipeline] echo 08:26:19 Archived original version: [1.2.4-dev.1] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 08:26:35 Still waiting to schedule task 08:26:35 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:26:35 Still waiting to schedule task 08:26:35 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:28:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-661 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 08:28:24 Running in /w/workspace/device-virtual-go/21 [Pipeline] { [Pipeline] checkout 08:28:29 using credential edgex-jenkins-ssh 08:28:29 Cloning the remote Git repository 08:28:29 Cloning with configured refspecs honoured and without tags 08:28:29 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:28:29 > git init /w/workspace/device-virtual-go/21 # timeout=10 08:28:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:28:29 > git --version # timeout=10 08:28:29 using GIT_SSH to set credentials SSH Credentials for GitHub 08:28:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:28:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:28:30 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:28:30 Fetching without tags 08:28:31 Checking out Revision 85ca4d9a088a28cefeda27c571c84a40d18009e2 (master) 08:28:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:28:30 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:28:30 using GIT_SSH to set credentials SSH Credentials for GitHub 08:28:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:28:31 > git config core.sparsecheckout # timeout=10 08:28:31 > git checkout -f 85ca4d9a088a28cefeda27c571c84a40d18009e2 # timeout=10 08:28:36 Commit message: "Merge pull request #124 from FelixTing/update-readme" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:28:37 ========================================================= 08:28:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:28:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:28:38 + 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 . 08:28:38 Sending build context to Docker daemon 527.4kB 08:28:39 Step 1/8 : ARG BASE=golang:1.13-alpine 08:28:39 Step 2/8 : FROM ${BASE} 08:28:39 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:28:39 b538f80385f9: Pulling fs layer 08:28:39 74f711af9a0d: Pulling fs layer 08:28:39 99f96fe45779: Pulling fs layer 08:28:39 fd7a069fd194: Pulling fs layer 08:28:39 66aa3694b03b: Pulling fs layer 08:28:39 170f70906a0f: Pulling fs layer 08:28:39 ad7c5574e4b9: Pulling fs layer 08:28:39 e772456be8f7: Pulling fs layer 08:28:39 c890913d741a: Pulling fs layer 08:28:39 2480fcc9aa5a: Pulling fs layer 08:28:39 09adf4765672: Pulling fs layer 08:28:39 170f70906a0f: Waiting 08:28:39 ad7c5574e4b9: Waiting 08:28:39 e772456be8f7: Waiting 08:28:39 c890913d741a: Waiting 08:28:39 2480fcc9aa5a: Waiting 08:28:39 09adf4765672: Waiting 08:28:39 fd7a069fd194: Waiting 08:28:39 66aa3694b03b: Waiting 08:28:39 99f96fe45779: Verifying Checksum 08:28:39 99f96fe45779: Download complete 08:28:39 74f711af9a0d: Verifying Checksum 08:28:39 74f711af9a0d: Download complete 08:28:39 66aa3694b03b: Verifying Checksum 08:28:39 66aa3694b03b: Download complete 08:28:39 170f70906a0f: Verifying Checksum 08:28:39 170f70906a0f: Download complete 08:28:39 b538f80385f9: Verifying Checksum 08:28:39 b538f80385f9: Download complete 08:28:40 b538f80385f9: Pull complete 08:28:40 74f711af9a0d: Pull complete 08:28:41 99f96fe45779: Pull complete 08:28:42 ad7c5574e4b9: Verifying Checksum 08:28:42 ad7c5574e4b9: Download complete 08:28:42 c890913d741a: Verifying Checksum 08:28:42 c890913d741a: Download complete 08:28:43 2480fcc9aa5a: Verifying Checksum 08:28:43 2480fcc9aa5a: Download complete 08:28:43 09adf4765672: Verifying Checksum 08:28:44 e772456be8f7: Verifying Checksum 08:28:44 e772456be8f7: Download complete 08:28:45 fd7a069fd194: Verifying Checksum 08:28:45 fd7a069fd194: Download complete 08:28:57 fd7a069fd194: Pull complete 08:28:57 66aa3694b03b: Pull complete 08:28:57 170f70906a0f: Pull complete 08:29:00 ad7c5574e4b9: Pull complete 08:29:05 e772456be8f7: Pull complete 08:29:05 c890913d741a: Pull complete 08:29:07 2480fcc9aa5a: Pull complete 08:29:07 09adf4765672: Pull complete 08:29:08 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 08:29:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:29:08 ---> 2248a725d1cf 08:29:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:29:12 ---> Running in dbbcc1ce2fc5 08:29:12 Removing intermediate container dbbcc1ce2fc5 08:29:12 ---> 30e968e427d2 08:29:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:29:12 ---> Running in bd8222aa69b7 08:29:13 Running on prd-centos7-docker-4c-2g-662 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 08:29:13 Running in /w/workspace/device-virtual-go/21 [Pipeline] { [Pipeline] checkout 08:29:15 using credential edgex-jenkins-ssh 08:29:15 Cloning the remote Git repository 08:29:15 Cloning with configured refspecs honoured and without tags 08:29:15 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:29:15 > git init /w/workspace/device-virtual-go/21 # timeout=10 08:29:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:29:15 > git --version # timeout=10 08:29:15 using GIT_SSH to set credentials SSH Credentials for GitHub 08:29:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:29:16 Fetching without tags 08:29:16 Removing intermediate container bd8222aa69b7 08:29:16 ---> b7a1c7964ddc 08:29:16 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:29:16 ---> Running in c010ddebab04 08:29:16 Checking out Revision 85ca4d9a088a28cefeda27c571c84a40d18009e2 (master) 08:29:16 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:29:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:29:16 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:29:16 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:29:16 using GIT_SSH to set credentials SSH Credentials for GitHub 08:29:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:29:16 > git config core.sparsecheckout # timeout=10 08:29:16 > git checkout -f 85ca4d9a088a28cefeda27c571c84a40d18009e2 # timeout=10 08:29:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:29:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:29:19 (1/14) Installing libmagic (5.38-r0) 08:29:19 (2/14) Installing file (5.38-r0) 08:29:19 (3/14) Installing libc-dev (0.7.2-r3) 08:29:19 (4/14) Installing g++ (9.3.0-r2) 08:29:20 Commit message: "Merge pull request #124 from FelixTing/update-readme" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:29:21 ========================================================= 08:29:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:29:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:29:21 (5/14) Installing fortify-headers (1.1-r0) 08:29:21 (6/14) Installing patch (2.7.6-r6) 08:29:21 (7/14) Installing build-base (0.5-r2) 08:29:21 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:29:21 + 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 . 08:29:21 (9/14) Installing libedit (20191231.3.1-r0) 08:29:21 (10/14) Installing openssh-client (8.3_p1-r0) 08:29:21 Sending build context to Docker daemon 527.4kB 08:29:21 Step 1/8 : ARG BASE=golang:1.13-alpine 08:29:21 Step 2/8 : FROM ${BASE} 08:29:22 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:29:22 df20fa9351a1: Pulling fs layer 08:29:22 ed8968b2872e: Pulling fs layer 08:29:22 a92cc7c5fd73: Pulling fs layer 08:29:22 2dd03ba5bac4: Pulling fs layer 08:29:22 1e091d79d1de: Pulling fs layer 08:29:22 481702a1767f: Pulling fs layer 08:29:22 f64a6f60c768: Pulling fs layer 08:29:22 e78d2573fc39: Pulling fs layer 08:29:22 e876d2f968b6: Pulling fs layer 08:29:22 ce8a83651883: Pulling fs layer 08:29:22 07967f4d0e4b: Pulling fs layer 08:29:22 f64a6f60c768: Waiting 08:29:22 e78d2573fc39: Waiting 08:29:22 e876d2f968b6: Waiting 08:29:22 ce8a83651883: Waiting 08:29:22 07967f4d0e4b: Waiting 08:29:22 2dd03ba5bac4: Waiting 08:29:22 1e091d79d1de: Waiting 08:29:22 481702a1767f: Waiting 08:29:22 a92cc7c5fd73: Verifying Checksum 08:29:22 a92cc7c5fd73: Download complete 08:29:22 ed8968b2872e: Download complete 08:29:22 1e091d79d1de: Verifying Checksum 08:29:22 1e091d79d1de: Download complete 08:29:22 481702a1767f: Download complete 08:29:22 df20fa9351a1: Verifying Checksum 08:29:22 df20fa9351a1: Download complete 08:29:22 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:29:22 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:29:22 df20fa9351a1: Pull complete 08:29:22 (13/14) Installing openssh-server (8.3_p1-r0) 08:29:22 (14/14) Installing openssh (8.3_p1-r0) 08:29:22 Executing busybox-1.31.1-r16.trigger 08:29:22 ed8968b2872e: Pull complete 08:29:22 OK: 221 MiB in 53 packages 08:29:23 a92cc7c5fd73: Pull complete 08:29:23 f64a6f60c768: Verifying Checksum 08:29:23 f64a6f60c768: Download complete 08:29:23 e876d2f968b6: Verifying Checksum 08:29:23 e876d2f968b6: Download complete 08:29:23 ce8a83651883: Verifying Checksum 08:29:23 ce8a83651883: Download complete 08:29:23 2dd03ba5bac4: Verifying Checksum 08:29:23 2dd03ba5bac4: Download complete 08:29:23 07967f4d0e4b: Verifying Checksum 08:29:23 07967f4d0e4b: Download complete 08:29:24 e78d2573fc39: Verifying Checksum 08:29:24 e78d2573fc39: Download complete 08:29:27 Removing intermediate container c010ddebab04 08:29:27 ---> 18523fb73722 08:29:27 Step 6/8 : WORKDIR /device-virtual-go 08:29:27 ---> Running in 8b1a68c617f8 08:29:28 Removing intermediate container 8b1a68c617f8 08:29:28 ---> 80a6ced9c5bb 08:29:28 Step 7/8 : COPY . . 08:29:29 ---> 7b0b33c491a8 08:29:29 Step 8/8 : RUN go mod download 08:29:29 ---> Running in 0dccbe804616 08:29:30 2dd03ba5bac4: Pull complete 08:29:30 1e091d79d1de: Pull complete 08:29:30 481702a1767f: Pull complete 08:29:33 go: finding github.com/BurntSushi/toml v0.3.1 08:29:33 go: finding github.com/OneOfOne/xxhash v1.2.6 08:29:33 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:29:33 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:29:33 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:29:33 go: finding github.com/bgentry/speakeasy v0.1.0 08:29:33 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:29:33 go: finding github.com/davecgh/go-spew v1.1.1 08:29:33 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 08:29:33 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:29:33 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:29:33 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:29:33 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:29:33 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:29:33 go: finding github.com/edsrzf/mmap-go v1.0.0 08:29:33 go: finding github.com/fatih/color v1.7.0 08:29:33 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:29:33 go: finding github.com/go-kit/kit v0.8.0 08:29:33 go: finding github.com/go-logfmt/logfmt v0.4.0 08:29:33 go: finding github.com/go-stack/stack v1.8.0 08:29:33 go: finding github.com/golang/snappy v0.0.1 08:29:33 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:29:34 f64a6f60c768: Pull complete 08:29:34 go: finding github.com/google/uuid v1.1.0 08:29:34 go: finding github.com/gorilla/mux v1.7.1 08:29:34 go: finding github.com/hashicorp/consul/api v1.1.0 08:29:34 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:29:34 go: finding github.com/hashicorp/errwrap v1.0.0 08:29:34 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:29:34 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:29:34 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:29:34 go: finding github.com/hashicorp/go-multierror v1.0.0 08:29:34 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:29:34 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:29:34 go: finding github.com/hashicorp/go-syslog v1.0.0 08:29:34 go: finding github.com/hashicorp/go-uuid v1.0.1 08:29:34 go: finding github.com/hashicorp/go.net v0.0.1 08:29:34 go: finding github.com/hashicorp/golang-lru v0.5.0 08:29:34 go: finding github.com/hashicorp/logutils v1.0.0 08:29:34 go: finding github.com/hashicorp/mdns v1.0.0 08:29:34 go: finding github.com/hashicorp/memberlist v0.1.3 08:29:34 go: finding github.com/hashicorp/serf v0.8.2 08:29:35 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:29:35 go: finding github.com/mattn/go-colorable v0.0.9 08:29:35 go: finding github.com/mattn/go-isatty v0.0.3 08:29:35 go: finding github.com/miekg/dns v1.0.14 08:29:35 go: finding github.com/mitchellh/cli v1.0.0 08:29:35 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:29:35 go: finding github.com/mitchellh/copystructure v1.0.0 08:29:35 go: finding github.com/mitchellh/go-homedir v1.0.0 08:29:35 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:29:35 go: finding github.com/mitchellh/gox v0.4.0 08:29:35 go: finding github.com/mitchellh/iochan v1.0.0 08:29:35 go: finding github.com/mitchellh/mapstructure v1.1.2 08:29:35 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:29:35 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:29:35 go: finding github.com/pelletier/go-toml v1.2.0 08:29:35 go: finding github.com/pkg/errors v0.8.1 08:29:35 go: finding github.com/pmezard/go-difflib v1.0.0 08:29:35 go: finding github.com/posener/complete v1.1.1 08:29:35 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 08:29:35 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:29:35 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:29:35 go: finding github.com/stretchr/objx v0.1.0 08:29:35 go: finding github.com/stretchr/testify v1.5.1 08:29:35 go: finding github.com/ugorji/go v1.1.4 08:29:36 go: finding github.com/x448/float16 v0.8.4 08:29:36 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:29:36 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:29:36 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:29:36 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 08:29:36 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:29:36 go: finding gopkg.in/yaml.v2 v2.2.8 08:29:36 go: finding modernc.org/b v1.0.0 08:29:36 go: finding modernc.org/db v1.0.0 08:29:36 go: finding modernc.org/file v1.0.0 08:29:36 go: finding modernc.org/fileutil v1.0.0 08:29:36 go: finding modernc.org/golex v1.0.0 08:29:36 go: finding modernc.org/internal v1.0.0 08:29:36 go: finding modernc.org/lldb v1.0.0 08:29:36 go: finding modernc.org/mathutil v1.0.0 08:29:36 go: finding modernc.org/ql v1.0.0 08:29:36 go: finding modernc.org/sortutil v1.0.0 08:29:36 go: finding modernc.org/strutil v1.0.0 08:29:36 go: finding modernc.org/zappy v1.0.0 08:29:37 e78d2573fc39: Pull complete 08:29:37 e876d2f968b6: Pull complete 08:29:38 ce8a83651883: Pull complete 08:29:38 07967f4d0e4b: Pull complete 08:29:38 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 08:29:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:29:38 ---> 5d7c900382c6 08:29:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:29:40 ---> Running in ac6d5932f85a 08:29:40 Removing intermediate container ac6d5932f85a 08:29:40 ---> 54f2c8bbb85f 08:29:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:29:40 ---> Running in 45c13a27f743 08:29:41 Removing intermediate container 45c13a27f743 08:29:41 ---> 9a871a0fc3bb 08:29:41 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:29:41 ---> Running in ece09aad5869 08:29:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:29:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:29:43 (1/14) Installing libmagic (5.38-r0) 08:29:43 (2/14) Installing file (5.38-r0) 08:29:43 (3/14) Installing libc-dev (0.7.2-r3) 08:29:43 (4/14) Installing g++ (9.3.0-r2) 08:29:46 (5/14) Installing fortify-headers (1.1-r0) 08:29:46 (6/14) Installing patch (2.7.6-r6) 08:29:46 (7/14) Installing build-base (0.5-r2) 08:29:46 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:29:46 (9/14) Installing libedit (20191231.3.1-r0) 08:29:46 (10/14) Installing openssh-client (8.3_p1-r0) 08:29:46 Removing intermediate container 0dccbe804616 08:29:46 ---> d8534c31cc71 08:29:46 Successfully built d8534c31cc71 08:29:46 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:29:46 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:29:46 (13/14) Installing openssh-server (8.3_p1-r0) 08:29:47 Successfully tagged ci-base-image-arm64:latest 08:29:47 (14/14) Installing openssh (8.3_p1-r0) 08:29:47 Executing busybox-1.31.1-r16.trigger 08:29:47 OK: 237 MiB in 53 packages [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:29:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:29:50 + ls -al . 08:29:50 total 88 08:29:50 drwxrwxr-x 8 jenkins jenkins 4096 Aug 21 08:28 . 08:29:50 drwxrwxr-x 4 jenkins jenkins 4096 Aug 21 08:28 .. 08:29:50 drwxrwxr-x 8 jenkins jenkins 4096 Aug 21 08:28 .git 08:29:50 drwxrwxr-x 2 jenkins jenkins 4096 Aug 21 08:28 .github 08:29:50 -rw-rw-r-- 1 jenkins jenkins 258 Aug 21 08:28 .gitignore 08:29:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 08:28 .semver 08:29:50 -rw-rw-r-- 1 jenkins jenkins 6432 Aug 21 08:28 Attribution.txt 08:29:50 -rw-rw-r-- 1 jenkins jenkins 1826 Aug 21 08:28 Dockerfile 08:29:50 -rw-rw-r-- 1 jenkins jenkins 957 Aug 21 08:28 Dockerfile.build 08:29:50 -rw-rw-r-- 1 jenkins jenkins 683 Aug 21 08:28 Jenkinsfile 08:29:50 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 21 08:28 LICENSE 08:29:50 -rw-rw-r-- 1 jenkins jenkins 873 Aug 21 08:28 Makefile 08:29:50 -rw-rw-r-- 1 jenkins jenkins 918 Aug 21 08:28 README.md 08:29:50 -rw-rw-r-- 1 jenkins jenkins 11 Aug 21 08:26 VERSION 08:29:50 drwxrwxr-x 2 jenkins jenkins 4096 Aug 21 08:28 bin 08:29:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 08:28 cmd 08:29:50 -rw-rw-r-- 1 jenkins jenkins 855 Aug 21 08:28 go.mod 08:29:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 08:28 internal 08:29:50 -rw-rw-r-- 1 jenkins jenkins 235 Aug 21 08:28 version.go [Pipeline] isUnix [Pipeline] sh 08:29:50 Removing intermediate container ece09aad5869 08:29:50 ---> ac7fc6529762 08:29:50 Step 6/8 : WORKDIR /device-virtual-go 08:29:50 ---> Running in 248a1c81a23c 08:29:50 Removing intermediate container 248a1c81a23c 08:29:50 ---> feedf0658937 08:29:50 Step 7/8 : COPY . . 08:29:50 + 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=85ca4d9a088a28cefeda27c571c84a40d18009e2 --label arch=arm64 --label version=1.2.4-dev.1 . 08:29:50 Sending build context to Docker daemon 527.4kB 08:29:50 Step 1/21 : ARG BASE=golang:1.13-alpine 08:29:50 Step 2/21 : FROM ${BASE} AS builder 08:29:50 ---> d8534c31cc71 08:29:50 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:29:51 ---> f916e38a79e0 08:29:51 Step 8/8 : RUN go mod download 08:29:51 ---> Running in b99a5e7841e0 08:29:51 ---> Running in 04b4ead82b95 08:29:51 Removing intermediate container 04b4ead82b95 08:29:51 ---> 1e9a629e7c2d 08:29:51 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 08:29:51 ---> Running in ea5db79c83c8 08:29:52 Removing intermediate container ea5db79c83c8 08:29:52 ---> 65dd25e05ec4 08:29:52 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 08:29:52 ---> Running in 5beae0932a5d 08:29:52 Removing intermediate container 5beae0932a5d 08:29:52 ---> d438d63f101f 08:29:52 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:29:52 ---> Running in 6782b6e09f0d 08:29:53 go: finding github.com/BurntSushi/toml v0.3.1 08:29:53 go: finding github.com/OneOfOne/xxhash v1.2.6 08:29:53 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:29:53 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:29:53 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:29:53 go: finding github.com/bgentry/speakeasy v0.1.0 08:29:53 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:29:53 go: finding github.com/davecgh/go-spew v1.1.1 08:29:53 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 08:29:53 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:29:53 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:29:53 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:29:53 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:29:53 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:29:53 go: finding github.com/edsrzf/mmap-go v1.0.0 08:29:53 go: finding github.com/fatih/color v1.7.0 08:29:53 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:29:54 go: finding github.com/go-kit/kit v0.8.0 08:29:54 go: finding github.com/go-logfmt/logfmt v0.4.0 08:29:54 go: finding github.com/go-stack/stack v1.8.0 08:29:54 go: finding github.com/golang/snappy v0.0.1 08:29:54 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:29:54 go: finding github.com/google/uuid v1.1.0 08:29:54 go: finding github.com/gorilla/mux v1.7.1 08:29:54 go: finding github.com/hashicorp/consul/api v1.1.0 08:29:54 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:29:54 go: finding github.com/hashicorp/errwrap v1.0.0 08:29:54 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:29:54 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:29:54 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:29:54 go: finding github.com/hashicorp/go-multierror v1.0.0 08:29:54 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:29:54 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:29:54 go: finding github.com/hashicorp/go-syslog v1.0.0 08:29:54 go: finding github.com/hashicorp/go-uuid v1.0.1 08:29:54 go: finding github.com/hashicorp/go.net v0.0.1 08:29:54 go: finding github.com/hashicorp/golang-lru v0.5.0 08:29:54 go: finding github.com/hashicorp/logutils v1.0.0 08:29:54 go: finding github.com/hashicorp/mdns v1.0.0 08:29:54 go: finding github.com/hashicorp/memberlist v0.1.3 08:29:54 go: finding github.com/hashicorp/serf v0.8.2 08:29:54 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:29:54 go: finding github.com/mattn/go-colorable v0.0.9 08:29:54 go: finding github.com/mattn/go-isatty v0.0.3 08:29:54 go: finding github.com/miekg/dns v1.0.14 08:29:55 go: finding github.com/mitchellh/cli v1.0.0 08:29:55 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:29:55 go: finding github.com/mitchellh/copystructure v1.0.0 08:29:55 go: finding github.com/mitchellh/go-homedir v1.0.0 08:29:55 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:29:55 go: finding github.com/mitchellh/gox v0.4.0 08:29:55 go: finding github.com/mitchellh/iochan v1.0.0 08:29:55 go: finding github.com/mitchellh/mapstructure v1.1.2 08:29:55 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:29:55 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:29:55 go: finding github.com/pelletier/go-toml v1.2.0 08:29:55 go: finding github.com/pkg/errors v0.8.1 08:29:55 go: finding github.com/pmezard/go-difflib v1.0.0 08:29:55 Removing intermediate container 6782b6e09f0d 08:29:55 ---> 48057a8dd202 08:29:55 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:29:55 ---> Running in 1e474aeb9257 08:29:55 go: finding github.com/posener/complete v1.1.1 08:29:55 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 08:29:55 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:29:55 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:29:55 go: finding github.com/stretchr/objx v0.1.0 08:29:55 go: finding github.com/stretchr/testify v1.5.1 08:29:55 go: finding github.com/ugorji/go v1.1.4 08:29:55 go: finding github.com/x448/float16 v0.8.4 08:29:55 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:29:55 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:29:55 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:29:55 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 08:29:55 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:29:56 go: finding gopkg.in/yaml.v2 v2.2.8 08:29:56 go: finding modernc.org/b v1.0.0 08:29:56 go: finding modernc.org/db v1.0.0 08:29:56 go: finding modernc.org/file v1.0.0 08:29:56 go: finding modernc.org/fileutil v1.0.0 08:29:56 go: finding modernc.org/golex v1.0.0 08:29:56 go: finding modernc.org/internal v1.0.0 08:29:56 go: finding modernc.org/lldb v1.0.0 08:29:56 go: finding modernc.org/mathutil v1.0.0 08:29:56 go: finding modernc.org/ql v1.0.0 08:29:56 go: finding modernc.org/sortutil v1.0.0 08:29:56 go: finding modernc.org/strutil v1.0.0 08:29:56 go: finding modernc.org/zappy v1.0.0 08:29:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:29:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:29:58 OK: 221 MiB in 53 packages 08:29:59 Removing intermediate container 1e474aeb9257 08:29:59 ---> bc2799db39d5 08:29:59 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 08:29:59 ---> Running in 40a0cac3e0e4 08:30:00 Removing intermediate container 40a0cac3e0e4 08:30:00 ---> e54c05a70446 08:30:00 Step 9/21 : COPY . . 08:30:01 ---> 3e38f02f48e6 08:30:01 Step 10/21 : ARG MAKE='make build' 08:30:01 ---> Running in 845c148049a2 08:30:02 Removing intermediate container 845c148049a2 08:30:02 ---> 240704c8a531 08:30:02 Step 11/21 : RUN $MAKE 08:30:02 ---> Running in fe63bb8e4f82 08:30:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.4-dev.1" -o cmd/device-virtual ./cmd 08:30:06 Removing intermediate container b99a5e7841e0 08:30:06 ---> 029906c0126a 08:30:06 Successfully built 029906c0126a 08:30:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:30:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:30:07 + ls -al . 08:30:07 total 60 08:30:07 drwxrwxr-x. 8 jenkins jenkins 4096 Aug 21 08:29 . 08:30:07 drwxrwxr-x. 4 jenkins jenkins 30 Aug 21 08:29 .. 08:30:07 -rw-rw-r--. 1 jenkins jenkins 6432 Aug 21 08:29 Attribution.txt 08:30:07 drwxrwxr-x. 2 jenkins jenkins 64 Aug 21 08:29 bin 08:30:07 drwxrwxr-x. 3 jenkins jenkins 32 Aug 21 08:29 cmd 08:30:07 -rw-rw-r--. 1 jenkins jenkins 1826 Aug 21 08:29 Dockerfile 08:30:07 -rw-rw-r--. 1 jenkins jenkins 957 Aug 21 08:29 Dockerfile.build 08:30:07 drwxrwxr-x. 8 jenkins jenkins 162 Aug 21 08:29 .git 08:30:07 drwxrwxr-x. 2 jenkins jenkins 38 Aug 21 08:29 .github 08:30:07 -rw-rw-r--. 1 jenkins jenkins 258 Aug 21 08:29 .gitignore 08:30:07 -rw-rw-r--. 1 jenkins jenkins 855 Aug 21 08:29 go.mod 08:30:07 drwxrwxr-x. 3 jenkins jenkins 20 Aug 21 08:29 internal 08:30:07 -rw-rw-r--. 1 jenkins jenkins 683 Aug 21 08:29 Jenkinsfile 08:30:07 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 21 08:29 LICENSE 08:30:07 -rw-rw-r--. 1 jenkins jenkins 873 Aug 21 08:29 Makefile 08:30:07 -rw-rw-r--. 1 jenkins jenkins 918 Aug 21 08:29 README.md 08:30:07 drwxrwxr-x. 3 jenkins jenkins 44 Aug 21 08:29 .semver 08:30:07 -rw-rw-r--. 1 jenkins jenkins 11 Aug 21 08:26 VERSION 08:30:07 -rw-rw-r--. 1 jenkins jenkins 235 Aug 21 08:29 version.go [Pipeline] isUnix [Pipeline] sh 08:30:07 + 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=85ca4d9a088a28cefeda27c571c84a40d18009e2 --label arch=amd64 --label version=1.2.4-dev.1 . 08:30:08 Sending build context to Docker daemon 527.4kB 08:30:08 Step 1/21 : ARG BASE=golang:1.13-alpine 08:30:08 Step 2/21 : FROM ${BASE} AS builder 08:30:08 ---> 029906c0126a 08:30:08 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:30:08 ---> Running in 96cffdd8e748 08:30:08 Removing intermediate container 96cffdd8e748 08:30:08 ---> 6fe0053eabe6 08:30:08 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 08:30:08 ---> Running in b9cb63e7c928 08:30:08 Removing intermediate container b9cb63e7c928 08:30:08 ---> c57a54cb84c6 08:30:08 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 08:30:08 ---> Running in 59cfdeab608c 08:30:08 Removing intermediate container 59cfdeab608c 08:30:08 ---> c06c3bfb2864 08:30:08 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:30:09 ---> Running in f078a40068da 08:30:10 Removing intermediate container f078a40068da 08:30:10 ---> 4916fe56f1e8 08:30:10 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:30:10 ---> Running in f71ec549fa89 08:30:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:30:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:30:11 OK: 237 MiB in 53 packages 08:30:12 Removing intermediate container f71ec549fa89 08:30:12 ---> f6b27be28a10 08:30:12 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 08:30:12 ---> Running in 72fc870ad170 08:30:12 Removing intermediate container 72fc870ad170 08:30:12 ---> 2817e2f6159f 08:30:12 Step 9/21 : COPY . . 08:30:13 ---> 69e1e1c84370 08:30:13 Step 10/21 : ARG MAKE='make build' 08:30:13 ---> Running in fc7a36c3acc0 08:30:13 Removing intermediate container fc7a36c3acc0 08:30:13 ---> ef281636c6ab 08:30:13 Step 11/21 : RUN $MAKE 08:30:13 ---> Running in e427761c466d 08:30:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.4-dev.1" -o cmd/device-virtual ./cmd 08:30:26 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:30:28 Removing intermediate container e427761c466d 08:30:28 ---> 7d915bcb09fa 08:30:28 Step 12/21 : FROM alpine 08:30:28 latest: Pulling from library/alpine 08:30:28 df20fa9351a1: Already exists 08:30:29 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:30:29 Status: Downloaded newer image for alpine:latest 08:30:29 ---> a24bb4013296 08:30:29 Step 13/21 : ENV APP_PORT=49990 08:30:29 ---> Running in b6f4495820f3 08:30:29 Removing intermediate container b6f4495820f3 08:30:29 ---> 227078936b1f 08:30:29 Step 14/21 : EXPOSE $APP_PORT 08:30:29 ---> Running in 34d38b8787f9 08:30:29 Removing intermediate container 34d38b8787f9 08:30:29 ---> 1d0bfc35c95e 08:30:29 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 08:30:30 ---> d099b8d6886a 08:30:30 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 08:30:30 ---> 780041bc648d 08:30:30 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 08:30:31 ---> 1106c050fe82 08:30:31 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 08:30:31 ---> Running in 570eccfeacae 08:30:31 Removing intermediate container 570eccfeacae 08:30:31 ---> 01a715976dba 08:30:31 Step 19/21 : LABEL arch=amd64 08:30:31 ---> Running in 0f3c72440861 08:30:31 Removing intermediate container 0f3c72440861 08:30:31 ---> fc27cf8e51ed 08:30:31 Step 20/21 : LABEL git_sha=85ca4d9a088a28cefeda27c571c84a40d18009e2 08:30:31 ---> Running in ef95307e3792 08:30:31 Removing intermediate container ef95307e3792 08:30:31 ---> 578abf2d89ae 08:30:31 Step 21/21 : LABEL version=1.2.4-dev.1 08:30:31 ---> Running in 30f407268ec8 08:30:32 Removing intermediate container 30f407268ec8 08:30:32 ---> 2d4c3ec4c8ee 08:30:32 [Warning] One or more build-args [ARCH] were not consumed 08:30:32 Successfully built 2d4c3ec4c8ee 08:30:32 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 08:30:32 provisioning config files... 08:30:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/21@tmp/config5010623772751195890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:30:32 nexus3.edgexfoundry.org:10001 08:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:33 Configure a credential helper to remove this warning. See 08:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:33 08:30:33 Login Succeeded 08:30:33 nexus3.edgexfoundry.org:10002 08:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:33 Configure a credential helper to remove this warning. See 08:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:33 08:30:33 Login Succeeded 08:30:33 nexus3.edgexfoundry.org:10003 08:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:33 Configure a credential helper to remove this warning. See 08:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:33 08:30:33 Login Succeeded 08:30:33 nexus3.edgexfoundry.org:10004 08:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:33 Configure a credential helper to remove this warning. See 08:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:33 08:30:33 Login Succeeded 08:30:33 docker.io 08:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:33 Configure a credential helper to remove this warning. See 08:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:33 08:30:33 Login Succeeded [Pipeline] } 08:30:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:30:34 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 08:30:34 85ca4d9a088a28cefeda27c571c84a40d18009e2 08:30:34 latest 08:30:34 1.2.4-dev.1 08:30:34 85ca4d9a088a28cefeda27c571c84a40d18009e2-1.2.4-dev.1 08:30:34 master 08:30:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:30:34 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:85ca4d9a088a28cefeda27c571c84a40d18009e2 [Pipeline] isUnix [Pipeline] sh 08:30:35 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:85ca4d9a088a28cefeda27c571c84a40d18009e2 08:30:35 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 08:30:35 ab53ff1634df: Preparing 08:30:35 1de1d2bbb8a0: Preparing 08:30:35 06e531c103f8: Preparing 08:30:35 50644c29ef5a: Preparing 08:30:35 50644c29ef5a: Layer already exists 08:30:35 1de1d2bbb8a0: Pushed 08:30:35 ab53ff1634df: Pushed 08:30:36 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:30:36 06e531c103f8: Pushed 08:30:36 85ca4d9a088a28cefeda27c571c84a40d18009e2: digest: sha256:d787e8aad3f5b28d27ed9a17714957bb545052b0da47f9f1142d4e4a3c6f12d8 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:30:36 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 08:30:37 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 08:30:37 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 08:30:37 ab53ff1634df: Preparing 08:30:37 1de1d2bbb8a0: Preparing 08:30:37 06e531c103f8: Preparing 08:30:37 50644c29ef5a: Preparing 08:30:37 ab53ff1634df: Layer already exists 08:30:37 50644c29ef5a: Layer already exists 08:30:37 06e531c103f8: Layer already exists 08:30:37 1de1d2bbb8a0: Layer already exists 08:30:37 latest: digest: sha256:d787e8aad3f5b28d27ed9a17714957bb545052b0da47f9f1142d4e4a3c6f12d8 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:30:37 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.1 [Pipeline] isUnix [Pipeline] sh 08:30:37 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.1 08:30:37 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 08:30:37 ab53ff1634df: Preparing 08:30:37 1de1d2bbb8a0: Preparing 08:30:37 06e531c103f8: Preparing 08:30:37 50644c29ef5a: Preparing 08:30:37 50644c29ef5a: Layer already exists 08:30:37 06e531c103f8: Layer already exists 08:30:37 1de1d2bbb8a0: Layer already exists 08:30:37 ab53ff1634df: Layer already exists 08:30:37 1.2.4-dev.1: digest: sha256:d787e8aad3f5b28d27ed9a17714957bb545052b0da47f9f1142d4e4a3c6f12d8 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:30:37 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:85ca4d9a088a28cefeda27c571c84a40d18009e2-1.2.4-dev.1 [Pipeline] isUnix [Pipeline] sh 08:30:38 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:85ca4d9a088a28cefeda27c571c84a40d18009e2-1.2.4-dev.1 08:30:38 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 08:30:38 ab53ff1634df: Preparing 08:30:38 1de1d2bbb8a0: Preparing 08:30:38 06e531c103f8: Preparing 08:30:38 50644c29ef5a: Preparing 08:30:38 50644c29ef5a: Layer already exists 08:30:38 1de1d2bbb8a0: Layer already exists 08:30:38 ab53ff1634df: Layer already exists 08:30:38 06e531c103f8: Layer already exists 08:30:38 85ca4d9a088a28cefeda27c571c84a40d18009e2-1.2.4-dev.1: digest: sha256:d787e8aad3f5b28d27ed9a17714957bb545052b0da47f9f1142d4e4a3c6f12d8 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:30:38 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 08:30:38 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 08:30:38 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 08:30:38 ab53ff1634df: Preparing 08:30:38 1de1d2bbb8a0: Preparing 08:30:38 06e531c103f8: Preparing 08:30:38 50644c29ef5a: Preparing 08:30:38 06e531c103f8: Layer already exists 08:30:38 ab53ff1634df: Layer already exists 08:30:38 1de1d2bbb8a0: Layer already exists 08:30:38 50644c29ef5a: Layer already exists 08:30:38 master: digest: sha256:d787e8aad3f5b28d27ed9a17714957bb545052b0da47f9f1142d4e4a3c6f12d8 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:30:39 ===================================================== [Pipeline] echo 08:30:39 taggedImages: 08:30:39 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:85ca4d9a088a28cefeda27c571c84a40d18009e2 08:30:39 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 08:30:39 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.1 08:30:39 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:85ca4d9a088a28cefeda27c571c84a40d18009e2-1.2.4-dev.1 08:30:39 - 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] } 08:30:44 Removing intermediate container fe63bb8e4f82 08:30:44 ---> 6e99b0bb3f57 08:30:44 Step 12/21 : FROM alpine 08:30:44 latest: Pulling from library/alpine 08:30:44 b538f80385f9: Already exists 08:30:44 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:30:44 Status: Downloaded newer image for alpine:latest 08:30:44 ---> 62ee0e9f8440 08:30:44 Step 13/21 : ENV APP_PORT=49990 08:30:44 ---> Running in 82b7fbc0800a 08:30:44 Removing intermediate container 82b7fbc0800a 08:30:44 ---> 202f53a556b5 08:30:44 Step 14/21 : EXPOSE $APP_PORT 08:30:44 ---> Running in c8845dee55d4 08:30:44 Removing intermediate container c8845dee55d4 08:30:44 ---> 1db3b806fbb6 08:30:44 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 08:30:46 ---> c4e7dc2b9f4e 08:30:46 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 08:30:46 ---> b679721960e1 08:30:46 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 08:30:47 ---> fae334eba722 08:30:47 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 08:30:47 ---> Running in 268fadfdaccd 08:30:48 Removing intermediate container 268fadfdaccd 08:30:48 ---> 5243ca3810f4 08:30:48 Step 19/21 : LABEL arch=arm64 08:30:48 ---> Running in 69d6efb3b0d1 08:30:49 Removing intermediate container 69d6efb3b0d1 08:30:49 ---> e7337720e73d 08:30:49 Step 20/21 : LABEL git_sha=85ca4d9a088a28cefeda27c571c84a40d18009e2 08:30:49 ---> Running in 4487152c370a 08:30:49 Removing intermediate container 4487152c370a 08:30:49 ---> c54b9a63b20f 08:30:49 Step 21/21 : LABEL version=1.2.4-dev.1 08:30:49 ---> Running in 47e546bf3010 08:30:50 Removing intermediate container 47e546bf3010 08:30:50 ---> 8e23194f9099 08:30:50 [Warning] One or more build-args [ARCH] were not consumed 08:30:50 Successfully built 8e23194f9099 08:30:50 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 08:30:50 provisioning config files... 08:30:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/21@tmp/config2977762532868322850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:30:51 nexus3.edgexfoundry.org:10001 08:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:51 Configure a credential helper to remove this warning. See 08:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:51 08:30:51 Login Succeeded 08:30:51 nexus3.edgexfoundry.org:10002 08:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:52 Configure a credential helper to remove this warning. See 08:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:52 08:30:52 Login Succeeded 08:30:52 nexus3.edgexfoundry.org:10003 08:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:52 Configure a credential helper to remove this warning. See 08:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:52 08:30:52 Login Succeeded 08:30:52 nexus3.edgexfoundry.org:10004 08:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:53 Configure a credential helper to remove this warning. See 08:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:53 08:30:53 Login Succeeded 08:30:53 docker.io 08:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:54 Configure a credential helper to remove this warning. See 08:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:54 08:30:54 Login Succeeded [Pipeline] } 08:30:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:30:54 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 08:30:54 85ca4d9a088a28cefeda27c571c84a40d18009e2 08:30:54 latest 08:30:54 1.2.4-dev.1 08:30:54 85ca4d9a088a28cefeda27c571c84a40d18009e2-1.2.4-dev.1 08:30:54 master 08:30:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:30:54 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:85ca4d9a088a28cefeda27c571c84a40d18009e2 [Pipeline] isUnix [Pipeline] sh 08:30:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:85ca4d9a088a28cefeda27c571c84a40d18009e2 08:30:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 08:30:55 630232a7f8a4: Preparing 08:30:55 20b6b7834d97: Preparing 08:30:55 44a74e282cc5: Preparing 08:30:55 e2f13739ad41: Preparing 08:30:55 e2f13739ad41: Layer already exists 08:30:55 630232a7f8a4: Pushed 08:30:55 20b6b7834d97: Pushed 08:30:58 44a74e282cc5: Pushed 08:30:58 85ca4d9a088a28cefeda27c571c84a40d18009e2: digest: sha256:6e2a420b268c9afcac6cab798c4edec90a9d74a4f3c7e38251098a1230c804a8 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:30:59 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:30:59 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 08:30:59 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 08:30:59 630232a7f8a4: Preparing 08:30:59 20b6b7834d97: Preparing 08:30:59 44a74e282cc5: Preparing 08:30:59 e2f13739ad41: Preparing 08:30:59 e2f13739ad41: Layer already exists 08:30:59 630232a7f8a4: Layer already exists 08:30:59 44a74e282cc5: Layer already exists 08:30:59 20b6b7834d97: Layer already exists 08:30:59 latest: digest: sha256:6e2a420b268c9afcac6cab798c4edec90a9d74a4f3c7e38251098a1230c804a8 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:31:00 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.1 [Pipeline] isUnix [Pipeline] sh 08:31:00 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.1 08:31:00 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 08:31:00 630232a7f8a4: Preparing 08:31:00 20b6b7834d97: Preparing 08:31:00 44a74e282cc5: Preparing 08:31:00 e2f13739ad41: Preparing 08:31:00 44a74e282cc5: Layer already exists 08:31:00 20b6b7834d97: Layer already exists 08:31:00 e2f13739ad41: Layer already exists 08:31:00 630232a7f8a4: Layer already exists 08:31:00 1.2.4-dev.1: digest: sha256:6e2a420b268c9afcac6cab798c4edec90a9d74a4f3c7e38251098a1230c804a8 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:31:01 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:85ca4d9a088a28cefeda27c571c84a40d18009e2-1.2.4-dev.1 [Pipeline] isUnix [Pipeline] sh 08:31:01 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:85ca4d9a088a28cefeda27c571c84a40d18009e2-1.2.4-dev.1 08:31:01 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 08:31:01 630232a7f8a4: Preparing 08:31:01 20b6b7834d97: Preparing 08:31:01 44a74e282cc5: Preparing 08:31:01 e2f13739ad41: Preparing 08:31:01 e2f13739ad41: Layer already exists 08:31:01 20b6b7834d97: Layer already exists 08:31:01 44a74e282cc5: Layer already exists 08:31:01 630232a7f8a4: Layer already exists 08:31:01 85ca4d9a088a28cefeda27c571c84a40d18009e2-1.2.4-dev.1: digest: sha256:6e2a420b268c9afcac6cab798c4edec90a9d74a4f3c7e38251098a1230c804a8 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:31:02 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 08:31:02 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 08:31:02 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 08:31:02 630232a7f8a4: Preparing 08:31:02 20b6b7834d97: Preparing 08:31:02 44a74e282cc5: Preparing 08:31:02 e2f13739ad41: Preparing 08:31:02 44a74e282cc5: Layer already exists 08:31:02 630232a7f8a4: Layer already exists 08:31:02 e2f13739ad41: Layer already exists 08:31:02 20b6b7834d97: Layer already exists 08:31:02 master: digest: sha256:6e2a420b268c9afcac6cab798c4edec90a9d74a4f3c7e38251098a1230c804a8 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:31:03 ===================================================== [Pipeline] echo 08:31:03 taggedImages: 08:31:03 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:85ca4d9a088a28cefeda27c571c84a40d18009e2 08:31:03 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 08:31:03 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.1 08:31:03 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:85ca4d9a088a28cefeda27c571c84a40d18009e2-1.2.4-dev.1 08:31:03 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 08:31:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 08:31:04 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 08:31:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:31:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 08:31:04 08:31:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 08:31:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 08:31:05 1.317.0: Pulling from edgex-devops/edgex-snyk-go 08:31:05 cbdbe7a5bc2a: Pulling fs layer 08:31:05 408f87550127: Pulling fs layer 08:31:05 fe522b08c979: Pulling fs layer 08:31:05 221eaa008020: Pulling fs layer 08:31:05 2a4607e5d6b9: Pulling fs layer 08:31:05 8f79b27c4fd2: Pulling fs layer 08:31:05 e5c8dbe1645b: Pulling fs layer 08:31:05 23e8b3b47431: Pulling fs layer 08:31:05 5c568d65a230: Pulling fs layer 08:31:05 8f79b27c4fd2: Waiting 08:31:05 e5c8dbe1645b: Waiting 08:31:05 23e8b3b47431: Waiting 08:31:05 5c568d65a230: Waiting 08:31:05 221eaa008020: Waiting 08:31:05 2a4607e5d6b9: Waiting 08:31:05 fe522b08c979: Verifying Checksum 08:31:05 fe522b08c979: Download complete 08:31:05 408f87550127: Verifying Checksum 08:31:05 408f87550127: Download complete 08:31:05 2a4607e5d6b9: Verifying Checksum 08:31:05 2a4607e5d6b9: Download complete 08:31:05 8f79b27c4fd2: Verifying Checksum 08:31:05 8f79b27c4fd2: Download complete 08:31:05 cbdbe7a5bc2a: Download complete 08:31:05 e5c8dbe1645b: Verifying Checksum 08:31:05 e5c8dbe1645b: Download complete 08:31:05 cbdbe7a5bc2a: Pull complete 08:31:06 23e8b3b47431: Verifying Checksum 08:31:06 23e8b3b47431: Download complete 08:31:06 5c568d65a230: Verifying Checksum 08:31:06 5c568d65a230: Download complete 08:31:06 408f87550127: Pull complete 08:31:06 fe522b08c979: Pull complete 08:31:06 221eaa008020: Verifying Checksum 08:31:06 221eaa008020: Download complete 08:31:12 221eaa008020: Pull complete 08:31:12 2a4607e5d6b9: Pull complete 08:31:12 8f79b27c4fd2: Pull complete 08:31:14 e5c8dbe1645b: Pull complete 08:31:17 23e8b3b47431: Pull complete 08:31:19 5c568d65a230: Pull complete 08:31:19 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 08:31:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 08:31:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 08:31:19 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 08:31:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/foundry_device-virtual-go_master:/ws -w /ws --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 08:31:21 $ docker top 08634292e7fd3d84688ebaafcf62dc8b52f6f7a08abc3cc4d1e8eb4f87c72f09 -eo pid,comm [Pipeline] { [Pipeline] sh 08:31:21 + snyk monitor '--org=edgex-jenkins' 08:31:39 08:31:39 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 08:31:39 08:31:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/cb42d7f3-0fda-4231-a17b-2d4fd5a0d9f0 08:31:39 08:31:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:31:39 08:31:39 08:31:39 Snyk CLI supports Node.js 8 and higher. 08:31:39 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 08:31:39 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 08:31:39 08:31:39 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 08:31:39 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. 08:31:39 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 08:31:39 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:31:39 $ docker stop --time=1 08634292e7fd3d84688ebaafcf62dc8b52f6f7a08abc3cc4d1e8eb4f87c72f09 08:31:42 $ docker rm -f 08634292e7fd3d84688ebaafcf62dc8b52f6f7a08abc3cc4d1e8eb4f87c72f09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:31:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:31:43 08:31:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 08:31:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:31:44 latest: Pulling from edgex-devops/edgex-klar 08:31:44 e7c96db7181b: Pulling fs layer 08:31:44 1868ca2cb446: Pulling fs layer 08:31:44 136be5d0fe8e: Pulling fs layer 08:31:44 894bfe63afcb: Pulling fs layer 08:31:44 894bfe63afcb: Waiting 08:31:44 1868ca2cb446: Verifying Checksum 08:31:44 136be5d0fe8e: Verifying Checksum 08:31:44 136be5d0fe8e: Download complete 08:31:44 e7c96db7181b: Verifying Checksum 08:31:44 e7c96db7181b: Download complete 08:31:44 894bfe63afcb: Verifying Checksum 08:31:44 894bfe63afcb: Download complete 08:31:44 e7c96db7181b: Pull complete 08:31:44 1868ca2cb446: Pull complete 08:31:44 136be5d0fe8e: Pull complete 08:31:44 894bfe63afcb: Pull complete 08:31:44 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 08:31:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:31:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 08:31:44 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 08:31:45 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 08:31:46 $ docker top c84a1d7576ef6f481f8efb70f391d91c9da2b9365c9a28c5af6590f44baba030 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:46 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:85ca4d9a088a28cefeda27c571c84a40d18009e2 08:31:46 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:31:51 $ docker stop --time=1 c84a1d7576ef6f481f8efb70f391d91c9da2b9365c9a28c5af6590f44baba030 08:31:52 $ docker rm -f c84a1d7576ef6f481f8efb70f391d91c9da2b9365c9a28c5af6590f44baba030 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:31:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:31:52 . [Pipeline] withDockerContainer 08:31:52 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 08:31:52 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 08:31:53 $ docker top cec71b5d22c34eec1a29a116600069b5c732ea91eb4b3c9c550e784c4f7e60d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:54 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:85ca4d9a088a28cefeda27c571c84a40d18009e2 08:31:54 + tee 08:31:54 clair timeout 1m0s 08:31:54 docker timeout: 1m0s 08:31:54 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:31:54 $ docker stop --time=1 cec71b5d22c34eec1a29a116600069b5c732ea91eb4b3c9c550e784c4f7e60d4 08:31:56 $ docker rm -f cec71b5d22c34eec1a29a116600069b5c732ea91eb4b3c9c550e784c4f7e60d4 [Pipeline] // withDockerContainer [Pipeline] sh 08:31:56 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 08:31:56 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_85ca4d9a088a28cefeda27c571c84a40d18009e2.html [Pipeline] writeFile [Pipeline] step 08:31:56 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 08:31:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:31:56 . [Pipeline] withDockerContainer 08:31:57 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 08:31:57 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 08:31:57 $ docker top 24bf1f5e763539947586717780b1b1b04e02d0a2e451af29a24b3de10a8f4b76 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:58 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:85ca4d9a088a28cefeda27c571c84a40d18009e2 08:31:58 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:32:02 $ docker stop --time=1 24bf1f5e763539947586717780b1b1b04e02d0a2e451af29a24b3de10a8f4b76 08:32:04 $ docker rm -f 24bf1f5e763539947586717780b1b1b04e02d0a2e451af29a24b3de10a8f4b76 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:32:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:32:04 . [Pipeline] withDockerContainer 08:32:04 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 08:32:04 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 08:32:05 $ docker top 824ee021cf4bb5cb5dc5da7871cdd9683f5225a3b7dd059aabb8dcd922788dad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:06 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:85ca4d9a088a28cefeda27c571c84a40d18009e2 08:32:06 + tee 08:32:06 clair timeout 1m0s 08:32:06 docker timeout: 1m0s 08:32:06 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:32:06 $ docker stop --time=1 824ee021cf4bb5cb5dc5da7871cdd9683f5225a3b7dd059aabb8dcd922788dad 08:32:08 $ docker rm -f 824ee021cf4bb5cb5dc5da7871cdd9683f5225a3b7dd059aabb8dcd922788dad [Pipeline] // withDockerContainer [Pipeline] sh 08:32:08 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 08:32:08 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_85ca4d9a088a28cefeda27c571c84a40d18009e2.html [Pipeline] writeFile [Pipeline] step 08:32:08 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 08:32:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:32:09 . [Pipeline] withDockerContainer 08:32:09 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 08:32:09 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:32:10 $ docker top 82c421f55ae516fc3533a2b7f1d86c6628e9c9e73c3a36c35a244f069b2d8bb3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:32:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:10 [ssh-agent] Looking for ssh-agent implementation... 08:32:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:10 $ docker exec 82c421f55ae516fc3533a2b7f1d86c6628e9c9e73c3a36c35a244f069b2d8bb3 ssh-agent 08:32:11 SSH_AUTH_SOCK=/tmp/ssh-pKscwOXzZPP0/agent.11 08:32:11 SSH_AGENT_PID=17 08:32:11 Running ssh-add (command line suppressed) 08:32:11 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4756376662576446822.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4756376662576446822.key) 08:32:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:11 + git semver tag 08:32:11 # -> Open(): unable to determine branch for HEAD 08:32:11 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 08:32:11 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 08:32:11 # $SEMVER_REMOTE_NAME = origin 08:32:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:32:11 # $SEMVER_USER_NAME = edgex-jenkins 08:32:11 # $SEMVER_BRANCH = master 08:32:11 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 08:32:11 # 85ca4d9a088a28cefeda27c571c84a40d18009e2 HEAD 08:32:11 # -> Force: false 08:32:11 # 7f9fb59c1d2d7b2360af223915e47b0af39fe36e refs/tags/v1.2.4-dev.1 [Pipeline] } 08:32:11 $ docker exec --env ******** --env ******** 82c421f55ae516fc3533a2b7f1d86c6628e9c9e73c3a36c35a244f069b2d8bb3 ssh-agent -k 08:32:11 unset SSH_AUTH_SOCK; 08:32:11 unset SSH_AGENT_PID; 08:32:11 echo Agent pid 17 killed; 08:32:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:32:12 + git semver [Pipeline] } 08:32:12 $ docker stop --time=1 82c421f55ae516fc3533a2b7f1d86c6628e9c9e73c3a36c35a244f069b2d8bb3 08:32:13 $ docker rm -f 82c421f55ae516fc3533a2b7f1d86c6628e9c9e73c3a36c35a244f069b2d8bb3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:32:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:32:14 08:32:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:32:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:32:14 0.23.1-centos7: Pulling from edgex-lftools 08:32:14 ab5ef0e58194: Pulling fs layer 08:32:14 9712f1f96733: Pulling fs layer 08:32:14 63f879dbbcfc: Pulling fs layer 08:32:14 0d9ebad4ef96: Pulling fs layer 08:32:14 e9a5061849ea: Pulling fs layer 08:32:14 d747dcd14b5f: Pulling fs layer 08:32:14 2de7ff778b66: Pulling fs layer 08:32:14 0d9ebad4ef96: Waiting 08:32:14 e9a5061849ea: Waiting 08:32:14 d747dcd14b5f: Waiting 08:32:14 2de7ff778b66: Waiting 08:32:14 9712f1f96733: Download complete 08:32:15 63f879dbbcfc: Verifying Checksum 08:32:15 63f879dbbcfc: Download complete 08:32:15 e9a5061849ea: Verifying Checksum 08:32:15 e9a5061849ea: Download complete 08:32:15 d747dcd14b5f: Verifying Checksum 08:32:15 d747dcd14b5f: Download complete 08:32:15 0d9ebad4ef96: Verifying Checksum 08:32:15 0d9ebad4ef96: Download complete 08:32:15 2de7ff778b66: Verifying Checksum 08:32:15 2de7ff778b66: Download complete 08:32:15 ab5ef0e58194: Verifying Checksum 08:32:15 ab5ef0e58194: Download complete 08:32:19 ab5ef0e58194: Pull complete 08:32:19 9712f1f96733: Pull complete 08:32:22 63f879dbbcfc: Pull complete 08:32:29 0d9ebad4ef96: Pull complete 08:32:29 e9a5061849ea: Pull complete 08:32:29 d747dcd14b5f: Pull complete 08:32:33 2de7ff778b66: Pull complete 08:32:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:32:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:32:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:32:33 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 08:32:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:32:37 $ docker top df7b09596d185c84210c875a3a2eb88a04e08138b0a85277dedec21dc160bfa3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:32:37 provisioning config files... 08:32:37 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6993484932020418727tmp 08:32:37 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config132889593946421257tmp 08:32:37 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3067626292890413993tmp [Pipeline] { [Pipeline] echo 08:32:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:32:37 ---> sigul-configuration.sh 08:32:37 gpg: directory `/root/.gnupg' created 08:32:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:32:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:32:37 gpg: keyring `/root/.gnupg/secring.gpg' created 08:32:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:32:37 gpg: CAST5 encrypted data 08:32:38 gpg: encrypted with 1 passphrase 08:32:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:32:38 + mkdir /home/jenkins 08:32:38 + mkdir /home/jenkins/sigul [Pipeline] sh 08:32:38 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 08:32:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:32:38 ---> sigul-install.sh 08:32:44 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 08:32:44 + git tag --list 08:32:44 v1.2.4-dev.1 [Pipeline] sh 08:32:44 + lftools sign git-tag v1.2.4-dev.1 08:32:46 Signing Git tag with Sigul... 08:32:46 Signing v1.2.4-dev.1 [Pipeline] echo 08:32:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:32:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:32:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:32:47 $ docker stop --time=1 df7b09596d185c84210c875a3a2eb88a04e08138b0a85277dedec21dc160bfa3 08:32:49 $ docker rm -f df7b09596d185c84210c875a3a2eb88a04e08138b0a85277dedec21dc160bfa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 08:32:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:32:49 . [Pipeline] withDockerContainer 08:32:49 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 08:32:49 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:32:50 $ docker top 988ebe890c92cd91316378e0791b29e5f951335d552897c4c12e72a6ec6c7f1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:32:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:50 [ssh-agent] Looking for ssh-agent implementation... 08:32:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:51 $ docker exec 988ebe890c92cd91316378e0791b29e5f951335d552897c4c12e72a6ec6c7f1b ssh-agent 08:32:51 SSH_AUTH_SOCK=/tmp/ssh-j0O4HSUROcOt/agent.13 08:32:51 SSH_AGENT_PID=18 08:32:51 Running ssh-add (command line suppressed) 08:32:51 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2076376348879173999.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2076376348879173999.key) 08:32:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:51 + git semver bump pre 08:32:51 # -> Open(): unable to determine branch for HEAD 08:32:51 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 08:32:51 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 08:32:51 # $SEMVER_REMOTE_NAME = origin 08:32:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:32:51 # $SEMVER_USER_NAME = edgex-jenkins 08:32:51 # $SEMVER_BRANCH = master 08:32:51 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 08:32:51 1.2.4-dev.2 [Pipeline] } 08:32:51 $ docker exec --env ******** --env ******** 988ebe890c92cd91316378e0791b29e5f951335d552897c4c12e72a6ec6c7f1b ssh-agent -k 08:32:51 unset SSH_AUTH_SOCK; 08:32:51 unset SSH_AGENT_PID; 08:32:51 echo Agent pid 18 killed; 08:32:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:32:52 + git semver [Pipeline] } 08:32:52 $ docker stop --time=1 988ebe890c92cd91316378e0791b29e5f951335d552897c4c12e72a6ec6c7f1b 08:32:53 $ docker rm -f 988ebe890c92cd91316378e0791b29e5f951335d552897c4c12e72a6ec6c7f1b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:32:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:32:54 . [Pipeline] withDockerContainer 08:32:54 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 08:32:54 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:32:55 $ docker top dff29319939a0d8c4be1d8daf1656ab39c94594bd3fcf77cd6ea1cbe08b42766 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:32:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:55 [ssh-agent] Looking for ssh-agent implementation... 08:32:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:55 $ docker exec dff29319939a0d8c4be1d8daf1656ab39c94594bd3fcf77cd6ea1cbe08b42766 ssh-agent 08:32:55 SSH_AUTH_SOCK=/tmp/ssh-J3EkMDhMU2oo/agent.13 08:32:55 SSH_AGENT_PID=19 08:32:55 Running ssh-add (command line suppressed) 08:32:55 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4541808735103305990.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4541808735103305990.key) 08:32:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:56 + git semver push 08:32:56 # -> Open(): unable to determine branch for HEAD 08:32:56 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 08:32:56 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 08:32:56 # $SEMVER_REMOTE_NAME = origin 08:32:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:32:56 # $SEMVER_USER_NAME = edgex-jenkins 08:32:56 # $SEMVER_BRANCH = master 08:32:56 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 08:33:02 $ docker exec --env ******** --env ******** dff29319939a0d8c4be1d8daf1656ab39c94594bd3fcf77cd6ea1cbe08b42766 ssh-agent -k 08:33:02 unset SSH_AUTH_SOCK; 08:33:02 unset SSH_AGENT_PID; 08:33:02 echo Agent pid 19 killed; 08:33:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:33:03 + git semver [Pipeline] } 08:33:03 $ docker stop --time=1 dff29319939a0d8c4be1d8daf1656ab39c94594bd3fcf77cd6ea1cbe08b42766 08:33:05 $ docker rm -f dff29319939a0d8c4be1d8daf1656ab39c94594bd3fcf77cd6ea1cbe08b42766 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:33:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:33:06 ---> package-listing.sh 08:33:06 ++ facter osfamily 08:33:06 ++ tr '[:upper:]' '[:lower:]' 08:33:06 + OS_FAMILY=redhat 08:33:06 + workspace=/w/workspace/foundry_device-virtual-go_master 08:33:06 + START_PACKAGES=/tmp/packages_start.txt 08:33:06 + END_PACKAGES=/tmp/packages_end.txt 08:33:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:33:06 + PACKAGES=/tmp/packages_start.txt 08:33:06 + '[' /w/workspace/foundry_device-virtual-go_master ']' 08:33:06 + PACKAGES=/tmp/packages_end.txt 08:33:06 + case "${OS_FAMILY}" in 08:33:06 + rpm -qa 08:33:06 + sort 08:33:10 + '[' -f /tmp/packages_start.txt ']' 08:33:10 + '[' -f /tmp/packages_end.txt ']' 08:33:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:33:10 + '[' /w/workspace/foundry_device-virtual-go_master ']' 08:33:10 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 08:33:10 + 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 08:33:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:33:11 08:33:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:33:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:33:11 alpine: Pulling from edgex-lftools-log-publisher 08:33:11 c9b1b535fdd9: Pulling fs layer 08:33:11 2cc5ad85d9ab: Pulling fs layer 08:33:11 756a868c4378: Pulling fs layer 08:33:11 444b2fc9a129: Pulling fs layer 08:33:11 ea15f1150254: Pulling fs layer 08:33:11 41b27a9f41bf: Pulling fs layer 08:33:11 28c525ee5125: Pulling fs layer 08:33:11 094b1ea09ed8: Pulling fs layer 08:33:11 138eaada9080: Pulling fs layer 08:33:11 0622d0fa9048: Pulling fs layer 08:33:11 444b2fc9a129: Waiting 08:33:11 ea15f1150254: Waiting 08:33:11 41b27a9f41bf: Waiting 08:33:11 28c525ee5125: Waiting 08:33:11 094b1ea09ed8: Waiting 08:33:11 138eaada9080: Waiting 08:33:11 0622d0fa9048: Waiting 08:33:11 2cc5ad85d9ab: Download complete 08:33:11 444b2fc9a129: Verifying Checksum 08:33:11 444b2fc9a129: Download complete 08:33:11 c9b1b535fdd9: Verifying Checksum 08:33:11 c9b1b535fdd9: Download complete 08:33:11 ea15f1150254: Verifying Checksum 08:33:11 ea15f1150254: Download complete 08:33:12 28c525ee5125: Verifying Checksum 08:33:12 28c525ee5125: Download complete 08:33:12 756a868c4378: Verifying Checksum 08:33:12 756a868c4378: Download complete 08:33:12 138eaada9080: Verifying Checksum 08:33:12 138eaada9080: Download complete 08:33:12 0622d0fa9048: Verifying Checksum 08:33:12 0622d0fa9048: Download complete 08:33:12 094b1ea09ed8: Verifying Checksum 08:33:12 094b1ea09ed8: Download complete 08:33:13 41b27a9f41bf: Verifying Checksum 08:33:13 41b27a9f41bf: Download complete 08:33:13 c9b1b535fdd9: Pull complete 08:33:13 2cc5ad85d9ab: Pull complete 08:33:14 756a868c4378: Pull complete 08:33:15 444b2fc9a129: Pull complete 08:33:15 ea15f1150254: Pull complete 08:33:19 41b27a9f41bf: Pull complete 08:33:19 28c525ee5125: Pull complete 08:33:21 094b1ea09ed8: Pull complete 08:33:22 138eaada9080: Pull complete 08:33:22 0622d0fa9048: Pull complete 08:33:22 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:33:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:33:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:33:22 prd-centos7-docker-4c-2g-660 does not seem to be running inside a container 08:33:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:33:25 $ docker top f9d7514e08a155603926f649cbac7a4e9183e17b675f38d96acee012437ec569 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:33:25 provisioning config files... 08:33:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2227938201939113448tmp [Pipeline] { [Pipeline] echo 08:33:25 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:33:26 ---> create-netrc.sh [Pipeline] echo 08:33:26 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:33:26 ---> logs-deploy.sh 08:33:26 + ARCHIVE_ARTIFACTS= 08:33:26 + LOGS_SERVER=https://logs.edgexfoundry.org 08:33:26 + '[' https://logs.edgexfoundry.org == None ']' 08:33:26 + NEXUS_URL=https://nexus.edgexfoundry.org 08:33:26 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/21 08:33:26 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/21/ 08:33:26 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/21 /w/workspace/foundry_device-virtual-go_master 08:33:27 Archives upload complete. 08:33:27 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/21 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/21/