Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ec5ba659fde701601f352c67d2492fac5a523e90 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-242 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision ec5ba659fde701601f352c67d2492fac5a523e90 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 Commit message: "Merge pull request #40 from hahattan/issue-38" > git rev-list --no-walk 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-17T17:32:59.160Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-17T17:32:59.510Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-17T17:32:59.653Z] ========================================================= [2020-09-17T17:32:59.653Z] EdgeX Global Pipelines Version Info [2020-09-17T17:32:59.653Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-17T17:33:01.654Z] ------------------- [2020-09-17T17:33:01.654Z] stable info: [2020-09-17T17:33:01.654Z] ------------------- [2020-09-17T17:33:01.654Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-17T17:33:01.654Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-17T17:33:01.654Z] Message: update stable to v1.0.122 [2020-09-17T17:33:02.231Z] ------------------- [2020-09-17T17:33:02.231Z] experimental info: [2020-09-17T17:33:02.231Z] ------------------- [2020-09-17T17:33:02.231Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-17T17:33:02.231Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-17T17:33:02.231Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-17T17:33:02.637Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-09-17T17:33:02.762Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-09-17T17:33:03.032Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-17T17:33:03.137Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-17T17:33:03.252Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-17T17:33:03.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-17T17:33:03.514Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-17T17:33:03.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-17T17:33:03.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-17T17:33:03.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-17T17:33:04.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-17T17:33:04.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-09-17T17:33:04.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-17T17:33:04.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-17T17:33:04.504Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T17:33:04.621Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T17:33:04.855Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T17:33:04.972Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T17:33:05.074Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-17T17:33:05.197Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-17T17:33:05.292Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-17T17:33:05.394Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-17T17:33:05.490Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-09-17T17:33:05.591Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-09-17T17:33:05.693Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-09-17T17:33:05.805Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec5ba659fde701601f352c67d2492fac5a523e90 [Pipeline] echo [2020-09-17T17:33:05.906Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec5ba65 [Pipeline] echo [2020-09-17T17:33:06.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T17:33:06.782Z] + git log --format=format:%s -1 ec5ba659fde701601f352c67d2492fac5a523e90 [Pipeline] echo [2020-09-17T17:33:06.842Z] GIT_COMMIT: ec5ba659fde701601f352c67d2492fac5a523e90, Commit Message: Merge pull request #40 from hahattan/issue-38 [Pipeline] echo [2020-09-17T17:33:06.892Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:33:07.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T17:33:08.085Z] [2020-09-17T17:33:08.085Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:33:08.433Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T17:33:08.433Z] latest: Pulling from edgex-devops/git-semver [2020-09-17T17:33:08.433Z] 31603596830f: Pulling fs layer [2020-09-17T17:33:08.433Z] 2a8b12db71e7: Pulling fs layer [2020-09-17T17:33:08.433Z] 6ca5941a6612: Pulling fs layer [2020-09-17T17:33:08.433Z] ecc8261a40a4: Pulling fs layer [2020-09-17T17:33:08.433Z] ecc8261a40a4: Waiting [2020-09-17T17:33:08.433Z] 2a8b12db71e7: Verifying Checksum [2020-09-17T17:33:08.433Z] 2a8b12db71e7: Download complete [2020-09-17T17:33:08.700Z] 31603596830f: Verifying Checksum [2020-09-17T17:33:08.700Z] 31603596830f: Download complete [2020-09-17T17:33:08.700Z] ecc8261a40a4: Verifying Checksum [2020-09-17T17:33:08.700Z] ecc8261a40a4: Download complete [2020-09-17T17:33:08.700Z] 6ca5941a6612: Verifying Checksum [2020-09-17T17:33:08.700Z] 6ca5941a6612: Download complete [2020-09-17T17:33:08.962Z] 31603596830f: Pull complete [2020-09-17T17:33:09.224Z] 2a8b12db71e7: Pull complete [2020-09-17T17:33:10.166Z] 6ca5941a6612: Pull complete [2020-09-17T17:33:10.166Z] ecc8261a40a4: Pull complete [2020-09-17T17:33:10.166Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-17T17:33:10.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T17:33:10.166Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-17T17:33:10.263Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2020-09-17T17:33:10.306Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T17:33:12.085Z] $ docker top 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T17:33:12.399Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T17:33:12.399Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T17:33:12.601Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T17:33:12.606Z] $ docker exec 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef ssh-agent [2020-09-17T17:33:12.755Z] SSH_AUTH_SOCK=/tmp/ssh-FDDW8AVie7Ep/agent.12 [2020-09-17T17:33:12.755Z] SSH_AGENT_PID=17 [2020-09-17T17:33:12.766Z] Running ssh-add (command line suppressed) [2020-09-17T17:33:12.876Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8135715946588023634.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8135715946588023634.key) [2020-09-17T17:33:12.921Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T17:33:13.257Z] + git describe --exact-match --tags HEAD [2020-09-17T17:33:13.257Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-17T17:33:13.339Z] $ docker exec --env ******** --env ******** 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef ssh-agent -k [2020-09-17T17:33:13.456Z] unset SSH_AUTH_SOCK; [2020-09-17T17:33:13.456Z] unset SSH_AGENT_PID; [2020-09-17T17:33:13.456Z] echo Agent pid 17 killed; [2020-09-17T17:33:13.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-17T17:33:13.606Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-17T17:33:13.606Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-17T17:33:13.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T17:33:13.718Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T17:33:13.875Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T17:33:13.880Z] $ docker exec 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef ssh-agent [2020-09-17T17:33:14.031Z] SSH_AUTH_SOCK=/tmp/ssh-6HZcPfluBGvs/agent.46 [2020-09-17T17:33:14.031Z] SSH_AGENT_PID=52 [2020-09-17T17:33:14.038Z] Running ssh-add (command line suppressed) [2020-09-17T17:33:14.157Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3662659846699039487.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3662659846699039487.key) [2020-09-17T17:33:14.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T17:33:14.549Z] + git semver init [2020-09-17T17:33:14.549Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T17:33:14.549Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-09-17T17:33:14.549Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-09-17T17:33:14.549Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T17:33:14.549Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T17:33:14.549Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T17:33:14.549Z] # $SEMVER_BRANCH = master [2020-09-17T17:33:14.549Z] # $SEMVER_TEMP = /tmp/semver-879513788 [2020-09-17T17:33:14.549Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-09-17T17:33:15.500Z] # '/tmp/semver-879513788' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2020-09-17T17:33:15.500Z] # -> Force: false [2020-09-17T17:33:15.500Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-09-17T17:33:15.514Z] $ docker exec --env ******** --env ******** 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef ssh-agent -k [2020-09-17T17:33:15.630Z] unset SSH_AUTH_SOCK; [2020-09-17T17:33:15.630Z] unset SSH_AGENT_PID; [2020-09-17T17:33:15.630Z] echo Agent pid 52 killed; [2020-09-17T17:33:15.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T17:33:16.159Z] + git semver [Pipeline] } [2020-09-17T17:33:16.177Z] $ docker stop --time=1 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef [2020-09-17T17:33:17.614Z] $ docker rm -f 43458d30a2aa30afcd9431a72a18a0717efa716251ea8a48d0c66baa6ff643ef [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-17T17:33:19.002Z] Stashed 17 file(s) [Pipeline] echo [2020-09-17T17:33:19.004Z] [edgeXSemver]: initialized semver on version 1.1.3-dev.3 [Pipeline] echo [2020-09-17T17:33:19.099Z] Archived original version: [1.1.3-dev.3] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-17T17:33:34.576Z] Still waiting to schedule task [2020-09-17T17:33:34.576Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-242’ [2020-09-17T17:33:34.580Z] Still waiting to schedule task [2020-09-17T17:33:34.580Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-17T17:35:31.949Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-243 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-09-17T17:35:32.020Z] Running in /w/workspace/device-rest-go/19 [Pipeline] { [Pipeline] checkout [2020-09-17T17:35:37.150Z] using credential edgex-jenkins-ssh [2020-09-17T17:35:37.215Z] Cloning the remote Git repository [2020-09-17T17:35:37.215Z] Cloning with configured refspecs honoured and without tags [2020-09-17T17:35:37.274Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T17:35:37.393Z] > git init /w/workspace/device-rest-go/19 # timeout=10 [2020-09-17T17:35:37.459Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T17:35:37.460Z] > git --version # timeout=10 [2020-09-17T17:35:37.490Z] > git --version # 'git version 2.17.1' [2020-09-17T17:35:37.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T17:35:37.570Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T17:35:39.138Z] Fetching without tags [2020-09-17T17:35:39.636Z] Checking out Revision ec5ba659fde701601f352c67d2492fac5a523e90 (master) [2020-09-17T17:35:39.068Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-17T17:35:39.094Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T17:35:39.119Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-17T17:35:39.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T17:35:39.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T17:35:39.169Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T17:35:39.659Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T17:35:39.678Z] > git checkout -f ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 [2020-09-17T17:35:44.128Z] Commit message: "Merge pull request #40 from hahattan/issue-38" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T17:35:46.073Z] ========================================================= [2020-09-17T17:35:46.073Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-17T17:35:46.073Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:35:47.094Z] + 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 . [2020-09-17T17:35:48.076Z] Sending build context to Docker daemon 8.042MB [2020-09-17T17:35:48.076Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-17T17:35:48.076Z] Step 2/10 : FROM ${BASE} [2020-09-17T17:35:48.349Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-17T17:35:48.350Z] b538f80385f9: Pulling fs layer [2020-09-17T17:35:48.350Z] 74f711af9a0d: Pulling fs layer [2020-09-17T17:35:48.350Z] 99f96fe45779: Pulling fs layer [2020-09-17T17:35:48.350Z] 8529a6b9a6be: Pulling fs layer [2020-09-17T17:35:48.350Z] 45590311c82a: Pulling fs layer [2020-09-17T17:35:48.350Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-17T17:35:48.350Z] 209524e5b208: Pulling fs layer [2020-09-17T17:35:48.350Z] 8529a6b9a6be: Waiting [2020-09-17T17:35:48.350Z] 45590311c82a: Waiting [2020-09-17T17:35:48.350Z] 69ca0ff8b7b3: Waiting [2020-09-17T17:35:48.350Z] 209524e5b208: Waiting [2020-09-17T17:35:48.350Z] 99f96fe45779: Download complete [2020-09-17T17:35:48.350Z] 74f711af9a0d: Verifying Checksum [2020-09-17T17:35:48.350Z] 74f711af9a0d: Download complete [2020-09-17T17:35:48.350Z] 45590311c82a: Verifying Checksum [2020-09-17T17:35:48.350Z] 45590311c82a: Download complete [2020-09-17T17:35:48.350Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-17T17:35:48.350Z] 69ca0ff8b7b3: Download complete [2020-09-17T17:35:48.350Z] b538f80385f9: Verifying Checksum [2020-09-17T17:35:48.350Z] b538f80385f9: Download complete [2020-09-17T17:35:49.337Z] b538f80385f9: Pull complete [2020-09-17T17:35:49.616Z] 74f711af9a0d: Pull complete [2020-09-17T17:35:49.890Z] 99f96fe45779: Pull complete [2020-09-17T17:35:51.887Z] 209524e5b208: Verifying Checksum [2020-09-17T17:35:51.887Z] 209524e5b208: Download complete [2020-09-17T17:35:52.487Z] 8529a6b9a6be: Verifying Checksum [2020-09-17T17:35:52.488Z] 8529a6b9a6be: Download complete [2020-09-17T17:36:02.736Z] 8529a6b9a6be: Pull complete [2020-09-17T17:36:03.016Z] 45590311c82a: Pull complete [2020-09-17T17:36:03.293Z] 69ca0ff8b7b3: Pull complete [2020-09-17T17:36:07.610Z] 209524e5b208: Pull complete [2020-09-17T17:36:07.610Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-17T17:36:07.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-17T17:36:07.610Z] ---> 5bddaf1c2fca [2020-09-17T17:36:07.610Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T17:36:10.233Z] ---> Running in a0048de43deb [2020-09-17T17:36:10.507Z] Removing intermediate container a0048de43deb [2020-09-17T17:36:10.507Z] ---> 6a716fe28b1c [2020-09-17T17:36:10.507Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T17:36:10.507Z] ---> Running in f875c74f2418 [2020-09-17T17:36:11.104Z] Removing intermediate container f875c74f2418 [2020-09-17T17:36:11.104Z] ---> 61ee0acb1b27 [2020-09-17T17:36:11.104Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T17:36:11.104Z] ---> Running in 1289377be405 [2020-09-17T17:36:11.710Z] Removing intermediate container 1289377be405 [2020-09-17T17:36:11.710Z] ---> 9c1675af3e13 [2020-09-17T17:36:11.710Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T17:36:11.710Z] ---> Running in e0ce30017071 [2020-09-17T17:36:15.133Z] Removing intermediate container e0ce30017071 [2020-09-17T17:36:15.133Z] ---> 409660ba892a [2020-09-17T17:36:15.133Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T17:36:15.133Z] ---> Running in b4fab2ecd735 [2020-09-17T17:36:16.113Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T17:36:17.089Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T17:36:17.685Z] OK: 142 MiB in 39 packages [2020-09-17T17:36:19.121Z] Removing intermediate container b4fab2ecd735 [2020-09-17T17:36:19.121Z] ---> 4970381f30ec [2020-09-17T17:36:19.121Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-17T17:36:19.121Z] ---> Running in 03ed7d7c8497 [2020-09-17T17:36:19.716Z] Removing intermediate container 03ed7d7c8497 [2020-09-17T17:36:19.716Z] ---> e31c6b0ccfec [2020-09-17T17:36:19.716Z] Step 9/10 : COPY . . [2020-09-17T17:36:20.692Z] ---> 23223425ce3e [2020-09-17T17:36:20.692Z] Step 10/10 : RUN go mod download [2020-09-17T17:36:20.967Z] ---> Running in ee04c523f10e [2020-09-17T17:36:36.054Z] Removing intermediate container ee04c523f10e [2020-09-17T17:36:36.054Z] ---> 613119552379 [2020-09-17T17:36:36.054Z] Successfully built 613119552379 [2020-09-17T17:36:36.054Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:36:36.461Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T17:36:36.461Z] . [Pipeline] withDockerContainer [2020-09-17T17:36:36.740Z] prd-ubuntu18.04-docker-arm64-4c-16g-243 does not seem to be running inside a container [2020-09-17T17:36:36.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-17T17:36:38.765Z] $ docker top 7bd14dd60ace14883c067ad2cc260800f1d29f30497d04c5a87edde3f503dcf6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T17:36:40.272Z] + go version [2020-09-17T17:36:40.272Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-17T17:36:40.298Z] $ docker stop --time=1 7bd14dd60ace14883c067ad2cc260800f1d29f30497d04c5a87edde3f503dcf6 [2020-09-17T17:36:42.372Z] $ docker rm -f 7bd14dd60ace14883c067ad2cc260800f1d29f30497d04c5a87edde3f503dcf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T17:36:45.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T17:36:46.060Z] + ls -al . [2020-09-17T17:36:46.060Z] total 100 [2020-09-17T17:36:46.060Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 17:35 . [2020-09-17T17:36:46.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 17:35 .. [2020-09-17T17:36:46.060Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 17 17:35 .dockerignore [2020-09-17T17:36:46.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 17:35 .git [2020-09-17T17:36:46.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 17:35 .github [2020-09-17T17:36:46.060Z] -rw-rw-r-- 1 jenkins jenkins 339 Sep 17 17:35 .gitignore [2020-09-17T17:36:46.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 17:35 .semver [2020-09-17T17:36:46.060Z] -rw-rw-r-- 1 jenkins jenkins 4566 Sep 17 17:35 Attribution.txt [2020-09-17T17:36:46.060Z] -rw-rw-r-- 1 jenkins jenkins 1519 Sep 17 17:35 Dockerfile [2020-09-17T17:36:46.060Z] -rw-rw-r-- 1 jenkins jenkins 989 Sep 17 17:35 Dockerfile.build [2020-09-17T17:36:46.060Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 17 17:35 Jenkinsfile [2020-09-17T17:36:46.060Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 17:35 LICENSE [2020-09-17T17:36:46.060Z] -rw-rw-r-- 1 jenkins jenkins 951 Sep 17 17:35 Makefile [2020-09-17T17:36:46.060Z] -rw-rw-r-- 1 jenkins jenkins 5716 Sep 17 17:35 README.md [2020-09-17T17:36:46.060Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 17 17:33 VERSION [2020-09-17T17:36:46.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 17:35 bin [2020-09-17T17:36:46.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 17:35 cmd [2020-09-17T17:36:46.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 17:35 driver [2020-09-17T17:36:46.060Z] -rw-rw-r-- 1 jenkins jenkins 266 Sep 17 17:35 go.mod [2020-09-17T17:36:46.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 17:35 snap [2020-09-17T17:36:46.060Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 17 17:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:36:46.401Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ec5ba659fde701601f352c67d2492fac5a523e90 --label arch=arm64 --label version=1.1.3-dev.3 . [2020-09-17T17:36:46.674Z] Sending build context to Docker daemon 8.042MB [2020-09-17T17:36:46.674Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-17T17:36:46.674Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-17T17:36:46.674Z] ---> 613119552379 [2020-09-17T17:36:46.674Z] Step 3/25 : ARG MAKE='make build' [2020-09-17T17:36:46.948Z] ---> Running in 0a4053c8f08f [2020-09-17T17:36:47.546Z] Removing intermediate container 0a4053c8f08f [2020-09-17T17:36:47.546Z] ---> 1ed21f25cdf4 [2020-09-17T17:36:47.546Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T17:36:47.546Z] ---> Running in a14c4c4194e5 [2020-09-17T17:36:48.143Z] Removing intermediate container a14c4c4194e5 [2020-09-17T17:36:48.143Z] ---> 61f496b848ed [2020-09-17T17:36:48.143Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T17:36:48.143Z] ---> Running in c596eaecebce [2020-09-17T17:36:48.742Z] Removing intermediate container c596eaecebce [2020-09-17T17:36:48.742Z] ---> 555aae7edd4c [2020-09-17T17:36:48.742Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T17:36:48.742Z] ---> Running in c8e2af978cdf [2020-09-17T17:36:51.358Z] Removing intermediate container c8e2af978cdf [2020-09-17T17:36:51.358Z] ---> 85e515034c95 [2020-09-17T17:36:51.358Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T17:36:51.358Z] ---> Running in d05b5c86e704 [2020-09-17T17:36:52.810Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T17:36:54.241Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T17:36:55.215Z] OK: 142 MiB in 39 packages [2020-09-17T17:36:56.199Z] Removing intermediate container d05b5c86e704 [2020-09-17T17:36:56.199Z] ---> e7b4f767563b [2020-09-17T17:36:56.199Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-17T17:36:56.475Z] ---> Running in 38d848100ad1 [2020-09-17T17:36:56.758Z] Removing intermediate container 38d848100ad1 [2020-09-17T17:36:56.758Z] ---> 8c6b75ab23c0 [2020-09-17T17:36:56.758Z] Step 9/25 : COPY go.mod . [2020-09-17T17:36:57.510Z] Running on prd-centos7-docker-4c-2g-244 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-09-17T17:36:57.561Z] Running in /w/workspace/device-rest-go/19 [Pipeline] { [Pipeline] checkout [2020-09-17T17:36:57.736Z] ---> 268fbbc026ae [2020-09-17T17:36:57.736Z] Step 10/25 : COPY Makefile . [2020-09-17T17:36:58.333Z] ---> 4924082a965e [2020-09-17T17:36:58.333Z] Step 11/25 : RUN make update [2020-09-17T17:36:58.333Z] ---> Running in 84cd94a16fde [2020-09-17T17:36:59.765Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-17T17:37:01.195Z] Removing intermediate container 84cd94a16fde [2020-09-17T17:37:01.195Z] ---> abde4816fb1f [2020-09-17T17:37:01.195Z] Step 12/25 : COPY . . [2020-09-17T17:37:02.187Z] ---> af8982126a80 [2020-09-17T17:37:02.187Z] Step 13/25 : RUN $MAKE [2020-09-17T17:37:02.187Z] ---> Running in ceaa6a6d6eb2 [2020-09-17T17:37:03.626Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.3" -o cmd/device-rest-go ./cmd [2020-09-17T17:37:06.818Z] using credential edgex-jenkins-ssh [2020-09-17T17:37:06.872Z] Cloning the remote Git repository [2020-09-17T17:37:06.872Z] Cloning with configured refspecs honoured and without tags [2020-09-17T17:37:06.965Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T17:37:07.074Z] > git init /w/workspace/device-rest-go/19 # timeout=10 [2020-09-17T17:37:07.179Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T17:37:07.179Z] > git --version # timeout=10 [2020-09-17T17:37:07.233Z] > git --version # 'git version 2.16.5' [2020-09-17T17:37:07.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T17:37:07.310Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T17:37:09.005Z] Fetching without tags [2020-09-17T17:37:09.423Z] Checking out Revision ec5ba659fde701601f352c67d2492fac5a523e90 (master) [2020-09-17T17:37:08.966Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-17T17:37:08.978Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T17:37:08.994Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-17T17:37:09.008Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T17:37:09.008Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T17:37:09.014Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T17:37:09.431Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T17:37:09.437Z] > git checkout -f ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 [2020-09-17T17:37:13.686Z] Commit message: "Merge pull request #40 from hahattan/issue-38" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T17:37:15.846Z] ========================================================= [2020-09-17T17:37:15.846Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-17T17:37:15.846Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:37:16.902Z] + 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 . [2020-09-17T17:37:18.515Z] Sending build context to Docker daemon 8.042MB [2020-09-17T17:37:18.830Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-17T17:37:18.830Z] Step 2/10 : FROM ${BASE} [2020-09-17T17:37:18.830Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-17T17:37:18.830Z] df20fa9351a1: Pulling fs layer [2020-09-17T17:37:18.830Z] ed8968b2872e: Pulling fs layer [2020-09-17T17:37:18.830Z] a92cc7c5fd73: Pulling fs layer [2020-09-17T17:37:18.830Z] e871e8e8d7a9: Pulling fs layer [2020-09-17T17:37:18.830Z] e73272ec9a57: Pulling fs layer [2020-09-17T17:37:18.830Z] 1e910a182e73: Pulling fs layer [2020-09-17T17:37:18.830Z] 4e634b169226: Pulling fs layer [2020-09-17T17:37:18.830Z] e871e8e8d7a9: Waiting [2020-09-17T17:37:18.830Z] e73272ec9a57: Waiting [2020-09-17T17:37:18.830Z] 1e910a182e73: Waiting [2020-09-17T17:37:18.830Z] 4e634b169226: Waiting [2020-09-17T17:37:18.830Z] a92cc7c5fd73: Verifying Checksum [2020-09-17T17:37:18.830Z] a92cc7c5fd73: Download complete [2020-09-17T17:37:19.149Z] e73272ec9a57: Download complete [2020-09-17T17:37:19.149Z] 1e910a182e73: Verifying Checksum [2020-09-17T17:37:19.149Z] 1e910a182e73: Download complete [2020-09-17T17:37:19.149Z] df20fa9351a1: Download complete [2020-09-17T17:37:20.326Z] df20fa9351a1: Pull complete [2020-09-17T17:37:20.617Z] ed8968b2872e: Pull complete [2020-09-17T17:37:20.617Z] a92cc7c5fd73: Pull complete [2020-09-17T17:37:25.320Z] 4e634b169226: Verifying Checksum [2020-09-17T17:37:25.320Z] 4e634b169226: Download complete [2020-09-17T17:37:26.843Z] e871e8e8d7a9: Verifying Checksum [2020-09-17T17:37:26.843Z] e871e8e8d7a9: Download complete [2020-09-17T17:37:30.452Z] Removing intermediate container ceaa6a6d6eb2 [2020-09-17T17:37:30.452Z] ---> 3a7d4712607a [2020-09-17T17:37:30.452Z] Step 14/25 : FROM alpine:latest [2020-09-17T17:37:30.452Z] latest: Pulling from library/alpine [2020-09-17T17:37:30.452Z] b538f80385f9: Already exists [2020-09-17T17:37:30.452Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-17T17:37:30.452Z] Status: Downloaded newer image for alpine:latest [2020-09-17T17:37:30.452Z] ---> 62ee0e9f8440 [2020-09-17T17:37:30.452Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T17:37:30.452Z] ---> Running in f18d20506579 [2020-09-17T17:37:30.452Z] Removing intermediate container f18d20506579 [2020-09-17T17:37:30.452Z] ---> d8a008097dab [2020-09-17T17:37:30.452Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-17T17:37:30.452Z] ---> Running in f1364c8238b7 [2020-09-17T17:37:30.452Z] Removing intermediate container f1364c8238b7 [2020-09-17T17:37:30.452Z] ---> 21fa4d654527 [2020-09-17T17:37:30.452Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-17T17:37:30.452Z] ---> 2502fe4d9474 [2020-09-17T17:37:30.452Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-17T17:37:31.052Z] ---> 4401be08b66e [2020-09-17T17:37:31.052Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-17T17:37:32.484Z] ---> 594ac28a7006 [2020-09-17T17:37:32.484Z] Step 20/25 : EXPOSE 49986 [2020-09-17T17:37:32.758Z] ---> Running in d554df000313 [2020-09-17T17:37:33.030Z] Removing intermediate container d554df000313 [2020-09-17T17:37:33.030Z] ---> 217fe0b2db4e [2020-09-17T17:37:33.030Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-17T17:37:33.304Z] ---> Running in e5d1671fb252 [2020-09-17T17:37:33.901Z] Removing intermediate container e5d1671fb252 [2020-09-17T17:37:33.901Z] ---> e94a2a35c9b6 [2020-09-17T17:37:33.901Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-17T17:37:33.901Z] ---> Running in 8caf05815fca [2020-09-17T17:37:34.176Z] Removing intermediate container 8caf05815fca [2020-09-17T17:37:34.176Z] ---> b00bc9b0112d [2020-09-17T17:37:34.176Z] Step 23/25 : LABEL arch=arm64 [2020-09-17T17:37:34.450Z] ---> Running in 2f261f72c078 [2020-09-17T17:37:35.043Z] Removing intermediate container 2f261f72c078 [2020-09-17T17:37:35.043Z] ---> aa9a4870b4b5 [2020-09-17T17:37:35.044Z] Step 24/25 : LABEL git_sha=ec5ba659fde701601f352c67d2492fac5a523e90 [2020-09-17T17:37:35.044Z] ---> Running in 18ec0c971cbb [2020-09-17T17:37:35.639Z] Removing intermediate container 18ec0c971cbb [2020-09-17T17:37:35.639Z] ---> f6fa0b3cca42 [2020-09-17T17:37:35.639Z] Step 25/25 : LABEL version=1.1.3-dev.3 [2020-09-17T17:37:35.639Z] ---> Running in aa185b542826 [2020-09-17T17:37:36.230Z] Removing intermediate container aa185b542826 [2020-09-17T17:37:36.230Z] ---> 33273b610961 [2020-09-17T17:37:36.230Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T17:37:36.230Z] Successfully built 33273b610961 [2020-09-17T17:37:36.230Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-09-17T17:37:36.751Z] provisioning config files... [2020-09-17T17:37:36.791Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/19@tmp/config2872768002718419381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-17T17:37:37.190Z] ---> docker-login.sh [2020-09-17T17:37:37.190Z] nexus3.edgexfoundry.org:10001 [2020-09-17T17:37:37.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T17:37:37.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T17:37:37.737Z] Configure a credential helper to remove this warning. See [2020-09-17T17:37:37.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T17:37:37.737Z] [2020-09-17T17:37:37.737Z] Login Succeeded [2020-09-17T17:37:37.737Z] nexus3.edgexfoundry.org:10002 [2020-09-17T17:37:38.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T17:37:38.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T17:37:38.284Z] Configure a credential helper to remove this warning. See [2020-09-17T17:37:38.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T17:37:38.284Z] [2020-09-17T17:37:38.284Z] Login Succeeded [2020-09-17T17:37:38.284Z] nexus3.edgexfoundry.org:10003 [2020-09-17T17:37:38.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T17:37:38.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T17:37:38.876Z] Configure a credential helper to remove this warning. See [2020-09-17T17:37:38.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T17:37:38.876Z] [2020-09-17T17:37:38.876Z] Login Succeeded [2020-09-17T17:37:38.876Z] nexus3.edgexfoundry.org:10004 [2020-09-17T17:37:39.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T17:37:39.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T17:37:39.470Z] Configure a credential helper to remove this warning. See [2020-09-17T17:37:39.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T17:37:39.470Z] [2020-09-17T17:37:39.470Z] Login Succeeded [2020-09-17T17:37:39.470Z] docker.io [2020-09-17T17:37:39.727Z] e871e8e8d7a9: Pull complete [2020-09-17T17:37:39.727Z] e73272ec9a57: Pull complete [2020-09-17T17:37:39.727Z] 1e910a182e73: Pull complete [2020-09-17T17:37:39.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T17:37:40.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T17:37:40.337Z] Configure a credential helper to remove this warning. See [2020-09-17T17:37:40.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T17:37:40.337Z] [2020-09-17T17:37:40.337Z] Login Succeeded [2020-09-17T17:37:40.337Z] ---> docker-login.sh ends [Pipeline] } [2020-09-17T17:37:40.353Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T17:37:40.637Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2020-09-17T17:37:40.637Z] ec5ba659fde701601f352c67d2492fac5a523e90 [2020-09-17T17:37:40.637Z] latest [2020-09-17T17:37:40.637Z] 1.1.3-dev.3 [2020-09-17T17:37:40.637Z] ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 [2020-09-17T17:37:40.637Z] master [2020-09-17T17:37:40.637Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:37:41.209Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:37:41.547Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90 [2020-09-17T17:37:41.547Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-09-17T17:37:41.547Z] aaf9949913e0: Preparing [2020-09-17T17:37:41.547Z] 8c189896651e: Preparing [2020-09-17T17:37:41.547Z] 6503d0ecf506: Preparing [2020-09-17T17:37:41.547Z] e2f13739ad41: Preparing [2020-09-17T17:37:41.819Z] e2f13739ad41: Layer already exists [2020-09-17T17:37:41.819Z] 8c189896651e: Pushed [2020-09-17T17:37:41.819Z] 6503d0ecf506: Pushed [2020-09-17T17:37:44.418Z] aaf9949913e0: Pushed [2020-09-17T17:37:44.418Z] ec5ba659fde701601f352c67d2492fac5a523e90: digest: sha256:9cf6efe95a48bb16f6c3b29c098bf35038058a6456cc3098c5ccae5eff1f2964 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:37:44.753Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:37:45.087Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-09-17T17:37:45.087Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-09-17T17:37:45.087Z] aaf9949913e0: Preparing [2020-09-17T17:37:45.087Z] 8c189896651e: Preparing [2020-09-17T17:37:45.087Z] 6503d0ecf506: Preparing [2020-09-17T17:37:45.087Z] e2f13739ad41: Preparing [2020-09-17T17:37:45.087Z] 6503d0ecf506: Layer already exists [2020-09-17T17:37:45.087Z] aaf9949913e0: Layer already exists [2020-09-17T17:37:45.087Z] e2f13739ad41: Layer already exists [2020-09-17T17:37:45.360Z] 8c189896651e: Layer already exists [2020-09-17T17:37:45.360Z] latest: digest: sha256:9cf6efe95a48bb16f6c3b29c098bf35038058a6456cc3098c5ccae5eff1f2964 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:37:45.512Z] 4e634b169226: Pull complete [2020-09-17T17:37:45.512Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-17T17:37:45.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-17T17:37:45.512Z] ---> f7629b54cfaa [2020-09-17T17:37:45.512Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T17:37:45.696Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.3 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:37:45.786Z] ---> Running in 2fdeb8e5d4bd [2020-09-17T17:37:46.032Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.3 [2020-09-17T17:37:46.032Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-09-17T17:37:46.032Z] aaf9949913e0: Preparing [2020-09-17T17:37:46.032Z] 8c189896651e: Preparing [2020-09-17T17:37:46.032Z] 6503d0ecf506: Preparing [2020-09-17T17:37:46.032Z] e2f13739ad41: Preparing [2020-09-17T17:37:46.032Z] aaf9949913e0: Layer already exists [2020-09-17T17:37:46.032Z] e2f13739ad41: Layer already exists [2020-09-17T17:37:46.032Z] 8c189896651e: Layer already exists [2020-09-17T17:37:46.032Z] 6503d0ecf506: Layer already exists [2020-09-17T17:37:46.072Z] Removing intermediate container 2fdeb8e5d4bd [2020-09-17T17:37:46.072Z] ---> c45b9b3f9688 [2020-09-17T17:37:46.072Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T17:37:46.072Z] ---> Running in 515baeab91dc [2020-09-17T17:37:46.305Z] 1.1.3-dev.3: digest: sha256:9cf6efe95a48bb16f6c3b29c098bf35038058a6456cc3098c5ccae5eff1f2964 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:37:46.354Z] Removing intermediate container 515baeab91dc [2020-09-17T17:37:46.354Z] ---> cac00e851b5d [2020-09-17T17:37:46.354Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T17:37:46.354Z] ---> Running in de4438f1ec92 [2020-09-17T17:37:46.623Z] Removing intermediate container de4438f1ec92 [2020-09-17T17:37:46.623Z] ---> 1230035c9f6a [2020-09-17T17:37:46.623Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T17:37:46.623Z] ---> Running in 9b0982465610 [2020-09-17T17:37:46.648Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:37:46.978Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 [2020-09-17T17:37:46.979Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-09-17T17:37:46.979Z] aaf9949913e0: Preparing [2020-09-17T17:37:46.979Z] 8c189896651e: Preparing [2020-09-17T17:37:46.979Z] 6503d0ecf506: Preparing [2020-09-17T17:37:46.979Z] e2f13739ad41: Preparing [2020-09-17T17:37:46.979Z] 6503d0ecf506: Layer already exists [2020-09-17T17:37:46.979Z] aaf9949913e0: Layer already exists [2020-09-17T17:37:46.979Z] 8c189896651e: Layer already exists [2020-09-17T17:37:46.979Z] e2f13739ad41: Layer already exists [2020-09-17T17:37:47.250Z] ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3: digest: sha256:9cf6efe95a48bb16f6c3b29c098bf35038058a6456cc3098c5ccae5eff1f2964 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:37:47.594Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:37:47.948Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2020-09-17T17:37:47.948Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-09-17T17:37:47.948Z] aaf9949913e0: Preparing [2020-09-17T17:37:47.948Z] 8c189896651e: Preparing [2020-09-17T17:37:47.948Z] 6503d0ecf506: Preparing [2020-09-17T17:37:47.948Z] e2f13739ad41: Preparing [2020-09-17T17:37:47.948Z] e2f13739ad41: Layer already exists [2020-09-17T17:37:47.948Z] 8c189896651e: Layer already exists [2020-09-17T17:37:47.948Z] 6503d0ecf506: Layer already exists [2020-09-17T17:37:47.948Z] aaf9949913e0: Layer already exists [2020-09-17T17:37:48.221Z] master: digest: sha256:9cf6efe95a48bb16f6c3b29c098bf35038058a6456cc3098c5ccae5eff1f2964 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T17:37:48.439Z] ===================================================== [Pipeline] echo [2020-09-17T17:37:48.488Z] taggedImages: [2020-09-17T17:37:48.488Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90 [2020-09-17T17:37:48.488Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-09-17T17:37:48.488Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.3 [2020-09-17T17:37:48.488Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 [2020-09-17T17:37:48.488Z] - 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] } [2020-09-17T17:37:49.329Z] Removing intermediate container 9b0982465610 [2020-09-17T17:37:49.330Z] ---> a82cf60a9e1e [2020-09-17T17:37:49.330Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T17:37:49.330Z] ---> Running in 29d9174a22e3 [Pipeline] // stage [Pipeline] } [2020-09-17T17:37:50.427Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T17:37:51.192Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T17:37:52.198Z] OK: 166 MiB in 39 packages [2020-09-17T17:37:53.249Z] Removing intermediate container 29d9174a22e3 [2020-09-17T17:37:53.249Z] ---> 33a7dd5f37dc [2020-09-17T17:37:53.249Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-17T17:37:53.249Z] ---> Running in 7508f7d5eb92 [2020-09-17T17:37:53.911Z] Removing intermediate container 7508f7d5eb92 [2020-09-17T17:37:53.911Z] ---> b98f18e9be5b [2020-09-17T17:37:53.911Z] Step 9/10 : COPY . . [2020-09-17T17:37:54.962Z] ---> f819b694792a [2020-09-17T17:37:54.962Z] Step 10/10 : RUN go mod download [2020-09-17T17:37:54.962Z] ---> Running in 04787d0f8bcc [2020-09-17T17:38:10.461Z] Removing intermediate container 04787d0f8bcc [2020-09-17T17:38:10.461Z] ---> 97cb8b9fa95e [2020-09-17T17:38:10.461Z] Successfully built 97cb8b9fa95e [2020-09-17T17:38:10.461Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:38:11.398Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T17:38:11.398Z] . [Pipeline] withDockerContainer [2020-09-17T17:38:11.585Z] prd-centos7-docker-4c-2g-244 does not seem to be running inside a container [2020-09-17T17:38:11.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-17T17:38:13.368Z] $ docker top e9d4674b7c4a4c0ce9fc055ada701e964e55a8dfcd482f849a72dac9bb68e7c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T17:38:14.045Z] + go version [2020-09-17T17:38:14.045Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-17T17:38:14.063Z] $ docker stop --time=1 e9d4674b7c4a4c0ce9fc055ada701e964e55a8dfcd482f849a72dac9bb68e7c5 [2020-09-17T17:38:15.636Z] $ docker rm -f e9d4674b7c4a4c0ce9fc055ada701e964e55a8dfcd482f849a72dac9bb68e7c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T17:38:17.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T17:38:17.543Z] + ls -al . [2020-09-17T17:38:17.543Z] total 68 [2020-09-17T17:38:17.543Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 17:37 . [2020-09-17T17:38:17.543Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 17 17:37 .. [2020-09-17T17:38:17.543Z] -rw-rw-r--. 1 jenkins jenkins 4566 Sep 17 17:37 Attribution.txt [2020-09-17T17:38:17.543Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 17 17:37 bin [2020-09-17T17:38:17.543Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 17:37 cmd [2020-09-17T17:38:17.543Z] -rw-rw-r--. 1 jenkins jenkins 1519 Sep 17 17:37 Dockerfile [2020-09-17T17:38:17.543Z] -rw-rw-r--. 1 jenkins jenkins 989 Sep 17 17:37 Dockerfile.build [2020-09-17T17:38:17.543Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 17 17:37 .dockerignore [2020-09-17T17:38:17.543Z] drwxrwxr-x. 2 jenkins jenkins 76 Sep 17 17:37 driver [2020-09-17T17:38:17.543Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 17 17:37 .git [2020-09-17T17:38:17.543Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 17:37 .github [2020-09-17T17:38:17.543Z] -rw-rw-r--. 1 jenkins jenkins 339 Sep 17 17:37 .gitignore [2020-09-17T17:38:17.543Z] -rw-rw-r--. 1 jenkins jenkins 266 Sep 17 17:37 go.mod [2020-09-17T17:38:17.543Z] -rw-rw-r--. 1 jenkins jenkins 680 Sep 17 17:37 Jenkinsfile [2020-09-17T17:38:17.543Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 17:37 LICENSE [2020-09-17T17:38:17.543Z] -rw-rw-r--. 1 jenkins jenkins 951 Sep 17 17:37 Makefile [2020-09-17T17:38:17.543Z] -rw-rw-r--. 1 jenkins jenkins 5716 Sep 17 17:37 README.md [2020-09-17T17:38:17.544Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 17:37 .semver [2020-09-17T17:38:17.544Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 17:37 snap [2020-09-17T17:38:17.544Z] -rw-rw-r--. 1 jenkins jenkins 11 Sep 17 17:33 VERSION [2020-09-17T17:38:17.544Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 17 17:37 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:38:17.999Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=ec5ba659fde701601f352c67d2492fac5a523e90 --label arch=amd64 --label version=1.1.3-dev.3 . [2020-09-17T17:38:18.299Z] Sending build context to Docker daemon 8.042MB [2020-09-17T17:38:18.299Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-17T17:38:18.299Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-17T17:38:18.299Z] ---> 97cb8b9fa95e [2020-09-17T17:38:18.299Z] Step 3/25 : ARG MAKE='make build' [2020-09-17T17:38:18.616Z] ---> Running in 6b84244a6e16 [2020-09-17T17:38:18.616Z] Removing intermediate container 6b84244a6e16 [2020-09-17T17:38:18.616Z] ---> 7124d7241fb0 [2020-09-17T17:38:18.616Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T17:38:18.901Z] ---> Running in 49aa34508cbe [2020-09-17T17:38:18.902Z] Removing intermediate container 49aa34508cbe [2020-09-17T17:38:18.902Z] ---> 058c36824c54 [2020-09-17T17:38:18.902Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T17:38:19.224Z] ---> Running in fd076a0695ac [2020-09-17T17:38:19.224Z] Removing intermediate container fd076a0695ac [2020-09-17T17:38:19.224Z] ---> 65294e950911 [2020-09-17T17:38:19.224Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T17:38:19.545Z] ---> Running in f316681854db [2020-09-17T17:38:21.266Z] Removing intermediate container f316681854db [2020-09-17T17:38:21.266Z] ---> f679ebe25af2 [2020-09-17T17:38:21.266Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T17:38:21.266Z] ---> Running in 5f751fe1df65 [2020-09-17T17:38:21.970Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T17:38:22.958Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T17:38:23.590Z] OK: 166 MiB in 39 packages [2020-09-17T17:38:24.438Z] Removing intermediate container 5f751fe1df65 [2020-09-17T17:38:24.438Z] ---> dd01b0728b87 [2020-09-17T17:38:24.438Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-17T17:38:24.438Z] ---> Running in 6d4a93893f50 [2020-09-17T17:38:25.222Z] Removing intermediate container 6d4a93893f50 [2020-09-17T17:38:25.222Z] ---> 0e9207d332fe [2020-09-17T17:38:25.222Z] Step 9/25 : COPY go.mod . [2020-09-17T17:38:25.939Z] ---> b6c7fecaff13 [2020-09-17T17:38:25.939Z] Step 10/25 : COPY Makefile . [2020-09-17T17:38:26.264Z] ---> 352b54a7516f [2020-09-17T17:38:26.264Z] Step 11/25 : RUN make update [2020-09-17T17:38:26.561Z] ---> Running in a3d1682b3a1e [2020-09-17T17:38:28.239Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-17T17:38:29.272Z] Removing intermediate container a3d1682b3a1e [2020-09-17T17:38:29.272Z] ---> 88a0202ffb14 [2020-09-17T17:38:29.272Z] Step 12/25 : COPY . . [2020-09-17T17:38:29.945Z] ---> 3ee18936eb11 [2020-09-17T17:38:29.945Z] Step 13/25 : RUN $MAKE [2020-09-17T17:38:29.945Z] ---> Running in 21278eb62443 [2020-09-17T17:38:30.599Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.3" -o cmd/device-rest-go ./cmd [2020-09-17T17:38:53.625Z] Removing intermediate container 21278eb62443 [2020-09-17T17:38:53.625Z] ---> 4106c2fc1c3c [2020-09-17T17:38:53.625Z] Step 14/25 : FROM alpine:latest [2020-09-17T17:38:53.625Z] latest: Pulling from library/alpine [2020-09-17T17:38:53.625Z] df20fa9351a1: Already exists [2020-09-17T17:38:53.625Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-17T17:38:53.625Z] Status: Downloaded newer image for alpine:latest [2020-09-17T17:38:53.625Z] ---> a24bb4013296 [2020-09-17T17:38:53.625Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T17:38:53.625Z] ---> Running in 693d12c3ef8d [2020-09-17T17:38:53.625Z] Removing intermediate container 693d12c3ef8d [2020-09-17T17:38:53.625Z] ---> 1b6571488276 [2020-09-17T17:38:53.625Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-17T17:38:53.625Z] ---> Running in 5915e3120570 [2020-09-17T17:38:53.625Z] Removing intermediate container 5915e3120570 [2020-09-17T17:38:53.625Z] ---> 85fd5370094f [2020-09-17T17:38:53.625Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-17T17:38:53.625Z] ---> c7d1296315ea [2020-09-17T17:38:53.625Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-17T17:38:53.625Z] ---> c919d533c8f2 [2020-09-17T17:38:53.625Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-17T17:38:53.625Z] ---> fe1e1b227e3a [2020-09-17T17:38:53.625Z] Step 20/25 : EXPOSE 49986 [2020-09-17T17:38:53.625Z] ---> Running in 448668ef9ed9 [2020-09-17T17:38:53.625Z] Removing intermediate container 448668ef9ed9 [2020-09-17T17:38:53.625Z] ---> 6524bbfffd4f [2020-09-17T17:38:53.625Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-17T17:38:53.625Z] ---> Running in fad18c61b57e [2020-09-17T17:38:53.893Z] Removing intermediate container fad18c61b57e [2020-09-17T17:38:53.893Z] ---> 74c0707cc5fe [2020-09-17T17:38:53.893Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-17T17:38:53.893Z] ---> Running in 6589be798105 [2020-09-17T17:38:54.164Z] Removing intermediate container 6589be798105 [2020-09-17T17:38:54.164Z] ---> 17a17b9b613b [2020-09-17T17:38:54.164Z] Step 23/25 : LABEL arch=amd64 [2020-09-17T17:38:54.164Z] ---> Running in fe09c36738dc [2020-09-17T17:38:54.449Z] Removing intermediate container fe09c36738dc [2020-09-17T17:38:54.449Z] ---> 996f421bef0e [2020-09-17T17:38:54.449Z] Step 24/25 : LABEL git_sha=ec5ba659fde701601f352c67d2492fac5a523e90 [2020-09-17T17:38:54.449Z] ---> Running in 7fc4b9b79e08 [2020-09-17T17:38:54.731Z] Removing intermediate container 7fc4b9b79e08 [2020-09-17T17:38:54.731Z] ---> 9768d9ca1e7f [2020-09-17T17:38:54.731Z] Step 25/25 : LABEL version=1.1.3-dev.3 [2020-09-17T17:38:55.018Z] ---> Running in e545e2bb50cd [2020-09-17T17:38:55.301Z] Removing intermediate container e545e2bb50cd [2020-09-17T17:38:55.301Z] ---> 789b350a90ea [2020-09-17T17:38:55.301Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T17:38:55.301Z] Successfully built 789b350a90ea [2020-09-17T17:38:55.301Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-09-17T17:38:55.883Z] provisioning config files... [2020-09-17T17:38:55.942Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/19@tmp/config1314178956125027505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-17T17:38:56.828Z] ---> docker-login.sh [2020-09-17T17:38:56.828Z] nexus3.edgexfoundry.org:10001 [2020-09-17T17:38:56.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T17:38:57.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T17:38:57.255Z] Configure a credential helper to remove this warning. See [2020-09-17T17:38:57.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T17:38:57.255Z] [2020-09-17T17:38:57.255Z] Login Succeeded [2020-09-17T17:38:57.255Z] nexus3.edgexfoundry.org:10002 [2020-09-17T17:38:57.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T17:38:59.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T17:38:59.035Z] Configure a credential helper to remove this warning. See [2020-09-17T17:38:59.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T17:38:59.035Z] [2020-09-17T17:38:59.035Z] Login Succeeded [2020-09-17T17:38:59.035Z] nexus3.edgexfoundry.org:10003 [2020-09-17T17:38:59.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T17:39:00.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T17:39:00.012Z] Configure a credential helper to remove this warning. See [2020-09-17T17:39:00.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T17:39:00.012Z] [2020-09-17T17:39:00.012Z] Login Succeeded [2020-09-17T17:39:00.012Z] nexus3.edgexfoundry.org:10004 [2020-09-17T17:39:00.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T17:39:00.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T17:39:00.742Z] Configure a credential helper to remove this warning. See [2020-09-17T17:39:00.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T17:39:00.742Z] [2020-09-17T17:39:00.742Z] Login Succeeded [2020-09-17T17:39:00.742Z] docker.io [2020-09-17T17:39:01.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T17:39:01.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T17:39:01.349Z] Configure a credential helper to remove this warning. See [2020-09-17T17:39:01.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T17:39:01.349Z] [2020-09-17T17:39:01.349Z] Login Succeeded [2020-09-17T17:39:01.349Z] ---> docker-login.sh ends [Pipeline] } [2020-09-17T17:39:01.369Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T17:39:01.682Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2020-09-17T17:39:01.682Z] ec5ba659fde701601f352c67d2492fac5a523e90 [2020-09-17T17:39:01.682Z] latest [2020-09-17T17:39:01.682Z] 1.1.3-dev.3 [2020-09-17T17:39:01.682Z] ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 [2020-09-17T17:39:01.682Z] master [2020-09-17T17:39:01.682Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:02.276Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:02.682Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90 [2020-09-17T17:39:02.682Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-09-17T17:39:02.682Z] b34833c276ae: Preparing [2020-09-17T17:39:02.682Z] d0923b0a9f9d: Preparing [2020-09-17T17:39:02.682Z] ab5584561dbd: Preparing [2020-09-17T17:39:02.682Z] 50644c29ef5a: Preparing [2020-09-17T17:39:02.966Z] 50644c29ef5a: Layer already exists [2020-09-17T17:39:02.966Z] ab5584561dbd: Pushed [2020-09-17T17:39:02.966Z] d0923b0a9f9d: Pushed [2020-09-17T17:39:04.458Z] b34833c276ae: Pushed [2020-09-17T17:39:04.458Z] ec5ba659fde701601f352c67d2492fac5a523e90: digest: sha256:5d3b7153d9e925be928c6e55a46b7e2a702455b7ff97f4ca1c47d97c77f90c78 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:04.857Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:05.250Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-09-17T17:39:05.250Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-09-17T17:39:05.250Z] b34833c276ae: Preparing [2020-09-17T17:39:05.250Z] d0923b0a9f9d: Preparing [2020-09-17T17:39:05.250Z] ab5584561dbd: Preparing [2020-09-17T17:39:05.250Z] 50644c29ef5a: Preparing [2020-09-17T17:39:05.250Z] ab5584561dbd: Layer already exists [2020-09-17T17:39:05.250Z] b34833c276ae: Layer already exists [2020-09-17T17:39:05.250Z] d0923b0a9f9d: Layer already exists [2020-09-17T17:39:05.250Z] 50644c29ef5a: Layer already exists [2020-09-17T17:39:05.528Z] latest: digest: sha256:5d3b7153d9e925be928c6e55a46b7e2a702455b7ff97f4ca1c47d97c77f90c78 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:05.889Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.3 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:06.275Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.3 [2020-09-17T17:39:06.275Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-09-17T17:39:06.275Z] b34833c276ae: Preparing [2020-09-17T17:39:06.275Z] d0923b0a9f9d: Preparing [2020-09-17T17:39:06.275Z] ab5584561dbd: Preparing [2020-09-17T17:39:06.275Z] 50644c29ef5a: Preparing [2020-09-17T17:39:06.275Z] b34833c276ae: Layer already exists [2020-09-17T17:39:06.275Z] ab5584561dbd: Layer already exists [2020-09-17T17:39:06.275Z] d0923b0a9f9d: Layer already exists [2020-09-17T17:39:06.275Z] 50644c29ef5a: Layer already exists [2020-09-17T17:39:06.275Z] 1.1.3-dev.3: digest: sha256:5d3b7153d9e925be928c6e55a46b7e2a702455b7ff97f4ca1c47d97c77f90c78 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:06.732Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:07.245Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 [2020-09-17T17:39:07.245Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-09-17T17:39:07.245Z] b34833c276ae: Preparing [2020-09-17T17:39:07.245Z] d0923b0a9f9d: Preparing [2020-09-17T17:39:07.245Z] ab5584561dbd: Preparing [2020-09-17T17:39:07.245Z] 50644c29ef5a: Preparing [2020-09-17T17:39:07.245Z] d0923b0a9f9d: Layer already exists [2020-09-17T17:39:07.245Z] ab5584561dbd: Layer already exists [2020-09-17T17:39:07.245Z] b34833c276ae: Layer already exists [2020-09-17T17:39:07.245Z] 50644c29ef5a: Layer already exists [2020-09-17T17:39:07.518Z] ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3: digest: sha256:5d3b7153d9e925be928c6e55a46b7e2a702455b7ff97f4ca1c47d97c77f90c78 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:07.982Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:08.328Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2020-09-17T17:39:08.329Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-09-17T17:39:08.329Z] b34833c276ae: Preparing [2020-09-17T17:39:08.329Z] d0923b0a9f9d: Preparing [2020-09-17T17:39:08.329Z] ab5584561dbd: Preparing [2020-09-17T17:39:08.329Z] 50644c29ef5a: Preparing [2020-09-17T17:39:08.329Z] b34833c276ae: Layer already exists [2020-09-17T17:39:08.329Z] d0923b0a9f9d: Layer already exists [2020-09-17T17:39:08.329Z] 50644c29ef5a: Layer already exists [2020-09-17T17:39:08.329Z] ab5584561dbd: Layer already exists [2020-09-17T17:39:08.594Z] master: digest: sha256:5d3b7153d9e925be928c6e55a46b7e2a702455b7ff97f4ca1c47d97c77f90c78 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T17:39:08.832Z] ===================================================== [Pipeline] echo [2020-09-17T17:39:08.892Z] taggedImages: [2020-09-17T17:39:08.892Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90 [2020-09-17T17:39:08.892Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-09-17T17:39:08.892Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.3 [2020-09-17T17:39:08.892Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90-1.1.3-dev.3 [2020-09-17T17:39:08.892Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-09-17T17:39:11.080Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-09-17T17:39:11.082Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-09-17T17:39:11.147Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:11.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-17T17:39:11.605Z] [2020-09-17T17:39:11.605Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:11.959Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-17T17:39:11.959Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-09-17T17:39:11.959Z] cbdbe7a5bc2a: Pulling fs layer [2020-09-17T17:39:11.959Z] 408f87550127: Pulling fs layer [2020-09-17T17:39:11.959Z] fe522b08c979: Pulling fs layer [2020-09-17T17:39:11.959Z] 221eaa008020: Pulling fs layer [2020-09-17T17:39:11.959Z] 2a4607e5d6b9: Pulling fs layer [2020-09-17T17:39:11.959Z] 8f79b27c4fd2: Pulling fs layer [2020-09-17T17:39:11.959Z] e5c8dbe1645b: Pulling fs layer [2020-09-17T17:39:11.959Z] 23e8b3b47431: Pulling fs layer [2020-09-17T17:39:11.959Z] 5c568d65a230: Pulling fs layer [2020-09-17T17:39:11.959Z] 2a4607e5d6b9: Waiting [2020-09-17T17:39:11.959Z] 8f79b27c4fd2: Waiting [2020-09-17T17:39:11.959Z] e5c8dbe1645b: Waiting [2020-09-17T17:39:11.959Z] 23e8b3b47431: Waiting [2020-09-17T17:39:11.959Z] 5c568d65a230: Waiting [2020-09-17T17:39:11.959Z] 221eaa008020: Waiting [2020-09-17T17:39:11.959Z] fe522b08c979: Verifying Checksum [2020-09-17T17:39:11.959Z] fe522b08c979: Download complete [2020-09-17T17:39:11.959Z] 408f87550127: Verifying Checksum [2020-09-17T17:39:11.959Z] 408f87550127: Download complete [2020-09-17T17:39:11.959Z] 2a4607e5d6b9: Download complete [2020-09-17T17:39:11.959Z] 8f79b27c4fd2: Verifying Checksum [2020-09-17T17:39:11.959Z] 8f79b27c4fd2: Download complete [2020-09-17T17:39:12.224Z] cbdbe7a5bc2a: Download complete [2020-09-17T17:39:12.495Z] cbdbe7a5bc2a: Pull complete [2020-09-17T17:39:12.495Z] 408f87550127: Pull complete [2020-09-17T17:39:12.758Z] fe522b08c979: Pull complete [2020-09-17T17:39:13.020Z] e5c8dbe1645b: Download complete [2020-09-17T17:39:13.980Z] 23e8b3b47431: Verifying Checksum [2020-09-17T17:39:13.980Z] 23e8b3b47431: Download complete [2020-09-17T17:39:14.246Z] 5c568d65a230: Verifying Checksum [2020-09-17T17:39:14.246Z] 5c568d65a230: Download complete [2020-09-17T17:39:15.199Z] 221eaa008020: Download complete [2020-09-17T17:39:20.523Z] 221eaa008020: Pull complete [2020-09-17T17:39:20.523Z] 2a4607e5d6b9: Pull complete [2020-09-17T17:39:20.523Z] 8f79b27c4fd2: Pull complete [2020-09-17T17:39:23.102Z] e5c8dbe1645b: Pull complete [2020-09-17T17:39:26.411Z] 23e8b3b47431: Pull complete [2020-09-17T17:39:27.816Z] 5c568d65a230: Pull complete [2020-09-17T17:39:27.816Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-09-17T17:39:27.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-17T17:39:27.816Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-09-17T17:39:27.989Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2020-09-17T17:39:28.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-rest-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-09-17T17:39:29.252Z] $ docker top c6d6d3e0208a8fecf7e81b048495f3b562a87a3e3681372c4e0afbd1459b5aaa -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T17:39:29.758Z] + snyk monitor '--org=edgex-jenkins' [2020-09-17T17:39:35.067Z] [2020-09-17T17:39:35.067Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2020-09-17T17:39:35.067Z] [2020-09-17T17:39:35.067Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/78979800-24bc-4653-a8d2-3ee4f072ec0a [2020-09-17T17:39:35.067Z] [2020-09-17T17:39:35.067Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-09-17T17:39:35.067Z] [2020-09-17T17:39:35.067Z] [2020-09-17T17:39:35.067Z] Snyk CLI supports Node.js 8 and higher. [2020-09-17T17:39:35.067Z] Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. [2020-09-17T17:39:35.067Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-09-17T17:39:35.067Z] [2020-09-17T17:39:35.067Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-09-17T17:39:35.067Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-09-17T17:39:35.082Z] $ docker stop --time=1 c6d6d3e0208a8fecf7e81b048495f3b562a87a3e3681372c4e0afbd1459b5aaa [2020-09-17T17:39:37.201Z] $ docker rm -f c6d6d3e0208a8fecf7e81b048495f3b562a87a3e3681372c4e0afbd1459b5aaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:38.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T17:39:38.383Z] [2020-09-17T17:39:38.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:38.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T17:39:38.727Z] latest: Pulling from edgex-devops/edgex-klar [2020-09-17T17:39:38.727Z] e7c96db7181b: Pulling fs layer [2020-09-17T17:39:38.727Z] 1868ca2cb446: Pulling fs layer [2020-09-17T17:39:38.727Z] 136be5d0fe8e: Pulling fs layer [2020-09-17T17:39:38.727Z] 894bfe63afcb: Pulling fs layer [2020-09-17T17:39:38.727Z] 894bfe63afcb: Waiting [2020-09-17T17:39:38.727Z] 1868ca2cb446: Verifying Checksum [2020-09-17T17:39:38.727Z] 1868ca2cb446: Download complete [2020-09-17T17:39:38.727Z] 136be5d0fe8e: Verifying Checksum [2020-09-17T17:39:38.727Z] 136be5d0fe8e: Download complete [2020-09-17T17:39:38.727Z] e7c96db7181b: Download complete [2020-09-17T17:39:38.990Z] 894bfe63afcb: Verifying Checksum [2020-09-17T17:39:38.990Z] 894bfe63afcb: Download complete [2020-09-17T17:39:38.990Z] e7c96db7181b: Pull complete [2020-09-17T17:39:39.252Z] 1868ca2cb446: Pull complete [2020-09-17T17:39:39.514Z] 136be5d0fe8e: Pull complete [2020-09-17T17:39:39.777Z] 894bfe63afcb: Pull complete [2020-09-17T17:39:39.777Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-09-17T17:39:39.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T17:39:39.777Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-09-17T17:39:39.894Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2020-09-17T17:39:40.073Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-17T17:39:41.568Z] $ docker top 6ef2fc3e0fdf63c0453c746395e55e9253a903d0b0da299bf07463ab703d0724 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T17:39:42.105Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90 [2020-09-17T17:39:42.105Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T17:39:46.494Z] $ docker stop --time=1 6ef2fc3e0fdf63c0453c746395e55e9253a903d0b0da299bf07463ab703d0724 [2020-09-17T17:39:47.864Z] $ docker rm -f 6ef2fc3e0fdf63c0453c746395e55e9253a903d0b0da299bf07463ab703d0724 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:48.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T17:39:48.369Z] . [Pipeline] withDockerContainer [2020-09-17T17:39:48.471Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2020-09-17T17:39:48.515Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-17T17:39:49.092Z] $ docker top ddd0926bbd38e0c3e989dde24214072284a7754e7786ac9a319840796121b99a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T17:39:49.635Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:ec5ba659fde701601f352c67d2492fac5a523e90 [2020-09-17T17:39:49.635Z] + tee [2020-09-17T17:39:49.635Z] clair timeout 1m0s [2020-09-17T17:39:49.635Z] docker timeout: 1m0s [2020-09-17T17:39:49.635Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T17:39:50.381Z] $ docker stop --time=1 ddd0926bbd38e0c3e989dde24214072284a7754e7786ac9a319840796121b99a [2020-09-17T17:39:51.735Z] $ docker rm -f ddd0926bbd38e0c3e989dde24214072284a7754e7786ac9a319840796121b99a [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-17T17:39:52.262Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo [2020-09-17T17:39:52.276Z] Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_ec5ba659fde701601f352c67d2492fac5a523e90.html [Pipeline] writeFile [Pipeline] step [2020-09-17T17:39:52.337Z] Archiving artifacts [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:52.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T17:39:52.690Z] . [Pipeline] withDockerContainer [2020-09-17T17:39:52.786Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2020-09-17T17:39:52.834Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-17T17:39:53.456Z] $ docker top 31e9642969fd4f03a0919ddfa85245601a0d95d2a520029b02eb9bf186735a4b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T17:39:54.003Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90 [2020-09-17T17:39:54.003Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T17:39:57.492Z] $ docker stop --time=1 31e9642969fd4f03a0919ddfa85245601a0d95d2a520029b02eb9bf186735a4b [2020-09-17T17:39:58.854Z] $ docker rm -f 31e9642969fd4f03a0919ddfa85245601a0d95d2a520029b02eb9bf186735a4b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:39:59.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T17:39:59.356Z] . [Pipeline] withDockerContainer [2020-09-17T17:39:59.447Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2020-09-17T17:39:59.488Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-17T17:40:00.095Z] $ docker top 45aeb4ea1bf41d8813fc07424ecdb6735e85c8cb72aab0d15b78f5c9536b2170 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T17:40:00.738Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ec5ba659fde701601f352c67d2492fac5a523e90 [2020-09-17T17:40:00.738Z] + tee [2020-09-17T17:40:00.738Z] clair timeout 1m0s [2020-09-17T17:40:00.738Z] docker timeout: 1m0s [2020-09-17T17:40:00.738Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T17:40:01.442Z] $ docker stop --time=1 45aeb4ea1bf41d8813fc07424ecdb6735e85c8cb72aab0d15b78f5c9536b2170 [2020-09-17T17:40:02.825Z] $ docker rm -f 45aeb4ea1bf41d8813fc07424ecdb6735e85c8cb72aab0d15b78f5c9536b2170 [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-17T17:40:03.324Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo [2020-09-17T17:40:03.338Z] Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_ec5ba659fde701601f352c67d2492fac5a523e90.html [Pipeline] writeFile [Pipeline] step [2020-09-17T17:40:03.411Z] 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 [2020-09-17T17:40:05.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T17:40:05.014Z] . [Pipeline] withDockerContainer [2020-09-17T17:40:05.108Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2020-09-17T17:40:05.152Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T17:40:05.841Z] $ docker top a7f844468ea847f010dd9f7526a478a77bb9e055266054dba6b92ad8245b4db0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T17:40:06.140Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T17:40:06.140Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T17:40:06.346Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T17:40:06.351Z] $ docker exec a7f844468ea847f010dd9f7526a478a77bb9e055266054dba6b92ad8245b4db0 ssh-agent [2020-09-17T17:40:06.522Z] SSH_AUTH_SOCK=/tmp/ssh-KmoIUVwwunye/agent.12 [2020-09-17T17:40:06.522Z] SSH_AGENT_PID=18 [2020-09-17T17:40:06.529Z] Running ssh-add (command line suppressed) [2020-09-17T17:40:06.661Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5552137383232180265.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5552137383232180265.key) [2020-09-17T17:40:06.711Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T17:40:07.116Z] + git semver tag [2020-09-17T17:40:07.116Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T17:40:07.116Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-09-17T17:40:07.116Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-09-17T17:40:07.116Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T17:40:07.116Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T17:40:07.116Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T17:40:07.116Z] # $SEMVER_BRANCH = master [2020-09-17T17:40:07.116Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-09-17T17:40:07.116Z] # ec5ba659fde701601f352c67d2492fac5a523e90 HEAD [2020-09-17T17:40:07.116Z] # -> Force: false [2020-09-17T17:40:07.116Z] # 949279120be1d79547bda2c4911473796a9122c9 refs/tags/v1.1.3-dev.3 [Pipeline] } [2020-09-17T17:40:07.129Z] $ docker exec --env ******** --env ******** a7f844468ea847f010dd9f7526a478a77bb9e055266054dba6b92ad8245b4db0 ssh-agent -k [2020-09-17T17:40:07.244Z] unset SSH_AUTH_SOCK; [2020-09-17T17:40:07.244Z] unset SSH_AGENT_PID; [2020-09-17T17:40:07.244Z] echo Agent pid 18 killed; [2020-09-17T17:40:07.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T17:40:07.772Z] + git semver [Pipeline] } [2020-09-17T17:40:07.796Z] $ docker stop --time=1 a7f844468ea847f010dd9f7526a478a77bb9e055266054dba6b92ad8245b4db0 [2020-09-17T17:40:09.134Z] $ docker rm -f a7f844468ea847f010dd9f7526a478a77bb9e055266054dba6b92ad8245b4db0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:40:09.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-17T17:40:09.765Z] [2020-09-17T17:40:09.765Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:40:10.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-17T17:40:10.164Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-09-17T17:40:10.164Z] ab5ef0e58194: Pulling fs layer [2020-09-17T17:40:10.164Z] 9712f1f96733: Pulling fs layer [2020-09-17T17:40:10.164Z] 63f879dbbcfc: Pulling fs layer [2020-09-17T17:40:10.164Z] 0d9ebad4ef96: Pulling fs layer [2020-09-17T17:40:10.164Z] e9a5061849ea: Pulling fs layer [2020-09-17T17:40:10.164Z] d747dcd14b5f: Pulling fs layer [2020-09-17T17:40:10.164Z] 2de7ff778b66: Pulling fs layer [2020-09-17T17:40:10.164Z] 0d9ebad4ef96: Waiting [2020-09-17T17:40:10.164Z] e9a5061849ea: Waiting [2020-09-17T17:40:10.164Z] d747dcd14b5f: Waiting [2020-09-17T17:40:10.164Z] 2de7ff778b66: Waiting [2020-09-17T17:40:10.164Z] 9712f1f96733: Verifying Checksum [2020-09-17T17:40:10.164Z] 9712f1f96733: Download complete [2020-09-17T17:40:12.716Z] 63f879dbbcfc: Download complete [2020-09-17T17:40:12.716Z] e9a5061849ea: Verifying Checksum [2020-09-17T17:40:12.716Z] e9a5061849ea: Download complete [2020-09-17T17:40:12.716Z] d747dcd14b5f: Verifying Checksum [2020-09-17T17:40:12.978Z] 2de7ff778b66: Verifying Checksum [2020-09-17T17:40:12.978Z] 2de7ff778b66: Download complete [2020-09-17T17:40:12.978Z] 0d9ebad4ef96: Verifying Checksum [2020-09-17T17:40:12.978Z] 0d9ebad4ef96: Download complete [2020-09-17T17:40:13.241Z] ab5ef0e58194: Verifying Checksum [2020-09-17T17:40:13.241Z] ab5ef0e58194: Download complete [2020-09-17T17:40:17.468Z] ab5ef0e58194: Pull complete [2020-09-17T17:40:17.468Z] 9712f1f96733: Pull complete [2020-09-17T17:40:20.022Z] 63f879dbbcfc: Pull complete [2020-09-17T17:40:26.627Z] 0d9ebad4ef96: Pull complete [2020-09-17T17:40:26.627Z] e9a5061849ea: Pull complete [2020-09-17T17:40:26.627Z] d747dcd14b5f: Pull complete [2020-09-17T17:40:29.941Z] 2de7ff778b66: Pull complete [2020-09-17T17:40:29.941Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-09-17T17:40:29.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-17T17:40:29.941Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-09-17T17:40:30.111Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2020-09-17T17:40:30.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-09-17T17:40:34.043Z] $ docker top bdcaafdba0cd32b34f43c4b2877f6b1161497c6ae99109135934ed44d129c491 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-09-17T17:40:34.286Z] provisioning config files... [2020-09-17T17:40:34.300Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6536941698603371552tmp [2020-09-17T17:40:34.321Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8991271085926714693tmp [2020-09-17T17:40:34.335Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4101230455411625169tmp [Pipeline] { [Pipeline] echo [2020-09-17T17:40:34.400Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T17:40:34.697Z] ---> sigul-configuration.sh [2020-09-17T17:40:34.697Z] gpg: directory `/root/.gnupg' created [2020-09-17T17:40:34.697Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-09-17T17:40:34.697Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-09-17T17:40:34.697Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-09-17T17:40:34.697Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-09-17T17:40:34.697Z] gpg: CAST5 encrypted data [2020-09-17T17:40:34.960Z] gpg: encrypted with 1 passphrase [2020-09-17T17:40:34.960Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-09-17T17:40:35.257Z] + mkdir /home/jenkins [2020-09-17T17:40:35.257Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-09-17T17:40:35.555Z] + 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 [2020-09-17T17:40:35.567Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T17:40:35.868Z] ---> sigul-install.sh [2020-09-17T17:40:42.472Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-09-17T17:40:42.775Z] + git tag --list [2020-09-17T17:40:42.775Z] v1.1.3-dev.3 [Pipeline] sh [2020-09-17T17:40:43.073Z] + lftools sign git-tag v1.1.3-dev.3 [2020-09-17T17:40:44.463Z] Signing Git tag with Sigul... [2020-09-17T17:40:44.463Z] Signing v1.1.3-dev.3 [Pipeline] echo [2020-09-17T17:40:45.506Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T17:40:45.828Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-09-17T17:40:45.839Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-09-17T17:40:45.980Z] $ docker stop --time=1 bdcaafdba0cd32b34f43c4b2877f6b1161497c6ae99109135934ed44d129c491 [2020-09-17T17:40:47.973Z] $ docker rm -f bdcaafdba0cd32b34f43c4b2877f6b1161497c6ae99109135934ed44d129c491 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:40:48.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T17:40:48.899Z] . [Pipeline] withDockerContainer [2020-09-17T17:40:48.996Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2020-09-17T17:40:49.040Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T17:40:49.635Z] $ docker top d61c6aca7f0070212d6dd6e7f2c85c861adea729441be5386ce3191db90aea81 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T17:40:49.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T17:40:49.957Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T17:40:50.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T17:40:50.140Z] $ docker exec d61c6aca7f0070212d6dd6e7f2c85c861adea729441be5386ce3191db90aea81 ssh-agent [2020-09-17T17:40:50.303Z] SSH_AUTH_SOCK=/tmp/ssh-widPIaWz9fAc/agent.12 [2020-09-17T17:40:50.303Z] SSH_AGENT_PID=18 [2020-09-17T17:40:50.311Z] Running ssh-add (command line suppressed) [2020-09-17T17:40:50.430Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2198164045477205221.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2198164045477205221.key) [2020-09-17T17:40:50.484Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T17:40:50.842Z] + git semver bump pre [2020-09-17T17:40:50.842Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T17:40:50.842Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-09-17T17:40:50.842Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-09-17T17:40:50.842Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T17:40:50.842Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T17:40:50.842Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T17:40:50.842Z] # $SEMVER_BRANCH = master [2020-09-17T17:40:50.842Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-09-17T17:40:50.842Z] 1.1.3-dev.4 [Pipeline] } [2020-09-17T17:40:50.859Z] $ docker exec --env ******** --env ******** d61c6aca7f0070212d6dd6e7f2c85c861adea729441be5386ce3191db90aea81 ssh-agent -k [2020-09-17T17:40:50.983Z] unset SSH_AUTH_SOCK; [2020-09-17T17:40:50.984Z] unset SSH_AGENT_PID; [2020-09-17T17:40:50.984Z] echo Agent pid 18 killed; [2020-09-17T17:40:51.036Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T17:40:51.528Z] + git semver [Pipeline] } [2020-09-17T17:40:51.546Z] $ docker stop --time=1 d61c6aca7f0070212d6dd6e7f2c85c861adea729441be5386ce3191db90aea81 [2020-09-17T17:40:52.893Z] $ docker rm -f d61c6aca7f0070212d6dd6e7f2c85c861adea729441be5386ce3191db90aea81 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:40:53.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T17:40:53.426Z] . [Pipeline] withDockerContainer [2020-09-17T17:40:53.522Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2020-09-17T17:40:53.566Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T17:40:54.143Z] $ docker top 89503584aaecf691a22e5157bfecc9d7d8bbfa0f20fa4a4b9b34fdc6b2cf944c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T17:40:54.535Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T17:40:54.535Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T17:40:54.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T17:40:54.717Z] $ docker exec 89503584aaecf691a22e5157bfecc9d7d8bbfa0f20fa4a4b9b34fdc6b2cf944c ssh-agent [2020-09-17T17:40:54.897Z] SSH_AUTH_SOCK=/tmp/ssh-4oRsAlQZi6bg/agent.12 [2020-09-17T17:40:54.897Z] SSH_AGENT_PID=17 [2020-09-17T17:40:54.905Z] Running ssh-add (command line suppressed) [2020-09-17T17:40:55.037Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4675732131776400873.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4675732131776400873.key) [2020-09-17T17:40:55.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T17:40:55.439Z] + git semver push [2020-09-17T17:40:55.439Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T17:40:55.439Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-09-17T17:40:55.439Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-09-17T17:40:55.439Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T17:40:55.439Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T17:40:55.439Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T17:40:55.439Z] # $SEMVER_BRANCH = master [2020-09-17T17:40:55.439Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-09-17T17:41:02.054Z] $ docker exec --env ******** --env ******** 89503584aaecf691a22e5157bfecc9d7d8bbfa0f20fa4a4b9b34fdc6b2cf944c ssh-agent -k [2020-09-17T17:41:02.185Z] unset SSH_AUTH_SOCK; [2020-09-17T17:41:02.185Z] unset SSH_AGENT_PID; [2020-09-17T17:41:02.185Z] echo Agent pid 17 killed; [2020-09-17T17:41:02.234Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T17:41:02.765Z] + git semver [Pipeline] } [2020-09-17T17:41:02.781Z] $ docker stop --time=1 89503584aaecf691a22e5157bfecc9d7d8bbfa0f20fa4a4b9b34fdc6b2cf944c [2020-09-17T17:41:04.137Z] $ docker rm -f 89503584aaecf691a22e5157bfecc9d7d8bbfa0f20fa4a4b9b34fdc6b2cf944c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-17T17:41:05.632Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T17:41:06.197Z] ---> package-listing.sh [2020-09-17T17:41:06.197Z] ++ facter osfamily [2020-09-17T17:41:06.197Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-17T17:41:06.197Z] + OS_FAMILY=redhat [2020-09-17T17:41:06.197Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2020-09-17T17:41:06.197Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-17T17:41:06.197Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-17T17:41:06.197Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-17T17:41:06.197Z] + PACKAGES=/tmp/packages_start.txt [2020-09-17T17:41:06.197Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-09-17T17:41:06.197Z] + PACKAGES=/tmp/packages_end.txt [2020-09-17T17:41:06.197Z] + case "${OS_FAMILY}" in [2020-09-17T17:41:06.197Z] + rpm -qa [2020-09-17T17:41:06.197Z] + sort [2020-09-17T17:41:10.418Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-17T17:41:10.419Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-17T17:41:10.419Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-17T17:41:10.419Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-09-17T17:41:10.419Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2020-09-17T17:41:10.419Z] + 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 [2020-09-17T17:41:11.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T17:41:11.501Z] [2020-09-17T17:41:11.501Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-17T17:41:11.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T17:41:11.851Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-17T17:41:11.851Z] df20fa9351a1: Pulling fs layer [2020-09-17T17:41:11.851Z] 36b3adc4ff6f: Pulling fs layer [2020-09-17T17:41:11.851Z] 8ad3a11d3b57: Pulling fs layer [2020-09-17T17:41:11.851Z] 46f8f816bc3b: Pulling fs layer [2020-09-17T17:41:11.851Z] 0dadc02b9964: Pulling fs layer [2020-09-17T17:41:11.851Z] ce6a7cf60c04: Pulling fs layer [2020-09-17T17:41:11.851Z] 7a184a31f384: Pulling fs layer [2020-09-17T17:41:11.851Z] 0879bd2ef858: Pulling fs layer [2020-09-17T17:41:11.851Z] 46f8f816bc3b: Waiting [2020-09-17T17:41:11.851Z] 0dadc02b9964: Waiting [2020-09-17T17:41:11.851Z] ce6a7cf60c04: Waiting [2020-09-17T17:41:11.851Z] 7a184a31f384: Waiting [2020-09-17T17:41:11.851Z] 0879bd2ef858: Waiting [2020-09-17T17:41:11.851Z] 36b3adc4ff6f: Verifying Checksum [2020-09-17T17:41:11.851Z] 36b3adc4ff6f: Download complete [2020-09-17T17:41:11.851Z] 46f8f816bc3b: Verifying Checksum [2020-09-17T17:41:11.851Z] 46f8f816bc3b: Download complete [2020-09-17T17:41:12.119Z] 0dadc02b9964: Verifying Checksum [2020-09-17T17:41:12.119Z] 0dadc02b9964: Download complete [2020-09-17T17:41:12.119Z] 8ad3a11d3b57: Verifying Checksum [2020-09-17T17:41:12.119Z] 8ad3a11d3b57: Download complete [2020-09-17T17:41:12.119Z] df20fa9351a1: Verifying Checksum [2020-09-17T17:41:12.119Z] df20fa9351a1: Download complete [2020-09-17T17:41:12.119Z] 7a184a31f384: Verifying Checksum [2020-09-17T17:41:12.119Z] 7a184a31f384: Download complete [2020-09-17T17:41:12.119Z] ce6a7cf60c04: Verifying Checksum [2020-09-17T17:41:12.119Z] ce6a7cf60c04: Download complete [2020-09-17T17:41:12.385Z] df20fa9351a1: Pull complete [2020-09-17T17:41:12.655Z] 0879bd2ef858: Verifying Checksum [2020-09-17T17:41:12.655Z] 0879bd2ef858: Download complete [2020-09-17T17:41:12.655Z] 36b3adc4ff6f: Pull complete [2020-09-17T17:41:13.601Z] 8ad3a11d3b57: Pull complete [2020-09-17T17:41:13.601Z] 46f8f816bc3b: Pull complete [2020-09-17T17:41:13.868Z] 0dadc02b9964: Pull complete [2020-09-17T17:41:14.130Z] ce6a7cf60c04: Pull complete [2020-09-17T17:41:14.130Z] 7a184a31f384: Pull complete [2020-09-17T17:41:17.446Z] 0879bd2ef858: Pull complete [2020-09-17T17:41:17.446Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-17T17:41:17.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T17:41:17.446Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-17T17:41:17.545Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2020-09-17T17:41:17.588Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-17T17:41:20.757Z] $ docker top 3350ef3ebac13604516f2a3dbe25781d3b717e4dd3dacf57943d45d2aef183da -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T17:41:21.315Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-17T17:41:21.611Z] + ls /var/log/sa-host [2020-09-17T17:41:21.612Z] + sadf -c /var/log/sa-host/sa05 [2020-09-17T17:41:21.612Z] file_magic: OK [2020-09-17T17:41:21.612Z] HZ: Using current value: 100 [2020-09-17T17:41:21.612Z] file_header: OK [2020-09-17T17:41:21.612Z] 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 [2020-09-17T17:41:21.612Z] Statistics: [2020-09-17T17:41:21.612Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T17:41:21.612Z] File successfully converted to sysstat format version 12.2.1 [2020-09-17T17:41:21.612Z] + sadf -c /var/log/sa-host/sa17 [2020-09-17T17:41:21.612Z] file_magic: OK [2020-09-17T17:41:21.612Z] HZ: Using current value: 100 [2020-09-17T17:41:21.612Z] file_header: OK [2020-09-17T17:41:21.612Z] 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 [2020-09-17T17:41:21.612Z] Statistics: [2020-09-17T17:41:21.612Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T17:41:21.612Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T17:41:21.678Z] provisioning config files... [2020-09-17T17:41:21.692Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3495851823444618921tmp [Pipeline] { [Pipeline] echo [2020-09-17T17:41:21.784Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T17:41:22.105Z] ---> create-netrc.sh [Pipeline] echo [2020-09-17T17:41:22.117Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T17:41:22.427Z] ---> logs-deploy.sh [2020-09-17T17:41:22.428Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/19 [2020-09-17T17:41:22.428Z] INFO: archiving workspace using pattern(s): [2020-09-17T17:41:23.821Z] Archives upload complete. [2020-09-17T17:41:23.821Z] INFO: archiving logs to Nexus