Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ec5ba659fde701601f352c67d2492fac5a523e90 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 Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-242 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 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 Fetching without tags Checking out Revision ec5ba659fde701601f352c67d2492fac5a523e90 (master) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 Commit message: "Merge pull request #40 from hahattan/issue-38" > git rev-list --no-walk 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:32:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:32:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:32:59 ========================================================= 17:32:59 EdgeX Global Pipelines Version Info 17:32:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:33:01 ------------------- 17:33:01 stable info: 17:33:01 ------------------- 17:33:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:33:01 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 17:33:01 Message: update stable to v1.0.122 17:33:02 ------------------- 17:33:02 experimental info: 17:33:02 ------------------- 17:33:02 Commited By: **** collab-it+edgex@linuxfoundation.org 17:33:02 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 17:33:02 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 17:33:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 17:33:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 17:33:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:33:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:33:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:33:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:33:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:33:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:33:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 17:33:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:33:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:33:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:33:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:33:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:33:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:33:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:33:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:33:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:33:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:33:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 17:33:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 17:33:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 17:33:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec5ba659fde701601f352c67d2492fac5a523e90 [Pipeline] echo 17:33:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec5ba65 [Pipeline] echo 17:33:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:33:06 + git log --format=format:%s -1 ec5ba659fde701601f352c67d2492fac5a523e90 [Pipeline] echo 17:33:06 GIT_COMMIT: ec5ba659fde701601f352c67d2492fac5a523e90, Commit Message: Merge pull request #40 from hahattan/issue-38 [Pipeline] echo 17:33:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:33:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:33:08 17:33:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:33:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:33:08 latest: Pulling from edgex-devops/git-semver 17:33:08 31603596830f: Pulling fs layer 17:33:08 2a8b12db71e7: Pulling fs layer 17:33:08 6ca5941a6612: Pulling fs layer 17:33:08 ecc8261a40a4: Pulling fs layer 17:33:08 ecc8261a40a4: Waiting 17:33:08 2a8b12db71e7: Verifying Checksum 17:33:08 2a8b12db71e7: Download complete 17:33:08 31603596830f: Verifying Checksum 17:33:08 31603596830f: Download complete 17:33:08 ecc8261a40a4: Verifying Checksum 17:33:08 ecc8261a40a4: Download complete 17:33:08 6ca5941a6612: Verifying Checksum 17:33:08 6ca5941a6612: Download complete 17:33:08 31603596830f: Pull complete 17:33:09 2a8b12db71e7: Pull complete 17:33:10 6ca5941a6612: Pull complete 17:33:10 ecc8261a40a4: Pull complete 17:33:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:33:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:33:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:33:10 prd-centos7-docker-4c-2g-242 does not seem to be running inside a container 17:33:10 $ 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 17:33:12 $ docker top 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:33:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:33:12 [ssh-agent] Looking for ssh-agent implementation... 17:33:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:33:12 $ docker exec 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef ssh-agent 17:33:12 SSH_AUTH_SOCK=/tmp/ssh-FDDW8AVie7Ep/agent.12 17:33:12 SSH_AGENT_PID=17 17:33:12 Running ssh-add (command line suppressed) 17:33:12 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8135715946588023634.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8135715946588023634.key) 17:33:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:33:13 + git describe --exact-match --tags HEAD 17:33:13 fatal: No names found, cannot describe anything. [Pipeline] } 17:33:13 $ docker exec --env ******** --env ******** 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef ssh-agent -k 17:33:13 unset SSH_AUTH_SOCK; 17:33:13 unset SSH_AGENT_PID; 17:33:13 echo Agent pid 17 killed; 17:33:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 17:33:13 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 17:33:13 This usually means this commit has not been tagged. [Pipeline] sshagent 17:33:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:33:13 [ssh-agent] Looking for ssh-agent implementation... 17:33:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:33:13 $ docker exec 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef ssh-agent 17:33:14 SSH_AUTH_SOCK=/tmp/ssh-6HZcPfluBGvs/agent.46 17:33:14 SSH_AGENT_PID=52 17:33:14 Running ssh-add (command line suppressed) 17:33:14 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3662659846699039487.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3662659846699039487.key) 17:33:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:33:14 + git semver init 17:33:14 # -> Open(): unable to determine branch for HEAD 17:33:14 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 17:33:14 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 17:33:14 # $SEMVER_REMOTE_NAME = origin 17:33:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:33:14 # $SEMVER_USER_NAME = edgex-jenkins 17:33:14 # $SEMVER_BRANCH = master 17:33:14 # $SEMVER_TEMP = /tmp/semver-879513788 17:33:14 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 17:33:15 # '/tmp/semver-879513788' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 17:33:15 # -> Force: false 17:33:15 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 17:33:15 $ docker exec --env ******** --env ******** 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef ssh-agent -k 17:33:15 unset SSH_AUTH_SOCK; 17:33:15 unset SSH_AGENT_PID; 17:33:15 echo Agent pid 52 killed; 17:33:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:33:16 + git semver [Pipeline] } 17:33:16 $ docker stop --time=1 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef 17:33:17 $ docker rm -f 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 17:33:19 Stashed 17 file(s) [Pipeline] echo 17:33:19 [edgeXSemver]: initialized semver on version 1.1.3-dev.3 [Pipeline] echo 17:33:19 Archived original version: [1.1.3-dev.3] [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 17:33:34 Still waiting to schedule task 17:33:34 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-242’ 17:33:34 Still waiting to schedule task 17:33:34 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:35:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-243 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 17:35:32 Running in /w/workspace/device-rest-go/19 [Pipeline] { [Pipeline] checkout 17:35:37 using credential edgex-jenkins-ssh 17:35:37 Cloning the remote Git repository 17:35:37 Cloning with configured refspecs honoured and without tags 17:35:37 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:35:37 > git init /w/workspace/device-rest-go/19 # timeout=10 17:35:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:35:37 > git --version # timeout=10 17:35:37 > git --version # 'git version 2.17.1' 17:35:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:35:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:35:39 Fetching without tags 17:35:39 Checking out Revision ec5ba659fde701601f352c67d2492fac5a523e90 (master) 17:35:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:35:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:35:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:35:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:35:39 using GIT_SSH to set credentials SSH Credentials for GitHub 17:35:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:35:39 > git config core.sparsecheckout # timeout=10 17:35:39 > git checkout -f ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 17:35:44 Commit message: "Merge pull request #40 from hahattan/issue-38" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:35:46 ========================================================= 17:35:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:35:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:35:47 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 17:35:48 Sending build context to Docker daemon 8.042MB 17:35:48 Step 1/10 : ARG BASE=golang:1.15-alpine 17:35:48 Step 2/10 : FROM ${BASE} 17:35:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:35:48 b538f80385f9: Pulling fs layer 17:35:48 74f711af9a0d: Pulling fs layer 17:35:48 99f96fe45779: Pulling fs layer 17:35:48 8529a6b9a6be: Pulling fs layer 17:35:48 45590311c82a: Pulling fs layer 17:35:48 69ca0ff8b7b3: Pulling fs layer 17:35:48 209524e5b208: Pulling fs layer 17:35:48 8529a6b9a6be: Waiting 17:35:48 45590311c82a: Waiting 17:35:48 69ca0ff8b7b3: Waiting 17:35:48 209524e5b208: Waiting 17:35:48 99f96fe45779: Download complete 17:35:48 74f711af9a0d: Verifying Checksum 17:35:48 74f711af9a0d: Download complete 17:35:48 45590311c82a: Verifying Checksum 17:35:48 45590311c82a: Download complete 17:35:48 69ca0ff8b7b3: Verifying Checksum 17:35:48 69ca0ff8b7b3: Download complete 17:35:48 b538f80385f9: Verifying Checksum 17:35:48 b538f80385f9: Download complete 17:35:49 b538f80385f9: Pull complete 17:35:49 74f711af9a0d: Pull complete 17:35:49 99f96fe45779: Pull complete 17:35:51 209524e5b208: Verifying Checksum 17:35:51 209524e5b208: Download complete 17:35:52 8529a6b9a6be: Verifying Checksum 17:35:52 8529a6b9a6be: Download complete 17:36:02 8529a6b9a6be: Pull complete 17:36:03 45590311c82a: Pull complete 17:36:03 69ca0ff8b7b3: Pull complete 17:36:07 209524e5b208: Pull complete 17:36:07 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 17:36:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:36:07 ---> 5bddaf1c2fca 17:36:07 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 17:36:10 ---> Running in a0048de43deb 17:36:10 Removing intermediate container a0048de43deb 17:36:10 ---> 6a716fe28b1c 17:36:10 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 17:36:10 ---> Running in f875c74f2418 17:36:11 Removing intermediate container f875c74f2418 17:36:11 ---> 61ee0acb1b27 17:36:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:36:11 ---> Running in 1289377be405 17:36:11 Removing intermediate container 1289377be405 17:36:11 ---> 9c1675af3e13 17:36:11 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:36:11 ---> Running in e0ce30017071 17:36:15 Removing intermediate container e0ce30017071 17:36:15 ---> 409660ba892a 17:36:15 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:36:15 ---> Running in b4fab2ecd735 17:36:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:36:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:36:17 OK: 142 MiB in 39 packages 17:36:19 Removing intermediate container b4fab2ecd735 17:36:19 ---> 4970381f30ec 17:36:19 Step 8/10 : WORKDIR /device-rest-go 17:36:19 ---> Running in 03ed7d7c8497 17:36:19 Removing intermediate container 03ed7d7c8497 17:36:19 ---> e31c6b0ccfec 17:36:19 Step 9/10 : COPY . . 17:36:20 ---> 23223425ce3e 17:36:20 Step 10/10 : RUN go mod download 17:36:20 ---> Running in ee04c523f10e 17:36:36 Removing intermediate container ee04c523f10e 17:36:36 ---> 613119552379 17:36:36 Successfully built 613119552379 17:36:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:36:36 + docker inspect -f . ci-base-image-arm64 17:36:36 . [Pipeline] withDockerContainer 17:36:36 prd-ubuntu18.04-docker-arm64-4c-16g-243 does not seem to be running inside a container 17:36:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@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 ******** ci-base-image-arm64 cat 17:36:38 $ docker top 7bd14dd60ace14883c067ad2cc260800f1d29f30497d04c5a87edde3f503dcf6 -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:40 + go version 17:36:40 go version go1.15.2 linux/arm64 [Pipeline] } 17:36:40 $ docker stop --time=1 7bd14dd60ace14883c067ad2cc260800f1d29f30497d04c5a87edde3f503dcf6 17:36:42 $ docker rm -f 7bd14dd60ace14883c067ad2cc260800f1d29f30497d04c5a87edde3f503dcf6 [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 17:36:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:36:46 + ls -al . 17:36:46 total 100 17:36:46 drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 17:35 . 17:36:46 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 17:35 .. 17:36:46 -rw-rw-r-- 1 jenkins jenkins 151 Sep 17 17:35 .dockerignore 17:36:46 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 17:35 .git 17:36:46 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 17:35 .github 17:36:46 -rw-rw-r-- 1 jenkins jenkins 339 Sep 17 17:35 .gitignore 17:36:46 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 17:35 .semver 17:36:46 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 17 17:35 Attribution.txt 17:36:46 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 17 17:35 Dockerfile 17:36:46 -rw-rw-r-- 1 jenkins jenkins 989 Sep 17 17:35 Dockerfile.build 17:36:46 -rw-rw-r-- 1 jenkins jenkins 680 Sep 17 17:35 Jenkinsfile 17:36:46 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 17:35 LICENSE 17:36:46 -rw-rw-r-- 1 jenkins jenkins 951 Sep 17 17:35 Makefile 17:36:46 -rw-rw-r-- 1 jenkins jenkins 5716 Sep 17 17:35 README.md 17:36:46 -rw-rw-r-- 1 jenkins jenkins 11 Sep 17 17:33 VERSION 17:36:46 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 17:35 bin 17:36:46 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 17:35 cmd 17:36:46 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 17:35 driver 17:36:46 -rw-rw-r-- 1 jenkins jenkins 266 Sep 17 17:35 go.mod 17:36:46 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 17:35 snap 17:36:46 -rw-rw-r-- 1 jenkins jenkins 713 Sep 17 17:35 version.go [Pipeline] isUnix [Pipeline] sh 17:36:46 + 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=ec5ba659fde701601f352c67d2492fac5a523e90 --label arch=arm64 --label version=1.1.3-dev.3 . 17:36:46 Sending build context to Docker daemon 8.042MB 17:36:46 Step 1/25 : ARG BASE=golang:1.15-alpine 17:36:46 Step 2/25 : FROM ${BASE} AS builder 17:36:46 ---> 613119552379 17:36:46 Step 3/25 : ARG MAKE='make build' 17:36:46 ---> Running in 0a4053c8f08f 17:36:47 Removing intermediate container 0a4053c8f08f 17:36:47 ---> 1ed21f25cdf4 17:36:47 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 17:36:47 ---> Running in a14c4c4194e5 17:36:48 Removing intermediate container a14c4c4194e5 17:36:48 ---> 61f496b848ed 17:36:48 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:36:48 ---> Running in c596eaecebce 17:36:48 Removing intermediate container c596eaecebce 17:36:48 ---> 555aae7edd4c 17:36:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:36:48 ---> Running in c8e2af978cdf 17:36:51 Removing intermediate container c8e2af978cdf 17:36:51 ---> 85e515034c95 17:36:51 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:36:51 ---> Running in d05b5c86e704 17:36:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:36:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:36:55 OK: 142 MiB in 39 packages 17:36:56 Removing intermediate container d05b5c86e704 17:36:56 ---> e7b4f767563b 17:36:56 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 17:36:56 ---> Running in 38d848100ad1 17:36:56 Removing intermediate container 38d848100ad1 17:36:56 ---> 8c6b75ab23c0 17:36:56 Step 9/25 : COPY go.mod . 17:36:57 Running on prd-centos7-docker-4c-2g-244 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 17:36:57 Running in /w/workspace/device-rest-go/19 [Pipeline] { [Pipeline] checkout 17:36:57 ---> 268fbbc026ae 17:36:57 Step 10/25 : COPY Makefile . 17:36:58 ---> 4924082a965e 17:36:58 Step 11/25 : RUN make update 17:36:58 ---> Running in 84cd94a16fde 17:36:59 CGO_ENABLED=0 GO111MODULE=on go mod download 17:37:01 Removing intermediate container 84cd94a16fde 17:37:01 ---> abde4816fb1f 17:37:01 Step 12/25 : COPY . . 17:37:02 ---> af8982126a80 17:37:02 Step 13/25 : RUN $MAKE 17:37:02 ---> Running in ceaa6a6d6eb2 17:37:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.3" -o cmd/device-rest-go ./cmd 17:37:06 using credential edgex-jenkins-ssh 17:37:06 Cloning the remote Git repository 17:37:06 Cloning with configured refspecs honoured and without tags 17:37:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:37:07 > git init /w/workspace/device-rest-go/19 # timeout=10 17:37:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:37:07 > git --version # timeout=10 17:37:07 > git --version # 'git version 2.16.5' 17:37:07 using GIT_SSH to set credentials SSH Credentials for GitHub 17:37:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:37:09 Fetching without tags 17:37:09 Checking out Revision ec5ba659fde701601f352c67d2492fac5a523e90 (master) 17:37:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:37:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:37:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:37:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:37:09 using GIT_SSH to set credentials SSH Credentials for GitHub 17:37:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:37:09 > git config core.sparsecheckout # timeout=10 17:37:09 > git checkout -f ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 17:37:13 Commit message: "Merge pull request #40 from hahattan/issue-38" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:37:15 ========================================================= 17:37:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:37:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:37:16 + 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 . 17:37:18 Sending build context to Docker daemon 8.042MB 17:37:18 Step 1/10 : ARG BASE=golang:1.15-alpine 17:37:18 Step 2/10 : FROM ${BASE} 17:37:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:37:18 df20fa9351a1: Pulling fs layer 17:37:18 ed8968b2872e: Pulling fs layer 17:37:18 a92cc7c5fd73: Pulling fs layer 17:37:18 e871e8e8d7a9: Pulling fs layer 17:37:18 e73272ec9a57: Pulling fs layer 17:37:18 1e910a182e73: Pulling fs layer 17:37:18 4e634b169226: Pulling fs layer 17:37:18 e871e8e8d7a9: Waiting 17:37:18 e73272ec9a57: Waiting 17:37:18 1e910a182e73: Waiting 17:37:18 4e634b169226: Waiting 17:37:18 a92cc7c5fd73: Verifying Checksum 17:37:18 a92cc7c5fd73: Download complete 17:37:19 e73272ec9a57: Download complete 17:37:19 1e910a182e73: Verifying Checksum 17:37:19 1e910a182e73: Download complete 17:37:19 df20fa9351a1: Download complete 17:37:20 df20fa9351a1: Pull complete 17:37:20 ed8968b2872e: Pull complete 17:37:20 a92cc7c5fd73: Pull complete 17:37:25 4e634b169226: Verifying Checksum 17:37:25 4e634b169226: Download complete 17:37:26 e871e8e8d7a9: Verifying Checksum 17:37:26 e871e8e8d7a9: Download complete 17:37:30 Removing intermediate container ceaa6a6d6eb2 17:37:30 ---> 3a7d4712607a 17:37:30 Step 14/25 : FROM alpine:latest 17:37:30 latest: Pulling from library/alpine 17:37:30 b538f80385f9: Already exists 17:37:30 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 17:37:30 Status: Downloaded newer image for alpine:latest 17:37:30 ---> 62ee0e9f8440 17:37:30 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:37:30 ---> Running in f18d20506579 17:37:30 Removing intermediate container f18d20506579 17:37:30 ---> d8a008097dab 17:37:30 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 17:37:30 ---> Running in f1364c8238b7 17:37:30 Removing intermediate container f1364c8238b7 17:37:30 ---> 21fa4d654527 17:37:30 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 17:37:30 ---> 2502fe4d9474 17:37:30 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 17:37:31 ---> 4401be08b66e 17:37:31 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 17:37:32 ---> 594ac28a7006 17:37:32 Step 20/25 : EXPOSE 49986 17:37:32 ---> Running in d554df000313 17:37:33 Removing intermediate container d554df000313 17:37:33 ---> 217fe0b2db4e 17:37:33 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 17:37:33 ---> Running in e5d1671fb252 17:37:33 Removing intermediate container e5d1671fb252 17:37:33 ---> e94a2a35c9b6 17:37:33 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:37:33 ---> Running in 8caf05815fca 17:37:34 Removing intermediate container 8caf05815fca 17:37:34 ---> b00bc9b0112d 17:37:34 Step 23/25 : LABEL arch=arm64 17:37:34 ---> Running in 2f261f72c078 17:37:35 Removing intermediate container 2f261f72c078 17:37:35 ---> aa9a4870b4b5 17:37:35 Step 24/25 : LABEL git_sha=ec5ba659fde701601f352c67d2492fac5a523e90 17:37:35 ---> Running in 18ec0c971cbb 17:37:35 Removing intermediate container 18ec0c971cbb 17:37:35 ---> f6fa0b3cca42 17:37:35 Step 25/25 : LABEL version=1.1.3-dev.3 17:37:35 ---> Running in aa185b542826 17:37:36 Removing intermediate container aa185b542826 17:37:36 ---> 33273b610961 17:37:36 [Warning] One or more build-args [ARCH] were not consumed 17:37:36 Successfully built 33273b610961 17:37:36 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 17:37:36 provisioning config files... 17:37:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/19@tmp/config2872768002718419381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:37:37 ---> docker-login.sh 17:37:37 nexus3.edgexfoundry.org:10001 17:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:37 Configure a credential helper to remove this warning. See 17:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:37 17:37:37 Login Succeeded 17:37:37 nexus3.edgexfoundry.org:10002 17:37:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:38 Configure a credential helper to remove this warning. See 17:37:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:38 17:37:38 Login Succeeded 17:37:38 nexus3.edgexfoundry.org:10003 17:37:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:38 Configure a credential helper to remove this warning. See 17:37:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:38 17:37:38 Login Succeeded 17:37:38 nexus3.edgexfoundry.org:10004 17:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:39 Configure a credential helper to remove this warning. See 17:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:39 17:37:39 Login Succeeded 17:37:39 docker.io 17:37:39 e871e8e8d7a9: Pull complete 17:37:39 e73272ec9a57: Pull complete 17:37:39 1e910a182e73: Pull complete 17:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:40 Configure a credential helper to remove this warning. See 17:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:40 17:37:40 Login Succeeded 17:37:40 ---> docker-login.sh ends [Pipeline] } 17:37:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:37:40 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 17:37:40 ec5ba659fde701601f352c67d2492fac5a523e90 17:37:40 latest 17:37:40 1.1.3-dev.3 17:37:40 ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 17:37:40 master 17:37:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:37:41 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90 [Pipeline] isUnix [Pipeline] sh 17:37:41 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90 17:37:41 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:37:41 aaf9949913e0: Preparing 17:37:41 8c189896651e: Preparing 17:37:41 6503d0ecf506: Preparing 17:37:41 e2f13739ad41: Preparing 17:37:41 e2f13739ad41: Layer already exists 17:37:41 8c189896651e: Pushed 17:37:41 6503d0ecf506: Pushed 17:37:44 aaf9949913e0: Pushed 17:37:44 ec5ba659fde701601f352c67d2492fac5a523e90: digest: sha256:9cf6efe95a48bb16f6c3b29c098bf35038058a6456cc3098c5ccae5eff1f2964 size: 1154 [Pipeline] isUnix [Pipeline] sh 17:37:44 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:37:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 17:37:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:37:45 aaf9949913e0: Preparing 17:37:45 8c189896651e: Preparing 17:37:45 6503d0ecf506: Preparing 17:37:45 e2f13739ad41: Preparing 17:37:45 6503d0ecf506: Layer already exists 17:37:45 aaf9949913e0: Layer already exists 17:37:45 e2f13739ad41: Layer already exists 17:37:45 8c189896651e: Layer already exists 17:37:45 latest: digest: sha256:9cf6efe95a48bb16f6c3b29c098bf35038058a6456cc3098c5ccae5eff1f2964 size: 1154 [Pipeline] isUnix [Pipeline] sh 17:37:45 4e634b169226: Pull complete 17:37:45 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 17:37:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:37:45 ---> f7629b54cfaa 17:37:45 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 17:37:45 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.3 [Pipeline] isUnix [Pipeline] sh 17:37:45 ---> Running in 2fdeb8e5d4bd 17:37:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.3 17:37:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:37:46 aaf9949913e0: Preparing 17:37:46 8c189896651e: Preparing 17:37:46 6503d0ecf506: Preparing 17:37:46 e2f13739ad41: Preparing 17:37:46 aaf9949913e0: Layer already exists 17:37:46 e2f13739ad41: Layer already exists 17:37:46 8c189896651e: Layer already exists 17:37:46 6503d0ecf506: Layer already exists 17:37:46 Removing intermediate container 2fdeb8e5d4bd 17:37:46 ---> c45b9b3f9688 17:37:46 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 17:37:46 ---> Running in 515baeab91dc 17:37:46 1.1.3-dev.3: digest: sha256:9cf6efe95a48bb16f6c3b29c098bf35038058a6456cc3098c5ccae5eff1f2964 size: 1154 [Pipeline] isUnix [Pipeline] sh 17:37:46 Removing intermediate container 515baeab91dc 17:37:46 ---> cac00e851b5d 17:37:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:37:46 ---> Running in de4438f1ec92 17:37:46 Removing intermediate container de4438f1ec92 17:37:46 ---> 1230035c9f6a 17:37:46 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:37:46 ---> Running in 9b0982465610 17:37:46 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 [Pipeline] isUnix [Pipeline] sh 17:37:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 17:37:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:37:46 aaf9949913e0: Preparing 17:37:46 8c189896651e: Preparing 17:37:46 6503d0ecf506: Preparing 17:37:46 e2f13739ad41: Preparing 17:37:46 6503d0ecf506: Layer already exists 17:37:46 aaf9949913e0: Layer already exists 17:37:46 8c189896651e: Layer already exists 17:37:46 e2f13739ad41: Layer already exists 17:37:47 ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3: digest: sha256:9cf6efe95a48bb16f6c3b29c098bf35038058a6456cc3098c5ccae5eff1f2964 size: 1154 [Pipeline] isUnix [Pipeline] sh 17:37:47 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 17:37:47 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 17:37:47 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:37:47 aaf9949913e0: Preparing 17:37:47 8c189896651e: Preparing 17:37:47 6503d0ecf506: Preparing 17:37:47 e2f13739ad41: Preparing 17:37:47 e2f13739ad41: Layer already exists 17:37:47 8c189896651e: Layer already exists 17:37:47 6503d0ecf506: Layer already exists 17:37:47 aaf9949913e0: Layer already exists 17:37:48 master: digest: sha256:9cf6efe95a48bb16f6c3b29c098bf35038058a6456cc3098c5ccae5eff1f2964 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:37:48 ===================================================== [Pipeline] echo 17:37:48 taggedImages: 17:37:48 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90 17:37:48 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 17:37:48 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.3 17:37:48 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 17:37:48 - 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] } 17:37:49 Removing intermediate container 9b0982465610 17:37:49 ---> a82cf60a9e1e 17:37:49 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:37:49 ---> Running in 29d9174a22e3 [Pipeline] // stage [Pipeline] } 17:37:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:37:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:37:52 OK: 166 MiB in 39 packages 17:37:53 Removing intermediate container 29d9174a22e3 17:37:53 ---> 33a7dd5f37dc 17:37:53 Step 8/10 : WORKDIR /device-rest-go 17:37:53 ---> Running in 7508f7d5eb92 17:37:53 Removing intermediate container 7508f7d5eb92 17:37:53 ---> b98f18e9be5b 17:37:53 Step 9/10 : COPY . . 17:37:54 ---> f819b694792a 17:37:54 Step 10/10 : RUN go mod download 17:37:54 ---> Running in 04787d0f8bcc 17:38:10 Removing intermediate container 04787d0f8bcc 17:38:10 ---> 97cb8b9fa95e 17:38:10 Successfully built 97cb8b9fa95e 17:38:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:38:11 + docker inspect -f . ci-base-image-x86_64 17:38:11 . [Pipeline] withDockerContainer 17:38:11 prd-centos7-docker-4c-2g-244 does not seem to be running inside a container 17:38:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@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 ******** ci-base-image-x86_64 cat 17:38:13 $ docker top e9d4674b7c4a4c0ce9fc055ada701e964e55a8dfcd482f849a72dac9bb68e7c5 -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:14 + go version 17:38:14 go version go1.15.2 linux/amd64 [Pipeline] } 17:38:14 $ docker stop --time=1 e9d4674b7c4a4c0ce9fc055ada701e964e55a8dfcd482f849a72dac9bb68e7c5 17:38:15 $ docker rm -f e9d4674b7c4a4c0ce9fc055ada701e964e55a8dfcd482f849a72dac9bb68e7c5 [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 17:38:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:38:17 + ls -al . 17:38:17 total 68 17:38:17 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 17:37 . 17:38:17 drwxrwxr-x. 4 jenkins jenkins 30 Sep 17 17:37 .. 17:38:17 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 17 17:37 Attribution.txt 17:38:17 drwxrwxr-x. 2 jenkins jenkins 64 Sep 17 17:37 bin 17:38:17 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 17:37 cmd 17:38:17 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 17 17:37 Dockerfile 17:38:17 -rw-rw-r--. 1 jenkins jenkins 989 Sep 17 17:37 Dockerfile.build 17:38:17 -rw-rw-r--. 1 jenkins jenkins 151 Sep 17 17:37 .dockerignore 17:38:17 drwxrwxr-x. 2 jenkins jenkins 76 Sep 17 17:37 driver 17:38:17 drwxrwxr-x. 8 jenkins jenkins 162 Sep 17 17:37 .git 17:38:17 drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 17:37 .github 17:38:17 -rw-rw-r--. 1 jenkins jenkins 339 Sep 17 17:37 .gitignore 17:38:17 -rw-rw-r--. 1 jenkins jenkins 266 Sep 17 17:37 go.mod 17:38:17 -rw-rw-r--. 1 jenkins jenkins 680 Sep 17 17:37 Jenkinsfile 17:38:17 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 17:37 LICENSE 17:38:17 -rw-rw-r--. 1 jenkins jenkins 951 Sep 17 17:37 Makefile 17:38:17 -rw-rw-r--. 1 jenkins jenkins 5716 Sep 17 17:37 README.md 17:38:17 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 17:37 .semver 17:38:17 drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 17:37 snap 17:38:17 -rw-rw-r--. 1 jenkins jenkins 11 Sep 17 17:33 VERSION 17:38:17 -rw-rw-r--. 1 jenkins jenkins 713 Sep 17 17:37 version.go [Pipeline] isUnix [Pipeline] sh 17:38:17 + 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=ec5ba659fde701601f352c67d2492fac5a523e90 --label arch=amd64 --label version=1.1.3-dev.3 . 17:38:18 Sending build context to Docker daemon 8.042MB 17:38:18 Step 1/25 : ARG BASE=golang:1.15-alpine 17:38:18 Step 2/25 : FROM ${BASE} AS builder 17:38:18 ---> 97cb8b9fa95e 17:38:18 Step 3/25 : ARG MAKE='make build' 17:38:18 ---> Running in 6b84244a6e16 17:38:18 Removing intermediate container 6b84244a6e16 17:38:18 ---> 7124d7241fb0 17:38:18 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 17:38:18 ---> Running in 49aa34508cbe 17:38:18 Removing intermediate container 49aa34508cbe 17:38:18 ---> 058c36824c54 17:38:18 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:38:19 ---> Running in fd076a0695ac 17:38:19 Removing intermediate container fd076a0695ac 17:38:19 ---> 65294e950911 17:38:19 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:38:19 ---> Running in f316681854db 17:38:21 Removing intermediate container f316681854db 17:38:21 ---> f679ebe25af2 17:38:21 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:38:21 ---> Running in 5f751fe1df65 17:38:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:38:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:38:23 OK: 166 MiB in 39 packages 17:38:24 Removing intermediate container 5f751fe1df65 17:38:24 ---> dd01b0728b87 17:38:24 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 17:38:24 ---> Running in 6d4a93893f50 17:38:25 Removing intermediate container 6d4a93893f50 17:38:25 ---> 0e9207d332fe 17:38:25 Step 9/25 : COPY go.mod . 17:38:25 ---> b6c7fecaff13 17:38:25 Step 10/25 : COPY Makefile . 17:38:26 ---> 352b54a7516f 17:38:26 Step 11/25 : RUN make update 17:38:26 ---> Running in a3d1682b3a1e 17:38:28 CGO_ENABLED=0 GO111MODULE=on go mod download 17:38:29 Removing intermediate container a3d1682b3a1e 17:38:29 ---> 88a0202ffb14 17:38:29 Step 12/25 : COPY . . 17:38:29 ---> 3ee18936eb11 17:38:29 Step 13/25 : RUN $MAKE 17:38:29 ---> Running in 21278eb62443 17:38:30 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.3" -o cmd/device-rest-go ./cmd 17:38:53 Removing intermediate container 21278eb62443 17:38:53 ---> 4106c2fc1c3c 17:38:53 Step 14/25 : FROM alpine:latest 17:38:53 latest: Pulling from library/alpine 17:38:53 df20fa9351a1: Already exists 17:38:53 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 17:38:53 Status: Downloaded newer image for alpine:latest 17:38:53 ---> a24bb4013296 17:38:53 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:38:53 ---> Running in 693d12c3ef8d 17:38:53 Removing intermediate container 693d12c3ef8d 17:38:53 ---> 1b6571488276 17:38:53 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 17:38:53 ---> Running in 5915e3120570 17:38:53 Removing intermediate container 5915e3120570 17:38:53 ---> 85fd5370094f 17:38:53 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 17:38:53 ---> c7d1296315ea 17:38:53 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 17:38:53 ---> c919d533c8f2 17:38:53 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 17:38:53 ---> fe1e1b227e3a 17:38:53 Step 20/25 : EXPOSE 49986 17:38:53 ---> Running in 448668ef9ed9 17:38:53 Removing intermediate container 448668ef9ed9 17:38:53 ---> 6524bbfffd4f 17:38:53 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 17:38:53 ---> Running in fad18c61b57e 17:38:53 Removing intermediate container fad18c61b57e 17:38:53 ---> 74c0707cc5fe 17:38:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:38:53 ---> Running in 6589be798105 17:38:54 Removing intermediate container 6589be798105 17:38:54 ---> 17a17b9b613b 17:38:54 Step 23/25 : LABEL arch=amd64 17:38:54 ---> Running in fe09c36738dc 17:38:54 Removing intermediate container fe09c36738dc 17:38:54 ---> 996f421bef0e 17:38:54 Step 24/25 : LABEL git_sha=ec5ba659fde701601f352c67d2492fac5a523e90 17:38:54 ---> Running in 7fc4b9b79e08 17:38:54 Removing intermediate container 7fc4b9b79e08 17:38:54 ---> 9768d9ca1e7f 17:38:54 Step 25/25 : LABEL version=1.1.3-dev.3 17:38:55 ---> Running in e545e2bb50cd 17:38:55 Removing intermediate container e545e2bb50cd 17:38:55 ---> 789b350a90ea 17:38:55 [Warning] One or more build-args [ARCH] were not consumed 17:38:55 Successfully built 789b350a90ea 17:38:55 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 17:38:55 provisioning config files... 17:38:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/19@tmp/config1314178956125027505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:56 ---> docker-login.sh 17:38:56 nexus3.edgexfoundry.org:10001 17:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:57 Configure a credential helper to remove this warning. See 17:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:57 17:38:57 Login Succeeded 17:38:57 nexus3.edgexfoundry.org:10002 17:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:59 Configure a credential helper to remove this warning. See 17:38:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:59 17:38:59 Login Succeeded 17:38:59 nexus3.edgexfoundry.org:10003 17:38:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:00 Configure a credential helper to remove this warning. See 17:39:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:00 17:39:00 Login Succeeded 17:39:00 nexus3.edgexfoundry.org:10004 17:39:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:00 Configure a credential helper to remove this warning. See 17:39:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:00 17:39:00 Login Succeeded 17:39:00 docker.io 17:39:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:01 Configure a credential helper to remove this warning. See 17:39:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:01 17:39:01 Login Succeeded 17:39:01 ---> docker-login.sh ends [Pipeline] } 17:39:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:39:01 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 17:39:01 ec5ba659fde701601f352c67d2492fac5a523e90 17:39:01 latest 17:39:01 1.1.3-dev.3 17:39:01 ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 17:39:01 master 17:39:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:39:02 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90 [Pipeline] isUnix [Pipeline] sh 17:39:02 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90 17:39:02 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:39:02 b34833c276ae: Preparing 17:39:02 d0923b0a9f9d: Preparing 17:39:02 ab5584561dbd: Preparing 17:39:02 50644c29ef5a: Preparing 17:39:02 50644c29ef5a: Layer already exists 17:39:02 ab5584561dbd: Pushed 17:39:02 d0923b0a9f9d: Pushed 17:39:04 b34833c276ae: Pushed 17:39:04 ec5ba659fde701601f352c67d2492fac5a523e90: digest: sha256:5d3b7153d9e925be928c6e55a46b7e2a702455b7ff97f4ca1c47d97c77f90c78 size: 1154 [Pipeline] isUnix [Pipeline] sh 17:39:04 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 17:39:05 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 17:39:05 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:39:05 b34833c276ae: Preparing 17:39:05 d0923b0a9f9d: Preparing 17:39:05 ab5584561dbd: Preparing 17:39:05 50644c29ef5a: Preparing 17:39:05 ab5584561dbd: Layer already exists 17:39:05 b34833c276ae: Layer already exists 17:39:05 d0923b0a9f9d: Layer already exists 17:39:05 50644c29ef5a: Layer already exists 17:39:05 latest: digest: sha256:5d3b7153d9e925be928c6e55a46b7e2a702455b7ff97f4ca1c47d97c77f90c78 size: 1154 [Pipeline] isUnix [Pipeline] sh 17:39:05 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.3 [Pipeline] isUnix [Pipeline] sh 17:39:06 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.3 17:39:06 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:39:06 b34833c276ae: Preparing 17:39:06 d0923b0a9f9d: Preparing 17:39:06 ab5584561dbd: Preparing 17:39:06 50644c29ef5a: Preparing 17:39:06 b34833c276ae: Layer already exists 17:39:06 ab5584561dbd: Layer already exists 17:39:06 d0923b0a9f9d: Layer already exists 17:39:06 50644c29ef5a: Layer already exists 17:39:06 1.1.3-dev.3: digest: sha256:5d3b7153d9e925be928c6e55a46b7e2a702455b7ff97f4ca1c47d97c77f90c78 size: 1154 [Pipeline] isUnix [Pipeline] sh 17:39:06 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 [Pipeline] isUnix [Pipeline] sh 17:39:07 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 17:39:07 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:39:07 b34833c276ae: Preparing 17:39:07 d0923b0a9f9d: Preparing 17:39:07 ab5584561dbd: Preparing 17:39:07 50644c29ef5a: Preparing 17:39:07 d0923b0a9f9d: Layer already exists 17:39:07 ab5584561dbd: Layer already exists 17:39:07 b34833c276ae: Layer already exists 17:39:07 50644c29ef5a: Layer already exists 17:39:07 ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3: digest: sha256:5d3b7153d9e925be928c6e55a46b7e2a702455b7ff97f4ca1c47d97c77f90c78 size: 1154 [Pipeline] isUnix [Pipeline] sh 17:39:07 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 17:39:08 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 17:39:08 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:39:08 b34833c276ae: Preparing 17:39:08 d0923b0a9f9d: Preparing 17:39:08 ab5584561dbd: Preparing 17:39:08 50644c29ef5a: Preparing 17:39:08 b34833c276ae: Layer already exists 17:39:08 d0923b0a9f9d: Layer already exists 17:39:08 50644c29ef5a: Layer already exists 17:39:08 ab5584561dbd: Layer already exists 17:39:08 master: digest: sha256:5d3b7153d9e925be928c6e55a46b7e2a702455b7ff97f4ca1c47d97c77f90c78 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:39:08 ===================================================== [Pipeline] echo 17:39:08 taggedImages: 17:39:08 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90 17:39:08 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 17:39:08 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.3 17:39:08 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 17:39:08 - 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 17:39:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 17:39:11 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 17:39:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 17:39:11 17:39:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 17:39:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 17:39:11 1.317.0: Pulling from edgex-devops/edgex-snyk-go 17:39:11 cbdbe7a5bc2a: Pulling fs layer 17:39:11 408f87550127: Pulling fs layer 17:39:11 fe522b08c979: Pulling fs layer 17:39:11 221eaa008020: Pulling fs layer 17:39:11 2a4607e5d6b9: Pulling fs layer 17:39:11 8f79b27c4fd2: Pulling fs layer 17:39:11 e5c8dbe1645b: Pulling fs layer 17:39:11 23e8b3b47431: Pulling fs layer 17:39:11 5c568d65a230: Pulling fs layer 17:39:11 2a4607e5d6b9: Waiting 17:39:11 8f79b27c4fd2: Waiting 17:39:11 e5c8dbe1645b: Waiting 17:39:11 23e8b3b47431: Waiting 17:39:11 5c568d65a230: Waiting 17:39:11 221eaa008020: Waiting 17:39:11 fe522b08c979: Verifying Checksum 17:39:11 fe522b08c979: Download complete 17:39:11 408f87550127: Verifying Checksum 17:39:11 408f87550127: Download complete 17:39:11 2a4607e5d6b9: Download complete 17:39:11 8f79b27c4fd2: Verifying Checksum 17:39:11 8f79b27c4fd2: Download complete 17:39:12 cbdbe7a5bc2a: Download complete 17:39:12 cbdbe7a5bc2a: Pull complete 17:39:12 408f87550127: Pull complete 17:39:12 fe522b08c979: Pull complete 17:39:13 e5c8dbe1645b: Download complete 17:39:13 23e8b3b47431: Verifying Checksum 17:39:13 23e8b3b47431: Download complete 17:39:14 5c568d65a230: Verifying Checksum 17:39:14 5c568d65a230: Download complete 17:39:15 221eaa008020: Download complete 17:39:20 221eaa008020: Pull complete 17:39:20 2a4607e5d6b9: Pull complete 17:39:20 8f79b27c4fd2: Pull complete 17:39:23 e5c8dbe1645b: Pull complete 17:39:26 23e8b3b47431: Pull complete 17:39:27 5c568d65a230: Pull complete 17:39:27 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 17:39:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 17:39:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 17:39:27 prd-centos7-docker-4c-2g-242 does not seem to be running inside a container 17:39:28 $ 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 17:39:29 $ docker top c6d6d3e0208a8fecf7e81b048495f3b562a87a3e3681372c4e0afbd1459b5aaa -eo pid,comm [Pipeline] { [Pipeline] sh 17:39:29 + snyk monitor '--org=edgex-jenkins' 17:39:35 17:39:35 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 17:39:35 17:39:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/78979800-24bc-4653-a8d2-3ee4f072ec0a 17:39:35 17:39:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:39:35 17:39:35 17:39:35 Snyk CLI supports Node.js 8 and higher. 17:39:35 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 17:39:35 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 17:39:35 17:39:35 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 17:39:35 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 17:39:35 $ docker stop --time=1 c6d6d3e0208a8fecf7e81b048495f3b562a87a3e3681372c4e0afbd1459b5aaa 17:39:37 $ docker rm -f c6d6d3e0208a8fecf7e81b048495f3b562a87a3e3681372c4e0afbd1459b5aaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:39:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 17:39:38 17:39:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 17:39:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 17:39:38 latest: Pulling from edgex-devops/edgex-klar 17:39:38 e7c96db7181b: Pulling fs layer 17:39:38 1868ca2cb446: Pulling fs layer 17:39:38 136be5d0fe8e: Pulling fs layer 17:39:38 894bfe63afcb: Pulling fs layer 17:39:38 894bfe63afcb: Waiting 17:39:38 1868ca2cb446: Verifying Checksum 17:39:38 1868ca2cb446: Download complete 17:39:38 136be5d0fe8e: Verifying Checksum 17:39:38 136be5d0fe8e: Download complete 17:39:38 e7c96db7181b: Download complete 17:39:38 894bfe63afcb: Verifying Checksum 17:39:38 894bfe63afcb: Download complete 17:39:38 e7c96db7181b: Pull complete 17:39:39 1868ca2cb446: Pull complete 17:39:39 136be5d0fe8e: Pull complete 17:39:39 894bfe63afcb: Pull complete 17:39:39 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 17:39:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 17:39:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 17:39:39 prd-centos7-docker-4c-2g-242 does not seem to be running inside a container 17:39:40 $ 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 17:39:41 $ docker top 6ef2fc3e0fdf63c0453c746395e55e9253a903d0b0da299bf07463ab703d0724 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:42 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90 17:39:42 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 17:39:46 $ docker stop --time=1 6ef2fc3e0fdf63c0453c746395e55e9253a903d0b0da299bf07463ab703d0724 17:39:47 $ docker rm -f 6ef2fc3e0fdf63c0453c746395e55e9253a903d0b0da299bf07463ab703d0724 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 17:39:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 17:39:48 . [Pipeline] withDockerContainer 17:39:48 prd-centos7-docker-4c-2g-242 does not seem to be running inside a container 17:39:48 $ 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 17:39:49 $ docker top ddd0926bbd38e0c3e989dde24214072284a7754e7786ac9a319840796121b99a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:49 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90 17:39:49 + tee 17:39:49 clair timeout 1m0s 17:39:49 docker timeout: 1m0s 17:39:49 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 17:39:50 $ docker stop --time=1 ddd0926bbd38e0c3e989dde24214072284a7754e7786ac9a319840796121b99a 17:39:51 $ docker rm -f ddd0926bbd38e0c3e989dde24214072284a7754e7786ac9a319840796121b99a [Pipeline] // withDockerContainer [Pipeline] sh 17:39:52 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 17:39:52 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_ec5ba659fde701601f352c67d2492fac5a523e90.html [Pipeline] writeFile [Pipeline] step 17:39:52 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 17:39:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 17:39:52 . [Pipeline] withDockerContainer 17:39:52 prd-centos7-docker-4c-2g-242 does not seem to be running inside a container 17:39:52 $ 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 17:39:53 $ docker top 31e9642969fd4f03a0919ddfa85245601a0d95d2a520029b02eb9bf186735a4b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:54 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90 17:39:54 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 17:39:57 $ docker stop --time=1 31e9642969fd4f03a0919ddfa85245601a0d95d2a520029b02eb9bf186735a4b 17:39:58 $ docker rm -f 31e9642969fd4f03a0919ddfa85245601a0d95d2a520029b02eb9bf186735a4b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 17:39:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 17:39:59 . [Pipeline] withDockerContainer 17:39:59 prd-centos7-docker-4c-2g-242 does not seem to be running inside a container 17:39:59 $ 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 17:40:00 $ docker top 45aeb4ea1bf41d8813fc07424ecdb6735e85c8cb72aab0d15b78f5c9536b2170 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:00 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90 17:40:00 + tee 17:40:00 clair timeout 1m0s 17:40:00 docker timeout: 1m0s 17:40:00 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 17:40:01 $ docker stop --time=1 45aeb4ea1bf41d8813fc07424ecdb6735e85c8cb72aab0d15b78f5c9536b2170 17:40:02 $ docker rm -f 45aeb4ea1bf41d8813fc07424ecdb6735e85c8cb72aab0d15b78f5c9536b2170 [Pipeline] // withDockerContainer [Pipeline] sh 17:40:03 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 17:40:03 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_ec5ba659fde701601f352c67d2492fac5a523e90.html [Pipeline] writeFile [Pipeline] step 17:40:03 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 17:40:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:40:05 . [Pipeline] withDockerContainer 17:40:05 prd-centos7-docker-4c-2g-242 does not seem to be running inside a container 17:40:05 $ 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 17:40:05 $ docker top a7f844468ea847f010dd9f7526a478a77bb9e055266054dba6b92ad8245b4db0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:40:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:40:06 [ssh-agent] Looking for ssh-agent implementation... 17:40:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:40:06 $ docker exec a7f844468ea847f010dd9f7526a478a77bb9e055266054dba6b92ad8245b4db0 ssh-agent 17:40:06 SSH_AUTH_SOCK=/tmp/ssh-KmoIUVwwunye/agent.12 17:40:06 SSH_AGENT_PID=18 17:40:06 Running ssh-add (command line suppressed) 17:40:06 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5552137383232180265.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5552137383232180265.key) 17:40:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:40:07 + git semver tag 17:40:07 # -> Open(): unable to determine branch for HEAD 17:40:07 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 17:40:07 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 17:40:07 # $SEMVER_REMOTE_NAME = origin 17:40:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:40:07 # $SEMVER_USER_NAME = edgex-jenkins 17:40:07 # $SEMVER_BRANCH = master 17:40:07 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 17:40:07 # ec5ba659fde701601f352c67d2492fac5a523e90 HEAD 17:40:07 # -> Force: false 17:40:07 # 949279120be1d79547bda2c4911473796a9122c9 refs/tags/v1.1.3-dev.3 [Pipeline] } 17:40:07 $ docker exec --env ******** --env ******** a7f844468ea847f010dd9f7526a478a77bb9e055266054dba6b92ad8245b4db0 ssh-agent -k 17:40:07 unset SSH_AUTH_SOCK; 17:40:07 unset SSH_AGENT_PID; 17:40:07 echo Agent pid 18 killed; 17:40:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:40:07 + git semver [Pipeline] } 17:40:07 $ docker stop --time=1 a7f844468ea847f010dd9f7526a478a77bb9e055266054dba6b92ad8245b4db0 17:40:09 $ docker rm -f a7f844468ea847f010dd9f7526a478a77bb9e055266054dba6b92ad8245b4db0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 17:40:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:40:09 17:40:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 17:40:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:40:10 0.23.1-centos7: Pulling from edgex-lftools 17:40:10 ab5ef0e58194: Pulling fs layer 17:40:10 9712f1f96733: Pulling fs layer 17:40:10 63f879dbbcfc: Pulling fs layer 17:40:10 0d9ebad4ef96: Pulling fs layer 17:40:10 e9a5061849ea: Pulling fs layer 17:40:10 d747dcd14b5f: Pulling fs layer 17:40:10 2de7ff778b66: Pulling fs layer 17:40:10 0d9ebad4ef96: Waiting 17:40:10 e9a5061849ea: Waiting 17:40:10 d747dcd14b5f: Waiting 17:40:10 2de7ff778b66: Waiting 17:40:10 9712f1f96733: Verifying Checksum 17:40:10 9712f1f96733: Download complete 17:40:12 63f879dbbcfc: Download complete 17:40:12 e9a5061849ea: Verifying Checksum 17:40:12 e9a5061849ea: Download complete 17:40:12 d747dcd14b5f: Verifying Checksum 17:40:12 2de7ff778b66: Verifying Checksum 17:40:12 2de7ff778b66: Download complete 17:40:12 0d9ebad4ef96: Verifying Checksum 17:40:12 0d9ebad4ef96: Download complete 17:40:13 ab5ef0e58194: Verifying Checksum 17:40:13 ab5ef0e58194: Download complete 17:40:17 ab5ef0e58194: Pull complete 17:40:17 9712f1f96733: Pull complete 17:40:20 63f879dbbcfc: Pull complete 17:40:26 0d9ebad4ef96: Pull complete 17:40:26 e9a5061849ea: Pull complete 17:40:26 d747dcd14b5f: Pull complete 17:40:29 2de7ff778b66: Pull complete 17:40:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:40:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:40:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 17:40:30 prd-centos7-docker-4c-2g-242 does not seem to be running inside a container 17:40:30 $ 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 17:40:34 $ docker top bdcaafdba0cd32b34f43c4b2877f6b1161497c6ae99109135934ed44d129c491 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:40:34 provisioning config files... 17:40:34 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6536941698603371552tmp 17:40:34 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8991271085926714693tmp 17:40:34 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4101230455411625169tmp [Pipeline] { [Pipeline] echo 17:40:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:40:34 ---> sigul-configuration.sh 17:40:34 gpg: directory `/root/.gnupg' created 17:40:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:40:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:40:34 gpg: keyring `/root/.gnupg/secring.gpg' created 17:40:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:40:34 gpg: CAST5 encrypted data 17:40:34 gpg: encrypted with 1 passphrase 17:40:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:40:35 + mkdir /home/jenkins 17:40:35 + mkdir /home/jenkins/sigul [Pipeline] sh 17:40:35 + 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 17:40:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:40:35 ---> sigul-install.sh 17:40:42 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 17:40:42 + git tag --list 17:40:42 v1.1.3-dev.3 [Pipeline] sh 17:40:43 + lftools sign git-tag v1.1.3-dev.3 17:40:44 Signing Git tag with Sigul... 17:40:44 Signing v1.1.3-dev.3 [Pipeline] echo 17:40:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:40:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:40:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:40:45 $ docker stop --time=1 bdcaafdba0cd32b34f43c4b2877f6b1161497c6ae99109135934ed44d129c491 17:40:47 $ docker rm -f bdcaafdba0cd32b34f43c4b2877f6b1161497c6ae99109135934ed44d129c491 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 17:40:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:40:48 . [Pipeline] withDockerContainer 17:40:48 prd-centos7-docker-4c-2g-242 does not seem to be running inside a container 17:40:49 $ 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 17:40:49 $ docker top d61c6aca7f0070212d6dd6e7f2c85c861adea729441be5386ce3191db90aea81 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:40:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:40:49 [ssh-agent] Looking for ssh-agent implementation... 17:40:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:40:50 $ docker exec d61c6aca7f0070212d6dd6e7f2c85c861adea729441be5386ce3191db90aea81 ssh-agent 17:40:50 SSH_AUTH_SOCK=/tmp/ssh-widPIaWz9fAc/agent.12 17:40:50 SSH_AGENT_PID=18 17:40:50 Running ssh-add (command line suppressed) 17:40:50 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2198164045477205221.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2198164045477205221.key) 17:40:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:40:50 + git semver bump pre 17:40:50 # -> Open(): unable to determine branch for HEAD 17:40:50 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 17:40:50 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 17:40:50 # $SEMVER_REMOTE_NAME = origin 17:40:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:40:50 # $SEMVER_USER_NAME = edgex-jenkins 17:40:50 # $SEMVER_BRANCH = master 17:40:50 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 17:40:50 1.1.3-dev.4 [Pipeline] } 17:40:50 $ docker exec --env ******** --env ******** d61c6aca7f0070212d6dd6e7f2c85c861adea729441be5386ce3191db90aea81 ssh-agent -k 17:40:50 unset SSH_AUTH_SOCK; 17:40:50 unset SSH_AGENT_PID; 17:40:50 echo Agent pid 18 killed; 17:40:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:40:51 + git semver [Pipeline] } 17:40:51 $ docker stop --time=1 d61c6aca7f0070212d6dd6e7f2c85c861adea729441be5386ce3191db90aea81 17:40:52 $ docker rm -f d61c6aca7f0070212d6dd6e7f2c85c861adea729441be5386ce3191db90aea81 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 17:40:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:40:53 . [Pipeline] withDockerContainer 17:40:53 prd-centos7-docker-4c-2g-242 does not seem to be running inside a container 17:40:53 $ 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 17:40:54 $ docker top 89503584aaecf691a22e5157bfecc9d7d8bbfa0f20fa4a4b9b34fdc6b2cf944c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:40:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:40:54 [ssh-agent] Looking for ssh-agent implementation... 17:40:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:40:54 $ docker exec 89503584aaecf691a22e5157bfecc9d7d8bbfa0f20fa4a4b9b34fdc6b2cf944c ssh-agent 17:40:54 SSH_AUTH_SOCK=/tmp/ssh-4oRsAlQZi6bg/agent.12 17:40:54 SSH_AGENT_PID=17 17:40:54 Running ssh-add (command line suppressed) 17:40:55 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4675732131776400873.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4675732131776400873.key) 17:40:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:40:55 + git semver push 17:40:55 # -> Open(): unable to determine branch for HEAD 17:40:55 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 17:40:55 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 17:40:55 # $SEMVER_REMOTE_NAME = origin 17:40:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:40:55 # $SEMVER_USER_NAME = edgex-jenkins 17:40:55 # $SEMVER_BRANCH = master 17:40:55 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 17:41:02 $ docker exec --env ******** --env ******** 89503584aaecf691a22e5157bfecc9d7d8bbfa0f20fa4a4b9b34fdc6b2cf944c ssh-agent -k 17:41:02 unset SSH_AUTH_SOCK; 17:41:02 unset SSH_AGENT_PID; 17:41:02 echo Agent pid 17 killed; 17:41:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:41:02 + git semver [Pipeline] } 17:41:02 $ docker stop --time=1 89503584aaecf691a22e5157bfecc9d7d8bbfa0f20fa4a4b9b34fdc6b2cf944c 17:41:04 $ docker rm -f 89503584aaecf691a22e5157bfecc9d7d8bbfa0f20fa4a4b9b34fdc6b2cf944c [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 17:41:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:41:06 ---> package-listing.sh 17:41:06 ++ facter osfamily 17:41:06 ++ tr '[:upper:]' '[:lower:]' 17:41:06 + OS_FAMILY=redhat 17:41:06 + workspace=/w/workspace/gexfoundry_device-rest-go_master 17:41:06 + START_PACKAGES=/tmp/packages_start.txt 17:41:06 + END_PACKAGES=/tmp/packages_end.txt 17:41:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:41:06 + PACKAGES=/tmp/packages_start.txt 17:41:06 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 17:41:06 + PACKAGES=/tmp/packages_end.txt 17:41:06 + case "${OS_FAMILY}" in 17:41:06 + rpm -qa 17:41:06 + sort 17:41:10 + '[' -f /tmp/packages_start.txt ']' 17:41:10 + '[' -f /tmp/packages_end.txt ']' 17:41:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:41:10 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 17:41:10 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 17:41:10 + 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 17:41:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:41:11 17:41:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:41:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:41:11 alpine: Pulling from edgex-lftools-log-publisher 17:41:11 df20fa9351a1: Pulling fs layer 17:41:11 36b3adc4ff6f: Pulling fs layer 17:41:11 8ad3a11d3b57: Pulling fs layer 17:41:11 46f8f816bc3b: Pulling fs layer 17:41:11 0dadc02b9964: Pulling fs layer 17:41:11 ce6a7cf60c04: Pulling fs layer 17:41:11 7a184a31f384: Pulling fs layer 17:41:11 0879bd2ef858: Pulling fs layer 17:41:11 46f8f816bc3b: Waiting 17:41:11 0dadc02b9964: Waiting 17:41:11 ce6a7cf60c04: Waiting 17:41:11 7a184a31f384: Waiting 17:41:11 0879bd2ef858: Waiting 17:41:11 36b3adc4ff6f: Verifying Checksum 17:41:11 36b3adc4ff6f: Download complete 17:41:11 46f8f816bc3b: Verifying Checksum 17:41:11 46f8f816bc3b: Download complete 17:41:12 0dadc02b9964: Verifying Checksum 17:41:12 0dadc02b9964: Download complete 17:41:12 8ad3a11d3b57: Verifying Checksum 17:41:12 8ad3a11d3b57: Download complete 17:41:12 df20fa9351a1: Verifying Checksum 17:41:12 df20fa9351a1: Download complete 17:41:12 7a184a31f384: Verifying Checksum 17:41:12 7a184a31f384: Download complete 17:41:12 ce6a7cf60c04: Verifying Checksum 17:41:12 ce6a7cf60c04: Download complete 17:41:12 df20fa9351a1: Pull complete 17:41:12 0879bd2ef858: Verifying Checksum 17:41:12 0879bd2ef858: Download complete 17:41:12 36b3adc4ff6f: Pull complete 17:41:13 8ad3a11d3b57: Pull complete 17:41:13 46f8f816bc3b: Pull complete 17:41:13 0dadc02b9964: Pull complete 17:41:14 ce6a7cf60c04: Pull complete 17:41:14 7a184a31f384: Pull complete 17:41:17 0879bd2ef858: Pull complete 17:41:17 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 17:41:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:41:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:41:17 prd-centos7-docker-4c-2g-242 does not seem to be running inside a container 17:41:17 $ 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 17:41:20 $ docker top 3350ef3ebac13604516f2a3dbe25781d3b717e4dd3dacf57943d45d2aef183da -eo pid,comm [Pipeline] { [Pipeline] sh 17:41:21 + mkdir -p /var/log/sa [Pipeline] sh 17:41:21 + ls /var/log/sa-host 17:41:21 + sadf -c /var/log/sa-host/sa05 17:41:21 file_magic: OK 17:41:21 HZ: Using current value: 100 17:41:21 file_header: OK 17:41:21 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 17:41:21 Statistics: 17:41:21 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:41:21 File successfully converted to sysstat format version 12.2.1 17:41:21 + sadf -c /var/log/sa-host/sa17 17:41:21 file_magic: OK 17:41:21 HZ: Using current value: 100 17:41:21 file_header: OK 17:41:21 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 17:41:21 Statistics: 17:41:21 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:41:21 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:41:21 provisioning config files... 17:41:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3495851823444618921tmp [Pipeline] { [Pipeline] echo 17:41:21 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:41:22 ---> create-netrc.sh [Pipeline] echo 17:41:22 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:41:22 ---> logs-deploy.sh 17:41:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/19 17:41:22 INFO: archiving workspace using pattern(s): 17:41:23 Archives upload complete. 17:41:23 INFO: archiving logs to Nexus 17:41:24 ---> uname -a: 17:41:24 Linux 3350ef3ebac1 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 17:41:24 17:41:24 17:41:24 ---> lscpu: 17:41:24 Architecture: x86_64 17:41:24 CPU op-mode(s): 32-bit, 64-bit 17:41:24 Byte Order: Little Endian 17:41:24 Address sizes: 40 bits physical, 48 bits virtual 17:41:24 CPU(s): 4 17:41:24 On-line CPU(s) list: 0-3 17:41:24 Thread(s) per core: 1 17:41:24 Core(s) per socket: 1 17:41:24 Socket(s): 4 17:41:24 NUMA node(s): 1 17:41:24 Vendor ID: GenuineIntel 17:41:24 CPU family: 6 17:41:24 Model: 44 17:41:24 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 17:41:24 Stepping: 1 17:41:24 CPU MHz: 2933.442 17:41:24 BogoMIPS: 5866.88 17:41:24 Virtualization: VT-x 17:41:24 Hypervisor vendor: KVM 17:41:24 Virtualization type: full 17:41:24 L1d cache: 128 KiB 17:41:24 L1i cache: 128 KiB 17:41:24 L2 cache: 16 MiB 17:41:24 L3 cache: 64 MiB 17:41:24 NUMA node0 CPU(s): 0-3 17:41:24 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 17:41:24 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 17:41:24 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 17:41:24 Vulnerability Meltdown: Mitigation; PTI 17:41:24 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:41:24 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 17:41:24 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 17:41:24 Vulnerability Tsx async abort: Not affected 17:41:24 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 17:41:24 17:41:24 17:41:24 ---> nproc: 17:41:24 4 17:41:24 17:41:24 17:41:24 ---> df -h: 17:41:24 Filesystem Size Used Available Use% Mounted on 17:41:24 overlay 50.0G 8.2G 41.8G 16% / 17:41:24 tmpfs 64.0M 0 64.0M 0% /dev 17:41:24 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 17:41:24 shm 64.0M 0 64.0M 0% /dev/shm 17:41:24 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/resolv.conf 17:41:24 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hostname 17:41:24 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hosts 17:41:24 /dev/vda1 50.0G 8.2G 41.8G 16% /var/log/sa-host 17:41:24 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/gexfoundry_device-rest-go_master 17:41:24 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/gexfoundry_device-rest-go_master@tmp 17:41:24 17:41:24 17:41:24 ---> free -m: 17:41:24 total used free shared buff/cache available 17:41:24 Mem: 1837 776 118 0 942 997 17:41:24 Swap: 1023 3 1020 17:41:24 17:41:24 17:41:24 ---> ip addr: 17:41:24 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 17:41:24 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:41:24 inet 127.0.0.1/8 scope host lo 17:41:24 valid_lft forever preferred_lft forever 17:41:24 24: eth0@if25: mtu 1458 qdisc noqueue state UP 17:41:24 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 17:41:24 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 17:41:24 valid_lft forever preferred_lft forever 17:41:24 17:41:24 17:41:24 ---> sar -b -r -n DEV: 17:41:24 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/17/20 _x86_64_ (4 CPU) 17:41:24 17:41:24 17:32:09 LINUX RESTART (4 CPU) 17:41:24 17:41:24 17:33:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:41:24 17:34:01 25.80 8.83 16.97 0.00 4212.49 2631.42 0.00 17:41:24 17:35:01 1.72 0.00 1.72 0.00 0.00 28.88 0.00 17:41:24 17:36:02 0.38 0.00 0.38 0.00 0.00 5.33 0.00 17:41:24 17:37:01 0.19 0.00 0.19 0.00 0.00 1.91 0.00 17:41:24 17:38:01 0.27 0.00 0.27 0.00 0.00 3.28 0.00 17:41:24 17:39:01 0.35 0.02 0.33 0.00 0.13 4.10 0.00 17:41:24 17:40:01 224.21 123.89 100.32 0.00 6900.08 31953.59 0.00 17:41:24 17:41:01 200.70 73.97 126.73 0.00 4378.50 32955.63 0.00 17:41:24 Average: 56.84 25.90 30.94 0.00 1940.93 8469.01 0.00 17:41:24 17:41:24 17:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:41:24 17:34:01 171264 0 526652 27.99 2620 1181020 1114064 38.02 412844 1137836 24 17:41:24 17:35:01 173460 0 524452 27.87 2620 1181024 1080116 36.86 412484 1136460 8 17:41:24 17:36:02 172368 0 525536 27.93 2620 1181032 1080420 36.87 415764 1134544 8 17:41:24 17:37:01 170820 0 527084 28.01 2620 1181032 1080360 36.87 419384 1132276 16 17:41:24 17:38:01 171240 0 526660 27.99 2620 1181036 1080252 36.87 422100 1129212 12 17:41:24 17:39:01 172028 0 525860 27.95 2620 1181048 1080180 36.86 424996 1125836 12 17:41:24 17:40:01 194164 0 635024 33.75 2596 1049772 1307044 44.61 550884 940564 44 17:41:24 17:41:01 239700 0 728360 38.71 1656 911840 1228164 41.92 587200 765676 48 17:41:24 Average: 183130 0 564954 30.03 2496 1130976 1131325 38.61 455707 1062800 22 17:41:24 17:41:24 17:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:41:24 17:34:01 eth0 145.85 123.78 476.04 163.88 0.00 0.00 0.00 0.00 17:41:24 17:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:34:01 docker0 41.88 31.37 3.56 132.02 0.00 0.00 0.00 0.00 17:41:24 17:35:01 eth0 0.82 0.08 0.07 0.01 0.00 0.00 0.00 0.00 17:41:24 17:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:36:02 eth0 1.10 0.48 0.29 0.21 0.00 0.00 0.00 0.00 17:41:24 17:36:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:36:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:37:01 eth0 0.85 0.44 0.34 0.21 0.00 0.00 0.00 0.00 17:41:24 17:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:38:01 eth0 0.27 0.18 0.14 0.07 0.00 0.00 0.00 0.00 17:41:24 17:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:39:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:41:24 17:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:40:01 eth0 502.85 434.83 4037.77 80.92 0.00 0.00 0.00 0.00 17:41:24 17:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:40:01 vetha2902e9 0.35 0.33 0.08 0.17 0.00 0.00 0.00 0.00 17:41:24 17:40:01 docker0 23.16 20.14 2.84 50.35 0.00 0.00 0.00 0.00 17:41:24 17:41:01 veth3738c8e 1.68 1.25 0.26 0.21 0.00 0.00 0.00 0.00 17:41:24 17:41:01 eth0 551.77 473.41 3610.75 115.27 0.00 0.00 0.00 0.00 17:41:24 17:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 17:41:01 docker0 32.04 34.03 2.16 206.28 0.00 0.00 0.00 0.00 17:41:24 Average: veth3738c8e 0.21 0.16 0.03 0.03 0.00 0.00 0.00 0.00 17:41:24 Average: eth0 150.81 129.48 1018.18 45.17 0.00 0.00 0.00 0.00 17:41:24 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:24 Average: docker0 12.16 10.72 1.07 48.70 0.00 0.00 0.00 0.00 17:41:24 17:41:24 17:41:24 ---> sar -P ALL: 17:41:24 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/17/20 _x86_64_ (4 CPU) 17:41:24 17:41:24 17:32:09 LINUX RESTART (4 CPU) 17:41:24 17:41:24 17:33:01 CPU %user %nice %system %iowait %steal %idle 17:41:24 17:34:01 all 3.05 0.00 1.52 0.39 0.00 95.03 17:41:24 17:34:01 0 3.20 0.00 1.54 1.21 0.00 94.06 17:41:24 17:34:01 1 3.24 0.00 1.65 0.17 0.02 94.92 17:41:24 17:34:01 2 3.16 0.00 1.37 0.13 0.00 95.33 17:41:24 17:34:01 3 2.61 0.00 1.52 0.07 0.00 95.80 17:41:24 17:35:01 all 0.15 0.00 0.03 0.00 0.00 99.82 17:41:24 17:35:01 0 0.02 0.00 0.03 0.00 0.00 99.95 17:41:24 17:35:01 1 0.52 0.00 0.03 0.00 0.00 99.45 17:41:24 17:35:01 2 0.03 0.00 0.05 0.00 0.00 99.92 17:41:24 17:35:01 3 0.03 0.00 0.02 0.00 0.00 99.95 17:41:24 17:36:02 all 0.18 0.00 0.03 0.00 0.00 99.79 17:41:24 17:36:02 0 0.05 0.00 0.05 0.00 0.00 99.90 17:41:24 17:36:02 1 0.55 0.00 0.02 0.00 0.00 99.43 17:41:24 17:36:02 2 0.07 0.00 0.03 0.00 0.02 99.88 17:41:24 17:36:02 3 0.05 0.00 0.02 0.00 0.00 99.93 17:41:24 17:37:01 all 0.16 0.00 0.04 0.00 0.00 99.80 17:41:24 17:37:01 0 0.02 0.00 0.03 0.00 0.00 99.95 17:41:24 17:37:01 1 0.51 0.00 0.03 0.00 0.00 99.46 17:41:24 17:37:01 2 0.07 0.00 0.07 0.00 0.00 99.86 17:41:24 17:37:01 3 0.03 0.00 0.03 0.00 0.00 99.93 17:41:24 17:38:01 all 0.15 0.00 0.05 0.00 0.00 99.79 17:41:24 17:38:01 0 0.02 0.00 0.13 0.00 0.00 99.85 17:41:24 17:38:01 1 0.52 0.00 0.02 0.00 0.00 99.47 17:41:24 17:38:01 2 0.05 0.00 0.05 0.00 0.00 99.90 17:41:24 17:38:01 3 0.03 0.00 0.02 0.00 0.00 99.95 17:41:24 17:39:01 all 0.13 0.00 0.03 0.00 0.00 99.83 17:41:24 17:39:01 0 0.00 0.00 0.05 0.00 0.00 99.95 17:41:24 17:39:01 1 0.47 0.00 0.02 0.00 0.00 99.52 17:41:24 17:39:01 2 0.03 0.00 0.05 0.00 0.00 99.92 17:41:24 17:39:01 3 0.03 0.00 0.02 0.02 0.00 99.93 17:41:24 17:40:01 all 9.10 0.00 6.08 2.69 0.03 82.11 17:41:24 17:40:01 0 8.10 0.00 6.54 1.79 0.03 83.54 17:41:24 17:40:01 1 9.80 0.00 5.44 3.35 0.03 81.37 17:41:24 17:40:01 2 8.38 0.00 5.91 1.74 0.03 83.93 17:41:24 17:40:01 3 10.10 0.00 6.44 3.86 0.02 79.59 17:41:24 17:41:01 all 11.17 0.00 7.87 3.01 0.03 77.93 17:41:24 17:41:01 0 9.64 0.00 7.96 2.47 0.03 79.89 17:41:24 17:41:01 1 10.25 0.00 8.17 3.00 0.02 78.57 17:41:24 17:41:01 2 10.32 0.00 7.92 3.22 0.02 78.52 17:41:24 17:41:01 3 14.46 0.00 7.42 3.34 0.05 74.73 17:41:24 Average: all 2.98 0.00 1.94 0.75 0.01 94.31 17:41:24 Average: 0 2.60 0.00 2.02 0.68 0.01 94.70 17:41:24 Average: 1 3.21 0.00 1.91 0.81 0.01 94.07 17:41:24 Average: 2 2.74 0.00 1.91 0.63 0.01 94.70 17:41:24 Average: 3 3.39 0.00 1.92 0.90 0.01 93.79 17:41:24 17:41:24 17:41:24