Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0a79c20c2d893aa8ea9da840411e787f3e51ca5b Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-815 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 0a79c20c2d893aa8ea9da840411e787f3e51ca5b (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a79c20c2d893aa8ea9da840411e787f3e51ca5b # timeout=10 Commit message: "build: upgrade device-sdk-go (#42)" > git rev-list --no-walk 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T11:03:10.989Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-22T11:03:11.343Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-22T11:03:11.467Z] ========================================================= [2020-09-22T11:03:11.467Z] EdgeX Global Pipelines Version Info [2020-09-22T11:03:11.467Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T11:03:12.977Z] ------------------- [2020-09-22T11:03:12.977Z] stable info: [2020-09-22T11:03:12.977Z] ------------------- [2020-09-22T11:03:12.977Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T11:03:12.977Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T11:03:12.977Z] Message: update stable to v1.0.122 [2020-09-22T11:03:13.935Z] ------------------- [2020-09-22T11:03:13.935Z] experimental info: [2020-09-22T11:03:13.935Z] ------------------- [2020-09-22T11:03:13.935Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T11:03:13.935Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-22T11:03:13.935Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T11:03:14.386Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-09-22T11:03:14.511Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-09-22T11:03:14.648Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T11:03:14.761Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T11:03:14.866Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T11:03:14.976Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T11:03:15.094Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T11:03:15.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T11:03:15.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-22T11:03:15.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T11:03:15.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T11:03:15.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-09-22T11:03:15.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T11:03:15.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T11:03:16.014Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T11:03:16.131Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T11:03:16.248Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T11:03:16.408Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T11:03:16.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T11:03:16.611Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T11:03:16.709Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-22T11:03:16.808Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-22T11:03:16.903Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-09-22T11:03:17.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-09-22T11:03:17.091Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-09-22T11:03:17.179Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a79c20c2d893aa8ea9da840411e787f3e51ca5b [Pipeline] echo [2020-09-22T11:03:17.273Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a79c20 [Pipeline] echo [2020-09-22T11:03:17.365Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T11:03:18.071Z] + git log --format=format:%s -1 0a79c20c2d893aa8ea9da840411e787f3e51ca5b [Pipeline] echo [2020-09-22T11:03:18.137Z] GIT_COMMIT: 0a79c20c2d893aa8ea9da840411e787f3e51ca5b, Commit Message: build: upgrade device-sdk-go (#42) [Pipeline] echo [2020-09-22T11:03:18.186Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:03:19.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T11:03:19.382Z] [2020-09-22T11:03:19.382Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:03:19.739Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T11:03:19.739Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T11:03:19.739Z] 31603596830f: Pulling fs layer [2020-09-22T11:03:19.739Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T11:03:19.739Z] 6ca5941a6612: Pulling fs layer [2020-09-22T11:03:19.739Z] ecc8261a40a4: Pulling fs layer [2020-09-22T11:03:19.739Z] ecc8261a40a4: Waiting [2020-09-22T11:03:20.003Z] 2a8b12db71e7: Verifying Checksum [2020-09-22T11:03:20.003Z] 2a8b12db71e7: Download complete [2020-09-22T11:03:20.003Z] 31603596830f: Verifying Checksum [2020-09-22T11:03:20.003Z] 31603596830f: Download complete [2020-09-22T11:03:20.003Z] ecc8261a40a4: Verifying Checksum [2020-09-22T11:03:20.003Z] ecc8261a40a4: Download complete [2020-09-22T11:03:20.267Z] 6ca5941a6612: Verifying Checksum [2020-09-22T11:03:20.267Z] 6ca5941a6612: Download complete [2020-09-22T11:03:20.267Z] 31603596830f: Pull complete [2020-09-22T11:03:20.537Z] 2a8b12db71e7: Pull complete [2020-09-22T11:03:21.486Z] 6ca5941a6612: Pull complete [2020-09-22T11:03:21.486Z] ecc8261a40a4: Pull complete [2020-09-22T11:03:21.486Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T11:03:21.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T11:03:21.486Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T11:03:21.581Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2020-09-22T11:03:21.636Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-22T11:03:23.692Z] $ docker top 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T11:03:23.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T11:03:23.988Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T11:03:24.225Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T11:03:24.232Z] $ docker exec 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea ssh-agent [2020-09-22T11:03:24.379Z] SSH_AUTH_SOCK=/tmp/ssh-hSHF8ufvg8iv/agent.13 [2020-09-22T11:03:24.379Z] SSH_AGENT_PID=18 [2020-09-22T11:03:24.392Z] Running ssh-add (command line suppressed) [2020-09-22T11:03:24.517Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1906146399919839609.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1906146399919839609.key) [2020-09-22T11:03:24.565Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T11:03:24.901Z] + git describe --exact-match --tags HEAD [2020-09-22T11:03:24.901Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T11:03:24.995Z] $ docker exec --env ******** --env ******** 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea ssh-agent -k [2020-09-22T11:03:25.118Z] unset SSH_AUTH_SOCK; [2020-09-22T11:03:25.118Z] unset SSH_AGENT_PID; [2020-09-22T11:03:25.118Z] echo Agent pid 18 killed; [2020-09-22T11:03:25.162Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T11:03:25.258Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T11:03:25.258Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T11:03:25.359Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T11:03:25.359Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T11:03:25.525Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T11:03:25.530Z] $ docker exec 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea ssh-agent [2020-09-22T11:03:25.694Z] SSH_AUTH_SOCK=/tmp/ssh-J79SHD0opPIx/agent.46 [2020-09-22T11:03:25.694Z] SSH_AGENT_PID=51 [2020-09-22T11:03:25.700Z] Running ssh-add (command line suppressed) [2020-09-22T11:03:25.813Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4167380018813244856.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4167380018813244856.key) [2020-09-22T11:03:25.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T11:03:26.207Z] + git semver init [2020-09-22T11:03:26.207Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T11:03:26.207Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-09-22T11:03:26.207Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-09-22T11:03:26.207Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T11:03:26.207Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T11:03:26.207Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T11:03:26.207Z] # $SEMVER_BRANCH = master [2020-09-22T11:03:26.207Z] # $SEMVER_TEMP = /tmp/semver-158715532 [2020-09-22T11:03:26.207Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-09-22T11:03:28.768Z] # '/tmp/semver-158715532' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2020-09-22T11:03:28.768Z] # -> Force: false [2020-09-22T11:03:28.768Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-09-22T11:03:28.784Z] $ docker exec --env ******** --env ******** 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea ssh-agent -k [2020-09-22T11:03:28.897Z] unset SSH_AUTH_SOCK; [2020-09-22T11:03:28.898Z] unset SSH_AGENT_PID; [2020-09-22T11:03:28.898Z] echo Agent pid 51 killed; [2020-09-22T11:03:28.940Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T11:03:29.423Z] + git semver [Pipeline] } [2020-09-22T11:03:29.442Z] $ docker stop --time=1 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea [2020-09-22T11:03:30.903Z] $ docker rm -f 2be5417d2f8bdd8aab63944f606a249c3908584a6ac74e73d240c58c7683d8ea [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T11:03:32.296Z] Stashed 19 file(s) [Pipeline] echo [2020-09-22T11:03:32.300Z] [edgeXSemver]: initialized semver on version 1.1.3-dev.5 [Pipeline] echo [2020-09-22T11:03:32.474Z] Archived original version: [1.1.3-dev.5] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-22T11:03:47.927Z] Still waiting to schedule task [2020-09-22T11:03:47.927Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-815’ [2020-09-22T11:03:47.929Z] Still waiting to schedule task [2020-09-22T11:03:47.929Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-22T11:05:44.088Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-817 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-09-22T11:05:44.152Z] Running in /w/workspace/device-rest-go/21 [Pipeline] { [Pipeline] checkout [2020-09-22T11:05:50.726Z] using credential edgex-jenkins-ssh [2020-09-22T11:05:50.843Z] Cloning the remote Git repository [2020-09-22T11:05:50.843Z] Cloning with configured refspecs honoured and without tags [2020-09-22T11:05:50.921Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-22T11:05:51.031Z] > git init /w/workspace/device-rest-go/21 # timeout=10 [2020-09-22T11:05:51.107Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-22T11:05:51.108Z] > git --version # timeout=10 [2020-09-22T11:05:51.124Z] > git --version # 'git version 2.17.1' [2020-09-22T11:05:51.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T11:05:51.174Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T11:05:52.767Z] Fetching without tags [2020-09-22T11:05:52.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-22T11:05:52.723Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T11:05:52.747Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-22T11:05:52.777Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-22T11:05:52.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T11:05:52.789Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T11:05:53.268Z] Checking out Revision 0a79c20c2d893aa8ea9da840411e787f3e51ca5b (master) [2020-09-22T11:05:53.286Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T11:05:53.299Z] > git checkout -f 0a79c20c2d893aa8ea9da840411e787f3e51ca5b # timeout=10 [2020-09-22T11:05:57.640Z] Commit message: "build: upgrade device-sdk-go (#42)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T11:05:59.886Z] ========================================================= [2020-09-22T11:05:59.886Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-22T11:05:59.886Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:06:01.037Z] + 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-22T11:06:02.028Z] Sending build context to Docker daemon 8.049MB [2020-09-22T11:06:02.028Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-22T11:06:02.028Z] Step 2/10 : FROM ${BASE} [2020-09-22T11:06:02.302Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-22T11:06:02.302Z] b538f80385f9: Pulling fs layer [2020-09-22T11:06:02.302Z] 74f711af9a0d: Pulling fs layer [2020-09-22T11:06:02.302Z] 99f96fe45779: Pulling fs layer [2020-09-22T11:06:02.302Z] 8529a6b9a6be: Pulling fs layer [2020-09-22T11:06:02.302Z] 45590311c82a: Pulling fs layer [2020-09-22T11:06:02.302Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-22T11:06:02.302Z] 209524e5b208: Pulling fs layer [2020-09-22T11:06:02.302Z] 8529a6b9a6be: Waiting [2020-09-22T11:06:02.302Z] 45590311c82a: Waiting [2020-09-22T11:06:02.302Z] 69ca0ff8b7b3: Waiting [2020-09-22T11:06:02.302Z] 209524e5b208: Waiting [2020-09-22T11:06:02.302Z] 99f96fe45779: Verifying Checksum [2020-09-22T11:06:02.302Z] 99f96fe45779: Download complete [2020-09-22T11:06:02.302Z] 74f711af9a0d: Download complete [2020-09-22T11:06:02.302Z] 45590311c82a: Verifying Checksum [2020-09-22T11:06:02.302Z] 45590311c82a: Download complete [2020-09-22T11:06:02.576Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-22T11:06:02.576Z] 69ca0ff8b7b3: Download complete [2020-09-22T11:06:02.576Z] b538f80385f9: Verifying Checksum [2020-09-22T11:06:02.576Z] b538f80385f9: Download complete [2020-09-22T11:06:03.174Z] b538f80385f9: Pull complete [2020-09-22T11:06:03.809Z] 74f711af9a0d: Pull complete [2020-09-22T11:06:04.412Z] 99f96fe45779: Pull complete [2020-09-22T11:06:05.012Z] 209524e5b208: Verifying Checksum [2020-09-22T11:06:05.012Z] 209524e5b208: Download complete [2020-09-22T11:06:05.998Z] 8529a6b9a6be: Verifying Checksum [2020-09-22T11:06:05.998Z] 8529a6b9a6be: Download complete [2020-09-22T11:06:18.456Z] 8529a6b9a6be: Pull complete [2020-09-22T11:06:18.456Z] 45590311c82a: Pull complete [2020-09-22T11:06:18.456Z] 69ca0ff8b7b3: Pull complete [2020-09-22T11:06:21.868Z] 209524e5b208: Pull complete [2020-09-22T11:06:21.868Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-22T11:06:21.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-22T11:06:21.868Z] ---> 5bddaf1c2fca [2020-09-22T11:06:21.868Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-22T11:06:24.493Z] ---> Running in f17b2fd5a5d0 [2020-09-22T11:06:24.493Z] Removing intermediate container f17b2fd5a5d0 [2020-09-22T11:06:24.493Z] ---> a31ee83a57f9 [2020-09-22T11:06:24.493Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-22T11:06:24.766Z] ---> Running in 3b0a574af579 [2020-09-22T11:06:25.366Z] Removing intermediate container 3b0a574af579 [2020-09-22T11:06:25.366Z] ---> 8edd6baed518 [2020-09-22T11:06:25.366Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-22T11:06:25.366Z] ---> Running in cb31a919ce7d [2020-09-22T11:06:25.644Z] Removing intermediate container cb31a919ce7d [2020-09-22T11:06:25.644Z] ---> dbeba5a4c8be [2020-09-22T11:06:25.644Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T11:06:25.918Z] ---> Running in 7de881c50175 [2020-09-22T11:06:28.543Z] Removing intermediate container 7de881c50175 [2020-09-22T11:06:28.543Z] ---> 48edbde4002c [2020-09-22T11:06:28.543Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-22T11:06:28.820Z] ---> Running in c89bc8aa0c0d [2020-09-22T11:06:30.260Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T11:06:30.866Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T11:06:31.843Z] OK: 142 MiB in 39 packages [2020-09-22T11:06:33.278Z] Removing intermediate container c89bc8aa0c0d [2020-09-22T11:06:33.278Z] ---> f391f7e521e5 [2020-09-22T11:06:33.278Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-22T11:06:33.278Z] ---> Running in 61fa1f2defc4 [2020-09-22T11:06:33.877Z] Removing intermediate container 61fa1f2defc4 [2020-09-22T11:06:33.877Z] ---> cc04bbf8815b [2020-09-22T11:06:33.877Z] Step 9/10 : COPY . . [2020-09-22T11:06:34.857Z] ---> a0bc809b3106 [2020-09-22T11:06:34.857Z] Step 10/10 : RUN go mod download [2020-09-22T11:06:34.857Z] ---> Running in 946fdab7633d [2020-09-22T11:06:39.296Z] Running on prd-centos7-docker-4c-2g-818 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-09-22T11:06:39.353Z] Running in /w/workspace/device-rest-go/21 [Pipeline] { [Pipeline] checkout [2020-09-22T11:06:42.270Z] using credential edgex-jenkins-ssh [2020-09-22T11:06:42.322Z] Cloning the remote Git repository [2020-09-22T11:06:42.322Z] Cloning with configured refspecs honoured and without tags [2020-09-22T11:06:42.348Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-22T11:06:42.417Z] > git init /w/workspace/device-rest-go/21 # timeout=10 [2020-09-22T11:06:42.463Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-22T11:06:42.463Z] > git --version # timeout=10 [2020-09-22T11:06:42.469Z] > git --version # 'git version 2.16.5' [2020-09-22T11:06:42.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T11:06:42.500Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T11:06:43.665Z] Fetching without tags [2020-09-22T11:06:44.070Z] Checking out Revision 0a79c20c2d893aa8ea9da840411e787f3e51ca5b (master) [2020-09-22T11:06:43.640Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-22T11:06:43.647Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T11:06:43.659Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-22T11:06:43.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-22T11:06:43.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T11:06:43.678Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T11:06:44.081Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T11:06:44.086Z] > git checkout -f 0a79c20c2d893aa8ea9da840411e787f3e51ca5b # timeout=10 [2020-09-22T11:06:47.664Z] Commit message: "build: upgrade device-sdk-go (#42)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T11:06:49.041Z] ========================================================= [2020-09-22T11:06:49.041Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-22T11:06:49.041Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:06:49.744Z] + 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-22T11:06:49.965Z] Removing intermediate container 946fdab7633d [2020-09-22T11:06:49.965Z] ---> e3ad6ddd2882 [2020-09-22T11:06:49.965Z] Successfully built e3ad6ddd2882 [2020-09-22T11:06:49.965Z] Successfully tagged ci-base-image-arm64:latest [2020-09-22T11:06:50.014Z] Sending build context to Docker daemon 8.049MB [2020-09-22T11:06:50.014Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-22T11:06:50.014Z] Step 2/10 : FROM ${BASE} [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:06:50.283Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-22T11:06:50.283Z] df20fa9351a1: Pulling fs layer [2020-09-22T11:06:50.283Z] ed8968b2872e: Pulling fs layer [2020-09-22T11:06:50.283Z] a92cc7c5fd73: Pulling fs layer [2020-09-22T11:06:50.283Z] e871e8e8d7a9: Pulling fs layer [2020-09-22T11:06:50.283Z] e73272ec9a57: Pulling fs layer [2020-09-22T11:06:50.283Z] 1e910a182e73: Pulling fs layer [2020-09-22T11:06:50.283Z] 4e634b169226: Pulling fs layer [2020-09-22T11:06:50.283Z] e73272ec9a57: Waiting [2020-09-22T11:06:50.283Z] 4e634b169226: Waiting [2020-09-22T11:06:50.283Z] e871e8e8d7a9: Waiting [2020-09-22T11:06:50.283Z] a92cc7c5fd73: Verifying Checksum [2020-09-22T11:06:50.283Z] a92cc7c5fd73: Download complete [2020-09-22T11:06:50.283Z] ed8968b2872e: Verifying Checksum [2020-09-22T11:06:50.283Z] ed8968b2872e: Download complete [2020-09-22T11:06:50.283Z] e73272ec9a57: Verifying Checksum [2020-09-22T11:06:50.283Z] e73272ec9a57: Download complete [2020-09-22T11:06:50.283Z] 1e910a182e73: Verifying Checksum [2020-09-22T11:06:50.283Z] 1e910a182e73: Download complete [2020-09-22T11:06:50.283Z] df20fa9351a1: Verifying Checksum [2020-09-22T11:06:50.283Z] df20fa9351a1: Download complete [2020-09-22T11:06:50.375Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T11:06:50.375Z] . [Pipeline] withDockerContainer [2020-09-22T11:06:50.563Z] df20fa9351a1: Pull complete [2020-09-22T11:06:50.652Z] prd-ubuntu18.04-docker-arm64-4c-16g-817 does not seem to be running inside a container [2020-09-22T11:06:50.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-22T11:06:50.824Z] ed8968b2872e: Pull complete [2020-09-22T11:06:51.086Z] a92cc7c5fd73: Pull complete [2020-09-22T11:06:52.492Z] 4e634b169226: Verifying Checksum [2020-09-22T11:06:52.492Z] 4e634b169226: Download complete [2020-09-22T11:06:52.591Z] $ docker top 1f66fd30ad203f1a0c6efc50da7ed9dff32b919b0154f6e94095c99f3f9ec8ba -eo pid,comm [2020-09-22T11:06:52.757Z] e871e8e8d7a9: Verifying Checksum [2020-09-22T11:06:52.757Z] e871e8e8d7a9: Download complete [Pipeline] { [Pipeline] sh [2020-09-22T11:06:54.003Z] + go version [2020-09-22T11:06:54.003Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-22T11:06:54.034Z] $ docker stop --time=1 1f66fd30ad203f1a0c6efc50da7ed9dff32b919b0154f6e94095c99f3f9ec8ba [2020-09-22T11:06:55.941Z] $ docker rm -f 1f66fd30ad203f1a0c6efc50da7ed9dff32b919b0154f6e94095c99f3f9ec8ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-09-22T11:06:58.079Z] e871e8e8d7a9: Pull complete [2020-09-22T11:06:58.079Z] e73272ec9a57: Pull complete [2020-09-22T11:06:58.079Z] 1e910a182e73: Pull complete [Pipeline] sh [2020-09-22T11:06:59.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T11:06:59.855Z] + ls -al . [2020-09-22T11:06:59.855Z] total 100 [2020-09-22T11:06:59.855Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 11:05 . [2020-09-22T11:06:59.855Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 11:05 .. [2020-09-22T11:06:59.855Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 22 11:05 .dockerignore [2020-09-22T11:06:59.855Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 11:05 .git [2020-09-22T11:06:59.855Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 11:05 .github [2020-09-22T11:06:59.855Z] -rw-rw-r-- 1 jenkins jenkins 339 Sep 22 11:05 .gitignore [2020-09-22T11:06:59.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 11:05 .semver [2020-09-22T11:06:59.855Z] -rw-rw-r-- 1 jenkins jenkins 4566 Sep 22 11:05 Attribution.txt [2020-09-22T11:06:59.855Z] -rw-rw-r-- 1 jenkins jenkins 1519 Sep 22 11:05 Dockerfile [2020-09-22T11:06:59.855Z] -rw-rw-r-- 1 jenkins jenkins 989 Sep 22 11:05 Dockerfile.build [2020-09-22T11:06:59.855Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 11:05 Jenkinsfile [2020-09-22T11:06:59.855Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 11:05 LICENSE [2020-09-22T11:06:59.855Z] -rw-rw-r-- 1 jenkins jenkins 951 Sep 22 11:05 Makefile [2020-09-22T11:06:59.855Z] -rw-rw-r-- 1 jenkins jenkins 5917 Sep 22 11:05 README.md [2020-09-22T11:06:59.855Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 22 11:03 VERSION [2020-09-22T11:06:59.855Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 11:05 bin [2020-09-22T11:06:59.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 11:05 cmd [2020-09-22T11:06:59.855Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 11:05 driver [2020-09-22T11:06:59.855Z] -rw-rw-r-- 1 jenkins jenkins 273 Sep 22 11:05 go.mod [2020-09-22T11:06:59.855Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 11:05 snap [2020-09-22T11:06:59.856Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 22 11:05 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:00.202Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0a79c20c2d893aa8ea9da840411e787f3e51ca5b --label arch=arm64 --label version=1.1.3-dev.5 . [2020-09-22T11:07:00.478Z] Sending build context to Docker daemon 8.049MB [2020-09-22T11:07:00.754Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-22T11:07:00.754Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-22T11:07:00.754Z] ---> e3ad6ddd2882 [2020-09-22T11:07:00.754Z] Step 3/25 : ARG MAKE='make build' [2020-09-22T11:07:01.028Z] ---> Running in b64e68ee9555 [2020-09-22T11:07:01.302Z] Removing intermediate container b64e68ee9555 [2020-09-22T11:07:01.302Z] ---> ff595bb3b9fe [2020-09-22T11:07:01.302Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-22T11:07:01.580Z] ---> Running in d8325e611579 [2020-09-22T11:07:01.857Z] Removing intermediate container d8325e611579 [2020-09-22T11:07:01.857Z] ---> 6d263a5ca6a8 [2020-09-22T11:07:01.857Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-22T11:07:02.135Z] ---> Running in 1af16a193fdb [2020-09-22T11:07:02.411Z] Removing intermediate container 1af16a193fdb [2020-09-22T11:07:02.411Z] ---> 9d2b77ba43c5 [2020-09-22T11:07:02.411Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T11:07:02.685Z] ---> Running in 11bddc1fb846 [2020-09-22T11:07:04.699Z] 4e634b169226: Pull complete [2020-09-22T11:07:04.699Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-22T11:07:04.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-22T11:07:04.699Z] ---> f7629b54cfaa [2020-09-22T11:07:04.699Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-22T11:07:04.964Z] ---> Running in cb522684d605 [2020-09-22T11:07:05.228Z] Removing intermediate container cb522684d605 [2020-09-22T11:07:05.228Z] ---> 657321b05836 [2020-09-22T11:07:05.228Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-22T11:07:05.228Z] ---> Running in 4236a0d6b767 [2020-09-22T11:07:05.321Z] Removing intermediate container 11bddc1fb846 [2020-09-22T11:07:05.321Z] ---> d90d8eb3701c [2020-09-22T11:07:05.321Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-22T11:07:05.321Z] ---> Running in a4a02556dac8 [2020-09-22T11:07:05.493Z] Removing intermediate container 4236a0d6b767 [2020-09-22T11:07:05.493Z] ---> 0d7beb156e94 [2020-09-22T11:07:05.493Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-22T11:07:05.493Z] ---> Running in 1dd99176011c [2020-09-22T11:07:05.757Z] Removing intermediate container 1dd99176011c [2020-09-22T11:07:05.757Z] ---> 6993e990145e [2020-09-22T11:07:05.757Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T11:07:05.757Z] ---> Running in 531b1624e78a [2020-09-22T11:07:06.710Z] Removing intermediate container 531b1624e78a [2020-09-22T11:07:06.710Z] ---> df5645171852 [2020-09-22T11:07:06.710Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-22T11:07:06.710Z] ---> Running in 0ba9464686ae [2020-09-22T11:07:06.761Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T11:07:07.355Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T11:07:07.665Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T11:07:08.244Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T11:07:08.335Z] OK: 142 MiB in 39 packages [2020-09-22T11:07:08.827Z] OK: 166 MiB in 39 packages [2020-09-22T11:07:09.090Z] Removing intermediate container 0ba9464686ae [2020-09-22T11:07:09.090Z] ---> 5a10859d1ac3 [2020-09-22T11:07:09.090Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-22T11:07:09.318Z] Removing intermediate container a4a02556dac8 [2020-09-22T11:07:09.318Z] ---> f002b9a77eeb [2020-09-22T11:07:09.318Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-22T11:07:09.318Z] ---> Running in c2ba86cefed2 [2020-09-22T11:07:09.356Z] ---> Running in 2055a88d5c73 [2020-09-22T11:07:09.356Z] Removing intermediate container 2055a88d5c73 [2020-09-22T11:07:09.356Z] ---> 91c2f81c77eb [2020-09-22T11:07:09.356Z] Step 9/10 : COPY . . [2020-09-22T11:07:09.919Z] Removing intermediate container c2ba86cefed2 [2020-09-22T11:07:09.919Z] ---> c1ee3ba434f4 [2020-09-22T11:07:09.919Z] Step 9/25 : COPY go.mod . [2020-09-22T11:07:09.931Z] ---> ac2704c7aa09 [2020-09-22T11:07:09.931Z] Step 10/10 : RUN go mod download [2020-09-22T11:07:09.931Z] ---> Running in aa400b140c01 [2020-09-22T11:07:10.518Z] ---> 2a803094e348 [2020-09-22T11:07:10.518Z] Step 10/25 : COPY Makefile . [2020-09-22T11:07:11.503Z] ---> 406d21d69491 [2020-09-22T11:07:11.503Z] Step 11/25 : RUN make update [2020-09-22T11:07:11.503Z] ---> Running in ddba0b9785b3 [2020-09-22T11:07:12.937Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-22T11:07:13.926Z] Removing intermediate container ddba0b9785b3 [2020-09-22T11:07:13.926Z] ---> 3204aaaaebbd [2020-09-22T11:07:13.926Z] Step 12/25 : COPY . . [2020-09-22T11:07:15.371Z] ---> f99dd3e8644b [2020-09-22T11:07:15.371Z] Step 13/25 : RUN $MAKE [2020-09-22T11:07:15.371Z] ---> Running in 594c65bec774 [2020-09-22T11:07:16.813Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.5" -o cmd/device-rest-go ./cmd [2020-09-22T11:07:22.194Z] Removing intermediate container aa400b140c01 [2020-09-22T11:07:22.194Z] ---> 5c3f18256e38 [2020-09-22T11:07:22.194Z] Successfully built 5c3f18256e38 [2020-09-22T11:07:22.194Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:22.553Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T11:07:22.553Z] . [Pipeline] withDockerContainer [2020-09-22T11:07:22.666Z] prd-centos7-docker-4c-2g-818 does not seem to be running inside a container [2020-09-22T11:07:22.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-22T11:07:23.896Z] $ docker top fd36c9f58fab0d481c638d2569bebee1e69b21cd7255e6a4ada82f0064b23078 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T11:07:24.455Z] + go version [2020-09-22T11:07:24.455Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-22T11:07:24.474Z] $ docker stop --time=1 fd36c9f58fab0d481c638d2569bebee1e69b21cd7255e6a4ada82f0064b23078 [2020-09-22T11:07:25.820Z] $ docker rm -f fd36c9f58fab0d481c638d2569bebee1e69b21cd7255e6a4ada82f0064b23078 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T11:07:27.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T11:07:27.302Z] + ls -al . [2020-09-22T11:07:27.303Z] total 68 [2020-09-22T11:07:27.303Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 22 11:06 . [2020-09-22T11:07:27.303Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 22 11:06 .. [2020-09-22T11:07:27.303Z] -rw-rw-r--. 1 jenkins jenkins 4566 Sep 22 11:06 Attribution.txt [2020-09-22T11:07:27.303Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 11:06 bin [2020-09-22T11:07:27.303Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 22 11:06 cmd [2020-09-22T11:07:27.303Z] -rw-rw-r--. 1 jenkins jenkins 1519 Sep 22 11:06 Dockerfile [2020-09-22T11:07:27.303Z] -rw-rw-r--. 1 jenkins jenkins 989 Sep 22 11:06 Dockerfile.build [2020-09-22T11:07:27.303Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 22 11:06 .dockerignore [2020-09-22T11:07:27.303Z] drwxrwxr-x. 2 jenkins jenkins 76 Sep 22 11:06 driver [2020-09-22T11:07:27.303Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 22 11:06 .git [2020-09-22T11:07:27.303Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 22 11:06 .github [2020-09-22T11:07:27.303Z] -rw-rw-r--. 1 jenkins jenkins 339 Sep 22 11:06 .gitignore [2020-09-22T11:07:27.303Z] -rw-rw-r--. 1 jenkins jenkins 273 Sep 22 11:06 go.mod [2020-09-22T11:07:27.303Z] -rw-rw-r--. 1 jenkins jenkins 680 Sep 22 11:06 Jenkinsfile [2020-09-22T11:07:27.303Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 22 11:06 LICENSE [2020-09-22T11:07:27.303Z] -rw-rw-r--. 1 jenkins jenkins 951 Sep 22 11:06 Makefile [2020-09-22T11:07:27.303Z] -rw-rw-r--. 1 jenkins jenkins 5917 Sep 22 11:06 README.md [2020-09-22T11:07:27.303Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 22 11:06 .semver [2020-09-22T11:07:27.303Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 11:06 snap [2020-09-22T11:07:27.303Z] -rw-rw-r--. 1 jenkins jenkins 11 Sep 22 11:03 VERSION [2020-09-22T11:07:27.303Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 22 11:06 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:27.612Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=0a79c20c2d893aa8ea9da840411e787f3e51ca5b --label arch=amd64 --label version=1.1.3-dev.5 . [2020-09-22T11:07:27.612Z] Sending build context to Docker daemon 8.049MB [2020-09-22T11:07:27.612Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-22T11:07:27.612Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-22T11:07:27.612Z] ---> 5c3f18256e38 [2020-09-22T11:07:27.612Z] Step 3/25 : ARG MAKE='make build' [2020-09-22T11:07:27.915Z] ---> Running in 07f8c9a5e312 [2020-09-22T11:07:27.915Z] Removing intermediate container 07f8c9a5e312 [2020-09-22T11:07:27.915Z] ---> ba78a2c8a38c [2020-09-22T11:07:27.915Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-22T11:07:28.186Z] ---> Running in 1e4f1aeb9353 [2020-09-22T11:07:28.186Z] Removing intermediate container 1e4f1aeb9353 [2020-09-22T11:07:28.186Z] ---> d387d0a1104a [2020-09-22T11:07:28.186Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-22T11:07:28.464Z] ---> Running in e92ab3395890 [2020-09-22T11:07:28.464Z] Removing intermediate container e92ab3395890 [2020-09-22T11:07:28.464Z] ---> 7ed2d7f9570f [2020-09-22T11:07:28.464Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T11:07:28.464Z] ---> Running in dcdceac66441 [2020-09-22T11:07:29.857Z] Removing intermediate container dcdceac66441 [2020-09-22T11:07:29.857Z] ---> 1835e4f6fec7 [2020-09-22T11:07:29.857Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-22T11:07:29.857Z] ---> Running in 7a2dd796d47e [2020-09-22T11:07:30.122Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T11:07:30.700Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T11:07:31.275Z] OK: 166 MiB in 39 packages [2020-09-22T11:07:31.538Z] Removing intermediate container 7a2dd796d47e [2020-09-22T11:07:31.538Z] ---> 3afbfd447524 [2020-09-22T11:07:31.538Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-22T11:07:31.538Z] ---> Running in ecff52d80e68 [2020-09-22T11:07:31.800Z] Removing intermediate container ecff52d80e68 [2020-09-22T11:07:31.800Z] ---> 36bb6debafc9 [2020-09-22T11:07:31.800Z] Step 9/25 : COPY go.mod . [2020-09-22T11:07:32.062Z] ---> c2a460e151d0 [2020-09-22T11:07:32.062Z] Step 10/25 : COPY Makefile . [2020-09-22T11:07:32.326Z] ---> de6fb0810681 [2020-09-22T11:07:32.326Z] Step 11/25 : RUN make update [2020-09-22T11:07:32.326Z] ---> Running in dcdebb25d911 [2020-09-22T11:07:32.591Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-22T11:07:33.166Z] Removing intermediate container dcdebb25d911 [2020-09-22T11:07:33.166Z] ---> 0a3c247ecf10 [2020-09-22T11:07:33.166Z] Step 12/25 : COPY . . [2020-09-22T11:07:33.428Z] ---> 3b8880494c9d [2020-09-22T11:07:33.428Z] Step 13/25 : RUN $MAKE [2020-09-22T11:07:33.691Z] ---> Running in 08373975a5ee [2020-09-22T11:07:33.969Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.5" -o cmd/device-rest-go ./cmd [2020-09-22T11:07:43.648Z] Removing intermediate container 594c65bec774 [2020-09-22T11:07:43.648Z] ---> b8c62a5f0083 [2020-09-22T11:07:43.648Z] Step 14/25 : FROM alpine:latest [2020-09-22T11:07:43.648Z] latest: Pulling from library/alpine [2020-09-22T11:07:43.648Z] b538f80385f9: Already exists [2020-09-22T11:07:43.648Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-22T11:07:43.648Z] Status: Downloaded newer image for alpine:latest [2020-09-22T11:07:43.648Z] ---> 62ee0e9f8440 [2020-09-22T11:07:43.648Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-22T11:07:43.648Z] ---> Running in d69c4d8e03ac [2020-09-22T11:07:43.648Z] Removing intermediate container d69c4d8e03ac [2020-09-22T11:07:43.648Z] ---> c8f4700a145f [2020-09-22T11:07:43.648Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-22T11:07:43.648Z] ---> Running in 6b848a4ada4f [2020-09-22T11:07:43.648Z] Removing intermediate container 6b848a4ada4f [2020-09-22T11:07:43.648Z] ---> c378b1921375 [2020-09-22T11:07:43.648Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-22T11:07:43.921Z] ---> a82b2b4192e4 [2020-09-22T11:07:43.921Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-22T11:07:44.046Z] Removing intermediate container 08373975a5ee [2020-09-22T11:07:44.047Z] ---> 23827662a3ba [2020-09-22T11:07:44.047Z] Step 14/25 : FROM alpine:latest [2020-09-22T11:07:44.047Z] latest: Pulling from library/alpine [2020-09-22T11:07:44.047Z] df20fa9351a1: Already exists [2020-09-22T11:07:44.312Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-22T11:07:44.312Z] Status: Downloaded newer image for alpine:latest [2020-09-22T11:07:44.312Z] ---> a24bb4013296 [2020-09-22T11:07:44.312Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-22T11:07:44.312Z] ---> Running in c7e64a19c302 [2020-09-22T11:07:44.521Z] ---> 54f93e5fd3df [2020-09-22T11:07:44.521Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-22T11:07:44.575Z] Removing intermediate container c7e64a19c302 [2020-09-22T11:07:44.575Z] ---> 26034f027f8f [2020-09-22T11:07:44.575Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-22T11:07:44.575Z] ---> Running in cebe6477481d [2020-09-22T11:07:44.575Z] Removing intermediate container cebe6477481d [2020-09-22T11:07:44.575Z] ---> 5e5c84c55535 [2020-09-22T11:07:44.575Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-22T11:07:44.839Z] ---> 76a1843ffba6 [2020-09-22T11:07:44.839Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-22T11:07:45.103Z] ---> 92a2d329df55 [2020-09-22T11:07:45.103Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-22T11:07:45.677Z] ---> f697e950be7d [2020-09-22T11:07:45.677Z] Step 20/25 : EXPOSE 49986 [2020-09-22T11:07:45.677Z] ---> Running in 31f853227200 [2020-09-22T11:07:45.940Z] Removing intermediate container 31f853227200 [2020-09-22T11:07:45.940Z] ---> 243faff07471 [2020-09-22T11:07:45.940Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-22T11:07:45.940Z] ---> Running in 0a4bb9c2e915 [2020-09-22T11:07:45.940Z] Removing intermediate container 0a4bb9c2e915 [2020-09-22T11:07:45.940Z] ---> a706661869b8 [2020-09-22T11:07:45.940Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-22T11:07:45.955Z] ---> 8c65f336cf69 [2020-09-22T11:07:45.955Z] Step 20/25 : EXPOSE 49986 [2020-09-22T11:07:46.203Z] ---> Running in 03b4938a633e [2020-09-22T11:07:46.203Z] Removing intermediate container 03b4938a633e [2020-09-22T11:07:46.203Z] ---> 20900e30d861 [2020-09-22T11:07:46.203Z] Step 23/25 : LABEL arch=amd64 [2020-09-22T11:07:46.228Z] ---> Running in 684f5f6d2e65 [2020-09-22T11:07:46.467Z] ---> Running in 3a878a97dd3c [2020-09-22T11:07:46.467Z] Removing intermediate container 3a878a97dd3c [2020-09-22T11:07:46.467Z] ---> 81f61b856b6f [2020-09-22T11:07:46.467Z] Step 24/25 : LABEL git_sha=0a79c20c2d893aa8ea9da840411e787f3e51ca5b [2020-09-22T11:07:46.467Z] ---> Running in fe373d3ac3eb [2020-09-22T11:07:46.502Z] Removing intermediate container 684f5f6d2e65 [2020-09-22T11:07:46.502Z] ---> 7a614285506c [2020-09-22T11:07:46.502Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-22T11:07:46.730Z] Removing intermediate container fe373d3ac3eb [2020-09-22T11:07:46.730Z] ---> 8cb8d68f72d9 [2020-09-22T11:07:46.730Z] Step 25/25 : LABEL version=1.1.3-dev.5 [2020-09-22T11:07:46.730Z] ---> Running in bbb515156f95 [2020-09-22T11:07:46.775Z] ---> Running in c34c24798eb0 [2020-09-22T11:07:46.993Z] Removing intermediate container bbb515156f95 [2020-09-22T11:07:46.993Z] ---> 333dfa19deec [2020-09-22T11:07:46.993Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T11:07:46.993Z] Successfully built 333dfa19deec [2020-09-22T11:07:46.993Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [2020-09-22T11:07:47.051Z] Removing intermediate container c34c24798eb0 [2020-09-22T11:07:47.051Z] ---> e60af81583cb [2020-09-22T11:07:47.051Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-09-22T11:07:47.326Z] ---> Running in ade3cbafbb94 [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-09-22T11:07:47.588Z] provisioning config files... [2020-09-22T11:07:47.627Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/21@tmp/config5203436885396514489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-22T11:07:47.925Z] Removing intermediate container ade3cbafbb94 [2020-09-22T11:07:47.925Z] ---> 4280bed087d9 [2020-09-22T11:07:47.925Z] Step 23/25 : LABEL arch=arm64 [2020-09-22T11:07:47.925Z] ---> Running in 26806e1dfce7 [2020-09-22T11:07:47.996Z] ---> docker-login.sh [2020-09-22T11:07:47.996Z] nexus3.edgexfoundry.org:10001 [2020-09-22T11:07:47.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-22T11:07:48.200Z] Removing intermediate container 26806e1dfce7 [2020-09-22T11:07:48.200Z] ---> ef5249686cfa [2020-09-22T11:07:48.200Z] Step 24/25 : LABEL git_sha=0a79c20c2d893aa8ea9da840411e787f3e51ca5b [2020-09-22T11:07:48.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-22T11:07:48.261Z] Configure a credential helper to remove this warning. See [2020-09-22T11:07:48.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-22T11:07:48.261Z] [2020-09-22T11:07:48.261Z] Login Succeeded [2020-09-22T11:07:48.261Z] nexus3.edgexfoundry.org:10002 [2020-09-22T11:07:48.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-22T11:07:48.477Z] ---> Running in 558f5d7a1372 [2020-09-22T11:07:48.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-22T11:07:48.525Z] Configure a credential helper to remove this warning. See [2020-09-22T11:07:48.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-22T11:07:48.525Z] [2020-09-22T11:07:48.525Z] Login Succeeded [2020-09-22T11:07:48.525Z] nexus3.edgexfoundry.org:10003 [2020-09-22T11:07:48.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-22T11:07:48.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-22T11:07:48.526Z] Configure a credential helper to remove this warning. See [2020-09-22T11:07:48.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-22T11:07:48.526Z] [2020-09-22T11:07:48.526Z] Login Succeeded [2020-09-22T11:07:48.526Z] nexus3.edgexfoundry.org:10004 [2020-09-22T11:07:48.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-22T11:07:48.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-22T11:07:48.789Z] Configure a credential helper to remove this warning. See [2020-09-22T11:07:48.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-22T11:07:48.789Z] [2020-09-22T11:07:48.789Z] Login Succeeded [2020-09-22T11:07:48.789Z] docker.io [2020-09-22T11:07:48.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-22T11:07:49.074Z] Removing intermediate container 558f5d7a1372 [2020-09-22T11:07:49.074Z] ---> f541693baca4 [2020-09-22T11:07:49.074Z] Step 25/25 : LABEL version=1.1.3-dev.5 [2020-09-22T11:07:49.074Z] ---> Running in cd4278872a47 [2020-09-22T11:07:49.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-22T11:07:49.362Z] Configure a credential helper to remove this warning. See [2020-09-22T11:07:49.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-22T11:07:49.362Z] [2020-09-22T11:07:49.362Z] Login Succeeded [2020-09-22T11:07:49.362Z] ---> docker-login.sh ends [Pipeline] } [2020-09-22T11:07:49.372Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2020-09-22T11:07:49.672Z] Removing intermediate container cd4278872a47 [2020-09-22T11:07:49.672Z] ---> 624119321f78 [2020-09-22T11:07:49.672Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T11:07:49.672Z] Successfully built 624119321f78 [2020-09-22T11:07:49.672Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] echo [2020-09-22T11:07:49.853Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2020-09-22T11:07:49.853Z] 0a79c20c2d893aa8ea9da840411e787f3e51ca5b [2020-09-22T11:07:49.853Z] latest [2020-09-22T11:07:49.853Z] 1.1.3-dev.5 [2020-09-22T11:07:49.853Z] 0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 [2020-09-22T11:07:49.853Z] master [2020-09-22T11:07:49.853Z] ===================================================== [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-09-22T11:07:50.359Z] provisioning config files... [2020-09-22T11:07:50.398Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/21@tmp/config5571560242382488189tmp [Pipeline] { [2020-09-22T11:07:50.436Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:50.841Z] ---> docker-login.sh [2020-09-22T11:07:50.841Z] nexus3.edgexfoundry.org:10001 [2020-09-22T11:07:50.904Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b [2020-09-22T11:07:50.904Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-09-22T11:07:50.904Z] 0e2f0106a37c: Preparing [2020-09-22T11:07:50.904Z] 729ba0844168: Preparing [2020-09-22T11:07:50.904Z] e51ec044f299: Preparing [2020-09-22T11:07:50.904Z] 50644c29ef5a: Preparing [2020-09-22T11:07:50.904Z] 50644c29ef5a: Layer already exists [2020-09-22T11:07:51.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-22T11:07:51.168Z] e51ec044f299: Pushed [2020-09-22T11:07:51.168Z] 729ba0844168: Pushed [2020-09-22T11:07:51.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-22T11:07:51.404Z] Configure a credential helper to remove this warning. See [2020-09-22T11:07:51.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-22T11:07:51.404Z] [2020-09-22T11:07:51.404Z] Login Succeeded [2020-09-22T11:07:51.404Z] nexus3.edgexfoundry.org:10002 [2020-09-22T11:07:51.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-22T11:07:51.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-22T11:07:51.952Z] Configure a credential helper to remove this warning. See [2020-09-22T11:07:51.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-22T11:07:51.952Z] [2020-09-22T11:07:51.952Z] Login Succeeded [2020-09-22T11:07:51.952Z] nexus3.edgexfoundry.org:10003 [2020-09-22T11:07:52.114Z] 0e2f0106a37c: Pushed [2020-09-22T11:07:52.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-22T11:07:52.376Z] 0a79c20c2d893aa8ea9da840411e787f3e51ca5b: digest: sha256:758b973f7c825069a752f797e005121a5366143265a3774a4eb2c52e40683b91 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:52.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-22T11:07:52.504Z] Configure a credential helper to remove this warning. See [2020-09-22T11:07:52.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-22T11:07:52.504Z] [2020-09-22T11:07:52.504Z] Login Succeeded [2020-09-22T11:07:52.504Z] nexus3.edgexfoundry.org:10004 [2020-09-22T11:07:52.686Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:52.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-22T11:07:52.986Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-09-22T11:07:52.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-09-22T11:07:52.986Z] 0e2f0106a37c: Preparing [2020-09-22T11:07:52.986Z] 729ba0844168: Preparing [2020-09-22T11:07:52.986Z] e51ec044f299: Preparing [2020-09-22T11:07:52.986Z] 50644c29ef5a: Preparing [2020-09-22T11:07:52.986Z] 0e2f0106a37c: Layer already exists [2020-09-22T11:07:52.986Z] 729ba0844168: Layer already exists [2020-09-22T11:07:52.986Z] e51ec044f299: Layer already exists [2020-09-22T11:07:52.986Z] 50644c29ef5a: Layer already exists [2020-09-22T11:07:52.986Z] latest: digest: sha256:758b973f7c825069a752f797e005121a5366143265a3774a4eb2c52e40683b91 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:53.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-22T11:07:53.054Z] Configure a credential helper to remove this warning. See [2020-09-22T11:07:53.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-22T11:07:53.054Z] [2020-09-22T11:07:53.054Z] Login Succeeded [2020-09-22T11:07:53.054Z] docker.io [2020-09-22T11:07:53.298Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.5 [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:53.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-22T11:07:53.619Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.5 [2020-09-22T11:07:53.619Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-09-22T11:07:53.619Z] 0e2f0106a37c: Preparing [2020-09-22T11:07:53.619Z] 729ba0844168: Preparing [2020-09-22T11:07:53.619Z] e51ec044f299: Preparing [2020-09-22T11:07:53.619Z] 50644c29ef5a: Preparing [2020-09-22T11:07:53.619Z] 729ba0844168: Layer already exists [2020-09-22T11:07:53.619Z] 50644c29ef5a: Layer already exists [2020-09-22T11:07:53.619Z] e51ec044f299: Layer already exists [2020-09-22T11:07:53.619Z] 0e2f0106a37c: Layer already exists [2020-09-22T11:07:53.887Z] 1.1.3-dev.5: digest: sha256:758b973f7c825069a752f797e005121a5366143265a3774a4eb2c52e40683b91 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:53.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-22T11:07:53.922Z] Configure a credential helper to remove this warning. See [2020-09-22T11:07:53.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-22T11:07:53.922Z] [2020-09-22T11:07:53.922Z] Login Succeeded [2020-09-22T11:07:53.922Z] ---> docker-login.sh ends [Pipeline] } [2020-09-22T11:07:53.992Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2020-09-22T11:07:54.200Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2020-09-22T11:07:54.711Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2020-09-22T11:07:54.711Z] 0a79c20c2d893aa8ea9da840411e787f3e51ca5b [2020-09-22T11:07:54.711Z] latest [2020-09-22T11:07:54.711Z] 1.1.3-dev.5 [2020-09-22T11:07:54.711Z] 0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 [2020-09-22T11:07:54.711Z] master [2020-09-22T11:07:54.711Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [2020-09-22T11:07:54.913Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 [2020-09-22T11:07:54.913Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-09-22T11:07:54.913Z] 0e2f0106a37c: Preparing [2020-09-22T11:07:54.913Z] 729ba0844168: Preparing [2020-09-22T11:07:54.913Z] e51ec044f299: Preparing [2020-09-22T11:07:54.913Z] 50644c29ef5a: Preparing [2020-09-22T11:07:54.913Z] 0e2f0106a37c: Layer already exists [2020-09-22T11:07:54.913Z] e51ec044f299: Layer already exists [2020-09-22T11:07:54.913Z] 729ba0844168: Layer already exists [2020-09-22T11:07:54.913Z] 50644c29ef5a: Layer already exists [2020-09-22T11:07:54.913Z] 0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5: digest: sha256:758b973f7c825069a752f797e005121a5366143265a3774a4eb2c52e40683b91 size: 1154 [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:55.237Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:55.324Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:55.575Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b [2020-09-22T11:07:55.575Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-09-22T11:07:55.575Z] 8e68e2330fce: Preparing [2020-09-22T11:07:55.575Z] 4d74897843c1: Preparing [2020-09-22T11:07:55.575Z] 322adf091262: Preparing [2020-09-22T11:07:55.575Z] e2f13739ad41: Preparing [2020-09-22T11:07:55.670Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2020-09-22T11:07:55.670Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-09-22T11:07:55.670Z] 0e2f0106a37c: Preparing [2020-09-22T11:07:55.670Z] 729ba0844168: Preparing [2020-09-22T11:07:55.670Z] e51ec044f299: Preparing [2020-09-22T11:07:55.670Z] 50644c29ef5a: Preparing [2020-09-22T11:07:55.670Z] e51ec044f299: Layer already exists [2020-09-22T11:07:55.670Z] 50644c29ef5a: Layer already exists [2020-09-22T11:07:55.670Z] 0e2f0106a37c: Layer already exists [2020-09-22T11:07:55.670Z] 729ba0844168: Layer already exists [2020-09-22T11:07:55.670Z] master: digest: sha256:758b973f7c825069a752f797e005121a5366143265a3774a4eb2c52e40683b91 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [2020-09-22T11:07:55.854Z] e2f13739ad41: Layer already exists [2020-09-22T11:07:55.854Z] 4d74897843c1: Pushed [2020-09-22T11:07:55.854Z] 322adf091262: Pushed [Pipeline] echo [2020-09-22T11:07:55.879Z] ===================================================== [Pipeline] echo [2020-09-22T11:07:55.930Z] taggedImages: [2020-09-22T11:07:55.930Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b [2020-09-22T11:07:55.930Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-09-22T11:07:55.930Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.5 [2020-09-22T11:07:55.930Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 [2020-09-22T11:07:55.930Z] - 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] } [2020-09-22T11:07:58.476Z] 8e68e2330fce: Pushed [2020-09-22T11:07:58.476Z] 0a79c20c2d893aa8ea9da840411e787f3e51ca5b: digest: sha256:9593e4084cabede0992c2425471603b1c4ed3b59729285643162a4ed7bd1764a size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:58.814Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:59.158Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-09-22T11:07:59.158Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-09-22T11:07:59.158Z] 8e68e2330fce: Preparing [2020-09-22T11:07:59.158Z] 4d74897843c1: Preparing [2020-09-22T11:07:59.158Z] 322adf091262: Preparing [2020-09-22T11:07:59.158Z] e2f13739ad41: Preparing [2020-09-22T11:07:59.158Z] 4d74897843c1: Layer already exists [2020-09-22T11:07:59.158Z] 322adf091262: Layer already exists [2020-09-22T11:07:59.158Z] 8e68e2330fce: Layer already exists [2020-09-22T11:07:59.158Z] e2f13739ad41: Layer already exists [2020-09-22T11:07:59.432Z] latest: digest: sha256:9593e4084cabede0992c2425471603b1c4ed3b59729285643162a4ed7bd1764a size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:07:59.786Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.5 [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:08:00.135Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.5 [2020-09-22T11:08:00.135Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-09-22T11:08:00.135Z] 8e68e2330fce: Preparing [2020-09-22T11:08:00.135Z] 4d74897843c1: Preparing [2020-09-22T11:08:00.135Z] 322adf091262: Preparing [2020-09-22T11:08:00.135Z] e2f13739ad41: Preparing [2020-09-22T11:08:00.135Z] e2f13739ad41: Layer already exists [2020-09-22T11:08:00.135Z] 322adf091262: Layer already exists [2020-09-22T11:08:00.135Z] 4d74897843c1: Layer already exists [2020-09-22T11:08:00.135Z] 8e68e2330fce: Layer already exists [2020-09-22T11:08:00.408Z] 1.1.3-dev.5: digest: sha256:9593e4084cabede0992c2425471603b1c4ed3b59729285643162a4ed7bd1764a size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:08:00.757Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:08:01.099Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 [2020-09-22T11:08:01.099Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-09-22T11:08:01.099Z] 8e68e2330fce: Preparing [2020-09-22T11:08:01.099Z] 4d74897843c1: Preparing [2020-09-22T11:08:01.099Z] 322adf091262: Preparing [2020-09-22T11:08:01.099Z] e2f13739ad41: Preparing [2020-09-22T11:08:01.099Z] e2f13739ad41: Layer already exists [2020-09-22T11:08:01.099Z] 4d74897843c1: Layer already exists [2020-09-22T11:08:01.099Z] 8e68e2330fce: Layer already exists [2020-09-22T11:08:01.099Z] 322adf091262: Layer already exists [2020-09-22T11:08:01.372Z] 0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5: digest: sha256:9593e4084cabede0992c2425471603b1c4ed3b59729285643162a4ed7bd1764a size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:08:01.728Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:08:02.071Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2020-09-22T11:08:02.072Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-09-22T11:08:02.072Z] 8e68e2330fce: Preparing [2020-09-22T11:08:02.072Z] 4d74897843c1: Preparing [2020-09-22T11:08:02.072Z] 322adf091262: Preparing [2020-09-22T11:08:02.072Z] e2f13739ad41: Preparing [2020-09-22T11:08:02.072Z] e2f13739ad41: Layer already exists [2020-09-22T11:08:02.072Z] 322adf091262: Layer already exists [2020-09-22T11:08:02.072Z] 8e68e2330fce: Layer already exists [2020-09-22T11:08:02.347Z] 4d74897843c1: Layer already exists [2020-09-22T11:08:02.347Z] master: digest: sha256:9593e4084cabede0992c2425471603b1c4ed3b59729285643162a4ed7bd1764a size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-22T11:08:02.545Z] ===================================================== [Pipeline] echo [2020-09-22T11:08:02.596Z] taggedImages: [2020-09-22T11:08:02.596Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b [2020-09-22T11:08:02.596Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-09-22T11:08:02.596Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.5 [2020-09-22T11:08:02.596Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b-1.1.3-dev.5 [2020-09-22T11:08:02.596Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-09-22T11:08:08.250Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-09-22T11:08:08.251Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-09-22T11:08:08.303Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:08:08.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-22T11:08:08.653Z] [2020-09-22T11:08:08.653Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:08:09.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-22T11:08:09.014Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-09-22T11:08:09.014Z] cbdbe7a5bc2a: Pulling fs layer [2020-09-22T11:08:09.014Z] 408f87550127: Pulling fs layer [2020-09-22T11:08:09.014Z] fe522b08c979: Pulling fs layer [2020-09-22T11:08:09.014Z] 221eaa008020: Pulling fs layer [2020-09-22T11:08:09.014Z] 2a4607e5d6b9: Pulling fs layer [2020-09-22T11:08:09.014Z] 8f79b27c4fd2: Pulling fs layer [2020-09-22T11:08:09.014Z] e5c8dbe1645b: Pulling fs layer [2020-09-22T11:08:09.014Z] 23e8b3b47431: Pulling fs layer [2020-09-22T11:08:09.014Z] 5c568d65a230: Pulling fs layer [2020-09-22T11:08:09.014Z] 2a4607e5d6b9: Waiting [2020-09-22T11:08:09.014Z] 8f79b27c4fd2: Waiting [2020-09-22T11:08:09.014Z] e5c8dbe1645b: Waiting [2020-09-22T11:08:09.014Z] 23e8b3b47431: Waiting [2020-09-22T11:08:09.014Z] 5c568d65a230: Waiting [2020-09-22T11:08:09.014Z] 221eaa008020: Waiting [2020-09-22T11:08:09.014Z] fe522b08c979: Verifying Checksum [2020-09-22T11:08:09.014Z] fe522b08c979: Download complete [2020-09-22T11:08:09.014Z] 408f87550127: Verifying Checksum [2020-09-22T11:08:09.014Z] 408f87550127: Download complete [2020-09-22T11:08:09.014Z] 2a4607e5d6b9: Verifying Checksum [2020-09-22T11:08:09.014Z] 2a4607e5d6b9: Download complete [2020-09-22T11:08:09.014Z] 8f79b27c4fd2: Verifying Checksum [2020-09-22T11:08:09.014Z] 8f79b27c4fd2: Download complete [2020-09-22T11:08:09.014Z] cbdbe7a5bc2a: Verifying Checksum [2020-09-22T11:08:09.014Z] cbdbe7a5bc2a: Download complete [2020-09-22T11:08:09.285Z] cbdbe7a5bc2a: Pull complete [2020-09-22T11:08:09.547Z] 408f87550127: Pull complete [2020-09-22T11:08:09.809Z] fe522b08c979: Pull complete [2020-09-22T11:08:10.381Z] e5c8dbe1645b: Verifying Checksum [2020-09-22T11:08:10.381Z] e5c8dbe1645b: Download complete [2020-09-22T11:08:11.331Z] 5c568d65a230: Verifying Checksum [2020-09-22T11:08:11.331Z] 5c568d65a230: Download complete [2020-09-22T11:08:11.597Z] 23e8b3b47431: Verifying Checksum [2020-09-22T11:08:11.597Z] 23e8b3b47431: Download complete [2020-09-22T11:08:12.999Z] 221eaa008020: Verifying Checksum [2020-09-22T11:08:12.999Z] 221eaa008020: Download complete [2020-09-22T11:08:18.322Z] 221eaa008020: Pull complete [2020-09-22T11:08:18.322Z] 2a4607e5d6b9: Pull complete [2020-09-22T11:08:18.322Z] 8f79b27c4fd2: Pull complete [2020-09-22T11:08:20.241Z] e5c8dbe1645b: Pull complete [2020-09-22T11:08:23.569Z] 23e8b3b47431: Pull complete [2020-09-22T11:08:24.974Z] 5c568d65a230: Pull complete [2020-09-22T11:08:24.974Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-09-22T11:08:24.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-22T11:08:24.974Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-09-22T11:08:25.178Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2020-09-22T11:08:25.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-rest-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-09-22T11:08:26.133Z] $ docker top dece3056ef6ba2b988fb9183fc4b145bab8253a6ab983fe96b2afb29b655b35b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T11:08:26.678Z] + snyk monitor '--org=edgex-jenkins' [2020-09-22T11:08:36.763Z] [2020-09-22T11:08:36.763Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2020-09-22T11:08:36.763Z] [2020-09-22T11:08:36.763Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/a37e3611-ac51-400d-b7d1-8f55867f8602 [2020-09-22T11:08:36.763Z] [2020-09-22T11:08:36.763Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-09-22T11:08:36.763Z] [2020-09-22T11:08:36.763Z] [2020-09-22T11:08:36.763Z] Snyk CLI supports Node.js 8 and higher. [2020-09-22T11:08:36.763Z] 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-22T11:08:36.763Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-09-22T11:08:36.763Z] [2020-09-22T11:08:36.763Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-09-22T11:08:36.763Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-09-22T11:08:36.791Z] $ docker stop --time=1 dece3056ef6ba2b988fb9183fc4b145bab8253a6ab983fe96b2afb29b655b35b [2020-09-22T11:08:38.854Z] $ docker rm -f dece3056ef6ba2b988fb9183fc4b145bab8253a6ab983fe96b2afb29b655b35b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:08:40.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-22T11:08:40.029Z] [2020-09-22T11:08:40.029Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:08:40.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-22T11:08:40.397Z] latest: Pulling from edgex-devops/edgex-klar [2020-09-22T11:08:40.397Z] e7c96db7181b: Pulling fs layer [2020-09-22T11:08:40.397Z] 1868ca2cb446: Pulling fs layer [2020-09-22T11:08:40.397Z] 136be5d0fe8e: Pulling fs layer [2020-09-22T11:08:40.397Z] 894bfe63afcb: Pulling fs layer [2020-09-22T11:08:40.397Z] 894bfe63afcb: Waiting [2020-09-22T11:08:40.397Z] 1868ca2cb446: Verifying Checksum [2020-09-22T11:08:40.397Z] 1868ca2cb446: Download complete [2020-09-22T11:08:40.397Z] 136be5d0fe8e: Verifying Checksum [2020-09-22T11:08:40.397Z] 136be5d0fe8e: Download complete [2020-09-22T11:08:40.397Z] e7c96db7181b: Verifying Checksum [2020-09-22T11:08:40.397Z] e7c96db7181b: Download complete [2020-09-22T11:08:40.662Z] 894bfe63afcb: Verifying Checksum [2020-09-22T11:08:40.662Z] 894bfe63afcb: Download complete [2020-09-22T11:08:40.662Z] e7c96db7181b: Pull complete [2020-09-22T11:08:40.931Z] 1868ca2cb446: Pull complete [2020-09-22T11:08:40.931Z] 136be5d0fe8e: Pull complete [2020-09-22T11:08:41.198Z] 894bfe63afcb: Pull complete [2020-09-22T11:08:41.198Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-09-22T11:08:41.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-22T11:08:41.198Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-09-22T11:08:41.304Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2020-09-22T11:08:41.353Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-22T11:08:42.607Z] $ docker top c0db3aaaf80ee1de5586000e45d5f6a87ac782e1c561254f23f4db29de7f885f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-22T11:08:43.168Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b [2020-09-22T11:08:43.169Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-22T11:08:46.646Z] $ docker stop --time=1 c0db3aaaf80ee1de5586000e45d5f6a87ac782e1c561254f23f4db29de7f885f [2020-09-22T11:08:48.032Z] $ docker rm -f c0db3aaaf80ee1de5586000e45d5f6a87ac782e1c561254f23f4db29de7f885f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:08:48.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-22T11:08:48.714Z] . [Pipeline] withDockerContainer [2020-09-22T11:08:48.825Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2020-09-22T11:08:48.891Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-22T11:08:49.459Z] $ docker top ba8c09dcf92d4b7d54d74f353ec2409114205c6461ba0cbac0ed07c0e418962a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-22T11:08:49.988Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:0a79c20c2d893aa8ea9da840411e787f3e51ca5b [2020-09-22T11:08:49.988Z] + tee [2020-09-22T11:08:49.988Z] clair timeout 1m0s [2020-09-22T11:08:49.988Z] docker timeout: 1m0s [2020-09-22T11:08:49.988Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-22T11:08:50.691Z] $ docker stop --time=1 ba8c09dcf92d4b7d54d74f353ec2409114205c6461ba0cbac0ed07c0e418962a [2020-09-22T11:08:52.002Z] $ docker rm -f ba8c09dcf92d4b7d54d74f353ec2409114205c6461ba0cbac0ed07c0e418962a [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-22T11:08:52.488Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo [2020-09-22T11:08:52.519Z] Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_0a79c20c2d893aa8ea9da840411e787f3e51ca5b.html [Pipeline] writeFile [Pipeline] step [2020-09-22T11:08:52.580Z] Archiving artifacts [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:08:52.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-22T11:08:52.929Z] . [Pipeline] withDockerContainer [2020-09-22T11:08:53.036Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2020-09-22T11:08:53.105Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-22T11:08:53.663Z] $ docker top 27f28f072352c606eb4bc5594bd7a8fc42d9f4693676e21c194719784c13c52f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-22T11:08:54.204Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b [2020-09-22T11:08:54.204Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-22T11:08:57.761Z] $ docker stop --time=1 27f28f072352c606eb4bc5594bd7a8fc42d9f4693676e21c194719784c13c52f [2020-09-22T11:08:59.157Z] $ docker rm -f 27f28f072352c606eb4bc5594bd7a8fc42d9f4693676e21c194719784c13c52f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:08:59.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-22T11:08:59.652Z] . [Pipeline] withDockerContainer [2020-09-22T11:08:59.748Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2020-09-22T11:08:59.803Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-22T11:09:00.453Z] $ docker top 3b776a09d3236b432c8d07dd501fc7fd58dd002dc02c467ebe37965b7bfa1faa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-22T11:09:01.012Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0a79c20c2d893aa8ea9da840411e787f3e51ca5b [2020-09-22T11:09:01.012Z] + tee [2020-09-22T11:09:01.012Z] clair timeout 1m0s [2020-09-22T11:09:01.012Z] docker timeout: 1m0s [2020-09-22T11:09:01.012Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-22T11:09:01.727Z] $ docker stop --time=1 3b776a09d3236b432c8d07dd501fc7fd58dd002dc02c467ebe37965b7bfa1faa [2020-09-22T11:09:03.119Z] $ docker rm -f 3b776a09d3236b432c8d07dd501fc7fd58dd002dc02c467ebe37965b7bfa1faa [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-22T11:09:03.713Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo [2020-09-22T11:09:03.729Z] Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_0a79c20c2d893aa8ea9da840411e787f3e51ca5b.html [Pipeline] writeFile [Pipeline] step [2020-09-22T11:09:03.785Z] 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-22T11:09:05.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T11:09:05.369Z] . [Pipeline] withDockerContainer [2020-09-22T11:09:05.469Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2020-09-22T11:09:05.519Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-22T11:09:06.182Z] $ docker top 94acf00157dc9529354b0b10b2b7d1beeb6b0269d5d4578b54e75faf6e1027d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T11:09:06.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T11:09:06.468Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T11:09:06.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T11:09:06.693Z] $ docker exec 94acf00157dc9529354b0b10b2b7d1beeb6b0269d5d4578b54e75faf6e1027d6 ssh-agent [2020-09-22T11:09:06.851Z] SSH_AUTH_SOCK=/tmp/ssh-TG0P8BqOryRA/agent.11 [2020-09-22T11:09:06.851Z] SSH_AGENT_PID=17 [2020-09-22T11:09:06.858Z] Running ssh-add (command line suppressed) [2020-09-22T11:09:06.993Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2667571443465690358.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2667571443465690358.key) [2020-09-22T11:09:07.041Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T11:09:07.379Z] + git semver tag [2020-09-22T11:09:07.379Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T11:09:07.379Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-09-22T11:09:07.379Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-09-22T11:09:07.379Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T11:09:07.379Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T11:09:07.379Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T11:09:07.379Z] # $SEMVER_BRANCH = master [2020-09-22T11:09:07.379Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-09-22T11:09:07.379Z] # 0a79c20c2d893aa8ea9da840411e787f3e51ca5b HEAD [2020-09-22T11:09:07.379Z] # -> Force: false [2020-09-22T11:09:07.379Z] # 40dfc7b4e8e8d87171e95a6b7576b420d0fee1a7 refs/tags/v1.1.3-dev.5 [Pipeline] } [2020-09-22T11:09:07.397Z] $ docker exec --env ******** --env ******** 94acf00157dc9529354b0b10b2b7d1beeb6b0269d5d4578b54e75faf6e1027d6 ssh-agent -k [2020-09-22T11:09:07.512Z] unset SSH_AUTH_SOCK; [2020-09-22T11:09:07.512Z] unset SSH_AGENT_PID; [2020-09-22T11:09:07.512Z] echo Agent pid 17 killed; [2020-09-22T11:09:07.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T11:09:08.034Z] + git semver [Pipeline] } [2020-09-22T11:09:08.053Z] $ docker stop --time=1 94acf00157dc9529354b0b10b2b7d1beeb6b0269d5d4578b54e75faf6e1027d6 [2020-09-22T11:09:09.411Z] $ docker rm -f 94acf00157dc9529354b0b10b2b7d1beeb6b0269d5d4578b54e75faf6e1027d6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:09:10.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-22T11:09:10.073Z] [2020-09-22T11:09:10.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:09:10.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-22T11:09:10.469Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-09-22T11:09:10.469Z] ab5ef0e58194: Pulling fs layer [2020-09-22T11:09:10.469Z] 9712f1f96733: Pulling fs layer [2020-09-22T11:09:10.469Z] 63f879dbbcfc: Pulling fs layer [2020-09-22T11:09:10.469Z] 0d9ebad4ef96: Pulling fs layer [2020-09-22T11:09:10.469Z] e9a5061849ea: Pulling fs layer [2020-09-22T11:09:10.469Z] d747dcd14b5f: Pulling fs layer [2020-09-22T11:09:10.469Z] 2de7ff778b66: Pulling fs layer [2020-09-22T11:09:10.469Z] e9a5061849ea: Waiting [2020-09-22T11:09:10.469Z] d747dcd14b5f: Waiting [2020-09-22T11:09:10.469Z] 2de7ff778b66: Waiting [2020-09-22T11:09:10.469Z] 0d9ebad4ef96: Waiting [2020-09-22T11:09:10.469Z] 9712f1f96733: Verifying Checksum [2020-09-22T11:09:10.469Z] 9712f1f96733: Download complete [2020-09-22T11:09:11.873Z] 63f879dbbcfc: Verifying Checksum [2020-09-22T11:09:11.873Z] 63f879dbbcfc: Download complete [2020-09-22T11:09:11.873Z] e9a5061849ea: Verifying Checksum [2020-09-22T11:09:11.873Z] e9a5061849ea: Download complete [2020-09-22T11:09:11.873Z] d747dcd14b5f: Verifying Checksum [2020-09-22T11:09:11.873Z] d747dcd14b5f: Download complete [2020-09-22T11:09:12.452Z] 2de7ff778b66: Verifying Checksum [2020-09-22T11:09:12.452Z] 2de7ff778b66: Download complete [2020-09-22T11:09:12.718Z] 0d9ebad4ef96: Verifying Checksum [2020-09-22T11:09:12.718Z] 0d9ebad4ef96: Download complete [2020-09-22T11:09:12.718Z] ab5ef0e58194: Verifying Checksum [2020-09-22T11:09:12.718Z] ab5ef0e58194: Download complete [2020-09-22T11:09:16.945Z] ab5ef0e58194: Pull complete [2020-09-22T11:09:16.945Z] 9712f1f96733: Pull complete [2020-09-22T11:09:19.499Z] 63f879dbbcfc: Pull complete [2020-09-22T11:09:26.103Z] 0d9ebad4ef96: Pull complete [2020-09-22T11:09:26.103Z] e9a5061849ea: Pull complete [2020-09-22T11:09:26.103Z] d747dcd14b5f: Pull complete [2020-09-22T11:09:30.324Z] 2de7ff778b66: Pull complete [2020-09-22T11:09:30.324Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-09-22T11:09:30.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-22T11:09:30.324Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-09-22T11:09:30.501Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2020-09-22T11:09:30.549Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-09-22T11:09:34.565Z] $ docker top b66c88bd9f121801db5b706a220736b992e4c9d698f0c62da1923cf9558f9059 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-09-22T11:09:34.886Z] provisioning config files... [2020-09-22T11:09:34.900Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8030965706360127490tmp [2020-09-22T11:09:34.920Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5487357250038372776tmp [2020-09-22T11:09:34.935Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1084545295781826185tmp [Pipeline] { [Pipeline] echo [2020-09-22T11:09:34.992Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T11:09:35.288Z] ---> sigul-configuration.sh [2020-09-22T11:09:35.288Z] gpg: directory `/root/.gnupg' created [2020-09-22T11:09:35.288Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-09-22T11:09:35.288Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-09-22T11:09:35.288Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-09-22T11:09:35.288Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-09-22T11:09:35.288Z] gpg: CAST5 encrypted data [2020-09-22T11:09:35.552Z] gpg: encrypted with 1 passphrase [2020-09-22T11:09:35.552Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-09-22T11:09:35.851Z] + mkdir /home/jenkins [2020-09-22T11:09:35.851Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-09-22T11:09:36.148Z] + 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-22T11:09:36.159Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T11:09:36.455Z] ---> sigul-install.sh [2020-09-22T11:09:41.756Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-09-22T11:09:42.052Z] + git tag --list [2020-09-22T11:09:42.053Z] v1.1.3-dev.5 [Pipeline] sh [2020-09-22T11:09:42.353Z] + lftools sign git-tag v1.1.3-dev.5 [2020-09-22T11:09:43.744Z] Signing Git tag with Sigul... [2020-09-22T11:09:43.744Z] Signing v1.1.3-dev.5 [Pipeline] echo [2020-09-22T11:09:44.706Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T11:09:45.011Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-09-22T11:09:45.020Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-09-22T11:09:45.121Z] $ docker stop --time=1 b66c88bd9f121801db5b706a220736b992e4c9d698f0c62da1923cf9558f9059 [2020-09-22T11:09:47.157Z] $ docker rm -f b66c88bd9f121801db5b706a220736b992e4c9d698f0c62da1923cf9558f9059 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:09:48.053Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T11:09:48.053Z] . [Pipeline] withDockerContainer [2020-09-22T11:09:48.148Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2020-09-22T11:09:48.194Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-22T11:09:48.794Z] $ docker top d51b2ccd3b2c2beb53fb3e4ac5cdde06274765dd7b0a639517db8075c50cb86b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T11:09:49.107Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T11:09:49.108Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T11:09:49.292Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T11:09:49.298Z] $ docker exec d51b2ccd3b2c2beb53fb3e4ac5cdde06274765dd7b0a639517db8075c50cb86b ssh-agent [2020-09-22T11:09:49.459Z] SSH_AUTH_SOCK=/tmp/ssh-B8iK6lOELR0Y/agent.12 [2020-09-22T11:09:49.459Z] SSH_AGENT_PID=17 [2020-09-22T11:09:49.465Z] Running ssh-add (command line suppressed) [2020-09-22T11:09:49.586Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4148413332153560219.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4148413332153560219.key) [2020-09-22T11:09:49.635Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T11:09:49.982Z] + git semver bump pre [2020-09-22T11:09:49.982Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T11:09:49.982Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-09-22T11:09:49.982Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-09-22T11:09:49.982Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T11:09:49.982Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T11:09:49.982Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T11:09:49.982Z] # $SEMVER_BRANCH = master [2020-09-22T11:09:49.982Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-09-22T11:09:49.982Z] 1.1.3-dev.6 [Pipeline] } [2020-09-22T11:09:49.996Z] $ docker exec --env ******** --env ******** d51b2ccd3b2c2beb53fb3e4ac5cdde06274765dd7b0a639517db8075c50cb86b ssh-agent -k [2020-09-22T11:09:50.119Z] unset SSH_AUTH_SOCK; [2020-09-22T11:09:50.119Z] unset SSH_AGENT_PID; [2020-09-22T11:09:50.119Z] echo Agent pid 17 killed; [2020-09-22T11:09:50.166Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T11:09:50.821Z] + git semver [Pipeline] } [2020-09-22T11:09:50.840Z] $ docker stop --time=1 d51b2ccd3b2c2beb53fb3e4ac5cdde06274765dd7b0a639517db8075c50cb86b [2020-09-22T11:09:52.179Z] $ docker rm -f d51b2ccd3b2c2beb53fb3e4ac5cdde06274765dd7b0a639517db8075c50cb86b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:09:52.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T11:09:52.717Z] . [Pipeline] withDockerContainer [2020-09-22T11:09:52.809Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2020-09-22T11:09:52.856Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-22T11:09:53.411Z] $ docker top 93823b9082ec1e048ab58a4b9f2ea3c3d0121626d5caa2fb754411c00bc03b6c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T11:09:53.726Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T11:09:53.726Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T11:09:53.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T11:09:53.898Z] $ docker exec 93823b9082ec1e048ab58a4b9f2ea3c3d0121626d5caa2fb754411c00bc03b6c ssh-agent [2020-09-22T11:09:54.067Z] SSH_AUTH_SOCK=/tmp/ssh-BDU7gAGENRbp/agent.13 [2020-09-22T11:09:54.067Z] SSH_AGENT_PID=18 [2020-09-22T11:09:54.074Z] Running ssh-add (command line suppressed) [2020-09-22T11:09:54.194Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7128826958521306320.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7128826958521306320.key) [2020-09-22T11:09:54.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T11:09:54.585Z] + git semver push [2020-09-22T11:09:54.585Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T11:09:54.585Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-09-22T11:09:54.585Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-09-22T11:09:54.585Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T11:09:54.585Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T11:09:54.585Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T11:09:54.585Z] # $SEMVER_BRANCH = master [2020-09-22T11:09:54.585Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-09-22T11:10:01.201Z] $ docker exec --env ******** --env ******** 93823b9082ec1e048ab58a4b9f2ea3c3d0121626d5caa2fb754411c00bc03b6c ssh-agent -k [2020-09-22T11:10:01.337Z] unset SSH_AUTH_SOCK; [2020-09-22T11:10:01.337Z] unset SSH_AGENT_PID; [2020-09-22T11:10:01.337Z] echo Agent pid 18 killed; [2020-09-22T11:10:01.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T11:10:01.908Z] + git semver [Pipeline] } [2020-09-22T11:10:02.002Z] $ docker stop --time=1 93823b9082ec1e048ab58a4b9f2ea3c3d0121626d5caa2fb754411c00bc03b6c [2020-09-22T11:10:03.395Z] $ docker rm -f 93823b9082ec1e048ab58a4b9f2ea3c3d0121626d5caa2fb754411c00bc03b6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-22T11:10:04.792Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T11:10:05.358Z] ---> package-listing.sh [2020-09-22T11:10:05.358Z] ++ facter osfamily [2020-09-22T11:10:05.358Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T11:10:05.358Z] + OS_FAMILY=redhat [2020-09-22T11:10:05.358Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2020-09-22T11:10:05.358Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T11:10:05.358Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T11:10:05.358Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T11:10:05.358Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T11:10:05.358Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-09-22T11:10:05.358Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T11:10:05.358Z] + case "${OS_FAMILY}" in [2020-09-22T11:10:05.358Z] + rpm -qa [2020-09-22T11:10:05.358Z] + sort [2020-09-22T11:10:09.581Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T11:10:09.581Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T11:10:09.581Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T11:10:09.581Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-09-22T11:10:09.581Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2020-09-22T11:10:09.581Z] + 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-22T11:10:10.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T11:10:10.627Z] [2020-09-22T11:10:10.627Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T11:10:10.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T11:10:10.975Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T11:10:10.975Z] df20fa9351a1: Pulling fs layer [2020-09-22T11:10:10.975Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T11:10:10.975Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T11:10:10.975Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T11:10:10.975Z] 0dadc02b9964: Pulling fs layer [2020-09-22T11:10:10.975Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T11:10:10.975Z] 7a184a31f384: Pulling fs layer [2020-09-22T11:10:10.975Z] 0879bd2ef858: Pulling fs layer [2020-09-22T11:10:10.975Z] ce6a7cf60c04: Waiting [2020-09-22T11:10:10.975Z] 7a184a31f384: Waiting [2020-09-22T11:10:10.975Z] 46f8f816bc3b: Waiting [2020-09-22T11:10:10.975Z] 0879bd2ef858: Waiting [2020-09-22T11:10:10.975Z] 0dadc02b9964: Waiting [2020-09-22T11:10:10.975Z] 36b3adc4ff6f: Verifying Checksum [2020-09-22T11:10:10.975Z] 36b3adc4ff6f: Download complete [2020-09-22T11:10:10.975Z] 46f8f816bc3b: Verifying Checksum [2020-09-22T11:10:10.975Z] 46f8f816bc3b: Download complete [2020-09-22T11:10:10.975Z] df20fa9351a1: Verifying Checksum [2020-09-22T11:10:10.975Z] df20fa9351a1: Download complete [2020-09-22T11:10:10.975Z] ce6a7cf60c04: Verifying Checksum [2020-09-22T11:10:10.975Z] ce6a7cf60c04: Download complete [2020-09-22T11:10:10.975Z] 0dadc02b9964: Verifying Checksum [2020-09-22T11:10:10.975Z] 0dadc02b9964: Download complete [2020-09-22T11:10:11.239Z] 7a184a31f384: Verifying Checksum [2020-09-22T11:10:11.239Z] 7a184a31f384: Download complete [2020-09-22T11:10:11.239Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T11:10:11.239Z] 8ad3a11d3b57: Download complete [2020-09-22T11:10:11.815Z] 0879bd2ef858: Verifying Checksum [2020-09-22T11:10:11.815Z] 0879bd2ef858: Download complete [2020-09-22T11:10:11.815Z] df20fa9351a1: Pull complete [2020-09-22T11:10:12.076Z] 36b3adc4ff6f: Pull complete [2020-09-22T11:10:12.649Z] 8ad3a11d3b57: Pull complete [2020-09-22T11:10:12.649Z] 46f8f816bc3b: Pull complete [2020-09-22T11:10:12.913Z] 0dadc02b9964: Pull complete [2020-09-22T11:10:13.174Z] ce6a7cf60c04: Pull complete [2020-09-22T11:10:13.174Z] 7a184a31f384: Pull complete [2020-09-22T11:10:15.732Z] 0879bd2ef858: Pull complete [2020-09-22T11:10:15.732Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T11:10:15.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T11:10:15.732Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T11:10:15.954Z] prd-centos7-docker-4c-2g-815 does not seem to be running inside a container [2020-09-22T11:10:16.002Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-22T11:10:19.138Z] $ docker top a5ea5da3ee924092cb01978518d93872914004499b48f86df8cf9d44813ac76b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T11:10:19.706Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T11:10:20.001Z] + ls /var/log/sa-host [2020-09-22T11:10:20.002Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T11:10:20.002Z] file_magic: OK [2020-09-22T11:10:20.002Z] HZ: Using current value: 100 [2020-09-22T11:10:20.002Z] file_header: OK [2020-09-22T11:10:20.002Z] 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-22T11:10:20.002Z] Statistics: [2020-09-22T11:10:20.002Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T11:10:20.002Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T11:10:20.002Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T11:10:20.002Z] file_magic: OK [2020-09-22T11:10:20.002Z] HZ: Using current value: 100 [2020-09-22T11:10:20.002Z] file_header: OK [2020-09-22T11:10:20.002Z] 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-22T11:10:20.002Z] Statistics: [2020-09-22T11:10:20.002Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T11:10:20.002Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T11:10:20.136Z] provisioning config files... [2020-09-22T11:10:20.153Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3211205966160150351tmp [Pipeline] { [Pipeline] echo [2020-09-22T11:10:20.240Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T11:10:20.533Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T11:10:20.543Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T11:10:20.834Z] ---> logs-deploy.sh [2020-09-22T11:10:20.834Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/21 [2020-09-22T11:10:20.834Z] INFO: archiving workspace using pattern(s): [2020-09-22T11:10:22.219Z] Archives upload complete. [2020-09-22T11:10:22.219Z] INFO: archiving logs to Nexus