Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 93ede67d7b538e9acd9cb68b0396d1389d21b332 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 [Pipeline] node Running on prd-centos7-docker-4c-2g-395 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 with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching without tags 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 --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # 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/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 93ede67d7b538e9acd9cb68b0396d1389d21b332 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 Commit message: "Merge pull request #39 from edgexfoundry/issue-36" > git rev-list --no-walk ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:19:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:19:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:19:22 ========================================================= 15:19:22 EdgeX Global Pipelines Version Info 15:19:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:19:24 ------------------- 15:19:24 stable info: 15:19:24 ------------------- 15:19:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:19:24 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 15:19:24 Message: update stable to v1.0.122 15:19:25 ------------------- 15:19:25 experimental info: 15:19:25 ------------------- 15:19:25 Commited By: **** collab-it+edgex@linuxfoundation.org 15:19:25 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 15:19:25 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 15:19:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:19:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:19:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:19:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:19:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:19:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:19:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 15:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:19:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:19:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:19:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:19:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:19:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:19:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:19:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:19:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:19:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:19:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 15:19:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 15:19:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 15:19:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93ede67d7b538e9acd9cb68b0396d1389d21b332 [Pipeline] echo 15:19:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93ede67 [Pipeline] echo 15:19:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:19:29 + git log --format=format:%s -1 93ede67d7b538e9acd9cb68b0396d1389d21b332 [Pipeline] echo 15:19:29 GIT_COMMIT: 93ede67d7b538e9acd9cb68b0396d1389d21b332, Commit Message: Merge pull request #39 from edgexfoundry/issue-36 [Pipeline] echo 15:19:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:19:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:19:30 15:19:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:19:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:19:31 latest: Pulling from edgex-devops/git-semver 15:19:31 31603596830f: Pulling fs layer 15:19:31 2a8b12db71e7: Pulling fs layer 15:19:31 6ca5941a6612: Pulling fs layer 15:19:31 ecc8261a40a4: Pulling fs layer 15:19:31 ecc8261a40a4: Waiting 15:19:31 2a8b12db71e7: Verifying Checksum 15:19:31 2a8b12db71e7: Download complete 15:19:31 31603596830f: Verifying Checksum 15:19:31 31603596830f: Download complete 15:19:31 ecc8261a40a4: Verifying Checksum 15:19:31 ecc8261a40a4: Download complete 15:19:31 6ca5941a6612: Verifying Checksum 15:19:31 6ca5941a6612: Download complete 15:19:31 31603596830f: Pull complete 15:19:31 2a8b12db71e7: Pull complete 15:19:32 6ca5941a6612: Pull complete 15:19:32 ecc8261a40a4: Pull complete 15:19:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:19:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:19:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:19:32 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 15:19:32 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:19:34 $ docker top ee281f512e9b98740949b7033ab178a8f9f63f89a1fb3c07ed3448fc370329aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:19:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:19:35 [ssh-agent] Looking for ssh-agent implementation... 15:19:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:19:35 $ docker exec ee281f512e9b98740949b7033ab178a8f9f63f89a1fb3c07ed3448fc370329aa ssh-agent 15:19:35 SSH_AUTH_SOCK=/tmp/ssh-VGwB0BOelXoM/agent.12 15:19:35 SSH_AGENT_PID=17 15:19:35 Running ssh-add (command line suppressed) 15:19:35 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_386159122397087933.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_386159122397087933.key) 15:19:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:19:35 + git describe --exact-match --tags HEAD 15:19:35 fatal: No names found, cannot describe anything. [Pipeline] } 15:19:36 $ docker exec --env ******** --env ******** ee281f512e9b98740949b7033ab178a8f9f63f89a1fb3c07ed3448fc370329aa ssh-agent -k 15:19:36 unset SSH_AUTH_SOCK; 15:19:36 unset SSH_AGENT_PID; 15:19:36 echo Agent pid 17 killed; 15:19:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:19:36 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:19:36 This usually means this commit has not been tagged. [Pipeline] sshagent 15:19:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:19:36 [ssh-agent] Looking for ssh-agent implementation... 15:19:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:19:36 $ docker exec ee281f512e9b98740949b7033ab178a8f9f63f89a1fb3c07ed3448fc370329aa ssh-agent 15:19:36 SSH_AUTH_SOCK=/tmp/ssh-FW9AdIbavN2n/agent.45 15:19:36 SSH_AGENT_PID=50 15:19:36 Running ssh-add (command line suppressed) 15:19:37 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7882534829411023220.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7882534829411023220.key) 15:19:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:19:37 + git semver init 15:19:37 # -> Open(): unable to determine branch for HEAD 15:19:37 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 15:19:37 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 15:19:37 # $SEMVER_REMOTE_NAME = origin 15:19:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:19:37 # $SEMVER_USER_NAME = edgex-jenkins 15:19:37 # $SEMVER_BRANCH = master 15:19:37 # $SEMVER_TEMP = /tmp/semver-353093760 15:19:37 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 15:19:38 # '/tmp/semver-353093760' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 15:19:38 # -> Force: false 15:19:38 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 15:19:38 $ docker exec --env ******** --env ******** ee281f512e9b98740949b7033ab178a8f9f63f89a1fb3c07ed3448fc370329aa ssh-agent -k 15:19:38 unset SSH_AUTH_SOCK; 15:19:38 unset SSH_AGENT_PID; 15:19:38 echo Agent pid 50 killed; 15:19:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:19:39 + git semver [Pipeline] } 15:19:39 $ docker stop --time=1 ee281f512e9b98740949b7033ab178a8f9f63f89a1fb3c07ed3448fc370329aa 15:19:40 $ docker rm -f ee281f512e9b98740949b7033ab178a8f9f63f89a1fb3c07ed3448fc370329aa [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:19:42 Stashed 18 file(s) [Pipeline] echo 15:19:42 [edgeXSemver]: initialized semver on version 1.1.3-dev.4 [Pipeline] echo 15:19:42 Archived original version: [1.1.3-dev.4] [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 15:19:57 Still waiting to schedule task 15:19:57 Still waiting to schedule task 15:19:57 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-395’ 15:19:57 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:21:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-409 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 15:21:54 Running in /w/workspace/device-rest-go/20 [Pipeline] { [Pipeline] checkout 15:21:59 using credential edgex-jenkins-ssh 15:21:59 Cloning the remote Git repository 15:21:59 Cloning with configured refspecs honoured and without tags 15:22:00 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:22:00 > git init /w/workspace/device-rest-go/20 # timeout=10 15:22:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:22:00 > git --version # timeout=10 15:22:00 > git --version # 'git version 2.17.1' 15:22:00 using GIT_SSH to set credentials SSH Credentials for GitHub 15:22:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:22:01 Fetching without tags 15:22:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:22:01 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:22:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:22:01 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:22:01 using GIT_SSH to set credentials SSH Credentials for GitHub 15:22:02 Checking out Revision 93ede67d7b538e9acd9cb68b0396d1389d21b332 (master) 15:22:01 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:22:02 > git config core.sparsecheckout # timeout=10 15:22:02 > git checkout -f 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 15:22:07 Commit message: "Merge pull request #39 from edgexfoundry/issue-36" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:22:09 ========================================================= 15:22:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:22:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:22:10 + 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 . 15:22:11 Sending build context to Docker daemon 8.049MB 15:22:11 Step 1/10 : ARG BASE=golang:1.15-alpine 15:22:11 Step 2/10 : FROM ${BASE} 15:22:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:22:11 b538f80385f9: Pulling fs layer 15:22:11 74f711af9a0d: Pulling fs layer 15:22:11 99f96fe45779: Pulling fs layer 15:22:11 8529a6b9a6be: Pulling fs layer 15:22:11 45590311c82a: Pulling fs layer 15:22:11 69ca0ff8b7b3: Pulling fs layer 15:22:11 209524e5b208: Pulling fs layer 15:22:11 8529a6b9a6be: Waiting 15:22:11 45590311c82a: Waiting 15:22:11 69ca0ff8b7b3: Waiting 15:22:11 209524e5b208: Waiting 15:22:11 99f96fe45779: Verifying Checksum 15:22:11 99f96fe45779: Download complete 15:22:11 74f711af9a0d: Verifying Checksum 15:22:11 74f711af9a0d: Download complete 15:22:12 45590311c82a: Verifying Checksum 15:22:12 45590311c82a: Download complete 15:22:12 69ca0ff8b7b3: Verifying Checksum 15:22:12 69ca0ff8b7b3: Download complete 15:22:12 b538f80385f9: Verifying Checksum 15:22:12 b538f80385f9: Download complete 15:22:13 b538f80385f9: Pull complete 15:22:13 74f711af9a0d: Pull complete 15:22:14 99f96fe45779: Pull complete 15:22:15 209524e5b208: Verifying Checksum 15:22:15 209524e5b208: Download complete 15:22:16 8529a6b9a6be: Verifying Checksum 15:22:16 8529a6b9a6be: Download complete 15:22:28 8529a6b9a6be: Pull complete 15:22:28 45590311c82a: Pull complete 15:22:28 69ca0ff8b7b3: Pull complete 15:22:31 209524e5b208: Pull complete 15:22:31 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 15:22:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:22:31 ---> 5bddaf1c2fca 15:22:31 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:22:33 ---> Running in d0432aa08730 15:22:34 Removing intermediate container d0432aa08730 15:22:34 ---> 57959df2fd3f 15:22:34 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:22:34 ---> Running in bffcb216fa79 15:22:34 Removing intermediate container bffcb216fa79 15:22:34 ---> b04f7650749b 15:22:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:22:34 ---> Running in 2dd0215b71d8 15:22:35 Removing intermediate container 2dd0215b71d8 15:22:35 ---> 9080a7530c3e 15:22:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:22:35 ---> Running in 93885de2cc15 15:22:38 Removing intermediate container 93885de2cc15 15:22:38 ---> e30acb99fc5d 15:22:38 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:22:38 ---> Running in 5db63bbfe234 15:22:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:22:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:22:41 OK: 142 MiB in 39 packages 15:22:42 Removing intermediate container 5db63bbfe234 15:22:42 ---> a291734e57bf 15:22:42 Step 8/10 : WORKDIR /device-rest-go 15:22:42 ---> Running in 2be7b37eb0ac 15:22:42 Removing intermediate container 2be7b37eb0ac 15:22:42 ---> 6c6ad190afd2 15:22:42 Step 9/10 : COPY . . 15:22:43 ---> 818838eff113 15:22:43 Step 10/10 : RUN go mod download 15:22:44 ---> Running in 61864949c3cb 15:22:59 Removing intermediate container 61864949c3cb 15:22:59 ---> e4972a1109cf 15:22:59 Successfully built e4972a1109cf 15:22:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:22:59 + docker inspect -f . ci-base-image-arm64 15:22:59 . [Pipeline] withDockerContainer 15:23:00 prd-ubuntu18.04-docker-arm64-4c-16g-409 does not seem to be running inside a container 15:23:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/20 -v /w/workspace/device-rest-go/20:/w/workspace/device-rest-go/20:rw,z -v /w/workspace/device-rest-go/20@tmp:/w/workspace/device-rest-go/20@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 ******** ci-base-image-arm64 cat 15:23:02 $ docker top c8f40fbc46ccd96330fbdbbdef30609e627428795639bf97731bb205678a8446 -eo pid,comm [Pipeline] { [Pipeline] sh 15:23:03 + go version 15:23:03 go version go1.15.2 linux/arm64 [Pipeline] } 15:23:03 $ docker stop --time=1 c8f40fbc46ccd96330fbdbbdef30609e627428795639bf97731bb205678a8446 15:23:05 $ docker rm -f c8f40fbc46ccd96330fbdbbdef30609e627428795639bf97731bb205678a8446 [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 15:23:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:23:09 + ls -al . 15:23:09 total 100 15:23:09 drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 15:22 . 15:23:09 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 15:22 .. 15:23:09 -rw-rw-r-- 1 jenkins jenkins 151 Sep 18 15:22 .dockerignore 15:23:09 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 15:22 .git 15:23:09 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 15:22 .github 15:23:09 -rw-rw-r-- 1 jenkins jenkins 339 Sep 18 15:22 .gitignore 15:23:09 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 15:22 .semver 15:23:09 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 18 15:22 Attribution.txt 15:23:09 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 18 15:22 Dockerfile 15:23:09 -rw-rw-r-- 1 jenkins jenkins 989 Sep 18 15:22 Dockerfile.build 15:23:09 -rw-rw-r-- 1 jenkins jenkins 680 Sep 18 15:22 Jenkinsfile 15:23:09 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 15:22 LICENSE 15:23:09 -rw-rw-r-- 1 jenkins jenkins 951 Sep 18 15:22 Makefile 15:23:09 -rw-rw-r-- 1 jenkins jenkins 5917 Sep 18 15:22 README.md 15:23:09 -rw-rw-r-- 1 jenkins jenkins 11 Sep 18 15:19 VERSION 15:23:09 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 15:22 bin 15:23:09 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 15:22 cmd 15:23:09 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 15:22 driver 15:23:09 -rw-rw-r-- 1 jenkins jenkins 266 Sep 18 15:22 go.mod 15:23:09 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 15:22 snap 15:23:09 -rw-rw-r-- 1 jenkins jenkins 713 Sep 18 15:22 version.go [Pipeline] isUnix [Pipeline] sh 15:23:09 + 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=93ede67d7b538e9acd9cb68b0396d1389d21b332 --label arch=arm64 --label version=1.1.3-dev.4 . 15:23:10 Sending build context to Docker daemon 8.049MB 15:23:10 Step 1/25 : ARG BASE=golang:1.15-alpine 15:23:10 Step 2/25 : FROM ${BASE} AS builder 15:23:10 ---> e4972a1109cf 15:23:10 Step 3/25 : ARG MAKE='make build' 15:23:10 ---> Running in 222762cb84a2 15:23:11 Removing intermediate container 222762cb84a2 15:23:11 ---> cf1bd3040965 15:23:11 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 15:23:11 ---> Running in fbc0546871c4 15:23:11 Removing intermediate container fbc0546871c4 15:23:11 ---> 49540a252921 15:23:11 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 15:23:11 ---> Running in 9bead61f9b4b 15:23:12 Removing intermediate container 9bead61f9b4b 15:23:12 ---> 3e9b899e718a 15:23:12 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:23:12 ---> Running in 09c7a1821d3d 15:23:15 Removing intermediate container 09c7a1821d3d 15:23:15 ---> f84dc1b9d444 15:23:15 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:23:15 ---> Running in b0824f55c145 15:23:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:23:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:23:18 OK: 142 MiB in 39 packages 15:23:19 Removing intermediate container b0824f55c145 15:23:19 ---> de2810b26202 15:23:19 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 15:23:19 ---> Running in d105c481eca7 15:23:19 Removing intermediate container d105c481eca7 15:23:19 ---> 337069437cd2 15:23:19 Step 9/25 : COPY go.mod . 15:23:20 ---> cb6b26523057 15:23:20 Step 10/25 : COPY Makefile . 15:23:21 ---> 9b78c171066d 15:23:21 Step 11/25 : RUN make update 15:23:21 ---> Running in 2df94024716b 15:23:22 CGO_ENABLED=0 GO111MODULE=on go mod download 15:23:23 Removing intermediate container 2df94024716b 15:23:23 ---> ff6a1732c607 15:23:23 Step 12/25 : COPY . . 15:23:24 ---> 6facf6727ed6 15:23:24 Step 13/25 : RUN $MAKE 15:23:24 ---> Running in 01c3f3f1671e 15:23:26 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.4" -o cmd/device-rest-go ./cmd 15:23:53 Removing intermediate container 01c3f3f1671e 15:23:53 ---> 4cb955b6a8c5 15:23:53 Step 14/25 : FROM alpine:latest 15:23:53 latest: Pulling from library/alpine 15:23:53 b538f80385f9: Already exists 15:23:54 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:23:54 Status: Downloaded newer image for alpine:latest 15:23:54 ---> 62ee0e9f8440 15:23:54 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:23:55 ---> Running in d31638a70d04 15:23:55 Removing intermediate container d31638a70d04 15:23:55 ---> c92e01f3dc77 15:23:55 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 15:23:55 ---> Running in 1dcb68a2f5e4 15:23:55 Removing intermediate container 1dcb68a2f5e4 15:23:55 ---> a36b122ff3be 15:23:55 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 15:23:56 ---> 44d780a226ea 15:23:56 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 15:23:57 ---> 09aaf9a31eb9 15:23:57 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 15:23:58 ---> aa8c01725da1 15:23:58 Step 20/25 : EXPOSE 49986 15:23:58 ---> Running in f5daee5ed4d5 15:23:59 Removing intermediate container f5daee5ed4d5 15:23:59 ---> eb2ea259ab52 15:23:59 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 15:23:59 ---> Running in e7116d9ffae1 15:23:59 Removing intermediate container e7116d9ffae1 15:23:59 ---> 26a1e27813c5 15:23:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:24:00 ---> Running in e7f26c870554 15:24:00 Removing intermediate container e7f26c870554 15:24:00 ---> feb36acde5c1 15:24:00 Step 23/25 : LABEL arch=arm64 15:24:00 ---> Running in 7250a1e7a127 15:24:00 Removing intermediate container 7250a1e7a127 15:24:00 ---> b0c5c8060152 15:24:00 Step 24/25 : LABEL git_sha=93ede67d7b538e9acd9cb68b0396d1389d21b332 15:24:01 ---> Running in e2eb2ec9d7b9 15:24:01 Removing intermediate container e2eb2ec9d7b9 15:24:01 ---> 867fd7f517ec 15:24:01 Step 25/25 : LABEL version=1.1.3-dev.4 15:24:01 ---> Running in 761c7bfdfa00 15:24:02 Removing intermediate container 761c7bfdfa00 15:24:02 ---> cc29d1d2f9b2 15:24:02 [Warning] One or more build-args [ARCH] were not consumed 15:24:02 Successfully built cc29d1d2f9b2 15:24:02 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 15:24:03 provisioning config files... 15:24:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/20@tmp/config3733875640806272635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:03 ---> docker-login.sh 15:24:03 nexus3.edgexfoundry.org:10001 15:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:04 Configure a credential helper to remove this warning. See 15:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:04 15:24:04 Login Succeeded 15:24:04 nexus3.edgexfoundry.org:10002 15:24:04 Running on prd-centos7-docker-4c-2g-411 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 15:24:04 Running in /w/workspace/device-rest-go/20 [Pipeline] { 15:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] checkout 15:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:05 Configure a credential helper to remove this warning. See 15:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:05 15:24:05 Login Succeeded 15:24:05 nexus3.edgexfoundry.org:10003 15:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:05 Configure a credential helper to remove this warning. See 15:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:05 15:24:05 Login Succeeded 15:24:05 nexus3.edgexfoundry.org:10004 15:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:06 Configure a credential helper to remove this warning. See 15:24:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:06 15:24:06 Login Succeeded 15:24:06 docker.io 15:24:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:07 Configure a credential helper to remove this warning. See 15:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:07 15:24:07 Login Succeeded 15:24:07 ---> docker-login.sh ends [Pipeline] } 15:24:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:24:08 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 15:24:08 93ede67d7b538e9acd9cb68b0396d1389d21b332 15:24:08 latest 15:24:08 1.1.3-dev.4 15:24:08 93ede67d7b538e9acd9cb68b0396d1389d21b332-1.1.3-dev.4 15:24:08 master 15:24:08 ===================================================== [Pipeline] withEnv [Pipeline] { 15:24:08 using credential edgex-jenkins-ssh [Pipeline] withDockerRegistry 15:24:08 Cloning the remote Git repository 15:24:08 Cloning with configured refspecs honoured and without tags [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:24:09 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:93ede67d7b538e9acd9cb68b0396d1389d21b332 [Pipeline] isUnix [Pipeline] sh 15:24:09 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:93ede67d7b538e9acd9cb68b0396d1389d21b332 15:24:09 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:24:09 9a0e927ce3ef: Preparing 15:24:09 a183264db524: Preparing 15:24:09 2437e2e0a26a: Preparing 15:24:09 e2f13739ad41: Preparing 15:24:08 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:24:08 > git init /w/workspace/device-rest-go/20 # timeout=10 15:24:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:24:08 > git --version # timeout=10 15:24:08 > git --version # 'git version 2.16.5' 15:24:08 using GIT_SSH to set credentials SSH Credentials for GitHub 15:24:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:24:09 Fetching without tags 15:24:09 e2f13739ad41: Layer already exists 15:24:09 2437e2e0a26a: Pushed 15:24:09 a183264db524: Pushed 15:24:10 Checking out Revision 93ede67d7b538e9acd9cb68b0396d1389d21b332 (master) 15:24:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:24:09 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:24:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:24:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:24:09 using GIT_SSH to set credentials SSH Credentials for GitHub 15:24:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:24:10 > git config core.sparsecheckout # timeout=10 15:24:10 > git checkout -f 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 15:24:12 9a0e927ce3ef: Pushed 15:24:12 93ede67d7b538e9acd9cb68b0396d1389d21b332: digest: sha256:73a79ad6231986d77c369cc0c41afc2f1e0cbea87e66dc8b28f98b36f849f168 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:24:12 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:24:13 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 15:24:13 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:24:13 9a0e927ce3ef: Preparing 15:24:13 a183264db524: Preparing 15:24:13 2437e2e0a26a: Preparing 15:24:13 e2f13739ad41: Preparing 15:24:13 2437e2e0a26a: Layer already exists 15:24:13 a183264db524: Layer already exists 15:24:13 e2f13739ad41: Layer already exists 15:24:13 9a0e927ce3ef: Layer already exists 15:24:13 latest: digest: sha256:73a79ad6231986d77c369cc0c41afc2f1e0cbea87e66dc8b28f98b36f849f168 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:24:13 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.4 [Pipeline] isUnix [Pipeline] sh 15:24:13 Commit message: "Merge pull request #39 from edgexfoundry/issue-36" 15:24:14 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.4 15:24:14 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:24:14 9a0e927ce3ef: Preparing 15:24:14 a183264db524: Preparing 15:24:14 2437e2e0a26a: Preparing 15:24:14 e2f13739ad41: Preparing [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 15:24:14 e2f13739ad41: Layer already exists 15:24:14 a183264db524: Layer already exists 15:24:14 9a0e927ce3ef: Layer already exists 15:24:14 2437e2e0a26a: Layer already exists 15:24:14 1.1.3-dev.4: digest: sha256:73a79ad6231986d77c369cc0c41afc2f1e0cbea87e66dc8b28f98b36f849f168 size: 1154 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] unstash 15:24:14 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:93ede67d7b538e9acd9cb68b0396d1389d21b332-1.1.3-dev.4 [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 15:24:15 ========================================================= 15:24:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:24:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:24:15 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:93ede67d7b538e9acd9cb68b0396d1389d21b332-1.1.3-dev.4 15:24:15 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:24:15 9a0e927ce3ef: Preparing 15:24:15 a183264db524: Preparing 15:24:15 2437e2e0a26a: Preparing 15:24:15 e2f13739ad41: Preparing 15:24:15 e2f13739ad41: Layer already exists 15:24:15 a183264db524: Layer already exists 15:24:15 2437e2e0a26a: Layer already exists 15:24:15 9a0e927ce3ef: Layer already exists 15:24:15 93ede67d7b538e9acd9cb68b0396d1389d21b332-1.1.3-dev.4: digest: sha256:73a79ad6231986d77c369cc0c41afc2f1e0cbea87e66dc8b28f98b36f849f168 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:24:15 + 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 . 15:24:15 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 15:24:16 Sending build context to Docker daemon 8.049MB 15:24:16 Step 1/10 : ARG BASE=golang:1.15-alpine 15:24:16 Step 2/10 : FROM ${BASE} 15:24:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:24:16 df20fa9351a1: Pulling fs layer 15:24:16 ed8968b2872e: Pulling fs layer 15:24:16 a92cc7c5fd73: Pulling fs layer 15:24:16 e871e8e8d7a9: Pulling fs layer 15:24:16 e73272ec9a57: Pulling fs layer 15:24:16 1e910a182e73: Pulling fs layer 15:24:16 4e634b169226: Pulling fs layer 15:24:16 e871e8e8d7a9: Waiting 15:24:16 e73272ec9a57: Waiting 15:24:16 1e910a182e73: Waiting 15:24:16 4e634b169226: Waiting 15:24:16 a92cc7c5fd73: Verifying Checksum 15:24:16 a92cc7c5fd73: Download complete 15:24:16 ed8968b2872e: Verifying Checksum 15:24:16 ed8968b2872e: Download complete 15:24:16 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 15:24:16 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:24:16 e73272ec9a57: Verifying Checksum 15:24:16 e73272ec9a57: Download complete 15:24:16 1e910a182e73: Verifying Checksum 15:24:16 1e910a182e73: Download complete 15:24:16 df20fa9351a1: Verifying Checksum 15:24:16 df20fa9351a1: Download complete 15:24:16 df20fa9351a1: Pull complete 15:24:16 ed8968b2872e: Pull complete 15:24:16 a92cc7c5fd73: Pull complete 15:24:17 9a0e927ce3ef: Preparing 15:24:17 a183264db524: Preparing 15:24:17 2437e2e0a26a: Preparing 15:24:17 e2f13739ad41: Preparing 15:24:17 e2f13739ad41: Layer already exists 15:24:17 9a0e927ce3ef: Layer already exists 15:24:17 a183264db524: Layer already exists 15:24:17 2437e2e0a26a: Layer already exists 15:24:17 master: digest: sha256:73a79ad6231986d77c369cc0c41afc2f1e0cbea87e66dc8b28f98b36f849f168 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:24:17 ===================================================== [Pipeline] echo 15:24:17 taggedImages: 15:24:17 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:93ede67d7b538e9acd9cb68b0396d1389d21b332 15:24:17 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 15:24:17 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.4 15:24:17 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:93ede67d7b538e9acd9cb68b0396d1389d21b332-1.1.3-dev.4 15:24:17 - 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] } 15:24:18 4e634b169226: Verifying Checksum 15:24:19 e871e8e8d7a9: Verifying Checksum 15:24:19 e871e8e8d7a9: Download complete 15:24:24 e871e8e8d7a9: Pull complete 15:24:24 e73272ec9a57: Pull complete 15:24:24 1e910a182e73: Pull complete 15:24:32 4e634b169226: Pull complete 15:24:32 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 15:24:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:24:32 ---> f7629b54cfaa 15:24:32 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:24:32 ---> Running in 28aa8e25aefb 15:24:32 Removing intermediate container 28aa8e25aefb 15:24:32 ---> 2e88a901617d 15:24:32 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:24:32 ---> Running in 048e0e942812 15:24:32 Removing intermediate container 048e0e942812 15:24:32 ---> 6c32928916ed 15:24:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:24:32 ---> Running in f38c11ee8efe 15:24:32 Removing intermediate container f38c11ee8efe 15:24:32 ---> 481651df8fc2 15:24:32 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:24:32 ---> Running in 07d4bd4c0638 15:24:33 Removing intermediate container 07d4bd4c0638 15:24:33 ---> 1596f86ba20f 15:24:33 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:24:33 ---> Running in bc9788c46be5 15:24:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:24:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:24:35 OK: 166 MiB in 39 packages 15:24:35 Removing intermediate container bc9788c46be5 15:24:35 ---> d73d5a7fc48c 15:24:35 Step 8/10 : WORKDIR /device-rest-go 15:24:36 ---> Running in cb315e70f46e 15:24:36 Removing intermediate container cb315e70f46e 15:24:36 ---> cf639f5b68dc 15:24:36 Step 9/10 : COPY . . 15:24:36 ---> 82e69b7758db 15:24:36 Step 10/10 : RUN go mod download 15:24:37 ---> Running in e97ad1bb2d6c 15:24:49 Removing intermediate container e97ad1bb2d6c 15:24:49 ---> f746daa2d678 15:24:49 Successfully built f746daa2d678 15:24:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:24:49 + docker inspect -f . ci-base-image-x86_64 15:24:49 . [Pipeline] withDockerContainer 15:24:49 prd-centos7-docker-4c-2g-411 does not seem to be running inside a container 15:24:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/20 -v /w/workspace/device-rest-go/20:/w/workspace/device-rest-go/20:rw,z -v /w/workspace/device-rest-go/20@tmp:/w/workspace/device-rest-go/20@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 ******** ci-base-image-x86_64 cat 15:24:51 $ docker top ddf6c4fa6f82a3fbec86c25edd66bb9ab578167941b2136e97b872d6a05a2a86 -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:51 + go version 15:24:51 go version go1.15.2 linux/amd64 [Pipeline] } 15:24:51 $ docker stop --time=1 ddf6c4fa6f82a3fbec86c25edd66bb9ab578167941b2136e97b872d6a05a2a86 15:24:52 $ docker rm -f ddf6c4fa6f82a3fbec86c25edd66bb9ab578167941b2136e97b872d6a05a2a86 [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 15:24:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:24:54 + ls -al . 15:24:54 total 68 15:24:54 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 18 15:24 . 15:24:54 drwxrwxr-x. 4 jenkins jenkins 30 Sep 18 15:24 .. 15:24:54 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 18 15:24 Attribution.txt 15:24:54 drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 15:24 bin 15:24:54 drwxrwxr-x. 3 jenkins jenkins 32 Sep 18 15:24 cmd 15:24:54 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 18 15:24 Dockerfile 15:24:54 -rw-rw-r--. 1 jenkins jenkins 989 Sep 18 15:24 Dockerfile.build 15:24:54 -rw-rw-r--. 1 jenkins jenkins 151 Sep 18 15:24 .dockerignore 15:24:54 drwxrwxr-x. 2 jenkins jenkins 76 Sep 18 15:24 driver 15:24:54 drwxrwxr-x. 8 jenkins jenkins 162 Sep 18 15:24 .git 15:24:54 drwxrwxr-x. 2 jenkins jenkins 38 Sep 18 15:24 .github 15:24:54 -rw-rw-r--. 1 jenkins jenkins 339 Sep 18 15:24 .gitignore 15:24:54 -rw-rw-r--. 1 jenkins jenkins 266 Sep 18 15:24 go.mod 15:24:54 -rw-rw-r--. 1 jenkins jenkins 680 Sep 18 15:24 Jenkinsfile 15:24:54 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 18 15:24 LICENSE 15:24:54 -rw-rw-r--. 1 jenkins jenkins 951 Sep 18 15:24 Makefile 15:24:54 -rw-rw-r--. 1 jenkins jenkins 5917 Sep 18 15:24 README.md 15:24:54 drwxrwxr-x. 3 jenkins jenkins 32 Sep 18 15:24 .semver 15:24:54 drwxrwxr-x. 4 jenkins jenkins 54 Sep 18 15:24 snap 15:24:54 -rw-rw-r--. 1 jenkins jenkins 11 Sep 18 15:19 VERSION 15:24:54 -rw-rw-r--. 1 jenkins jenkins 713 Sep 18 15:24 version.go [Pipeline] isUnix [Pipeline] sh 15:24:54 + 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=93ede67d7b538e9acd9cb68b0396d1389d21b332 --label arch=amd64 --label version=1.1.3-dev.4 . 15:24:54 Sending build context to Docker daemon 8.049MB 15:24:54 Step 1/25 : ARG BASE=golang:1.15-alpine 15:24:54 Step 2/25 : FROM ${BASE} AS builder 15:24:54 ---> f746daa2d678 15:24:54 Step 3/25 : ARG MAKE='make build' 15:24:54 ---> Running in 054978b11a8b 15:24:55 Removing intermediate container 054978b11a8b 15:24:55 ---> 700d20f8f96f 15:24:55 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 15:24:55 ---> Running in c81376f3e164 15:24:55 Removing intermediate container c81376f3e164 15:24:55 ---> 7ab7baafadf5 15:24:55 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 15:24:55 ---> Running in 39bb82d212e8 15:24:55 Removing intermediate container 39bb82d212e8 15:24:55 ---> 1aaf2d41a97d 15:24:55 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:24:55 ---> Running in 64f59c7805c6 15:24:57 Removing intermediate container 64f59c7805c6 15:24:57 ---> 0ec4633c7eeb 15:24:57 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:24:57 ---> Running in 01f35a153afc 15:24:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:24:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:24:58 OK: 166 MiB in 39 packages 15:24:58 Removing intermediate container 01f35a153afc 15:24:58 ---> a24296a1a5ef 15:24:58 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 15:24:58 ---> Running in 701f4819cfc9 15:24:59 Removing intermediate container 701f4819cfc9 15:24:59 ---> abb24fa850df 15:24:59 Step 9/25 : COPY go.mod . 15:24:59 ---> 70a1b1919338 15:24:59 Step 10/25 : COPY Makefile . 15:24:59 ---> 0331a7a8e7d8 15:24:59 Step 11/25 : RUN make update 15:24:59 ---> Running in bcc358c526ec 15:24:59 CGO_ENABLED=0 GO111MODULE=on go mod download 15:25:00 Removing intermediate container bcc358c526ec 15:25:00 ---> d204e61bc7e6 15:25:00 Step 12/25 : COPY . . 15:25:00 ---> ecd34cb6256e 15:25:00 Step 13/25 : RUN $MAKE 15:25:01 ---> Running in 65ace0954170 15:25:01 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.4" -o cmd/device-rest-go ./cmd 15:25:11 Removing intermediate container 65ace0954170 15:25:11 ---> 01ef76548b13 15:25:11 Step 14/25 : FROM alpine:latest 15:25:11 latest: Pulling from library/alpine 15:25:17 df20fa9351a1: Already exists 15:25:19 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:25:19 Status: Downloaded newer image for alpine:latest 15:25:19 ---> a24bb4013296 15:25:19 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:25:19 ---> Running in 2c290e9466c1 15:25:19 Removing intermediate container 2c290e9466c1 15:25:19 ---> 009f24554f6a 15:25:19 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 15:25:19 ---> Running in 823a88cf7707 15:25:19 Removing intermediate container 823a88cf7707 15:25:19 ---> 931e5526e085 15:25:19 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 15:25:19 ---> 7e61ac93461a 15:25:19 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 15:25:20 ---> 9cf64131cdd0 15:25:20 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 15:25:20 ---> 719d0c0e7b39 15:25:20 Step 20/25 : EXPOSE 49986 15:25:20 ---> Running in 1d036e30640e 15:25:20 Removing intermediate container 1d036e30640e 15:25:20 ---> 9ce74db41745 15:25:20 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 15:25:20 ---> Running in 9629a8bd2efd 15:25:20 Removing intermediate container 9629a8bd2efd 15:25:20 ---> 5540bfb2b8e8 15:25:20 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:25:20 ---> Running in 6cbd568b54c7 15:25:21 Removing intermediate container 6cbd568b54c7 15:25:21 ---> 044a95850856 15:25:21 Step 23/25 : LABEL arch=amd64 15:25:21 ---> Running in d42fdb20d822 15:25:21 Removing intermediate container d42fdb20d822 15:25:21 ---> dab17e1d20b1 15:25:21 Step 24/25 : LABEL git_sha=93ede67d7b538e9acd9cb68b0396d1389d21b332 15:25:21 ---> Running in b7fa0bec9cf1 15:25:21 Removing intermediate container b7fa0bec9cf1 15:25:21 ---> a9bd80d7bd64 15:25:21 Step 25/25 : LABEL version=1.1.3-dev.4 15:25:21 ---> Running in fe27e7930237 15:25:21 Removing intermediate container fe27e7930237 15:25:21 ---> ce9bdba80f60 15:25:21 [Warning] One or more build-args [ARCH] were not consumed 15:25:21 Successfully built ce9bdba80f60 15:25:21 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:25:22 provisioning config files... 15:25:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/20@tmp/config8539113201601894842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:22 ---> docker-login.sh 15:25:22 nexus3.edgexfoundry.org:10001 15:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:23 Configure a credential helper to remove this warning. See 15:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:23 15:25:23 Login Succeeded 15:25:23 nexus3.edgexfoundry.org:10002 15:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:23 Configure a credential helper to remove this warning. See 15:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:23 15:25:23 Login Succeeded 15:25:23 nexus3.edgexfoundry.org:10003 15:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:23 Configure a credential helper to remove this warning. See 15:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:23 15:25:23 Login Succeeded 15:25:23 nexus3.edgexfoundry.org:10004 15:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:23 Configure a credential helper to remove this warning. See 15:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:23 15:25:23 Login Succeeded 15:25:23 docker.io 15:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:23 Configure a credential helper to remove this warning. See 15:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:23 15:25:23 Login Succeeded 15:25:23 ---> docker-login.sh ends [Pipeline] } 15:25:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:25:24 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 15:25:24 93ede67d7b538e9acd9cb68b0396d1389d21b332 15:25:24 latest 15:25:24 1.1.3-dev.4 15:25:24 93ede67d7b538e9acd9cb68b0396d1389d21b332-1.1.3-dev.4 15:25:24 master 15:25:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:25:24 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:93ede67d7b538e9acd9cb68b0396d1389d21b332 [Pipeline] isUnix [Pipeline] sh 15:25:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:93ede67d7b538e9acd9cb68b0396d1389d21b332 15:25:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:25:24 18844160220a: Preparing 15:25:24 69a8201df9f2: Preparing 15:25:24 f5528a3df423: Preparing 15:25:24 50644c29ef5a: Preparing 15:25:24 50644c29ef5a: Layer already exists 15:25:24 69a8201df9f2: Pushed 15:25:24 f5528a3df423: Pushed 15:25:25 18844160220a: Pushed 15:25:26 93ede67d7b538e9acd9cb68b0396d1389d21b332: digest: sha256:388263549668441f217fa28c3a3853ab0848a13c9e468f76fd513fffc13be916 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:25:26 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 15:25:26 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 15:25:26 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:25:26 18844160220a: Preparing 15:25:26 69a8201df9f2: Preparing 15:25:26 f5528a3df423: Preparing 15:25:26 50644c29ef5a: Preparing 15:25:26 50644c29ef5a: Layer already exists 15:25:26 18844160220a: Layer already exists 15:25:26 69a8201df9f2: Layer already exists 15:25:26 f5528a3df423: Layer already exists 15:25:26 latest: digest: sha256:388263549668441f217fa28c3a3853ab0848a13c9e468f76fd513fffc13be916 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:25:27 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.4 [Pipeline] isUnix [Pipeline] sh 15:25:27 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.4 15:25:27 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:25:27 18844160220a: Preparing 15:25:27 69a8201df9f2: Preparing 15:25:27 f5528a3df423: Preparing 15:25:27 50644c29ef5a: Preparing 15:25:27 69a8201df9f2: Layer already exists 15:25:27 f5528a3df423: Layer already exists 15:25:27 50644c29ef5a: Layer already exists 15:25:27 18844160220a: Layer already exists 15:25:27 1.1.3-dev.4: digest: sha256:388263549668441f217fa28c3a3853ab0848a13c9e468f76fd513fffc13be916 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:25:27 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:93ede67d7b538e9acd9cb68b0396d1389d21b332-1.1.3-dev.4 [Pipeline] isUnix [Pipeline] sh 15:25:27 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:93ede67d7b538e9acd9cb68b0396d1389d21b332-1.1.3-dev.4 15:25:27 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:25:27 18844160220a: Preparing 15:25:27 69a8201df9f2: Preparing 15:25:27 f5528a3df423: Preparing 15:25:27 50644c29ef5a: Preparing 15:25:27 69a8201df9f2: Layer already exists 15:25:27 18844160220a: Layer already exists 15:25:27 50644c29ef5a: Layer already exists 15:25:27 f5528a3df423: Layer already exists 15:25:27 93ede67d7b538e9acd9cb68b0396d1389d21b332-1.1.3-dev.4: digest: sha256:388263549668441f217fa28c3a3853ab0848a13c9e468f76fd513fffc13be916 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:25:28 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 15:25:28 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 15:25:28 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:25:28 18844160220a: Preparing 15:25:28 69a8201df9f2: Preparing 15:25:28 f5528a3df423: Preparing 15:25:28 50644c29ef5a: Preparing 15:25:28 f5528a3df423: Layer already exists 15:25:28 50644c29ef5a: Layer already exists 15:25:28 69a8201df9f2: Layer already exists 15:25:28 18844160220a: Layer already exists 15:25:28 master: digest: sha256:388263549668441f217fa28c3a3853ab0848a13c9e468f76fd513fffc13be916 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:25:28 ===================================================== [Pipeline] echo 15:25:28 taggedImages: 15:25:28 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:93ede67d7b538e9acd9cb68b0396d1389d21b332 15:25:28 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 15:25:28 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.4 15:25:28 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:93ede67d7b538e9acd9cb68b0396d1389d21b332-1.1.3-dev.4 15:25:28 - 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] } [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 15:25:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 15:25:31 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 15:25:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:25:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:25:31 15:25:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 15:25:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:25:32 1.317.0: Pulling from edgex-devops/edgex-snyk-go 15:25:32 cbdbe7a5bc2a: Pulling fs layer 15:25:32 408f87550127: Pulling fs layer 15:25:32 fe522b08c979: Pulling fs layer 15:25:32 221eaa008020: Pulling fs layer 15:25:32 2a4607e5d6b9: Pulling fs layer 15:25:32 8f79b27c4fd2: Pulling fs layer 15:25:32 e5c8dbe1645b: Pulling fs layer 15:25:32 23e8b3b47431: Pulling fs layer 15:25:32 5c568d65a230: Pulling fs layer 15:25:32 221eaa008020: Waiting 15:25:32 2a4607e5d6b9: Waiting 15:25:32 8f79b27c4fd2: Waiting 15:25:32 e5c8dbe1645b: Waiting 15:25:32 23e8b3b47431: Waiting 15:25:32 5c568d65a230: Waiting 15:25:32 fe522b08c979: Verifying Checksum 15:25:32 fe522b08c979: Download complete 15:25:32 408f87550127: Download complete 15:25:32 2a4607e5d6b9: Verifying Checksum 15:25:32 2a4607e5d6b9: Download complete 15:25:32 cbdbe7a5bc2a: Verifying Checksum 15:25:32 cbdbe7a5bc2a: Download complete 15:25:32 8f79b27c4fd2: Verifying Checksum 15:25:32 8f79b27c4fd2: Download complete 15:25:32 cbdbe7a5bc2a: Pull complete 15:25:32 408f87550127: Pull complete 15:25:32 fe522b08c979: Pull complete 15:25:33 e5c8dbe1645b: Verifying Checksum 15:25:33 e5c8dbe1645b: Download complete 15:25:34 23e8b3b47431: Verifying Checksum 15:25:34 23e8b3b47431: Download complete 15:25:34 5c568d65a230: Verifying Checksum 15:25:34 5c568d65a230: Download complete 15:25:36 221eaa008020: Download complete 15:25:41 221eaa008020: Pull complete 15:25:41 2a4607e5d6b9: Pull complete 15:25:41 8f79b27c4fd2: Pull complete 15:25:43 e5c8dbe1645b: Pull complete 15:25:47 23e8b3b47431: Pull complete 15:25:48 5c568d65a230: Pull complete 15:25:48 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 15:25:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:25:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 15:25:48 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 15:25:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 15:25:49 $ docker top 6c0f9c5616b40efcfb997c96e3a9e25d6ac9219b951f53d0073d942aee06d7c0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:49 + snyk monitor '--org=edgex-jenkins' 15:26:11 15:26:11 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 15:26:11 15:26:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/1427dbe6-7fbb-4b9f-b1b6-3a36d6d07906 15:26:11 15:26:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:26:11 15:26:11 15:26:11 Snyk CLI supports Node.js 8 and higher. 15:26:11 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 15:26:11 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 15:26:11 15:26:11 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 15:26:11 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 15:26:11 $ docker stop --time=1 6c0f9c5616b40efcfb997c96e3a9e25d6ac9219b951f53d0073d942aee06d7c0 15:26:13 $ docker rm -f 6c0f9c5616b40efcfb997c96e3a9e25d6ac9219b951f53d0073d942aee06d7c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:26:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:26:15 15:26:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 15:26:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:26:15 latest: Pulling from edgex-devops/edgex-klar 15:26:15 e7c96db7181b: Pulling fs layer 15:26:15 1868ca2cb446: Pulling fs layer 15:26:15 136be5d0fe8e: Pulling fs layer 15:26:15 894bfe63afcb: Pulling fs layer 15:26:15 894bfe63afcb: Waiting 15:26:15 1868ca2cb446: Verifying Checksum 15:26:15 1868ca2cb446: Download complete 15:26:15 136be5d0fe8e: Verifying Checksum 15:26:15 136be5d0fe8e: Download complete 15:26:15 e7c96db7181b: Verifying Checksum 15:26:15 e7c96db7181b: Download complete 15:26:15 894bfe63afcb: Verifying Checksum 15:26:15 894bfe63afcb: Download complete 15:26:15 e7c96db7181b: Pull complete 15:26:16 1868ca2cb446: Pull complete 15:26:16 136be5d0fe8e: Pull complete 15:26:16 894bfe63afcb: Pull complete 15:26:16 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 15:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:26:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 15:26:16 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 15:26:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:26:17 $ docker top db11e567454d9da51ae014a3070de702d0e6af57127906706f252b4b09d293c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:18 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:93ede67d7b538e9acd9cb68b0396d1389d21b332 15:26:18 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:26:21 $ docker stop --time=1 db11e567454d9da51ae014a3070de702d0e6af57127906706f252b4b09d293c2 15:26:22 $ docker rm -f db11e567454d9da51ae014a3070de702d0e6af57127906706f252b4b09d293c2 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:26:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:26:23 . [Pipeline] withDockerContainer 15:26:23 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 15:26:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:26:24 $ docker top b9404b3d3e86a57bc6986cdef1a0bf0a3282c62a26ad34c7e72c072a1210c171 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:24 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:93ede67d7b538e9acd9cb68b0396d1389d21b332 15:26:24 + tee 15:26:24 clair timeout 1m0s 15:26:24 docker timeout: 1m0s 15:26:24 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:26:25 $ docker stop --time=1 b9404b3d3e86a57bc6986cdef1a0bf0a3282c62a26ad34c7e72c072a1210c171 15:26:26 $ docker rm -f b9404b3d3e86a57bc6986cdef1a0bf0a3282c62a26ad34c7e72c072a1210c171 [Pipeline] // withDockerContainer [Pipeline] sh 15:26:27 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 15:26:27 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_93ede67d7b538e9acd9cb68b0396d1389d21b332.html [Pipeline] writeFile [Pipeline] step 15:26:27 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 15:26:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:26:27 . [Pipeline] withDockerContainer 15:26:27 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 15:26: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:26:28 $ docker top f45ffc20c51a87a36105b702468c00d21d0eae166136c77d9af653a7f1e28c4d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:29 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:93ede67d7b538e9acd9cb68b0396d1389d21b332 15:26:29 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:26:32 $ docker stop --time=1 f45ffc20c51a87a36105b702468c00d21d0eae166136c77d9af653a7f1e28c4d 15:26:34 $ docker rm -f f45ffc20c51a87a36105b702468c00d21d0eae166136c77d9af653a7f1e28c4d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:26:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:26:34 . [Pipeline] withDockerContainer 15:26:34 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 15:26:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:26:35 $ docker top 49c684f31138c1e0a43efe02e9f4744c21dd09b0908e9bcc588fcb5e37358920 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:35 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:93ede67d7b538e9acd9cb68b0396d1389d21b332 15:26:35 + tee 15:26:35 clair timeout 1m0s 15:26:35 docker timeout: 1m0s 15:26:35 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:26:36 $ docker stop --time=1 49c684f31138c1e0a43efe02e9f4744c21dd09b0908e9bcc588fcb5e37358920 15:26:37 $ docker rm -f 49c684f31138c1e0a43efe02e9f4744c21dd09b0908e9bcc588fcb5e37358920 [Pipeline] // withDockerContainer [Pipeline] sh 15:26:38 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 15:26:38 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_93ede67d7b538e9acd9cb68b0396d1389d21b332.html [Pipeline] writeFile [Pipeline] step 15:26:38 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 15:26:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:26:40 . [Pipeline] withDockerContainer 15:26:40 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 15:26:40 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:26:41 $ docker top 109fc1e10bcc688f230cdeee180aec497e49a96cced7f95f28fe5a55b95f0b88 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:26:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:42 [ssh-agent] Looking for ssh-agent implementation... 15:26:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:42 $ docker exec 109fc1e10bcc688f230cdeee180aec497e49a96cced7f95f28fe5a55b95f0b88 ssh-agent 15:26:42 SSH_AUTH_SOCK=/tmp/ssh-cIGZJIAZZLUy/agent.12 15:26:42 SSH_AGENT_PID=17 15:26:42 Running ssh-add (command line suppressed) 15:26:42 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2024185828345779825.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2024185828345779825.key) 15:26:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:43 + git semver tag 15:26:43 # -> Open(): unable to determine branch for HEAD 15:26:43 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 15:26:43 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 15:26:43 # $SEMVER_REMOTE_NAME = origin 15:26:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:26:43 # $SEMVER_USER_NAME = edgex-jenkins 15:26:43 # $SEMVER_BRANCH = master 15:26:43 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 15:26:43 # 93ede67d7b538e9acd9cb68b0396d1389d21b332 HEAD 15:26:43 # -> Force: false 15:26:43 # 968495235127aea1b5b66476d67b99af2186af80 refs/tags/v1.1.3-dev.4 [Pipeline] } 15:26:43 $ docker exec --env ******** --env ******** 109fc1e10bcc688f230cdeee180aec497e49a96cced7f95f28fe5a55b95f0b88 ssh-agent -k 15:26:43 unset SSH_AUTH_SOCK; 15:26:43 unset SSH_AGENT_PID; 15:26:43 echo Agent pid 17 killed; 15:26:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:26:43 + git semver [Pipeline] } 15:26:43 $ docker stop --time=1 109fc1e10bcc688f230cdeee180aec497e49a96cced7f95f28fe5a55b95f0b88 15:26:45 $ docker rm -f 109fc1e10bcc688f230cdeee180aec497e49a96cced7f95f28fe5a55b95f0b88 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:26:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:26:45 15:26:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:26:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:26:46 0.23.1-centos7: Pulling from edgex-lftools 15:26:46 ab5ef0e58194: Pulling fs layer 15:26:46 9712f1f96733: Pulling fs layer 15:26:46 63f879dbbcfc: Pulling fs layer 15:26:46 0d9ebad4ef96: Pulling fs layer 15:26:46 e9a5061849ea: Pulling fs layer 15:26:46 d747dcd14b5f: Pulling fs layer 15:26:46 2de7ff778b66: Pulling fs layer 15:26:46 0d9ebad4ef96: Waiting 15:26:46 2de7ff778b66: Waiting 15:26:46 d747dcd14b5f: Waiting 15:26:46 9712f1f96733: Verifying Checksum 15:26:46 9712f1f96733: Download complete 15:26:48 63f879dbbcfc: Verifying Checksum 15:26:48 63f879dbbcfc: Download complete 15:26:48 e9a5061849ea: Verifying Checksum 15:26:48 e9a5061849ea: Download complete 15:26:48 d747dcd14b5f: Download complete 15:26:48 2de7ff778b66: Verifying Checksum 15:26:48 2de7ff778b66: Download complete 15:26:49 0d9ebad4ef96: Verifying Checksum 15:26:49 0d9ebad4ef96: Download complete 15:26:49 ab5ef0e58194: Verifying Checksum 15:26:49 ab5ef0e58194: Download complete 15:26:54 ab5ef0e58194: Pull complete 15:26:54 9712f1f96733: Pull complete 15:26:57 63f879dbbcfc: Pull complete 15:27:03 0d9ebad4ef96: Pull complete 15:27:07 e9a5061849ea: Pull complete 15:27:07 d747dcd14b5f: Pull complete 15:27:08 2de7ff778b66: Pull complete 15:27:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:27:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:27:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:27:08 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 15:27:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:27:11 $ docker top 96d6edaed475ac91f380d23cd7617396a36a7f5dd4210f264abf38d3baff127a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:27:12 provisioning config files... 15:27:12 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4537850556897483725tmp 15:27:12 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1003171803599494465tmp 15:27:12 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config227333469842191468tmp [Pipeline] { [Pipeline] echo 15:27:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:27:12 ---> sigul-configuration.sh 15:27:12 gpg: directory `/root/.gnupg' created 15:27:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:27:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:27:12 gpg: keyring `/root/.gnupg/secring.gpg' created 15:27:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:27:12 gpg: CAST5 encrypted data 15:27:12 gpg: encrypted with 1 passphrase 15:27:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:27:13 + mkdir /home/jenkins 15:27:13 + mkdir /home/jenkins/sigul [Pipeline] sh 15:27:13 + 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 15:27:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:27:13 ---> sigul-install.sh 15:27:20 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 15:27:20 + git tag --list 15:27:20 v1.1.3-dev.4 [Pipeline] sh 15:27:21 + lftools sign git-tag v1.1.3-dev.4 15:27:22 Signing Git tag with Sigul... 15:27:22 Signing v1.1.3-dev.4 [Pipeline] echo 15:27:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:27:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:27:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:27:23 $ docker stop --time=1 96d6edaed475ac91f380d23cd7617396a36a7f5dd4210f264abf38d3baff127a 15:27:25 $ docker rm -f 96d6edaed475ac91f380d23cd7617396a36a7f5dd4210f264abf38d3baff127a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 15:27:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:27:26 . [Pipeline] withDockerContainer 15:27:26 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 15:27: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:27:27 $ docker top a45d99a2ae02390af69edb3b975c3283876f858edb4a0ebf0da620493808f281 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:27:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:27:27 [ssh-agent] Looking for ssh-agent implementation... 15:27:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:27:27 $ docker exec a45d99a2ae02390af69edb3b975c3283876f858edb4a0ebf0da620493808f281 ssh-agent 15:27:28 SSH_AUTH_SOCK=/tmp/ssh-NZ2xYyjXxpvx/agent.12 15:27:28 SSH_AGENT_PID=17 15:27:28 Running ssh-add (command line suppressed) 15:27:28 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1621404180855326399.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1621404180855326399.key) 15:27:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:27:28 + git semver bump pre 15:27:28 # -> Open(): unable to determine branch for HEAD 15:27:28 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 15:27:28 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 15:27:28 # $SEMVER_REMOTE_NAME = origin 15:27:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:27:28 # $SEMVER_USER_NAME = edgex-jenkins 15:27:28 # $SEMVER_BRANCH = master 15:27:28 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 15:27:28 1.1.3-dev.5 [Pipeline] } 15:27:28 $ docker exec --env ******** --env ******** a45d99a2ae02390af69edb3b975c3283876f858edb4a0ebf0da620493808f281 ssh-agent -k 15:27:28 unset SSH_AUTH_SOCK; 15:27:28 unset SSH_AGENT_PID; 15:27:28 echo Agent pid 17 killed; 15:27:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:27:29 + git semver [Pipeline] } 15:27:29 $ docker stop --time=1 a45d99a2ae02390af69edb3b975c3283876f858edb4a0ebf0da620493808f281 15:27:30 $ docker rm -f a45d99a2ae02390af69edb3b975c3283876f858edb4a0ebf0da620493808f281 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:27:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:27:31 . [Pipeline] withDockerContainer 15:27:31 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 15:27: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:27:32 $ docker top a0470d6f768de42ea39ca8216b3fb409d806b7e7fa8d8f126d379c8ccec1879a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:27:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:27:32 [ssh-agent] Looking for ssh-agent implementation... 15:27:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:27:32 $ docker exec a0470d6f768de42ea39ca8216b3fb409d806b7e7fa8d8f126d379c8ccec1879a ssh-agent 15:27:32 SSH_AUTH_SOCK=/tmp/ssh-q7nnEbLMlQ57/agent.12 15:27:32 SSH_AGENT_PID=18 15:27:32 Running ssh-add (command line suppressed) 15:27:33 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8769994549230672104.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8769994549230672104.key) 15:27:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:27:33 + git semver push 15:27:33 # -> Open(): unable to determine branch for HEAD 15:27:33 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 15:27:33 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 15:27:33 # $SEMVER_REMOTE_NAME = origin 15:27:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:27:33 # $SEMVER_USER_NAME = edgex-jenkins 15:27:33 # $SEMVER_BRANCH = master 15:27:33 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 15:27:40 $ docker exec --env ******** --env ******** a0470d6f768de42ea39ca8216b3fb409d806b7e7fa8d8f126d379c8ccec1879a ssh-agent -k 15:27:40 unset SSH_AUTH_SOCK; 15:27:40 unset SSH_AGENT_PID; 15:27:40 echo Agent pid 18 killed; 15:27:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:27:40 + git semver [Pipeline] } 15:27:40 $ docker stop --time=1 a0470d6f768de42ea39ca8216b3fb409d806b7e7fa8d8f126d379c8ccec1879a 15:27:42 $ docker rm -f a0470d6f768de42ea39ca8216b3fb409d806b7e7fa8d8f126d379c8ccec1879a [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 15:27:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:27:44 ---> package-listing.sh 15:27:44 ++ facter osfamily 15:27:44 ++ tr '[:upper:]' '[:lower:]' 15:27:44 + OS_FAMILY=redhat 15:27:44 + workspace=/w/workspace/gexfoundry_device-rest-go_master 15:27:44 + START_PACKAGES=/tmp/packages_start.txt 15:27:44 + END_PACKAGES=/tmp/packages_end.txt 15:27:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:27:44 + PACKAGES=/tmp/packages_start.txt 15:27:44 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 15:27:44 + PACKAGES=/tmp/packages_end.txt 15:27:44 + case "${OS_FAMILY}" in 15:27:44 + rpm -qa 15:27:44 + sort 15:27:48 + '[' -f /tmp/packages_start.txt ']' 15:27:48 + '[' -f /tmp/packages_end.txt ']' 15:27:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:27:48 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 15:27:48 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 15:27:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 15:27:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:27:50 15:27:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:27:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:27:50 alpine: Pulling from edgex-lftools-log-publisher 15:27:50 df20fa9351a1: Pulling fs layer 15:27:50 36b3adc4ff6f: Pulling fs layer 15:27:50 8ad3a11d3b57: Pulling fs layer 15:27:50 46f8f816bc3b: Pulling fs layer 15:27:50 0dadc02b9964: Pulling fs layer 15:27:50 ce6a7cf60c04: Pulling fs layer 15:27:50 7a184a31f384: Pulling fs layer 15:27:50 0879bd2ef858: Pulling fs layer 15:27:50 0dadc02b9964: Waiting 15:27:50 ce6a7cf60c04: Waiting 15:27:50 7a184a31f384: Waiting 15:27:50 0879bd2ef858: Waiting 15:27:50 46f8f816bc3b: Waiting 15:27:50 36b3adc4ff6f: Verifying Checksum 15:27:50 36b3adc4ff6f: Download complete 15:27:50 46f8f816bc3b: Verifying Checksum 15:27:50 46f8f816bc3b: Download complete 15:27:50 df20fa9351a1: Download complete 15:27:50 ce6a7cf60c04: Verifying Checksum 15:27:50 ce6a7cf60c04: Download complete 15:27:50 7a184a31f384: Verifying Checksum 15:27:50 7a184a31f384: Download complete 15:27:50 0dadc02b9964: Verifying Checksum 15:27:50 0dadc02b9964: Download complete 15:27:50 8ad3a11d3b57: Verifying Checksum 15:27:50 8ad3a11d3b57: Download complete 15:27:50 df20fa9351a1: Pull complete 15:27:51 36b3adc4ff6f: Pull complete 15:27:51 0879bd2ef858: Verifying Checksum 15:27:51 0879bd2ef858: Download complete 15:27:52 8ad3a11d3b57: Pull complete 15:27:52 46f8f816bc3b: Pull complete 15:27:52 0dadc02b9964: Pull complete 15:27:52 ce6a7cf60c04: Pull complete 15:27:52 7a184a31f384: Pull complete 15:27:56 0879bd2ef858: Pull complete 15:27:56 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 15:27:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:27:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:27:56 prd-centos7-docker-4c-2g-395 does not seem to be running inside a container 15:27:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:27:59 $ docker top 164afbd4420be1f58d691aa0b29d1139263491a3f6495bfb7b1227f624257a13 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:59 + mkdir -p /var/log/sa [Pipeline] sh 15:28:00 + ls /var/log/sa-host 15:28:00 + sadf -c /var/log/sa-host/sa05 15:28:00 file_magic: OK 15:28:00 HZ: Using current value: 100 15:28:00 file_header: OK 15:28:00 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:28:00 Statistics: 15:28:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:28:00 File successfully converted to sysstat format version 12.2.1 15:28:00 + sadf -c /var/log/sa-host/sa18 15:28:00 file_magic: OK 15:28:00 HZ: Using current value: 100 15:28:00 file_header: OK 15:28:00 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:28:00 Statistics: 15:28:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:28:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:28:00 provisioning config files... 15:28:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config9152025104010916412tmp [Pipeline] { [Pipeline] echo 15:28:00 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:28:00 ---> create-netrc.sh [Pipeline] echo 15:28:00 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:28:01 ---> logs-deploy.sh 15:28:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/20 15:28:01 INFO: archiving workspace using pattern(s): 15:28:02 Archives upload complete. 15:28:02 INFO: archiving logs to Nexus 15:28:03 ---> uname -a: 15:28:03 Linux 164afbd4420b 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 15:28:03 15:28:03 15:28:03 ---> lscpu: 15:28:03 Architecture: x86_64 15:28:03 CPU op-mode(s): 32-bit, 64-bit 15:28:03 Byte Order: Little Endian 15:28:03 Address sizes: 40 bits physical, 48 bits virtual 15:28:03 CPU(s): 4 15:28:03 On-line CPU(s) list: 0-3 15:28:03 Thread(s) per core: 1 15:28:03 Core(s) per socket: 1 15:28:03 Socket(s): 4 15:28:03 NUMA node(s): 1 15:28:03 Vendor ID: GenuineIntel 15:28:03 CPU family: 6 15:28:03 Model: 44 15:28:03 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 15:28:03 Stepping: 1 15:28:03 CPU MHz: 2933.436 15:28:03 BogoMIPS: 5866.87 15:28:03 Virtualization: VT-x 15:28:03 Hypervisor vendor: KVM 15:28:03 Virtualization type: full 15:28:03 L1d cache: 128 KiB 15:28:03 L1i cache: 128 KiB 15:28:03 L2 cache: 16 MiB 15:28:03 L3 cache: 64 MiB 15:28:03 NUMA node0 CPU(s): 0-3 15:28:03 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 15:28:03 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 15:28:03 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 15:28:03 Vulnerability Meltdown: Mitigation; PTI 15:28:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:28:03 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 15:28:03 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 15:28:03 Vulnerability Tsx async abort: Not affected 15:28:03 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 15:28:03 15:28:03 15:28:03 ---> nproc: 15:28:03 4 15:28:03 15:28:03 15:28:03 ---> df -h: 15:28:03 Filesystem Size Used Available Use% Mounted on 15:28:03 overlay 50.0G 7.9G 42.1G 16% / 15:28:03 tmpfs 64.0M 0 64.0M 0% /dev 15:28:03 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 15:28:03 shm 64.0M 0 64.0M 0% /dev/shm 15:28:03 /dev/vda1 50.0G 7.9G 42.1G 16% /etc/resolv.conf 15:28:03 /dev/vda1 50.0G 7.9G 42.1G 16% /etc/hostname 15:28:03 /dev/vda1 50.0G 7.9G 42.1G 16% /etc/hosts 15:28:03 /dev/vda1 50.0G 7.9G 42.1G 16% /var/log/sa-host 15:28:03 /dev/vda1 50.0G 7.9G 42.1G 16% /w/workspace/gexfoundry_device-rest-go_master 15:28:03 /dev/vda1 50.0G 7.9G 42.1G 16% /w/workspace/gexfoundry_device-rest-go_master@tmp 15:28:03 15:28:03 15:28:03 ---> free -m: 15:28:03 total used free shared buff/cache available 15:28:03 Mem: 1837 804 111 0 921 984 15:28:03 Swap: 1023 3 1020 15:28:03 15:28:03 15:28:03 ---> ip addr: 15:28:03 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 15:28:03 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 15:28:03 inet 127.0.0.1/8 scope host lo 15:28:03 valid_lft forever preferred_lft forever 15:28:03 24: eth0@if25: mtu 1458 qdisc noqueue state UP 15:28:03 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 15:28:03 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 15:28:03 valid_lft forever preferred_lft forever 15:28:03 15:28:03