Pull request #42 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-rest-go Loading trusted files from base branch master at ec5ba659fde701601f352c67d2492fac5a523e90 rather than 6620aafa6b2c4d86d61147559de61a3b76df4ec2 Obtained Jenkinsfile from ec5ba659fde701601f352c67d2492fac5a523e90 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-375 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [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/dgexfoundry_device-rest-go_PR-42 # 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/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit 6620aafa6b2c4d86d61147559de61a3b76df4ec2 Merge succeeded, producing 6620aafa6b2c4d86d61147559de61a3b76df4ec2 Checking out Revision 6620aafa6b2c4d86d61147559de61a3b76df4ec2 (PR-42) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # 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/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 Commit message: "build: upgrade device-sdk-go" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-18T09:01:32.598Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk ff42865a43909e95628183f8b986e31a776488bc # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-18T09:01:32.976Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-18T09:01:33.102Z] ========================================================= [2020-09-18T09:01:33.102Z] EdgeX Global Pipelines Version Info [2020-09-18T09:01:33.102Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-18T09:01:34.654Z] ------------------- [2020-09-18T09:01:34.654Z] stable info: [2020-09-18T09:01:34.654Z] ------------------- [2020-09-18T09:01:34.654Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-18T09:01:34.654Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-18T09:01:34.654Z] Message: update stable to v1.0.122 [2020-09-18T09:01:35.616Z] ------------------- [2020-09-18T09:01:35.616Z] experimental info: [2020-09-18T09:01:35.616Z] ------------------- [2020-09-18T09:01:35.616Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-18T09:01:35.616Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-18T09:01:35.616Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-18T09:01:36.134Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-09-18T09:01:36.227Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-09-18T09:01:36.347Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-18T09:01:36.444Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-18T09:01:36.551Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-18T09:01:36.660Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-18T09:01:36.754Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-18T09:01:36.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-18T09:01:36.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-18T09:01:37.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-18T09:01:37.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-18T09:01:37.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-09-18T09:01:37.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-18T09:01:37.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-18T09:01:37.608Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-18T09:01:37.699Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-18T09:01:37.809Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T09:01:37.920Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T09:01:38.044Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-18T09:01:38.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-18T09:01:38.325Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-18T09:01:38.465Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-18T09:01:38.557Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo [2020-09-18T09:01:38.663Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo [2020-09-18T09:01:38.757Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo [2020-09-18T09:01:38.864Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6620aafa6b2c4d86d61147559de61a3b76df4ec2 [Pipeline] echo [2020-09-18T09:01:38.964Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6620aaf [Pipeline] echo [2020-09-18T09:01:39.080Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T09:01:39.690Z] + git log --format=format:%s -1 6620aafa6b2c4d86d61147559de61a3b76df4ec2 [Pipeline] echo [2020-09-18T09:01:39.772Z] GIT_COMMIT: 6620aafa6b2c4d86d61147559de61a3b76df4ec2, Commit Message: build: upgrade device-sdk-go [Pipeline] echo [2020-09-18T09:01:39.823Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-18T09:01:40.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T09:01:40.433Z] [2020-09-18T09:01:40.433Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T09:01:40.814Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T09:01:40.814Z] latest: Pulling from edgex-devops/git-semver [2020-09-18T09:01:40.814Z] 31603596830f: Pulling fs layer [2020-09-18T09:01:40.815Z] 2a8b12db71e7: Pulling fs layer [2020-09-18T09:01:40.815Z] 6ca5941a6612: Pulling fs layer [2020-09-18T09:01:40.815Z] ecc8261a40a4: Pulling fs layer [2020-09-18T09:01:40.815Z] ecc8261a40a4: Waiting [2020-09-18T09:01:40.815Z] 2a8b12db71e7: Verifying Checksum [2020-09-18T09:01:40.815Z] 2a8b12db71e7: Download complete [2020-09-18T09:01:41.087Z] 31603596830f: Verifying Checksum [2020-09-18T09:01:41.087Z] 31603596830f: Download complete [2020-09-18T09:01:41.087Z] ecc8261a40a4: Verifying Checksum [2020-09-18T09:01:41.087Z] ecc8261a40a4: Download complete [2020-09-18T09:01:41.087Z] 6ca5941a6612: Verifying Checksum [2020-09-18T09:01:41.087Z] 6ca5941a6612: Download complete [2020-09-18T09:01:41.355Z] 31603596830f: Pull complete [2020-09-18T09:01:41.356Z] 2a8b12db71e7: Pull complete [2020-09-18T09:01:42.315Z] 6ca5941a6612: Pull complete [2020-09-18T09:01:42.315Z] ecc8261a40a4: Pull complete [2020-09-18T09:01:42.315Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-18T09:01:42.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T09:01:42.315Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-18T09:01:42.441Z] prd-centos7-docker-4c-2g-375 does not seem to be running inside a container [2020-09-18T09:01:42.511Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-18T09:01:44.675Z] $ docker top 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-18T09:01:44.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T09:01:44.967Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T09:01:45.176Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T09:01:45.183Z] $ docker exec 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f ssh-agent [2020-09-18T09:01:45.372Z] SSH_AUTH_SOCK=/tmp/ssh-p1CXmerMP6Bp/agent.11 [2020-09-18T09:01:45.372Z] SSH_AGENT_PID=17 [2020-09-18T09:01:45.417Z] Running ssh-add (command line suppressed) [2020-09-18T09:01:45.557Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_6583305089434285020.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_6583305089434285020.key) [2020-09-18T09:01:45.626Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T09:01:46.018Z] + git describe --exact-match --tags HEAD [2020-09-18T09:01:46.018Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-18T09:01:46.066Z] $ docker exec --env ******** --env ******** 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f ssh-agent -k [2020-09-18T09:01:46.175Z] unset SSH_AUTH_SOCK; [2020-09-18T09:01:46.176Z] unset SSH_AGENT_PID; [2020-09-18T09:01:46.176Z] echo Agent pid 17 killed; [2020-09-18T09:01:46.266Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-18T09:01:46.385Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-18T09:01:46.385Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-18T09:01:46.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T09:01:46.499Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T09:01:46.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T09:01:46.719Z] $ docker exec 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f ssh-agent [2020-09-18T09:01:46.880Z] SSH_AUTH_SOCK=/tmp/ssh-mxOIbZpGvYeo/agent.46 [2020-09-18T09:01:46.880Z] SSH_AGENT_PID=51 [2020-09-18T09:01:46.888Z] Running ssh-add (command line suppressed) [2020-09-18T09:01:47.009Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_3263211302456369589.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_3263211302456369589.key) [2020-09-18T09:01:47.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T09:01:47.460Z] + git semver init [2020-09-18T09:01:47.460Z] # -> Open(): unable to determine branch for HEAD [2020-09-18T09:01:47.460Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.git [2020-09-18T09:01:47.460Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-42 [2020-09-18T09:01:47.460Z] # $SEMVER_REMOTE_NAME = origin [2020-09-18T09:01:47.460Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-18T09:01:47.460Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-18T09:01:47.460Z] # $SEMVER_BRANCH = PR-42 [2020-09-18T09:01:47.460Z] # $SEMVER_TEMP = /tmp/semver-538542509 [2020-09-18T09:01:47.460Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-09-18T09:01:48.959Z] # '/tmp/semver-538542509' -> '/w/workspace/dgexfoundry_device-rest-go_PR-42/.semver' [2020-09-18T09:01:48.959Z] # -> Force: false [2020-09-18T09:01:48.959Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.semver [Pipeline] } [2020-09-18T09:01:48.975Z] $ docker exec --env ******** --env ******** 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f ssh-agent -k [2020-09-18T09:01:49.103Z] unset SSH_AUTH_SOCK; [2020-09-18T09:01:49.103Z] unset SSH_AGENT_PID; [2020-09-18T09:01:49.103Z] echo Agent pid 51 killed; [2020-09-18T09:01:49.150Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-18T09:01:49.693Z] + git semver [Pipeline] } [2020-09-18T09:01:49.765Z] $ docker stop --time=1 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f [2020-09-18T09:01:51.394Z] $ docker rm -f 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-18T09:01:53.061Z] Stashed 22 file(s) [Pipeline] echo [2020-09-18T09:01:53.063Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-18T09:01:53.168Z] Archived original version: [0.0.0] [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-18T09:02:08.702Z] Still waiting to schedule task [2020-09-18T09:02:08.702Z] ‘prd-centos7-docker-4c-2g-371’ is offline; ‘prd-centos7-docker-4c-2g-372’ is offline; ‘prd-centos7-docker-4c-2g-373’ is offline; ‘prd-centos7-docker-4c-2g-376’ is offline [2020-09-18T09:02:08.706Z] Still waiting to schedule task [2020-09-18T09:02:08.707Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-18T09:05:38.779Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-379 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws [2020-09-18T09:05:38.900Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2020-09-18T09:05:44.739Z] using credential edgex-jenkins-ssh [2020-09-18T09:05:44.795Z] Cloning the remote Git repository [2020-09-18T09:05:44.795Z] Cloning with configured refspecs honoured and without tags [2020-09-18T09:05:44.865Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-18T09:05:44.981Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2020-09-18T09:05:45.055Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-18T09:05:45.056Z] > git --version # timeout=10 [2020-09-18T09:05:45.080Z] > git --version # 'git version 2.17.1' [2020-09-18T09:05:45.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T09:05:45.149Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T09:05:46.653Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-18T09:05:46.682Z] > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 [2020-09-18T09:05:46.705Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T09:05:46.745Z] Fetching without tags [2020-09-18T09:05:47.228Z] Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit 6620aafa6b2c4d86d61147559de61a3b76df4ec2 [2020-09-18T09:05:47.611Z] Merge succeeded, producing 6620aafa6b2c4d86d61147559de61a3b76df4ec2 [2020-09-18T09:05:47.611Z] Checking out Revision 6620aafa6b2c4d86d61147559de61a3b76df4ec2 (PR-42) [2020-09-18T09:05:46.733Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-18T09:05:46.761Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-18T09:05:46.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T09:05:46.775Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T09:05:47.254Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T09:05:47.273Z] > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 [2020-09-18T09:05:47.350Z] > git remote # timeout=10 [2020-09-18T09:05:47.439Z] > git config --get remote.origin.url # timeout=10 [2020-09-18T09:05:47.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T09:05:47.509Z] > git merge ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 [2020-09-18T09:05:47.563Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-18T09:05:47.621Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T09:05:47.664Z] > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 [2020-09-18T09:05:52.035Z] Commit message: "build: upgrade device-sdk-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-18T09:05:54.376Z] ========================================================= [2020-09-18T09:05:54.376Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-18T09:05:54.376Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-18T09:05:55.562Z] + 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-18T09:05:56.552Z] Sending build context to Docker daemon 8.054MB [2020-09-18T09:05:56.552Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-18T09:05:56.552Z] Step 2/10 : FROM ${BASE} [2020-09-18T09:05:56.837Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-18T09:05:56.837Z] b538f80385f9: Pulling fs layer [2020-09-18T09:05:56.837Z] 74f711af9a0d: Pulling fs layer [2020-09-18T09:05:56.837Z] 99f96fe45779: Pulling fs layer [2020-09-18T09:05:56.837Z] 8529a6b9a6be: Pulling fs layer [2020-09-18T09:05:56.837Z] 45590311c82a: Pulling fs layer [2020-09-18T09:05:56.837Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-18T09:05:56.837Z] 209524e5b208: Pulling fs layer [2020-09-18T09:05:56.837Z] 8529a6b9a6be: Waiting [2020-09-18T09:05:56.837Z] 69ca0ff8b7b3: Waiting [2020-09-18T09:05:56.837Z] 45590311c82a: Waiting [2020-09-18T09:05:56.837Z] 99f96fe45779: Download complete [2020-09-18T09:05:56.837Z] 74f711af9a0d: Verifying Checksum [2020-09-18T09:05:56.837Z] 74f711af9a0d: Download complete [2020-09-18T09:05:56.837Z] 45590311c82a: Verifying Checksum [2020-09-18T09:05:56.837Z] 45590311c82a: Download complete [2020-09-18T09:05:56.837Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-18T09:05:56.837Z] 69ca0ff8b7b3: Download complete [2020-09-18T09:05:56.837Z] b538f80385f9: Verifying Checksum [2020-09-18T09:05:56.837Z] b538f80385f9: Download complete [2020-09-18T09:05:57.438Z] b538f80385f9: Pull complete [2020-09-18T09:05:58.429Z] 74f711af9a0d: Pull complete [2020-09-18T09:05:58.708Z] 99f96fe45779: Pull complete [2020-09-18T09:05:59.699Z] 209524e5b208: Verifying Checksum [2020-09-18T09:05:59.699Z] 209524e5b208: Download complete [2020-09-18T09:06:01.147Z] 8529a6b9a6be: Verifying Checksum [2020-09-18T09:06:01.147Z] 8529a6b9a6be: Download complete [2020-09-18T09:06:07.854Z] Running on prd-centos7-docker-4c-2g-380 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws [2020-09-18T09:06:07.903Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2020-09-18T09:06:10.535Z] using credential edgex-jenkins-ssh [2020-09-18T09:06:10.599Z] Cloning the remote Git repository [2020-09-18T09:06:10.599Z] Cloning with configured refspecs honoured and without tags [2020-09-18T09:06:11.342Z] 8529a6b9a6be: Pull complete [2020-09-18T09:06:11.342Z] 45590311c82a: Pull complete [2020-09-18T09:06:11.342Z] 69ca0ff8b7b3: Pull complete [2020-09-18T09:06:10.624Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-18T09:06:10.696Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2020-09-18T09:06:10.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-18T09:06:10.740Z] > git --version # timeout=10 [2020-09-18T09:06:10.747Z] > git --version # 'git version 2.16.5' [2020-09-18T09:06:10.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T09:06:10.773Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T09:06:11.850Z] Fetching without tags [2020-09-18T09:06:12.237Z] Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit 6620aafa6b2c4d86d61147559de61a3b76df4ec2 [2020-09-18T09:06:12.300Z] Merge succeeded, producing 6620aafa6b2c4d86d61147559de61a3b76df4ec2 [2020-09-18T09:06:12.300Z] Checking out Revision 6620aafa6b2c4d86d61147559de61a3b76df4ec2 (PR-42) [2020-09-18T09:06:11.824Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-18T09:06:11.831Z] > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 [2020-09-18T09:06:11.836Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T09:06:11.846Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-18T09:06:11.858Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-18T09:06:11.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T09:06:11.861Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T09:06:12.246Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T09:06:12.252Z] > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 [2020-09-18T09:06:12.279Z] > git remote # timeout=10 [2020-09-18T09:06:12.283Z] > git config --get remote.origin.url # timeout=10 [2020-09-18T09:06:12.287Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T09:06:12.290Z] > git merge ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 [2020-09-18T09:06:12.298Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-18T09:06:12.305Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T09:06:12.312Z] > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 [2020-09-18T09:06:15.708Z] 209524e5b208: Pull complete [2020-09-18T09:06:15.708Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-18T09:06:15.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-18T09:06:15.708Z] ---> 5bddaf1c2fca [2020-09-18T09:06:15.708Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-18T09:06:15.903Z] Commit message: "build: upgrade device-sdk-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-18T09:06:17.262Z] ========================================================= [2020-09-18T09:06:17.262Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-18T09:06:17.262Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-18T09:06:17.849Z] + 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-18T09:06:18.116Z] Sending build context to Docker daemon 8.054MB [2020-09-18T09:06:18.116Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-18T09:06:18.116Z] Step 2/10 : FROM ${BASE} [2020-09-18T09:06:18.116Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-18T09:06:18.116Z] df20fa9351a1: Pulling fs layer [2020-09-18T09:06:18.116Z] ed8968b2872e: Pulling fs layer [2020-09-18T09:06:18.116Z] a92cc7c5fd73: Pulling fs layer [2020-09-18T09:06:18.116Z] e871e8e8d7a9: Pulling fs layer [2020-09-18T09:06:18.116Z] e73272ec9a57: Pulling fs layer [2020-09-18T09:06:18.116Z] 1e910a182e73: Pulling fs layer [2020-09-18T09:06:18.116Z] 4e634b169226: Pulling fs layer [2020-09-18T09:06:18.117Z] e871e8e8d7a9: Waiting [2020-09-18T09:06:18.117Z] e73272ec9a57: Waiting [2020-09-18T09:06:18.117Z] 1e910a182e73: Waiting [2020-09-18T09:06:18.117Z] 4e634b169226: Waiting [2020-09-18T09:06:18.117Z] a92cc7c5fd73: Verifying Checksum [2020-09-18T09:06:18.117Z] a92cc7c5fd73: Download complete [2020-09-18T09:06:18.117Z] ed8968b2872e: Verifying Checksum [2020-09-18T09:06:18.117Z] ed8968b2872e: Download complete [2020-09-18T09:06:18.117Z] e73272ec9a57: Verifying Checksum [2020-09-18T09:06:18.117Z] e73272ec9a57: Download complete [2020-09-18T09:06:18.117Z] 1e910a182e73: Verifying Checksum [2020-09-18T09:06:18.117Z] 1e910a182e73: Download complete [2020-09-18T09:06:18.347Z] ---> Running in e41a6155d90e [2020-09-18T09:06:18.347Z] Removing intermediate container e41a6155d90e [2020-09-18T09:06:18.347Z] ---> b9b0ba3e97bf [2020-09-18T09:06:18.347Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-18T09:06:18.380Z] df20fa9351a1: Verifying Checksum [2020-09-18T09:06:18.380Z] df20fa9351a1: Download complete [2020-09-18T09:06:18.380Z] df20fa9351a1: Pull complete [2020-09-18T09:06:18.620Z] ---> Running in bf9a4e35f6e0 [2020-09-18T09:06:18.640Z] ed8968b2872e: Pull complete [2020-09-18T09:06:18.641Z] a92cc7c5fd73: Pull complete [2020-09-18T09:06:18.894Z] Removing intermediate container bf9a4e35f6e0 [2020-09-18T09:06:18.894Z] ---> a92439879baf [2020-09-18T09:06:18.894Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-18T09:06:19.166Z] ---> Running in 8b57b16d65b4 [2020-09-18T09:06:19.757Z] Removing intermediate container 8b57b16d65b4 [2020-09-18T09:06:19.757Z] ---> 13103fd722dd [2020-09-18T09:06:19.757Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T09:06:19.758Z] ---> Running in f8e7133c2e48 [2020-09-18T09:06:20.568Z] 4e634b169226: Verifying Checksum [2020-09-18T09:06:20.568Z] 4e634b169226: Download complete [2020-09-18T09:06:21.141Z] e871e8e8d7a9: Verifying Checksum [2020-09-18T09:06:21.141Z] e871e8e8d7a9: Download complete [2020-09-18T09:06:22.412Z] Removing intermediate container f8e7133c2e48 [2020-09-18T09:06:22.412Z] ---> e5b301ced046 [2020-09-18T09:06:22.412Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-18T09:06:22.412Z] ---> Running in 290973f05ab6 [2020-09-18T09:06:23.853Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-18T09:06:24.450Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-18T09:06:25.377Z] e871e8e8d7a9: Pull complete [2020-09-18T09:06:25.377Z] e73272ec9a57: Pull complete [2020-09-18T09:06:25.377Z] 1e910a182e73: Pull complete [2020-09-18T09:06:25.442Z] OK: 142 MiB in 39 packages [2020-09-18T09:06:26.424Z] Removing intermediate container 290973f05ab6 [2020-09-18T09:06:26.424Z] ---> 2318bc8bb2b2 [2020-09-18T09:06:26.424Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-18T09:06:26.700Z] ---> Running in 0592b21c6c15 [2020-09-18T09:06:27.302Z] Removing intermediate container 0592b21c6c15 [2020-09-18T09:06:27.302Z] ---> 6b5bfe395bfa [2020-09-18T09:06:27.302Z] Step 9/10 : COPY . . [2020-09-18T09:06:28.287Z] ---> 998641311a4d [2020-09-18T09:06:28.287Z] Step 10/10 : RUN go mod download [2020-09-18T09:06:28.561Z] ---> Running in 9d31a5f28e43 [2020-09-18T09:06:35.400Z] 4e634b169226: Pull complete [2020-09-18T09:06:35.400Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-18T09:06:35.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-18T09:06:35.400Z] ---> f7629b54cfaa [2020-09-18T09:06:35.400Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-18T09:06:35.400Z] ---> Running in 548afe346400 [2020-09-18T09:06:35.400Z] Removing intermediate container 548afe346400 [2020-09-18T09:06:35.400Z] ---> 271a1d96fcd8 [2020-09-18T09:06:35.400Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-18T09:06:35.400Z] ---> Running in 49949b99e9a8 [2020-09-18T09:06:35.400Z] Removing intermediate container 49949b99e9a8 [2020-09-18T09:06:35.400Z] ---> 60c2c7d08512 [2020-09-18T09:06:35.400Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-18T09:06:35.400Z] ---> Running in 52950c116095 [2020-09-18T09:06:35.400Z] Removing intermediate container 52950c116095 [2020-09-18T09:06:35.400Z] ---> 453b6d835521 [2020-09-18T09:06:35.400Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T09:06:35.400Z] ---> Running in 10a26f689392 [2020-09-18T09:06:35.978Z] Removing intermediate container 10a26f689392 [2020-09-18T09:06:35.978Z] ---> 62e5ac2fc452 [2020-09-18T09:06:35.978Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-18T09:06:35.978Z] ---> Running in 927c4a4c2e49 [2020-09-18T09:06:36.552Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-18T09:06:37.499Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-18T09:06:37.764Z] OK: 166 MiB in 39 packages [2020-09-18T09:06:38.028Z] Removing intermediate container 927c4a4c2e49 [2020-09-18T09:06:38.028Z] ---> 99547f7fc118 [2020-09-18T09:06:38.028Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-18T09:06:38.291Z] ---> Running in 4669a0ceea16 [2020-09-18T09:06:38.291Z] Removing intermediate container 4669a0ceea16 [2020-09-18T09:06:38.291Z] ---> 5380ace16aec [2020-09-18T09:06:38.291Z] Step 9/10 : COPY . . [2020-09-18T09:06:38.875Z] ---> e4bb954b0b92 [2020-09-18T09:06:38.875Z] Step 10/10 : RUN go mod download [2020-09-18T09:06:38.875Z] ---> Running in e52606779ca3 [2020-09-18T09:06:43.671Z] Removing intermediate container 9d31a5f28e43 [2020-09-18T09:06:43.671Z] ---> 6e0ecbfae73f [2020-09-18T09:06:43.671Z] Successfully built 6e0ecbfae73f [2020-09-18T09:06:43.671Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T09:06:44.075Z] + docker inspect -f . ci-base-image-arm64 [2020-09-18T09:06:44.075Z] . [Pipeline] withDockerContainer [2020-09-18T09:06:44.328Z] prd-ubuntu18.04-docker-arm64-4c-16g-379 does not seem to be running inside a container [2020-09-18T09:06:44.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-18T09:06:46.363Z] $ docker top 05480515544addf4a3bb6bc7cc94ba4124988b146cea3cc75296cfc53c068a1e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T09:06:47.756Z] + go version [2020-09-18T09:06:47.756Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-18T09:06:47.791Z] $ docker stop --time=1 05480515544addf4a3bb6bc7cc94ba4124988b146cea3cc75296cfc53c068a1e [2020-09-18T09:06:49.824Z] $ docker rm -f 05480515544addf4a3bb6bc7cc94ba4124988b146cea3cc75296cfc53c068a1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-18T09:06:51.058Z] + docker inspect -f . ci-base-image-arm64 [2020-09-18T09:06:51.058Z] . [Pipeline] withDockerContainer [2020-09-18T09:06:51.147Z] Removing intermediate container e52606779ca3 [2020-09-18T09:06:51.148Z] ---> fef969299687 [2020-09-18T09:06:51.148Z] Successfully built fef969299687 [2020-09-18T09:06:51.148Z] Successfully tagged ci-base-image-x86_64:latest [2020-09-18T09:06:51.297Z] prd-ubuntu18.04-docker-arm64-4c-16g-379 does not seem to be running inside a container [2020-09-18T09:06:51.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-18T09:06:53.354Z] $ docker top 4d8feb365f4343fda4730c532ecbe5f7b0818e25c80eadc751f9aeb988cc3723 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-09-18T09:06:54.122Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-18T09:06:54.122Z] . [Pipeline] withDockerContainer [2020-09-18T09:06:54.221Z] prd-centos7-docker-4c-2g-380 does not seem to be running inside a container [2020-09-18T09:06:54.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-18T09:06:54.750Z] + make test [2020-09-18T09:06:54.750Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-18T09:06:55.361Z] $ docker top bf844c4ae2bba29be39f7fb9fc21d4a2bf23fa1abcaec24d52eb20ef283f44ed -eo pid,comm [2020-09-18T09:06:55.370Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] { [Pipeline] sh [2020-09-18T09:06:55.868Z] + go version [2020-09-18T09:06:55.868Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-18T09:06:55.884Z] $ docker stop --time=1 bf844c4ae2bba29be39f7fb9fc21d4a2bf23fa1abcaec24d52eb20ef283f44ed [2020-09-18T09:06:57.211Z] $ docker rm -f bf844c4ae2bba29be39f7fb9fc21d4a2bf23fa1abcaec24d52eb20ef283f44ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-18T09:06:58.122Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-18T09:06:58.122Z] . [Pipeline] withDockerContainer [2020-09-18T09:06:58.206Z] prd-centos7-docker-4c-2g-380 does not seem to be running inside a container [2020-09-18T09:06:58.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-18T09:06:58.954Z] $ docker top 77fae4fb5b1b50d5d195c5c32a7cf76aee6464ed599a30d0de8340229adabc62 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T09:06:59.481Z] + make test [2020-09-18T09:06:59.481Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-18T09:07:00.163Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-18T09:07:10.278Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-18T09:07:10.278Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 56.3% of statements [2020-09-18T09:07:10.278Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-18T09:07:10.862Z] gofmt -l . [2020-09-18T09:07:10.862Z] [ "`gofmt -l .`" = "" ] [2020-09-18T09:07:10.862Z] ./bin/test-go-mod-tidy.sh [2020-09-18T09:07:10.862Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-18T09:07:11.398Z] Stashed 1 file(s) [Pipeline] } [2020-09-18T09:07:11.404Z] $ docker stop --time=1 77fae4fb5b1b50d5d195c5c32a7cf76aee6464ed599a30d0de8340229adabc62 [2020-09-18T09:07:13.500Z] $ docker rm -f 77fae4fb5b1b50d5d195c5c32a7cf76aee6464ed599a30d0de8340229adabc62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T09:07:15.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-18T09:07:15.620Z] + ls -al . [2020-09-18T09:07:15.620Z] total 96 [2020-09-18T09:07:15.620Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 18 09:07 . [2020-09-18T09:07:15.620Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 18 09:06 .. [2020-09-18T09:07:15.620Z] -rw-rw-r--. 1 jenkins jenkins 4566 Sep 18 09:06 Attribution.txt [2020-09-18T09:07:15.620Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 09:06 bin [2020-09-18T09:07:15.620Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 18 09:06 cmd [2020-09-18T09:07:15.620Z] -rw-r--r--. 1 jenkins jenkins 9369 Sep 18 09:07 coverage.out [2020-09-18T09:07:15.620Z] -rw-rw-r--. 1 jenkins jenkins 1519 Sep 18 09:06 Dockerfile [2020-09-18T09:07:15.620Z] -rw-rw-r--. 1 jenkins jenkins 989 Sep 18 09:06 Dockerfile.build [2020-09-18T09:07:15.620Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 18 09:06 .dockerignore [2020-09-18T09:07:15.620Z] drwxrwxr-x. 2 jenkins jenkins 93 Sep 18 09:07 driver [2020-09-18T09:07:15.620Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 18 09:06 .git [2020-09-18T09:07:15.620Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 18 09:06 .github [2020-09-18T09:07:15.620Z] -rw-rw-r--. 1 jenkins jenkins 339 Sep 18 09:06 .gitignore [2020-09-18T09:07:15.620Z] -rw-r--r--. 1 jenkins jenkins 273 Sep 18 09:07 go.mod [2020-09-18T09:07:15.620Z] -rw-r--r--. 1 jenkins jenkins 12547 Sep 18 09:07 go.sum [2020-09-18T09:07:15.620Z] -rw-rw-r--. 1 jenkins jenkins 680 Sep 18 09:06 Jenkinsfile [2020-09-18T09:07:15.620Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 18 09:06 LICENSE [2020-09-18T09:07:15.620Z] -rw-rw-r--. 1 jenkins jenkins 951 Sep 18 09:06 Makefile [2020-09-18T09:07:15.620Z] -rw-rw-r--. 1 jenkins jenkins 5716 Sep 18 09:06 README.md [2020-09-18T09:07:15.620Z] drwxrwxr-x. 3 jenkins jenkins 45 Sep 18 09:06 .semver [2020-09-18T09:07:15.620Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 18 09:06 snap [2020-09-18T09:07:15.620Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 18 09:01 VERSION [2020-09-18T09:07:15.620Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 18 09:06 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-18T09:07:15.947Z] + 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=6620aafa6b2c4d86d61147559de61a3b76df4ec2 --label arch=amd64 --label version=0.0.0 . [2020-09-18T09:07:15.947Z] Sending build context to Docker daemon 8.066MB [2020-09-18T09:07:15.948Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-18T09:07:15.948Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-18T09:07:15.948Z] ---> fef969299687 [2020-09-18T09:07:15.948Z] Step 3/25 : ARG MAKE='make build' [2020-09-18T09:07:16.212Z] ---> Running in cd39570bdffe [2020-09-18T09:07:16.212Z] Removing intermediate container cd39570bdffe [2020-09-18T09:07:16.212Z] ---> 67729c190e4f [2020-09-18T09:07:16.212Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-18T09:07:16.483Z] ---> Running in 7db64888f156 [2020-09-18T09:07:16.483Z] Removing intermediate container 7db64888f156 [2020-09-18T09:07:16.483Z] ---> ea7458030be1 [2020-09-18T09:07:16.483Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-18T09:07:16.483Z] ---> Running in 1d7a0374c9c3 [2020-09-18T09:07:16.746Z] Removing intermediate container 1d7a0374c9c3 [2020-09-18T09:07:16.746Z] ---> 6f018a2c4902 [2020-09-18T09:07:16.747Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T09:07:16.747Z] ---> Running in af710042f7a9 [2020-09-18T09:07:17.704Z] Removing intermediate container af710042f7a9 [2020-09-18T09:07:17.704Z] ---> f245ea92b191 [2020-09-18T09:07:17.704Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-18T09:07:17.704Z] ---> Running in f13a8c1f500b [2020-09-18T09:07:17.964Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-18T09:07:18.912Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-18T09:07:19.485Z] OK: 166 MiB in 39 packages [2020-09-18T09:07:20.058Z] Removing intermediate container f13a8c1f500b [2020-09-18T09:07:20.058Z] ---> 4530b99e6839 [2020-09-18T09:07:20.058Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-18T09:07:20.058Z] ---> Running in 51a2e1d582e0 [2020-09-18T09:07:20.058Z] Removing intermediate container 51a2e1d582e0 [2020-09-18T09:07:20.058Z] ---> 1bd2cda3edcc [2020-09-18T09:07:20.058Z] Step 9/25 : COPY go.mod . [2020-09-18T09:07:20.319Z] ---> 244470c9e330 [2020-09-18T09:07:20.319Z] Step 10/25 : COPY Makefile . [2020-09-18T09:07:20.581Z] ---> 3b845f82bb5b [2020-09-18T09:07:20.581Z] Step 11/25 : RUN make update [2020-09-18T09:07:20.581Z] ---> Running in a3eb2978dabd [2020-09-18T09:07:21.178Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-18T09:07:21.440Z] Removing intermediate container a3eb2978dabd [2020-09-18T09:07:21.440Z] ---> 92fc88e2af75 [2020-09-18T09:07:21.440Z] Step 12/25 : COPY . . [2020-09-18T09:07:22.021Z] ---> 2376dcef5704 [2020-09-18T09:07:22.021Z] Step 13/25 : RUN $MAKE [2020-09-18T09:07:22.021Z] ---> Running in ae7736286475 [2020-09-18T09:07:22.282Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-09-18T09:07:27.814Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-18T09:07:27.814Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 56.3% of statements [2020-09-18T09:07:27.814Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-18T09:07:32.441Z] Removing intermediate container ae7736286475 [2020-09-18T09:07:32.442Z] ---> 435e9e7a135c [2020-09-18T09:07:32.442Z] Step 14/25 : FROM alpine:latest [2020-09-18T09:07:32.442Z] latest: Pulling from library/alpine [2020-09-18T09:07:32.442Z] df20fa9351a1: Already exists [2020-09-18T09:07:32.442Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-18T09:07:32.442Z] Status: Downloaded newer image for alpine:latest [2020-09-18T09:07:32.442Z] ---> a24bb4013296 [2020-09-18T09:07:32.442Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-18T09:07:32.442Z] ---> Running in 2c6407e7f5ae [2020-09-18T09:07:32.442Z] Removing intermediate container 2c6407e7f5ae [2020-09-18T09:07:32.442Z] ---> 3bbe857d92ac [2020-09-18T09:07:32.442Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-18T09:07:32.442Z] ---> Running in 354f757ae121 [2020-09-18T09:07:32.442Z] Removing intermediate container 354f757ae121 [2020-09-18T09:07:32.442Z] ---> 43ec0042a0c4 [2020-09-18T09:07:32.442Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-18T09:07:32.442Z] ---> 775aa315577d [2020-09-18T09:07:32.442Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-18T09:07:32.442Z] ---> cb9fffe1eecd [2020-09-18T09:07:32.442Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-18T09:07:32.703Z] ---> 51d86cba66ad [2020-09-18T09:07:32.703Z] Step 20/25 : EXPOSE 49986 [2020-09-18T09:07:32.965Z] ---> Running in 68746c0f988c [2020-09-18T09:07:32.965Z] Removing intermediate container 68746c0f988c [2020-09-18T09:07:32.965Z] ---> d154c08e01bc [2020-09-18T09:07:32.965Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-18T09:07:33.228Z] ---> Running in c91dd8e9d5c8 [2020-09-18T09:07:33.228Z] Removing intermediate container c91dd8e9d5c8 [2020-09-18T09:07:33.228Z] ---> 436c5a1a2b09 [2020-09-18T09:07:33.228Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-18T09:07:33.228Z] ---> Running in 71584b4c6747 [2020-09-18T09:07:33.490Z] Removing intermediate container 71584b4c6747 [2020-09-18T09:07:33.490Z] ---> af7ede6740b1 [2020-09-18T09:07:33.490Z] Step 23/25 : LABEL arch=amd64 [2020-09-18T09:07:33.490Z] ---> Running in e7326c9d0a55 [2020-09-18T09:07:33.752Z] Removing intermediate container e7326c9d0a55 [2020-09-18T09:07:33.752Z] ---> 8b65d30f16a9 [2020-09-18T09:07:33.752Z] Step 24/25 : LABEL git_sha=6620aafa6b2c4d86d61147559de61a3b76df4ec2 [2020-09-18T09:07:33.752Z] ---> Running in b7a968a7e36f [2020-09-18T09:07:34.018Z] Removing intermediate container b7a968a7e36f [2020-09-18T09:07:34.018Z] ---> 8e3954528205 [2020-09-18T09:07:34.018Z] Step 25/25 : LABEL version=0.0.0 [2020-09-18T09:07:34.018Z] ---> Running in 2d6391b4c165 [2020-09-18T09:07:34.018Z] Removing intermediate container 2d6391b4c165 [2020-09-18T09:07:34.018Z] ---> bbd69ac97ec4 [2020-09-18T09:07:34.018Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-18T09:07:34.018Z] Successfully built bbd69ac97ec4 [2020-09-18T09:07:34.018Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2020-09-18T09:07:34.592Z] gofmt -l . [2020-09-18T09:07:34.592Z] [ "`gofmt -l .`" = "" ] [2020-09-18T09:07:34.592Z] ./bin/test-go-mod-tidy.sh [2020-09-18T09:07:34.592Z] ./bin/test-attribution-txt.sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] stash [2020-09-18T09:07:34.953Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-18T09:07:35.715Z] Stashed 1 file(s) [Pipeline] } [2020-09-18T09:07:35.740Z] $ docker stop --time=1 4d8feb365f4343fda4730c532ecbe5f7b0818e25c80eadc751f9aeb988cc3723 [2020-09-18T09:07:38.050Z] $ docker rm -f 4d8feb365f4343fda4730c532ecbe5f7b0818e25c80eadc751f9aeb988cc3723 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T09:07:39.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-18T09:07:39.718Z] + ls -al . [2020-09-18T09:07:39.719Z] total 128 [2020-09-18T09:07:39.719Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 09:07 . [2020-09-18T09:07:39.719Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 09:05 .. [2020-09-18T09:07:39.719Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 18 09:05 .dockerignore [2020-09-18T09:07:39.719Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 09:05 .git [2020-09-18T09:07:39.719Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 09:05 .github [2020-09-18T09:07:39.719Z] -rw-rw-r-- 1 jenkins jenkins 339 Sep 18 09:05 .gitignore [2020-09-18T09:07:39.719Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 09:05 .semver [2020-09-18T09:07:39.719Z] -rw-rw-r-- 1 jenkins jenkins 4566 Sep 18 09:05 Attribution.txt [2020-09-18T09:07:39.719Z] -rw-rw-r-- 1 jenkins jenkins 1519 Sep 18 09:05 Dockerfile [2020-09-18T09:07:39.719Z] -rw-rw-r-- 1 jenkins jenkins 989 Sep 18 09:05 Dockerfile.build [2020-09-18T09:07:39.719Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 18 09:05 Jenkinsfile [2020-09-18T09:07:39.719Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 09:05 LICENSE [2020-09-18T09:07:39.719Z] -rw-rw-r-- 1 jenkins jenkins 951 Sep 18 09:05 Makefile [2020-09-18T09:07:39.719Z] -rw-rw-r-- 1 jenkins jenkins 5716 Sep 18 09:05 README.md [2020-09-18T09:07:39.719Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 09:01 VERSION [2020-09-18T09:07:39.719Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 09:05 bin [2020-09-18T09:07:39.719Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 09:05 cmd [2020-09-18T09:07:39.719Z] -rw-r--r-- 1 jenkins jenkins 9369 Sep 18 09:07 coverage.out [2020-09-18T09:07:39.719Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 09:07 driver [2020-09-18T09:07:39.719Z] -rw-r--r-- 1 jenkins jenkins 273 Sep 18 09:07 go.mod [2020-09-18T09:07:39.719Z] -rw-r--r-- 1 jenkins jenkins 12547 Sep 18 09:07 go.sum [2020-09-18T09:07:39.719Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 09:05 snap [2020-09-18T09:07:39.719Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 18 09:05 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-18T09:07:40.104Z] + 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=6620aafa6b2c4d86d61147559de61a3b76df4ec2 --label arch=arm64 --label version=0.0.0 . [2020-09-18T09:07:40.377Z] Sending build context to Docker daemon 8.066MB [2020-09-18T09:07:40.652Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-18T09:07:40.652Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-18T09:07:40.652Z] ---> 6e0ecbfae73f [2020-09-18T09:07:40.652Z] Step 3/25 : ARG MAKE='make build' [2020-09-18T09:07:40.923Z] ---> Running in a6fa0812ec18 [2020-09-18T09:07:41.202Z] Removing intermediate container a6fa0812ec18 [2020-09-18T09:07:41.202Z] ---> dcfdf90357c1 [2020-09-18T09:07:41.202Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-18T09:07:41.476Z] ---> Running in ebdf80ef4fef [2020-09-18T09:07:41.750Z] Removing intermediate container ebdf80ef4fef [2020-09-18T09:07:41.750Z] ---> b168930776c6 [2020-09-18T09:07:41.750Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-18T09:07:42.024Z] ---> Running in d226ca175ebc [2020-09-18T09:07:42.298Z] Removing intermediate container d226ca175ebc [2020-09-18T09:07:42.298Z] ---> 13c2fcb30a5a [2020-09-18T09:07:42.298Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T09:07:42.580Z] ---> Running in d35b95654606 [2020-09-18T09:07:45.218Z] Removing intermediate container d35b95654606 [2020-09-18T09:07:45.218Z] ---> d7550d080ec0 [2020-09-18T09:07:45.219Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-18T09:07:45.219Z] ---> Running in a8bee37e4d39 [2020-09-18T09:07:46.198Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-18T09:07:47.177Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-18T09:07:48.165Z] OK: 142 MiB in 39 packages [2020-09-18T09:07:49.144Z] Removing intermediate container a8bee37e4d39 [2020-09-18T09:07:49.144Z] ---> b8a82d344122 [2020-09-18T09:07:49.144Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-18T09:07:49.144Z] ---> Running in d4d01da2060b [2020-09-18T09:07:49.744Z] Removing intermediate container d4d01da2060b [2020-09-18T09:07:49.744Z] ---> eead87fc2b66 [2020-09-18T09:07:49.744Z] Step 9/25 : COPY go.mod . [2020-09-18T09:07:50.342Z] ---> 0de25fc70d50 [2020-09-18T09:07:50.342Z] Step 10/25 : COPY Makefile . [2020-09-18T09:07:50.961Z] ---> 1cb4dab6b74e [2020-09-18T09:07:50.961Z] Step 11/25 : RUN make update [2020-09-18T09:07:50.961Z] ---> Running in a8b2133fb654 [2020-09-18T09:07:52.421Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-18T09:07:53.864Z] Removing intermediate container a8b2133fb654 [2020-09-18T09:07:53.864Z] ---> 499ce83d4eb4 [2020-09-18T09:07:53.864Z] Step 12/25 : COPY . . [2020-09-18T09:07:54.853Z] ---> 1d39962725c6 [2020-09-18T09:07:54.853Z] Step 13/25 : RUN $MAKE [2020-09-18T09:07:54.853Z] ---> Running in 4e50c8bfd27a [2020-09-18T09:07:56.312Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-09-18T09:08:23.165Z] Removing intermediate container 4e50c8bfd27a [2020-09-18T09:08:23.165Z] ---> 38240fe42513 [2020-09-18T09:08:23.165Z] Step 14/25 : FROM alpine:latest [2020-09-18T09:08:23.165Z] latest: Pulling from library/alpine [2020-09-18T09:08:23.165Z] b538f80385f9: Already exists [2020-09-18T09:08:23.165Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-18T09:08:23.165Z] Status: Downloaded newer image for alpine:latest [2020-09-18T09:08:23.165Z] ---> 62ee0e9f8440 [2020-09-18T09:08:23.165Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-18T09:08:23.165Z] ---> Running in b1d3afcd171c [2020-09-18T09:08:23.165Z] Removing intermediate container b1d3afcd171c [2020-09-18T09:08:23.165Z] ---> 3c546c9d30b8 [2020-09-18T09:08:23.165Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-18T09:08:23.165Z] ---> Running in 22f6727ddbef [2020-09-18T09:08:23.165Z] Removing intermediate container 22f6727ddbef [2020-09-18T09:08:23.165Z] ---> 3afa9023d327 [2020-09-18T09:08:23.165Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-18T09:08:24.146Z] ---> 7f15b4cdb1bf [2020-09-18T09:08:24.146Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-18T09:08:24.771Z] ---> 66571eeeacca [2020-09-18T09:08:24.771Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-18T09:08:25.773Z] ---> 4bec34e34925 [2020-09-18T09:08:25.773Z] Step 20/25 : EXPOSE 49986 [2020-09-18T09:08:26.049Z] ---> Running in 6e53b59f88a3 [2020-09-18T09:08:26.323Z] Removing intermediate container 6e53b59f88a3 [2020-09-18T09:08:26.323Z] ---> 74726017f451 [2020-09-18T09:08:26.323Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-18T09:08:26.599Z] ---> Running in 674304297df3 [2020-09-18T09:08:26.876Z] Removing intermediate container 674304297df3 [2020-09-18T09:08:26.876Z] ---> c23ee7b2adec [2020-09-18T09:08:26.876Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-18T09:08:27.155Z] ---> Running in 208b071aaa52 [2020-09-18T09:08:27.436Z] Removing intermediate container 208b071aaa52 [2020-09-18T09:08:27.436Z] ---> 550dc485c552 [2020-09-18T09:08:27.436Z] Step 23/25 : LABEL arch=arm64 [2020-09-18T09:08:27.713Z] ---> Running in 8d776644258a [2020-09-18T09:08:27.990Z] Removing intermediate container 8d776644258a [2020-09-18T09:08:27.990Z] ---> 338d9abc2cab [2020-09-18T09:08:27.990Z] Step 24/25 : LABEL git_sha=6620aafa6b2c4d86d61147559de61a3b76df4ec2 [2020-09-18T09:08:28.269Z] ---> Running in c0702cf80234 [2020-09-18T09:08:28.873Z] Removing intermediate container c0702cf80234 [2020-09-18T09:08:28.873Z] ---> 62012344b6a7 [2020-09-18T09:08:28.873Z] Step 25/25 : LABEL version=0.0.0 [2020-09-18T09:08:28.873Z] ---> Running in a11245b934f5 [2020-09-18T09:08:29.156Z] Removing intermediate container a11245b934f5 [2020-09-18T09:08:29.156Z] ---> 860ed8bcc7ac [2020-09-18T09:08:29.156Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-18T09:08:29.156Z] Successfully built 860ed8bcc7ac [2020-09-18T09:08:29.156Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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) [Pipeline] unstash [Pipeline] wrap [2020-09-18T09:08:31.522Z] provisioning config files... [2020-09-18T09:08:31.546Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config4173688171492664296tmp [Pipeline] { [Pipeline] sh [2020-09-18T09:08:31.935Z] + curl -s https://codecov.io/bash [2020-09-18T09:08:31.935Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config4173688171492664296tmp [Pipeline] } [2020-09-18T09:08:32.213Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-18T09:08:35.122Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T09:08:35.709Z] ---> package-listing.sh [2020-09-18T09:08:35.710Z] ++ facter osfamily [2020-09-18T09:08:35.710Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-18T09:08:35.710Z] + OS_FAMILY=redhat [2020-09-18T09:08:35.710Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-42 [2020-09-18T09:08:35.710Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-18T09:08:35.710Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-18T09:08:35.710Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-18T09:08:35.710Z] + PACKAGES=/tmp/packages_start.txt [2020-09-18T09:08:35.710Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' [2020-09-18T09:08:35.710Z] + PACKAGES=/tmp/packages_end.txt [2020-09-18T09:08:35.710Z] + case "${OS_FAMILY}" in [2020-09-18T09:08:35.710Z] + rpm -qa [2020-09-18T09:08:35.710Z] + sort [2020-09-18T09:08:39.972Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-18T09:08:39.972Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-18T09:08:39.972Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-18T09:08:39.972Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' [2020-09-18T09:08:39.972Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ [2020-09-18T09:08:39.972Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-18T09:08:40.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T09:08:40.594Z] [2020-09-18T09:08:40.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-18T09:08:40.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T09:08:40.987Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-18T09:08:40.987Z] df20fa9351a1: Pulling fs layer [2020-09-18T09:08:40.987Z] 36b3adc4ff6f: Pulling fs layer [2020-09-18T09:08:40.987Z] 8ad3a11d3b57: Pulling fs layer [2020-09-18T09:08:40.987Z] 46f8f816bc3b: Pulling fs layer [2020-09-18T09:08:40.987Z] 0dadc02b9964: Pulling fs layer [2020-09-18T09:08:40.987Z] ce6a7cf60c04: Pulling fs layer [2020-09-18T09:08:40.987Z] 7a184a31f384: Pulling fs layer [2020-09-18T09:08:40.987Z] 0879bd2ef858: Pulling fs layer [2020-09-18T09:08:40.987Z] 0dadc02b9964: Waiting [2020-09-18T09:08:40.987Z] 7a184a31f384: Waiting [2020-09-18T09:08:40.987Z] 46f8f816bc3b: Waiting [2020-09-18T09:08:40.987Z] 0879bd2ef858: Waiting [2020-09-18T09:08:40.987Z] 36b3adc4ff6f: Download complete [2020-09-18T09:08:40.987Z] 46f8f816bc3b: Verifying Checksum [2020-09-18T09:08:40.987Z] 46f8f816bc3b: Download complete [2020-09-18T09:08:40.987Z] df20fa9351a1: Download complete [2020-09-18T09:08:41.255Z] ce6a7cf60c04: Verifying Checksum [2020-09-18T09:08:41.255Z] ce6a7cf60c04: Download complete [2020-09-18T09:08:41.255Z] 7a184a31f384: Verifying Checksum [2020-09-18T09:08:41.255Z] 7a184a31f384: Download complete [2020-09-18T09:08:41.255Z] 0dadc02b9964: Verifying Checksum [2020-09-18T09:08:41.255Z] 0dadc02b9964: Download complete [2020-09-18T09:08:41.255Z] 8ad3a11d3b57: Verifying Checksum [2020-09-18T09:08:41.255Z] 8ad3a11d3b57: Download complete [2020-09-18T09:08:41.522Z] df20fa9351a1: Pull complete [2020-09-18T09:08:41.522Z] 36b3adc4ff6f: Pull complete [2020-09-18T09:08:41.789Z] 0879bd2ef858: Verifying Checksum [2020-09-18T09:08:41.789Z] 0879bd2ef858: Download complete [2020-09-18T09:08:42.056Z] 8ad3a11d3b57: Pull complete [2020-09-18T09:08:42.322Z] 46f8f816bc3b: Pull complete [2020-09-18T09:08:42.592Z] 0dadc02b9964: Pull complete [2020-09-18T09:08:42.858Z] ce6a7cf60c04: Pull complete [2020-09-18T09:08:42.858Z] 7a184a31f384: Pull complete [2020-09-18T09:08:45.478Z] 0879bd2ef858: Pull complete [2020-09-18T09:08:45.478Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-18T09:08:45.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T09:08:45.478Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-18T09:08:45.657Z] prd-centos7-docker-4c-2g-375 does not seem to be running inside a container [2020-09-18T09:08:45.713Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-18T09:08:48.245Z] $ docker top 4d6c1b8437c6d5f0a5a930a381952b92b4a4f66860216f0b39657b6b27365713 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T09:08:48.808Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-18T09:08:49.115Z] + ls /var/log/sa-host [2020-09-18T09:08:49.115Z] + sadf -c /var/log/sa-host/sa05 [2020-09-18T09:08:49.115Z] file_magic: OK [2020-09-18T09:08:49.115Z] HZ: Using current value: 100 [2020-09-18T09:08:49.115Z] file_header: OK [2020-09-18T09:08:49.115Z] 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-18T09:08:49.115Z] Statistics: [2020-09-18T09:08:49.115Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-18T09:08:49.115Z] File successfully converted to sysstat format version 12.2.1 [2020-09-18T09:08:49.115Z] + sadf -c /var/log/sa-host/sa18 [2020-09-18T09:08:49.115Z] file_magic: OK [2020-09-18T09:08:49.115Z] HZ: Using current value: 100 [2020-09-18T09:08:49.115Z] file_header: OK [2020-09-18T09:08:49.115Z] 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-18T09:08:49.115Z] Statistics: [2020-09-18T09:08:49.115Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-18T09:08:49.115Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-18T09:08:49.193Z] provisioning config files... [2020-09-18T09:08:49.215Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config4407007099998209501tmp [Pipeline] { [Pipeline] echo [2020-09-18T09:08:49.374Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T09:08:49.674Z] ---> create-netrc.sh [Pipeline] echo [2020-09-18T09:08:49.686Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T09:08:49.990Z] ---> logs-deploy.sh [2020-09-18T09:08:49.990Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-42/5 [2020-09-18T09:08:49.990Z] INFO: archiving workspace using pattern(s): [2020-09-18T09:08:51.394Z] Archives upload complete. [2020-09-18T09:08:51.394Z] INFO: archiving logs to Nexus