Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5333790cbfc620bb38957914a0d65453366236ce Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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:lfit/releng-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] ========================================================= [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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3167’ Running on prd-centos7-docker-4c-2g-3171 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 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 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 5333790cbfc620bb38957914a0d65453366236ce (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 Commit message: "Merge pull request #133 from FelixTing/issue-112" > git rev-list --no-walk 8d31429af90f845313e1f83db91362442934a267 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:45:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:45:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:45:10 ========================================================= 02:45:10 EdgeX Global Pipelines Version Info 02:45:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:45:11 ------------------- 02:45:11 stable info: 02:45:11 ------------------- 02:45:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:45:11 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 02:45:11 Message: update stable to v1.0.131 02:45:12 ------------------- 02:45:12 experimental info: 02:45:12 ------------------- 02:45:12 Commited By: **** collab-it+edgex@linuxfoundation.org 02:45:12 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 02:45:12 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:45:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:45:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:45:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5333790cbfc620bb38957914a0d65453366236ce [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5333790 [Pipeline] echo 02:45:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:16 + git log --format=format:%s -1 5333790cbfc620bb38957914a0d65453366236ce [Pipeline] echo 02:45:16 GIT_COMMIT: 5333790cbfc620bb38957914a0d65453366236ce, Commit Message: Merge pull request #133 from FelixTing/issue-112 [Pipeline] echo 02:45:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:45:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:17 02:45:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:45:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:17 latest: Pulling from edgex-devops/git-semver 02:45:17 31603596830f: Pulling fs layer 02:45:17 2a8b12db71e7: Pulling fs layer 02:45:17 6ca5941a6612: Pulling fs layer 02:45:17 ecc8261a40a4: Pulling fs layer 02:45:17 ecc8261a40a4: Waiting 02:45:17 2a8b12db71e7: Verifying Checksum 02:45:17 2a8b12db71e7: Download complete 02:45:17 31603596830f: Verifying Checksum 02:45:17 31603596830f: Download complete 02:45:17 ecc8261a40a4: Verifying Checksum 02:45:17 ecc8261a40a4: Download complete 02:45:17 6ca5941a6612: Verifying Checksum 02:45:17 6ca5941a6612: Download complete 02:45:18 31603596830f: Pull complete 02:45:18 2a8b12db71e7: Pull complete 02:45:19 6ca5941a6612: Pull complete 02:45:19 ecc8261a40a4: Pull complete 02:45:19 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:45:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:45:19 prd-centos7-docker-4c-2g-3171 does not seem to be running inside a container 02:45:19 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:45:21 $ docker top 53d8b24e9dad6a83f9cb6e32b7de94130857aa4accefbe706b1461847cb65d09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:22 [ssh-agent] Looking for ssh-agent implementation... 02:45:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:22 $ docker exec 53d8b24e9dad6a83f9cb6e32b7de94130857aa4accefbe706b1461847cb65d09 ssh-agent 02:45:22 SSH_AUTH_SOCK=/tmp/ssh-TlIP4fBDME26/agent.11 02:45:22 SSH_AGENT_PID=16 02:45:22 Running ssh-add (command line suppressed) 02:45:22 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8088137320271991883.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8088137320271991883.key) 02:45:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:23 + git describe --exact-match --tags HEAD 02:45:23 fatal: no tag exactly matches '5333790cbfc620bb38957914a0d65453366236ce' [Pipeline] } 02:45:23 $ docker exec --env ******** --env ******** 53d8b24e9dad6a83f9cb6e32b7de94130857aa4accefbe706b1461847cb65d09 ssh-agent -k 02:45:23 unset SSH_AUTH_SOCK; 02:45:23 unset SSH_AGENT_PID; 02:45:23 echo Agent pid 16 killed; 02:45:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:45:23 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:45:23 This usually means this commit has not been tagged. [Pipeline] sshagent 02:45:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:23 [ssh-agent] Looking for ssh-agent implementation... 02:45:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:23 $ docker exec 53d8b24e9dad6a83f9cb6e32b7de94130857aa4accefbe706b1461847cb65d09 ssh-agent 02:45:23 SSH_AUTH_SOCK=/tmp/ssh-XFe4GaoHGmWA/agent.45 02:45:23 SSH_AGENT_PID=50 02:45:23 Running ssh-add (command line suppressed) 02:45:23 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2366088994776721208.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2366088994776721208.key) 02:45:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:24 + git semver init 02:45:24 # -> Open(): unable to determine branch for HEAD 02:45:24 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 02:45:24 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 02:45:24 # $SEMVER_REMOTE_NAME = origin 02:45:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:45:24 # $SEMVER_USER_NAME = edgex-jenkins 02:45:24 # $SEMVER_BRANCH = master 02:45:24 # $SEMVER_TEMP = /tmp/semver-056342542 02:45:24 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 02:45:24 # '/tmp/semver-056342542' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 02:45:24 # -> Force: false 02:45:24 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 02:45:24 $ docker exec --env ******** --env ******** 53d8b24e9dad6a83f9cb6e32b7de94130857aa4accefbe706b1461847cb65d09 ssh-agent -k 02:45:24 unset SSH_AUTH_SOCK; 02:45:24 unset SSH_AGENT_PID; 02:45:24 echo Agent pid 50 killed; 02:45:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:25 + git semver [Pipeline] } 02:45:25 $ docker stop --time=1 53d8b24e9dad6a83f9cb6e32b7de94130857aa4accefbe706b1461847cb65d09 02:45:26 $ docker rm -f 53d8b24e9dad6a83f9cb6e32b7de94130857aa4accefbe706b1461847cb65d09 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:45:27 Stashed 26 file(s) [Pipeline] echo 02:45:27 [edgeXSemver]: initialized semver on version 1.2.4-dev.8 [Pipeline] echo 02:45:27 Archived original version: [1.2.4-dev.8] [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 02:45:43 Still waiting to schedule task 02:45:43 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:45:43 Still waiting to schedule task 02:45:43 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3170’ is offline 02:47:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3172 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 02:47:34 Running in /w/workspace/device-virtual-go/29 [Pipeline] { [Pipeline] checkout 02:47:39 using credential edgex-jenkins-ssh 02:47:39 Cloning the remote Git repository 02:47:39 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:47:40 > git init /w/workspace/device-virtual-go/29 # timeout=10 02:47:40 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:47:40 > git --version # timeout=10 02:47:40 > git --version # 'git version 2.17.1' 02:47:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:41 Checking out Revision 5333790cbfc620bb38957914a0d65453366236ce (master) 02:47:40 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:47:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:40 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:47:40 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:47:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:41 > git config core.sparsecheckout # timeout=10 02:47:41 > git checkout -f 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 02:47:45 Commit message: "Merge pull request #133 from FelixTing/issue-112" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:47:47 ========================================================= 02:47:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:47 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:47:48 Sending build context to Docker daemon 672.8kB 02:47:48 Step 1/8 : ARG BASE=golang:1.15-alpine 02:47:48 Step 2/8 : FROM ${BASE} 02:47:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:49 b538f80385f9: Pulling fs layer 02:47:49 74f711af9a0d: Pulling fs layer 02:47:49 99f96fe45779: Pulling fs layer 02:47:49 8529a6b9a6be: Pulling fs layer 02:47:49 45590311c82a: Pulling fs layer 02:47:49 69ca0ff8b7b3: Pulling fs layer 02:47:49 209524e5b208: Pulling fs layer 02:47:49 45590311c82a: Waiting 02:47:49 69ca0ff8b7b3: Waiting 02:47:49 209524e5b208: Waiting 02:47:49 8529a6b9a6be: Waiting 02:47:49 99f96fe45779: Verifying Checksum 02:47:49 99f96fe45779: Download complete 02:47:49 74f711af9a0d: Verifying Checksum 02:47:49 74f711af9a0d: Download complete 02:47:49 45590311c82a: Verifying Checksum 02:47:49 45590311c82a: Download complete 02:47:49 69ca0ff8b7b3: Verifying Checksum 02:47:49 69ca0ff8b7b3: Download complete 02:47:50 b538f80385f9: Verifying Checksum 02:47:50 b538f80385f9: Download complete 02:47:51 b538f80385f9: Pull complete 02:47:51 74f711af9a0d: Pull complete 02:47:52 99f96fe45779: Pull complete 02:47:53 209524e5b208: Verifying Checksum 02:47:53 209524e5b208: Download complete 02:47:54 8529a6b9a6be: Verifying Checksum 02:47:54 8529a6b9a6be: Download complete 02:48:04 8529a6b9a6be: Pull complete 02:48:04 45590311c82a: Pull complete 02:48:04 69ca0ff8b7b3: Pull complete 02:48:08 209524e5b208: Pull complete 02:48:08 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:48:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:48:08 ---> 5bddaf1c2fca 02:48:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 02:48:11 ---> Running in 3a5272f27d2c 02:48:11 Removing intermediate container 3a5272f27d2c 02:48:11 ---> ba9f73111983 02:48:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:11 ---> Running in 8285ced71a7a 02:48:14 Removing intermediate container 8285ced71a7a 02:48:14 ---> 8e17276bfbcc 02:48:14 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 02:48:14 ---> Running in 988027f51ecc 02:48:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:17 (1/14) Installing libmagic (5.38-r0) 02:48:17 (2/14) Installing file (5.38-r0) 02:48:17 (3/14) Installing libc-dev (0.7.2-r3) 02:48:17 (4/14) Installing g++ (9.3.0-r2) 02:48:26 (5/14) Installing fortify-headers (1.1-r0) 02:48:26 (6/14) Installing patch (2.7.6-r6) 02:48:26 (7/14) Installing build-base (0.5-r2) 02:48:26 (8/14) Installing openssh-keygen (8.3_p1-r0) 02:48:26 (9/14) Installing libedit (20191231.3.1-r0) 02:48:26 (10/14) Installing openssh-client (8.3_p1-r0) 02:48:26 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 02:48:26 (12/14) Installing openssh-server-common (8.3_p1-r0) 02:48:27 (13/14) Installing openssh-server (8.3_p1-r0) 02:48:27 (14/14) Installing openssh (8.3_p1-r0) 02:48:27 Executing busybox-1.31.1-r16.trigger 02:48:27 OK: 221 MiB in 53 packages 02:48:31 Removing intermediate container 988027f51ecc 02:48:31 ---> 853258cf18d6 02:48:31 Step 6/8 : WORKDIR /device-virtual-go 02:48:31 ---> Running in b29c3757fae4 02:48:32 Removing intermediate container b29c3757fae4 02:48:32 ---> e572e2e4ca2c 02:48:32 Step 7/8 : COPY . . 02:48:32 ---> 788cf68f3889 02:48:32 Step 8/8 : RUN go mod download 02:48:33 ---> Running in 9e45b3794c22 02:48:40 Running on prd-centos7-docker-4c-2g-3173 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 02:48:40 Running in /w/workspace/device-virtual-go/29 [Pipeline] { [Pipeline] checkout 02:48:43 using credential edgex-jenkins-ssh 02:48:43 Cloning the remote Git repository 02:48:43 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:48:43 > git init /w/workspace/device-virtual-go/29 # timeout=10 02:48:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:48:43 > git --version # timeout=10 02:48:43 > git --version # 'git version 2.16.5' 02:48:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:48:45 Checking out Revision 5333790cbfc620bb38957914a0d65453366236ce (master) 02:48:44 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:48:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:48:44 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:48:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:48:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 02:48:45 > git config core.sparsecheckout # timeout=10 02:48:45 > git checkout -f 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 02:48:48 Removing intermediate container 9e45b3794c22 02:48:48 ---> b50bd9ff5f69 02:48:48 Successfully built b50bd9ff5f69 02:48:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:48 Commit message: "Merge pull request #133 from FelixTing/issue-112" 02:48:48 + docker inspect -f . ci-base-image-arm64 02:48:48 . [Pipeline] withDockerContainer 02:48:49 prd-ubuntu18.04-docker-arm64-4c-16g-3172 does not seem to be running inside a container 02:48:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/29 -v /w/workspace/device-virtual-go/29:/w/workspace/device-virtual-go/29:rw,z -v /w/workspace/device-virtual-go/29@tmp:/w/workspace/device-virtual-go/29@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 02:48:50 $ docker top d7ee3a515da10eedb7730b691ade7473bc4944b17076a3c166c11fe6b8aaed58 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:48:51 ========================================================= 02:48:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:48:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:48:52 + go version 02:48:52 go version go1.15.2 linux/arm64 [Pipeline] } 02:48:52 $ docker stop --time=1 d7ee3a515da10eedb7730b691ade7473bc4944b17076a3c166c11fe6b8aaed58 02:48:52 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:48:52 Sending build context to Docker daemon 672.8kB 02:48:52 Step 1/8 : ARG BASE=golang:1.15-alpine 02:48:52 Step 2/8 : FROM ${BASE} 02:48:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:48:53 df20fa9351a1: Pulling fs layer 02:48:53 ed8968b2872e: Pulling fs layer 02:48:53 a92cc7c5fd73: Pulling fs layer 02:48:53 e871e8e8d7a9: Pulling fs layer 02:48:53 e73272ec9a57: Pulling fs layer 02:48:53 1e910a182e73: Pulling fs layer 02:48:53 4e634b169226: Pulling fs layer 02:48:53 e73272ec9a57: Waiting 02:48:53 4e634b169226: Waiting 02:48:53 1e910a182e73: Waiting 02:48:53 e871e8e8d7a9: Waiting 02:48:53 a92cc7c5fd73: Verifying Checksum 02:48:53 a92cc7c5fd73: Download complete 02:48:53 ed8968b2872e: Download complete 02:48:53 e73272ec9a57: Verifying Checksum 02:48:53 e73272ec9a57: Download complete 02:48:53 1e910a182e73: Verifying Checksum 02:48:53 1e910a182e73: Download complete 02:48:53 df20fa9351a1: Verifying Checksum 02:48:53 df20fa9351a1: Download complete 02:48:53 df20fa9351a1: Pull complete 02:48:53 ed8968b2872e: Pull complete 02:48:53 a92cc7c5fd73: Pull complete 02:48:54 $ docker rm -f d7ee3a515da10eedb7730b691ade7473bc4944b17076a3c166c11fe6b8aaed58 [Pipeline] // withDockerContainer [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] { 02:48:55 4e634b169226: Verifying Checksum 02:48:56 e871e8e8d7a9: Download complete [Pipeline] sh 02:48:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:57 + ls -al . 02:48:57 total 88 02:48:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 02:47 . 02:48:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 02:47 .. 02:48:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 02:47 .git 02:48:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 02:47 .github 02:48:57 -rw-rw-r-- 1 jenkins jenkins 258 Oct 3 02:47 .gitignore 02:48:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 02:47 .semver 02:48:57 -rw-rw-r-- 1 jenkins jenkins 6036 Oct 3 02:47 Attribution.txt 02:48:57 -rw-rw-r-- 1 jenkins jenkins 1834 Oct 3 02:47 Dockerfile 02:48:57 -rw-rw-r-- 1 jenkins jenkins 957 Oct 3 02:47 Dockerfile.build 02:48:57 -rw-rw-r-- 1 jenkins jenkins 660 Oct 3 02:47 Jenkinsfile 02:48:57 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 02:47 LICENSE 02:48:57 -rw-rw-r-- 1 jenkins jenkins 873 Oct 3 02:47 Makefile 02:48:57 -rw-rw-r-- 1 jenkins jenkins 918 Oct 3 02:47 README.md 02:48:57 -rw-rw-r-- 1 jenkins jenkins 11 Oct 3 02:45 VERSION 02:48:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 02:47 bin 02:48:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 02:47 cmd 02:48:57 -rw-rw-r-- 1 jenkins jenkins 862 Oct 3 02:47 go.mod 02:48:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 02:47 internal 02:48:57 -rw-rw-r-- 1 jenkins jenkins 235 Oct 3 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:48:58 + 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=5333790cbfc620bb38957914a0d65453366236ce --label arch=arm64 --label version=1.2.4-dev.8 . 02:48:58 Sending build context to Docker daemon 672.8kB 02:48:58 Step 1/22 : ARG BASE=golang:1.15-alpine 02:48:58 Step 2/22 : FROM ${BASE} AS builder 02:48:58 ---> b50bd9ff5f69 02:48:58 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 02:48:58 ---> Running in 1bbb5215f70f 02:48:59 Removing intermediate container 1bbb5215f70f 02:48:59 ---> f40e6b6946b3 02:48:59 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 02:48:59 ---> Running in db77bd044472 02:48:59 Removing intermediate container db77bd044472 02:48:59 ---> 2e3f4418ccf6 02:48:59 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 02:49:00 ---> Running in 614e8e567e41 02:49:00 Removing intermediate container 614e8e567e41 02:49:00 ---> 317efa9cf667 02:49:00 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:00 ---> Running in e7b9f731b5f8 02:49:02 e871e8e8d7a9: Pull complete 02:49:02 e73272ec9a57: Pull complete 02:49:02 1e910a182e73: Pull complete 02:49:03 Removing intermediate container e7b9f731b5f8 02:49:03 ---> ab881f6a6f36 02:49:03 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:49:03 ---> Running in a77e4f7f4764 02:49:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:05 OK: 221 MiB in 53 packages 02:49:06 Removing intermediate container a77e4f7f4764 02:49:06 ---> 70bb581bcb3e 02:49:06 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 02:49:07 ---> Running in d4179e365081 02:49:07 Removing intermediate container d4179e365081 02:49:07 ---> 1c9ab578848f 02:49:07 Step 9/22 : COPY . . 02:49:08 ---> c00898d477de 02:49:08 Step 10/22 : ARG MAKE='make build' 02:49:08 ---> Running in 4778b0b2f3f5 02:49:09 Removing intermediate container 4778b0b2f3f5 02:49:09 ---> c3790c71d04f 02:49:09 Step 11/22 : RUN $MAKE 02:49:09 ---> Running in 39bec5639c09 02:49:10 4e634b169226: Pull complete 02:49:10 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:49:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:49:10 ---> f7629b54cfaa 02:49:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 02:49:10 ---> Running in cd437604794e 02:49:10 Removing intermediate container cd437604794e 02:49:10 ---> 23e88f146ded 02:49:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:10 ---> Running in 9bdcf8da1c4a 02:49:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.4-dev.8" -o cmd/device-virtual ./cmd 02:49:11 Removing intermediate container 9bdcf8da1c4a 02:49:11 ---> 2d747900a3d7 02:49:11 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 02:49:11 ---> Running in 334b60773635 02:49:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:49:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:49:13 (1/14) Installing libmagic (5.38-r0) 02:49:13 (2/14) Installing file (5.38-r0) 02:49:13 (3/14) Installing libc-dev (0.7.2-r3) 02:49:13 (4/14) Installing g++ (9.3.0-r2) 02:49:26 (5/14) Installing fortify-headers (1.1-r0) 02:49:26 (6/14) Installing patch (2.7.6-r6) 02:49:26 (7/14) Installing build-base (0.5-r2) 02:49:26 (8/14) Installing openssh-keygen (8.3_p1-r0) 02:49:26 (9/14) Installing libedit (20191231.3.1-r0) 02:49:26 (10/14) Installing openssh-client (8.3_p1-r0) 02:49:26 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 02:49:26 (12/14) Installing openssh-server-common (8.3_p1-r0) 02:49:26 (13/14) Installing openssh-server (8.3_p1-r0) 02:49:26 (14/14) Installing openssh (8.3_p1-r0) 02:49:26 Executing busybox-1.31.1-r16.trigger 02:49:26 OK: 237 MiB in 53 packages 02:49:30 Removing intermediate container 334b60773635 02:49:30 ---> 33d494acee84 02:49:30 Step 6/8 : WORKDIR /device-virtual-go 02:49:30 ---> Running in e96746ee591c 02:49:30 Removing intermediate container e96746ee591c 02:49:30 ---> 7e224534880d 02:49:30 Step 7/8 : COPY . . 02:49:31 ---> 5554e115f107 02:49:31 Step 8/8 : RUN go mod download 02:49:31 ---> Running in 7f35b9882365 02:49:43 CGO_ENABLED=0 GO111MODULE=on go build ./... 02:49:43 Removing intermediate container 7f35b9882365 02:49:43 ---> 1eff304aaf6b 02:49:43 Successfully built 1eff304aaf6b 02:49:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:49:43 + docker inspect -f . ci-base-image-x86_64 02:49:43 . [Pipeline] withDockerContainer 02:49:44 prd-centos7-docker-4c-2g-3173 does not seem to be running inside a container 02:49:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/29 -v /w/workspace/device-virtual-go/29:/w/workspace/device-virtual-go/29:rw,z -v /w/workspace/device-virtual-go/29@tmp:/w/workspace/device-virtual-go/29@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:49:45 $ docker top 08ea6de17877e85d10a0279813e13dc25328dd68b7490a4d4bf1fb566c0ed1dc -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:45 + go version 02:49:45 go version go1.15.2 linux/amd64 [Pipeline] } 02:49:45 $ docker stop --time=1 08ea6de17877e85d10a0279813e13dc25328dd68b7490a4d4bf1fb566c0ed1dc 02:49:47 $ docker rm -f 08ea6de17877e85d10a0279813e13dc25328dd68b7490a4d4bf1fb566c0ed1dc [Pipeline] // withDockerContainer 02:49:47 Removing intermediate container 39bec5639c09 02:49:47 ---> 421ed510c4c9 02:49:47 Step 12/22 : FROM alpine [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 02:49:47 latest: Pulling from library/alpine Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:49:47 b538f80385f9: Already exists 02:49:47 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 02:49:47 Status: Downloaded newer image for alpine:latest 02:49:47 ---> 62ee0e9f8440 02:49:47 Step 13/22 : ENV APP_PORT=49990 02:49:48 + sudo chown -R jenkins:jenkins . 02:49:48 ---> Running in 872f7d7e49b5 [Pipeline] sh 02:49:48 Removing intermediate container 872f7d7e49b5 02:49:48 ---> 8b02bf0f5f8e 02:49:48 Step 14/22 : EXPOSE $APP_PORT 02:49:48 + ls -al . 02:49:48 total 60 02:49:48 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 3 02:48 . 02:49:48 drwxrwxr-x. 4 jenkins jenkins 30 Oct 3 02:48 .. 02:49:48 -rw-rw-r--. 1 jenkins jenkins 6036 Oct 3 02:48 Attribution.txt 02:49:48 drwxrwxr-x. 2 jenkins jenkins 64 Oct 3 02:48 bin 02:49:48 drwxrwxr-x. 3 jenkins jenkins 32 Oct 3 02:48 cmd 02:49:48 -rw-rw-r--. 1 jenkins jenkins 1834 Oct 3 02:48 Dockerfile 02:49:48 -rw-rw-r--. 1 jenkins jenkins 957 Oct 3 02:48 Dockerfile.build 02:49:48 drwxrwxr-x. 8 jenkins jenkins 162 Oct 3 02:48 .git 02:49:48 drwxrwxr-x. 2 jenkins jenkins 60 Oct 3 02:48 .github 02:49:48 -rw-rw-r--. 1 jenkins jenkins 258 Oct 3 02:48 .gitignore 02:49:48 -rw-rw-r--. 1 jenkins jenkins 862 Oct 3 02:48 go.mod 02:49:48 drwxrwxr-x. 3 jenkins jenkins 20 Oct 3 02:48 internal 02:49:48 -rw-rw-r--. 1 jenkins jenkins 660 Oct 3 02:48 Jenkinsfile 02:49:48 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 3 02:48 LICENSE 02:49:48 -rw-rw-r--. 1 jenkins jenkins 873 Oct 3 02:48 Makefile 02:49:48 -rw-rw-r--. 1 jenkins jenkins 918 Oct 3 02:48 README.md 02:49:48 drwxrwxr-x. 3 jenkins jenkins 44 Oct 3 02:48 .semver 02:49:48 -rw-rw-r--. 1 jenkins jenkins 11 Oct 3 02:45 VERSION 02:49:48 -rw-rw-r--. 1 jenkins jenkins 235 Oct 3 02:48 version.go [Pipeline] isUnix [Pipeline] sh 02:49:48 ---> Running in 80fa49c13c92 02:49:48 + 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=5333790cbfc620bb38957914a0d65453366236ce --label arch=amd64 --label version=1.2.4-dev.8 . 02:49:48 Sending build context to Docker daemon 672.8kB 02:49:48 Step 1/22 : ARG BASE=golang:1.15-alpine 02:49:48 Step 2/22 : FROM ${BASE} AS builder 02:49:48 ---> 1eff304aaf6b 02:49:48 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 02:49:49 Removing intermediate container 80fa49c13c92 02:49:49 ---> 853cd71e8dc4 02:49:49 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 02:49:49 ---> Running in 07e1e1efb44a 02:49:49 Removing intermediate container 07e1e1efb44a 02:49:49 ---> a46788697eb3 02:49:49 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 02:49:49 ---> Running in b1403081c965 02:49:49 Removing intermediate container b1403081c965 02:49:49 ---> 4dad541fbc97 02:49:49 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 02:49:49 ---> Running in 6f05e4f99655 02:49:49 Removing intermediate container 6f05e4f99655 02:49:49 ---> 85ceb2f76364 02:49:49 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:49 ---> Running in 7bdf8e67c150 02:49:50 ---> fb96c1cb17be 02:49:50 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 02:49:51 Removing intermediate container 7bdf8e67c150 02:49:51 ---> da51ba33ae6f 02:49:51 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:49:51 ---> Running in 15c876a680e9 02:49:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:49:51 ---> 93092d0c1506 02:49:51 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 02:49:52 ---> 9496fe244a3b 02:49:52 Step 18/22 : ENTRYPOINT ["/device-virtual"] 02:49:52 ---> Running in 1a332142df5c 02:49:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:49:52 Removing intermediate container 1a332142df5c 02:49:52 ---> b8100ff3ba13 02:49:52 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:52 ---> Running in 4f9a8ef674f1 02:49:53 Removing intermediate container 4f9a8ef674f1 02:49:53 ---> 212355afb8aa 02:49:53 Step 20/22 : LABEL arch=arm64 02:49:53 ---> Running in 17e95de6f43e 02:49:53 OK: 237 MiB in 53 packages 02:49:53 Removing intermediate container 17e95de6f43e 02:49:53 ---> 8bdf36842769 02:49:53 Step 21/22 : LABEL git_sha=5333790cbfc620bb38957914a0d65453366236ce 02:49:53 ---> Running in 2f7608dc0cf0 02:49:54 Removing intermediate container 15c876a680e9 02:49:54 ---> 051cf3efab2a 02:49:54 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 02:49:54 ---> Running in 5fbe344e7bda 02:49:54 Removing intermediate container 5fbe344e7bda 02:49:54 ---> 6c1464d42a16 02:49:54 Step 9/22 : COPY . . 02:49:54 Removing intermediate container 2f7608dc0cf0 02:49:54 ---> ca7d04d8fffa 02:49:54 Step 22/22 : LABEL version=1.2.4-dev.8 02:49:54 ---> Running in b75083d211cc 02:49:55 Removing intermediate container b75083d211cc 02:49:55 ---> 3142ab5b1b80 02:49:55 [Warning] One or more build-args [ARCH] were not consumed 02:49:55 Successfully built 3142ab5b1b80 02:49:55 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script 02:49:55 ---> a879c9657669 02:49:55 Step 10/22 : ARG MAKE='make build' 02:49:55 ---> Running in 16869f834eaf [Pipeline] } 02:49:55 Removing intermediate container 16869f834eaf 02:49:55 ---> b73b267102f6 02:49:55 Step 11/22 : RUN $MAKE 02:49:55 ---> Running in 21d5aab6116c 02:49:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.4-dev.8" -o cmd/device-virtual ./cmd [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:49:56 provisioning config files... 02:49:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/29@tmp/config8333082006549567672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:56 ---> docker-login.sh 02:49:56 nexus3.edgexfoundry.org:10001 02:49:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:57 Configure a credential helper to remove this warning. See 02:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:57 02:49:57 Login Succeeded 02:49:57 nexus3.edgexfoundry.org:10002 02:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:57 Configure a credential helper to remove this warning. See 02:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:57 02:49:57 Login Succeeded 02:49:57 nexus3.edgexfoundry.org:10003 02:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:58 Configure a credential helper to remove this warning. See 02:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:58 02:49:58 Login Succeeded 02:49:58 nexus3.edgexfoundry.org:10004 02:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:58 Configure a credential helper to remove this warning. See 02:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:58 02:49:58 Login Succeeded 02:49:58 docker.io 02:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:59 Configure a credential helper to remove this warning. See 02:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:59 02:49:59 Login Succeeded 02:49:59 ---> docker-login.sh ends [Pipeline] } 02:49:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:49:59 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 02:49:59 5333790cbfc620bb38957914a0d65453366236ce 02:49:59 latest 02:49:59 1.2.4-dev.8 02:49:59 5333790cbfc620bb38957914a0d65453366236ce-1.2.4-dev.8 02:49:59 master 02:49:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:50:00 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5333790cbfc620bb38957914a0d65453366236ce [Pipeline] isUnix [Pipeline] sh 02:50:00 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5333790cbfc620bb38957914a0d65453366236ce 02:50:00 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 02:50:00 54fb28b0bc2c: Preparing 02:50:00 312a241e40bd: Preparing 02:50:00 dbd2a6d18a5c: Preparing 02:50:00 e2f13739ad41: Preparing 02:50:00 e2f13739ad41: Layer already exists 02:50:00 54fb28b0bc2c: Pushed 02:50:00 312a241e40bd: Pushed 02:50:04 dbd2a6d18a5c: Pushed 02:50:04 5333790cbfc620bb38957914a0d65453366236ce: digest: sha256:d95761d6514b569cd36df3d4c5d53f319d0ec88bfafa1cb91350e0d7d75aa112 size: 1155 [Pipeline] isUnix [Pipeline] sh 02:50:04 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:50:04 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 02:50:04 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 02:50:04 54fb28b0bc2c: Preparing 02:50:04 312a241e40bd: Preparing 02:50:04 dbd2a6d18a5c: Preparing 02:50:04 e2f13739ad41: Preparing 02:50:04 e2f13739ad41: Layer already exists 02:50:04 312a241e40bd: Layer already exists 02:50:04 dbd2a6d18a5c: Layer already exists 02:50:04 54fb28b0bc2c: Layer already exists 02:50:04 latest: digest: sha256:d95761d6514b569cd36df3d4c5d53f319d0ec88bfafa1cb91350e0d7d75aa112 size: 1155 [Pipeline] isUnix [Pipeline] sh 02:50:05 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.8 [Pipeline] isUnix [Pipeline] sh 02:50:05 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.8 02:50:05 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 02:50:05 54fb28b0bc2c: Preparing 02:50:05 312a241e40bd: Preparing 02:50:05 dbd2a6d18a5c: Preparing 02:50:05 e2f13739ad41: Preparing 02:50:05 54fb28b0bc2c: Layer already exists 02:50:05 312a241e40bd: Layer already exists 02:50:05 dbd2a6d18a5c: Layer already exists 02:50:05 e2f13739ad41: Layer already exists 02:50:05 1.2.4-dev.8: digest: sha256:d95761d6514b569cd36df3d4c5d53f319d0ec88bfafa1cb91350e0d7d75aa112 size: 1155 [Pipeline] isUnix [Pipeline] sh 02:50:06 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5333790cbfc620bb38957914a0d65453366236ce-1.2.4-dev.8 [Pipeline] isUnix [Pipeline] sh 02:50:06 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5333790cbfc620bb38957914a0d65453366236ce-1.2.4-dev.8 02:50:06 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 02:50:06 54fb28b0bc2c: Preparing 02:50:06 312a241e40bd: Preparing 02:50:06 dbd2a6d18a5c: Preparing 02:50:06 e2f13739ad41: Preparing 02:50:06 dbd2a6d18a5c: Layer already exists 02:50:06 e2f13739ad41: Layer already exists 02:50:06 312a241e40bd: Layer already exists 02:50:06 54fb28b0bc2c: Layer already exists 02:50:06 5333790cbfc620bb38957914a0d65453366236ce-1.2.4-dev.8: digest: sha256:d95761d6514b569cd36df3d4c5d53f319d0ec88bfafa1cb91350e0d7d75aa112 size: 1155 [Pipeline] isUnix [Pipeline] sh 02:50:07 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 02:50:07 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 02:50:07 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 02:50:07 54fb28b0bc2c: Preparing 02:50:07 312a241e40bd: Preparing 02:50:07 dbd2a6d18a5c: Preparing 02:50:07 e2f13739ad41: Preparing 02:50:07 e2f13739ad41: Layer already exists 02:50:07 dbd2a6d18a5c: Layer already exists 02:50:07 54fb28b0bc2c: Layer already exists 02:50:07 312a241e40bd: Layer already exists 02:50:07 master: digest: sha256:d95761d6514b569cd36df3d4c5d53f319d0ec88bfafa1cb91350e0d7d75aa112 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv 02:50:08 CGO_ENABLED=0 GO111MODULE=on go build ./... [Pipeline] echo 02:50:08 ===================================================== [Pipeline] echo 02:50:08 taggedImages: 02:50:08 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5333790cbfc620bb38957914a0d65453366236ce 02:50:08 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 02:50:08 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.8 02:50:08 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5333790cbfc620bb38957914a0d65453366236ce-1.2.4-dev.8 02:50:08 - 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] } 02:50:09 Removing intermediate container 21d5aab6116c 02:50:09 ---> 93e891e80233 02:50:09 Step 12/22 : FROM alpine 02:50:10 latest: Pulling from library/alpine 02:50:10 df20fa9351a1: Already exists 02:50:10 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 02:50:10 Status: Downloaded newer image for alpine:latest 02:50:10 ---> a24bb4013296 02:50:10 Step 13/22 : ENV APP_PORT=49990 02:50:10 ---> Running in c75eab650930 02:50:10 Removing intermediate container c75eab650930 02:50:10 ---> 2fdd3861ecae 02:50:10 Step 14/22 : EXPOSE $APP_PORT 02:50:10 ---> Running in 6c00c376104b 02:50:10 Removing intermediate container 6c00c376104b 02:50:10 ---> c65f57fd8fae 02:50:10 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 02:50:11 ---> 587de029b855 02:50:11 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 02:50:11 ---> 515f41c9db41 02:50:11 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 02:50:11 ---> 7df71ed6fbd8 02:50:11 Step 18/22 : ENTRYPOINT ["/device-virtual"] 02:50:11 ---> Running in 6373dff3c278 02:50:12 Removing intermediate container 6373dff3c278 02:50:12 ---> f95403a0af7b 02:50:12 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:12 ---> Running in f5d0f39dae71 02:50:12 Removing intermediate container f5d0f39dae71 02:50:12 ---> 1a2c977be7f1 02:50:12 Step 20/22 : LABEL arch=amd64 02:50:12 ---> Running in a78772e24cd2 02:50:12 Removing intermediate container a78772e24cd2 02:50:12 ---> 60d89595a464 02:50:12 Step 21/22 : LABEL git_sha=5333790cbfc620bb38957914a0d65453366236ce 02:50:12 ---> Running in 16135f823de8 02:50:12 Removing intermediate container 16135f823de8 02:50:12 ---> 801b1e09ca62 02:50:12 Step 22/22 : LABEL version=1.2.4-dev.8 02:50:12 ---> Running in ec59dfc640f2 02:50:12 Removing intermediate container ec59dfc640f2 02:50:12 ---> 282315a3ce87 02:50:12 [Warning] One or more build-args [ARCH] were not consumed 02:50:12 Successfully built 282315a3ce87 02:50:12 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:50:13 provisioning config files... 02:50:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/29@tmp/config1033510139730955437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:13 ---> docker-login.sh 02:50:13 nexus3.edgexfoundry.org:10001 02:50:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:13 Configure a credential helper to remove this warning. See 02:50:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:13 02:50:13 Login Succeeded 02:50:13 nexus3.edgexfoundry.org:10002 02:50:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:14 Configure a credential helper to remove this warning. See 02:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:14 02:50:14 Login Succeeded 02:50:14 nexus3.edgexfoundry.org:10003 02:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:14 Configure a credential helper to remove this warning. See 02:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:14 02:50:14 Login Succeeded 02:50:14 nexus3.edgexfoundry.org:10004 02:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:14 Configure a credential helper to remove this warning. See 02:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:14 02:50:14 Login Succeeded 02:50:14 docker.io 02:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:14 Configure a credential helper to remove this warning. See 02:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:14 02:50:14 Login Succeeded 02:50:14 ---> docker-login.sh ends [Pipeline] } 02:50:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:50:15 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 02:50:15 5333790cbfc620bb38957914a0d65453366236ce 02:50:15 latest 02:50:15 1.2.4-dev.8 02:50:15 5333790cbfc620bb38957914a0d65453366236ce-1.2.4-dev.8 02:50:15 master 02:50:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:50:15 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5333790cbfc620bb38957914a0d65453366236ce [Pipeline] isUnix [Pipeline] sh 02:50:15 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5333790cbfc620bb38957914a0d65453366236ce 02:50:15 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 02:50:15 08ed9d2e10e8: Preparing 02:50:15 bb182535e6db: Preparing 02:50:15 dd84f61c68ea: Preparing 02:50:15 50644c29ef5a: Preparing 02:50:15 50644c29ef5a: Layer already exists 02:50:16 08ed9d2e10e8: Pushed 02:50:16 bb182535e6db: Pushed 02:50:17 dd84f61c68ea: Pushed 02:50:17 5333790cbfc620bb38957914a0d65453366236ce: digest: sha256:215a8531227be8f6f8a1cb5265ae24b7499ba072e2e045eabc3e231793f9bdc0 size: 1155 [Pipeline] isUnix [Pipeline] sh 02:50:17 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 02:50:18 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 02:50:18 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 02:50:18 08ed9d2e10e8: Preparing 02:50:18 bb182535e6db: Preparing 02:50:18 dd84f61c68ea: Preparing 02:50:18 50644c29ef5a: Preparing 02:50:18 dd84f61c68ea: Layer already exists 02:50:18 bb182535e6db: Layer already exists 02:50:18 08ed9d2e10e8: Layer already exists 02:50:18 50644c29ef5a: Layer already exists 02:50:18 latest: digest: sha256:215a8531227be8f6f8a1cb5265ae24b7499ba072e2e045eabc3e231793f9bdc0 size: 1155 [Pipeline] isUnix [Pipeline] sh 02:50:18 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.8 [Pipeline] isUnix [Pipeline] sh 02:50:18 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.8 02:50:18 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 02:50:18 08ed9d2e10e8: Preparing 02:50:18 bb182535e6db: Preparing 02:50:18 dd84f61c68ea: Preparing 02:50:18 50644c29ef5a: Preparing 02:50:18 08ed9d2e10e8: Layer already exists 02:50:18 50644c29ef5a: Layer already exists 02:50:18 bb182535e6db: Layer already exists 02:50:18 dd84f61c68ea: Layer already exists 02:50:18 1.2.4-dev.8: digest: sha256:215a8531227be8f6f8a1cb5265ae24b7499ba072e2e045eabc3e231793f9bdc0 size: 1155 [Pipeline] isUnix [Pipeline] sh 02:50:19 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5333790cbfc620bb38957914a0d65453366236ce-1.2.4-dev.8 [Pipeline] isUnix [Pipeline] sh 02:50:19 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5333790cbfc620bb38957914a0d65453366236ce-1.2.4-dev.8 02:50:19 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 02:50:19 08ed9d2e10e8: Preparing 02:50:19 bb182535e6db: Preparing 02:50:19 dd84f61c68ea: Preparing 02:50:19 50644c29ef5a: Preparing 02:50:19 50644c29ef5a: Layer already exists 02:50:19 dd84f61c68ea: Layer already exists 02:50:19 bb182535e6db: Layer already exists 02:50:19 08ed9d2e10e8: Layer already exists 02:50:19 5333790cbfc620bb38957914a0d65453366236ce-1.2.4-dev.8: digest: sha256:215a8531227be8f6f8a1cb5265ae24b7499ba072e2e045eabc3e231793f9bdc0 size: 1155 [Pipeline] isUnix [Pipeline] sh 02:50:19 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 02:50:20 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 02:50:20 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 02:50:20 08ed9d2e10e8: Preparing 02:50:20 bb182535e6db: Preparing 02:50:20 dd84f61c68ea: Preparing 02:50:20 50644c29ef5a: Preparing 02:50:20 bb182535e6db: Layer already exists 02:50:20 08ed9d2e10e8: Layer already exists 02:50:20 dd84f61c68ea: Layer already exists 02:50:21 50644c29ef5a: Layer already exists 02:50:21 master: digest: sha256:215a8531227be8f6f8a1cb5265ae24b7499ba072e2e045eabc3e231793f9bdc0 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:50:21 ===================================================== [Pipeline] echo 02:50:21 taggedImages: 02:50:21 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5333790cbfc620bb38957914a0d65453366236ce 02:50:21 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 02:50:21 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.8 02:50:21 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5333790cbfc620bb38957914a0d65453366236ce-1.2.4-dev.8 02:50:21 - 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] } [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 02:50:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 02:50:23 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 02:50:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:50:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 02:50:23 02:50:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 02:50:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 02:50:24 1.317.0: Pulling from edgex-devops/edgex-snyk-go 02:50:24 cbdbe7a5bc2a: Pulling fs layer 02:50:24 408f87550127: Pulling fs layer 02:50:24 fe522b08c979: Pulling fs layer 02:50:24 221eaa008020: Pulling fs layer 02:50:24 2a4607e5d6b9: Pulling fs layer 02:50:24 8f79b27c4fd2: Pulling fs layer 02:50:24 e5c8dbe1645b: Pulling fs layer 02:50:24 23e8b3b47431: Pulling fs layer 02:50:24 5c568d65a230: Pulling fs layer 02:50:24 221eaa008020: Waiting 02:50:24 2a4607e5d6b9: Waiting 02:50:24 8f79b27c4fd2: Waiting 02:50:24 e5c8dbe1645b: Waiting 02:50:24 23e8b3b47431: Waiting 02:50:24 5c568d65a230: Waiting 02:50:24 fe522b08c979: Verifying Checksum 02:50:24 fe522b08c979: Download complete 02:50:24 408f87550127: Verifying Checksum 02:50:24 408f87550127: Download complete 02:50:24 2a4607e5d6b9: Verifying Checksum 02:50:24 2a4607e5d6b9: Download complete 02:50:24 8f79b27c4fd2: Verifying Checksum 02:50:24 8f79b27c4fd2: Download complete 02:50:24 cbdbe7a5bc2a: Download complete 02:50:24 cbdbe7a5bc2a: Pull complete 02:50:24 408f87550127: Pull complete 02:50:24 e5c8dbe1645b: Download complete 02:50:24 fe522b08c979: Pull complete 02:50:26 23e8b3b47431: Verifying Checksum 02:50:26 23e8b3b47431: Download complete 02:50:26 5c568d65a230: Verifying Checksum 02:50:26 5c568d65a230: Download complete 02:50:27 221eaa008020: Download complete 02:50:32 221eaa008020: Pull complete 02:50:32 2a4607e5d6b9: Pull complete 02:50:32 8f79b27c4fd2: Pull complete 02:50:34 e5c8dbe1645b: Pull complete 02:50:38 23e8b3b47431: Pull complete 02:50:38 5c568d65a230: Pull complete 02:50:38 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 02:50:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 02:50:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 02:50:39 prd-centos7-docker-4c-2g-3171 does not seem to be running inside a container 02:50:39 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 02:50:39 $ docker top 9ca7884d6b2910129b27d77fb23b0078baba06a4e91af0530c8d426d63ffc046 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:40 + snyk monitor '--org=edgex-jenkins' 02:51:02 02:51:02 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 02:51:02 02:51:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/cfe5b62b-0467-4afd-9fca-e7c88cd2b606 02:51:02 02:51:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:51:02 02:51:02 02:51:02 Snyk CLI supports Node.js 8 and higher. 02:51:02 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 02:51:02 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 02:51:02 02:51:02 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 02:51:02 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 02:51:02 $ docker stop --time=1 9ca7884d6b2910129b27d77fb23b0078baba06a4e91af0530c8d426d63ffc046 02:51:04 $ docker rm -f 9ca7884d6b2910129b27d77fb23b0078baba06a4e91af0530c8d426d63ffc046 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:51:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 02:51:05 02:51:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 02:51:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 02:51:06 latest: Pulling from edgex-devops/edgex-klar 02:51:06 e7c96db7181b: Pulling fs layer 02:51:06 1868ca2cb446: Pulling fs layer 02:51:06 136be5d0fe8e: Pulling fs layer 02:51:06 894bfe63afcb: Pulling fs layer 02:51:06 894bfe63afcb: Waiting 02:51:06 1868ca2cb446: Verifying Checksum 02:51:06 1868ca2cb446: Download complete 02:51:06 136be5d0fe8e: Verifying Checksum 02:51:06 136be5d0fe8e: Download complete 02:51:06 e7c96db7181b: Verifying Checksum 02:51:06 e7c96db7181b: Download complete 02:51:06 894bfe63afcb: Verifying Checksum 02:51:06 894bfe63afcb: Download complete 02:51:06 e7c96db7181b: Pull complete 02:51:06 1868ca2cb446: Pull complete 02:51:07 136be5d0fe8e: Pull complete 02:51:07 894bfe63afcb: Pull complete 02:51:07 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 02:51:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 02:51:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 02:51:07 prd-centos7-docker-4c-2g-3171 does not seem to be running inside a container 02:51:07 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 02:51:08 $ docker top c6c558614cabe1bfe133d10e2a094543eccb2e60df3f981826d4e012ea8e1917 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:08 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5333790cbfc620bb38957914a0d65453366236ce 02:51:08 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 02:51:13 $ docker stop --time=1 c6c558614cabe1bfe133d10e2a094543eccb2e60df3f981826d4e012ea8e1917 02:51:14 $ docker rm -f c6c558614cabe1bfe133d10e2a094543eccb2e60df3f981826d4e012ea8e1917 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:51:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 02:51:15 . [Pipeline] withDockerContainer 02:51:15 prd-centos7-docker-4c-2g-3171 does not seem to be running inside a container 02:51:15 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 02:51:15 $ docker top 1543e6961ca82bceff79a9b413a4b3e2762d8f08293acdda834f499d0ce65d73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:16 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5333790cbfc620bb38957914a0d65453366236ce+ 02:51:16 tee 02:51:16 clair timeout 1m0s 02:51:16 docker timeout: 1m0s 02:51:16 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 02:51:17 $ docker stop --time=1 1543e6961ca82bceff79a9b413a4b3e2762d8f08293acdda834f499d0ce65d73 02:51:18 $ docker rm -f 1543e6961ca82bceff79a9b413a4b3e2762d8f08293acdda834f499d0ce65d73 [Pipeline] // withDockerContainer [Pipeline] sh 02:51:18 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 02:51:18 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_5333790cbfc620bb38957914a0d65453366236ce.html [Pipeline] writeFile [Pipeline] step 02:51:19 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 02:51:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 02:51:19 . [Pipeline] withDockerContainer 02:51:19 prd-centos7-docker-4c-2g-3171 does not seem to be running inside a container 02:51:19 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 02:51:20 $ docker top 98a24cd07373ce9df6a15290260af2c401ca4fe81228fd80d749ee428589de19 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:20 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5333790cbfc620bb38957914a0d65453366236ce 02:51:20 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 02:51:25 $ docker stop --time=1 98a24cd07373ce9df6a15290260af2c401ca4fe81228fd80d749ee428589de19 02:51:26 $ docker rm -f 98a24cd07373ce9df6a15290260af2c401ca4fe81228fd80d749ee428589de19 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:51:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 02:51:26 . [Pipeline] withDockerContainer 02:51:27 prd-centos7-docker-4c-2g-3171 does not seem to be running inside a container 02:51:27 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 02:51:27 $ docker top 85efb96167b48168f5bf41c9587e5d4f54feb5957ff28bd436a6e5cf19f8d823 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:28 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5333790cbfc620bb38957914a0d65453366236ce 02:51:28 + tee 02:51:28 clair timeout 1m0s 02:51:28 docker timeout: 1m0s 02:51:28 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 02:51:29 $ docker stop --time=1 85efb96167b48168f5bf41c9587e5d4f54feb5957ff28bd436a6e5cf19f8d823 02:51:30 $ docker rm -f 85efb96167b48168f5bf41c9587e5d4f54feb5957ff28bd436a6e5cf19f8d823 [Pipeline] // withDockerContainer [Pipeline] sh 02:51:30 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 02:51:30 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_5333790cbfc620bb38957914a0d65453366236ce.html [Pipeline] writeFile [Pipeline] step 02:51:31 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 02:51:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:51:32 . [Pipeline] withDockerContainer 02:51:32 prd-centos7-docker-4c-2g-3171 does not seem to be running inside a container 02:51:32 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:51:33 $ docker top 1df8ec7a5aea853cda3d79c17168a1b5805979e5084eef3ed91d18737a25cbd3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:51:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:51:33 [ssh-agent] Looking for ssh-agent implementation... 02:51:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:51:33 $ docker exec 1df8ec7a5aea853cda3d79c17168a1b5805979e5084eef3ed91d18737a25cbd3 ssh-agent 02:51:33 SSH_AUTH_SOCK=/tmp/ssh-upJ3vRuLYIbz/agent.11 02:51:33 SSH_AGENT_PID=16 02:51:33 Running ssh-add (command line suppressed) 02:51:34 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2875227669437385138.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2875227669437385138.key) 02:51:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:51:34 + git semver tag 02:51:34 # -> Open(): unable to determine branch for HEAD 02:51:34 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 02:51:34 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 02:51:34 # $SEMVER_REMOTE_NAME = origin 02:51:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:51:34 # $SEMVER_USER_NAME = edgex-jenkins 02:51:34 # $SEMVER_BRANCH = master 02:51:34 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 02:51:34 # 5333790cbfc620bb38957914a0d65453366236ce HEAD 02:51:34 # -> Force: false 02:51:34 # c32dd8fccc9895375c146044bea0dd14f5789b99 refs/tags/v1.2.4-dev.8 [Pipeline] } 02:51:34 $ docker exec --env ******** --env ******** 1df8ec7a5aea853cda3d79c17168a1b5805979e5084eef3ed91d18737a25cbd3 ssh-agent -k 02:51:34 unset SSH_AUTH_SOCK; 02:51:34 unset SSH_AGENT_PID; 02:51:34 echo Agent pid 16 killed; 02:51:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:51:35 + git semver [Pipeline] } 02:51:35 $ docker stop --time=1 1df8ec7a5aea853cda3d79c17168a1b5805979e5084eef3ed91d18737a25cbd3 02:51:36 $ docker rm -f 1df8ec7a5aea853cda3d79c17168a1b5805979e5084eef3ed91d18737a25cbd3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:51:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:51:37 02:51:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:51:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:51:37 0.23.1-centos7: Pulling from edgex-lftools 02:51:37 ab5ef0e58194: Pulling fs layer 02:51:37 9712f1f96733: Pulling fs layer 02:51:37 63f879dbbcfc: Pulling fs layer 02:51:37 0d9ebad4ef96: Pulling fs layer 02:51:37 e9a5061849ea: Pulling fs layer 02:51:37 d747dcd14b5f: Pulling fs layer 02:51:37 2de7ff778b66: Pulling fs layer 02:51:37 e9a5061849ea: Waiting 02:51:37 d747dcd14b5f: Waiting 02:51:37 2de7ff778b66: Waiting 02:51:37 0d9ebad4ef96: Waiting 02:51:38 63f879dbbcfc: Verifying Checksum 02:51:38 63f879dbbcfc: Download complete 02:51:39 e9a5061849ea: Verifying Checksum 02:51:39 e9a5061849ea: Download complete 02:51:39 d747dcd14b5f: Download complete 02:51:39 2de7ff778b66: Verifying Checksum 02:51:39 2de7ff778b66: Download complete 02:51:39 0d9ebad4ef96: Verifying Checksum 02:51:39 0d9ebad4ef96: Download complete 02:51:39 ab5ef0e58194: Download complete 02:51:44 ab5ef0e58194: Pull complete 02:51:44 9712f1f96733: Pull complete 02:51:45 63f879dbbcfc: Pull complete 02:51:51 0d9ebad4ef96: Pull complete 02:51:53 e9a5061849ea: Pull complete 02:51:53 d747dcd14b5f: Pull complete 02:51:56 2de7ff778b66: Pull complete 02:51:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:51:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:51:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:51:56 prd-centos7-docker-4c-2g-3171 does not seem to be running inside a container 02:51:56 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:52:00 $ docker top 7eedcd7d1c9897a310e56ce373bd84432a119879c7d7ed77fefb2af5a8b71531 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:52:00 provisioning config files... 02:52:00 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5717687842766203090tmp 02:52:00 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5680707387812299332tmp 02:52:00 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2037267489398761030tmp [Pipeline] { [Pipeline] echo 02:52:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:52:00 ---> sigul-configuration.sh 02:52:00 gpg: directory `/root/.gnupg' created 02:52:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:52:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:52:00 gpg: keyring `/root/.gnupg/secring.gpg' created 02:52:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:52:00 gpg: CAST5 encrypted data 02:52:01 gpg: encrypted with 1 passphrase 02:52:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:52:01 + mkdir /home/jenkins 02:52:01 + mkdir /home/jenkins/sigul [Pipeline] sh 02:52:01 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:52:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:01 ---> sigul-install.sh 02:52:07 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 02:52:07 + git tag --list 02:52:07 v1.0.0 02:52:07 v1.1.0 02:52:07 v1.1.1 02:52:07 v1.2.0 02:52:07 v1.2.1 02:52:07 v1.2.2 02:52:07 v1.2.3 02:52:07 v1.2.3-dev.1 02:52:07 v1.2.3-dev.2 02:52:07 v1.2.4-dev.1 02:52:07 v1.2.4-dev.2 02:52:07 v1.2.4-dev.3 02:52:07 v1.2.4-dev.4 02:52:07 v1.2.4-dev.5 02:52:07 v1.2.4-dev.6 02:52:07 v1.2.4-dev.7 02:52:07 v1.2.4-dev.8 [Pipeline] sh 02:52:07 + lftools sign git-tag v1.2.4-dev.8 02:52:08 Signing Git tag with Sigul... 02:52:08 Signing v1.2.4-dev.8 [Pipeline] echo 02:52:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:52:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:52:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:52:10 $ docker stop --time=1 7eedcd7d1c9897a310e56ce373bd84432a119879c7d7ed77fefb2af5a8b71531 02:52:12 $ docker rm -f 7eedcd7d1c9897a310e56ce373bd84432a119879c7d7ed77fefb2af5a8b71531 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 02:52:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:52:13 . [Pipeline] withDockerContainer 02:52:13 prd-centos7-docker-4c-2g-3171 does not seem to be running inside a container 02:52:13 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:52:14 $ docker top 9d51f22005d4348c18d5af87dbf1e275fc3c1ffffc9c63236fc05a4dd3dc44d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:52:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:52:14 [ssh-agent] Looking for ssh-agent implementation... 02:52:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:52:14 $ docker exec 9d51f22005d4348c18d5af87dbf1e275fc3c1ffffc9c63236fc05a4dd3dc44d4 ssh-agent 02:52:14 SSH_AUTH_SOCK=/tmp/ssh-lsP0YDWIieHy/agent.12 02:52:14 SSH_AGENT_PID=18 02:52:14 Running ssh-add (command line suppressed) 02:52:14 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4319352752680397969.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4319352752680397969.key) 02:52:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:52:15 + git semver bump pre 02:52:15 # -> Open(): unable to determine branch for HEAD 02:52:15 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 02:52:15 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 02:52:15 # $SEMVER_REMOTE_NAME = origin 02:52:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:52:15 # $SEMVER_USER_NAME = edgex-jenkins 02:52:15 # $SEMVER_BRANCH = master 02:52:15 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 02:52:15 1.2.4-dev.9 [Pipeline] } 02:52:15 $ docker exec --env ******** --env ******** 9d51f22005d4348c18d5af87dbf1e275fc3c1ffffc9c63236fc05a4dd3dc44d4 ssh-agent -k 02:52:15 unset SSH_AUTH_SOCK; 02:52:15 unset SSH_AGENT_PID; 02:52:15 echo Agent pid 18 killed; 02:52:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:52:15 + git semver [Pipeline] } 02:52:15 $ docker stop --time=1 9d51f22005d4348c18d5af87dbf1e275fc3c1ffffc9c63236fc05a4dd3dc44d4 02:52:17 $ docker rm -f 9d51f22005d4348c18d5af87dbf1e275fc3c1ffffc9c63236fc05a4dd3dc44d4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:52:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:52:17 . [Pipeline] withDockerContainer 02:52:17 prd-centos7-docker-4c-2g-3171 does not seem to be running inside a container 02:52:17 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:52:18 $ docker top 7bb7e611d1369a7226c2d07d9cbae45d63932b998ff074e517f6ba33532ec73d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:52:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:52:18 [ssh-agent] Looking for ssh-agent implementation... 02:52:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:52:19 $ docker exec 7bb7e611d1369a7226c2d07d9cbae45d63932b998ff074e517f6ba33532ec73d ssh-agent 02:52:19 SSH_AUTH_SOCK=/tmp/ssh-x4gpdhYXMUhD/agent.12 02:52:19 SSH_AGENT_PID=17 02:52:19 Running ssh-add (command line suppressed) 02:52:19 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1379835389662140192.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1379835389662140192.key) 02:52:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:52:19 + git semver push 02:52:19 # -> Open(): unable to determine branch for HEAD 02:52:19 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 02:52:19 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 02:52:19 # $SEMVER_REMOTE_NAME = origin 02:52:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:52:19 # $SEMVER_USER_NAME = edgex-jenkins 02:52:19 # $SEMVER_BRANCH = master 02:52:19 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 02:52:26 $ docker exec --env ******** --env ******** 7bb7e611d1369a7226c2d07d9cbae45d63932b998ff074e517f6ba33532ec73d ssh-agent -k 02:52:26 unset SSH_AUTH_SOCK; 02:52:26 unset SSH_AGENT_PID; 02:52:26 echo Agent pid 17 killed; 02:52:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:52:27 + git semver [Pipeline] } 02:52:27 $ docker stop --time=1 7bb7e611d1369a7226c2d07d9cbae45d63932b998ff074e517f6ba33532ec73d 02:52:28 $ docker rm -f 7bb7e611d1369a7226c2d07d9cbae45d63932b998ff074e517f6ba33532ec73d [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 02:52:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:30 ---> package-listing.sh 02:52:30 ++ facter osfamily 02:52:30 ++ tr '[:upper:]' '[:lower:]' 02:52:30 + OS_FAMILY=redhat 02:52:30 + workspace=/w/workspace/foundry_device-virtual-go_master 02:52:30 + START_PACKAGES=/tmp/packages_start.txt 02:52:30 + END_PACKAGES=/tmp/packages_end.txt 02:52:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:30 + PACKAGES=/tmp/packages_start.txt 02:52:30 + '[' /w/workspace/foundry_device-virtual-go_master ']' 02:52:30 + PACKAGES=/tmp/packages_end.txt 02:52:30 + case "${OS_FAMILY}" in 02:52:30 + rpm -qa 02:52:30 + sort 02:52:34 + '[' -f /tmp/packages_start.txt ']' 02:52:34 + '[' -f /tmp/packages_end.txt ']' 02:52:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:34 + '[' /w/workspace/foundry_device-virtual-go_master ']' 02:52:34 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 02:52:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:34 provisioning config files... 02:52:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1984496362899969646tmp [Pipeline] { [Pipeline] echo 02:52:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:35 ---> create-netrc.sh [Pipeline] } 02:52:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:35 ---> python-tools-install.sh 02:52:35 Generating Requirements File 02:53:57 Python 3.6.8 02:53:57 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 02:53:57 aiohttp==3.6.2 02:53:57 appdirs==1.4.3 02:53:57 argcomplete==1.12.1 02:53:57 aspy.yaml==1.3.0 02:53:57 async-timeout==3.0.1 02:53:57 attrs==19.3.0 02:53:57 Babel==2.8.0 02:53:57 beautifulsoup4==4.8.2 02:53:57 boto3==1.11.6 02:53:57 botocore==1.14.6 02:53:57 bs4==0.0.1 02:53:57 cachetools==4.1.1 02:53:57 certifi==2019.11.28 02:53:57 cffi==1.14.3 02:53:57 cfgv==2.0.1 02:53:57 chardet==3.0.4 02:53:57 click==7.1 02:53:57 cliff==3.4.0 02:53:57 cmd2==1.3.11 02:53:57 colorama==0.4.3 02:53:57 cryptography==3.1.1 02:53:57 debtcollector==2.2.0 02:53:57 decorator==4.4.2 02:53:57 defusedxml==0.6.0 02:53:57 Deprecated==1.2.7 02:53:57 distlib==0.3.1 02:53:57 distro==1.2.0 02:53:57 dnspython==1.16.0 02:53:57 docker==4.2.0 02:53:57 docutils==0.15.2 02:53:57 dogpile.cache==1.0.2 02:53:57 email-validator==1.0.5 02:53:57 filelock==3.0.12 02:53:57 future==0.18.2 02:53:57 google-auth==1.22.0 02:53:57 httplib2==0.17.0 02:53:57 identify==1.4.11 02:53:57 idna==2.9 02:53:57 idna-ssl==1.1.0 02:53:57 importlib-metadata==1.7.0 02:53:57 importlib-resources==1.5.0 02:53:57 iso8601==0.1.13 02:53:57 Jinja2==2.11.1 02:53:57 jmespath==0.10.0 02:53:57 jsonpatch==1.26 02:53:57 jsonpointer==2.0 02:53:57 jsonschema==3.2.0 02:53:57 keystoneauth1==4.2.1 02:53:57 kubernetes==11.0.0 02:53:57 lftools==0.34.2 02:53:57 lxml==4.5.0 02:53:57 MarkupSafe==0.23 02:53:57 msgpack==1.0.0 02:53:57 multi-key-dict==2.0.3 02:53:57 multidict==4.7.6 02:53:57 munch==2.5.0 02:53:57 netaddr==0.8.0 02:53:57 netifaces==0.10.9 02:53:57 niet==1.4.2 02:53:57 nodeenv==1.3.5 02:53:57 oauth2client==4.1.3 02:53:57 oauthlib==3.1.0 02:53:57 openstacksdk==0.50.0 02:53:57 os-client-config==2.1.0 02:53:57 os-service-types==1.7.0 02:53:57 osc-lib==2.2.1 02:53:57 oslo.config==8.3.2 02:53:57 oslo.context==3.1.1 02:53:57 oslo.i18n==5.0.1 02:53:57 oslo.log==4.4.0 02:53:57 oslo.serialization==4.0.1 02:53:57 oslo.utils==4.6.0 02:53:57 packaging==20.4 02:53:57 pbr==5.4.4 02:53:57 pluggy==0.13.1 02:53:57 prettytable==0.7.2 02:53:57 py==1.9.0 02:53:57 pyasn1==0.4.8 02:53:57 pyasn1-modules==0.2.8 02:53:57 pycparser==2.20 02:53:57 pygerrit2==2.0.10 02:53:57 PyGithub==1.46 02:53:57 pyinotify==0.9.6 02:53:57 PyJWT==1.7.1 02:53:57 pyparsing==2.4.7 02:53:57 pyperclip==1.8.0 02:53:57 pyroute2==0.4.13 02:53:57 pyrsistent==0.15.7 02:53:57 PySocks==1.6.8 02:53:57 python-cinderclient==7.2.0 02:53:57 python-dateutil==2.8.1 02:53:57 python-heatclient==2.2.1 02:53:57 python-jenkins==1.7.0 02:53:57 python-keystoneclient==4.1.1 02:53:57 python-magnumclient==3.2.1 02:53:57 python-novaclient==17.2.1 02:53:57 python-openstackclient==5.4.0 02:53:57 python-swiftclient==3.10.1 02:53:57 pytz==2020.1 02:53:57 PyYAML==5.3 02:53:57 requests==2.23.0 02:53:57 requests-oauthlib==1.3.0 02:53:57 requestsexceptions==1.4.0 02:53:57 rfc3986==1.4.0 02:53:57 rpm==4.11.3 02:53:57 rsa==4.0 02:53:57 ruamel.yaml==0.16.10 02:53:57 ruamel.yaml.clib==0.2.0 02:53:57 s3transfer==0.3.3 02:53:57 shade==1.27.2 02:53:57 simplejson==3.17.2 02:53:57 six==1.14.0 02:53:57 soupsieve==2.0 02:53:57 stevedore==3.2.2 02:53:57 tabulate==0.8.6 02:53:57 toml==0.10.0 02:53:57 tox==3.20.0 02:53:57 tqdm==4.43.0 02:53:57 typing-extensions==3.7.4.3 02:53:57 urllib3==1.25.8 02:53:57 virtualenv==20.0.32 02:53:57 wcwidth==0.2.5 02:53:57 websocket-client==0.57.0 02:53:57 wrapt==1.12.1 02:53:57 xdg==3.0.2 02:53:57 xmltodict==0.12.0 02:53:57 yarl==1.6.0 02:53:57 yq==2.11.1 02:53:57 zipp==3.2.0 02:53:57 Cache entry deserialization failed, entry ignored 02:53:57 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 02:53:57 Python 2.7.5 02:53:57 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 02:53:57 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 02:53:57 ansible==2.9.7 02:53:57 Babel==0.9.6 02:53:57 backports.ssl-match-hostname==3.5.0.1 02:53:57 beautifulsoup4==4.4.1 02:53:57 bodhi==2.11.0 02:53:57 bodhi-client==2.11.0 02:53:57 CCColUtils==1.4 02:53:57 cffi==1.6.0 02:53:57 chardet==2.2.1 02:53:57 click==6.7 02:53:57 cloud-init==18.5 02:53:57 configobj==4.7.2 02:53:57 cryptography==1.7.2 02:53:57 decorator==3.4.0 02:53:57 distro==1.2.0 02:53:57 enum34==1.0.4 02:53:57 fedpkg==1.38 02:53:57 futures==3.1.1 02:53:57 gitdb==0.6.4 02:53:57 GitPython==1.0.1 02:53:57 html5lib==0.999 02:53:57 httplib2==0.9.2 02:53:57 idna==2.4 02:53:57 iniparse==0.4 02:53:57 ipaddress==1.0.16 02:53:57 IPy==0.75 02:53:57 javapackages==1.0.0 02:53:57 Jinja2==2.7.2 02:53:57 jmespath==0.9.4 02:53:57 jsonpatch==1.2 02:53:57 jsonpointer==1.9 02:53:57 kerberos==1.1 02:53:57 kitchen==1.1.1 02:53:57 langtable==0.0.31 02:53:57 lockfile==0.9.1 02:53:57 lxml==3.2.1 02:53:57 MarkupSafe==0.11 02:53:57 munch==2.0.2 02:53:57 offtrac==0.1.0 02:53:57 openidc-client==0.6.0 02:53:57 packagedb-cli==2.14.1 02:53:57 paramiko==2.1.1 02:53:57 perf==0.1 02:53:57 ply==3.4 02:53:57 policycoreutils-default-encoding==0.1 02:53:57 prettytable==0.7.2 02:53:57 pyasn1==0.1.9 02:53:57 pycparser==2.14 02:53:57 pycurl==7.19.0 02:53:57 pygobject==3.22.0 02:53:57 pygpgme==0.3 02:53:57 pyliblzma==0.5.3 02:53:57 pyOpenSSL==0.13.1 02:53:57 pyparsing==1.5.6 02:53:57 pyserial==2.6 02:53:57 python-augeas==0.5.0 02:53:57 python-bugzilla==2.3.0 02:53:57 python-dateutil==1.5 02:53:57 python-fedora==0.10.0 02:53:57 python-linux-procfs==0.4.9 02:53:57 python-yubico==1.2.3 02:53:57 pyudev==0.15 02:53:57 pyusb==1.0.0b1 02:53:57 pyxattr==0.5.1 02:53:57 PyYAML==3.10 02:53:57 requests==2.6.0 02:53:57 requests-kerberos==0.7.0 02:53:57 rpkg==1.60 02:53:57 schedutils==0.4 02:53:57 seobject==0.1 02:53:57 sepolicy==1.1 02:53:57 six==1.9.0 02:53:57 smmap==0.9.0 02:53:57 urlgrabber==3.10 02:53:57 urllib3==1.10.2 02:53:57 virtualenv==15.1.0 02:53:57 yum-langpacks==0.4.2 02:53:57 yum-metadata-parser==1.1.4 [Pipeline] echo 02:53:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:53:57 ---> sudo-logs.sh 02:53:57 Archiving 'sudo' log.. [Pipeline] echo 02:53:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:53:58 ---> job-cost.sh 02:53:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qomG 02:54:06 Cache entry deserialization failed, entry ignored 02:54:06 Cache entry deserialization failed, entry ignored 02:54:07 Cache entry deserialization failed, entry ignored 02:54:07 Cache entry deserialization failed, entry ignored 02:54:07 Cache entry deserialization failed, entry ignored 02:54:07 Cache entry deserialization failed, entry ignored 02:54:07 Cache entry deserialization failed, entry ignored 02:54:07 Cache entry deserialization failed, entry ignored 02:54:07 Cache entry deserialization failed, entry ignored 02:54:07 Cache entry deserialization failed, entry ignored 02:54:07 Cache entry deserialization failed, entry ignored 02:54:07 Cache entry deserialization failed, entry ignored 02:54:11 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:54:43 lf-activate-venv(): INFO: Adding /tmp/venv-qomG/bin to PATH 02:54:43 INFO: No Stack... 02:54:43 INFO: Retrieving Pricing Info for: v1-standard-2 02:54:43 INFO: Archiving Costs [Pipeline] echo 02:54:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:54:43 ---> logs-deploy.sh 02:54:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/29 02:54:43 INFO: archiving workspace using pattern(s): 02:54:44 Archives upload complete. 02:54:45 INFO: archiving logs to Nexus