Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0a79c20c2d893aa8ea9da840411e787f3e51ca5b 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-815 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 0a79c20c2d893aa8ea9da840411e787f3e51ca5b (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 0a79c20c2d893aa8ea9da840411e787f3e51ca5b # timeout=10 Commit message: "build: upgrade device-sdk-go (#42)" > git rev-list --no-walk 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:03:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:03:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:03:11 ========================================================= 11:03:11 EdgeX Global Pipelines Version Info 11:03:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:03:12 ------------------- 11:03:12 stable info: 11:03:12 ------------------- 11:03:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:03:12 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 11:03:12 Message: update stable to v1.0.122 11:03:13 ------------------- 11:03:13 experimental info: 11:03:13 ------------------- 11:03:13 Commited By: **** collab-it+edgex@linuxfoundation.org 11:03:13 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 11:03:13 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 11:03:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 11:03:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 11:03:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:03:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:03:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:03:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 11:03:15 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 11:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 11:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 11:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:03:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:03:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:03:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:03:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:03:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:03:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:03:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:03:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:03:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 11:03:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 11:03:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 11:03:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a79c20c2d893aa8ea9da840411e787f3e51ca5b [Pipeline] echo 11:03:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a79c20 [Pipeline] echo 11:03:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:03:18 + git log --format=format:%s -1 0a79c20c2d893aa8ea9da840411e787f3e51ca5b [Pipeline] echo 11:03:18 GIT_COMMIT: 0a79c20c2d893aa8ea9da840411e787f3e51ca5b, Commit Message: build: upgrade device-sdk-go (#42) [Pipeline] echo 11:03:18 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:03:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:03:19 11:03:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:03:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:03:19 latest: Pulling from edgex-devops/git-semver 11:03:19 31603596830f: Pulling fs layer 11:03:19 2a8b12db71e7: Pulling fs layer 11:03:19 6ca5941a6612: Pulling fs layer 11:03:19 ecc8261a40a4: Pulling fs layer 11:03:19 ecc8261a40a4: Waiting 11:03:20 2a8b12db71e7: Verifying Checksum 11:03:20 2a8b12db71e7: Download complete 11:03:20 31603596830f: Verifying Checksum 11:03:20 31603596830f: Download complete 11:03:20 ecc8261a40a4: Verifying Checksum 11:03:20 ecc8261a40a4: Download complete 11:03:20 6ca5941a6612: Verifying Checksum 11:03:20 6ca5941a6612: Download complete 11:03:20 31603596830f: Pull complete 11:03:20 2a8b12db71e7: Pull complete 11:03:21 6ca5941a6612: Pull complete 11:03:21 ecc8261a40a4: Pull complete 11:03:21 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 11:03:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:03:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:03:21 prd-centos7-docker-4c-2g-815 does not seem to be running inside a container 11:03:21 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:03:23 $ docker top 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:03:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:03:23 [ssh-agent] Looking for ssh-agent implementation... 11:03:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:03:24 $ docker exec 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea ssh-agent 11:03:24 SSH_AUTH_SOCK=/tmp/ssh-hSHF8ufvg8iv/agent.13 11:03:24 SSH_AGENT_PID=18 11:03:24 Running ssh-add (command line suppressed) 11:03:24 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1906146399919839609.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1906146399919839609.key) 11:03:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:03:24 + git describe --exact-match --tags HEAD 11:03:24 fatal: No names found, cannot describe anything. [Pipeline] } 11:03:24 $ docker exec --env ******** --env ******** 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea ssh-agent -k 11:03:25 unset SSH_AUTH_SOCK; 11:03:25 unset SSH_AGENT_PID; 11:03:25 echo Agent pid 18 killed; 11:03:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:03:25 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 11:03:25 This usually means this commit has not been tagged. [Pipeline] sshagent 11:03:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:03:25 [ssh-agent] Looking for ssh-agent implementation... 11:03:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:03:25 $ docker exec 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea ssh-agent 11:03:25 SSH_AUTH_SOCK=/tmp/ssh-J79SHD0opPIx/agent.46 11:03:25 SSH_AGENT_PID=51 11:03:25 Running ssh-add (command line suppressed) 11:03:25 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4167380018813244856.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4167380018813244856.key) 11:03:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:03:26 + git semver init 11:03:26 # -> Open(): unable to determine branch for HEAD 11:03:26 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 11:03:26 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 11:03:26 # $SEMVER_REMOTE_NAME = origin 11:03:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:03:26 # $SEMVER_USER_NAME = edgex-jenkins 11:03:26 # $SEMVER_BRANCH = master 11:03:26 # $SEMVER_TEMP = /tmp/semver-158715532 11:03:26 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 11:03:28 # '/tmp/semver-158715532' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 11:03:28 # -> Force: false 11:03:28 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 11:03:28 $ docker exec --env ******** --env ******** 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea ssh-agent -k 11:03:28 unset SSH_AUTH_SOCK; 11:03:28 unset SSH_AGENT_PID; 11:03:28 echo Agent pid 51 killed; 11:03:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:03:29 + git semver [Pipeline] } 11:03:29 $ docker stop --time=1 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea 11:03:30 $ docker rm -f 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 11:03:32 Stashed 19 file(s) [Pipeline] echo 11:03:32 [edgeXSemver]: initialized semver on version 1.1.3-dev.5 [Pipeline] echo 11:03:32 Archived original version: [1.1.3-dev.5] [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 11:03:47 Still waiting to schedule task 11:03:47 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-815’ 11:03:47 Still waiting to schedule task 11:03:47 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:05:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-817 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 11:05:44 Running in /w/workspace/device-rest-go/21 [Pipeline] { [Pipeline] checkout 11:05:50 using credential edgex-jenkins-ssh 11:05:50 Cloning the remote Git repository 11:05:50 Cloning with configured refspecs honoured and without tags 11:05:50 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:05:51 > git init /w/workspace/device-rest-go/21 # timeout=10 11:05:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:05:51 > git --version # timeout=10 11:05:51 > git --version # 'git version 2.17.1' 11:05:51 using GIT_SSH to set credentials SSH Credentials for GitHub 11:05:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 11:05:52 Fetching without tags 11:05:52 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:05:52 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:05:52 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:05:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:05:52 using GIT_SSH to set credentials SSH Credentials for GitHub 11:05:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 11:05:53 Checking out Revision 0a79c20c2d893aa8ea9da840411e787f3e51ca5b (master) 11:05:53 > git config core.sparsecheckout # timeout=10 11:05:53 > git checkout -f 0a79c20c2d893aa8ea9da840411e787f3e51ca5b # timeout=10 11:05:57 Commit message: "build: upgrade device-sdk-go (#42)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:05:59 ========================================================= 11:05:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 11:05:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:06:01 + 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 . 11:06:02 Sending build context to Docker daemon 8.049MB 11:06:02 Step 1/10 : ARG BASE=golang:1.15-alpine 11:06:02 Step 2/10 : FROM ${BASE} 11:06:02 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:06:02 b538f80385f9: Pulling fs layer 11:06:02 74f711af9a0d: Pulling fs layer 11:06:02 99f96fe45779: Pulling fs layer 11:06:02 8529a6b9a6be: Pulling fs layer 11:06:02 45590311c82a: Pulling fs layer 11:06:02 69ca0ff8b7b3: Pulling fs layer 11:06:02 209524e5b208: Pulling fs layer 11:06:02 8529a6b9a6be: Waiting 11:06:02 45590311c82a: Waiting 11:06:02 69ca0ff8b7b3: Waiting 11:06:02 209524e5b208: Waiting 11:06:02 99f96fe45779: Verifying Checksum 11:06:02 99f96fe45779: Download complete 11:06:02 74f711af9a0d: Download complete 11:06:02 45590311c82a: Verifying Checksum 11:06:02 45590311c82a: Download complete 11:06:02 69ca0ff8b7b3: Verifying Checksum 11:06:02 69ca0ff8b7b3: Download complete 11:06:02 b538f80385f9: Verifying Checksum 11:06:02 b538f80385f9: Download complete 11:06:03 b538f80385f9: Pull complete 11:06:03 74f711af9a0d: Pull complete 11:06:04 99f96fe45779: Pull complete 11:06:05 209524e5b208: Verifying Checksum 11:06:05 209524e5b208: Download complete 11:06:05 8529a6b9a6be: Verifying Checksum 11:06:05 8529a6b9a6be: Download complete 11:06:18 8529a6b9a6be: Pull complete 11:06:18 45590311c82a: Pull complete 11:06:18 69ca0ff8b7b3: Pull complete 11:06:21 209524e5b208: Pull complete 11:06:21 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 11:06:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 11:06:21 ---> 5bddaf1c2fca 11:06:21 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 11:06:24 ---> Running in f17b2fd5a5d0 11:06:24 Removing intermediate container f17b2fd5a5d0 11:06:24 ---> a31ee83a57f9 11:06:24 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:06:24 ---> Running in 3b0a574af579 11:06:25 Removing intermediate container 3b0a574af579 11:06:25 ---> 8edd6baed518 11:06:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:06:25 ---> Running in cb31a919ce7d 11:06:25 Removing intermediate container cb31a919ce7d 11:06:25 ---> dbeba5a4c8be 11:06:25 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:25 ---> Running in 7de881c50175 11:06:28 Removing intermediate container 7de881c50175 11:06:28 ---> 48edbde4002c 11:06:28 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:06:28 ---> Running in c89bc8aa0c0d 11:06:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:06:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:06:31 OK: 142 MiB in 39 packages 11:06:33 Removing intermediate container c89bc8aa0c0d 11:06:33 ---> f391f7e521e5 11:06:33 Step 8/10 : WORKDIR /device-rest-go 11:06:33 ---> Running in 61fa1f2defc4 11:06:33 Removing intermediate container 61fa1f2defc4 11:06:33 ---> cc04bbf8815b 11:06:33 Step 9/10 : COPY . . 11:06:34 ---> a0bc809b3106 11:06:34 Step 10/10 : RUN go mod download 11:06:34 ---> Running in 946fdab7633d 11:06:39 Running on prd-centos7-docker-4c-2g-818 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 11:06:39 Running in /w/workspace/device-rest-go/21 [Pipeline] { [Pipeline] checkout 11:06:42 using credential edgex-jenkins-ssh 11:06:42 Cloning the remote Git repository 11:06:42 Cloning with configured refspecs honoured and without tags 11:06:42 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:06:42 > git init /w/workspace/device-rest-go/21 # timeout=10 11:06:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:06:42 > git --version # timeout=10 11:06:42 > git --version # 'git version 2.16.5' 11:06:42 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 11:06:43 Fetching without tags 11:06:44 Checking out Revision 0a79c20c2d893aa8ea9da840411e787f3e51ca5b (master) 11:06:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:06:43 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:06:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:06:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:06:43 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 11:06:44 > git config core.sparsecheckout # timeout=10 11:06:44 > git checkout -f 0a79c20c2d893aa8ea9da840411e787f3e51ca5b # timeout=10 11:06:47 Commit message: "build: upgrade device-sdk-go (#42)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:06:49 ========================================================= 11:06:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 11:06:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:06:49 + 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 . 11:06:49 Removing intermediate container 946fdab7633d 11:06:49 ---> e3ad6ddd2882 11:06:49 Successfully built e3ad6ddd2882 11:06:49 Successfully tagged ci-base-image-arm64:latest 11:06:50 Sending build context to Docker daemon 8.049MB 11:06:50 Step 1/10 : ARG BASE=golang:1.15-alpine 11:06:50 Step 2/10 : FROM ${BASE} [Pipeline] isUnix [Pipeline] sh 11:06:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 11:06:50 df20fa9351a1: Pulling fs layer 11:06:50 ed8968b2872e: Pulling fs layer 11:06:50 a92cc7c5fd73: Pulling fs layer 11:06:50 e871e8e8d7a9: Pulling fs layer 11:06:50 e73272ec9a57: Pulling fs layer 11:06:50 1e910a182e73: Pulling fs layer 11:06:50 4e634b169226: Pulling fs layer 11:06:50 e73272ec9a57: Waiting 11:06:50 4e634b169226: Waiting 11:06:50 e871e8e8d7a9: Waiting 11:06:50 a92cc7c5fd73: Verifying Checksum 11:06:50 a92cc7c5fd73: Download complete 11:06:50 ed8968b2872e: Verifying Checksum 11:06:50 ed8968b2872e: Download complete 11:06:50 e73272ec9a57: Verifying Checksum 11:06:50 e73272ec9a57: Download complete 11:06:50 1e910a182e73: Verifying Checksum 11:06:50 1e910a182e73: Download complete 11:06:50 df20fa9351a1: Verifying Checksum 11:06:50 df20fa9351a1: Download complete 11:06:50 + docker inspect -f . ci-base-image-arm64 11:06:50 . [Pipeline] withDockerContainer 11:06:50 df20fa9351a1: Pull complete 11:06:50 prd-ubuntu18.04-docker-arm64-4c-16g-817 does not seem to be running inside a container 11:06:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@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 11:06:50 ed8968b2872e: Pull complete 11:06:51 a92cc7c5fd73: Pull complete 11:06:52 4e634b169226: Verifying Checksum 11:06:52 4e634b169226: Download complete 11:06:52 $ docker top 1f66fd30ad203f1a0c6efc50da7ed9dff32b919b0154f6e94095c99f3f9ec8ba -eo pid,comm 11:06:52 e871e8e8d7a9: Verifying Checksum 11:06:52 e871e8e8d7a9: Download complete [Pipeline] { [Pipeline] sh 11:06:54 + go version 11:06:54 go version go1.15.2 linux/arm64 [Pipeline] } 11:06:54 $ docker stop --time=1 1f66fd30ad203f1a0c6efc50da7ed9dff32b919b0154f6e94095c99f3f9ec8ba 11:06:55 $ docker rm -f 1f66fd30ad203f1a0c6efc50da7ed9dff32b919b0154f6e94095c99f3f9ec8ba [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] { 11:06:58 e871e8e8d7a9: Pull complete 11:06:58 e73272ec9a57: Pull complete 11:06:58 1e910a182e73: Pull complete [Pipeline] sh 11:06:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:06:59 + ls -al . 11:06:59 total 100 11:06:59 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 11:05 . 11:06:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 11:05 .. 11:06:59 -rw-rw-r-- 1 jenkins jenkins 151 Sep 22 11:05 .dockerignore 11:06:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 11:05 .git 11:06:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 11:05 .github 11:06:59 -rw-rw-r-- 1 jenkins jenkins 339 Sep 22 11:05 .gitignore 11:06:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 11:05 .semver 11:06:59 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 22 11:05 Attribution.txt 11:06:59 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 22 11:05 Dockerfile 11:06:59 -rw-rw-r-- 1 jenkins jenkins 989 Sep 22 11:05 Dockerfile.build 11:06:59 -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 11:05 Jenkinsfile 11:06:59 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 11:05 LICENSE 11:06:59 -rw-rw-r-- 1 jenkins jenkins 951 Sep 22 11:05 Makefile 11:06:59 -rw-rw-r-- 1 jenkins jenkins 5917 Sep 22 11:05 README.md 11:06:59 -rw-rw-r-- 1 jenkins jenkins 11 Sep 22 11:03 VERSION 11:06:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 11:05 bin 11:06:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 11:05 cmd 11:06:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 11:05 driver 11:06:59 -rw-rw-r-- 1 jenkins jenkins 273 Sep 22 11:05 go.mod 11:06:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 11:05 snap 11:06:59 -rw-rw-r-- 1 jenkins jenkins 713 Sep 22 11:05 version.go [Pipeline] isUnix [Pipeline] sh 11:07:00 + 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=0a79c20c2d893aa8ea9da840411e787f3e51ca5b --label arch=arm64 --label version=1.1.3-dev.5 . 11:07:00 Sending build context to Docker daemon 8.049MB 11:07:00 Step 1/25 : ARG BASE=golang:1.15-alpine 11:07:00 Step 2/25 : FROM ${BASE} AS builder 11:07:00 ---> e3ad6ddd2882 11:07:00 Step 3/25 : ARG MAKE='make build' 11:07:01 ---> Running in b64e68ee9555 11:07:01 Removing intermediate container b64e68ee9555 11:07:01 ---> ff595bb3b9fe 11:07:01 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 11:07:01 ---> Running in d8325e611579 11:07:01 Removing intermediate container d8325e611579 11:07:01 ---> 6d263a5ca6a8 11:07:01 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 11:07:02 ---> Running in 1af16a193fdb 11:07:02 Removing intermediate container 1af16a193fdb 11:07:02 ---> 9d2b77ba43c5 11:07:02 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:02 ---> Running in 11bddc1fb846 11:07:04 4e634b169226: Pull complete 11:07:04 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 11:07:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 11:07:04 ---> f7629b54cfaa 11:07:04 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 11:07:04 ---> Running in cb522684d605 11:07:05 Removing intermediate container cb522684d605 11:07:05 ---> 657321b05836 11:07:05 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:07:05 ---> Running in 4236a0d6b767 11:07:05 Removing intermediate container 11bddc1fb846 11:07:05 ---> d90d8eb3701c 11:07:05 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:05 ---> Running in a4a02556dac8 11:07:05 Removing intermediate container 4236a0d6b767 11:07:05 ---> 0d7beb156e94 11:07:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:07:05 ---> Running in 1dd99176011c 11:07:05 Removing intermediate container 1dd99176011c 11:07:05 ---> 6993e990145e 11:07:05 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:05 ---> Running in 531b1624e78a 11:07:06 Removing intermediate container 531b1624e78a 11:07:06 ---> df5645171852 11:07:06 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:06 ---> Running in 0ba9464686ae 11:07:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:07:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:07:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:07:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:07:08 OK: 142 MiB in 39 packages 11:07:08 OK: 166 MiB in 39 packages 11:07:09 Removing intermediate container 0ba9464686ae 11:07:09 ---> 5a10859d1ac3 11:07:09 Step 8/10 : WORKDIR /device-rest-go 11:07:09 Removing intermediate container a4a02556dac8 11:07:09 ---> f002b9a77eeb 11:07:09 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 11:07:09 ---> Running in c2ba86cefed2 11:07:09 ---> Running in 2055a88d5c73 11:07:09 Removing intermediate container 2055a88d5c73 11:07:09 ---> 91c2f81c77eb 11:07:09 Step 9/10 : COPY . . 11:07:09 Removing intermediate container c2ba86cefed2 11:07:09 ---> c1ee3ba434f4 11:07:09 Step 9/25 : COPY go.mod . 11:07:09 ---> ac2704c7aa09 11:07:09 Step 10/10 : RUN go mod download 11:07:09 ---> Running in aa400b140c01 11:07:10 ---> 2a803094e348 11:07:10 Step 10/25 : COPY Makefile . 11:07:11 ---> 406d21d69491 11:07:11 Step 11/25 : RUN make update 11:07:11 ---> Running in ddba0b9785b3 11:07:12 CGO_ENABLED=0 GO111MODULE=on go mod download 11:07:13 Removing intermediate container ddba0b9785b3 11:07:13 ---> 3204aaaaebbd 11:07:13 Step 12/25 : COPY . . 11:07:15 ---> f99dd3e8644b 11:07:15 Step 13/25 : RUN $MAKE 11:07:15 ---> Running in 594c65bec774 11:07:16 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.5" -o cmd/device-rest-go ./cmd 11:07:22 Removing intermediate container aa400b140c01 11:07:22 ---> 5c3f18256e38 11:07:22 Successfully built 5c3f18256e38 11:07:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:07:22 + docker inspect -f . ci-base-image-x86_64 11:07:22 . [Pipeline] withDockerContainer 11:07:22 prd-centos7-docker-4c-2g-818 does not seem to be running inside a container 11:07:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@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 11:07:23 $ docker top fd36c9f58fab0d481c638d2569bebee1e69b21cd7255e6a4ada82f0064b23078 -eo pid,comm [Pipeline] { [Pipeline] sh 11:07:24 + go version 11:07:24 go version go1.15.2 linux/amd64 [Pipeline] } 11:07:24 $ docker stop --time=1 fd36c9f58fab0d481c638d2569bebee1e69b21cd7255e6a4ada82f0064b23078 11:07:25 $ docker rm -f fd36c9f58fab0d481c638d2569bebee1e69b21cd7255e6a4ada82f0064b23078 [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 11:07:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:07:27 + ls -al . 11:07:27 total 68 11:07:27 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 22 11:06 . 11:07:27 drwxrwxr-x. 4 jenkins jenkins 30 Sep 22 11:06 .. 11:07:27 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 22 11:06 Attribution.txt 11:07:27 drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 11:06 bin 11:07:27 drwxrwxr-x. 3 jenkins jenkins 32 Sep 22 11:06 cmd 11:07:27 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 22 11:06 Dockerfile 11:07:27 -rw-rw-r--. 1 jenkins jenkins 989 Sep 22 11:06 Dockerfile.build 11:07:27 -rw-rw-r--. 1 jenkins jenkins 151 Sep 22 11:06 .dockerignore 11:07:27 drwxrwxr-x. 2 jenkins jenkins 76 Sep 22 11:06 driver 11:07:27 drwxrwxr-x. 8 jenkins jenkins 162 Sep 22 11:06 .git 11:07:27 drwxrwxr-x. 2 jenkins jenkins 38 Sep 22 11:06 .github 11:07:27 -rw-rw-r--. 1 jenkins jenkins 339 Sep 22 11:06 .gitignore 11:07:27 -rw-rw-r--. 1 jenkins jenkins 273 Sep 22 11:06 go.mod 11:07:27 -rw-rw-r--. 1 jenkins jenkins 680 Sep 22 11:06 Jenkinsfile 11:07:27 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 22 11:06 LICENSE 11:07:27 -rw-rw-r--. 1 jenkins jenkins 951 Sep 22 11:06 Makefile 11:07:27 -rw-rw-r--. 1 jenkins jenkins 5917 Sep 22 11:06 README.md 11:07:27 drwxrwxr-x. 3 jenkins jenkins 32 Sep 22 11:06 .semver 11:07:27 drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 11:06 snap 11:07:27 -rw-rw-r--. 1 jenkins jenkins 11 Sep 22 11:03 VERSION 11:07:27 -rw-rw-r--. 1 jenkins jenkins 713 Sep 22 11:06 version.go [Pipeline] isUnix [Pipeline] sh 11:07:27 + 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=0a79c20c2d893aa8ea9da840411e787f3e51ca5b --label arch=amd64 --label version=1.1.3-dev.5 . 11:07:27 Sending build context to Docker daemon 8.049MB 11:07:27 Step 1/25 : ARG BASE=golang:1.15-alpine 11:07:27 Step 2/25 : FROM ${BASE} AS builder 11:07:27 ---> 5c3f18256e38 11:07:27 Step 3/25 : ARG MAKE='make build' 11:07:27 ---> Running in 07f8c9a5e312 11:07:27 Removing intermediate container 07f8c9a5e312 11:07:27 ---> ba78a2c8a38c 11:07:27 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 11:07:28 ---> Running in 1e4f1aeb9353 11:07:28 Removing intermediate container 1e4f1aeb9353 11:07:28 ---> d387d0a1104a 11:07:28 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 11:07:28 ---> Running in e92ab3395890 11:07:28 Removing intermediate container e92ab3395890 11:07:28 ---> 7ed2d7f9570f 11:07:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:28 ---> Running in dcdceac66441 11:07:29 Removing intermediate container dcdceac66441 11:07:29 ---> 1835e4f6fec7 11:07:29 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:29 ---> Running in 7a2dd796d47e 11:07:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:07:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:07:31 OK: 166 MiB in 39 packages 11:07:31 Removing intermediate container 7a2dd796d47e 11:07:31 ---> 3afbfd447524 11:07:31 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 11:07:31 ---> Running in ecff52d80e68 11:07:31 Removing intermediate container ecff52d80e68 11:07:31 ---> 36bb6debafc9 11:07:31 Step 9/25 : COPY go.mod . 11:07:32 ---> c2a460e151d0 11:07:32 Step 10/25 : COPY Makefile . 11:07:32 ---> de6fb0810681 11:07:32 Step 11/25 : RUN make update 11:07:32 ---> Running in dcdebb25d911 11:07:32 CGO_ENABLED=0 GO111MODULE=on go mod download 11:07:33 Removing intermediate container dcdebb25d911 11:07:33 ---> 0a3c247ecf10 11:07:33 Step 12/25 : COPY . . 11:07:33 ---> 3b8880494c9d 11:07:33 Step 13/25 : RUN $MAKE 11:07:33 ---> Running in 08373975a5ee 11:07:33 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.5" -o cmd/device-rest-go ./cmd 11:07:43 Removing intermediate container 594c65bec774 11:07:43 ---> b8c62a5f0083 11:07:43 Step 14/25 : FROM alpine:latest 11:07:43 latest: Pulling from library/alpine 11:07:43 b538f80385f9: Already exists 11:07:43 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 11:07:43 Status: Downloaded newer image for alpine:latest 11:07:43 ---> 62ee0e9f8440 11:07:43 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:07:43 ---> Running in d69c4d8e03ac 11:07:43 Removing intermediate container d69c4d8e03ac 11:07:43 ---> c8f4700a145f 11:07:43 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 11:07:43 ---> Running in 6b848a4ada4f 11:07:43 Removing intermediate container 6b848a4ada4f 11:07:43 ---> c378b1921375 11:07:43 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 11:07:43 ---> a82b2b4192e4 11:07:43 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 11:07:44 Removing intermediate container 08373975a5ee 11:07:44 ---> 23827662a3ba 11:07:44 Step 14/25 : FROM alpine:latest 11:07:44 latest: Pulling from library/alpine 11:07:44 df20fa9351a1: Already exists 11:07:44 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 11:07:44 Status: Downloaded newer image for alpine:latest 11:07:44 ---> a24bb4013296 11:07:44 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:07:44 ---> Running in c7e64a19c302 11:07:44 ---> 54f93e5fd3df 11:07:44 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 11:07:44 Removing intermediate container c7e64a19c302 11:07:44 ---> 26034f027f8f 11:07:44 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 11:07:44 ---> Running in cebe6477481d 11:07:44 Removing intermediate container cebe6477481d 11:07:44 ---> 5e5c84c55535 11:07:44 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 11:07:44 ---> 76a1843ffba6 11:07:44 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 11:07:45 ---> 92a2d329df55 11:07:45 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 11:07:45 ---> f697e950be7d 11:07:45 Step 20/25 : EXPOSE 49986 11:07:45 ---> Running in 31f853227200 11:07:45 Removing intermediate container 31f853227200 11:07:45 ---> 243faff07471 11:07:45 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 11:07:45 ---> Running in 0a4bb9c2e915 11:07:45 Removing intermediate container 0a4bb9c2e915 11:07:45 ---> a706661869b8 11:07:45 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:07:45 ---> 8c65f336cf69 11:07:45 Step 20/25 : EXPOSE 49986 11:07:46 ---> Running in 03b4938a633e 11:07:46 Removing intermediate container 03b4938a633e 11:07:46 ---> 20900e30d861 11:07:46 Step 23/25 : LABEL arch=amd64 11:07:46 ---> Running in 684f5f6d2e65 11:07:46 ---> Running in 3a878a97dd3c 11:07:46 Removing intermediate container 3a878a97dd3c 11:07:46 ---> 81f61b856b6f 11:07:46 Step 24/25 : LABEL git_sha=0a79c20c2d893aa8ea9da840411e787f3e51ca5b 11:07:46 ---> Running in fe373d3ac3eb 11:07:46 Removing intermediate container 684f5f6d2e65 11:07:46 ---> 7a614285506c 11:07:46 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 11:07:46 Removing intermediate container fe373d3ac3eb 11:07:46 ---> 8cb8d68f72d9 11:07:46 Step 25/25 : LABEL version=1.1.3-dev.5 11:07:46 ---> Running in bbb515156f95 11:07:46 ---> Running in c34c24798eb0 11:07:46 Removing intermediate container bbb515156f95 11:07:46 ---> 333dfa19deec 11:07:46 [Warning] One or more build-args [ARCH] were not consumed 11:07:46 Successfully built 333dfa19deec 11:07:46 Successfully tagged docker-device-rest-go:latest [Pipeline] } 11:07:47 Removing intermediate container c34c24798eb0 11:07:47 ---> e60af81583cb 11:07:47 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 11:07:47 ---> Running in ade3cbafbb94 [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:07:47 provisioning config files... 11:07:47 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/21@tmp/config5203436885396514489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:47 Removing intermediate container ade3cbafbb94 11:07:47 ---> 4280bed087d9 11:07:47 Step 23/25 : LABEL arch=arm64 11:07:47 ---> Running in 26806e1dfce7 11:07:47 ---> docker-login.sh 11:07:47 nexus3.edgexfoundry.org:10001 11:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:48 Removing intermediate container 26806e1dfce7 11:07:48 ---> ef5249686cfa 11:07:48 Step 24/25 : LABEL git_sha=0a79c20c2d893aa8ea9da840411e787f3e51ca5b 11:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:48 Configure a credential helper to remove this warning. See 11:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:48 11:07:48 Login Succeeded 11:07:48 nexus3.edgexfoundry.org:10002 11:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:48 ---> Running in 558f5d7a1372 11:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:48 Configure a credential helper to remove this warning. See 11:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:48 11:07:48 Login Succeeded 11:07:48 nexus3.edgexfoundry.org:10003 11:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:48 Configure a credential helper to remove this warning. See 11:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:48 11:07:48 Login Succeeded 11:07:48 nexus3.edgexfoundry.org:10004 11:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:48 Configure a credential helper to remove this warning. See 11:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:48 11:07:48 Login Succeeded 11:07:48 docker.io 11:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:49 Removing intermediate container 558f5d7a1372 11:07:49 ---> f541693baca4 11:07:49 Step 25/25 : LABEL version=1.1.3-dev.5 11:07:49 ---> Running in cd4278872a47 11:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:49 Configure a credential helper to remove this warning. See 11:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:49 11:07:49 Login Succeeded 11:07:49 ---> docker-login.sh ends [Pipeline] } 11:07:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv 11:07:49 Removing intermediate container cd4278872a47 11:07:49 ---> 624119321f78 11:07:49 [Warning] One or more build-args [ARCH] were not consumed 11:07:49 Successfully built 624119321f78 11:07:49 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] echo 11:07:49 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 11:07:49 0a79c20c2d893aa8ea9da840411e787f3e51ca5b 11:07:49 latest 11:07:49 1.1.3-dev.5 11:07:49 0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 11:07:49 master 11:07:49 ===================================================== [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:07:50 provisioning config files... 11:07:50 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/21@tmp/config5571560242382488189tmp [Pipeline] { 11:07:50 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 11:07:50 ---> docker-login.sh 11:07:50 nexus3.edgexfoundry.org:10001 11:07:50 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b 11:07:50 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 11:07:50 0e2f0106a37c: Preparing 11:07:50 729ba0844168: Preparing 11:07:50 e51ec044f299: Preparing 11:07:50 50644c29ef5a: Preparing 11:07:50 50644c29ef5a: Layer already exists 11:07:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:51 e51ec044f299: Pushed 11:07:51 729ba0844168: Pushed 11:07:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:51 Configure a credential helper to remove this warning. See 11:07:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:51 11:07:51 Login Succeeded 11:07:51 nexus3.edgexfoundry.org:10002 11:07:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:51 Configure a credential helper to remove this warning. See 11:07:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:51 11:07:51 Login Succeeded 11:07:51 nexus3.edgexfoundry.org:10003 11:07:52 0e2f0106a37c: Pushed 11:07:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:52 0a79c20c2d893aa8ea9da840411e787f3e51ca5b: digest: sha256:758b973f7c825069a752f797e005121a5366143265a3774a4eb2c52e40683b91 size: 1154 [Pipeline] isUnix [Pipeline] sh 11:07:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:52 Configure a credential helper to remove this warning. See 11:07:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:52 11:07:52 Login Succeeded 11:07:52 nexus3.edgexfoundry.org:10004 11:07:52 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 11:07:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:52 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 11:07:52 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 11:07:52 0e2f0106a37c: Preparing 11:07:52 729ba0844168: Preparing 11:07:52 e51ec044f299: Preparing 11:07:52 50644c29ef5a: Preparing 11:07:52 0e2f0106a37c: Layer already exists 11:07:52 729ba0844168: Layer already exists 11:07:52 e51ec044f299: Layer already exists 11:07:52 50644c29ef5a: Layer already exists 11:07:52 latest: digest: sha256:758b973f7c825069a752f797e005121a5366143265a3774a4eb2c52e40683b91 size: 1154 [Pipeline] isUnix [Pipeline] sh 11:07:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:53 Configure a credential helper to remove this warning. See 11:07:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:53 11:07:53 Login Succeeded 11:07:53 docker.io 11:07:53 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.5 [Pipeline] isUnix [Pipeline] sh 11:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:53 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.5 11:07:53 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 11:07:53 0e2f0106a37c: Preparing 11:07:53 729ba0844168: Preparing 11:07:53 e51ec044f299: Preparing 11:07:53 50644c29ef5a: Preparing 11:07:53 729ba0844168: Layer already exists 11:07:53 50644c29ef5a: Layer already exists 11:07:53 e51ec044f299: Layer already exists 11:07:53 0e2f0106a37c: Layer already exists 11:07:53 1.1.3-dev.5: digest: sha256:758b973f7c825069a752f797e005121a5366143265a3774a4eb2c52e40683b91 size: 1154 [Pipeline] isUnix [Pipeline] sh 11:07:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:53 Configure a credential helper to remove this warning. See 11:07:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:53 11:07:53 Login Succeeded 11:07:53 ---> docker-login.sh ends [Pipeline] } 11:07:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv 11:07:54 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 11:07:54 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 11:07:54 0a79c20c2d893aa8ea9da840411e787f3e51ca5b 11:07:54 latest 11:07:54 1.1.3-dev.5 11:07:54 0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 11:07:54 master 11:07:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { 11:07:54 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 11:07:54 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 11:07:54 0e2f0106a37c: Preparing 11:07:54 729ba0844168: Preparing 11:07:54 e51ec044f299: Preparing 11:07:54 50644c29ef5a: Preparing 11:07:54 0e2f0106a37c: Layer already exists 11:07:54 e51ec044f299: Layer already exists 11:07:54 729ba0844168: Layer already exists 11:07:54 50644c29ef5a: Layer already exists 11:07:54 0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5: digest: sha256:758b973f7c825069a752f797e005121a5366143265a3774a4eb2c52e40683b91 size: 1154 [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 11:07:55 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b [Pipeline] isUnix [Pipeline] sh 11:07:55 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 11:07:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b 11:07:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 11:07:55 8e68e2330fce: Preparing 11:07:55 4d74897843c1: Preparing 11:07:55 322adf091262: Preparing 11:07:55 e2f13739ad41: Preparing 11:07:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 11:07:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 11:07:55 0e2f0106a37c: Preparing 11:07:55 729ba0844168: Preparing 11:07:55 e51ec044f299: Preparing 11:07:55 50644c29ef5a: Preparing 11:07:55 e51ec044f299: Layer already exists 11:07:55 50644c29ef5a: Layer already exists 11:07:55 0e2f0106a37c: Layer already exists 11:07:55 729ba0844168: Layer already exists 11:07:55 master: digest: sha256:758b973f7c825069a752f797e005121a5366143265a3774a4eb2c52e40683b91 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv 11:07:55 e2f13739ad41: Layer already exists 11:07:55 4d74897843c1: Pushed 11:07:55 322adf091262: Pushed [Pipeline] echo 11:07:55 ===================================================== [Pipeline] echo 11:07:55 taggedImages: 11:07:55 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b 11:07:55 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 11:07:55 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.5 11:07:55 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 11:07:55 - 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] } 11:07:58 8e68e2330fce: Pushed 11:07:58 0a79c20c2d893aa8ea9da840411e787f3e51ca5b: digest: sha256:9593e4084cabede0992c2425471603b1c4ed3b59729285643162a4ed7bd1764a size: 1154 [Pipeline] isUnix [Pipeline] sh 11:07:58 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:07:59 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 11:07:59 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 11:07:59 8e68e2330fce: Preparing 11:07:59 4d74897843c1: Preparing 11:07:59 322adf091262: Preparing 11:07:59 e2f13739ad41: Preparing 11:07:59 4d74897843c1: Layer already exists 11:07:59 322adf091262: Layer already exists 11:07:59 8e68e2330fce: Layer already exists 11:07:59 e2f13739ad41: Layer already exists 11:07:59 latest: digest: sha256:9593e4084cabede0992c2425471603b1c4ed3b59729285643162a4ed7bd1764a size: 1154 [Pipeline] isUnix [Pipeline] sh 11:07:59 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.5 [Pipeline] isUnix [Pipeline] sh 11:08:00 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.5 11:08:00 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 11:08:00 8e68e2330fce: Preparing 11:08:00 4d74897843c1: Preparing 11:08:00 322adf091262: Preparing 11:08:00 e2f13739ad41: Preparing 11:08:00 e2f13739ad41: Layer already exists 11:08:00 322adf091262: Layer already exists 11:08:00 4d74897843c1: Layer already exists 11:08:00 8e68e2330fce: Layer already exists 11:08:00 1.1.3-dev.5: digest: sha256:9593e4084cabede0992c2425471603b1c4ed3b59729285643162a4ed7bd1764a size: 1154 [Pipeline] isUnix [Pipeline] sh 11:08:00 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 [Pipeline] isUnix [Pipeline] sh 11:08:01 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 11:08:01 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 11:08:01 8e68e2330fce: Preparing 11:08:01 4d74897843c1: Preparing 11:08:01 322adf091262: Preparing 11:08:01 e2f13739ad41: Preparing 11:08:01 e2f13739ad41: Layer already exists 11:08:01 4d74897843c1: Layer already exists 11:08:01 8e68e2330fce: Layer already exists 11:08:01 322adf091262: Layer already exists 11:08:01 0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5: digest: sha256:9593e4084cabede0992c2425471603b1c4ed3b59729285643162a4ed7bd1764a size: 1154 [Pipeline] isUnix [Pipeline] sh 11:08:01 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 11:08:02 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 11:08:02 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 11:08:02 8e68e2330fce: Preparing 11:08:02 4d74897843c1: Preparing 11:08:02 322adf091262: Preparing 11:08:02 e2f13739ad41: Preparing 11:08:02 e2f13739ad41: Layer already exists 11:08:02 322adf091262: Layer already exists 11:08:02 8e68e2330fce: Layer already exists 11:08:02 4d74897843c1: Layer already exists 11:08:02 master: digest: sha256:9593e4084cabede0992c2425471603b1c4ed3b59729285643162a4ed7bd1764a size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:08:02 ===================================================== [Pipeline] echo 11:08:02 taggedImages: 11:08:02 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b 11:08:02 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 11:08:02 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.5 11:08:02 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 11:08:02 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 11:08:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 11:08:08 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 11:08:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:08:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 11:08:08 11:08:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 11:08:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 11:08:09 1.317.0: Pulling from edgex-devops/edgex-snyk-go 11:08:09 cbdbe7a5bc2a: Pulling fs layer 11:08:09 408f87550127: Pulling fs layer 11:08:09 fe522b08c979: Pulling fs layer 11:08:09 221eaa008020: Pulling fs layer 11:08:09 2a4607e5d6b9: Pulling fs layer 11:08:09 8f79b27c4fd2: Pulling fs layer 11:08:09 e5c8dbe1645b: Pulling fs layer 11:08:09 23e8b3b47431: Pulling fs layer 11:08:09 5c568d65a230: Pulling fs layer 11:08:09 2a4607e5d6b9: Waiting 11:08:09 8f79b27c4fd2: Waiting 11:08:09 e5c8dbe1645b: Waiting 11:08:09 23e8b3b47431: Waiting 11:08:09 5c568d65a230: Waiting 11:08:09 221eaa008020: Waiting 11:08:09 fe522b08c979: Verifying Checksum 11:08:09 fe522b08c979: Download complete 11:08:09 408f87550127: Verifying Checksum 11:08:09 408f87550127: Download complete 11:08:09 2a4607e5d6b9: Verifying Checksum 11:08:09 2a4607e5d6b9: Download complete 11:08:09 8f79b27c4fd2: Verifying Checksum 11:08:09 8f79b27c4fd2: Download complete 11:08:09 cbdbe7a5bc2a: Verifying Checksum 11:08:09 cbdbe7a5bc2a: Download complete 11:08:09 cbdbe7a5bc2a: Pull complete 11:08:09 408f87550127: Pull complete 11:08:09 fe522b08c979: Pull complete 11:08:10 e5c8dbe1645b: Verifying Checksum 11:08:10 e5c8dbe1645b: Download complete 11:08:11 5c568d65a230: Verifying Checksum 11:08:11 5c568d65a230: Download complete 11:08:11 23e8b3b47431: Verifying Checksum 11:08:11 23e8b3b47431: Download complete 11:08:12 221eaa008020: Verifying Checksum 11:08:12 221eaa008020: Download complete 11:08:18 221eaa008020: Pull complete 11:08:18 2a4607e5d6b9: Pull complete 11:08:18 8f79b27c4fd2: Pull complete 11:08:20 e5c8dbe1645b: Pull complete 11:08:23 23e8b3b47431: Pull complete 11:08:24 5c568d65a230: Pull complete 11:08:24 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 11:08:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 11:08:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 11:08:25 prd-centos7-docker-4c-2g-815 does not seem to be running inside a container 11:08:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-rest-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 11:08:26 $ docker top dece3056ef6ba2b988fb9183fc4b145bab8253a6ab983fe96b2afb29b655b35b -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:26 + snyk monitor '--org=edgex-jenkins' 11:08:36 11:08:36 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 11:08:36 11:08:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/a37e3611-ac51-400d-b7d1-8f55867f8602 11:08:36 11:08:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:08:36 11:08:36 11:08:36 Snyk CLI supports Node.js 8 and higher. 11:08:36 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 11:08:36 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 11:08:36 11:08:36 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 11:08:36 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 11:08:36 $ docker stop --time=1 dece3056ef6ba2b988fb9183fc4b145bab8253a6ab983fe96b2afb29b655b35b 11:08:38 $ docker rm -f dece3056ef6ba2b988fb9183fc4b145bab8253a6ab983fe96b2afb29b655b35b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:08:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 11:08:40 11:08:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 11:08:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 11:08:40 latest: Pulling from edgex-devops/edgex-klar 11:08:40 e7c96db7181b: Pulling fs layer 11:08:40 1868ca2cb446: Pulling fs layer 11:08:40 136be5d0fe8e: Pulling fs layer 11:08:40 894bfe63afcb: Pulling fs layer 11:08:40 894bfe63afcb: Waiting 11:08:40 1868ca2cb446: Verifying Checksum 11:08:40 1868ca2cb446: Download complete 11:08:40 136be5d0fe8e: Verifying Checksum 11:08:40 136be5d0fe8e: Download complete 11:08:40 e7c96db7181b: Verifying Checksum 11:08:40 e7c96db7181b: Download complete 11:08:40 894bfe63afcb: Verifying Checksum 11:08:40 894bfe63afcb: Download complete 11:08:40 e7c96db7181b: Pull complete 11:08:40 1868ca2cb446: Pull complete 11:08:40 136be5d0fe8e: Pull complete 11:08:41 894bfe63afcb: Pull complete 11:08:41 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 11:08:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 11:08:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 11:08:41 prd-centos7-docker-4c-2g-815 does not seem to be running inside a container 11:08:41 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 11:08:42 $ docker top c0db3aaaf80ee1de5586000e45d5f6a87ac782e1c561254f23f4db29de7f885f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:43 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b 11:08:43 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 11:08:46 $ docker stop --time=1 c0db3aaaf80ee1de5586000e45d5f6a87ac782e1c561254f23f4db29de7f885f 11:08:48 $ docker rm -f c0db3aaaf80ee1de5586000e45d5f6a87ac782e1c561254f23f4db29de7f885f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 11:08:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 11:08:48 . [Pipeline] withDockerContainer 11:08:48 prd-centos7-docker-4c-2g-815 does not seem to be running inside a container 11:08: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 11:08:49 $ docker top ba8c09dcf92d4b7d54d74f353ec2409114205c6461ba0cbac0ed07c0e418962a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:49 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b 11:08:49 + tee 11:08:49 clair timeout 1m0s 11:08:49 docker timeout: 1m0s 11:08:49 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 11:08:50 $ docker stop --time=1 ba8c09dcf92d4b7d54d74f353ec2409114205c6461ba0cbac0ed07c0e418962a 11:08:52 $ docker rm -f ba8c09dcf92d4b7d54d74f353ec2409114205c6461ba0cbac0ed07c0e418962a [Pipeline] // withDockerContainer [Pipeline] sh 11:08:52 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 11:08:52 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_0a79c20c2d893aa8ea9da840411e787f3e51ca5b.html [Pipeline] writeFile [Pipeline] step 11:08:52 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 11:08:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 11:08:52 . [Pipeline] withDockerContainer 11:08:53 prd-centos7-docker-4c-2g-815 does not seem to be running inside a container 11:08:53 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 11:08:53 $ docker top 27f28f072352c606eb4bc5594bd7a8fc42d9f4693676e21c194719784c13c52f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:54 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b 11:08:54 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 11:08:57 $ docker stop --time=1 27f28f072352c606eb4bc5594bd7a8fc42d9f4693676e21c194719784c13c52f 11:08:59 $ docker rm -f 27f28f072352c606eb4bc5594bd7a8fc42d9f4693676e21c194719784c13c52f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 11:08:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 11:08:59 . [Pipeline] withDockerContainer 11:08:59 prd-centos7-docker-4c-2g-815 does not seem to be running inside a container 11:08: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 11:09:00 $ docker top 3b776a09d3236b432c8d07dd501fc7fd58dd002dc02c467ebe37965b7bfa1faa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:01 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b 11:09:01 + tee 11:09:01 clair timeout 1m0s 11:09:01 docker timeout: 1m0s 11:09:01 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 11:09:01 $ docker stop --time=1 3b776a09d3236b432c8d07dd501fc7fd58dd002dc02c467ebe37965b7bfa1faa 11:09:03 $ docker rm -f 3b776a09d3236b432c8d07dd501fc7fd58dd002dc02c467ebe37965b7bfa1faa [Pipeline] // withDockerContainer [Pipeline] sh 11:09:03 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 11:09:03 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_0a79c20c2d893aa8ea9da840411e787f3e51ca5b.html [Pipeline] writeFile [Pipeline] step 11:09: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 11:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:09:05 . [Pipeline] withDockerContainer 11:09:05 prd-centos7-docker-4c-2g-815 does not seem to be running inside a container 11:09: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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:09:06 $ docker top 94acf00157dc9529354b0b10b2b7d1beeb6b0269d5d4578b54e75faf6e1027d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:09:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:09:06 [ssh-agent] Looking for ssh-agent implementation... 11:09:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:09:06 $ docker exec 94acf00157dc9529354b0b10b2b7d1beeb6b0269d5d4578b54e75faf6e1027d6 ssh-agent 11:09:06 SSH_AUTH_SOCK=/tmp/ssh-TG0P8BqOryRA/agent.11 11:09:06 SSH_AGENT_PID=17 11:09:06 Running ssh-add (command line suppressed) 11:09:06 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2667571443465690358.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2667571443465690358.key) 11:09:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:09:07 + git semver tag 11:09:07 # -> Open(): unable to determine branch for HEAD 11:09:07 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 11:09:07 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 11:09:07 # $SEMVER_REMOTE_NAME = origin 11:09:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:09:07 # $SEMVER_USER_NAME = edgex-jenkins 11:09:07 # $SEMVER_BRANCH = master 11:09:07 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 11:09:07 # 0a79c20c2d893aa8ea9da840411e787f3e51ca5b HEAD 11:09:07 # -> Force: false 11:09:07 # 40dfc7b4e8e8d87171e95a6b7576b420d0fee1a7 refs/tags/v1.1.3-dev.5 [Pipeline] } 11:09:07 $ docker exec --env ******** --env ******** 94acf00157dc9529354b0b10b2b7d1beeb6b0269d5d4578b54e75faf6e1027d6 ssh-agent -k 11:09:07 unset SSH_AUTH_SOCK; 11:09:07 unset SSH_AGENT_PID; 11:09:07 echo Agent pid 17 killed; 11:09:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:09:08 + git semver [Pipeline] } 11:09:08 $ docker stop --time=1 94acf00157dc9529354b0b10b2b7d1beeb6b0269d5d4578b54e75faf6e1027d6 11:09:09 $ docker rm -f 94acf00157dc9529354b0b10b2b7d1beeb6b0269d5d4578b54e75faf6e1027d6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 11:09:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:09:10 11:09:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 11:09:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:09:10 0.23.1-centos7: Pulling from edgex-lftools 11:09:10 ab5ef0e58194: Pulling fs layer 11:09:10 9712f1f96733: Pulling fs layer 11:09:10 63f879dbbcfc: Pulling fs layer 11:09:10 0d9ebad4ef96: Pulling fs layer 11:09:10 e9a5061849ea: Pulling fs layer 11:09:10 d747dcd14b5f: Pulling fs layer 11:09:10 2de7ff778b66: Pulling fs layer 11:09:10 e9a5061849ea: Waiting 11:09:10 d747dcd14b5f: Waiting 11:09:10 2de7ff778b66: Waiting 11:09:10 0d9ebad4ef96: Waiting 11:09:10 9712f1f96733: Verifying Checksum 11:09:10 9712f1f96733: Download complete 11:09:11 63f879dbbcfc: Verifying Checksum 11:09:11 63f879dbbcfc: Download complete 11:09:11 e9a5061849ea: Verifying Checksum 11:09:11 e9a5061849ea: Download complete 11:09:11 d747dcd14b5f: Verifying Checksum 11:09:11 d747dcd14b5f: Download complete 11:09:12 2de7ff778b66: Verifying Checksum 11:09:12 2de7ff778b66: Download complete 11:09:12 0d9ebad4ef96: Verifying Checksum 11:09:12 0d9ebad4ef96: Download complete 11:09:12 ab5ef0e58194: Verifying Checksum 11:09:12 ab5ef0e58194: Download complete 11:09:16 ab5ef0e58194: Pull complete 11:09:16 9712f1f96733: Pull complete 11:09:19 63f879dbbcfc: Pull complete 11:09:26 0d9ebad4ef96: Pull complete 11:09:26 e9a5061849ea: Pull complete 11:09:26 d747dcd14b5f: Pull complete 11:09:30 2de7ff778b66: Pull complete 11:09:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:09:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:09:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 11:09:30 prd-centos7-docker-4c-2g-815 does not seem to be running inside a container 11:09: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:09:34 $ docker top b66c88bd9f121801db5b706a220736b992e4c9d698f0c62da1923cf9558f9059 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:09:34 provisioning config files... 11:09:34 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8030965706360127490tmp 11:09:34 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5487357250038372776tmp 11:09:34 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1084545295781826185tmp [Pipeline] { [Pipeline] echo 11:09:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:09:35 ---> sigul-configuration.sh 11:09:35 gpg: directory `/root/.gnupg' created 11:09:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:09:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:09:35 gpg: keyring `/root/.gnupg/secring.gpg' created 11:09:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:09:35 gpg: CAST5 encrypted data 11:09:35 gpg: encrypted with 1 passphrase 11:09:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:09:35 + mkdir /home/jenkins 11:09:35 + mkdir /home/jenkins/sigul [Pipeline] sh 11:09:36 + 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 11:09:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:09:36 ---> sigul-install.sh 11:09:41 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 11:09:42 + git tag --list 11:09:42 v1.1.3-dev.5 [Pipeline] sh 11:09:42 + lftools sign git-tag v1.1.3-dev.5 11:09:43 Signing Git tag with Sigul... 11:09:43 Signing v1.1.3-dev.5 [Pipeline] echo 11:09:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:09:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:09:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:09:45 $ docker stop --time=1 b66c88bd9f121801db5b706a220736b992e4c9d698f0c62da1923cf9558f9059 11:09:47 $ docker rm -f b66c88bd9f121801db5b706a220736b992e4c9d698f0c62da1923cf9558f9059 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 11:09:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:09:48 . [Pipeline] withDockerContainer 11:09:48 prd-centos7-docker-4c-2g-815 does not seem to be running inside a container 11:09:48 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:09:48 $ docker top d51b2ccd3b2c2beb53fb3e4ac5cdde06274765dd7b0a639517db8075c50cb86b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:09:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:09:49 [ssh-agent] Looking for ssh-agent implementation... 11:09:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:09:49 $ docker exec d51b2ccd3b2c2beb53fb3e4ac5cdde06274765dd7b0a639517db8075c50cb86b ssh-agent 11:09:49 SSH_AUTH_SOCK=/tmp/ssh-B8iK6lOELR0Y/agent.12 11:09:49 SSH_AGENT_PID=17 11:09:49 Running ssh-add (command line suppressed) 11:09:49 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4148413332153560219.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4148413332153560219.key) 11:09:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:09:49 + git semver bump pre 11:09:49 # -> Open(): unable to determine branch for HEAD 11:09:49 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 11:09:49 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 11:09:49 # $SEMVER_REMOTE_NAME = origin 11:09:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:09:49 # $SEMVER_USER_NAME = edgex-jenkins 11:09:49 # $SEMVER_BRANCH = master 11:09:49 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 11:09:49 1.1.3-dev.6 [Pipeline] } 11:09:49 $ docker exec --env ******** --env ******** d51b2ccd3b2c2beb53fb3e4ac5cdde06274765dd7b0a639517db8075c50cb86b ssh-agent -k 11:09:50 unset SSH_AUTH_SOCK; 11:09:50 unset SSH_AGENT_PID; 11:09:50 echo Agent pid 17 killed; 11:09:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:09:50 + git semver [Pipeline] } 11:09:50 $ docker stop --time=1 d51b2ccd3b2c2beb53fb3e4ac5cdde06274765dd7b0a639517db8075c50cb86b 11:09:52 $ docker rm -f d51b2ccd3b2c2beb53fb3e4ac5cdde06274765dd7b0a639517db8075c50cb86b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 11:09:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:09:52 . [Pipeline] withDockerContainer 11:09:52 prd-centos7-docker-4c-2g-815 does not seem to be running inside a container 11:09:52 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:09:53 $ docker top 93823b9082ec1e048ab58a4b9f2ea3c3d0121626d5caa2fb754411c00bc03b6c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:09:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:09:53 [ssh-agent] Looking for ssh-agent implementation... 11:09:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:09:53 $ docker exec 93823b9082ec1e048ab58a4b9f2ea3c3d0121626d5caa2fb754411c00bc03b6c ssh-agent 11:09:54 SSH_AUTH_SOCK=/tmp/ssh-BDU7gAGENRbp/agent.13 11:09:54 SSH_AGENT_PID=18 11:09:54 Running ssh-add (command line suppressed) 11:09:54 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7128826958521306320.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7128826958521306320.key) 11:09:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:09:54 + git semver push 11:09:54 # -> Open(): unable to determine branch for HEAD 11:09:54 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 11:09:54 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 11:09:54 # $SEMVER_REMOTE_NAME = origin 11:09:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:09:54 # $SEMVER_USER_NAME = edgex-jenkins 11:09:54 # $SEMVER_BRANCH = master 11:09:54 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 11:10:01 $ docker exec --env ******** --env ******** 93823b9082ec1e048ab58a4b9f2ea3c3d0121626d5caa2fb754411c00bc03b6c ssh-agent -k 11:10:01 unset SSH_AUTH_SOCK; 11:10:01 unset SSH_AGENT_PID; 11:10:01 echo Agent pid 18 killed; 11:10:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:10:01 + git semver [Pipeline] } 11:10:02 $ docker stop --time=1 93823b9082ec1e048ab58a4b9f2ea3c3d0121626d5caa2fb754411c00bc03b6c 11:10:03 $ docker rm -f 93823b9082ec1e048ab58a4b9f2ea3c3d0121626d5caa2fb754411c00bc03b6c [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 11:10:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:10:05 ---> package-listing.sh 11:10:05 ++ facter osfamily 11:10:05 ++ tr '[:upper:]' '[:lower:]' 11:10:05 + OS_FAMILY=redhat 11:10:05 + workspace=/w/workspace/gexfoundry_device-rest-go_master 11:10:05 + START_PACKAGES=/tmp/packages_start.txt 11:10:05 + END_PACKAGES=/tmp/packages_end.txt 11:10:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:10:05 + PACKAGES=/tmp/packages_start.txt 11:10:05 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 11:10:05 + PACKAGES=/tmp/packages_end.txt 11:10:05 + case "${OS_FAMILY}" in 11:10:05 + rpm -qa 11:10:05 + sort 11:10:09 + '[' -f /tmp/packages_start.txt ']' 11:10:09 + '[' -f /tmp/packages_end.txt ']' 11:10:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:10:09 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 11:10:09 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 11:10:09 + 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 11:10:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:10:10 11:10:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:10:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:10:10 alpine: Pulling from edgex-lftools-log-publisher 11:10:10 df20fa9351a1: Pulling fs layer 11:10:10 36b3adc4ff6f: Pulling fs layer 11:10:10 8ad3a11d3b57: Pulling fs layer 11:10:10 46f8f816bc3b: Pulling fs layer 11:10:10 0dadc02b9964: Pulling fs layer 11:10:10 ce6a7cf60c04: Pulling fs layer 11:10:10 7a184a31f384: Pulling fs layer 11:10:10 0879bd2ef858: Pulling fs layer 11:10:10 ce6a7cf60c04: Waiting 11:10:10 7a184a31f384: Waiting 11:10:10 46f8f816bc3b: Waiting 11:10:10 0879bd2ef858: Waiting 11:10:10 0dadc02b9964: Waiting 11:10:10 36b3adc4ff6f: Verifying Checksum 11:10:10 36b3adc4ff6f: Download complete 11:10:10 46f8f816bc3b: Verifying Checksum 11:10:10 46f8f816bc3b: Download complete 11:10:10 df20fa9351a1: Verifying Checksum 11:10:10 df20fa9351a1: Download complete 11:10:10 ce6a7cf60c04: Verifying Checksum 11:10:10 ce6a7cf60c04: Download complete 11:10:10 0dadc02b9964: Verifying Checksum 11:10:10 0dadc02b9964: Download complete 11:10:11 7a184a31f384: Verifying Checksum 11:10:11 7a184a31f384: Download complete 11:10:11 8ad3a11d3b57: Verifying Checksum 11:10:11 8ad3a11d3b57: Download complete 11:10:11 0879bd2ef858: Verifying Checksum 11:10:11 0879bd2ef858: Download complete 11:10:11 df20fa9351a1: Pull complete 11:10:12 36b3adc4ff6f: Pull complete 11:10:12 8ad3a11d3b57: Pull complete 11:10:12 46f8f816bc3b: Pull complete 11:10:12 0dadc02b9964: Pull complete 11:10:13 ce6a7cf60c04: Pull complete 11:10:13 7a184a31f384: Pull complete 11:10:15 0879bd2ef858: Pull complete 11:10:15 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 11:10:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:10:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:10:15 prd-centos7-docker-4c-2g-815 does not seem to be running inside a container 11:10:16 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 11:10:19 $ docker top a5ea5da3ee924092cb01978518d93872914004499b48f86df8cf9d44813ac76b -eo pid,comm [Pipeline] { [Pipeline] sh 11:10:19 + mkdir -p /var/log/sa [Pipeline] sh 11:10:20 + ls /var/log/sa-host 11:10:20 + sadf -c /var/log/sa-host/sa05 11:10:20 file_magic: OK 11:10:20 HZ: Using current value: 100 11:10:20 file_header: OK 11:10:20 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 11:10:20 Statistics: 11:10:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 11:10:20 File successfully converted to sysstat format version 12.2.1 11:10:20 + sadf -c /var/log/sa-host/sa22 11:10:20 file_magic: OK 11:10:20 HZ: Using current value: 100 11:10:20 file_header: OK 11:10:20 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 11:10:20 Statistics: 11:10:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:10:20 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:20 provisioning config files... 11:10:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3211205966160150351tmp [Pipeline] { [Pipeline] echo 11:10:20 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:10:20 ---> create-netrc.sh [Pipeline] echo 11:10:20 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:10:20 ---> logs-deploy.sh 11:10:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/21 11:10:20 INFO: archiving workspace using pattern(s): 11:10:22 Archives upload complete. 11:10:22 INFO: archiving logs to Nexus 11:10:23 ---> uname -a: 11:10:23 Linux a5ea5da3ee92 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 11:10:23 11:10:23 11:10:23 ---> lscpu: 11:10:23 Architecture: x86_64 11:10:23 CPU op-mode(s): 32-bit, 64-bit 11:10:23 Byte Order: Little Endian 11:10:23 Address sizes: 40 bits physical, 48 bits virtual 11:10:23 CPU(s): 4 11:10:23 On-line CPU(s) list: 0-3 11:10:23 Thread(s) per core: 1 11:10:23 Core(s) per socket: 1 11:10:23 Socket(s): 4 11:10:23 NUMA node(s): 1 11:10:23 Vendor ID: GenuineIntel 11:10:23 CPU family: 6 11:10:23 Model: 44 11:10:23 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 11:10:23 Stepping: 1 11:10:23 CPU MHz: 2933.438 11:10:23 BogoMIPS: 5866.87 11:10:23 Virtualization: VT-x 11:10:23 Hypervisor vendor: KVM 11:10:23 Virtualization type: full 11:10:23 L1d cache: 128 KiB 11:10:23 L1i cache: 128 KiB 11:10:23 L2 cache: 16 MiB 11:10:23 L3 cache: 64 MiB 11:10:23 NUMA node0 CPU(s): 0-3 11:10:23 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 11:10:23 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 11:10:23 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 11:10:23 Vulnerability Meltdown: Mitigation; PTI 11:10:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:10:23 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 11:10:23 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 11:10:23 Vulnerability Tsx async abort: Not affected 11:10:23 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 11:10:23 11:10:23 11:10:23 ---> nproc: 11:10:23 4 11:10:23 11:10:23 11:10:23 ---> df -h: 11:10:23 Filesystem Size Used Available Use% Mounted on 11:10:23 overlay 50.0G 8.2G 41.8G 16% / 11:10:23 tmpfs 64.0M 0 64.0M 0% /dev 11:10:23 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 11:10:23 shm 64.0M 0 64.0M 0% /dev/shm 11:10:23 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/resolv.conf 11:10:23 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hostname 11:10:23 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hosts 11:10:23 /dev/vda1 50.0G 8.2G 41.8G 16% /var/log/sa-host 11:10:23 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/gexfoundry_device-rest-go_master 11:10:23 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/gexfoundry_device-rest-go_master@tmp 11:10:23 11:10:23 11:10:23 ---> free -m: 11:10:23 total used free shared buff/cache available 11:10:23 Mem: 1837 785 115 0 937 988 11:10:23 Swap: 1023 2 1021 11:10:23 11:10:23 11:10:23 ---> ip addr: 11:10:23 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 11:10:23 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:10:23 inet 127.0.0.1/8 scope host lo 11:10:23 valid_lft forever preferred_lft forever 11:10:23 24: eth0@if25: mtu 1458 qdisc noqueue state UP 11:10:23 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 11:10:23 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 11:10:23 valid_lft forever preferred_lft forever 11:10:23 11:10:23 11:10:23 ---> sar -b -r -n DEV: 11:10:23 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/22/20 _x86_64_ (4 CPU) 11:10:23 11:10:23 11:02:14 LINUX RESTART (4 CPU) 11:10:23 11:10:23 11:03:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:10:23 11:04:01 50.56 14.73 35.83 0.00 4980.23 3126.32 0.00 11:10:23 11:05:01 1.47 0.00 1.47 0.00 0.00 24.09 0.00 11:10:23 11:06:01 0.40 0.00 0.40 0.00 0.00 5.73 0.00 11:10:23 11:07:01 0.27 0.00 0.27 0.00 0.00 2.98 0.00 11:10:23 11:08:01 0.27 0.00 0.27 0.00 0.00 3.13 0.00 11:10:23 11:09:01 227.77 123.92 103.85 0.00 6968.94 32036.07 0.00 11:10:23 11:10:01 208.25 77.74 130.52 0.00 4653.18 32952.91 0.00 11:10:23 Average: 69.92 30.96 38.96 0.00 2366.28 9755.24 0.00 11:10:23 11:10:23 11:03:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:10:23 11:04:01 174756 0 553248 29.40 2620 1150932 1112772 37.98 422728 1123956 120 11:10:23 11:05:01 177808 0 550192 29.24 2620 1150936 1097008 37.44 422704 1121680 8 11:10:23 11:06:01 180428 0 547564 29.10 2620 1150944 1070412 36.53 422016 1120664 8 11:10:23 11:07:01 178588 0 549404 29.20 2620 1150944 1070364 36.53 427948 1116448 8 11:10:23 11:08:01 179052 0 548936 29.17 2620 1150948 1070316 36.53 431260 1112716 8 11:10:23 11:09:01 160864 0 665188 35.35 2596 1052908 1224736 41.80 596208 928932 60 11:10:23 11:10:01 236236 0 735016 39.06 1492 908812 1199952 40.95 612672 743340 40 11:10:23 Average: 183962 0 592793 31.51 2455 1102346 1120794 38.25 476505 1038248 36 11:10:23 11:10:23 11:03:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:10:23 11:04:01 eth0 362.71 285.27 832.31 198.53 0.00 0.00 0.00 0.00 11:10:23 11:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:23 11:04:01 docker0 55.79 41.08 4.12 134.98 0.00 0.00 0.00 0.00 11:10:23 11:05:01 eth0 2.93 0.92 2.18 0.24 0.00 0.00 0.00 0.00 11:10:23 11:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:23 11:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:23 11:06:01 eth0 0.92 0.43 0.50 0.20 0.00 0.00 0.00 0.00 11:10:23 11:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:23 11:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:23 11:07:01 eth0 0.75 0.40 0.30 0.20 0.00 0.00 0.00 0.00 11:10:23 11:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:23 11:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:23 11:08:01 eth0 0.22 0.15 0.08 0.07 0.00 0.00 0.00 0.00 11:10:23 11:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:23 11:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:23 11:09:01 veth4d35fdf 0.42 0.37 0.09 0.17 0.00 0.00 0.00 0.00 11:10:23 11:09:01 eth0 493.31 447.53 4039.06 88.38 0.00 0.00 0.00 0.00 11:10:23 11:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:23 11:09:01 docker0 23.81 20.78 3.01 50.18 0.00 0.00 0.00 0.00 11:10:23 11:10:01 eth0 469.68 405.64 3593.78 74.03 0.00 0.00 0.00 0.00 11:10:23 11:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:23 11:10:01 veth6db466e 1.71 1.31 0.27 0.23 0.00 0.00 0.00 0.00 11:10:23 11:10:01 docker0 29.07 32.08 1.75 199.09 0.00 0.00 0.00 0.00 11:10:23 Average: eth0 189.73 162.67 1211.06 51.33 0.00 0.00 0.00 0.00 11:10:23 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:23 Average: veth6db466e 0.25 0.19 0.04 0.03 0.00 0.00 0.00 0.00 11:10:23 Average: docker0 15.43 13.36 1.26 54.73 0.00 0.00 0.00 0.00 11:10:23 11:10:23 11:10:23 ---> sar -P ALL: 11:10:23 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/22/20 _x86_64_ (4 CPU) 11:10:23 11:10:23 11:02:14 LINUX RESTART (4 CPU) 11:10:23 11:10:23 11:03:02 CPU %user %nice %system %iowait %steal %idle 11:10:23 11:04:01 all 5.52 0.00 2.37 1.45 0.02 90.63 11:10:23 11:04:01 0 6.18 0.00 2.54 0.19 0.02 91.07 11:10:23 11:04:01 1 5.76 0.00 2.33 0.49 0.02 91.40 11:10:23 11:04:01 2 5.28 0.00 1.74 1.38 0.03 91.56 11:10:23 11:04:01 3 4.85 0.00 2.88 3.75 0.02 88.50 11:10:23 11:05:01 all 0.15 0.00 0.06 0.00 0.00 99.79 11:10:23 11:05:01 0 0.03 0.00 0.03 0.00 0.00 99.93 11:10:23 11:05:01 1 0.05 0.00 0.07 0.00 0.00 99.88 11:10:23 11:05:01 2 0.05 0.00 0.05 0.00 0.00 99.90 11:10:23 11:05:01 3 0.48 0.00 0.08 0.00 0.00 99.43 11:10:23 11:06:01 all 0.16 0.00 0.02 0.00 0.00 99.81 11:10:23 11:06:01 0 0.05 0.00 0.05 0.00 0.00 99.90 11:10:23 11:06:01 1 0.05 0.00 0.02 0.00 0.00 99.93 11:10:23 11:06:01 2 0.05 0.00 0.02 0.02 0.00 99.92 11:10:23 11:06:01 3 0.48 0.00 0.02 0.00 0.00 99.50 11:10:23 11:07:01 all 0.15 0.00 0.04 0.00 0.00 99.80 11:10:23 11:07:01 0 0.03 0.00 0.05 0.00 0.00 99.92 11:10:23 11:07:01 1 0.03 0.00 0.03 0.00 0.00 99.93 11:10:23 11:07:01 2 0.03 0.00 0.05 0.00 0.02 99.90 11:10:23 11:07:01 3 0.52 0.00 0.02 0.00 0.00 99.47 11:10:23 11:08:01 all 0.13 0.00 0.06 0.00 0.00 99.81 11:10:23 11:08:01 0 0.02 0.00 0.03 0.00 0.00 99.95 11:10:23 11:08:01 1 0.03 0.00 0.03 0.00 0.00 99.93 11:10:23 11:08:01 2 0.07 0.00 0.15 0.00 0.00 99.78 11:10:23 11:08:01 3 0.40 0.00 0.03 0.00 0.00 99.57 11:10:23 11:09:01 all 9.31 0.00 6.14 2.77 0.03 81.75 11:10:23 11:09:01 0 9.34 0.00 6.44 2.56 0.03 81.63 11:10:23 11:09:01 1 9.32 0.00 6.26 2.88 0.02 81.52 11:10:23 11:09:01 2 9.37 0.00 6.32 3.51 0.03 80.77 11:10:23 11:09:01 3 9.19 0.00 5.55 2.15 0.02 83.09 11:10:23 11:10:01 all 11.03 0.00 7.72 2.69 0.03 78.53 11:10:23 11:10:01 0 9.52 0.00 8.09 2.13 0.02 80.24 11:10:23 11:10:01 1 13.66 0.00 7.98 3.88 0.03 74.44 11:10:23 11:10:01 2 10.00 0.00 6.80 1.90 0.05 81.25 11:10:23 11:10:01 3 10.93 0.00 8.02 2.85 0.02 78.18 11:10:23 Average: all 3.74 0.00 2.32 0.98 0.01 92.95 11:10:23 Average: 0 3.55 0.00 2.43 0.69 0.01 93.32 11:10:23 Average: 1 4.09 0.00 2.37 1.03 0.01 92.51 11:10:23 Average: 2 3.52 0.00 2.14 0.96 0.02 93.36 11:10:23 Average: 3 3.80 0.00 2.35 1.24 0.01 92.61 11:10:23 11:10:23 11:10:23