Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cf586b04128a22612e4c07fc62a16321cfe56fab 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-rest-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-rest-go-settings PROJECT: device-rest-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-rest-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 Running on prd-centos7-docker-4c-2g-2020 in /w/workspace/gexfoundry_device-rest-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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision cf586b04128a22612e4c07fc62a16321cfe56fab (master) > git config core.sparsecheckout # timeout=10 > git checkout -f cf586b04128a22612e4c07fc62a16321cfe56fab # timeout=10 Commit message: "Merge pull request #45 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.3.1" > git rev-list --no-walk 172864091628f91237888ceec3b813680f51db30 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:38:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:38:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:38:53 ========================================================= 20:38:53 EdgeX Global Pipelines Version Info 20:38:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:38:54 ------------------- 20:38:54 stable info: 20:38:54 ------------------- 20:38:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:38:54 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 20:38:54 Message: update stable to v1.0.131 20:38:55 ------------------- 20:38:55 experimental info: 20:38:55 ------------------- 20:38:55 Commited By: **** collab-it+edgex@linuxfoundation.org 20:38:55 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 20:38:55 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 20:38:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:38:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:38:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:38:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:38:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:38:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:38:56 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:38:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:38:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:38:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:38:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:38:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 20:38:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:38:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:38:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:38:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:38:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:38:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:38:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:38:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:38:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:38:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:38:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:38:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:38:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:38:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 20:38:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 20:38:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 20:38:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf586b04128a22612e4c07fc62a16321cfe56fab [Pipeline] echo 20:38:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf586b0 [Pipeline] echo 20:38:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:00 + git log --format=format:%s -1 cf586b04128a22612e4c07fc62a16321cfe56fab [Pipeline] echo 20:39:00 GIT_COMMIT: cf586b04128a22612e4c07fc62a16321cfe56fab, Commit Message: Merge pull request #45 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.3.1 [Pipeline] echo 20:39:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:39:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:39:01 20:39:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:39:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:39:01 latest: Pulling from edgex-devops/git-semver 20:39:01 31603596830f: Pulling fs layer 20:39:01 2a8b12db71e7: Pulling fs layer 20:39:01 6ca5941a6612: Pulling fs layer 20:39:01 ecc8261a40a4: Pulling fs layer 20:39:01 ecc8261a40a4: Waiting 20:39:01 2a8b12db71e7: Download complete 20:39:01 31603596830f: Verifying Checksum 20:39:01 31603596830f: Download complete 20:39:01 ecc8261a40a4: Verifying Checksum 20:39:01 ecc8261a40a4: Download complete 20:39:02 6ca5941a6612: Verifying Checksum 20:39:02 6ca5941a6612: Download complete 20:39:02 31603596830f: Pull complete 20:39:02 2a8b12db71e7: Pull complete 20:39:03 6ca5941a6612: Pull complete 20:39:03 ecc8261a40a4: Pull complete 20:39:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:39:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:39:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:39:03 prd-centos7-docker-4c-2g-2020 does not seem to be running inside a container 20:39:03 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:39:05 $ docker top 4f0fa3cfb67dc9ae5ba08084dbe7d2fb04f3302892a130d46c1b2d4aedb14a1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:39:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:05 [ssh-agent] Looking for ssh-agent implementation... 20:39:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:06 $ docker exec 4f0fa3cfb67dc9ae5ba08084dbe7d2fb04f3302892a130d46c1b2d4aedb14a1a ssh-agent 20:39:06 SSH_AUTH_SOCK=/tmp/ssh-m1j1W9sYsefc/agent.11 20:39:06 SSH_AGENT_PID=17 20:39:06 Running ssh-add (command line suppressed) 20:39:06 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_561828736913036763.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_561828736913036763.key) 20:39:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:06 + git describe --exact-match --tags HEAD 20:39:06 fatal: no tag exactly matches 'cf586b04128a22612e4c07fc62a16321cfe56fab' [Pipeline] } 20:39:06 $ docker exec --env ******** --env ******** 4f0fa3cfb67dc9ae5ba08084dbe7d2fb04f3302892a130d46c1b2d4aedb14a1a ssh-agent -k 20:39:06 unset SSH_AUTH_SOCK; 20:39:06 unset SSH_AGENT_PID; 20:39:06 echo Agent pid 17 killed; 20:39:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:39:07 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:39:07 This usually means this commit has not been tagged. [Pipeline] sshagent 20:39:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:07 [ssh-agent] Looking for ssh-agent implementation... 20:39:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:07 $ docker exec 4f0fa3cfb67dc9ae5ba08084dbe7d2fb04f3302892a130d46c1b2d4aedb14a1a ssh-agent 20:39:07 SSH_AUTH_SOCK=/tmp/ssh-e3BKEquYh1ix/agent.45 20:39:07 SSH_AGENT_PID=50 20:39:07 Running ssh-add (command line suppressed) 20:39:07 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3078857540579745452.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3078857540579745452.key) 20:39:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:08 + git semver init 20:39:08 # -> Open(): unable to determine branch for HEAD 20:39:08 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 20:39:08 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 20:39:08 # $SEMVER_REMOTE_NAME = origin 20:39:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:39:08 # $SEMVER_USER_NAME = edgex-jenkins 20:39:08 # $SEMVER_BRANCH = master 20:39:08 # $SEMVER_TEMP = /tmp/semver-917917463 20:39:08 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:39:09 # '/tmp/semver-917917463' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 20:39:09 # -> Force: false 20:39:09 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 20:39:09 $ docker exec --env ******** --env ******** 4f0fa3cfb67dc9ae5ba08084dbe7d2fb04f3302892a130d46c1b2d4aedb14a1a ssh-agent -k 20:39:09 unset SSH_AUTH_SOCK; 20:39:09 unset SSH_AGENT_PID; 20:39:09 echo Agent pid 50 killed; 20:39:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:39:09 + git semver [Pipeline] } 20:39:09 $ docker stop --time=1 4f0fa3cfb67dc9ae5ba08084dbe7d2fb04f3302892a130d46c1b2d4aedb14a1a 20:39:11 $ docker rm -f 4f0fa3cfb67dc9ae5ba08084dbe7d2fb04f3302892a130d46c1b2d4aedb14a1a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:39:12 Stashed 21 file(s) [Pipeline] echo 20:39:12 [edgeXSemver]: initialized semver on version 1.1.3-dev.7 [Pipeline] echo 20:39:12 Archived original version: [1.1.3-dev.7] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 20:39:13 Running on prd-centos7-docker-4c-2g-2019 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 20:39:13 Running in /w/workspace/device-rest-go/23 [Pipeline] { [Pipeline] checkout 20:39:15 using credential edgex-jenkins-ssh 20:39:16 Cloning the remote Git repository 20:39:16 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:39:16 > git init /w/workspace/device-rest-go/23 # timeout=10 20:39:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:39:16 > git --version # timeout=10 20:39:16 > git --version # 'git version 2.16.5' 20:39:16 using GIT_SSH to set credentials SSH Credentials for GitHub 20:39:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:39:17 Checking out Revision cf586b04128a22612e4c07fc62a16321cfe56fab (master) 20:39:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:39:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:39:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:39:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:39:17 using GIT_SSH to set credentials SSH Credentials for GitHub 20:39:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:39:17 > git config core.sparsecheckout # timeout=10 20:39:17 > git checkout -f cf586b04128a22612e4c07fc62a16321cfe56fab # timeout=10 20:39:21 Commit message: "Merge pull request #45 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:39:22 ========================================================= 20:39:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:39:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:39:23 + 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 . 20:39:23 Sending build context to Docker daemon 8.056MB 20:39:23 Step 1/10 : ARG BASE=golang:1.15-alpine 20:39:23 Step 2/10 : FROM ${BASE} 20:39:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:39:23 df20fa9351a1: Pulling fs layer 20:39:23 ed8968b2872e: Pulling fs layer 20:39:23 a92cc7c5fd73: Pulling fs layer 20:39:23 e871e8e8d7a9: Pulling fs layer 20:39:23 e73272ec9a57: Pulling fs layer 20:39:23 1e910a182e73: Pulling fs layer 20:39:23 4e634b169226: Pulling fs layer 20:39:23 e871e8e8d7a9: Waiting 20:39:23 e73272ec9a57: Waiting 20:39:23 1e910a182e73: Waiting 20:39:23 4e634b169226: Waiting 20:39:23 a92cc7c5fd73: Verifying Checksum 20:39:23 a92cc7c5fd73: Download complete 20:39:23 ed8968b2872e: Verifying Checksum 20:39:23 ed8968b2872e: Download complete 20:39:23 e73272ec9a57: Verifying Checksum 20:39:23 e73272ec9a57: Download complete 20:39:23 1e910a182e73: Verifying Checksum 20:39:23 1e910a182e73: Download complete 20:39:23 df20fa9351a1: Verifying Checksum 20:39:23 df20fa9351a1: Download complete 20:39:23 df20fa9351a1: Pull complete 20:39:24 ed8968b2872e: Pull complete 20:39:24 a92cc7c5fd73: Pull complete 20:39:25 4e634b169226: Verifying Checksum 20:39:25 4e634b169226: Download complete 20:39:26 e871e8e8d7a9: Verifying Checksum 20:39:26 e871e8e8d7a9: Download complete 20:39:28 Still waiting to schedule task 20:39:28 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:39:31 e871e8e8d7a9: Pull complete 20:39:31 e73272ec9a57: Pull complete 20:39:31 1e910a182e73: Pull complete 20:39:35 4e634b169226: Pull complete 20:39:35 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 20:39:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:39:35 ---> f7629b54cfaa 20:39:35 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 20:39:35 ---> Running in 05773f0e893d 20:39:35 Removing intermediate container 05773f0e893d 20:39:35 ---> 21ba42c99afc 20:39:35 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:39:35 ---> Running in 6d1656a122c2 20:39:36 Removing intermediate container 6d1656a122c2 20:39:36 ---> a5e876869551 20:39:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:39:36 ---> Running in b05704a06c3e 20:39:36 Removing intermediate container b05704a06c3e 20:39:36 ---> 383fb3e7cb81 20:39:36 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:39:36 ---> Running in d9c837af8654 20:39:37 Removing intermediate container d9c837af8654 20:39:37 ---> 155416c3b287 20:39:37 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:37 ---> Running in be8ac5345ae6 20:39:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:39:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:39:39 OK: 166 MiB in 39 packages 20:39:39 Removing intermediate container be8ac5345ae6 20:39:39 ---> 36773c326066 20:39:39 Step 8/10 : WORKDIR /device-rest-go 20:39:40 ---> Running in 0dddef5c813f 20:39:40 Removing intermediate container 0dddef5c813f 20:39:40 ---> ac4d9d898253 20:39:40 Step 9/10 : COPY . . 20:39:40 ---> 35b1317a07f1 20:39:40 Step 10/10 : RUN go mod download 20:39:40 ---> Running in 45520909d4b8 20:39:53 Removing intermediate container 45520909d4b8 20:39:53 ---> bc651192613d 20:39:53 Successfully built bc651192613d 20:39:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:39:53 + docker inspect -f . ci-base-image-x86_64 20:39:53 . [Pipeline] withDockerContainer 20:39:53 prd-centos7-docker-4c-2g-2019 does not seem to be running inside a container 20:39:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/23 -v /w/workspace/device-rest-go/23:/w/workspace/device-rest-go/23:rw,z -v /w/workspace/device-rest-go/23@tmp:/w/workspace/device-rest-go/23@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-x86_64 cat 20:39:54 $ docker top 1aa5b0eee3736e934291c64960fb1a8f31428dec7530d7bb3a848b34364510b9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:55 + go version 20:39:55 go version go1.15.2 linux/amd64 [Pipeline] } 20:39:55 $ docker stop --time=1 1aa5b0eee3736e934291c64960fb1a8f31428dec7530d7bb3a848b34364510b9 20:39:56 $ docker rm -f 1aa5b0eee3736e934291c64960fb1a8f31428dec7530d7bb3a848b34364510b9 [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] sh 20:39:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:39:59 + ls -al . 20:39:59 total 68 20:39:59 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 29 20:39 . 20:39:59 drwxrwxr-x. 4 jenkins jenkins 30 Sep 29 20:39 .. 20:39:59 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 29 20:39 Attribution.txt 20:39:59 drwxrwxr-x. 2 jenkins jenkins 64 Sep 29 20:39 bin 20:39:59 drwxrwxr-x. 3 jenkins jenkins 32 Sep 29 20:39 cmd 20:39:59 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 29 20:39 Dockerfile 20:39:59 -rw-rw-r--. 1 jenkins jenkins 989 Sep 29 20:39 Dockerfile.build 20:39:59 -rw-rw-r--. 1 jenkins jenkins 151 Sep 29 20:39 .dockerignore 20:39:59 drwxrwxr-x. 2 jenkins jenkins 76 Sep 29 20:39 driver 20:39:59 drwxrwxr-x. 8 jenkins jenkins 162 Sep 29 20:39 .git 20:39:59 drwxrwxr-x. 2 jenkins jenkins 60 Sep 29 20:39 .github 20:39:59 -rw-rw-r--. 1 jenkins jenkins 339 Sep 29 20:39 .gitignore 20:39:59 -rw-rw-r--. 1 jenkins jenkins 273 Sep 29 20:39 go.mod 20:39:59 -rw-rw-r--. 1 jenkins jenkins 680 Sep 29 20:39 Jenkinsfile 20:39:59 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 29 20:39 LICENSE 20:39:59 -rw-rw-r--. 1 jenkins jenkins 951 Sep 29 20:39 Makefile 20:39:59 -rw-rw-r--. 1 jenkins jenkins 5917 Sep 29 20:39 README.md 20:39:59 drwxrwxr-x. 3 jenkins jenkins 32 Sep 29 20:39 .semver 20:39:59 drwxrwxr-x. 4 jenkins jenkins 54 Sep 29 20:39 snap 20:39:59 -rw-rw-r--. 1 jenkins jenkins 11 Sep 29 20:39 VERSION 20:39:59 -rw-rw-r--. 1 jenkins jenkins 713 Sep 29 20:39 version.go [Pipeline] isUnix [Pipeline] sh 20:40:00 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=cf586b04128a22612e4c07fc62a16321cfe56fab --label arch=amd64 --label version=1.1.3-dev.7 . 20:40:00 Sending build context to Docker daemon 8.057MB 20:40:00 Step 1/25 : ARG BASE=golang:1.15-alpine 20:40:00 Step 2/25 : FROM ${BASE} AS builder 20:40:00 ---> bc651192613d 20:40:00 Step 3/25 : ARG MAKE='make build' 20:40:00 ---> Running in b8acfe4dece7 20:40:00 Removing intermediate container b8acfe4dece7 20:40:00 ---> 456a9e90f133 20:40:00 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 20:40:00 ---> Running in a33e87d45e29 20:40:00 Removing intermediate container a33e87d45e29 20:40:00 ---> 3c4f142e01de 20:40:00 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:40:00 ---> Running in 0c92dfc9510c 20:40:01 Removing intermediate container 0c92dfc9510c 20:40:01 ---> 51bf23550297 20:40:01 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:40:01 ---> Running in 4929c28fd88c 20:40:02 Removing intermediate container 4929c28fd88c 20:40:02 ---> b5705cdb00f9 20:40:02 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:40:02 ---> Running in c7d7e61655d2 20:40:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:40:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:40:03 OK: 166 MiB in 39 packages 20:40:04 Removing intermediate container c7d7e61655d2 20:40:04 ---> 70f60eaee715 20:40:04 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 20:40:04 ---> Running in 7240a27a3dd0 20:40:04 Removing intermediate container 7240a27a3dd0 20:40:04 ---> 2a135f712d07 20:40:04 Step 9/25 : COPY go.mod . 20:40:04 ---> fe0d67c9a810 20:40:04 Step 10/25 : COPY Makefile . 20:40:04 ---> 55e4752406ac 20:40:04 Step 11/25 : RUN make update 20:40:04 ---> Running in e70aa1459acb 20:40:05 CGO_ENABLED=0 GO111MODULE=on go mod download 20:40:05 Removing intermediate container e70aa1459acb 20:40:05 ---> 71fb9126d4a9 20:40:05 Step 12/25 : COPY . . 20:40:06 ---> e1bd1ad258f1 20:40:06 Step 13/25 : RUN $MAKE 20:40:06 ---> Running in 9944c9bd23f0 20:40:06 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.7" -o cmd/device-rest-go ./cmd 20:40:16 Removing intermediate container 9944c9bd23f0 20:40:16 ---> 6fce7462ac1d 20:40:16 Step 14/25 : FROM alpine:latest 20:40:16 latest: Pulling from library/alpine 20:40:16 df20fa9351a1: Already exists 20:40:17 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 20:40:17 Status: Downloaded newer image for alpine:latest 20:40:17 ---> a24bb4013296 20:40:17 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:40:17 ---> Running in a1e66ce2c0e6 20:40:17 Removing intermediate container a1e66ce2c0e6 20:40:17 ---> ca1716950d28 20:40:17 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 20:40:17 ---> Running in 81f2b76677dc 20:40:17 Removing intermediate container 81f2b76677dc 20:40:17 ---> 916b8c4aaebf 20:40:17 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 20:40:17 ---> 62751da9b6b5 20:40:17 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 20:40:17 ---> c8a382604165 20:40:17 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 20:40:18 ---> f77abda15e5b 20:40:18 Step 20/25 : EXPOSE 49986 20:40:18 ---> Running in 0a0ede3bbe05 20:40:18 Removing intermediate container 0a0ede3bbe05 20:40:18 ---> d461ed6f47f0 20:40:18 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 20:40:18 ---> Running in cf905e980c0c 20:40:18 Removing intermediate container cf905e980c0c 20:40:18 ---> f0dbac2daf90 20:40:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:40:19 ---> Running in 1dd13329fc8d 20:40:19 Removing intermediate container 1dd13329fc8d 20:40:19 ---> c0272f3912fa 20:40:19 Step 23/25 : LABEL arch=amd64 20:40:19 ---> Running in b59e19404b0c 20:40:19 Removing intermediate container b59e19404b0c 20:40:19 ---> 085f71919a9c 20:40:19 Step 24/25 : LABEL git_sha=cf586b04128a22612e4c07fc62a16321cfe56fab 20:40:19 ---> Running in 823f31a84d46 20:40:19 Removing intermediate container 823f31a84d46 20:40:19 ---> 198a3e76b596 20:40:19 Step 25/25 : LABEL version=1.1.3-dev.7 20:40:19 ---> Running in 855f28187216 20:40:19 Removing intermediate container 855f28187216 20:40:19 ---> dd97840eb4d0 20:40:19 [Warning] One or more build-args [ARCH] were not consumed 20:40:19 Successfully built dd97840eb4d0 20:40:19 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:40:20 provisioning config files... 20:40:20 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/23@tmp/config3259199484524813094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:20 ---> docker-login.sh 20:40:20 nexus3.edgexfoundry.org:10001 20:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:21 Configure a credential helper to remove this warning. See 20:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:21 20:40:21 Login Succeeded 20:40:21 nexus3.edgexfoundry.org:10002 20:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:21 Configure a credential helper to remove this warning. See 20:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:21 20:40:21 Login Succeeded 20:40:21 nexus3.edgexfoundry.org:10003 20:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:21 Configure a credential helper to remove this warning. See 20:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:21 20:40:21 Login Succeeded 20:40:21 nexus3.edgexfoundry.org:10004 20:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:21 Configure a credential helper to remove this warning. See 20:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:21 20:40:21 Login Succeeded 20:40:21 docker.io 20:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:21 Configure a credential helper to remove this warning. See 20:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:21 20:40:21 Login Succeeded 20:40:21 ---> docker-login.sh ends [Pipeline] } 20:40:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:40:22 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 20:40:22 cf586b04128a22612e4c07fc62a16321cfe56fab 20:40:22 latest 20:40:22 1.1.3-dev.7 20:40:22 cf586b04128a22612e4c07fc62a16321cfe56fab-1.1.3-dev.7 20:40:22 master 20:40:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:40:22 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:cf586b04128a22612e4c07fc62a16321cfe56fab [Pipeline] isUnix [Pipeline] sh 20:40:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:cf586b04128a22612e4c07fc62a16321cfe56fab 20:40:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 20:40:22 5228b5eaa556: Preparing 20:40:22 65c4b2006b55: Preparing 20:40:22 45c9631970cd: Preparing 20:40:22 50644c29ef5a: Preparing 20:40:22 50644c29ef5a: Layer already exists 20:40:23 45c9631970cd: Pushed 20:40:23 65c4b2006b55: Pushed 20:40:24 5228b5eaa556: Pushed 20:40:24 cf586b04128a22612e4c07fc62a16321cfe56fab: digest: sha256:56036df78100fe7a97695bf9580c5ca753bd7096ce500ba71055249a7991310f size: 1154 [Pipeline] isUnix [Pipeline] sh 20:40:24 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 20:40:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 20:40:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 20:40:24 5228b5eaa556: Preparing 20:40:24 65c4b2006b55: Preparing 20:40:24 45c9631970cd: Preparing 20:40:24 50644c29ef5a: Preparing 20:40:24 65c4b2006b55: Layer already exists 20:40:24 45c9631970cd: Layer already exists 20:40:24 50644c29ef5a: Layer already exists 20:40:24 5228b5eaa556: Layer already exists 20:40:24 latest: digest: sha256:56036df78100fe7a97695bf9580c5ca753bd7096ce500ba71055249a7991310f size: 1154 [Pipeline] isUnix [Pipeline] sh 20:40:25 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.7 [Pipeline] isUnix [Pipeline] sh 20:40:25 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.7 20:40:25 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 20:40:25 5228b5eaa556: Preparing 20:40:25 65c4b2006b55: Preparing 20:40:25 45c9631970cd: Preparing 20:40:25 50644c29ef5a: Preparing 20:40:25 65c4b2006b55: Layer already exists 20:40:25 50644c29ef5a: Layer already exists 20:40:25 5228b5eaa556: Layer already exists 20:40:25 45c9631970cd: Layer already exists 20:40:25 1.1.3-dev.7: digest: sha256:56036df78100fe7a97695bf9580c5ca753bd7096ce500ba71055249a7991310f size: 1154 [Pipeline] isUnix [Pipeline] sh 20:40:25 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:cf586b04128a22612e4c07fc62a16321cfe56fab-1.1.3-dev.7 [Pipeline] isUnix [Pipeline] sh 20:40:26 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:cf586b04128a22612e4c07fc62a16321cfe56fab-1.1.3-dev.7 20:40:26 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 20:40:26 5228b5eaa556: Preparing 20:40:26 65c4b2006b55: Preparing 20:40:26 45c9631970cd: Preparing 20:40:26 50644c29ef5a: Preparing 20:40:26 50644c29ef5a: Layer already exists 20:40:26 65c4b2006b55: Layer already exists 20:40:26 45c9631970cd: Layer already exists 20:40:26 5228b5eaa556: Layer already exists 20:40:26 cf586b04128a22612e4c07fc62a16321cfe56fab-1.1.3-dev.7: digest: sha256:56036df78100fe7a97695bf9580c5ca753bd7096ce500ba71055249a7991310f size: 1154 [Pipeline] isUnix [Pipeline] sh 20:40:26 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 20:40:26 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 20:40:26 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 20:40:26 5228b5eaa556: Preparing 20:40:26 65c4b2006b55: Preparing 20:40:26 45c9631970cd: Preparing 20:40:26 50644c29ef5a: Preparing 20:40:26 5228b5eaa556: Layer already exists 20:40:26 45c9631970cd: Layer already exists 20:40:26 50644c29ef5a: Layer already exists 20:40:26 65c4b2006b55: Layer already exists 20:40:26 master: digest: sha256:56036df78100fe7a97695bf9580c5ca753bd7096ce500ba71055249a7991310f size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:40:26 ===================================================== [Pipeline] echo 20:40:26 taggedImages: 20:40:26 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:cf586b04128a22612e4c07fc62a16321cfe56fab 20:40:26 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 20:40:26 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.7 20:40:26 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:cf586b04128a22612e4c07fc62a16321cfe56fab-1.1.3-dev.7 20:40:26 - nexus3.edgexfoundry.org:10004/docker-device-rest-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] } 20:41:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2024 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 20:41:31 Running in /w/workspace/device-rest-go/23 [Pipeline] { [Pipeline] checkout 20:41:36 using credential edgex-jenkins-ssh 20:41:36 Cloning the remote Git repository 20:41:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:41:36 > git init /w/workspace/device-rest-go/23 # timeout=10 20:41:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:41:36 > git --version # timeout=10 20:41:36 > git --version # 'git version 2.17.1' 20:41:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:41:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:41:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:41:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:41:38 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:41:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:41:38 Checking out Revision cf586b04128a22612e4c07fc62a16321cfe56fab (master) 20:41:38 > git config core.sparsecheckout # timeout=10 20:41:38 > git checkout -f cf586b04128a22612e4c07fc62a16321cfe56fab # timeout=10 20:41:43 Commit message: "Merge pull request #45 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:41:45 ========================================================= 20:41:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:41:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:41:46 + 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 . 20:41:47 Sending build context to Docker daemon 8.056MB 20:41:47 Step 1/10 : ARG BASE=golang:1.15-alpine 20:41:47 Step 2/10 : FROM ${BASE} 20:41:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:41:47 b538f80385f9: Pulling fs layer 20:41:47 74f711af9a0d: Pulling fs layer 20:41:47 99f96fe45779: Pulling fs layer 20:41:47 8529a6b9a6be: Pulling fs layer 20:41:47 45590311c82a: Pulling fs layer 20:41:47 69ca0ff8b7b3: Pulling fs layer 20:41:47 209524e5b208: Pulling fs layer 20:41:47 8529a6b9a6be: Waiting 20:41:47 45590311c82a: Waiting 20:41:47 69ca0ff8b7b3: Waiting 20:41:47 209524e5b208: Waiting 20:41:47 99f96fe45779: Verifying Checksum 20:41:47 99f96fe45779: Download complete 20:41:47 74f711af9a0d: Download complete 20:41:47 45590311c82a: Verifying Checksum 20:41:47 45590311c82a: Download complete 20:41:47 69ca0ff8b7b3: Verifying Checksum 20:41:47 69ca0ff8b7b3: Download complete 20:41:47 b538f80385f9: Download complete 20:41:48 b538f80385f9: Pull complete 20:41:48 74f711af9a0d: Pull complete 20:41:49 99f96fe45779: Pull complete 20:41:49 209524e5b208: Verifying Checksum 20:41:49 209524e5b208: Download complete 20:41:51 8529a6b9a6be: Verifying Checksum 20:41:51 8529a6b9a6be: Download complete 20:42:01 8529a6b9a6be: Pull complete 20:42:01 45590311c82a: Pull complete 20:42:01 69ca0ff8b7b3: Pull complete 20:42:05 209524e5b208: Pull complete 20:42:05 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 20:42:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:42:05 ---> 5bddaf1c2fca 20:42:05 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 20:42:08 ---> Running in 262c226a62c8 20:42:08 Removing intermediate container 262c226a62c8 20:42:08 ---> 8310fab09bd6 20:42:08 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:42:08 ---> Running in 546a3c852665 20:42:09 Removing intermediate container 546a3c852665 20:42:09 ---> 78063b651634 20:42:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:42:09 ---> Running in f21c92f20692 20:42:09 Removing intermediate container f21c92f20692 20:42:09 ---> 87eb96498549 20:42:09 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:42:10 ---> Running in ca4730924127 20:42:12 Removing intermediate container ca4730924127 20:42:12 ---> fb10b83fca2f 20:42:12 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:12 ---> Running in 7ce6d01074e5 20:42:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:42:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:42:15 OK: 142 MiB in 39 packages 20:42:16 Removing intermediate container 7ce6d01074e5 20:42:16 ---> cadf393e022e 20:42:16 Step 8/10 : WORKDIR /device-rest-go 20:42:17 ---> Running in a613b97f48f7 20:42:17 Removing intermediate container a613b97f48f7 20:42:17 ---> 44c4c9ba8731 20:42:17 Step 9/10 : COPY . . 20:42:18 ---> f5c10a588190 20:42:18 Step 10/10 : RUN go mod download 20:42:19 ---> Running in 6b7dc25ce77f 20:42:34 Removing intermediate container 6b7dc25ce77f 20:42:34 ---> 878892325865 20:42:34 Successfully built 878892325865 20:42:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:42:34 + docker inspect -f . ci-base-image-arm64 20:42:34 . [Pipeline] withDockerContainer 20:42:34 prd-ubuntu18.04-docker-arm64-4c-16g-2024 does not seem to be running inside a container 20:42:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/23 -v /w/workspace/device-rest-go/23:/w/workspace/device-rest-go/23:rw,z -v /w/workspace/device-rest-go/23@tmp:/w/workspace/device-rest-go/23@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 20:42:36 $ docker top a18778350769acb335025862c47efc87af1573c1b348a2699a068aa85a4d65d8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:38 + go version 20:42:38 go version go1.15.2 linux/arm64 [Pipeline] } 20:42:38 $ docker stop --time=1 a18778350769acb335025862c47efc87af1573c1b348a2699a068aa85a4d65d8 20:42:40 $ docker rm -f a18778350769acb335025862c47efc87af1573c1b348a2699a068aa85a4d65d8 [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] { [Pipeline] sh 20:42:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:42:41 + ls -al . 20:42:41 total 100 20:42:41 drwxrwxr-x 9 jenkins jenkins 4096 Sep 29 20:41 . 20:42:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 20:41 .. 20:42:41 -rw-rw-r-- 1 jenkins jenkins 151 Sep 29 20:41 .dockerignore 20:42:41 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 20:41 .git 20:42:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 20:41 .github 20:42:41 -rw-rw-r-- 1 jenkins jenkins 339 Sep 29 20:41 .gitignore 20:42:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 20:41 .semver 20:42:41 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 29 20:41 Attribution.txt 20:42:41 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 29 20:41 Dockerfile 20:42:41 -rw-rw-r-- 1 jenkins jenkins 989 Sep 29 20:41 Dockerfile.build 20:42:41 -rw-rw-r-- 1 jenkins jenkins 680 Sep 29 20:41 Jenkinsfile 20:42:41 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 29 20:41 LICENSE 20:42:41 -rw-rw-r-- 1 jenkins jenkins 951 Sep 29 20:41 Makefile 20:42:41 -rw-rw-r-- 1 jenkins jenkins 5917 Sep 29 20:41 README.md 20:42:41 -rw-rw-r-- 1 jenkins jenkins 11 Sep 29 20:39 VERSION 20:42:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 20:41 bin 20:42:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 20:41 cmd 20:42:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 20:41 driver 20:42:41 -rw-rw-r-- 1 jenkins jenkins 273 Sep 29 20:41 go.mod 20:42:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 20:41 snap 20:42:41 -rw-rw-r-- 1 jenkins jenkins 713 Sep 29 20:41 version.go [Pipeline] isUnix [Pipeline] sh 20:42:42 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cf586b04128a22612e4c07fc62a16321cfe56fab --label arch=arm64 --label version=1.1.3-dev.7 . 20:42:42 Sending build context to Docker daemon 8.057MB 20:42:42 Step 1/25 : ARG BASE=golang:1.15-alpine 20:42:42 Step 2/25 : FROM ${BASE} AS builder 20:42:42 ---> 878892325865 20:42:42 Step 3/25 : ARG MAKE='make build' 20:42:43 ---> Running in cdce82d03853 20:42:43 Removing intermediate container cdce82d03853 20:42:43 ---> fdcc1b631c41 20:42:43 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 20:42:43 ---> Running in 13c1fc1a295d 20:42:44 Removing intermediate container 13c1fc1a295d 20:42:44 ---> 633c646d7240 20:42:44 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:42:44 ---> Running in d7ba2b01a03c 20:42:44 Removing intermediate container d7ba2b01a03c 20:42:44 ---> ac0963d6a997 20:42:44 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:42:44 ---> Running in c2cba27e0cf2 20:42:47 Removing intermediate container c2cba27e0cf2 20:42:47 ---> 15777a24d582 20:42:47 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:47 ---> Running in e34cfecdca6c 20:42:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:42:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:42:50 OK: 142 MiB in 39 packages 20:42:51 Removing intermediate container e34cfecdca6c 20:42:51 ---> 903587b49d07 20:42:51 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 20:42:51 ---> Running in 90a15f53c193 20:42:51 Removing intermediate container 90a15f53c193 20:42:51 ---> f40248926c6c 20:42:51 Step 9/25 : COPY go.mod . 20:42:52 ---> 1b645762ee72 20:42:52 Step 10/25 : COPY Makefile . 20:42:53 ---> 20cf55f37d26 20:42:53 Step 11/25 : RUN make update 20:42:53 ---> Running in 00742cccaeb7 20:42:54 CGO_ENABLED=0 GO111MODULE=on go mod download 20:42:56 Removing intermediate container 00742cccaeb7 20:42:56 ---> 77861e23fb90 20:42:56 Step 12/25 : COPY . . 20:42:57 ---> f5f59ed0030a 20:42:57 Step 13/25 : RUN $MAKE 20:42:57 ---> Running in 46594bef7236 20:42:58 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.7" -o cmd/device-rest-go ./cmd 20:43:25 Removing intermediate container 46594bef7236 20:43:25 ---> cef1f7a82044 20:43:25 Step 14/25 : FROM alpine:latest 20:43:25 latest: Pulling from library/alpine 20:43:25 b538f80385f9: Already exists 20:43:25 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 20:43:25 Status: Downloaded newer image for alpine:latest 20:43:25 ---> 62ee0e9f8440 20:43:25 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:43:25 ---> Running in 86bfe64297a6 20:43:25 Removing intermediate container 86bfe64297a6 20:43:25 ---> 3b496d843b38 20:43:25 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 20:43:25 ---> Running in bc05736bfeb4 20:43:25 Removing intermediate container bc05736bfeb4 20:43:25 ---> da452edce5fc 20:43:25 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 20:43:25 ---> 2198d1dd11e8 20:43:25 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 20:43:26 ---> 37c4f0851150 20:43:26 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 20:43:27 ---> 71fd822ffcac 20:43:27 Step 20/25 : EXPOSE 49986 20:43:27 ---> Running in 6eeb706d88d2 20:43:28 Removing intermediate container 6eeb706d88d2 20:43:28 ---> 60ee5b5829ba 20:43:28 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 20:43:28 ---> Running in d851f9fbca04 20:43:29 Removing intermediate container d851f9fbca04 20:43:29 ---> 41b1aeb08d0e 20:43:29 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:43:29 ---> Running in 4b3d240556cb 20:43:29 Removing intermediate container 4b3d240556cb 20:43:29 ---> b5e6639386fe 20:43:29 Step 23/25 : LABEL arch=arm64 20:43:29 ---> Running in f8ab0654aac4 20:43:30 Removing intermediate container f8ab0654aac4 20:43:30 ---> 8fc91dc569f4 20:43:30 Step 24/25 : LABEL git_sha=cf586b04128a22612e4c07fc62a16321cfe56fab 20:43:30 ---> Running in 7d97f24d8b7e 20:43:30 Removing intermediate container 7d97f24d8b7e 20:43:30 ---> a93d0c3d8b1d 20:43:30 Step 25/25 : LABEL version=1.1.3-dev.7 20:43:30 ---> Running in 7bd0d8472ff7 20:43:31 Removing intermediate container 7bd0d8472ff7 20:43:31 ---> 37f95b73a8f9 20:43:31 [Warning] One or more build-args [ARCH] were not consumed 20:43:31 Successfully built 37f95b73a8f9 20:43:31 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:43:31 provisioning config files... 20:43:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/23@tmp/config4988905218387178869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:32 ---> docker-login.sh 20:43:32 nexus3.edgexfoundry.org:10001 20:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:33 Configure a credential helper to remove this warning. See 20:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:33 20:43:33 Login Succeeded 20:43:33 nexus3.edgexfoundry.org:10002 20:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:33 Configure a credential helper to remove this warning. See 20:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:33 20:43:33 Login Succeeded 20:43:33 nexus3.edgexfoundry.org:10003 20:43:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:34 Configure a credential helper to remove this warning. See 20:43:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:34 20:43:34 Login Succeeded 20:43:34 nexus3.edgexfoundry.org:10004 20:43:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:34 Configure a credential helper to remove this warning. See 20:43:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:34 20:43:34 Login Succeeded 20:43:34 docker.io 20:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:35 Configure a credential helper to remove this warning. See 20:43:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:35 20:43:35 Login Succeeded 20:43:35 ---> docker-login.sh ends [Pipeline] } 20:43:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:43:35 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 20:43:35 cf586b04128a22612e4c07fc62a16321cfe56fab 20:43:35 latest 20:43:35 1.1.3-dev.7 20:43:35 cf586b04128a22612e4c07fc62a16321cfe56fab-1.1.3-dev.7 20:43:35 master 20:43:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:43:36 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cf586b04128a22612e4c07fc62a16321cfe56fab [Pipeline] isUnix [Pipeline] sh 20:43:36 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cf586b04128a22612e4c07fc62a16321cfe56fab 20:43:36 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 20:43:36 1edec40c3f19: Preparing 20:43:36 22c1c3da2166: Preparing 20:43:36 48275b267168: Preparing 20:43:36 e2f13739ad41: Preparing 20:43:37 e2f13739ad41: Layer already exists 20:43:37 22c1c3da2166: Pushed 20:43:37 48275b267168: Pushed 20:43:39 1edec40c3f19: Pushed 20:43:39 cf586b04128a22612e4c07fc62a16321cfe56fab: digest: sha256:bcb7818bbe49af0c392a706e65ed12662fc4686d029d90572853ae3010606da2 size: 1154 [Pipeline] isUnix [Pipeline] sh 20:43:40 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:43:40 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 20:43:40 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 20:43:40 1edec40c3f19: Preparing 20:43:40 22c1c3da2166: Preparing 20:43:40 48275b267168: Preparing 20:43:40 e2f13739ad41: Preparing 20:43:40 48275b267168: Layer already exists 20:43:40 22c1c3da2166: Layer already exists 20:43:40 e2f13739ad41: Layer already exists 20:43:40 1edec40c3f19: Layer already exists 20:43:40 latest: digest: sha256:bcb7818bbe49af0c392a706e65ed12662fc4686d029d90572853ae3010606da2 size: 1154 [Pipeline] isUnix [Pipeline] sh 20:43:41 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.7 [Pipeline] isUnix [Pipeline] sh 20:43:41 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.7 20:43:41 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 20:43:41 1edec40c3f19: Preparing 20:43:41 22c1c3da2166: Preparing 20:43:41 48275b267168: Preparing 20:43:41 e2f13739ad41: Preparing 20:43:41 22c1c3da2166: Layer already exists 20:43:41 48275b267168: Layer already exists 20:43:41 1edec40c3f19: Layer already exists 20:43:41 e2f13739ad41: Layer already exists 20:43:41 1.1.3-dev.7: digest: sha256:bcb7818bbe49af0c392a706e65ed12662fc4686d029d90572853ae3010606da2 size: 1154 [Pipeline] isUnix [Pipeline] sh 20:43:42 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cf586b04128a22612e4c07fc62a16321cfe56fab-1.1.3-dev.7 [Pipeline] isUnix [Pipeline] sh 20:43:42 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cf586b04128a22612e4c07fc62a16321cfe56fab-1.1.3-dev.7 20:43:42 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 20:43:42 1edec40c3f19: Preparing 20:43:42 22c1c3da2166: Preparing 20:43:42 48275b267168: Preparing 20:43:42 e2f13739ad41: Preparing 20:43:42 e2f13739ad41: Layer already exists 20:43:42 48275b267168: Layer already exists 20:43:42 22c1c3da2166: Layer already exists 20:43:42 1edec40c3f19: Layer already exists 20:43:42 cf586b04128a22612e4c07fc62a16321cfe56fab-1.1.3-dev.7: digest: sha256:bcb7818bbe49af0c392a706e65ed12662fc4686d029d90572853ae3010606da2 size: 1154 [Pipeline] isUnix [Pipeline] sh 20:43:43 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 20:43:43 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 20:43:43 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 20:43:43 1edec40c3f19: Preparing 20:43:43 22c1c3da2166: Preparing 20:43:43 48275b267168: Preparing 20:43:43 e2f13739ad41: Preparing 20:43:43 22c1c3da2166: Layer already exists 20:43:43 1edec40c3f19: Layer already exists 20:43:43 48275b267168: Layer already exists 20:43:43 e2f13739ad41: Layer already exists 20:43:43 master: digest: sha256:bcb7818bbe49af0c392a706e65ed12662fc4686d029d90572853ae3010606da2 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:43:43 ===================================================== [Pipeline] echo 20:43:43 taggedImages: 20:43:43 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cf586b04128a22612e4c07fc62a16321cfe56fab 20:43:43 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 20:43:43 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.7 20:43:43 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cf586b04128a22612e4c07fc62a16321cfe56fab-1.1.3-dev.7 20:43:43 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 20:43:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 20:43:45 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 20:43:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:43:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 20:43:46 20:43:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 20:43:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 20:43:46 1.317.0: Pulling from edgex-devops/edgex-snyk-go 20:43:46 cbdbe7a5bc2a: Pulling fs layer 20:43:46 408f87550127: Pulling fs layer 20:43:46 fe522b08c979: Pulling fs layer 20:43:46 221eaa008020: Pulling fs layer 20:43:46 2a4607e5d6b9: Pulling fs layer 20:43:46 8f79b27c4fd2: Pulling fs layer 20:43:46 e5c8dbe1645b: Pulling fs layer 20:43:46 23e8b3b47431: Pulling fs layer 20:43:46 5c568d65a230: Pulling fs layer 20:43:46 8f79b27c4fd2: Waiting 20:43:46 e5c8dbe1645b: Waiting 20:43:46 23e8b3b47431: Waiting 20:43:46 5c568d65a230: Waiting 20:43:46 221eaa008020: Waiting 20:43:46 2a4607e5d6b9: Waiting 20:43:46 408f87550127: Verifying Checksum 20:43:46 408f87550127: Download complete 20:43:46 fe522b08c979: Verifying Checksum 20:43:46 fe522b08c979: Download complete 20:43:46 2a4607e5d6b9: Verifying Checksum 20:43:46 2a4607e5d6b9: Download complete 20:43:46 8f79b27c4fd2: Verifying Checksum 20:43:46 8f79b27c4fd2: Download complete 20:43:46 cbdbe7a5bc2a: Verifying Checksum 20:43:46 cbdbe7a5bc2a: Download complete 20:43:47 cbdbe7a5bc2a: Pull complete 20:43:47 408f87550127: Pull complete 20:43:47 fe522b08c979: Pull complete 20:43:48 e5c8dbe1645b: Verifying Checksum 20:43:48 e5c8dbe1645b: Download complete 20:43:49 23e8b3b47431: Verifying Checksum 20:43:49 23e8b3b47431: Download complete 20:43:49 5c568d65a230: Verifying Checksum 20:43:49 5c568d65a230: Download complete 20:43:50 221eaa008020: Verifying Checksum 20:43:50 221eaa008020: Download complete 20:43:57 221eaa008020: Pull complete 20:43:57 2a4607e5d6b9: Pull complete 20:43:57 8f79b27c4fd2: Pull complete 20:43:59 e5c8dbe1645b: Pull complete 20:44:02 23e8b3b47431: Pull complete 20:44:04 5c568d65a230: Pull complete 20:44:04 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 20:44:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 20:44:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 20:44:04 prd-centos7-docker-4c-2g-2020 does not seem to be running inside a container 20:44:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-rest-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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-snyk-go:1.317.0 cat 20:44:05 $ docker top dacfda95836432e91c5bdb2bbcf3af9a3bf000546a7f3f494bd157a2e0319437 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:06 + snyk monitor '--org=edgex-jenkins' 20:44:12 20:44:12 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 20:44:12 20:44:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/927d948c-1bca-4213-a3df-14852b6998c8 20:44:12 20:44:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:44:12 20:44:12 20:44:12 Snyk CLI supports Node.js 8 and higher. 20:44:12 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 20:44:12 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 20:44:12 20:44:12 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 20:44:12 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 20:44:12 $ docker stop --time=1 dacfda95836432e91c5bdb2bbcf3af9a3bf000546a7f3f494bd157a2e0319437 20:44:14 $ docker rm -f dacfda95836432e91c5bdb2bbcf3af9a3bf000546a7f3f494bd157a2e0319437 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:44:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:44:15 20:44:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 20:44:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:44:16 latest: Pulling from edgex-devops/edgex-klar 20:44:16 e7c96db7181b: Pulling fs layer 20:44:16 1868ca2cb446: Pulling fs layer 20:44:16 136be5d0fe8e: Pulling fs layer 20:44:16 894bfe63afcb: Pulling fs layer 20:44:16 894bfe63afcb: Waiting 20:44:16 1868ca2cb446: Verifying Checksum 20:44:16 1868ca2cb446: Download complete 20:44:16 136be5d0fe8e: Verifying Checksum 20:44:16 136be5d0fe8e: Download complete 20:44:16 e7c96db7181b: Verifying Checksum 20:44:16 e7c96db7181b: Download complete 20:44:16 894bfe63afcb: Verifying Checksum 20:44:16 894bfe63afcb: Download complete 20:44:16 e7c96db7181b: Pull complete 20:44:16 1868ca2cb446: Pull complete 20:44:16 136be5d0fe8e: Pull complete 20:44:17 894bfe63afcb: Pull complete 20:44:17 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 20:44:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:44:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 20:44:17 prd-centos7-docker-4c-2g-2020 does not seem to be running inside a container 20:44:17 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 20:44:18 $ docker top 9dbaeeeb682f6862861e0b5b578e4e6963f61e69c402bc0419da69095cfd782e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:18 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:cf586b04128a22612e4c07fc62a16321cfe56fab 20:44:18 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:44:22 $ docker stop --time=1 9dbaeeeb682f6862861e0b5b578e4e6963f61e69c402bc0419da69095cfd782e 20:44:23 $ docker rm -f 9dbaeeeb682f6862861e0b5b578e4e6963f61e69c402bc0419da69095cfd782e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:44:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:44:24 . [Pipeline] withDockerContainer 20:44:24 prd-centos7-docker-4c-2g-2020 does not seem to be running inside a container 20:44:24 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 20:44:25 $ docker top 69ad724ffb240da841f8645a0bdd8163ae41f8ba4f1f6a5bdaae5553dc6e10d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:25 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:cf586b04128a22612e4c07fc62a16321cfe56fab 20:44:25 + tee 20:44:25 clair timeout 1m0s 20:44:25 docker timeout: 1m0s 20:44:25 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:44:26 $ docker stop --time=1 69ad724ffb240da841f8645a0bdd8163ae41f8ba4f1f6a5bdaae5553dc6e10d7 20:44:27 $ docker rm -f 69ad724ffb240da841f8645a0bdd8163ae41f8ba4f1f6a5bdaae5553dc6e10d7 [Pipeline] // withDockerContainer [Pipeline] sh 20:44:28 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 20:44:28 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_cf586b04128a22612e4c07fc62a16321cfe56fab.html [Pipeline] writeFile [Pipeline] step 20:44:28 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 20:44:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:44:28 . [Pipeline] withDockerContainer 20:44:28 prd-centos7-docker-4c-2g-2020 does not seem to be running inside a container 20:44:28 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 20:44:29 $ docker top 2b2836d4acdd41431bab1122ed179ef330783dacb5c2e37d70a6fbbe3468a365 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:30 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cf586b04128a22612e4c07fc62a16321cfe56fab 20:44:30 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:44:33 $ docker stop --time=1 2b2836d4acdd41431bab1122ed179ef330783dacb5c2e37d70a6fbbe3468a365 20:44:34 $ docker rm -f 2b2836d4acdd41431bab1122ed179ef330783dacb5c2e37d70a6fbbe3468a365 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:44:35 . [Pipeline] withDockerContainer 20:44:35 prd-centos7-docker-4c-2g-2020 does not seem to be running inside a container 20:44:35 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 20:44:36 $ docker top 7a103891bb1aa9d17e6c519fc0207d19dae47a2bf241a0cd4cc080367dd2f5cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:36 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cf586b04128a22612e4c07fc62a16321cfe56fab 20:44:36 + tee 20:44:36 clair timeout 1m0s 20:44:36 docker timeout: 1m0s 20:44:36 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:44:37 $ docker stop --time=1 7a103891bb1aa9d17e6c519fc0207d19dae47a2bf241a0cd4cc080367dd2f5cc 20:44:38 $ docker rm -f 7a103891bb1aa9d17e6c519fc0207d19dae47a2bf241a0cd4cc080367dd2f5cc [Pipeline] // withDockerContainer [Pipeline] sh 20:44:39 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 20:44:39 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_cf586b04128a22612e4c07fc62a16321cfe56fab.html [Pipeline] writeFile [Pipeline] step 20:44:39 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 20:44:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:44:41 . [Pipeline] withDockerContainer 20:44:42 prd-centos7-docker-4c-2g-2020 does not seem to be running inside a container 20:44:42 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:44:42 $ docker top 19563f410aa408aea2227db33063714312000d7a99954f48a7848f6aebd51867 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:44:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:44:43 [ssh-agent] Looking for ssh-agent implementation... 20:44:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:44:43 $ docker exec 19563f410aa408aea2227db33063714312000d7a99954f48a7848f6aebd51867 ssh-agent 20:44:43 SSH_AUTH_SOCK=/tmp/ssh-4vdJe36PahCw/agent.12 20:44:43 SSH_AGENT_PID=17 20:44:43 Running ssh-add (command line suppressed) 20:44:43 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2991044461742656082.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2991044461742656082.key) 20:44:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:44:43 + git semver tag 20:44:43 # -> Open(): unable to determine branch for HEAD 20:44:43 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 20:44:43 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 20:44:43 # $SEMVER_REMOTE_NAME = origin 20:44:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:44:43 # $SEMVER_USER_NAME = edgex-jenkins 20:44:43 # $SEMVER_BRANCH = master 20:44:43 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 20:44:43 # cf586b04128a22612e4c07fc62a16321cfe56fab HEAD 20:44:43 # -> Force: false 20:44:43 # e751b4e892c8817bd0c4fd1e6fe2f4d9ce1334f4 refs/tags/v1.1.3-dev.7 [Pipeline] } 20:44:43 $ docker exec --env ******** --env ******** 19563f410aa408aea2227db33063714312000d7a99954f48a7848f6aebd51867 ssh-agent -k 20:44:44 unset SSH_AUTH_SOCK; 20:44:44 unset SSH_AGENT_PID; 20:44:44 echo Agent pid 17 killed; 20:44:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:44:44 + git semver [Pipeline] } 20:44:44 $ docker stop --time=1 19563f410aa408aea2227db33063714312000d7a99954f48a7848f6aebd51867 20:44:45 $ docker rm -f 19563f410aa408aea2227db33063714312000d7a99954f48a7848f6aebd51867 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:44:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:44:46 20:44:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:44:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:44:46 0.23.1-centos7: Pulling from edgex-lftools 20:44:46 ab5ef0e58194: Pulling fs layer 20:44:46 9712f1f96733: Pulling fs layer 20:44:46 63f879dbbcfc: Pulling fs layer 20:44:46 0d9ebad4ef96: Pulling fs layer 20:44:46 e9a5061849ea: Pulling fs layer 20:44:46 d747dcd14b5f: Pulling fs layer 20:44:46 2de7ff778b66: Pulling fs layer 20:44:46 e9a5061849ea: Waiting 20:44:46 d747dcd14b5f: Waiting 20:44:46 2de7ff778b66: Waiting 20:44:46 0d9ebad4ef96: Waiting 20:44:46 9712f1f96733: Verifying Checksum 20:44:46 9712f1f96733: Download complete 20:44:48 63f879dbbcfc: Verifying Checksum 20:44:48 63f879dbbcfc: Download complete 20:44:48 e9a5061849ea: Verifying Checksum 20:44:48 e9a5061849ea: Download complete 20:44:48 d747dcd14b5f: Download complete 20:44:49 2de7ff778b66: Verifying Checksum 20:44:49 2de7ff778b66: Download complete 20:44:49 0d9ebad4ef96: Verifying Checksum 20:44:49 0d9ebad4ef96: Download complete 20:44:49 ab5ef0e58194: Verifying Checksum 20:44:49 ab5ef0e58194: Download complete 20:44:54 ab5ef0e58194: Pull complete 20:44:54 9712f1f96733: Pull complete 20:44:57 63f879dbbcfc: Pull complete 20:45:02 0d9ebad4ef96: Pull complete 20:45:05 e9a5061849ea: Pull complete 20:45:05 d747dcd14b5f: Pull complete 20:45:07 2de7ff778b66: Pull complete 20:45:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:45:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:45:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:45:07 prd-centos7-docker-4c-2g-2020 does not seem to be running inside a container 20:45:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:45:11 $ docker top a754d5cf8d9fcdb03a6e46095a54c9decde34e654538603dccd2fce5569ca948 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:45:11 provisioning config files... 20:45:11 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8653511990082770197tmp 20:45:11 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6005983158098975632tmp 20:45:11 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6216975440287258909tmp [Pipeline] { [Pipeline] echo 20:45:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:45:11 ---> sigul-configuration.sh 20:45:11 gpg: directory `/root/.gnupg' created 20:45:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:45:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:45:11 gpg: keyring `/root/.gnupg/secring.gpg' created 20:45:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:45:11 gpg: CAST5 encrypted data 20:45:12 gpg: encrypted with 1 passphrase 20:45:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:45:12 + mkdir /home/jenkins 20:45:12 + mkdir /home/jenkins/sigul [Pipeline] sh 20:45:12 + 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 20:45:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:45:13 ---> sigul-install.sh 20:45:19 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 20:45:20 + git tag --list 20:45:20 v1.0.0 20:45:20 v1.1.0 20:45:20 v1.1.1 20:45:20 v1.1.2 20:45:20 v1.1.2-dev.1 20:45:20 v1.1.2-dev.2 20:45:20 v1.1.3-dev.1 20:45:20 v1.1.3-dev.2 20:45:20 v1.1.3-dev.3 20:45:20 v1.1.3-dev.4 20:45:20 v1.1.3-dev.5 20:45:20 v1.1.3-dev.6 20:45:20 v1.1.3-dev.7 [Pipeline] sh 20:45:20 + lftools sign git-tag v1.1.3-dev.7 20:45:21 Signing Git tag with Sigul... 20:45:21 Signing v1.1.3-dev.7 [Pipeline] echo 20:45:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:45:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:45:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:45:23 $ docker stop --time=1 a754d5cf8d9fcdb03a6e46095a54c9decde34e654538603dccd2fce5569ca948 20:45:25 $ docker rm -f a754d5cf8d9fcdb03a6e46095a54c9decde34e654538603dccd2fce5569ca948 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:45:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:45:26 . [Pipeline] withDockerContainer 20:45:26 prd-centos7-docker-4c-2g-2020 does not seem to be running inside a container 20:45:26 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:45:26 $ docker top 76a48643bbeaa2fcd122afe09e6d14d0bf57256f3d23ac6023803d47048b50e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:45:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:27 [ssh-agent] Looking for ssh-agent implementation... 20:45:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:27 $ docker exec 76a48643bbeaa2fcd122afe09e6d14d0bf57256f3d23ac6023803d47048b50e5 ssh-agent 20:45:27 SSH_AUTH_SOCK=/tmp/ssh-78JoBG8ddaKG/agent.11 20:45:27 SSH_AGENT_PID=16 20:45:27 Running ssh-add (command line suppressed) 20:45:27 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4134745336494381633.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4134745336494381633.key) 20:45:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:28 + git semver bump pre 20:45:28 # -> Open(): unable to determine branch for HEAD 20:45:28 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 20:45:28 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 20:45:28 # $SEMVER_REMOTE_NAME = origin 20:45:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:45:28 # $SEMVER_USER_NAME = edgex-jenkins 20:45:28 # $SEMVER_BRANCH = master 20:45:28 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 20:45:28 1.1.3-dev.8 [Pipeline] } 20:45:28 $ docker exec --env ******** --env ******** 76a48643bbeaa2fcd122afe09e6d14d0bf57256f3d23ac6023803d47048b50e5 ssh-agent -k 20:45:28 unset SSH_AUTH_SOCK; 20:45:28 unset SSH_AGENT_PID; 20:45:28 echo Agent pid 16 killed; 20:45:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:45:28 + git semver [Pipeline] } 20:45:28 $ docker stop --time=1 76a48643bbeaa2fcd122afe09e6d14d0bf57256f3d23ac6023803d47048b50e5 20:45:30 $ docker rm -f 76a48643bbeaa2fcd122afe09e6d14d0bf57256f3d23ac6023803d47048b50e5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:45:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:45:30 . [Pipeline] withDockerContainer 20:45:30 prd-centos7-docker-4c-2g-2020 does not seem to be running inside a container 20:45:31 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:45:31 $ docker top 4334e08103d174c716e7b77ca5d32e4180a41feeece713a9a9f99d7400ea4e5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:45:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:32 [ssh-agent] Looking for ssh-agent implementation... 20:45:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:32 $ docker exec 4334e08103d174c716e7b77ca5d32e4180a41feeece713a9a9f99d7400ea4e5d ssh-agent 20:45:32 SSH_AUTH_SOCK=/tmp/ssh-NhdHMsy02c02/agent.11 20:45:32 SSH_AGENT_PID=17 20:45:32 Running ssh-add (command line suppressed) 20:45:32 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2469426807255077355.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2469426807255077355.key) 20:45:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:33 + git semver push 20:45:33 # -> Open(): unable to determine branch for HEAD 20:45:33 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 20:45:33 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 20:45:33 # $SEMVER_REMOTE_NAME = origin 20:45:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:45:33 # $SEMVER_USER_NAME = edgex-jenkins 20:45:33 # $SEMVER_BRANCH = master 20:45:33 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 20:45:39 $ docker exec --env ******** --env ******** 4334e08103d174c716e7b77ca5d32e4180a41feeece713a9a9f99d7400ea4e5d ssh-agent -k 20:45:39 unset SSH_AUTH_SOCK; 20:45:39 unset SSH_AGENT_PID; 20:45:39 echo Agent pid 17 killed; 20:45:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:45:40 + git semver [Pipeline] } 20:45:40 $ docker stop --time=1 4334e08103d174c716e7b77ca5d32e4180a41feeece713a9a9f99d7400ea4e5d 20:45:41 $ docker rm -f 4334e08103d174c716e7b77ca5d32e4180a41feeece713a9a9f99d7400ea4e5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:45:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:45:44 ---> package-listing.sh 20:45:44 ++ facter osfamily 20:45:44 ++ tr '[:upper:]' '[:lower:]' 20:45:44 + OS_FAMILY=redhat 20:45:44 + workspace=/w/workspace/gexfoundry_device-rest-go_master 20:45:44 + START_PACKAGES=/tmp/packages_start.txt 20:45:44 + END_PACKAGES=/tmp/packages_end.txt 20:45:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:45:44 + PACKAGES=/tmp/packages_start.txt 20:45:44 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 20:45:44 + PACKAGES=/tmp/packages_end.txt 20:45:44 + case "${OS_FAMILY}" in 20:45:44 + rpm -qa 20:45:44 + sort 20:45:48 + '[' -f /tmp/packages_start.txt ']' 20:45:48 + '[' -f /tmp/packages_end.txt ']' 20:45:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:45:48 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 20:45:48 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 20:45:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:48 provisioning config files... 20:45:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6492709738893752462tmp [Pipeline] { [Pipeline] echo 20:45:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:45:49 ---> create-netrc.sh [Pipeline] } 20:45:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:45:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:45:49 ---> python-tools-install.sh 20:45:49 Generating Requirements File 20:47:10 Python 3.6.8 20:47:10 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 20:47:10 aiohttp==3.6.2 20:47:10 appdirs==1.4.3 20:47:10 argcomplete==1.12.1 20:47:10 aspy.yaml==1.3.0 20:47:10 async-timeout==3.0.1 20:47:10 attrs==19.3.0 20:47:10 Babel==2.8.0 20:47:10 beautifulsoup4==4.8.2 20:47:10 boto3==1.11.6 20:47:10 botocore==1.14.6 20:47:10 bs4==0.0.1 20:47:10 cachetools==4.1.1 20:47:10 certifi==2019.11.28 20:47:10 cffi==1.14.3 20:47:10 cfgv==2.0.1 20:47:10 chardet==3.0.4 20:47:10 click==7.1 20:47:10 cliff==3.4.0 20:47:10 cmd2==1.3.10 20:47:10 colorama==0.4.3 20:47:10 cryptography==3.1.1 20:47:10 debtcollector==2.2.0 20:47:10 decorator==4.4.2 20:47:10 defusedxml==0.6.0 20:47:10 Deprecated==1.2.7 20:47:10 distlib==0.3.1 20:47:10 distro==1.2.0 20:47:10 dnspython==1.16.0 20:47:10 docker==4.2.0 20:47:10 docutils==0.15.2 20:47:10 dogpile.cache==1.0.2 20:47:10 email-validator==1.0.5 20:47:10 filelock==3.0.12 20:47:10 future==0.18.2 20:47:10 google-auth==1.22.0 20:47:10 httplib2==0.17.0 20:47:10 identify==1.4.11 20:47:10 idna==2.9 20:47:10 idna-ssl==1.1.0 20:47:10 importlib-metadata==1.7.0 20:47:10 importlib-resources==1.5.0 20:47:10 iso8601==0.1.13 20:47:10 Jinja2==2.11.1 20:47:10 jmespath==0.10.0 20:47:10 jsonpatch==1.26 20:47:10 jsonpointer==2.0 20:47:10 jsonschema==3.2.0 20:47:10 keystoneauth1==4.2.1 20:47:10 kubernetes==11.0.0 20:47:10 lftools==0.34.2 20:47:10 lxml==4.5.0 20:47:10 MarkupSafe==0.23 20:47:10 msgpack==1.0.0 20:47:10 multi-key-dict==2.0.3 20:47:10 multidict==4.7.6 20:47:10 munch==2.5.0 20:47:10 netaddr==0.8.0 20:47:10 netifaces==0.10.9 20:47:10 niet==1.4.2 20:47:10 nodeenv==1.3.5 20:47:10 oauth2client==4.1.3 20:47:10 oauthlib==3.1.0 20:47:10 openstacksdk==0.50.0 20:47:10 os-client-config==2.1.0 20:47:10 os-service-types==1.7.0 20:47:10 osc-lib==2.2.1 20:47:10 oslo.config==8.3.2 20:47:10 oslo.context==3.1.1 20:47:10 oslo.i18n==5.0.1 20:47:10 oslo.log==4.4.0 20:47:10 oslo.serialization==4.0.1 20:47:10 oslo.utils==4.6.0 20:47:10 packaging==20.4 20:47:10 pbr==5.4.4 20:47:10 pluggy==0.13.1 20:47:10 prettytable==0.7.2 20:47:10 py==1.9.0 20:47:10 pyasn1==0.4.8 20:47:10 pyasn1-modules==0.2.8 20:47:10 pycparser==2.20 20:47:10 pygerrit2==2.0.10 20:47:10 PyGithub==1.46 20:47:10 pyinotify==0.9.6 20:47:10 PyJWT==1.7.1 20:47:10 pyparsing==2.4.7 20:47:10 pyperclip==1.8.0 20:47:10 pyroute2==0.4.13 20:47:10 pyrsistent==0.15.7 20:47:10 PySocks==1.6.8 20:47:10 python-cinderclient==7.2.0 20:47:10 python-dateutil==2.8.1 20:47:10 python-heatclient==2.2.1 20:47:10 python-jenkins==1.7.0 20:47:10 python-keystoneclient==4.1.1 20:47:10 python-magnumclient==3.2.1 20:47:10 python-novaclient==17.2.1 20:47:10 python-openstackclient==5.3.1 20:47:10 python-swiftclient==3.10.1 20:47:10 pytz==2020.1 20:47:10 PyYAML==5.3 20:47:10 requests==2.23.0 20:47:10 requests-oauthlib==1.3.0 20:47:10 requestsexceptions==1.4.0 20:47:10 rfc3986==1.4.0 20:47:10 rpm==4.11.3 20:47:10 rsa==4.0 20:47:10 ruamel.yaml==0.16.10 20:47:10 ruamel.yaml.clib==0.2.0 20:47:10 s3transfer==0.3.3 20:47:10 shade==1.27.2 20:47:10 simplejson==3.17.2 20:47:10 six==1.14.0 20:47:10 soupsieve==2.0 20:47:10 stevedore==3.2.2 20:47:10 tabulate==0.8.6 20:47:10 toml==0.10.0 20:47:10 tox==3.20.0 20:47:10 tqdm==4.43.0 20:47:10 typing-extensions==3.7.4.3 20:47:10 urllib3==1.25.8 20:47:10 virtualenv==20.0.31 20:47:10 wcwidth==0.2.5 20:47:10 websocket-client==0.57.0 20:47:10 wrapt==1.12.1 20:47:10 xdg==3.0.2 20:47:10 xmltodict==0.12.0 20:47:10 yarl==1.6.0 20:47:10 yq==2.11.1 20:47:10 zipp==3.2.0 20:47:10 Cache entry deserialization failed, entry ignored 20:47:12 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. 20:47:15 Python 2.7.5 20:47:15 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 20:47:16 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. 20:47:16 ansible==2.9.7 20:47:16 Babel==0.9.6 20:47:16 backports.ssl-match-hostname==3.5.0.1 20:47:16 beautifulsoup4==4.4.1 20:47:16 bodhi==2.11.0 20:47:16 bodhi-client==2.11.0 20:47:16 CCColUtils==1.4 20:47:16 cffi==1.6.0 20:47:16 chardet==2.2.1 20:47:16 click==6.7 20:47:16 cloud-init==18.5 20:47:16 configobj==4.7.2 20:47:16 cryptography==1.7.2 20:47:16 decorator==3.4.0 20:47:16 distro==1.2.0 20:47:16 enum34==1.0.4 20:47:16 fedpkg==1.38 20:47:16 futures==3.1.1 20:47:16 gitdb==0.6.4 20:47:16 GitPython==1.0.1 20:47:16 html5lib==0.999 20:47:16 httplib2==0.9.2 20:47:16 idna==2.4 20:47:16 iniparse==0.4 20:47:16 ipaddress==1.0.16 20:47:16 IPy==0.75 20:47:16 javapackages==1.0.0 20:47:16 Jinja2==2.7.2 20:47:16 jmespath==0.9.4 20:47:16 jsonpatch==1.2 20:47:16 jsonpointer==1.9 20:47:16 kerberos==1.1 20:47:16 kitchen==1.1.1 20:47:16 langtable==0.0.31 20:47:16 lockfile==0.9.1 20:47:16 lxml==3.2.1 20:47:16 MarkupSafe==0.11 20:47:16 munch==2.0.2 20:47:16 offtrac==0.1.0 20:47:16 openidc-client==0.6.0 20:47:16 packagedb-cli==2.14.1 20:47:16 paramiko==2.1.1 20:47:16 perf==0.1 20:47:16 ply==3.4 20:47:16 policycoreutils-default-encoding==0.1 20:47:16 prettytable==0.7.2 20:47:16 pyasn1==0.1.9 20:47:16 pycparser==2.14 20:47:16 pycurl==7.19.0 20:47:16 pygobject==3.22.0 20:47:16 pygpgme==0.3 20:47:16 pyliblzma==0.5.3 20:47:16 pyOpenSSL==0.13.1 20:47:16 pyparsing==1.5.6 20:47:16 pyserial==2.6 20:47:16 python-augeas==0.5.0 20:47:16 python-bugzilla==2.3.0 20:47:16 python-dateutil==1.5 20:47:16 python-fedora==0.10.0 20:47:16 python-linux-procfs==0.4.9 20:47:16 python-yubico==1.2.3 20:47:16 pyudev==0.15 20:47:16 pyusb==1.0.0b1 20:47:16 pyxattr==0.5.1 20:47:16 PyYAML==3.10 20:47:16 requests==2.6.0 20:47:16 requests-kerberos==0.7.0 20:47:16 rpkg==1.60 20:47:16 schedutils==0.4 20:47:16 seobject==0.1 20:47:16 sepolicy==1.1 20:47:16 six==1.9.0 20:47:16 smmap==0.9.0 20:47:16 urlgrabber==3.10 20:47:16 urllib3==1.10.2 20:47:16 virtualenv==15.1.0 20:47:16 yum-langpacks==0.4.2 20:47:16 yum-metadata-parser==1.1.4 [Pipeline] echo 20:47:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:47:16 ---> sudo-logs.sh 20:47:16 Archiving 'sudo' log.. [Pipeline] echo 20:47:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:47:17 ---> job-cost.sh 20:47:17 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LmJG 20:47:27 Cache entry deserialization failed, entry ignored 20:47:27 Cache entry deserialization failed, entry ignored 20:47:27 Cache entry deserialization failed, entry ignored 20:47:27 Cache entry deserialization failed, entry ignored 20:47:27 Cache entry deserialization failed, entry ignored 20:47:27 Cache entry deserialization failed, entry ignored 20:47:27 Cache entry deserialization failed, entry ignored 20:47:27 Cache entry deserialization failed, entry ignored 20:47:28 Cache entry deserialization failed, entry ignored 20:47:28 Cache entry deserialization failed, entry ignored 20:47:28 Cache entry deserialization failed, entry ignored 20:47:28 Cache entry deserialization failed, entry ignored 20:47:28 Cache entry deserialization failed, entry ignored 20:47:31 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:48:03 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 20:48:03 20:48:03 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 20:48:03 20:48:03 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 20:48:03 lf-activate-venv(): INFO: Adding /tmp/venv-LmJG/bin to PATH 20:48:03 INFO: No Stack... 20:48:03 INFO: Retrieving Pricing Info for: v1-standard-2 20:48:03 INFO: Archiving Costs [Pipeline] echo 20:48:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:48:03 ---> logs-deploy.sh 20:48:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/23 20:48:03 INFO: archiving workspace using pattern(s): 20:48:06 Archives upload complete. 20:48:06 INFO: archiving logs to Nexus 20:48:07 ---> uname -a: 20:48:07 Linux prd-centos7-docker-4c-2g-2020.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 20:48:07 20:48:07 20:48:07 ---> lscpu: 20:48:07 Architecture: x86_64 20:48:07 CPU op-mode(s): 32-bit, 64-bit 20:48:07 Byte Order: Little Endian 20:48:07 CPU(s): 4 20:48:07 On-line CPU(s) list: 0-3 20:48:07 Thread(s) per core: 1 20:48:07 Core(s) per socket: 1 20:48:07 Socket(s): 4 20:48:07 NUMA node(s): 1 20:48:07 Vendor ID: GenuineIntel 20:48:07 CPU family: 6 20:48:07 Model: 44 20:48:07 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:48:07 Stepping: 1 20:48:07 CPU MHz: 2933.438 20:48:07 BogoMIPS: 5866.87 20:48:07 Virtualization: VT-x 20:48:07 Hypervisor vendor: KVM 20:48:07 Virtualization type: full 20:48:07 L1d cache: 32K 20:48:07 L1i cache: 32K 20:48:07 L2 cache: 4096K 20:48:07 L3 cache: 16384K 20:48:07 NUMA node0 CPU(s): 0-3 20:48:07 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 20:48:07 20:48:07 20:48:07 ---> nproc: 20:48:07 4 20:48:07 20:48:07 20:48:07 ---> df -h: 20:48:07 Filesystem Size Used Avail Use% Mounted on 20:48:07 devtmpfs 887M 0 887M 0% /dev 20:48:07 tmpfs 919M 0 919M 0% /dev/shm 20:48:07 tmpfs 919M 17M 903M 2% /run 20:48:07 tmpfs 919M 0 919M 0% /sys/fs/cgroup 20:48:07 /dev/vda1 50G 8.3G 42G 17% / 20:48:07 tmpfs 184M 0 184M 0% /run/user/1001 20:48:07 20:48:07 20:48:07 ---> free -m: 20:48:07 total used free shared buff/cache available 20:48:07 Mem: 1837 684 73 15 1078 953 20:48:07 Swap: 1023 3 1020 20:48:07 20:48:07 20:48:07 ---> ip addr: 20:48:07 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 20:48:07 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:48:07 inet 127.0.0.1/8 scope host lo 20:48:07 valid_lft forever preferred_lft forever 20:48:07 inet6 ::1/128 scope host 20:48:07 valid_lft forever preferred_lft forever 20:48:07 2: eth0: mtu 1458 qdisc pfifo_fast state UP group default qlen 1000 20:48:07 link/ether fa:16:3e:4e:e0:f2 brd ff:ff:ff:ff:ff:ff 20:48:07 inet 10.30.122.175/23 brd 10.30.123.255 scope global dynamic eth0 20:48:07 valid_lft 78644sec preferred_lft 78644sec 20:48:07 inet6 fe80::f816:3eff:fe4e:e0f2/64 scope link 20:48:07 valid_lft forever preferred_lft forever 20:48:07 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 20:48:07 link/ether 02:42:05:c4:59:6b brd ff:ff:ff:ff:ff:ff 20:48:07 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:48:07 valid_lft forever preferred_lft forever 20:48:07 inet6 fe80::42:5ff:fec4:596b/64 scope link 20:48:07 valid_lft forever preferred_lft forever 20:48:07 20:48:07